@zonos/elements 1.3.263 → 1.3.264

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 (266) hide show
  1. package/dist/cjs/{cart-02a93797.js → cart-d4486651.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-751ef38b.js → hasInclusivePrice-40358cb1.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-215b8d2b.js → invoice-600fa2a4.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-0d909501.js → isCollectMobileTablet-f56566ef.js} +2 -2
  6. package/dist/cjs/{localization-68ebf7c6.js → localization-06cc0379.js} +15 -1
  7. package/dist/cjs/{paypal-f8a0cca3.js → paypal-52c4a4d4.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-ce734b60.js → placeTestOrder-7c88197a.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-d163c1c4.js → renderCheckoutCurrency-2ebeff09.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
  12. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  15. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +17 -15
  16. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-checkout.cjs.entry.js +210 -60
  18. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  20. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +22 -20
  21. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -11
  26. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  30. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +17 -15
  31. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  32. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  33. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  34. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  36. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  37. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  38. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +5 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +52 -0
  42. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  43. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  44. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +5 -0
  45. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +5 -3
  46. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  47. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  48. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  49. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  50. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +5 -0
  51. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +5 -3
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  53. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  54. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  55. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  56. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  57. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  58. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  59. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  60. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  61. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  62. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  63. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  64. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  65. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  66. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  67. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  68. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  69. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  70. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  71. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  72. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  73. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  74. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  75. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  76. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  77. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  78. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  79. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  80. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  81. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +5 -0
  82. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -2
  83. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  84. package/dist/collection/components/main/zonos-controller.js +1 -1
  85. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  87. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  88. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  89. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  90. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +1 -1
  91. package/dist/collection/components/utils/checkout/getBigCommerceCustomerAddresses.js +99 -0
  92. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +15 -0
  93. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  94. package/dist/esm/{cart-34b11708.js → cart-41f41429.js} +1 -1
  95. package/dist/esm/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  96. package/dist/esm/index.js +7 -7
  97. package/dist/esm/{invoice-6d8bdf21.js → invoice-e6721745.js} +2 -2
  98. package/dist/esm/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-d02bb448.js} +2 -2
  99. package/dist/esm/{localization-2e523b35.js → localization-ee06df70.js} +15 -1
  100. package/dist/esm/{paypal-d3b3d967.js → paypal-ac74241f.js} +2 -2
  101. package/dist/esm/{placeTestOrder-e1d6dfcd.js → placeTestOrder-0416d327.js} +2 -2
  102. package/dist/esm/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-99da51f5.js} +2 -2
  103. package/dist/esm/zonos-address-display_8.entry.js +19 -19
  104. package/dist/esm/zonos-address_4.entry.js +8 -8
  105. package/dist/esm/zonos-badge.entry.js +3 -3
  106. package/dist/esm/zonos-button_3.entry.js +3 -3
  107. package/dist/esm/zonos-card_5.entry.js +9 -9
  108. package/dist/esm/zonos-cart-items_12.entry.js +17 -15
  109. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  110. package/dist/esm/zonos-checkout.entry.js +211 -61
  111. package/dist/esm/zonos-collapse.entry.js +2 -2
  112. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  113. package/dist/esm/zonos-collect-finish_6.entry.js +22 -20
  114. package/dist/esm/zonos-collect.entry.js +4 -4
  115. package/dist/esm/zonos-component.entry.js +1 -1
  116. package/dist/esm/zonos-controller.entry.js +3 -3
  117. package/dist/esm/zonos-country-flag.entry.js +1 -1
  118. package/dist/esm/zonos-country-select_4.entry.js +13 -11
  119. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  120. package/dist/esm/zonos-hello.entry.js +1 -1
  121. package/dist/esm/zonos-input.entry.js +4 -4
  122. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  123. package/dist/esm/zonos-invoice-finish_5.entry.js +17 -15
  124. package/dist/esm/zonos-invoice.entry.js +4 -4
  125. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  126. package/dist/esm/zonos-link.entry.js +1 -1
  127. package/dist/esm/zonos-logo.entry.js +2 -2
  128. package/dist/esm/zonos-store-credit.entry.js +3 -3
  129. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  130. package/dist/esm/zonos-tooltip.entry.js +2 -2
  131. package/dist/esm/zonos-v-stack.entry.js +2 -2
  132. package/dist/esm-es5/{cart-34b11708.js → cart-41f41429.js} +1 -1
  133. package/dist/esm-es5/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  134. package/dist/esm-es5/index.js +1 -1
  135. package/dist/esm-es5/{invoice-6d8bdf21.js → invoice-e6721745.js} +1 -1
  136. package/dist/esm-es5/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-d02bb448.js} +1 -1
  137. package/dist/esm-es5/{localization-2e523b35.js → localization-ee06df70.js} +1 -1
  138. package/dist/esm-es5/{paypal-d3b3d967.js → paypal-ac74241f.js} +1 -1
  139. package/dist/esm-es5/{placeTestOrder-e1d6dfcd.js → placeTestOrder-0416d327.js} +1 -1
  140. package/dist/esm-es5/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-99da51f5.js} +1 -1
  141. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  142. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  143. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  144. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  146. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  147. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  148. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  149. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  150. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  151. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  152. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  153. package/dist/esm-es5/zonos-component.entry.js +1 -1
  154. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  155. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  156. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  157. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  158. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  159. package/dist/esm-es5/zonos-input.entry.js +1 -1
  160. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  161. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  162. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  163. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  164. package/dist/esm-es5/zonos-link.entry.js +1 -1
  165. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  166. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  167. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  168. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  169. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  170. package/dist/scripts/index.js +1 -1
  171. package/dist/scripts/loadZonos.js +1 -1
  172. package/dist/scripts/zonos.js +1 -1
  173. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  174. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +22 -11
  175. package/dist/types/components/utils/checkout/getBigCommerceCustomerAddresses.d.ts +26 -0
  176. package/dist/zonos-elements/index.esm.js +1 -1
  177. package/dist/zonos-elements/{p-17b6f9ff.system.entry.js → p-0529a06b.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-227a1ecc.system.js → p-076ca381.system.js} +1 -1
  179. package/dist/zonos-elements/{p-bccae0df.entry.js → p-07cdff18.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-dc71be6f.system.entry.js → p-0914b8a1.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-155b4425.entry.js → p-0b4ba025.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-c361d520.system.entry.js → p-0f9a04fe.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-c2b86522.js → p-14ce8e3a.js} +1 -1
  184. package/dist/zonos-elements/{p-a3936c44.system.entry.js → p-15f70aae.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-b1c76c38.system.entry.js → p-16948eea.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-5290d104.entry.js → p-1ed2827f.entry.js} +1 -1
  187. package/dist/zonos-elements/p-20e0c24e.entry.js +1 -0
  188. package/dist/zonos-elements/{p-5496e9ae.system.js → p-24aae506.system.js} +1 -1
  189. package/dist/zonos-elements/{p-92f40018.system.entry.js → p-2555ba6b.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-1f107c84.entry.js → p-258c0551.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-30b19a4e.system.entry.js → p-274a7c0e.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-fb87172c.entry.js → p-283ffaad.entry.js} +1 -1
  193. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  194. package/dist/zonos-elements/{p-25b5ac23.system.entry.js → p-2c027b67.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-2fc253b3.js +1 -0
  196. package/dist/zonos-elements/{p-e06936f4.entry.js → p-32ecece3.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-de44cccd.system.entry.js → p-349bdc03.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-adeaa7cf.entry.js → p-34dc7755.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-356b2068.js → p-37f47658.js} +1 -1
  200. package/dist/zonos-elements/{p-9c5cce08.system.entry.js → p-3a23ec5f.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-3bc1adb7.entry.js +1 -0
  202. package/dist/zonos-elements/p-41f2e301.entry.js +1 -0
  203. package/dist/zonos-elements/{p-a50d095f.js → p-4220556e.js} +1 -1
  204. package/dist/zonos-elements/{p-926c33b1.system.entry.js → p-42518502.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-2b40fab2.entry.js → p-52077d7c.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-70c485df.js → p-551dd2e0.js} +1 -1
  207. package/dist/zonos-elements/{p-5d32f10f.system.entry.js → p-5678c044.system.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-15161658.entry.js → p-59aa5785.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-20e1a5a0.entry.js → p-66edcaa4.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-b8710131.entry.js → p-6b9ad020.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a076cf7f.system.js → p-721069c3.system.js} +1 -1
  212. package/dist/zonos-elements/{p-501d16ad.system.entry.js → p-72833da8.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-96f8cea8.entry.js → p-7564d199.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-8331aa21.system.entry.js → p-79f3c227.system.entry.js} +1 -1
  215. package/dist/zonos-elements/p-84c7cae6.system.entry.js +1 -0
  216. package/dist/zonos-elements/{p-0f3b9ed7.entry.js → p-86ed51fd.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-73765370.system.entry.js → p-88596f27.system.entry.js} +1 -1
  218. package/dist/zonos-elements/p-8a01157e.system.entry.js +1 -0
  219. package/dist/zonos-elements/{p-7e313e45.entry.js → p-8a21ed2d.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-191661c6.system.entry.js → p-90a19f4c.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-562fbdab.js → p-90d19cb6.js} +1 -1
  222. package/dist/zonos-elements/{p-024a4af5.entry.js → p-9288878f.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-2381985c.entry.js → p-92a14180.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-22a8b44b.system.js → p-98c53c77.system.js} +1 -1
  225. package/dist/zonos-elements/{p-7297f6bd.system.entry.js → p-9da832b2.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-1c1149ff.js → p-9eff0691.js} +1 -1
  227. package/dist/zonos-elements/{p-47a58a38.system.entry.js → p-9f18348f.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-1b5d90ee.system.entry.js → p-a2e9b2aa.system.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-51c60875.system.entry.js → p-a5f5993f.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-65ea8ae4.js → p-a901d002.js} +1 -1
  231. package/dist/zonos-elements/{p-fe5303d1.entry.js → p-ab73cbed.entry.js} +1 -1
  232. package/dist/zonos-elements/p-b0526805.system.entry.js +1 -0
  233. package/dist/zonos-elements/{p-bee55d71.entry.js → p-b13d56b9.entry.js} +1 -1
  234. package/dist/zonos-elements/p-b32cd0c5.system.js +1 -0
  235. package/dist/zonos-elements/{p-f440cd53.entry.js → p-b4b23475.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-7b6e65d6.system.js → p-b65bca4b.system.js} +1 -1
  237. package/dist/zonos-elements/p-ba7cf5e8.system.entry.js +1 -0
  238. package/dist/zonos-elements/{p-45ceb26f.system.entry.js → p-c0fffa75.system.entry.js} +1 -1
  239. package/dist/zonos-elements/p-c52bc5ad.system.entry.js +1 -0
  240. package/dist/zonos-elements/{p-07c228a7.entry.js → p-cc481c69.entry.js} +1 -1
  241. package/dist/zonos-elements/p-ccc4f69b.entry.js +1 -0
  242. package/dist/zonos-elements/{p-60a391b8.system.js → p-ce855245.system.js} +1 -1
  243. package/dist/zonos-elements/{p-4d776228.entry.js → p-d1ff24f5.entry.js} +1 -1
  244. package/dist/zonos-elements/p-d6b49830.entry.js +1 -0
  245. package/dist/zonos-elements/{p-b2d462f9.system.js → p-db607fc3.system.js} +1 -1
  246. package/dist/zonos-elements/{p-4d0b8897.system.js → p-dea75665.system.js} +1 -1
  247. package/dist/zonos-elements/{p-6a11cccc.system.entry.js → p-e3bc3917.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-e0ea6e24.entry.js → p-e5582c35.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-7dbac3ae.system.entry.js → p-e6cc5a25.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-3ae1a543.entry.js → p-f546bd7d.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-235ee1d3.entry.js → p-f9c715ad.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-50a15e3d.system.entry.js → p-fb684748.system.entry.js} +1 -1
  253. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  254. package/package.json +1 -1
  255. package/dist/zonos-elements/p-06d8f294.entry.js +0 -1
  256. package/dist/zonos-elements/p-1fb6b787.entry.js +0 -1
  257. package/dist/zonos-elements/p-3baf98a0.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-4039b72d.system.entry.js +0 -1
  259. package/dist/zonos-elements/p-5834833a.entry.js +0 -1
  260. package/dist/zonos-elements/p-5aa86f9c.entry.js +0 -1
  261. package/dist/zonos-elements/p-79a7998f.system.entry.js +0 -1
  262. package/dist/zonos-elements/p-8603fb37.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-97f0eda6.system.js +0 -1
  264. package/dist/zonos-elements/p-c4d057b0.js +0 -1
  265. package/dist/zonos-elements/p-cda0b441.entry.js +0 -1
  266. package/dist/zonos-elements/p-e4792f63.system.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0662b95f.js');
4
- const localization = require('./localization-68ebf7c6.js');
4
+ const localization = require('./localization-06cc0379.js');
5
5
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const isDarkColor = require('./isDarkColor-e317bb06.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const localization = require('./localization-68ebf7c6.js');
3
+ const localization = require('./localization-06cc0379.js');
4
4
 
5
5
  /**
6
6
  * Since the backend and the frontend are using the same keys,
@@ -133,7 +133,7 @@ const getZonosQaUrl = () => {
133
133
  return null;
134
134
  }
135
135
  const qaUrl = extractZonosQaUrl(window.location.href);
136
- const cdnUrl = "https://v1.3.263.js.zonos.com";
136
+ const cdnUrl = "https://v1.3.264.js.zonos.com";
137
137
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
138
138
  if (!qaUrl &&
139
139
  (cdnUrl.includes('test.') ||
@@ -381,10 +381,10 @@ const zonosLoadUrl = (() => {
381
381
  return null;
382
382
  })();
383
383
  const startLoadTime = Date.now();
384
- const ZONOS_URL = "https://v1.3.263.js.zonos.com";
385
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.263";
386
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.263";
387
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.263";
384
+ const ZONOS_URL = "https://v1.3.264.js.zonos.com";
385
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.264";
386
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.264";
387
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.264";
388
388
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
389
389
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
390
390
  class Zonos {
@@ -402,7 +402,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
402
402
  ? new URLSearchParams(window.location.search).get('iframeLogType')
403
403
  : null;
404
404
  Zonos.isBigCommerce = false;
405
- Zonos.releaseDate = "1778693622367";
405
+ Zonos.releaseDate = "1779124061433";
406
406
  Zonos.isLegacyCheckout = false;
407
407
  Zonos.googleAnalyticId = null;
408
408
  Zonos.googleAnalyticReady = false;
@@ -427,7 +427,7 @@ Zonos.isNpm = true;
427
427
  Zonos.zonosQaUrl = null;
428
428
  Zonos.zonosQaUrlApi = null;
429
429
  Zonos.trackEventLogs = [];
430
- Zonos.version = `v${"1.3.263"}`;
430
+ Zonos.version = `v${"1.3.264"}`;
431
431
  Zonos.modeAlerted = false;
432
432
  Zonos.cartData = null;
433
433
  Zonos.paypal = null;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0662b95f.js');
4
- const cart = require('./cart-02a93797.js');
5
- const localization = require('./localization-68ebf7c6.js');
4
+ const cart = require('./cart-d4486651.js');
5
+ const localization = require('./localization-06cc0379.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0662b95f.js');
4
- const cart = require('./cart-02a93797.js');
5
- const localization = require('./localization-68ebf7c6.js');
4
+ const cart = require('./cart-d4486651.js');
5
+ const localization = require('./localization-06cc0379.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
8
8
 
@@ -16852,7 +16852,7 @@ const currencyFormat = ({ amount, currency, }) => {
16852
16852
  return result;
16853
16853
  }
16854
16854
  const currencyDisplay = (overrideCurrencyFormat === null || overrideCurrencyFormat === void 0 ? void 0 : overrideCurrencyFormat.currencyDisplay) || 'symbol';
16855
- const formattedNumber = new Intl.NumberFormat(window.navigator.language, {
16855
+ const formattedNumber = new Intl.NumberFormat(zonosStore.zonosStore.sourceCurrency === 'AUD' ? 'en-AU' : window.navigator.language, {
16856
16856
  currency: targetCurrency,
16857
16857
  currencyDisplay,
16858
16858
  minimumFractionDigits: minimumFractionDigits,
@@ -17081,6 +17081,20 @@ const currencyDisplay = () => {
17081
17081
  void removeBlurCurrency();
17082
17082
  return;
17083
17083
  }
17084
+ // BigCommerce renders prices server-side using its native currency selector
17085
+ // (exposed via `document.body.dataset.currencyCode`). When that currency
17086
+ // differs from `zonosStore.sourceCurrency`, the DOM amounts are not in the
17087
+ // currency Hello would convert *from* — running conversion would double-
17088
+ // convert and produce wrong prices.
17089
+ if (window.Zonos.isBigCommerce) {
17090
+ const bigcommerceCurrencyCode = document.body.dataset.currencyCode;
17091
+ if (bigcommerceCurrencyCode &&
17092
+ bigcommerceCurrencyCode !== zonosStore.zonosStore.sourceCurrency) {
17093
+ VarianceTest.log(`Skipping Hello currency conversion: BigCommerce native currency "${bigcommerceCurrencyCode}" does not match sourceCurrency "${zonosStore.zonosStore.sourceCurrency}".`, 'info');
17094
+ void removeBlurCurrency();
17095
+ return;
17096
+ }
17097
+ }
17084
17098
  defaultCurrencyConverter();
17085
17099
  };
17086
17100
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-0662b95f.js');
4
- const cart = require('./cart-02a93797.js');
5
- const localization = require('./localization-68ebf7c6.js');
4
+ const cart = require('./cart-d4486651.js');
5
+ const localization = require('./localization-06cc0379.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const isContrastColor = require('./isContrastColor-a02c4889.js');
8
8
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-02a93797.js');
4
- const localization = require('./localization-68ebf7c6.js');
3
+ const cart = require('./cart-d4486651.js');
4
+ const localization = require('./localization-06cc0379.js');
5
5
  const handleFetch = require('./handleFetch-954f30e1.js');
6
6
 
7
7
  const placeTestOrder = async () => {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-02a93797.js');
4
- const localization = require('./localization-68ebf7c6.js');
3
+ const cart = require('./cart-d4486651.js');
4
+ const localization = require('./localization-06cc0379.js');
5
5
 
6
6
  const getDisplayCurrency = () => {
7
7
  var _a, _b;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-68ebf7c6.js');
6
+ const localization = require('./localization-06cc0379.js');
7
7
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
8
- const cart = require('./cart-02a93797.js');
8
+ const cart = require('./cart-d4486651.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
11
11
  const zonosStore = require('./zonosStore-0662b95f.js');
@@ -170,9 +170,9 @@ const ZonosAddressSuggestions = class {
170
170
  return segments;
171
171
  }
172
172
  render() {
173
- return (index.h(index.Host, { key: 'fe92e3ac70b644dbacda2cfc56e2676ac34632cc', class: "zonos--address-suggestions", role: "group", style: {
173
+ return (index.h(index.Host, { key: '95f0fa0a1a5eb62ae2f08f305216a365f166af96', class: "zonos--address-suggestions", role: "group", style: {
174
174
  '--zonos--border-radius': getBorderRadius.getBorderRadius(),
175
- } }, index.h("ul", { key: 'c042e5d4f563ace9631f3a9d4ad3dd3c9e12cc35', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'b68deb87d190d53b597085f7503c838e0a089227', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: '4dac7702de58610364ad031a181c33d135ec2b1f', class: "powered-by-container" }, index.h("zonos-text", { key: '74e97d754914267d43e39740ea48634ddcb87355', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: 'f2771fd3f18665eb414b653740930afe1bb42e4e', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: '657f036bec0ad31091b83be9927036362f6607a6', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
175
+ } }, index.h("ul", { key: 'd76493f93428da65b645b8bf16ee82b780b2eb97', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'b7d4a61c717a2df1057a81ff2e6517a0b7a7869a', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: '0dca2094920653d6205dd79e717290536e7ae1c9', class: "powered-by-container" }, index.h("zonos-text", { key: 'baa29ec5e43286d4df28eb418c7b2ccc4bf7d1e7', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: '2b544408cc75a9c50750072b1efb63e4cd4f1323', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: '939ba84809ce8f113a8d13cc75cb8a3c23013847', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
176
176
  this.localSuggestions = [];
177
177
  } }))), this.localSuggestions.map(suggestion => (
178
178
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
@@ -1316,10 +1316,10 @@ const ZonosAddress = class {
1316
1316
  this.country = localization.localizationStore.selectedCountryCode;
1317
1317
  }
1318
1318
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
1319
- return (index.h(index.Host, { key: '4874639006b452cc6a2b5e5beabbe97fe7a0fde5', class: classes.classes([
1319
+ return (index.h(index.Host, { key: 'ce15e47889c185c72b9f79327ebbd24950da1811', class: classes.classes([
1320
1320
  'zonos--address zonos--elements',
1321
1321
  `zonos--${this.type}-address`,
1322
- ]) }, index.h("zonos-text", { key: 'a365f9de88a9f7602e46e1d87aa180d2b51a4079', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("slot", { key: '66146ab6e78cfce499a10aa4d117a64a49a7f886', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1322
+ ]) }, index.h("zonos-text", { key: '91d1a627a89b8114075f5ecc1dff7bd8d52dd0b7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("slot", { key: '1a69664bc17a2d59cff241bbb0917714340e006e', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
1323
1323
  }
1324
1324
  get el() { return index.getElement(this); }
1325
1325
  static get watchers() { return {
@@ -1429,7 +1429,7 @@ const ZonosDialog = class {
1429
1429
  const borderStyle = getBorderRadius.getBorderRadius({
1430
1430
  overrideBorderStyle: this.borderStyle,
1431
1431
  });
1432
- return (index.h(index.Host, { key: 'ea5fe1fbc9cddf1937f5d3d5472e8288ca99a772', class: classes.classes([
1432
+ return (index.h(index.Host, { key: 'a5e865f6ef72282447404923a8c1b9920ead47b1', class: classes.classes([
1433
1433
  'zonos--elements',
1434
1434
  this.open && 'open',
1435
1435
  this.isLoading && 'is-loading',
@@ -1441,10 +1441,10 @@ const ZonosDialog = class {
1441
1441
  '--zonos--height': this.height || 'initial',
1442
1442
  '--zonos--min-height': this.minHeight || '500px',
1443
1443
  '--zonos--width': this.width,
1444
- } }, index.h("div", { key: 'a8086837918088143287c231afc7594157657ea6', class: "zonos--backdrop" }), index.h("div", { key: '2449af1214f4b4d745993ea001b4f1147f3989a7', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: 'f4507a332b704e09fe17c5d73b440c284d83b7d9', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: '1bcb8e243e87611474205d6ecd0490e43eb83383', class: "zonos--loading" }, index.h("zonos-spinner", { key: 'cf7ad545ef370501cf95a7e58736c90b94da7937', size: 30 }), this.loadingTitle && (index.h("zonos-text", { key: '0d9f87e7d1ce303f996c2536f863f1d125f3c040', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (index.h("zonos-text", { key: 'e2a1d073d020b7914a1025024da0841e10bd09fb', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '3de5de755a28433ac8e14c0b7a1940ca6831a2fd', class: "zonos--header" }, this.headerText && (index.h("h3", { key: '89f5eb402ef75a079f6d0e0f87f986d461730727', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: 'fe220b8a93de46c56bebc704e68940c9f70e4cb1', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: '1313249b74777b0394a7a7fca6745add56292086', class: classes.classes([
1444
+ } }, index.h("div", { key: 'de67001c33a779ed467502d3f2300844034f9559', class: "zonos--backdrop" }), index.h("div", { key: 'ebdca7ccb32fcf7b4c60bf3d04b5de38b0668b75', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: '668aa0ed4b56d7a8bfb2c93fbf045b60ae91c3e5', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: '2f7a7471b2665de6c33f194799a890756949a555', class: "zonos--loading" }, index.h("zonos-spinner", { key: '30432f6ab8ca578896138bcdc1bac0ed737fadb1', size: 30 }), this.loadingTitle && (index.h("zonos-text", { key: '17fc6c0e541f62118c6ce9dc5670b7023c99372c', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (index.h("zonos-text", { key: '8f278c76b5109c5b048c8c99f559c41240f2f2c0', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '9967ec60be44a768192afc7afd09064001f2881e', class: "zonos--header" }, this.headerText && (index.h("h3", { key: '12daab9cff11f16b396c8595c76e9e82cea790b2', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: '9ba377e1078166e81b3edb7a6f0925602bd271c5', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: 'a467dd66e0feea9a2e035bf8af6ef4c5d43e88eb', class: classes.classes([
1445
1445
  'zonos--body',
1446
1446
  this.noBodyPadding && 'zonos--no-body-padding',
1447
- ]) }, index.h("slot", { key: '585402b85ac8ef6cfa1b9051049e42edd645d99d' })), index.h("slot", { key: '3c0d42a12a16ce61786f1531da312403ad70affd', name: "dialog-footer" })))));
1447
+ ]) }, index.h("slot", { key: '7cb10ba057870384afa85d4492a39c2f01766641' })), index.h("slot", { key: 'e8a90958c50234218123ffbc65fe16980a35a169', name: "dialog-footer" })))));
1448
1448
  }
1449
1449
  static get assetsDirs() { return ["assets"]; }
1450
1450
  };
@@ -7180,24 +7180,24 @@ const ZonosStripePhoneInput = class {
7180
7180
  .filter(Boolean)
7181
7181
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
7182
7182
  : [];
7183
- return (index.h(index.Host, { key: '1f200a91b6571a4c113da30e3837ece4b38bc7cb', class: classes.classes([
7183
+ return (index.h(index.Host, { key: 'eb23ab75a61aa94b7d4299f39b77d38ec1cbec20', class: classes.classes([
7184
7184
  'zonos--phone-input zonos--elements',
7185
7185
  isDark && 'dark',
7186
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: 'c4e048ff9e4fb57598033b782f43a82db4729334', class: classes.classes([
7186
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '4690d6346d04820fa677e02483164f1e39c348ad', class: classes.classes([
7187
7187
  'zonos--label-wrapper',
7188
7188
  this.disabled && 'disabled',
7189
7189
  this.isFocused && 'focused',
7190
7190
  hasContent && 'has-content',
7191
7191
  this.error && 'has-error',
7192
7192
  this.inputLabel && 'has-label',
7193
- ]) }, index.h("select", { key: 'a4c1e90dd4490f6895e39d71233c5e05309434b4', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7193
+ ]) }, index.h("select", { key: 'be7fab230afd6e19cb133d13f9d1f946893dd85e', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
7194
7194
  var _a;
7195
7195
  return (index.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, ")"));
7196
- })), index.h("div", { key: 'b56bdb3b9f7acd4a32c9c833c631de2ad74c8b04', class: "zonos--input-group" }, index.h("div", { key: '4babc988f0432df5a622e3fe70be2395625fec4f', class: "zonos--select-wrapper" }, index.h("div", { key: 'afd4d0863e2e4d9c809cf74b267452d23db0db9d', class: "zonos--country-select" }, index.h("div", { key: '6b50899c82c335ea6bc00792f549b059439f80aa', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: 'b2ffde73f454dc7f37598a7992f7e48a98ebe627', class: "zonos--country-select-selected" }, index.h("div", { key: '25573e4a4409cd742aa2557726bafd9b738a250f', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: 'b6ed256e1867d8204144676f254d30ca4535eae1', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: 'd8b0f28d7aa5a0afef1c11603d15b5007e8e81e9', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: 'ea4ab66f550a807ecd4182dfcb803a317fd69074', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: 'ee0818647a08ac39c6cc3594c7c361b6a79681dd', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: 'c02c404700de1d096838449533b419b1e9f95d84', class: classes.classes([
7196
+ })), index.h("div", { key: '2da719a561ed71bdaf6563249ceff2556b6a8323', class: "zonos--input-group" }, index.h("div", { key: 'bb533773af30f0c8c4be47f76ee642fd589a40b6', class: "zonos--select-wrapper" }, index.h("div", { key: '465e9b7b41ba99852cee2a36822e2a753d401337', class: "zonos--country-select" }, index.h("div", { key: '5f2ba6cd1937831f3b5cb61f98d501497534b758', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: '4f5861174efa761ec9285b5e8721b3b46d5979cb', class: "zonos--country-select-selected" }, index.h("div", { key: '47c28fd20118f92c9ee18e82ebdafdf212e6740e', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: '28fae4f5074ca62d7592142878e3c8d48229a83e', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: '9d940039033f7d09b9d6e2ac9f005e3b21060b70', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: '5cbbee5f1405d05717873f287b3b6d3bb0f92ede', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: 'd6c493e07ee068a848e10debda7549f4cd4fc28b', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: '2c4ec88e83d61e0305d53285c8bd5107f98eb15f', class: classes.classes([
7197
7197
  'zonos--input-container',
7198
7198
  this.inputLabel && 'has-label',
7199
7199
  hasContent && 'has-content',
7200
- ]) }, index.h("input", Object.assign({ key: '88b15052fc88329cc1791e4c89e9db171b6b0569' }, 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 && (index.h("div", { key: 'bbaffd11b9d33d28dd363e9110ce884ccc1a9ebe', class: "zonos--floated-label" }, index.h("label", { key: '5cd458d801979127b26407295b95f0d15f5c383d', htmlFor: this.inputId }, this.inputLabel || localization.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: 'f0ef5a5b0762b14007c0df09fff7f7abecd9920b', textColor: "red-600" }, this.error))));
7200
+ ]) }, index.h("input", Object.assign({ key: '434232fdedebf3c4cd6f7e2c70d41a4cd5ad8104' }, 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 && (index.h("div", { key: '4ff0d61108d5cc56381eec6f94a50485c149f360', class: "zonos--floated-label" }, index.h("label", { key: '37db631b0d55253787c0f2d8ae455bbf3ebfc8bb', htmlFor: this.inputId }, this.inputLabel || localization.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: '260b115c3efc9ece71cf31eb24a39efc4c21a64c', textColor: "red-600" }, this.error))));
7201
7201
  }
7202
7202
  get el() { return index.getElement(this); }
7203
7203
  static get watchers() { return {
@@ -7313,14 +7313,14 @@ const ZonosStripeSelect = class {
7313
7313
  const fontSize = zonosStore.zonosStore.appearance.fontSizeInputValue || 16;
7314
7314
  const hasContent = this.internalValue || this.selectPlaceholder;
7315
7315
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
7316
- return (index.h(index.Host, { key: '07b9269eb9130ac91b366369d5db4c49c7fc7be2', class: classes.classes([
7316
+ return (index.h(index.Host, { key: '62511439918e73ea4404c4b077c5da143b1459a7', class: classes.classes([
7317
7317
  'zonos--select zonos--elements',
7318
7318
  isDark && 'dark',
7319
7319
  this.isError && 'has-error',
7320
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '6c82ff92d68ca8b031985af671ad47d4c47c4968', class: classes.classes([
7320
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: 'cc826990fe112f66682e522e2fbbe808b3017537', class: classes.classes([
7321
7321
  'zonos--label-wrapper',
7322
7322
  this.isDisabled && 'disabled',
7323
- ]) }, index.h("select", Object.assign({ key: 'c2df2cfc855706c376a82bfe7c752c58d987aab4' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
7323
+ ]) }, index.h("select", Object.assign({ key: '2803799a7226bf79d173093a4b1773ef57e122f8' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
7324
7324
  'zonos--floated-select',
7325
7325
  !!this.selectLabel && 'has-label',
7326
7326
  hasContent && 'has-content',
@@ -7330,9 +7330,9 @@ const ZonosStripeSelect = class {
7330
7330
  this.selectChange.emit(select.value);
7331
7331
  this.selectedValue = select.value;
7332
7332
  this.el.dispatchEvent(new Event('change'));
7333
- }, required: this.required }), index.h("option", { key: 'aab67935dd68de369fb67749006ec06656e2e187', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || localization.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
7333
+ }, required: this.required }), index.h("option", { key: 'ab93bc1a38ab1c897fc57c1b6a55941c021f6944', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || localization.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
7334
7334
  // Sometimes google returns the label not the code for some countries
7335
- this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: 'a5a10b4a0b690aad09e2b8138b84623eb8a80e2e', class: "zonos--floated-label" }, index.h("label", { key: '98da29b702b07eaea01196cffa306d8c7497ce69', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '03b5847543e1c5a60af23cf5b5b572ed53abdcf9', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: '3a078eb32e3702edd6b084e367d336c994a23284', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: '3783636799756d514fb456005615692bfb03fbe1', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: '7ba276746b986d5cea76f9c53fa4e3d8627d4d35', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: 'b9e3282bd4b44d7f6c113cff1e3746c836ab29dc', textColor: "red-600" }, this.error))));
7335
+ this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: '4d4995d1770bf99e05c0d1b6dbdddbe828f2b3b0', class: "zonos--floated-label" }, index.h("label", { key: '2b352cf1413f4a539c6f62d7df285dbea1629b77', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '707a0df092ed2196fa8e503d79448890a9e36616', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: '83a605fd7d3799a1ce6f4300193c63722f3f8b7e', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: 'da9e65471ec1b4f89119a71db657f06903a11a3d', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: '4b479d3f9fae286e0ebb6290d9954f08982a4e5e', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: '6c9e2fa9747064203763c00f39dbb08fb413cf0c', textColor: "red-600" }, this.error))));
7336
7336
  }
7337
7337
  get el() { return index.getElement(this); }
7338
7338
  static get watchers() { return {
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
6
  const throttle = require('./throttle-8aebac7d.js');
7
- const cart = require('./cart-02a93797.js');
8
- const localization = require('./localization-68ebf7c6.js');
7
+ const cart = require('./cart-d4486651.js');
8
+ const localization = require('./localization-06cc0379.js');
9
9
  const zonosStore = require('./zonosStore-0662b95f.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-b8abf6de.js');
@@ -358,11 +358,11 @@ const ZonosAddress = class {
358
358
  this.isAddressFilled = true;
359
359
  }
360
360
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
361
- return (index.h(index.Host, { key: '300434f0623d886693dc101b47cb5cd5f9503d3e', class: classes.classes([
361
+ return (index.h(index.Host, { key: 'ebba5be32c456e8b71d397db63e666e5d5df1543', class: classes.classes([
362
362
  'zonos--address',
363
363
  'zonos--elements',
364
364
  `zonos--${this.type}-address`,
365
- ]) }, this.titleText && (index.h("zonos-text", { key: 'eb7592c563d728af019db397f4d5e7e9f448f4d7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("slot", { key: 'c9556ead2ad1bf1b462637ae44834dc4f25afa8a', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), index.h("div", { key: 'cecaa1a9b4a176607125106f55b6e4d6cab31705', class: "zonos--address-component" })));
365
+ ]) }, this.titleText && (index.h("zonos-text", { key: '25f15ea17b50ed055eb98b072850296312785b06', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("slot", { key: '631bc324d1bb96fb9e796b38a6da42ef6ca601a3', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), index.h("div", { key: '25f88c72f8fc9b788b042f2df2f1b8085132f683', class: "zonos--address-component" })));
366
366
  }
367
367
  get el() { return index.getElement(this); }
368
368
  static get watchers() { return {
@@ -494,13 +494,13 @@ const ZonosConfirmDialog = class {
494
494
  const borderStyle = getBorderRadius.getBorderRadius();
495
495
  // Get theme for the update dialog, inherit from the theme, no from this component theme
496
496
  const theme = zonosStore.getZonosStoreTheme(zonosStore.zonosStore.appearance.theme);
497
- return (index.h(index.Host, { key: '3f86259272e4aee2cb846ee15cad8e616917b020', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
497
+ return (index.h(index.Host, { key: 'ae8a2dd88cbeeb8865f1ed67eae5d42356359d53', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
498
498
  '--zonos--border-radius': borderStyle,
499
499
  '--zonos--dialog-width': `${this.dialogWidth}px`,
500
500
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
501
- } }, index.h("div", { key: 'e4f146413bfb70c1d7c3629da6830482060f975a', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: '272c6ef86a66a5e61c7fc1753b4b60ce7bc25aee', class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: 'e533b39f91579923dcd725edf8b602cba80b8857', class: "zonos--confirm-dialog", onBlur: () => {
501
+ } }, index.h("div", { key: 'c0622ae7cbbe469554716558eb56c452f9693568', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: '3c42ad4fb2b793d65f564484126a519e97297743', class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: '18b46b2281cdf26b4dce3784b91a0ccd45cde7f2', class: "zonos--confirm-dialog", onBlur: () => {
502
502
  this.focusDialog();
503
- } }, index.h("div", { key: '16c171b80dbee7c033ea35731afa6537222c7458', class: "wrapper" }, index.h("div", { key: '7f3bd95d72a06ecadf22df0a332292050d9907f9', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: 'e234a037041b1fc7b558c841ddc03da940213bd7', class: "content" }, index.h("div", { key: '37492c329f9bd02e199828b57a16de616800d0fc', class: "title" }, index.h("zonos-text", { key: 'd935e67d0004c8f5c925082f222cff4e95568b6a', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: '58acbdb5ace31ece6d900f21637dab17aa797ad8', class: "subtitle" }, index.h("zonos-text", { key: '981f15fc921e9d2ff2749fea94f21859cbf51fe3', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: '07e17ccc316ee180a72705f1d76a9c6f2927bfd7', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '6b1b270b13c1a274e93d33ef4c1ca6798499c5c2', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || localization.translate('Cancel'))), index.h("zonos-button", { key: 'befd3b801cb8cf5b41c3c74e8947f2977aa77ce1', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
503
+ } }, index.h("div", { key: '9455881ea4d3c557b4de814235b0f66519e6fc6b', class: "wrapper" }, index.h("div", { key: '51f52ec83eb9fdbe1af20fdb0d149ce291597468', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: 'cdd954985d40e509eab4c15d063e1e7c9ebec839', class: "content" }, index.h("div", { key: '0ffddb684d1c33d421e2bf077fec01dba934a1e4', class: "title" }, index.h("zonos-text", { key: '5d778ebc6795ca69caf7df33503b6ec8ea3636c0', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: 'fab99060495ebeb545477e06417816c7fc8f9f3c', class: "subtitle" }, index.h("zonos-text", { key: 'c4baa52a5b53497db336018f62d5999e298d3ccf', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: '5d92f093bd1ee37ee54c4e771e73a1d2b6b7bb39', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '0aa3788620a75732d72fca23c16b6b1a2fb694a0', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || localization.translate('Cancel'))), index.h("zonos-button", { key: 'a7195241b38061b363cae7b99828b714c96dbbff', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
504
504
  }
505
505
  static get assetsDirs() { return ["assets"]; }
506
506
  get el() { return index.getElement(this); }
@@ -734,7 +734,7 @@ const ZonosLoadingOverlay = class {
734
734
  this.size = 40;
735
735
  }
736
736
  render() {
737
- return (index.h(index.Host, { key: '2307e7f2b5db43fa4625097a96fd9182b5a1c729', class: classes.classes(['zonos--elements', this.open && 'zonos--open']) }, index.h("div", { key: '9c7aa8101410becb1341bc2d602638fbccff2dbf', class: "zonos--loading-overlay" }, index.h("zonos-spinner", { key: 'ebf5db2566052ee898d8d09aaeceb664a8e264e2', size: this.size, spinnerColor: this.spinnerColor }))));
737
+ return (index.h(index.Host, { key: '3f830d0014a8988893b2cbde578035b1b8727ac5', class: classes.classes(['zonos--elements', this.open && 'zonos--open']) }, index.h("div", { key: '84371b0bb118aef5c4ec5e1c6903d699d5402c14', class: "zonos--loading-overlay" }, index.h("zonos-spinner", { key: 'cf53766a1bbdf7433c5f7a1cf46e00bbd63f08b3', size: this.size, spinnerColor: this.spinnerColor }))));
738
738
  }
739
739
  };
740
740
  ZonosLoadingOverlay.style = ZonosLoadingOverlayStyle0;
@@ -50,16 +50,16 @@ const ZonosBadge = class {
50
50
  this.loading = false;
51
51
  }
52
52
  render() {
53
- return (index.h(index.Host, { key: 'dabf6b5d9c4585f9fe62b69655c3043c5d51eb6e', class: classes.classes(['zonos--elements zonos--badge']), style: {
53
+ return (index.h(index.Host, { key: '76d8a0655e3d4009085f34ea0cbc56c180076081', class: classes.classes(['zonos--elements zonos--badge']), style: {
54
54
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
55
- } }, index.h("div", { key: '4603e1dbcb6760ae1a18d008cbffc9acc8b1b444', class: classes.classes([
55
+ } }, index.h("div", { key: 'c512b84c92030ad81f1a6180304fd79c2a3c3708', class: classes.classes([
56
56
  'zonos--badge-content',
57
57
  this.badgeColor,
58
58
  this.rounded && 'rounded',
59
59
  this.iconRight && 'icon-right',
60
60
  this.size,
61
61
  this.bold && 'bold',
62
- ]) }, this.icon, index.h("zonos-text", { key: '5d70287727ff5681be1d2f4f0faf32ba39899b4b', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: 'e3ea93273daccab2b37f8240b29041e485d8bcef' })), this.dismissHandler && (index.h("zonos-icon", { key: '5c09bc191f5ae6f9fe18da4ed15c9f60bab58b03', "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); } })))));
62
+ ]) }, this.icon, index.h("zonos-text", { key: '680812e8220ca3ad0a18a90c5bb614b5fea13c38', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: 'e939a288add6c2936746ed4b40721d13c38e793c' })), this.dismissHandler && (index.h("zonos-icon", { key: 'fddf84b6af4dda95c6937273d6168fc17290d747', "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); } })))));
63
63
  }
64
64
  };
65
65
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -211,13 +211,13 @@ const ZonosButton = class {
211
211
  const borderStyle = getBorderRadius.getBorderRadius({
212
212
  overrideBorderStyle: this.borderStyle,
213
213
  });
214
- return (index.h(index.Host, { key: 'b816d7ac8f86b6256d017de9a7049c008cbfd973', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
214
+ return (index.h(index.Host, { key: '0e8c9eaa41b5769793e8b598e675f74e76061a7d', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
215
215
  '--zonos--background-color': backgroundColor,
216
216
  '--zonos--border-radius': borderStyle,
217
217
  '--zonos--color': color,
218
218
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
219
219
  '--zonos--font-weight': this.bold ? 'bold' : 'normal',
220
- }) }, index.h("button", Object.assign({ key: 'ddc1bba069df9e03db22fdfb77fe1118e84d0744' }, this.inheritedAttributes, { class: classes.classes([
220
+ }) }, index.h("button", Object.assign({ key: '5de21db7f0fb00f327ffb9d9da450269e8493b43' }, this.inheritedAttributes, { class: classes.classes([
221
221
  this.hasIcon && 'has-icon',
222
222
  this.hasContent && 'has-content',
223
223
  this.noBackground && 'no-background',
@@ -232,7 +232,7 @@ const ZonosButton = class {
232
232
  backgroundColor && variant === 'standard' && 'override-background',
233
233
  ]), disabled: disabled, style: {
234
234
  justifyContent: this.justifyContent,
235
- } }), this.loading && (index.h("div", { key: '98c12cd886ada57ae8f571f6a5e1914024198dd5', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '22dee22121fabe21d7c6f02b8b48e83b8c1894a7', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '27cbe56b4c77dd5678a2e6685fc05694ab36cab1', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
235
+ } }), this.loading && (index.h("div", { key: 'ff288d4a7ab7fc79e7e66328e413034e653ddc13', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '14f473f5f16407c020ae6163e5ccba00b6b8ea76', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '3fdd8e722cf4cb730f3227fe0562011af106da28', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
236
236
  }
237
237
  static get delegatesFocus() { return true; }
238
238
  get ele() { return index.getElement(this); }
@@ -6,10 +6,10 @@ const index = require('./index-b1f95d96.js');
6
6
  const zonosStore = require('./zonosStore-0662b95f.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
9
- const cart = require('./cart-02a93797.js');
10
- const localization = require('./localization-68ebf7c6.js');
9
+ const cart = require('./cart-d4486651.js');
10
+ const localization = require('./localization-06cc0379.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
12
- const paypal = require('./paypal-f8a0cca3.js');
12
+ const paypal = require('./paypal-52c4a4d4.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-e317bb06.js');
15
15
  require('./isContrastColor-a02c4889.js');
@@ -39,16 +39,16 @@ const ZonosCard = class {
39
39
  customRoundRadius: `${this.borderRadius}px`,
40
40
  overrideBorderStyle: 'ROUNDED',
41
41
  });
42
- return (index.h(index.Host, { key: '000ef115565050082a6e73e1709e014c66b410b7', style: {
42
+ return (index.h(index.Host, { key: '04b66449d19c5862587b5ef4b2f7cb32524b03bd', style: {
43
43
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
44
- } }, index.h("div", { key: 'c9391737f61c4e555643ead25e927376d4e949ba', class: classes.classes(['styled-card']), style: {
44
+ } }, index.h("div", { key: '218a1def4d384b3bf589e87ca657168de2cea3e5', class: classes.classes(['styled-card']), style: {
45
45
  '--zonos--background-color': backgroundColor,
46
46
  '--zonos--border-radius': borderRadius,
47
47
  padding: this.spacing,
48
- } }, this.label && (index.h("header", { key: '9a23e108d3a53adf878bc50cb4c3927ebd8db4a6', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: 'ea6a44ecec753ff4ff588d2f47843cc242f55f98', type: "subheader" }, this.label), index.h("h-stack", { key: '7da7b584607867884466b311b1c9055c281e3326', spacing: 8 }, this.actions))), index.h("slot", { key: 'd3c458ee2288071bd72bbadc760fa9a0c6333219' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: 'b668c38a177fd5b0d7fe7988d18afe6f40e8082c', class: "card-footer", style: {
48
+ } }, this.label && (index.h("header", { key: 'bc5f2eaa90786860e20e40987df70e0cc9c527bb', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: '90be1e3b9cd28f5a7aacf79c65c56e14a37bc019', type: "subheader" }, this.label), index.h("h-stack", { key: 'c25845c181e02eadca3cacb2d73c7173ba0a1a50', spacing: 8 }, this.actions))), index.h("slot", { key: '1e875f0fc6d86ae7cc5bdcdc0fc509bdcc1e1862' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: '8fdca089c61d02ca14946dc3aaa8cb62c2feae99', class: "card-footer", style: {
49
49
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
50
50
  padding: this.spacing,
51
- } }, index.h("div", { key: '61b13afeac104d27d76f73c0f869104ce5295197' }, this.footerContent), index.h("h-stack", { key: '3cbdc1beb4e3b2129d9e71cb6c4ed94565a20ba9', spacing: 8 }, this.footerActions))))));
51
+ } }, index.h("div", { key: '801f46a84cbb1185185ee35f51bf211f09d5aaee' }, this.footerContent), index.h("h-stack", { key: 'c995fab1c343973cf5da3079b99baa8b11af2903', spacing: 8 }, this.footerActions))))));
52
52
  }
53
53
  };
54
54
  ZonosCard.style = ZonosCardStyle0;
@@ -261,7 +261,7 @@ const ZonosPayment = class {
261
261
  }
262
262
  render() {
263
263
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
264
- return (index.h(index.Host, { key: 'd6aba7a614610a64012ef6636e19b345623141ec', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'edf8c9ee8d7a9ebf87922a49d9b7420efd80b226', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '3d0d7638a309fdf4dc1ab39bb463a0c35add911d', class: "zonos--payment-component" }), index.h("div", { key: 'a79f98f63bad2a7c5023eeb5bb28ae39997ada27', class: "zonos--payment-paypal-container" })));
264
+ return (index.h(index.Host, { key: '6bc25553430c9e23c77a0607ad28dc4c9efa66e6', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'e4ba3f581697a799e50fe066e7cc922a206af8e5', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '0247eecadf083f09b67c5f668da845431234750d', class: "zonos--payment-component" }), index.h("div", { key: '7f63abd0a2c1cbc62f931e44fc44c69b57a4f8ed', class: "zonos--payment-paypal-container" })));
265
265
  }
266
266
  get el() { return index.getElement(this); }
267
267
  static get watchers() { return {
@@ -325,7 +325,7 @@ const ZonosPaypalPayment = class {
325
325
  this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
326
326
  }
327
327
  render() {
328
- return (index.h(index.Host, { key: '5745cd59ad8b81a41f8015438afd036621695bbb', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: 'be5154e55384e2ecd42e2ec6b2be7712fb6ef31b', class: "zonos--payment-paypal-container" })));
328
+ return (index.h(index.Host, { key: 'c01e031b29e0089389be2a16e888bd0b7c24dcd8', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: 'f03c880bde17291f083cfe1f0db6a918f92d720b', class: "zonos--payment-paypal-container" })));
329
329
  }
330
330
  get el() { return index.getElement(this); }
331
331
  };
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-02a93797.js');
7
- const localization = require('./localization-68ebf7c6.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-d163c1c4.js');
6
+ const cart = require('./cart-d4486651.js');
7
+ const localization = require('./localization-06cc0379.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-2ebeff09.js');
9
9
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
10
10
  const classes = require('./classes-b7918f56.js');
11
11
  const zonosStore = require('./zonosStore-0662b95f.js');
12
- const hasInclusivePrice = require('./hasInclusivePrice-751ef38b.js');
13
- const paypal = require('./paypal-f8a0cca3.js');
12
+ const hasInclusivePrice = require('./hasInclusivePrice-40358cb1.js');
13
+ const paypal = require('./paypal-52c4a4d4.js');
14
14
  const handleFetch = require('./handleFetch-954f30e1.js');
15
15
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
16
16
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
17
17
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
18
18
  const ILanguage = require('./ILanguage-98b04442.js');
19
- const placeTestOrder = require('./placeTestOrder-ce734b60.js');
19
+ const placeTestOrder = require('./placeTestOrder-7c88197a.js');
20
20
  const isDarkColor = require('./isDarkColor-e317bb06.js');
21
21
  const getContrastColor = require('./getContrastColor-68058615.js');
22
22
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
@@ -913,6 +913,8 @@ const ZonosCheckoutFinish = class {
913
913
  };
914
914
  ZonosCheckoutFinish.style = ZonosCheckoutFinishStyle0;
915
915
 
916
+ const ChevronDownIcon$1 = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
917
+
916
918
  const Globe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg">
917
919
  <path fill-rule="evenodd" clip-rule="evenodd" d="M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM11.4709 5.80634C11.7686 5.53723 11.9541 5.5 12 5.5C12.0459 5.5 12.2314 5.53723 12.5291 5.80634C12.8115 6.06164 13.1289 6.46913 13.4271 7.03651C13.9505 8.03191 14.3838 9.46098 14.48 11.25H9.51996C9.61624 9.46098 10.0495 8.03191 10.5729 7.03651C10.8711 6.46913 11.1885 6.06164 11.4709 5.80634ZM8.01802 11.25C8.11591 9.23031 8.60319 7.55958 9.24516 6.33849C9.29983 6.23451 9.35585 6.13335 9.41312 6.03514C7.32916 6.94017 5.81218 8.90533 5.5428 11.25H8.01802ZM5.5428 12.75H8.01802C8.11591 14.7697 8.60319 16.4404 9.24516 17.6615C9.29983 17.7655 9.35585 17.8666 9.41312 17.9649C7.32916 17.0598 5.81218 15.0947 5.5428 12.75ZM9.51996 12.75H14.48C14.3838 14.539 13.9505 15.9681 13.4271 16.9635C13.1289 17.5309 12.8115 17.9384 12.5291 18.1937C12.2314 18.4628 12.0459 18.5 12 18.5C11.9541 18.5 11.7686 18.4628 11.4709 18.1937C11.1885 17.9384 10.8711 17.5309 10.5729 16.9635C10.0495 15.9681 9.61624 14.539 9.51996 12.75ZM15.982 12.75C15.8841 14.7697 15.3968 16.4404 14.7548 17.6615C14.7002 17.7655 14.6441 17.8666 14.5869 17.9649C16.6708 17.0598 18.1878 15.0947 18.4572 12.75H15.982ZM18.4572 11.25C18.1878 8.90533 16.6708 6.94017 14.5869 6.03514C14.6441 6.13335 14.7002 6.23451 14.7548 6.33849C15.3968 7.55958 15.8841 9.23031 15.982 11.25H18.4572Z" fill="currentColor"/>
918
920
  </svg>
@@ -930,7 +932,7 @@ const ZonosIconDark = `<svg width="408" height="112" viewBox="0 0 408 112" fill=
930
932
  </svg>
931
933
  `;
932
934
 
933
- const zonosCheckoutFooterCss = ":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:absolute;bottom:-50px;left:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--checkout-footer{width:calc(90vw - 22px);gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;padding-left:0;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:24px}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo a{line-height:0}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper a{text-decoration:none}:host .zonos--checkout-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{gap:4px}}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:2147483011;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar{width:10px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog.zonos--checkout-footer-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host(.mobile){-ms-flex-direction:column;flex-direction:column;gap:32px;background:var(--zonos-elements-gray-0);position:relative;padding-top:24px;bottom:0}:host(.mobile) .zonos--checkout-footer{-ms-flex-direction:column;flex-direction:column;gap:4px}:host(.mobile) .zonos--checkout-locale-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-icon-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-dialog{position:fixed;left:0;right:0;bottom:0;-webkit-transform-origin:bottom center;transform-origin:bottom center;width:100vw}";
935
+ const zonosCheckoutFooterCss = ":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:absolute;bottom:-50px;left:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--checkout-footer{width:calc(90vw - 22px);gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;padding-left:0;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:24px}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo a{line-height:0}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper a{text-decoration:none}:host .zonos--checkout-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{gap:4px}}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper .zonos--checkout-locale-label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:4px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:2147483011;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar{width:10px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog.zonos--checkout-footer-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host(.mobile){-ms-flex-direction:column;flex-direction:column;gap:32px;background:var(--zonos-elements-gray-0);position:relative;padding-top:24px;bottom:0}:host(.mobile) .zonos--checkout-footer{-ms-flex-direction:column;flex-direction:column;gap:4px}:host(.mobile) .zonos--checkout-locale-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-icon-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-dialog{position:fixed;left:0;right:0;bottom:0;-webkit-transform-origin:bottom center;transform-origin:bottom center;width:100vw}";
934
936
  const ZonosCheckoutFooterStyle0 = zonosCheckoutFooterCss;
935
937
 
936
938
  const ZonosCheckoutFooter = class {
@@ -962,10 +964,10 @@ const ZonosCheckoutFooter = class {
962
964
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
963
965
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
964
966
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
965
- return (index.h(index.Host, { key: '2200a14517d5d1dd81b68ecfb60ab6a691ebe581', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: 'bc77f1ea299fa151ba9d4628653d6a3800856e85', class: "zonos--checkout-footer" }, index.h("div", { key: 'e2e9f901e3546a48ba88aca9c0f422785d32f78d', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: '60df35f860aa3c59bfa6f470adab3c882301c529', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), index.h("div", { key: '3d4acf669d35fcbf4364fb56f7a18bb3a8f61e1b', class: classes.classes([
967
+ return (index.h(index.Host, { key: '608a64c8e871bc0544cb80b719c9e11d441e2909', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: '37e6da358ce729c118128d9fae97efed127d83b9', class: "zonos--checkout-footer" }, index.h("div", { key: 'd42eb447dd73073debd6c0d48b766ce31f995b32', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: '3a61cc1647aa2e74d0e1fd5534ae9ff66446ba7a', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '28bfc7ed3b75c9724e951177914f2d874fff27fe', class: "zonos--checkout-locale-label" }, languageLabel, index.h("zonos-icon", { key: 'b082108bcc0b5dded10136056fa1426bb6adda8e', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: 'ddccc795078e5eb55b25cbe5d5a6bf502579cded', class: classes.classes([
966
968
  'zonos--checkout-footer-dialog',
967
969
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
968
- ]) }, index.h("zonos-language-select", { key: '5b32a3d11a725c7af0c358acf9a15c6ec17201ac', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: 'f678c6d76ad122ccbd3e18e6fa9deacd9ec76b93', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: '08cc72da5cbc00bd927828ae1df960a80604519c', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'df8d1727117c28c694c8450d5268895f67b23dff', textColor: colorDesktop }, "Privacy policy")), index.h("div", { key: 'c75b73f3bd573aa2bdd60b7fd05e6b06c8ee8d62', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: 'b57bf8ed2b6498f9cd64d7ab066625376642abda', textColor: colorDesktop }, "Powered by"), index.h("a", { key: 'cd12e10b1e4acd43fea371aad6d74ee8a89f1fbe', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '06465fba84c0c05e330779f522fdcabed817d5de', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
970
+ ]) }, index.h("zonos-language-select", { key: 'c38f3ebb835b15cbfbe624507c0addb8622f65e6', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: 'b4862df1b1f4a27071ad4291891b968d016c7024', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: 'ac15fc57811b44fbe9d6c032f02660bb41bd40f9', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'dc954edc4349a90c41b54348516c6922fe6c5e56', textColor: colorDesktop }, "Privacy policy")), index.h("div", { key: 'f8d5136948a871718cbd73f982b229c8ea46bbf8', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: '2e3542d9d2ddd78ba855858b93ccdeca47269962', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '240abfbd5b86c5d0068cb20305ab3bb39abf22b5', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '7d5fe50373919e4bc22da89b00915e607eb1b9df', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
969
971
  }
970
972
  get el() { return index.getElement(this); }
971
973
  static get watchers() { return {
@@ -1273,17 +1275,17 @@ const ZonosCheckoutProgressTabs = class {
1273
1275
  color: labelSelectedColor,
1274
1276
  })
1275
1277
  : labelSelectedColor;
1276
- return (index.h(index.Host, { key: 'f7ea289329f5f1e5fd1a5fdbd790b581de1666d3', class: "zonos--elements", style: {
1278
+ return (index.h(index.Host, { key: '425c77b4ab1b9a29ada76644a60c2c6f54fa2e28', class: "zonos--elements", style: {
1277
1279
  '--zonos--color': contrastLabelColor,
1278
1280
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1279
- } }, index.h("div", { key: 'c071c27dee5b5ddf7b59cddd6de668b1bd72df2a', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1281
+ } }, index.h("div", { key: 'd8e13a57521242f597c8b8adf7c6f304b3a9d3ce', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1280
1282
  const isSelected = tab.value === selectedStep;
1281
1283
  return (index.h("button", { "aria-label": `Tab ${tab.label}`, class: classes.classes([
1282
1284
  'zonos--tab-item',
1283
1285
  tab.value === selectedStep && 'selected',
1284
1286
  tab.isDone && 'done',
1285
1287
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, index.h("div", { class: "zonos--tab-index" }, index.h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index$1 + 1), index.h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), index.h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, localization.translate(tab.label))));
1286
- })), index.h("div", { key: '9c332b9053d57a05d8db19d179696a8261a1ac94', class: "zonos--tab-progress" }, index.h("div", { key: '3b303b4dd931e4a1d030ecc62cbbabd232354636', class: "zonos--progress-bar-fill" }))));
1288
+ })), index.h("div", { key: '9461341c83a92c810a3cf02f3828610732eecfe2', class: "zonos--tab-progress" }, index.h("div", { key: '142824930f5a8a6ef4fdafc7b39d9a96aa518cff', class: "zonos--progress-bar-fill" }))));
1287
1289
  }
1288
1290
  static get assetsDirs() { return ["assets"]; }
1289
1291
  get ele() { return index.getElement(this); }
@@ -1996,11 +1998,11 @@ const ZonosRestState = class {
1996
1998
  }
1997
1999
  render() {
1998
2000
  const imageUrl = this.getImageRestState();
1999
- return (index.h(index.Host, { key: 'c39228c5a45be0c27fc805859ba896f346f4c7bb', class: classes.classes(['zonos--elements zonos--restState']), style: {
2001
+ return (index.h(index.Host, { key: '70b8901469cba98007780b2dc6cceaa61f96d8ac', class: classes.classes(['zonos--elements zonos--restState']), style: {
2000
2002
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
2001
- } }, index.h("div", { key: '466d38527c50fac57c85b29b6d501139a55c652c', class: "zonos--restState-image" }, index.h("img", { key: '233348dc1fe72c37ac3485dc4ae577b02d44d0cc', alt: this.restStateType, onError: () => {
2003
+ } }, index.h("div", { key: '7903d837e37c843a55aee6211cc2071add4f5a05', class: "zonos--restState-image" }, index.h("img", { key: 'dee0733ab529b004f53d1d69a29a07d7a44a3eea', alt: this.restStateType, onError: () => {
2002
2004
  this.isErrorImageLoad = true;
2003
- }, src: imageUrl })), index.h("div", { key: '0ead09005b4a4e59fcbe5b673ef206d09c6f344f', class: "content" }, index.h("zonos-text", { key: '2f6d50f5562ab86918755b2d20aeab1ba170e0d1', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '9304b2421ac05dea5e8567666dc3fd5c279bf6dd', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: '00323cff6ad4b67a5af980dcbfce5cb0c59150c4', class: "action" }, index.h("slot", { key: '256fc2f99f345d0302d6fa4467b22558723dae7b' }))));
2005
+ }, src: imageUrl })), index.h("div", { key: '612e7d71d5e6bd2e0c37d7c6595b35ea5ca416dd', class: "content" }, index.h("zonos-text", { key: 'c28379a4b4546afa6b323986c092c9538aa66b65', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '309e2e9c5086d0c84ccbe6c695d657d9f8e16da0', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: '7fb9586682d221a311598ee8d294c6daede33e96', class: "action" }, index.h("slot", { key: '87959654a7a3c9c621d633a492627d53ff561fd4' }))));
2004
2006
  }
2005
2007
  static get assetsDirs() { return ["assets"]; }
2006
2008
  };