@saasquatch/mint-components 1.3.2-8 → 1.3.2-9

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 (240) hide show
  1. package/dist/cjs/{ShadowViewAddon-75c18b96.js → ShadowViewAddon-a85b8c8d.js} +1 -1
  2. package/dist/cjs/{global-041b5338.js → global-ff7fbc86.js} +107 -56
  3. package/dist/cjs/{index.module-6a7bda18.js → index.module-7dd4b981.js} +2 -1
  4. package/dist/cjs/loader.cjs.js +3 -4
  5. package/dist/cjs/mint-components.cjs.js +3 -4
  6. package/dist/cjs/{re-render-7cdb2d81.js → re-render-6111d4bd.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
  9. package/dist/cjs/{sqm-divided-layout_28.cjs.entry.js → sqm-divided-layout_30.cjs.entry.js} +745 -83
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  11. package/dist/cjs/{index-19309631.js → sqm-leaderboard-rank-view-a99b4cd9.js} +10 -3
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -9
  13. package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
  15. package/dist/cjs/{sqm-navigation-sidebar-item-view-e99b4a10.js → sqm-navigation-sidebar-item-view-6c7f78e6.js} +1 -1
  16. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-portal-email-verification-view-5e955797.js → sqm-portal-email-verification-view-2cebd06b.js} +1 -1
  19. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -4
  20. package/dist/cjs/{sqm-portal-footer-view-9089feb7.js → sqm-portal-footer-view-de1763c4.js} +1 -1
  21. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -4
  22. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  24. package/dist/cjs/{sqm-portal-profile-view-a23ea292.js → sqm-portal-profile-view-680ee551.js} +1 -1
  25. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -4
  26. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  29. package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
  33. package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-share-code.cjs.entry.js +1 -1
  35. package/dist/cjs/{useDemoBigStat-051a69f7.js → useDemoBigStat-2786227e.js} +1 -1
  36. package/dist/collection/collection-manifest.json +2 -1
  37. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +21 -0
  38. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +218 -0
  39. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +57 -42
  40. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -2
  41. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +1 -1
  42. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +53 -0
  43. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-column.js +120 -0
  44. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +11 -12
  45. package/dist/collection/components/{sqm-rewards-table → sqm-router}/Router.stories.js +0 -0
  46. package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
  47. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +5 -1
  48. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +1 -1
  49. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +2 -2
  50. package/dist/esm/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-a3f510db.js} +1 -1
  51. package/dist/esm/{global-5ecbf81a.js → global-923aa737.js} +54 -3
  52. package/dist/esm/{index.module-f80561db.js → index.module-90d2c3ad.js} +2 -2
  53. package/dist/esm/loader.js +3 -4
  54. package/dist/esm/mint-components.js +3 -4
  55. package/dist/esm/{re-render-9ab5fe0f.js → re-render-e06f2f7f.js} +1 -1
  56. package/dist/esm/sqm-asset-card.entry.js +1 -1
  57. package/dist/esm/sqm-big-stat.entry.js +2 -2
  58. package/dist/esm/{sqm-divided-layout_28.entry.js → sqm-divided-layout_30.entry.js} +739 -79
  59. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  60. package/dist/esm/{index-2f5dd0a1.js → sqm-leaderboard-rank-view-747ffda8.js} +9 -3
  61. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -5
  62. package/dist/esm/sqm-leaderboard.entry.js +2 -2
  63. package/dist/esm/sqm-name-fields.entry.js +1 -1
  64. package/dist/esm/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f2304ad9.js} +1 -1
  65. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  66. package/dist/esm/sqm-popup-container.entry.js +1 -1
  67. package/dist/esm/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-a3ebc4a2.js} +1 -1
  68. package/dist/esm/sqm-portal-email-verification.entry.js +3 -4
  69. package/dist/esm/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-7b8a02b1.js} +1 -1
  70. package/dist/esm/sqm-portal-footer.entry.js +3 -4
  71. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  72. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  73. package/dist/esm/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-4ce8d89d.js} +1 -1
  74. package/dist/esm/sqm-portal-profile.entry.js +3 -4
  75. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  76. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  77. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  78. package/dist/esm/sqm-referral-table-column.entry.js +2 -2
  79. package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
  80. package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
  81. package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
  82. package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
  83. package/dist/esm/sqm-share-code.entry.js +1 -1
  84. package/dist/esm/{useDemoBigStat-95889548.js → useDemoBigStat-c3b955b7.js} +1 -1
  85. package/dist/esm-es5/{ShadowViewAddon-fff5d35d.js → ShadowViewAddon-a3f510db.js} +1 -1
  86. package/dist/esm-es5/{global-5ecbf81a.js → global-923aa737.js} +16 -2
  87. package/dist/esm-es5/{index.module-f80561db.js → index.module-90d2c3ad.js} +1 -1
  88. package/dist/esm-es5/loader.js +1 -1
  89. package/dist/esm-es5/mint-components.js +1 -1
  90. package/dist/esm-es5/{re-render-9ab5fe0f.js → re-render-e06f2f7f.js} +1 -1
  91. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  92. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  93. package/dist/esm-es5/sqm-divided-layout_30.entry.js +1 -0
  94. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  95. package/dist/esm-es5/sqm-leaderboard-rank-view-747ffda8.js +1 -0
  96. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  97. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  98. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  99. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-8a3f374b.js → sqm-navigation-sidebar-item-view-f2304ad9.js} +1 -1
  100. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  101. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  102. package/dist/esm-es5/{sqm-portal-email-verification-view-90781be2.js → sqm-portal-email-verification-view-a3ebc4a2.js} +1 -1
  103. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  104. package/dist/esm-es5/{sqm-portal-footer-view-c317518e.js → sqm-portal-footer-view-7b8a02b1.js} +1 -1
  105. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  106. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  107. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  108. package/dist/esm-es5/{sqm-portal-profile-view-824c8242.js → sqm-portal-profile-view-4ce8d89d.js} +1 -1
  109. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  110. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  112. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  113. package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
  114. package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
  115. package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
  116. package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
  117. package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
  118. package/dist/esm-es5/sqm-share-code.entry.js +1 -1
  119. package/dist/esm-es5/{useDemoBigStat-95889548.js → useDemoBigStat-c3b955b7.js} +1 -1
  120. package/dist/mint-components/mint-components.esm.js +1 -1
  121. package/dist/mint-components/mint-components.js +1 -1
  122. package/dist/mint-components/p-0382a7b0.entry.js +1 -0
  123. package/dist/mint-components/p-08e75345.system.entry.js +1 -0
  124. package/dist/mint-components/p-0b4af41a.system.entry.js +1 -0
  125. package/dist/mint-components/p-0c67ccfd.system.entry.js +1 -0
  126. package/dist/mint-components/{p-337b49ee.entry.js → p-160bd62f.entry.js} +1 -1
  127. package/dist/mint-components/{p-4ba2faf2.system.entry.js → p-1a09e4e1.system.entry.js} +1 -1
  128. package/dist/mint-components/{p-3052c913.system.js → p-1bfed119.system.js} +1 -1
  129. package/dist/mint-components/p-1c8b0290.entry.js +1 -0
  130. package/dist/mint-components/{p-7c13e32e.system.entry.js → p-1dcdca58.system.entry.js} +1 -1
  131. package/dist/mint-components/p-20d41ab1.entry.js +1 -0
  132. package/dist/mint-components/{p-e9ab90a1.entry.js → p-221a4097.entry.js} +1 -1
  133. package/dist/mint-components/{p-a0045707.system.entry.js → p-223b42bd.system.entry.js} +1 -1
  134. package/dist/mint-components/{p-cc3510c8.js → p-224504ad.js} +1 -1
  135. package/dist/mint-components/{p-2a025d2a.system.entry.js → p-24b3c6f0.system.entry.js} +1 -1
  136. package/dist/mint-components/{p-1b414d8f.system.entry.js → p-24c9a599.system.entry.js} +1 -1
  137. package/dist/mint-components/{p-a7f0b2f6.entry.js → p-29fab29b.entry.js} +1 -1
  138. package/dist/mint-components/p-2e43ba45.entry.js +13 -0
  139. package/dist/mint-components/{p-e475a5ff.system.entry.js → p-304e6c82.system.entry.js} +1 -1
  140. package/dist/mint-components/{p-5f28af29.entry.js → p-3397167c.entry.js} +1 -1
  141. package/dist/mint-components/{p-04516274.system.entry.js → p-396bf448.system.entry.js} +1 -1
  142. package/dist/mint-components/p-3b97aed8.system.js +1 -0
  143. package/dist/mint-components/{p-3b0acfcd.system.js → p-3ce2fb83.system.js} +1 -1
  144. package/dist/mint-components/{p-82d7a2ba.entry.js → p-3d856985.entry.js} +1 -1
  145. package/dist/mint-components/{p-af06ea5b.system.entry.js → p-4052b948.system.entry.js} +1 -1
  146. package/dist/mint-components/{p-57a53dbd.system.entry.js → p-412a9226.system.entry.js} +1 -1
  147. package/dist/mint-components/{p-1fb688a9.system.js → p-43fc3f99.system.js} +1 -1
  148. package/dist/mint-components/{p-844f9bad.entry.js → p-45c752a0.entry.js} +1 -1
  149. package/dist/mint-components/p-5480e4ee.entry.js +1 -0
  150. package/dist/mint-components/{p-db723323.system.entry.js → p-55508395.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-844fd903.js → p-563253e8.js} +1 -1
  152. package/dist/mint-components/{p-ceeaf074.system.js → p-593d2266.system.js} +35 -21
  153. package/dist/mint-components/{p-1ac9c24b.system.entry.js → p-69bcf4fa.system.entry.js} +1 -1
  154. package/dist/mint-components/p-6e245fa3.system.entry.js +1 -0
  155. package/dist/mint-components/{p-5dfc6804.system.entry.js → p-73148868.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-a4a00461.entry.js → p-772f52da.entry.js} +1 -1
  157. package/dist/mint-components/{p-6cdc70f4.entry.js → p-8435a22d.entry.js} +1 -1
  158. package/dist/mint-components/p-883a32e7.entry.js +1 -0
  159. package/dist/mint-components/p-8a7ac67b.entry.js +335 -0
  160. package/dist/mint-components/{p-1813b9b9.system.js → p-8ee4c2d2.system.js} +1 -1
  161. package/dist/mint-components/{p-0faf1857.system.js → p-9c554ca0.system.js} +1 -1
  162. package/dist/mint-components/{p-d3787c3a.entry.js → p-9d6dbb2d.entry.js} +1 -1
  163. package/dist/mint-components/p-9e4fee30.system.entry.js +1 -0
  164. package/dist/mint-components/{p-2bce988c.js → p-a2c3cff3.js} +1 -1
  165. package/dist/mint-components/{p-d9cc041f.entry.js → p-a4c2c7ed.entry.js} +1 -1
  166. package/dist/mint-components/{p-05cca77b.js → p-ad0f47dc.js} +1 -1
  167. package/dist/mint-components/{p-aba21f90.entry.js → p-ade44a4e.entry.js} +1 -1
  168. package/dist/mint-components/{p-8e37c08d.js → p-b7ea778a.js} +1 -1
  169. package/dist/mint-components/p-b7fc2c67.entry.js +1 -0
  170. package/dist/mint-components/{p-2f171597.entry.js → p-b8bd2607.entry.js} +1 -1
  171. package/dist/mint-components/p-bbf5ba89.system.entry.js +1 -0
  172. package/dist/mint-components/{p-0688c9c2.system.entry.js → p-be2738b0.system.entry.js} +1 -1
  173. package/dist/mint-components/{p-82ab88fe.system.js → p-c6114bfe.system.js} +1 -1
  174. package/dist/mint-components/{p-16535642.system.entry.js → p-c79c608d.system.entry.js} +1 -1
  175. package/dist/mint-components/p-c9e3b7bc.js +1 -0
  176. package/dist/mint-components/{p-505f5c59.system.entry.js → p-cca9026f.system.entry.js} +1 -1
  177. package/dist/mint-components/{p-71d942af.entry.js → p-cd410a05.entry.js} +2 -2
  178. package/dist/mint-components/{p-a0cfd3d9.system.js → p-cdeae699.system.js} +1 -1
  179. package/dist/mint-components/{p-3fd33dee.system.entry.js → p-d174d0bc.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-00190438.js → p-d35b0366.js} +1 -1
  181. package/dist/mint-components/p-d60085ae.system.entry.js +1 -0
  182. package/dist/mint-components/{p-f1e1086e.js → p-dc75a335.js} +17 -2
  183. package/dist/mint-components/{p-434ee9c1.js → p-e817ca6b.js} +1 -1
  184. package/dist/mint-components/{p-16da5146.entry.js → p-f17050de.entry.js} +1 -1
  185. package/dist/mint-components/{p-b6e6be5e.js → p-f90486ca.js} +1 -1
  186. package/dist/mint-components/p-fce1dbf6.entry.js +1 -0
  187. package/dist/mint-components/p-ff616282.system.js +1 -0
  188. package/dist/mint-components/p-ffbe112d.system.js +1 -0
  189. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +6 -0
  190. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +81 -0
  191. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +1 -3
  192. package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +16 -0
  193. package/dist/types/components/sqm-rewards-table/sqm-rewards-table-column.d.ts +20 -0
  194. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +33 -0
  195. package/dist/types/components/{sqm-rewards-table → sqm-router}/Router.stories.d.ts +0 -0
  196. package/dist/types/components.d.ts +32 -0
  197. package/grapesjs/grapesjs.js +1 -1
  198. package/package.json +1 -1
  199. package/dist/cjs/sqm-leaderboard-rank-view-35015d30.js +0 -10
  200. package/dist/cjs/sqm-rewards-table.cjs.entry.js +0 -332
  201. package/dist/cjs/tslib.es6-0e81fab1.js +0 -56
  202. package/dist/cjs/useChildElements-428ca5b8.js +0 -21
  203. package/dist/esm/sqm-leaderboard-rank-view-da91f5f3.js +0 -8
  204. package/dist/esm/sqm-rewards-table.entry.js +0 -328
  205. package/dist/esm/tslib.es6-7ac9d7e4.js +0 -53
  206. package/dist/esm/useChildElements-506f00d0.js +0 -19
  207. package/dist/esm-es5/index-2f5dd0a1.js +0 -1
  208. package/dist/esm-es5/sqm-divided-layout_28.entry.js +0 -1
  209. package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +0 -1
  210. package/dist/esm-es5/sqm-rewards-table.entry.js +0 -1
  211. package/dist/esm-es5/tslib.es6-7ac9d7e4.js +0 -15
  212. package/dist/esm-es5/useChildElements-506f00d0.js +0 -1
  213. package/dist/mint-components/p-11c75956.entry.js +0 -1
  214. package/dist/mint-components/p-189219ee.system.js +0 -1
  215. package/dist/mint-components/p-1d445125.entry.js +0 -1
  216. package/dist/mint-components/p-21dfdeb8.entry.js +0 -1
  217. package/dist/mint-components/p-23a0bdae.entry.js +0 -1
  218. package/dist/mint-components/p-55e02769.entry.js +0 -13
  219. package/dist/mint-components/p-58d9b2f0.js +0 -15
  220. package/dist/mint-components/p-6d545e13.entry.js +0 -1
  221. package/dist/mint-components/p-70837c1c.entry.js +0 -49
  222. package/dist/mint-components/p-7c138c84.entry.js +0 -1
  223. package/dist/mint-components/p-7c261ea0.system.entry.js +0 -1
  224. package/dist/mint-components/p-8034f81c.system.entry.js +0 -1
  225. package/dist/mint-components/p-8c16f04e.js +0 -1
  226. package/dist/mint-components/p-91d39961.system.js +0 -1
  227. package/dist/mint-components/p-a7f26a72.entry.js +0 -288
  228. package/dist/mint-components/p-b2633117.system.entry.js +0 -1
  229. package/dist/mint-components/p-b3af1c6f.js +0 -1
  230. package/dist/mint-components/p-bf04a8e1.system.entry.js +0 -1
  231. package/dist/mint-components/p-bf055b6c.system.js +0 -1
  232. package/dist/mint-components/p-c3866bfa.system.entry.js +0 -1
  233. package/dist/mint-components/p-dd6a666e.system.js +0 -15
  234. package/dist/mint-components/p-dfc3cf82.js +0 -1
  235. package/dist/mint-components/p-e0290737.system.entry.js +0 -1
  236. package/dist/mint-components/p-e19a57a4.system.entry.js +0 -1
  237. package/dist/mint-components/p-e2ebe90c.entry.js +0 -1
  238. package/dist/mint-components/p-ecbabf6e.system.js +0 -1
  239. package/dist/mint-components/p-f41ab9e1.system.js +0 -1
  240. package/dist/mint-components/p-fcaa5886.system.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const index_module = require('./index.module-6a7bda18.js');
4
+ const index_module = require('./index.module-7dd4b981.js');
5
5
 
6
6
  function LeaderboardView(props) {
7
7
  var _a;
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const _extends = require('./extends-0302d27d.js');
4
- const index_module = require('./index.module-6a7bda18.js');
5
- const tslib_es6 = require('./tslib.es6-0e81fab1.js');
4
+ const index_module = require('./index.module-7dd4b981.js');
6
5
 
7
6
  var __assign = (undefined && undefined.__assign) || function () {
8
7
  __assign = Object.assign || function(t) {
@@ -8363,6 +8362,58 @@ define$1(String.prototype, "padRight", "".padEnd);
8363
8362
  [][key] && define$1(Array, key, Function.call.bind([][key]));
8364
8363
  });
8365
8364
 
8365
+ /*! *****************************************************************************
8366
+ Copyright (c) Microsoft Corporation.
8367
+
8368
+ Permission to use, copy, modify, and/or distribute this software for any
8369
+ purpose with or without fee is hereby granted.
8370
+
8371
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8372
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
8373
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
8374
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
8375
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
8376
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8377
+ PERFORMANCE OF THIS SOFTWARE.
8378
+ ***************************************************************************** */
8379
+ /* global Reflect, Promise */
8380
+
8381
+ var extendStatics = function(d, b) {
8382
+ extendStatics = Object.setPrototypeOf ||
8383
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8384
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
8385
+ return extendStatics(d, b);
8386
+ };
8387
+
8388
+ function __extends$1(d, b) {
8389
+ if (typeof b !== "function" && b !== null)
8390
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
8391
+ extendStatics(d, b);
8392
+ function __() { this.constructor = d; }
8393
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8394
+ }
8395
+
8396
+ exports.__assign = function() {
8397
+ exports.__assign = Object.assign || function __assign(t) {
8398
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8399
+ s = arguments[i];
8400
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8401
+ }
8402
+ return t;
8403
+ };
8404
+ return exports.__assign.apply(this, arguments);
8405
+ };
8406
+
8407
+ function __spreadArray(to, from, pack) {
8408
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
8409
+ if (ar || !(i in from)) {
8410
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
8411
+ ar[i] = from[i];
8412
+ }
8413
+ }
8414
+ return to.concat(ar || from);
8415
+ }
8416
+
8366
8417
  var TYPE;
8367
8418
  (function (TYPE) {
8368
8419
  /**
@@ -8723,10 +8774,10 @@ function parseNumberSkeleton(tokens) {
8723
8774
  result.compactDisplay = 'long';
8724
8775
  continue;
8725
8776
  case 'scientific':
8726
- result = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (tslib_es6.__assign(tslib_es6.__assign({}, all), parseNotationOptions(opt))); }, {}));
8777
+ result = exports.__assign(exports.__assign(exports.__assign({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (exports.__assign(exports.__assign({}, all), parseNotationOptions(opt))); }, {}));
8727
8778
  continue;
8728
8779
  case 'engineering':
8729
- result = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (tslib_es6.__assign(tslib_es6.__assign({}, all), parseNotationOptions(opt))); }, {}));
8780
+ result = exports.__assign(exports.__assign(exports.__assign({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (exports.__assign(exports.__assign({}, all), parseNotationOptions(opt))); }, {}));
8730
8781
  continue;
8731
8782
  case 'notation-simple':
8732
8783
  result.notation = 'standard';
@@ -8802,22 +8853,22 @@ function parseNumberSkeleton(tokens) {
8802
8853
  return '';
8803
8854
  });
8804
8855
  if (token.options.length) {
8805
- result = tslib_es6.__assign(tslib_es6.__assign({}, result), parseSignificantPrecision(token.options[0]));
8856
+ result = exports.__assign(exports.__assign({}, result), parseSignificantPrecision(token.options[0]));
8806
8857
  }
8807
8858
  continue;
8808
8859
  }
8809
8860
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
8810
8861
  if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {
8811
- result = tslib_es6.__assign(tslib_es6.__assign({}, result), parseSignificantPrecision(token.stem));
8862
+ result = exports.__assign(exports.__assign({}, result), parseSignificantPrecision(token.stem));
8812
8863
  continue;
8813
8864
  }
8814
8865
  var signOpts = parseSign(token.stem);
8815
8866
  if (signOpts) {
8816
- result = tslib_es6.__assign(tslib_es6.__assign({}, result), signOpts);
8867
+ result = exports.__assign(exports.__assign({}, result), signOpts);
8817
8868
  }
8818
8869
  var conciseScientificAndEngineeringOpts = parseConciseScientificAndEngineeringStem(token.stem);
8819
8870
  if (conciseScientificAndEngineeringOpts) {
8820
- result = tslib_es6.__assign(tslib_es6.__assign({}, result), conciseScientificAndEngineeringOpts);
8871
+ result = exports.__assign(exports.__assign({}, result), conciseScientificAndEngineeringOpts);
8821
8872
  }
8822
8873
  }
8823
8874
  return result;
@@ -8825,7 +8876,7 @@ function parseNumberSkeleton(tokens) {
8825
8876
 
8826
8877
  // @ts-nocheck
8827
8878
  var SyntaxError = /** @class */ (function (_super) {
8828
- tslib_es6.__extends(SyntaxError, _super);
8879
+ __extends$1(SyntaxError, _super);
8829
8880
  function SyntaxError(message, expected, found, location) {
8830
8881
  var _this = _super.call(this) || this;
8831
8882
  _this.message = message;
@@ -8932,24 +8983,24 @@ function peg$parse(input, options) {
8932
8983
  };
8933
8984
  var peg$c6 = function () { return '<'; };
8934
8985
  var peg$c7 = function (messageText) {
8935
- return tslib_es6.__assign({ type: TYPE.literal, value: messageText }, insertLocation());
8986
+ return exports.__assign({ type: TYPE.literal, value: messageText }, insertLocation());
8936
8987
  };
8937
8988
  var peg$c8 = "#";
8938
8989
  var peg$c9 = peg$literalExpectation("#", false);
8939
8990
  var peg$c10 = function () {
8940
- return tslib_es6.__assign({ type: TYPE.pound }, insertLocation());
8991
+ return exports.__assign({ type: TYPE.pound }, insertLocation());
8941
8992
  };
8942
8993
  var peg$c11 = peg$otherExpectation("tagElement");
8943
8994
  var peg$c12 = function (open, children, close) {
8944
8995
  if (open !== close) {
8945
8996
  error("Mismatch tag \"" + open + "\" !== \"" + close + "\"", location());
8946
8997
  }
8947
- return tslib_es6.__assign({ type: TYPE.tag, value: open, children: children }, insertLocation());
8998
+ return exports.__assign({ type: TYPE.tag, value: open, children: children }, insertLocation());
8948
8999
  };
8949
9000
  var peg$c13 = "/>";
8950
9001
  var peg$c14 = peg$literalExpectation("/>", false);
8951
9002
  var peg$c15 = function (value) {
8952
- return tslib_es6.__assign({ type: TYPE.literal, value: value.join('') }, insertLocation());
9003
+ return exports.__assign({ type: TYPE.literal, value: value.join('') }, insertLocation());
8953
9004
  };
8954
9005
  var peg$c16 = ">";
8955
9006
  var peg$c17 = peg$literalExpectation(">", false);
@@ -8962,7 +9013,7 @@ function peg$parse(input, options) {
8962
9013
  var peg$c24 = "}";
8963
9014
  var peg$c25 = peg$literalExpectation("}", false);
8964
9015
  var peg$c26 = function (value) {
8965
- return tslib_es6.__assign({ type: TYPE.argument, value: value }, insertLocation());
9016
+ return exports.__assign({ type: TYPE.argument, value: value }, insertLocation());
8966
9017
  };
8967
9018
  var peg$c27 = peg$otherExpectation("numberSkeletonId");
8968
9019
  var peg$c28 = /^['\/{}]/;
@@ -8977,7 +9028,7 @@ function peg$parse(input, options) {
8977
9028
  return { stem: stem, options: options };
8978
9029
  };
8979
9030
  var peg$c37 = function (tokens) {
8980
- return tslib_es6.__assign({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
9031
+ return exports.__assign({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
8981
9032
  };
8982
9033
  var peg$c38 = "::";
8983
9034
  var peg$c39 = peg$literalExpectation("::", false);
@@ -8992,7 +9043,7 @@ function peg$parse(input, options) {
8992
9043
  var peg$c45 = "number";
8993
9044
  var peg$c46 = peg$literalExpectation("number", false);
8994
9045
  var peg$c47 = function (value, type, style) {
8995
- return tslib_es6.__assign({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
9046
+ return exports.__assign({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
8996
9047
  };
8997
9048
  var peg$c48 = "'";
8998
9049
  var peg$c49 = peg$literalExpectation("'", false);
@@ -9003,7 +9054,7 @@ function peg$parse(input, options) {
9003
9054
  var peg$c54 = /^[a-zA-Z]/;
9004
9055
  var peg$c55 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false);
9005
9056
  var peg$c56 = function (pattern) {
9006
- return tslib_es6.__assign({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
9057
+ return exports.__assign({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
9007
9058
  };
9008
9059
  var peg$c57 = function () { messageCtx.push('dateOrTimeArgStyle'); return true; };
9009
9060
  var peg$c58 = "date";
@@ -9017,7 +9068,7 @@ function peg$parse(input, options) {
9017
9068
  var peg$c66 = "offset:";
9018
9069
  var peg$c67 = peg$literalExpectation("offset:", false);
9019
9070
  var peg$c68 = function (value, pluralType, offset, options) {
9020
- return tslib_es6.__assign({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
9071
+ return exports.__assign({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
9021
9072
  var id = _a.id, value = _a.value, optionLocation = _a.location;
9022
9073
  if (id in all) {
9023
9074
  error("Duplicate option \"" + id + "\" in plural element: \"" + text() + "\"", location());
@@ -9032,7 +9083,7 @@ function peg$parse(input, options) {
9032
9083
  var peg$c69 = "select";
9033
9084
  var peg$c70 = peg$literalExpectation("select", false);
9034
9085
  var peg$c71 = function (value, options) {
9035
- return tslib_es6.__assign({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
9086
+ return exports.__assign({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
9036
9087
  var id = _a.id, value = _a.value, optionLocation = _a.location;
9037
9088
  if (id in all) {
9038
9089
  error("Duplicate option \"" + id + "\" in select element: \"" + text() + "\"", location());
@@ -9049,13 +9100,13 @@ function peg$parse(input, options) {
9049
9100
  var peg$c74 = function (id) { messageCtx.push('select'); return true; };
9050
9101
  var peg$c75 = function (id, value) {
9051
9102
  messageCtx.pop();
9052
- return tslib_es6.__assign({ id: id,
9103
+ return exports.__assign({ id: id,
9053
9104
  value: value }, insertLocation());
9054
9105
  };
9055
9106
  var peg$c76 = function (id) { messageCtx.push('plural'); return true; };
9056
9107
  var peg$c77 = function (id, value) {
9057
9108
  messageCtx.pop();
9058
- return tslib_es6.__assign({ id: id,
9109
+ return exports.__assign({ id: id,
9059
9110
  value: value }, insertLocation());
9060
9111
  };
9061
9112
  var peg$c78 = peg$otherExpectation("whitespace");
@@ -11931,7 +11982,7 @@ function normalizeHashtagInPlural(els) {
11931
11982
  if (literalEl) {
11932
11983
  var newValue = literalEl.value.replace(PLURAL_HASHTAG_REGEX, "$1{" + el.value + ", number}");
11933
11984
  var newEls = pegParse(newValue);
11934
- (_a = opt.value).splice.apply(_a, tslib_es6.__spreadArray([matchingLiteralElIndex, 1], newEls));
11985
+ (_a = opt.value).splice.apply(_a, __spreadArray([matchingLiteralElIndex, 1], newEls));
11935
11986
  }
11936
11987
  normalizeHashtagInPlural(opt.value);
11937
11988
  });
@@ -11939,7 +11990,7 @@ function normalizeHashtagInPlural(els) {
11939
11990
  }
11940
11991
 
11941
11992
  function parse(input, opts) {
11942
- opts = tslib_es6.__assign({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
11993
+ opts = exports.__assign({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
11943
11994
  var els = pegParse(input, opts);
11944
11995
  if (opts.normalizeHashtagInPlural) {
11945
11996
  normalizeHashtagInPlural(els);
@@ -11957,7 +12008,7 @@ var ErrorCode;
11957
12008
  ErrorCode["MISSING_INTL_API"] = "MISSING_INTL_API";
11958
12009
  })(ErrorCode || (ErrorCode = {}));
11959
12010
  var FormatError = /** @class */ (function (_super) {
11960
- tslib_es6.__extends(FormatError, _super);
12011
+ __extends$1(FormatError, _super);
11961
12012
  function FormatError(msg, code, originalMessage) {
11962
12013
  var _this = _super.call(this, msg) || this;
11963
12014
  _this.code = code;
@@ -11970,21 +12021,21 @@ var FormatError = /** @class */ (function (_super) {
11970
12021
  return FormatError;
11971
12022
  }(Error));
11972
12023
  var InvalidValueError = /** @class */ (function (_super) {
11973
- tslib_es6.__extends(InvalidValueError, _super);
12024
+ __extends$1(InvalidValueError, _super);
11974
12025
  function InvalidValueError(variableId, value, options, originalMessage) {
11975
12026
  return _super.call(this, "Invalid values for \"" + variableId + "\": \"" + value + "\". Options are \"" + Object.keys(options).join('", "') + "\"", ErrorCode.INVALID_VALUE, originalMessage) || this;
11976
12027
  }
11977
12028
  return InvalidValueError;
11978
12029
  }(FormatError));
11979
12030
  var InvalidValueTypeError = /** @class */ (function (_super) {
11980
- tslib_es6.__extends(InvalidValueTypeError, _super);
12031
+ __extends$1(InvalidValueTypeError, _super);
11981
12032
  function InvalidValueTypeError(value, type, originalMessage) {
11982
12033
  return _super.call(this, "Value for \"" + value + "\" must be of type " + type, ErrorCode.INVALID_VALUE, originalMessage) || this;
11983
12034
  }
11984
12035
  return InvalidValueTypeError;
11985
12036
  }(FormatError));
11986
12037
  var MissingValueError = /** @class */ (function (_super) {
11987
- tslib_es6.__extends(MissingValueError, _super);
12038
+ __extends$1(MissingValueError, _super);
11988
12039
  function MissingValueError(variableId, originalMessage) {
11989
12040
  return _super.call(this, "The intl string context variable \"" + variableId + "\" was not provided to the string \"" + originalMessage + "\"", ErrorCode.MISSING_VALUE, originalMessage) || this;
11990
12041
  }
@@ -12177,8 +12228,8 @@ function mergeConfig(c1, c2) {
12177
12228
  if (!c2) {
12178
12229
  return c1;
12179
12230
  }
12180
- return tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
12181
- all[k] = tslib_es6.__assign(tslib_es6.__assign({}, c1[k]), (c2[k] || {}));
12231
+ return exports.__assign(exports.__assign(exports.__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
12232
+ all[k] = exports.__assign(exports.__assign({}, c1[k]), (c2[k] || {}));
12182
12233
  return all;
12183
12234
  }, {}));
12184
12235
  }
@@ -12189,7 +12240,7 @@ function mergeConfigs(defaultConfig, configs) {
12189
12240
  return Object.keys(defaultConfig).reduce(function (all, k) {
12190
12241
  all[k] = mergeConfig(defaultConfig[k], configs[k]);
12191
12242
  return all;
12192
- }, tslib_es6.__assign({}, defaultConfig));
12243
+ }, exports.__assign({}, defaultConfig));
12193
12244
  }
12194
12245
  function createFastMemoizeCache(store) {
12195
12246
  return {
@@ -12224,7 +12275,7 @@ function createDefaultFormatters(cache) {
12224
12275
  for (var _i = 0; _i < arguments.length; _i++) {
12225
12276
  args[_i] = arguments[_i];
12226
12277
  }
12227
- return new ((_a = Intl.NumberFormat).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12278
+ return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
12228
12279
  }, {
12229
12280
  cache: createFastMemoizeCache(cache.number),
12230
12281
  strategy: memoizeIntl.strategies.variadic,
@@ -12235,7 +12286,7 @@ function createDefaultFormatters(cache) {
12235
12286
  for (var _i = 0; _i < arguments.length; _i++) {
12236
12287
  args[_i] = arguments[_i];
12237
12288
  }
12238
- return new ((_a = Intl.DateTimeFormat).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12289
+ return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
12239
12290
  }, {
12240
12291
  cache: createFastMemoizeCache(cache.dateTime),
12241
12292
  strategy: memoizeIntl.strategies.variadic,
@@ -12246,7 +12297,7 @@ function createDefaultFormatters(cache) {
12246
12297
  for (var _i = 0; _i < arguments.length; _i++) {
12247
12298
  args[_i] = arguments[_i];
12248
12299
  }
12249
- return new ((_a = Intl.PluralRules).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12300
+ return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
12250
12301
  }, {
12251
12302
  cache: createFastMemoizeCache(cache.pluralRules),
12252
12303
  strategy: memoizeIntl.strategies.variadic,
@@ -12399,7 +12450,7 @@ var IntlErrorCode;
12399
12450
  IntlErrorCode["MISSING_TRANSLATION"] = "MISSING_TRANSLATION";
12400
12451
  })(IntlErrorCode || (IntlErrorCode = {}));
12401
12452
  var IntlError = /** @class */ (function (_super) {
12402
- tslib_es6.__extends(IntlError, _super);
12453
+ __extends$1(IntlError, _super);
12403
12454
  function IntlError(code, message, exception) {
12404
12455
  var _this = _super.call(this, "[@formatjs/intl Error " + code + "] " + message + " \n" + (exception ? "\n" + exception.message + "\n" + exception.stack : '')) || this;
12405
12456
  _this.code = code;
@@ -12411,28 +12462,28 @@ var IntlError = /** @class */ (function (_super) {
12411
12462
  return IntlError;
12412
12463
  }(Error));
12413
12464
  var UnsupportedFormatterError = /** @class */ (function (_super) {
12414
- tslib_es6.__extends(UnsupportedFormatterError, _super);
12465
+ __extends$1(UnsupportedFormatterError, _super);
12415
12466
  function UnsupportedFormatterError(message, exception) {
12416
12467
  return _super.call(this, IntlErrorCode.UNSUPPORTED_FORMATTER, message, exception) || this;
12417
12468
  }
12418
12469
  return UnsupportedFormatterError;
12419
12470
  }(IntlError));
12420
12471
  var InvalidConfigError = /** @class */ (function (_super) {
12421
- tslib_es6.__extends(InvalidConfigError, _super);
12472
+ __extends$1(InvalidConfigError, _super);
12422
12473
  function InvalidConfigError(message, exception) {
12423
12474
  return _super.call(this, IntlErrorCode.INVALID_CONFIG, message, exception) || this;
12424
12475
  }
12425
12476
  return InvalidConfigError;
12426
12477
  }(IntlError));
12427
12478
  var MissingDataError = /** @class */ (function (_super) {
12428
- tslib_es6.__extends(MissingDataError, _super);
12479
+ __extends$1(MissingDataError, _super);
12429
12480
  function MissingDataError(message, exception) {
12430
12481
  return _super.call(this, IntlErrorCode.MISSING_DATA, message, exception) || this;
12431
12482
  }
12432
12483
  return MissingDataError;
12433
12484
  }(IntlError));
12434
12485
  var MessageFormatError = /** @class */ (function (_super) {
12435
- tslib_es6.__extends(MessageFormatError, _super);
12486
+ __extends$1(MessageFormatError, _super);
12436
12487
  function MessageFormatError(message, locale, descriptor, exception) {
12437
12488
  var _this = _super.call(this, IntlErrorCode.FORMAT_ERROR, message + " \nLocale: " + locale + "\nMessageID: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.id) + "\nDefault Message: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.defaultMessage) + "\nDescription: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.description) + " \n", exception) || this;
12438
12489
  _this.descriptor = descriptor;
@@ -12441,7 +12492,7 @@ var MessageFormatError = /** @class */ (function (_super) {
12441
12492
  return MessageFormatError;
12442
12493
  }(IntlError));
12443
12494
  var MissingTranslationError = /** @class */ (function (_super) {
12444
- tslib_es6.__extends(MissingTranslationError, _super);
12495
+ __extends$1(MissingTranslationError, _super);
12445
12496
  function MissingTranslationError(descriptor, locale) {
12446
12497
  var _this = _super.call(this, IntlErrorCode.MISSING_TRANSLATION, "Missing message: \"" + descriptor.id + "\" for locale \"" + locale + "\", using " + (descriptor.defaultMessage ? 'default message' : 'id') + " as fallback.") || this;
12447
12498
  _this.descriptor = descriptor;
@@ -12518,7 +12569,7 @@ function createFormatters(cache) {
12518
12569
  for (var _i = 0; _i < arguments.length; _i++) {
12519
12570
  args[_i] = arguments[_i];
12520
12571
  }
12521
- return new ((_a = Intl.DateTimeFormat).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12572
+ return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
12522
12573
  }, {
12523
12574
  cache: createFastMemoizeCache$1(cache.dateTime),
12524
12575
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12529,7 +12580,7 @@ function createFormatters(cache) {
12529
12580
  for (var _i = 0; _i < arguments.length; _i++) {
12530
12581
  args[_i] = arguments[_i];
12531
12582
  }
12532
- return new ((_a = Intl.NumberFormat).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12583
+ return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
12533
12584
  }, {
12534
12585
  cache: createFastMemoizeCache$1(cache.number),
12535
12586
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12540,7 +12591,7 @@ function createFormatters(cache) {
12540
12591
  for (var _i = 0; _i < arguments.length; _i++) {
12541
12592
  args[_i] = arguments[_i];
12542
12593
  }
12543
- return new ((_a = Intl.PluralRules).bind.apply(_a, tslib_es6.__spreadArray([void 0], args)))();
12594
+ return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
12544
12595
  }, {
12545
12596
  cache: createFastMemoizeCache$1(cache.pluralRules),
12546
12597
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12549,7 +12600,7 @@ function createFormatters(cache) {
12549
12600
  getDateTimeFormat: getDateTimeFormat,
12550
12601
  getNumberFormat: getNumberFormat,
12551
12602
  getMessageFormat: memoizeIntl$1(function (message, locales, overrideFormats, opts) {
12552
- return new IntlMessageFormat(message, locales, overrideFormats, tslib_es6.__assign({ formatters: {
12603
+ return new IntlMessageFormat(message, locales, overrideFormats, exports.__assign({ formatters: {
12553
12604
  getNumberFormat: getNumberFormat,
12554
12605
  getDateTimeFormat: getDateTimeFormat,
12555
12606
  getPluralRules: getPluralRules,
@@ -12563,7 +12614,7 @@ function createFormatters(cache) {
12563
12614
  for (var _i = 0; _i < arguments.length; _i++) {
12564
12615
  args[_i] = arguments[_i];
12565
12616
  }
12566
- return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, tslib_es6.__spreadArray([void 0], args)))();
12617
+ return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, __spreadArray([void 0], args)))();
12567
12618
  }, {
12568
12619
  cache: createFastMemoizeCache$1(cache.relativeTime),
12569
12620
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12574,7 +12625,7 @@ function createFormatters(cache) {
12574
12625
  for (var _i = 0; _i < arguments.length; _i++) {
12575
12626
  args[_i] = arguments[_i];
12576
12627
  }
12577
- return new (ListFormat.bind.apply(ListFormat, tslib_es6.__spreadArray([void 0], args)))();
12628
+ return new (ListFormat.bind.apply(ListFormat, __spreadArray([void 0], args)))();
12578
12629
  }, {
12579
12630
  cache: createFastMemoizeCache$1(cache.list),
12580
12631
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12584,7 +12635,7 @@ function createFormatters(cache) {
12584
12635
  for (var _i = 0; _i < arguments.length; _i++) {
12585
12636
  args[_i] = arguments[_i];
12586
12637
  }
12587
- return new (DisplayNames.bind.apply(DisplayNames, tslib_es6.__spreadArray([void 0], args)))();
12638
+ return new (DisplayNames.bind.apply(DisplayNames, __spreadArray([void 0], args)))();
12588
12639
  }, {
12589
12640
  cache: createFastMemoizeCache$1(cache.displayNames),
12590
12641
  strategy: memoizeIntl$1.strategies.variadic,
@@ -12616,14 +12667,14 @@ function invariant$1(condition, message, Err) {
12616
12667
 
12617
12668
  function setTimeZoneInOptions(opts, timeZone) {
12618
12669
  return Object.keys(opts).reduce(function (all, k) {
12619
- all[k] = tslib_es6.__assign({ timeZone: timeZone }, opts[k]);
12670
+ all[k] = exports.__assign({ timeZone: timeZone }, opts[k]);
12620
12671
  return all;
12621
12672
  }, {});
12622
12673
  }
12623
12674
  function deepMergeOptions(opts1, opts2) {
12624
- var keys = Object.keys(tslib_es6.__assign(tslib_es6.__assign({}, opts1), opts2));
12675
+ var keys = Object.keys(exports.__assign(exports.__assign({}, opts1), opts2));
12625
12676
  return keys.reduce(function (all, k) {
12626
- all[k] = tslib_es6.__assign(tslib_es6.__assign({}, (opts1[k] || {})), (opts2[k] || {}));
12677
+ all[k] = exports.__assign(exports.__assign({}, (opts1[k] || {})), (opts2[k] || {}));
12627
12678
  return all;
12628
12679
  }, {});
12629
12680
  }
@@ -12632,7 +12683,7 @@ function deepMergeFormatsAndSetTimeZone(f1, timeZone) {
12632
12683
  return f1;
12633
12684
  }
12634
12685
  var mfFormats = IntlMessageFormat.formats;
12635
- return tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, mfFormats), f1), { date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)), time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone)) });
12686
+ return exports.__assign(exports.__assign(exports.__assign({}, mfFormats), f1), { date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)), time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone)) });
12636
12687
  }
12637
12688
  function formatMessage(_a, state, messageDescriptor, values, opts) {
12638
12689
  var locale = _a.locale, formats = _a.formats, messages = _a.messages, defaultLocale = _a.defaultLocale, defaultFormats = _a.defaultFormats, onError = _a.onError, timeZone = _a.timeZone, defaultRichTextElements = _a.defaultRichTextElements;
@@ -12661,7 +12712,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
12661
12712
  !defaultRichTextElements) {
12662
12713
  return message.replace(/'\{(.*?)\}'/gi, "{$1}");
12663
12714
  }
12664
- values = tslib_es6.__assign(tslib_es6.__assign({}, defaultRichTextElements), (values || {}));
12715
+ values = exports.__assign(exports.__assign({}, defaultRichTextElements), (values || {}));
12665
12716
  formats = deepMergeFormatsAndSetTimeZone(formats, timeZone);
12666
12717
  defaultFormats = deepMergeFormatsAndSetTimeZone(defaultFormats, timeZone);
12667
12718
  if (!message) {
@@ -12686,7 +12737,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
12686
12737
  }
12687
12738
  // We have the translated message
12688
12739
  try {
12689
- var formatter = state.getMessageFormat(message, locale, formats, tslib_es6.__assign({ formatters: state }, (opts || {})));
12740
+ var formatter = state.getMessageFormat(message, locale, formats, exports.__assign({ formatters: state }, (opts || {})));
12690
12741
  return formatter.format(values);
12691
12742
  }
12692
12743
  catch (e) {
@@ -12735,7 +12786,7 @@ function getFormatter(_a, type, getDateTimeFormat, options) {
12735
12786
  var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;
12736
12787
  if (options === void 0) { options = {}; }
12737
12788
  var format = options.format;
12738
- var defaults = tslib_es6.__assign(tslib_es6.__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
12789
+ var defaults = exports.__assign(exports.__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
12739
12790
  var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS,
12740
12791
  // @ts-expect-error es2020 has a lot stuff from es2021 bleed in
12741
12792
  defaults);
@@ -12746,7 +12797,7 @@ function getFormatter(_a, type, getDateTimeFormat, options) {
12746
12797
  !filteredOptions.timeStyle &&
12747
12798
  !filteredOptions.dateStyle) {
12748
12799
  // Add default formatting options if hour, minute, or second isn't defined.
12749
- filteredOptions = tslib_es6.__assign(tslib_es6.__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
12800
+ filteredOptions = exports.__assign(exports.__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
12750
12801
  }
12751
12802
  return getDateTimeFormat(locale, filteredOptions);
12752
12803
  }
@@ -13017,7 +13068,7 @@ function verifyConfigMessages(config) {
13017
13068
  */
13018
13069
  function createIntl(config, cache) {
13019
13070
  var formatters = createFormatters(cache);
13020
- var resolvedConfig = tslib_es6.__assign(tslib_es6.__assign({}, DEFAULT_INTL_CONFIG), config);
13071
+ var resolvedConfig = exports.__assign(exports.__assign({}, DEFAULT_INTL_CONFIG), config);
13021
13072
  var locale = resolvedConfig.locale, defaultLocale = resolvedConfig.defaultLocale, onError = resolvedConfig.onError;
13022
13073
  if (!locale) {
13023
13074
  if (onError) {
@@ -13038,7 +13089,7 @@ function createIntl(config, cache) {
13038
13089
  onError(new MissingDataError("Missing locale data for locale: \"" + locale + "\" in Intl.DateTimeFormat. Using default locale: \"" + defaultLocale + "\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details"));
13039
13090
  }
13040
13091
  verifyConfigMessages(resolvedConfig);
13041
- return tslib_es6.__assign(tslib_es6.__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
13092
+ return exports.__assign(exports.__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
13042
13093
  }
13043
13094
 
13044
13095
  var __defProp = Object.defineProperty;