@zonos/elements 1.3.219 → 1.3.221

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 (274) hide show
  1. package/dist/cjs/{cart-9a2b32e4.js → cart-9a9ae4b9.js} +2 -2
  2. package/dist/cjs/index.cjs.js +7 -7
  3. package/dist/cjs/{isCollectMobileTablet-7e57fd90.js → isCollectMobileTablet-7a9413e3.js} +12 -9
  4. package/dist/cjs/{localization-b12edb2a.js → localization-0169b27d.js} +1 -1
  5. package/dist/cjs/{paypal-e80871d0.js → paypal-9ee374a0.js} +3 -3
  6. package/dist/cjs/{placeTestOrder-8222fe95.js → placeTestOrder-0dfff170.js} +2 -2
  7. package/dist/cjs/{translationStore-20a6d8bf.js → translationStore-0c67178f.js} +60 -0
  8. package/dist/cjs/zonos-address_11.cjs.entry.js +38 -32
  9. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  10. package/dist/cjs/zonos-banner_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  12. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +11 -14
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +4 -4
  14. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +44 -43
  17. package/dist/cjs/zonos-collect.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  19. package/dist/cjs/zonos-confirm-dialog_2.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-country-select_4.cjs.entry.js +11 -11
  23. package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +14 -6
  24. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  29. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  31. package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
  32. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +0 -3
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  36. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.css +6 -0
  37. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +23 -21
  38. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  39. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.css +3 -0
  40. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  41. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +7 -7
  42. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  43. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  44. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  45. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  46. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  47. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  48. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  49. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  50. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  51. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  52. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  53. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  54. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  55. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  56. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  57. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  58. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  59. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  60. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  61. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  62. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  63. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  64. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  65. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  66. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  67. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  68. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  69. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  70. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  71. package/dist/collection/components/main/zonos-controller.js +1 -1
  72. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  73. package/dist/collection/components/store/checkout/collect.js +10 -7
  74. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  75. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  76. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  77. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  78. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  79. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  80. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  81. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  82. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  83. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  84. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  85. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  86. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  87. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  88. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  89. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  90. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  91. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  92. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  93. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  94. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  95. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  96. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  97. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +13 -7
  98. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +9 -1
  99. package/dist/collection/types/generated/graphql.internal.types.js +10 -0
  100. package/dist/esm/{cart-acf4ebf5.js → cart-b2dd578c.js} +2 -2
  101. package/dist/esm/index.js +7 -7
  102. package/dist/esm/{isCollectMobileTablet-b72b81c5.js → isCollectMobileTablet-7f9a5e2b.js} +12 -9
  103. package/dist/esm/{localization-8646f526.js → localization-d7125e4e.js} +1 -1
  104. package/dist/esm/{paypal-2fa930eb.js → paypal-555bbf1e.js} +3 -3
  105. package/dist/esm/{placeTestOrder-d1ad9cf6.js → placeTestOrder-2d67c1a9.js} +2 -2
  106. package/dist/esm/{translationStore-c9743292.js → translationStore-13502f49.js} +60 -0
  107. package/dist/esm/zonos-address_11.entry.js +38 -32
  108. package/dist/esm/zonos-badge.entry.js +3 -3
  109. package/dist/esm/zonos-banner_2.entry.js +4 -4
  110. package/dist/esm/zonos-button_3.entry.js +3 -3
  111. package/dist/esm/zonos-cart-items_12.entry.js +11 -14
  112. package/dist/esm/zonos-checkout.entry.js +4 -4
  113. package/dist/esm/zonos-collapse.entry.js +2 -2
  114. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  115. package/dist/esm/zonos-collect-finish_6.entry.js +44 -43
  116. package/dist/esm/zonos-collect.entry.js +5 -5
  117. package/dist/esm/zonos-component.entry.js +1 -1
  118. package/dist/esm/zonos-confirm-dialog_2.entry.js +5 -5
  119. package/dist/esm/zonos-controller.entry.js +4 -4
  120. package/dist/esm/zonos-country-flag.entry.js +2 -2
  121. package/dist/esm/zonos-country-select_4.entry.js +11 -11
  122. package/dist/esm/zonos-empty-state-payment_4.entry.js +14 -6
  123. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  124. package/dist/esm/zonos-hello.entry.js +2 -2
  125. package/dist/esm/zonos-input.entry.js +4 -4
  126. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  127. package/dist/esm/zonos-link.entry.js +1 -1
  128. package/dist/esm/zonos-logo.entry.js +2 -2
  129. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  130. package/dist/esm/zonos-toggle.entry.js +2 -2
  131. package/dist/esm/zonos-tooltip.entry.js +2 -2
  132. package/dist/esm/zonos-v-stack.entry.js +2 -2
  133. package/dist/esm-es5/{cart-acf4ebf5.js → cart-b2dd578c.js} +1 -1
  134. package/dist/esm-es5/index.js +1 -1
  135. package/dist/esm-es5/isCollectMobileTablet-7f9a5e2b.js +1 -0
  136. package/dist/esm-es5/{localization-8646f526.js → localization-d7125e4e.js} +1 -1
  137. package/dist/esm-es5/{paypal-2fa930eb.js → paypal-555bbf1e.js} +2 -2
  138. package/dist/esm-es5/{placeTestOrder-d1ad9cf6.js → placeTestOrder-2d67c1a9.js} +1 -1
  139. package/dist/esm-es5/translationStore-13502f49.js +1 -0
  140. package/dist/esm-es5/zonos-address_11.entry.js +1 -1
  141. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  142. package/dist/esm-es5/zonos-banner_2.entry.js +1 -1
  143. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  144. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  145. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  146. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  147. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  148. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  149. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  150. package/dist/esm-es5/zonos-component.entry.js +1 -1
  151. package/dist/esm-es5/zonos-confirm-dialog_2.entry.js +1 -1
  152. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  153. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  154. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  155. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
  156. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  157. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  158. package/dist/esm-es5/zonos-input.entry.js +1 -1
  159. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  160. package/dist/esm-es5/zonos-link.entry.js +1 -1
  161. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  162. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  163. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  164. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  165. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  166. package/dist/scripts/index.d.ts +5 -4
  167. package/dist/scripts/index.js +1 -1
  168. package/dist/scripts/loadZonos.js +1 -1
  169. package/dist/scripts/zonos.js +1 -1
  170. package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +1 -0
  171. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  172. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  173. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  174. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  175. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  176. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  177. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  178. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  179. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  180. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  181. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  182. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  183. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  184. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  185. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  186. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  187. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  188. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  189. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  190. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  191. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +1 -1
  192. package/dist/types/types/generated/graphql.internal.types.d.ts +205 -16
  193. package/dist/types/types/generated/graphql.internal.types.ts +218 -16
  194. package/dist/zonos-elements/index.esm.js +1 -1
  195. package/dist/zonos-elements/{p-d045e2e5.entry.js → p-02667a58.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-c3c9b089.entry.js → p-0e07e1d6.entry.js} +1 -1
  197. package/dist/zonos-elements/p-126087a2.system.entry.js +1 -0
  198. package/dist/zonos-elements/{p-03980f76.entry.js → p-14f9bc8c.entry.js} +1 -1
  199. package/dist/zonos-elements/p-27d9abab.js +1 -0
  200. package/dist/zonos-elements/p-2813d72e.system.js +1 -0
  201. package/dist/zonos-elements/{p-10797d2b.system.entry.js → p-295d9c07.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-485416ec.js → p-2a6c964d.js} +1 -1
  203. package/dist/zonos-elements/{p-b12ec9f2.system.entry.js → p-2b3c7c77.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-6696617a.system.entry.js → p-2b8897d1.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-d351ece6.system.entry.js → p-30432622.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-9c0b78bf.system.entry.js → p-3462e9e4.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-23293a0b.entry.js → p-372c2fc5.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-195b33b6.system.entry.js → p-3c1b1be1.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-69fd1b88.js → p-40a4266f.js} +1 -1
  210. package/dist/zonos-elements/{p-f74a6b78.system.entry.js → p-421dfb66.system.entry.js} +1 -1
  211. package/dist/zonos-elements/p-48356573.entry.js +1 -0
  212. package/dist/zonos-elements/{p-009c3ac5.system.entry.js → p-4f8563ad.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-3c9714a8.system.entry.js → p-52d35358.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-d26cffba.entry.js → p-567f7de7.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-f129a83b.system.entry.js → p-637b22ee.system.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-61c2c336.entry.js → p-63a42823.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-8ca25e6c.entry.js → p-6b3a0874.entry.js} +1 -1
  218. package/dist/zonos-elements/p-73c1e91f.js +1 -0
  219. package/dist/zonos-elements/{p-909d36bf.entry.js → p-759ef3ca.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-c8784a01.system.entry.js → p-79d8c3f3.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-2c9381be.entry.js → p-7c4e7651.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-70b81bbc.entry.js → p-7d2d2c94.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-c0a54cf6.system.js → p-7e000a9a.system.js} +1 -1
  224. package/dist/zonos-elements/{p-e455f060.system.entry.js → p-7e5bd9af.system.entry.js} +1 -1
  225. package/dist/zonos-elements/p-7ecbb2cb.entry.js +1 -0
  226. package/dist/zonos-elements/p-81b357f7.system.js +1 -1
  227. package/dist/zonos-elements/{p-f17fde5f.system.js → p-82e88a33.system.js} +1 -1
  228. package/dist/zonos-elements/{p-873b698a.entry.js → p-849b47aa.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-0cec2dd2.system.entry.js → p-8dd47520.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-772ac0b7.js → p-932600b7.js} +1 -1
  231. package/dist/zonos-elements/{p-b1bd9fe7.system.entry.js → p-960e0ab1.system.entry.js} +1 -1
  232. package/dist/zonos-elements/p-9c5b8239.system.js +1 -0
  233. package/dist/zonos-elements/p-9fdd3264.system.entry.js +1 -0
  234. package/dist/zonos-elements/{p-58afbe2b.entry.js → p-a08a005d.entry.js} +1 -1
  235. package/dist/zonos-elements/p-a10de7fb.entry.js +1 -0
  236. package/dist/zonos-elements/{p-23735db6.entry.js → p-a5b0a636.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-dfb92907.entry.js → p-a77ed1b9.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-750b7f32.system.entry.js → p-a800965d.system.entry.js} +1 -1
  239. package/dist/zonos-elements/p-af7b7931.system.entry.js +1 -0
  240. package/dist/zonos-elements/{p-aca272ea.entry.js → p-b3d5bcf9.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-2323ff0f.system.entry.js → p-b669050d.system.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-95461a1b.system.entry.js → p-b9e9b82f.system.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-e2a45188.system.entry.js → p-ba18c5f5.system.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-106ae0f1.entry.js → p-bbf48b31.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-b5406d26.entry.js → p-c4b3c878.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-2cc031b3.js → p-c7b57886.js} +2 -2
  247. package/dist/zonos-elements/{p-a7204d41.entry.js → p-c803753e.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-29499a5f.entry.js → p-cbb01de9.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-6dd63754.system.js → p-ce15d62d.system.js} +1 -1
  250. package/dist/zonos-elements/{p-1fe5d4da.system.entry.js → p-d291e964.system.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-07bea979.system.js → p-d3485a03.system.js} +1 -1
  252. package/dist/zonos-elements/{p-f0be0ca9.system.entry.js → p-de626806.system.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-56ee6d4b.system.entry.js → p-e5388438.system.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-0d6c6a38.entry.js → p-e77b6e42.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-d63696ac.system.js → p-ea8aff21.system.js} +1 -1
  256. package/dist/zonos-elements/{p-34a37ce7.system.entry.js → p-eb6a35ce.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-60c61982.system.entry.js → p-ee6f8c02.system.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-2a9681b4.entry.js → p-f4fa8720.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-26573347.entry.js → p-fa90adb8.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-bfbc081f.entry.js → p-fe7e2dc4.entry.js} +1 -1
  261. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  262. package/package.json +1 -1
  263. package/dist/esm-es5/isCollectMobileTablet-b72b81c5.js +0 -1
  264. package/dist/esm-es5/translationStore-c9743292.js +0 -1
  265. package/dist/zonos-elements/p-5e372fb9.entry.js +0 -1
  266. package/dist/zonos-elements/p-5ff4f9df.system.js +0 -1
  267. package/dist/zonos-elements/p-6761091e.entry.js +0 -1
  268. package/dist/zonos-elements/p-6761286d.js +0 -1
  269. package/dist/zonos-elements/p-6e8aae27.system.entry.js +0 -1
  270. package/dist/zonos-elements/p-81e23f30.system.js +0 -1
  271. package/dist/zonos-elements/p-87e2a777.entry.js +0 -1
  272. package/dist/zonos-elements/p-986ebccc.js +0 -1
  273. package/dist/zonos-elements/p-ddb29c2a.system.entry.js +0 -1
  274. package/dist/zonos-elements/p-eb54ece4.system.entry.js +0 -1
@@ -634,6 +634,9 @@ const stringsArabic = {
634
634
  'Update your address': {
635
635
  value: 'قم بتحديث عنوانك',
636
636
  },
637
+ 'View receipt': {
638
+ value: 'عرض الإيصال',
639
+ },
637
640
  Village: {
638
641
  value: 'قرية',
639
642
  },
@@ -1346,6 +1349,9 @@ const stringsBase = {
1346
1349
  'Update your address': {
1347
1350
  value: 'Update your address',
1348
1351
  },
1352
+ 'View receipt': {
1353
+ value: 'View receipt',
1354
+ },
1349
1355
  Village: {
1350
1356
  value: 'Village',
1351
1357
  },
@@ -2057,6 +2063,9 @@ const stringsChinese = {
2057
2063
  'Update your address': {
2058
2064
  value: '更新您的地址',
2059
2065
  },
2066
+ 'View receipt': {
2067
+ value: '查看收据',
2068
+ },
2060
2069
  Village: {
2061
2070
  value: '村庄',
2062
2071
  },
@@ -2768,6 +2777,9 @@ const stringsDanish = {
2768
2777
  'Update your address': {
2769
2778
  value: 'Opdater din adresse',
2770
2779
  },
2780
+ 'View receipt': {
2781
+ value: 'Se kvittering',
2782
+ },
2771
2783
  Village: {
2772
2784
  value: 'Landsby',
2773
2785
  },
@@ -3479,6 +3491,9 @@ const stringsDutch = {
3479
3491
  'Update your address': {
3480
3492
  value: 'Update uw adres',
3481
3493
  },
3494
+ 'View receipt': {
3495
+ value: 'Bekijk bon',
3496
+ },
3482
3497
  Village: {
3483
3498
  value: 'Dorp',
3484
3499
  },
@@ -4190,6 +4205,9 @@ const stringsFrench = {
4190
4205
  'Update your address': {
4191
4206
  value: 'Mettez à jour votre adresse',
4192
4207
  },
4208
+ 'View receipt': {
4209
+ value: 'Voir le reçu',
4210
+ },
4193
4211
  Village: {
4194
4212
  value: 'Village',
4195
4213
  },
@@ -4901,6 +4919,9 @@ const stringsGerman = {
4901
4919
  'Update your address': {
4902
4920
  value: 'Aktualisieren Sie Ihre Adresse',
4903
4921
  },
4922
+ 'View receipt': {
4923
+ value: 'Beleg anzeigen',
4924
+ },
4904
4925
  Village: {
4905
4926
  value: 'Dorf',
4906
4927
  },
@@ -5612,6 +5633,9 @@ const stringsHebrew = {
5612
5633
  'Update your address': {
5613
5634
  value: 'עדכן את הכתובת שלך',
5614
5635
  },
5636
+ 'View receipt': {
5637
+ value: 'הצג קבלה',
5638
+ },
5615
5639
  Village: {
5616
5640
  value: 'כפר',
5617
5641
  },
@@ -6323,6 +6347,9 @@ const stringsIndonesian = {
6323
6347
  'Update your address': {
6324
6348
  value: 'Perbarui alamat Anda',
6325
6349
  },
6350
+ 'View receipt': {
6351
+ value: 'Lihat tanda terima',
6352
+ },
6326
6353
  Village: {
6327
6354
  value: 'Desa',
6328
6355
  },
@@ -7034,6 +7061,9 @@ const stringsItalian = {
7034
7061
  'Update your address': {
7035
7062
  value: 'Aggiorna il tuo indirizzo',
7036
7063
  },
7064
+ 'View receipt': {
7065
+ value: 'Visualizza ricevuta',
7066
+ },
7037
7067
  Village: {
7038
7068
  value: 'Villaggio',
7039
7069
  },
@@ -7745,6 +7775,9 @@ const stringsJapanese = {
7745
7775
  'Update your address': {
7746
7776
  value: '住所を更新する',
7747
7777
  },
7778
+ 'View receipt': {
7779
+ value: '領収書を見る',
7780
+ },
7748
7781
  Village: {
7749
7782
  value: '村',
7750
7783
  },
@@ -8456,6 +8489,9 @@ const stringsKorean = {
8456
8489
  'Update your address': {
8457
8490
  value: '주소를 업데이트하세요',
8458
8491
  },
8492
+ 'View receipt': {
8493
+ value: '영수증 보기',
8494
+ },
8459
8495
  Village: {
8460
8496
  value: '마을',
8461
8497
  },
@@ -9167,6 +9203,9 @@ const stringsNorwegian = {
9167
9203
  'Update your address': {
9168
9204
  value: 'Oppdater adressen din',
9169
9205
  },
9206
+ 'View receipt': {
9207
+ value: 'Vis kvittering',
9208
+ },
9170
9209
  Village: {
9171
9210
  value: 'Landsby',
9172
9211
  },
@@ -9878,6 +9917,9 @@ const stringsPolish = {
9878
9917
  'Update your address': {
9879
9918
  value: 'Zaktualizuj swój adres',
9880
9919
  },
9920
+ 'View receipt': {
9921
+ value: 'Zobacz paragon',
9922
+ },
9881
9923
  Village: {
9882
9924
  value: 'Wioska',
9883
9925
  },
@@ -10589,6 +10631,9 @@ const stringsPortuguese = {
10589
10631
  'Update your address': {
10590
10632
  value: 'Atualize seu endereço',
10591
10633
  },
10634
+ 'View receipt': {
10635
+ value: 'Ver recibo',
10636
+ },
10592
10637
  Village: {
10593
10638
  value: 'Aldeia',
10594
10639
  },
@@ -11300,6 +11345,9 @@ const stringsRussian = {
11300
11345
  'Update your address': {
11301
11346
  value: 'Обновите ваш адрес',
11302
11347
  },
11348
+ 'View receipt': {
11349
+ value: 'Просмотреть квитанцию',
11350
+ },
11303
11351
  Village: {
11304
11352
  value: 'Деревня',
11305
11353
  },
@@ -12011,6 +12059,9 @@ const stringsSpanish = {
12011
12059
  'Update your address': {
12012
12060
  value: 'Actualiza tu dirección',
12013
12061
  },
12062
+ 'View receipt': {
12063
+ value: 'Ver recibo',
12064
+ },
12014
12065
  Village: {
12015
12066
  value: 'Pueblo',
12016
12067
  },
@@ -12722,6 +12773,9 @@ const stringsSwedish = {
12722
12773
  'Update your address': {
12723
12774
  value: 'Uppdatera din adress',
12724
12775
  },
12776
+ 'View receipt': {
12777
+ value: 'Visa kvitto',
12778
+ },
12725
12779
  Village: {
12726
12780
  value: 'By',
12727
12781
  },
@@ -13433,6 +13487,9 @@ const stringsTurkish = {
13433
13487
  'Update your address': {
13434
13488
  value: 'Adresini güncelle',
13435
13489
  },
13490
+ 'View receipt': {
13491
+ value: 'Makbuzu görüntüle',
13492
+ },
13436
13493
  Village: {
13437
13494
  value: 'Köy',
13438
13495
  },
@@ -14144,6 +14201,9 @@ const stringsVietnamese = {
14144
14201
  'Update your address': {
14145
14202
  value: 'Cập nhật địa chỉ của bạn',
14146
14203
  },
14204
+ 'View receipt': {
14205
+ value: 'Xem biên lai',
14206
+ },
14147
14207
  Village: {
14148
14208
  value: 'Làng',
14149
14209
  },
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-55a03023.js';
2
2
  import { d as debounce_1 } from './debounce-c34d1270.js';
3
3
  import { d as isObject_1, z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-c456b933.js';
4
- import { c as stripeStore, t as trackConversionEvent, J as extractName, A as stripeStoreOnChange, q as stripeStorePrefetchLandedCost, e as cartStore } from './cart-acf4ebf5.js';
5
- import { s as storageStore, n as getFallbackDefaultCountryCode, o as storageStoreOnChange, l as localizationStore } from './localization-8646f526.js';
6
- import { t as translate } from './translationStore-c9743292.js';
4
+ import { c as stripeStore, t as trackConversionEvent, J as extractName, A as stripeStoreOnChange, q as stripeStorePrefetchLandedCost, e as cartStore } from './cart-b2dd578c.js';
5
+ import { s as storageStore, n as getFallbackDefaultCountryCode, o as storageStoreOnChange, l as localizationStore } from './localization-d7125e4e.js';
6
+ import { t as translate } from './translationStore-13502f49.js';
7
7
  import { b as logError, l as log, i as isCheckoutMobile } from './handleFetch-99218189.js';
8
8
  import { s as shouldRenderTaxIdInput, i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './shouldRenderTaxIdInput-8bc112bb.js';
9
9
  import { c as classes } from './classes-0d95c529.js';
@@ -393,11 +393,11 @@ const ZonosAddress$1 = class {
393
393
  this.isAddressFilled = true;
394
394
  }
395
395
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
396
- return (h(Host, { key: 'ef89e6e083ce9c9bed0bed4653cbc40d451456c0', class: classes([
396
+ return (h(Host, { key: '15928518601e48825589ce4de4580263fec6a745', class: classes([
397
397
  'zonos--address',
398
398
  'zonos--elements',
399
399
  `zonos--${this.type}-address`,
400
- ]) }, this.titleText && (h("zonos-text", { key: '62e73e9284617c5e4f78f25f7160bb4e23246554', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), this.renderCompanyNameInput(), this.renderTaxIdInput(), h("div", { key: 'b268422f6e4aa09e74ebac9d3a4c0d7a6594e95e', class: "zonos--address-component" })));
400
+ ]) }, this.titleText && (h("zonos-text", { key: '2e666ed81597ac95d3de575a2d901d083e9100cc', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), this.renderCompanyNameInput(), this.renderTaxIdInput(), h("div", { key: '51aa6d2415bf6c7e067d0565b11a0d2c0629200b', class: "zonos--address-component" })));
401
401
  }
402
402
  get el() { return getElement(this); }
403
403
  static get watchers() { return {
@@ -559,9 +559,9 @@ const ZonosAddressSuggestions = class {
559
559
  return segments;
560
560
  }
561
561
  render() {
562
- return (h(Host, { key: '3f22f5bcf968d02e34fe46101b8ea4cf4e89051f', class: "zonos--address-suggestions", role: "group", style: {
562
+ return (h(Host, { key: '8ef1b971b88cd2280c40e69e1f6824f64e618467', class: "zonos--address-suggestions", role: "group", style: {
563
563
  '--zonos--border-radius': getBorderRadius(),
564
- } }, h("ul", { key: 'fc77bda0480b2b2ef0d2b89cc36413d56f84f90b', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: '0981dd0c7e522605417fb72c61d88bde629fada4', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: 'c307293f2d06cb7ea0e9c8d6ee0dd9b017ff2e5e', class: "powered-by-container" }, h("zonos-text", { key: 'a0776ea17615339f10ea7d623a40d9de90fcdbb4', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: '6ffdc7d0475a8718372c760b51f2128b0b81e78e', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '6c168c20f1906ba4658998c7bd1e0b0eba860da1', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
564
+ } }, h("ul", { key: '383e615d02815aad0f06d468dfcfbef3640fd5f5', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: 'f2e6b766f567b0933263e19666e440cf692f248c', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: 'd629272b98461726f7eda75fde4cf1070946cd70', class: "powered-by-container" }, h("zonos-text", { key: '5b5591b04da2034b783f61394dbdc8f172484972', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: '45352a7ba4314ee1d68c2a53bb722368182283ee', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '506450cf69ef74cde9ed5159633040701994f455', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
565
565
  this.localSuggestions = [];
566
566
  } }))), this.localSuggestions.map(suggestion => (
567
567
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -831,14 +831,14 @@ const ZonosCheckbox = class {
831
831
  customRoundRadius: '4px',
832
832
  overrideBorderStyle: this.borderStyle,
833
833
  });
834
- return (h(Host, { key: 'ed6ed1ac5c6074f98774ada05250e1d983780a70', class: classes(['zonos--elements zonos--checkbox']), style: {
834
+ return (h(Host, { key: 'bef392ce775e35da3f0640dcbb8271437995daa7', class: classes(['zonos--elements zonos--checkbox']), style: {
835
835
  '--zonos--background-color': backgroundColor,
836
836
  '--zonos--border-radius': borderStyle,
837
837
  '--zonos--font-family': zonosStoreFontFamily(),
838
838
  '--zonos--size': `${this.size}px`,
839
- } }, h("label", { key: 'f46fe447e995ca0df8f82046d2a37f31b62df3e2', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: '8708ce90dc7451b5961dff73bf4b5dbedb3c7644', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
839
+ } }, h("label", { key: '059e2eabc4825738a6607cd307694b252ba55905', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: 'a35c086ae478d5ac932608859e6b3250738c870f', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
840
840
  this.checkboxSelected.emit(e.target.checked);
841
- }, type: "checkbox" }), h("span", { key: '22b016bfadb12f57d9bd955b2d0e0179d927c8d3', class: "checkmark-container" }, h("svg", { key: '9a973d0b7179afee009660bc9d92b7b76799b716', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '147c9637eb74a77b65e53d56a9a3ab9551f7dd5e', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '766b3ecb99db3d3b04669141515feed892103211', size: this.fontSize }, this.label)))));
841
+ }, type: "checkbox" }), h("span", { key: '2482799b470a2ef5050709b6de36469ec8321b04', class: "checkmark-container" }, h("svg", { key: '1034db2d054e98fe06688b602346097b3e7c7d9d', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'b926b486910470ea3180a904e8ec5ca2cf8e452f', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '5a31f075fb462c7419597f0d15b5e4a2f4e40148', size: this.fontSize }, this.label)))));
842
842
  }
843
843
  };
844
844
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -1751,10 +1751,10 @@ const ZonosAddress = class {
1751
1751
  this.country = localizationStore.selectedCountryCode;
1752
1752
  }
1753
1753
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
1754
- return (h(Host, { key: '29e26b9b269ea277ae508671f0c63483910ad50b', class: classes([
1754
+ return (h(Host, { key: 'dcddfc6f0c63371c49f223f86a6c00df7ab30eed', class: classes([
1755
1755
  'zonos--address zonos--elements',
1756
1756
  `zonos--${this.type}-address`,
1757
- ]) }, h("zonos-text", { key: 'db6f6cb94da02e5f2c9aca8112ab20e11148281e', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderCustomAddressForm()));
1757
+ ]) }, h("zonos-text", { key: '70139b5412028d5dba2cc51ee8e3a81e182fd19a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderCustomAddressForm()));
1758
1758
  }
1759
1759
  get el() { return getElement(this); }
1760
1760
  static get watchers() { return {
@@ -1864,7 +1864,7 @@ const ZonosDialog = class {
1864
1864
  const borderStyle = getBorderRadius({
1865
1865
  overrideBorderStyle: this.borderStyle,
1866
1866
  });
1867
- return (h(Host, { key: 'ba80fedf4f3e98c4de3d81a36104de00366cbb1a', class: classes([
1867
+ return (h(Host, { key: '6e673f681a3111d8e33c8cf4e8ab0c8f27c75d48', class: classes([
1868
1868
  'zonos--elements',
1869
1869
  this.open && 'open',
1870
1870
  this.isLoading && 'is-loading',
@@ -1876,10 +1876,10 @@ const ZonosDialog = class {
1876
1876
  '--zonos--height': this.height || 'initial',
1877
1877
  '--zonos--min-height': this.minHeight || '500px',
1878
1878
  '--zonos--width': this.width,
1879
- } }, h("div", { key: '7e61114b6ceb1b39a4f0bb1a0719851d4035bfd3', class: "zonos--backdrop" }), h("div", { key: '459a309060ff4ef98cc0eb2a80363394218f07b7', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '3c4299b298ed8eb163ac5a70153347741032726f', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '0cfd40a79ed8916a47eaaa914ef1ccdd623e8efc', class: "zonos--loading" }, h("zonos-spinner", { key: 'ca3aeb6aa6586a01763b6170814e30a325428508', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '61824114fbb326d323ea2dda14ed28209567d4d6', class: "zonos--header" }, this.headerText && (h("h3", { key: '9c4916f1787d0157f130aeb0ca29e2e871d1dfc6', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'e80895fa1d8ea6d945cebb97392c5fb4b6df7c7b', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: '5cfd70cd4c22b44494c4e62ed6c7af0f3a81f955', class: classes([
1879
+ } }, h("div", { key: 'f245de30fb680fd673bd8531f3982b73ed506308', class: "zonos--backdrop" }), h("div", { key: 'ee75ecd48e28f38be08b5db9078c0b3b28b9bd9f', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'ce7d2273f358001b5899ba7a6ea8d5bd91ab55cb', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'e2cd0f877ed4f8b78b549a4aaedf1e67a234b0f7', class: "zonos--loading" }, h("zonos-spinner", { key: 'e0507e5fea599494979287fc4f13a7da08be758b', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '8d6cac393a445febf36cc6fb1811c00223518481', class: "zonos--header" }, this.headerText && (h("h3", { key: 'cb634d14db0a14144a370d66e3d5aa9147914038', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'd11ff8473046b201bad444c9b81a0566dd400829', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: '356588fe85cce5298e4c2e862c31dab3018602a5', class: classes([
1880
1880
  'zonos--body',
1881
1881
  this.noBodyPadding && 'zonos--no-body-padding',
1882
- ]) }, h("slot", { key: 'c5e818b28959cd89c466cc355cba40e56b49be7f' })), h("slot", { key: '4ded95d727eea855fa7af8a1c34fb0de9dfb7fca', name: "dialog-footer" })))));
1882
+ ]) }, h("slot", { key: 'd525f4fab2449a219d42ccb45b4497076b5973c9' })), h("slot", { key: 'febb4e4ab0cb950b3a346052d60fa70ec8346be4', name: "dialog-footer" })))));
1883
1883
  }
1884
1884
  static get assetsDirs() { return ["assets"]; }
1885
1885
  };
@@ -1932,10 +1932,10 @@ const ZonosLinkAuthentication = class {
1932
1932
  watchIsStagingMode() {
1933
1933
  // Wait for the DOM to be ready before re-initializing Link element
1934
1934
  setTimeout(() => {
1935
- this.watchInitStripe();
1935
+ void this.watchInitStripe();
1936
1936
  }, 0);
1937
1937
  }
1938
- watchInitStripe() {
1938
+ async watchInitStripe() {
1939
1939
  if (!this.stripe || !stripeStore.stripeElements) {
1940
1940
  return;
1941
1941
  }
@@ -1943,6 +1943,8 @@ const ZonosLinkAuthentication = class {
1943
1943
  if (cartStore.isStagingMode || !this.clientSecret) {
1944
1944
  return;
1945
1945
  }
1946
+ // Wait for the stripe elements to be ready with the new client secret
1947
+ await new Promise(resolve => setTimeout(resolve, 50));
1946
1948
  const defaultValues = this.defaultEmail
1947
1949
  ? {
1948
1950
  email: this.defaultEmail,
@@ -1990,9 +1992,7 @@ const ZonosLinkAuthentication = class {
1990
1992
  log('Reset stripe link element when default email is changed', 'info', {
1991
1993
  defaultEmail: newDefaultEmail,
1992
1994
  });
1993
- setTimeout(() => {
1994
- void this.watchInitStripe();
1995
- }, 5);
1995
+ void this.watchInitStripe();
1996
1996
  }
1997
1997
  disconnectedCallback() {
1998
1998
  // unsubscribe from store subscriptions
@@ -2003,12 +2003,18 @@ const ZonosLinkAuthentication = class {
2003
2003
  }
2004
2004
  componentDidLoad() {
2005
2005
  this.storeUnsubscribeList = [
2006
- stripeStoreOnChange('stripeElements', () => {
2006
+ stripeStoreOnChange('stripeElements', async () => {
2007
2007
  void this.watchInitStripe();
2008
2008
  }),
2009
+ stripeStoreOnChange('clientSecret', async () => {
2010
+ this.clientSecret = stripeStore.clientSecret;
2011
+ }),
2012
+ stripeStoreOnChange('stripe', async () => {
2013
+ this.stripe = stripeStore.stripe;
2014
+ }),
2009
2015
  ];
2010
2016
  // @Watch doesn't get trigger on initial load
2011
- this.watchInitStripe();
2017
+ void this.watchInitStripe();
2012
2018
  if (!this.defaultEmail) {
2013
2019
  return;
2014
2020
  }
@@ -8075,24 +8081,24 @@ const ZonosStripePhoneInput = class {
8075
8081
  .filter(Boolean)
8076
8082
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
8077
8083
  : [];
8078
- return (h(Host, { key: 'f357f000b98bfd0e23731df7d253ffc47f404c30', class: classes([
8084
+ return (h(Host, { key: 'ed5b02d0f617b0611ecba382cf8447570c3cee76', class: classes([
8079
8085
  'zonos--phone-input zonos--elements',
8080
8086
  isDark && 'dark',
8081
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'cd201f36c0dddac8669ec8272f0fe7ee49b5b0a2', class: classes([
8087
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '8644eb1a24b4a2cdf491a8176f70e2fa35389fa6', class: classes([
8082
8088
  'zonos--label-wrapper',
8083
8089
  this.disabled && 'disabled',
8084
8090
  this.isFocused && 'focused',
8085
8091
  hasContent && 'has-content',
8086
8092
  this.error && 'has-error',
8087
8093
  this.inputLabel && 'has-label',
8088
- ]) }, h("select", { key: '4ce5b03c7d4ac4736af7b11f1823d48c53556558', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
8094
+ ]) }, h("select", { key: '747109b80d3d02778ded01392d853a050f675114', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
8089
8095
  var _a;
8090
8096
  return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
8091
- })), h("div", { key: 'efca78810bebc70a51f49c6f1720168717253b74', class: "zonos--input-group" }, h("div", { key: 'c785838e12d00237cb9a0fff97e1c2b0e2faf692', class: "zonos--select-wrapper" }, h("div", { key: '30d97ae277344d381a2fdf3fedf1f006ce66f801', class: "zonos--country-select" }, h("div", { key: '44d4488d45067e11acb2d8279cdb12eeffddd5c0', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: 'bbeadca415fb4aab84b8fddf92e143df70700444', class: "zonos--country-select-selected" }, h("div", { key: '2aed839d75ebde1c9423e9075ed84e005e8697c3', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'c1117e4b9d58cb1010b95c0aeb8b7fe102b13a2c', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: '63609f20f44a7d8171ece2afc9995c21b1eda697', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'e0c46b926f5cda986793d8e60f49625219a21354', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '3e2ceaf3df3e6767ad25551ae090dcc9288000c2', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), h("div", { key: '10751ee273ad5d6531afc7fb700718605e32cbcd', class: classes([
8097
+ })), h("div", { key: '399beecaead5791d81ffd1db679f5b235c056769', class: "zonos--input-group" }, h("div", { key: '599a287f610935762e3229577bf35cfaee8ffe7f', class: "zonos--select-wrapper" }, h("div", { key: 'a1402a12ffa599e4dd42523696121d0a1cec60b6', class: "zonos--country-select" }, h("div", { key: 'a798cf4e8f4f5cfef5554404c578076f507d0dd2', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '6a0313b6cd969a095002b18830fcbbd104e42570', class: "zonos--country-select-selected" }, h("div", { key: 'b6d2403854632f40dfd23d15b1eb8ef5625e1059', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: '60397bbbbc9c6083064de1427cedeb148f36a35d', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'effc1b9bc5fa1cd832e686b6e87ccac87e41ffb8', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: '8e5aa3603dc4a869ce7335c2903a15903d5e61d4', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '8b9ea89b5234a345d556d06649add11401baa184', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), h("div", { key: '21514d3e3f66095b79eb53e47fff6a98fbf12fba', class: classes([
8092
8098
  'zonos--input-container',
8093
8099
  this.inputLabel && 'has-label',
8094
8100
  hasContent && 'has-content',
8095
- ]) }, h("input", Object.assign({ key: '506609e5191068451bc47968a232846df4c17724' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '35f9894f905c8617564d3fc11f78cd3fbfef7a3c', class: "zonos--floated-label" }, h("label", { key: '9c768de7833455c630803f1ef1b4d7babc4f3cae', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'dd78d93a0ca2ae1384059cb08b839a1573a03e29', textColor: "red-600" }, this.error))));
8101
+ ]) }, h("input", Object.assign({ key: '50421e7a8343203ee623a4e61f957abd115d0495' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '5025154c17fc9145b1b2bf2036ec7796287094ea', class: "zonos--floated-label" }, h("label", { key: '9af81cc3320de319ea84637bbb923c4b81a506d1', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '523df8b2d650663ac43516d8ae9954ffd208c5e8', textColor: "red-600" }, this.error))));
8096
8102
  }
8097
8103
  get el() { return getElement(this); }
8098
8104
  static get watchers() { return {
@@ -8208,14 +8214,14 @@ const ZonosStripeSelect = class {
8208
8214
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
8209
8215
  const hasContent = this.internalValue || this.selectPlaceholder;
8210
8216
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
8211
- return (h(Host, { key: 'bbc6df8df4a9cce0ad94cc48a99cba74ac116873', class: classes([
8217
+ return (h(Host, { key: 'e781d691f1f1f72ceed06c488af7f427ed4f82d0', class: classes([
8212
8218
  'zonos--select zonos--elements',
8213
8219
  isDark && 'dark',
8214
8220
  this.isError && 'has-error',
8215
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '757ff4b0b9be9206d03a917a07cc2af6f43152f5', class: classes([
8221
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '4df83fa9bcb12e94e2d4bba3d6f31a4f56006097', class: classes([
8216
8222
  'zonos--label-wrapper',
8217
8223
  this.isDisabled && 'disabled',
8218
- ]) }, h("select", Object.assign({ key: '1a6cc4dcb3bc97879fb6a78c8323c9d32c0bac6d' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
8224
+ ]) }, h("select", Object.assign({ key: '31daa88fdaeb8a35055b97ade6aa10bbd234568a' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
8219
8225
  'zonos--floated-select',
8220
8226
  !!this.selectLabel && 'has-label',
8221
8227
  hasContent && 'has-content',
@@ -8225,9 +8231,9 @@ const ZonosStripeSelect = class {
8225
8231
  this.selectChange.emit(select.value);
8226
8232
  this.selectedValue = select.value;
8227
8233
  this.el.dispatchEvent(new Event('change'));
8228
- }, required: this.required }), h("option", { key: '1f19c659824019af0a922c8f2ccde33364e0d566', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
8234
+ }, required: this.required }), h("option", { key: '4c5c09493d0e9d38bc56860682c092017dc927ff', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
8229
8235
  // Sometimes google returns the label not the code for some countries
8230
- this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: '88d5729ef8d458d4a925eecb691fafaeaca51dff', class: "zonos--floated-label" }, h("label", { key: '9c8a9f0777649765a725a275c24385742017ea9d', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: 'cfbf4de8d163b8151a3715847c0de73cb44a3104', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: 'b39e96fc0667d2526efbe3af89473801c0c33b89', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: '6f8e626dbcbb17ac103ed9bd9998b3cc6e063d8d', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '13f3cb171d1e4cc0678204a7fdeabcb801b9ef70', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '45c44644373adf202f88629171fdf9d32e6c2871', textColor: "red-600" }, this.error))));
8236
+ this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: 'abe6ea181a207b8b85232226078c92ab1a8b6618', class: "zonos--floated-label" }, h("label", { key: 'c079f2f21289e5ba06906fd7e29b3c8216c6ae01', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '3cad61609828a9b38a4a38625629481c9fb5411e', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: 'f24323bdbd652cff52bec827f3a93a2e343e35c4', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: 'e8fe204b510477855de4dfee29d1200f30c50933', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: 'f071765d705d67b741f9381bbe96e2e8beb0968d', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '7425ced4032df77a7f1219f9c03caedcd1a55841', textColor: "red-600" }, this.error))));
8231
8237
  }
8232
8238
  get el() { return getElement(this); }
8233
8239
  static get watchers() { return {
@@ -46,16 +46,16 @@ const ZonosBadge = class {
46
46
  this.loading = false;
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: '1da500c8477b6f425f2a7ac11a66f598dceba5d0', class: classes(['zonos--elements zonos--badge']), style: {
49
+ return (h(Host, { key: '5213d69a38c0e00d02d4c85d499ee5b5ca5a929c', class: classes(['zonos--elements zonos--badge']), style: {
50
50
  '--zonos--font-family': zonosStoreFontFamily(),
51
- } }, h("div", { key: 'b3692740733f6d0745164763b334d8ca06a25220', class: classes([
51
+ } }, h("div", { key: '178886813185320c971444c181a4fe0e8b57d7e3', class: classes([
52
52
  'zonos--badge-content',
53
53
  this.badgeColor,
54
54
  this.rounded && 'rounded',
55
55
  this.iconRight && 'icon-right',
56
56
  this.size,
57
57
  this.bold && 'bold',
58
- ]) }, this.icon, h("zonos-text", { key: '4db8c88a1f0623f3dd575529b787eff8e5fcc8da', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'bd288d8425236a176b33f71710ee7ecaf952a0e9' })), this.dismissHandler && (h("zonos-icon", { key: '095187937379f1df13b2ff09178ed0b7847fc2ee', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
58
+ ]) }, this.icon, h("zonos-text", { key: '6e75ee5fbbbe62b2d2c875a4866f33060dd9618b', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'b6c1dcd8b29f1c99dc2cbd37d944ad8af3267713' })), this.dismissHandler && (h("zonos-icon", { key: '232d8056ee38962614267def07647c3f52246f0d', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
59
59
  }
60
60
  };
61
61
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -94,16 +94,16 @@ const ZonosCard = class {
94
94
  customRoundRadius: `${this.borderRadius}px`,
95
95
  overrideBorderStyle: 'ROUNDED',
96
96
  });
97
- return (h(Host, { key: '78d54ed310efdfe81e04b74ec950035399db94bd', style: {
97
+ return (h(Host, { key: '9423d1472ed313f50c5f4ecc61251025ac6083ed', style: {
98
98
  '--zonos--font-family': zonosStoreFontFamily(),
99
- } }, h("div", { key: 'd32389820440988adb75b0fcd5b4e3da766d00d7', class: classes(['styled-card']), style: {
99
+ } }, h("div", { key: '7d2506d2fa9297dce93676bd09dd854a84f27db3', class: classes(['styled-card']), style: {
100
100
  '--zonos--background-color': backgroundColor,
101
101
  '--zonos--border-radius': borderRadius,
102
102
  padding: this.spacing,
103
- } }, this.label && (h("header", { key: '4f68ebe6493cb839ad863ab663a12480cbdcbb52', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '85aece20f1a0028be6e1839ea87caff7a2f07973', type: "subheader" }, this.label), h("h-stack", { key: '54342a00a12daddda98948d7905de77e3754625a', spacing: 8 }, this.actions))), h("slot", { key: '8fc09c873f0c9437d334c0b374aa778fa7b54ab9' }), (this.footerActions || this.footerContent) && (h("footer", { key: '70a2d11a92149e38c5ad3f3c393c2f13d4b4d356', class: "card-footer", style: {
103
+ } }, this.label && (h("header", { key: '81e381540ecbd5c398e5cabf6626d701569e16e5', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '7929725b31dec41dbab855daa3bd7ae97fb00eb3', type: "subheader" }, this.label), h("h-stack", { key: 'c69fe767e575b3aaf824eb355d7bb35e395ba77a', spacing: 8 }, this.actions))), h("slot", { key: 'ada30bc1760b957a817e0982e46f3def97974297' }), (this.footerActions || this.footerContent) && (h("footer", { key: '854c3d583cb293f5c064af87e839641a5201c900', class: "card-footer", style: {
104
104
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
105
105
  padding: this.spacing,
106
- } }, h("div", { key: 'a6cb5f0d7700072ad00437d17772611219bd871e' }, this.footerContent), h("h-stack", { key: '88b62d9969204756c26b27da1575059894e491a9', spacing: 8 }, this.footerActions))))));
106
+ } }, h("div", { key: '0a799500938f8d04a8551134b21fe18a05f93de0' }, this.footerContent), h("h-stack", { key: '927b51384452ab01b28da02c9a83256ab7dc6991', spacing: 8 }, this.footerActions))))));
107
107
  }
108
108
  };
109
109
  ZonosCard.style = ZonosCardStyle0;
@@ -207,13 +207,13 @@ const ZonosButton = class {
207
207
  const borderStyle = getBorderRadius({
208
208
  overrideBorderStyle: this.borderStyle,
209
209
  });
210
- return (h(Host, { key: 'aa9addffbd4d082cd46259078b2d6b02bf79e0b2', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
210
+ return (h(Host, { key: 'd44e5db9b123906c2435285d23d0d05b6c15d8b3', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
211
211
  '--zonos--background-color': backgroundColor,
212
212
  '--zonos--border-radius': borderStyle,
213
213
  '--zonos--color': color,
214
214
  '--zonos--font-family': zonosStoreFontFamily(),
215
215
  '--zonos--font-weight': this.bold ? 'bold' : 'normal',
216
- }) }, h("button", Object.assign({ key: 'afc39851d100fee8868d1977e19e0cca59c493ac' }, this.inheritedAttributes, { class: classes([
216
+ }) }, h("button", Object.assign({ key: 'a937efb3d014fd8f5501fcde7c3c2f0cb33439aa' }, this.inheritedAttributes, { class: classes([
217
217
  this.hasIcon && 'has-icon',
218
218
  this.hasContent && 'has-content',
219
219
  this.noBackground && 'no-background',
@@ -228,7 +228,7 @@ const ZonosButton = class {
228
228
  backgroundColor && variant === 'standard' && 'override-background',
229
229
  ]), disabled: disabled, style: {
230
230
  justifyContent: this.justifyContent,
231
- } }), this.loading && (h("div", { key: '2bedbc66b1e3aa14217ee9043cd8b49c60fe7e02', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '0f0cc196919a08927fc18a384a2722cc3020220f', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'fec8347641037537c56399970f840c064d0363df', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
231
+ } }), this.loading && (h("div", { key: '09292867f621fd3e04313494809e59254a353403', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: '250912ac9cc2ba4d9d5db8fdc67fa6009d5ea7ac', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '0695250725aff37526e6ea4f94456a368b873c59', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
232
232
  }
233
233
  static get delegatesFocus() { return true; }
234
234
  get ele() { return getElement(this); }
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, d as getAssetPath, h, H as Host, F as Fragment, c as createEvent, a as getElement } from './index-55a03023.js';
2
- import { e as cartStore, D as cartStoreHasOneEligibleItem, E as stripeStoreApplyPromoCode, F as stripeStoreRemovePromoCode, c as stripeStore, y as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, G as stripeStoreResetPromoCode, H as stripeStoreMessageBasedOnStatus, r as cartStoreNextStep, I as stripeStoreTranslateAddressToLatin, J as extractName, K as cartStoreOnChange, L as stripeStoreAsyncAddressUpdate, C as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo, N as cartStoreGetMethod, O as sortServiceLevelOptionsByAmount } from './cart-acf4ebf5.js';
3
- import { t as translate } from './translationStore-c9743292.js';
4
- import { r as renderCheckoutCurrency, p as placeTestOrder } from './placeTestOrder-d1ad9cf6.js';
2
+ import { e as cartStore, D as cartStoreHasOneEligibleItem, E as stripeStoreApplyPromoCode, F as stripeStoreRemovePromoCode, c as stripeStore, y as stripeStoreReset, d as stripeStoreRetrievePayment, t as trackConversionEvent, G as stripeStoreResetPromoCode, H as stripeStoreMessageBasedOnStatus, r as cartStoreNextStep, I as stripeStoreTranslateAddressToLatin, J as extractName, K as cartStoreOnChange, L as stripeStoreAsyncAddressUpdate, C as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo, N as cartStoreGetMethod, O as sortServiceLevelOptionsByAmount } from './cart-b2dd578c.js';
3
+ import { t as translate } from './translationStore-13502f49.js';
4
+ import { r as renderCheckoutCurrency, p as placeTestOrder } from './placeTestOrder-2d67c1a9.js';
5
5
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-b5b18743.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
7
  import { z as zonosStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-c456b933.js';
8
- import { s as submitGtag, c as paypalStoreReset, a as paypalStore, i as isContrastColor } from './paypal-2fa930eb.js';
9
- import { s as storageStore, l as localizationStore, c as localizationStoreOnChange } from './localization-8646f526.js';
8
+ import { s as submitGtag, c as paypalStoreReset, a as paypalStore, i as isContrastColor } from './paypal-555bbf1e.js';
9
+ import { s as storageStore, l as localizationStore, c as localizationStoreOnChange } from './localization-d7125e4e.js';
10
10
  import { h as handleFetch, l as log, s as sendErrorLog, d as allLogs, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-99218189.js';
11
11
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
12
12
  import { g as getBorderRadius } from './getBorderRadius-87593ff4.js';
@@ -837,9 +837,6 @@ const ZonosCheckoutPayment = class {
837
837
  if (!stripeStore.stripeElements) {
838
838
  return null;
839
839
  }
840
- if (!stripeStore.clientSecret && !cartStore.isStagingMode) {
841
- return null;
842
- }
843
840
  // start validate on typing after error banner is shown, and hide it if the form is complete
844
841
  if (this.showErrorBanner) {
845
842
  this.showErrorBanner = !this.handleValidate();
@@ -1021,17 +1018,17 @@ const ZonosCheckoutProgressTabs = class {
1021
1018
  color: labelSelectedColor,
1022
1019
  })
1023
1020
  : labelSelectedColor;
1024
- return (h(Host, { key: 'bf2f6ea302aafa40c5b1a763b89bffc47389b7ac', class: "zonos--elements", style: {
1021
+ return (h(Host, { key: '1db73e8a63f5eef955430c64e6f86d941619b9f6', class: "zonos--elements", style: {
1025
1022
  '--zonos--color': contrastLabelColor,
1026
1023
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1027
- } }, h("div", { key: '043adfc8805b027604880284a99148c9ea06e67b', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1024
+ } }, h("div", { key: 'a580a08d71465c78699d40f7d65a423366262d6e', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1028
1025
  const isSelected = tab.value === selectedStep;
1029
1026
  return (h("button", { "aria-label": `Tab ${tab.label}`, class: classes([
1030
1027
  'zonos--tab-item',
1031
1028
  tab.value === selectedStep && 'selected',
1032
1029
  tab.isDone && 'done',
1033
1030
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
1034
- })), h("div", { key: '991d64c7d79e4e4207e395ec8a3b9b2096e51c6a', class: "zonos--tab-progress" }, h("div", { key: '22471019b9e920af6d35976dd71b0954cc785b62', class: "zonos--progress-bar-fill" }))));
1031
+ })), h("div", { key: 'f3285aaaeefbb16c79b656576dc49c73483fedd8', class: "zonos--tab-progress" }, h("div", { key: '74ee5173069a4269c35724a9121d9c343bd13950', class: "zonos--progress-bar-fill" }))));
1035
1032
  }
1036
1033
  static get assetsDirs() { return ["assets"]; }
1037
1034
  get ele() { return getElement(this); }
@@ -1567,11 +1564,11 @@ const ZonosRestState = class {
1567
1564
  }
1568
1565
  render() {
1569
1566
  const imageUrl = this.getImageRestState();
1570
- return (h(Host, { key: '1259c56e28646e85893b129c22402e9d7cfe18f8', class: classes(['zonos--elements zonos--restState']), style: {
1567
+ return (h(Host, { key: '4dd1bf92f89b6433673643621d4d2e91c32dc9c0', class: classes(['zonos--elements zonos--restState']), style: {
1571
1568
  '--zonos--font-family': zonosStoreFontFamily(),
1572
- } }, h("div", { key: '3cba2e86f4952f5d2a171017ad1f6eaa62aacc6a', class: "zonos--restState-image" }, h("img", { key: '8f656c89ef030c1eddec8cd95d6a15df889c6ed2', alt: this.restStateType, onError: () => {
1569
+ } }, h("div", { key: '1635b6b084c26f973405a863c898087f7805af4a', class: "zonos--restState-image" }, h("img", { key: '305262852c1bc4df2fae58e9d18fe9ef48108155', alt: this.restStateType, onError: () => {
1573
1570
  this.isErrorImageLoad = true;
1574
- }, src: imageUrl })), h("div", { key: '963cf06ac769d8b3bfeb7b36824cb1b6821b5498', class: "content" }, h("zonos-text", { key: 'dacc2d0c125d41e5a72c57a5b611789bb005fc46', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '32db4bc138b4cc6c5fab3fd6aa14b51c31ffaf80', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '28f933f06737ac076d2da9dcc1530f01ddb93575', class: "action" }, h("slot", { key: 'd974a157a01c4e2305255fc4032868e86af162b5' }))));
1571
+ }, src: imageUrl })), h("div", { key: 'b25da09d4d56ab01b5bcb1d219337a94208e8272', class: "content" }, h("zonos-text", { key: '1d0bfb2cd2473df240fb6f54eb1329a7aa34009f', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '7dd2da6e10a7e07649534673f7a5b630e1e98a91', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '1ccb01b392f0bca4687a3a1b0fe7a55e6fac69a2', class: "action" }, h("slot", { key: 'f8200baab65872d4c4c28e53c791f6fc406199e5' }))));
1575
1572
  }
1576
1573
  static get assetsDirs() { return ["assets"]; }
1577
1574
  };
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, F as Fragment } from './index-55a03023.js';
2
- import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreCleanupDomesticShippingSession, b as stripeStoreSaveDomesticShippingSession, c as stripeStore, i as initStripeElements, d as stripeStoreRetrievePayment, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreUpdateCheckoutSessionBaseCurrency, v as stripeStoreHandleInventoryCheck, w as stripeStoreConfirmPayment, x as stripeStoreHandleInventoryRefund, y as stripeStoreReset } from './cart-acf4ebf5.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalStore, b as paypalInitScript } from './paypal-2fa930eb.js';
4
- import { f as filterValidTests, l as localizationStore, a as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, b as storageStoreSetEnabledVariantTestKeys, c as localizationStoreOnChange, d as currencyFormat } from './localization-8646f526.js';
5
- import { t as translate } from './translationStore-c9743292.js';
2
+ import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreCleanupDomesticShippingSession, b as stripeStoreSaveDomesticShippingSession, c as stripeStore, i as initStripeElements, d as stripeStoreRetrievePayment, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreUpdateCheckoutSessionBaseCurrency, v as stripeStoreHandleInventoryCheck, w as stripeStoreConfirmPayment, x as stripeStoreHandleInventoryRefund, y as stripeStoreReset } from './cart-b2dd578c.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitGtag, a as paypalStore, b as paypalInitScript } from './paypal-555bbf1e.js';
4
+ import { f as filterValidTests, l as localizationStore, a as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, b as storageStoreSetEnabledVariantTestKeys, c as localizationStoreOnChange, d as currencyFormat } from './localization-d7125e4e.js';
5
+ import { t as translate } from './translationStore-13502f49.js';
6
6
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-c456b933.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-c4488f73.js';
8
8
  import { h as handleFetch, l as log, b as logError, s as sendErrorLog, c as getElapsedTime, d as allLogs, e as getAdditionalLogMetadata, g as getIsTestMode, j as jsonParse, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-99218189.js';
@@ -53,10 +53,10 @@ const ZonosCollapse = class {
53
53
  // set overflow to hidden to prevent content from showing when collapsed
54
54
  this.el.style.overflow = 'hidden';
55
55
  }
56
- return (h(Host, { key: '617e4c1a39bae3c5765ba05c6c7d3585c1822aea', class: 'zonos--elements zonos--collapse', style: {
56
+ return (h(Host, { key: 'c63b825021f8aaf17727e37072c3701e4a55b992', class: 'zonos--elements zonos--collapse', style: {
57
57
  '--zonos--font-family': zonosStoreFontFamily(),
58
58
  height: this.getElementHeight(),
59
- } }, h("div", { key: 'a4ef3763a3b2d802faacd4cc12dc84cfe9ad55a5' }, h("iframe", { key: 'f44ea760cb5c088241a737bd9b82ae0eac22f426', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'c01b886c941c6c50753d50cec244701c9854e589' }))));
59
+ } }, h("div", { key: 'bc51b1a1318b0934c752ae74dfeae8d5f43f1a63' }, h("iframe", { key: '0bb69f8aaa5c095bc90f2210fab3770491867754', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '64fdc09e82d28f57fd081578ebd2a3523760c7c7' }))));
60
60
  }
61
61
  get el() { return getElement(this); }
62
62
  };