javascript-time-ago 2.5.3 → 2.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 (1421) hide show
  1. package/bin/generate-load-all-locales.js +1 -1
  2. package/bin/generate-locale-messages.js +57 -46
  3. package/bundle/javascript-time-ago.js +1 -1
  4. package/bundle/javascript-time-ago.js.map +1 -1
  5. package/bundle/javascript-time-ago.min.js +1 -1
  6. package/bundle/javascript-time-ago.min.js.map +1 -1
  7. package/commonjs/TimeAgo.js +4 -0
  8. package/commonjs/TimeAgo.js.map +1 -1
  9. package/locale/af/package.json +7 -5
  10. package/locale/af.json.d.ts +4 -0
  11. package/locale/am/package.json +7 -5
  12. package/locale/am.json.d.ts +4 -0
  13. package/locale/ar/package.json +7 -5
  14. package/locale/ar-AE/package.json +7 -5
  15. package/locale/ar-AE.json.d.ts +4 -0
  16. package/locale/ar.json.d.ts +4 -0
  17. package/locale/as/package.json +7 -5
  18. package/locale/as.json.d.ts +4 -0
  19. package/locale/ast/package.json +7 -5
  20. package/locale/ast.json.d.ts +4 -0
  21. package/locale/az/package.json +7 -5
  22. package/locale/az.json.d.ts +4 -0
  23. package/locale/be/package.json +7 -5
  24. package/locale/be.json.d.ts +4 -0
  25. package/locale/bg/package.json +7 -5
  26. package/locale/bg.json.d.ts +4 -0
  27. package/locale/bn/package.json +7 -5
  28. package/locale/bn.json.d.ts +4 -0
  29. package/locale/br/package.json +7 -5
  30. package/locale/br.json.d.ts +4 -0
  31. package/locale/brx/package.json +7 -5
  32. package/locale/brx.json.d.ts +4 -0
  33. package/locale/bs/package.json +7 -5
  34. package/locale/bs-Cyrl/package.json +7 -5
  35. package/locale/bs-Cyrl.json.d.ts +4 -0
  36. package/locale/bs.json.d.ts +4 -0
  37. package/locale/ca/package.json +7 -5
  38. package/locale/ca.json.d.ts +4 -0
  39. package/locale/ccp/package.json +7 -5
  40. package/locale/ccp.json.d.ts +4 -0
  41. package/locale/ce/package.json +7 -5
  42. package/locale/ce.json.d.ts +4 -0
  43. package/locale/ceb/package.json +7 -5
  44. package/locale/ceb.json.d.ts +4 -0
  45. package/locale/chr/package.json +7 -5
  46. package/locale/chr.json.d.ts +4 -0
  47. package/locale/cs/package.json +7 -5
  48. package/locale/cs.json.d.ts +4 -0
  49. package/locale/cy/package.json +7 -5
  50. package/locale/cy.json.d.ts +4 -0
  51. package/locale/da/package.json +7 -5
  52. package/locale/da.json.d.ts +4 -0
  53. package/locale/de/package.json +7 -5
  54. package/locale/de.json.d.ts +4 -0
  55. package/locale/dsb/package.json +7 -5
  56. package/locale/dsb.json.d.ts +4 -0
  57. package/locale/dz/package.json +7 -5
  58. package/locale/dz.json.d.ts +4 -0
  59. package/locale/ee/package.json +7 -5
  60. package/locale/ee.json.d.ts +4 -0
  61. package/locale/el/package.json +7 -5
  62. package/locale/el.json +0 -10
  63. package/locale/el.json.d.ts +4 -0
  64. package/locale/el.json.js +0 -10
  65. package/locale/en/package.json +7 -5
  66. package/locale/en-001/package.json +7 -5
  67. package/locale/en-001.json.d.ts +4 -0
  68. package/locale/en-150/package.json +7 -5
  69. package/locale/en-150.json.d.ts +4 -0
  70. package/locale/en-AG/package.json +7 -5
  71. package/locale/en-AG.json.d.ts +4 -0
  72. package/locale/en-AI/package.json +7 -5
  73. package/locale/en-AI.json.d.ts +4 -0
  74. package/locale/en-AT/package.json +7 -5
  75. package/locale/en-AT.json.d.ts +4 -0
  76. package/locale/en-AU/package.json +7 -5
  77. package/locale/en-AU.json.d.ts +4 -0
  78. package/locale/en-BB/package.json +7 -5
  79. package/locale/en-BB.json.d.ts +4 -0
  80. package/locale/en-BE/package.json +7 -5
  81. package/locale/en-BE.json.d.ts +4 -0
  82. package/locale/en-BM/package.json +7 -5
  83. package/locale/en-BM.json.d.ts +4 -0
  84. package/locale/en-BS/package.json +7 -5
  85. package/locale/en-BS.json.d.ts +4 -0
  86. package/locale/en-BW/package.json +7 -5
  87. package/locale/en-BW.json.d.ts +4 -0
  88. package/locale/en-BZ/package.json +7 -5
  89. package/locale/en-BZ.json.d.ts +4 -0
  90. package/locale/en-CA/package.json +7 -5
  91. package/locale/en-CA.json.d.ts +4 -0
  92. package/locale/en-CC/package.json +7 -5
  93. package/locale/en-CC.json.d.ts +4 -0
  94. package/locale/en-CH/package.json +7 -5
  95. package/locale/en-CH.json.d.ts +4 -0
  96. package/locale/en-CK/package.json +7 -5
  97. package/locale/en-CK.json.d.ts +4 -0
  98. package/locale/en-CM/package.json +7 -5
  99. package/locale/en-CM.json.d.ts +4 -0
  100. package/locale/en-CX/package.json +7 -5
  101. package/locale/en-CX.json.d.ts +4 -0
  102. package/locale/en-CY/package.json +7 -5
  103. package/locale/en-CY.json.d.ts +4 -0
  104. package/locale/en-DE/package.json +7 -5
  105. package/locale/en-DE.json.d.ts +4 -0
  106. package/locale/en-DG/package.json +7 -5
  107. package/locale/en-DG.json.d.ts +4 -0
  108. package/locale/en-DK/package.json +7 -5
  109. package/locale/en-DK.json.d.ts +4 -0
  110. package/locale/en-DM/package.json +7 -5
  111. package/locale/en-DM.json.d.ts +4 -0
  112. package/locale/en-ER/package.json +7 -5
  113. package/locale/en-ER.json.d.ts +4 -0
  114. package/locale/en-FI/package.json +7 -5
  115. package/locale/en-FI.json.d.ts +4 -0
  116. package/locale/en-FJ/package.json +7 -5
  117. package/locale/en-FJ.json.d.ts +4 -0
  118. package/locale/en-FK/package.json +7 -5
  119. package/locale/en-FK.json.d.ts +4 -0
  120. package/locale/en-FM/package.json +7 -5
  121. package/locale/en-FM.json.d.ts +4 -0
  122. package/locale/en-GB/package.json +7 -5
  123. package/locale/en-GB.json.d.ts +4 -0
  124. package/locale/en-GD/package.json +7 -5
  125. package/locale/en-GD.json.d.ts +4 -0
  126. package/locale/en-GG/package.json +7 -5
  127. package/locale/en-GG.json.d.ts +4 -0
  128. package/locale/en-GH/package.json +7 -5
  129. package/locale/en-GH.json.d.ts +4 -0
  130. package/locale/en-GI/package.json +7 -5
  131. package/locale/en-GI.json.d.ts +4 -0
  132. package/locale/en-GM/package.json +7 -5
  133. package/locale/en-GM.json.d.ts +4 -0
  134. package/locale/en-GY/package.json +7 -5
  135. package/locale/en-GY.json.d.ts +4 -0
  136. package/locale/en-HK/package.json +7 -5
  137. package/locale/en-HK.json.d.ts +4 -0
  138. package/locale/en-IE/package.json +7 -5
  139. package/locale/en-IE.json.d.ts +4 -0
  140. package/locale/en-IL/package.json +7 -5
  141. package/locale/en-IL.json.d.ts +4 -0
  142. package/locale/en-IM/package.json +7 -5
  143. package/locale/en-IM.json.d.ts +4 -0
  144. package/locale/en-IN/package.json +7 -5
  145. package/locale/en-IN.json.d.ts +4 -0
  146. package/locale/en-IO/package.json +7 -5
  147. package/locale/en-IO.json.d.ts +4 -0
  148. package/locale/en-JE/package.json +7 -5
  149. package/locale/en-JE.json.d.ts +4 -0
  150. package/locale/en-JM/package.json +7 -5
  151. package/locale/en-JM.json.d.ts +4 -0
  152. package/locale/en-KE/package.json +7 -5
  153. package/locale/en-KE.json.d.ts +4 -0
  154. package/locale/en-KI/package.json +7 -5
  155. package/locale/en-KI.json.d.ts +4 -0
  156. package/locale/en-KN/package.json +7 -5
  157. package/locale/en-KN.json.d.ts +4 -0
  158. package/locale/en-KY/package.json +7 -5
  159. package/locale/en-KY.json.d.ts +4 -0
  160. package/locale/en-LC/package.json +7 -5
  161. package/locale/en-LC.json.d.ts +4 -0
  162. package/locale/en-LR/package.json +7 -5
  163. package/locale/en-LR.json.d.ts +4 -0
  164. package/locale/en-LS/package.json +7 -5
  165. package/locale/en-LS.json.d.ts +4 -0
  166. package/locale/en-MG/package.json +7 -5
  167. package/locale/en-MG.json.d.ts +4 -0
  168. package/locale/en-MO/package.json +7 -5
  169. package/locale/en-MO.json.d.ts +4 -0
  170. package/locale/en-MS/package.json +7 -5
  171. package/locale/en-MS.json.d.ts +4 -0
  172. package/locale/en-MT/package.json +7 -5
  173. package/locale/en-MT.json.d.ts +4 -0
  174. package/locale/en-MU/package.json +7 -5
  175. package/locale/en-MU.json.d.ts +4 -0
  176. package/locale/en-MV/package.json +7 -5
  177. package/locale/en-MV.json.d.ts +4 -0
  178. package/locale/en-MW/package.json +7 -5
  179. package/locale/en-MW.json.d.ts +4 -0
  180. package/locale/en-MY/package.json +7 -5
  181. package/locale/en-MY.json.d.ts +4 -0
  182. package/locale/en-NA/package.json +7 -5
  183. package/locale/en-NA.json.d.ts +4 -0
  184. package/locale/en-NF/package.json +7 -5
  185. package/locale/en-NF.json.d.ts +4 -0
  186. package/locale/en-NG/package.json +7 -5
  187. package/locale/en-NG.json.d.ts +4 -0
  188. package/locale/en-NL/package.json +7 -5
  189. package/locale/en-NL.json.d.ts +4 -0
  190. package/locale/en-NR/package.json +7 -5
  191. package/locale/en-NR.json.d.ts +4 -0
  192. package/locale/en-NU/package.json +7 -5
  193. package/locale/en-NU.json.d.ts +4 -0
  194. package/locale/en-NZ/package.json +7 -5
  195. package/locale/en-NZ.json.d.ts +4 -0
  196. package/locale/en-PG/package.json +7 -5
  197. package/locale/en-PG.json.d.ts +4 -0
  198. package/locale/en-PK/package.json +7 -5
  199. package/locale/en-PK.json.d.ts +4 -0
  200. package/locale/en-PN/package.json +7 -5
  201. package/locale/en-PN.json.d.ts +4 -0
  202. package/locale/en-PW/package.json +7 -5
  203. package/locale/en-PW.json.d.ts +4 -0
  204. package/locale/en-RW/package.json +7 -5
  205. package/locale/en-RW.json.d.ts +4 -0
  206. package/locale/en-SB/package.json +7 -5
  207. package/locale/en-SB.json.d.ts +4 -0
  208. package/locale/en-SC/package.json +7 -5
  209. package/locale/en-SC.json.d.ts +4 -0
  210. package/locale/en-SD/package.json +7 -5
  211. package/locale/en-SD.json.d.ts +4 -0
  212. package/locale/en-SE/package.json +7 -5
  213. package/locale/en-SE.json.d.ts +4 -0
  214. package/locale/en-SG/package.json +7 -5
  215. package/locale/en-SG.json.d.ts +4 -0
  216. package/locale/en-SH/package.json +7 -5
  217. package/locale/en-SH.json.d.ts +4 -0
  218. package/locale/en-SI/package.json +7 -5
  219. package/locale/en-SI.json.d.ts +4 -0
  220. package/locale/en-SL/package.json +7 -5
  221. package/locale/en-SL.json.d.ts +4 -0
  222. package/locale/en-SS/package.json +7 -5
  223. package/locale/en-SS.json.d.ts +4 -0
  224. package/locale/en-SX/package.json +7 -5
  225. package/locale/en-SX.json.d.ts +4 -0
  226. package/locale/en-SZ/package.json +7 -5
  227. package/locale/en-SZ.json.d.ts +4 -0
  228. package/locale/en-TC/package.json +7 -5
  229. package/locale/en-TC.json.d.ts +4 -0
  230. package/locale/en-TK/package.json +7 -5
  231. package/locale/en-TK.json.d.ts +4 -0
  232. package/locale/en-TO/package.json +7 -5
  233. package/locale/en-TO.json.d.ts +4 -0
  234. package/locale/en-TT/package.json +7 -5
  235. package/locale/en-TT.json.d.ts +4 -0
  236. package/locale/en-TV/package.json +7 -5
  237. package/locale/en-TV.json.d.ts +4 -0
  238. package/locale/en-TZ/package.json +7 -5
  239. package/locale/en-TZ.json.d.ts +4 -0
  240. package/locale/en-UG/package.json +7 -5
  241. package/locale/en-UG.json.d.ts +4 -0
  242. package/locale/en-VC/package.json +7 -5
  243. package/locale/en-VC.json.d.ts +4 -0
  244. package/locale/en-VG/package.json +7 -5
  245. package/locale/en-VG.json.d.ts +4 -0
  246. package/locale/en-VU/package.json +7 -5
  247. package/locale/en-VU.json.d.ts +4 -0
  248. package/locale/en-WS/package.json +7 -5
  249. package/locale/en-WS.json.d.ts +4 -0
  250. package/locale/en-ZA/package.json +7 -5
  251. package/locale/en-ZA.json.d.ts +4 -0
  252. package/locale/en-ZM/package.json +7 -5
  253. package/locale/en-ZM.json.d.ts +4 -0
  254. package/locale/en-ZW/package.json +7 -5
  255. package/locale/en-ZW.json.d.ts +4 -0
  256. package/locale/en.json +17 -27
  257. package/locale/en.json.d.ts +4 -0
  258. package/locale/en.json.js +17 -27
  259. package/locale/es/package.json +7 -5
  260. package/locale/es-419/package.json +7 -5
  261. package/locale/es-419.json.d.ts +4 -0
  262. package/locale/es-AR/package.json +7 -5
  263. package/locale/es-AR.json.d.ts +4 -0
  264. package/locale/es-BO/package.json +7 -5
  265. package/locale/es-BO.json.d.ts +4 -0
  266. package/locale/es-BR/package.json +7 -5
  267. package/locale/es-BR.json.d.ts +4 -0
  268. package/locale/es-BZ/package.json +7 -5
  269. package/locale/es-BZ.json.d.ts +4 -0
  270. package/locale/es-CL/package.json +7 -5
  271. package/locale/es-CL.json.d.ts +4 -0
  272. package/locale/es-CO/package.json +7 -5
  273. package/locale/es-CO.json.d.ts +4 -0
  274. package/locale/es-CR/package.json +7 -5
  275. package/locale/es-CR.json.d.ts +4 -0
  276. package/locale/es-CU/package.json +7 -5
  277. package/locale/es-CU.json.d.ts +4 -0
  278. package/locale/es-DO/package.json +7 -5
  279. package/locale/es-DO.json.d.ts +4 -0
  280. package/locale/es-EC/package.json +7 -5
  281. package/locale/es-EC.json.d.ts +4 -0
  282. package/locale/es-GT/package.json +7 -5
  283. package/locale/es-GT.json.d.ts +4 -0
  284. package/locale/es-HN/package.json +7 -5
  285. package/locale/es-HN.json.d.ts +4 -0
  286. package/locale/es-MX/package.json +7 -5
  287. package/locale/es-MX.json.d.ts +4 -0
  288. package/locale/es-NI/package.json +7 -5
  289. package/locale/es-NI.json.d.ts +4 -0
  290. package/locale/es-PA/package.json +7 -5
  291. package/locale/es-PA.json.d.ts +4 -0
  292. package/locale/es-PE/package.json +7 -5
  293. package/locale/es-PE.json.d.ts +4 -0
  294. package/locale/es-PR/package.json +7 -5
  295. package/locale/es-PR.json.d.ts +4 -0
  296. package/locale/es-PY/package.json +7 -5
  297. package/locale/es-PY.json.d.ts +4 -0
  298. package/locale/es-SV/package.json +7 -5
  299. package/locale/es-SV.json.d.ts +4 -0
  300. package/locale/es-US/package.json +7 -5
  301. package/locale/es-US.json.d.ts +4 -0
  302. package/locale/es-UY/package.json +7 -5
  303. package/locale/es-UY.json.d.ts +4 -0
  304. package/locale/es-VE/package.json +7 -5
  305. package/locale/es-VE.json.d.ts +4 -0
  306. package/locale/es.json +0 -10
  307. package/locale/es.json.d.ts +4 -0
  308. package/locale/es.json.js +0 -10
  309. package/locale/et/package.json +7 -5
  310. package/locale/et.json.d.ts +4 -0
  311. package/locale/eu/package.json +7 -5
  312. package/locale/eu.json.d.ts +4 -0
  313. package/locale/fa/package.json +7 -5
  314. package/locale/fa.json.d.ts +4 -0
  315. package/locale/ff-Adlm/package.json +7 -5
  316. package/locale/ff-Adlm.json.d.ts +4 -0
  317. package/locale/fi/package.json +7 -5
  318. package/locale/fi.json.d.ts +4 -0
  319. package/locale/fil/package.json +7 -5
  320. package/locale/fil.json.d.ts +4 -0
  321. package/locale/fo/package.json +7 -5
  322. package/locale/fo.json.d.ts +4 -0
  323. package/locale/fr/package.json +7 -5
  324. package/locale/fr-CA/package.json +7 -5
  325. package/locale/fr-CA.json.d.ts +4 -0
  326. package/locale/fr.json.d.ts +4 -0
  327. package/locale/fur/package.json +7 -5
  328. package/locale/fur.json.d.ts +4 -0
  329. package/locale/fy/package.json +7 -5
  330. package/locale/fy.json.d.ts +4 -0
  331. package/locale/ga/package.json +7 -5
  332. package/locale/ga.json.d.ts +4 -0
  333. package/locale/gd/package.json +7 -5
  334. package/locale/gd.json.d.ts +4 -0
  335. package/locale/gl/package.json +7 -5
  336. package/locale/gl.json.d.ts +4 -0
  337. package/locale/gu/package.json +7 -5
  338. package/locale/gu.json.d.ts +4 -0
  339. package/locale/ha/package.json +7 -5
  340. package/locale/ha.json.d.ts +4 -0
  341. package/locale/he/package.json +7 -5
  342. package/locale/he.json.d.ts +4 -0
  343. package/locale/hi/package.json +7 -5
  344. package/locale/hi-Latn/package.json +7 -5
  345. package/locale/hi-Latn.json.d.ts +4 -0
  346. package/locale/hi.json.d.ts +4 -0
  347. package/locale/hr/package.json +7 -5
  348. package/locale/hr.json.d.ts +4 -0
  349. package/locale/hsb/package.json +7 -5
  350. package/locale/hsb.json.d.ts +4 -0
  351. package/locale/hu/package.json +7 -5
  352. package/locale/hu.json.d.ts +4 -0
  353. package/locale/hy/package.json +7 -5
  354. package/locale/hy.json.d.ts +4 -0
  355. package/locale/ia/package.json +7 -5
  356. package/locale/ia.json.d.ts +4 -0
  357. package/locale/id/package.json +7 -5
  358. package/locale/id.json.d.ts +4 -0
  359. package/locale/ig/package.json +7 -5
  360. package/locale/ig.json.d.ts +4 -0
  361. package/locale/is/package.json +7 -5
  362. package/locale/is.json.d.ts +4 -0
  363. package/locale/it/package.json +7 -5
  364. package/locale/it.json.d.ts +4 -0
  365. package/locale/ja/package.json +7 -5
  366. package/locale/ja.json.d.ts +4 -0
  367. package/locale/jgo/package.json +7 -5
  368. package/locale/jgo.json.d.ts +4 -0
  369. package/locale/jv/package.json +7 -5
  370. package/locale/jv.json.d.ts +4 -0
  371. package/locale/ka/package.json +7 -5
  372. package/locale/ka.json.d.ts +4 -0
  373. package/locale/kea/package.json +7 -5
  374. package/locale/kea.json.d.ts +4 -0
  375. package/locale/kgp/package.json +7 -5
  376. package/locale/kgp.json.d.ts +4 -0
  377. package/locale/kk/package.json +7 -5
  378. package/locale/kk.json.d.ts +4 -0
  379. package/locale/kl/package.json +7 -5
  380. package/locale/kl.json.d.ts +4 -0
  381. package/locale/km/package.json +7 -5
  382. package/locale/km.json.d.ts +4 -0
  383. package/locale/kn/package.json +7 -5
  384. package/locale/kn.json.d.ts +4 -0
  385. package/locale/ko/package.json +7 -5
  386. package/locale/ko.json +0 -11
  387. package/locale/ko.json.d.ts +4 -0
  388. package/locale/ko.json.js +0 -11
  389. package/locale/kok/package.json +7 -5
  390. package/locale/kok.json.d.ts +4 -0
  391. package/locale/ksh/package.json +7 -5
  392. package/locale/ksh.json.d.ts +4 -0
  393. package/locale/ku/package.json +7 -5
  394. package/locale/ku.json.d.ts +4 -0
  395. package/locale/ky/package.json +7 -5
  396. package/locale/ky.json.d.ts +4 -0
  397. package/locale/lb/package.json +7 -5
  398. package/locale/lb.json.d.ts +4 -0
  399. package/locale/lkt/package.json +7 -5
  400. package/locale/lkt.json.d.ts +4 -0
  401. package/locale/lo/package.json +7 -5
  402. package/locale/lo.json.d.ts +4 -0
  403. package/locale/lt/package.json +7 -5
  404. package/locale/lt.json.d.ts +4 -0
  405. package/locale/lv/package.json +7 -5
  406. package/locale/lv.json.d.ts +4 -0
  407. package/locale/mk/package.json +7 -5
  408. package/locale/mk.json.d.ts +4 -0
  409. package/locale/ml/package.json +7 -5
  410. package/locale/ml.json.d.ts +4 -0
  411. package/locale/mn/package.json +7 -5
  412. package/locale/mn.json.d.ts +4 -0
  413. package/locale/mni/package.json +7 -5
  414. package/locale/mni.json.d.ts +4 -0
  415. package/locale/mr/package.json +7 -5
  416. package/locale/mr.json.d.ts +4 -0
  417. package/locale/ms/package.json +7 -5
  418. package/locale/ms.json.d.ts +4 -0
  419. package/locale/mt/package.json +7 -5
  420. package/locale/mt.json.d.ts +4 -0
  421. package/locale/my/package.json +7 -5
  422. package/locale/my.json.d.ts +4 -0
  423. package/locale/mzn/package.json +7 -5
  424. package/locale/mzn.json.d.ts +4 -0
  425. package/locale/nb/package.json +7 -5
  426. package/locale/nb.json.d.ts +4 -0
  427. package/locale/ne/package.json +7 -5
  428. package/locale/ne.json.d.ts +4 -0
  429. package/locale/nl/package.json +7 -5
  430. package/locale/nl.json.d.ts +4 -0
  431. package/locale/nn/package.json +7 -5
  432. package/locale/nn.json.d.ts +4 -0
  433. package/locale/no/package.json +7 -5
  434. package/locale/no.json.d.ts +4 -0
  435. package/locale/or/package.json +7 -5
  436. package/locale/or.json.d.ts +4 -0
  437. package/locale/pa/package.json +7 -5
  438. package/locale/pa.json.d.ts +4 -0
  439. package/locale/pcm/package.json +7 -5
  440. package/locale/pcm.json.d.ts +4 -0
  441. package/locale/pl/package.json +7 -5
  442. package/locale/pl.json.d.ts +4 -0
  443. package/locale/ps/package.json +7 -5
  444. package/locale/ps-PK/package.json +7 -5
  445. package/locale/ps-PK.json.d.ts +4 -0
  446. package/locale/ps.json.d.ts +4 -0
  447. package/locale/pt/package.json +7 -5
  448. package/locale/pt-AO/package.json +7 -5
  449. package/locale/pt-AO.json.d.ts +4 -0
  450. package/locale/pt-CH/package.json +7 -5
  451. package/locale/pt-CH.json.d.ts +4 -0
  452. package/locale/pt-CV/package.json +7 -5
  453. package/locale/pt-CV.json.d.ts +4 -0
  454. package/locale/pt-GQ/package.json +7 -5
  455. package/locale/pt-GQ.json.d.ts +4 -0
  456. package/locale/pt-GW/package.json +7 -5
  457. package/locale/pt-GW.json.d.ts +4 -0
  458. package/locale/pt-LU/package.json +7 -5
  459. package/locale/pt-LU.json.d.ts +4 -0
  460. package/locale/pt-MO/package.json +7 -5
  461. package/locale/pt-MO.json.d.ts +4 -0
  462. package/locale/pt-MZ/package.json +7 -5
  463. package/locale/pt-MZ.json.d.ts +4 -0
  464. package/locale/pt-PT/package.json +7 -5
  465. package/locale/pt-PT.json.d.ts +4 -0
  466. package/locale/pt-ST/package.json +7 -5
  467. package/locale/pt-ST.json.d.ts +4 -0
  468. package/locale/pt-TL/package.json +7 -5
  469. package/locale/pt-TL.json.d.ts +4 -0
  470. package/locale/pt.json.d.ts +4 -0
  471. package/locale/qu/package.json +7 -5
  472. package/locale/qu.json.d.ts +4 -0
  473. package/locale/rm/package.json +7 -5
  474. package/locale/rm.json.d.ts +4 -0
  475. package/locale/ro/package.json +7 -5
  476. package/locale/ro.json.d.ts +4 -0
  477. package/locale/ru/package.json +7 -5
  478. package/locale/ru.json +20 -29
  479. package/locale/ru.json.d.ts +4 -0
  480. package/locale/ru.json.js +20 -29
  481. package/locale/sah/package.json +7 -5
  482. package/locale/sah.json.d.ts +4 -0
  483. package/locale/sc/package.json +7 -5
  484. package/locale/sc.json.d.ts +4 -0
  485. package/locale/sd/package.json +7 -5
  486. package/locale/sd.json.d.ts +4 -0
  487. package/locale/se/package.json +7 -5
  488. package/locale/se-FI/package.json +7 -5
  489. package/locale/se-FI.json.d.ts +4 -0
  490. package/locale/se.json.d.ts +4 -0
  491. package/locale/si/package.json +7 -5
  492. package/locale/si.json.d.ts +4 -0
  493. package/locale/sk/package.json +7 -5
  494. package/locale/sk.json.d.ts +4 -0
  495. package/locale/sl/package.json +7 -5
  496. package/locale/sl.json.d.ts +4 -0
  497. package/locale/so/package.json +7 -5
  498. package/locale/so.json.d.ts +4 -0
  499. package/locale/sq/package.json +7 -5
  500. package/locale/sq.json.d.ts +4 -0
  501. package/locale/sr/package.json +7 -5
  502. package/locale/sr-Cyrl-BA/package.json +7 -5
  503. package/locale/sr-Cyrl-BA.json.d.ts +4 -0
  504. package/locale/sr-Latn/package.json +7 -5
  505. package/locale/sr-Latn-BA/package.json +7 -5
  506. package/locale/sr-Latn-BA.json.d.ts +4 -0
  507. package/locale/sr-Latn.json.d.ts +4 -0
  508. package/locale/sr.json.d.ts +4 -0
  509. package/locale/su/package.json +7 -5
  510. package/locale/su.json.d.ts +4 -0
  511. package/locale/sv/package.json +7 -5
  512. package/locale/sv.json.d.ts +4 -0
  513. package/locale/sw/package.json +7 -5
  514. package/locale/sw.json.d.ts +4 -0
  515. package/locale/ta/package.json +7 -5
  516. package/locale/ta.json.d.ts +4 -0
  517. package/locale/te/package.json +7 -5
  518. package/locale/te.json.d.ts +4 -0
  519. package/locale/tg/package.json +7 -5
  520. package/locale/tg.json.d.ts +4 -0
  521. package/locale/th/package.json +7 -5
  522. package/locale/th.json.d.ts +4 -0
  523. package/locale/ti/package.json +7 -5
  524. package/locale/ti.json.d.ts +4 -0
  525. package/locale/tk/package.json +7 -5
  526. package/locale/tk.json.d.ts +4 -0
  527. package/locale/to/package.json +7 -5
  528. package/locale/to.json.d.ts +4 -0
  529. package/locale/tr/package.json +7 -5
  530. package/locale/tr.json.d.ts +4 -0
  531. package/locale/tt/package.json +7 -5
  532. package/locale/tt.json.d.ts +4 -0
  533. package/locale/ug/package.json +7 -5
  534. package/locale/ug.json.d.ts +4 -0
  535. package/locale/uk/package.json +7 -5
  536. package/locale/uk.json.d.ts +4 -0
  537. package/locale/ur/package.json +7 -5
  538. package/locale/ur-IN/package.json +7 -5
  539. package/locale/ur-IN.json.d.ts +4 -0
  540. package/locale/ur.json.d.ts +4 -0
  541. package/locale/uz/package.json +7 -5
  542. package/locale/uz-Cyrl/package.json +7 -5
  543. package/locale/uz-Cyrl.json.d.ts +4 -0
  544. package/locale/uz.json.d.ts +4 -0
  545. package/locale/vi/package.json +7 -5
  546. package/locale/vi.json.d.ts +4 -0
  547. package/locale/wae/package.json +7 -5
  548. package/locale/wae.json.d.ts +4 -0
  549. package/locale/wo/package.json +7 -5
  550. package/locale/wo.json.d.ts +4 -0
  551. package/locale/yi/package.json +7 -5
  552. package/locale/yi.json.d.ts +4 -0
  553. package/locale/yo/package.json +7 -5
  554. package/locale/yo-BJ/package.json +7 -5
  555. package/locale/yo-BJ.json.d.ts +4 -0
  556. package/locale/yo.json.d.ts +4 -0
  557. package/locale/yrl/package.json +7 -5
  558. package/locale/yrl.json.d.ts +4 -0
  559. package/locale/yue/package.json +7 -5
  560. package/locale/yue-Hans/package.json +7 -5
  561. package/locale/yue-Hans.json.d.ts +4 -0
  562. package/locale/yue.json.d.ts +4 -0
  563. package/locale/zh/package.json +7 -5
  564. package/locale/zh-Hans-HK/package.json +7 -5
  565. package/locale/zh-Hans-HK.json.d.ts +4 -0
  566. package/locale/zh-Hans-MO/package.json +7 -5
  567. package/locale/zh-Hans-MO.json.d.ts +4 -0
  568. package/locale/zh-Hans-SG/package.json +7 -5
  569. package/locale/zh-Hans-SG.json.d.ts +4 -0
  570. package/locale/zh-Hant/package.json +7 -5
  571. package/locale/zh-Hant-HK/package.json +7 -5
  572. package/locale/zh-Hant-HK.json.d.ts +4 -0
  573. package/locale/zh-Hant-MO/package.json +7 -5
  574. package/locale/zh-Hant-MO.json.d.ts +4 -0
  575. package/locale/zh-Hant.json.d.ts +4 -0
  576. package/locale/zh.json.d.ts +4 -0
  577. package/locale/zu/package.json +7 -5
  578. package/locale/zu.json.d.ts +4 -0
  579. package/modules/TimeAgo.js +4 -0
  580. package/modules/TimeAgo.js.map +1 -1
  581. package/package.json +2 -2
  582. package/locale/af/index.cjs +0 -3
  583. package/locale/af/index.cjs.js +0 -3
  584. package/locale/af/index.js +0 -1
  585. package/locale/am/index.cjs +0 -3
  586. package/locale/am/index.cjs.js +0 -3
  587. package/locale/am/index.js +0 -1
  588. package/locale/ar/index.cjs +0 -3
  589. package/locale/ar/index.cjs.js +0 -3
  590. package/locale/ar/index.js +0 -1
  591. package/locale/ar-AE/index.cjs +0 -3
  592. package/locale/ar-AE/index.cjs.js +0 -3
  593. package/locale/ar-AE/index.js +0 -1
  594. package/locale/as/index.cjs +0 -3
  595. package/locale/as/index.cjs.js +0 -3
  596. package/locale/as/index.js +0 -1
  597. package/locale/ast/index.cjs +0 -3
  598. package/locale/ast/index.cjs.js +0 -3
  599. package/locale/ast/index.js +0 -1
  600. package/locale/az/index.cjs +0 -3
  601. package/locale/az/index.cjs.js +0 -3
  602. package/locale/az/index.js +0 -1
  603. package/locale/be/index.cjs +0 -3
  604. package/locale/be/index.cjs.js +0 -3
  605. package/locale/be/index.js +0 -1
  606. package/locale/bg/index.cjs +0 -3
  607. package/locale/bg/index.cjs.js +0 -3
  608. package/locale/bg/index.js +0 -1
  609. package/locale/bn/index.cjs +0 -3
  610. package/locale/bn/index.cjs.js +0 -3
  611. package/locale/bn/index.js +0 -1
  612. package/locale/br/index.cjs +0 -3
  613. package/locale/br/index.cjs.js +0 -3
  614. package/locale/br/index.js +0 -1
  615. package/locale/brx/index.cjs +0 -3
  616. package/locale/brx/index.cjs.js +0 -3
  617. package/locale/brx/index.js +0 -1
  618. package/locale/bs/index.cjs +0 -3
  619. package/locale/bs/index.cjs.js +0 -3
  620. package/locale/bs/index.js +0 -1
  621. package/locale/bs-Cyrl/index.cjs +0 -3
  622. package/locale/bs-Cyrl/index.cjs.js +0 -3
  623. package/locale/bs-Cyrl/index.js +0 -1
  624. package/locale/ca/index.cjs +0 -3
  625. package/locale/ca/index.cjs.js +0 -3
  626. package/locale/ca/index.js +0 -1
  627. package/locale/ccp/index.cjs +0 -3
  628. package/locale/ccp/index.cjs.js +0 -3
  629. package/locale/ccp/index.js +0 -1
  630. package/locale/ce/index.cjs +0 -3
  631. package/locale/ce/index.cjs.js +0 -3
  632. package/locale/ce/index.js +0 -1
  633. package/locale/ceb/index.cjs +0 -3
  634. package/locale/ceb/index.cjs.js +0 -3
  635. package/locale/ceb/index.js +0 -1
  636. package/locale/chr/index.cjs +0 -3
  637. package/locale/chr/index.cjs.js +0 -3
  638. package/locale/chr/index.js +0 -1
  639. package/locale/cs/index.cjs +0 -3
  640. package/locale/cs/index.cjs.js +0 -3
  641. package/locale/cs/index.js +0 -1
  642. package/locale/cy/index.cjs +0 -3
  643. package/locale/cy/index.cjs.js +0 -3
  644. package/locale/cy/index.js +0 -1
  645. package/locale/da/index.cjs +0 -3
  646. package/locale/da/index.cjs.js +0 -3
  647. package/locale/da/index.js +0 -1
  648. package/locale/de/index.cjs +0 -3
  649. package/locale/de/index.cjs.js +0 -3
  650. package/locale/de/index.js +0 -1
  651. package/locale/dsb/index.cjs +0 -3
  652. package/locale/dsb/index.cjs.js +0 -3
  653. package/locale/dsb/index.js +0 -1
  654. package/locale/dz/index.cjs +0 -3
  655. package/locale/dz/index.cjs.js +0 -3
  656. package/locale/dz/index.js +0 -1
  657. package/locale/ee/index.cjs +0 -3
  658. package/locale/ee/index.cjs.js +0 -3
  659. package/locale/ee/index.js +0 -1
  660. package/locale/el/index.cjs +0 -3
  661. package/locale/el/index.cjs.js +0 -3
  662. package/locale/el/index.js +0 -1
  663. package/locale/en/index.cjs +0 -3
  664. package/locale/en/index.cjs.js +0 -3
  665. package/locale/en/index.js +0 -1
  666. package/locale/en-001/index.cjs +0 -3
  667. package/locale/en-001/index.cjs.js +0 -3
  668. package/locale/en-001/index.js +0 -1
  669. package/locale/en-150/index.cjs +0 -3
  670. package/locale/en-150/index.cjs.js +0 -3
  671. package/locale/en-150/index.js +0 -1
  672. package/locale/en-AG/index.cjs +0 -3
  673. package/locale/en-AG/index.cjs.js +0 -3
  674. package/locale/en-AG/index.js +0 -1
  675. package/locale/en-AI/index.cjs +0 -3
  676. package/locale/en-AI/index.cjs.js +0 -3
  677. package/locale/en-AI/index.js +0 -1
  678. package/locale/en-AT/index.cjs +0 -3
  679. package/locale/en-AT/index.cjs.js +0 -3
  680. package/locale/en-AT/index.js +0 -1
  681. package/locale/en-AU/index.cjs +0 -3
  682. package/locale/en-AU/index.cjs.js +0 -3
  683. package/locale/en-AU/index.js +0 -1
  684. package/locale/en-BB/index.cjs +0 -3
  685. package/locale/en-BB/index.cjs.js +0 -3
  686. package/locale/en-BB/index.js +0 -1
  687. package/locale/en-BE/index.cjs +0 -3
  688. package/locale/en-BE/index.cjs.js +0 -3
  689. package/locale/en-BE/index.js +0 -1
  690. package/locale/en-BM/index.cjs +0 -3
  691. package/locale/en-BM/index.cjs.js +0 -3
  692. package/locale/en-BM/index.js +0 -1
  693. package/locale/en-BS/index.cjs +0 -3
  694. package/locale/en-BS/index.cjs.js +0 -3
  695. package/locale/en-BS/index.js +0 -1
  696. package/locale/en-BW/index.cjs +0 -3
  697. package/locale/en-BW/index.cjs.js +0 -3
  698. package/locale/en-BW/index.js +0 -1
  699. package/locale/en-BZ/index.cjs +0 -3
  700. package/locale/en-BZ/index.cjs.js +0 -3
  701. package/locale/en-BZ/index.js +0 -1
  702. package/locale/en-CA/index.cjs +0 -3
  703. package/locale/en-CA/index.cjs.js +0 -3
  704. package/locale/en-CA/index.js +0 -1
  705. package/locale/en-CC/index.cjs +0 -3
  706. package/locale/en-CC/index.cjs.js +0 -3
  707. package/locale/en-CC/index.js +0 -1
  708. package/locale/en-CH/index.cjs +0 -3
  709. package/locale/en-CH/index.cjs.js +0 -3
  710. package/locale/en-CH/index.js +0 -1
  711. package/locale/en-CK/index.cjs +0 -3
  712. package/locale/en-CK/index.cjs.js +0 -3
  713. package/locale/en-CK/index.js +0 -1
  714. package/locale/en-CM/index.cjs +0 -3
  715. package/locale/en-CM/index.cjs.js +0 -3
  716. package/locale/en-CM/index.js +0 -1
  717. package/locale/en-CX/index.cjs +0 -3
  718. package/locale/en-CX/index.cjs.js +0 -3
  719. package/locale/en-CX/index.js +0 -1
  720. package/locale/en-CY/index.cjs +0 -3
  721. package/locale/en-CY/index.cjs.js +0 -3
  722. package/locale/en-CY/index.js +0 -1
  723. package/locale/en-DE/index.cjs +0 -3
  724. package/locale/en-DE/index.cjs.js +0 -3
  725. package/locale/en-DE/index.js +0 -1
  726. package/locale/en-DG/index.cjs +0 -3
  727. package/locale/en-DG/index.cjs.js +0 -3
  728. package/locale/en-DG/index.js +0 -1
  729. package/locale/en-DK/index.cjs +0 -3
  730. package/locale/en-DK/index.cjs.js +0 -3
  731. package/locale/en-DK/index.js +0 -1
  732. package/locale/en-DM/index.cjs +0 -3
  733. package/locale/en-DM/index.cjs.js +0 -3
  734. package/locale/en-DM/index.js +0 -1
  735. package/locale/en-ER/index.cjs +0 -3
  736. package/locale/en-ER/index.cjs.js +0 -3
  737. package/locale/en-ER/index.js +0 -1
  738. package/locale/en-FI/index.cjs +0 -3
  739. package/locale/en-FI/index.cjs.js +0 -3
  740. package/locale/en-FI/index.js +0 -1
  741. package/locale/en-FJ/index.cjs +0 -3
  742. package/locale/en-FJ/index.cjs.js +0 -3
  743. package/locale/en-FJ/index.js +0 -1
  744. package/locale/en-FK/index.cjs +0 -3
  745. package/locale/en-FK/index.cjs.js +0 -3
  746. package/locale/en-FK/index.js +0 -1
  747. package/locale/en-FM/index.cjs +0 -3
  748. package/locale/en-FM/index.cjs.js +0 -3
  749. package/locale/en-FM/index.js +0 -1
  750. package/locale/en-GB/index.cjs +0 -3
  751. package/locale/en-GB/index.cjs.js +0 -3
  752. package/locale/en-GB/index.js +0 -1
  753. package/locale/en-GD/index.cjs +0 -3
  754. package/locale/en-GD/index.cjs.js +0 -3
  755. package/locale/en-GD/index.js +0 -1
  756. package/locale/en-GG/index.cjs +0 -3
  757. package/locale/en-GG/index.cjs.js +0 -3
  758. package/locale/en-GG/index.js +0 -1
  759. package/locale/en-GH/index.cjs +0 -3
  760. package/locale/en-GH/index.cjs.js +0 -3
  761. package/locale/en-GH/index.js +0 -1
  762. package/locale/en-GI/index.cjs +0 -3
  763. package/locale/en-GI/index.cjs.js +0 -3
  764. package/locale/en-GI/index.js +0 -1
  765. package/locale/en-GM/index.cjs +0 -3
  766. package/locale/en-GM/index.cjs.js +0 -3
  767. package/locale/en-GM/index.js +0 -1
  768. package/locale/en-GY/index.cjs +0 -3
  769. package/locale/en-GY/index.cjs.js +0 -3
  770. package/locale/en-GY/index.js +0 -1
  771. package/locale/en-HK/index.cjs +0 -3
  772. package/locale/en-HK/index.cjs.js +0 -3
  773. package/locale/en-HK/index.js +0 -1
  774. package/locale/en-IE/index.cjs +0 -3
  775. package/locale/en-IE/index.cjs.js +0 -3
  776. package/locale/en-IE/index.js +0 -1
  777. package/locale/en-IL/index.cjs +0 -3
  778. package/locale/en-IL/index.cjs.js +0 -3
  779. package/locale/en-IL/index.js +0 -1
  780. package/locale/en-IM/index.cjs +0 -3
  781. package/locale/en-IM/index.cjs.js +0 -3
  782. package/locale/en-IM/index.js +0 -1
  783. package/locale/en-IN/index.cjs +0 -3
  784. package/locale/en-IN/index.cjs.js +0 -3
  785. package/locale/en-IN/index.js +0 -1
  786. package/locale/en-IO/index.cjs +0 -3
  787. package/locale/en-IO/index.cjs.js +0 -3
  788. package/locale/en-IO/index.js +0 -1
  789. package/locale/en-JE/index.cjs +0 -3
  790. package/locale/en-JE/index.cjs.js +0 -3
  791. package/locale/en-JE/index.js +0 -1
  792. package/locale/en-JM/index.cjs +0 -3
  793. package/locale/en-JM/index.cjs.js +0 -3
  794. package/locale/en-JM/index.js +0 -1
  795. package/locale/en-KE/index.cjs +0 -3
  796. package/locale/en-KE/index.cjs.js +0 -3
  797. package/locale/en-KE/index.js +0 -1
  798. package/locale/en-KI/index.cjs +0 -3
  799. package/locale/en-KI/index.cjs.js +0 -3
  800. package/locale/en-KI/index.js +0 -1
  801. package/locale/en-KN/index.cjs +0 -3
  802. package/locale/en-KN/index.cjs.js +0 -3
  803. package/locale/en-KN/index.js +0 -1
  804. package/locale/en-KY/index.cjs +0 -3
  805. package/locale/en-KY/index.cjs.js +0 -3
  806. package/locale/en-KY/index.js +0 -1
  807. package/locale/en-LC/index.cjs +0 -3
  808. package/locale/en-LC/index.cjs.js +0 -3
  809. package/locale/en-LC/index.js +0 -1
  810. package/locale/en-LR/index.cjs +0 -3
  811. package/locale/en-LR/index.cjs.js +0 -3
  812. package/locale/en-LR/index.js +0 -1
  813. package/locale/en-LS/index.cjs +0 -3
  814. package/locale/en-LS/index.cjs.js +0 -3
  815. package/locale/en-LS/index.js +0 -1
  816. package/locale/en-MG/index.cjs +0 -3
  817. package/locale/en-MG/index.cjs.js +0 -3
  818. package/locale/en-MG/index.js +0 -1
  819. package/locale/en-MO/index.cjs +0 -3
  820. package/locale/en-MO/index.cjs.js +0 -3
  821. package/locale/en-MO/index.js +0 -1
  822. package/locale/en-MS/index.cjs +0 -3
  823. package/locale/en-MS/index.cjs.js +0 -3
  824. package/locale/en-MS/index.js +0 -1
  825. package/locale/en-MT/index.cjs +0 -3
  826. package/locale/en-MT/index.cjs.js +0 -3
  827. package/locale/en-MT/index.js +0 -1
  828. package/locale/en-MU/index.cjs +0 -3
  829. package/locale/en-MU/index.cjs.js +0 -3
  830. package/locale/en-MU/index.js +0 -1
  831. package/locale/en-MV/index.cjs +0 -3
  832. package/locale/en-MV/index.cjs.js +0 -3
  833. package/locale/en-MV/index.js +0 -1
  834. package/locale/en-MW/index.cjs +0 -3
  835. package/locale/en-MW/index.cjs.js +0 -3
  836. package/locale/en-MW/index.js +0 -1
  837. package/locale/en-MY/index.cjs +0 -3
  838. package/locale/en-MY/index.cjs.js +0 -3
  839. package/locale/en-MY/index.js +0 -1
  840. package/locale/en-NA/index.cjs +0 -3
  841. package/locale/en-NA/index.cjs.js +0 -3
  842. package/locale/en-NA/index.js +0 -1
  843. package/locale/en-NF/index.cjs +0 -3
  844. package/locale/en-NF/index.cjs.js +0 -3
  845. package/locale/en-NF/index.js +0 -1
  846. package/locale/en-NG/index.cjs +0 -3
  847. package/locale/en-NG/index.cjs.js +0 -3
  848. package/locale/en-NG/index.js +0 -1
  849. package/locale/en-NL/index.cjs +0 -3
  850. package/locale/en-NL/index.cjs.js +0 -3
  851. package/locale/en-NL/index.js +0 -1
  852. package/locale/en-NR/index.cjs +0 -3
  853. package/locale/en-NR/index.cjs.js +0 -3
  854. package/locale/en-NR/index.js +0 -1
  855. package/locale/en-NU/index.cjs +0 -3
  856. package/locale/en-NU/index.cjs.js +0 -3
  857. package/locale/en-NU/index.js +0 -1
  858. package/locale/en-NZ/index.cjs +0 -3
  859. package/locale/en-NZ/index.cjs.js +0 -3
  860. package/locale/en-NZ/index.js +0 -1
  861. package/locale/en-PG/index.cjs +0 -3
  862. package/locale/en-PG/index.cjs.js +0 -3
  863. package/locale/en-PG/index.js +0 -1
  864. package/locale/en-PK/index.cjs +0 -3
  865. package/locale/en-PK/index.cjs.js +0 -3
  866. package/locale/en-PK/index.js +0 -1
  867. package/locale/en-PN/index.cjs +0 -3
  868. package/locale/en-PN/index.cjs.js +0 -3
  869. package/locale/en-PN/index.js +0 -1
  870. package/locale/en-PW/index.cjs +0 -3
  871. package/locale/en-PW/index.cjs.js +0 -3
  872. package/locale/en-PW/index.js +0 -1
  873. package/locale/en-RW/index.cjs +0 -3
  874. package/locale/en-RW/index.cjs.js +0 -3
  875. package/locale/en-RW/index.js +0 -1
  876. package/locale/en-SB/index.cjs +0 -3
  877. package/locale/en-SB/index.cjs.js +0 -3
  878. package/locale/en-SB/index.js +0 -1
  879. package/locale/en-SC/index.cjs +0 -3
  880. package/locale/en-SC/index.cjs.js +0 -3
  881. package/locale/en-SC/index.js +0 -1
  882. package/locale/en-SD/index.cjs +0 -3
  883. package/locale/en-SD/index.cjs.js +0 -3
  884. package/locale/en-SD/index.js +0 -1
  885. package/locale/en-SE/index.cjs +0 -3
  886. package/locale/en-SE/index.cjs.js +0 -3
  887. package/locale/en-SE/index.js +0 -1
  888. package/locale/en-SG/index.cjs +0 -3
  889. package/locale/en-SG/index.cjs.js +0 -3
  890. package/locale/en-SG/index.js +0 -1
  891. package/locale/en-SH/index.cjs +0 -3
  892. package/locale/en-SH/index.cjs.js +0 -3
  893. package/locale/en-SH/index.js +0 -1
  894. package/locale/en-SI/index.cjs +0 -3
  895. package/locale/en-SI/index.cjs.js +0 -3
  896. package/locale/en-SI/index.js +0 -1
  897. package/locale/en-SL/index.cjs +0 -3
  898. package/locale/en-SL/index.cjs.js +0 -3
  899. package/locale/en-SL/index.js +0 -1
  900. package/locale/en-SS/index.cjs +0 -3
  901. package/locale/en-SS/index.cjs.js +0 -3
  902. package/locale/en-SS/index.js +0 -1
  903. package/locale/en-SX/index.cjs +0 -3
  904. package/locale/en-SX/index.cjs.js +0 -3
  905. package/locale/en-SX/index.js +0 -1
  906. package/locale/en-SZ/index.cjs +0 -3
  907. package/locale/en-SZ/index.cjs.js +0 -3
  908. package/locale/en-SZ/index.js +0 -1
  909. package/locale/en-TC/index.cjs +0 -3
  910. package/locale/en-TC/index.cjs.js +0 -3
  911. package/locale/en-TC/index.js +0 -1
  912. package/locale/en-TK/index.cjs +0 -3
  913. package/locale/en-TK/index.cjs.js +0 -3
  914. package/locale/en-TK/index.js +0 -1
  915. package/locale/en-TO/index.cjs +0 -3
  916. package/locale/en-TO/index.cjs.js +0 -3
  917. package/locale/en-TO/index.js +0 -1
  918. package/locale/en-TT/index.cjs +0 -3
  919. package/locale/en-TT/index.cjs.js +0 -3
  920. package/locale/en-TT/index.js +0 -1
  921. package/locale/en-TV/index.cjs +0 -3
  922. package/locale/en-TV/index.cjs.js +0 -3
  923. package/locale/en-TV/index.js +0 -1
  924. package/locale/en-TZ/index.cjs +0 -3
  925. package/locale/en-TZ/index.cjs.js +0 -3
  926. package/locale/en-TZ/index.js +0 -1
  927. package/locale/en-UG/index.cjs +0 -3
  928. package/locale/en-UG/index.cjs.js +0 -3
  929. package/locale/en-UG/index.js +0 -1
  930. package/locale/en-VC/index.cjs +0 -3
  931. package/locale/en-VC/index.cjs.js +0 -3
  932. package/locale/en-VC/index.js +0 -1
  933. package/locale/en-VG/index.cjs +0 -3
  934. package/locale/en-VG/index.cjs.js +0 -3
  935. package/locale/en-VG/index.js +0 -1
  936. package/locale/en-VU/index.cjs +0 -3
  937. package/locale/en-VU/index.cjs.js +0 -3
  938. package/locale/en-VU/index.js +0 -1
  939. package/locale/en-WS/index.cjs +0 -3
  940. package/locale/en-WS/index.cjs.js +0 -3
  941. package/locale/en-WS/index.js +0 -1
  942. package/locale/en-ZA/index.cjs +0 -3
  943. package/locale/en-ZA/index.cjs.js +0 -3
  944. package/locale/en-ZA/index.js +0 -1
  945. package/locale/en-ZM/index.cjs +0 -3
  946. package/locale/en-ZM/index.cjs.js +0 -3
  947. package/locale/en-ZM/index.js +0 -1
  948. package/locale/en-ZW/index.cjs +0 -3
  949. package/locale/en-ZW/index.cjs.js +0 -3
  950. package/locale/en-ZW/index.js +0 -1
  951. package/locale/es/index.cjs +0 -3
  952. package/locale/es/index.cjs.js +0 -3
  953. package/locale/es/index.js +0 -1
  954. package/locale/es-419/index.cjs +0 -3
  955. package/locale/es-419/index.cjs.js +0 -3
  956. package/locale/es-419/index.js +0 -1
  957. package/locale/es-AR/index.cjs +0 -3
  958. package/locale/es-AR/index.cjs.js +0 -3
  959. package/locale/es-AR/index.js +0 -1
  960. package/locale/es-BO/index.cjs +0 -3
  961. package/locale/es-BO/index.cjs.js +0 -3
  962. package/locale/es-BO/index.js +0 -1
  963. package/locale/es-BR/index.cjs +0 -3
  964. package/locale/es-BR/index.cjs.js +0 -3
  965. package/locale/es-BR/index.js +0 -1
  966. package/locale/es-BZ/index.cjs +0 -3
  967. package/locale/es-BZ/index.cjs.js +0 -3
  968. package/locale/es-BZ/index.js +0 -1
  969. package/locale/es-CL/index.cjs +0 -3
  970. package/locale/es-CL/index.cjs.js +0 -3
  971. package/locale/es-CL/index.js +0 -1
  972. package/locale/es-CO/index.cjs +0 -3
  973. package/locale/es-CO/index.cjs.js +0 -3
  974. package/locale/es-CO/index.js +0 -1
  975. package/locale/es-CR/index.cjs +0 -3
  976. package/locale/es-CR/index.cjs.js +0 -3
  977. package/locale/es-CR/index.js +0 -1
  978. package/locale/es-CU/index.cjs +0 -3
  979. package/locale/es-CU/index.cjs.js +0 -3
  980. package/locale/es-CU/index.js +0 -1
  981. package/locale/es-DO/index.cjs +0 -3
  982. package/locale/es-DO/index.cjs.js +0 -3
  983. package/locale/es-DO/index.js +0 -1
  984. package/locale/es-EC/index.cjs +0 -3
  985. package/locale/es-EC/index.cjs.js +0 -3
  986. package/locale/es-EC/index.js +0 -1
  987. package/locale/es-GT/index.cjs +0 -3
  988. package/locale/es-GT/index.cjs.js +0 -3
  989. package/locale/es-GT/index.js +0 -1
  990. package/locale/es-HN/index.cjs +0 -3
  991. package/locale/es-HN/index.cjs.js +0 -3
  992. package/locale/es-HN/index.js +0 -1
  993. package/locale/es-MX/index.cjs +0 -3
  994. package/locale/es-MX/index.cjs.js +0 -3
  995. package/locale/es-MX/index.js +0 -1
  996. package/locale/es-NI/index.cjs +0 -3
  997. package/locale/es-NI/index.cjs.js +0 -3
  998. package/locale/es-NI/index.js +0 -1
  999. package/locale/es-PA/index.cjs +0 -3
  1000. package/locale/es-PA/index.cjs.js +0 -3
  1001. package/locale/es-PA/index.js +0 -1
  1002. package/locale/es-PE/index.cjs +0 -3
  1003. package/locale/es-PE/index.cjs.js +0 -3
  1004. package/locale/es-PE/index.js +0 -1
  1005. package/locale/es-PR/index.cjs +0 -3
  1006. package/locale/es-PR/index.cjs.js +0 -3
  1007. package/locale/es-PR/index.js +0 -1
  1008. package/locale/es-PY/index.cjs +0 -3
  1009. package/locale/es-PY/index.cjs.js +0 -3
  1010. package/locale/es-PY/index.js +0 -1
  1011. package/locale/es-SV/index.cjs +0 -3
  1012. package/locale/es-SV/index.cjs.js +0 -3
  1013. package/locale/es-SV/index.js +0 -1
  1014. package/locale/es-US/index.cjs +0 -3
  1015. package/locale/es-US/index.cjs.js +0 -3
  1016. package/locale/es-US/index.js +0 -1
  1017. package/locale/es-UY/index.cjs +0 -3
  1018. package/locale/es-UY/index.cjs.js +0 -3
  1019. package/locale/es-UY/index.js +0 -1
  1020. package/locale/es-VE/index.cjs +0 -3
  1021. package/locale/es-VE/index.cjs.js +0 -3
  1022. package/locale/es-VE/index.js +0 -1
  1023. package/locale/et/index.cjs +0 -3
  1024. package/locale/et/index.cjs.js +0 -3
  1025. package/locale/et/index.js +0 -1
  1026. package/locale/eu/index.cjs +0 -3
  1027. package/locale/eu/index.cjs.js +0 -3
  1028. package/locale/eu/index.js +0 -1
  1029. package/locale/fa/index.cjs +0 -3
  1030. package/locale/fa/index.cjs.js +0 -3
  1031. package/locale/fa/index.js +0 -1
  1032. package/locale/ff-Adlm/index.cjs +0 -3
  1033. package/locale/ff-Adlm/index.cjs.js +0 -3
  1034. package/locale/ff-Adlm/index.js +0 -1
  1035. package/locale/fi/index.cjs +0 -3
  1036. package/locale/fi/index.cjs.js +0 -3
  1037. package/locale/fi/index.js +0 -1
  1038. package/locale/fil/index.cjs +0 -3
  1039. package/locale/fil/index.cjs.js +0 -3
  1040. package/locale/fil/index.js +0 -1
  1041. package/locale/fo/index.cjs +0 -3
  1042. package/locale/fo/index.cjs.js +0 -3
  1043. package/locale/fo/index.js +0 -1
  1044. package/locale/fr/index.cjs +0 -3
  1045. package/locale/fr/index.cjs.js +0 -3
  1046. package/locale/fr/index.js +0 -1
  1047. package/locale/fr-CA/index.cjs +0 -3
  1048. package/locale/fr-CA/index.cjs.js +0 -3
  1049. package/locale/fr-CA/index.js +0 -1
  1050. package/locale/fur/index.cjs +0 -3
  1051. package/locale/fur/index.cjs.js +0 -3
  1052. package/locale/fur/index.js +0 -1
  1053. package/locale/fy/index.cjs +0 -3
  1054. package/locale/fy/index.cjs.js +0 -3
  1055. package/locale/fy/index.js +0 -1
  1056. package/locale/ga/index.cjs +0 -3
  1057. package/locale/ga/index.cjs.js +0 -3
  1058. package/locale/ga/index.js +0 -1
  1059. package/locale/gd/index.cjs +0 -3
  1060. package/locale/gd/index.cjs.js +0 -3
  1061. package/locale/gd/index.js +0 -1
  1062. package/locale/gl/index.cjs +0 -3
  1063. package/locale/gl/index.cjs.js +0 -3
  1064. package/locale/gl/index.js +0 -1
  1065. package/locale/gu/index.cjs +0 -3
  1066. package/locale/gu/index.cjs.js +0 -3
  1067. package/locale/gu/index.js +0 -1
  1068. package/locale/ha/index.cjs +0 -3
  1069. package/locale/ha/index.cjs.js +0 -3
  1070. package/locale/ha/index.js +0 -1
  1071. package/locale/he/index.cjs +0 -3
  1072. package/locale/he/index.cjs.js +0 -3
  1073. package/locale/he/index.js +0 -1
  1074. package/locale/hi/index.cjs +0 -3
  1075. package/locale/hi/index.cjs.js +0 -3
  1076. package/locale/hi/index.js +0 -1
  1077. package/locale/hi-Latn/index.cjs +0 -3
  1078. package/locale/hi-Latn/index.cjs.js +0 -3
  1079. package/locale/hi-Latn/index.js +0 -1
  1080. package/locale/hr/index.cjs +0 -3
  1081. package/locale/hr/index.cjs.js +0 -3
  1082. package/locale/hr/index.js +0 -1
  1083. package/locale/hsb/index.cjs +0 -3
  1084. package/locale/hsb/index.cjs.js +0 -3
  1085. package/locale/hsb/index.js +0 -1
  1086. package/locale/hu/index.cjs +0 -3
  1087. package/locale/hu/index.cjs.js +0 -3
  1088. package/locale/hu/index.js +0 -1
  1089. package/locale/hy/index.cjs +0 -3
  1090. package/locale/hy/index.cjs.js +0 -3
  1091. package/locale/hy/index.js +0 -1
  1092. package/locale/ia/index.cjs +0 -3
  1093. package/locale/ia/index.cjs.js +0 -3
  1094. package/locale/ia/index.js +0 -1
  1095. package/locale/id/index.cjs +0 -3
  1096. package/locale/id/index.cjs.js +0 -3
  1097. package/locale/id/index.js +0 -1
  1098. package/locale/ig/index.cjs +0 -3
  1099. package/locale/ig/index.cjs.js +0 -3
  1100. package/locale/ig/index.js +0 -1
  1101. package/locale/is/index.cjs +0 -3
  1102. package/locale/is/index.cjs.js +0 -3
  1103. package/locale/is/index.js +0 -1
  1104. package/locale/it/index.cjs +0 -3
  1105. package/locale/it/index.cjs.js +0 -3
  1106. package/locale/it/index.js +0 -1
  1107. package/locale/ja/index.cjs +0 -3
  1108. package/locale/ja/index.cjs.js +0 -3
  1109. package/locale/ja/index.js +0 -1
  1110. package/locale/jgo/index.cjs +0 -3
  1111. package/locale/jgo/index.cjs.js +0 -3
  1112. package/locale/jgo/index.js +0 -1
  1113. package/locale/jv/index.cjs +0 -3
  1114. package/locale/jv/index.cjs.js +0 -3
  1115. package/locale/jv/index.js +0 -1
  1116. package/locale/ka/index.cjs +0 -3
  1117. package/locale/ka/index.cjs.js +0 -3
  1118. package/locale/ka/index.js +0 -1
  1119. package/locale/kea/index.cjs +0 -3
  1120. package/locale/kea/index.cjs.js +0 -3
  1121. package/locale/kea/index.js +0 -1
  1122. package/locale/kgp/index.cjs +0 -3
  1123. package/locale/kgp/index.cjs.js +0 -3
  1124. package/locale/kgp/index.js +0 -1
  1125. package/locale/kk/index.cjs +0 -3
  1126. package/locale/kk/index.cjs.js +0 -3
  1127. package/locale/kk/index.js +0 -1
  1128. package/locale/kl/index.cjs +0 -3
  1129. package/locale/kl/index.cjs.js +0 -3
  1130. package/locale/kl/index.js +0 -1
  1131. package/locale/km/index.cjs +0 -3
  1132. package/locale/km/index.cjs.js +0 -3
  1133. package/locale/km/index.js +0 -1
  1134. package/locale/kn/index.cjs +0 -3
  1135. package/locale/kn/index.cjs.js +0 -3
  1136. package/locale/kn/index.js +0 -1
  1137. package/locale/ko/index.cjs +0 -3
  1138. package/locale/ko/index.cjs.js +0 -3
  1139. package/locale/ko/index.js +0 -1
  1140. package/locale/kok/index.cjs +0 -3
  1141. package/locale/kok/index.cjs.js +0 -3
  1142. package/locale/kok/index.js +0 -1
  1143. package/locale/ksh/index.cjs +0 -3
  1144. package/locale/ksh/index.cjs.js +0 -3
  1145. package/locale/ksh/index.js +0 -1
  1146. package/locale/ku/index.cjs +0 -3
  1147. package/locale/ku/index.cjs.js +0 -3
  1148. package/locale/ku/index.js +0 -1
  1149. package/locale/ky/index.cjs +0 -3
  1150. package/locale/ky/index.cjs.js +0 -3
  1151. package/locale/ky/index.js +0 -1
  1152. package/locale/lb/index.cjs +0 -3
  1153. package/locale/lb/index.cjs.js +0 -3
  1154. package/locale/lb/index.js +0 -1
  1155. package/locale/lkt/index.cjs +0 -3
  1156. package/locale/lkt/index.cjs.js +0 -3
  1157. package/locale/lkt/index.js +0 -1
  1158. package/locale/lo/index.cjs +0 -3
  1159. package/locale/lo/index.cjs.js +0 -3
  1160. package/locale/lo/index.js +0 -1
  1161. package/locale/lt/index.cjs +0 -3
  1162. package/locale/lt/index.cjs.js +0 -3
  1163. package/locale/lt/index.js +0 -1
  1164. package/locale/lv/index.cjs +0 -3
  1165. package/locale/lv/index.cjs.js +0 -3
  1166. package/locale/lv/index.js +0 -1
  1167. package/locale/mk/index.cjs +0 -3
  1168. package/locale/mk/index.cjs.js +0 -3
  1169. package/locale/mk/index.js +0 -1
  1170. package/locale/ml/index.cjs +0 -3
  1171. package/locale/ml/index.cjs.js +0 -3
  1172. package/locale/ml/index.js +0 -1
  1173. package/locale/mn/index.cjs +0 -3
  1174. package/locale/mn/index.cjs.js +0 -3
  1175. package/locale/mn/index.js +0 -1
  1176. package/locale/mni/index.cjs +0 -3
  1177. package/locale/mni/index.cjs.js +0 -3
  1178. package/locale/mni/index.js +0 -1
  1179. package/locale/mr/index.cjs +0 -3
  1180. package/locale/mr/index.cjs.js +0 -3
  1181. package/locale/mr/index.js +0 -1
  1182. package/locale/ms/index.cjs +0 -3
  1183. package/locale/ms/index.cjs.js +0 -3
  1184. package/locale/ms/index.js +0 -1
  1185. package/locale/mt/index.cjs +0 -3
  1186. package/locale/mt/index.cjs.js +0 -3
  1187. package/locale/mt/index.js +0 -1
  1188. package/locale/my/index.cjs +0 -3
  1189. package/locale/my/index.cjs.js +0 -3
  1190. package/locale/my/index.js +0 -1
  1191. package/locale/mzn/index.cjs +0 -3
  1192. package/locale/mzn/index.cjs.js +0 -3
  1193. package/locale/mzn/index.js +0 -1
  1194. package/locale/nb/index.cjs +0 -3
  1195. package/locale/nb/index.cjs.js +0 -3
  1196. package/locale/nb/index.js +0 -1
  1197. package/locale/ne/index.cjs +0 -3
  1198. package/locale/ne/index.cjs.js +0 -3
  1199. package/locale/ne/index.js +0 -1
  1200. package/locale/nl/index.cjs +0 -3
  1201. package/locale/nl/index.cjs.js +0 -3
  1202. package/locale/nl/index.js +0 -1
  1203. package/locale/nn/index.cjs +0 -3
  1204. package/locale/nn/index.cjs.js +0 -3
  1205. package/locale/nn/index.js +0 -1
  1206. package/locale/no/index.cjs +0 -3
  1207. package/locale/no/index.cjs.js +0 -3
  1208. package/locale/no/index.js +0 -1
  1209. package/locale/or/index.cjs +0 -3
  1210. package/locale/or/index.cjs.js +0 -3
  1211. package/locale/or/index.js +0 -1
  1212. package/locale/pa/index.cjs +0 -3
  1213. package/locale/pa/index.cjs.js +0 -3
  1214. package/locale/pa/index.js +0 -1
  1215. package/locale/pcm/index.cjs +0 -3
  1216. package/locale/pcm/index.cjs.js +0 -3
  1217. package/locale/pcm/index.js +0 -1
  1218. package/locale/pl/index.cjs +0 -3
  1219. package/locale/pl/index.cjs.js +0 -3
  1220. package/locale/pl/index.js +0 -1
  1221. package/locale/ps/index.cjs +0 -3
  1222. package/locale/ps/index.cjs.js +0 -3
  1223. package/locale/ps/index.js +0 -1
  1224. package/locale/ps-PK/index.cjs +0 -3
  1225. package/locale/ps-PK/index.cjs.js +0 -3
  1226. package/locale/ps-PK/index.js +0 -1
  1227. package/locale/pt/index.cjs +0 -3
  1228. package/locale/pt/index.cjs.js +0 -3
  1229. package/locale/pt/index.js +0 -1
  1230. package/locale/pt-AO/index.cjs +0 -3
  1231. package/locale/pt-AO/index.cjs.js +0 -3
  1232. package/locale/pt-AO/index.js +0 -1
  1233. package/locale/pt-CH/index.cjs +0 -3
  1234. package/locale/pt-CH/index.cjs.js +0 -3
  1235. package/locale/pt-CH/index.js +0 -1
  1236. package/locale/pt-CV/index.cjs +0 -3
  1237. package/locale/pt-CV/index.cjs.js +0 -3
  1238. package/locale/pt-CV/index.js +0 -1
  1239. package/locale/pt-GQ/index.cjs +0 -3
  1240. package/locale/pt-GQ/index.cjs.js +0 -3
  1241. package/locale/pt-GQ/index.js +0 -1
  1242. package/locale/pt-GW/index.cjs +0 -3
  1243. package/locale/pt-GW/index.cjs.js +0 -3
  1244. package/locale/pt-GW/index.js +0 -1
  1245. package/locale/pt-LU/index.cjs +0 -3
  1246. package/locale/pt-LU/index.cjs.js +0 -3
  1247. package/locale/pt-LU/index.js +0 -1
  1248. package/locale/pt-MO/index.cjs +0 -3
  1249. package/locale/pt-MO/index.cjs.js +0 -3
  1250. package/locale/pt-MO/index.js +0 -1
  1251. package/locale/pt-MZ/index.cjs +0 -3
  1252. package/locale/pt-MZ/index.cjs.js +0 -3
  1253. package/locale/pt-MZ/index.js +0 -1
  1254. package/locale/pt-PT/index.cjs +0 -3
  1255. package/locale/pt-PT/index.cjs.js +0 -3
  1256. package/locale/pt-PT/index.js +0 -1
  1257. package/locale/pt-ST/index.cjs +0 -3
  1258. package/locale/pt-ST/index.cjs.js +0 -3
  1259. package/locale/pt-ST/index.js +0 -1
  1260. package/locale/pt-TL/index.cjs +0 -3
  1261. package/locale/pt-TL/index.cjs.js +0 -3
  1262. package/locale/pt-TL/index.js +0 -1
  1263. package/locale/qu/index.cjs +0 -3
  1264. package/locale/qu/index.cjs.js +0 -3
  1265. package/locale/qu/index.js +0 -1
  1266. package/locale/rm/index.cjs +0 -3
  1267. package/locale/rm/index.cjs.js +0 -3
  1268. package/locale/rm/index.js +0 -1
  1269. package/locale/ro/index.cjs +0 -3
  1270. package/locale/ro/index.cjs.js +0 -3
  1271. package/locale/ro/index.js +0 -1
  1272. package/locale/ru/index.cjs +0 -3
  1273. package/locale/ru/index.cjs.js +0 -3
  1274. package/locale/ru/index.js +0 -1
  1275. package/locale/sah/index.cjs +0 -3
  1276. package/locale/sah/index.cjs.js +0 -3
  1277. package/locale/sah/index.js +0 -1
  1278. package/locale/sc/index.cjs +0 -3
  1279. package/locale/sc/index.cjs.js +0 -3
  1280. package/locale/sc/index.js +0 -1
  1281. package/locale/sd/index.cjs +0 -3
  1282. package/locale/sd/index.cjs.js +0 -3
  1283. package/locale/sd/index.js +0 -1
  1284. package/locale/se/index.cjs +0 -3
  1285. package/locale/se/index.cjs.js +0 -3
  1286. package/locale/se/index.js +0 -1
  1287. package/locale/se-FI/index.cjs +0 -3
  1288. package/locale/se-FI/index.cjs.js +0 -3
  1289. package/locale/se-FI/index.js +0 -1
  1290. package/locale/si/index.cjs +0 -3
  1291. package/locale/si/index.cjs.js +0 -3
  1292. package/locale/si/index.js +0 -1
  1293. package/locale/sk/index.cjs +0 -3
  1294. package/locale/sk/index.cjs.js +0 -3
  1295. package/locale/sk/index.js +0 -1
  1296. package/locale/sl/index.cjs +0 -3
  1297. package/locale/sl/index.cjs.js +0 -3
  1298. package/locale/sl/index.js +0 -1
  1299. package/locale/so/index.cjs +0 -3
  1300. package/locale/so/index.cjs.js +0 -3
  1301. package/locale/so/index.js +0 -1
  1302. package/locale/sq/index.cjs +0 -3
  1303. package/locale/sq/index.cjs.js +0 -3
  1304. package/locale/sq/index.js +0 -1
  1305. package/locale/sr/index.cjs +0 -3
  1306. package/locale/sr/index.cjs.js +0 -3
  1307. package/locale/sr/index.js +0 -1
  1308. package/locale/sr-Cyrl-BA/index.cjs +0 -3
  1309. package/locale/sr-Cyrl-BA/index.cjs.js +0 -3
  1310. package/locale/sr-Cyrl-BA/index.js +0 -1
  1311. package/locale/sr-Latn/index.cjs +0 -3
  1312. package/locale/sr-Latn/index.cjs.js +0 -3
  1313. package/locale/sr-Latn/index.js +0 -1
  1314. package/locale/sr-Latn-BA/index.cjs +0 -3
  1315. package/locale/sr-Latn-BA/index.cjs.js +0 -3
  1316. package/locale/sr-Latn-BA/index.js +0 -1
  1317. package/locale/su/index.cjs +0 -3
  1318. package/locale/su/index.cjs.js +0 -3
  1319. package/locale/su/index.js +0 -1
  1320. package/locale/sv/index.cjs +0 -3
  1321. package/locale/sv/index.cjs.js +0 -3
  1322. package/locale/sv/index.js +0 -1
  1323. package/locale/sw/index.cjs +0 -3
  1324. package/locale/sw/index.cjs.js +0 -3
  1325. package/locale/sw/index.js +0 -1
  1326. package/locale/ta/index.cjs +0 -3
  1327. package/locale/ta/index.cjs.js +0 -3
  1328. package/locale/ta/index.js +0 -1
  1329. package/locale/te/index.cjs +0 -3
  1330. package/locale/te/index.cjs.js +0 -3
  1331. package/locale/te/index.js +0 -1
  1332. package/locale/tg/index.cjs +0 -3
  1333. package/locale/tg/index.cjs.js +0 -3
  1334. package/locale/tg/index.js +0 -1
  1335. package/locale/th/index.cjs +0 -3
  1336. package/locale/th/index.cjs.js +0 -3
  1337. package/locale/th/index.js +0 -1
  1338. package/locale/ti/index.cjs +0 -3
  1339. package/locale/ti/index.cjs.js +0 -3
  1340. package/locale/ti/index.js +0 -1
  1341. package/locale/tk/index.cjs +0 -3
  1342. package/locale/tk/index.cjs.js +0 -3
  1343. package/locale/tk/index.js +0 -1
  1344. package/locale/to/index.cjs +0 -3
  1345. package/locale/to/index.cjs.js +0 -3
  1346. package/locale/to/index.js +0 -1
  1347. package/locale/tr/index.cjs +0 -3
  1348. package/locale/tr/index.cjs.js +0 -3
  1349. package/locale/tr/index.js +0 -1
  1350. package/locale/tt/index.cjs +0 -3
  1351. package/locale/tt/index.cjs.js +0 -3
  1352. package/locale/tt/index.js +0 -1
  1353. package/locale/ug/index.cjs +0 -3
  1354. package/locale/ug/index.cjs.js +0 -3
  1355. package/locale/ug/index.js +0 -1
  1356. package/locale/uk/index.cjs +0 -3
  1357. package/locale/uk/index.cjs.js +0 -3
  1358. package/locale/uk/index.js +0 -1
  1359. package/locale/ur/index.cjs +0 -3
  1360. package/locale/ur/index.cjs.js +0 -3
  1361. package/locale/ur/index.js +0 -1
  1362. package/locale/ur-IN/index.cjs +0 -3
  1363. package/locale/ur-IN/index.cjs.js +0 -3
  1364. package/locale/ur-IN/index.js +0 -1
  1365. package/locale/uz/index.cjs +0 -3
  1366. package/locale/uz/index.cjs.js +0 -3
  1367. package/locale/uz/index.js +0 -1
  1368. package/locale/uz-Cyrl/index.cjs +0 -3
  1369. package/locale/uz-Cyrl/index.cjs.js +0 -3
  1370. package/locale/uz-Cyrl/index.js +0 -1
  1371. package/locale/vi/index.cjs +0 -3
  1372. package/locale/vi/index.cjs.js +0 -3
  1373. package/locale/vi/index.js +0 -1
  1374. package/locale/wae/index.cjs +0 -3
  1375. package/locale/wae/index.cjs.js +0 -3
  1376. package/locale/wae/index.js +0 -1
  1377. package/locale/wo/index.cjs +0 -3
  1378. package/locale/wo/index.cjs.js +0 -3
  1379. package/locale/wo/index.js +0 -1
  1380. package/locale/yi/index.cjs +0 -3
  1381. package/locale/yi/index.cjs.js +0 -3
  1382. package/locale/yi/index.js +0 -1
  1383. package/locale/yo/index.cjs +0 -3
  1384. package/locale/yo/index.cjs.js +0 -3
  1385. package/locale/yo/index.js +0 -1
  1386. package/locale/yo-BJ/index.cjs +0 -3
  1387. package/locale/yo-BJ/index.cjs.js +0 -3
  1388. package/locale/yo-BJ/index.js +0 -1
  1389. package/locale/yrl/index.cjs +0 -3
  1390. package/locale/yrl/index.cjs.js +0 -3
  1391. package/locale/yrl/index.js +0 -1
  1392. package/locale/yue/index.cjs +0 -3
  1393. package/locale/yue/index.cjs.js +0 -3
  1394. package/locale/yue/index.js +0 -1
  1395. package/locale/yue-Hans/index.cjs +0 -3
  1396. package/locale/yue-Hans/index.cjs.js +0 -3
  1397. package/locale/yue-Hans/index.js +0 -1
  1398. package/locale/zh/index.cjs +0 -3
  1399. package/locale/zh/index.cjs.js +0 -3
  1400. package/locale/zh/index.js +0 -1
  1401. package/locale/zh-Hans-HK/index.cjs +0 -3
  1402. package/locale/zh-Hans-HK/index.cjs.js +0 -3
  1403. package/locale/zh-Hans-HK/index.js +0 -1
  1404. package/locale/zh-Hans-MO/index.cjs +0 -3
  1405. package/locale/zh-Hans-MO/index.cjs.js +0 -3
  1406. package/locale/zh-Hans-MO/index.js +0 -1
  1407. package/locale/zh-Hans-SG/index.cjs +0 -3
  1408. package/locale/zh-Hans-SG/index.cjs.js +0 -3
  1409. package/locale/zh-Hans-SG/index.js +0 -1
  1410. package/locale/zh-Hant/index.cjs +0 -3
  1411. package/locale/zh-Hant/index.cjs.js +0 -3
  1412. package/locale/zh-Hant/index.js +0 -1
  1413. package/locale/zh-Hant-HK/index.cjs +0 -3
  1414. package/locale/zh-Hant-HK/index.cjs.js +0 -3
  1415. package/locale/zh-Hant-HK/index.js +0 -1
  1416. package/locale/zh-Hant-MO/index.cjs +0 -3
  1417. package/locale/zh-Hant-MO/index.cjs.js +0 -3
  1418. package/locale/zh-Hant-MO/index.js +0 -1
  1419. package/locale/zu/index.cjs +0 -3
  1420. package/locale/zu/index.cjs.js +0 -3
  1421. package/locale/zu/index.js +0 -1
@@ -6,7 +6,7 @@ const locales = []
6
6
  fs.readdirSync(path.resolve('./locale')).forEach((locale) => {
7
7
  const localePath = path.resolve('./locale', locale)
8
8
  if (fs.statSync(localePath).isDirectory()) {
9
- if (fs.existsSync(path.resolve('./locale', locale, 'index.js'))) {
9
+ if (fs.existsSync(path.resolve('./locale', locale, 'package.json'))) {
10
10
  locales.push(locale)
11
11
  }
12
12
  }
@@ -91,63 +91,74 @@ function writeLocaleDataFile(locale) {
91
91
  path.join(localesDirectory, `${locale}.json.js`),
92
92
  'export default ' + JSON.stringify(localeData, null, '\t')
93
93
  )
94
- }
95
94
 
96
- // (deprecated)
97
- // Creates a legacy-compatibility locale directory export.
98
- function createLegacyCompatibilityLocaleFolder(locale) {
99
- const localeDirectory = path.join(localesDirectory, locale)
100
-
101
- // Create a legacy-compatibility `index.js` file.
95
+ // Create the locale `*.json.d.ts` file.
102
96
  fs.outputFileSync(
103
- path.join(localeDirectory, 'index.js'),
97
+ path.join(localesDirectory, `${locale}.json.d.ts`),
104
98
  `
105
- export { default } from '../${locale}.json.js'
106
- `.trim()
107
- )
99
+ import { LocaleData } from '../index';
108
100
 
109
- // Create a legacy-compatibility `index.cjs` file.
110
- fs.outputFileSync(
111
- path.join(localeDirectory, 'index.cjs'),
112
- `
113
- var localeData = require('../${locale}.json')
114
- exports = module.exports = localeData
115
- exports['default'] = localeData
101
+ declare const localeData: LocaleData;
102
+ export default localeData;
116
103
  `.trim()
117
104
  )
105
+ }
118
106
 
119
- // Create a legacy-compatibility `index.cjs.js` file.
120
- // It's the same as `index.cjs`, just with an added `.js` file extension.
121
- // It only exists for compatibility with the software that doesn't like `*.cjs` file extension.
122
- // https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292
123
- fs.outputFileSync(
124
- path.join(localeDirectory, 'index.cjs.js'),
125
- `
126
- var localeData = require('../${locale}.json')
127
- exports = module.exports = localeData
128
- exports['default'] = localeData
129
- `.trim()
130
- )
107
+ // (deprecated)
108
+ // Creates a legacy-compatibility locale directory export.
109
+ function createLegacyCompatibilityLocaleFolder(locale) {
110
+ const localeDirectory = path.join(localesDirectory, locale)
111
+
112
+ // // Create a legacy-compatibility `index.js` file.
113
+ // fs.outputFileSync(
114
+ // path.join(localeDirectory, 'index.js'),
115
+ // `
116
+ // export { default } from '../${locale}.json.js'
117
+ // `.trim()
118
+ // )
119
+
120
+ // // Create a legacy-compatibility `index.cjs` file.
121
+ // fs.outputFileSync(
122
+ // path.join(localeDirectory, 'index.cjs'),
123
+ // `
124
+ // var localeData = require('../${locale}.json')
125
+ // exports = module.exports = localeData
126
+ // exports['default'] = localeData
127
+ // `.trim()
128
+ // )
129
+
130
+ // // Create a legacy-compatibility `index.cjs.js` file.
131
+ // // It's the same as `index.cjs`, just with an added `.js` file extension.
132
+ // // It only exists for compatibility with the software that doesn't like `*.cjs` file extension.
133
+ // // https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292
134
+ // fs.outputFileSync(
135
+ // path.join(localeDirectory, 'index.cjs.js'),
136
+ // `
137
+ // var localeData = require('../${locale}.json')
138
+ // exports = module.exports = localeData
139
+ // exports['default'] = localeData
140
+ // `.trim()
141
+ // )
131
142
 
132
143
  // Create `package.json` for the legacy-compatibility locale directory.
133
144
  fs.outputFileSync(
134
145
  path.join(localeDirectory, 'package.json'),
135
- `
136
- {
137
- "name": "javascript-time-ago/locale/${locale}",
138
- "private": true,
139
- "main": "index.cjs",
140
- "module": "index.js",
141
- "type": "module",
142
- "exports": {
143
- ".": {
144
- "import": "./index.js",
145
- "require": "./index.cjs"
146
- }
147
- },
148
- "sideEffects": false
149
- }
150
- `.trim()
146
+ JSON.stringify({
147
+ private: true,
148
+ name: `javascript-time-ago/locale/${locale}`,
149
+ main: `../${locale}.json`,
150
+ module: `../${locale}.json.js`,
151
+ types: `../${locale}.json.d.ts`,
152
+ type: 'module',
153
+ exports: {
154
+ '.': {
155
+ types: `../${locale}.json.d.ts`,
156
+ import: `../${locale}.json.js`,
157
+ require: `../${locale}.json`
158
+ }
159
+ },
160
+ sideEffects: false
161
+ }, null, '\t')
151
162
  )
152
163
  }
153
164
 
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TimeAgo=e()}(this,(function(){"use strict";var t="en",e={},r={};function n(){return t}function o(t){return e[t]}function a(t){return e[t]?t:r[t.toLowerCase()]?r[t.toLowerCase()]:void 0}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":return u(t);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(r))}}function u(t){var e=a(t);if(e)return e;for(var r=t.split("-");t.length>1;){r.pop();var n=a(t=r.join("-"));if(n)return n}}var c={af:function(t){return 1==t?"one":"other"},am:function(t){return t>=0&&t<=1?"one":"other"},ar:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(t){var e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},be:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},br:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2),a=r&&e[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==a?"many":"other"},bs:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(i<12||i>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ceb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(t){var e=String(t).split("."),r=e[0],n=!e[1];return 1==t&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t;return 1!=t&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(t){return"other"},es:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t?"one":0!=r&&0==o&&n?"many":"other"},ff:function(t){return t>=0&&t<2?"one":"other"},fr:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return t>=0&&t<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},he:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=Number(e[0])==t,a=o&&e[0].slice(-1);return 1==t&&n?"one":2==r&&n?"two":n&&(t<0||t>10)&&o&&0==a?"many":"other"},is:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t,o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a||!n?"one":"other"},it:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t&&n?"one":0!=r&&0==o&&n?"many":"other"},ksh:function(t){return 0==t?"zero":1==t?"one":"other"},lt:function(t){var e=String(t).split("."),r=e[1]||"",n=Number(e[0])==t,o=n&&e[0].slice(-1),a=n&&e[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(t){var e=String(t).split("."),r=e[1]||"",n=r.length,o=Number(e[0])==t,a=o&&e[0].slice(-1),i=o&&e[0].slice(-2),u=r.slice(-2),c=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&u>=11&&u<=19?"zero":1==a&&11!=i||2==n&&1==c&&11!=u||2!=n&&1==c?"one":"other"},mk:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":"other"},mt:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},pa:function(t){return 0==t||1==t?"one":"other"},pl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return 1==t&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(t){var e=String(t).split("."),r=!e[1],n=Number(e[0])==t&&e[0].slice(-2);return 1==t&&r?"one":!r||0==t||n>=2&&n<=19?"few":"other"},ru:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(t){return 1==t?"one":2==t?"two":"other"},si:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"";return 0==t||1==t||0==r&&1==n?"one":"other"},sl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};c.as=c.am,c.az=c.af,c.bg=c.af,c.bn=c.am,c.brx=c.af,c.ca=c.ast,c.ce=c.af,c.chr=c.af,c.de=c.ast,c.ee=c.af,c.el=c.af,c.en=c.ast,c.et=c.ast,c.eu=c.af,c.fa=c.am,c.fi=c.ast,c.fil=c.ceb,c.fo=c.af,c.fur=c.af,c.fy=c.ast,c.gl=c.ast,c.gu=c.am,c.ha=c.af,c.hi=c.am,c.hr=c.bs,c.hsb=c.dsb,c.hu=c.af,c.hy=c.ff,c.ia=c.ast,c.id=c.dz,c.ig=c.dz,c.ja=c.dz,c.jgo=c.af,c.jv=c.dz,c.ka=c.af,c.kea=c.dz,c.kk=c.af,c.kl=c.af,c.km=c.dz,c.kn=c.am,c.ko=c.dz,c.ku=c.af,c.ky=c.af,c.lb=c.af,c.lkt=c.dz,c.lo=c.dz,c.ml=c.af,c.mn=c.af,c.mr=c.af,c.ms=c.dz,c.my=c.dz,c.nb=c.af,c.ne=c.af,c.nl=c.ast,c.nn=c.af,c.no=c.af,c.or=c.af,c.pcm=c.am,c.ps=c.af,c.rm=c.af,c.sah=c.dz,c.sc=c.ast,c.sd=c.af,c.sk=c.cs,c.so=c.af,c.sq=c.af,c.sr=c.bs,c.su=c.dz,c.sv=c.ast,c.sw=c.ast,c.ta=c.af,c.te=c.af,c.th=c.dz,c.ti=c.pa,c.tk=c.af,c.to=c.dz,c.tr=c.af,c.ug=c.af,c.uk=c.ru,c.ur=c.ast,c.uz=c.af,c.vi=c.dz,c.wae=c.af,c.wo=c.dz,c.yi=c.ast,c.yo=c.dz,c.yue=c.dz,c.zh=c.dz,c.zu=c.am;var l=c;function f(t){return"pt-PT"===t?t:function(t){var e=t.match(s);if(!e)throw new TypeError("Invalid locale: ".concat(t));return e[1]}(t)}var s=/^([a-z0-9]+)/i;function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var y=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=t.supportedLocalesOf(e);if(0===n.length)throw new RangeError("Unsupported locale: "+e);if(r&&"cardinal"!==r.type)throw new RangeError('Only "cardinal" "type" is supported');this.$=l[f(n[0])]}var e,r,n;return e=t,n=[{key:"supportedLocalesOf",value:function(t){return"string"==typeof t&&(t=[t]),t.filter((function(t){return l[f(t)]}))}}],(r=[{key:"select",value:function(t){return this.$(t)}}])&&p(e.prototype,r),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var j=["second","minute","hour","day","week","month","quarter","year"],S=["auto","always"],P=["long","short","narrow"],A=["lookup","best fit"],k=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(this,t);var a=r.numeric,u=r.style,c=r.styleFallback,l=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==a){if(S.indexOf(a)<0)throw new RangeError('Invalid "numeric" option: '.concat(a));this.numeric=a}if(void 0!==u){if(P.indexOf(u)<0&&!c)throw new RangeError('Invalid "style" option: '.concat(u));this.style=u}if(void 0!==l){if(A.indexOf(l)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(l));this.localeMatcher=l}if("string"==typeof e&&(e=[e]),e.push(n()),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");if(y.supportedLocalesOf(this.locale).length>0?this.pluralRules=new y(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=i(this.locale,{localeMatcher:this.localeMatcher}),c)for(var f=Object.keys(o(this.locale)),s=0,p=[this.style].concat(P,[f[0]]);s<p.length;s++){var m=p[s];if(f.indexOf(m)>=0){this.style=m;break}}}var e,r,a;return e=t,(r=[{key:"format",value:function(){var t=F(arguments),e=v(t,2),r=e[0],n=e[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var t=F(arguments),e=v(t,2),r=e[0],n=e[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}),i=i.concat(this.formatNumberToParts(Math.abs(r)).map((function(t){return h(h({},t),{},{unit:n})}))),a+"{0}".length<o.length-1&&i.push({type:"literal",value:o.slice(a+"{0}".length)}),i}},{key:"getRule",value:function(t,e){var r=o(this.locale)[this.style][e];if("string"==typeof r)return r;if("auto"===this.numeric)if(-2===t||-1===t){var n=r["previous".concat(-1===t?"":"-"+Math.abs(t))];if(n)return n}else if(1===t||2===t){var a=r["next".concat(1===t?"":"-"+Math.abs(t))];if(a)return a}else if(0===t&&r.current)return r.current;var i,u=r[(i=t,i<0||0===i&&function(t){return 1/t==-1/0}(i)?"past":"future")];return"string"==typeof u?u:u[this.pluralRules&&this.pluralRules.select(Math.abs(t))||"other"]||u.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"formatNumberToParts",value:function(t){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(t):[{type:"integer",value:this.formatNumber(t)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}])&&O(e.prototype,r),a&&O(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();k.supportedLocalesOf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)t=[t];else if(!Array.isArray(t))throw new TypeError('Invalid "locales" argument');return t.filter((function(t){return i(t,e)}))},k.addLocale=function(t){if(!t)throw new Error("No locale data passed");e[t.locale]=t,r[t.locale.toLowerCase()]=t.locale},k.setDefaultLocale=function(e){t=e},k.getDefaultLocale=n,k.PluralRules=y;var D='Invalid "unit" argument';function T(t){if("symbol"===m(t))throw new TypeError(D);if("string"!=typeof t)throw new RangeError("".concat(D,": ").concat(t));if("s"===t[t.length-1]&&(t=t.slice(0,t.length-1)),j.indexOf(t)<0)throw new RangeError("".concat(D,": ").concat(t));return t}function E(t){if(t=Number(t),Number.isFinite&&!Number.isFinite(t))throw new RangeError("".concat('Invalid "number" argument',": ").concat(t));return t}function F(t){if(t.length<2)throw new TypeError('"unit" argument is required');return[E(t[0]),T(t[1])]}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var M=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cache={}}var e,r,n;return e=t,(r=[{key:"get",value:function(){for(var t=this.cache,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if("object"!==I(t))return;t=t[i]}return t}},{key:"put",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=e.pop(),o=e.pop(),a=this.cache,i=0,u=e;i<u.length;i++){var c=u[i];"object"!==I(a[c])&&(a[c]={}),a=a[c]}return a[o]=n}}])&&N(e.prototype,r),n&&N(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function L(t,e){for(var r,n=z(t);!(r=n()).done;){var o=r.value;if(e(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),e(o=a.join("-")))return o}throw new Error("No locale data has been registered for any of the locales: ".concat(t.join(", ")))}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t){return function(t){return void 0!==C(t)&&null!==t&&t.constructor===_}(t)&&(Array.isArray(t.steps)||Array.isArray(t.gradation)||Array.isArray(t.flavour)||"string"==typeof t.flavour||Array.isArray(t.labels)||"string"==typeof t.labels||Array.isArray(t.units)||"function"==typeof t.custom)}var _={}.constructor;var Y=60,$=3600,q=86400,V=7*q,J=2630016,B=31556952;function G(t){switch(t){case"second":return 1;case"minute":return Y;case"hour":return $;case"day":return q;case"week":return V;case"month":return J;case"year":return B}}function H(t){return void 0!==t.factor?t.factor:G(t.unit||t.formatAs)||1}function K(t){switch(t){case"floor":return Math.floor;default:return Math.round}}function Q(t){switch(t){case"floor":return 1;default:return.5}}function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){var r,n=e.prevStep,o=e.timestamp,a=e.now,i=e.future,u=e.round;return n&&(n.id||n.unit)&&(r=t["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==t.threshold&&"function"==typeof(r=t.threshold)&&(r=r(a,i)),void 0===r&&(r=t.minTime),"object"===W(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(t,e){return Z(t,e||n&&n.formatAs,{round:u})}})),void 0===r&&t.test&&(r=t.test(o,{now:a,future:i})?0:9007199254740991),void 0===r&&(n?t.formatAs&&n.formatAs&&(r=Z(t.formatAs,n.formatAs,{round:u})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(t,null,2)),r}function Z(t,e,r){var n,o=r.round,a=G(t);if(n=G("now"===e?t:e),void 0!==a&&void 0!==n)return a-n*(1-Q(o))}function tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(r),!0).forEach((function(e){rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nt(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.units,u=r.getNextStep,c=function(t,e,r){var n=r.now,o=r.future,a=r.round;if(0===t.length)return;var i=ot(t,e,{now:n,future:o||e<0,round:a});if(-1===i)return;var u=t[i];if(u.granularity){if(0===K(a)(Math.abs(e)/H(u)/u.granularity)*u.granularity&&i>0)return t[i-1]}return u}(t=function(t,e){return t.filter((function(t){var r=t.unit,n=t.formatAs;return!(r=r||n)||e.indexOf(r)>=0}))}(t,i),e,{now:n,future:o,round:a});return u?c?[t[t.indexOf(c)-1],c,t[t.indexOf(c)+1]]:[void 0,void 0,t[0]]:c}function ot(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=X(t[n],et({prevStep:t[n-1],timestamp:r.now-1e3*e},r));return void 0===o||Math.abs(e)<o?n-1:n===t.length-1?n:ot(t,e,r,n+1)}function at(t,e,r){var n=r.now,o=r.round;if(G(t)){var a=1e3*G(t),i=e>n,u=Math.abs(e-n),c=K(o)(u/a)*a;return i?c>0?u-c+function(t,e){return(1-Q(t))*e+1}(o,a):u-c+1:-(u-c)+function(t,e){return Q(t)*e}(o,a)}}var it=31536e9;function ut(t,e,r){var n=r.prevStep,o=r.nextStep,a=r.now,i=r.future,u=r.round,c=t.getTime?t.getTime():t,l=function(t){return at(t,c,{now:a,round:u})},f=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(t){var u=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep,u=X(t,{timestamp:e,now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return o?e-1e3*u+1:0===u&&e===n?it:e+1e3*u}(t,e,{now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return u-n}return o?e-n+1:it}(i?e:o,c,{future:i,now:a,round:u,prevStep:i?n:e});if(void 0!==f){var s;if(e&&(e.getTimeToNextUpdate&&(s=e.getTimeToNextUpdate(c,{getTimeToNextUpdateForUnit:l,getRoundFunction:K,now:a,future:i,round:u})),void 0===s)){var p=e.unit||e.formatAs;p&&(s=l(p))}return void 0===s?f:Math.min(s,f)}}var ct={};function lt(t){return ct[t]}function ft(t){if(!t)throw new Error("[javascript-time-ago] No locale data passed.");ct[t.locale]=t}var st={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(r),!0).forEach((function(e){mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bt=yt(yt({},st),{},{steps:st.steps.filter((function(t){return"second"!==t.formatAs}))}),ht=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:Y,unit:"minute"},{threshold:150,granularity:5,factor:Y,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:$,unit:"hour"},{threshold:73800,factor:q,unit:"day"},{threshold:475200,factor:V,unit:"week"},{threshold:2116800,factor:J,unit:"month"},{threshold:27615168,factor:B,unit:"year"}],dt={gradation:ht,flavour:"long",units:["now","minute","hour","day","week","month","year"]},vt={gradation:ht,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function gt(t){return t instanceof Date?t:new Date(t)}var wt=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],Ot={},jt={minTime:function(t,e){return e.future,(0,e.getMinTimeForUnit)("day")},format:function(t,e){return Ot[e]||(Ot[e]={}),Ot[e].dayMonth||(Ot[e].dayMonth=new Intl.DateTimeFormat(e,{month:"short",day:"numeric"})),Ot[e].dayMonth.format(gt(t))}},St={minTime:function(t,e){return e.future?(t-(new Date(new Date(t).getFullYear(),0).getTime()-1))/1e3:(new Date(new Date(t).getFullYear()+1,0).getTime()-t)/1e3},format:function(t,e){return Ot[e]||(Ot[e]={}),Ot[e].dayMonthYear||(Ot[e].dayMonthYear=new Intl.DateTimeFormat(e,{year:"numeric",month:"short",day:"numeric"})),Ot[e].dayMonthYear.format(gt(t))}};"object"===("undefined"==typeof Intl?"undefined":R(Intl))&&"function"==typeof Intl.DateTimeFormat?wt.push(jt,St):wt.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});var Pt={steps:wt,labels:["mini","short-time","narrow","short"]};function At(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?At(Object(r),!0).forEach((function(e){Dt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tt=kt(kt({},Pt),{},{steps:[{formatAs:"now"}].concat(Pt.steps)});function Et(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(r),!0).forEach((function(e){It(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function It(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nt=Ft(Ft({},Pt),{},{steps:Pt.steps.filter((function(t){return"second"!==t.formatAs}))});function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(r),!0).forEach((function(e){zt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xt=Rt(Rt({},Nt),{},{steps:[{formatAs:"now"}].concat(Nt.steps)});function Lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(r),!0).forEach((function(e){Ut(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _t=Ct(Ct({},Pt),{},{steps:Pt.steps.filter((function(t){return"second"!==t.formatAs})).map((function(t){return"minute"===t.formatAs?Ct(Ct({},t),{},{minTime:Y}):t}))}),Yt={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$t(Object(r),!0).forEach((function(e){Vt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$t(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jt=qt(qt({},Yt),{},{steps:[{formatAs:"now"}].concat(Yt.steps)});function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(r),!0).forEach((function(e){Ht(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kt=Gt(Gt({},Yt),{},{steps:Yt.steps.filter((function(t){return"second"!==t.formatAs}))});function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qt(Object(r),!0).forEach((function(e){Xt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Xt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zt=Wt(Wt({},Kt),{},{steps:[{formatAs:"now"}].concat(Kt.steps)});function te(t){switch(t){case"default":case"round":return st;case"round-minute":return bt;case"approximate":return dt;case"time":case"approximate-time":return vt;case"mini":return Yt;case"mini-now":return Jt;case"mini-minute":return Kt;case"mini-minute-now":return Zt;case"twitter":return Pt;case"twitter-now":return Tt;case"twitter-minute":return Nt;case"twitter-minute-now":return xt;case"twitter-first-minute":return _t;default:return dt}}function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function re(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=oe(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||oe(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(t,e){if(t){if("string"==typeof t)return ae(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(t,e):void 0}}function ae(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ce,le=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;ie(this,t),"string"==typeof e&&(e=[e]),this.locale=L(e.concat(t.getDefaultLocale()),lt),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=k,this.IntlPluralRules=k.PluralRules),this.relativeTimeFormatCache=new M,this.pluralRulesCache=new M}var e,r,n;return e=t,(r=[{key:"format",value:function(t,e,r){var n;r||(e&&"string"!=typeof(n=e)&&!U(n)?(r=e,e=void 0):r={}),e||(e=bt),"string"==typeof e&&(e=te(e));var o,a=function(t){if(t.constructor===Date||"object"===ee(e=t)&&"function"==typeof e.getTime)return t.getTime();var e;if("number"==typeof t)return t;throw new Error("Unsupported relative time formatter input: ".concat(ee(t),", ").concat(t))}(t),i=this.getLabels(e.flavour||e.labels),u=i.labels,c=i.labelsType;void 0!==e.now&&(o=e.now),void 0===o&&void 0!==r.now&&(o=r.now),void 0===o&&(o=Date.now());var l=(o-a)/1e3,f=r.future||l<0,s=function(t,e,r,n){var o=t.now||e&&e.now;return o?"string"==typeof o?o:n?o.future:o.past:r&&r.second&&r.second.current?r.second.current:void 0}(u,lt(this.locale).now,lt(this.locale).long,f);if(e.custom){var p=e.custom({now:o,date:new Date(a),time:a,elapsed:l,locale:this.locale});if(void 0!==p)return p}var y=function(t,e,r){var n=Object.keys(e);return r&&n.push("now"),t&&(n=t.filter((function(t){return"now"===t||n.indexOf(t)>=0}))),n}(e.units,u,s),m=r.round||e.round,b=ne(nt(e.gradation||e.steps||bt.steps,l,{now:o,units:y,round:m,future:f,getNextStep:!0}),3),h=b[0],d=b[1],v=b[2],g=this.formatDateForStep(a,d,l,{labels:u,labelsType:c,nowLabel:s,now:o,future:f,round:m})||"";return r.getTimeToNextUpdate?[g,ut(a,d,{nextStep:v,prevStep:h,now:o,future:f,round:m})]:g}},{key:"formatDateForStep",value:function(t,e,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,c=n.now,l=n.future,f=n.round;if(e){if(e.format)return e.format(t,this.locale,{formatAs:function(t,e){return o.formatValue(e,t,{labels:a,future:l})},now:c,future:l});var s=e.unit||e.formatAs;if(!s)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(e)));if("now"===s)return u;var p=Math.abs(r)/H(e);e.granularity&&(p=K(f)(p/e.granularity)*e.granularity);var y=-1*Math.sign(r)*K(f)(p);switch(0===y&&(y=l?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(y,s);default:return this.formatValue(y,s,{labels:a,future:l})}}}},{key:"formatValue",value:function(t,e,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,e,t,{future:o}).replace("{0}",this.formatNumber(Math.abs(t)))}},{key:"getFormattingRule",value:function(t,e,r,n){var o=n.future;if(this.locale,"string"==typeof(t=t[e]))return t;var a=t[0===r?o?"future":"past":r<0?"past":"future"]||t;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"getFormatter",value:function(t){return this.relativeTimeFormatCache.get(this.locale,t)||this.relativeTimeFormatCache.put(this.locale,t,new this.IntlRelativeTimeFormat(this.locale,{style:t}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof t&&(t=[t]),t=(t=t.map((function(t){switch(t){case"tiny":case"mini-time":return"mini";default:return t}}))).concat("long");for(var e,r=lt(this.locale),n=re(t);!(e=n()).done;){var o=e.value;if(r[o])return{labelsType:o,labels:r[o]}}}}])&&ue(e.prototype,r),n&&ue(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),fe="en";return le.getDefaultLocale=function(){return fe},le.setDefaultLocale=function(t){return fe=t},le.addDefaultLocale=function(t){if(ce)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");ce=!0,le.setDefaultLocale(t.locale),le.addLocale(t)},le.addLocale=function(t){ft(t),k.addLocale(t)},le.locale=le.addLocale,le.addLabels=function(t,e,r){var n=lt(t);n||(ft({locale:t}),n=lt(t)),n[e]=r},le}));
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TimeAgo=e()}(this,(function(){"use strict";var t="en",e={},r={};function n(){return t}function o(t){return e[t]?t:r[t.toLowerCase()]?r[t.toLowerCase()]:void 0}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":return i(t);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(r))}}function i(t){var e=o(t);if(e)return e;for(var r=t.split("-");t.length>1;){r.pop();var n=o(t=r.join("-"));if(n)return n}}var u={af:function(t){return 1==t?"one":"other"},am:function(t){return t>=0&&t<=1?"one":"other"},ar:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(t){var e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},be:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},br:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2),a=r&&e[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==a?"many":"other"},bs:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(i<12||i>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ceb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(t){var e=String(t).split("."),r=e[0],n=!e[1];return 1==t&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t;return 1!=t&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(t){return"other"},es:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t?"one":0!=r&&0==o&&n?"many":"other"},ff:function(t){return t>=0&&t<2?"one":"other"},fr:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return t>=0&&t<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},he:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=Number(e[0])==t,a=o&&e[0].slice(-1);return 1==t&&n?"one":2==r&&n?"two":n&&(t<0||t>10)&&o&&0==a?"many":"other"},is:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t,o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a||!n?"one":"other"},it:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t&&n?"one":0!=r&&0==o&&n?"many":"other"},ksh:function(t){return 0==t?"zero":1==t?"one":"other"},lt:function(t){var e=String(t).split("."),r=e[1]||"",n=Number(e[0])==t,o=n&&e[0].slice(-1),a=n&&e[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(t){var e=String(t).split("."),r=e[1]||"",n=r.length,o=Number(e[0])==t,a=o&&e[0].slice(-1),i=o&&e[0].slice(-2),u=r.slice(-2),c=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&u>=11&&u<=19?"zero":1==a&&11!=i||2==n&&1==c&&11!=u||2!=n&&1==c?"one":"other"},mk:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":"other"},mt:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},pa:function(t){return 0==t||1==t?"one":"other"},pl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return 1==t&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(t){var e=String(t).split("."),r=!e[1],n=Number(e[0])==t&&e[0].slice(-2);return 1==t&&r?"one":!r||0==t||n>=2&&n<=19?"few":"other"},ru:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(t){return 1==t?"one":2==t?"two":"other"},si:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"";return 0==t||1==t||0==r&&1==n?"one":"other"},sl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};u.as=u.am,u.az=u.af,u.bg=u.af,u.bn=u.am,u.brx=u.af,u.ca=u.ast,u.ce=u.af,u.chr=u.af,u.de=u.ast,u.ee=u.af,u.el=u.af,u.en=u.ast,u.et=u.ast,u.eu=u.af,u.fa=u.am,u.fi=u.ast,u.fil=u.ceb,u.fo=u.af,u.fur=u.af,u.fy=u.ast,u.gl=u.ast,u.gu=u.am,u.ha=u.af,u.hi=u.am,u.hr=u.bs,u.hsb=u.dsb,u.hu=u.af,u.hy=u.ff,u.ia=u.ast,u.id=u.dz,u.ig=u.dz,u.ja=u.dz,u.jgo=u.af,u.jv=u.dz,u.ka=u.af,u.kea=u.dz,u.kk=u.af,u.kl=u.af,u.km=u.dz,u.kn=u.am,u.ko=u.dz,u.ku=u.af,u.ky=u.af,u.lb=u.af,u.lkt=u.dz,u.lo=u.dz,u.ml=u.af,u.mn=u.af,u.mr=u.af,u.ms=u.dz,u.my=u.dz,u.nb=u.af,u.ne=u.af,u.nl=u.ast,u.nn=u.af,u.no=u.af,u.or=u.af,u.pcm=u.am,u.ps=u.af,u.rm=u.af,u.sah=u.dz,u.sc=u.ast,u.sd=u.af,u.sk=u.cs,u.so=u.af,u.sq=u.af,u.sr=u.bs,u.su=u.dz,u.sv=u.ast,u.sw=u.ast,u.ta=u.af,u.te=u.af,u.th=u.dz,u.ti=u.pa,u.tk=u.af,u.to=u.dz,u.tr=u.af,u.ug=u.af,u.uk=u.ru,u.ur=u.ast,u.uz=u.af,u.vi=u.dz,u.wae=u.af,u.wo=u.dz,u.yi=u.ast,u.yo=u.dz,u.yue=u.dz,u.zh=u.dz,u.zu=u.am;var c=u;function l(t){return"pt-PT"===t?t:function(t){var e=t.match(f);if(!e)throw new TypeError("Invalid locale: ".concat(t));return e[1]}(t)}var f=/^([a-z0-9]+)/i;function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var p=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=t.supportedLocalesOf(e);if(0===n.length)throw new RangeError("Unsupported locale: "+e);if(r&&"cardinal"!==r.type)throw new RangeError('Only "cardinal" "type" is supported');this.$=c[l(n[0])]}var e,r,n;return e=t,n=[{key:"supportedLocalesOf",value:function(t){return"string"==typeof t&&(t=[t]),t.filter((function(t){return c[l(t)]}))}}],(r=[{key:"select",value:function(t){return this.$(t)}}])&&s(e.prototype,r),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var O=["second","minute","hour","day","week","month","quarter","year"],j=["auto","always"],S=["long","short","narrow"],P=["lookup","best fit"],A=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(this,t);var o=r.numeric,i=r.style,u=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==o){if(j.indexOf(o)<0)throw new RangeError('Invalid "numeric" option: '.concat(o));this.numeric=o}if(void 0!==i){if(S.indexOf(i)<0)throw new RangeError('Invalid "style" option: '.concat(i));this.style=i}if(void 0!==u){if(P.indexOf(u)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(u));this.localeMatcher=u}if("string"==typeof e&&(e=[e]),e.push(n()),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");p.supportedLocalesOf(this.locale).length>0?this.pluralRules=new p(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=a(this.locale,{localeMatcher:this.localeMatcher})}var r,o,i;return r=t,(o=[{key:"format",value:function(){var t=E(arguments),e=d(t,2),r=e[0],n=e[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var t=E(arguments),e=d(t,2),r=e[0],n=e[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}),i=i.concat(this.formatNumberToParts(Math.abs(r)).map((function(t){return b(b({},t),{},{unit:n})}))),a+"{0}".length<o.length-1&&i.push({type:"literal",value:o.slice(a+"{0}".length)}),i}},{key:"getRule",value:function(t,r){var n,o=(n=this.locale,e[n])[this.style][r];if("string"==typeof o)return o;if("auto"===this.numeric)if(-2===t||-1===t){var a=o["previous".concat(-1===t?"":"-"+Math.abs(t))];if(a)return a}else if(1===t||2===t){var i=o["next".concat(1===t?"":"-"+Math.abs(t))];if(i)return i}else if(0===t&&o.current)return o.current;var u,c=o[(u=t,u<0||0===u&&function(t){return 1/t==-1/0}(u)?"past":"future")];return"string"==typeof c?c:c[this.pluralRules&&this.pluralRules.select(Math.abs(t))||"other"]||c.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"formatNumberToParts",value:function(t){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(t):[{type:"integer",value:this.formatNumber(t)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}])&&w(r.prototype,o),i&&w(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();A.supportedLocalesOf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)t=[t];else if(!Array.isArray(t))throw new TypeError('Invalid "locales" argument');return t.filter((function(t){return a(t,e)}))},A.addLocale=function(t){if(!t)throw new Error("No locale data passed");e[t.locale]=t,r[t.locale.toLowerCase()]=t.locale},A.setDefaultLocale=function(e){t=e},A.getDefaultLocale=n,A.PluralRules=p;var D='Invalid "unit" argument';function k(t){if("symbol"===y(t))throw new TypeError(D);if("string"!=typeof t)throw new RangeError("".concat(D,": ").concat(t));if("s"===t[t.length-1]&&(t=t.slice(0,t.length-1)),O.indexOf(t)<0)throw new RangeError("".concat(D,": ").concat(t));return t}function T(t){if(t=Number(t),Number.isFinite&&!Number.isFinite(t))throw new RangeError("".concat('Invalid "number" argument',": ").concat(t));return t}function E(t){if(t.length<2)throw new TypeError('"unit" argument is required');return[T(t[0]),k(t[1])]}function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var N=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cache={}}var e,r,n;return e=t,(r=[{key:"get",value:function(){for(var t=this.cache,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if("object"!==F(t))return;t=t[i]}return t}},{key:"put",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=e.pop(),o=e.pop(),a=this.cache,i=0,u=e;i<u.length;i++){var c=u[i];"object"!==F(a[c])&&(a[c]={}),a=a[c]}return a[o]=n}}])&&I(e.prototype,r),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){for(var r,n=R(t);!(r=n()).done;){var o=r.value;if(e(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),e(o=a.join("-")))return o}throw new Error("No locale data has been registered for any of the locales: ".concat(t.join(", ")))}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(t){return function(t){return void 0!==L(t)&&null!==t&&t.constructor===U}(t)&&(Array.isArray(t.steps)||Array.isArray(t.gradation)||Array.isArray(t.flavour)||"string"==typeof t.flavour||Array.isArray(t.labels)||"string"==typeof t.labels||Array.isArray(t.units)||"function"==typeof t.custom)}var U={}.constructor;var _=60,Y=3600,$=86400,q=7*$,V=2630016,J=31556952;function B(t){switch(t){case"second":return 1;case"minute":return _;case"hour":return Y;case"day":return $;case"week":return q;case"month":return V;case"year":return J}}function G(t){return void 0!==t.factor?t.factor:B(t.unit||t.formatAs)||1}function H(t){switch(t){case"floor":return Math.floor;default:return Math.round}}function K(t){switch(t){case"floor":return 1;default:return.5}}function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){var r,n=e.prevStep,o=e.timestamp,a=e.now,i=e.future,u=e.round;return n&&(n.id||n.unit)&&(r=t["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==t.threshold&&"function"==typeof(r=t.threshold)&&(r=r(a,i)),void 0===r&&(r=t.minTime),"object"===Q(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(t,e){return X(t,e||n&&n.formatAs,{round:u})}})),void 0===r&&t.test&&(r=t.test(o,{now:a,future:i})?0:9007199254740991),void 0===r&&(n?t.formatAs&&n.formatAs&&(r=X(t.formatAs,n.formatAs,{round:u})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(t,null,2)),r}function X(t,e,r){var n,o=r.round,a=B(t);if(n=B("now"===e?t:e),void 0!==a&&void 0!==n)return a-n*(1-K(o))}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.units,u=r.getNextStep,c=function(t,e,r){var n=r.now,o=r.future,a=r.round;if(0===t.length)return;var i=nt(t,e,{now:n,future:o||e<0,round:a});if(-1===i)return;var u=t[i];if(u.granularity){if(0===H(a)(Math.abs(e)/G(u)/u.granularity)*u.granularity&&i>0)return t[i-1]}return u}(t=function(t,e){return t.filter((function(t){var r=t.unit,n=t.formatAs;return!(r=r||n)||e.indexOf(r)>=0}))}(t,i),e,{now:n,future:o,round:a});return u?c?[t[t.indexOf(c)-1],c,t[t.indexOf(c)+1]]:[void 0,void 0,t[0]]:c}function nt(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=W(t[n],tt({prevStep:t[n-1],timestamp:r.now-1e3*e},r));return void 0===o||Math.abs(e)<o?n-1:n===t.length-1?n:nt(t,e,r,n+1)}function ot(t,e,r){var n=r.now,o=r.round;if(B(t)){var a=1e3*B(t),i=e>n,u=Math.abs(e-n),c=H(o)(u/a)*a;return i?c>0?u-c+function(t,e){return(1-K(t))*e+1}(o,a):u-c+1:-(u-c)+function(t,e){return K(t)*e}(o,a)}}var at=31536e9;function it(t,e,r){var n=r.prevStep,o=r.nextStep,a=r.now,i=r.future,u=r.round,c=t.getTime?t.getTime():t,l=function(t){return ot(t,c,{now:a,round:u})},f=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(t){var u=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep,u=W(t,{timestamp:e,now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return o?e-1e3*u+1:0===u&&e===n?at:e+1e3*u}(t,e,{now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return u-n}return o?e-n+1:at}(i?e:o,c,{future:i,now:a,round:u,prevStep:i?n:e});if(void 0!==f){var s;if(e&&(e.getTimeToNextUpdate&&(s=e.getTimeToNextUpdate(c,{getTimeToNextUpdateForUnit:l,getRoundFunction:H,now:a,future:i,round:u})),void 0===s)){var p=e.unit||e.formatAs;p&&(s=l(p))}return void 0===s?f:Math.min(s,f)}}var ut={};function ct(t){return ut[t]}function lt(t){if(!t)throw new Error("[javascript-time-ago] No locale data passed.");ut[t.locale]=t}var ft={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){yt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mt=pt(pt({},ft),{},{steps:ft.steps.filter((function(t){return"second"!==t.formatAs}))}),bt=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:_,unit:"minute"},{threshold:150,granularity:5,factor:_,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:Y,unit:"hour"},{threshold:73800,factor:$,unit:"day"},{threshold:475200,factor:q,unit:"week"},{threshold:2116800,factor:V,unit:"month"},{threshold:27615168,factor:J,unit:"year"}],ht={gradation:bt,flavour:"long",units:["now","minute","hour","day","week","month","year"]},dt={gradation:bt,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function vt(t){return t instanceof Date?t:new Date(t)}var gt=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],wt={},Ot={minTime:function(t,e){return e.future,(0,e.getMinTimeForUnit)("day")},format:function(t,e){return wt[e]||(wt[e]={}),wt[e].dayMonth||(wt[e].dayMonth=new Intl.DateTimeFormat(e,{month:"short",day:"numeric"})),wt[e].dayMonth.format(vt(t))}},jt={minTime:function(t,e){return e.future?(t-(new Date(new Date(t).getFullYear(),0).getTime()-1))/1e3:(new Date(new Date(t).getFullYear()+1,0).getTime()-t)/1e3},format:function(t,e){return wt[e]||(wt[e]={}),wt[e].dayMonthYear||(wt[e].dayMonthYear=new Intl.DateTimeFormat(e,{year:"numeric",month:"short",day:"numeric"})),wt[e].dayMonthYear.format(vt(t))}};"object"===("undefined"==typeof Intl?"undefined":M(Intl))&&"function"==typeof Intl.DateTimeFormat?gt.push(Ot,jt):gt.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});var St={steps:gt,labels:["mini","short-time","narrow","short"]};function Pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pt(Object(r),!0).forEach((function(e){Dt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kt=At(At({},St),{},{steps:[{formatAs:"now"}].concat(St.steps)});function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(r),!0).forEach((function(e){Ft(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var It=Et(Et({},St),{},{steps:St.steps.filter((function(t){return"second"!==t.formatAs}))});function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nt(Object(r),!0).forEach((function(e){Rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zt=Mt(Mt({},It),{},{steps:[{formatAs:"now"}].concat(It.steps)});function xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(r),!0).forEach((function(e){Ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ut=Lt(Lt({},St),{},{steps:St.steps.filter((function(t){return"second"!==t.formatAs})).map((function(t){return"minute"===t.formatAs?Lt(Lt({},t),{},{minTime:_}):t}))}),_t={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function Yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yt(Object(r),!0).forEach((function(e){qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vt=$t($t({},_t),{},{steps:[{formatAs:"now"}].concat(_t.steps)});function Jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(r),!0).forEach((function(e){Gt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ht=Bt(Bt({},_t),{},{steps:_t.steps.filter((function(t){return"second"!==t.formatAs}))});function Kt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(r),!0).forEach((function(e){Wt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xt=Qt(Qt({},Ht),{},{steps:[{formatAs:"now"}].concat(Ht.steps)});function Zt(t){switch(t){case"default":case"round":return ft;case"round-minute":return mt;case"approximate":return ht;case"time":case"approximate-time":return dt;case"mini":return _t;case"mini-now":return Vt;case"mini-minute":return Ht;case"mini-minute-now":return Xt;case"twitter":return St;case"twitter-now":return kt;case"twitter-minute":return It;case"twitter-minute-now":return zt;case"twitter-first-minute":return Ut;default:return ht}}function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=ne(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||ne(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(t,e){if(t){if("string"==typeof t)return oe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oe(t,e):void 0}}function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ue,ce=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;ae(this,t),"string"==typeof e&&(e=[e]),this.locale=x(e.concat(t.getDefaultLocale()),ct),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=A,this.IntlPluralRules=A.PluralRules),this.relativeTimeFormatCache=new N,this.pluralRulesCache=new N}var e,r,n;return e=t,(r=[{key:"format",value:function(t,e,r){var n;r||(e&&"string"!=typeof(n=e)&&!C(n)?(r=e,e=void 0):r={}),e||(e=mt),"string"==typeof e&&(e=Zt(e));var o,a=function(t){if(t.constructor===Date||"object"===te(e=t)&&"function"==typeof e.getTime)return t.getTime();var e;if("number"==typeof t)return t;throw new Error("Unsupported relative time formatter input: ".concat(te(t),", ").concat(t))}(t),i=this.getLabels(e.flavour||e.labels),u=i.labels,c=i.labelsType;void 0!==e.now&&(o=e.now),void 0===o&&void 0!==r.now&&(o=r.now),void 0===o&&(o=Date.now());var l=(o-a)/1e3,f=r.future||l<0,s=function(t,e,r,n){var o=t.now||e&&e.now;return o?"string"==typeof o?o:n?o.future:o.past:r&&r.second&&r.second.current?r.second.current:void 0}(u,ct(this.locale).now,ct(this.locale).long,f);if(e.custom){var p=e.custom({now:o,date:new Date(a),time:a,elapsed:l,locale:this.locale});if(void 0!==p)return p}var y=function(t,e,r){var n=Object.keys(e);return r&&n.push("now"),t&&(n=t.filter((function(t){return"now"===t||n.indexOf(t)>=0}))),n}(e.units,u,s),m=r.round||e.round,b=re(rt(e.gradation||e.steps||mt.steps,l,{now:o,units:y,round:m,future:f,getNextStep:!0}),3),h=b[0],d=b[1],v=b[2],g=this.formatDateForStep(a,d,l,{labels:u,labelsType:c,nowLabel:s,now:o,future:f,round:m})||"";return r.getTimeToNextUpdate?[g,it(a,d,{nextStep:v,prevStep:h,now:o,future:f,round:m})]:g}},{key:"formatDateForStep",value:function(t,e,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,c=n.now,l=n.future,f=n.round;if(e){if(e.format)return e.format(t,this.locale,{formatAs:function(t,e){return o.formatValue(e,t,{labels:a,future:l})},now:c,future:l});var s=e.unit||e.formatAs;if(!s)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(e)));if("now"===s)return u;var p=Math.abs(r)/G(e);e.granularity&&(p=H(f)(p/e.granularity)*e.granularity);var y=-1*Math.sign(r)*H(f)(p);switch(0===y&&(y=l?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(y,s);default:return this.formatValue(y,s,{labels:a,future:l})}}}},{key:"formatValue",value:function(t,e,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,e,t,{future:o}).replace("{0}",this.formatNumber(Math.abs(t)))}},{key:"getFormattingRule",value:function(t,e,r,n){var o=n.future;if(this.locale,"string"==typeof(t=t[e]))return t;var a=t[0===r?o?"future":"past":r<0?"past":"future"]||t;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"getFormatter",value:function(t){return this.relativeTimeFormatCache.get(this.locale,t)||this.relativeTimeFormatCache.put(this.locale,t,new this.IntlRelativeTimeFormat(this.locale,{style:t}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof t&&(t=[t]),t=(t=t.map((function(t){switch(t){case"tiny":case"mini-time":return"mini";default:return t}}))).concat("long");for(var e,r=ct(this.locale),n=ee(t);!(e=n()).done;){var o=e.value;if(r[o])return{labelsType:o,labels:r[o]}}}}])&&ie(e.prototype,r),n&&ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),le="en";return ce.getDefaultLocale=function(){return le},ce.setDefaultLocale=function(t){return le=t},ce.addDefaultLocale=function(t){if(ue)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");ue=!0,ce.setDefaultLocale(t.locale),ce.addLocale(t)},ce.addLocale=function(t){lt(t),A.addLocale(t)},ce.locale=ce.addLocale,ce.addLabels=function(t,e,r){var n=ct(t);n||(lt({locale:t}),n=ct(t)),n[e]=r},ce}));
2
2
  //# sourceMappingURL=javascript-time-ago.js.map