@angular/common 21.0.0-next.0 → 21.0.0-next.10

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 (3539) hide show
  1. package/fesm2022/_common_module-chunk.mjs +3317 -0
  2. package/fesm2022/_common_module-chunk.mjs.map +1 -0
  3. package/fesm2022/_location-chunk.mjs +441 -0
  4. package/fesm2022/_location-chunk.mjs.map +1 -0
  5. package/fesm2022/_module-chunk.mjs +2237 -0
  6. package/fesm2022/_module-chunk.mjs.map +1 -0
  7. package/fesm2022/_platform_navigation-chunk.mjs +43 -0
  8. package/fesm2022/_platform_navigation-chunk.mjs.map +1 -0
  9. package/fesm2022/_xhr-chunk.mjs +22 -0
  10. package/fesm2022/_xhr-chunk.mjs.map +1 -0
  11. package/fesm2022/common.mjs +1140 -1841
  12. package/fesm2022/common.mjs.map +1 -1
  13. package/fesm2022/http-testing.mjs +310 -0
  14. package/fesm2022/http-testing.mjs.map +1 -0
  15. package/fesm2022/http.mjs +308 -373
  16. package/fesm2022/http.mjs.map +1 -1
  17. package/fesm2022/testing.mjs +599 -555
  18. package/fesm2022/testing.mjs.map +1 -1
  19. package/fesm2022/upgrade.mjs +611 -845
  20. package/fesm2022/upgrade.mjs.map +1 -1
  21. package/locales/aa-DJ.d.ts +15 -0
  22. package/locales/aa-DJ.js +15 -0
  23. package/locales/aa-DJ.js.map +1 -0
  24. package/locales/aa-ER.d.ts +15 -0
  25. package/locales/aa-ER.js +15 -0
  26. package/locales/aa-ER.js.map +1 -0
  27. package/locales/aa.d.ts +14 -0
  28. package/locales/aa.js +15 -0
  29. package/locales/aa.js.map +1 -0
  30. package/locales/ab.d.ts +13 -0
  31. package/locales/ab.js +15 -0
  32. package/locales/ab.js.map +1 -0
  33. package/locales/af-NA.js +1 -1
  34. package/locales/af-NA.js.map +1 -1
  35. package/locales/af.js +1 -1
  36. package/locales/af.js.map +1 -1
  37. package/locales/agq.js +1 -1
  38. package/locales/agq.js.map +1 -1
  39. package/locales/ak.d.ts +2 -0
  40. package/locales/ak.js +1 -1
  41. package/locales/ak.js.map +1 -1
  42. package/locales/am.d.ts +0 -1
  43. package/locales/am.js +1 -1
  44. package/locales/am.js.map +1 -1
  45. package/locales/an.d.ts +13 -0
  46. package/locales/an.js +17 -0
  47. package/locales/an.js.map +1 -0
  48. package/locales/ann.d.ts +14 -0
  49. package/locales/ann.js +15 -0
  50. package/locales/ann.js.map +1 -0
  51. package/locales/apc.d.ts +14 -0
  52. package/locales/apc.js +15 -0
  53. package/locales/apc.js.map +1 -0
  54. package/locales/ar-AE.js +1 -1
  55. package/locales/ar-AE.js.map +1 -1
  56. package/locales/ar-BH.js +1 -1
  57. package/locales/ar-BH.js.map +1 -1
  58. package/locales/ar-DJ.js +1 -1
  59. package/locales/ar-DJ.js.map +1 -1
  60. package/locales/ar-DZ.js +1 -1
  61. package/locales/ar-DZ.js.map +1 -1
  62. package/locales/ar-EG.js +1 -1
  63. package/locales/ar-EG.js.map +1 -1
  64. package/locales/ar-EH.js +1 -1
  65. package/locales/ar-EH.js.map +1 -1
  66. package/locales/ar-ER.js +1 -1
  67. package/locales/ar-ER.js.map +1 -1
  68. package/locales/ar-IL.js +1 -1
  69. package/locales/ar-IL.js.map +1 -1
  70. package/locales/ar-IQ.js +1 -1
  71. package/locales/ar-IQ.js.map +1 -1
  72. package/locales/ar-JO.js +1 -1
  73. package/locales/ar-JO.js.map +1 -1
  74. package/locales/ar-KM.js +1 -1
  75. package/locales/ar-KM.js.map +1 -1
  76. package/locales/ar-KW.js +1 -1
  77. package/locales/ar-KW.js.map +1 -1
  78. package/locales/ar-LB.js +1 -1
  79. package/locales/ar-LB.js.map +1 -1
  80. package/locales/ar-LY.js +1 -1
  81. package/locales/ar-LY.js.map +1 -1
  82. package/locales/ar-MA.js +1 -1
  83. package/locales/ar-MA.js.map +1 -1
  84. package/locales/ar-MR.js +1 -1
  85. package/locales/ar-MR.js.map +1 -1
  86. package/locales/ar-OM.js +1 -1
  87. package/locales/ar-OM.js.map +1 -1
  88. package/locales/ar-PS.js +1 -1
  89. package/locales/ar-PS.js.map +1 -1
  90. package/locales/ar-QA.js +1 -1
  91. package/locales/ar-QA.js.map +1 -1
  92. package/locales/ar-SA.js +1 -1
  93. package/locales/ar-SA.js.map +1 -1
  94. package/locales/ar-SD.js +1 -1
  95. package/locales/ar-SD.js.map +1 -1
  96. package/locales/ar-SO.js +1 -1
  97. package/locales/ar-SO.js.map +1 -1
  98. package/locales/ar-SS.js +1 -1
  99. package/locales/ar-SS.js.map +1 -1
  100. package/locales/ar-SY.js +1 -1
  101. package/locales/ar-SY.js.map +1 -1
  102. package/locales/ar-TD.js +1 -1
  103. package/locales/ar-TD.js.map +1 -1
  104. package/locales/ar-TN.js +1 -1
  105. package/locales/ar-TN.js.map +1 -1
  106. package/locales/ar-YE.js +1 -1
  107. package/locales/ar-YE.js.map +1 -1
  108. package/locales/ar.js +1 -1
  109. package/locales/ar.js.map +1 -1
  110. package/locales/arn.d.ts +13 -0
  111. package/locales/arn.js +15 -0
  112. package/locales/arn.js.map +1 -0
  113. package/locales/as.js +1 -1
  114. package/locales/as.js.map +1 -1
  115. package/locales/asa.js +1 -1
  116. package/locales/asa.js.map +1 -1
  117. package/locales/ast.d.ts +6 -6
  118. package/locales/ast.js +1 -1
  119. package/locales/ast.js.map +1 -1
  120. package/locales/az-Arab-IQ.d.ts +13 -0
  121. package/locales/az-Arab-IQ.js +15 -0
  122. package/locales/az-Arab-IQ.js.map +1 -0
  123. package/locales/az-Arab-TR.d.ts +13 -0
  124. package/locales/az-Arab-TR.js +15 -0
  125. package/locales/az-Arab-TR.js.map +1 -0
  126. package/locales/az-Arab.d.ts +13 -0
  127. package/locales/az-Arab.js +15 -0
  128. package/locales/az-Arab.js.map +1 -0
  129. package/locales/az-Cyrl.js +1 -1
  130. package/locales/az-Cyrl.js.map +1 -1
  131. package/locales/az-Latn.js +1 -1
  132. package/locales/az-Latn.js.map +1 -1
  133. package/locales/az.js +1 -1
  134. package/locales/az.js.map +1 -1
  135. package/locales/ba.d.ts +13 -0
  136. package/locales/ba.js +15 -0
  137. package/locales/ba.js.map +1 -0
  138. package/locales/bal-Arab.d.ts +13 -0
  139. package/locales/bal-Arab.js +17 -0
  140. package/locales/bal-Arab.js.map +1 -0
  141. package/locales/bal-Latn.d.ts +140 -0
  142. package/locales/bal-Latn.js +15 -0
  143. package/locales/bal-Latn.js.map +1 -0
  144. package/locales/bal.d.ts +13 -0
  145. package/locales/bal.js +17 -0
  146. package/locales/bal.js.map +1 -0
  147. package/locales/bas.js +1 -1
  148. package/locales/bas.js.map +1 -1
  149. package/locales/be-tarask.js +1 -1
  150. package/locales/be-tarask.js.map +1 -1
  151. package/locales/be.js +1 -1
  152. package/locales/be.js.map +1 -1
  153. package/locales/bem.js +1 -1
  154. package/locales/bem.js.map +1 -1
  155. package/locales/bew.d.ts +13 -0
  156. package/locales/bew.js +15 -0
  157. package/locales/bew.js.map +1 -0
  158. package/locales/bez.js +1 -1
  159. package/locales/bez.js.map +1 -1
  160. package/locales/bg.d.ts +38 -38
  161. package/locales/bg.js +1 -1
  162. package/locales/bg.js.map +1 -1
  163. package/locales/bgc.d.ts +13 -0
  164. package/locales/bgc.js +15 -0
  165. package/locales/bgc.js.map +1 -0
  166. package/locales/bgn-AE.d.ts +15 -0
  167. package/locales/bgn-AE.js +15 -0
  168. package/locales/bgn-AE.js.map +1 -0
  169. package/locales/bgn-AF.d.ts +15 -0
  170. package/locales/bgn-AF.js +15 -0
  171. package/locales/bgn-AF.js.map +1 -0
  172. package/locales/bgn-IR.d.ts +15 -0
  173. package/locales/bgn-IR.js +15 -0
  174. package/locales/bgn-IR.js.map +1 -0
  175. package/locales/bgn-OM.d.ts +15 -0
  176. package/locales/bgn-OM.js +15 -0
  177. package/locales/bgn-OM.js.map +1 -0
  178. package/locales/bgn.d.ts +15 -0
  179. package/locales/bgn.js +15 -0
  180. package/locales/bgn.js.map +1 -0
  181. package/locales/bho.d.ts +13 -0
  182. package/locales/bho.js +17 -0
  183. package/locales/bho.js.map +1 -0
  184. package/locales/blo.d.ts +13 -0
  185. package/locales/blo.js +19 -0
  186. package/locales/blo.js.map +1 -0
  187. package/locales/blt.d.ts +13 -0
  188. package/locales/blt.js +15 -0
  189. package/locales/blt.js.map +1 -0
  190. package/locales/bm-Nkoo.d.ts +13 -0
  191. package/locales/bm-Nkoo.js +15 -0
  192. package/locales/bm-Nkoo.js.map +1 -0
  193. package/locales/bm.js +1 -1
  194. package/locales/bm.js.map +1 -1
  195. package/locales/bn-IN.d.ts +0 -1
  196. package/locales/bn-IN.js +1 -1
  197. package/locales/bn-IN.js.map +1 -1
  198. package/locales/bn.js +1 -1
  199. package/locales/bn.js.map +1 -1
  200. package/locales/bo-IN.d.ts +1 -1
  201. package/locales/bo-IN.js +1 -1
  202. package/locales/bo-IN.js.map +1 -1
  203. package/locales/bo.d.ts +1 -1
  204. package/locales/bo.js +1 -1
  205. package/locales/bo.js.map +1 -1
  206. package/locales/br.js +1 -1
  207. package/locales/br.js.map +1 -1
  208. package/locales/brx.d.ts +118 -0
  209. package/locales/brx.js +1 -1
  210. package/locales/brx.js.map +1 -1
  211. package/locales/bs-Cyrl.js +1 -1
  212. package/locales/bs-Cyrl.js.map +1 -1
  213. package/locales/bs-Latn.d.ts +1 -1
  214. package/locales/bs-Latn.js +1 -1
  215. package/locales/bs-Latn.js.map +1 -1
  216. package/locales/bs.d.ts +1 -1
  217. package/locales/bs.js +1 -1
  218. package/locales/bs.js.map +1 -1
  219. package/locales/bss.d.ts +13 -0
  220. package/locales/bss.js +15 -0
  221. package/locales/bss.js.map +1 -0
  222. package/locales/byn.d.ts +14 -0
  223. package/locales/byn.js +15 -0
  224. package/locales/byn.js.map +1 -0
  225. package/locales/ca-AD.js +4 -2
  226. package/locales/ca-AD.js.map +1 -1
  227. package/locales/ca-ES-valencia.js +4 -2
  228. package/locales/ca-ES-valencia.js.map +1 -1
  229. package/locales/ca-FR.js +4 -2
  230. package/locales/ca-FR.js.map +1 -1
  231. package/locales/ca-IT.js +4 -2
  232. package/locales/ca-IT.js.map +1 -1
  233. package/locales/ca.js +4 -2
  234. package/locales/ca.js.map +1 -1
  235. package/locales/cad.d.ts +12 -0
  236. package/locales/cad.js +15 -0
  237. package/locales/cad.js.map +1 -0
  238. package/locales/cch.d.ts +14 -0
  239. package/locales/cch.js +15 -0
  240. package/locales/cch.js.map +1 -0
  241. package/locales/ccp-IN.d.ts +1 -1
  242. package/locales/ccp-IN.js +1 -1
  243. package/locales/ccp-IN.js.map +1 -1
  244. package/locales/ccp.d.ts +1 -1
  245. package/locales/ccp.js +1 -1
  246. package/locales/ccp.js.map +1 -1
  247. package/locales/ce.js +1 -1
  248. package/locales/ce.js.map +1 -1
  249. package/locales/ceb.js +1 -1
  250. package/locales/ceb.js.map +1 -1
  251. package/locales/cgg.js +1 -1
  252. package/locales/cgg.js.map +1 -1
  253. package/locales/cho.d.ts +13 -0
  254. package/locales/cho.js +15 -0
  255. package/locales/cho.js.map +1 -0
  256. package/locales/chr.js +1 -1
  257. package/locales/chr.js.map +1 -1
  258. package/locales/cic.d.ts +12 -0
  259. package/locales/cic.js +15 -0
  260. package/locales/cic.js.map +1 -0
  261. package/locales/ckb-IR.js +1 -1
  262. package/locales/ckb-IR.js.map +1 -1
  263. package/locales/ckb.js +1 -1
  264. package/locales/ckb.js.map +1 -1
  265. package/locales/co.d.ts +13 -0
  266. package/locales/co.js +15 -0
  267. package/locales/co.js.map +1 -0
  268. package/locales/cop.d.ts +13 -0
  269. package/locales/cop.js +15 -0
  270. package/locales/cop.js.map +1 -0
  271. package/locales/cs.d.ts +1 -1
  272. package/locales/cs.js +1 -1
  273. package/locales/cs.js.map +1 -1
  274. package/locales/csw.d.ts +13 -0
  275. package/locales/csw.js +17 -0
  276. package/locales/csw.js.map +1 -0
  277. package/locales/cu.d.ts +14 -0
  278. package/locales/cu.js +15 -0
  279. package/locales/cu.js.map +1 -0
  280. package/locales/cv.d.ts +13 -0
  281. package/locales/cv.js +15 -0
  282. package/locales/cv.js.map +1 -0
  283. package/locales/cy.d.ts +4 -4
  284. package/locales/cy.js +1 -1
  285. package/locales/cy.js.map +1 -1
  286. package/locales/da-GL.d.ts +1 -1
  287. package/locales/da-GL.js +1 -1
  288. package/locales/da-GL.js.map +1 -1
  289. package/locales/da.d.ts +1 -1
  290. package/locales/da.js +1 -1
  291. package/locales/da.js.map +1 -1
  292. package/locales/dav.js +1 -1
  293. package/locales/dav.js.map +1 -1
  294. package/locales/de-AT.d.ts +2 -2
  295. package/locales/de-AT.js +1 -1
  296. package/locales/de-AT.js.map +1 -1
  297. package/locales/de-BE.d.ts +2 -2
  298. package/locales/de-BE.js +1 -1
  299. package/locales/de-BE.js.map +1 -1
  300. package/locales/de-CH.d.ts +2 -2
  301. package/locales/de-CH.js +1 -1
  302. package/locales/de-CH.js.map +1 -1
  303. package/locales/de-IT.d.ts +2 -2
  304. package/locales/de-IT.js +1 -1
  305. package/locales/de-IT.js.map +1 -1
  306. package/locales/de-LI.d.ts +3 -3
  307. package/locales/de-LI.js +1 -1
  308. package/locales/de-LI.js.map +1 -1
  309. package/locales/de-LU.d.ts +2 -2
  310. package/locales/de-LU.js +1 -1
  311. package/locales/de-LU.js.map +1 -1
  312. package/locales/de.d.ts +2 -2
  313. package/locales/de.js +1 -1
  314. package/locales/de.js.map +1 -1
  315. package/locales/dje.js +1 -1
  316. package/locales/dje.js.map +1 -1
  317. package/locales/doi.d.ts +1 -1
  318. package/locales/doi.js +1 -1
  319. package/locales/doi.js.map +1 -1
  320. package/locales/dsb.js +1 -1
  321. package/locales/dsb.js.map +1 -1
  322. package/locales/dua.js +1 -1
  323. package/locales/dua.js.map +1 -1
  324. package/locales/dv.d.ts +14 -0
  325. package/locales/dv.js +17 -0
  326. package/locales/dv.js.map +1 -0
  327. package/locales/dyo.js +1 -1
  328. package/locales/dyo.js.map +1 -1
  329. package/locales/dz.d.ts +1 -1
  330. package/locales/dz.js +1 -1
  331. package/locales/dz.js.map +1 -1
  332. package/locales/ebu.js +1 -1
  333. package/locales/ebu.js.map +1 -1
  334. package/locales/ee-TG.js +1 -1
  335. package/locales/ee-TG.js.map +1 -1
  336. package/locales/ee.js +1 -1
  337. package/locales/ee.js.map +1 -1
  338. package/locales/el-CY.js +1 -1
  339. package/locales/el-CY.js.map +1 -1
  340. package/locales/el-polyton.d.ts +16 -0
  341. package/locales/el-polyton.js +17 -0
  342. package/locales/el-polyton.js.map +1 -0
  343. package/locales/el.js +1 -1
  344. package/locales/el.js.map +1 -1
  345. package/locales/en-001.d.ts +1 -1
  346. package/locales/en-001.js +1 -1
  347. package/locales/en-001.js.map +1 -1
  348. package/locales/en-150.d.ts +1 -1
  349. package/locales/en-150.js +1 -1
  350. package/locales/en-150.js.map +1 -1
  351. package/locales/en-AE.js +1 -1
  352. package/locales/en-AE.js.map +1 -1
  353. package/locales/en-AG.d.ts +1 -1
  354. package/locales/en-AG.js +1 -1
  355. package/locales/en-AG.js.map +1 -1
  356. package/locales/en-AI.d.ts +1 -1
  357. package/locales/en-AI.js +1 -1
  358. package/locales/en-AI.js.map +1 -1
  359. package/locales/en-AS.js +1 -1
  360. package/locales/en-AS.js.map +1 -1
  361. package/locales/en-AT.d.ts +1 -1
  362. package/locales/en-AT.js +1 -1
  363. package/locales/en-AT.js.map +1 -1
  364. package/locales/en-AU.d.ts +1 -1
  365. package/locales/en-AU.js +1 -1
  366. package/locales/en-AU.js.map +1 -1
  367. package/locales/en-BB.d.ts +1 -1
  368. package/locales/en-BB.js +1 -1
  369. package/locales/en-BB.js.map +1 -1
  370. package/locales/en-BE.d.ts +1 -1
  371. package/locales/en-BE.js +1 -1
  372. package/locales/en-BE.js.map +1 -1
  373. package/locales/en-BI.d.ts +1 -1
  374. package/locales/en-BI.js +1 -1
  375. package/locales/en-BI.js.map +1 -1
  376. package/locales/en-BM.d.ts +1 -1
  377. package/locales/en-BM.js +1 -1
  378. package/locales/en-BM.js.map +1 -1
  379. package/locales/en-BS.d.ts +1 -1
  380. package/locales/en-BS.js +1 -1
  381. package/locales/en-BS.js.map +1 -1
  382. package/locales/en-BW.d.ts +1 -1
  383. package/locales/en-BW.js +1 -1
  384. package/locales/en-BW.js.map +1 -1
  385. package/locales/en-BZ.d.ts +1 -1
  386. package/locales/en-BZ.js +1 -1
  387. package/locales/en-BZ.js.map +1 -1
  388. package/locales/en-CA.d.ts +1 -1
  389. package/locales/en-CA.js +1 -1
  390. package/locales/en-CA.js.map +1 -1
  391. package/locales/en-CC.d.ts +1 -1
  392. package/locales/en-CC.js +1 -1
  393. package/locales/en-CC.js.map +1 -1
  394. package/locales/en-CH.d.ts +1 -1
  395. package/locales/en-CH.js +1 -1
  396. package/locales/en-CH.js.map +1 -1
  397. package/locales/en-CK.d.ts +1 -1
  398. package/locales/en-CK.js +1 -1
  399. package/locales/en-CK.js.map +1 -1
  400. package/locales/en-CM.d.ts +1 -1
  401. package/locales/en-CM.js +1 -1
  402. package/locales/en-CM.js.map +1 -1
  403. package/locales/en-CX.d.ts +1 -1
  404. package/locales/en-CX.js +1 -1
  405. package/locales/en-CX.js.map +1 -1
  406. package/locales/en-CY.d.ts +1 -1
  407. package/locales/en-CY.js +1 -1
  408. package/locales/en-CY.js.map +1 -1
  409. package/locales/en-CZ.d.ts +13 -0
  410. package/locales/en-CZ.js +17 -0
  411. package/locales/en-CZ.js.map +1 -0
  412. package/locales/en-DE.d.ts +1 -1
  413. package/locales/en-DE.js +1 -1
  414. package/locales/en-DE.js.map +1 -1
  415. package/locales/en-DG.d.ts +1 -1
  416. package/locales/en-DG.js +1 -1
  417. package/locales/en-DG.js.map +1 -1
  418. package/locales/en-DK.d.ts +1 -1
  419. package/locales/en-DK.js +1 -1
  420. package/locales/en-DK.js.map +1 -1
  421. package/locales/en-DM.d.ts +1 -1
  422. package/locales/en-DM.js +1 -1
  423. package/locales/en-DM.js.map +1 -1
  424. package/locales/en-Dsrt.d.ts +12 -0
  425. package/locales/en-Dsrt.js +15 -0
  426. package/locales/en-Dsrt.js.map +1 -0
  427. package/locales/en-ER.d.ts +1 -1
  428. package/locales/en-ER.js +1 -1
  429. package/locales/en-ER.js.map +1 -1
  430. package/locales/en-ES.d.ts +13 -0
  431. package/locales/en-ES.js +17 -0
  432. package/locales/en-ES.js.map +1 -0
  433. package/locales/en-FI.d.ts +1 -1
  434. package/locales/en-FI.js +1 -1
  435. package/locales/en-FI.js.map +1 -1
  436. package/locales/en-FJ.d.ts +1 -1
  437. package/locales/en-FJ.js +1 -1
  438. package/locales/en-FJ.js.map +1 -1
  439. package/locales/en-FK.d.ts +1 -1
  440. package/locales/en-FK.js +1 -1
  441. package/locales/en-FK.js.map +1 -1
  442. package/locales/en-FM.d.ts +1 -1
  443. package/locales/en-FM.js +1 -1
  444. package/locales/en-FM.js.map +1 -1
  445. package/locales/en-FR.d.ts +13 -0
  446. package/locales/en-FR.js +17 -0
  447. package/locales/en-FR.js.map +1 -0
  448. package/locales/en-GB.d.ts +1 -1
  449. package/locales/en-GB.js +1 -1
  450. package/locales/en-GB.js.map +1 -1
  451. package/locales/en-GD.d.ts +1 -1
  452. package/locales/en-GD.js +1 -1
  453. package/locales/en-GD.js.map +1 -1
  454. package/locales/en-GG.d.ts +1 -1
  455. package/locales/en-GG.js +1 -1
  456. package/locales/en-GG.js.map +1 -1
  457. package/locales/en-GH.d.ts +1 -1
  458. package/locales/en-GH.js +1 -1
  459. package/locales/en-GH.js.map +1 -1
  460. package/locales/en-GI.d.ts +1 -1
  461. package/locales/en-GI.js +1 -1
  462. package/locales/en-GI.js.map +1 -1
  463. package/locales/en-GM.d.ts +1 -1
  464. package/locales/en-GM.js +1 -1
  465. package/locales/en-GM.js.map +1 -1
  466. package/locales/en-GS.d.ts +13 -0
  467. package/locales/en-GS.js +17 -0
  468. package/locales/en-GS.js.map +1 -0
  469. package/locales/en-GU.js +1 -1
  470. package/locales/en-GU.js.map +1 -1
  471. package/locales/en-GY.d.ts +1 -1
  472. package/locales/en-GY.js +1 -1
  473. package/locales/en-GY.js.map +1 -1
  474. package/locales/en-HK.d.ts +1 -1
  475. package/locales/en-HK.js +1 -1
  476. package/locales/en-HK.js.map +1 -1
  477. package/locales/en-HU.d.ts +13 -0
  478. package/locales/en-HU.js +17 -0
  479. package/locales/en-HU.js.map +1 -0
  480. package/locales/en-ID.d.ts +14 -0
  481. package/locales/en-ID.js +17 -0
  482. package/locales/en-ID.js.map +1 -0
  483. package/locales/en-IE.d.ts +1 -1
  484. package/locales/en-IE.js +1 -1
  485. package/locales/en-IE.js.map +1 -1
  486. package/locales/en-IL.d.ts +1 -1
  487. package/locales/en-IL.js +1 -1
  488. package/locales/en-IL.js.map +1 -1
  489. package/locales/en-IM.d.ts +1 -1
  490. package/locales/en-IM.js +1 -1
  491. package/locales/en-IM.js.map +1 -1
  492. package/locales/en-IN.d.ts +1 -1
  493. package/locales/en-IN.js +1 -1
  494. package/locales/en-IN.js.map +1 -1
  495. package/locales/en-IO.d.ts +1 -1
  496. package/locales/en-IO.js +1 -1
  497. package/locales/en-IO.js.map +1 -1
  498. package/locales/en-IT.d.ts +13 -0
  499. package/locales/en-IT.js +17 -0
  500. package/locales/en-IT.js.map +1 -0
  501. package/locales/en-JE.d.ts +1 -1
  502. package/locales/en-JE.js +1 -1
  503. package/locales/en-JE.js.map +1 -1
  504. package/locales/en-JM.d.ts +1 -1
  505. package/locales/en-JM.js +1 -1
  506. package/locales/en-JM.js.map +1 -1
  507. package/locales/en-KE.d.ts +1 -1
  508. package/locales/en-KE.js +1 -1
  509. package/locales/en-KE.js.map +1 -1
  510. package/locales/en-KI.d.ts +1 -1
  511. package/locales/en-KI.js +1 -1
  512. package/locales/en-KI.js.map +1 -1
  513. package/locales/en-KN.d.ts +1 -1
  514. package/locales/en-KN.js +1 -1
  515. package/locales/en-KN.js.map +1 -1
  516. package/locales/en-KY.d.ts +1 -1
  517. package/locales/en-KY.js +1 -1
  518. package/locales/en-KY.js.map +1 -1
  519. package/locales/en-LC.d.ts +1 -1
  520. package/locales/en-LC.js +1 -1
  521. package/locales/en-LC.js.map +1 -1
  522. package/locales/en-LR.d.ts +1 -1
  523. package/locales/en-LR.js +1 -1
  524. package/locales/en-LR.js.map +1 -1
  525. package/locales/en-LS.d.ts +1 -1
  526. package/locales/en-LS.js +1 -1
  527. package/locales/en-LS.js.map +1 -1
  528. package/locales/en-MG.d.ts +1 -1
  529. package/locales/en-MG.js +1 -1
  530. package/locales/en-MG.js.map +1 -1
  531. package/locales/en-MH.js +1 -1
  532. package/locales/en-MH.js.map +1 -1
  533. package/locales/en-MO.d.ts +1 -1
  534. package/locales/en-MO.js +1 -1
  535. package/locales/en-MO.js.map +1 -1
  536. package/locales/en-MP.js +1 -1
  537. package/locales/en-MP.js.map +1 -1
  538. package/locales/en-MS.d.ts +1 -1
  539. package/locales/en-MS.js +1 -1
  540. package/locales/en-MS.js.map +1 -1
  541. package/locales/en-MT.d.ts +1 -1
  542. package/locales/en-MT.js +1 -1
  543. package/locales/en-MT.js.map +1 -1
  544. package/locales/en-MU.d.ts +1 -1
  545. package/locales/en-MU.js +1 -1
  546. package/locales/en-MU.js.map +1 -1
  547. package/locales/en-MV.d.ts +1 -1
  548. package/locales/en-MV.js +1 -1
  549. package/locales/en-MV.js.map +1 -1
  550. package/locales/en-MW.d.ts +1 -1
  551. package/locales/en-MW.js +1 -1
  552. package/locales/en-MW.js.map +1 -1
  553. package/locales/en-MY.d.ts +1 -1
  554. package/locales/en-MY.js +1 -1
  555. package/locales/en-MY.js.map +1 -1
  556. package/locales/en-NA.d.ts +1 -1
  557. package/locales/en-NA.js +1 -1
  558. package/locales/en-NA.js.map +1 -1
  559. package/locales/en-NF.d.ts +1 -1
  560. package/locales/en-NF.js +1 -1
  561. package/locales/en-NF.js.map +1 -1
  562. package/locales/en-NG.d.ts +1 -1
  563. package/locales/en-NG.js +1 -1
  564. package/locales/en-NG.js.map +1 -1
  565. package/locales/en-NL.d.ts +1 -1
  566. package/locales/en-NL.js +1 -1
  567. package/locales/en-NL.js.map +1 -1
  568. package/locales/en-NO.d.ts +14 -0
  569. package/locales/en-NO.js +17 -0
  570. package/locales/en-NO.js.map +1 -0
  571. package/locales/en-NR.d.ts +1 -1
  572. package/locales/en-NR.js +1 -1
  573. package/locales/en-NR.js.map +1 -1
  574. package/locales/en-NU.d.ts +1 -1
  575. package/locales/en-NU.js +1 -1
  576. package/locales/en-NU.js.map +1 -1
  577. package/locales/en-NZ.d.ts +1 -1
  578. package/locales/en-NZ.js +1 -1
  579. package/locales/en-NZ.js.map +1 -1
  580. package/locales/en-PG.d.ts +1 -1
  581. package/locales/en-PG.js +1 -1
  582. package/locales/en-PG.js.map +1 -1
  583. package/locales/en-PH.js +1 -1
  584. package/locales/en-PH.js.map +1 -1
  585. package/locales/en-PK.d.ts +1 -1
  586. package/locales/en-PK.js +1 -1
  587. package/locales/en-PK.js.map +1 -1
  588. package/locales/en-PL.d.ts +13 -0
  589. package/locales/en-PL.js +17 -0
  590. package/locales/en-PL.js.map +1 -0
  591. package/locales/en-PN.d.ts +1 -1
  592. package/locales/en-PN.js +1 -1
  593. package/locales/en-PN.js.map +1 -1
  594. package/locales/en-PR.js +1 -1
  595. package/locales/en-PR.js.map +1 -1
  596. package/locales/en-PT.d.ts +13 -0
  597. package/locales/en-PT.js +17 -0
  598. package/locales/en-PT.js.map +1 -0
  599. package/locales/en-PW.d.ts +1 -1
  600. package/locales/en-PW.js +1 -1
  601. package/locales/en-PW.js.map +1 -1
  602. package/locales/en-RO.d.ts +13 -0
  603. package/locales/en-RO.js +17 -0
  604. package/locales/en-RO.js.map +1 -0
  605. package/locales/en-RW.d.ts +1 -1
  606. package/locales/en-RW.js +1 -1
  607. package/locales/en-RW.js.map +1 -1
  608. package/locales/en-SB.d.ts +1 -1
  609. package/locales/en-SB.js +1 -1
  610. package/locales/en-SB.js.map +1 -1
  611. package/locales/en-SC.d.ts +1 -1
  612. package/locales/en-SC.js +1 -1
  613. package/locales/en-SC.js.map +1 -1
  614. package/locales/en-SD.d.ts +1 -1
  615. package/locales/en-SD.js +1 -1
  616. package/locales/en-SD.js.map +1 -1
  617. package/locales/en-SE.d.ts +1 -1
  618. package/locales/en-SE.js +1 -1
  619. package/locales/en-SE.js.map +1 -1
  620. package/locales/en-SG.d.ts +1 -1
  621. package/locales/en-SG.js +1 -1
  622. package/locales/en-SG.js.map +1 -1
  623. package/locales/en-SH.d.ts +1 -1
  624. package/locales/en-SH.js +1 -1
  625. package/locales/en-SH.js.map +1 -1
  626. package/locales/en-SI.d.ts +1 -1
  627. package/locales/en-SI.js +1 -1
  628. package/locales/en-SI.js.map +1 -1
  629. package/locales/en-SK.d.ts +13 -0
  630. package/locales/en-SK.js +17 -0
  631. package/locales/en-SK.js.map +1 -0
  632. package/locales/en-SL.d.ts +2 -2
  633. package/locales/en-SL.js +1 -1
  634. package/locales/en-SL.js.map +1 -1
  635. package/locales/en-SS.d.ts +1 -1
  636. package/locales/en-SS.js +1 -1
  637. package/locales/en-SS.js.map +1 -1
  638. package/locales/en-SX.d.ts +1 -1
  639. package/locales/en-SX.js +1 -1
  640. package/locales/en-SX.js.map +1 -1
  641. package/locales/en-SZ.d.ts +1 -1
  642. package/locales/en-SZ.js +1 -1
  643. package/locales/en-SZ.js.map +1 -1
  644. package/locales/en-Shaw.d.ts +13 -0
  645. package/locales/en-Shaw.js +15 -0
  646. package/locales/en-Shaw.js.map +1 -0
  647. package/locales/en-TC.d.ts +1 -1
  648. package/locales/en-TC.js +1 -1
  649. package/locales/en-TC.js.map +1 -1
  650. package/locales/en-TK.d.ts +1 -1
  651. package/locales/en-TK.js +1 -1
  652. package/locales/en-TK.js.map +1 -1
  653. package/locales/en-TO.d.ts +1 -1
  654. package/locales/en-TO.js +1 -1
  655. package/locales/en-TO.js.map +1 -1
  656. package/locales/en-TT.d.ts +1 -1
  657. package/locales/en-TT.js +1 -1
  658. package/locales/en-TT.js.map +1 -1
  659. package/locales/en-TV.d.ts +1 -1
  660. package/locales/en-TV.js +1 -1
  661. package/locales/en-TV.js.map +1 -1
  662. package/locales/en-TZ.d.ts +1 -1
  663. package/locales/en-TZ.js +1 -1
  664. package/locales/en-TZ.js.map +1 -1
  665. package/locales/en-UG.d.ts +1 -1
  666. package/locales/en-UG.js +1 -1
  667. package/locales/en-UG.js.map +1 -1
  668. package/locales/en-UM.js +1 -1
  669. package/locales/en-UM.js.map +1 -1
  670. package/locales/en-VC.d.ts +1 -1
  671. package/locales/en-VC.js +1 -1
  672. package/locales/en-VC.js.map +1 -1
  673. package/locales/en-VG.d.ts +1 -1
  674. package/locales/en-VG.js +1 -1
  675. package/locales/en-VG.js.map +1 -1
  676. package/locales/en-VI.js +1 -1
  677. package/locales/en-VI.js.map +1 -1
  678. package/locales/en-VU.d.ts +1 -1
  679. package/locales/en-VU.js +1 -1
  680. package/locales/en-VU.js.map +1 -1
  681. package/locales/en-WS.d.ts +1 -1
  682. package/locales/en-WS.js +1 -1
  683. package/locales/en-WS.js.map +1 -1
  684. package/locales/en-ZA.d.ts +1 -1
  685. package/locales/en-ZA.js +1 -1
  686. package/locales/en-ZA.js.map +1 -1
  687. package/locales/en-ZM.d.ts +1 -1
  688. package/locales/en-ZM.js +1 -1
  689. package/locales/en-ZM.js.map +1 -1
  690. package/locales/en-ZW.d.ts +1 -1
  691. package/locales/en-ZW.js +1 -1
  692. package/locales/en-ZW.js.map +1 -1
  693. package/locales/en.js +1 -1
  694. package/locales/en.js.map +1 -1
  695. package/locales/eo.js +1 -1
  696. package/locales/eo.js.map +1 -1
  697. package/locales/es-419.js +1 -1
  698. package/locales/es-419.js.map +1 -1
  699. package/locales/es-AR.js +1 -1
  700. package/locales/es-AR.js.map +1 -1
  701. package/locales/es-BO.js +1 -1
  702. package/locales/es-BO.js.map +1 -1
  703. package/locales/es-BR.js +1 -1
  704. package/locales/es-BR.js.map +1 -1
  705. package/locales/es-BZ.js +1 -1
  706. package/locales/es-BZ.js.map +1 -1
  707. package/locales/es-CL.js +1 -1
  708. package/locales/es-CL.js.map +1 -1
  709. package/locales/es-CO.js +1 -1
  710. package/locales/es-CO.js.map +1 -1
  711. package/locales/es-CR.js +1 -1
  712. package/locales/es-CR.js.map +1 -1
  713. package/locales/es-CU.js +1 -1
  714. package/locales/es-CU.js.map +1 -1
  715. package/locales/es-DO.js +1 -1
  716. package/locales/es-DO.js.map +1 -1
  717. package/locales/es-EA.d.ts +1 -1
  718. package/locales/es-EA.js +1 -1
  719. package/locales/es-EA.js.map +1 -1
  720. package/locales/es-EC.js +1 -1
  721. package/locales/es-EC.js.map +1 -1
  722. package/locales/es-GQ.d.ts +1 -1
  723. package/locales/es-GQ.js +1 -1
  724. package/locales/es-GQ.js.map +1 -1
  725. package/locales/es-GT.js +1 -1
  726. package/locales/es-GT.js.map +1 -1
  727. package/locales/es-HN.js +1 -1
  728. package/locales/es-HN.js.map +1 -1
  729. package/locales/es-IC.d.ts +1 -1
  730. package/locales/es-IC.js +1 -1
  731. package/locales/es-IC.js.map +1 -1
  732. package/locales/es-MX.js +1 -1
  733. package/locales/es-MX.js.map +1 -1
  734. package/locales/es-NI.js +1 -1
  735. package/locales/es-NI.js.map +1 -1
  736. package/locales/es-PA.js +1 -1
  737. package/locales/es-PA.js.map +1 -1
  738. package/locales/es-PE.js +1 -1
  739. package/locales/es-PE.js.map +1 -1
  740. package/locales/es-PH.d.ts +1 -1
  741. package/locales/es-PH.js +1 -1
  742. package/locales/es-PH.js.map +1 -1
  743. package/locales/es-PR.js +1 -1
  744. package/locales/es-PR.js.map +1 -1
  745. package/locales/es-PY.js +1 -1
  746. package/locales/es-PY.js.map +1 -1
  747. package/locales/es-SV.js +1 -1
  748. package/locales/es-SV.js.map +1 -1
  749. package/locales/es-US.js +1 -1
  750. package/locales/es-US.js.map +1 -1
  751. package/locales/es-UY.js +1 -1
  752. package/locales/es-UY.js.map +1 -1
  753. package/locales/es-VE.js +1 -1
  754. package/locales/es-VE.js.map +1 -1
  755. package/locales/es.d.ts +1 -1
  756. package/locales/es.js +1 -1
  757. package/locales/es.js.map +1 -1
  758. package/locales/et.js +1 -1
  759. package/locales/et.js.map +1 -1
  760. package/locales/eu.d.ts +1 -1
  761. package/locales/eu.js +1 -1
  762. package/locales/eu.js.map +1 -1
  763. package/locales/ewo.js +1 -1
  764. package/locales/ewo.js.map +1 -1
  765. package/locales/extra/aa-DJ.d.ts +9 -0
  766. package/locales/extra/aa-DJ.js +11 -0
  767. package/locales/extra/aa-DJ.js.map +1 -0
  768. package/locales/extra/aa-ER.d.ts +9 -0
  769. package/locales/extra/aa-ER.js +11 -0
  770. package/locales/extra/aa-ER.js.map +1 -0
  771. package/locales/extra/aa.d.ts +9 -0
  772. package/locales/extra/aa.js +11 -0
  773. package/locales/extra/aa.js.map +1 -0
  774. package/locales/extra/ab.d.ts +9 -0
  775. package/locales/extra/ab.js +11 -0
  776. package/locales/extra/ab.js.map +1 -0
  777. package/locales/extra/am.js +1 -1
  778. package/locales/extra/am.js.map +1 -1
  779. package/locales/extra/an.d.ts +9 -0
  780. package/locales/extra/an.js +11 -0
  781. package/locales/extra/an.js.map +1 -0
  782. package/locales/extra/ann.d.ts +9 -0
  783. package/locales/extra/ann.js +11 -0
  784. package/locales/extra/ann.js.map +1 -0
  785. package/locales/extra/apc.d.ts +9 -0
  786. package/locales/extra/apc.js +11 -0
  787. package/locales/extra/apc.js.map +1 -0
  788. package/locales/extra/arn.d.ts +9 -0
  789. package/locales/extra/arn.js +11 -0
  790. package/locales/extra/arn.js.map +1 -0
  791. package/locales/extra/az-Arab-IQ.d.ts +9 -0
  792. package/locales/extra/az-Arab-IQ.js +11 -0
  793. package/locales/extra/az-Arab-IQ.js.map +1 -0
  794. package/locales/extra/az-Arab-TR.d.ts +9 -0
  795. package/locales/extra/az-Arab-TR.js +11 -0
  796. package/locales/extra/az-Arab-TR.js.map +1 -0
  797. package/locales/extra/az-Arab.d.ts +9 -0
  798. package/locales/extra/az-Arab.js +11 -0
  799. package/locales/extra/az-Arab.js.map +1 -0
  800. package/locales/extra/ba.d.ts +9 -0
  801. package/locales/extra/ba.js +11 -0
  802. package/locales/extra/ba.js.map +1 -0
  803. package/locales/extra/bal-Arab.d.ts +9 -0
  804. package/locales/extra/bal-Arab.js +11 -0
  805. package/locales/extra/bal-Arab.js.map +1 -0
  806. package/locales/extra/bal-Latn.d.ts +9 -0
  807. package/locales/extra/bal-Latn.js +11 -0
  808. package/locales/extra/bal-Latn.js.map +1 -0
  809. package/locales/extra/bal.d.ts +9 -0
  810. package/locales/extra/bal.js +11 -0
  811. package/locales/extra/bal.js.map +1 -0
  812. package/locales/extra/bew.d.ts +9 -0
  813. package/locales/extra/bew.js +11 -0
  814. package/locales/extra/bew.js.map +1 -0
  815. package/locales/extra/bgc.d.ts +9 -0
  816. package/locales/extra/bgc.js +11 -0
  817. package/locales/extra/bgc.js.map +1 -0
  818. package/locales/extra/bgn-AE.d.ts +9 -0
  819. package/locales/extra/bgn-AE.js +11 -0
  820. package/locales/extra/bgn-AE.js.map +1 -0
  821. package/locales/extra/bgn-AF.d.ts +9 -0
  822. package/locales/extra/bgn-AF.js +11 -0
  823. package/locales/extra/bgn-AF.js.map +1 -0
  824. package/locales/extra/bgn-IR.d.ts +9 -0
  825. package/locales/extra/bgn-IR.js +11 -0
  826. package/locales/extra/bgn-IR.js.map +1 -0
  827. package/locales/extra/bgn-OM.d.ts +9 -0
  828. package/locales/extra/bgn-OM.js +11 -0
  829. package/locales/extra/bgn-OM.js.map +1 -0
  830. package/locales/extra/bgn.d.ts +9 -0
  831. package/locales/extra/bgn.js +11 -0
  832. package/locales/extra/bgn.js.map +1 -0
  833. package/locales/extra/bho.d.ts +9 -0
  834. package/locales/extra/bho.js +11 -0
  835. package/locales/extra/bho.js.map +1 -0
  836. package/locales/extra/blo.d.ts +9 -0
  837. package/locales/extra/blo.js +11 -0
  838. package/locales/extra/blo.js.map +1 -0
  839. package/locales/extra/blt.d.ts +9 -0
  840. package/locales/extra/blt.js +11 -0
  841. package/locales/extra/blt.js.map +1 -0
  842. package/locales/extra/bm-Nkoo.d.ts +9 -0
  843. package/locales/extra/bm-Nkoo.js +11 -0
  844. package/locales/extra/bm-Nkoo.js.map +1 -0
  845. package/locales/extra/bn-IN.js +1 -1
  846. package/locales/extra/bn-IN.js.map +1 -1
  847. package/locales/extra/bn.js +1 -1
  848. package/locales/extra/bn.js.map +1 -1
  849. package/locales/extra/bss.d.ts +9 -0
  850. package/locales/extra/bss.js +11 -0
  851. package/locales/extra/bss.js.map +1 -0
  852. package/locales/extra/byn.d.ts +9 -0
  853. package/locales/extra/byn.js +11 -0
  854. package/locales/extra/byn.js.map +1 -0
  855. package/locales/extra/ca-AD.d.ts +1 -1
  856. package/locales/extra/ca-AD.js +1 -1
  857. package/locales/extra/ca-AD.js.map +1 -1
  858. package/locales/extra/ca-ES-valencia.d.ts +1 -1
  859. package/locales/extra/ca-ES-valencia.js +1 -1
  860. package/locales/extra/ca-ES-valencia.js.map +1 -1
  861. package/locales/extra/ca-FR.d.ts +1 -1
  862. package/locales/extra/ca-FR.js +1 -1
  863. package/locales/extra/ca-FR.js.map +1 -1
  864. package/locales/extra/ca-IT.d.ts +1 -1
  865. package/locales/extra/ca-IT.js +1 -1
  866. package/locales/extra/ca-IT.js.map +1 -1
  867. package/locales/extra/ca.d.ts +1 -1
  868. package/locales/extra/ca.js +1 -1
  869. package/locales/extra/ca.js.map +1 -1
  870. package/locales/extra/cad.d.ts +9 -0
  871. package/locales/extra/cad.js +11 -0
  872. package/locales/extra/cad.js.map +1 -0
  873. package/locales/extra/cch.d.ts +9 -0
  874. package/locales/extra/cch.js +11 -0
  875. package/locales/extra/cch.js.map +1 -0
  876. package/locales/extra/cho.d.ts +9 -0
  877. package/locales/extra/cho.js +11 -0
  878. package/locales/extra/cho.js.map +1 -0
  879. package/locales/extra/cic.d.ts +9 -0
  880. package/locales/extra/cic.js +11 -0
  881. package/locales/extra/cic.js.map +1 -0
  882. package/locales/extra/co.d.ts +9 -0
  883. package/locales/extra/co.js +11 -0
  884. package/locales/extra/co.js.map +1 -0
  885. package/locales/extra/cop.d.ts +9 -0
  886. package/locales/extra/cop.js +11 -0
  887. package/locales/extra/cop.js.map +1 -0
  888. package/locales/extra/csw.d.ts +9 -0
  889. package/locales/extra/csw.js +11 -0
  890. package/locales/extra/csw.js.map +1 -0
  891. package/locales/extra/cu.d.ts +9 -0
  892. package/locales/extra/cu.js +11 -0
  893. package/locales/extra/cu.js.map +1 -0
  894. package/locales/extra/cv.d.ts +9 -0
  895. package/locales/extra/cv.js +11 -0
  896. package/locales/extra/cv.js.map +1 -0
  897. package/locales/extra/dv.d.ts +9 -0
  898. package/locales/extra/dv.js +11 -0
  899. package/locales/extra/dv.js.map +1 -0
  900. package/locales/extra/el-polyton.d.ts +9 -0
  901. package/locales/extra/el-polyton.js +11 -0
  902. package/locales/extra/el-polyton.js.map +1 -0
  903. package/locales/extra/en-001.js +1 -1
  904. package/locales/extra/en-001.js.map +1 -1
  905. package/locales/extra/en-150.js +1 -1
  906. package/locales/extra/en-150.js.map +1 -1
  907. package/locales/extra/en-AE.js +1 -1
  908. package/locales/extra/en-AE.js.map +1 -1
  909. package/locales/extra/en-AG.js +1 -1
  910. package/locales/extra/en-AG.js.map +1 -1
  911. package/locales/extra/en-AI.js +1 -1
  912. package/locales/extra/en-AI.js.map +1 -1
  913. package/locales/extra/en-AS.js +1 -1
  914. package/locales/extra/en-AS.js.map +1 -1
  915. package/locales/extra/en-AT.js +1 -1
  916. package/locales/extra/en-AT.js.map +1 -1
  917. package/locales/extra/en-AU.js +1 -1
  918. package/locales/extra/en-AU.js.map +1 -1
  919. package/locales/extra/en-BB.js +1 -1
  920. package/locales/extra/en-BB.js.map +1 -1
  921. package/locales/extra/en-BE.js +1 -1
  922. package/locales/extra/en-BE.js.map +1 -1
  923. package/locales/extra/en-BI.js +1 -1
  924. package/locales/extra/en-BI.js.map +1 -1
  925. package/locales/extra/en-BM.js +1 -1
  926. package/locales/extra/en-BM.js.map +1 -1
  927. package/locales/extra/en-BS.js +1 -1
  928. package/locales/extra/en-BS.js.map +1 -1
  929. package/locales/extra/en-BW.js +1 -1
  930. package/locales/extra/en-BW.js.map +1 -1
  931. package/locales/extra/en-BZ.js +1 -1
  932. package/locales/extra/en-BZ.js.map +1 -1
  933. package/locales/extra/en-CA.js +1 -1
  934. package/locales/extra/en-CA.js.map +1 -1
  935. package/locales/extra/en-CC.js +1 -1
  936. package/locales/extra/en-CC.js.map +1 -1
  937. package/locales/extra/en-CH.js +1 -1
  938. package/locales/extra/en-CH.js.map +1 -1
  939. package/locales/extra/en-CK.js +1 -1
  940. package/locales/extra/en-CK.js.map +1 -1
  941. package/locales/extra/en-CM.js +1 -1
  942. package/locales/extra/en-CM.js.map +1 -1
  943. package/locales/extra/en-CX.js +1 -1
  944. package/locales/extra/en-CX.js.map +1 -1
  945. package/locales/extra/en-CY.js +1 -1
  946. package/locales/extra/en-CY.js.map +1 -1
  947. package/locales/extra/en-CZ.d.ts +9 -0
  948. package/locales/extra/en-CZ.js +11 -0
  949. package/locales/extra/en-CZ.js.map +1 -0
  950. package/locales/extra/en-DE.js +1 -1
  951. package/locales/extra/en-DE.js.map +1 -1
  952. package/locales/extra/en-DG.js +1 -1
  953. package/locales/extra/en-DG.js.map +1 -1
  954. package/locales/extra/en-DK.js +1 -1
  955. package/locales/extra/en-DK.js.map +1 -1
  956. package/locales/extra/en-DM.js +1 -1
  957. package/locales/extra/en-DM.js.map +1 -1
  958. package/locales/extra/en-Dsrt.d.ts +9 -0
  959. package/locales/extra/en-Dsrt.js +11 -0
  960. package/locales/extra/en-Dsrt.js.map +1 -0
  961. package/locales/extra/en-ER.js +1 -1
  962. package/locales/extra/en-ER.js.map +1 -1
  963. package/locales/extra/en-ES.d.ts +9 -0
  964. package/locales/extra/en-ES.js +11 -0
  965. package/locales/extra/en-ES.js.map +1 -0
  966. package/locales/extra/en-FI.js +1 -1
  967. package/locales/extra/en-FI.js.map +1 -1
  968. package/locales/extra/en-FJ.js +1 -1
  969. package/locales/extra/en-FJ.js.map +1 -1
  970. package/locales/extra/en-FK.js +1 -1
  971. package/locales/extra/en-FK.js.map +1 -1
  972. package/locales/extra/en-FM.js +1 -1
  973. package/locales/extra/en-FM.js.map +1 -1
  974. package/locales/extra/en-FR.d.ts +9 -0
  975. package/locales/extra/en-FR.js +11 -0
  976. package/locales/extra/en-FR.js.map +1 -0
  977. package/locales/extra/en-GB.js +1 -1
  978. package/locales/extra/en-GB.js.map +1 -1
  979. package/locales/extra/en-GD.js +1 -1
  980. package/locales/extra/en-GD.js.map +1 -1
  981. package/locales/extra/en-GG.js +1 -1
  982. package/locales/extra/en-GG.js.map +1 -1
  983. package/locales/extra/en-GH.js +1 -1
  984. package/locales/extra/en-GH.js.map +1 -1
  985. package/locales/extra/en-GI.js +1 -1
  986. package/locales/extra/en-GI.js.map +1 -1
  987. package/locales/extra/en-GM.js +1 -1
  988. package/locales/extra/en-GM.js.map +1 -1
  989. package/locales/extra/en-GS.d.ts +9 -0
  990. package/locales/extra/en-GS.js +11 -0
  991. package/locales/extra/en-GS.js.map +1 -0
  992. package/locales/extra/en-GU.js +1 -1
  993. package/locales/extra/en-GU.js.map +1 -1
  994. package/locales/extra/en-GY.js +1 -1
  995. package/locales/extra/en-GY.js.map +1 -1
  996. package/locales/extra/en-HK.js +1 -1
  997. package/locales/extra/en-HK.js.map +1 -1
  998. package/locales/extra/en-HU.d.ts +9 -0
  999. package/locales/extra/en-HU.js +11 -0
  1000. package/locales/extra/en-HU.js.map +1 -0
  1001. package/locales/extra/en-ID.d.ts +9 -0
  1002. package/locales/extra/en-ID.js +11 -0
  1003. package/locales/extra/en-ID.js.map +1 -0
  1004. package/locales/extra/en-IE.js +1 -1
  1005. package/locales/extra/en-IE.js.map +1 -1
  1006. package/locales/extra/en-IL.js +1 -1
  1007. package/locales/extra/en-IL.js.map +1 -1
  1008. package/locales/extra/en-IM.js +1 -1
  1009. package/locales/extra/en-IM.js.map +1 -1
  1010. package/locales/extra/en-IN.js +1 -1
  1011. package/locales/extra/en-IN.js.map +1 -1
  1012. package/locales/extra/en-IO.js +1 -1
  1013. package/locales/extra/en-IO.js.map +1 -1
  1014. package/locales/extra/en-IT.d.ts +9 -0
  1015. package/locales/extra/en-IT.js +11 -0
  1016. package/locales/extra/en-IT.js.map +1 -0
  1017. package/locales/extra/en-JE.js +1 -1
  1018. package/locales/extra/en-JE.js.map +1 -1
  1019. package/locales/extra/en-JM.js +1 -1
  1020. package/locales/extra/en-JM.js.map +1 -1
  1021. package/locales/extra/en-KE.js +1 -1
  1022. package/locales/extra/en-KE.js.map +1 -1
  1023. package/locales/extra/en-KI.js +1 -1
  1024. package/locales/extra/en-KI.js.map +1 -1
  1025. package/locales/extra/en-KN.js +1 -1
  1026. package/locales/extra/en-KN.js.map +1 -1
  1027. package/locales/extra/en-KY.js +1 -1
  1028. package/locales/extra/en-KY.js.map +1 -1
  1029. package/locales/extra/en-LC.js +1 -1
  1030. package/locales/extra/en-LC.js.map +1 -1
  1031. package/locales/extra/en-LR.js +1 -1
  1032. package/locales/extra/en-LR.js.map +1 -1
  1033. package/locales/extra/en-LS.js +1 -1
  1034. package/locales/extra/en-LS.js.map +1 -1
  1035. package/locales/extra/en-MG.js +1 -1
  1036. package/locales/extra/en-MG.js.map +1 -1
  1037. package/locales/extra/en-MH.js +1 -1
  1038. package/locales/extra/en-MH.js.map +1 -1
  1039. package/locales/extra/en-MO.js +1 -1
  1040. package/locales/extra/en-MO.js.map +1 -1
  1041. package/locales/extra/en-MP.js +1 -1
  1042. package/locales/extra/en-MP.js.map +1 -1
  1043. package/locales/extra/en-MS.js +1 -1
  1044. package/locales/extra/en-MS.js.map +1 -1
  1045. package/locales/extra/en-MT.js +1 -1
  1046. package/locales/extra/en-MT.js.map +1 -1
  1047. package/locales/extra/en-MU.js +1 -1
  1048. package/locales/extra/en-MU.js.map +1 -1
  1049. package/locales/extra/en-MV.js +1 -1
  1050. package/locales/extra/en-MV.js.map +1 -1
  1051. package/locales/extra/en-MW.js +1 -1
  1052. package/locales/extra/en-MW.js.map +1 -1
  1053. package/locales/extra/en-MY.js +1 -1
  1054. package/locales/extra/en-MY.js.map +1 -1
  1055. package/locales/extra/en-NA.js +1 -1
  1056. package/locales/extra/en-NA.js.map +1 -1
  1057. package/locales/extra/en-NF.js +1 -1
  1058. package/locales/extra/en-NF.js.map +1 -1
  1059. package/locales/extra/en-NG.js +1 -1
  1060. package/locales/extra/en-NG.js.map +1 -1
  1061. package/locales/extra/en-NL.js +1 -1
  1062. package/locales/extra/en-NL.js.map +1 -1
  1063. package/locales/extra/en-NO.d.ts +9 -0
  1064. package/locales/extra/en-NO.js +11 -0
  1065. package/locales/extra/en-NO.js.map +1 -0
  1066. package/locales/extra/en-NR.js +1 -1
  1067. package/locales/extra/en-NR.js.map +1 -1
  1068. package/locales/extra/en-NU.js +1 -1
  1069. package/locales/extra/en-NU.js.map +1 -1
  1070. package/locales/extra/en-NZ.js +1 -1
  1071. package/locales/extra/en-NZ.js.map +1 -1
  1072. package/locales/extra/en-PG.js +1 -1
  1073. package/locales/extra/en-PG.js.map +1 -1
  1074. package/locales/extra/en-PH.js +1 -1
  1075. package/locales/extra/en-PH.js.map +1 -1
  1076. package/locales/extra/en-PK.js +1 -1
  1077. package/locales/extra/en-PK.js.map +1 -1
  1078. package/locales/extra/en-PL.d.ts +9 -0
  1079. package/locales/extra/en-PL.js +11 -0
  1080. package/locales/extra/en-PL.js.map +1 -0
  1081. package/locales/extra/en-PN.js +1 -1
  1082. package/locales/extra/en-PN.js.map +1 -1
  1083. package/locales/extra/en-PR.js +1 -1
  1084. package/locales/extra/en-PR.js.map +1 -1
  1085. package/locales/extra/en-PT.d.ts +9 -0
  1086. package/locales/extra/en-PT.js +11 -0
  1087. package/locales/extra/en-PT.js.map +1 -0
  1088. package/locales/extra/en-PW.js +1 -1
  1089. package/locales/extra/en-PW.js.map +1 -1
  1090. package/locales/extra/en-RO.d.ts +9 -0
  1091. package/locales/extra/en-RO.js +11 -0
  1092. package/locales/extra/en-RO.js.map +1 -0
  1093. package/locales/extra/en-RW.js +1 -1
  1094. package/locales/extra/en-RW.js.map +1 -1
  1095. package/locales/extra/en-SB.js +1 -1
  1096. package/locales/extra/en-SB.js.map +1 -1
  1097. package/locales/extra/en-SC.js +1 -1
  1098. package/locales/extra/en-SC.js.map +1 -1
  1099. package/locales/extra/en-SD.js +1 -1
  1100. package/locales/extra/en-SD.js.map +1 -1
  1101. package/locales/extra/en-SE.js +1 -1
  1102. package/locales/extra/en-SE.js.map +1 -1
  1103. package/locales/extra/en-SG.js +1 -1
  1104. package/locales/extra/en-SG.js.map +1 -1
  1105. package/locales/extra/en-SH.js +1 -1
  1106. package/locales/extra/en-SH.js.map +1 -1
  1107. package/locales/extra/en-SI.js +1 -1
  1108. package/locales/extra/en-SI.js.map +1 -1
  1109. package/locales/extra/en-SK.d.ts +9 -0
  1110. package/locales/extra/en-SK.js +11 -0
  1111. package/locales/extra/en-SK.js.map +1 -0
  1112. package/locales/extra/en-SL.js +1 -1
  1113. package/locales/extra/en-SL.js.map +1 -1
  1114. package/locales/extra/en-SS.js +1 -1
  1115. package/locales/extra/en-SS.js.map +1 -1
  1116. package/locales/extra/en-SX.js +1 -1
  1117. package/locales/extra/en-SX.js.map +1 -1
  1118. package/locales/extra/en-SZ.js +1 -1
  1119. package/locales/extra/en-SZ.js.map +1 -1
  1120. package/locales/extra/en-Shaw.d.ts +9 -0
  1121. package/locales/extra/en-Shaw.js +11 -0
  1122. package/locales/extra/en-Shaw.js.map +1 -0
  1123. package/locales/extra/en-TC.js +1 -1
  1124. package/locales/extra/en-TC.js.map +1 -1
  1125. package/locales/extra/en-TK.js +1 -1
  1126. package/locales/extra/en-TK.js.map +1 -1
  1127. package/locales/extra/en-TO.js +1 -1
  1128. package/locales/extra/en-TO.js.map +1 -1
  1129. package/locales/extra/en-TT.js +1 -1
  1130. package/locales/extra/en-TT.js.map +1 -1
  1131. package/locales/extra/en-TV.js +1 -1
  1132. package/locales/extra/en-TV.js.map +1 -1
  1133. package/locales/extra/en-TZ.js +1 -1
  1134. package/locales/extra/en-TZ.js.map +1 -1
  1135. package/locales/extra/en-UG.js +1 -1
  1136. package/locales/extra/en-UG.js.map +1 -1
  1137. package/locales/extra/en-UM.js +1 -1
  1138. package/locales/extra/en-UM.js.map +1 -1
  1139. package/locales/extra/en-VC.js +1 -1
  1140. package/locales/extra/en-VC.js.map +1 -1
  1141. package/locales/extra/en-VG.js +1 -1
  1142. package/locales/extra/en-VG.js.map +1 -1
  1143. package/locales/extra/en-VI.js +1 -1
  1144. package/locales/extra/en-VI.js.map +1 -1
  1145. package/locales/extra/en-VU.js +1 -1
  1146. package/locales/extra/en-VU.js.map +1 -1
  1147. package/locales/extra/en-WS.js +1 -1
  1148. package/locales/extra/en-WS.js.map +1 -1
  1149. package/locales/extra/en-ZA.js +1 -1
  1150. package/locales/extra/en-ZA.js.map +1 -1
  1151. package/locales/extra/en-ZM.js +1 -1
  1152. package/locales/extra/en-ZM.js.map +1 -1
  1153. package/locales/extra/en-ZW.js +1 -1
  1154. package/locales/extra/en-ZW.js.map +1 -1
  1155. package/locales/extra/en.js +1 -1
  1156. package/locales/extra/en.js.map +1 -1
  1157. package/locales/extra/es-AR.js +1 -1
  1158. package/locales/extra/es-AR.js.map +1 -1
  1159. package/locales/extra/es-CO.js +1 -1
  1160. package/locales/extra/es-CO.js.map +1 -1
  1161. package/locales/extra/es-MX.js +1 -1
  1162. package/locales/extra/es-MX.js.map +1 -1
  1163. package/locales/extra/es-PA.js +1 -1
  1164. package/locales/extra/es-PA.js.map +1 -1
  1165. package/locales/extra/eu.d.ts +1 -1
  1166. package/locales/extra/eu.js +1 -1
  1167. package/locales/extra/eu.js.map +1 -1
  1168. package/locales/extra/fa-AF.js +1 -1
  1169. package/locales/extra/fa-AF.js.map +1 -1
  1170. package/locales/extra/fa.js +1 -1
  1171. package/locales/extra/fa.js.map +1 -1
  1172. package/locales/extra/fil.js +1 -1
  1173. package/locales/extra/fil.js.map +1 -1
  1174. package/locales/extra/fr-BE.js +1 -1
  1175. package/locales/extra/fr-BE.js.map +1 -1
  1176. package/locales/extra/fr-BF.js +1 -1
  1177. package/locales/extra/fr-BF.js.map +1 -1
  1178. package/locales/extra/fr-BI.js +1 -1
  1179. package/locales/extra/fr-BI.js.map +1 -1
  1180. package/locales/extra/fr-BJ.js +1 -1
  1181. package/locales/extra/fr-BJ.js.map +1 -1
  1182. package/locales/extra/fr-BL.js +1 -1
  1183. package/locales/extra/fr-BL.js.map +1 -1
  1184. package/locales/extra/fr-CA.js +1 -1
  1185. package/locales/extra/fr-CA.js.map +1 -1
  1186. package/locales/extra/fr-CD.js +1 -1
  1187. package/locales/extra/fr-CD.js.map +1 -1
  1188. package/locales/extra/fr-CF.js +1 -1
  1189. package/locales/extra/fr-CF.js.map +1 -1
  1190. package/locales/extra/fr-CG.js +1 -1
  1191. package/locales/extra/fr-CG.js.map +1 -1
  1192. package/locales/extra/fr-CH.js +1 -1
  1193. package/locales/extra/fr-CH.js.map +1 -1
  1194. package/locales/extra/fr-CI.js +1 -1
  1195. package/locales/extra/fr-CI.js.map +1 -1
  1196. package/locales/extra/fr-CM.js +1 -1
  1197. package/locales/extra/fr-CM.js.map +1 -1
  1198. package/locales/extra/fr-DJ.js +1 -1
  1199. package/locales/extra/fr-DJ.js.map +1 -1
  1200. package/locales/extra/fr-DZ.js +1 -1
  1201. package/locales/extra/fr-DZ.js.map +1 -1
  1202. package/locales/extra/fr-GA.js +1 -1
  1203. package/locales/extra/fr-GA.js.map +1 -1
  1204. package/locales/extra/fr-GF.js +1 -1
  1205. package/locales/extra/fr-GF.js.map +1 -1
  1206. package/locales/extra/fr-GN.js +1 -1
  1207. package/locales/extra/fr-GN.js.map +1 -1
  1208. package/locales/extra/fr-GP.js +1 -1
  1209. package/locales/extra/fr-GP.js.map +1 -1
  1210. package/locales/extra/fr-GQ.js +1 -1
  1211. package/locales/extra/fr-GQ.js.map +1 -1
  1212. package/locales/extra/fr-HT.js +1 -1
  1213. package/locales/extra/fr-HT.js.map +1 -1
  1214. package/locales/extra/fr-KM.js +1 -1
  1215. package/locales/extra/fr-KM.js.map +1 -1
  1216. package/locales/extra/fr-LU.js +1 -1
  1217. package/locales/extra/fr-LU.js.map +1 -1
  1218. package/locales/extra/fr-MA.js +1 -1
  1219. package/locales/extra/fr-MA.js.map +1 -1
  1220. package/locales/extra/fr-MC.js +1 -1
  1221. package/locales/extra/fr-MC.js.map +1 -1
  1222. package/locales/extra/fr-MF.js +1 -1
  1223. package/locales/extra/fr-MF.js.map +1 -1
  1224. package/locales/extra/fr-MG.js +1 -1
  1225. package/locales/extra/fr-MG.js.map +1 -1
  1226. package/locales/extra/fr-ML.js +1 -1
  1227. package/locales/extra/fr-ML.js.map +1 -1
  1228. package/locales/extra/fr-MQ.js +1 -1
  1229. package/locales/extra/fr-MQ.js.map +1 -1
  1230. package/locales/extra/fr-MR.js +1 -1
  1231. package/locales/extra/fr-MR.js.map +1 -1
  1232. package/locales/extra/fr-MU.js +1 -1
  1233. package/locales/extra/fr-MU.js.map +1 -1
  1234. package/locales/extra/fr-NC.js +1 -1
  1235. package/locales/extra/fr-NC.js.map +1 -1
  1236. package/locales/extra/fr-NE.js +1 -1
  1237. package/locales/extra/fr-NE.js.map +1 -1
  1238. package/locales/extra/fr-PF.js +1 -1
  1239. package/locales/extra/fr-PF.js.map +1 -1
  1240. package/locales/extra/fr-PM.js +1 -1
  1241. package/locales/extra/fr-PM.js.map +1 -1
  1242. package/locales/extra/fr-RE.js +1 -1
  1243. package/locales/extra/fr-RE.js.map +1 -1
  1244. package/locales/extra/fr-RW.js +1 -1
  1245. package/locales/extra/fr-RW.js.map +1 -1
  1246. package/locales/extra/fr-SC.js +1 -1
  1247. package/locales/extra/fr-SC.js.map +1 -1
  1248. package/locales/extra/fr-SN.js +1 -1
  1249. package/locales/extra/fr-SN.js.map +1 -1
  1250. package/locales/extra/fr-SY.js +1 -1
  1251. package/locales/extra/fr-SY.js.map +1 -1
  1252. package/locales/extra/fr-TD.js +1 -1
  1253. package/locales/extra/fr-TD.js.map +1 -1
  1254. package/locales/extra/fr-TG.js +1 -1
  1255. package/locales/extra/fr-TG.js.map +1 -1
  1256. package/locales/extra/fr-TN.js +1 -1
  1257. package/locales/extra/fr-TN.js.map +1 -1
  1258. package/locales/extra/fr-VU.js +1 -1
  1259. package/locales/extra/fr-VU.js.map +1 -1
  1260. package/locales/extra/fr-WF.js +1 -1
  1261. package/locales/extra/fr-WF.js.map +1 -1
  1262. package/locales/extra/fr-YT.js +1 -1
  1263. package/locales/extra/fr-YT.js.map +1 -1
  1264. package/locales/extra/fr.js +1 -1
  1265. package/locales/extra/fr.js.map +1 -1
  1266. package/locales/extra/frr.d.ts +9 -0
  1267. package/locales/extra/frr.js +11 -0
  1268. package/locales/extra/frr.js.map +1 -0
  1269. package/locales/extra/gaa.d.ts +9 -0
  1270. package/locales/extra/gaa.js +11 -0
  1271. package/locales/extra/gaa.js.map +1 -0
  1272. package/locales/extra/gez-ER.d.ts +9 -0
  1273. package/locales/extra/gez-ER.js +11 -0
  1274. package/locales/extra/gez-ER.js.map +1 -0
  1275. package/locales/extra/gez.d.ts +9 -0
  1276. package/locales/extra/gez.js +11 -0
  1277. package/locales/extra/gez.js.map +1 -0
  1278. package/locales/extra/gn.d.ts +9 -0
  1279. package/locales/extra/gn.js +11 -0
  1280. package/locales/extra/gn.js.map +1 -0
  1281. package/locales/extra/ha-Arab-SD.d.ts +9 -0
  1282. package/locales/extra/ha-Arab-SD.js +11 -0
  1283. package/locales/extra/ha-Arab-SD.js.map +1 -0
  1284. package/locales/extra/ha-Arab.d.ts +9 -0
  1285. package/locales/extra/ha-Arab.js +11 -0
  1286. package/locales/extra/ha-Arab.js.map +1 -0
  1287. package/locales/extra/hi-Latn.js +1 -1
  1288. package/locales/extra/hi-Latn.js.map +1 -1
  1289. package/locales/extra/hnj-Hmnp.d.ts +9 -0
  1290. package/locales/extra/hnj-Hmnp.js +11 -0
  1291. package/locales/extra/hnj-Hmnp.js.map +1 -0
  1292. package/locales/extra/hnj.d.ts +9 -0
  1293. package/locales/extra/hnj.js +11 -0
  1294. package/locales/extra/hnj.js.map +1 -0
  1295. package/locales/extra/ht.d.ts +9 -0
  1296. package/locales/extra/ht.js +11 -0
  1297. package/locales/extra/ht.js.map +1 -0
  1298. package/locales/extra/ie.d.ts +9 -0
  1299. package/locales/extra/ie.js +11 -0
  1300. package/locales/extra/ie.js.map +1 -0
  1301. package/locales/extra/io.d.ts +9 -0
  1302. package/locales/extra/io.js +11 -0
  1303. package/locales/extra/io.js.map +1 -0
  1304. package/locales/extra/iu-Latn.d.ts +9 -0
  1305. package/locales/extra/iu-Latn.js +11 -0
  1306. package/locales/extra/iu-Latn.js.map +1 -0
  1307. package/locales/extra/iu.d.ts +9 -0
  1308. package/locales/extra/iu.js +11 -0
  1309. package/locales/extra/iu.js.map +1 -0
  1310. package/locales/extra/jbo.d.ts +9 -0
  1311. package/locales/extra/jbo.js +11 -0
  1312. package/locales/extra/jbo.js.map +1 -0
  1313. package/locales/extra/kaa-Cyrl.d.ts +9 -0
  1314. package/locales/extra/kaa-Cyrl.js +11 -0
  1315. package/locales/extra/kaa-Cyrl.js.map +1 -0
  1316. package/locales/extra/kaa-Latn.d.ts +9 -0
  1317. package/locales/extra/kaa-Latn.js +11 -0
  1318. package/locales/extra/kaa-Latn.js.map +1 -0
  1319. package/locales/extra/kaa.d.ts +9 -0
  1320. package/locales/extra/kaa.js +11 -0
  1321. package/locales/extra/kaa.js.map +1 -0
  1322. package/locales/extra/kaj.d.ts +9 -0
  1323. package/locales/extra/kaj.js +11 -0
  1324. package/locales/extra/kaj.js.map +1 -0
  1325. package/locales/extra/kcg.d.ts +9 -0
  1326. package/locales/extra/kcg.js +11 -0
  1327. package/locales/extra/kcg.js.map +1 -0
  1328. package/locales/extra/ken.d.ts +9 -0
  1329. package/locales/extra/ken.js +11 -0
  1330. package/locales/extra/ken.js.map +1 -0
  1331. package/locales/extra/kk-Arab.d.ts +9 -0
  1332. package/locales/extra/kk-Arab.js +11 -0
  1333. package/locales/extra/kk-Arab.js.map +1 -0
  1334. package/locales/extra/kk-Cyrl.d.ts +9 -0
  1335. package/locales/extra/kk-Cyrl.js +11 -0
  1336. package/locales/extra/kk-Cyrl.js.map +1 -0
  1337. package/locales/extra/kk-KZ.d.ts +9 -0
  1338. package/locales/extra/kk-KZ.js +11 -0
  1339. package/locales/extra/kk-KZ.js.map +1 -0
  1340. package/locales/extra/ko-CN.d.ts +9 -0
  1341. package/locales/extra/ko-CN.js +11 -0
  1342. package/locales/extra/ko-CN.js.map +1 -0
  1343. package/locales/extra/ko-KP.js +1 -1
  1344. package/locales/extra/ko-KP.js.map +1 -1
  1345. package/locales/extra/ko.js +1 -1
  1346. package/locales/extra/ko.js.map +1 -1
  1347. package/locales/extra/kok-Deva.d.ts +9 -0
  1348. package/locales/extra/kok-Deva.js +11 -0
  1349. package/locales/extra/kok-Deva.js.map +1 -0
  1350. package/locales/extra/kok-Latn.d.ts +9 -0
  1351. package/locales/extra/kok-Latn.js +11 -0
  1352. package/locales/extra/kok-Latn.js.map +1 -0
  1353. package/locales/extra/kpe-GN.d.ts +9 -0
  1354. package/locales/extra/kpe-GN.js +11 -0
  1355. package/locales/extra/kpe-GN.js.map +1 -0
  1356. package/locales/extra/kpe.d.ts +9 -0
  1357. package/locales/extra/kpe.js +11 -0
  1358. package/locales/extra/kpe.js.map +1 -0
  1359. package/locales/extra/kxv-Deva.d.ts +9 -0
  1360. package/locales/extra/kxv-Deva.js +11 -0
  1361. package/locales/extra/kxv-Deva.js.map +1 -0
  1362. package/locales/extra/kxv-Latn.d.ts +9 -0
  1363. package/locales/extra/kxv-Latn.js +11 -0
  1364. package/locales/extra/kxv-Latn.js.map +1 -0
  1365. package/locales/extra/kxv-Orya.d.ts +9 -0
  1366. package/locales/extra/kxv-Orya.js +11 -0
  1367. package/locales/extra/kxv-Orya.js.map +1 -0
  1368. package/locales/extra/kxv-Telu.d.ts +9 -0
  1369. package/locales/extra/kxv-Telu.js +11 -0
  1370. package/locales/extra/kxv-Telu.js.map +1 -0
  1371. package/locales/extra/kxv.d.ts +9 -0
  1372. package/locales/extra/kxv.js +11 -0
  1373. package/locales/extra/kxv.js.map +1 -0
  1374. package/locales/extra/la.d.ts +9 -0
  1375. package/locales/extra/la.js +11 -0
  1376. package/locales/extra/la.js.map +1 -0
  1377. package/locales/extra/lij.d.ts +9 -0
  1378. package/locales/extra/lij.js +11 -0
  1379. package/locales/extra/lij.js.map +1 -0
  1380. package/locales/extra/lld.d.ts +9 -0
  1381. package/locales/extra/lld.js +11 -0
  1382. package/locales/extra/lld.js.map +1 -0
  1383. package/locales/extra/lmo.d.ts +9 -0
  1384. package/locales/extra/lmo.js +11 -0
  1385. package/locales/extra/lmo.js.map +1 -0
  1386. package/locales/extra/lo.js +1 -1
  1387. package/locales/extra/lo.js.map +1 -1
  1388. package/locales/extra/ltg.d.ts +9 -0
  1389. package/locales/extra/ltg.js +11 -0
  1390. package/locales/extra/ltg.js.map +1 -0
  1391. package/locales/extra/mdf.d.ts +9 -0
  1392. package/locales/extra/mdf.js +11 -0
  1393. package/locales/extra/mdf.js.map +1 -0
  1394. package/locales/extra/mhn.d.ts +9 -0
  1395. package/locales/extra/mhn.js +11 -0
  1396. package/locales/extra/mhn.js.map +1 -0
  1397. package/locales/extra/mic.d.ts +9 -0
  1398. package/locales/extra/mic.js +11 -0
  1399. package/locales/extra/mic.js.map +1 -0
  1400. package/locales/extra/mk.d.ts +1 -1
  1401. package/locales/extra/mk.js +1 -1
  1402. package/locales/extra/mk.js.map +1 -1
  1403. package/locales/extra/mn-Mong-MN.d.ts +9 -0
  1404. package/locales/extra/mn-Mong-MN.js +11 -0
  1405. package/locales/extra/mn-Mong-MN.js.map +1 -0
  1406. package/locales/extra/mn-Mong.d.ts +9 -0
  1407. package/locales/extra/mn-Mong.js +11 -0
  1408. package/locales/extra/mn-Mong.js.map +1 -0
  1409. package/locales/extra/mni-Mtei.d.ts +9 -0
  1410. package/locales/extra/mni-Mtei.js +11 -0
  1411. package/locales/extra/mni-Mtei.js.map +1 -0
  1412. package/locales/extra/moh.d.ts +9 -0
  1413. package/locales/extra/moh.js +11 -0
  1414. package/locales/extra/moh.js.map +1 -0
  1415. package/locales/extra/mr.js +1 -1
  1416. package/locales/extra/mr.js.map +1 -1
  1417. package/locales/extra/ms-Arab-BN.d.ts +9 -0
  1418. package/locales/extra/ms-Arab-BN.js +11 -0
  1419. package/locales/extra/ms-Arab-BN.js.map +1 -0
  1420. package/locales/extra/ms-Arab.d.ts +9 -0
  1421. package/locales/extra/ms-Arab.js +11 -0
  1422. package/locales/extra/ms-Arab.js.map +1 -0
  1423. package/locales/extra/mus.d.ts +9 -0
  1424. package/locales/extra/mus.js +11 -0
  1425. package/locales/extra/mus.js.map +1 -0
  1426. package/locales/extra/myv.d.ts +9 -0
  1427. package/locales/extra/myv.js +11 -0
  1428. package/locales/extra/myv.js.map +1 -0
  1429. package/locales/extra/nqo.d.ts +9 -0
  1430. package/locales/extra/nqo.js +11 -0
  1431. package/locales/extra/nqo.js.map +1 -0
  1432. package/locales/extra/nr.d.ts +9 -0
  1433. package/locales/extra/nr.js +11 -0
  1434. package/locales/extra/nr.js.map +1 -0
  1435. package/locales/extra/nso.d.ts +9 -0
  1436. package/locales/extra/nso.js +11 -0
  1437. package/locales/extra/nso.js.map +1 -0
  1438. package/locales/extra/nv.d.ts +9 -0
  1439. package/locales/extra/nv.js +11 -0
  1440. package/locales/extra/nv.js.map +1 -0
  1441. package/locales/extra/ny.d.ts +9 -0
  1442. package/locales/extra/ny.js +11 -0
  1443. package/locales/extra/ny.js.map +1 -0
  1444. package/locales/extra/oc-ES.d.ts +9 -0
  1445. package/locales/extra/oc-ES.js +11 -0
  1446. package/locales/extra/oc-ES.js.map +1 -0
  1447. package/locales/extra/oc.d.ts +9 -0
  1448. package/locales/extra/oc.js +11 -0
  1449. package/locales/extra/oc.js.map +1 -0
  1450. package/locales/extra/osa.d.ts +9 -0
  1451. package/locales/extra/osa.js +11 -0
  1452. package/locales/extra/osa.js.map +1 -0
  1453. package/locales/extra/pap-AW.d.ts +9 -0
  1454. package/locales/extra/pap-AW.js +11 -0
  1455. package/locales/extra/pap-AW.js.map +1 -0
  1456. package/locales/extra/pap.d.ts +9 -0
  1457. package/locales/extra/pap.js +11 -0
  1458. package/locales/extra/pap.js.map +1 -0
  1459. package/locales/extra/pis.d.ts +9 -0
  1460. package/locales/extra/pis.js +11 -0
  1461. package/locales/extra/pis.js.map +1 -0
  1462. package/locales/extra/prg.d.ts +9 -0
  1463. package/locales/extra/prg.js +11 -0
  1464. package/locales/extra/prg.js.map +1 -0
  1465. package/locales/extra/quc.d.ts +9 -0
  1466. package/locales/extra/quc.js +11 -0
  1467. package/locales/extra/quc.js.map +1 -0
  1468. package/locales/extra/raj.d.ts +9 -0
  1469. package/locales/extra/raj.js +11 -0
  1470. package/locales/extra/raj.js.map +1 -0
  1471. package/locales/extra/rhg-Rohg-BD.d.ts +9 -0
  1472. package/locales/extra/rhg-Rohg-BD.js +11 -0
  1473. package/locales/extra/rhg-Rohg-BD.js.map +1 -0
  1474. package/locales/extra/rhg-Rohg.d.ts +9 -0
  1475. package/locales/extra/rhg-Rohg.js +11 -0
  1476. package/locales/extra/rhg-Rohg.js.map +1 -0
  1477. package/locales/extra/rhg.d.ts +9 -0
  1478. package/locales/extra/rhg.js +11 -0
  1479. package/locales/extra/rhg.js.map +1 -0
  1480. package/locales/extra/rif.d.ts +9 -0
  1481. package/locales/extra/rif.js +11 -0
  1482. package/locales/extra/rif.js.map +1 -0
  1483. package/locales/extra/ro.d.ts +1 -1
  1484. package/locales/extra/ro.js +1 -1
  1485. package/locales/extra/ro.js.map +1 -1
  1486. package/locales/extra/sat-Deva.d.ts +9 -0
  1487. package/locales/extra/sat-Deva.js +11 -0
  1488. package/locales/extra/sat-Deva.js.map +1 -0
  1489. package/locales/extra/scn.d.ts +9 -0
  1490. package/locales/extra/scn.js +11 -0
  1491. package/locales/extra/scn.js.map +1 -0
  1492. package/locales/extra/sdh-IQ.d.ts +9 -0
  1493. package/locales/extra/sdh-IQ.js +11 -0
  1494. package/locales/extra/sdh-IQ.js.map +1 -0
  1495. package/locales/extra/sdh.d.ts +9 -0
  1496. package/locales/extra/sdh.js +11 -0
  1497. package/locales/extra/sdh.js.map +1 -0
  1498. package/locales/extra/shn-TH.d.ts +9 -0
  1499. package/locales/extra/shn-TH.js +11 -0
  1500. package/locales/extra/shn-TH.js.map +1 -0
  1501. package/locales/extra/shn.d.ts +9 -0
  1502. package/locales/extra/shn.js +11 -0
  1503. package/locales/extra/shn.js.map +1 -0
  1504. package/locales/extra/sid.d.ts +9 -0
  1505. package/locales/extra/sid.js +11 -0
  1506. package/locales/extra/sid.js.map +1 -0
  1507. package/locales/extra/skr.d.ts +9 -0
  1508. package/locales/extra/skr.js +11 -0
  1509. package/locales/extra/skr.js.map +1 -0
  1510. package/locales/extra/sma-NO.d.ts +9 -0
  1511. package/locales/extra/sma-NO.js +11 -0
  1512. package/locales/extra/sma-NO.js.map +1 -0
  1513. package/locales/extra/sma.d.ts +9 -0
  1514. package/locales/extra/sma.js +11 -0
  1515. package/locales/extra/sma.js.map +1 -0
  1516. package/locales/extra/smj-NO.d.ts +9 -0
  1517. package/locales/extra/smj-NO.js +11 -0
  1518. package/locales/extra/smj-NO.js.map +1 -0
  1519. package/locales/extra/smj.d.ts +9 -0
  1520. package/locales/extra/smj.js +11 -0
  1521. package/locales/extra/smj.js.map +1 -0
  1522. package/locales/extra/sms.d.ts +9 -0
  1523. package/locales/extra/sms.js +11 -0
  1524. package/locales/extra/sms.js.map +1 -0
  1525. package/locales/extra/sr-Cyrl-BA.js +1 -1
  1526. package/locales/extra/sr-Cyrl-BA.js.map +1 -1
  1527. package/locales/extra/sr-Cyrl-ME.js +1 -1
  1528. package/locales/extra/sr-Cyrl-ME.js.map +1 -1
  1529. package/locales/extra/sr-Cyrl-XK.js +1 -1
  1530. package/locales/extra/sr-Cyrl-XK.js.map +1 -1
  1531. package/locales/extra/sr-Cyrl.js +1 -1
  1532. package/locales/extra/sr-Cyrl.js.map +1 -1
  1533. package/locales/extra/sr-Latn-BA.js +1 -1
  1534. package/locales/extra/sr-Latn-BA.js.map +1 -1
  1535. package/locales/extra/sr-Latn-ME.js +1 -1
  1536. package/locales/extra/sr-Latn-ME.js.map +1 -1
  1537. package/locales/extra/sr-Latn-XK.js +1 -1
  1538. package/locales/extra/sr-Latn-XK.js.map +1 -1
  1539. package/locales/extra/sr-Latn.js +1 -1
  1540. package/locales/extra/sr-Latn.js.map +1 -1
  1541. package/locales/extra/sr.js +1 -1
  1542. package/locales/extra/sr.js.map +1 -1
  1543. package/locales/extra/ss-SZ.d.ts +9 -0
  1544. package/locales/extra/ss-SZ.js +11 -0
  1545. package/locales/extra/ss-SZ.js.map +1 -0
  1546. package/locales/extra/ss.d.ts +9 -0
  1547. package/locales/extra/ss.js +11 -0
  1548. package/locales/extra/ss.js.map +1 -0
  1549. package/locales/extra/ssy.d.ts +9 -0
  1550. package/locales/extra/ssy.js +11 -0
  1551. package/locales/extra/ssy.js.map +1 -0
  1552. package/locales/extra/st-LS.d.ts +9 -0
  1553. package/locales/extra/st-LS.js +11 -0
  1554. package/locales/extra/st-LS.js.map +1 -0
  1555. package/locales/extra/st.d.ts +9 -0
  1556. package/locales/extra/st.js +11 -0
  1557. package/locales/extra/st.js.map +1 -0
  1558. package/locales/extra/syr-SY.d.ts +9 -0
  1559. package/locales/extra/syr-SY.js +11 -0
  1560. package/locales/extra/syr-SY.js.map +1 -0
  1561. package/locales/extra/syr.d.ts +9 -0
  1562. package/locales/extra/syr.js +11 -0
  1563. package/locales/extra/syr.js.map +1 -0
  1564. package/locales/extra/szl.d.ts +9 -0
  1565. package/locales/extra/szl.js +11 -0
  1566. package/locales/extra/szl.js.map +1 -0
  1567. package/locales/extra/th.js +1 -1
  1568. package/locales/extra/th.js.map +1 -1
  1569. package/locales/extra/tig.d.ts +9 -0
  1570. package/locales/extra/tig.js +11 -0
  1571. package/locales/extra/tig.js.map +1 -0
  1572. package/locales/extra/tn-BW.d.ts +9 -0
  1573. package/locales/extra/tn-BW.js +11 -0
  1574. package/locales/extra/tn-BW.js.map +1 -0
  1575. package/locales/extra/tn.d.ts +9 -0
  1576. package/locales/extra/tn.js +11 -0
  1577. package/locales/extra/tn.js.map +1 -0
  1578. package/locales/extra/tok.d.ts +9 -0
  1579. package/locales/extra/tok.js +11 -0
  1580. package/locales/extra/tok.js.map +1 -0
  1581. package/locales/extra/tpi.d.ts +9 -0
  1582. package/locales/extra/tpi.js +11 -0
  1583. package/locales/extra/tpi.js.map +1 -0
  1584. package/locales/extra/trv.d.ts +9 -0
  1585. package/locales/extra/trv.js +11 -0
  1586. package/locales/extra/trv.js.map +1 -0
  1587. package/locales/extra/trw.d.ts +9 -0
  1588. package/locales/extra/trw.js +11 -0
  1589. package/locales/extra/trw.js.map +1 -0
  1590. package/locales/extra/ts.d.ts +9 -0
  1591. package/locales/extra/ts.js +11 -0
  1592. package/locales/extra/ts.js.map +1 -0
  1593. package/locales/extra/tyv.d.ts +9 -0
  1594. package/locales/extra/tyv.js +11 -0
  1595. package/locales/extra/tyv.js.map +1 -0
  1596. package/locales/extra/uk.js +1 -1
  1597. package/locales/extra/uk.js.map +1 -1
  1598. package/locales/extra/und.js +1 -1
  1599. package/locales/extra/und.js.map +1 -1
  1600. package/locales/extra/ve.d.ts +9 -0
  1601. package/locales/extra/ve.js +11 -0
  1602. package/locales/extra/ve.js.map +1 -0
  1603. package/locales/extra/vec.d.ts +9 -0
  1604. package/locales/extra/vec.js +11 -0
  1605. package/locales/extra/vec.js.map +1 -0
  1606. package/locales/extra/vi.d.ts +1 -1
  1607. package/locales/extra/vi.js +1 -1
  1608. package/locales/extra/vi.js.map +1 -1
  1609. package/locales/extra/vmw.d.ts +9 -0
  1610. package/locales/extra/vmw.js +11 -0
  1611. package/locales/extra/vmw.js.map +1 -0
  1612. package/locales/extra/vo.d.ts +9 -0
  1613. package/locales/extra/vo.js +11 -0
  1614. package/locales/extra/vo.js.map +1 -0
  1615. package/locales/extra/wa.d.ts +9 -0
  1616. package/locales/extra/wa.js +11 -0
  1617. package/locales/extra/wa.js.map +1 -0
  1618. package/locales/extra/wal.d.ts +9 -0
  1619. package/locales/extra/wal.js +11 -0
  1620. package/locales/extra/wal.js.map +1 -0
  1621. package/locales/extra/wbp.d.ts +9 -0
  1622. package/locales/extra/wbp.js +11 -0
  1623. package/locales/extra/wbp.js.map +1 -0
  1624. package/locales/extra/xnr.d.ts +9 -0
  1625. package/locales/extra/xnr.js +11 -0
  1626. package/locales/extra/xnr.js.map +1 -0
  1627. package/locales/extra/yue-Hant-CN.d.ts +9 -0
  1628. package/locales/extra/yue-Hant-CN.js +11 -0
  1629. package/locales/extra/yue-Hant-CN.js.map +1 -0
  1630. package/locales/extra/yue-Hant-MO.d.ts +9 -0
  1631. package/locales/extra/yue-Hant-MO.js +11 -0
  1632. package/locales/extra/yue-Hant-MO.js.map +1 -0
  1633. package/locales/extra/za.d.ts +9 -0
  1634. package/locales/extra/za.js +11 -0
  1635. package/locales/extra/za.js.map +1 -0
  1636. package/locales/extra/zh-Hans-MY.d.ts +9 -0
  1637. package/locales/extra/zh-Hans-MY.js +11 -0
  1638. package/locales/extra/zh-Hans-MY.js.map +1 -0
  1639. package/locales/extra/zh-Hant-MY.d.ts +9 -0
  1640. package/locales/extra/zh-Hant-MY.js +11 -0
  1641. package/locales/extra/zh-Hant-MY.js.map +1 -0
  1642. package/locales/extra/zh-Latn.d.ts +9 -0
  1643. package/locales/extra/zh-Latn.js +11 -0
  1644. package/locales/extra/zh-Latn.js.map +1 -0
  1645. package/locales/fa-AF.js +1 -1
  1646. package/locales/fa-AF.js.map +1 -1
  1647. package/locales/fa.js +1 -1
  1648. package/locales/fa.js.map +1 -1
  1649. package/locales/ff-Adlm-BF.d.ts +1 -0
  1650. package/locales/ff-Adlm-BF.js +1 -1
  1651. package/locales/ff-Adlm-BF.js.map +1 -1
  1652. package/locales/ff-Adlm-CM.d.ts +1 -0
  1653. package/locales/ff-Adlm-CM.js +1 -1
  1654. package/locales/ff-Adlm-CM.js.map +1 -1
  1655. package/locales/ff-Adlm-GH.d.ts +1 -0
  1656. package/locales/ff-Adlm-GH.js +1 -1
  1657. package/locales/ff-Adlm-GH.js.map +1 -1
  1658. package/locales/ff-Adlm-GM.d.ts +1 -0
  1659. package/locales/ff-Adlm-GM.js +1 -1
  1660. package/locales/ff-Adlm-GM.js.map +1 -1
  1661. package/locales/ff-Adlm-GW.d.ts +1 -0
  1662. package/locales/ff-Adlm-GW.js +1 -1
  1663. package/locales/ff-Adlm-GW.js.map +1 -1
  1664. package/locales/ff-Adlm-LR.d.ts +1 -0
  1665. package/locales/ff-Adlm-LR.js +1 -1
  1666. package/locales/ff-Adlm-LR.js.map +1 -1
  1667. package/locales/ff-Adlm-MR.d.ts +1 -0
  1668. package/locales/ff-Adlm-MR.js +1 -1
  1669. package/locales/ff-Adlm-MR.js.map +1 -1
  1670. package/locales/ff-Adlm-NE.d.ts +1 -0
  1671. package/locales/ff-Adlm-NE.js +1 -1
  1672. package/locales/ff-Adlm-NE.js.map +1 -1
  1673. package/locales/ff-Adlm-NG.d.ts +1 -0
  1674. package/locales/ff-Adlm-NG.js +1 -1
  1675. package/locales/ff-Adlm-NG.js.map +1 -1
  1676. package/locales/ff-Adlm-SL.d.ts +2 -1
  1677. package/locales/ff-Adlm-SL.js +1 -1
  1678. package/locales/ff-Adlm-SL.js.map +1 -1
  1679. package/locales/ff-Adlm-SN.d.ts +1 -0
  1680. package/locales/ff-Adlm-SN.js +1 -1
  1681. package/locales/ff-Adlm-SN.js.map +1 -1
  1682. package/locales/ff-Adlm.d.ts +1 -0
  1683. package/locales/ff-Adlm.js +1 -1
  1684. package/locales/ff-Adlm.js.map +1 -1
  1685. package/locales/ff-Latn-BF.js +1 -1
  1686. package/locales/ff-Latn-BF.js.map +1 -1
  1687. package/locales/ff-Latn-CM.js +1 -1
  1688. package/locales/ff-Latn-CM.js.map +1 -1
  1689. package/locales/ff-Latn-GH.js +1 -1
  1690. package/locales/ff-Latn-GH.js.map +1 -1
  1691. package/locales/ff-Latn-GM.js +1 -1
  1692. package/locales/ff-Latn-GM.js.map +1 -1
  1693. package/locales/ff-Latn-GN.js +1 -1
  1694. package/locales/ff-Latn-GN.js.map +1 -1
  1695. package/locales/ff-Latn-GW.js +1 -1
  1696. package/locales/ff-Latn-GW.js.map +1 -1
  1697. package/locales/ff-Latn-LR.js +1 -1
  1698. package/locales/ff-Latn-LR.js.map +1 -1
  1699. package/locales/ff-Latn-MR.js +1 -1
  1700. package/locales/ff-Latn-MR.js.map +1 -1
  1701. package/locales/ff-Latn-NE.js +1 -1
  1702. package/locales/ff-Latn-NE.js.map +1 -1
  1703. package/locales/ff-Latn-NG.js +1 -1
  1704. package/locales/ff-Latn-NG.js.map +1 -1
  1705. package/locales/ff-Latn-SL.d.ts +1 -1
  1706. package/locales/ff-Latn-SL.js +1 -1
  1707. package/locales/ff-Latn-SL.js.map +1 -1
  1708. package/locales/ff-Latn.js +1 -1
  1709. package/locales/ff-Latn.js.map +1 -1
  1710. package/locales/ff.js +1 -1
  1711. package/locales/ff.js.map +1 -1
  1712. package/locales/fi.d.ts +77 -77
  1713. package/locales/fi.js +1 -1
  1714. package/locales/fi.js.map +1 -1
  1715. package/locales/fil.js +1 -1
  1716. package/locales/fil.js.map +1 -1
  1717. package/locales/fo-DK.d.ts +1 -1
  1718. package/locales/fo-DK.js +1 -1
  1719. package/locales/fo-DK.js.map +1 -1
  1720. package/locales/fo.d.ts +1 -1
  1721. package/locales/fo.js +1 -1
  1722. package/locales/fo.js.map +1 -1
  1723. package/locales/fr-BE.js +1 -1
  1724. package/locales/fr-BE.js.map +1 -1
  1725. package/locales/fr-BF.js +1 -1
  1726. package/locales/fr-BF.js.map +1 -1
  1727. package/locales/fr-BI.js +1 -1
  1728. package/locales/fr-BI.js.map +1 -1
  1729. package/locales/fr-BJ.js +1 -1
  1730. package/locales/fr-BJ.js.map +1 -1
  1731. package/locales/fr-BL.js +1 -1
  1732. package/locales/fr-BL.js.map +1 -1
  1733. package/locales/fr-CA.d.ts +1 -1
  1734. package/locales/fr-CA.js +1 -1
  1735. package/locales/fr-CA.js.map +1 -1
  1736. package/locales/fr-CD.js +1 -1
  1737. package/locales/fr-CD.js.map +1 -1
  1738. package/locales/fr-CF.js +1 -1
  1739. package/locales/fr-CF.js.map +1 -1
  1740. package/locales/fr-CG.js +1 -1
  1741. package/locales/fr-CG.js.map +1 -1
  1742. package/locales/fr-CH.js +1 -1
  1743. package/locales/fr-CH.js.map +1 -1
  1744. package/locales/fr-CI.js +1 -1
  1745. package/locales/fr-CI.js.map +1 -1
  1746. package/locales/fr-CM.js +1 -1
  1747. package/locales/fr-CM.js.map +1 -1
  1748. package/locales/fr-DJ.js +1 -1
  1749. package/locales/fr-DJ.js.map +1 -1
  1750. package/locales/fr-DZ.js +1 -1
  1751. package/locales/fr-DZ.js.map +1 -1
  1752. package/locales/fr-GA.js +1 -1
  1753. package/locales/fr-GA.js.map +1 -1
  1754. package/locales/fr-GF.js +1 -1
  1755. package/locales/fr-GF.js.map +1 -1
  1756. package/locales/fr-GN.js +1 -1
  1757. package/locales/fr-GN.js.map +1 -1
  1758. package/locales/fr-GP.js +1 -1
  1759. package/locales/fr-GP.js.map +1 -1
  1760. package/locales/fr-GQ.js +1 -1
  1761. package/locales/fr-GQ.js.map +1 -1
  1762. package/locales/fr-HT.js +1 -1
  1763. package/locales/fr-HT.js.map +1 -1
  1764. package/locales/fr-KM.js +1 -1
  1765. package/locales/fr-KM.js.map +1 -1
  1766. package/locales/fr-LU.js +1 -1
  1767. package/locales/fr-LU.js.map +1 -1
  1768. package/locales/fr-MA.js +1 -1
  1769. package/locales/fr-MA.js.map +1 -1
  1770. package/locales/fr-MC.js +1 -1
  1771. package/locales/fr-MC.js.map +1 -1
  1772. package/locales/fr-MF.js +1 -1
  1773. package/locales/fr-MF.js.map +1 -1
  1774. package/locales/fr-MG.js +1 -1
  1775. package/locales/fr-MG.js.map +1 -1
  1776. package/locales/fr-ML.js +1 -1
  1777. package/locales/fr-ML.js.map +1 -1
  1778. package/locales/fr-MQ.js +1 -1
  1779. package/locales/fr-MQ.js.map +1 -1
  1780. package/locales/fr-MR.js +1 -1
  1781. package/locales/fr-MR.js.map +1 -1
  1782. package/locales/fr-MU.js +1 -1
  1783. package/locales/fr-MU.js.map +1 -1
  1784. package/locales/fr-NC.js +1 -1
  1785. package/locales/fr-NC.js.map +1 -1
  1786. package/locales/fr-NE.js +1 -1
  1787. package/locales/fr-NE.js.map +1 -1
  1788. package/locales/fr-PF.js +1 -1
  1789. package/locales/fr-PF.js.map +1 -1
  1790. package/locales/fr-PM.js +1 -1
  1791. package/locales/fr-PM.js.map +1 -1
  1792. package/locales/fr-RE.js +1 -1
  1793. package/locales/fr-RE.js.map +1 -1
  1794. package/locales/fr-RW.js +1 -1
  1795. package/locales/fr-RW.js.map +1 -1
  1796. package/locales/fr-SC.js +1 -1
  1797. package/locales/fr-SC.js.map +1 -1
  1798. package/locales/fr-SN.js +1 -1
  1799. package/locales/fr-SN.js.map +1 -1
  1800. package/locales/fr-SY.js +1 -1
  1801. package/locales/fr-SY.js.map +1 -1
  1802. package/locales/fr-TD.js +1 -1
  1803. package/locales/fr-TD.js.map +1 -1
  1804. package/locales/fr-TG.js +1 -1
  1805. package/locales/fr-TG.js.map +1 -1
  1806. package/locales/fr-TN.js +1 -1
  1807. package/locales/fr-TN.js.map +1 -1
  1808. package/locales/fr-VU.js +1 -1
  1809. package/locales/fr-VU.js.map +1 -1
  1810. package/locales/fr-WF.js +1 -1
  1811. package/locales/fr-WF.js.map +1 -1
  1812. package/locales/fr-YT.js +1 -1
  1813. package/locales/fr-YT.js.map +1 -1
  1814. package/locales/fr.js +1 -1
  1815. package/locales/fr.js.map +1 -1
  1816. package/locales/frr.d.ts +13 -0
  1817. package/locales/frr.js +15 -0
  1818. package/locales/frr.js.map +1 -0
  1819. package/locales/fur.d.ts +1 -1
  1820. package/locales/fur.js +1 -1
  1821. package/locales/fur.js.map +1 -1
  1822. package/locales/fy.d.ts +1 -1
  1823. package/locales/fy.js +1 -1
  1824. package/locales/fy.js.map +1 -1
  1825. package/locales/ga-GB.js +1 -1
  1826. package/locales/ga-GB.js.map +1 -1
  1827. package/locales/ga.js +1 -1
  1828. package/locales/ga.js.map +1 -1
  1829. package/locales/gaa.d.ts +13 -0
  1830. package/locales/gaa.js +15 -0
  1831. package/locales/gaa.js.map +1 -0
  1832. package/locales/gd.d.ts +1 -1
  1833. package/locales/gd.js +1 -1
  1834. package/locales/gd.js.map +1 -1
  1835. package/locales/gez-ER.d.ts +14 -0
  1836. package/locales/gez-ER.js +15 -0
  1837. package/locales/gez-ER.js.map +1 -0
  1838. package/locales/gez.d.ts +13 -0
  1839. package/locales/gez.js +15 -0
  1840. package/locales/gez.js.map +1 -0
  1841. package/locales/gl.js +1 -1
  1842. package/locales/gl.js.map +1 -1
  1843. package/locales/global/aa-DJ.js +22 -0
  1844. package/locales/global/aa-ER.js +22 -0
  1845. package/locales/global/aa.js +22 -0
  1846. package/locales/global/ab.js +22 -0
  1847. package/locales/global/af-NA.js +1 -1
  1848. package/locales/global/af.js +1 -1
  1849. package/locales/global/agq.js +1 -1
  1850. package/locales/global/ak.js +1 -1
  1851. package/locales/global/am.js +1 -1
  1852. package/locales/global/an.js +24 -0
  1853. package/locales/global/ann.js +22 -0
  1854. package/locales/global/apc.js +22 -0
  1855. package/locales/global/ar-AE.js +1 -1
  1856. package/locales/global/ar-BH.js +1 -1
  1857. package/locales/global/ar-DJ.js +1 -1
  1858. package/locales/global/ar-DZ.js +1 -1
  1859. package/locales/global/ar-EG.js +1 -1
  1860. package/locales/global/ar-EH.js +1 -1
  1861. package/locales/global/ar-ER.js +1 -1
  1862. package/locales/global/ar-IL.js +1 -1
  1863. package/locales/global/ar-IQ.js +1 -1
  1864. package/locales/global/ar-JO.js +1 -1
  1865. package/locales/global/ar-KM.js +1 -1
  1866. package/locales/global/ar-KW.js +1 -1
  1867. package/locales/global/ar-LB.js +1 -1
  1868. package/locales/global/ar-LY.js +1 -1
  1869. package/locales/global/ar-MA.js +1 -1
  1870. package/locales/global/ar-MR.js +1 -1
  1871. package/locales/global/ar-OM.js +1 -1
  1872. package/locales/global/ar-PS.js +1 -1
  1873. package/locales/global/ar-QA.js +1 -1
  1874. package/locales/global/ar-SA.js +1 -1
  1875. package/locales/global/ar-SD.js +1 -1
  1876. package/locales/global/ar-SO.js +1 -1
  1877. package/locales/global/ar-SS.js +1 -1
  1878. package/locales/global/ar-SY.js +1 -1
  1879. package/locales/global/ar-TD.js +1 -1
  1880. package/locales/global/ar-TN.js +1 -1
  1881. package/locales/global/ar-YE.js +1 -1
  1882. package/locales/global/ar.js +1 -1
  1883. package/locales/global/arn.js +22 -0
  1884. package/locales/global/as.js +1 -1
  1885. package/locales/global/asa.js +1 -1
  1886. package/locales/global/ast.js +1 -1
  1887. package/locales/global/az-Arab-IQ.js +22 -0
  1888. package/locales/global/az-Arab-TR.js +22 -0
  1889. package/locales/global/az-Arab.js +22 -0
  1890. package/locales/global/az-Cyrl.js +1 -1
  1891. package/locales/global/az-Latn.js +1 -1
  1892. package/locales/global/az.js +1 -1
  1893. package/locales/global/ba.js +22 -0
  1894. package/locales/global/bal-Arab.js +24 -0
  1895. package/locales/global/bal-Latn.js +22 -0
  1896. package/locales/global/bal.js +24 -0
  1897. package/locales/global/bas.js +1 -1
  1898. package/locales/global/be-tarask.js +1 -1
  1899. package/locales/global/be.js +1 -1
  1900. package/locales/global/bem.js +1 -1
  1901. package/locales/global/bew.js +22 -0
  1902. package/locales/global/bez.js +1 -1
  1903. package/locales/global/bg.js +1 -1
  1904. package/locales/global/bgc.js +22 -0
  1905. package/locales/global/bgn-AE.js +22 -0
  1906. package/locales/global/bgn-AF.js +22 -0
  1907. package/locales/global/bgn-IR.js +22 -0
  1908. package/locales/global/bgn-OM.js +22 -0
  1909. package/locales/global/bgn.js +22 -0
  1910. package/locales/global/bho.js +24 -0
  1911. package/locales/global/blo.js +26 -0
  1912. package/locales/global/blt.js +22 -0
  1913. package/locales/global/bm-Nkoo.js +22 -0
  1914. package/locales/global/bm.js +1 -1
  1915. package/locales/global/bn-IN.js +1 -1
  1916. package/locales/global/bn.js +1 -1
  1917. package/locales/global/bo-IN.js +1 -1
  1918. package/locales/global/bo.js +1 -1
  1919. package/locales/global/br.js +1 -1
  1920. package/locales/global/brx.js +1 -1
  1921. package/locales/global/bs-Cyrl.js +1 -1
  1922. package/locales/global/bs-Latn.js +1 -1
  1923. package/locales/global/bs.js +1 -1
  1924. package/locales/global/bss.js +22 -0
  1925. package/locales/global/byn.js +22 -0
  1926. package/locales/global/ca-AD.js +4 -2
  1927. package/locales/global/ca-ES-valencia.js +4 -2
  1928. package/locales/global/ca-FR.js +4 -2
  1929. package/locales/global/ca-IT.js +4 -2
  1930. package/locales/global/ca.js +4 -2
  1931. package/locales/global/cad.js +22 -0
  1932. package/locales/global/cch.js +22 -0
  1933. package/locales/global/ccp-IN.js +1 -1
  1934. package/locales/global/ccp.js +1 -1
  1935. package/locales/global/ce.js +1 -1
  1936. package/locales/global/ceb.js +1 -1
  1937. package/locales/global/cgg.js +1 -1
  1938. package/locales/global/cho.js +22 -0
  1939. package/locales/global/chr.js +1 -1
  1940. package/locales/global/cic.js +22 -0
  1941. package/locales/global/ckb-IR.js +1 -1
  1942. package/locales/global/ckb.js +1 -1
  1943. package/locales/global/co.js +22 -0
  1944. package/locales/global/cop.js +22 -0
  1945. package/locales/global/cs.js +1 -1
  1946. package/locales/global/csw.js +24 -0
  1947. package/locales/global/cu.js +22 -0
  1948. package/locales/global/cv.js +22 -0
  1949. package/locales/global/cy.js +1 -1
  1950. package/locales/global/da-GL.js +1 -1
  1951. package/locales/global/da.js +1 -1
  1952. package/locales/global/dav.js +1 -1
  1953. package/locales/global/de-AT.js +1 -1
  1954. package/locales/global/de-BE.js +1 -1
  1955. package/locales/global/de-CH.js +1 -1
  1956. package/locales/global/de-IT.js +1 -1
  1957. package/locales/global/de-LI.js +1 -1
  1958. package/locales/global/de-LU.js +1 -1
  1959. package/locales/global/de.js +1 -1
  1960. package/locales/global/dje.js +1 -1
  1961. package/locales/global/doi.js +1 -1
  1962. package/locales/global/dsb.js +1 -1
  1963. package/locales/global/dua.js +1 -1
  1964. package/locales/global/dv.js +24 -0
  1965. package/locales/global/dyo.js +1 -1
  1966. package/locales/global/dz.js +1 -1
  1967. package/locales/global/ebu.js +1 -1
  1968. package/locales/global/ee-TG.js +1 -1
  1969. package/locales/global/ee.js +1 -1
  1970. package/locales/global/el-CY.js +1 -1
  1971. package/locales/global/el-polyton.js +24 -0
  1972. package/locales/global/el.js +1 -1
  1973. package/locales/global/en-001.js +1 -1
  1974. package/locales/global/en-150.js +1 -1
  1975. package/locales/global/en-AE.js +1 -1
  1976. package/locales/global/en-AG.js +1 -1
  1977. package/locales/global/en-AI.js +1 -1
  1978. package/locales/global/en-AS.js +1 -1
  1979. package/locales/global/en-AT.js +1 -1
  1980. package/locales/global/en-AU.js +1 -1
  1981. package/locales/global/en-BB.js +1 -1
  1982. package/locales/global/en-BE.js +1 -1
  1983. package/locales/global/en-BI.js +1 -1
  1984. package/locales/global/en-BM.js +1 -1
  1985. package/locales/global/en-BS.js +1 -1
  1986. package/locales/global/en-BW.js +1 -1
  1987. package/locales/global/en-BZ.js +1 -1
  1988. package/locales/global/en-CA.js +1 -1
  1989. package/locales/global/en-CC.js +1 -1
  1990. package/locales/global/en-CH.js +1 -1
  1991. package/locales/global/en-CK.js +1 -1
  1992. package/locales/global/en-CM.js +1 -1
  1993. package/locales/global/en-CX.js +1 -1
  1994. package/locales/global/en-CY.js +1 -1
  1995. package/locales/global/en-CZ.js +24 -0
  1996. package/locales/global/en-DE.js +1 -1
  1997. package/locales/global/en-DG.js +1 -1
  1998. package/locales/global/en-DK.js +1 -1
  1999. package/locales/global/en-DM.js +1 -1
  2000. package/locales/global/en-Dsrt.js +22 -0
  2001. package/locales/global/en-ER.js +1 -1
  2002. package/locales/global/en-ES.js +24 -0
  2003. package/locales/global/en-FI.js +1 -1
  2004. package/locales/global/en-FJ.js +1 -1
  2005. package/locales/global/en-FK.js +1 -1
  2006. package/locales/global/en-FM.js +1 -1
  2007. package/locales/global/en-FR.js +24 -0
  2008. package/locales/global/en-GB.js +1 -1
  2009. package/locales/global/en-GD.js +1 -1
  2010. package/locales/global/en-GG.js +1 -1
  2011. package/locales/global/en-GH.js +1 -1
  2012. package/locales/global/en-GI.js +1 -1
  2013. package/locales/global/en-GM.js +1 -1
  2014. package/locales/global/en-GS.js +24 -0
  2015. package/locales/global/en-GU.js +1 -1
  2016. package/locales/global/en-GY.js +1 -1
  2017. package/locales/global/en-HK.js +1 -1
  2018. package/locales/global/en-HU.js +24 -0
  2019. package/locales/global/en-ID.js +24 -0
  2020. package/locales/global/en-IE.js +1 -1
  2021. package/locales/global/en-IL.js +1 -1
  2022. package/locales/global/en-IM.js +1 -1
  2023. package/locales/global/en-IN.js +1 -1
  2024. package/locales/global/en-IO.js +1 -1
  2025. package/locales/global/en-IT.js +24 -0
  2026. package/locales/global/en-JE.js +1 -1
  2027. package/locales/global/en-JM.js +1 -1
  2028. package/locales/global/en-KE.js +1 -1
  2029. package/locales/global/en-KI.js +1 -1
  2030. package/locales/global/en-KN.js +1 -1
  2031. package/locales/global/en-KY.js +1 -1
  2032. package/locales/global/en-LC.js +1 -1
  2033. package/locales/global/en-LR.js +1 -1
  2034. package/locales/global/en-LS.js +1 -1
  2035. package/locales/global/en-MG.js +1 -1
  2036. package/locales/global/en-MH.js +1 -1
  2037. package/locales/global/en-MO.js +1 -1
  2038. package/locales/global/en-MP.js +1 -1
  2039. package/locales/global/en-MS.js +1 -1
  2040. package/locales/global/en-MT.js +1 -1
  2041. package/locales/global/en-MU.js +1 -1
  2042. package/locales/global/en-MV.js +1 -1
  2043. package/locales/global/en-MW.js +1 -1
  2044. package/locales/global/en-MY.js +1 -1
  2045. package/locales/global/en-NA.js +1 -1
  2046. package/locales/global/en-NF.js +1 -1
  2047. package/locales/global/en-NG.js +1 -1
  2048. package/locales/global/en-NL.js +1 -1
  2049. package/locales/global/en-NO.js +24 -0
  2050. package/locales/global/en-NR.js +1 -1
  2051. package/locales/global/en-NU.js +1 -1
  2052. package/locales/global/en-NZ.js +1 -1
  2053. package/locales/global/en-PG.js +1 -1
  2054. package/locales/global/en-PH.js +1 -1
  2055. package/locales/global/en-PK.js +1 -1
  2056. package/locales/global/en-PL.js +24 -0
  2057. package/locales/global/en-PN.js +1 -1
  2058. package/locales/global/en-PR.js +1 -1
  2059. package/locales/global/en-PT.js +24 -0
  2060. package/locales/global/en-PW.js +1 -1
  2061. package/locales/global/en-RO.js +24 -0
  2062. package/locales/global/en-RW.js +1 -1
  2063. package/locales/global/en-SB.js +1 -1
  2064. package/locales/global/en-SC.js +1 -1
  2065. package/locales/global/en-SD.js +1 -1
  2066. package/locales/global/en-SE.js +1 -1
  2067. package/locales/global/en-SG.js +1 -1
  2068. package/locales/global/en-SH.js +1 -1
  2069. package/locales/global/en-SI.js +1 -1
  2070. package/locales/global/en-SK.js +24 -0
  2071. package/locales/global/en-SL.js +1 -1
  2072. package/locales/global/en-SS.js +1 -1
  2073. package/locales/global/en-SX.js +1 -1
  2074. package/locales/global/en-SZ.js +1 -1
  2075. package/locales/global/en-Shaw.js +22 -0
  2076. package/locales/global/en-TC.js +1 -1
  2077. package/locales/global/en-TK.js +1 -1
  2078. package/locales/global/en-TO.js +1 -1
  2079. package/locales/global/en-TT.js +1 -1
  2080. package/locales/global/en-TV.js +1 -1
  2081. package/locales/global/en-TZ.js +1 -1
  2082. package/locales/global/en-UG.js +1 -1
  2083. package/locales/global/en-UM.js +1 -1
  2084. package/locales/global/en-VC.js +1 -1
  2085. package/locales/global/en-VG.js +1 -1
  2086. package/locales/global/en-VI.js +1 -1
  2087. package/locales/global/en-VU.js +1 -1
  2088. package/locales/global/en-WS.js +1 -1
  2089. package/locales/global/en-ZA.js +1 -1
  2090. package/locales/global/en-ZM.js +1 -1
  2091. package/locales/global/en-ZW.js +1 -1
  2092. package/locales/global/en.js +1 -1
  2093. package/locales/global/eo.js +1 -1
  2094. package/locales/global/es-419.js +1 -1
  2095. package/locales/global/es-AR.js +1 -1
  2096. package/locales/global/es-BO.js +1 -1
  2097. package/locales/global/es-BR.js +1 -1
  2098. package/locales/global/es-BZ.js +1 -1
  2099. package/locales/global/es-CL.js +1 -1
  2100. package/locales/global/es-CO.js +1 -1
  2101. package/locales/global/es-CR.js +1 -1
  2102. package/locales/global/es-CU.js +1 -1
  2103. package/locales/global/es-DO.js +1 -1
  2104. package/locales/global/es-EA.js +1 -1
  2105. package/locales/global/es-EC.js +1 -1
  2106. package/locales/global/es-GQ.js +1 -1
  2107. package/locales/global/es-GT.js +1 -1
  2108. package/locales/global/es-HN.js +1 -1
  2109. package/locales/global/es-IC.js +1 -1
  2110. package/locales/global/es-MX.js +1 -1
  2111. package/locales/global/es-NI.js +1 -1
  2112. package/locales/global/es-PA.js +1 -1
  2113. package/locales/global/es-PE.js +1 -1
  2114. package/locales/global/es-PH.js +1 -1
  2115. package/locales/global/es-PR.js +1 -1
  2116. package/locales/global/es-PY.js +1 -1
  2117. package/locales/global/es-SV.js +1 -1
  2118. package/locales/global/es-US.js +1 -1
  2119. package/locales/global/es-UY.js +1 -1
  2120. package/locales/global/es-VE.js +1 -1
  2121. package/locales/global/es.js +1 -1
  2122. package/locales/global/et.js +1 -1
  2123. package/locales/global/eu.js +1 -1
  2124. package/locales/global/ewo.js +1 -1
  2125. package/locales/global/fa-AF.js +1 -1
  2126. package/locales/global/fa.js +1 -1
  2127. package/locales/global/ff-Adlm-BF.js +1 -1
  2128. package/locales/global/ff-Adlm-CM.js +1 -1
  2129. package/locales/global/ff-Adlm-GH.js +1 -1
  2130. package/locales/global/ff-Adlm-GM.js +1 -1
  2131. package/locales/global/ff-Adlm-GW.js +1 -1
  2132. package/locales/global/ff-Adlm-LR.js +1 -1
  2133. package/locales/global/ff-Adlm-MR.js +1 -1
  2134. package/locales/global/ff-Adlm-NE.js +1 -1
  2135. package/locales/global/ff-Adlm-NG.js +1 -1
  2136. package/locales/global/ff-Adlm-SL.js +1 -1
  2137. package/locales/global/ff-Adlm-SN.js +1 -1
  2138. package/locales/global/ff-Adlm.js +1 -1
  2139. package/locales/global/ff-Latn-BF.js +1 -1
  2140. package/locales/global/ff-Latn-CM.js +1 -1
  2141. package/locales/global/ff-Latn-GH.js +1 -1
  2142. package/locales/global/ff-Latn-GM.js +1 -1
  2143. package/locales/global/ff-Latn-GN.js +1 -1
  2144. package/locales/global/ff-Latn-GW.js +1 -1
  2145. package/locales/global/ff-Latn-LR.js +1 -1
  2146. package/locales/global/ff-Latn-MR.js +1 -1
  2147. package/locales/global/ff-Latn-NE.js +1 -1
  2148. package/locales/global/ff-Latn-NG.js +1 -1
  2149. package/locales/global/ff-Latn-SL.js +1 -1
  2150. package/locales/global/ff-Latn.js +1 -1
  2151. package/locales/global/ff.js +1 -1
  2152. package/locales/global/fi.js +1 -1
  2153. package/locales/global/fil.js +1 -1
  2154. package/locales/global/fo-DK.js +1 -1
  2155. package/locales/global/fo.js +1 -1
  2156. package/locales/global/fr-BE.js +1 -1
  2157. package/locales/global/fr-BF.js +1 -1
  2158. package/locales/global/fr-BI.js +1 -1
  2159. package/locales/global/fr-BJ.js +1 -1
  2160. package/locales/global/fr-BL.js +1 -1
  2161. package/locales/global/fr-CA.js +1 -1
  2162. package/locales/global/fr-CD.js +1 -1
  2163. package/locales/global/fr-CF.js +1 -1
  2164. package/locales/global/fr-CG.js +1 -1
  2165. package/locales/global/fr-CH.js +1 -1
  2166. package/locales/global/fr-CI.js +1 -1
  2167. package/locales/global/fr-CM.js +1 -1
  2168. package/locales/global/fr-DJ.js +1 -1
  2169. package/locales/global/fr-DZ.js +1 -1
  2170. package/locales/global/fr-GA.js +1 -1
  2171. package/locales/global/fr-GF.js +1 -1
  2172. package/locales/global/fr-GN.js +1 -1
  2173. package/locales/global/fr-GP.js +1 -1
  2174. package/locales/global/fr-GQ.js +1 -1
  2175. package/locales/global/fr-HT.js +1 -1
  2176. package/locales/global/fr-KM.js +1 -1
  2177. package/locales/global/fr-LU.js +1 -1
  2178. package/locales/global/fr-MA.js +1 -1
  2179. package/locales/global/fr-MC.js +1 -1
  2180. package/locales/global/fr-MF.js +1 -1
  2181. package/locales/global/fr-MG.js +1 -1
  2182. package/locales/global/fr-ML.js +1 -1
  2183. package/locales/global/fr-MQ.js +1 -1
  2184. package/locales/global/fr-MR.js +1 -1
  2185. package/locales/global/fr-MU.js +1 -1
  2186. package/locales/global/fr-NC.js +1 -1
  2187. package/locales/global/fr-NE.js +1 -1
  2188. package/locales/global/fr-PF.js +1 -1
  2189. package/locales/global/fr-PM.js +1 -1
  2190. package/locales/global/fr-RE.js +1 -1
  2191. package/locales/global/fr-RW.js +1 -1
  2192. package/locales/global/fr-SC.js +1 -1
  2193. package/locales/global/fr-SN.js +1 -1
  2194. package/locales/global/fr-SY.js +1 -1
  2195. package/locales/global/fr-TD.js +1 -1
  2196. package/locales/global/fr-TG.js +1 -1
  2197. package/locales/global/fr-TN.js +1 -1
  2198. package/locales/global/fr-VU.js +1 -1
  2199. package/locales/global/fr-WF.js +1 -1
  2200. package/locales/global/fr-YT.js +1 -1
  2201. package/locales/global/fr.js +1 -1
  2202. package/locales/global/frr.js +22 -0
  2203. package/locales/global/fur.js +1 -1
  2204. package/locales/global/fy.js +1 -1
  2205. package/locales/global/ga-GB.js +1 -1
  2206. package/locales/global/ga.js +1 -1
  2207. package/locales/global/gaa.js +22 -0
  2208. package/locales/global/gd.js +1 -1
  2209. package/locales/global/gez-ER.js +22 -0
  2210. package/locales/global/gez.js +22 -0
  2211. package/locales/global/gl.js +1 -1
  2212. package/locales/global/gn.js +22 -0
  2213. package/locales/global/gsw-FR.js +1 -1
  2214. package/locales/global/gsw-LI.js +1 -1
  2215. package/locales/global/gsw.js +1 -1
  2216. package/locales/global/gu.js +1 -1
  2217. package/locales/global/guz.js +1 -1
  2218. package/locales/global/gv.js +1 -1
  2219. package/locales/global/ha-Arab-SD.js +22 -0
  2220. package/locales/global/ha-Arab.js +22 -0
  2221. package/locales/global/ha-GH.js +1 -1
  2222. package/locales/global/ha-NE.js +1 -1
  2223. package/locales/global/ha.js +1 -1
  2224. package/locales/global/haw.js +1 -1
  2225. package/locales/global/he.js +2 -4
  2226. package/locales/global/hi-Latn.js +1 -1
  2227. package/locales/global/hi.js +1 -1
  2228. package/locales/global/hnj-Hmnp.js +22 -0
  2229. package/locales/global/hnj.js +22 -0
  2230. package/locales/global/hr-BA.js +1 -1
  2231. package/locales/global/hr.js +1 -1
  2232. package/locales/global/hsb.js +1 -1
  2233. package/locales/global/ht.js +26 -0
  2234. package/locales/global/hu.js +1 -1
  2235. package/locales/global/hy.js +1 -1
  2236. package/locales/global/ia.js +1 -1
  2237. package/locales/global/id.js +1 -1
  2238. package/locales/global/ie.js +22 -0
  2239. package/locales/global/ig.js +1 -1
  2240. package/locales/global/ii.js +1 -1
  2241. package/locales/global/io.js +24 -0
  2242. package/locales/global/is.js +2 -2
  2243. package/locales/global/it-CH.js +1 -1
  2244. package/locales/global/it-SM.js +1 -1
  2245. package/locales/global/it-VA.js +1 -1
  2246. package/locales/global/it.js +1 -1
  2247. package/locales/global/iu-Latn.js +22 -0
  2248. package/locales/global/iu.js +26 -0
  2249. package/locales/global/ja.js +1 -1
  2250. package/locales/global/jbo.js +22 -0
  2251. package/locales/global/jgo.js +1 -1
  2252. package/locales/global/jmc.js +1 -1
  2253. package/locales/global/jv.js +1 -1
  2254. package/locales/global/ka.js +1 -1
  2255. package/locales/global/kaa-Cyrl.js +22 -0
  2256. package/locales/global/kaa-Latn.js +22 -0
  2257. package/locales/global/kaa.js +22 -0
  2258. package/locales/global/kab.js +1 -1
  2259. package/locales/global/kaj.js +24 -0
  2260. package/locales/global/kam.js +1 -1
  2261. package/locales/global/kcg.js +24 -0
  2262. package/locales/global/kde.js +1 -1
  2263. package/locales/global/kea.js +1 -1
  2264. package/locales/global/ken.js +22 -0
  2265. package/locales/global/kgp.js +1 -1
  2266. package/locales/global/khq.js +1 -1
  2267. package/locales/global/ki.js +1 -1
  2268. package/locales/global/kk-Arab.js +22 -0
  2269. package/locales/global/kk-Cyrl.js +24 -0
  2270. package/locales/global/kk-KZ.js +24 -0
  2271. package/locales/global/kk.js +1 -1
  2272. package/locales/global/kkj.js +1 -1
  2273. package/locales/global/kl.js +1 -1
  2274. package/locales/global/kln.js +1 -1
  2275. package/locales/global/km.js +1 -1
  2276. package/locales/global/kn.js +1 -1
  2277. package/locales/global/ko-CN.js +22 -0
  2278. package/locales/global/ko-KP.js +1 -1
  2279. package/locales/global/ko.js +1 -1
  2280. package/locales/global/kok-Deva.js +22 -0
  2281. package/locales/global/kok-Latn.js +22 -0
  2282. package/locales/global/kok.js +1 -1
  2283. package/locales/global/kpe-GN.js +22 -0
  2284. package/locales/global/kpe.js +22 -0
  2285. package/locales/global/ks-Arab.js +1 -1
  2286. package/locales/global/ks-Deva.js +1 -1
  2287. package/locales/global/ks.js +1 -1
  2288. package/locales/global/ksb.js +1 -1
  2289. package/locales/global/ksf.js +1 -1
  2290. package/locales/global/ku.js +1 -1
  2291. package/locales/global/kw.js +1 -1
  2292. package/locales/global/kxv-Deva.js +22 -0
  2293. package/locales/global/kxv-Latn.js +22 -0
  2294. package/locales/global/kxv-Orya.js +22 -0
  2295. package/locales/global/kxv-Telu.js +22 -0
  2296. package/locales/global/kxv.js +22 -0
  2297. package/locales/global/ky.js +1 -1
  2298. package/locales/global/la.js +26 -0
  2299. package/locales/global/lag.js +1 -1
  2300. package/locales/global/lb.js +1 -1
  2301. package/locales/global/lg.js +1 -1
  2302. package/locales/global/lij.js +24 -0
  2303. package/locales/global/lkt.js +1 -1
  2304. package/locales/global/lld.js +26 -0
  2305. package/locales/global/lmo.js +22 -0
  2306. package/locales/global/ln-AO.js +1 -1
  2307. package/locales/global/ln-CF.js +1 -1
  2308. package/locales/global/ln-CG.js +1 -1
  2309. package/locales/global/ln.js +1 -1
  2310. package/locales/global/lo.js +1 -1
  2311. package/locales/global/lrc-IQ.js +1 -1
  2312. package/locales/global/lrc.js +1 -1
  2313. package/locales/global/lt.js +1 -1
  2314. package/locales/global/ltg.js +22 -0
  2315. package/locales/global/lu.js +1 -1
  2316. package/locales/global/luo.js +1 -1
  2317. package/locales/global/luy.js +1 -1
  2318. package/locales/global/lv.js +1 -1
  2319. package/locales/global/mai.js +1 -1
  2320. package/locales/global/mas-TZ.js +1 -1
  2321. package/locales/global/mas.js +1 -1
  2322. package/locales/global/mdf.js +22 -0
  2323. package/locales/global/mer.js +1 -1
  2324. package/locales/global/mfe.js +1 -1
  2325. package/locales/global/mg.js +1 -1
  2326. package/locales/global/mgh.js +1 -1
  2327. package/locales/global/mgo.js +1 -1
  2328. package/locales/global/mhn.js +22 -0
  2329. package/locales/global/mi.js +1 -1
  2330. package/locales/global/mic.js +22 -0
  2331. package/locales/global/mk.js +1 -1
  2332. package/locales/global/ml.js +1 -1
  2333. package/locales/global/mn-Mong-MN.js +22 -0
  2334. package/locales/global/mn-Mong.js +22 -0
  2335. package/locales/global/mn.js +1 -1
  2336. package/locales/global/mni-Beng.js +1 -1
  2337. package/locales/global/mni-Mtei.js +22 -0
  2338. package/locales/global/mni.js +1 -1
  2339. package/locales/global/moh.js +22 -0
  2340. package/locales/global/mr.js +1 -1
  2341. package/locales/global/ms-Arab-BN.js +22 -0
  2342. package/locales/global/ms-Arab.js +22 -0
  2343. package/locales/global/ms-BN.js +1 -1
  2344. package/locales/global/ms-ID.js +1 -1
  2345. package/locales/global/ms-SG.js +1 -1
  2346. package/locales/global/ms.js +1 -1
  2347. package/locales/global/mt.js +4 -2
  2348. package/locales/global/mua.js +1 -1
  2349. package/locales/global/mus.js +22 -0
  2350. package/locales/global/my.js +1 -1
  2351. package/locales/global/myv.js +22 -0
  2352. package/locales/global/mzn.js +1 -1
  2353. package/locales/global/naq.js +1 -1
  2354. package/locales/global/nb-SJ.js +1 -1
  2355. package/locales/global/nb.js +1 -1
  2356. package/locales/global/nd.js +1 -1
  2357. package/locales/global/nds-NL.js +1 -1
  2358. package/locales/global/nds.js +1 -1
  2359. package/locales/global/ne-IN.js +1 -1
  2360. package/locales/global/ne.js +1 -1
  2361. package/locales/global/nl-AW.js +1 -1
  2362. package/locales/global/nl-BE.js +1 -1
  2363. package/locales/global/nl-BQ.js +1 -1
  2364. package/locales/global/nl-CW.js +1 -1
  2365. package/locales/global/nl-SR.js +1 -1
  2366. package/locales/global/nl-SX.js +1 -1
  2367. package/locales/global/nl.js +1 -1
  2368. package/locales/global/nmg.js +1 -1
  2369. package/locales/global/nn.js +1 -1
  2370. package/locales/global/nnh.js +1 -1
  2371. package/locales/global/no.js +1 -1
  2372. package/locales/global/nqo.js +22 -0
  2373. package/locales/global/nr.js +24 -0
  2374. package/locales/global/nso.js +24 -0
  2375. package/locales/global/nus.js +1 -1
  2376. package/locales/global/nv.js +22 -0
  2377. package/locales/global/ny.js +24 -0
  2378. package/locales/global/nyn.js +1 -1
  2379. package/locales/global/oc-ES.js +22 -0
  2380. package/locales/global/oc.js +22 -0
  2381. package/locales/global/om-KE.js +1 -1
  2382. package/locales/global/om.js +1 -1
  2383. package/locales/global/or.js +1 -1
  2384. package/locales/global/os-RU.js +1 -1
  2385. package/locales/global/os.js +1 -1
  2386. package/locales/global/osa.js +22 -0
  2387. package/locales/global/pa-Arab.js +1 -1
  2388. package/locales/global/pa-Guru.js +1 -1
  2389. package/locales/global/pa.js +1 -1
  2390. package/locales/global/pap-AW.js +24 -0
  2391. package/locales/global/pap.js +24 -0
  2392. package/locales/global/pcm.js +1 -1
  2393. package/locales/global/pis.js +22 -0
  2394. package/locales/global/pl.js +1 -1
  2395. package/locales/global/prg.js +26 -0
  2396. package/locales/global/ps-PK.js +1 -1
  2397. package/locales/global/ps.js +1 -1
  2398. package/locales/global/pt-AO.js +1 -1
  2399. package/locales/global/pt-CH.js +1 -1
  2400. package/locales/global/pt-CV.js +1 -1
  2401. package/locales/global/pt-GQ.js +1 -1
  2402. package/locales/global/pt-GW.js +1 -1
  2403. package/locales/global/pt-LU.js +1 -1
  2404. package/locales/global/pt-MO.js +1 -1
  2405. package/locales/global/pt-MZ.js +1 -1
  2406. package/locales/global/pt-PT.js +1 -1
  2407. package/locales/global/pt-ST.js +1 -1
  2408. package/locales/global/pt-TL.js +1 -1
  2409. package/locales/global/pt.js +1 -1
  2410. package/locales/global/qu-BO.js +1 -1
  2411. package/locales/global/qu-EC.js +1 -1
  2412. package/locales/global/qu.js +1 -1
  2413. package/locales/global/quc.js +22 -0
  2414. package/locales/global/raj.js +22 -0
  2415. package/locales/global/rhg-Rohg-BD.js +22 -0
  2416. package/locales/global/rhg-Rohg.js +22 -0
  2417. package/locales/global/rhg.js +22 -0
  2418. package/locales/global/rif.js +22 -0
  2419. package/locales/global/rm.js +1 -1
  2420. package/locales/global/rn.js +1 -1
  2421. package/locales/global/ro-MD.js +2 -2
  2422. package/locales/global/ro.js +2 -2
  2423. package/locales/global/rof.js +1 -1
  2424. package/locales/global/ru-BY.js +1 -1
  2425. package/locales/global/ru-KG.js +1 -1
  2426. package/locales/global/ru-KZ.js +1 -1
  2427. package/locales/global/ru-MD.js +1 -1
  2428. package/locales/global/ru-UA.js +1 -1
  2429. package/locales/global/ru.js +1 -1
  2430. package/locales/global/rw.js +1 -1
  2431. package/locales/global/rwk.js +1 -1
  2432. package/locales/global/sa.js +1 -1
  2433. package/locales/global/sah.js +1 -1
  2434. package/locales/global/saq.js +1 -1
  2435. package/locales/global/sat-Deva.js +22 -0
  2436. package/locales/global/sat-Olck.js +1 -1
  2437. package/locales/global/sat.js +1 -1
  2438. package/locales/global/sbp.js +1 -1
  2439. package/locales/global/sc.js +1 -1
  2440. package/locales/global/scn.js +26 -0
  2441. package/locales/global/sd-Arab.js +1 -1
  2442. package/locales/global/sd-Deva.js +1 -1
  2443. package/locales/global/sd.js +1 -1
  2444. package/locales/global/sdh-IQ.js +24 -0
  2445. package/locales/global/sdh.js +24 -0
  2446. package/locales/global/se-FI.js +1 -1
  2447. package/locales/global/seh.js +1 -1
  2448. package/locales/global/ses.js +1 -1
  2449. package/locales/global/sg.js +1 -1
  2450. package/locales/global/shi-Latn.js +1 -1
  2451. package/locales/global/shi-Tfng.js +1 -1
  2452. package/locales/global/shi.js +1 -1
  2453. package/locales/global/shn-TH.js +22 -0
  2454. package/locales/global/shn.js +22 -0
  2455. package/locales/global/si.js +1 -1
  2456. package/locales/global/sid.js +22 -0
  2457. package/locales/global/sk.js +1 -1
  2458. package/locales/global/skr.js +22 -0
  2459. package/locales/global/sl.js +1 -1
  2460. package/locales/global/sma-NO.js +26 -0
  2461. package/locales/global/sma.js +26 -0
  2462. package/locales/global/smj-NO.js +26 -0
  2463. package/locales/global/smj.js +26 -0
  2464. package/locales/global/smn.js +1 -1
  2465. package/locales/global/sms.js +26 -0
  2466. package/locales/global/sn.js +1 -1
  2467. package/locales/global/so-DJ.js +1 -1
  2468. package/locales/global/so-ET.js +1 -1
  2469. package/locales/global/so-KE.js +1 -1
  2470. package/locales/global/so.js +1 -1
  2471. package/locales/global/sq-MK.js +1 -1
  2472. package/locales/global/sq-XK.js +1 -1
  2473. package/locales/global/sq.js +1 -1
  2474. package/locales/global/sr-Cyrl-BA.js +1 -1
  2475. package/locales/global/sr-Cyrl-ME.js +1 -1
  2476. package/locales/global/sr-Cyrl-XK.js +1 -1
  2477. package/locales/global/sr-Cyrl.js +1 -1
  2478. package/locales/global/sr-Latn-BA.js +1 -1
  2479. package/locales/global/sr-Latn-ME.js +1 -1
  2480. package/locales/global/sr-Latn-XK.js +1 -1
  2481. package/locales/global/sr-Latn.js +1 -1
  2482. package/locales/global/sr.js +1 -1
  2483. package/locales/global/ss-SZ.js +24 -0
  2484. package/locales/global/ss.js +24 -0
  2485. package/locales/global/ssy.js +24 -0
  2486. package/locales/global/st-LS.js +24 -0
  2487. package/locales/global/st.js +24 -0
  2488. package/locales/global/su-Latn.js +1 -1
  2489. package/locales/global/su.js +1 -1
  2490. package/locales/global/sv-AX.js +1 -1
  2491. package/locales/global/sv-FI.js +1 -1
  2492. package/locales/global/sv.js +1 -1
  2493. package/locales/global/sw-CD.js +1 -1
  2494. package/locales/global/sw-KE.js +1 -1
  2495. package/locales/global/sw-UG.js +1 -1
  2496. package/locales/global/sw.js +1 -1
  2497. package/locales/global/syr-SY.js +24 -0
  2498. package/locales/global/syr.js +24 -0
  2499. package/locales/global/szl.js +22 -0
  2500. package/locales/global/ta-LK.js +1 -1
  2501. package/locales/global/ta-MY.js +1 -1
  2502. package/locales/global/ta-SG.js +1 -1
  2503. package/locales/global/ta.js +1 -1
  2504. package/locales/global/te.js +1 -1
  2505. package/locales/global/teo-KE.js +1 -1
  2506. package/locales/global/teo.js +1 -1
  2507. package/locales/global/tg.js +1 -1
  2508. package/locales/global/th.js +1 -1
  2509. package/locales/global/ti-ER.js +1 -1
  2510. package/locales/global/ti.js +1 -1
  2511. package/locales/global/tig.js +24 -0
  2512. package/locales/global/tk.js +1 -1
  2513. package/locales/global/tn-BW.js +24 -0
  2514. package/locales/global/tn.js +24 -0
  2515. package/locales/global/to.js +1 -1
  2516. package/locales/global/tok.js +22 -0
  2517. package/locales/global/tpi.js +22 -0
  2518. package/locales/global/tr-CY.js +1 -1
  2519. package/locales/global/tr.js +1 -1
  2520. package/locales/global/trv.js +22 -0
  2521. package/locales/global/trw.js +22 -0
  2522. package/locales/global/ts.js +24 -0
  2523. package/locales/global/tt.js +1 -1
  2524. package/locales/global/twq.js +1 -1
  2525. package/locales/global/tyv.js +22 -0
  2526. package/locales/global/tzm.js +1 -1
  2527. package/locales/global/ug.js +1 -1
  2528. package/locales/global/uk.js +1 -1
  2529. package/locales/global/und.js +1 -1
  2530. package/locales/global/ur-IN.js +1 -1
  2531. package/locales/global/ur.js +1 -1
  2532. package/locales/global/uz-Arab.js +1 -1
  2533. package/locales/global/uz-Cyrl.js +1 -1
  2534. package/locales/global/uz-Latn.js +1 -1
  2535. package/locales/global/uz.js +1 -1
  2536. package/locales/global/vai-Latn.js +1 -1
  2537. package/locales/global/vai-Vaii.js +1 -1
  2538. package/locales/global/vai.js +1 -1
  2539. package/locales/global/ve.js +24 -0
  2540. package/locales/global/vec.js +26 -0
  2541. package/locales/global/vi.js +1 -1
  2542. package/locales/global/vmw.js +22 -0
  2543. package/locales/global/vo.js +24 -0
  2544. package/locales/global/vun.js +1 -1
  2545. package/locales/global/wa.js +24 -0
  2546. package/locales/global/wae.js +1 -1
  2547. package/locales/global/wal.js +22 -0
  2548. package/locales/global/wbp.js +22 -0
  2549. package/locales/global/wo.js +1 -1
  2550. package/locales/global/xh.js +1 -1
  2551. package/locales/global/xnr.js +22 -0
  2552. package/locales/global/xog.js +1 -1
  2553. package/locales/global/yav.js +1 -1
  2554. package/locales/global/yi.js +1 -1
  2555. package/locales/global/yo-BJ.js +1 -1
  2556. package/locales/global/yo.js +1 -1
  2557. package/locales/global/yrl-CO.js +1 -1
  2558. package/locales/global/yrl-VE.js +1 -1
  2559. package/locales/global/yrl.js +1 -1
  2560. package/locales/global/yue-Hans.js +1 -1
  2561. package/locales/global/yue-Hant-CN.js +22 -0
  2562. package/locales/global/yue-Hant-MO.js +22 -0
  2563. package/locales/global/yue-Hant.js +1 -1
  2564. package/locales/global/yue.js +1 -1
  2565. package/locales/global/za.js +22 -0
  2566. package/locales/global/zgh.js +1 -1
  2567. package/locales/global/zh-Hans-HK.js +1 -1
  2568. package/locales/global/zh-Hans-MO.js +1 -1
  2569. package/locales/global/zh-Hans-MY.js +22 -0
  2570. package/locales/global/zh-Hans-SG.js +1 -1
  2571. package/locales/global/zh-Hans.js +1 -1
  2572. package/locales/global/zh-Hant-HK.js +1 -1
  2573. package/locales/global/zh-Hant-MO.js +1 -1
  2574. package/locales/global/zh-Hant-MY.js +22 -0
  2575. package/locales/global/zh-Hant.js +1 -1
  2576. package/locales/global/zh-Latn.js +22 -0
  2577. package/locales/global/zh.js +1 -1
  2578. package/locales/global/zu.js +1 -1
  2579. package/locales/gn.d.ts +14 -0
  2580. package/locales/gn.js +15 -0
  2581. package/locales/gn.js.map +1 -0
  2582. package/locales/gsw-FR.js +1 -1
  2583. package/locales/gsw-FR.js.map +1 -1
  2584. package/locales/gsw-LI.js +1 -1
  2585. package/locales/gsw-LI.js.map +1 -1
  2586. package/locales/gsw.js +1 -1
  2587. package/locales/gsw.js.map +1 -1
  2588. package/locales/gu.d.ts +1 -1
  2589. package/locales/gu.js +1 -1
  2590. package/locales/gu.js.map +1 -1
  2591. package/locales/guz.js +1 -1
  2592. package/locales/guz.js.map +1 -1
  2593. package/locales/gv.d.ts +1 -1
  2594. package/locales/gv.js +1 -1
  2595. package/locales/gv.js.map +1 -1
  2596. package/locales/ha-Arab-SD.d.ts +14 -0
  2597. package/locales/ha-Arab-SD.js +15 -0
  2598. package/locales/ha-Arab-SD.js.map +1 -0
  2599. package/locales/ha-Arab.d.ts +14 -0
  2600. package/locales/ha-Arab.js +15 -0
  2601. package/locales/ha-Arab.js.map +1 -0
  2602. package/locales/ha-GH.js +1 -1
  2603. package/locales/ha-GH.js.map +1 -1
  2604. package/locales/ha-NE.js +1 -1
  2605. package/locales/ha-NE.js.map +1 -1
  2606. package/locales/ha.js +1 -1
  2607. package/locales/ha.js.map +1 -1
  2608. package/locales/haw.d.ts +1 -1
  2609. package/locales/haw.js +1 -1
  2610. package/locales/haw.js.map +1 -1
  2611. package/locales/he.d.ts +1 -1
  2612. package/locales/he.js +2 -4
  2613. package/locales/he.js.map +1 -1
  2614. package/locales/hi-Latn.d.ts +1 -1
  2615. package/locales/hi-Latn.js +1 -1
  2616. package/locales/hi-Latn.js.map +1 -1
  2617. package/locales/hi.js +1 -1
  2618. package/locales/hi.js.map +1 -1
  2619. package/locales/hnj-Hmnp.d.ts +13 -0
  2620. package/locales/hnj-Hmnp.js +15 -0
  2621. package/locales/hnj-Hmnp.js.map +1 -0
  2622. package/locales/hnj.d.ts +13 -0
  2623. package/locales/hnj.js +15 -0
  2624. package/locales/hnj.js.map +1 -0
  2625. package/locales/hr-BA.d.ts +1 -2
  2626. package/locales/hr-BA.js +1 -1
  2627. package/locales/hr-BA.js.map +1 -1
  2628. package/locales/hr.d.ts +1 -2
  2629. package/locales/hr.js +1 -1
  2630. package/locales/hr.js.map +1 -1
  2631. package/locales/hsb.js +1 -1
  2632. package/locales/hsb.js.map +1 -1
  2633. package/locales/ht.d.ts +58 -0
  2634. package/locales/ht.js +19 -0
  2635. package/locales/ht.js.map +1 -0
  2636. package/locales/hu.d.ts +1 -1
  2637. package/locales/hu.js +1 -1
  2638. package/locales/hu.js.map +1 -1
  2639. package/locales/hy.js +1 -1
  2640. package/locales/hy.js.map +1 -1
  2641. package/locales/ia.js +1 -1
  2642. package/locales/ia.js.map +1 -1
  2643. package/locales/id.js +1 -1
  2644. package/locales/id.js.map +1 -1
  2645. package/locales/ie.d.ts +13 -0
  2646. package/locales/ie.js +15 -0
  2647. package/locales/ie.js.map +1 -0
  2648. package/locales/ig.js +1 -1
  2649. package/locales/ig.js.map +1 -1
  2650. package/locales/ii.d.ts +1 -1
  2651. package/locales/ii.js +1 -1
  2652. package/locales/ii.js.map +1 -1
  2653. package/locales/io.d.ts +13 -0
  2654. package/locales/io.js +17 -0
  2655. package/locales/io.js.map +1 -0
  2656. package/locales/is.d.ts +5 -1
  2657. package/locales/is.js +2 -2
  2658. package/locales/is.js.map +1 -1
  2659. package/locales/it-CH.d.ts +1 -1
  2660. package/locales/it-CH.js +1 -1
  2661. package/locales/it-CH.js.map +1 -1
  2662. package/locales/it-SM.d.ts +1 -1
  2663. package/locales/it-SM.js +1 -1
  2664. package/locales/it-SM.js.map +1 -1
  2665. package/locales/it-VA.d.ts +1 -1
  2666. package/locales/it-VA.js +1 -1
  2667. package/locales/it-VA.js.map +1 -1
  2668. package/locales/it.d.ts +1 -1
  2669. package/locales/it.js +1 -1
  2670. package/locales/it.js.map +1 -1
  2671. package/locales/iu-Latn.d.ts +13 -0
  2672. package/locales/iu-Latn.js +15 -0
  2673. package/locales/iu-Latn.js.map +1 -0
  2674. package/locales/iu.d.ts +13 -0
  2675. package/locales/iu.js +19 -0
  2676. package/locales/iu.js.map +1 -0
  2677. package/locales/ja.js +1 -1
  2678. package/locales/ja.js.map +1 -1
  2679. package/locales/jbo.d.ts +13 -0
  2680. package/locales/jbo.js +15 -0
  2681. package/locales/jbo.js.map +1 -0
  2682. package/locales/jgo.js +1 -1
  2683. package/locales/jgo.js.map +1 -1
  2684. package/locales/jmc.js +1 -1
  2685. package/locales/jmc.js.map +1 -1
  2686. package/locales/jv.js +1 -1
  2687. package/locales/jv.js.map +1 -1
  2688. package/locales/ka.js +1 -1
  2689. package/locales/ka.js.map +1 -1
  2690. package/locales/kaa-Cyrl.d.ts +13 -0
  2691. package/locales/kaa-Cyrl.js +15 -0
  2692. package/locales/kaa-Cyrl.js.map +1 -0
  2693. package/locales/kaa-Latn.d.ts +13 -0
  2694. package/locales/kaa-Latn.js +15 -0
  2695. package/locales/kaa-Latn.js.map +1 -0
  2696. package/locales/kaa.d.ts +13 -0
  2697. package/locales/kaa.js +15 -0
  2698. package/locales/kaa.js.map +1 -0
  2699. package/locales/kab.js +1 -1
  2700. package/locales/kab.js.map +1 -1
  2701. package/locales/kaj.d.ts +14 -0
  2702. package/locales/kaj.js +17 -0
  2703. package/locales/kaj.js.map +1 -0
  2704. package/locales/kam.js +1 -1
  2705. package/locales/kam.js.map +1 -1
  2706. package/locales/kcg.d.ts +14 -0
  2707. package/locales/kcg.js +17 -0
  2708. package/locales/kcg.js.map +1 -0
  2709. package/locales/kde.js +1 -1
  2710. package/locales/kde.js.map +1 -1
  2711. package/locales/kea.js +1 -1
  2712. package/locales/kea.js.map +1 -1
  2713. package/locales/ken.d.ts +13 -0
  2714. package/locales/ken.js +15 -0
  2715. package/locales/ken.js.map +1 -0
  2716. package/locales/kgp.js +1 -1
  2717. package/locales/kgp.js.map +1 -1
  2718. package/locales/khq.js +1 -1
  2719. package/locales/khq.js.map +1 -1
  2720. package/locales/ki.js +1 -1
  2721. package/locales/ki.js.map +1 -1
  2722. package/locales/kk-Arab.d.ts +13 -0
  2723. package/locales/kk-Arab.js +15 -0
  2724. package/locales/kk-Arab.js.map +1 -0
  2725. package/locales/kk-Cyrl.d.ts +19 -0
  2726. package/locales/kk-Cyrl.js +17 -0
  2727. package/locales/kk-Cyrl.js.map +1 -0
  2728. package/locales/kk-KZ.d.ts +19 -0
  2729. package/locales/kk-KZ.js +17 -0
  2730. package/locales/kk-KZ.js.map +1 -0
  2731. package/locales/kk.js +1 -1
  2732. package/locales/kk.js.map +1 -1
  2733. package/locales/kkj.js +1 -1
  2734. package/locales/kkj.js.map +1 -1
  2735. package/locales/kl.d.ts +1 -1
  2736. package/locales/kl.js +1 -1
  2737. package/locales/kl.js.map +1 -1
  2738. package/locales/kln.js +1 -1
  2739. package/locales/kln.js.map +1 -1
  2740. package/locales/km.js +1 -1
  2741. package/locales/km.js.map +1 -1
  2742. package/locales/kn.js +1 -1
  2743. package/locales/kn.js.map +1 -1
  2744. package/locales/ko-CN.d.ts +18 -0
  2745. package/locales/ko-CN.js +15 -0
  2746. package/locales/ko-CN.js.map +1 -0
  2747. package/locales/ko-KP.js +1 -1
  2748. package/locales/ko-KP.js.map +1 -1
  2749. package/locales/ko.js +1 -1
  2750. package/locales/ko.js.map +1 -1
  2751. package/locales/kok-Deva.d.ts +16 -0
  2752. package/locales/kok-Deva.js +15 -0
  2753. package/locales/kok-Deva.js.map +1 -0
  2754. package/locales/kok-Latn.d.ts +13 -0
  2755. package/locales/kok-Latn.js +15 -0
  2756. package/locales/kok-Latn.js.map +1 -0
  2757. package/locales/kok.js +1 -1
  2758. package/locales/kok.js.map +1 -1
  2759. package/locales/kpe-GN.d.ts +14 -0
  2760. package/locales/kpe-GN.js +15 -0
  2761. package/locales/kpe-GN.js.map +1 -0
  2762. package/locales/kpe.d.ts +14 -0
  2763. package/locales/kpe.js +15 -0
  2764. package/locales/kpe.js.map +1 -0
  2765. package/locales/ks-Arab.js +1 -1
  2766. package/locales/ks-Arab.js.map +1 -1
  2767. package/locales/ks-Deva.d.ts +1 -1
  2768. package/locales/ks-Deva.js +1 -1
  2769. package/locales/ks-Deva.js.map +1 -1
  2770. package/locales/ks.js +1 -1
  2771. package/locales/ks.js.map +1 -1
  2772. package/locales/ksb.js +1 -1
  2773. package/locales/ksb.js.map +1 -1
  2774. package/locales/ksf.js +1 -1
  2775. package/locales/ksf.js.map +1 -1
  2776. package/locales/ku.d.ts +0 -1
  2777. package/locales/ku.js +1 -1
  2778. package/locales/ku.js.map +1 -1
  2779. package/locales/kw.d.ts +1 -1
  2780. package/locales/kw.js +1 -1
  2781. package/locales/kw.js.map +1 -1
  2782. package/locales/kxv-Deva.d.ts +13 -0
  2783. package/locales/kxv-Deva.js +15 -0
  2784. package/locales/kxv-Deva.js.map +1 -0
  2785. package/locales/kxv-Latn.d.ts +13 -0
  2786. package/locales/kxv-Latn.js +15 -0
  2787. package/locales/kxv-Latn.js.map +1 -0
  2788. package/locales/kxv-Orya.d.ts +13 -0
  2789. package/locales/kxv-Orya.js +15 -0
  2790. package/locales/kxv-Orya.js.map +1 -0
  2791. package/locales/kxv-Telu.d.ts +13 -0
  2792. package/locales/kxv-Telu.js +15 -0
  2793. package/locales/kxv-Telu.js.map +1 -0
  2794. package/locales/kxv.d.ts +13 -0
  2795. package/locales/kxv.js +15 -0
  2796. package/locales/kxv.js.map +1 -0
  2797. package/locales/ky.js +1 -1
  2798. package/locales/ky.js.map +1 -1
  2799. package/locales/la.d.ts +13 -0
  2800. package/locales/la.js +19 -0
  2801. package/locales/la.js.map +1 -0
  2802. package/locales/lag.js +1 -1
  2803. package/locales/lag.js.map +1 -1
  2804. package/locales/lb.d.ts +1 -1
  2805. package/locales/lb.js +1 -1
  2806. package/locales/lb.js.map +1 -1
  2807. package/locales/lg.js +1 -1
  2808. package/locales/lg.js.map +1 -1
  2809. package/locales/lij.d.ts +13 -0
  2810. package/locales/lij.js +17 -0
  2811. package/locales/lij.js.map +1 -0
  2812. package/locales/lkt.d.ts +1 -1
  2813. package/locales/lkt.js +1 -1
  2814. package/locales/lkt.js.map +1 -1
  2815. package/locales/lld.d.ts +13 -0
  2816. package/locales/lld.js +19 -0
  2817. package/locales/lld.js.map +1 -0
  2818. package/locales/lmo.d.ts +13 -0
  2819. package/locales/lmo.js +15 -0
  2820. package/locales/lmo.js.map +1 -0
  2821. package/locales/ln-AO.js +1 -1
  2822. package/locales/ln-AO.js.map +1 -1
  2823. package/locales/ln-CF.js +1 -1
  2824. package/locales/ln-CF.js.map +1 -1
  2825. package/locales/ln-CG.js +1 -1
  2826. package/locales/ln-CG.js.map +1 -1
  2827. package/locales/ln.js +1 -1
  2828. package/locales/ln.js.map +1 -1
  2829. package/locales/lo.js +1 -1
  2830. package/locales/lo.js.map +1 -1
  2831. package/locales/lrc-IQ.d.ts +1 -1
  2832. package/locales/lrc-IQ.js +1 -1
  2833. package/locales/lrc-IQ.js.map +1 -1
  2834. package/locales/lrc.d.ts +1 -1
  2835. package/locales/lrc.js +1 -1
  2836. package/locales/lrc.js.map +1 -1
  2837. package/locales/lt.d.ts +4 -4
  2838. package/locales/lt.js +1 -1
  2839. package/locales/lt.js.map +1 -1
  2840. package/locales/ltg.d.ts +13 -0
  2841. package/locales/ltg.js +15 -0
  2842. package/locales/ltg.js.map +1 -0
  2843. package/locales/lu.js +1 -1
  2844. package/locales/lu.js.map +1 -1
  2845. package/locales/luo.js +1 -1
  2846. package/locales/luo.js.map +1 -1
  2847. package/locales/luy.js +1 -1
  2848. package/locales/luy.js.map +1 -1
  2849. package/locales/lv.d.ts +1 -1
  2850. package/locales/lv.js +1 -1
  2851. package/locales/lv.js.map +1 -1
  2852. package/locales/mai.d.ts +1 -1
  2853. package/locales/mai.js +1 -1
  2854. package/locales/mai.js.map +1 -1
  2855. package/locales/mas-TZ.js +1 -1
  2856. package/locales/mas-TZ.js.map +1 -1
  2857. package/locales/mas.js +1 -1
  2858. package/locales/mas.js.map +1 -1
  2859. package/locales/mdf.d.ts +14 -0
  2860. package/locales/mdf.js +15 -0
  2861. package/locales/mdf.js.map +1 -0
  2862. package/locales/mer.js +1 -1
  2863. package/locales/mer.js.map +1 -1
  2864. package/locales/mfe.js +1 -1
  2865. package/locales/mfe.js.map +1 -1
  2866. package/locales/mg.js +1 -1
  2867. package/locales/mg.js.map +1 -1
  2868. package/locales/mgh.js +1 -1
  2869. package/locales/mgh.js.map +1 -1
  2870. package/locales/mgo.js +1 -1
  2871. package/locales/mgo.js.map +1 -1
  2872. package/locales/mhn.d.ts +13 -0
  2873. package/locales/mhn.js +15 -0
  2874. package/locales/mhn.js.map +1 -0
  2875. package/locales/mi.d.ts +1 -1
  2876. package/locales/mi.js +1 -1
  2877. package/locales/mi.js.map +1 -1
  2878. package/locales/mic.d.ts +13 -0
  2879. package/locales/mic.js +15 -0
  2880. package/locales/mic.js.map +1 -0
  2881. package/locales/mk.js +1 -1
  2882. package/locales/mk.js.map +1 -1
  2883. package/locales/ml.js +1 -1
  2884. package/locales/ml.js.map +1 -1
  2885. package/locales/mn-Mong-MN.d.ts +13 -0
  2886. package/locales/mn-Mong-MN.js +15 -0
  2887. package/locales/mn-Mong-MN.js.map +1 -0
  2888. package/locales/mn-Mong.d.ts +12 -0
  2889. package/locales/mn-Mong.js +15 -0
  2890. package/locales/mn-Mong.js.map +1 -0
  2891. package/locales/mn.js +1 -1
  2892. package/locales/mn.js.map +1 -1
  2893. package/locales/mni-Beng.js +1 -1
  2894. package/locales/mni-Beng.js.map +1 -1
  2895. package/locales/mni-Mtei.d.ts +13 -0
  2896. package/locales/mni-Mtei.js +15 -0
  2897. package/locales/mni-Mtei.js.map +1 -0
  2898. package/locales/mni.js +1 -1
  2899. package/locales/mni.js.map +1 -1
  2900. package/locales/moh.d.ts +13 -0
  2901. package/locales/moh.js +15 -0
  2902. package/locales/moh.js.map +1 -0
  2903. package/locales/mr.js +1 -1
  2904. package/locales/mr.js.map +1 -1
  2905. package/locales/ms-Arab-BN.d.ts +15 -0
  2906. package/locales/ms-Arab-BN.js +15 -0
  2907. package/locales/ms-Arab-BN.js.map +1 -0
  2908. package/locales/ms-Arab.d.ts +14 -0
  2909. package/locales/ms-Arab.js +15 -0
  2910. package/locales/ms-Arab.js.map +1 -0
  2911. package/locales/ms-BN.d.ts +1 -1
  2912. package/locales/ms-BN.js +1 -1
  2913. package/locales/ms-BN.js.map +1 -1
  2914. package/locales/ms-ID.d.ts +1 -1
  2915. package/locales/ms-ID.js +1 -1
  2916. package/locales/ms-ID.js.map +1 -1
  2917. package/locales/ms-SG.d.ts +1 -1
  2918. package/locales/ms-SG.js +1 -1
  2919. package/locales/ms-SG.js.map +1 -1
  2920. package/locales/ms.d.ts +1 -1
  2921. package/locales/ms.js +1 -1
  2922. package/locales/ms.js.map +1 -1
  2923. package/locales/mt.js +4 -2
  2924. package/locales/mt.js.map +1 -1
  2925. package/locales/mua.js +1 -1
  2926. package/locales/mua.js.map +1 -1
  2927. package/locales/mus.d.ts +12 -0
  2928. package/locales/mus.js +15 -0
  2929. package/locales/mus.js.map +1 -0
  2930. package/locales/my.d.ts +0 -1
  2931. package/locales/my.js +1 -1
  2932. package/locales/my.js.map +1 -1
  2933. package/locales/myv.d.ts +13 -0
  2934. package/locales/myv.js +15 -0
  2935. package/locales/myv.js.map +1 -0
  2936. package/locales/mzn.js +1 -1
  2937. package/locales/mzn.js.map +1 -1
  2938. package/locales/naq.js +1 -1
  2939. package/locales/naq.js.map +1 -1
  2940. package/locales/nb-SJ.js +1 -1
  2941. package/locales/nb-SJ.js.map +1 -1
  2942. package/locales/nb.js +1 -1
  2943. package/locales/nb.js.map +1 -1
  2944. package/locales/nd.js +1 -1
  2945. package/locales/nd.js.map +1 -1
  2946. package/locales/nds-NL.d.ts +1 -1
  2947. package/locales/nds-NL.js +1 -1
  2948. package/locales/nds-NL.js.map +1 -1
  2949. package/locales/nds.d.ts +1 -1
  2950. package/locales/nds.js +1 -1
  2951. package/locales/nds.js.map +1 -1
  2952. package/locales/ne-IN.d.ts +1 -1
  2953. package/locales/ne-IN.js +1 -1
  2954. package/locales/ne-IN.js.map +1 -1
  2955. package/locales/ne.d.ts +1 -1
  2956. package/locales/ne.js +1 -1
  2957. package/locales/ne.js.map +1 -1
  2958. package/locales/nl-AW.d.ts +2 -1
  2959. package/locales/nl-AW.js +1 -1
  2960. package/locales/nl-AW.js.map +1 -1
  2961. package/locales/nl-BE.d.ts +2 -1
  2962. package/locales/nl-BE.js +1 -1
  2963. package/locales/nl-BE.js.map +1 -1
  2964. package/locales/nl-BQ.d.ts +2 -1
  2965. package/locales/nl-BQ.js +1 -1
  2966. package/locales/nl-BQ.js.map +1 -1
  2967. package/locales/nl-CW.d.ts +2 -1
  2968. package/locales/nl-CW.js +1 -1
  2969. package/locales/nl-CW.js.map +1 -1
  2970. package/locales/nl-SR.d.ts +2 -1
  2971. package/locales/nl-SR.js +1 -1
  2972. package/locales/nl-SR.js.map +1 -1
  2973. package/locales/nl-SX.d.ts +2 -1
  2974. package/locales/nl-SX.js +1 -1
  2975. package/locales/nl-SX.js.map +1 -1
  2976. package/locales/nl.d.ts +2 -1
  2977. package/locales/nl.js +1 -1
  2978. package/locales/nl.js.map +1 -1
  2979. package/locales/nmg.js +1 -1
  2980. package/locales/nmg.js.map +1 -1
  2981. package/locales/nn.js +1 -1
  2982. package/locales/nn.js.map +1 -1
  2983. package/locales/nnh.js +1 -1
  2984. package/locales/nnh.js.map +1 -1
  2985. package/locales/no.js +1 -1
  2986. package/locales/no.js.map +1 -1
  2987. package/locales/nqo.d.ts +181 -0
  2988. package/locales/nqo.js +15 -0
  2989. package/locales/nqo.js.map +1 -0
  2990. package/locales/nr.d.ts +14 -0
  2991. package/locales/nr.js +17 -0
  2992. package/locales/nr.js.map +1 -0
  2993. package/locales/nso.d.ts +14 -0
  2994. package/locales/nso.js +17 -0
  2995. package/locales/nso.js.map +1 -0
  2996. package/locales/nus.js +1 -1
  2997. package/locales/nus.js.map +1 -1
  2998. package/locales/nv.d.ts +13 -0
  2999. package/locales/nv.js +15 -0
  3000. package/locales/nv.js.map +1 -0
  3001. package/locales/ny.d.ts +13 -0
  3002. package/locales/ny.js +17 -0
  3003. package/locales/ny.js.map +1 -0
  3004. package/locales/nyn.js +1 -1
  3005. package/locales/nyn.js.map +1 -1
  3006. package/locales/oc-ES.d.ts +13 -0
  3007. package/locales/oc-ES.js +15 -0
  3008. package/locales/oc-ES.js.map +1 -0
  3009. package/locales/oc.d.ts +13 -0
  3010. package/locales/oc.js +15 -0
  3011. package/locales/oc.js.map +1 -0
  3012. package/locales/om-KE.d.ts +1 -1
  3013. package/locales/om-KE.js +1 -1
  3014. package/locales/om-KE.js.map +1 -1
  3015. package/locales/om.d.ts +1 -1
  3016. package/locales/om.js +1 -1
  3017. package/locales/om.js.map +1 -1
  3018. package/locales/or.js +1 -1
  3019. package/locales/or.js.map +1 -1
  3020. package/locales/os-RU.js +1 -1
  3021. package/locales/os-RU.js.map +1 -1
  3022. package/locales/os.js +1 -1
  3023. package/locales/os.js.map +1 -1
  3024. package/locales/osa.d.ts +12 -0
  3025. package/locales/osa.js +15 -0
  3026. package/locales/osa.js.map +1 -0
  3027. package/locales/pa-Arab.d.ts +1 -1
  3028. package/locales/pa-Arab.js +1 -1
  3029. package/locales/pa-Arab.js.map +1 -1
  3030. package/locales/pa-Guru.d.ts +1 -1
  3031. package/locales/pa-Guru.js +1 -1
  3032. package/locales/pa-Guru.js.map +1 -1
  3033. package/locales/pa.d.ts +1 -1
  3034. package/locales/pa.js +1 -1
  3035. package/locales/pa.js.map +1 -1
  3036. package/locales/pap-AW.d.ts +13 -0
  3037. package/locales/pap-AW.js +17 -0
  3038. package/locales/pap-AW.js.map +1 -0
  3039. package/locales/pap.d.ts +13 -0
  3040. package/locales/pap.js +17 -0
  3041. package/locales/pap.js.map +1 -0
  3042. package/locales/pcm.js +1 -1
  3043. package/locales/pcm.js.map +1 -1
  3044. package/locales/pis.d.ts +14 -0
  3045. package/locales/pis.js +15 -0
  3046. package/locales/pis.js.map +1 -0
  3047. package/locales/pl.js +1 -1
  3048. package/locales/pl.js.map +1 -1
  3049. package/locales/prg.d.ts +13 -0
  3050. package/locales/prg.js +19 -0
  3051. package/locales/prg.js.map +1 -0
  3052. package/locales/ps-PK.js +1 -1
  3053. package/locales/ps-PK.js.map +1 -1
  3054. package/locales/ps.js +1 -1
  3055. package/locales/ps.js.map +1 -1
  3056. package/locales/pt-AO.js +1 -1
  3057. package/locales/pt-AO.js.map +1 -1
  3058. package/locales/pt-CH.js +1 -1
  3059. package/locales/pt-CH.js.map +1 -1
  3060. package/locales/pt-CV.js +1 -1
  3061. package/locales/pt-CV.js.map +1 -1
  3062. package/locales/pt-GQ.js +1 -1
  3063. package/locales/pt-GQ.js.map +1 -1
  3064. package/locales/pt-GW.js +1 -1
  3065. package/locales/pt-GW.js.map +1 -1
  3066. package/locales/pt-LU.js +1 -1
  3067. package/locales/pt-LU.js.map +1 -1
  3068. package/locales/pt-MO.js +1 -1
  3069. package/locales/pt-MO.js.map +1 -1
  3070. package/locales/pt-MZ.js +1 -1
  3071. package/locales/pt-MZ.js.map +1 -1
  3072. package/locales/pt-PT.js +1 -1
  3073. package/locales/pt-PT.js.map +1 -1
  3074. package/locales/pt-ST.js +1 -1
  3075. package/locales/pt-ST.js.map +1 -1
  3076. package/locales/pt-TL.js +1 -1
  3077. package/locales/pt-TL.js.map +1 -1
  3078. package/locales/pt.js +1 -1
  3079. package/locales/pt.js.map +1 -1
  3080. package/locales/qu-BO.d.ts +1 -1
  3081. package/locales/qu-BO.js +1 -1
  3082. package/locales/qu-BO.js.map +1 -1
  3083. package/locales/qu-EC.d.ts +1 -1
  3084. package/locales/qu-EC.js +1 -1
  3085. package/locales/qu-EC.js.map +1 -1
  3086. package/locales/qu.d.ts +1 -1
  3087. package/locales/qu.js +1 -1
  3088. package/locales/qu.js.map +1 -1
  3089. package/locales/quc.d.ts +14 -0
  3090. package/locales/quc.js +15 -0
  3091. package/locales/quc.js.map +1 -0
  3092. package/locales/raj.d.ts +13 -0
  3093. package/locales/raj.js +15 -0
  3094. package/locales/raj.js.map +1 -0
  3095. package/locales/rhg-Rohg-BD.d.ts +13 -0
  3096. package/locales/rhg-Rohg-BD.js +15 -0
  3097. package/locales/rhg-Rohg-BD.js.map +1 -0
  3098. package/locales/rhg-Rohg.d.ts +13 -0
  3099. package/locales/rhg-Rohg.js +15 -0
  3100. package/locales/rhg-Rohg.js.map +1 -0
  3101. package/locales/rhg.d.ts +13 -0
  3102. package/locales/rhg.js +15 -0
  3103. package/locales/rhg.js.map +1 -0
  3104. package/locales/rif.d.ts +13 -0
  3105. package/locales/rif.js +15 -0
  3106. package/locales/rif.js.map +1 -0
  3107. package/locales/rm.js +1 -1
  3108. package/locales/rm.js.map +1 -1
  3109. package/locales/rn.js +1 -1
  3110. package/locales/rn.js.map +1 -1
  3111. package/locales/ro-MD.js +2 -2
  3112. package/locales/ro-MD.js.map +1 -1
  3113. package/locales/ro.js +2 -2
  3114. package/locales/ro.js.map +1 -1
  3115. package/locales/rof.js +1 -1
  3116. package/locales/rof.js.map +1 -1
  3117. package/locales/ru-BY.d.ts +1 -1
  3118. package/locales/ru-BY.js +1 -1
  3119. package/locales/ru-BY.js.map +1 -1
  3120. package/locales/ru-KG.d.ts +1 -1
  3121. package/locales/ru-KG.js +1 -1
  3122. package/locales/ru-KG.js.map +1 -1
  3123. package/locales/ru-KZ.d.ts +1 -1
  3124. package/locales/ru-KZ.js +1 -1
  3125. package/locales/ru-KZ.js.map +1 -1
  3126. package/locales/ru-MD.d.ts +1 -1
  3127. package/locales/ru-MD.js +1 -1
  3128. package/locales/ru-MD.js.map +1 -1
  3129. package/locales/ru-UA.d.ts +1 -1
  3130. package/locales/ru-UA.js +1 -1
  3131. package/locales/ru-UA.js.map +1 -1
  3132. package/locales/ru.d.ts +1 -1
  3133. package/locales/ru.js +1 -1
  3134. package/locales/ru.js.map +1 -1
  3135. package/locales/rw.d.ts +1 -1
  3136. package/locales/rw.js +1 -1
  3137. package/locales/rw.js.map +1 -1
  3138. package/locales/rwk.js +1 -1
  3139. package/locales/rwk.js.map +1 -1
  3140. package/locales/sa.js +1 -1
  3141. package/locales/sa.js.map +1 -1
  3142. package/locales/sah.d.ts +1 -1
  3143. package/locales/sah.js +1 -1
  3144. package/locales/sah.js.map +1 -1
  3145. package/locales/saq.js +1 -1
  3146. package/locales/saq.js.map +1 -1
  3147. package/locales/sat-Deva.d.ts +13 -0
  3148. package/locales/sat-Deva.js +15 -0
  3149. package/locales/sat-Deva.js.map +1 -0
  3150. package/locales/sat-Olck.js +1 -1
  3151. package/locales/sat-Olck.js.map +1 -1
  3152. package/locales/sat.js +1 -1
  3153. package/locales/sat.js.map +1 -1
  3154. package/locales/sbp.js +1 -1
  3155. package/locales/sbp.js.map +1 -1
  3156. package/locales/sc.js +1 -1
  3157. package/locales/sc.js.map +1 -1
  3158. package/locales/scn.d.ts +13 -0
  3159. package/locales/scn.js +19 -0
  3160. package/locales/scn.js.map +1 -0
  3161. package/locales/sd-Arab.js +1 -1
  3162. package/locales/sd-Arab.js.map +1 -1
  3163. package/locales/sd-Deva.js +1 -1
  3164. package/locales/sd-Deva.js.map +1 -1
  3165. package/locales/sd.js +1 -1
  3166. package/locales/sd.js.map +1 -1
  3167. package/locales/sdh-IQ.d.ts +13 -0
  3168. package/locales/sdh-IQ.js +17 -0
  3169. package/locales/sdh-IQ.js.map +1 -0
  3170. package/locales/sdh.d.ts +13 -0
  3171. package/locales/sdh.js +17 -0
  3172. package/locales/sdh.js.map +1 -0
  3173. package/locales/se-FI.js +1 -1
  3174. package/locales/se-FI.js.map +1 -1
  3175. package/locales/seh.js +1 -1
  3176. package/locales/seh.js.map +1 -1
  3177. package/locales/ses.js +1 -1
  3178. package/locales/ses.js.map +1 -1
  3179. package/locales/sg.js +1 -1
  3180. package/locales/sg.js.map +1 -1
  3181. package/locales/shi-Latn.js +1 -1
  3182. package/locales/shi-Latn.js.map +1 -1
  3183. package/locales/shi-Tfng.js +1 -1
  3184. package/locales/shi-Tfng.js.map +1 -1
  3185. package/locales/shi.js +1 -1
  3186. package/locales/shi.js.map +1 -1
  3187. package/locales/shn-TH.d.ts +13 -0
  3188. package/locales/shn-TH.js +15 -0
  3189. package/locales/shn-TH.js.map +1 -0
  3190. package/locales/shn.d.ts +13 -0
  3191. package/locales/shn.js +15 -0
  3192. package/locales/shn.js.map +1 -0
  3193. package/locales/si.js +1 -1
  3194. package/locales/si.js.map +1 -1
  3195. package/locales/sid.d.ts +14 -0
  3196. package/locales/sid.js +15 -0
  3197. package/locales/sid.js.map +1 -0
  3198. package/locales/sk.js +1 -1
  3199. package/locales/sk.js.map +1 -1
  3200. package/locales/skr.d.ts +13 -0
  3201. package/locales/skr.js +15 -0
  3202. package/locales/skr.js.map +1 -0
  3203. package/locales/sl.js +1 -1
  3204. package/locales/sl.js.map +1 -1
  3205. package/locales/sma-NO.d.ts +13 -0
  3206. package/locales/sma-NO.js +19 -0
  3207. package/locales/sma-NO.js.map +1 -0
  3208. package/locales/sma.d.ts +13 -0
  3209. package/locales/sma.js +19 -0
  3210. package/locales/sma.js.map +1 -0
  3211. package/locales/smj-NO.d.ts +13 -0
  3212. package/locales/smj-NO.js +19 -0
  3213. package/locales/smj-NO.js.map +1 -0
  3214. package/locales/smj.d.ts +13 -0
  3215. package/locales/smj.js +19 -0
  3216. package/locales/smj.js.map +1 -0
  3217. package/locales/smn.js +1 -1
  3218. package/locales/smn.js.map +1 -1
  3219. package/locales/sms.d.ts +13 -0
  3220. package/locales/sms.js +19 -0
  3221. package/locales/sms.js.map +1 -0
  3222. package/locales/sn.js +1 -1
  3223. package/locales/sn.js.map +1 -1
  3224. package/locales/so-DJ.d.ts +2 -2
  3225. package/locales/so-DJ.js +1 -1
  3226. package/locales/so-DJ.js.map +1 -1
  3227. package/locales/so-ET.d.ts +2 -2
  3228. package/locales/so-ET.js +1 -1
  3229. package/locales/so-ET.js.map +1 -1
  3230. package/locales/so-KE.d.ts +2 -2
  3231. package/locales/so-KE.js +1 -1
  3232. package/locales/so-KE.js.map +1 -1
  3233. package/locales/so.d.ts +2 -2
  3234. package/locales/so.js +1 -1
  3235. package/locales/so.js.map +1 -1
  3236. package/locales/sq-MK.d.ts +76 -76
  3237. package/locales/sq-MK.js +1 -1
  3238. package/locales/sq-MK.js.map +1 -1
  3239. package/locales/sq-XK.d.ts +76 -76
  3240. package/locales/sq-XK.js +1 -1
  3241. package/locales/sq-XK.js.map +1 -1
  3242. package/locales/sq.d.ts +76 -76
  3243. package/locales/sq.js +1 -1
  3244. package/locales/sq.js.map +1 -1
  3245. package/locales/sr-Cyrl-BA.js +1 -1
  3246. package/locales/sr-Cyrl-BA.js.map +1 -1
  3247. package/locales/sr-Cyrl-ME.js +1 -1
  3248. package/locales/sr-Cyrl-ME.js.map +1 -1
  3249. package/locales/sr-Cyrl-XK.d.ts +1 -1
  3250. package/locales/sr-Cyrl-XK.js +1 -1
  3251. package/locales/sr-Cyrl-XK.js.map +1 -1
  3252. package/locales/sr-Cyrl.d.ts +1 -1
  3253. package/locales/sr-Cyrl.js +1 -1
  3254. package/locales/sr-Cyrl.js.map +1 -1
  3255. package/locales/sr-Latn-BA.js +1 -1
  3256. package/locales/sr-Latn-BA.js.map +1 -1
  3257. package/locales/sr-Latn-ME.js +1 -1
  3258. package/locales/sr-Latn-ME.js.map +1 -1
  3259. package/locales/sr-Latn-XK.d.ts +1 -1
  3260. package/locales/sr-Latn-XK.js +1 -1
  3261. package/locales/sr-Latn-XK.js.map +1 -1
  3262. package/locales/sr-Latn.d.ts +1 -1
  3263. package/locales/sr-Latn.js +1 -1
  3264. package/locales/sr-Latn.js.map +1 -1
  3265. package/locales/sr.d.ts +1 -1
  3266. package/locales/sr.js +1 -1
  3267. package/locales/sr.js.map +1 -1
  3268. package/locales/ss-SZ.d.ts +15 -0
  3269. package/locales/ss-SZ.js +17 -0
  3270. package/locales/ss-SZ.js.map +1 -0
  3271. package/locales/ss.d.ts +15 -0
  3272. package/locales/ss.js +17 -0
  3273. package/locales/ss.js.map +1 -0
  3274. package/locales/ssy.d.ts +14 -0
  3275. package/locales/ssy.js +17 -0
  3276. package/locales/ssy.js.map +1 -0
  3277. package/locales/st-LS.d.ts +15 -0
  3278. package/locales/st-LS.js +17 -0
  3279. package/locales/st-LS.js.map +1 -0
  3280. package/locales/st.d.ts +14 -0
  3281. package/locales/st.js +17 -0
  3282. package/locales/st.js.map +1 -0
  3283. package/locales/su-Latn.d.ts +1 -1
  3284. package/locales/su-Latn.js +1 -1
  3285. package/locales/su-Latn.js.map +1 -1
  3286. package/locales/su.d.ts +1 -1
  3287. package/locales/su.js +1 -1
  3288. package/locales/su.js.map +1 -1
  3289. package/locales/sv-AX.d.ts +1 -1
  3290. package/locales/sv-AX.js +1 -1
  3291. package/locales/sv-AX.js.map +1 -1
  3292. package/locales/sv-FI.d.ts +1 -1
  3293. package/locales/sv-FI.js +1 -1
  3294. package/locales/sv-FI.js.map +1 -1
  3295. package/locales/sv.d.ts +1 -1
  3296. package/locales/sv.js +1 -1
  3297. package/locales/sv.js.map +1 -1
  3298. package/locales/sw-CD.js +1 -1
  3299. package/locales/sw-CD.js.map +1 -1
  3300. package/locales/sw-KE.js +1 -1
  3301. package/locales/sw-KE.js.map +1 -1
  3302. package/locales/sw-UG.js +1 -1
  3303. package/locales/sw-UG.js.map +1 -1
  3304. package/locales/sw.js +1 -1
  3305. package/locales/sw.js.map +1 -1
  3306. package/locales/syr-SY.d.ts +13 -0
  3307. package/locales/syr-SY.js +17 -0
  3308. package/locales/syr-SY.js.map +1 -0
  3309. package/locales/syr.d.ts +13 -0
  3310. package/locales/syr.js +17 -0
  3311. package/locales/syr.js.map +1 -0
  3312. package/locales/szl.d.ts +14 -0
  3313. package/locales/szl.js +15 -0
  3314. package/locales/szl.js.map +1 -0
  3315. package/locales/ta-LK.js +1 -1
  3316. package/locales/ta-LK.js.map +1 -1
  3317. package/locales/ta-MY.js +1 -1
  3318. package/locales/ta-MY.js.map +1 -1
  3319. package/locales/ta-SG.js +1 -1
  3320. package/locales/ta-SG.js.map +1 -1
  3321. package/locales/ta.js +1 -1
  3322. package/locales/ta.js.map +1 -1
  3323. package/locales/te.js +1 -1
  3324. package/locales/te.js.map +1 -1
  3325. package/locales/teo-KE.js +1 -1
  3326. package/locales/teo-KE.js.map +1 -1
  3327. package/locales/teo.js +1 -1
  3328. package/locales/teo.js.map +1 -1
  3329. package/locales/tg.js +1 -1
  3330. package/locales/tg.js.map +1 -1
  3331. package/locales/th.js +1 -1
  3332. package/locales/th.js.map +1 -1
  3333. package/locales/ti-ER.js +1 -1
  3334. package/locales/ti-ER.js.map +1 -1
  3335. package/locales/ti.js +1 -1
  3336. package/locales/ti.js.map +1 -1
  3337. package/locales/tig.d.ts +14 -0
  3338. package/locales/tig.js +17 -0
  3339. package/locales/tig.js.map +1 -0
  3340. package/locales/tk.d.ts +1 -1
  3341. package/locales/tk.js +1 -1
  3342. package/locales/tk.js.map +1 -1
  3343. package/locales/tn-BW.d.ts +15 -0
  3344. package/locales/tn-BW.js +17 -0
  3345. package/locales/tn-BW.js.map +1 -0
  3346. package/locales/tn.d.ts +14 -0
  3347. package/locales/tn.js +17 -0
  3348. package/locales/tn.js.map +1 -0
  3349. package/locales/to.js +1 -1
  3350. package/locales/to.js.map +1 -1
  3351. package/locales/tok.d.ts +13 -0
  3352. package/locales/tok.js +15 -0
  3353. package/locales/tok.js.map +1 -0
  3354. package/locales/tpi.d.ts +13 -0
  3355. package/locales/tpi.js +15 -0
  3356. package/locales/tpi.js.map +1 -0
  3357. package/locales/tr-CY.js +1 -1
  3358. package/locales/tr-CY.js.map +1 -1
  3359. package/locales/tr.js +1 -1
  3360. package/locales/tr.js.map +1 -1
  3361. package/locales/trv.d.ts +13 -0
  3362. package/locales/trv.js +15 -0
  3363. package/locales/trv.js.map +1 -0
  3364. package/locales/trw.d.ts +13 -0
  3365. package/locales/trw.js +15 -0
  3366. package/locales/trw.js.map +1 -0
  3367. package/locales/ts.d.ts +14 -0
  3368. package/locales/ts.js +17 -0
  3369. package/locales/ts.js.map +1 -0
  3370. package/locales/tt.js +1 -1
  3371. package/locales/tt.js.map +1 -1
  3372. package/locales/twq.js +1 -1
  3373. package/locales/twq.js.map +1 -1
  3374. package/locales/tyv.d.ts +13 -0
  3375. package/locales/tyv.js +15 -0
  3376. package/locales/tyv.js.map +1 -0
  3377. package/locales/tzm.js +1 -1
  3378. package/locales/tzm.js.map +1 -1
  3379. package/locales/ug.js +1 -1
  3380. package/locales/ug.js.map +1 -1
  3381. package/locales/uk.d.ts +1 -1
  3382. package/locales/uk.js +1 -1
  3383. package/locales/uk.js.map +1 -1
  3384. package/locales/und.js +1 -1
  3385. package/locales/und.js.map +1 -1
  3386. package/locales/ur-IN.d.ts +1 -1
  3387. package/locales/ur-IN.js +1 -1
  3388. package/locales/ur-IN.js.map +1 -1
  3389. package/locales/ur.d.ts +1 -1
  3390. package/locales/ur.js +1 -1
  3391. package/locales/ur.js.map +1 -1
  3392. package/locales/uz-Arab.d.ts +1 -1
  3393. package/locales/uz-Arab.js +1 -1
  3394. package/locales/uz-Arab.js.map +1 -1
  3395. package/locales/uz-Cyrl.js +1 -1
  3396. package/locales/uz-Cyrl.js.map +1 -1
  3397. package/locales/uz-Latn.js +1 -1
  3398. package/locales/uz-Latn.js.map +1 -1
  3399. package/locales/uz.js +1 -1
  3400. package/locales/uz.js.map +1 -1
  3401. package/locales/vai-Latn.d.ts +1 -1
  3402. package/locales/vai-Latn.js +1 -1
  3403. package/locales/vai-Latn.js.map +1 -1
  3404. package/locales/vai-Vaii.d.ts +1 -1
  3405. package/locales/vai-Vaii.js +1 -1
  3406. package/locales/vai-Vaii.js.map +1 -1
  3407. package/locales/vai.d.ts +1 -1
  3408. package/locales/vai.js +1 -1
  3409. package/locales/vai.js.map +1 -1
  3410. package/locales/ve.d.ts +14 -0
  3411. package/locales/ve.js +17 -0
  3412. package/locales/ve.js.map +1 -0
  3413. package/locales/vec.d.ts +33 -0
  3414. package/locales/vec.js +19 -0
  3415. package/locales/vec.js.map +1 -0
  3416. package/locales/vi.d.ts +1 -1
  3417. package/locales/vi.js +1 -1
  3418. package/locales/vi.js.map +1 -1
  3419. package/locales/vmw.d.ts +13 -0
  3420. package/locales/vmw.js +15 -0
  3421. package/locales/vmw.js.map +1 -0
  3422. package/locales/vo.d.ts +13 -0
  3423. package/locales/vo.js +17 -0
  3424. package/locales/vo.js.map +1 -0
  3425. package/locales/vun.js +1 -1
  3426. package/locales/vun.js.map +1 -1
  3427. package/locales/wa.d.ts +13 -0
  3428. package/locales/wa.js +17 -0
  3429. package/locales/wa.js.map +1 -0
  3430. package/locales/wae.js +1 -1
  3431. package/locales/wae.js.map +1 -1
  3432. package/locales/wal.d.ts +14 -0
  3433. package/locales/wal.js +15 -0
  3434. package/locales/wal.js.map +1 -0
  3435. package/locales/wbp.d.ts +13 -0
  3436. package/locales/wbp.js +15 -0
  3437. package/locales/wbp.js.map +1 -0
  3438. package/locales/wo.d.ts +10 -0
  3439. package/locales/wo.js +1 -1
  3440. package/locales/wo.js.map +1 -1
  3441. package/locales/xh.d.ts +2 -3
  3442. package/locales/xh.js +1 -1
  3443. package/locales/xh.js.map +1 -1
  3444. package/locales/xnr.d.ts +13 -0
  3445. package/locales/xnr.js +15 -0
  3446. package/locales/xnr.js.map +1 -0
  3447. package/locales/xog.js +1 -1
  3448. package/locales/xog.js.map +1 -1
  3449. package/locales/yav.js +1 -1
  3450. package/locales/yav.js.map +1 -1
  3451. package/locales/yi.d.ts +1 -1
  3452. package/locales/yi.js +1 -1
  3453. package/locales/yi.js.map +1 -1
  3454. package/locales/yo-BJ.js +1 -1
  3455. package/locales/yo-BJ.js.map +1 -1
  3456. package/locales/yo.js +1 -1
  3457. package/locales/yo.js.map +1 -1
  3458. package/locales/yrl-CO.js +1 -1
  3459. package/locales/yrl-CO.js.map +1 -1
  3460. package/locales/yrl-VE.js +1 -1
  3461. package/locales/yrl-VE.js.map +1 -1
  3462. package/locales/yrl.js +1 -1
  3463. package/locales/yrl.js.map +1 -1
  3464. package/locales/yue-Hans.d.ts +1 -1
  3465. package/locales/yue-Hans.js +1 -1
  3466. package/locales/yue-Hans.js.map +1 -1
  3467. package/locales/yue-Hant-CN.d.ts +18 -0
  3468. package/locales/yue-Hant-CN.js +15 -0
  3469. package/locales/yue-Hant-CN.js.map +1 -0
  3470. package/locales/yue-Hant-MO.d.ts +18 -0
  3471. package/locales/yue-Hant-MO.js +15 -0
  3472. package/locales/yue-Hant-MO.js.map +1 -0
  3473. package/locales/yue-Hant.js +1 -1
  3474. package/locales/yue-Hant.js.map +1 -1
  3475. package/locales/yue.js +1 -1
  3476. package/locales/yue.js.map +1 -1
  3477. package/locales/za.d.ts +13 -0
  3478. package/locales/za.js +15 -0
  3479. package/locales/za.js.map +1 -0
  3480. package/locales/zgh.js +1 -1
  3481. package/locales/zgh.js.map +1 -1
  3482. package/locales/zh-Hans-HK.d.ts +1 -2
  3483. package/locales/zh-Hans-HK.js +1 -1
  3484. package/locales/zh-Hans-HK.js.map +1 -1
  3485. package/locales/zh-Hans-MO.d.ts +1 -2
  3486. package/locales/zh-Hans-MO.js +1 -1
  3487. package/locales/zh-Hans-MO.js.map +1 -1
  3488. package/locales/zh-Hans-MY.d.ts +21 -0
  3489. package/locales/zh-Hans-MY.js +15 -0
  3490. package/locales/zh-Hans-MY.js.map +1 -0
  3491. package/locales/zh-Hans-SG.d.ts +1 -2
  3492. package/locales/zh-Hans-SG.js +1 -1
  3493. package/locales/zh-Hans-SG.js.map +1 -1
  3494. package/locales/zh-Hans.d.ts +1 -2
  3495. package/locales/zh-Hans.js +1 -1
  3496. package/locales/zh-Hans.js.map +1 -1
  3497. package/locales/zh-Hant-HK.d.ts +1 -1
  3498. package/locales/zh-Hant-HK.js +1 -1
  3499. package/locales/zh-Hant-HK.js.map +1 -1
  3500. package/locales/zh-Hant-MO.d.ts +1 -1
  3501. package/locales/zh-Hant-MO.js +1 -1
  3502. package/locales/zh-Hant-MO.js.map +1 -1
  3503. package/locales/zh-Hant-MY.d.ts +20 -0
  3504. package/locales/zh-Hant-MY.js +15 -0
  3505. package/locales/zh-Hant-MY.js.map +1 -0
  3506. package/locales/zh-Hant.d.ts +1 -1
  3507. package/locales/zh-Hant.js +1 -1
  3508. package/locales/zh-Hant.js.map +1 -1
  3509. package/locales/zh-Latn.d.ts +13 -0
  3510. package/locales/zh-Latn.js +15 -0
  3511. package/locales/zh-Latn.js.map +1 -0
  3512. package/locales/zh.d.ts +1 -2
  3513. package/locales/zh.js +1 -1
  3514. package/locales/zh.js.map +1 -1
  3515. package/locales/zu.d.ts +1 -1
  3516. package/locales/zu.js +1 -1
  3517. package/locales/zu.js.map +1 -1
  3518. package/package.json +9 -9
  3519. package/{common_module.d.d.ts → types/_common_module-chunk.d.ts} +8 -11
  3520. package/{module.d.d.ts → types/_module-chunk.d.ts} +68 -3
  3521. package/{platform_location.d.d.ts → types/_platform_location-chunk.d.ts} +2 -2
  3522. package/{xhr.d.d.ts → types/_xhr-chunk.d.ts} +2 -2
  3523. package/{index.d.ts → types/common.d.ts} +68 -32
  3524. package/{http/testing/index.d.ts → types/http-testing.d.ts} +3 -3
  3525. package/{http/index.d.ts → types/http.d.ts} +145 -7
  3526. package/{testing/index.d.ts → types/testing.d.ts} +89 -63
  3527. package/{upgrade/index.d.ts → types/upgrade.d.ts} +4 -4
  3528. package/fesm2022/common_module.mjs +0 -4659
  3529. package/fesm2022/common_module.mjs.map +0 -1
  3530. package/fesm2022/http/testing.mjs +0 -361
  3531. package/fesm2022/http/testing.mjs.map +0 -1
  3532. package/fesm2022/location.mjs +0 -637
  3533. package/fesm2022/location.mjs.map +0 -1
  3534. package/fesm2022/module.mjs +0 -3189
  3535. package/fesm2022/module.mjs.map +0 -1
  3536. package/fesm2022/platform_navigation.mjs +0 -24
  3537. package/fesm2022/platform_navigation.mjs.map +0 -1
  3538. package/fesm2022/xhr.mjs +0 -28
  3539. package/fesm2022/xhr.mjs.map +0 -1
@@ -1,3189 +0,0 @@
1
- /**
2
- * @license Angular v21.0.0-next.0
3
- * (c) 2010-2025 Google LLC. https://angular.io/
4
- * License: MIT
5
- */
6
-
7
- import * as i0 from '@angular/core';
8
- import { ɵRuntimeError as _RuntimeError, InjectionToken, inject, NgZone, DestroyRef, Injectable, ɵformatRuntimeError as _formatRuntimeError, runInInjectionContext, PendingTasks, ɵConsole as _Console, DOCUMENT, Inject, makeEnvironmentProviders, NgModule } from '@angular/core';
9
- import { switchMap, finalize, concatMap, filter, map } from 'rxjs/operators';
10
- import { Observable, from, of } from 'rxjs';
11
- import { XhrFactory, parseCookieValue } from './xhr.mjs';
12
-
13
- /**
14
- * Represents the header configuration options for an HTTP request.
15
- * Instances are immutable. Modifying methods return a cloned
16
- * instance with the change. The original object is never changed.
17
- *
18
- * @publicApi
19
- */
20
- class HttpHeaders {
21
- /**
22
- * Internal map of lowercase header names to values.
23
- */
24
- headers;
25
- /**
26
- * Internal map of lowercased header names to the normalized
27
- * form of the name (the form seen first).
28
- */
29
- normalizedNames = new Map();
30
- /**
31
- * Complete the lazy initialization of this object (needed before reading).
32
- */
33
- lazyInit;
34
- /**
35
- * Queued updates to be materialized the next initialization.
36
- */
37
- lazyUpdate = null;
38
- /** Constructs a new HTTP header object with the given values.*/
39
- constructor(headers) {
40
- if (!headers) {
41
- this.headers = new Map();
42
- }
43
- else if (typeof headers === 'string') {
44
- this.lazyInit = () => {
45
- this.headers = new Map();
46
- headers.split('\n').forEach((line) => {
47
- const index = line.indexOf(':');
48
- if (index > 0) {
49
- const name = line.slice(0, index);
50
- const value = line.slice(index + 1).trim();
51
- this.addHeaderEntry(name, value);
52
- }
53
- });
54
- };
55
- }
56
- else if (typeof Headers !== 'undefined' && headers instanceof Headers) {
57
- this.headers = new Map();
58
- headers.forEach((value, name) => {
59
- this.addHeaderEntry(name, value);
60
- });
61
- }
62
- else {
63
- this.lazyInit = () => {
64
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
65
- assertValidHeaders(headers);
66
- }
67
- this.headers = new Map();
68
- Object.entries(headers).forEach(([name, values]) => {
69
- this.setHeaderEntries(name, values);
70
- });
71
- };
72
- }
73
- }
74
- /**
75
- * Checks for existence of a given header.
76
- *
77
- * @param name The header name to check for existence.
78
- *
79
- * @returns True if the header exists, false otherwise.
80
- */
81
- has(name) {
82
- this.init();
83
- return this.headers.has(name.toLowerCase());
84
- }
85
- /**
86
- * Retrieves the first value of a given header.
87
- *
88
- * @param name The header name.
89
- *
90
- * @returns The value string if the header exists, null otherwise
91
- */
92
- get(name) {
93
- this.init();
94
- const values = this.headers.get(name.toLowerCase());
95
- return values && values.length > 0 ? values[0] : null;
96
- }
97
- /**
98
- * Retrieves the names of the headers.
99
- *
100
- * @returns A list of header names.
101
- */
102
- keys() {
103
- this.init();
104
- return Array.from(this.normalizedNames.values());
105
- }
106
- /**
107
- * Retrieves a list of values for a given header.
108
- *
109
- * @param name The header name from which to retrieve values.
110
- *
111
- * @returns A string of values if the header exists, null otherwise.
112
- */
113
- getAll(name) {
114
- this.init();
115
- return this.headers.get(name.toLowerCase()) || null;
116
- }
117
- /**
118
- * Appends a new value to the existing set of values for a header
119
- * and returns them in a clone of the original instance.
120
- *
121
- * @param name The header name for which to append the values.
122
- * @param value The value to append.
123
- *
124
- * @returns A clone of the HTTP headers object with the value appended to the given header.
125
- */
126
- append(name, value) {
127
- return this.clone({ name, value, op: 'a' });
128
- }
129
- /**
130
- * Sets or modifies a value for a given header in a clone of the original instance.
131
- * If the header already exists, its value is replaced with the given value
132
- * in the returned object.
133
- *
134
- * @param name The header name.
135
- * @param value The value or values to set or override for the given header.
136
- *
137
- * @returns A clone of the HTTP headers object with the newly set header value.
138
- */
139
- set(name, value) {
140
- return this.clone({ name, value, op: 's' });
141
- }
142
- /**
143
- * Deletes values for a given header in a clone of the original instance.
144
- *
145
- * @param name The header name.
146
- * @param value The value or values to delete for the given header.
147
- *
148
- * @returns A clone of the HTTP headers object with the given value deleted.
149
- */
150
- delete(name, value) {
151
- return this.clone({ name, value, op: 'd' });
152
- }
153
- maybeSetNormalizedName(name, lcName) {
154
- if (!this.normalizedNames.has(lcName)) {
155
- this.normalizedNames.set(lcName, name);
156
- }
157
- }
158
- init() {
159
- if (!!this.lazyInit) {
160
- if (this.lazyInit instanceof HttpHeaders) {
161
- this.copyFrom(this.lazyInit);
162
- }
163
- else {
164
- this.lazyInit();
165
- }
166
- this.lazyInit = null;
167
- if (!!this.lazyUpdate) {
168
- this.lazyUpdate.forEach((update) => this.applyUpdate(update));
169
- this.lazyUpdate = null;
170
- }
171
- }
172
- }
173
- copyFrom(other) {
174
- other.init();
175
- Array.from(other.headers.keys()).forEach((key) => {
176
- this.headers.set(key, other.headers.get(key));
177
- this.normalizedNames.set(key, other.normalizedNames.get(key));
178
- });
179
- }
180
- clone(update) {
181
- const clone = new HttpHeaders();
182
- clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;
183
- clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);
184
- return clone;
185
- }
186
- applyUpdate(update) {
187
- const key = update.name.toLowerCase();
188
- switch (update.op) {
189
- case 'a':
190
- case 's':
191
- let value = update.value;
192
- if (typeof value === 'string') {
193
- value = [value];
194
- }
195
- if (value.length === 0) {
196
- return;
197
- }
198
- this.maybeSetNormalizedName(update.name, key);
199
- const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];
200
- base.push(...value);
201
- this.headers.set(key, base);
202
- break;
203
- case 'd':
204
- const toDelete = update.value;
205
- if (!toDelete) {
206
- this.headers.delete(key);
207
- this.normalizedNames.delete(key);
208
- }
209
- else {
210
- let existing = this.headers.get(key);
211
- if (!existing) {
212
- return;
213
- }
214
- existing = existing.filter((value) => toDelete.indexOf(value) === -1);
215
- if (existing.length === 0) {
216
- this.headers.delete(key);
217
- this.normalizedNames.delete(key);
218
- }
219
- else {
220
- this.headers.set(key, existing);
221
- }
222
- }
223
- break;
224
- }
225
- }
226
- addHeaderEntry(name, value) {
227
- const key = name.toLowerCase();
228
- this.maybeSetNormalizedName(name, key);
229
- if (this.headers.has(key)) {
230
- this.headers.get(key).push(value);
231
- }
232
- else {
233
- this.headers.set(key, [value]);
234
- }
235
- }
236
- setHeaderEntries(name, values) {
237
- const headerValues = (Array.isArray(values) ? values : [values]).map((value) => value.toString());
238
- const key = name.toLowerCase();
239
- this.headers.set(key, headerValues);
240
- this.maybeSetNormalizedName(name, key);
241
- }
242
- /**
243
- * @internal
244
- */
245
- forEach(fn) {
246
- this.init();
247
- Array.from(this.normalizedNames.keys()).forEach((key) => fn(this.normalizedNames.get(key), this.headers.get(key)));
248
- }
249
- }
250
- /**
251
- * Verifies that the headers object has the right shape: the values
252
- * must be either strings, numbers or arrays. Throws an error if an invalid
253
- * header value is present.
254
- */
255
- function assertValidHeaders(headers) {
256
- for (const [key, value] of Object.entries(headers)) {
257
- if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {
258
- throw new Error(`Unexpected value of the \`${key}\` header provided. ` +
259
- `Expecting either a string, a number or an array, but got: \`${value}\`.`);
260
- }
261
- }
262
- }
263
-
264
- /**
265
- * A token used to manipulate and access values stored in `HttpContext`.
266
- *
267
- * @publicApi
268
- */
269
- class HttpContextToken {
270
- defaultValue;
271
- constructor(defaultValue) {
272
- this.defaultValue = defaultValue;
273
- }
274
- }
275
- /**
276
- * Http context stores arbitrary user defined values and ensures type safety without
277
- * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.
278
- *
279
- * This context is mutable and is shared between cloned requests unless explicitly specified.
280
- *
281
- * @usageNotes
282
- *
283
- * ### Usage Example
284
- *
285
- * ```ts
286
- * // inside cache.interceptors.ts
287
- * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);
288
- *
289
- * export class CacheInterceptor implements HttpInterceptor {
290
- *
291
- * intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {
292
- * if (req.context.get(IS_CACHE_ENABLED) === true) {
293
- * return ...;
294
- * }
295
- * return delegate.handle(req);
296
- * }
297
- * }
298
- *
299
- * // inside a service
300
- *
301
- * this.httpClient.get('/api/weather', {
302
- * context: new HttpContext().set(IS_CACHE_ENABLED, true)
303
- * }).subscribe(...);
304
- * ```
305
- *
306
- * @publicApi
307
- */
308
- class HttpContext {
309
- map = new Map();
310
- /**
311
- * Store a value in the context. If a value is already present it will be overwritten.
312
- *
313
- * @param token The reference to an instance of `HttpContextToken`.
314
- * @param value The value to store.
315
- *
316
- * @returns A reference to itself for easy chaining.
317
- */
318
- set(token, value) {
319
- this.map.set(token, value);
320
- return this;
321
- }
322
- /**
323
- * Retrieve the value associated with the given token.
324
- *
325
- * @param token The reference to an instance of `HttpContextToken`.
326
- *
327
- * @returns The stored value or default if one is defined.
328
- */
329
- get(token) {
330
- if (!this.map.has(token)) {
331
- this.map.set(token, token.defaultValue());
332
- }
333
- return this.map.get(token);
334
- }
335
- /**
336
- * Delete the value associated with the given token.
337
- *
338
- * @param token The reference to an instance of `HttpContextToken`.
339
- *
340
- * @returns A reference to itself for easy chaining.
341
- */
342
- delete(token) {
343
- this.map.delete(token);
344
- return this;
345
- }
346
- /**
347
- * Checks for existence of a given token.
348
- *
349
- * @param token The reference to an instance of `HttpContextToken`.
350
- *
351
- * @returns True if the token exists, false otherwise.
352
- */
353
- has(token) {
354
- return this.map.has(token);
355
- }
356
- /**
357
- * @returns a list of tokens currently stored in the context.
358
- */
359
- keys() {
360
- return this.map.keys();
361
- }
362
- }
363
-
364
- /**
365
- * Provides encoding and decoding of URL parameter and query-string values.
366
- *
367
- * Serializes and parses URL parameter keys and values to encode and decode them.
368
- * If you pass URL query parameters without encoding,
369
- * the query parameters can be misinterpreted at the receiving end.
370
- *
371
- *
372
- * @publicApi
373
- */
374
- class HttpUrlEncodingCodec {
375
- /**
376
- * Encodes a key name for a URL parameter or query-string.
377
- * @param key The key name.
378
- * @returns The encoded key name.
379
- */
380
- encodeKey(key) {
381
- return standardEncoding(key);
382
- }
383
- /**
384
- * Encodes the value of a URL parameter or query-string.
385
- * @param value The value.
386
- * @returns The encoded value.
387
- */
388
- encodeValue(value) {
389
- return standardEncoding(value);
390
- }
391
- /**
392
- * Decodes an encoded URL parameter or query-string key.
393
- * @param key The encoded key name.
394
- * @returns The decoded key name.
395
- */
396
- decodeKey(key) {
397
- return decodeURIComponent(key);
398
- }
399
- /**
400
- * Decodes an encoded URL parameter or query-string value.
401
- * @param value The encoded value.
402
- * @returns The decoded value.
403
- */
404
- decodeValue(value) {
405
- return decodeURIComponent(value);
406
- }
407
- }
408
- function paramParser(rawParams, codec) {
409
- const map = new Map();
410
- if (rawParams.length > 0) {
411
- // The `window.location.search` can be used while creating an instance of the `HttpParams` class
412
- // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`
413
- // may start with the `?` char, so we strip it if it's present.
414
- const params = rawParams.replace(/^\?/, '').split('&');
415
- params.forEach((param) => {
416
- const eqIdx = param.indexOf('=');
417
- const [key, val] = eqIdx == -1
418
- ? [codec.decodeKey(param), '']
419
- : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];
420
- const list = map.get(key) || [];
421
- list.push(val);
422
- map.set(key, list);
423
- });
424
- }
425
- return map;
426
- }
427
- /**
428
- * Encode input string with standard encodeURIComponent and then un-encode specific characters.
429
- */
430
- const STANDARD_ENCODING_REGEX = /%(\d[a-f0-9])/gi;
431
- const STANDARD_ENCODING_REPLACEMENTS = {
432
- '40': '@',
433
- '3A': ':',
434
- '24': '$',
435
- '2C': ',',
436
- '3B': ';',
437
- '3D': '=',
438
- '3F': '?',
439
- '2F': '/',
440
- };
441
- function standardEncoding(v) {
442
- return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);
443
- }
444
- function valueToString(value) {
445
- return `${value}`;
446
- }
447
- /**
448
- * An HTTP request/response body that represents serialized parameters,
449
- * per the MIME type `application/x-www-form-urlencoded`.
450
- *
451
- * This class is immutable; all mutation operations return a new instance.
452
- *
453
- * @publicApi
454
- */
455
- class HttpParams {
456
- map;
457
- encoder;
458
- updates = null;
459
- cloneFrom = null;
460
- constructor(options = {}) {
461
- this.encoder = options.encoder || new HttpUrlEncodingCodec();
462
- if (options.fromString) {
463
- if (options.fromObject) {
464
- throw new _RuntimeError(2805 /* RuntimeErrorCode.CANNOT_SPECIFY_BOTH_FROM_STRING_AND_FROM_OBJECT */, ngDevMode && 'Cannot specify both fromString and fromObject.');
465
- }
466
- this.map = paramParser(options.fromString, this.encoder);
467
- }
468
- else if (!!options.fromObject) {
469
- this.map = new Map();
470
- Object.keys(options.fromObject).forEach((key) => {
471
- const value = options.fromObject[key];
472
- // convert the values to strings
473
- const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];
474
- this.map.set(key, values);
475
- });
476
- }
477
- else {
478
- this.map = null;
479
- }
480
- }
481
- /**
482
- * Reports whether the body includes one or more values for a given parameter.
483
- * @param param The parameter name.
484
- * @returns True if the parameter has one or more values,
485
- * false if it has no value or is not present.
486
- */
487
- has(param) {
488
- this.init();
489
- return this.map.has(param);
490
- }
491
- /**
492
- * Retrieves the first value for a parameter.
493
- * @param param The parameter name.
494
- * @returns The first value of the given parameter,
495
- * or `null` if the parameter is not present.
496
- */
497
- get(param) {
498
- this.init();
499
- const res = this.map.get(param);
500
- return !!res ? res[0] : null;
501
- }
502
- /**
503
- * Retrieves all values for a parameter.
504
- * @param param The parameter name.
505
- * @returns All values in a string array,
506
- * or `null` if the parameter not present.
507
- */
508
- getAll(param) {
509
- this.init();
510
- return this.map.get(param) || null;
511
- }
512
- /**
513
- * Retrieves all the parameters for this body.
514
- * @returns The parameter names in a string array.
515
- */
516
- keys() {
517
- this.init();
518
- return Array.from(this.map.keys());
519
- }
520
- /**
521
- * Appends a new value to existing values for a parameter.
522
- * @param param The parameter name.
523
- * @param value The new value to add.
524
- * @return A new body with the appended value.
525
- */
526
- append(param, value) {
527
- return this.clone({ param, value, op: 'a' });
528
- }
529
- /**
530
- * Constructs a new body with appended values for the given parameter name.
531
- * @param params parameters and values
532
- * @return A new body with the new value.
533
- */
534
- appendAll(params) {
535
- const updates = [];
536
- Object.keys(params).forEach((param) => {
537
- const value = params[param];
538
- if (Array.isArray(value)) {
539
- value.forEach((_value) => {
540
- updates.push({ param, value: _value, op: 'a' });
541
- });
542
- }
543
- else {
544
- updates.push({ param, value: value, op: 'a' });
545
- }
546
- });
547
- return this.clone(updates);
548
- }
549
- /**
550
- * Replaces the value for a parameter.
551
- * @param param The parameter name.
552
- * @param value The new value.
553
- * @return A new body with the new value.
554
- */
555
- set(param, value) {
556
- return this.clone({ param, value, op: 's' });
557
- }
558
- /**
559
- * Removes a given value or all values from a parameter.
560
- * @param param The parameter name.
561
- * @param value The value to remove, if provided.
562
- * @return A new body with the given value removed, or with all values
563
- * removed if no value is specified.
564
- */
565
- delete(param, value) {
566
- return this.clone({ param, value, op: 'd' });
567
- }
568
- /**
569
- * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are
570
- * separated by `&`s.
571
- */
572
- toString() {
573
- this.init();
574
- return (this.keys()
575
- .map((key) => {
576
- const eKey = this.encoder.encodeKey(key);
577
- // `a: ['1']` produces `'a=1'`
578
- // `b: []` produces `''`
579
- // `c: ['1', '2']` produces `'c=1&c=2'`
580
- return this.map.get(key)
581
- .map((value) => eKey + '=' + this.encoder.encodeValue(value))
582
- .join('&');
583
- })
584
- // filter out empty values because `b: []` produces `''`
585
- // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't
586
- .filter((param) => param !== '')
587
- .join('&'));
588
- }
589
- clone(update) {
590
- const clone = new HttpParams({ encoder: this.encoder });
591
- clone.cloneFrom = this.cloneFrom || this;
592
- clone.updates = (this.updates || []).concat(update);
593
- return clone;
594
- }
595
- init() {
596
- if (this.map === null) {
597
- this.map = new Map();
598
- }
599
- if (this.cloneFrom !== null) {
600
- this.cloneFrom.init();
601
- this.cloneFrom.keys().forEach((key) => this.map.set(key, this.cloneFrom.map.get(key)));
602
- this.updates.forEach((update) => {
603
- switch (update.op) {
604
- case 'a':
605
- case 's':
606
- const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];
607
- base.push(valueToString(update.value));
608
- this.map.set(update.param, base);
609
- break;
610
- case 'd':
611
- if (update.value !== undefined) {
612
- let base = this.map.get(update.param) || [];
613
- const idx = base.indexOf(valueToString(update.value));
614
- if (idx !== -1) {
615
- base.splice(idx, 1);
616
- }
617
- if (base.length > 0) {
618
- this.map.set(update.param, base);
619
- }
620
- else {
621
- this.map.delete(update.param);
622
- }
623
- }
624
- else {
625
- this.map.delete(update.param);
626
- break;
627
- }
628
- }
629
- });
630
- this.cloneFrom = this.updates = null;
631
- }
632
- }
633
- }
634
-
635
- /**
636
- * Determine whether the given HTTP method may include a body.
637
- */
638
- function mightHaveBody(method) {
639
- switch (method) {
640
- case 'DELETE':
641
- case 'GET':
642
- case 'HEAD':
643
- case 'OPTIONS':
644
- case 'JSONP':
645
- return false;
646
- default:
647
- return true;
648
- }
649
- }
650
- /**
651
- * Safely assert whether the given value is an ArrayBuffer.
652
- *
653
- * In some execution environments ArrayBuffer is not defined.
654
- */
655
- function isArrayBuffer(value) {
656
- return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;
657
- }
658
- /**
659
- * Safely assert whether the given value is a Blob.
660
- *
661
- * In some execution environments Blob is not defined.
662
- */
663
- function isBlob(value) {
664
- return typeof Blob !== 'undefined' && value instanceof Blob;
665
- }
666
- /**
667
- * Safely assert whether the given value is a FormData instance.
668
- *
669
- * In some execution environments FormData is not defined.
670
- */
671
- function isFormData(value) {
672
- return typeof FormData !== 'undefined' && value instanceof FormData;
673
- }
674
- /**
675
- * Safely assert whether the given value is a URLSearchParams instance.
676
- *
677
- * In some execution environments URLSearchParams is not defined.
678
- */
679
- function isUrlSearchParams(value) {
680
- return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;
681
- }
682
- /**
683
- * `Content-Type` is an HTTP header used to indicate the media type
684
- * (also known as MIME type) of the resource being sent to the client
685
- * or received from the server.
686
- */
687
- const CONTENT_TYPE_HEADER = 'Content-Type';
688
- /**
689
- * The `Accept` header is an HTTP request header that indicates the media types
690
- * (or content types) the client is willing to receive from the server.
691
- */
692
- const ACCEPT_HEADER = 'Accept';
693
- /**
694
- * `X-Request-URL` is a custom HTTP header used in older browser versions,
695
- * including Firefox (< 32), Chrome (< 37), Safari (< 8), and Internet Explorer,
696
- * to include the full URL of the request in cross-origin requests.
697
- */
698
- const X_REQUEST_URL_HEADER = 'X-Request-URL';
699
- /**
700
- * `text/plain` is a content type used to indicate that the content being
701
- * sent is plain text with no special formatting or structured data
702
- * like HTML, XML, or JSON.
703
- */
704
- const TEXT_CONTENT_TYPE = 'text/plain';
705
- /**
706
- * `application/json` is a content type used to indicate that the content
707
- * being sent is in the JSON format.
708
- */
709
- const JSON_CONTENT_TYPE = 'application/json';
710
- /**
711
- * `application/json, text/plain, *\/*` is a content negotiation string often seen in the
712
- * Accept header of HTTP requests. It indicates the types of content the client is willing
713
- * to accept from the server, with a preference for `application/json` and `text/plain`,
714
- * but also accepting any other type (*\/*).
715
- */
716
- const ACCEPT_HEADER_VALUE = `${JSON_CONTENT_TYPE}, ${TEXT_CONTENT_TYPE}, */*`;
717
- /**
718
- * An outgoing HTTP request with an optional typed body.
719
- *
720
- * `HttpRequest` represents an outgoing request, including URL, method,
721
- * headers, body, and other request configuration options. Instances should be
722
- * assumed to be immutable. To modify a `HttpRequest`, the `clone`
723
- * method should be used.
724
- *
725
- * @publicApi
726
- */
727
- class HttpRequest {
728
- url;
729
- /**
730
- * The request body, or `null` if one isn't set.
731
- *
732
- * Bodies are not enforced to be immutable, as they can include a reference to any
733
- * user-defined data type. However, interceptors should take care to preserve
734
- * idempotence by treating them as such.
735
- */
736
- body = null;
737
- /**
738
- * Outgoing headers for this request.
739
- */
740
- headers;
741
- /**
742
- * Shared and mutable context that can be used by interceptors
743
- */
744
- context;
745
- /**
746
- * Whether this request should be made in a way that exposes progress events.
747
- *
748
- * Progress events are expensive (change detection runs on each event) and so
749
- * they should only be requested if the consumer intends to monitor them.
750
- *
751
- * Note: The `FetchBackend` doesn't support progress report on uploads.
752
- */
753
- reportProgress = false;
754
- /**
755
- * Whether this request should be sent with outgoing credentials (cookies).
756
- */
757
- withCredentials = false;
758
- /**
759
- * The credentials mode of the request, which determines how cookies and HTTP authentication are handled.
760
- * This can affect whether cookies are sent with the request, and how authentication is handled.
761
- */
762
- credentials;
763
- /**
764
- * When using the fetch implementation and set to `true`, the browser will not abort the associated request if the page that initiated it is unloaded before the request is complete.
765
- */
766
- keepalive = false;
767
- /**
768
- * Controls how the request will interact with the browser's HTTP cache.
769
- * This affects whether a response is retrieved from the cache, how it is stored, or if it bypasses the cache altogether.
770
- */
771
- cache;
772
- /**
773
- * Indicates the relative priority of the request. This may be used by the browser to decide the order in which requests are dispatched and resources fetched.
774
- */
775
- priority;
776
- /**
777
- * The mode of the request, which determines how the request will interact with the browser's security model.
778
- * This can affect things like CORS (Cross-Origin Resource Sharing) and same-origin policies.
779
- */
780
- mode;
781
- /**
782
- * The redirect mode of the request, which determines how redirects are handled.
783
- * This can affect whether the request follows redirects automatically, or if it fails when a redirect occurs.
784
- */
785
- redirect;
786
- /**
787
- * The referrer of the request, which can be used to indicate the origin of the request.
788
- * This is useful for security and analytics purposes.
789
- * Value is a same-origin URL, "about:client", or the empty string, to set request's referrer.
790
- */
791
- referrer;
792
- /**
793
- * The integrity metadata of the request, which can be used to ensure the request is made with the expected content.
794
- * A cryptographic hash of the resource to be fetched by request
795
- */
796
- integrity;
797
- /**
798
- * The expected response type of the server.
799
- *
800
- * This is used to parse the response appropriately before returning it to
801
- * the requestee.
802
- */
803
- responseType = 'json';
804
- /**
805
- * The outgoing HTTP request method.
806
- */
807
- method;
808
- /**
809
- * Outgoing URL parameters.
810
- *
811
- * To pass a string representation of HTTP parameters in the URL-query-string format,
812
- * the `HttpParamsOptions`' `fromString` may be used. For example:
813
- *
814
- * ```ts
815
- * new HttpParams({fromString: 'angular=awesome'})
816
- * ```
817
- */
818
- params;
819
- /**
820
- * The outgoing URL with all URL parameters set.
821
- */
822
- urlWithParams;
823
- /**
824
- * The HttpTransferCache option for the request
825
- */
826
- transferCache;
827
- /**
828
- * The timeout for the backend HTTP request in ms.
829
- */
830
- timeout;
831
- constructor(method, url, third, fourth) {
832
- this.url = url;
833
- this.method = method.toUpperCase();
834
- // Next, need to figure out which argument holds the HttpRequestInit
835
- // options, if any.
836
- let options;
837
- // Check whether a body argument is expected. The only valid way to omit
838
- // the body argument is to use a known no-body method like GET.
839
- if (mightHaveBody(this.method) || !!fourth) {
840
- // Body is the third argument, options are the fourth.
841
- this.body = third !== undefined ? third : null;
842
- options = fourth;
843
- }
844
- else {
845
- // No body required, options are the third argument. The body stays null.
846
- options = third;
847
- }
848
- // If options have been passed, interpret them.
849
- if (options) {
850
- // Normalize reportProgress and withCredentials.
851
- this.reportProgress = !!options.reportProgress;
852
- this.withCredentials = !!options.withCredentials;
853
- this.keepalive = !!options.keepalive;
854
- // Override default response type of 'json' if one is provided.
855
- if (!!options.responseType) {
856
- this.responseType = options.responseType;
857
- }
858
- // Override headers if they're provided.
859
- if (options.headers) {
860
- this.headers = options.headers;
861
- }
862
- if (options.context) {
863
- this.context = options.context;
864
- }
865
- if (options.params) {
866
- this.params = options.params;
867
- }
868
- if (options.priority) {
869
- this.priority = options.priority;
870
- }
871
- if (options.cache) {
872
- this.cache = options.cache;
873
- }
874
- if (options.credentials) {
875
- this.credentials = options.credentials;
876
- }
877
- if (typeof options.timeout === 'number') {
878
- // XHR will ignore any value below 1. AbortSignals only accept unsigned integers.
879
- if (options.timeout < 1 || !Number.isInteger(options.timeout)) {
880
- throw new _RuntimeError(2822 /* RuntimeErrorCode.INVALID_TIMEOUT_VALUE */, ngDevMode ? '`timeout` must be a positive integer value' : '');
881
- }
882
- this.timeout = options.timeout;
883
- }
884
- if (options.mode) {
885
- this.mode = options.mode;
886
- }
887
- if (options.redirect) {
888
- this.redirect = options.redirect;
889
- }
890
- if (options.integrity) {
891
- this.integrity = options.integrity;
892
- }
893
- if (options.referrer) {
894
- this.referrer = options.referrer;
895
- }
896
- // We do want to assign transferCache even if it's falsy (false is valid value)
897
- this.transferCache = options.transferCache;
898
- }
899
- // If no headers have been passed in, construct a new HttpHeaders instance.
900
- this.headers ??= new HttpHeaders();
901
- // If no context have been passed in, construct a new HttpContext instance.
902
- this.context ??= new HttpContext();
903
- // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.
904
- if (!this.params) {
905
- this.params = new HttpParams();
906
- this.urlWithParams = url;
907
- }
908
- else {
909
- // Encode the parameters to a string in preparation for inclusion in the URL.
910
- const params = this.params.toString();
911
- if (params.length === 0) {
912
- // No parameters, the visible URL is just the URL given at creation time.
913
- this.urlWithParams = url;
914
- }
915
- else {
916
- // Does the URL already have query parameters? Look for '?'.
917
- const qIdx = url.indexOf('?');
918
- // There are 3 cases to handle:
919
- // 1) No existing parameters -> append '?' followed by params.
920
- // 2) '?' exists and is followed by existing query string ->
921
- // append '&' followed by params.
922
- // 3) '?' exists at the end of the url -> append params directly.
923
- // This basically amounts to determining the character, if any, with
924
- // which to join the URL and parameters.
925
- const sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';
926
- this.urlWithParams = url + sep + params;
927
- }
928
- }
929
- }
930
- /**
931
- * Transform the free-form body into a serialized format suitable for
932
- * transmission to the server.
933
- */
934
- serializeBody() {
935
- // If no body is present, no need to serialize it.
936
- if (this.body === null) {
937
- return null;
938
- }
939
- // Check whether the body is already in a serialized form. If so,
940
- // it can just be returned directly.
941
- if (typeof this.body === 'string' ||
942
- isArrayBuffer(this.body) ||
943
- isBlob(this.body) ||
944
- isFormData(this.body) ||
945
- isUrlSearchParams(this.body)) {
946
- return this.body;
947
- }
948
- // Check whether the body is an instance of HttpUrlEncodedParams.
949
- if (this.body instanceof HttpParams) {
950
- return this.body.toString();
951
- }
952
- // Check whether the body is an object or array, and serialize with JSON if so.
953
- if (typeof this.body === 'object' ||
954
- typeof this.body === 'boolean' ||
955
- Array.isArray(this.body)) {
956
- return JSON.stringify(this.body);
957
- }
958
- // Fall back on toString() for everything else.
959
- return this.body.toString();
960
- }
961
- /**
962
- * Examine the body and attempt to infer an appropriate MIME type
963
- * for it.
964
- *
965
- * If no such type can be inferred, this method will return `null`.
966
- */
967
- detectContentTypeHeader() {
968
- // An empty body has no content type.
969
- if (this.body === null) {
970
- return null;
971
- }
972
- // FormData bodies rely on the browser's content type assignment.
973
- if (isFormData(this.body)) {
974
- return null;
975
- }
976
- // Blobs usually have their own content type. If it doesn't, then
977
- // no type can be inferred.
978
- if (isBlob(this.body)) {
979
- return this.body.type || null;
980
- }
981
- // Array buffers have unknown contents and thus no type can be inferred.
982
- if (isArrayBuffer(this.body)) {
983
- return null;
984
- }
985
- // Technically, strings could be a form of JSON data, but it's safe enough
986
- // to assume they're plain strings.
987
- if (typeof this.body === 'string') {
988
- return TEXT_CONTENT_TYPE;
989
- }
990
- // `HttpUrlEncodedParams` has its own content-type.
991
- if (this.body instanceof HttpParams) {
992
- return 'application/x-www-form-urlencoded;charset=UTF-8';
993
- }
994
- // Arrays, objects, boolean and numbers will be encoded as JSON.
995
- if (typeof this.body === 'object' ||
996
- typeof this.body === 'number' ||
997
- typeof this.body === 'boolean') {
998
- return JSON_CONTENT_TYPE;
999
- }
1000
- // No type could be inferred.
1001
- return null;
1002
- }
1003
- clone(update = {}) {
1004
- // For method, url, and responseType, take the current value unless
1005
- // it is overridden in the update hash.
1006
- const method = update.method || this.method;
1007
- const url = update.url || this.url;
1008
- const responseType = update.responseType || this.responseType;
1009
- const keepalive = update.keepalive ?? this.keepalive;
1010
- const priority = update.priority || this.priority;
1011
- const cache = update.cache || this.cache;
1012
- const mode = update.mode || this.mode;
1013
- const redirect = update.redirect || this.redirect;
1014
- const credentials = update.credentials || this.credentials;
1015
- const referrer = update.referrer || this.referrer;
1016
- const integrity = update.integrity || this.integrity;
1017
- // Carefully handle the transferCache to differentiate between
1018
- // `false` and `undefined` in the update args.
1019
- const transferCache = update.transferCache ?? this.transferCache;
1020
- const timeout = update.timeout ?? this.timeout;
1021
- // The body is somewhat special - a `null` value in update.body means
1022
- // whatever current body is present is being overridden with an empty
1023
- // body, whereas an `undefined` value in update.body implies no
1024
- // override.
1025
- const body = update.body !== undefined ? update.body : this.body;
1026
- // Carefully handle the boolean options to differentiate between
1027
- // `false` and `undefined` in the update args.
1028
- const withCredentials = update.withCredentials ?? this.withCredentials;
1029
- const reportProgress = update.reportProgress ?? this.reportProgress;
1030
- // Headers and params may be appended to if `setHeaders` or
1031
- // `setParams` are used.
1032
- let headers = update.headers || this.headers;
1033
- let params = update.params || this.params;
1034
- // Pass on context if needed
1035
- const context = update.context ?? this.context;
1036
- // Check whether the caller has asked to add headers.
1037
- if (update.setHeaders !== undefined) {
1038
- // Set every requested header.
1039
- headers = Object.keys(update.setHeaders).reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);
1040
- }
1041
- // Check whether the caller has asked to set params.
1042
- if (update.setParams) {
1043
- // Set every requested param.
1044
- params = Object.keys(update.setParams).reduce((params, param) => params.set(param, update.setParams[param]), params);
1045
- }
1046
- // Finally, construct the new HttpRequest using the pieces from above.
1047
- return new HttpRequest(method, url, body, {
1048
- params,
1049
- headers,
1050
- context,
1051
- reportProgress,
1052
- responseType,
1053
- withCredentials,
1054
- transferCache,
1055
- keepalive,
1056
- cache,
1057
- priority,
1058
- timeout,
1059
- mode,
1060
- redirect,
1061
- credentials,
1062
- referrer,
1063
- integrity,
1064
- });
1065
- }
1066
- }
1067
-
1068
- /**
1069
- * Type enumeration for the different kinds of `HttpEvent`.
1070
- *
1071
- * @publicApi
1072
- */
1073
- var HttpEventType;
1074
- (function (HttpEventType) {
1075
- /**
1076
- * The request was sent out over the wire.
1077
- */
1078
- HttpEventType[HttpEventType["Sent"] = 0] = "Sent";
1079
- /**
1080
- * An upload progress event was received.
1081
- *
1082
- * Note: The `FetchBackend` doesn't support progress report on uploads.
1083
- */
1084
- HttpEventType[HttpEventType["UploadProgress"] = 1] = "UploadProgress";
1085
- /**
1086
- * The response status code and headers were received.
1087
- */
1088
- HttpEventType[HttpEventType["ResponseHeader"] = 2] = "ResponseHeader";
1089
- /**
1090
- * A download progress event was received.
1091
- */
1092
- HttpEventType[HttpEventType["DownloadProgress"] = 3] = "DownloadProgress";
1093
- /**
1094
- * The full response including the body was received.
1095
- */
1096
- HttpEventType[HttpEventType["Response"] = 4] = "Response";
1097
- /**
1098
- * A custom event from an interceptor or a backend.
1099
- */
1100
- HttpEventType[HttpEventType["User"] = 5] = "User";
1101
- })(HttpEventType || (HttpEventType = {}));
1102
- /**
1103
- * Base class for both `HttpResponse` and `HttpHeaderResponse`.
1104
- *
1105
- * @publicApi
1106
- */
1107
- class HttpResponseBase {
1108
- /**
1109
- * All response headers.
1110
- */
1111
- headers;
1112
- /**
1113
- * Response status code.
1114
- */
1115
- status;
1116
- /**
1117
- * Textual description of response status code, defaults to OK.
1118
- *
1119
- * Do not depend on this.
1120
- */
1121
- statusText;
1122
- /**
1123
- * URL of the resource retrieved, or null if not available.
1124
- */
1125
- url;
1126
- /**
1127
- * Whether the status code falls in the 2xx range.
1128
- */
1129
- ok;
1130
- /**
1131
- * Type of the response, narrowed to either the full response or the header.
1132
- */
1133
- type;
1134
- /**
1135
- * Indicates whether the HTTP response was redirected during the request.
1136
- * This property is only available when using the Fetch API using `withFetch()`
1137
- * When using the default XHR Request this property will be `undefined`
1138
- */
1139
- redirected;
1140
- /**
1141
- * Super-constructor for all responses.
1142
- *
1143
- * The single parameter accepted is an initialization hash. Any properties
1144
- * of the response passed there will override the default values.
1145
- */
1146
- constructor(init, defaultStatus = 200, defaultStatusText = 'OK') {
1147
- // If the hash has values passed, use them to initialize the response.
1148
- // Otherwise use the default values.
1149
- this.headers = init.headers || new HttpHeaders();
1150
- this.status = init.status !== undefined ? init.status : defaultStatus;
1151
- this.statusText = init.statusText || defaultStatusText;
1152
- this.url = init.url || null;
1153
- this.redirected = init.redirected;
1154
- // Cache the ok value to avoid defining a getter.
1155
- this.ok = this.status >= 200 && this.status < 300;
1156
- }
1157
- }
1158
- /**
1159
- * A partial HTTP response which only includes the status and header data,
1160
- * but no response body.
1161
- *
1162
- * `HttpHeaderResponse` is a `HttpEvent` available on the response
1163
- * event stream, only when progress events are requested.
1164
- *
1165
- * @publicApi
1166
- */
1167
- class HttpHeaderResponse extends HttpResponseBase {
1168
- /**
1169
- * Create a new `HttpHeaderResponse` with the given parameters.
1170
- */
1171
- constructor(init = {}) {
1172
- super(init);
1173
- }
1174
- type = HttpEventType.ResponseHeader;
1175
- /**
1176
- * Copy this `HttpHeaderResponse`, overriding its contents with the
1177
- * given parameter hash.
1178
- */
1179
- clone(update = {}) {
1180
- // Perform a straightforward initialization of the new HttpHeaderResponse,
1181
- // overriding the current parameters with new ones if given.
1182
- return new HttpHeaderResponse({
1183
- headers: update.headers || this.headers,
1184
- status: update.status !== undefined ? update.status : this.status,
1185
- statusText: update.statusText || this.statusText,
1186
- url: update.url || this.url || undefined,
1187
- });
1188
- }
1189
- }
1190
- /**
1191
- * A full HTTP response, including a typed response body (which may be `null`
1192
- * if one was not returned).
1193
- *
1194
- * `HttpResponse` is a `HttpEvent` available on the response event
1195
- * stream.
1196
- *
1197
- * @publicApi
1198
- */
1199
- class HttpResponse extends HttpResponseBase {
1200
- /**
1201
- * The response body, or `null` if one was not returned.
1202
- */
1203
- body;
1204
- /**
1205
- * Construct a new `HttpResponse`.
1206
- */
1207
- constructor(init = {}) {
1208
- super(init);
1209
- this.body = init.body !== undefined ? init.body : null;
1210
- }
1211
- type = HttpEventType.Response;
1212
- clone(update = {}) {
1213
- return new HttpResponse({
1214
- body: update.body !== undefined ? update.body : this.body,
1215
- headers: update.headers || this.headers,
1216
- status: update.status !== undefined ? update.status : this.status,
1217
- statusText: update.statusText || this.statusText,
1218
- url: update.url || this.url || undefined,
1219
- redirected: update.redirected ?? this.redirected,
1220
- });
1221
- }
1222
- }
1223
- /**
1224
- * A response that represents an error or failure, either from a
1225
- * non-successful HTTP status, an error while executing the request,
1226
- * or some other failure which occurred during the parsing of the response.
1227
- *
1228
- * Any error returned on the `Observable` response stream will be
1229
- * wrapped in an `HttpErrorResponse` to provide additional context about
1230
- * the state of the HTTP layer when the error occurred. The error property
1231
- * will contain either a wrapped Error object or the error response returned
1232
- * from the server.
1233
- *
1234
- * @publicApi
1235
- */
1236
- class HttpErrorResponse extends HttpResponseBase {
1237
- name = 'HttpErrorResponse';
1238
- message;
1239
- error;
1240
- /**
1241
- * Errors are never okay, even when the status code is in the 2xx success range.
1242
- */
1243
- ok = false;
1244
- constructor(init) {
1245
- // Initialize with a default status of 0 / Unknown Error.
1246
- super(init, 0, 'Unknown Error');
1247
- // If the response was successful, then this was a parse error. Otherwise, it was
1248
- // a protocol-level failure of some sort. Either the request failed in transit
1249
- // or the server returned an unsuccessful status code.
1250
- if (this.status >= 200 && this.status < 300) {
1251
- this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;
1252
- }
1253
- else {
1254
- this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;
1255
- }
1256
- this.error = init.error || null;
1257
- }
1258
- }
1259
- /**
1260
- * We use these constant to prevent pulling the whole HttpStatusCode enum
1261
- * Those are the only ones referenced directly by the framework
1262
- */
1263
- const HTTP_STATUS_CODE_OK = 200;
1264
- const HTTP_STATUS_CODE_NO_CONTENT = 204;
1265
- /**
1266
- * Http status codes.
1267
- * As per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
1268
- * @publicApi
1269
- */
1270
- var HttpStatusCode;
1271
- (function (HttpStatusCode) {
1272
- HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
1273
- HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
1274
- HttpStatusCode[HttpStatusCode["Processing"] = 102] = "Processing";
1275
- HttpStatusCode[HttpStatusCode["EarlyHints"] = 103] = "EarlyHints";
1276
- HttpStatusCode[HttpStatusCode["Ok"] = 200] = "Ok";
1277
- HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
1278
- HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
1279
- HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
1280
- HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
1281
- HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
1282
- HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
1283
- HttpStatusCode[HttpStatusCode["MultiStatus"] = 207] = "MultiStatus";
1284
- HttpStatusCode[HttpStatusCode["AlreadyReported"] = 208] = "AlreadyReported";
1285
- HttpStatusCode[HttpStatusCode["ImUsed"] = 226] = "ImUsed";
1286
- HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
1287
- HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
1288
- HttpStatusCode[HttpStatusCode["Found"] = 302] = "Found";
1289
- HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
1290
- HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
1291
- HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
1292
- HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
1293
- HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
1294
- HttpStatusCode[HttpStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect";
1295
- HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
1296
- HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
1297
- HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
1298
- HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
1299
- HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
1300
- HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
1301
- HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
1302
- HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
1303
- HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
1304
- HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
1305
- HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
1306
- HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
1307
- HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
1308
- HttpStatusCode[HttpStatusCode["PayloadTooLarge"] = 413] = "PayloadTooLarge";
1309
- HttpStatusCode[HttpStatusCode["UriTooLong"] = 414] = "UriTooLong";
1310
- HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
1311
- HttpStatusCode[HttpStatusCode["RangeNotSatisfiable"] = 416] = "RangeNotSatisfiable";
1312
- HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
1313
- HttpStatusCode[HttpStatusCode["ImATeapot"] = 418] = "ImATeapot";
1314
- HttpStatusCode[HttpStatusCode["MisdirectedRequest"] = 421] = "MisdirectedRequest";
1315
- HttpStatusCode[HttpStatusCode["UnprocessableEntity"] = 422] = "UnprocessableEntity";
1316
- HttpStatusCode[HttpStatusCode["Locked"] = 423] = "Locked";
1317
- HttpStatusCode[HttpStatusCode["FailedDependency"] = 424] = "FailedDependency";
1318
- HttpStatusCode[HttpStatusCode["TooEarly"] = 425] = "TooEarly";
1319
- HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
1320
- HttpStatusCode[HttpStatusCode["PreconditionRequired"] = 428] = "PreconditionRequired";
1321
- HttpStatusCode[HttpStatusCode["TooManyRequests"] = 429] = "TooManyRequests";
1322
- HttpStatusCode[HttpStatusCode["RequestHeaderFieldsTooLarge"] = 431] = "RequestHeaderFieldsTooLarge";
1323
- HttpStatusCode[HttpStatusCode["UnavailableForLegalReasons"] = 451] = "UnavailableForLegalReasons";
1324
- HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
1325
- HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
1326
- HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
1327
- HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
1328
- HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
1329
- HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
1330
- HttpStatusCode[HttpStatusCode["VariantAlsoNegotiates"] = 506] = "VariantAlsoNegotiates";
1331
- HttpStatusCode[HttpStatusCode["InsufficientStorage"] = 507] = "InsufficientStorage";
1332
- HttpStatusCode[HttpStatusCode["LoopDetected"] = 508] = "LoopDetected";
1333
- HttpStatusCode[HttpStatusCode["NotExtended"] = 510] = "NotExtended";
1334
- HttpStatusCode[HttpStatusCode["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
1335
- })(HttpStatusCode || (HttpStatusCode = {}));
1336
-
1337
- const XSSI_PREFIX$1 = /^\)\]\}',?\n/;
1338
- /**
1339
- * Determine an appropriate URL for the response, by checking either
1340
- * response url or the X-Request-URL header.
1341
- */
1342
- function getResponseUrl$1(response) {
1343
- if (response.url) {
1344
- return response.url;
1345
- }
1346
- // stored as lowercase in the map
1347
- const xRequestUrl = X_REQUEST_URL_HEADER.toLocaleLowerCase();
1348
- return response.headers.get(xRequestUrl);
1349
- }
1350
- /**
1351
- * An internal injection token to reference `FetchBackend` implementation
1352
- * in a tree-shakable way.
1353
- */
1354
- const FETCH_BACKEND = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'FETCH_BACKEND' : '');
1355
- /**
1356
- * Uses `fetch` to send requests to a backend server.
1357
- *
1358
- * This `FetchBackend` requires the support of the
1359
- * [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which is available on all
1360
- * supported browsers and on Node.js v18 or later.
1361
- *
1362
- * @see {@link HttpHandler}
1363
- *
1364
- * @publicApi
1365
- */
1366
- class FetchBackend {
1367
- // We use an arrow function to always reference the current global implementation of `fetch`.
1368
- // This is helpful for cases when the global `fetch` implementation is modified by external code,
1369
- // see https://github.com/angular/angular/issues/57527.
1370
- fetchImpl = inject(FetchFactory, { optional: true })?.fetch ?? ((...args) => globalThis.fetch(...args));
1371
- ngZone = inject(NgZone);
1372
- destroyRef = inject(DestroyRef);
1373
- destroyed = false;
1374
- constructor() {
1375
- this.destroyRef.onDestroy(() => {
1376
- this.destroyed = true;
1377
- });
1378
- }
1379
- handle(request) {
1380
- return new Observable((observer) => {
1381
- const aborter = new AbortController();
1382
- this.doRequest(request, aborter.signal, observer).then(noop, (error) => observer.error(new HttpErrorResponse({ error })));
1383
- let timeoutId;
1384
- if (request.timeout) {
1385
- // TODO: Replace with AbortSignal.any([aborter.signal, AbortSignal.timeout(request.timeout)])
1386
- // when AbortSignal.any support is Baseline widely available (NET nov. 2026)
1387
- timeoutId = this.ngZone.runOutsideAngular(() => setTimeout(() => {
1388
- if (!aborter.signal.aborted) {
1389
- aborter.abort(new DOMException('signal timed out', 'TimeoutError'));
1390
- }
1391
- }, request.timeout));
1392
- }
1393
- return () => {
1394
- if (timeoutId !== undefined) {
1395
- clearTimeout(timeoutId);
1396
- }
1397
- aborter.abort();
1398
- };
1399
- });
1400
- }
1401
- async doRequest(request, signal, observer) {
1402
- const init = this.createRequestInit(request);
1403
- let response;
1404
- try {
1405
- // Run fetch outside of Angular zone.
1406
- // This is due to Node.js fetch implementation (Undici) which uses a number of setTimeouts to check if
1407
- // the response should eventually timeout which causes extra CD cycles every 500ms
1408
- const fetchPromise = this.ngZone.runOutsideAngular(() => this.fetchImpl(request.urlWithParams, { signal, ...init }));
1409
- // Make sure Zone.js doesn't trigger false-positive unhandled promise
1410
- // error in case the Promise is rejected synchronously. See function
1411
- // description for additional information.
1412
- silenceSuperfluousUnhandledPromiseRejection(fetchPromise);
1413
- // Send the `Sent` event before awaiting the response.
1414
- observer.next({ type: HttpEventType.Sent });
1415
- response = await fetchPromise;
1416
- }
1417
- catch (error) {
1418
- observer.error(new HttpErrorResponse({
1419
- error,
1420
- status: error.status ?? 0,
1421
- statusText: error.statusText,
1422
- url: request.urlWithParams,
1423
- headers: error.headers,
1424
- }));
1425
- return;
1426
- }
1427
- const headers = new HttpHeaders(response.headers);
1428
- const statusText = response.statusText;
1429
- const url = getResponseUrl$1(response) ?? request.urlWithParams;
1430
- let status = response.status;
1431
- let body = null;
1432
- if (request.reportProgress) {
1433
- observer.next(new HttpHeaderResponse({ headers, status, statusText, url }));
1434
- }
1435
- if (response.body) {
1436
- // Read Progress
1437
- const contentLength = response.headers.get('content-length');
1438
- const chunks = [];
1439
- const reader = response.body.getReader();
1440
- let receivedLength = 0;
1441
- let decoder;
1442
- let partialText;
1443
- // We have to check whether the Zone is defined in the global scope because this may be called
1444
- // when the zone is nooped.
1445
- const reqZone = typeof Zone !== 'undefined' && Zone.current;
1446
- let canceled = false;
1447
- // Perform response processing outside of Angular zone to
1448
- // ensure no excessive change detection runs are executed
1449
- // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD
1450
- await this.ngZone.runOutsideAngular(async () => {
1451
- while (true) {
1452
- // Prevent reading chunks if the app is destroyed. Otherwise, we risk doing
1453
- // unnecessary work or triggering side effects after teardown.
1454
- // This may happen if the app was explicitly destroyed before
1455
- // the response returned entirely.
1456
- if (this.destroyed) {
1457
- // Streams left in a pending state (due to `break` without cancel) may
1458
- // continue consuming or holding onto data behind the scenes.
1459
- // Calling `reader.cancel()` allows the browser or the underlying
1460
- // system to release any network or memory resources associated with the stream.
1461
- await reader.cancel();
1462
- canceled = true;
1463
- break;
1464
- }
1465
- const { done, value } = await reader.read();
1466
- if (done) {
1467
- break;
1468
- }
1469
- chunks.push(value);
1470
- receivedLength += value.length;
1471
- if (request.reportProgress) {
1472
- partialText =
1473
- request.responseType === 'text'
1474
- ? (partialText ?? '') +
1475
- (decoder ??= new TextDecoder()).decode(value, { stream: true })
1476
- : undefined;
1477
- const reportProgress = () => observer.next({
1478
- type: HttpEventType.DownloadProgress,
1479
- total: contentLength ? +contentLength : undefined,
1480
- loaded: receivedLength,
1481
- partialText,
1482
- });
1483
- reqZone ? reqZone.run(reportProgress) : reportProgress();
1484
- }
1485
- }
1486
- });
1487
- // We need to manage the canceled state — because the Streams API does not
1488
- // expose a direct `.state` property on the reader.
1489
- // We need to `return` because `parseBody` may not be able to parse chunks
1490
- // that were only partially read (due to cancellation caused by app destruction).
1491
- if (canceled) {
1492
- observer.complete();
1493
- return;
1494
- }
1495
- // Combine all chunks.
1496
- const chunksAll = this.concatChunks(chunks, receivedLength);
1497
- try {
1498
- const contentType = response.headers.get(CONTENT_TYPE_HEADER) ?? '';
1499
- body = this.parseBody(request, chunksAll, contentType, status);
1500
- }
1501
- catch (error) {
1502
- // Body loading or parsing failed
1503
- observer.error(new HttpErrorResponse({
1504
- error,
1505
- headers: new HttpHeaders(response.headers),
1506
- status: response.status,
1507
- statusText: response.statusText,
1508
- url: getResponseUrl$1(response) ?? request.urlWithParams,
1509
- }));
1510
- return;
1511
- }
1512
- }
1513
- // Same behavior as the XhrBackend
1514
- if (status === 0) {
1515
- status = body ? HTTP_STATUS_CODE_OK : 0;
1516
- }
1517
- // ok determines whether the response will be transmitted on the event or
1518
- // error channel. Unsuccessful status codes (not 2xx) will always be errors,
1519
- // but a successful status code can still result in an error if the user
1520
- // asked for JSON data and the body cannot be parsed as such.
1521
- const ok = status >= 200 && status < 300;
1522
- const redirected = response.redirected;
1523
- if (ok) {
1524
- observer.next(new HttpResponse({
1525
- body,
1526
- headers,
1527
- status,
1528
- statusText,
1529
- url,
1530
- redirected,
1531
- }));
1532
- // The full body has been received and delivered, no further events
1533
- // are possible. This request is complete.
1534
- observer.complete();
1535
- }
1536
- else {
1537
- observer.error(new HttpErrorResponse({
1538
- error: body,
1539
- headers,
1540
- status,
1541
- statusText,
1542
- url,
1543
- redirected,
1544
- }));
1545
- }
1546
- }
1547
- parseBody(request, binContent, contentType, status) {
1548
- switch (request.responseType) {
1549
- case 'json':
1550
- // stripping the XSSI when present
1551
- const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, '');
1552
- if (text === '') {
1553
- return null;
1554
- }
1555
- try {
1556
- return JSON.parse(text);
1557
- }
1558
- catch (e) {
1559
- // Allow handling non-JSON errors (!) as plain text, same as the XHR
1560
- // backend. Without this special sauce, any non-JSON error would be
1561
- // completely inaccessible downstream as the `HttpErrorResponse.error`
1562
- // would be set to the `SyntaxError` from then failing `JSON.parse`.
1563
- if (status < 200 || status >= 300) {
1564
- return text;
1565
- }
1566
- throw e;
1567
- }
1568
- case 'text':
1569
- return new TextDecoder().decode(binContent);
1570
- case 'blob':
1571
- return new Blob([binContent], { type: contentType });
1572
- case 'arraybuffer':
1573
- return binContent.buffer;
1574
- }
1575
- }
1576
- createRequestInit(req) {
1577
- // We could share some of this logic with the XhrBackend
1578
- const headers = {};
1579
- let credentials;
1580
- // If the request has a credentials property, use it.
1581
- // Otherwise, if the request has withCredentials set to true, use 'include'.
1582
- credentials = req.credentials;
1583
- // If withCredentials is true should be set to 'include', for compatibility
1584
- if (req.withCredentials) {
1585
- // A warning is logged in development mode if the request has both
1586
- (typeof ngDevMode === 'undefined' || ngDevMode) && warningOptionsMessage(req);
1587
- credentials = 'include';
1588
- }
1589
- // Setting all the requested headers.
1590
- req.headers.forEach((name, values) => (headers[name] = values.join(',')));
1591
- // Add an Accept header if one isn't present already.
1592
- if (!req.headers.has(ACCEPT_HEADER)) {
1593
- headers[ACCEPT_HEADER] = ACCEPT_HEADER_VALUE;
1594
- }
1595
- // Auto-detect the Content-Type header if one isn't present already.
1596
- if (!req.headers.has(CONTENT_TYPE_HEADER)) {
1597
- const detectedType = req.detectContentTypeHeader();
1598
- // Sometimes Content-Type detection fails.
1599
- if (detectedType !== null) {
1600
- headers[CONTENT_TYPE_HEADER] = detectedType;
1601
- }
1602
- }
1603
- return {
1604
- body: req.serializeBody(),
1605
- method: req.method,
1606
- headers,
1607
- credentials,
1608
- keepalive: req.keepalive,
1609
- cache: req.cache,
1610
- priority: req.priority,
1611
- mode: req.mode,
1612
- redirect: req.redirect,
1613
- referrer: req.referrer,
1614
- integrity: req.integrity,
1615
- };
1616
- }
1617
- concatChunks(chunks, totalLength) {
1618
- const chunksAll = new Uint8Array(totalLength);
1619
- let position = 0;
1620
- for (const chunk of chunks) {
1621
- chunksAll.set(chunk, position);
1622
- position += chunk.length;
1623
- }
1624
- return chunksAll;
1625
- }
1626
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1627
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FetchBackend });
1628
- }
1629
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FetchBackend, decorators: [{
1630
- type: Injectable
1631
- }], ctorParameters: () => [] });
1632
- /**
1633
- * Abstract class to provide a mocked implementation of `fetch()`
1634
- */
1635
- class FetchFactory {
1636
- }
1637
- function noop() { }
1638
- function warningOptionsMessage(req) {
1639
- if (req.credentials && req.withCredentials) {
1640
- console.warn(_formatRuntimeError(2819 /* RuntimeErrorCode.WITH_CREDENTIALS_OVERRIDES_EXPLICIT_CREDENTIALS */, `Angular detected that a \`HttpClient\` request has both \`withCredentials: true\` and \`credentials: '${req.credentials}'\` options. The \`withCredentials\` option is overriding the explicit \`credentials\` setting to 'include'. Consider removing \`withCredentials\` and using \`credentials: '${req.credentials}'\` directly for clarity.`));
1641
- }
1642
- }
1643
- /**
1644
- * Zone.js treats a rejected promise that has not yet been awaited
1645
- * as an unhandled error. This function adds a noop `.then` to make
1646
- * sure that Zone.js doesn't throw an error if the Promise is rejected
1647
- * synchronously.
1648
- */
1649
- function silenceSuperfluousUnhandledPromiseRejection(promise) {
1650
- promise.then(noop, noop);
1651
- }
1652
-
1653
- const XSSI_PREFIX = /^\)\]\}',?\n/;
1654
- const X_REQUEST_URL_REGEXP = RegExp(`^${X_REQUEST_URL_HEADER}:`, 'm');
1655
- /**
1656
- * Determine an appropriate URL for the response, by checking either
1657
- * XMLHttpRequest.responseURL or the X-Request-URL header.
1658
- */
1659
- function getResponseUrl(xhr) {
1660
- if ('responseURL' in xhr && xhr.responseURL) {
1661
- return xhr.responseURL;
1662
- }
1663
- if (X_REQUEST_URL_REGEXP.test(xhr.getAllResponseHeaders())) {
1664
- return xhr.getResponseHeader(X_REQUEST_URL_HEADER);
1665
- }
1666
- return null;
1667
- }
1668
- /**
1669
- * Validates whether the request is compatible with the XHR backend.
1670
- * Show a warning if the request contains options that are not supported by XHR.
1671
- */
1672
- function validateXhrCompatibility(req) {
1673
- const unsupportedOptions = [
1674
- {
1675
- property: 'keepalive',
1676
- errorCode: 2813 /* RuntimeErrorCode.KEEPALIVE_NOT_SUPPORTED_WITH_XHR */,
1677
- },
1678
- {
1679
- property: 'cache',
1680
- errorCode: 2814 /* RuntimeErrorCode.CACHE_NOT_SUPPORTED_WITH_XHR */,
1681
- },
1682
- {
1683
- property: 'priority',
1684
- errorCode: 2815 /* RuntimeErrorCode.PRIORITY_NOT_SUPPORTED_WITH_XHR */,
1685
- },
1686
- {
1687
- property: 'mode',
1688
- errorCode: 2816 /* RuntimeErrorCode.MODE_NOT_SUPPORTED_WITH_XHR */,
1689
- },
1690
- {
1691
- property: 'redirect',
1692
- errorCode: 2817 /* RuntimeErrorCode.REDIRECT_NOT_SUPPORTED_WITH_XHR */,
1693
- },
1694
- {
1695
- property: 'credentials',
1696
- errorCode: 2818 /* RuntimeErrorCode.CREDENTIALS_NOT_SUPPORTED_WITH_XHR */,
1697
- },
1698
- {
1699
- property: 'integrity',
1700
- errorCode: 2820 /* RuntimeErrorCode.INTEGRITY_NOT_SUPPORTED_WITH_XHR */,
1701
- },
1702
- {
1703
- property: 'referrer',
1704
- errorCode: 2821 /* RuntimeErrorCode.REFERRER_NOT_SUPPORTED_WITH_XHR */,
1705
- },
1706
- ];
1707
- // Check each unsupported option and warn if present
1708
- for (const { property, errorCode } of unsupportedOptions) {
1709
- if (req[property]) {
1710
- console.warn(_formatRuntimeError(errorCode, `Angular detected that a \`HttpClient\` request with the \`${property}\` option was sent using XHR, which does not support it. To use the \`${property}\` option, enable Fetch API support by passing \`withFetch()\` as an argument to \`provideHttpClient()\`.`));
1711
- }
1712
- }
1713
- }
1714
- /**
1715
- * Uses `XMLHttpRequest` to send requests to a backend server.
1716
- * @see {@link HttpHandler}
1717
- * @see {@link JsonpClientBackend}
1718
- *
1719
- * @publicApi
1720
- */
1721
- class HttpXhrBackend {
1722
- xhrFactory;
1723
- constructor(xhrFactory) {
1724
- this.xhrFactory = xhrFactory;
1725
- }
1726
- /**
1727
- * Processes a request and returns a stream of response events.
1728
- * @param req The request object.
1729
- * @returns An observable of the response events.
1730
- */
1731
- handle(req) {
1732
- // Quick check to give a better error message when a user attempts to use
1733
- // HttpClient.jsonp() without installing the HttpClientJsonpModule
1734
- if (req.method === 'JSONP') {
1735
- throw new _RuntimeError(-2800 /* RuntimeErrorCode.MISSING_JSONP_MODULE */, (typeof ngDevMode === 'undefined' || ngDevMode) &&
1736
- `Cannot make a JSONP request without JSONP support. To fix the problem, either add the \`withJsonpSupport()\` call (if \`provideHttpClient()\` is used) or import the \`HttpClientJsonpModule\` in the root NgModule.`);
1737
- }
1738
- // Validate that the request is compatible with the XHR backend.
1739
- ngDevMode && validateXhrCompatibility(req);
1740
- // Check whether this factory has a special function to load an XHR implementation
1741
- // for various non-browser environments. We currently limit it to only `ServerXhr`
1742
- // class, which needs to load an XHR implementation.
1743
- const xhrFactory = this.xhrFactory;
1744
- const source =
1745
- // Note that `ɵloadImpl` is never defined in client bundles and can be
1746
- // safely dropped whenever we're running in the browser.
1747
- // This branching is redundant.
1748
- // The `ngServerMode` guard also enables tree-shaking of the `from()`
1749
- // function from the common bundle, as it's only used in server code.
1750
- typeof ngServerMode !== 'undefined' && ngServerMode && xhrFactory.ɵloadImpl
1751
- ? from(xhrFactory.ɵloadImpl())
1752
- : of(null);
1753
- return source.pipe(switchMap(() => {
1754
- // Everything happens on Observable subscription.
1755
- return new Observable((observer) => {
1756
- // Start by setting up the XHR object with request method, URL, and withCredentials
1757
- // flag.
1758
- const xhr = xhrFactory.build();
1759
- xhr.open(req.method, req.urlWithParams);
1760
- if (req.withCredentials) {
1761
- xhr.withCredentials = true;
1762
- }
1763
- // Add all the requested headers.
1764
- req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(',')));
1765
- // Add an Accept header if one isn't present already.
1766
- if (!req.headers.has(ACCEPT_HEADER)) {
1767
- xhr.setRequestHeader(ACCEPT_HEADER, ACCEPT_HEADER_VALUE);
1768
- }
1769
- // Auto-detect the Content-Type header if one isn't present already.
1770
- if (!req.headers.has(CONTENT_TYPE_HEADER)) {
1771
- const detectedType = req.detectContentTypeHeader();
1772
- // Sometimes Content-Type detection fails.
1773
- if (detectedType !== null) {
1774
- xhr.setRequestHeader(CONTENT_TYPE_HEADER, detectedType);
1775
- }
1776
- }
1777
- if (req.timeout) {
1778
- xhr.timeout = req.timeout;
1779
- }
1780
- // Set the responseType if one was requested.
1781
- if (req.responseType) {
1782
- const responseType = req.responseType.toLowerCase();
1783
- // JSON responses need to be processed as text. This is because if the server
1784
- // returns an XSSI-prefixed JSON response, the browser will fail to parse it,
1785
- // xhr.response will be null, and xhr.responseText cannot be accessed to
1786
- // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON
1787
- // is parsed by first requesting text and then applying JSON.parse.
1788
- xhr.responseType = (responseType !== 'json' ? responseType : 'text');
1789
- }
1790
- // Serialize the request body if one is present. If not, this will be set to null.
1791
- const reqBody = req.serializeBody();
1792
- // If progress events are enabled, response headers will be delivered
1793
- // in two events - the HttpHeaderResponse event and the full HttpResponse
1794
- // event. However, since response headers don't change in between these
1795
- // two events, it doesn't make sense to parse them twice. So headerResponse
1796
- // caches the data extracted from the response whenever it's first parsed,
1797
- // to ensure parsing isn't duplicated.
1798
- let headerResponse = null;
1799
- // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest
1800
- // state, and memoizes it into headerResponse.
1801
- const partialFromXhr = () => {
1802
- if (headerResponse !== null) {
1803
- return headerResponse;
1804
- }
1805
- const statusText = xhr.statusText || 'OK';
1806
- // Parse headers from XMLHttpRequest - this step is lazy.
1807
- const headers = new HttpHeaders(xhr.getAllResponseHeaders());
1808
- // Read the response URL from the XMLHttpResponse instance and fall back on the
1809
- // request URL.
1810
- const url = getResponseUrl(xhr) || req.url;
1811
- // Construct the HttpHeaderResponse and memoize it.
1812
- headerResponse = new HttpHeaderResponse({ headers, status: xhr.status, statusText, url });
1813
- return headerResponse;
1814
- };
1815
- // Next, a few closures are defined for the various events which XMLHttpRequest can
1816
- // emit. This allows them to be unregistered as event listeners later.
1817
- // First up is the load event, which represents a response being fully available.
1818
- const onLoad = () => {
1819
- // Read response state from the memoized partial data.
1820
- let { headers, status, statusText, url } = partialFromXhr();
1821
- // The body will be read out if present.
1822
- let body = null;
1823
- if (status !== HTTP_STATUS_CODE_NO_CONTENT) {
1824
- // Use XMLHttpRequest.response if set, responseText otherwise.
1825
- body = typeof xhr.response === 'undefined' ? xhr.responseText : xhr.response;
1826
- }
1827
- // Normalize another potential bug (this one comes from CORS).
1828
- if (status === 0) {
1829
- status = !!body ? HTTP_STATUS_CODE_OK : 0;
1830
- }
1831
- // ok determines whether the response will be transmitted on the event or
1832
- // error channel. Unsuccessful status codes (not 2xx) will always be errors,
1833
- // but a successful status code can still result in an error if the user
1834
- // asked for JSON data and the body cannot be parsed as such.
1835
- let ok = status >= 200 && status < 300;
1836
- // Check whether the body needs to be parsed as JSON (in many cases the browser
1837
- // will have done that already).
1838
- if (req.responseType === 'json' && typeof body === 'string') {
1839
- // Save the original body, before attempting XSSI prefix stripping.
1840
- const originalBody = body;
1841
- body = body.replace(XSSI_PREFIX, '');
1842
- try {
1843
- // Attempt the parse. If it fails, a parse error should be delivered to the
1844
- // user.
1845
- body = body !== '' ? JSON.parse(body) : null;
1846
- }
1847
- catch (error) {
1848
- // Since the JSON.parse failed, it's reasonable to assume this might not have
1849
- // been a JSON response. Restore the original body (including any XSSI prefix)
1850
- // to deliver a better error response.
1851
- body = originalBody;
1852
- // If this was an error request to begin with, leave it as a string, it
1853
- // probably just isn't JSON. Otherwise, deliver the parsing error to the user.
1854
- if (ok) {
1855
- // Even though the response status was 2xx, this is still an error.
1856
- ok = false;
1857
- // The parse error contains the text of the body that failed to parse.
1858
- body = { error, text: body };
1859
- }
1860
- }
1861
- }
1862
- if (ok) {
1863
- // A successful response is delivered on the event stream.
1864
- observer.next(new HttpResponse({
1865
- body,
1866
- headers,
1867
- status,
1868
- statusText,
1869
- url: url || undefined,
1870
- }));
1871
- // The full body has been received and delivered, no further events
1872
- // are possible. This request is complete.
1873
- observer.complete();
1874
- }
1875
- else {
1876
- // An unsuccessful request is delivered on the error channel.
1877
- observer.error(new HttpErrorResponse({
1878
- // The error in this case is the response body (error from the server).
1879
- error: body,
1880
- headers,
1881
- status,
1882
- statusText,
1883
- url: url || undefined,
1884
- }));
1885
- }
1886
- };
1887
- // The onError callback is called when something goes wrong at the network level.
1888
- // Connection timeout, DNS error, offline, etc. These are actual errors, and are
1889
- // transmitted on the error channel.
1890
- const onError = (error) => {
1891
- const { url } = partialFromXhr();
1892
- const res = new HttpErrorResponse({
1893
- error,
1894
- status: xhr.status || 0,
1895
- statusText: xhr.statusText || 'Unknown Error',
1896
- url: url || undefined,
1897
- });
1898
- observer.error(res);
1899
- };
1900
- let onTimeout = onError;
1901
- if (req.timeout) {
1902
- onTimeout = (_) => {
1903
- const { url } = partialFromXhr();
1904
- const res = new HttpErrorResponse({
1905
- error: new DOMException('Request timed out', 'TimeoutError'),
1906
- status: xhr.status || 0,
1907
- statusText: xhr.statusText || 'Request timeout',
1908
- url: url || undefined,
1909
- });
1910
- observer.error(res);
1911
- };
1912
- }
1913
- // The sentHeaders flag tracks whether the HttpResponseHeaders event
1914
- // has been sent on the stream. This is necessary to track if progress
1915
- // is enabled since the event will be sent on only the first download
1916
- // progress event.
1917
- let sentHeaders = false;
1918
- // The download progress event handler, which is only registered if
1919
- // progress events are enabled.
1920
- const onDownProgress = (event) => {
1921
- // Send the HttpResponseHeaders event if it hasn't been sent already.
1922
- if (!sentHeaders) {
1923
- observer.next(partialFromXhr());
1924
- sentHeaders = true;
1925
- }
1926
- // Start building the download progress event to deliver on the response
1927
- // event stream.
1928
- let progressEvent = {
1929
- type: HttpEventType.DownloadProgress,
1930
- loaded: event.loaded,
1931
- };
1932
- // Set the total number of bytes in the event if it's available.
1933
- if (event.lengthComputable) {
1934
- progressEvent.total = event.total;
1935
- }
1936
- // If the request was for text content and a partial response is
1937
- // available on XMLHttpRequest, include it in the progress event
1938
- // to allow for streaming reads.
1939
- if (req.responseType === 'text' && !!xhr.responseText) {
1940
- progressEvent.partialText = xhr.responseText;
1941
- }
1942
- // Finally, fire the event.
1943
- observer.next(progressEvent);
1944
- };
1945
- // The upload progress event handler, which is only registered if
1946
- // progress events are enabled.
1947
- const onUpProgress = (event) => {
1948
- // Upload progress events are simpler. Begin building the progress
1949
- // event.
1950
- let progress = {
1951
- type: HttpEventType.UploadProgress,
1952
- loaded: event.loaded,
1953
- };
1954
- // If the total number of bytes being uploaded is available, include
1955
- // it.
1956
- if (event.lengthComputable) {
1957
- progress.total = event.total;
1958
- }
1959
- // Send the event.
1960
- observer.next(progress);
1961
- };
1962
- // By default, register for load and error events.
1963
- xhr.addEventListener('load', onLoad);
1964
- xhr.addEventListener('error', onError);
1965
- xhr.addEventListener('timeout', onTimeout);
1966
- xhr.addEventListener('abort', onError);
1967
- // Progress events are only enabled if requested.
1968
- if (req.reportProgress) {
1969
- // Download progress is always enabled if requested.
1970
- xhr.addEventListener('progress', onDownProgress);
1971
- // Upload progress depends on whether there is a body to upload.
1972
- if (reqBody !== null && xhr.upload) {
1973
- xhr.upload.addEventListener('progress', onUpProgress);
1974
- }
1975
- }
1976
- // Fire the request, and notify the event stream that it was fired.
1977
- xhr.send(reqBody);
1978
- observer.next({ type: HttpEventType.Sent });
1979
- // This is the return from the Observable function, which is the
1980
- // request cancellation handler.
1981
- return () => {
1982
- // On a cancellation, remove all registered event listeners.
1983
- xhr.removeEventListener('error', onError);
1984
- xhr.removeEventListener('abort', onError);
1985
- xhr.removeEventListener('load', onLoad);
1986
- xhr.removeEventListener('timeout', onTimeout);
1987
- if (req.reportProgress) {
1988
- xhr.removeEventListener('progress', onDownProgress);
1989
- if (reqBody !== null && xhr.upload) {
1990
- xhr.upload.removeEventListener('progress', onUpProgress);
1991
- }
1992
- }
1993
- // Finally, abort the in-flight request.
1994
- if (xhr.readyState !== xhr.DONE) {
1995
- xhr.abort();
1996
- }
1997
- };
1998
- });
1999
- }));
2000
- }
2001
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXhrBackend, deps: [{ token: XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
2002
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXhrBackend, providedIn: 'root' });
2003
- }
2004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXhrBackend, decorators: [{
2005
- type: Injectable,
2006
- args: [{ providedIn: 'root' }]
2007
- }], ctorParameters: () => [{ type: XhrFactory }] });
2008
-
2009
- function interceptorChainEndFn(req, finalHandlerFn) {
2010
- return finalHandlerFn(req);
2011
- }
2012
- /**
2013
- * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the
2014
- * `ChainedInterceptorFn` interface.
2015
- */
2016
- function adaptLegacyInterceptorToChain(chainTailFn, interceptor) {
2017
- return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {
2018
- handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn),
2019
- });
2020
- }
2021
- /**
2022
- * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given
2023
- * injector.
2024
- */
2025
- function chainedInterceptorFn(chainTailFn, interceptorFn, injector) {
2026
- return (initialRequest, finalHandlerFn) => runInInjectionContext(injector, () => interceptorFn(initialRequest, (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn)));
2027
- }
2028
- /**
2029
- * A multi-provider token that represents the array of registered
2030
- * `HttpInterceptor` objects.
2031
- *
2032
- * @publicApi
2033
- */
2034
- const HTTP_INTERCEPTORS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : '');
2035
- /**
2036
- * A multi-provided token of `HttpInterceptorFn`s.
2037
- */
2038
- const HTTP_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '', { factory: () => [] });
2039
- /**
2040
- * A multi-provided token of `HttpInterceptorFn`s that are only set in root.
2041
- */
2042
- const HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');
2043
- // TODO(atscott): We need a larger discussion about stability and what should contribute to stability.
2044
- // Should the whole interceptor chain contribute to stability or just the backend request #55075?
2045
- // Should HttpClient contribute to stability automatically at all?
2046
- const REQUESTS_CONTRIBUTE_TO_STABILITY = new InjectionToken(ngDevMode ? 'REQUESTS_CONTRIBUTE_TO_STABILITY' : '', { providedIn: 'root', factory: () => true });
2047
- /**
2048
- * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy
2049
- * class-based interceptors and runs the request through it.
2050
- */
2051
- function legacyInterceptorFnFactory() {
2052
- let chain = null;
2053
- return (req, handler) => {
2054
- if (chain === null) {
2055
- const interceptors = inject(HTTP_INTERCEPTORS, { optional: true }) ?? [];
2056
- // Note: interceptors are wrapped right-to-left so that final execution order is
2057
- // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to
2058
- // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside
2059
- // out.
2060
- chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);
2061
- }
2062
- const pendingTasks = inject(PendingTasks);
2063
- const contributeToStability = inject(REQUESTS_CONTRIBUTE_TO_STABILITY);
2064
- if (contributeToStability) {
2065
- const removeTask = pendingTasks.add();
2066
- return chain(req, handler).pipe(finalize(removeTask));
2067
- }
2068
- else {
2069
- return chain(req, handler);
2070
- }
2071
- };
2072
- }
2073
-
2074
- /**
2075
- * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.
2076
- *
2077
- * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.
2078
- *
2079
- * When injected, `HttpBackend` dispatches requests directly to the backend, without going
2080
- * through the interceptor chain.
2081
- *
2082
- * @publicApi
2083
- */
2084
- class HttpBackend {
2085
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2086
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpBackend, providedIn: 'root', useExisting: HttpXhrBackend });
2087
- }
2088
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpBackend, decorators: [{
2089
- type: Injectable,
2090
- args: [{ providedIn: 'root', useExisting: HttpXhrBackend }]
2091
- }] });
2092
- let fetchBackendWarningDisplayed = false;
2093
- class HttpInterceptorHandler {
2094
- backend;
2095
- injector;
2096
- chain = null;
2097
- pendingTasks = inject(PendingTasks);
2098
- contributeToStability = inject(REQUESTS_CONTRIBUTE_TO_STABILITY);
2099
- constructor(backend, injector) {
2100
- this.backend = backend;
2101
- this.injector = injector;
2102
- // We strongly recommend using fetch backend for HTTP calls when SSR is used
2103
- // for an application. The logic below checks if that's the case and produces
2104
- // a warning otherwise.
2105
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && !fetchBackendWarningDisplayed) {
2106
- // This flag is necessary because provideHttpClientTesting() overrides the backend
2107
- // even if `withFetch()` is used within the test. When the testing HTTP backend is provided,
2108
- // no HTTP calls are actually performed during the test, so producing a warning would be
2109
- // misleading.
2110
- const isTestingBackend = this.backend.isTestingBackend;
2111
- if (typeof ngServerMode !== 'undefined' &&
2112
- ngServerMode &&
2113
- !(this.backend instanceof FetchBackend) &&
2114
- !isTestingBackend) {
2115
- fetchBackendWarningDisplayed = true;
2116
- injector
2117
- .get(_Console)
2118
- .warn(_formatRuntimeError(2801 /* RuntimeErrorCode.NOT_USING_FETCH_BACKEND_IN_SSR */, 'Angular detected that `HttpClient` is not configured ' +
2119
- "to use `fetch` APIs. It's strongly recommended to " +
2120
- 'enable `fetch` for applications that use Server-Side Rendering ' +
2121
- 'for better performance and compatibility. ' +
2122
- 'To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` ' +
2123
- 'call at the root of the application.'));
2124
- }
2125
- }
2126
- }
2127
- handle(initialRequest) {
2128
- if (this.chain === null) {
2129
- const dedupedInterceptorFns = Array.from(new Set([
2130
- ...this.injector.get(HTTP_INTERCEPTOR_FNS),
2131
- ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, []),
2132
- ]));
2133
- // Note: interceptors are wrapped right-to-left so that final execution order is
2134
- // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to
2135
- // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside
2136
- // out.
2137
- this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);
2138
- }
2139
- if (this.contributeToStability) {
2140
- const removeTask = this.pendingTasks.add();
2141
- return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest)).pipe(finalize(removeTask));
2142
- }
2143
- else {
2144
- return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest));
2145
- }
2146
- }
2147
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2148
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpInterceptorHandler, providedIn: 'root' });
2149
- }
2150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
2151
- type: Injectable,
2152
- args: [{ providedIn: 'root' }]
2153
- }], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
2154
- /**
2155
- * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a
2156
- * `HttpResponse`.
2157
- *
2158
- * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the
2159
- * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the
2160
- * `HttpBackend`.
2161
- *
2162
- * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.
2163
- *
2164
- * @publicApi
2165
- */
2166
- class HttpHandler {
2167
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2168
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpHandler, providedIn: 'root', useExisting: HttpInterceptorHandler });
2169
- }
2170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpHandler, decorators: [{
2171
- type: Injectable,
2172
- args: [{ providedIn: 'root', useExisting: HttpInterceptorHandler }]
2173
- }] });
2174
-
2175
- /**
2176
- * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and
2177
- * the given `body`. This function clones the object and adds the body.
2178
- *
2179
- * Note that the `responseType` *options* value is a String that identifies the
2180
- * single data type of the response.
2181
- * A single overload version of the method handles each response type.
2182
- * The value of `responseType` cannot be a union, as the combined signature could imply.
2183
- *
2184
- */
2185
- function addBody(options, body) {
2186
- return {
2187
- body,
2188
- headers: options.headers,
2189
- context: options.context,
2190
- observe: options.observe,
2191
- params: options.params,
2192
- reportProgress: options.reportProgress,
2193
- responseType: options.responseType,
2194
- withCredentials: options.withCredentials,
2195
- credentials: options.credentials,
2196
- transferCache: options.transferCache,
2197
- timeout: options.timeout,
2198
- keepalive: options.keepalive,
2199
- priority: options.priority,
2200
- cache: options.cache,
2201
- mode: options.mode,
2202
- redirect: options.redirect,
2203
- integrity: options.integrity,
2204
- referrer: options.referrer,
2205
- };
2206
- }
2207
- /**
2208
- * Performs HTTP requests.
2209
- * This service is available as an injectable class, with methods to perform HTTP requests.
2210
- * Each request method has multiple signatures, and the return type varies based on
2211
- * the signature that is called (mainly the values of `observe` and `responseType`).
2212
- *
2213
- * Note that the `responseType` *options* value is a String that identifies the
2214
- * single data type of the response.
2215
- * A single overload version of the method handles each response type.
2216
- * The value of `responseType` cannot be a union, as the combined signature could imply.
2217
- *
2218
- * @usageNotes
2219
- *
2220
- * ### HTTP Request Example
2221
- *
2222
- * ```ts
2223
- * // GET heroes whose name contains search term
2224
- * searchHeroes(term: string): observable<Hero[]>{
2225
- *
2226
- * const params = new HttpParams({fromString: 'name=term'});
2227
- * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});
2228
- * }
2229
- * ```
2230
- *
2231
- * Alternatively, the parameter string can be used without invoking HttpParams
2232
- * by directly joining to the URL.
2233
- * ```ts
2234
- * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});
2235
- * ```
2236
- *
2237
- *
2238
- * ### JSONP Example
2239
- * ```ts
2240
- * requestJsonp(url, callback = 'callback') {
2241
- * return this.httpClient.jsonp(this.heroesURL, callback);
2242
- * }
2243
- * ```
2244
- *
2245
- * ### PATCH Example
2246
- * ```ts
2247
- * // PATCH one of the heroes' name
2248
- * patchHero (id: number, heroName: string): Observable<{}> {
2249
- * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42
2250
- * return this.httpClient.patch(url, {name: heroName}, httpOptions)
2251
- * .pipe(catchError(this.handleError('patchHero')));
2252
- * }
2253
- * ```
2254
- *
2255
- * @see [HTTP Guide](guide/http)
2256
- * @see [HTTP Request](api/common/http/HttpRequest)
2257
- *
2258
- * @publicApi
2259
- */
2260
- class HttpClient {
2261
- handler;
2262
- constructor(handler) {
2263
- this.handler = handler;
2264
- }
2265
- /**
2266
- * Constructs an observable for a generic HTTP request that, when subscribed,
2267
- * fires the request through the chain of registered interceptors and on to the
2268
- * server.
2269
- *
2270
- * You can pass an `HttpRequest` directly as the only parameter. In this case,
2271
- * the call returns an observable of the raw `HttpEvent` stream.
2272
- *
2273
- * Alternatively you can pass an HTTP method as the first parameter,
2274
- * a URL string as the second, and an options hash containing the request body as the third.
2275
- * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the
2276
- * type of returned observable.
2277
- * * The `responseType` value determines how a successful response body is parsed.
2278
- * * If `responseType` is the default `json`, you can pass a type interface for the resulting
2279
- * object as a type parameter to the call.
2280
- *
2281
- * The `observe` value determines the return type, according to what you are interested in
2282
- * observing.
2283
- * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including
2284
- * progress events by default.
2285
- * * An `observe` value of response returns an observable of `HttpResponse<T>`,
2286
- * where the `T` parameter depends on the `responseType` and any optionally provided type
2287
- * parameter.
2288
- * * An `observe` value of body returns an observable of `<T>` with the same `T` body type.
2289
- *
2290
- */
2291
- request(first, url, options = {}) {
2292
- let req;
2293
- // First, check whether the primary argument is an instance of `HttpRequest`.
2294
- if (first instanceof HttpRequest) {
2295
- // It is. The other arguments must be undefined (per the signatures) and can be
2296
- // ignored.
2297
- req = first;
2298
- }
2299
- else {
2300
- // It's a string, so it represents a URL. Construct a request based on it,
2301
- // and incorporate the remaining arguments (assuming `GET` unless a method is
2302
- // provided.
2303
- // Figure out the headers.
2304
- let headers = undefined;
2305
- if (options.headers instanceof HttpHeaders) {
2306
- headers = options.headers;
2307
- }
2308
- else {
2309
- headers = new HttpHeaders(options.headers);
2310
- }
2311
- // Sort out parameters.
2312
- let params = undefined;
2313
- if (!!options.params) {
2314
- if (options.params instanceof HttpParams) {
2315
- params = options.params;
2316
- }
2317
- else {
2318
- params = new HttpParams({ fromObject: options.params });
2319
- }
2320
- }
2321
- // Construct the request.
2322
- req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, {
2323
- headers,
2324
- context: options.context,
2325
- params,
2326
- reportProgress: options.reportProgress,
2327
- // By default, JSON is assumed to be returned for all calls.
2328
- responseType: options.responseType || 'json',
2329
- withCredentials: options.withCredentials,
2330
- transferCache: options.transferCache,
2331
- keepalive: options.keepalive,
2332
- priority: options.priority,
2333
- cache: options.cache,
2334
- mode: options.mode,
2335
- redirect: options.redirect,
2336
- credentials: options.credentials,
2337
- referrer: options.referrer,
2338
- integrity: options.integrity,
2339
- timeout: options.timeout,
2340
- });
2341
- }
2342
- // Start with an Observable.of() the initial request, and run the handler (which
2343
- // includes all interceptors) inside a concatMap(). This way, the handler runs
2344
- // inside an Observable chain, which causes interceptors to be re-run on every
2345
- // subscription (this also makes retries re-run the handler, including interceptors).
2346
- const events$ = of(req).pipe(concatMap((req) => this.handler.handle(req)));
2347
- // If coming via the API signature which accepts a previously constructed HttpRequest,
2348
- // the only option is to get the event stream. Otherwise, return the event stream if
2349
- // that is what was requested.
2350
- if (first instanceof HttpRequest || options.observe === 'events') {
2351
- return events$;
2352
- }
2353
- // The requested stream contains either the full response or the body. In either
2354
- // case, the first step is to filter the event stream to extract a stream of
2355
- // responses(s).
2356
- const res$ = (events$.pipe(filter((event) => event instanceof HttpResponse)));
2357
- // Decide which stream to return.
2358
- switch (options.observe || 'body') {
2359
- case 'body':
2360
- // The requested stream is the body. Map the response stream to the response
2361
- // body. This could be done more simply, but a misbehaving interceptor might
2362
- // transform the response body into a different format and ignore the requested
2363
- // responseType. Guard against this by validating that the response is of the
2364
- // requested type.
2365
- switch (req.responseType) {
2366
- case 'arraybuffer':
2367
- return res$.pipe(map((res) => {
2368
- // Validate that the body is an ArrayBuffer.
2369
- if (res.body !== null && !(res.body instanceof ArrayBuffer)) {
2370
- throw new _RuntimeError(2806 /* RuntimeErrorCode.RESPONSE_IS_NOT_AN_ARRAY_BUFFER */, ngDevMode && 'Response is not an ArrayBuffer.');
2371
- }
2372
- return res.body;
2373
- }));
2374
- case 'blob':
2375
- return res$.pipe(map((res) => {
2376
- // Validate that the body is a Blob.
2377
- if (res.body !== null && !(res.body instanceof Blob)) {
2378
- throw new _RuntimeError(2807 /* RuntimeErrorCode.RESPONSE_IS_NOT_A_BLOB */, ngDevMode && 'Response is not a Blob.');
2379
- }
2380
- return res.body;
2381
- }));
2382
- case 'text':
2383
- return res$.pipe(map((res) => {
2384
- // Validate that the body is a string.
2385
- if (res.body !== null && typeof res.body !== 'string') {
2386
- throw new _RuntimeError(2808 /* RuntimeErrorCode.RESPONSE_IS_NOT_A_STRING */, ngDevMode && 'Response is not a string.');
2387
- }
2388
- return res.body;
2389
- }));
2390
- case 'json':
2391
- default:
2392
- // No validation needed for JSON responses, as they can be of any type.
2393
- return res$.pipe(map((res) => res.body));
2394
- }
2395
- case 'response':
2396
- // The response stream was requested directly, so return it.
2397
- return res$;
2398
- default:
2399
- // Guard against new future observe types being added.
2400
- throw new _RuntimeError(2809 /* RuntimeErrorCode.UNHANDLED_OBSERVE_TYPE */, ngDevMode && `Unreachable: unhandled observe type ${options.observe}}`);
2401
- }
2402
- }
2403
- /**
2404
- * Constructs an observable that, when subscribed, causes the configured
2405
- * `DELETE` request to execute on the server. See the individual overloads for
2406
- * details on the return type.
2407
- *
2408
- * @param url The endpoint URL.
2409
- * @param options The HTTP options to send with the request.
2410
- *
2411
- */
2412
- delete(url, options = {}) {
2413
- return this.request('DELETE', url, options);
2414
- }
2415
- /**
2416
- * Constructs an observable that, when subscribed, causes the configured
2417
- * `GET` request to execute on the server. See the individual overloads for
2418
- * details on the return type.
2419
- */
2420
- get(url, options = {}) {
2421
- return this.request('GET', url, options);
2422
- }
2423
- /**
2424
- * Constructs an observable that, when subscribed, causes the configured
2425
- * `HEAD` request to execute on the server. The `HEAD` method returns
2426
- * meta information about the resource without transferring the
2427
- * resource itself. See the individual overloads for
2428
- * details on the return type.
2429
- */
2430
- head(url, options = {}) {
2431
- return this.request('HEAD', url, options);
2432
- }
2433
- /**
2434
- * Constructs an `Observable` that, when subscribed, causes a request with the special method
2435
- * `JSONP` to be dispatched via the interceptor pipeline.
2436
- * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain
2437
- * API endpoints that don't support newer,
2438
- * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.
2439
- * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the
2440
- * requests even if the API endpoint is not located on the same domain (origin) as the client-side
2441
- * application making the request.
2442
- * The endpoint API must support JSONP callback for JSONP requests to work.
2443
- * The resource API returns the JSON response wrapped in a callback function.
2444
- * You can pass the callback function name as one of the query parameters.
2445
- * Note that JSONP requests can only be used with `GET` requests.
2446
- *
2447
- * @param url The resource URL.
2448
- * @param callbackParam The callback function name.
2449
- *
2450
- */
2451
- jsonp(url, callbackParam) {
2452
- return this.request('JSONP', url, {
2453
- params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),
2454
- observe: 'body',
2455
- responseType: 'json',
2456
- });
2457
- }
2458
- /**
2459
- * Constructs an `Observable` that, when subscribed, causes the configured
2460
- * `OPTIONS` request to execute on the server. This method allows the client
2461
- * to determine the supported HTTP methods and other capabilities of an endpoint,
2462
- * without implying a resource action. See the individual overloads for
2463
- * details on the return type.
2464
- */
2465
- options(url, options = {}) {
2466
- return this.request('OPTIONS', url, options);
2467
- }
2468
- /**
2469
- * Constructs an observable that, when subscribed, causes the configured
2470
- * `PATCH` request to execute on the server. See the individual overloads for
2471
- * details on the return type.
2472
- */
2473
- patch(url, body, options = {}) {
2474
- return this.request('PATCH', url, addBody(options, body));
2475
- }
2476
- /**
2477
- * Constructs an observable that, when subscribed, causes the configured
2478
- * `POST` request to execute on the server. The server responds with the location of
2479
- * the replaced resource. See the individual overloads for
2480
- * details on the return type.
2481
- */
2482
- post(url, body, options = {}) {
2483
- return this.request('POST', url, addBody(options, body));
2484
- }
2485
- /**
2486
- * Constructs an observable that, when subscribed, causes the configured
2487
- * `PUT` request to execute on the server. The `PUT` method replaces an existing resource
2488
- * with a new set of values.
2489
- * See the individual overloads for details on the return type.
2490
- */
2491
- put(url, body, options = {}) {
2492
- return this.request('PUT', url, addBody(options, body));
2493
- }
2494
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
2495
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClient, providedIn: 'root' });
2496
- }
2497
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClient, decorators: [{
2498
- type: Injectable,
2499
- args: [{ providedIn: 'root' }]
2500
- }], ctorParameters: () => [{ type: HttpHandler }] });
2501
-
2502
- // Every request made through JSONP needs a callback name that's unique across the
2503
- // whole page. Each request is assigned an id and the callback name is constructed
2504
- // from that. The next id to be assigned is tracked in a global variable here that
2505
- // is shared among all applications on the page.
2506
- let nextRequestId = 0;
2507
- /**
2508
- * When a pending <script> is unsubscribed we'll move it to this document, so it won't be
2509
- * executed.
2510
- */
2511
- let foreignDocument;
2512
- // Error text given when a JSONP script is injected, but doesn't invoke the callback
2513
- // passed in its URL.
2514
- const JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';
2515
- // Error text given when a request is passed to the JsonpClientBackend that doesn't
2516
- // have a request method JSONP.
2517
- const JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';
2518
- const JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.';
2519
- // Error text given when a request is passed to the JsonpClientBackend that has
2520
- // headers set
2521
- const JSONP_ERR_HEADERS_NOT_SUPPORTED = 'JSONP requests do not support headers.';
2522
- /**
2523
- * DI token/abstract type representing a map of JSONP callbacks.
2524
- *
2525
- * In the browser, this should always be the `window` object.
2526
- *
2527
- *
2528
- */
2529
- class JsonpCallbackContext {
2530
- }
2531
- /**
2532
- * Factory function that determines where to store JSONP callbacks.
2533
- *
2534
- * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist
2535
- * in test environments. In that case, callbacks are stored on an anonymous object instead.
2536
- *
2537
- *
2538
- */
2539
- function jsonpCallbackContext() {
2540
- if (typeof window === 'object') {
2541
- return window;
2542
- }
2543
- return {};
2544
- }
2545
- /**
2546
- * Processes an `HttpRequest` with the JSONP method,
2547
- * by performing JSONP style requests.
2548
- * @see {@link HttpHandler}
2549
- * @see {@link HttpXhrBackend}
2550
- *
2551
- * @publicApi
2552
- */
2553
- class JsonpClientBackend {
2554
- callbackMap;
2555
- document;
2556
- /**
2557
- * A resolved promise that can be used to schedule microtasks in the event handlers.
2558
- */
2559
- resolvedPromise = Promise.resolve();
2560
- constructor(callbackMap, document) {
2561
- this.callbackMap = callbackMap;
2562
- this.document = document;
2563
- }
2564
- /**
2565
- * Get the name of the next callback method, by incrementing the global `nextRequestId`.
2566
- */
2567
- nextCallback() {
2568
- return `ng_jsonp_callback_${nextRequestId++}`;
2569
- }
2570
- /**
2571
- * Processes a JSONP request and returns an event stream of the results.
2572
- * @param req The request object.
2573
- * @returns An observable of the response events.
2574
- *
2575
- */
2576
- handle(req) {
2577
- // Firstly, check both the method and response type. If either doesn't match
2578
- // then the request was improperly routed here and cannot be handled.
2579
- if (req.method !== 'JSONP') {
2580
- throw new _RuntimeError(2810 /* RuntimeErrorCode.JSONP_WRONG_METHOD */, ngDevMode && JSONP_ERR_WRONG_METHOD);
2581
- }
2582
- else if (req.responseType !== 'json') {
2583
- throw new _RuntimeError(2811 /* RuntimeErrorCode.JSONP_WRONG_RESPONSE_TYPE */, ngDevMode && JSONP_ERR_WRONG_RESPONSE_TYPE);
2584
- }
2585
- // Check the request headers. JSONP doesn't support headers and
2586
- // cannot set any that were supplied.
2587
- if (req.headers.keys().length > 0) {
2588
- throw new _RuntimeError(2812 /* RuntimeErrorCode.JSONP_HEADERS_NOT_SUPPORTED */, ngDevMode && JSONP_ERR_HEADERS_NOT_SUPPORTED);
2589
- }
2590
- // Everything else happens inside the Observable boundary.
2591
- return new Observable((observer) => {
2592
- // The first step to make a request is to generate the callback name, and replace the
2593
- // callback placeholder in the URL with the name. Care has to be taken here to ensure
2594
- // a trailing &, if matched, gets inserted back into the URL in the correct place.
2595
- const callback = this.nextCallback();
2596
- const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`);
2597
- // Construct the <script> tag and point it at the URL.
2598
- const node = this.document.createElement('script');
2599
- node.src = url;
2600
- // A JSONP request requires waiting for multiple callbacks. These variables
2601
- // are closed over and track state across those callbacks.
2602
- // The response object, if one has been received, or null otherwise.
2603
- let body = null;
2604
- // Whether the response callback has been called.
2605
- let finished = false;
2606
- // Set the response callback in this.callbackMap (which will be the window
2607
- // object in the browser. The script being loaded via the <script> tag will
2608
- // eventually call this callback.
2609
- this.callbackMap[callback] = (data) => {
2610
- // Data has been received from the JSONP script. Firstly, delete this callback.
2611
- delete this.callbackMap[callback];
2612
- // Set state to indicate data was received.
2613
- body = data;
2614
- finished = true;
2615
- };
2616
- // cleanup() is a utility closure that removes the <script> from the page and
2617
- // the response callback from the window. This logic is used in both the
2618
- // success, error, and cancellation paths, so it's extracted out for convenience.
2619
- const cleanup = () => {
2620
- node.removeEventListener('load', onLoad);
2621
- node.removeEventListener('error', onError);
2622
- // Remove the <script> tag if it's still on the page.
2623
- node.remove();
2624
- // Remove the response callback from the callbackMap (window object in the
2625
- // browser).
2626
- delete this.callbackMap[callback];
2627
- };
2628
- // onLoad() is the success callback which runs after the response callback
2629
- // if the JSONP script loads successfully. The event itself is unimportant.
2630
- // If something went wrong, onLoad() may run without the response callback
2631
- // having been invoked.
2632
- const onLoad = () => {
2633
- // We wrap it in an extra Promise, to ensure the microtask
2634
- // is scheduled after the loaded endpoint has executed any potential microtask itself,
2635
- // which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496
2636
- this.resolvedPromise.then(() => {
2637
- // Cleanup the page.
2638
- cleanup();
2639
- // Check whether the response callback has run.
2640
- if (!finished) {
2641
- // It hasn't, something went wrong with the request. Return an error via
2642
- // the Observable error path. All JSONP errors have status 0.
2643
- observer.error(new HttpErrorResponse({
2644
- url,
2645
- status: 0,
2646
- statusText: 'JSONP Error',
2647
- error: new Error(JSONP_ERR_NO_CALLBACK),
2648
- }));
2649
- return;
2650
- }
2651
- // Success. body either contains the response body or null if none was
2652
- // returned.
2653
- observer.next(new HttpResponse({
2654
- body,
2655
- status: HTTP_STATUS_CODE_OK,
2656
- statusText: 'OK',
2657
- url,
2658
- }));
2659
- // Complete the stream, the response is over.
2660
- observer.complete();
2661
- });
2662
- };
2663
- // onError() is the error callback, which runs if the script returned generates
2664
- // a Javascript error. It emits the error via the Observable error channel as
2665
- // a HttpErrorResponse.
2666
- const onError = (error) => {
2667
- cleanup();
2668
- // Wrap the error in a HttpErrorResponse.
2669
- observer.error(new HttpErrorResponse({
2670
- error,
2671
- status: 0,
2672
- statusText: 'JSONP Error',
2673
- url,
2674
- }));
2675
- };
2676
- // Subscribe to both the success (load) and error events on the <script> tag,
2677
- // and add it to the page.
2678
- node.addEventListener('load', onLoad);
2679
- node.addEventListener('error', onError);
2680
- this.document.body.appendChild(node);
2681
- // The request has now been successfully sent.
2682
- observer.next({ type: HttpEventType.Sent });
2683
- // Cancellation handler.
2684
- return () => {
2685
- if (!finished) {
2686
- this.removeListeners(node);
2687
- }
2688
- // And finally, clean up the page.
2689
- cleanup();
2690
- };
2691
- });
2692
- }
2693
- removeListeners(script) {
2694
- // Issue #34818
2695
- // Changing <script>'s ownerDocument will prevent it from execution.
2696
- // https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block
2697
- foreignDocument ??= this.document.implementation.createHTMLDocument();
2698
- foreignDocument.adoptNode(script);
2699
- }
2700
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2701
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpClientBackend });
2702
- }
2703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpClientBackend, decorators: [{
2704
- type: Injectable
2705
- }], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
2706
- type: Inject,
2707
- args: [DOCUMENT]
2708
- }] }] });
2709
- /**
2710
- * Identifies requests with the method JSONP and shifts them to the `JsonpClientBackend`.
2711
- */
2712
- function jsonpInterceptorFn(req, next) {
2713
- if (req.method === 'JSONP') {
2714
- return inject(JsonpClientBackend).handle(req);
2715
- }
2716
- // Fall through for normal HTTP requests.
2717
- return next(req);
2718
- }
2719
- /**
2720
- * Identifies requests with the method JSONP and
2721
- * shifts them to the `JsonpClientBackend`.
2722
- *
2723
- * @see {@link HttpInterceptor}
2724
- *
2725
- * @publicApi
2726
- */
2727
- class JsonpInterceptor {
2728
- injector;
2729
- constructor(injector) {
2730
- this.injector = injector;
2731
- }
2732
- /**
2733
- * Identifies and handles a given JSONP request.
2734
- * @param initialRequest The outgoing request object to handle.
2735
- * @param next The next interceptor in the chain, or the backend
2736
- * if no interceptors remain in the chain.
2737
- * @returns An observable of the event stream.
2738
- */
2739
- intercept(initialRequest, next) {
2740
- return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
2741
- }
2742
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2743
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpInterceptor });
2744
- }
2745
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: JsonpInterceptor, decorators: [{
2746
- type: Injectable
2747
- }], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
2748
-
2749
- const XSRF_ENABLED = new InjectionToken(ngDevMode ? 'XSRF_ENABLED' : '', {
2750
- factory: () => true,
2751
- });
2752
- const XSRF_DEFAULT_COOKIE_NAME = 'XSRF-TOKEN';
2753
- const XSRF_COOKIE_NAME = new InjectionToken(ngDevMode ? 'XSRF_COOKIE_NAME' : '', {
2754
- providedIn: 'root',
2755
- factory: () => XSRF_DEFAULT_COOKIE_NAME,
2756
- });
2757
- const XSRF_DEFAULT_HEADER_NAME = 'X-XSRF-TOKEN';
2758
- const XSRF_HEADER_NAME = new InjectionToken(ngDevMode ? 'XSRF_HEADER_NAME' : '', {
2759
- providedIn: 'root',
2760
- factory: () => XSRF_DEFAULT_HEADER_NAME,
2761
- });
2762
- /**
2763
- * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.
2764
- */
2765
- class HttpXsrfCookieExtractor {
2766
- doc;
2767
- cookieName;
2768
- lastCookieString = '';
2769
- lastToken = null;
2770
- /**
2771
- * @internal for testing
2772
- */
2773
- parseCount = 0;
2774
- constructor(doc, cookieName) {
2775
- this.doc = doc;
2776
- this.cookieName = cookieName;
2777
- }
2778
- getToken() {
2779
- if (typeof ngServerMode !== 'undefined' && ngServerMode) {
2780
- return null;
2781
- }
2782
- const cookieString = this.doc.cookie || '';
2783
- if (cookieString !== this.lastCookieString) {
2784
- this.parseCount++;
2785
- this.lastToken = parseCookieValue(cookieString, this.cookieName);
2786
- this.lastCookieString = cookieString;
2787
- }
2788
- return this.lastToken;
2789
- }
2790
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
2791
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor, providedIn: 'root' });
2792
- }
2793
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
2794
- type: Injectable,
2795
- args: [{ providedIn: 'root' }]
2796
- }], ctorParameters: () => [{ type: undefined, decorators: [{
2797
- type: Inject,
2798
- args: [DOCUMENT]
2799
- }] }, { type: undefined, decorators: [{
2800
- type: Inject,
2801
- args: [XSRF_COOKIE_NAME]
2802
- }] }] });
2803
- /**
2804
- * Retrieves the current XSRF token to use with the next outgoing request.
2805
- *
2806
- * @publicApi
2807
- */
2808
- class HttpXsrfTokenExtractor {
2809
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfTokenExtractor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2810
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfTokenExtractor, providedIn: 'root', useExisting: HttpXsrfCookieExtractor });
2811
- }
2812
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfTokenExtractor, decorators: [{
2813
- type: Injectable,
2814
- args: [{ providedIn: 'root', useExisting: HttpXsrfCookieExtractor }]
2815
- }] });
2816
- function xsrfInterceptorFn(req, next) {
2817
- const lcUrl = req.url.toLowerCase();
2818
- // Skip both non-mutating requests and absolute URLs.
2819
- // Non-mutating requests don't require a token, and absolute URLs require special handling
2820
- // anyway as the cookie set
2821
- // on our origin is not the same as the token expected by another origin.
2822
- if (!inject(XSRF_ENABLED) ||
2823
- req.method === 'GET' ||
2824
- req.method === 'HEAD' ||
2825
- lcUrl.startsWith('http://') ||
2826
- lcUrl.startsWith('https://')) {
2827
- return next(req);
2828
- }
2829
- const token = inject(HttpXsrfTokenExtractor).getToken();
2830
- const headerName = inject(XSRF_HEADER_NAME);
2831
- // Be careful not to overwrite an existing header of the same name.
2832
- if (token != null && !req.headers.has(headerName)) {
2833
- req = req.clone({ headers: req.headers.set(headerName, token) });
2834
- }
2835
- return next(req);
2836
- }
2837
- /**
2838
- * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.
2839
- */
2840
- class HttpXsrfInterceptor {
2841
- injector;
2842
- constructor(injector) {
2843
- this.injector = injector;
2844
- }
2845
- intercept(initialRequest, next) {
2846
- return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
2847
- }
2848
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable });
2849
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfInterceptor });
2850
- }
2851
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
2852
- type: Injectable
2853
- }], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
2854
-
2855
- /**
2856
- * Identifies a particular kind of `HttpFeature`.
2857
- *
2858
- * @publicApi
2859
- */
2860
- var HttpFeatureKind;
2861
- (function (HttpFeatureKind) {
2862
- HttpFeatureKind[HttpFeatureKind["Interceptors"] = 0] = "Interceptors";
2863
- HttpFeatureKind[HttpFeatureKind["LegacyInterceptors"] = 1] = "LegacyInterceptors";
2864
- HttpFeatureKind[HttpFeatureKind["CustomXsrfConfiguration"] = 2] = "CustomXsrfConfiguration";
2865
- HttpFeatureKind[HttpFeatureKind["NoXsrfProtection"] = 3] = "NoXsrfProtection";
2866
- HttpFeatureKind[HttpFeatureKind["JsonpSupport"] = 4] = "JsonpSupport";
2867
- HttpFeatureKind[HttpFeatureKind["RequestsMadeViaParent"] = 5] = "RequestsMadeViaParent";
2868
- HttpFeatureKind[HttpFeatureKind["Fetch"] = 6] = "Fetch";
2869
- })(HttpFeatureKind || (HttpFeatureKind = {}));
2870
- function makeHttpFeature(kind, providers) {
2871
- return {
2872
- ɵkind: kind,
2873
- ɵproviders: providers,
2874
- };
2875
- }
2876
- /**
2877
- * Configures Angular's `HttpClient` service to be available for injection.
2878
- *
2879
- * By default, `HttpClient` will be configured for injection with its default options for XSRF
2880
- * protection of outgoing requests. Additional configuration options can be provided by passing
2881
- * feature functions to `provideHttpClient`. For example, HTTP interceptors can be added using the
2882
- * `withInterceptors(...)` feature.
2883
- *
2884
- * <div class="docs-alert docs-alert-helpful">
2885
- *
2886
- * It's strongly recommended to enable
2887
- * [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) for applications that use
2888
- * Server-Side Rendering for better performance and compatibility. To enable `fetch`, add
2889
- * `withFetch()` feature to the `provideHttpClient()` call at the root of the application:
2890
- *
2891
- * ```ts
2892
- * provideHttpClient(withFetch());
2893
- * ```
2894
- *
2895
- * </div>
2896
- *
2897
- * @see {@link withInterceptors}
2898
- * @see {@link withInterceptorsFromDi}
2899
- * @see {@link withXsrfConfiguration}
2900
- * @see {@link withNoXsrfProtection}
2901
- * @see {@link withJsonpSupport}
2902
- * @see {@link withRequestsMadeViaParent}
2903
- * @see {@link withFetch}
2904
- */
2905
- function provideHttpClient(...features) {
2906
- if (ngDevMode) {
2907
- const featureKinds = new Set(features.map((f) => f.ɵkind));
2908
- if (featureKinds.has(HttpFeatureKind.NoXsrfProtection) &&
2909
- featureKinds.has(HttpFeatureKind.CustomXsrfConfiguration)) {
2910
- throw new Error(ngDevMode
2911
- ? `Configuration error: found both withXsrfConfiguration() and withNoXsrfProtection() in the same call to provideHttpClient(), which is a contradiction.`
2912
- : '');
2913
- }
2914
- }
2915
- const providers = [
2916
- HttpClient,
2917
- HttpInterceptorHandler,
2918
- { provide: HttpHandler, useExisting: HttpInterceptorHandler },
2919
- {
2920
- provide: HttpBackend,
2921
- useFactory: () => {
2922
- return inject(FETCH_BACKEND, { optional: true }) ?? inject(HttpXhrBackend);
2923
- },
2924
- },
2925
- {
2926
- provide: HTTP_INTERCEPTOR_FNS,
2927
- useValue: xsrfInterceptorFn,
2928
- multi: true,
2929
- },
2930
- ];
2931
- for (const feature of features) {
2932
- providers.push(...feature.ɵproviders);
2933
- }
2934
- return makeEnvironmentProviders(providers);
2935
- }
2936
- /**
2937
- * Adds one or more functional-style HTTP interceptors to the configuration of the `HttpClient`
2938
- * instance.
2939
- *
2940
- * @see {@link HttpInterceptorFn}
2941
- * @see {@link provideHttpClient}
2942
- * @publicApi
2943
- */
2944
- function withInterceptors(interceptorFns) {
2945
- return makeHttpFeature(HttpFeatureKind.Interceptors, interceptorFns.map((interceptorFn) => {
2946
- return {
2947
- provide: HTTP_INTERCEPTOR_FNS,
2948
- useValue: interceptorFn,
2949
- multi: true,
2950
- };
2951
- }));
2952
- }
2953
- const LEGACY_INTERCEPTOR_FN = new InjectionToken(ngDevMode ? 'LEGACY_INTERCEPTOR_FN' : '');
2954
- /**
2955
- * Includes class-based interceptors configured using a multi-provider in the current injector into
2956
- * the configured `HttpClient` instance.
2957
- *
2958
- * Prefer `withInterceptors` and functional interceptors instead, as support for DI-provided
2959
- * interceptors may be phased out in a later release.
2960
- *
2961
- * @see {@link HttpInterceptor}
2962
- * @see {@link HTTP_INTERCEPTORS}
2963
- * @see {@link provideHttpClient}
2964
- */
2965
- function withInterceptorsFromDi() {
2966
- // Note: the legacy interceptor function is provided here via an intermediate token
2967
- // (`LEGACY_INTERCEPTOR_FN`), using a pattern which guarantees that if these providers are
2968
- // included multiple times, all of the multi-provider entries will have the same instance of the
2969
- // interceptor function. That way, the `HttpINterceptorHandler` will dedup them and legacy
2970
- // interceptors will not run multiple times.
2971
- return makeHttpFeature(HttpFeatureKind.LegacyInterceptors, [
2972
- {
2973
- provide: LEGACY_INTERCEPTOR_FN,
2974
- useFactory: legacyInterceptorFnFactory,
2975
- },
2976
- {
2977
- provide: HTTP_INTERCEPTOR_FNS,
2978
- useExisting: LEGACY_INTERCEPTOR_FN,
2979
- multi: true,
2980
- },
2981
- ]);
2982
- }
2983
- /**
2984
- * Customizes the XSRF protection for the configuration of the current `HttpClient` instance.
2985
- *
2986
- * This feature is incompatible with the `withNoXsrfProtection` feature.
2987
- *
2988
- * @see {@link provideHttpClient}
2989
- */
2990
- function withXsrfConfiguration({ cookieName, headerName, }) {
2991
- const providers = [];
2992
- if (cookieName !== undefined) {
2993
- providers.push({ provide: XSRF_COOKIE_NAME, useValue: cookieName });
2994
- }
2995
- if (headerName !== undefined) {
2996
- providers.push({ provide: XSRF_HEADER_NAME, useValue: headerName });
2997
- }
2998
- return makeHttpFeature(HttpFeatureKind.CustomXsrfConfiguration, providers);
2999
- }
3000
- /**
3001
- * Disables XSRF protection in the configuration of the current `HttpClient` instance.
3002
- *
3003
- * This feature is incompatible with the `withXsrfConfiguration` feature.
3004
- *
3005
- * @see {@link provideHttpClient}
3006
- */
3007
- function withNoXsrfProtection() {
3008
- return makeHttpFeature(HttpFeatureKind.NoXsrfProtection, [
3009
- {
3010
- provide: XSRF_ENABLED,
3011
- useValue: false,
3012
- },
3013
- ]);
3014
- }
3015
- /**
3016
- * Add JSONP support to the configuration of the current `HttpClient` instance.
3017
- *
3018
- * @see {@link provideHttpClient}
3019
- */
3020
- function withJsonpSupport() {
3021
- return makeHttpFeature(HttpFeatureKind.JsonpSupport, [
3022
- JsonpClientBackend,
3023
- { provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },
3024
- { provide: HTTP_INTERCEPTOR_FNS, useValue: jsonpInterceptorFn, multi: true },
3025
- ]);
3026
- }
3027
- /**
3028
- * Configures the current `HttpClient` instance to make requests via the parent injector's
3029
- * `HttpClient` instead of directly.
3030
- *
3031
- * By default, `provideHttpClient` configures `HttpClient` in its injector to be an independent
3032
- * instance. For example, even if `HttpClient` is configured in the parent injector with
3033
- * one or more interceptors, they will not intercept requests made via this instance.
3034
- *
3035
- * With this option enabled, once the request has passed through the current injector's
3036
- * interceptors, it will be delegated to the parent injector's `HttpClient` chain instead of
3037
- * dispatched directly, and interceptors in the parent configuration will be applied to the request.
3038
- *
3039
- * If there are several `HttpClient` instances in the injector hierarchy, it's possible for
3040
- * `withRequestsMadeViaParent` to be used at multiple levels, which will cause the request to
3041
- * "bubble up" until either reaching the root level or an `HttpClient` which was not configured with
3042
- * this option.
3043
- *
3044
- * @see {@link provideHttpClient}
3045
- * @publicApi 19.0
3046
- */
3047
- function withRequestsMadeViaParent() {
3048
- return makeHttpFeature(HttpFeatureKind.RequestsMadeViaParent, [
3049
- {
3050
- provide: HttpBackend,
3051
- useFactory: () => {
3052
- const handlerFromParent = inject(HttpHandler, { skipSelf: true, optional: true });
3053
- if (ngDevMode && handlerFromParent === null) {
3054
- throw new Error('withRequestsMadeViaParent() can only be used when the parent injector also configures HttpClient');
3055
- }
3056
- return handlerFromParent;
3057
- },
3058
- },
3059
- ]);
3060
- }
3061
- /**
3062
- * Configures the current `HttpClient` instance to make requests using the fetch API.
3063
- *
3064
- * Note: The Fetch API doesn't support progress report on uploads.
3065
- *
3066
- * @publicApi
3067
- */
3068
- function withFetch() {
3069
- return makeHttpFeature(HttpFeatureKind.Fetch, [
3070
- FetchBackend,
3071
- { provide: FETCH_BACKEND, useExisting: FetchBackend },
3072
- { provide: HttpBackend, useExisting: FetchBackend },
3073
- ]);
3074
- }
3075
-
3076
- /**
3077
- * Configures XSRF protection support for outgoing requests.
3078
- *
3079
- * For a server that supports a cookie-based XSRF protection system,
3080
- * use directly to configure XSRF protection with the correct
3081
- * cookie and header names.
3082
- *
3083
- * If no names are supplied, the default cookie name is `XSRF-TOKEN`
3084
- * and the default header name is `X-XSRF-TOKEN`.
3085
- *
3086
- * @publicApi
3087
- * @deprecated Use withXsrfConfiguration({cookieName: 'XSRF-TOKEN', headerName: 'X-XSRF-TOKEN'}) as
3088
- * providers instead or `withNoXsrfProtection` if you want to disabled XSRF protection.
3089
- */
3090
- class HttpClientXsrfModule {
3091
- /**
3092
- * Disable the default XSRF protection.
3093
- */
3094
- static disable() {
3095
- return {
3096
- ngModule: HttpClientXsrfModule,
3097
- providers: [withNoXsrfProtection().ɵproviders],
3098
- };
3099
- }
3100
- /**
3101
- * Configure XSRF protection.
3102
- * @param options An object that can specify either or both
3103
- * cookie name or header name.
3104
- * - Cookie name default is `XSRF-TOKEN`.
3105
- * - Header name default is `X-XSRF-TOKEN`.
3106
- *
3107
- */
3108
- static withOptions(options = {}) {
3109
- return {
3110
- ngModule: HttpClientXsrfModule,
3111
- providers: withXsrfConfiguration(options).ɵproviders,
3112
- };
3113
- }
3114
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3115
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientXsrfModule });
3116
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientXsrfModule, providers: [
3117
- HttpXsrfInterceptor,
3118
- { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
3119
- { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
3120
- withXsrfConfiguration({
3121
- cookieName: XSRF_DEFAULT_COOKIE_NAME,
3122
- headerName: XSRF_DEFAULT_HEADER_NAME,
3123
- }).ɵproviders,
3124
- { provide: XSRF_ENABLED, useValue: true },
3125
- ] });
3126
- }
3127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
3128
- type: NgModule,
3129
- args: [{
3130
- providers: [
3131
- HttpXsrfInterceptor,
3132
- { provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
3133
- { provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
3134
- withXsrfConfiguration({
3135
- cookieName: XSRF_DEFAULT_COOKIE_NAME,
3136
- headerName: XSRF_DEFAULT_HEADER_NAME,
3137
- }).ɵproviders,
3138
- { provide: XSRF_ENABLED, useValue: true },
3139
- ],
3140
- }]
3141
- }] });
3142
- /**
3143
- * Configures the dependency injector for `HttpClient`
3144
- * with supporting services for XSRF. Automatically imported by `HttpClientModule`.
3145
- *
3146
- * You can add interceptors to the chain behind `HttpClient` by binding them to the
3147
- * multiprovider for built-in DI token `HTTP_INTERCEPTORS`.
3148
- *
3149
- * @publicApi
3150
- * @deprecated use `provideHttpClient(withInterceptorsFromDi())` as providers instead
3151
- */
3152
- class HttpClientModule {
3153
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3154
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientModule });
3155
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] });
3156
- }
3157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientModule, decorators: [{
3158
- type: NgModule,
3159
- args: [{
3160
- /**
3161
- * Configures the dependency injector where it is imported
3162
- * with supporting services for HTTP communications.
3163
- */
3164
- providers: [provideHttpClient(withInterceptorsFromDi())],
3165
- }]
3166
- }] });
3167
- /**
3168
- * Configures the dependency injector for `HttpClient`
3169
- * with supporting services for JSONP.
3170
- * Without this module, Jsonp requests reach the backend
3171
- * with method JSONP, where they are rejected.
3172
- *
3173
- * @publicApi
3174
- * @deprecated `withJsonpSupport()` as providers instead
3175
- */
3176
- class HttpClientJsonpModule {
3177
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3178
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientJsonpModule });
3179
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] });
3180
- }
3181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
3182
- type: NgModule,
3183
- args: [{
3184
- providers: [withJsonpSupport().ɵproviders],
3185
- }]
3186
- }] });
3187
-
3188
- export { FetchBackend, HTTP_INTERCEPTORS, HTTP_ROOT_INTERCEPTOR_FNS, HttpBackend, HttpClient, HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContext, HttpContextToken, HttpErrorResponse, HttpEventType, HttpFeatureKind, HttpHandler, HttpHeaderResponse, HttpHeaders, HttpInterceptorHandler, HttpParams, HttpRequest, HttpResponse, HttpResponseBase, HttpStatusCode, HttpUrlEncodingCodec, HttpXhrBackend, HttpXsrfTokenExtractor, JsonpClientBackend, JsonpInterceptor, REQUESTS_CONTRIBUTE_TO_STABILITY, provideHttpClient, withFetch, withInterceptors, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withRequestsMadeViaParent, withXsrfConfiguration };
3189
- //# sourceMappingURL=module.mjs.map