@zonos/elements 1.3.263 → 1.3.265

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 (283) hide show
  1. package/dist/cjs/{cart-02a93797.js → cart-c325b9e4.js} +2 -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-ac9414df.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-0d909501.js → isCollectMobileTablet-92fa5e8f.js} +2 -2
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{localization-68ebf7c6.js → localization-06cc0379.js} +15 -1
  8. package/dist/cjs/{paypal-f8a0cca3.js → paypal-b52e1f24.js} +2 -2
  9. package/dist/cjs/{placeTestOrder-ce734b60.js → placeTestOrder-d93a6f2b.js} +2 -2
  10. package/dist/cjs/{renderCheckoutCurrency-d163c1c4.js → renderCheckoutCurrency-1f521ea7.js} +2 -2
  11. package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
  12. package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
  13. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  16. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +98 -17
  17. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  18. package/dist/cjs/zonos-checkout.cjs.entry.js +219 -60
  19. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  21. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +22 -20
  22. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  25. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -11
  27. package/dist/cjs/zonos-elements.cjs.js +1 -1
  28. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  29. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  30. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  31. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  32. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +17 -15
  33. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  34. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  35. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  36. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  37. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  38. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  39. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  40. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +9 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +15 -1
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +5 -0
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -2
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +61 -0
  46. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  47. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  48. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +5 -0
  49. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +5 -3
  50. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  51. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  53. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  54. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +5 -0
  55. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +5 -3
  56. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  57. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  58. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  59. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  60. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  61. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  62. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  63. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  64. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  65. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  66. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  67. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  68. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  69. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  70. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  71. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  72. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  73. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  74. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  75. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  76. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  77. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  78. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  79. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  80. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  81. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  82. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  83. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  84. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  85. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +5 -0
  86. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -2
  87. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  88. package/dist/collection/components/main/zonos-controller.js +1 -1
  89. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  90. package/dist/collection/components/store/checkout/cart.js +1 -0
  91. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  92. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  93. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  94. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  95. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +1 -1
  96. package/dist/collection/components/utils/checkout/getBigCommerceCustomerAddresses.js +99 -0
  97. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +15 -0
  98. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  99. package/dist/collection/components/utils/parseLinkedText.js +65 -0
  100. package/dist/esm/{cart-34b11708.js → cart-0625a766.js} +2 -1
  101. package/dist/esm/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  102. package/dist/esm/index.js +7 -7
  103. package/dist/esm/{invoice-6d8bdf21.js → invoice-0daa7f74.js} +2 -2
  104. package/dist/esm/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-8d3fb5f4.js} +2 -2
  105. package/dist/esm/loader.js +1 -1
  106. package/dist/esm/{localization-2e523b35.js → localization-ee06df70.js} +15 -1
  107. package/dist/esm/{paypal-d3b3d967.js → paypal-78c3572c.js} +2 -2
  108. package/dist/esm/{placeTestOrder-e1d6dfcd.js → placeTestOrder-18de7b6f.js} +2 -2
  109. package/dist/esm/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-ba1702db.js} +2 -2
  110. package/dist/esm/zonos-address-display_8.entry.js +19 -19
  111. package/dist/esm/zonos-address_4.entry.js +8 -8
  112. package/dist/esm/zonos-badge.entry.js +3 -3
  113. package/dist/esm/zonos-button_3.entry.js +3 -3
  114. package/dist/esm/zonos-card_5.entry.js +9 -9
  115. package/dist/esm/zonos-cart-items_12.entry.js +98 -17
  116. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  117. package/dist/esm/zonos-checkout.entry.js +220 -61
  118. package/dist/esm/zonos-collapse.entry.js +2 -2
  119. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  120. package/dist/esm/zonos-collect-finish_6.entry.js +22 -20
  121. package/dist/esm/zonos-collect.entry.js +4 -4
  122. package/dist/esm/zonos-component.entry.js +1 -1
  123. package/dist/esm/zonos-controller.entry.js +3 -3
  124. package/dist/esm/zonos-country-flag.entry.js +1 -1
  125. package/dist/esm/zonos-country-select_4.entry.js +13 -11
  126. package/dist/esm/zonos-elements.js +1 -1
  127. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  128. package/dist/esm/zonos-hello.entry.js +1 -1
  129. package/dist/esm/zonos-input.entry.js +4 -4
  130. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  131. package/dist/esm/zonos-invoice-finish_5.entry.js +17 -15
  132. package/dist/esm/zonos-invoice.entry.js +4 -4
  133. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  134. package/dist/esm/zonos-link.entry.js +1 -1
  135. package/dist/esm/zonos-logo.entry.js +2 -2
  136. package/dist/esm/zonos-store-credit.entry.js +3 -3
  137. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  138. package/dist/esm/zonos-tooltip.entry.js +2 -2
  139. package/dist/esm/zonos-v-stack.entry.js +2 -2
  140. package/dist/esm-es5/{cart-34b11708.js → cart-0625a766.js} +1 -1
  141. package/dist/esm-es5/{hasInclusivePrice-dfb21fc9.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  142. package/dist/esm-es5/index.js +1 -1
  143. package/dist/esm-es5/{invoice-6d8bdf21.js → invoice-0daa7f74.js} +1 -1
  144. package/dist/esm-es5/{isCollectMobileTablet-85403c93.js → isCollectMobileTablet-8d3fb5f4.js} +1 -1
  145. package/dist/esm-es5/loader.js +1 -1
  146. package/dist/esm-es5/{localization-2e523b35.js → localization-ee06df70.js} +1 -1
  147. package/dist/esm-es5/{paypal-d3b3d967.js → paypal-78c3572c.js} +1 -1
  148. package/dist/esm-es5/{placeTestOrder-e1d6dfcd.js → placeTestOrder-18de7b6f.js} +1 -1
  149. package/dist/esm-es5/{renderCheckoutCurrency-cc72a6c2.js → renderCheckoutCurrency-ba1702db.js} +1 -1
  150. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  151. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  152. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  153. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  154. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  155. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  156. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  157. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  158. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  159. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  160. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  161. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  162. package/dist/esm-es5/zonos-component.entry.js +1 -1
  163. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  164. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  165. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  166. package/dist/esm-es5/zonos-elements.js +1 -1
  167. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  168. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  169. package/dist/esm-es5/zonos-input.entry.js +1 -1
  170. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  171. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  172. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  173. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  174. package/dist/esm-es5/zonos-link.entry.js +1 -1
  175. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  176. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  177. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  178. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  179. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  180. package/dist/scripts/index.d.ts +6 -0
  181. package/dist/scripts/index.js +1 -1
  182. package/dist/scripts/loadZonos.js +1 -1
  183. package/dist/scripts/zonos.js +1 -1
  184. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +7 -0
  185. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  186. package/dist/types/components/store/checkout/cart.d.ts +5 -0
  187. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +22 -11
  188. package/dist/types/components/utils/checkout/getBigCommerceCustomerAddresses.d.ts +26 -0
  189. package/dist/types/components/utils/parseLinkedText.d.ts +24 -0
  190. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -0
  191. package/dist/zonos-elements/index.esm.js +1 -1
  192. package/dist/zonos-elements/{p-17b6f9ff.system.entry.js → p-0529a06b.system.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-155b4425.entry.js → p-0b4ba025.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-c361d520.system.entry.js → p-0f9a04fe.system.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-2b40fab2.entry.js → p-105b7ebe.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-b1c76c38.system.entry.js → p-16948eea.system.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-dc71be6f.system.entry.js → p-19a1cc70.system.entry.js} +1 -1
  198. package/dist/zonos-elements/p-1ce71a7d.entry.js +1 -0
  199. package/dist/zonos-elements/{p-5290d104.entry.js → p-1ed2827f.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-5496e9ae.system.js → p-24aae506.system.js} +1 -1
  201. package/dist/zonos-elements/{p-92f40018.system.entry.js → p-2555ba6b.system.entry.js} +1 -1
  202. package/dist/zonos-elements/p-26374593.system.entry.js +1 -0
  203. package/dist/zonos-elements/{p-30b19a4e.system.entry.js → p-274a7c0e.system.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-1b5d90ee.system.entry.js → p-281063f4.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-fb87172c.entry.js → p-283ffaad.entry.js} +1 -1
  206. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  207. package/dist/zonos-elements/{p-024a4af5.entry.js → p-30a0aed1.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-e06936f4.entry.js → p-32ecece3.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-de44cccd.system.entry.js → p-349bdc03.system.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-adeaa7cf.entry.js → p-34dc7755.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-c2b86522.js → p-3686190f.js} +1 -1
  212. package/dist/zonos-elements/{p-356b2068.js → p-37f47658.js} +1 -1
  213. package/dist/zonos-elements/{p-9c5cce08.system.entry.js → p-3a23ec5f.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-562fbdab.js → p-3d6ce58a.js} +1 -1
  215. package/dist/zonos-elements/{p-2381985c.entry.js → p-3fbdb83f.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-47a58a38.system.entry.js → p-407b49f1.system.entry.js} +1 -1
  217. package/dist/zonos-elements/p-41f2e301.entry.js +1 -0
  218. package/dist/zonos-elements/{p-926c33b1.system.entry.js → p-42518502.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-6a11cccc.system.entry.js → p-4477556a.system.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-45ceb26f.system.entry.js → p-4a4c3af1.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-bccae0df.entry.js → p-4baa51ef.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-96f8cea8.entry.js → p-5353cfa4.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-5d32f10f.system.entry.js → p-5678c044.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-a3936c44.system.entry.js → p-595e2a7d.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-15161658.entry.js → p-59aa5785.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-227a1ecc.system.js → p-59e16c6f.system.js} +1 -1
  227. package/dist/zonos-elements/{p-a076cf7f.system.js → p-62db5d7c.system.js} +1 -1
  228. package/dist/zonos-elements/{p-20e1a5a0.entry.js → p-66edcaa4.entry.js} +1 -1
  229. package/dist/zonos-elements/p-69e2a7dd.js +1 -0
  230. package/dist/zonos-elements/{p-b8710131.entry.js → p-6b9ad020.entry.js} +1 -1
  231. package/dist/zonos-elements/p-6ef88d96.system.entry.js +1 -0
  232. package/dist/zonos-elements/p-6f8abf4f.js +1 -0
  233. package/dist/zonos-elements/{p-7297f6bd.system.entry.js → p-72058aac.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-501d16ad.system.entry.js → p-72833da8.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-8331aa21.system.entry.js → p-79f3c227.system.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-1f107c84.entry.js → p-7c312bc2.entry.js} +1 -1
  237. package/dist/zonos-elements/p-85cc83e5.system.entry.js +1 -0
  238. package/dist/zonos-elements/{p-0f3b9ed7.entry.js → p-86ed51fd.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-4d0b8897.system.js → p-8753cb36.system.js} +1 -1
  240. package/dist/zonos-elements/p-8a01157e.system.entry.js +1 -0
  241. package/dist/zonos-elements/{p-7e313e45.entry.js → p-8a21ed2d.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-191661c6.system.entry.js → p-90a19f4c.system.entry.js} +1 -1
  243. package/dist/zonos-elements/p-9b2d6f06.entry.js +1 -0
  244. package/dist/zonos-elements/{p-22a8b44b.system.js → p-9bd63d7a.system.js} +1 -1
  245. package/dist/zonos-elements/{p-60a391b8.system.js → p-a054c5eb.system.js} +1 -1
  246. package/dist/zonos-elements/{p-a50d095f.js → p-a52ddeb5.js} +1 -1
  247. package/dist/zonos-elements/{p-51c60875.system.entry.js → p-a5f5993f.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-65ea8ae4.js → p-a901d002.js} +1 -1
  249. package/dist/zonos-elements/{p-73765370.system.entry.js → p-aaf9d8a4.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-3ae1a543.entry.js → p-ac54de99.entry.js} +1 -1
  251. package/dist/zonos-elements/p-b32cd0c5.system.js +1 -0
  252. package/dist/zonos-elements/{p-f440cd53.entry.js → p-b4b23475.entry.js} +1 -1
  253. package/dist/zonos-elements/p-bb0ce525.entry.js +1 -0
  254. package/dist/zonos-elements/p-c3ee352b.entry.js +1 -0
  255. package/dist/zonos-elements/{p-07c228a7.entry.js → p-cc481c69.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-4d776228.entry.js → p-d1ff24f5.entry.js} +1 -1
  257. package/dist/zonos-elements/p-d2b91bb9.entry.js +1 -0
  258. package/dist/zonos-elements/{p-1c1149ff.js → p-dfe45cfd.js} +1 -1
  259. package/dist/zonos-elements/{p-e0ea6e24.entry.js → p-e5582c35.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-7dbac3ae.system.entry.js → p-e6cc5a25.system.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-7b6e65d6.system.js → p-e755ab57.system.js} +1 -1
  262. package/dist/zonos-elements/p-e89a411c.system.entry.js +1 -0
  263. package/dist/zonos-elements/{p-bee55d71.entry.js → p-eaa79ed8.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-25b5ac23.system.entry.js → p-ec6472c9.system.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-b2d462f9.system.js → p-f4f71ae4.system.js} +1 -1
  266. package/dist/zonos-elements/{p-235ee1d3.entry.js → p-f9c715ad.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-50a15e3d.system.entry.js → p-fb684748.system.entry.js} +1 -1
  268. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  269. package/package.json +1 -1
  270. package/dist/zonos-elements/p-06d8f294.entry.js +0 -1
  271. package/dist/zonos-elements/p-1fb6b787.entry.js +0 -1
  272. package/dist/zonos-elements/p-3baf98a0.system.entry.js +0 -1
  273. package/dist/zonos-elements/p-4039b72d.system.entry.js +0 -1
  274. package/dist/zonos-elements/p-5834833a.entry.js +0 -1
  275. package/dist/zonos-elements/p-5aa86f9c.entry.js +0 -1
  276. package/dist/zonos-elements/p-70c485df.js +0 -1
  277. package/dist/zonos-elements/p-79a7998f.system.entry.js +0 -1
  278. package/dist/zonos-elements/p-8603fb37.system.entry.js +0 -1
  279. package/dist/zonos-elements/p-97f0eda6.system.js +0 -1
  280. package/dist/zonos-elements/p-c4d057b0.js +0 -1
  281. package/dist/zonos-elements/p-cda0b441.entry.js +0 -1
  282. package/dist/zonos-elements/p-e4792f63.system.entry.js +0 -1
  283. package/dist/zonos-elements/p-fe5303d1.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { l as localizationStore, t as translate, d as currencyFormat } from './localization-2e523b35.js';
2
+ import { l as localizationStore, t as translate, d as currencyFormat } from './localization-ee06df70.js';
3
3
  import { z as zonosStore } from './zonosStore-9662b071.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
- import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-dfb21fc9.js';
6
+ import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-afc0dd6e.js';
7
7
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
8
8
  import { e as euCountryCodes } from './TaxId-50d72254.js';
9
9
  import './handleFetch-a844cac1.js';
@@ -381,25 +381,25 @@ const ZonosHelloDialog = class {
381
381
  // If deminimis is undefined or null, assume it's $0
382
382
  const taxDeMinimisMessage = this.getTaxMessage();
383
383
  const inclusivePriceMessage = this.getInclusivePriceMessage();
384
- return (h(Host, { key: 'af2f34c21db4c521efe77a61bb779790741effba', class: "zonos--elements" }, h("div", { key: '4544ff7c5773d8cfccd6e4d866a07ee50c912a06', class: classes([
384
+ return (h(Host, { key: '4f03947b13c6e6d9f19d3d4241c427f9ef8cb07b', class: "zonos--elements" }, h("div", { key: 'c5001cd7c4c7bb0fcf2375fc211c9afbd2059f32', class: classes([
385
385
  'zonos--hello-dialog',
386
386
  animateLeft && 'zonos--hello-dialog-animate-from-left',
387
387
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
388
388
  !!this.mobileLocationOverride &&
389
389
  'zonos--hello-dialog-mobile-override',
390
390
  this.isOpen && 'zonos--hello-dialog-open',
391
- ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '4ba3dd6d5cccda0350a47b5cf2d3dc1c74853d81' }, h("div", { key: 'd5d5990a0d66d5d8b871c595f6cc08ad6077fa79', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '51a79a23bd6ea5e632e12a73591a142a341ce4a1', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'a505bcd3b78b81811dcd60d16971ceeb4c1a3aa7', spacing: 24 }, h("zonos-country-flag", { key: 'b82428ef373bc174e00255e8e0491466cd0fc177', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '10d8e5a46961a02e7159ad57854835f115eb0d76', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '030655d2e3ae3bf770ace2b6bffe96b1423a8aee', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'ce954ae42f9fe90f49980d954522a2e30be23d5b', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '82de2ff11aaa0505737664757f698d9ddd199af1', spacing: 8 }, this.restrictedItems.map(item => {
391
+ ]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'cb86aadda605b075152c21009b11f57b87b1d815' }, h("div", { key: '77a7e3bd67cd2b19f2adec81f15c642d76151f74', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'ac5d1386f34c2948ea087d64ba60d1af87e76487', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '50fcf820665b013090f8b22bd011b48edd23e47d', spacing: 24 }, h("zonos-country-flag", { key: 'fba9eb926c23fdad59d4262582fefd102aa9e721', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '08438a0f1f7ab1ed7aa6077bd8c0c040d10a48e2', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'f3ed157753544a886c2362e48d4ff941135f69dd', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '989155955d1b6b50e54b38b9aedf71041a1ca57e', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '480acbed038550026005317e0fa41c74db4befe6', spacing: 8 }, this.restrictedItems.map(item => {
392
392
  var _a;
393
393
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
394
394
  }), (dutyDeMinimisMessage ||
395
395
  taxDeMinimisMessage ||
396
396
  inclusivePriceMessage ||
397
- !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'b9134233fce6f248576b7b894b4be313aacdbf3f', spacing: "12px" }, h("zonos-v-stack", { key: 'e427aaf3dc1e4bba952511528aad5ff66a4950bb', spacing: 12 }, this.renderHelloMessage({
397
+ !!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'ec95384f56843f11e7ef678363c08718ce879bea', spacing: "12px" }, h("zonos-v-stack", { key: 'e56aedf0bf3c2e698b6911ae0d96f3c46059158e', spacing: 12 }, this.renderHelloMessage({
398
398
  dutyDeMinimisMessage,
399
399
  inclusivePriceMessage,
400
400
  taxDeMinimisMessage,
401
401
  }), additionalInformation === null || additionalInformation === void 0 ? void 0 :
402
- additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '343956e04ee86fe6f9bcaa13f7e69c47d7d68c6e', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '99cd990b4df0ea4d5a8f1e81db99d23e6ebd3475' }, h("zonos-country-select", { key: 'd29ce0c79fb371c63b8b0630fd3d99892744179a', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '6a417d593d5644939f1ffbbbef3af6546e44b712' }, h("zonos-language-select", { key: '29c17d83f162a7237e9824d9f60c0cffdbdd1ae7', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
402
+ additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '103bcee4af2a3979a7db3e86b287063bec16310b', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '900e288096edd6aa4bcfddd3b80932a11c675a6a' }, h("zonos-country-select", { key: '278e3cfe7dcd69332e6257517759ca2c8e959ae0', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '2d70d0c380fc681492b7b97b4d78677db88a78fc' }, h("zonos-language-select", { key: '7debc2fa20436565b00c7f9832b89f388a814a96', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
403
403
  }
404
404
  static get assetsDirs() { return ["assets"]; }
405
405
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
2
  import { d as debounce_1 } from './debounce-ab526ca0.js';
3
- import { l as localizationStore, i as isValidSelector, t as translate, g as getZCountryUrlParam, j as setZCountryUrlParam, k as currencyDisplay, m as currencyConvertAndFormat, n as currencyConvert, d as currencyFormat } from './localization-2e523b35.js';
3
+ import { l as localizationStore, i as isValidSelector, t as translate, g as getZCountryUrlParam, j as setZCountryUrlParam, k as currencyDisplay, m as currencyConvertAndFormat, n as currencyConvert, d as currencyFormat } from './localization-ee06df70.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-9662b071.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
@@ -38,17 +38,17 @@ const ZonosInput = class {
38
38
  this.inputChange.emit(newValue);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '97f28cac82f273f95b6401f6b29ec35939cd3652', class: classes([
41
+ return (h(Host, { key: '3c4fd9d72bc124d6e915661038e6b64bee692a98', class: classes([
42
42
  'zonos--input zonos--elements',
43
43
  this.inputSize,
44
44
  this.isError && 'has-error',
45
45
  ]), style: {
46
46
  '--zonos--border-radius': getBorderRadius(),
47
47
  '--zonos--font-family': zonosStoreFontFamily(),
48
- } }, h("div", { key: '374a3b102e1dc4c422f6f69eb235f940c0271aab', class: classes([
48
+ } }, h("div", { key: '80906b54a0cc8e031b0752c4f7c7b8b3ffdd6b3f', class: classes([
49
49
  'zonos--label-wrapper',
50
50
  this.isDisabled && 'disabled',
51
- ]) }, h("input", { key: 'fd0810fbbf21f53dfe890c76bd7b66b2afafeac1', class: classes([
51
+ ]) }, h("input", { key: '413602bca1b288330631c043610161501c86e59c', class: classes([
52
52
  'zonos--floated-input',
53
53
  !!this.inputLabel && 'has-label',
54
54
  this.inputValue && 'has-content',
@@ -56,7 +56,7 @@ const ZonosInput = class {
56
56
  ]), disabled: this.isDisabled, onInput: e => {
57
57
  const input = e.target;
58
58
  this.inputChange.emit(input.value);
59
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '7a1e72620a76eb4507b9b4c79f8faf73657cb789', class: "zonos--floated-label", "data-label": this.inputLabel }))));
59
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '183e2196be5a6d2acb202af9183b0624baf242df', class: "zonos--floated-label", "data-label": this.inputLabel }))));
60
60
  }
61
61
  get el() { return getElement(this); }
62
62
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-34b11708.js';
3
- import { t as translate } from './localization-2e523b35.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-cc72a6c2.js';
2
+ import { d as cartStore } from './cart-0625a766.js';
3
+ import { t as translate } from './localization-ee06df70.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ba1702db.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { c as invoiceStore } from './invoice-6d8bdf21.js';
6
+ import { c as invoiceStore } from './invoice-0daa7f74.js';
7
7
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
8
8
  import './zonosStore-9662b071.js';
9
9
  import './VarianceTest-572cecf5.js';
@@ -30,10 +30,10 @@ const ZonosInvoiceCartItems = class {
30
30
  }
31
31
  render() {
32
32
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
33
- return (h(Host, { key: '421e05194d1b310d585764ebcbad662e55fa5f76', class: classes([
33
+ return (h(Host, { key: 'a79106d8930a18d9806ca7f82dbfada663f46964', class: classes([
34
34
  'zonos--invoice-cart-items zonos--elements',
35
35
  this.isMobile && 'mobile',
36
- ]) }, h("table", { key: 'bf2c3ddcf823d4aebf3f0c8a96b74c2d1c6978af', class: "zonos--cart-table" }, h("tbody", { key: 'dbe7aab9d195e7ca9a50f4c29c7acffc69dd9cce' }, nonRestrictedItems.map(item => {
36
+ ]) }, h("table", { key: '89496bfdd77e168ee388d94e83981b3657fea40b', class: "zonos--cart-table" }, h("tbody", { key: 'fa5a7a17018942300f8168e2d1ac0ea349f02da5' }, nonRestrictedItems.map(item => {
37
37
  var _a, _b, _c, _d;
38
38
  const invoiceId = (_b = (_a = item.attributes) === null || _a === void 0 ? void 0 : _a.find(metadata => metadata.key === 'invoiceId' || metadata.key === 'INVOICE_ID')) === null || _b === void 0 ? void 0 : _b.value;
39
39
  const invoiceCreatedAt = (_d = (_c = item.attributes) === null || _c === void 0 ? void 0 : _c.find(metadata => metadata.key === 'invoiceCreatedAt')) === null || _d === void 0 ? void 0 : _d.value;
@@ -69,10 +69,10 @@ const ZonosInvoiceSubtotal = class {
69
69
  this.isMobile = false;
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '1c1ba16d9549f0ff1478984176d6b999d5aa1753', class: classes([
72
+ return (h(Host, { key: '4b2a1e8fe3d6b6c4bafa16bbcd596c10fc19267d', class: classes([
73
73
  'zonos--invoice-subtotal zonos--elements',
74
74
  this.isMobile && 'mobile',
75
- ]) }, h("table", { key: 'd1b72fcae100c896cf7d6e6a289d8165d2c75233', class: "zonos--invoice-table" }, h("tr", { key: 'c9ff3b5ff7385c60717d213dfe1e5059f1bf09e0', class: "zonos--row zonos--invoice-total" }, h("td", { key: 'cf14352c2f3cffacdfb78343c7fbf512222c79d4', class: "zonos--column" }), h("td", { key: '403d772e36bc819fac28487b779e3a9ae4858f73', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: 'bf8ced53263ba7e8a6093712bb97fd7a2e35c634', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: 'e3832e0ccad66787e1023a073de9b8e9b732cb4e', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
75
+ ]) }, h("table", { key: '34b2b3019193b694d3a38560aeec57289f1ef284', class: "zonos--invoice-table" }, h("tr", { key: '76ba9947536d494fe651da0a94b8e66a702f5728', class: "zonos--row zonos--invoice-total" }, h("td", { key: '1510c0eb1f4db6bd3f4295b0eba6c1b845f86043', class: "zonos--column" }), h("td", { key: '5d3a1fde0d9bac22ee32f961da18f749e01b2038', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: '0e61607f2795cea761e6082749ac9e85ec5a502a', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: '5b5bf8f17e8850b4b6428454adfb05f85a0a9f63', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
76
76
  content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
77
77
  amount: invoiceStore.amountTotalDue || 0,
78
78
  isForeign: true,
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-34b11708.js';
3
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-d3b3d967.js';
4
- import { t as translate, s as storageStore, l as localizationStore } from './localization-2e523b35.js';
2
+ import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-0625a766.js';
3
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-78c3572c.js';
4
+ import { t as translate, s as storageStore, l as localizationStore } from './localization-ee06df70.js';
5
5
  import { z as zonosStore } from './zonosStore-9662b071.js';
6
6
  import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
7
7
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
@@ -10,9 +10,9 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
10
10
  import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
11
11
  import { c as classes } from './classes-0d95c529.js';
12
12
  import { l as languages } from './ILanguage-cd6acb72.js';
13
- import { c as invoiceStore } from './invoice-6d8bdf21.js';
14
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-cc72a6c2.js';
15
- import { p as placeTestOrder } from './placeTestOrder-e1d6dfcd.js';
13
+ import { c as invoiceStore } from './invoice-0daa7f74.js';
14
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ba1702db.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-18de7b6f.js';
16
16
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
17
17
  import './isDarkColor-0a8453e7.js';
18
18
  import './isContrastColor-6bad285e.js';
@@ -269,11 +269,11 @@ const ZonosInvoiceFinish = class {
269
269
  }
270
270
  render() {
271
271
  const cartId = window.Zonos.cartId;
272
- return (h(Host, { key: '6c0363334a9e6602b93e83a0dfeb733285db7683', class: "zonos--checkout-finish zonos--elements", style: {
272
+ return (h(Host, { key: '0e85f53a2195cb775590ca7cf815fe5ff555a5a7', class: "zonos--checkout-finish zonos--elements", style: {
273
273
  '--zonos--border-radius': getBorderRadius({
274
274
  overrideBorderStyle: this.borderRadius,
275
275
  }),
276
- } }, !this.isLoading && (h("div", { key: '299a9afc37f5e1bbe828f2b68569a686b82baff1', class: "zonos--finish-details" }, h("div", { key: '24a827b96c4a74066b7701c70f6cdf980ff060f5', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '74bfa9e0126ea8b0a693fdc2e034cdd6ef352dcb', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '5cc0089225fac166cfa13cc11e72efeb34ad8567', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'fb101b1058adeafe38a03d2a915b6b7f80c44061', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '2ecc8d45967ccd720f0ec4d532aa266ac42acc14', class: "zonos--button-container" }, h("zonos-button", { key: '3f04711341f273a767d5109274f92eec424b1675', onClick: () => {
276
+ } }, !this.isLoading && (h("div", { key: 'a72982af4d9e1ccd015486185841bdfb8100de4f', class: "zonos--finish-details" }, h("div", { key: '905c39d1f8d0c4db69fe69af86b5d2fd27e6c6bc', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '4b4aac452d596888d9a2a132e4909cb96985e3e1', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'df0281e69b04b3f2ad238cbfb4a8a142e6c08447', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'f92416cc2024dc6e58c3886f0d8990a3753c82f4', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'cbd8a00f6ee518a62cab4edb8c29167a108710c0', class: "zonos--button-container" }, h("zonos-button", { key: 'bcc697820cfbab42417626c2bf1d887bee67fa5f', onClick: () => {
277
277
  window.open(this.getReceiptUrl({ cartId }), '_blank');
278
278
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
279
279
  }
@@ -281,6 +281,8 @@ const ZonosInvoiceFinish = class {
281
281
  };
282
282
  ZonosInvoiceFinish.style = ZonosInvoiceFinishStyle0;
283
283
 
284
+ 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>`;
285
+
284
286
  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">
285
287
  <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"/>
286
288
  </svg>
@@ -295,7 +297,7 @@ const ZonosWordmark = `<svg width="43" height="10" viewBox="0 0 43 10" fill="non
295
297
  </svg>
296
298
  `;
297
299
 
298
- const zonosInvoiceFooterCss = ":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:0;left:32px;right:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--invoice-footer{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;width:100%}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper .zonos--invoice-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper .zonos--invoice-footer-logo a{line-height:0}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper a{text-decoration:none}:host .zonos--invoice-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--invoice-footer .zonos--invoice-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--invoice-footer .zonos--invoice-locale-wrapper{gap:4px}}:host .zonos--invoice-footer .zonos--invoice-language-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--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar{width:10px}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--invoice-footer .zonos--invoice-language-dialog.zonos--invoice-language-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .dot{display:-ms-inline-flexbox;display:inline-flex;background:var(--zonos-elements-gray-400);width:6px;height:6px;border-radius:50%}:host(.mobile),:host(.tablet){background-color:var(--zonos-elements-gray-0);width:100%;position:-webkit-sticky;position:sticky;bottom:0}:host(.tablet) .zonos--invoice-footer{width:100%;max-width:800px;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex}:host(.mobile){-ms-flex-order:3;order:3}:host(.mobile) .zonos--invoice-locale-wrapper{display:none}:host(.mobile) .zonos--invoice-footer{-ms-flex-pack:center;justify-content:center}";
300
+ const zonosInvoiceFooterCss = ":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:0;left:32px;right:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--invoice-footer{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;width:100%}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper .zonos--invoice-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper .zonos--invoice-footer-logo a{line-height:0}:host .zonos--invoice-footer .zonos--invoice-footer-icon-wrapper a{text-decoration:none}:host .zonos--invoice-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--invoice-footer .zonos--invoice-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--invoice-footer .zonos--invoice-locale-wrapper{gap:4px}}:host .zonos--invoice-footer .zonos--invoice-locale-wrapper .zonos--invoice-locale-label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:4px}:host .zonos--invoice-footer .zonos--invoice-language-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--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar{width:10px}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--invoice-footer .zonos--invoice-language-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--invoice-footer .zonos--invoice-language-dialog.zonos--invoice-language-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .dot{display:-ms-inline-flexbox;display:inline-flex;background:var(--zonos-elements-gray-400);width:6px;height:6px;border-radius:50%}:host(.mobile),:host(.tablet){background-color:var(--zonos-elements-gray-0);width:100%;position:-webkit-sticky;position:sticky;bottom:0}:host(.tablet) .zonos--invoice-footer{width:100%;max-width:800px;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex}:host(.mobile){-ms-flex-order:3;order:3}:host(.mobile) .zonos--invoice-locale-wrapper{display:none}:host(.mobile) .zonos--invoice-footer{-ms-flex-pack:center;justify-content:center}";
299
301
  const ZonosInvoiceFooterStyle0 = zonosInvoiceFooterCss;
300
302
 
301
303
  const ZonosInvoiceFooter = class {
@@ -336,15 +338,15 @@ const ZonosInvoiceFooter = class {
336
338
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
337
339
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
338
340
  const colorDesktop = 'gray-1000';
339
- return (h(Host, { key: 'a48dfe3c11d200e085864ed513cfb647c9ef3b5c', class: classes([
341
+ return (h(Host, { key: 'f1df2afbf4312c216d2b0776b08bdf18a99918fa', class: classes([
340
342
  'zonos--elements',
341
343
  this.isMobile && 'mobile',
342
344
  this.isTablet && 'tablet',
343
- ]) }, h("div", { key: 'de1f450a548eabe7bb1da9c9f2e23837a55827fc', class: "zonos--invoice-footer" }, h("div", { key: 'b30d47a885beaca3ec0dbdeff8e8facae994ef88', class: "zonos--invoice-locale-wrapper" }, h("zonos-button", { key: 'a0bece32119cbc5eddd8f99298ba7274f286cb6f', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, languageLabel), h("div", { key: '7ceb0c79d25f640bf23ac37a22c6c37292538d8f', class: classes([
345
+ ]) }, h("div", { key: '15ec928ff1686fab2644fdad65b528e16f887c3d', class: "zonos--invoice-footer" }, h("div", { key: 'b3a81689dca77c65837366168b4cc512e873ebe6', class: "zonos--invoice-locale-wrapper" }, h("zonos-button", { key: 'f599ee52720855f47f1775f16b4beb5d673bc1fa', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: 'b5ac314d22571b01be5d7ddea7012b6431fde634', class: "zonos--invoice-locale-label" }, languageLabel, h("zonos-icon", { key: 'fa150a4e7d75327510e2bfc07e9911a8adb9a3ba', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '673eed561dace62416822df5e7948fdfb423e6c3', class: classes([
344
346
  'zonos--invoice-language-dialog',
345
347
  this.showLanguageDialog &&
346
348
  'zonos--invoice-language-dialog-open',
347
- ]) }, h("zonos-language-select", { key: '5c2d4164f38caecc7f3f99b98d1d504ee292b6bd', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: 'c255dabaf4a129b1d9074af3e7512a86859c4d81', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: 'bc16e675a824ad6730e823226bdb872ad04d5b2e', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: '6292e7f1fce3325c7d264a946e1d8a6a4ec768c4', textColor: colorDesktop }, translate('Powered by')), h("a", { key: '526f598cdb342f7816d78f7d1b24923d79be72fe', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '8f96ac507a2250df8234dc9d0075dcac433b9630', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'd3fa74852d4bc1e679af3fe141a885f833d3aaef', class: "dot" }), h("a", { key: '30b4825365c55a31a1140ababfe3d2c88faa3b04', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '42cbae5d1a6350844947210493f3945ee2085cd9', textColor: colorDesktop }, translate('Privacy policy')))))));
349
+ ]) }, h("zonos-language-select", { key: '6d1a6ae828bf8701fe08605ab5952528e74ad92f', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '3b2484d4a4a0899b746a81e055cd9a4a4fcf6db9', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: '3b4a8431e9cbd3133c69356c1bba186f7cec2fdf', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: '73f8f0b9978b715d611c72beded88862e27c8473', textColor: colorDesktop }, translate('Powered by')), h("a", { key: 'e9a9a63c0c042f40c76d1293c05d2c23165c7af1', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '5bd7ac7cd01581ba40a258f491417b04ab71c250', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'cf86cea8570caac18fbe1532478141e64e6cfd70', class: "dot" }), h("a", { key: '12b5cfa380ae7c2fbc2d3e7501c415761a1f199a', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '9588bdc785c892a39d3c37d034d1f874c8492fa2', textColor: colorDesktop }, translate('Privacy policy')))))));
348
350
  }
349
351
  get el() { return getElement(this); }
350
352
  static get watchers() { return {
@@ -657,13 +659,13 @@ const ZonosInvoiceReview = class {
657
659
  }
658
660
  render() {
659
661
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
660
- return (h(Host, { key: 'dba979c1f8bb9f4ac5207eb2bc97296523c62fc1', class: classes([
662
+ return (h(Host, { key: 'be8d8f1688a86ccaa9431cae2885c57a08f3ee9b', class: classes([
661
663
  'zonos--invoice-review zonos--elements',
662
664
  this.isMobile && 'mobile',
663
665
  this.isTablet && 'tablet',
664
- ]) }, h("div", { key: 'd9bbd435775f58d3934b9cc5d8658acf781d5090', class: "zonos--title" }, h("zonos-text", { key: '103859ee74d37fadd854d59cc852d71b8e23fe11', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
666
+ ]) }, h("div", { key: '74dce7ae0a90490d95852c789d8e27ee51846ed5', class: "zonos--title" }, h("zonos-text", { key: '3539a1110abdac4b1dc909f37a4845d8a0ad8fa0', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
665
667
  organizationName: zonosStore.organizationName,
666
- }))), h("div", { key: 'fcc9ade2fc63e53307659134a1763909ad66cc30', class: "zonos--total-pay" }, renderFallback({
668
+ }))), h("div", { key: 'd6feffd7216357889bbe9fba177feb8f24ad9222', class: "zonos--total-pay" }, renderFallback({
667
669
  content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
668
670
  amount: invoiceStore.amountTotalDue || 0,
669
671
  isForeign: true,
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-34b11708.js';
3
- import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-6d8bdf21.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-d3b3d967.js';
5
- import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-2e523b35.js';
2
+ import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-0625a766.js';
3
+ import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-0daa7f74.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-78c3572c.js';
5
+ import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-ee06df70.js';
6
6
  import { z as zonosStore } from './zonosStore-9662b071.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-2e523b35.js';
2
+ import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-ee06df70.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './handleFetch-a844cac1.js';
@@ -30,9 +30,9 @@ const ZonosLanguageSelect = class {
30
30
  }
31
31
  render() {
32
32
  const { selectedLocale } = localizationStore;
33
- return (h(Host, { key: 'ebe7e47d37019b9aa6e2a5ed77d9c82c71b3fa6c', class: "zonos--elements", style: {
33
+ return (h(Host, { key: '14d44b42030ca6032055288d6b6f75b509910e0a', class: "zonos--elements", style: {
34
34
  '--zonos--font-family': zonosStoreFontFamily(),
35
- } }, h("div", { key: '532b2664add5948ae9687049afc1fdaed8cc0890', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '650adad0103c42f27e98bb3c2c6c8e2a122339df', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '84af0288f9911d4739c93388723230b165466908', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
35
+ } }, h("div", { key: '3fec082ed1aba86fb31327c5f8312f4eb84f0c71', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'd31533f6e04a0966dc6e9b4dcbe6320951162d16', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '8bc96f64036523ac15ad0414c7b0bed09e9df75d', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
36
36
  }
37
37
  };
38
38
  ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
@@ -56,9 +56,9 @@ const ZonosSelectDialogHeader = class {
56
56
  this.label = '';
57
57
  }
58
58
  render() {
59
- return (h(Host, { key: '6a667ac343eccf7298cbca49b58ccbca0ca6509d', class: "zonos--elements", style: {
59
+ return (h(Host, { key: 'eb0958752881635e0e5edf9b0e66fccd1064b3f8', class: "zonos--elements", style: {
60
60
  '--zonos--font-family': zonosStoreFontFamily(),
61
- } }, h("zonos-v-stack", { key: '4f3958ab4700f1f6d1bfff92cf3c5593c97c536e', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '44d690590c6727b7d17ea96967a6929ea5d60a51', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'cd45b4d292f3487a442510918afe7c828cbdb939', type: "boldLabel" }, this.label), h("zonos-button", { key: '43e7887d8f11185ec7d6ff0895f922e8a5719865', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '2c6e66b98bfbc8d4c3fd1d8459d703a8006324d3' }))));
61
+ } }, h("zonos-v-stack", { key: '1f02a7f61e20a4b36e2d5598f8228482ad3f54f4', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '87b5d8d2486cc45cd8be8841d2995f4c33e9c524', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'e5c9621a69d19e6925fb7115289f74b8ec0eb76d', type: "boldLabel" }, this.label), h("zonos-button", { key: '4d61d8ee3df26c296b48b945ccb1380027def911', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '1a20da26116e95278d21f7d413d238ae18d8805d' }))));
62
62
  }
63
63
  };
64
64
  ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
@@ -12,7 +12,7 @@ const ZonosLink = class {
12
12
  this.href = '';
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'b6d1debcb25cc43d1b4eb9fe41183a3190a4f6be', class: "zonos--elements" }, h("a", { key: '9c81e327e3021215a78bd7ce2a619f5764c012ac', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '59c6fbbc8cf9b5e44e76a52dd6472bd6a28a852f' }))));
15
+ return (h(Host, { key: '87f948b23f9166f04a9ff478c3a10cac68acd749', class: "zonos--elements" }, h("a", { key: '54ef1e907c92be92a395326808977e97b92b4121', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '9a40d6624eb6e42d54efd40f5e6827713d51197c' }))));
16
16
  }
17
17
  };
18
18
  ZonosLink.style = ZonosLinkStyle0;
@@ -22,11 +22,11 @@ const ZonosLogo = class {
22
22
  const filterColor = this.theme === 'DARK'
23
23
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
24
24
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
25
- return (h(Host, { key: 'd45302a20adc0f2c9ad19a37c1c9e4578f129ddf', class: classes(['zonos--elements zonos--logo']), style: {
25
+ return (h(Host, { key: '93f6a3dab000ca09fcd5c669406cdd44a06b5f25', class: classes(['zonos--elements zonos--logo']), style: {
26
26
  '--zonos--filter-color': filterColor,
27
27
  '--zonos--font-family': zonosStoreFontFamily(),
28
28
  '--zonos--width': this.width,
29
- } }, h("img", { key: 'e82b14ece643a9037e57b6ce561f1eff3c3bd8fa', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
29
+ } }, h("img", { key: 'f2343614678d331ea63210d01e3be9f3c49ce7a6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
30
30
  }
31
31
  static get assetsDirs() { return ["assets"]; }
32
32
  };
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-34b11708.js';
3
- import { t as translate } from './localization-2e523b35.js';
2
+ import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-0625a766.js';
3
+ import { t as translate } from './localization-ee06df70.js';
4
4
  import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-9662b071.js';
5
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-cc72a6c2.js';
5
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-ba1702db.js';
6
6
  import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
7
7
  import './VarianceTest-572cecf5.js';
8
8
  import './handleFetch-a844cac1.js';
@@ -73,7 +73,7 @@ const ZonosStripeInput = class {
73
73
  ? zonosStore.appearance.theme === 'DARK'
74
74
  : primaryColor && isDarkColor(primaryColor);
75
75
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
76
- return (h(Host, { key: '90f2916175c8512bf24c235885dba82c8a82bc6d', class: classes([
76
+ return (h(Host, { key: '77300abdafcc0b557b89c15a7755b4278d0acdee', class: classes([
77
77
  'zonos--input zonos--elements',
78
78
  isDark && 'dark',
79
79
  (this.isError || !!this.error) && 'has-error',
@@ -82,10 +82,10 @@ const ZonosStripeInput = class {
82
82
  '--zonos--font-family': zonosStoreFontFamily(),
83
83
  '--zonos--font-size': `${fontSize}px`,
84
84
  '--zonos--primary-color': secondaryColor,
85
- } }, h("div", { key: '95a6eeecfb1c8935ab5289b10a6d4330ba69d780', class: classes([
85
+ } }, h("div", { key: 'a6d091455bc8a33e8031d37f9b471118994bad47', class: classes([
86
86
  'zonos--label-wrapper',
87
87
  this.isDisabled && 'disabled',
88
- ]) }, h("input", Object.assign({ key: 'ebafe0cd341d3717914d1731c67aa961df1ed25b' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
88
+ ]) }, h("input", Object.assign({ key: '2001e1c1427c11b203514c0c849f3a1f3c2381dc' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
89
89
  'zonos--floated-input',
90
90
  !!this.inputLabel && 'has-label',
91
91
  this.internalValue && 'has-content',
@@ -95,7 +95,7 @@ const ZonosStripeInput = class {
95
95
  this.inputChange.emit(input.value);
96
96
  this.el.inputValue = input.value;
97
97
  this.el.dispatchEvent(new Event('change'));
98
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '4f9a9d698d64a16b20a9d2392c975f7ef7cefb43', class: "zonos--floated-label" }, h("label", { key: '8e90d3a8721703ca616dee5c8238ff01fcc7b631', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '2fdbfa01afa0baa58a900d7303a82fac78483af9', textColor: "red-600", type: "caption" }, this.error))));
98
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '8b42af0315ed314fb267bf32dfcfebfee3a69a75', class: "zonos--floated-label" }, h("label", { key: '3de63395251ac591b1c3c527093560702f30575f', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: 'ee7b2b13d5577b965387bb1029f8036fb099890d', textColor: "red-600", type: "caption" }, this.error))));
99
99
  }
100
100
  get el() { return getElement(this); }
101
101
  static get watchers() { return {
@@ -18,10 +18,10 @@ const ZonosTooltip = class {
18
18
  this.showTooltip = false;
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '3014faf5b26490a23b7735087dd69b05f785a2eb', class: "zonos--elements" }, h("div", { key: 'b7117e69a0f6f4ec28a7ccaf898567aeb886b418', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'bf995bf9de4497d32fd825e6a1382dc5eeb768e6' }), h("div", { key: '15c134b8aeed57ec2ad313c4316b2f5aa2c98dd0', class: classes([
21
+ return (h(Host, { key: 'f3da69a4f5610963cae6a15e5ff2d980e5d31a07', class: "zonos--elements" }, h("div", { key: '1636b467a3899c486b59167a438e071e0b88e699', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '3a512330cc556d3cabc18dd712cef1f353526e39' }), h("div", { key: 'a93fde0ea517c8eab08cbec375a891fdde5a681c', class: classes([
22
22
  this.showTooltip && 'zonos--show-tooltip',
23
23
  'zonos--tooltip-content',
24
- ]) }, h("zonos-text", { key: '6d6a135a75e9cfa8f4c921755da4bd476dddf83e', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'b166deb4b050d9a18699e1e3858449215d141726', size: "xs", textColor: "gray-0" }, this.subtitle)))));
24
+ ]) }, h("zonos-text", { key: 'bbfaa05280ac898421a3c334cb97734ccda8dbbe', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '96fc7d23135644d92062c95686560d714a9ff4b2', size: "xs", textColor: "gray-0" }, this.subtitle)))));
25
25
  }
26
26
  };
27
27
  ZonosTooltip.style = ZonosTooltipStyle0;
@@ -16,9 +16,9 @@ const VStack = class {
16
16
  this.spacing = 24;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: 'ddc85068e0fb28356f75caef81829f2820326701', style: {
19
+ return (h(Host, { key: 'b3f2fa705a9eb81dd74f355c9caf468d8c74f49e', style: {
20
20
  '--zonos--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '6fd038cf714612f64aa2164ebac11ad0cd8acc77', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'e6519671bd7ac4742306d2d702d15c25d9c69af7' }))));
21
+ } }, h("div", { key: '114ebba1cbf50a3572c412db808cfb7ac74b1724', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'f2070a31f968565c08ce002ae9a6b07178fd4ad8' }))));
22
22
  }
23
23
  };
24
24
  VStack.style = ZonosVStackStyle0;