@zonos/elements 1.3.289 → 1.3.291

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 (284) hide show
  1. package/dist/cjs/{cart-WLQb2hbe.js → cart-B6Aty-21.js} +3 -3
  2. package/dist/cjs/{collect-B92uIdsY.js → collect-Oeo5tjN5.js} +3 -3
  3. package/dist/cjs/{debounce-5sZmmlCI.js → debounce-Cd2emZPn.js} +2 -2
  4. package/dist/cjs/{debounce-Nu2lJW4A.js → debounce-vY0QYT6o.js} +1 -1
  5. package/dist/cjs/{getBorderRadius-DGZiQu09.js → getBorderRadius-CyYZw4qq.js} +1 -1
  6. package/dist/cjs/{getMissingRequiredShippingFields-5w62gTIB.js → getMissingRequiredShippingFields-D03ICqss.js} +1 -1
  7. package/dist/cjs/{hasInclusivePrice-hmV0Inld.js → hasInclusivePrice-CPCoVeU3.js} +1 -1
  8. package/dist/cjs/index.cjs.js +7 -7
  9. package/dist/cjs/{invoice-Bal1mqYR.js → invoice-Cj8W7NW0.js} +3 -3
  10. package/dist/cjs/{localization-C5HPlCNK.js → localization-BzNeXeDe.js} +25 -16
  11. package/dist/cjs/{paypal-o164C26_.js → paypal-CuKshRmZ.js} +4 -4
  12. package/dist/cjs/{placeTestOrder-C7tAipav.js → placeTestOrder-7czjwkjm.js} +2 -2
  13. package/dist/cjs/{renderCheckoutCurrency-Bpx-vrTQ.js → renderCheckoutCurrency-BH8t2b2x.js} +2 -2
  14. package/dist/cjs/{shouldShowLanguageSelect-CtwkMt8b.js → shouldShowLanguageSelect-yAbtCmd8.js} +1 -1
  15. package/dist/cjs/{submitGtag-CcEL-w5D.js → submitGtag-D79e8u6s.js} +1 -1
  16. package/dist/cjs/{throttle-BcxGntLr.js → throttle-zSVRQLC0.js} +2 -2
  17. package/dist/cjs/{updateCheckoutSessionAttributes-Dltl5RBx.js → updateCheckoutSessionAttributes-jMtfOL2m.js} +1 -1
  18. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +7 -7
  19. package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
  20. package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
  21. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-card_5.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +14 -14
  27. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
  28. package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
  29. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +4 -4
  31. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +10 -10
  32. package/dist/cjs/zonos-collect.cjs.entry.js +7 -7
  33. package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
  34. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  36. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  37. package/dist/cjs/zonos-hello.cjs.entry.js +129 -51
  38. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +6 -6
  40. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +10 -10
  41. package/dist/cjs/zonos-invoice.cjs.entry.js +7 -7
  42. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  43. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  44. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +5 -5
  45. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  46. package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
  47. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  48. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  49. package/dist/cjs/{zonosStore-BCNYr6Tk.js → zonosStore-Bx9jK82G.js} +2 -0
  50. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +17 -15
  51. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +29 -52
  52. package/dist/collection/components/store/hello/localization.js +4 -1
  53. package/dist/collection/components/store/zonosStore.js +2 -0
  54. package/dist/collection/components/utils/hello/countryOverrideStorage.js +20 -14
  55. package/dist/collection/components/utils/hello/resolveHelloFloatPlacement.js +98 -0
  56. package/dist/collection/types/generated/graphql.internal.types.js +176 -9
  57. package/dist/esm/{cart-BDc4RTBJ.js → cart-BoQp8Ema.js} +3 -3
  58. package/dist/esm/{collect-NRCK3t-M.js → collect-CdrR5OBy.js} +3 -3
  59. package/dist/esm/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +1 -1
  60. package/dist/esm/{debounce-DWPsxJsW.js → debounce-CrmpwbEE.js} +2 -2
  61. package/dist/esm/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
  62. package/dist/esm/{getMissingRequiredShippingFields-D-B-N1NH.js → getMissingRequiredShippingFields-Ks6_tpjn.js} +1 -1
  63. package/dist/esm/{hasInclusivePrice-Bti4iudO.js → hasInclusivePrice-CbEfIhI5.js} +1 -1
  64. package/dist/esm/index.js +7 -7
  65. package/dist/esm/{invoice-DsvQvu4a.js → invoice-S1KahJ_Z.js} +3 -3
  66. package/dist/esm/{localization-Bs6hVcKV.js → localization-BIh-4pc_.js} +25 -16
  67. package/dist/esm/{paypal-BqyEZS_u.js → paypal-DNfvnuUU.js} +4 -4
  68. package/dist/esm/{placeTestOrder-x3xwMAnW.js → placeTestOrder-CQaMKFOg.js} +2 -2
  69. package/dist/esm/{renderCheckoutCurrency-DIBdWKN1.js → renderCheckoutCurrency-C2Tw73uR.js} +2 -2
  70. package/dist/esm/{shouldShowLanguageSelect-Bb9sbQ41.js → shouldShowLanguageSelect-CCD7gpSY.js} +1 -1
  71. package/dist/esm/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
  72. package/dist/esm/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
  73. package/dist/esm/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
  74. package/dist/esm/zonos-address-completion-dialog_7.entry.js +7 -7
  75. package/dist/esm/zonos-address-display_2.entry.js +3 -3
  76. package/dist/esm/zonos-address_4.entry.js +6 -6
  77. package/dist/esm/zonos-airwallex-payment.entry.js +5 -5
  78. package/dist/esm/zonos-badge.entry.js +1 -1
  79. package/dist/esm/zonos-banner.entry.js +1 -1
  80. package/dist/esm/zonos-button_3.entry.js +2 -2
  81. package/dist/esm/zonos-card_5.entry.js +6 -6
  82. package/dist/esm/zonos-cart-items_12.entry.js +14 -14
  83. package/dist/esm/zonos-checkbox_2.entry.js +2 -2
  84. package/dist/esm/zonos-checkout.entry.js +9 -9
  85. package/dist/esm/zonos-collapse.entry.js +1 -1
  86. package/dist/esm/zonos-collect-cart-items_3.entry.js +4 -4
  87. package/dist/esm/zonos-collect-finish_6.entry.js +10 -10
  88. package/dist/esm/zonos-collect.entry.js +7 -7
  89. package/dist/esm/zonos-controller.entry.js +5 -5
  90. package/dist/esm/zonos-country-flag.entry.js +2 -2
  91. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  92. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  93. package/dist/esm/zonos-hello.entry.js +129 -51
  94. package/dist/esm/zonos-input.entry.js +2 -2
  95. package/dist/esm/zonos-invoice-cart-items_2.entry.js +6 -6
  96. package/dist/esm/zonos-invoice-finish_5.entry.js +10 -10
  97. package/dist/esm/zonos-invoice.entry.js +7 -7
  98. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  99. package/dist/esm/zonos-logo.entry.js +1 -1
  100. package/dist/esm/zonos-policy-consent_2.entry.js +5 -5
  101. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  102. package/dist/esm/zonos-stripe-input.entry.js +2 -2
  103. package/dist/esm/zonos-text.entry.js +1 -1
  104. package/dist/esm/zonos-v-stack.entry.js +1 -1
  105. package/dist/esm/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +2 -0
  106. package/dist/esm-es5/{cart-BDc4RTBJ.js → cart-BoQp8Ema.js} +1 -1
  107. package/dist/esm-es5/{collect-NRCK3t-M.js → collect-CdrR5OBy.js} +1 -1
  108. package/dist/esm-es5/{debounce-D4ko2kvZ.js → debounce-BR3PaG8X.js} +7 -7
  109. package/dist/esm-es5/debounce-CrmpwbEE.js +1 -0
  110. package/dist/esm-es5/{getBorderRadius-HwG64EKM.js → getBorderRadius-DYfkeXdx.js} +1 -1
  111. package/dist/esm-es5/{getMissingRequiredShippingFields-D-B-N1NH.js → getMissingRequiredShippingFields-Ks6_tpjn.js} +3 -3
  112. package/dist/esm-es5/{hasInclusivePrice-Bti4iudO.js → hasInclusivePrice-CbEfIhI5.js} +1 -1
  113. package/dist/esm-es5/index.js +4 -4
  114. package/dist/esm-es5/{invoice-DsvQvu4a.js → invoice-S1KahJ_Z.js} +1 -1
  115. package/dist/esm-es5/{localization-Bs6hVcKV.js → localization-BIh-4pc_.js} +14 -4
  116. package/dist/esm-es5/{paypal-BqyEZS_u.js → paypal-DNfvnuUU.js} +1 -1
  117. package/dist/esm-es5/{placeTestOrder-x3xwMAnW.js → placeTestOrder-CQaMKFOg.js} +1 -1
  118. package/dist/esm-es5/{renderCheckoutCurrency-DIBdWKN1.js → renderCheckoutCurrency-C2Tw73uR.js} +2 -2
  119. package/dist/esm-es5/{shouldShowLanguageSelect-Bb9sbQ41.js → shouldShowLanguageSelect-CCD7gpSY.js} +1 -1
  120. package/dist/esm-es5/{submitGtag-CCGQS060.js → submitGtag-df9AQ2zL.js} +1 -1
  121. package/dist/esm-es5/{throttle-D5GyA3yr.js → throttle-Cvlvb-dm.js} +2 -2
  122. package/dist/esm-es5/{updateCheckoutSessionAttributes-eRSqdC74.js → updateCheckoutSessionAttributes-4Jq6V4pO.js} +1 -1
  123. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
  124. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  126. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  127. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  128. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  129. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  130. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  131. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  132. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  133. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  134. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  135. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  136. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  137. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  138. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  139. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  140. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  141. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  142. package/dist/esm-es5/zonos-hello.entry.js +21 -24
  143. package/dist/esm-es5/zonos-input.entry.js +1 -1
  144. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  145. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  146. package/dist/esm-es5/zonos-invoice.entry.js +3 -3
  147. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  148. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  149. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  150. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  151. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  152. package/dist/esm-es5/zonos-text.entry.js +1 -1
  153. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  154. package/dist/esm-es5/{zonosStore-DrIOAz4M.js → zonosStore-msUlqmSD.js} +1 -1
  155. package/dist/scripts/index.d.ts +36 -6
  156. package/dist/scripts/index.js +1 -1
  157. package/dist/scripts/loadZonos.js +1 -1
  158. package/dist/scripts/zonos.js +1 -1
  159. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +5 -3
  160. package/dist/types/components/utils/hello/countryOverrideStorage.d.ts +1 -1
  161. package/dist/types/components/utils/hello/resolveHelloFloatPlacement.d.ts +39 -0
  162. package/dist/types/components.d.ts +4 -6
  163. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +10 -0
  164. package/dist/types/types/generated/graphql.internal.types.d.ts +239 -11
  165. package/dist/types/types/generated/graphql.internal.types.ts +302 -15
  166. package/dist/types/types/hello/HelloConfig.d.ts +12 -0
  167. package/dist/zonos-elements/index.esm.js +1 -1
  168. package/dist/zonos-elements/{p-d9527bd7.system.entry.js → p-04bded81.system.entry.js} +45 -45
  169. package/dist/zonos-elements/{p-18021e6b.entry.js → p-06fe2939.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-058f07aa.system.entry.js → p-0a4a7742.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-d261f27c.system.entry.js → p-0b81f8b9.system.entry.js} +16 -16
  172. package/dist/zonos-elements/{p-c5f17bad.entry.js → p-0fca452b.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-72b6a006.system.entry.js → p-11defdca.system.entry.js} +18 -18
  174. package/dist/zonos-elements/{p-1568ab06.system.entry.js → p-1409de3b.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-2466b5f0.system.entry.js → p-17c7ea4a.system.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-8328f44d.entry.js → p-193d9722.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-22fab1ba.system.entry.js → p-195f6e38.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-cc5306fe.system.entry.js → p-1bac5ac1.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-128485dc.entry.js → p-1c150f26.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-c4713ff1.system.entry.js → p-23352709.system.entry.js} +4 -4
  181. package/dist/zonos-elements/{p-cc949df1.system.entry.js → p-244e0302.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-e9a3bc27.system.entry.js → p-249c1ee1.system.entry.js} +3 -3
  183. package/dist/zonos-elements/{p-7681798d.entry.js → p-24f3c547.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-5c08d36b.entry.js → p-2603dce0.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-b78bab27.entry.js → p-34656e6c.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-4625058a.entry.js → p-39ee1558.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-f8fd756a.system.entry.js → p-474e8a92.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-0ff26236.system.entry.js → p-4806b264.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-56159b7c.system.entry.js → p-5016d71b.system.entry.js} +58 -58
  190. package/dist/zonos-elements/{p-b96666ca.system.entry.js → p-51400242.system.entry.js} +3 -3
  191. package/dist/zonos-elements/{p-e126e9bd.system.entry.js → p-5236c676.system.entry.js} +80 -80
  192. package/dist/zonos-elements/{p-cf53f67a.entry.js → p-550d4eea.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-36559431.system.entry.js → p-552fbde1.system.entry.js} +21 -21
  194. package/dist/zonos-elements/{p-a6faab6a.entry.js → p-55916c90.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-317d4665.system.entry.js → p-5b80aff2.system.entry.js} +15 -15
  196. package/dist/zonos-elements/p-69c3e367.system.entry.js +118 -0
  197. package/dist/zonos-elements/{p-3cc27e0e.system.entry.js → p-6abec43f.system.entry.js} +4 -4
  198. package/dist/zonos-elements/{p-635341d6.entry.js → p-6c41b00c.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-d451d5bc.system.entry.js → p-6db7c0b1.system.entry.js} +4 -4
  200. package/dist/zonos-elements/{p-cc17a230.entry.js → p-6e296228.entry.js} +1 -1
  201. package/dist/zonos-elements/{p-beeb9d36.system.entry.js → p-756d303f.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-B6X55m0b.js → p-7abqRc9V.js} +2 -2
  203. package/dist/zonos-elements/{p-3d536086.entry.js → p-82595838.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-34d1545a.entry.js → p-83aa1c8c.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-CaUXHglQ.system.js → p-8PPEbm_0.system.js} +9 -9
  206. package/dist/zonos-elements/{p-b6deae2b.system.entry.js → p-92fe9a1f.system.entry.js} +2 -2
  207. package/dist/zonos-elements/{p-5eb82be3.entry.js → p-938fc1e4.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-CZl1nwqv.system.js → p-B4Ufchqh.system.js} +3 -3
  209. package/dist/zonos-elements/p-BGktDPwA.system.js +1 -0
  210. package/dist/zonos-elements/{p-D2fOB4Wn.system.js → p-Be3Hpms1.system.js} +1 -1
  211. package/dist/zonos-elements/{p-D0erXw7p.js → p-BpDCLBwW.js} +1 -1
  212. package/dist/zonos-elements/p-Bu9WCfUC.system.js +1 -1
  213. package/dist/zonos-elements/{p-CPnR_T0a.system.js → p-BuU_p5DP.system.js} +58 -58
  214. package/dist/zonos-elements/{p-CaAod213.system.js → p-CBx5nYet.system.js} +1 -1
  215. package/dist/zonos-elements/{p-UM1aYZBV.system.js → p-CEK_Wk6v.system.js} +1 -1
  216. package/dist/zonos-elements/p-CFbfEmjN.js +1 -0
  217. package/dist/zonos-elements/{p-nU86HJ5w.js → p-CUaf1cEg.js} +1 -1
  218. package/dist/zonos-elements/p-C_z9WL8a.js +1 -0
  219. package/dist/zonos-elements/p-CcJF6xhQ.js +1 -0
  220. package/dist/zonos-elements/p-Cxuiqv1I.js +1 -0
  221. package/dist/zonos-elements/p-D-bZg-Pc.js +1 -0
  222. package/dist/zonos-elements/{p-CH6tsv9B.system.js → p-D4MevhAL.system.js} +3 -3
  223. package/dist/zonos-elements/{p-BybDGrH4.system.js → p-DI2vXnXc.system.js} +3 -3
  224. package/dist/zonos-elements/{p-CQyFoOXW.system.js → p-DNc279vN.system.js} +13 -13
  225. package/dist/zonos-elements/{p-Cd9xIgx7.system.js → p-DOD2I44l.system.js} +92 -82
  226. package/dist/zonos-elements/p-DQZncB2d.system.js +9 -0
  227. package/dist/zonos-elements/{p-NL_Eiq6m.system.js → p-DS-qw_qc.system.js} +15 -15
  228. package/dist/zonos-elements/p-DZ2mevDK.js +1 -0
  229. package/dist/zonos-elements/{p-uV7m6KrY.system.js → p-DoEHepOc.system.js} +1 -1
  230. package/dist/zonos-elements/{p-D4WI0B6-.system.js → p-DuufSrhH.system.js} +4 -4
  231. package/dist/zonos-elements/{p-MHVIIOVE.js → p-DzLNk-Pf.js} +1 -1
  232. package/dist/zonos-elements/{p-DqEtY53c.js → p-FRWZayxL.js} +1 -1
  233. package/dist/zonos-elements/p-Mrz_lnC1.js +1 -0
  234. package/dist/zonos-elements/{p-CtEsvWI6.js → p-W82paT5F.js} +1 -1
  235. package/dist/zonos-elements/{p-CVQ7-7E2.system.js → p-XDxdMlQl.system.js} +22 -22
  236. package/dist/zonos-elements/{p-CuhGrJBA.system.js → p-XqkqjeNV.system.js} +1 -1
  237. package/dist/zonos-elements/{p-8cac7911.system.entry.js → p-a40fd99b.system.entry.js} +12 -12
  238. package/dist/zonos-elements/{p-b68ca96f.entry.js → p-a938c174.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-9ebe9a36.entry.js → p-acd50b0b.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-fcfac62f.system.entry.js → p-b2dd7f02.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-0f603278.system.entry.js → p-b5882fbb.system.entry.js} +2 -2
  242. package/dist/zonos-elements/{p-e582ae2a.entry.js → p-b79036fc.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-6c6c65f0.entry.js → p-bb3546c0.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-02628b9f.entry.js → p-c1cbfdba.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-b88e521e.system.entry.js → p-c3646ae6.system.entry.js} +19 -19
  246. package/dist/zonos-elements/{p-be64d823.system.entry.js → p-c403f004.system.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-c090cc60.entry.js → p-c47ce656.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-68e0180a.entry.js → p-c5bab786.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-628a0f7f.entry.js → p-c961caaf.entry.js} +1 -1
  250. package/dist/zonos-elements/p-c9QtIdJX.js +1 -0
  251. package/dist/zonos-elements/{p-CGkdA4pY.js → p-clDfq9AL.js} +1 -1
  252. package/dist/zonos-elements/p-d168023b.entry.js +1 -0
  253. package/dist/zonos-elements/{p-3e59d41c.entry.js → p-d3d0656a.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-9b6482ef.entry.js → p-d4d2b39e.entry.js} +1 -1
  255. package/dist/zonos-elements/p-d74bc3e8.entry.js +1 -0
  256. package/dist/zonos-elements/p-db87b0dd.entry.js +1 -0
  257. package/dist/zonos-elements/{p-f44631d5.entry.js → p-dea26048.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-5e074243.entry.js → p-defc2d18.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-bdba7d9e.system.entry.js → p-dfc87b10.system.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-03fbe813.system.entry.js → p-e005b6a5.system.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-02ff6f8b.system.entry.js → p-e0e9cff5.system.entry.js} +42 -42
  262. package/dist/zonos-elements/p-f8b50aa0.entry.js +1 -0
  263. package/dist/zonos-elements/{p-ClUEwqZW.system.js → p-kaOxUR9u.system.js} +6 -6
  264. package/dist/zonos-elements/p-rVp8hgWw.js +1 -0
  265. package/dist/zonos-elements/{p-i1iCWKdv.js → p-sz4L-ZnB.js} +1 -1
  266. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  267. package/package.json +1 -1
  268. package/dist/esm-es5/debounce-DWPsxJsW.js +0 -1
  269. package/dist/zonos-elements/p-037d3688.entry.js +0 -1
  270. package/dist/zonos-elements/p-0466650f.entry.js +0 -1
  271. package/dist/zonos-elements/p-163b81c0.system.entry.js +0 -121
  272. package/dist/zonos-elements/p-3ERbuo5a.js +0 -1
  273. package/dist/zonos-elements/p-97f848f6.entry.js +0 -1
  274. package/dist/zonos-elements/p-9H2p9XKE.js +0 -1
  275. package/dist/zonos-elements/p-BANhKkF2.system.js +0 -1
  276. package/dist/zonos-elements/p-BJufDgh3.js +0 -1
  277. package/dist/zonos-elements/p-BSgVcCxT.system.js +0 -9
  278. package/dist/zonos-elements/p-CpvnCfKt.js +0 -1
  279. package/dist/zonos-elements/p-CtKp6AQ4.js +0 -1
  280. package/dist/zonos-elements/p-DdpeA8cH.js +0 -1
  281. package/dist/zonos-elements/p-DkirvyAh.js +0 -1
  282. package/dist/zonos-elements/p-a6354d15.entry.js +0 -1
  283. package/dist/zonos-elements/p-opB7B9YB.js +0 -1
  284. package/dist/zonos-elements/p-t_ClFAJR.js +0 -1
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function d(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function i(e){try{a(o.next(e))}catch(e){r(e)}}function s(e){try{a(o["throw"](e))}catch(e){r(e)}}function a(e){e.done?n(e.value):d(e.value).then(i,s)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,d,r,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return a([e,t])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(n=0)),n)try{if(o=1,d&&(r=s[0]&2?d["return"]:s[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,s[1])).done)return r;if(d=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;d=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];d=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var o=0,d=t.length,r;o<d;o++){if(r||!(o in t)){if(!r)r=Array.prototype.slice.call(t,0,o);r[o]=t[o]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-CIevpRv_.system.js","./p-Cd9xIgx7.system.js","./p-CPnR_T0a.system.js","./p-BybDGrH4.system.js","./p-C2j7R11h.system.js","./p-NL_Eiq6m.system.js","./p-0D0aCMu6.system.js","./p-BgSx82zO.system.js","./p-BSgVcCxT.system.js","./p-CZl1nwqv.system.js","./p-zVLAvre1.system.js","./p-Bi-s0fp_.system.js","./p-BbgqQIHv.system.js","./p-Cby4EkFu.system.js","./p-d05Ku7gM.system.js","./p-DW-fW8yR.system.js","./p-CaUXHglQ.system.js","./p-C29tlYn0.system.js"],(function(e){"use strict";var t,n,o,d,r,i,s,a,u,l,$,f,c,h,p,v,b,y,m,g,z,w,x,k,C,S,O,E,N,I,A;return{setters:[function(e){t=e.r;n=e.d;o=e.h;d=e.a;r=e.g},function(e){i=e.t;s=e.s;a=e.z;u=e.l},function(e){l=e.z;$=e.a},function(e){f=e.M},function(e){c=e.c},function(e){h=e.U;p=e.b;v=e.w;b=e.t},function(e){y=e.R},function(e){m=e.i;g=e.c},function(e){z=e.g},function(e){w=e.t},function(e){x=e.i},function(e){k=e.a;C=e.s},function(e){S=e.l},function(e){O=e.c;E=e.s},function(e){N=e.i;I=e.a},function(e){A=e.i},null,null],execute:function(){var j=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:24px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:5px;gap:20px;-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--selected-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--completion-fields{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}:host .zonos--completion-name-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--completion-name-row zonos-input{-ms-flex:1;flex:1}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--completion-name-row{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--submit-btn{-ms-flex-order:1;order:1}"};var T=e("zonos_address_completion_dialog",/** @class */function(){function e(e){var d=this;t(this,e);this.closeCompletionDialog=n(this,"closeCompletionDialog",7);this.completionSubmit=n(this,"completionSubmit",7);
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,o){function d(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function i(e){try{a(o.next(e))}catch(e){r(e)}}function s(e){try{a(o["throw"](e))}catch(e){r(e)}}function a(e){e.done?n(e.value):d(e.value).then(i,s)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,d,r,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return a([e,t])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(n=0)),n)try{if(o=1,d&&(r=s[0]&2?d["return"]:s[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,s[1])).done)return r;if(d=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;d=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];d=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var o=0,d=t.length,r;o<d;o++){if(r||!(o in t)){if(!r)r=Array.prototype.slice.call(t,0,o);r[o]=t[o]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-CIevpRv_.system.js","./p-DOD2I44l.system.js","./p-BuU_p5DP.system.js","./p-DI2vXnXc.system.js","./p-C2j7R11h.system.js","./p-DS-qw_qc.system.js","./p-0D0aCMu6.system.js","./p-BgSx82zO.system.js","./p-DQZncB2d.system.js","./p-B4Ufchqh.system.js","./p-zVLAvre1.system.js","./p-Bi-s0fp_.system.js","./p-BbgqQIHv.system.js","./p-Cby4EkFu.system.js","./p-d05Ku7gM.system.js","./p-DW-fW8yR.system.js","./p-8PPEbm_0.system.js","./p-C29tlYn0.system.js"],(function(e){"use strict";var t,n,o,d,r,i,s,a,u,l,$,f,c,h,p,v,b,y,m,g,z,w,x,k,C,S,O,E,N,I,A;return{setters:[function(e){t=e.r;n=e.d;o=e.h;d=e.a;r=e.g},function(e){i=e.t;s=e.s;a=e.z;u=e.l},function(e){l=e.z;$=e.a},function(e){f=e.M},function(e){c=e.c},function(e){h=e.U;p=e.b;v=e.w;b=e.t},function(e){y=e.R},function(e){m=e.i;g=e.c},function(e){z=e.g},function(e){w=e.t},function(e){x=e.i},function(e){k=e.a;C=e.s},function(e){S=e.l},function(e){O=e.c;E=e.s},function(e){N=e.i;I=e.a},function(e){A=e.i},null,null],execute:function(){var j=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:24px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:5px;gap:20px;-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--selected-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--completion-fields{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}:host .zonos--completion-name-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--completion-name-row zonos-input{-ms-flex:1;flex:1}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--completion-name-row{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--submit-btn{-ms-flex-order:1;order:1}"};var T=e("zonos_address_completion_dialog",/** @class */function(){function e(e){var d=this;t(this,e);this.closeCompletionDialog=n(this,"closeCompletionDialog",7);this.completionSubmit=n(this,"completionSubmit",7);
2
2
  /**
3
3
  * Whether or not the continue button is loading
4
4
  */this.continueLoading=false;
@@ -43,13 +43,13 @@ return[4/*yield*/,new Promise((function(e){return setTimeout(e,100)}))];case 1:
43
43
  // Wait for shippingAddress prop to be updated before resetting the values
44
44
  o.sent();n=h({name:(t=this.shippingAddress)===null||t===void 0?void 0:t.name}).firstName;this.values=this.isFieldMissing("lastName")?{firstName:n}:{};this.showError=false;o.label=2;case 2:return[2/*return*/]}}))}))};e.prototype.render=function(){var e=this;var t=this.submitBtnColor||l.appearance.colorSecondary;
45
45
  // dialog background is white, so a white button needs an outline to stay visible
46
- var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";return o(d,{key:"9a89376022ebd8f5793882fb13a3502deca001f8",class:c(["zonos--address-completion-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"00ff3912a7bf8d021441440f0de2825b49f7b78e",isLoading:false,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeCompletionDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"1ba1cd333bd1f362a77f1f114ac50c309ed5ccd6",class:"zonos--body"},o("div",{key:"ccf9f54ff4b26e5443ff5c8276e5c5d36aac332b",class:"zonos--dialog-header"},o("div",{key:"01e073aa559c4040a6599aefb3bf8cb967928929",class:"zonos--dialog-title"},o("zonos-text",{key:"8472a72f6274646bb87d150c82722f93c861ae72",type:"title"},i("Complete your shipping address")),o("zonos-button",{key:"e9a6c2cbc3d64bf87e94850c1126119687f75e7d",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:y}),noBackground:true,onClick:function(){return e.closeCompletionDialog.emit()},title:"Close checkout dialog"})),o("zonos-text",{key:"c9ff785b746810f0c266071ee9a3f433ad645a2b"},i("This saved address is missing information required to ship internationally. Please add the details below."))),o("div",{key:"86e2b0da7dbcd1370b80fc8c53e8a7de4c11ed74",class:"zonos--group"},o("div",{key:"1542bb7f0b9df16f5ce36d38dc9408a1b3e836a7",class:"zonos--selected-address"},o("zonos-text",{key:"2572e3e44a9c81f6694e4939de39951ec659c8fa",class:"zonos--selected-label",type:"semiBoldLabel"},i("Selected address")),o("zonos-address-display",{key:"8781622b3d057cfbdba59e13d5fabf76f3a7a7dd",addressType:"shipping",currentAddress:this.shippingAddress})),o("div",{key:"ac3a5f6566c2179045a784b661b7e82c7b371a3f",class:"zonos--completion-fields"},this.renderNameFields(),this.renderField("state",i("State/Province")),this.renderField("postal_code",i("Postal code")))),o("div",{key:"1007d7f6c671fbd94dd3027332d2d7ac1edeef6e",class:"zonos--group-btn"},o("div",{key:"22fe2c8d03d7b3c680eea2b4afebf1868b5b6c0b",class:"zonos--button-wrapper"},o("zonos-button",{key:"dbcf1aa175992bff762ecc36108bf94090b7df0e",class:"zonos--cancel-btn",onClick:function(){return e.closeCompletionDialog.emit()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"63b0f966565e86ea9bac640b2fa690287c94b11f",backgroundColor:this.submitBtnColor,class:"zonos--submit-btn",loading:this.continueLoading,onClick:function(){return e.submitHandler()},size:"sm",variant:n},i("Save and continue")))))))};Object.defineProperty(e,"watchers",{get:function(){return{dialogOpen:[{watchDialogOpen:0}]}},enumerable:false,configurable:true});return e}());T.style=j();var L=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--title{margin-bottom:20px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:1px}:host .zonos--contact{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--address-row>*{-ms-flex:1;flex:1}:host .zonos--address{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}"};var M=e("zonos_address_form",/** @class */function(){function e(e){var o=this;t(this,e);this.addressChange=n(this,"addressChange",7);
46
+ var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";return o(d,{key:"9a89376022ebd8f5793882fb13a3502deca001f8",class:c(["zonos--address-completion-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"00ff3912a7bf8d021441440f0de2825b49f7b78e",isLoading:false,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeCompletionDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"1ba1cd333bd1f362a77f1f114ac50c309ed5ccd6",class:"zonos--body"},o("div",{key:"ccf9f54ff4b26e5443ff5c8276e5c5d36aac332b",class:"zonos--dialog-header"},o("div",{key:"01e073aa559c4040a6599aefb3bf8cb967928929",class:"zonos--dialog-title"},o("zonos-text",{key:"8472a72f6274646bb87d150c82722f93c861ae72",type:"title"},i("Complete your shipping address")),o("zonos-button",{key:"e9a6c2cbc3d64bf87e94850c1126119687f75e7d",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:y}),noBackground:true,onClick:function(){return e.closeCompletionDialog.emit()},title:"Close checkout dialog"})),o("zonos-text",{key:"c9ff785b746810f0c266071ee9a3f433ad645a2b"},i("This saved address is missing information required to ship internationally. Please add the details below."))),o("div",{key:"86e2b0da7dbcd1370b80fc8c53e8a7de4c11ed74",class:"zonos--group"},o("div",{key:"1542bb7f0b9df16f5ce36d38dc9408a1b3e836a7",class:"zonos--selected-address"},o("zonos-text",{key:"2572e3e44a9c81f6694e4939de39951ec659c8fa",class:"zonos--selected-label",type:"semiBoldLabel"},i("Selected address")),o("zonos-address-display",{key:"8781622b3d057cfbdba59e13d5fabf76f3a7a7dd",addressType:"shipping",currentAddress:this.shippingAddress})),o("div",{key:"ac3a5f6566c2179045a784b661b7e82c7b371a3f",class:"zonos--completion-fields"},this.renderNameFields(),this.renderField("state",i("State/Province")),this.renderField("postal_code",i("Postal code")))),o("div",{key:"1007d7f6c671fbd94dd3027332d2d7ac1edeef6e",class:"zonos--group-btn"},o("div",{key:"22fe2c8d03d7b3c680eea2b4afebf1868b5b6c0b",class:"zonos--button-wrapper"},o("zonos-button",{key:"dbcf1aa175992bff762ecc36108bf94090b7df0e",class:"zonos--cancel-btn",onClick:function(){return e.closeCompletionDialog.emit()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"63b0f966565e86ea9bac640b2fa690287c94b11f",backgroundColor:this.submitBtnColor,class:"zonos--submit-btn",loading:this.continueLoading,onClick:function(){return e.submitHandler()},size:"sm",variant:n},i("Save and continue")))))))};Object.defineProperty(e,"watchers",{get:function(){return{dialogOpen:[{watchDialogOpen:0}]}},enumerable:false,configurable:true});return e}());T.style=j();var L=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--title{margin-bottom:20px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:1px}:host .zonos--contact{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--address-row>*{-ms-flex:1;flex:1}:host .zonos--address{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}"};var P=e("zonos_address_form",/** @class */function(){function e(e){var o=this;t(this,e);this.addressChange=n(this,"addressChange",7);
47
47
  /**
48
48
  * Local address to update
49
49
  */this.localAddress=this.currentAddress;this.onInputChange=function(e){var t;var n=e.key,d=e.value;o.addressChange.emit(Object.assign(Object.assign({},o.localAddress),(t={},t[n]=d,t)))}}e.prototype.watchCurrentAddress=function(){var e,t,n,o,d,r;var i=this.currentAddress,s=i.city,a=i.line1,u=i.line2,l=i.name,$=i.postal_code,f=i.state;
50
50
  // Update the local address when the current address changes
51
51
  // If translated address is available, use that instead
52
- this.localAddress=Object.assign(Object.assign({},this.currentAddress),{city:((e=this.translatedAddress.city)===null||e===void 0?void 0:e[s])||s,line1:((t=this.translatedAddress.line1)===null||t===void 0?void 0:t[a])||a,line2:((n=this.translatedAddress.line2)===null||n===void 0?void 0:n[u])||u,name:((o=this.translatedAddress.name)===null||o===void 0?void 0:o[l])||l,postal_code:((d=this.translatedAddress.postal_code)===null||d===void 0?void 0:d[$])||$,state:((r=this.translatedAddress.state)===null||r===void 0?void 0:r[f])||f})};e.prototype.componentWillLoad=function(){this.watchCurrentAddress()};e.prototype.render=function(){var e=this;var t=this.localAddress,n=t.city,r=t.country,s=t.line1,a=t.line2,u=t.name,l=t.phone,$=t.postal_code,f=t.state;var c=h({name:u}),p=c.firstName,v=c.lastName;return o(d,{key:"44edb799473e427b08e17d6d20f08a028a3cc688",class:"zonos--address-form zonos--elements"},o("div",{key:"99c2d5b58464bebd7bb3e5c2a4ac3aa04d80b47f",class:"zonos--title"},o("zonos-text",{key:"5a86048c7d768b795db1416182e2b22458924601",textColor:"gray-700",type:"smallHeader"},this.addressType==="shipping"?i("Shipping"):i("Billing"))),o("div",{key:"a907058d970cb6674b403f79c0946e36a0e61f69",class:"zonos--address-group"},o("div",{key:"fad2f71614c6963015f95e74e297c58a4adee95b",class:"zonos--contact"},o("zonos-text",{key:"0c661050b1b95da56af1046fac39c7fa6de18685",type:"label"},i("Contact")),o("zonos-input",{key:"3e35a5f9d4bca373ef9403da0de53ea895aca61f",class:"zonos--form-email",inputLabel:i("Email"),inputValue:this.currentAddress.email,isDisabled:true}),o("div",{key:"093cdcc771b4ade381a392a1023d9d037d4e3e35",class:"zonos--name zonos--address-row"},o("zonos-input",{key:"e9d957551070a855179b78da655beaf3b4e731e2",class:"zonos--form-first-name",inputLabel:i("First name"),inputValue:p,isError:m(p),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(t.detail," ").concat(v)})}}),o("zonos-input",{key:"0b86805e872607d367446f5e6ef074974f9840c2",class:"zonos--form-last-name",inputLabel:i("Last name"),inputValue:v,isError:m(v),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(p," ").concat(t.detail)})}}))),o("div",{key:"6447f55e8d173d18cd46cba829527c4d487631a2",class:"zonos--address"},o("zonos-text",{key:"18ef146cc44f658524c6535e851281b62249fa26",type:"label"},i("Address")),o("zonos-input",{key:"95cfb115c4304e8a142ab2e952fc8c4bfbe39e43",class:"zonos--form-country",inputLabel:i("Country"),inputValue:r,isDisabled:true}),o("zonos-input",{key:"e3774713ec0b0e861981aa9f2c62f6749125e174",class:"zonos--form-line1",inputLabel:i("Address line 1"),inputValue:s,isError:m(s),onInputChange:function(t){return e.onInputChange({key:"line1",value:t.detail})}}),o("zonos-input",{key:"0d1fce85ad42e42b266ad411d4e3a96e4b8b8bf3",class:"zonos--form-line2",inputLabel:i("Address line 2"),inputValue:a,isError:m(a),onInputChange:function(t){return e.onInputChange({key:"line2",value:t.detail})}}),o("div",{key:"5d5e740b711ff65a0366a6c4891f22684f32c74b",class:"zonos--address-row"},o("zonos-input",{key:"8f124a91865c59096ba5c624ec229a3d1545c985",class:"zonos--form-city",inputLabel:i("City"),inputValue:n,isError:m(n),onInputChange:function(t){return e.onInputChange({key:"city",value:t.detail})}}),this.currentAddress.state&&o("zonos-input",{key:"50e852953ba88573929a200bce4c67fab2146245",class:"zonos--form-state",inputLabel:i("State/Province"),inputValue:f,isError:m(f),onInputChange:function(t){return e.onInputChange({key:"state",value:t.detail})}})),o("zonos-input",{key:"74c17f1d1a77af3f90100a6832b2c8fe7bdca24e",class:"zonos--form-postal-code",inputLabel:i("Postal code"),inputValue:$,isError:m($),onInputChange:function(t){return e.onInputChange({key:"postal_code",value:t.detail})}}),o("zonos-input",{key:"20775c4a944fe9305446898109637e5b38229a1d",class:"zonos--form-phone",inputLabel:i("Phone number"),inputValue:l,onInputChange:function(t){return e.onInputChange({key:"phone",value:t.detail})}}))))};Object.defineProperty(e,"watchers",{get:function(){return{translatedAddress:[{watchCurrentAddress:0}]}},enumerable:false,configurable:true});return e}());M.style=L();var P='<svg color="var(--zonos-elements-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var R=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative}:host .wrapper{position:absolute;margin-top:4px;top:100%;left:0;right:0;z-index:3;max-height:300px;overflow-y:auto;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));-webkit-box-shadow:var(--zonos-elements-shadow-select-active);box-shadow:var(--zonos-elements-shadow-select-active);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;list-style:none;padding:0;background-color:var(--zonos-elements-surface-color)}:host .wrapper .option{padding:8px;background-color:var(--zonos-elements-surface-color);outline:none;border:none;text-align:left}:host .wrapper .option.last-hovered{background-color:var(--zonos-elements-gray-100)}:host .wrapper .option .highlight{font-weight:600;color:var(--zonos-elements-gray-1000)}:host .wrapper>.powered-by{padding:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .wrapper>.powered-by .powered-by-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:5px;-ms-flex:1;flex:1}:host .wrapper>.suggestion{cursor:pointer}:host .wrapper>.suggestion:hover{background-color:var(--zonos-elements-gray-100)}"};var _=e("zonos_address_suggestions",/** @class */function(){function e(e){var o=this;t(this,e);this.suggestionSelected=n(this,"suggestionSelected",7);
52
+ this.localAddress=Object.assign(Object.assign({},this.currentAddress),{city:((e=this.translatedAddress.city)===null||e===void 0?void 0:e[s])||s,line1:((t=this.translatedAddress.line1)===null||t===void 0?void 0:t[a])||a,line2:((n=this.translatedAddress.line2)===null||n===void 0?void 0:n[u])||u,name:((o=this.translatedAddress.name)===null||o===void 0?void 0:o[l])||l,postal_code:((d=this.translatedAddress.postal_code)===null||d===void 0?void 0:d[$])||$,state:((r=this.translatedAddress.state)===null||r===void 0?void 0:r[f])||f})};e.prototype.componentWillLoad=function(){this.watchCurrentAddress()};e.prototype.render=function(){var e=this;var t=this.localAddress,n=t.city,r=t.country,s=t.line1,a=t.line2,u=t.name,l=t.phone,$=t.postal_code,f=t.state;var c=h({name:u}),p=c.firstName,v=c.lastName;return o(d,{key:"44edb799473e427b08e17d6d20f08a028a3cc688",class:"zonos--address-form zonos--elements"},o("div",{key:"99c2d5b58464bebd7bb3e5c2a4ac3aa04d80b47f",class:"zonos--title"},o("zonos-text",{key:"5a86048c7d768b795db1416182e2b22458924601",textColor:"gray-700",type:"smallHeader"},this.addressType==="shipping"?i("Shipping"):i("Billing"))),o("div",{key:"a907058d970cb6674b403f79c0946e36a0e61f69",class:"zonos--address-group"},o("div",{key:"fad2f71614c6963015f95e74e297c58a4adee95b",class:"zonos--contact"},o("zonos-text",{key:"0c661050b1b95da56af1046fac39c7fa6de18685",type:"label"},i("Contact")),o("zonos-input",{key:"3e35a5f9d4bca373ef9403da0de53ea895aca61f",class:"zonos--form-email",inputLabel:i("Email"),inputValue:this.currentAddress.email,isDisabled:true}),o("div",{key:"093cdcc771b4ade381a392a1023d9d037d4e3e35",class:"zonos--name zonos--address-row"},o("zonos-input",{key:"e9d957551070a855179b78da655beaf3b4e731e2",class:"zonos--form-first-name",inputLabel:i("First name"),inputValue:p,isError:m(p),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(t.detail," ").concat(v)})}}),o("zonos-input",{key:"0b86805e872607d367446f5e6ef074974f9840c2",class:"zonos--form-last-name",inputLabel:i("Last name"),inputValue:v,isError:m(v),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(p," ").concat(t.detail)})}}))),o("div",{key:"6447f55e8d173d18cd46cba829527c4d487631a2",class:"zonos--address"},o("zonos-text",{key:"18ef146cc44f658524c6535e851281b62249fa26",type:"label"},i("Address")),o("zonos-input",{key:"95cfb115c4304e8a142ab2e952fc8c4bfbe39e43",class:"zonos--form-country",inputLabel:i("Country"),inputValue:r,isDisabled:true}),o("zonos-input",{key:"e3774713ec0b0e861981aa9f2c62f6749125e174",class:"zonos--form-line1",inputLabel:i("Address line 1"),inputValue:s,isError:m(s),onInputChange:function(t){return e.onInputChange({key:"line1",value:t.detail})}}),o("zonos-input",{key:"0d1fce85ad42e42b266ad411d4e3a96e4b8b8bf3",class:"zonos--form-line2",inputLabel:i("Address line 2"),inputValue:a,isError:m(a),onInputChange:function(t){return e.onInputChange({key:"line2",value:t.detail})}}),o("div",{key:"5d5e740b711ff65a0366a6c4891f22684f32c74b",class:"zonos--address-row"},o("zonos-input",{key:"8f124a91865c59096ba5c624ec229a3d1545c985",class:"zonos--form-city",inputLabel:i("City"),inputValue:n,isError:m(n),onInputChange:function(t){return e.onInputChange({key:"city",value:t.detail})}}),this.currentAddress.state&&o("zonos-input",{key:"50e852953ba88573929a200bce4c67fab2146245",class:"zonos--form-state",inputLabel:i("State/Province"),inputValue:f,isError:m(f),onInputChange:function(t){return e.onInputChange({key:"state",value:t.detail})}})),o("zonos-input",{key:"74c17f1d1a77af3f90100a6832b2c8fe7bdca24e",class:"zonos--form-postal-code",inputLabel:i("Postal code"),inputValue:$,isError:m($),onInputChange:function(t){return e.onInputChange({key:"postal_code",value:t.detail})}}),o("zonos-input",{key:"20775c4a944fe9305446898109637e5b38229a1d",class:"zonos--form-phone",inputLabel:i("Phone number"),inputValue:l,onInputChange:function(t){return e.onInputChange({key:"phone",value:t.detail})}}))))};Object.defineProperty(e,"watchers",{get:function(){return{translatedAddress:[{watchCurrentAddress:0}]}},enumerable:false,configurable:true});return e}());P.style=L();var M='<svg color="var(--zonos-elements-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var _=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative}:host .wrapper{position:absolute;margin-top:4px;top:100%;left:0;right:0;z-index:3;max-height:300px;overflow-y:auto;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));-webkit-box-shadow:var(--zonos-elements-shadow-select-active);box-shadow:var(--zonos-elements-shadow-select-active);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;list-style:none;padding:0;background-color:var(--zonos-elements-surface-color)}:host .wrapper .option{padding:8px;background-color:var(--zonos-elements-surface-color);outline:none;border:none;text-align:left}:host .wrapper .option.last-hovered{background-color:var(--zonos-elements-gray-100)}:host .wrapper .option .highlight{font-weight:600;color:var(--zonos-elements-gray-1000)}:host .wrapper>.powered-by{padding:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .wrapper>.powered-by .powered-by-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:5px;-ms-flex:1;flex:1}:host .wrapper>.suggestion{cursor:pointer}:host .wrapper>.suggestion:hover{background-color:var(--zonos-elements-gray-100)}"};var R=e("zonos_address_suggestions",/** @class */function(){function e(e){var o=this;t(this,e);this.suggestionSelected=n(this,"suggestionSelected",7);
53
53
  /**
54
54
  * Suggestions to display
55
55
  */this.suggestions=[];
@@ -74,9 +74,9 @@ if(t.startOffset>o){n.push({isMatch:false,text:e.slice(o,t.startOffset)})}
74
74
  // Add matching segment
75
75
  n.push({isMatch:true,text:e.slice(t.startOffset,t.endOffset)});o=t.endOffset}));
76
76
  // Add remaining non-matching text if exists
77
- if(o<e.length){n.push({isMatch:false,text:e.slice(o)})}return n};e.prototype.render=function(){var e=this;return o(d,{key:"34018ecc951c0335041e24102329eb83a8d68439",class:"zonos--address-suggestions",role:"group",style:{"--zonos--border-radius":z()}},o("ul",{key:"80433831c875845e57225a1317c430e2626edf9a","aria-label":"Suggestions",class:"wrapper",role:"listbox"},!!this.localSuggestions.length&&o("li",{key:"3510ef51b56b1cb0a36334e842792bccc2daeca5","aria-selected":false,class:"powered-by option",role:"option"},o("div",{key:"72773af6f9c7e0644ebc5239e4bf585bba6e164a",class:"powered-by-container"},o("zonos-text",{key:"7fabccbe33cbc8d037dfd25f6e5b0a5bdaf97b2f",type:"caption"},"Suggestions powered by"),o("zonos-text",{key:"2d88a3b8d7369a44e910ec60f5c7ac0c3f0ce801",type:"semiBoldLabel"},"Google")),o("zonos-button",{key:"74315c248cc84617d854a3b51d0bad8300c6b762","aria-label":"Clear suggestions",icon:o("zonos-icon",{content:P}),noBackground:true,onClick:function(){e.localSuggestions=[]}})),this.localSuggestions.map((function(t){
77
+ if(o<e.length){n.push({isMatch:false,text:e.slice(o)})}return n};e.prototype.render=function(){var e=this;return o(d,{key:"34018ecc951c0335041e24102329eb83a8d68439",class:"zonos--address-suggestions",role:"group",style:{"--zonos--border-radius":z()}},o("ul",{key:"80433831c875845e57225a1317c430e2626edf9a","aria-label":"Suggestions",class:"wrapper",role:"listbox"},!!this.localSuggestions.length&&o("li",{key:"3510ef51b56b1cb0a36334e842792bccc2daeca5","aria-selected":false,class:"powered-by option",role:"option"},o("div",{key:"72773af6f9c7e0644ebc5239e4bf585bba6e164a",class:"powered-by-container"},o("zonos-text",{key:"7fabccbe33cbc8d037dfd25f6e5b0a5bdaf97b2f",type:"caption"},"Suggestions powered by"),o("zonos-text",{key:"2d88a3b8d7369a44e910ec60f5c7ac0c3f0ce801",type:"semiBoldLabel"},"Google")),o("zonos-button",{key:"74315c248cc84617d854a3b51d0bad8300c6b762","aria-label":"Clear suggestions",icon:o("zonos-icon",{content:M}),noBackground:true,onClick:function(){e.localSuggestions=[]}})),this.localSuggestions.map((function(t){
78
78
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
79
- return o("li",{"aria-selected":e.selectedSuggestionId===t.id,class:c(["suggestion","option",e.lastHoveredSuggestionId===t.id&&"last-hovered"]),key:t.id,onClick:function(){e.selectedSuggestionId=t.id;e.suggestionSelected.emit({placeId:t.id,type:e.type})},onMouseEnter:function(){e.lastHoveredSuggestionId=t.id},role:"option",tabIndex:0},o("zonos-text",null,e.getHighlightedText(t.place,t.matches).map((function(e,t){return o("span",{class:e.isMatch?"highlight":undefined,key:"".concat(t,"-").concat(e.text)},e.text)}))))}))))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{suggestions:[{suggestionsChanged:0}]}},enumerable:false,configurable:true});return e}());_.style=R();var F=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--group{-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}"};var B=e("zonos_address_update_dialog",/** @class */function(){function e(e){var o=this;t(this,e);this.closeUpdateDialog=n(this,"closeUpdateDialog",7);this.continueClicked=n(this,"continueClicked",7);
79
+ return o("li",{"aria-selected":e.selectedSuggestionId===t.id,class:c(["suggestion","option",e.lastHoveredSuggestionId===t.id&&"last-hovered"]),key:t.id,onClick:function(){e.selectedSuggestionId=t.id;e.suggestionSelected.emit({placeId:t.id,type:e.type})},onMouseEnter:function(){e.lastHoveredSuggestionId=t.id},role:"option",tabIndex:0},o("zonos-text",null,e.getHighlightedText(t.place,t.matches).map((function(e,t){return o("span",{class:e.isMatch?"highlight":undefined,key:"".concat(t,"-").concat(e.text)},e.text)}))))}))))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{suggestions:[{suggestionsChanged:0}]}},enumerable:false,configurable:true});return e}());R.style=_();var F=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--group{-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}"};var B=e("zonos_address_update_dialog",/** @class */function(){function e(e){var o=this;t(this,e);this.closeUpdateDialog=n(this,"closeUpdateDialog",7);this.continueClicked=n(this,"continueClicked",7);
80
80
  /**
81
81
  * Whether or not the continue button is loading
82
82
  */this.continueLoading=false;
@@ -144,7 +144,7 @@ return t.zipRequired&&!!n};var G=function(e){return!!e&&Object.keys(e).length>0}
144
144
  * so the dropdown is never empty.
145
145
  */var U=function(e){var t=e.allCountries,n=e.shippingZoneCountries,o=e.type;var d=o==="billing"&&G(t)?t:n;return Object.values(d||{}).map((function(e){return{label:e.displayName,value:e.code}})).sort((function(e,t){return e.label.localeCompare(t.label)}))};var V=function(e){var t=e.addresses,n=e.delimiter,o=n===void 0?" ":n;
146
146
  // Remove duplicate addresses
147
- var d=new Set(t.filter(Boolean));return Array.from(d).join(o)};var H=function(){return".sc-zonos-custom-address-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-custom-address-h *.sc-zonos-custom-address{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-custom-address-h img.sc-zonos-custom-address{max-width:100%}.sc-zonos-custom-address-h dl.sc-zonos-custom-address,.sc-zonos-custom-address-h dd.sc-zonos-custom-address,.sc-zonos-custom-address-h h1.sc-zonos-custom-address,.sc-zonos-custom-address-h h2.sc-zonos-custom-address,.sc-zonos-custom-address-h h3.sc-zonos-custom-address,.sc-zonos-custom-address-h h4.sc-zonos-custom-address,.sc-zonos-custom-address-h h5.sc-zonos-custom-address,.sc-zonos-custom-address-h h6.sc-zonos-custom-address,.sc-zonos-custom-address-h hr.sc-zonos-custom-address,.sc-zonos-custom-address-h figure.sc-zonos-custom-address,.sc-zonos-custom-address-h p.sc-zonos-custom-address,.sc-zonos-custom-address-h pre.sc-zonos-custom-address{margin:0}.sc-zonos-custom-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-custom-address-h .zonos--title.sc-zonos-custom-address{margin-bottom:16px}.sc-zonos-custom-address-h .zonos--company-name-input.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--tax-id-input.sc-zonos-custom-address{margin-bottom:8px}.sc-zonos-custom-address-h zonos-banner.sc-zonos-custom-address{margin-top:8px}.sc-zonos-custom-address-h .zonos--custom-address-form.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address>*.sc-zonos-custom-address{-ms-flex:1 1 200px;flex:1 1 200px}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{opacity:0;height:0;overflow:hidden;-webkit-transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.zonos--show.sc-zonos-custom-address{opacity:1;height:auto}"};var K=undefined&&undefined.__rest||function(e,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)n[o]=e[o];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var d=0,o=Object.getOwnPropertySymbols(e);d<o.length;d++){if(t.indexOf(o[d])<0&&Object.prototype.propertyIsEnumerable.call(e,o[d]))n[o[d]]=e[o[d]]}return n};var Z=e("zonos_custom_address",/** @class */function(){function e(e){var o=this;t(this,e);this.invalidCharacters=n(this,"invalidCharacters",7);this.addressChange=n(this,"addressChange",7);this.onStoreCheckoutSessionIdChangedSubscription=function(){};
147
+ var d=new Set(t.filter(Boolean));return Array.from(d).join(o)};var K=function(){return".sc-zonos-custom-address-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-custom-address-h *.sc-zonos-custom-address{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-custom-address-h img.sc-zonos-custom-address{max-width:100%}.sc-zonos-custom-address-h dl.sc-zonos-custom-address,.sc-zonos-custom-address-h dd.sc-zonos-custom-address,.sc-zonos-custom-address-h h1.sc-zonos-custom-address,.sc-zonos-custom-address-h h2.sc-zonos-custom-address,.sc-zonos-custom-address-h h3.sc-zonos-custom-address,.sc-zonos-custom-address-h h4.sc-zonos-custom-address,.sc-zonos-custom-address-h h5.sc-zonos-custom-address,.sc-zonos-custom-address-h h6.sc-zonos-custom-address,.sc-zonos-custom-address-h hr.sc-zonos-custom-address,.sc-zonos-custom-address-h figure.sc-zonos-custom-address,.sc-zonos-custom-address-h p.sc-zonos-custom-address,.sc-zonos-custom-address-h pre.sc-zonos-custom-address{margin:0}.sc-zonos-custom-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-custom-address-h .zonos--title.sc-zonos-custom-address{margin-bottom:16px}.sc-zonos-custom-address-h .zonos--company-name-input.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--tax-id-input.sc-zonos-custom-address{margin-bottom:8px}.sc-zonos-custom-address-h zonos-banner.sc-zonos-custom-address{margin-top:8px}.sc-zonos-custom-address-h .zonos--custom-address-form.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address>*.sc-zonos-custom-address{-ms-flex:1 1 200px;flex:1 1 200px}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{opacity:0;height:0;overflow:hidden;-webkit-transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.zonos--show.sc-zonos-custom-address{opacity:1;height:auto}"};var H=undefined&&undefined.__rest||function(e,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)n[o]=e[o];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var d=0,o=Object.getOwnPropertySymbols(e);d<o.length;d++){if(t.indexOf(o[d])<0&&Object.prototype.propertyIsEnumerable.call(e,o[d]))n[o[d]]=e[o[d]]}return n};var Z=e("zonos_custom_address",/** @class */function(){function e(e){var o=this;t(this,e);this.invalidCharacters=n(this,"invalidCharacters",7);this.addressChange=n(this,"addressChange",7);this.onStoreCheckoutSessionIdChangedSubscription=function(){};
148
148
  /**
149
149
  * Default address for stripe
150
150
  */this.defaultAddress=[];
@@ -281,7 +281,7 @@ if(o!==e.type){return}e.addressSuggestions=n}));this.onAddressSelectedUnsubscrib
281
281
  // If the country code of countryFields are the same as current selected country code, do nothing
282
282
  if(((n=this.countryField)===null||n===void 0?void 0:n.countryCode)===this.country){return}if(o&&d){this.countryField=d;return}this.countryField=null};e.prototype.shouldEnabledCustomAddressChanged=function(){
283
283
  // Only initialize the address suggestions if the address service is not already initialized
284
- this.initAddressSuggestions();this.initDefaultCustomAddressForm()};e.prototype.renderCustomAddressForm=function(){var e=this;var t,n,d,r,s,a,$,f,h,p,v,b,y,m,g,z;var w=this.getCustomAddressErrors(),x=w.showError,k=K(w,["showError"]);var C=this.getStripeAddressInstance().stripeAddressEventData;var S=C===null||C===void 0?void 0:C.value.address.country;
284
+ this.initAddressSuggestions();this.initDefaultCustomAddressForm()};e.prototype.renderCustomAddressForm=function(){var e=this;var t,n,d,r,s,a,$,f,h,p,v,b,y,m,g,z;var w=this.getCustomAddressErrors(),x=w.showError,k=H(w,["showError"]);var C=this.getStripeAddressInstance().stripeAddressEventData;var S=C===null||C===void 0?void 0:C.value.address.country;
285
285
  /**
286
286
  * Billing addresses are not limited to the shipping zone: a shopper's card
287
287
  * can be billed to any country, so restricting it would block them from
@@ -362,7 +362,7 @@ this.onStoreCheckoutSessionIdChanged();this.countryChanged((e===null||e===void 0
362
362
  // Only set country if custom address form is enabled
363
363
  if(!this.country&&u.selectedCountryCode){this.country=u.selectedCountryCode}
364
364
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
365
- return o(d,{key:"9d178094ee341623633d1e3822bd79f254a27e51",class:c(["zonos--address zonos--elements","zonos--".concat(this.type,"-address")])},o("zonos-text",{key:"c36b4ce9b63cce95664894fd8929ffe15807a22a",class:"zonos--title",type:"semiBoldLabel"},this.titleText),o("slot",{key:"661eab7074f99b6dca52d5f7f546cfbd29322fbf",name:"below-title"}),this.renderCompanyNameInput(),this.renderTaxIdInput(),this.renderShortAddressCodeInput(),this.renderCustomAddressForm())};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checkoutSessionId:[{isAddressFilledChanged:0}],isAddressFilled:[{isAddressFilledChanged:0}],defaultAddress:[{defaultAddressChanged:0}],line1:[{line1Changed:0}],city:[{formFieldsChanged:0}],country:[{formFieldsChanged:0},{countryChanged:0}],firstName:[{formFieldsChanged:0}],lastName:[{formFieldsChanged:0}],line2:[{formFieldsChanged:0}],phone:[{formFieldsChanged:0}],postalCode:[{formFieldsChanged:0}],state:[{formFieldsChanged:0}],addressService:[{shouldEnabledCustomAddressChanged:0}]}},enumerable:false,configurable:true});return e}());Z.style=H();
365
+ return o(d,{key:"9d178094ee341623633d1e3822bd79f254a27e51",class:c(["zonos--address zonos--elements","zonos--".concat(this.type,"-address")])},o("zonos-text",{key:"c36b4ce9b63cce95664894fd8929ffe15807a22a",class:"zonos--title",type:"semiBoldLabel"},this.titleText),o("slot",{key:"661eab7074f99b6dca52d5f7f546cfbd29322fbf",name:"below-title"}),this.renderCompanyNameInput(),this.renderTaxIdInput(),this.renderShortAddressCodeInput(),this.renderCustomAddressForm())};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checkoutSessionId:[{isAddressFilledChanged:0}],isAddressFilled:[{isAddressFilledChanged:0}],defaultAddress:[{defaultAddressChanged:0}],line1:[{line1Changed:0}],city:[{formFieldsChanged:0}],country:[{formFieldsChanged:0},{countryChanged:0}],firstName:[{formFieldsChanged:0}],lastName:[{formFieldsChanged:0}],line2:[{formFieldsChanged:0}],phone:[{formFieldsChanged:0}],postalCode:[{formFieldsChanged:0}],state:[{formFieldsChanged:0}],addressService:[{shouldEnabledCustomAddressChanged:0}]}},enumerable:false,configurable:true});return e}());Z.style=K();
366
366
  // This file is a workaround for a bug in web browsers' "native"
367
367
  // ES6 importing system which is uncapable of importing "*.json" files.
368
368
  // https://github.com/catamphetamine/libphonenumber-js/issues/239
@@ -740,7 +740,7 @@ t=t||{};var o=new le(n);o.selectNumberingPlan(e.country||e.countryCallingCode);
740
740
  if(o.hasTypes()){return Ie(e,t,o.metadata)!==undefined}
741
741
  // If there are no type regexps for this country in metadata then use
742
742
  // `nationalNumberPattern` as a "better than nothing" replacement.
743
- var d=t.v2?e.nationalNumber:e.phone;return Ce(d,o.nationalNumberPattern())}var Te=/^[A-Z]{2}$/;function Le(e){return Te.test(e)}function Me(e,t){var n;var o;var d=new le(t);
743
+ var d=t.v2?e.nationalNumber:e.phone;return Ce(d,o.nationalNumberPattern())}var Te=/^[A-Z]{2}$/;function Le(e){return Te.test(e)}function Pe(e,t){var n;var o;var d=new le(t);
744
744
  // If country code is passed then derive `countryCallingCode` from it.
745
745
  // Also store the country code as `.country`.
746
746
  if(Le(e)){n=e;d.selectNumberingPlan(n);o=d.countryCallingCode()}else{o=e}return{country:n,callingCode:o}}
@@ -750,9 +750,9 @@ if(Le(e)){n=e;d.selectNumberingPlan(n);o=d.countryCallingCode()}else{o=e}return{
750
750
  * @param {string} nationalNumber — National (significant) number.
751
751
  * @param {object} metadata — Metadata.
752
752
  * @return {string[]} A list of possible countries.
753
- */function Pe(e,t,n){var o=new le(n);var d=o.getCountryCodesForCallingCode(e);if(!d){return[]}return d.filter((function(e){return Re(t,e,n)}))}function Re(e,t,n){var o=new le(n);o.selectNumberingPlan(t);return o.numberingPlan.possibleLengths().indexOf(e.length)>=0}
753
+ */function Me(e,t,n){var o=new le(n);var d=o.getCountryCodesForCallingCode(e);if(!d){return[]}return d.filter((function(e){return _e(t,e,n)}))}function _e(e,t,n){var o=new le(n);o.selectNumberingPlan(t);return o.numberingPlan.possibleLengths().indexOf(e.length)>=0}
754
754
  // The minimum length of the national significant number.
755
- var _e=2;
755
+ var Re=2;
756
756
  // The ITU says the maximum length should be 15,
757
757
  // but one can find longer numbers in Germany.
758
758
  var Fe=17;
@@ -762,14 +762,14 @@ var Be=3;
762
762
  // (ascii, fullwidth, arabic-indic, and eastern arabic digits).
763
763
  var De="0-90-9٠-٩۰-۹";
764
764
  // `DASHES` will be right after the opening square bracket of the "character class"
765
- var Ge="-‐-―−ー-";var Ue="//";var Ve="..";var He="  ­​⁠ ";var Ke="()()[]\\[\\]";
765
+ var Ge="-‐-―−ー-";var Ue="//";var Ve="..";var Ke="  ­​⁠ ";var He="()()[]\\[\\]";
766
766
  // export const OPENING_BRACKETS = '(\uFF08\uFF3B\\\['
767
767
  var Ze="~⁓∼~";
768
768
  // Regular expression of acceptable punctuation found in phone numbers. This
769
769
  // excludes punctuation found as a leading character only. This consists of dash
770
770
  // characters, white space characters, full stops, slashes, square brackets,
771
771
  // parentheses and tildes. Full-width variants are also present.
772
- var We="".concat(Ge).concat(Ue).concat(Ve).concat(He).concat(Ke).concat(Ze);var Ye="++";
772
+ var We="".concat(Ge).concat(Ue).concat(Ve).concat(Ke).concat(He).concat(Ze);var Ye="++";
773
773
  // const LEADING_PLUS_CHARS_PATTERN = new RegExp('^[' + PLUS_CHARS + ']+')
774
774
  var qe=new RegExp("(["+De+"])");function Je(e,t,n,o){if(!t){return}
775
775
  // Get the IDD prefix pattern.
@@ -1272,7 +1272,7 @@ return c+"|"+h+"|"+p+"|"+v+"|"+b+"|"+y}
1272
1272
  // so must be the first in the range" (c) Google devs.
1273
1273
  // (wtf did they mean by saying that; probably nothing)
1274
1274
 
1275
- var bt="["+De+"]{"+_e+"}";
1275
+ var bt="["+De+"]{"+Re+"}";
1276
1276
 
1277
1277
  // And this is the second reg-exp:
1278
1278
  // (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)
@@ -1304,7 +1304,7 @@ var zt=new RegExp(
1304
1304
  // that leading non-number symbols have been removed, such as by the method
1305
1305
  // `extract_possible_number`.
1306
1306
 
1307
- function wt(e){return e.length>=_e&&zt.test(e)}
1307
+ function wt(e){return e.length>=Re&&zt.test(e)}
1308
1308
  // This is just a way to differentiate between a really invalid phone
1309
1309
  // number like "abcde" and a valid phone number that a user has just
1310
1310
  // started inputting, like "+1" or "1": both these cases would be
@@ -1409,14 +1409,14 @@ if(n==="1"){return n+" "+i}
1409
1409
  // country calling code. Details here:
1410
1410
  // http://www.petitfute.com/voyage/225-info-pratiques-reunion
1411
1411
 
1412
- return i}var s=ct(o,undefined,d.metadata);if(s){return"".concat(s," ").concat(n," ").concat(Ot(e,null,"INTERNATIONAL",d))}}function At(){var e=1;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++){n[o]=arguments[o]}while(e<n.length){if(n[e]){for(var d in n[e]){n[0][d]=n[e][d]}}e++}return n[0]}function jt(e,t){var n=0;while(n<e.length){if(t(e[n])){return e[n]}n++}}function Tt(e){"@babel/helpers - typeof";return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),true).forEach((function(t){Pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pt(e,t,n){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Bt(o.key),o)}}function Ft(e,t,n){return t&&_t(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Bt(e){var t=Dt(e,"string");return"symbol"==Tt(t)?t:t+""}function Dt(e,t){if("object"!=Tt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Tt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Gt=function(){
1412
+ return i}var s=ct(o,undefined,d.metadata);if(s){return"".concat(s," ").concat(n," ").concat(Ot(e,null,"INTERNATIONAL",d))}}function At(){var e=1;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++){n[o]=arguments[o]}while(e<n.length){if(n[e]){for(var d in n[e]){n[0][d]=n[e][d]}}e++}return n[0]}function jt(e,t){var n=0;while(n<e.length){if(t(e[n])){return e[n]}n++}}function Tt(e){"@babel/helpers - typeof";return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),true).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function _t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Bt(o.key),o)}}function Ft(e,t,n){return t&&Rt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Bt(e){var t=Dt(e,"string");return"symbol"==Tt(t)?t:t+""}function Dt(e,t){if("object"!=Tt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Tt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Gt=function(){
1413
1413
  /**
1414
1414
  * @param {string} countryOrCountryCallingCode
1415
1415
  * @param {string} nationalNumber
1416
1416
  * @param {object} metadata — Metadata JSON
1417
1417
  * @return {PhoneNumber}
1418
1418
  */
1419
- function e(t,n,o){Rt(this,e);
1419
+ function e(t,n,o){_t(this,e);
1420
1420
  // Validate `countryOrCountryCallingCode` argument.
1421
1421
  if(!t){throw new TypeError("First argument is required")}if(typeof t!=="string"){throw new TypeError("First argument must be a string")}
1422
1422
  // In case of public API use: `constructor(number, metadata)`.
@@ -1428,12 +1428,12 @@ if(!n){throw new TypeError("`nationalNumber` argument is required")}if(typeof n!
1428
1428
  // Validate `metadata` argument.
1429
1429
  ve(o);
1430
1430
  // Initialize properties.
1431
- var a=Me(t,o),u=a.country,l=a.callingCode;this.country=u;this.countryCallingCode=l;this.nationalNumber=n;this.number="+"+this.countryCallingCode+this.nationalNumber;
1431
+ var a=Pe(t,o),u=a.country,l=a.callingCode;this.country=u;this.countryCallingCode=l;this.nationalNumber=n;this.number="+"+this.countryCallingCode+this.nationalNumber;
1432
1432
  // Exclude `metadata` property output from `PhoneNumber.toString()`
1433
1433
  // so that it doesn't clutter the console output of Node.js.
1434
1434
  // Previously, when Node.js did `console.log(new PhoneNumber(...))`,
1435
1435
  // it would output the whole internal structure of the `metadata` object.
1436
- this.getMetadata=function(){return o}}return Ft(e,[{key:"setExt",value:function e(t){this.ext=t}},{key:"getPossibleCountries",value:function e(){if(this.country){return[this.country]}return Pe(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function e(){return xe(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function e(){return je(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function e(){var t=new le(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function e(t){return this.number===t.number&&this.ext===t.ext}
1436
+ this.getMetadata=function(){return o}}return Ft(e,[{key:"setExt",value:function e(t){this.ext=t}},{key:"getPossibleCountries",value:function e(){if(this.country){return[this.country]}return Me(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function e(){return xe(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function e(){return je(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function e(){var t=new le(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function e(t){return this.number===t.number&&this.ext===t.ext}
1437
1437
  // `validateLength()` method was originally meant to be an equivalent for `validatePhoneNumberLength()`.
1438
1438
 
1439
1439
  // Later, it became apparent that it's not really a true equivalent.
@@ -1461,16 +1461,16 @@ this.getMetadata=function(){return o}}return Ft(e,[{key:"setExt",value:function
1461
1461
  // return result
1462
1462
  // }
1463
1463
  // }
1464
- },{key:"getType",value:function e(){return Ie(this,{v2:true},this.getMetadata())}},{key:"format",value:function e(t,n){return St(this,t,n?Mt(Mt({},n),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function e(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function e(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function e(t){return this.format("RFC3966",t)}}])}();var Ut=/^\+\d+$/;function Vt(e){"@babel/helpers - typeof";return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Ht(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t=nn(t),Wt(e,Qt()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function Wt(e,t){if(t&&("object"==Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}function Yt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&tn(e,t)}function Jt(e){var t="function"==typeof Map?new Map:void 0;return Jt=function e(n){if(null===n||!en(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Xt(n,arguments,nn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),tn(o,n)},Jt(e)}function Xt(e,t,n){if(Qt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var d=new(e.bind.apply(e,o));return n&&tn(d,n.prototype),d}function Qt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qt=function t(){return!!e})()}function en(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function tn(e,t){return tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tn(e,t)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nn(e)}
1464
+ },{key:"getType",value:function e(){return Ie(this,{v2:true},this.getMetadata())}},{key:"format",value:function e(t,n){return St(this,t,n?Pt(Pt({},n),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function e(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function e(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function e(t){return this.format("RFC3966",t)}}])}();var Ut=/^\+\d+$/;function Vt(e){"@babel/helpers - typeof";return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Kt(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function Ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t=nn(t),Wt(e,Qt()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function Wt(e,t){if(t&&("object"==Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}function Yt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&tn(e,t)}function Jt(e){var t="function"==typeof Map?new Map:void 0;return Jt=function e(n){if(null===n||!en(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Xt(n,arguments,nn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),tn(o,n)},Jt(e)}function Xt(e,t,n){if(Qt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var d=new(e.bind.apply(e,o));return n&&tn(d,n.prototype),d}function Qt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qt=function t(){return!!e})()}function en(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function tn(e,t){return tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tn(e,t)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nn(e)}
1465
1465
  // https://stackoverflow.com/a/46971044/970769
1466
1466
  // "Breaking changes in Typescript 2.1"
1467
1467
  // "Extending built-ins like Error, Array, and Map may no longer work."
1468
1468
  // "As a recommendation, you can manually adjust the prototype immediately after any super(...) calls."
1469
1469
  // https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
1470
- var on=function(e){function t(e){var n;Kt(this,t);n=Zt(this,t,[e]);
1470
+ var on=function(e){function t(e){var n;Ht(this,t);n=Zt(this,t,[e]);
1471
1471
  // Set the prototype explicitly.
1472
1472
  // Any subclass of FooError will have to manually set the prototype as well.
1473
- Object.setPrototypeOf(n,t.prototype);n.name=n.constructor.name;return n}qt(t,e);return Ht(t)}(Jt(Error));
1473
+ Object.setPrototypeOf(n,t.prototype);n.name=n.constructor.name;return n}qt(t,e);return Kt(t)}(Jt(Error));
1474
1474
  // Regexp of all known extension prefixes used by different regions followed by
1475
1475
  // 1 or more valid digits, for use when parsing.
1476
1476
  var dn=new RegExp("(?:"+vt()+")$","i");
@@ -1680,13 +1680,13 @@ if(d!==""){return d}}
1680
1680
  // https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js
1681
1681
  // We don't allow input strings for parsing to be longer than 250 chars.
1682
1682
  // This prevents malicious input from consuming CPU.
1683
- var Mn=250;
1683
+ var Pn=250;
1684
1684
  // This consists of the plus symbol, digits, and arabic-indic digits.
1685
- var Pn=new RegExp("["+Ye+De+"]");
1685
+ var Mn=new RegExp("["+Ye+De+"]");
1686
1686
  // Regular expression of trailing characters that we want to remove.
1687
1687
  // A trailing `#` is sometimes used when writing phone numbers with extensions in US.
1688
1688
  // Example: "+1 (645) 123 1234-910#" number has extension "910".
1689
- var Rn=new RegExp("[^"+De+"#"+"]+$");
1689
+ var _n=new RegExp("[^"+De+"#"+"]+$");
1690
1690
  // Examples:
1691
1691
 
1692
1692
  // ```js
@@ -1709,7 +1709,7 @@ var Rn=new RegExp("[^"+De+"#"+"]+$");
1709
1709
  * @param {object} [options]
1710
1710
  * @param {object} metadataJson
1711
1711
  * @return {object|PhoneNumber?} If `options.v2: true` flag is passed, it returns a `PhoneNumber?` instance. Otherwise, returns an object of shape `{ phone: '...', country: '...' }` (or just `{}` if no phone number was parsed).
1712
- */function _n(e,t,n){
1712
+ */function Rn(e,t,n){
1713
1713
  // If assigning the `{}` default value is moved to the arguments above,
1714
1714
  // code coverage would decrease for some weird reason.
1715
1715
  t=t||{};var o=new le(n);
@@ -1724,7 +1724,7 @@ if(!r){if(t.v2){if(s==="TOO_SHORT"){throw new on("TOO_SHORT")}throw new on("NOT_
1724
1724
  // Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.
1725
1725
  o),u=a.country,l=a.nationalNumber,$=a.countryCallingCode,f=a.countryCallingCodeSource,c=a.carrierCode;if(!o.hasSelectedNumberingPlan()){if(t.v2){throw new on("INVALID_COUNTRY")}return{}}
1726
1726
  // Validate national (significant) number length.
1727
- if(!l||l.length<_e){
1727
+ if(!l||l.length<Re){
1728
1728
  // Won't throw here because the regexp already demands length > 1.
1729
1729
  /* istanbul ignore if */
1730
1730
  if(t.v2){throw new on("TOO_SHORT")}
@@ -1759,9 +1759,9 @@ return{country:u,countryCallingCode:$,carrierCode:c,valid:p,possible:p?true:t.ex
1759
1759
  * @example
1760
1760
  * // Returns "(213) 373-4253".
1761
1761
  * extractFormattedPhoneNumber("Call (213) 373-4253 for assistance.")
1762
- */function Fn(e,t,n){if(!e){return}if(e.length>Mn){if(n){throw new on("TOO_LONG")}return}if(t===false){return e}
1762
+ */function Fn(e,t,n){if(!e){return}if(e.length>Pn){if(n){throw new on("TOO_LONG")}return}if(t===false){return e}
1763
1763
  // Attempt to extract a possible number from the string passed in
1764
- var o=e.search(Pn);if(o<0){return}return e.slice(o).replace(Rn,"")}
1764
+ var o=e.search(Mn);if(o<0){return}return e.slice(o).replace(_n,"")}
1765
1765
  /**
1766
1766
  * @param {string} text - Input.
1767
1767
  * @param {boolean} v2 - Legacy API functions don't pass `v2: true` flag.
@@ -1828,7 +1828,7 @@ if(!s){return{countryCallingCodeSource:r,countryCallingCode:i}}var u=dt(vn(s),un
1828
1828
  // "phone number type" regular expressions.
1829
1829
 
1830
1830
  var f=ot(i,{nationalNumber:l,metadata:o});if(f){a=f;
1831
- /* istanbul ignore if */if(f==="001");else{o.selectNumberingPlan(a)}}return{country:a,countryCallingCode:i,countryCallingCodeSource:r,nationalNumber:l,carrierCode:$}}function Un(e){"@babel/helpers - typeof";return Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Un(e)}function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),true).forEach((function(t){Kn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kn(e,t,n){return(t=Zn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Zn(e){var t=Wn(e,"string");return"symbol"==Un(t)?t:t+""}function Wn(e,t){if("object"!=Un(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Un(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Yn(e,t,n){return _n(e,Hn(Hn({},t),{},{v2:true}),n)}function qn(e){"@babel/helpers - typeof";return qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(e)}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),true).forEach((function(t){Qn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qn(e,t,n){return(t=eo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function eo(e){var t=to(e,"string");return"symbol"==qn(t)?t:t+""}function to(e,t){if("object"!=qn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=qn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function no(e,t){return ao(e)||so(e,t)||ro(e,t)||oo()}function oo(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ro(e,t){if(e){if("string"==typeof e)return io(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?io(e,t):void 0}}function io(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function so(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function ao(e){if(Array.isArray(e))return e}
1831
+ /* istanbul ignore if */if(f==="001");else{o.selectNumberingPlan(a)}}return{country:a,countryCallingCode:i,countryCallingCodeSource:r,nationalNumber:l,carrierCode:$}}function Un(e){"@babel/helpers - typeof";return Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Un(e)}function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),true).forEach((function(t){Hn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hn(e,t,n){return(t=Zn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Zn(e){var t=Wn(e,"string");return"symbol"==Un(t)?t:t+""}function Wn(e,t){if("object"!=Un(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Un(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Yn(e,t,n){return Rn(e,Kn(Kn({},t),{},{v2:true}),n)}function qn(e){"@babel/helpers - typeof";return qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(e)}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),true).forEach((function(t){Qn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qn(e,t,n){return(t=eo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function eo(e){var t=to(e,"string");return"symbol"==qn(t)?t:t+""}function to(e,t){if("object"!=qn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=qn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function no(e,t){return ao(e)||so(e,t)||ro(e,t)||oo()}function oo(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ro(e,t){if(e){if("string"==typeof e)return io(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?io(e,t):void 0}}function io(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function so(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function ao(e){if(Array.isArray(e))return e}
1832
1832
  // Extracts the following properties from function arguments:
1833
1833
  // * input `text`
1834
1834
  // * `options` object
@@ -1915,7 +1915,7 @@ for(var o=Co(n.split("")),d;!(d=o()).done;){var r=d.value;
1915
1915
  // then set the next digit in the `template`,
1916
1916
  // and return the formatted digits so far.
1917
1917
  // If more digits are entered than the current format could handle.
1918
- if(e.slice(t+1).search(No)<0){return}t=e.search(No);e=e.replace(No,r)}return[e,t]}function Lo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=new RegExp("^(?:".concat(t.pattern(),")$"));if(r.test(e.nationalSignificantNumber)){return Po(e,t,{shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:d})}}function Mo(e,t){return ze(e,undefined,t)==="IS_POSSIBLE"}function Po(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;
1918
+ if(e.slice(t+1).search(No)<0){return}t=e.search(No);e=e.replace(No,r)}return[e,t]}function Lo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=new RegExp("^(?:".concat(t.pattern(),")$"));if(r.test(e.nationalSignificantNumber)){return Mo(e,t,{shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:d})}}function Po(e,t){return ze(e,undefined,t)==="IS_POSSIBLE"}function Mo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;
1919
1919
  // Format the number with using `national_prefix_formatting_rule`.
1920
1920
  // If the resulting formatted number is a valid formatted number, then return it.
1921
1921
 
@@ -1926,12 +1926,12 @@ if(e.slice(t+1).search(No)<0){return}t=e.search(No);e=e.replace(No,r)}return[e,t
1926
1926
  // The reason is that "national prefix formatting rule" may use parentheses,
1927
1927
  // which wouldn't be included has it used the simpler Google's way.
1928
1928
 
1929
- if(o(t)){var r=Ro(e,t,{useNationalPrefixFormattingRule:true,getSeparatorAfterNationalPrefix:d});if(r){return r}}
1929
+ if(o(t)){var r=_o(e,t,{useNationalPrefixFormattingRule:true,getSeparatorAfterNationalPrefix:d});if(r){return r}}
1930
1930
  // Format the number without using `national_prefix_formatting_rule`.
1931
- return Ro(e,t,{useNationalPrefixFormattingRule:false,getSeparatorAfterNationalPrefix:d})}function Ro(e,t,n){var o=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=$t(e.nationalSignificantNumber,t,{useInternationalFormat:e.international,withNationalPrefix:o});if(!o){if(e.nationalPrefix){
1931
+ return _o(e,t,{useNationalPrefixFormattingRule:false,getSeparatorAfterNationalPrefix:d})}function _o(e,t,n){var o=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=$t(e.nationalSignificantNumber,t,{useInternationalFormat:e.international,withNationalPrefix:o});if(!o){if(e.nationalPrefix){
1932
1932
  // If a national prefix was extracted, then just prepend it,
1933
1933
  // followed by a " " character.
1934
- r=e.nationalPrefix+d(t)+r}else if(e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix){r=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+r}}if(_o(r,e)){return r}}
1934
+ r=e.nationalPrefix+d(t)+r}else if(e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix){r=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+r}}if(Ro(r,e)){return r}}
1935
1935
  // Check that the formatted phone number contains exactly
1936
1936
  // the same digits that have been input by the user.
1937
1937
  // For example, when "0111523456789" is input for `AR` country,
@@ -1961,14 +1961,14 @@ r=e.nationalPrefix+d(t)+r}else if(e.prefixBeforeNationalSignificantNumberThatIsN
1961
1961
  // https://github.com/google/libphonenumber/commit/3e7c1f04f5e7200f87fb131e6f85c6e99d60f510#diff-9149457fa9f5d608a11bb975c6ef4bc5
1962
1962
  // https://github.com/google/libphonenumber/commit/3ac88c7106e7dcb553bcc794b15f19185928a1c6#diff-2dcb77e833422ee304da348b905cde0b
1963
1963
 
1964
- function _o(e,t){return fn(e)===t.getNationalDigits()}function Fo(e){"@babel/helpers - typeof";return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(e)}function Bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Uo(o.key),o)}}function Go(e,t,n){return t&&Do(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Uo(e){var t=Vo(e,"string");return"symbol"==Fo(t)?t:t+""}function Vo(e,t){if("object"!=Fo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Fo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ho=function(){function e(){Bo(this,e)}return Go(e,[{key:"parse",value:function e(t){this.context=[{or:true,instructions:[]}];this.parsePattern(t);if(this.context.length!==1){throw new Error("Non-finalized contexts left when pattern parse ended")}var n=this.context[0],o=n.branches,d=n.instructions;if(o){return{op:"|",args:o.concat([Yo(d)])}}
1964
+ function Ro(e,t){return fn(e)===t.getNationalDigits()}function Fo(e){"@babel/helpers - typeof";return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(e)}function Bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Uo(o.key),o)}}function Go(e,t,n){return t&&Do(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Uo(e){var t=Vo(e,"string");return"symbol"==Fo(t)?t:t+""}function Vo(e,t){if("object"!=Fo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Fo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ko=function(){function e(){Bo(this,e)}return Go(e,[{key:"parse",value:function e(t){this.context=[{or:true,instructions:[]}];this.parsePattern(t);if(this.context.length!==1){throw new Error("Non-finalized contexts left when pattern parse ended")}var n=this.context[0],o=n.branches,d=n.instructions;if(o){return{op:"|",args:o.concat([Yo(d)])}}
1965
1965
  /* istanbul ignore if */if(d.length===0){throw new Error("Pattern is required")}if(d.length===1){return d[0]}return d}},{key:"startContext",value:function e(t){this.context.push(t)}},{key:"endContext",value:function e(){this.context.pop()}},{key:"getContext",value:function e(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function e(t){if(!t){throw new Error("Pattern is required")}var n=t.match(Wo);if(!n){if(Zo.test(t)){throw new Error("Illegal characters found in a pattern: ".concat(t))}this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var o=n[1];var d=t.slice(0,n.index);var r=t.slice(n.index+o.length);switch(o){case"(?:":if(d){this.parsePattern(d)}this.startContext({or:true,instructions:[],branches:[]});break;case")":if(!this.getContext().or){throw new Error('")" operator must be preceded by "(?:" operator')}if(d){this.parsePattern(d)}if(this.getContext().instructions.length===0){throw new Error('No instructions found after "|" operator in an "or" group')}var i=this.getContext(),s=i.branches;s.push(Yo(this.getContext().instructions));this.endContext();this.getContext().instructions.push({op:"|",args:s});break;case"|":if(!this.getContext().or){throw new Error('"|" operator can only be used inside "or" groups')}if(d){this.parsePattern(d)}
1966
1966
  // The top-level is an implicit "or" group, if required.
1967
1967
  if(!this.getContext().branches){
1968
1968
  // `branches` are not defined only for the root implicit "or" operator.
1969
1969
  /* istanbul ignore else */
1970
- if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('"branches" not found in an "or" group context')}}this.getContext().branches.push(Yo(this.getContext().instructions));this.getContext().instructions=[];break;case"[":if(d){this.parsePattern(d)}this.startContext({oneOfSet:true});break;case"]":if(!this.getContext().oneOfSet){throw new Error('"]" operator must be preceded by "[" operator')}this.endContext();this.getContext().instructions.push({op:"[]",args:Ko(d)});break;
1971
- /* istanbul ignore next */default:throw new Error("Unknown operator: ".concat(o))}if(r){this.parsePattern(r)}}}])}();function Ko(e){var t=[];var n=0;while(n<e.length){if(e[n]==="-"){if(n===0||n===e.length-1){throw new Error("Couldn't parse a one-of set pattern: ".concat(e))}var o=e[n-1].charCodeAt(0)+1;var d=e[n+1].charCodeAt(0)-1;var r=o;while(r<=d){t.push(String.fromCharCode(r));r++}}else{t.push(e[n])}n++}return t}var Zo=/[\(\)\[\]\?\:\|]/;var Wo=new RegExp(
1970
+ if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('"branches" not found in an "or" group context')}}this.getContext().branches.push(Yo(this.getContext().instructions));this.getContext().instructions=[];break;case"[":if(d){this.parsePattern(d)}this.startContext({oneOfSet:true});break;case"]":if(!this.getContext().oneOfSet){throw new Error('"]" operator must be preceded by "[" operator')}this.endContext();this.getContext().instructions.push({op:"[]",args:Ho(d)});break;
1971
+ /* istanbul ignore next */default:throw new Error("Unknown operator: ".concat(o))}if(r){this.parsePattern(r)}}}])}();function Ho(e){var t=[];var n=0;while(n<e.length){if(e[n]==="-"){if(n===0||n===e.length-1){throw new Error("Couldn't parse a one-of set pattern: ".concat(e))}var o=e[n-1].charCodeAt(0)+1;var d=e[n+1].charCodeAt(0)-1;var r=o;while(r<=d){t.push(String.fromCharCode(r));r++}}else{t.push(e[n])}n++}return t}var Zo=/[\(\)\[\]\?\:\|]/;var Wo=new RegExp(
1972
1972
  // any of:
1973
1973
  "("+
1974
1974
  // or operator
@@ -1988,7 +1988,7 @@ if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('
1988
1988
  // or
1989
1989
  "|"+
1990
1990
  // one-of set end
1991
- "\\]"+")");function Yo(e){if(e.length===1){return e[0]}return e}function qo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Jo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jo(e,t){if(e){if("string"==typeof e)return Xo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xo(e,t):void 0}}function Xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Qo(e){"@babel/helpers - typeof";return Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qo(e)}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,od(o.key),o)}}function nd(e,t,n){return t&&td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function od(e){var t=dd(e,"string");return"symbol"==Qo(t)?t:t+""}function dd(e,t){if("object"!=Qo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Qo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rd=function(){function e(t){ed(this,e);this.matchTree=(new Ho).parse(t)}return nd(e,[{key:"match",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=n.allowOverflow;if(!t){throw new Error("String is required")}var d=id(t.split(""),this.matchTree,true);if(d&&d.match){delete d.matchedChars}if(d&&d.overflow){if(!o){return}}return d}}])}();function id(e,t,n){
1991
+ "\\]"+")");function Yo(e){if(e.length===1){return e[0]}return e}function qo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Jo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jo(e,t){if(e){if("string"==typeof e)return Xo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xo(e,t):void 0}}function Xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Qo(e){"@babel/helpers - typeof";return Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qo(e)}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,od(o.key),o)}}function nd(e,t,n){return t&&td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function od(e){var t=dd(e,"string");return"symbol"==Qo(t)?t:t+""}function dd(e,t){if("object"!=Qo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Qo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rd=function(){function e(t){ed(this,e);this.matchTree=(new Ko).parse(t)}return nd(e,[{key:"match",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=n.allowOverflow;if(!t){throw new Error("String is required")}var d=id(t.split(""),this.matchTree,true);if(d&&d.match){delete d.matchedChars}if(d&&d.overflow){if(!o){return}}return d}}])}();function id(e,t,n){
1992
1992
  // If `tree` is a string, then `tree` is a single character.
1993
1993
  // That's because when a pattern is parsed, multi-character-string parts
1994
1994
  // of a pattern are compiled into arrays of single characters.
@@ -2111,7 +2111,7 @@ var xd=3;var kd=function(){function e(t){var n=t.metadata;$d(this,e);this.metada
2111
2111
  // If so, we should use this instead of any other formatting template
2112
2112
  // whose leadingDigitsPattern also matches the input."
2113
2113
 
2114
- if(Mo(n.nationalSignificantNumber,this.metadata)){for(var d=ad(this.matchingFormats),r;!(r=d()).done;){var i=r.value;var s=Lo(n,i,{shouldTryNationalPrefixFormattingRule:function e(t){return o.shouldTryNationalPrefixFormattingRule(t,{international:n.international,nationalPrefix:n.nationalPrefix})},getSeparatorAfterNationalPrefix:function e(t){return o.getSeparatorAfterNationalPrefix(t)}});if(s){this.resetFormat();this.chosenFormat=i;this.setNationalNumberTemplate(s.replace(/\d/g,Eo),n);this.populatedNationalNumberTemplate=s;
2114
+ if(Po(n.nationalSignificantNumber,this.metadata)){for(var d=ad(this.matchingFormats),r;!(r=d()).done;){var i=r.value;var s=Lo(n,i,{shouldTryNationalPrefixFormattingRule:function e(t){return o.shouldTryNationalPrefixFormattingRule(t,{international:n.international,nationalPrefix:n.nationalPrefix})},getSeparatorAfterNationalPrefix:function e(t){return o.getSeparatorAfterNationalPrefix(t)}});if(s){this.resetFormat();this.chosenFormat=i;this.setNationalNumberTemplate(s.replace(/\d/g,Eo),n);this.populatedNationalNumberTemplate=s;
2115
2115
  // With a new formatting template, the matched position
2116
2116
  // using the old template needs to be reset.
2117
2117
  this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(Eo);return s}}}
@@ -2420,11 +2420,11 @@ return Ao(this.populatedNationalNumberTemplate,this.populatedNationalNumberTempl
2420
2420
  // In some countries, `national_prefix_formatting_rule` is `($1)`,
2421
2421
  // so it applies even if the user hasn't input a national prefix.
2422
2422
  // `format.usesNationalPrefix()` detects such cases.
2423
- var r=t.usesNationalPrefix();if(r&&d||!r&&!o){return true}}}}])}();function Cd(e){"@babel/helpers - typeof";return Cd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cd(e)}function Sd(e,t){return Ad(e)||Id(e,t)||Ed(e,t)||Od()}function Od(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ed(e,t){if(e){if("string"==typeof e)return Nd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nd(e,t):void 0}}function Nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Id(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Ad(e){if(Array.isArray(e))return e}function jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Md(o.key),o)}}function Ld(e,t,n){return t&&Td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Md(e){var t=Pd(e,"string");return"symbol"==Cd(t)?t:t+""}function Pd(e,t){if("object"!=Cd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Cd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Rd="["+We+De+"]+";var _d=new RegExp("^"+Rd+"$","i");var Fd="(?:"+"["+Ye+"]"+"["+We+De+"]*"+"|"+"["+We+De+"]+"+")";var Bd=new RegExp("[^"+We+De+"]+"+".*"+"$");
2423
+ var r=t.usesNationalPrefix();if(r&&d||!r&&!o){return true}}}}])}();function Cd(e){"@babel/helpers - typeof";return Cd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cd(e)}function Sd(e,t){return Ad(e)||Id(e,t)||Ed(e,t)||Od()}function Od(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ed(e,t){if(e){if("string"==typeof e)return Nd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nd(e,t):void 0}}function Nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Id(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Ad(e){if(Array.isArray(e))return e}function jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Pd(o.key),o)}}function Ld(e,t,n){return t&&Td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Pd(e){var t=Md(e,"string");return"symbol"==Cd(t)?t:t+""}function Md(e,t){if("object"!=Cd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Cd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var _d="["+We+De+"]+";var Rd=new RegExp("^"+_d+"$","i");var Fd="(?:"+"["+Ye+"]"+"["+We+De+"]*"+"|"+"["+We+De+"]+"+")";var Bd=new RegExp("[^"+We+De+"]+"+".*"+"$");
2424
2424
  // Tests whether `national_prefix_for_parsing` could match
2425
2425
  // different national prefixes.
2426
2426
  // Matches anything that's not a digit or a square bracket.
2427
- var Dd=/[^\d\[\]]/;var Gd=function(){function e(t){var n=t.defaultCountry,o=t.defaultCallingCode,d=t.metadata,r=t.onNationalSignificantNumberChange;jd(this,e);this.defaultCountry=n;this.defaultCallingCode=o;this.metadata=d;this.onNationalSignificantNumberChange=r}return Ld(e,[{key:"input",value:function e(t,n){var o=Hd(t),d=Sd(o,2),r=d[0],i=d[1];var s=fn(r);
2427
+ var Dd=/[^\d\[\]]/;var Gd=function(){function e(t){var n=t.defaultCountry,o=t.defaultCallingCode,d=t.metadata,r=t.onNationalSignificantNumberChange;jd(this,e);this.defaultCountry=n;this.defaultCallingCode=o;this.metadata=d;this.onNationalSignificantNumberChange=r}return Ld(e,[{key:"input",value:function e(t,n){var o=Kd(t),d=Sd(o,2),r=d[0],i=d[1];var s=fn(r);
2428
2428
  // Checks for a special case: just a leading `+` has been entered.
2429
2429
  var a;if(i){if(!n.digits){n.startInternationalNumber(undefined,undefined);if(!s){a=true}}}if(s){this.inputDigits(s,n)}return{digits:s,justLeadingPlus:a}}
2430
2430
  /**
@@ -2599,11 +2599,11 @@ if(t[0]==="+"){return[t.slice("+".length),true]}return[t]}
2599
2599
  * Extracts formatted phone number digits (and a `+`) from text (if there're any).
2600
2600
  * @param {string} text
2601
2601
  * @return {any[]}
2602
- */function Hd(e){var t=Vd(e),n=Sd(t,2),o=n[0],d=n[1];
2602
+ */function Kd(e){var t=Vd(e),n=Sd(t,2),o=n[0],d=n[1];
2603
2603
  // If the extracted phone number part
2604
2604
  // can possibly be a part of some valid phone number
2605
2605
  // then parse phone number characters from a formatted phone number.
2606
- if(!_d.test(o)){o=""}return[o,d]}function Kd(e){"@babel/helpers - typeof";return Kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kd(e)}function Zd(e,t){return Xd(e)||Jd(e,t)||Yd(e,t)||Wd()}function Wd(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yd(e,t){if(e){if("string"==typeof e)return qd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qd(e,t):void 0}}function qd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Jd(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Xd(e){if(Array.isArray(e))return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,nr(o.key),o)}}function tr(e,t,n){return t&&er(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function nr(e){var t=or(e,"string");return"symbol"==Kd(t)?t:t+""}function or(e,t){if("object"!=Kd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Kd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dr=function(){
2606
+ if(!Rd.test(o)){o=""}return[o,d]}function Hd(e){"@babel/helpers - typeof";return Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hd(e)}function Zd(e,t){return Xd(e)||Jd(e,t)||Yd(e,t)||Wd()}function Wd(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yd(e,t){if(e){if("string"==typeof e)return qd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qd(e,t):void 0}}function qd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Jd(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Xd(e){if(Array.isArray(e))return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,nr(o.key),o)}}function tr(e,t,n){return t&&er(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function nr(e){var t=or(e,"string");return"symbol"==Hd(t)?t:t+""}function or(e,t){if("object"!=Hd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Hd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dr=function(){
2607
2607
  /**
2608
2608
  * @param {(string|object)?} [optionsOrDefaultCountry] - The default country used for parsing non-international phone numbers. Can also be an `options` object.
2609
2609
  * @param {Object} metadata
@@ -2840,7 +2840,7 @@ if(!X(n)){if(d){i=o;s=d}else{s=o}
2840
2840
  // while this `validate` function needs to verify
2841
2841
  // that the phone number contains no "garbage"
2842
2842
  // therefore the explicit `isViablePhoneNumber` check.
2843
- if(wt(t)){r=_n(t,{defaultCountry:n},s)}else{r={}}}
2843
+ if(wt(t)){r=Rn(t,{defaultCountry:n},s)}else{r={}}}
2844
2844
  // No "resrict country" argument is being passed.
2845
2845
  // International phone number is passed.
2846
2846
  // `getNumberType('+78005553535', metadata)`.
@@ -2850,7 +2850,7 @@ else{if(o){i=n;s=o}else{s=n}
2850
2850
  // while this `validate` function needs to verify
2851
2851
  // that the phone number contains no "garbage"
2852
2852
  // therefore the explicit `isViablePhoneNumber` check.
2853
- if(wt(t)){r=_n(t,undefined,s)}else{r={}}}}
2853
+ if(wt(t)){r=Rn(t,undefined,s)}else{r={}}}}
2854
2854
  // If the phone number is passed as a parsed phone number.
2855
2855
  // `getNumberType({ phone: '88005553535', country: 'RU' }, ...)`.
2856
2856
  else if(X(t)){r=t;if(o){i=n;s=o}else{s=n}}else throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");return{input:r,options:i,metadata:s}}
@@ -1 +1 @@
1
- import{r as o,e as t,h as s,a as e}from"./p-_lt63o7c.js";import{d as a}from"./p-DqEtY53c.js";import{c as n}from"./p-ByGDytaN.js";import{a as r}from"./p-CtEsvWI6.js";import{c as i}from"./p-BJHSB96f.js";import{s as h}from"./p-BTIeCf3T.js";import"./p-CGkdA4pY.js";import"./p-DE4a-QD5.js";import"./p-BJmZPrZl.js";import"./p-YdrG78th.js";import"./p-3ERbuo5a.js";import"./p-Cye-evFK.js";const l=class{constructor(t){o(this,t),this.errorImages=[]}render(){const o=t("./assets/empty-item.jpeg"),r=a.items.filter((o=>!o.isRestricted));return s(e,{key:"5a60fed50f3e58629cb85103d9c0ba52a3b88aa0",class:"zonos--collect-cart-items zonos--elements"},s("table",{key:"b1c10fa45ebe5404354284d64abb6460242f1463",class:"zonos--cart-table"},s("tbody",{key:"1306747328419b524058be1cb04b6c0098c9ea89"},r.map((t=>{const e=t.imageUrl,a=n(t.name);return s("tr",{class:"zonos--collect-cart-item"},s("td",{class:"zonos--column zonos--cart-item-image"},e&&!this.errorImages.includes(e)?s("img",{alt:t.name,onError:()=>{this.errorImages=[...this.errorImages,e]},src:t.imageUrl,style:{"min-width":"40px"},width:40}):s("img",{alt:t.name,src:o,width:40})),s("td",{class:"zonos--column zonos--cart-item-name"},s("div",null,a.map((o=>s("zonos-text",{type:"semiBoldLabel"},o))))))})))))}static get assetsDirs(){return["assets"]}};l.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:first-child{width:48px}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px;-webkit-box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);border-radius:10px}";const m=class{constructor(t){o(this,t),this.spacing=24}render(){return s(e,{key:"1b810737fd49ee23a1d9ce845049efa6782f5a16",style:{"--spacing":`${this.spacing}px`,"--zonos--font-family":r()}},s("slot",{key:"64b114c99ecd5d6b953e5ce77f7d2a820f32cd36"}))}};m.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--spacing, 24px)}";const c=class{constructor(t){o(this,t),this.skeletonWidth="100%",this.skeletonHeight="14px"}render(){return s(e,{key:"ba8efa50f345f97a2cf905068ff2d8d05557209e",class:i(["zonos--elements zonos--skeleton"]),style:h({"--zonos--skeleton-height":this.skeletonHeight,"--zonos--skeleton-width":this.skeletonWidth})})}};c.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:inline-block;background:var(--zonos-elements-gray-200);border-radius:var(--zonos-elements-radius-12);width:var(--zonos--skeleton-width);height:var(--zonos--skeleton-height);min-height:var(--zonos--skeleton-height);max-width:100%}";export{l as zonos_collect_cart_items,m as zonos_h_stack,c as zonos_skeleton}
1
+ import{r as o,e as t,h as s,a as e}from"./p-_lt63o7c.js";import{d as a}from"./p-FRWZayxL.js";import{c as n}from"./p-ByGDytaN.js";import{a as r}from"./p-W82paT5F.js";import{c as i}from"./p-BJHSB96f.js";import{s as h}from"./p-BTIeCf3T.js";import"./p-clDfq9AL.js";import"./p-DE4a-QD5.js";import"./p-BJmZPrZl.js";import"./p-YdrG78th.js";import"./p-C_z9WL8a.js";import"./p-Cye-evFK.js";const l=class{constructor(t){o(this,t),this.errorImages=[]}render(){const o=t("./assets/empty-item.jpeg"),r=a.items.filter((o=>!o.isRestricted));return s(e,{key:"5a60fed50f3e58629cb85103d9c0ba52a3b88aa0",class:"zonos--collect-cart-items zonos--elements"},s("table",{key:"b1c10fa45ebe5404354284d64abb6460242f1463",class:"zonos--cart-table"},s("tbody",{key:"1306747328419b524058be1cb04b6c0098c9ea89"},r.map((t=>{const e=t.imageUrl,a=n(t.name);return s("tr",{class:"zonos--collect-cart-item"},s("td",{class:"zonos--column zonos--cart-item-image"},e&&!this.errorImages.includes(e)?s("img",{alt:t.name,onError:()=>{this.errorImages=[...this.errorImages,e]},src:t.imageUrl,style:{"min-width":"40px"},width:40}):s("img",{alt:t.name,src:o,width:40})),s("td",{class:"zonos--column zonos--cart-item-name"},s("div",null,a.map((o=>s("zonos-text",{type:"semiBoldLabel"},o))))))})))))}static get assetsDirs(){return["assets"]}};l.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:first-child{width:48px}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px;-webkit-box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);border-radius:10px}";const m=class{constructor(t){o(this,t),this.spacing=24}render(){return s(e,{key:"1b810737fd49ee23a1d9ce845049efa6782f5a16",style:{"--spacing":`${this.spacing}px`,"--zonos--font-family":r()}},s("slot",{key:"64b114c99ecd5d6b953e5ce77f7d2a820f32cd36"}))}};m.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--spacing, 24px)}";const c=class{constructor(t){o(this,t),this.skeletonWidth="100%",this.skeletonHeight="14px"}render(){return s(e,{key:"ba8efa50f345f97a2cf905068ff2d8d05557209e",class:i(["zonos--elements zonos--skeleton"]),style:h({"--zonos--skeleton-height":this.skeletonHeight,"--zonos--skeleton-width":this.skeletonWidth})})}};c.style=":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:inline-block;background:var(--zonos-elements-gray-200);border-radius:var(--zonos-elements-radius-12);width:var(--zonos--skeleton-width);height:var(--zonos--skeleton-height);min-height:var(--zonos--skeleton-height);max-width:100%}";export{l as zonos_collect_cart_items,m as zonos_h_stack,c as zonos_skeleton}
@@ -1,4 +1,4 @@
1
- System.register(["./p-CIevpRv_.system.js","./p-CPnR_T0a.system.js","./p-C2j7R11h.system.js","./p-BbgqQIHv.system.js"],(function(t){"use strict";var o,s,e,n,i,r;return{setters:[function(t){o=t.r;s=t.h;e=t.e;n=t.a},function(t){i=t.a},function(t){r=t.c},null],execute:function(){var a=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--zonos--filter-color);filter:var(--zonos--filter-color);width:var(--zonos--width)}"};var h=t("zonos_logo",/** @class */function(){function t(t){o(this,t);
1
+ System.register(["./p-CIevpRv_.system.js","./p-BuU_p5DP.system.js","./p-C2j7R11h.system.js","./p-BbgqQIHv.system.js"],(function(t){"use strict";var o,s,e,n,i,r;return{setters:[function(t){o=t.r;s=t.h;e=t.e;n=t.a},function(t){i=t.a},function(t){r=t.c},null],execute:function(){var a=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--zonos--filter-color);filter:var(--zonos--filter-color);width:var(--zonos--width)}"};var h=t("zonos_logo",/** @class */function(){function t(t){o(this,t);
2
2
  /**
3
3
  * Theme to change the color of the logo
4
4
  */this.theme="LIGHT";