@zonos/elements 1.3.264 → 1.3.266

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 (263) hide show
  1. package/dist/cjs/{cart-d4486651.js → cart-efc42379.js} +2 -1
  2. package/dist/cjs/getContrastColor-ce80dbe7.js +54 -0
  3. package/dist/cjs/{hasInclusivePrice-40358cb1.js → hasInclusivePrice-400be1b2.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{invoice-600fa2a4.js → invoice-9e4d479f.js} +2 -2
  6. package/dist/cjs/{isCollectMobileTablet-f56566ef.js → isCollectMobileTablet-630fcf87.js} +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-06cc0379.js → localization-4b17c530.js} +1 -1
  9. package/dist/cjs/{paypal-52c4a4d4.js → paypal-3bb55914.js} +2 -2
  10. package/dist/cjs/{placeTestOrder-7c88197a.js → placeTestOrder-313cbd78.js} +2 -2
  11. package/dist/cjs/{renderCheckoutCurrency-2ebeff09.js → renderCheckoutCurrency-e0436f1c.js} +2 -2
  12. package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
  13. package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-card_5.cjs.entry.js +7 -7
  17. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +101 -22
  18. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
  19. package/dist/cjs/zonos-checkout.cjs.entry.js +12 -3
  20. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  22. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
  23. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-elements.cjs.js +1 -1
  28. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  29. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  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 +14 -14
  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-shipping-rich-radio.cjs.entry.js +1 -1
  38. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  39. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  40. package/dist/collection/collection-manifest.json +1 -1
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +9 -0
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +15 -1
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +9 -0
  48. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  49. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  50. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  51. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  52. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  53. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  54. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  55. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -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 +8 -7
  80. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -0
  81. package/dist/collection/components/store/checkout/cart.js +1 -0
  82. package/dist/collection/components/utils/getContrastColor.js +27 -10
  83. package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +1 -1
  84. package/dist/collection/components/utils/parseLinkedText.js +65 -0
  85. package/dist/esm/{cart-41f41429.js → cart-62c166fc.js} +2 -1
  86. package/dist/esm/getContrastColor-0aa643c1.js +52 -0
  87. package/dist/esm/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-a73f64b7.js} +1 -1
  88. package/dist/esm/index.js +7 -7
  89. package/dist/esm/{invoice-e6721745.js → invoice-fa4ff6fb.js} +2 -2
  90. package/dist/esm/{isCollectMobileTablet-d02bb448.js → isCollectMobileTablet-5f50ec81.js} +2 -2
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/{localization-ee06df70.js → localization-d2631105.js} +1 -1
  93. package/dist/esm/{paypal-ac74241f.js → paypal-424d040d.js} +2 -2
  94. package/dist/esm/{placeTestOrder-0416d327.js → placeTestOrder-cf237d95.js} +2 -2
  95. package/dist/esm/{renderCheckoutCurrency-99da51f5.js → renderCheckoutCurrency-513ead96.js} +2 -2
  96. package/dist/esm/zonos-address-display_8.entry.js +19 -19
  97. package/dist/esm/zonos-address_4.entry.js +6 -6
  98. package/dist/esm/zonos-badge.entry.js +3 -3
  99. package/dist/esm/zonos-button_3.entry.js +3 -3
  100. package/dist/esm/zonos-card_5.entry.js +7 -7
  101. package/dist/esm/zonos-cart-items_12.entry.js +101 -22
  102. package/dist/esm/zonos-checkbox_2.entry.js +3 -3
  103. package/dist/esm/zonos-checkout.entry.js +12 -3
  104. package/dist/esm/zonos-collapse.entry.js +2 -2
  105. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  106. package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
  107. package/dist/esm/zonos-collect.entry.js +4 -4
  108. package/dist/esm/zonos-controller.entry.js +2 -2
  109. package/dist/esm/zonos-country-flag.entry.js +1 -1
  110. package/dist/esm/zonos-country-select_4.entry.js +6 -6
  111. package/dist/esm/zonos-elements.js +1 -1
  112. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  113. package/dist/esm/zonos-hello.entry.js +2 -2
  114. package/dist/esm/zonos-input.entry.js +4 -4
  115. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  116. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  117. package/dist/esm/zonos-invoice.entry.js +4 -4
  118. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  119. package/dist/esm/zonos-link.entry.js +1 -1
  120. package/dist/esm/zonos-logo.entry.js +2 -2
  121. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -1
  122. package/dist/esm/zonos-store-credit.entry.js +3 -3
  123. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  124. package/dist/esm-es5/{cart-41f41429.js → cart-62c166fc.js} +1 -1
  125. package/dist/esm-es5/getContrastColor-0aa643c1.js +1 -0
  126. package/dist/esm-es5/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-a73f64b7.js} +1 -1
  127. package/dist/esm-es5/index.js +1 -1
  128. package/dist/esm-es5/{invoice-e6721745.js → invoice-fa4ff6fb.js} +1 -1
  129. package/dist/esm-es5/{isCollectMobileTablet-d02bb448.js → isCollectMobileTablet-5f50ec81.js} +1 -1
  130. package/dist/esm-es5/loader.js +1 -1
  131. package/dist/esm-es5/{localization-ee06df70.js → localization-d2631105.js} +1 -1
  132. package/dist/esm-es5/{paypal-ac74241f.js → paypal-424d040d.js} +2 -2
  133. package/dist/esm-es5/{placeTestOrder-0416d327.js → placeTestOrder-cf237d95.js} +1 -1
  134. package/dist/esm-es5/{renderCheckoutCurrency-99da51f5.js → renderCheckoutCurrency-513ead96.js} +1 -1
  135. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  136. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  137. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  138. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  139. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  140. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  141. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  142. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  143. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  144. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  145. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  146. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  147. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  148. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  149. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  150. package/dist/esm-es5/zonos-elements.js +1 -1
  151. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  152. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  153. package/dist/esm-es5/zonos-input.entry.js +1 -1
  154. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  155. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  156. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  157. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  158. package/dist/esm-es5/zonos-link.entry.js +1 -1
  159. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  160. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  161. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  162. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  163. package/dist/scripts/index.d.ts +11 -0
  164. package/dist/scripts/index.js +1 -1
  165. package/dist/scripts/loadZonos.js +1 -1
  166. package/dist/scripts/zonos.js +1 -1
  167. package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +7 -0
  168. package/dist/types/components/common/zonos-stripe-select/zonos-stripe-select.d.ts +1 -2
  169. package/dist/types/components/store/checkout/cart.d.ts +5 -0
  170. package/dist/types/components/utils/parseLinkedText.d.ts +24 -0
  171. package/dist/types/components.d.ts +2 -0
  172. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -0
  173. package/dist/zonos-elements/index.esm.js +1 -1
  174. package/dist/zonos-elements/{p-ce855245.system.js → p-01384124.system.js} +1 -1
  175. package/dist/zonos-elements/{p-258c0551.entry.js → p-02d812c8.entry.js} +1 -1
  176. package/dist/zonos-elements/p-03e95598.entry.js +1 -0
  177. package/dist/zonos-elements/{p-24aae506.system.js → p-06c4d422.system.js} +1 -1
  178. package/dist/zonos-elements/{p-b0526805.system.entry.js → p-08934304.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-e6cc5a25.system.entry.js → p-0b46f3bd.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-d1ff24f5.entry.js → p-0e8c4a29.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-9f18348f.system.entry.js → p-0ea16658.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-37f47658.js → p-0efd2d5a.js} +1 -1
  183. package/dist/zonos-elements/{p-0529a06b.system.entry.js → p-1957af5a.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-7564d199.entry.js → p-1a470353.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-9eff0691.js → p-1d6f3ab9.js} +1 -1
  186. package/dist/zonos-elements/{p-c52bc5ad.system.entry.js → p-209d7728.system.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-d6b49830.entry.js → p-227ef22f.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-07cdff18.entry.js → p-2431f95c.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-32ecece3.entry.js → p-26c85188.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-cc481c69.entry.js → p-27061873.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-42518502.system.entry.js → p-27513bfe.system.entry.js} +1 -1
  192. package/dist/zonos-elements/p-27eeaf56.system.js +1 -0
  193. package/dist/zonos-elements/{p-59aa5785.entry.js → p-28e2ac3b.entry.js} +1 -1
  194. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  195. package/dist/zonos-elements/{p-8a21ed2d.entry.js → p-2a6be4a5.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-98c53c77.system.js → p-2b30beea.system.js} +1 -1
  197. package/dist/zonos-elements/{p-db607fc3.system.js → p-305e2dd8.system.js} +1 -1
  198. package/dist/zonos-elements/{p-721069c3.system.js → p-37207963.system.js} +1 -1
  199. package/dist/zonos-elements/p-40284821.system.js +1 -0
  200. package/dist/zonos-elements/{p-15f70aae.system.entry.js → p-40a45837.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-4495f149.system.entry.js +1 -0
  202. package/dist/zonos-elements/{p-52077d7c.entry.js → p-456a600b.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-66edcaa4.entry.js → p-46071125.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-90a19f4c.system.entry.js → p-4d433020.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-3a23ec5f.system.entry.js → p-55fb4ea3.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-1ed2827f.entry.js → p-5ae695a3.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-9da832b2.system.entry.js → p-5e10d4ff.system.entry.js} +1 -1
  208. package/dist/zonos-elements/p-61d73d69.js +1 -0
  209. package/dist/zonos-elements/{p-f9c715ad.entry.js → p-648f3ada.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-8a01157e.system.entry.js → p-6ab742d9.system.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-a5f5993f.system.entry.js → p-6b682a6b.system.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-5678c044.system.entry.js → p-6b6cfc59.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-e5582c35.entry.js → p-71fb6126.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-86ed51fd.entry.js → p-72187e00.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-0914b8a1.system.entry.js → p-72efa5b7.system.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-ab73cbed.entry.js → p-7677c45a.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-84c7cae6.system.entry.js → p-781cc8de.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-0f9a04fe.system.entry.js → p-79e5a629.system.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-6b9ad020.entry.js → p-7b640194.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-e3bc3917.system.entry.js → p-7b74e5f2.system.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-88596f27.system.entry.js → p-7c101a92.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-b13d56b9.entry.js → p-889e5db0.entry.js} +1 -1
  223. package/dist/zonos-elements/p-8ccd6d3f.js +1 -0
  224. package/dist/zonos-elements/{p-2c027b67.system.entry.js → p-8cd0a098.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-1cc651e8.entry.js → p-928291e5.entry.js} +1 -1
  226. package/dist/zonos-elements/p-9aaa1d80.entry.js +1 -0
  227. package/dist/zonos-elements/{p-4220556e.js → p-9b660cd3.js} +1 -1
  228. package/dist/zonos-elements/{p-b65bca4b.system.js → p-a371f770.system.js} +1 -1
  229. package/dist/zonos-elements/{p-72833da8.system.entry.js → p-a49ba3ae.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-14ce8e3a.js → p-a75baf3e.js} +1 -1
  231. package/dist/zonos-elements/{p-dea75665.system.js → p-a9425900.system.js} +1 -1
  232. package/dist/zonos-elements/{p-41f2e301.entry.js → p-acf42bc1.entry.js} +1 -1
  233. package/dist/zonos-elements/p-b2d276e1.js +1 -0
  234. package/dist/zonos-elements/{p-274a7c0e.system.entry.js → p-b6df4cc2.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-34dc7755.entry.js → p-bb77b580.entry.js} +1 -1
  236. package/dist/zonos-elements/p-bbbbae9a.system.entry.js +1 -0
  237. package/dist/zonos-elements/{p-a2e9b2aa.system.entry.js → p-bce7bfcc.system.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-e98e4c0b.system.entry.js → p-bf5c3dd7.system.entry.js} +1 -1
  239. package/dist/zonos-elements/p-c7047a1c.js +1 -0
  240. package/dist/zonos-elements/{p-90d19cb6.js → p-cd88efdb.js} +1 -1
  241. package/dist/zonos-elements/{p-076ca381.system.js → p-ce44c942.system.js} +1 -1
  242. package/dist/zonos-elements/{p-92a14180.entry.js → p-d63e18a8.entry.js} +1 -1
  243. package/dist/zonos-elements/p-daeb57cb.entry.js +1 -0
  244. package/dist/zonos-elements/{p-2555ba6b.system.entry.js → p-deaf0e38.system.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-c0fffa75.system.entry.js → p-ea88f7f5.system.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-9288878f.entry.js → p-f1bbad73.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-f546bd7d.entry.js → p-f76d5249.entry.js} +1 -1
  248. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  249. package/package.json +1 -1
  250. package/dist/cjs/getContrastColor-68058615.js +0 -37
  251. package/dist/esm/getContrastColor-2340485f.js +0 -35
  252. package/dist/esm-es5/getContrastColor-2340485f.js +0 -1
  253. package/dist/zonos-elements/p-20e0c24e.entry.js +0 -1
  254. package/dist/zonos-elements/p-2fc253b3.js +0 -1
  255. package/dist/zonos-elements/p-349bdc03.system.entry.js +0 -1
  256. package/dist/zonos-elements/p-3bc1adb7.entry.js +0 -1
  257. package/dist/zonos-elements/p-551dd2e0.js +0 -1
  258. package/dist/zonos-elements/p-9f7e7148.system.js +0 -1
  259. package/dist/zonos-elements/p-a901d002.js +0 -1
  260. package/dist/zonos-elements/p-b32cd0c5.system.js +0 -1
  261. package/dist/zonos-elements/p-ba7cf5e8.system.entry.js +0 -1
  262. package/dist/zonos-elements/p-c9a1f774.js +0 -1
  263. package/dist/zonos-elements/p-ccc4f69b.entry.js +0 -1
@@ -2,10 +2,10 @@ import { r as registerInstance, h, a as Host, g as getElement, d as createEvent
2
2
  import { f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
5
- import { b as stripeStore, t as trackConversionEvent } from './cart-41f41429.js';
6
- import { s as storageStore } from './localization-ee06df70.js';
5
+ import { b as stripeStore, t as trackConversionEvent } from './cart-62c166fc.js';
6
+ import { s as storageStore } from './localization-d2631105.js';
7
7
  import { l as logError } from './handleFetch-a844cac1.js';
8
- import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-ac74241f.js';
8
+ import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-424d040d.js';
9
9
  import { l as log } from './VarianceTest-572cecf5.js';
10
10
  import './isDarkColor-0a8453e7.js';
11
11
  import './isContrastColor-6bad285e.js';
@@ -35,16 +35,16 @@ const ZonosCard = class {
35
35
  customRoundRadius: `${this.borderRadius}px`,
36
36
  overrideBorderStyle: 'ROUNDED',
37
37
  });
38
- return (h(Host, { key: '04b66449d19c5862587b5ef4b2f7cb32524b03bd', style: {
38
+ return (h(Host, { key: 'ae124207be3fbddbd445d74cdf31085401a09c67', style: {
39
39
  '--zonos--font-family': zonosStoreFontFamily(),
40
- } }, h("div", { key: '218a1def4d384b3bf589e87ca657168de2cea3e5', class: classes(['styled-card']), style: {
40
+ } }, h("div", { key: '43fe2ffcb7caa0754c93f6d94898156f5169139b', class: classes(['styled-card']), style: {
41
41
  '--zonos--background-color': backgroundColor,
42
42
  '--zonos--border-radius': borderRadius,
43
43
  padding: this.spacing,
44
- } }, this.label && (h("header", { key: 'bc5f2eaa90786860e20e40987df70e0cc9c527bb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '90be1e3b9cd28f5a7aacf79c65c56e14a37bc019', type: "subheader" }, this.label), h("h-stack", { key: 'c25845c181e02eadca3cacb2d73c7173ba0a1a50', spacing: 8 }, this.actions))), h("slot", { key: '1e875f0fc6d86ae7cc5bdcdc0fc509bdcc1e1862' }), (this.footerActions || this.footerContent) && (h("footer", { key: '8fdca089c61d02ca14946dc3aaa8cb62c2feae99', class: "card-footer", style: {
44
+ } }, this.label && (h("header", { key: '6839065e2e630a841d6ecd7f03b19a93a988e49a', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '498435bbbb60cc6d1d13a304aad321107bd6feaf', type: "subheader" }, this.label), h("h-stack", { key: '4de3f042a72b16be374209b393cb174fc7d1b670', spacing: 8 }, this.actions))), h("slot", { key: 'add9dac3d8b9a50c0caa37d245f632c6a5e64d7f' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'e83f37ed24b44d9b7316579ee28ea51a3da119d8', class: "card-footer", style: {
45
45
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
46
46
  padding: this.spacing,
47
- } }, h("div", { key: '801f46a84cbb1185185ee35f51bf211f09d5aaee' }, this.footerContent), h("h-stack", { key: 'c995fab1c343973cf5da3079b99baa8b11af2903', spacing: 8 }, this.footerActions))))));
47
+ } }, h("div", { key: '685721d5f7f51c99438f4ddf23cf75122db3223c' }, this.footerContent), h("h-stack", { key: '61a44c918aea4994c10b16045564b45135296852', spacing: 8 }, this.footerActions))))));
48
48
  }
49
49
  };
50
50
  ZonosCard.style = ZonosCardStyle0;
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-cfd394c8.js';
2
- import { d as cartStore, I as cartStoreHasOneEligibleItem, J as stripeStoreApplyPromoCode, K as stripeStoreRemovePromoCode, b as stripeStore, C as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, M as stripeStoreMessageBasedOnStatus, N as storeCreditStore, O as storeCreditStoreReset, x as storeCreditStoreCoversFullAmount, r as cartStoreNextStep, P as stripeStoreTranslateAddressToLatin, Q as extractName, D as cartStoreOnChange, R as stripeStoreAsyncAddressUpdate, H as cartStoreUpdateSelectedShippingOption, S as cartStoreGetShippingTransitInfo, T as cartStoreGetMethod, U as sortServiceLevelOptionsByAmount } from './cart-41f41429.js';
3
- import { t as translate, l as localizationStore, s as storageStore, c as localizationStoreOnChange } from './localization-ee06df70.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-99da51f5.js';
2
+ import { d as cartStore, I as cartStoreHasOneEligibleItem, J as stripeStoreApplyPromoCode, K as stripeStoreRemovePromoCode, b as stripeStore, C as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, M as stripeStoreMessageBasedOnStatus, N as storeCreditStore, O as storeCreditStoreReset, x as storeCreditStoreCoversFullAmount, r as cartStoreNextStep, P as stripeStoreTranslateAddressToLatin, Q as extractName, D as cartStoreOnChange, R as stripeStoreAsyncAddressUpdate, H as cartStoreUpdateSelectedShippingOption, S as cartStoreGetShippingTransitInfo, T as cartStoreGetMethod, U as sortServiceLevelOptionsByAmount } from './cart-62c166fc.js';
3
+ import { t as translate, l as localizationStore, s as storageStore, c as localizationStoreOnChange } from './localization-d2631105.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-513ead96.js';
5
5
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-5f7856f2.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
7
  import { z as zonosStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
8
- import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-afc0dd6e.js';
9
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-ac74241f.js';
8
+ import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-a73f64b7.js';
9
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-424d040d.js';
10
10
  import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
11
11
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
12
12
  import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
13
13
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
14
14
  import { l as languages } from './ILanguage-cd6acb72.js';
15
- import { p as placeTestOrder } from './placeTestOrder-0416d327.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-cf237d95.js';
16
16
  import { i as isDarkColor } from './isDarkColor-0a8453e7.js';
17
- import { g as getContrastColor } from './getContrastColor-2340485f.js';
17
+ import { g as getContrastColor } from './getContrastColor-0aa643c1.js';
18
18
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
19
19
  import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-da7fdd37.js';
20
20
  import { c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
@@ -36,7 +36,7 @@ const ZonosCartItems = class {
36
36
  render() {
37
37
  const emptyItemImg = getAssetPath('./assets/empty-item.jpeg');
38
38
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
39
- return (h(Host, { key: '52911cfab4b2da9d65c840cd692e638c9dc732c5', class: "zonos--cart-items zonos--elements" }, h("table", { key: '428a62423a7fcf0721f420c9fdceac4bd928a6eb', class: "zonos--cart-table" }, h("tbody", { key: '41a438eeb79635ba00a241fa9771b9c33c7fe7ff' }, nonRestrictedItems.map(item => {
39
+ return (h(Host, { key: '0533f9858716c5084f2f7d454038918dcea3f1d0', class: "zonos--cart-items zonos--elements" }, h("table", { key: '9819698277a5c597528364d19b7c5c7c3161fdd7', class: "zonos--cart-table" }, h("tbody", { key: '59493dfb49143a56f2addaf0c9eb1e8ce014dc1f' }, nonRestrictedItems.map(item => {
40
40
  const itemImg = item.imageUrl;
41
41
  const cleanedItemNames = cleanHtmlMarkdown(item.name);
42
42
  const amount = item.amount * item.quantity;
@@ -144,7 +144,73 @@ const ZonosCartRestrictedItems = class {
144
144
  };
145
145
  ZonosCartRestrictedItems.style = ZonosCartRestrictedItemsStyle0;
146
146
 
147
- const zonosCartSubtotalCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:20px 8px;vertical-align:top}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--title-with-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}:host .zonos--cart-subtotal-title,:host .zonos--cart-subtotal-price,:host .zonos--cart-promo-code-col{border-bottom:1px solid var(--zonos-elements-gray-200)}:host .zonos--cart-duty-tax-price{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;gap:5px}:host .zonos--cart-subtotal-price{text-align:right}:host .zonos--cart-subtotal-price zonos-text{white-space:nowrap}:host .zonos--cart-subtotal-price zonos-text,:host .zonos--cart-pay-total zonos-text{white-space:nowrap}:host .zonos--cart-promo-code-input-wrapper{display:-ms-flexbox;display:flex;gap:16px;-ms-flex-align:center;align-items:center}:host .zonos--cart-promo-code-input{-ms-flex:1;flex:1}";
147
+ // Markdown URL allows a single level of balanced `(...)` (e.g.
148
+ // `https://example.com/foo_(v2)`); anything deeper is rare in real-world URLs
149
+ // and we'd rather not write a recursive grammar. Bare URLs match greedily up
150
+ // to whitespace and rely on `BARE_URL_TRAILING_PUNCT` to peel off sentence
151
+ // punctuation.
152
+ const LINK_REGEX = /\[([^\]]+)\]\((https?:\/\/(?:[^\s()]|\([^\s()]*\))+)\)|(https?:\/\/[^\s]+)/g;
153
+ // Trailing characters that look like sentence punctuation rather than part of
154
+ // a URL. Stripped from bare URL matches so `Visit https://example.com.` keeps
155
+ // the period out of the link. `)` is intentionally excluded — Wikipedia-style
156
+ // URLs (e.g. `https://example.com/foo_(v2)`) embed balanced parens, and we
157
+ // don't want to break those.
158
+ const BARE_URL_TRAILING_PUNCT = /[.,;:!?\]}"']+$/;
159
+ /**
160
+ * Parse a string into an ordered list of plain-text and link segments.
161
+ *
162
+ * Supports Markdown-style links `[text](url)` and bare `https?://` URLs.
163
+ * Anything else is returned as a plain text segment so callers can render it
164
+ * as text (never `innerHTML`) — this is what keeps merchant-provided strings
165
+ * safe from HTML injection in [[customMessage]] banners.
166
+ *
167
+ * @example
168
+ * parseLinkedText('Visit [docs](https://example.com)')
169
+ * // [
170
+ * // { type: 'text', value: 'Visit ' },
171
+ * // { type: 'link', href: 'https://example.com', text: 'docs' },
172
+ * // ]
173
+ */
174
+ const parseLinkedText = (input) => {
175
+ var _a, _b;
176
+ const segments = [];
177
+ // Reset the shared regex state in case a previous call left a lastIndex.
178
+ LINK_REGEX.lastIndex = 0;
179
+ let lastIndex = 0;
180
+ let match;
181
+ while ((match = LINK_REGEX.exec(input)) !== null) {
182
+ if (match.index > lastIndex) {
183
+ segments.push({
184
+ type: 'text',
185
+ value: input.slice(lastIndex, match.index),
186
+ });
187
+ }
188
+ const [, mdText, mdUrl, plainUrl] = match;
189
+ // One of the alternations matched: either a markdown link (mdText + mdUrl)
190
+ // or a bare URL (plainUrl). Use the URL as both href and display text for
191
+ // bare URLs.
192
+ if (mdUrl && mdText) {
193
+ segments.push({ href: mdUrl, text: mdText, type: 'link' });
194
+ }
195
+ else if (plainUrl) {
196
+ const trailing = (_b = (_a = plainUrl.match(BARE_URL_TRAILING_PUNCT)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : '';
197
+ const url = trailing
198
+ ? plainUrl.slice(0, plainUrl.length - trailing.length)
199
+ : plainUrl;
200
+ segments.push({ href: url, text: url, type: 'link' });
201
+ if (trailing) {
202
+ segments.push({ type: 'text', value: trailing });
203
+ }
204
+ }
205
+ lastIndex = LINK_REGEX.lastIndex;
206
+ }
207
+ if (lastIndex < input.length) {
208
+ segments.push({ type: 'text', value: input.slice(lastIndex) });
209
+ }
210
+ return segments;
211
+ };
212
+
213
+ const zonosCartSubtotalCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:20px 8px;vertical-align:top}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--title-with-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}:host .zonos--cart-subtotal-title,:host .zonos--cart-subtotal-price,:host .zonos--cart-promo-code-col{border-bottom:1px solid var(--zonos-elements-gray-200)}:host .zonos--cart-duty-tax-price{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;gap:5px}:host .zonos--cart-subtotal-price{text-align:right}:host .zonos--cart-subtotal-price zonos-text{white-space:nowrap}:host .zonos--cart-subtotal-price zonos-text,:host .zonos--cart-pay-total zonos-text{white-space:nowrap}:host .zonos--cart-promo-code-input-wrapper{display:-ms-flexbox;display:flex;gap:16px;-ms-flex-align:center;align-items:center}:host .zonos--cart-promo-code-input{-ms-flex:1;flex:1}:host .zonos--cart-custom-message .zonos--column:last-child{padding:0 8px;width:auto;text-align:left}:host .zonos--cart-custom-message zonos-banner{padding:12px;border-radius:var(--zonos-elements-radius-6)}";
148
214
  const ZonosCartSubtotalStyle0 = zonosCartSubtotalCss;
149
215
 
150
216
  const ZonosCartSubtotal = class {
@@ -173,6 +239,19 @@ const ZonosCartSubtotal = class {
173
239
  }
174
240
  return null;
175
241
  };
242
+ /**
243
+ * Render a single merchant-provided message line. Segments come from
244
+ * [[parseLinkedText]] and are emitted as VNodes (never `innerHTML`) so
245
+ * untrusted strings can't inject HTML.
246
+ */
247
+ this.renderMessageLine = (line) => parseLinkedText(line).map(segment => segment.type === 'link' ? (h("zonos-link", { href: segment.href, rel: "noopener noreferrer", target: "_blank" }, segment.text)) : (segment.value));
248
+ this.renderCustomMessage = () => {
249
+ const messageLines = cartStore.customMessage.filter(line => !!line.trim());
250
+ if (!messageLines.length) {
251
+ return null;
252
+ }
253
+ return (h("tr", { class: "zonos--row zonos--cart-custom-message" }, h("td", { class: "zonos--column" }), h("td", { class: "zonos--column", colSpan: 2 }, h("zonos-banner", { intent: "info" }, h("zonos-text", { type: "boldLabel" }, messageLines.map((line, idx) => (h(Fragment, null, idx > 0 && h("br", null), this.renderMessageLine(line)))))))));
254
+ };
176
255
  this.getCartSubtotalSubtitle = () => {
177
256
  const inclusivePriceType = this.getInclusivePriceType();
178
257
  if (inclusivePriceType === 'DUTY_AND_FEE') {
@@ -302,7 +381,7 @@ const ZonosCartSubtotal = class {
302
381
  }))))), h("tr", { class: "zonos--row zonos--cart-pay-total" }, h("td", { class: "zonos--column" }), h("td", { class: "zonos--column" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, translate('Order total'))), h("td", { class: "zonos--column zonos--cart-total-price" }, h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
303
382
  amount: total,
304
383
  isForeign: true,
305
- })))))));
384
+ })))), this.renderCustomMessage())));
306
385
  }
307
386
  static get assetsDirs() { return ["assets"]; }
308
387
  };
@@ -880,11 +959,11 @@ const ZonosCheckoutFinish = class {
880
959
  }
881
960
  render() {
882
961
  const isTestMode = getIsTestMode();
883
- return (h(Host, { key: '97291e81aef62884ec0519d93dcc7ff184b2913d', class: "zonos--checkout-finish zonos--elements", style: {
962
+ return (h(Host, { key: '3df50a75327f2dd1d7eea538aed0501c96504f2d', class: "zonos--checkout-finish zonos--elements", style: {
884
963
  '--zonos--border-radius': getBorderRadius({
885
964
  overrideBorderStyle: this.borderRadius,
886
965
  }),
887
- } }, this.isImmediateRedirecting && (h("div", { key: '40569271fb67acb22a4a0fa3c0fc8e1c0c641061', class: "loading-wrapper" }, h("zonos-spinner", { key: '8b431c7751e5e32fe97f4244151ece7de3c6d9bc', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (h("div", { key: '0f5c89c285acf8c4f79e058c69cde9011df7e1a2', class: "zonos--finish-details" }, h("div", { key: '7491b15a90941476338ec6b1738312ffd4ebd2c0', 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: '87e0d022014596b02d813ee510917b7ec9b55e09', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '456bd678d5ba6f5b74da34f906bbe9f4bed870ac', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: 'ebde02a73e71ad88d7d68629f2cd8a34d961aa63',
966
+ } }, this.isImmediateRedirecting && (h("div", { key: '6031b9b4d5847bb46a201ccf7f6b1cd036b3e3df', class: "loading-wrapper" }, h("zonos-spinner", { key: 'e816086c5efdfe8c1b40ce0bad935ef829a8f88d', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (h("div", { key: 'c787a355834af35a53f09f51f97c6796fa25c345', class: "zonos--finish-details" }, h("div", { key: 'a2a4bd3caee1cbffd514dcd69927a0f8a4e20af1', 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: '894069f110eab9cb02fe4dfa814d7c285dadf7cb', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '95bee491e9ac903a594569c911a81c63ebfab691', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: 'cf10c1bdfe95c5a13a2714fc7d64042fa7ef49ac',
888
967
  // Only show loading spinner if it's not an error notification
889
968
  loading: this.isWaitingToRedirect &&
890
969
  this.notificationType !== 'error', onClick: () => {
@@ -896,9 +975,9 @@ const ZonosCheckoutFinish = class {
896
975
  }
897
976
  this.closeClickHandler();
898
977
  }, size: "md", variant: "primary" }, translate('Close'))), !window.Zonos.isLegacyCheckout &&
899
- this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '2b86a3d9fb705ad080af532e645fd26aa844a14a', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
978
+ this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: 'cc9da3752636dbf9ecd3446fb787074cb1fa725b', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
900
979
  cartStore.step === 'finish' &&
901
- this.notificationType === 'success' && (h("div", { key: '83a9dc9fb81baaf9e223dfa9fe0fc0fc4c106635', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: 'edf8057b0430e3e4bb8fd675554659781e1724ae', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '3c40eee58d8a2ad5951dfdfc7c8d485052b6ba73', onClick: () => {
980
+ this.notificationType === 'success' && (h("div", { key: 'f61fedefbfcf3650377bfd2e1a86d7feb4129b12', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: 'fa794be3da7f480bc3682a2e932ee1f876ac5bb2', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '5bbff8ed5b5c585dd1a4ca8e2d206d48fb080f39', onClick: () => {
902
981
  const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
903
982
  this.redirectToUrl(isZonosDashboard
904
983
  ? '/orders/all'
@@ -960,10 +1039,10 @@ const ZonosCheckoutFooter = class {
960
1039
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
961
1040
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
962
1041
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
963
- return (h(Host, { key: '608a64c8e871bc0544cb80b719c9e11d441e2909', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: '37e6da358ce729c118128d9fae97efed127d83b9', class: "zonos--checkout-footer" }, h("div", { key: 'd42eb447dd73073debd6c0d48b766ce31f995b32', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: '3a61cc1647aa2e74d0e1fd5534ae9ff66446ba7a', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '28bfc7ed3b75c9724e951177914f2d874fff27fe', class: "zonos--checkout-locale-label" }, languageLabel, h("zonos-icon", { key: 'b082108bcc0b5dded10136056fa1426bb6adda8e', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: 'ddccc795078e5eb55b25cbe5d5a6bf502579cded', class: classes([
1042
+ return (h(Host, { key: 'ec472ed419e634f96630332398ff6e814dcd0391', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: 'd29154eb86046ddd440460343b3b115d3e23c87d', class: "zonos--checkout-footer" }, h("div", { key: 'b0bb0fed3cc0b228fb1a80c6b27a3aaa84081b95', class: "zonos--checkout-locale-wrapper" }, h("zonos-button", { key: 'd6ef4aa2d32a04a5d27c8085471a85970a24dbed', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '6e7d935c324465ad501a28388d71ad73fba9c74f', class: "zonos--checkout-locale-label" }, languageLabel, h("zonos-icon", { key: '5041eee50cd91210e6c1d4257f66b63e76ce9e4a', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '87b4b4b6fe789592d61dd7e69944b433c0bc0cf2', class: classes([
964
1043
  'zonos--checkout-footer-dialog',
965
1044
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
966
- ]) }, h("zonos-language-select", { key: 'c38f3ebb835b15cbfbe624507c0addb8622f65e6', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: 'b4862df1b1f4a27071ad4291891b968d016c7024', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: 'ac15fc57811b44fbe9d6c032f02660bb41bd40f9', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'dc954edc4349a90c41b54348516c6922fe6c5e56', textColor: colorDesktop }, "Privacy policy")), h("div", { key: 'f8d5136948a871718cbd73f982b229c8ea46bbf8', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: '2e3542d9d2ddd78ba855858b93ccdeca47269962', textColor: colorDesktop }, "Powered by"), h("a", { key: '240abfbd5b86c5d0068cb20305ab3bb39abf22b5', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '7d5fe50373919e4bc22da89b00915e607eb1b9df', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
1045
+ ]) }, h("zonos-language-select", { key: 'de8bd0ba1085564c2fe40c2d261e74ec9f67da90', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '7c3954550c4512b2d83fbafe05b57a44f0501991', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: '7bf2b74683ee81e8aa5ed5c0175ba22b8e8b5d6e', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'c39c00e77f47dbc1d47f69003cdb5c5f17c7a4e4', textColor: colorDesktop }, "Privacy policy")), h("div", { key: '567940865a03b6dce5273d70fb85860c042f9068', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: 'e3a0727029aa676e68c2a9a174c64188f7ab029e', textColor: colorDesktop }, "Powered by"), h("a", { key: '5a7f20a70efee92be700365818004f86827cc373', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'c4a61b660e474064c35626744cad44e598206179', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
967
1046
  }
968
1047
  get el() { return getElement(this); }
969
1048
  static get watchers() { return {
@@ -1271,17 +1350,17 @@ const ZonosCheckoutProgressTabs = class {
1271
1350
  color: labelSelectedColor,
1272
1351
  })
1273
1352
  : labelSelectedColor;
1274
- return (h(Host, { key: '425c77b4ab1b9a29ada76644a60c2c6f54fa2e28', class: "zonos--elements", style: {
1353
+ return (h(Host, { key: '2bc73268f4413887abe526ab1ac01471627e9fbc', class: "zonos--elements", style: {
1275
1354
  '--zonos--color': contrastLabelColor,
1276
1355
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1277
- } }, h("div", { key: 'd8e13a57521242f597c8b8adf7c6f304b3a9d3ce', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1356
+ } }, h("div", { key: 'fb812b9d4e6ba72f26b4f31ccf8444500a72f277', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
1278
1357
  const isSelected = tab.value === selectedStep;
1279
1358
  return (h("button", { "aria-label": `Tab ${tab.label}`, class: classes([
1280
1359
  'zonos--tab-item',
1281
1360
  tab.value === selectedStep && 'selected',
1282
1361
  tab.isDone && 'done',
1283
1362
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
1284
- })), h("div", { key: '9461341c83a92c810a3cf02f3828610732eecfe2', class: "zonos--tab-progress" }, h("div", { key: '142824930f5a8a6ef4fdafc7b39d9a96aa518cff', class: "zonos--progress-bar-fill" }))));
1363
+ })), h("div", { key: '0dcaeb8d709f06df00b965c7aa081294a060120e', class: "zonos--tab-progress" }, h("div", { key: '8faef8257c4a0244e1ee5f3ac5752904ecd63d96', class: "zonos--progress-bar-fill" }))));
1285
1364
  }
1286
1365
  static get assetsDirs() { return ["assets"]; }
1287
1366
  get ele() { return getElement(this); }
@@ -1994,11 +2073,11 @@ const ZonosRestState = class {
1994
2073
  }
1995
2074
  render() {
1996
2075
  const imageUrl = this.getImageRestState();
1997
- return (h(Host, { key: '70b8901469cba98007780b2dc6cceaa61f96d8ac', class: classes(['zonos--elements zonos--restState']), style: {
2076
+ return (h(Host, { key: 'c8ad36ee240e6c623cfd950a9cd2eebc89e1d264', class: classes(['zonos--elements zonos--restState']), style: {
1998
2077
  '--zonos--font-family': zonosStoreFontFamily(),
1999
- } }, h("div", { key: '7903d837e37c843a55aee6211cc2071add4f5a05', class: "zonos--restState-image" }, h("img", { key: 'dee0733ab529b004f53d1d69a29a07d7a44a3eea', alt: this.restStateType, onError: () => {
2078
+ } }, h("div", { key: 'c1f45b4dfc584bd492f36cd678699aec372d0b41', class: "zonos--restState-image" }, h("img", { key: 'dbbcbfcdfb849c8f31c17eba4f99d2fbf1f9f05d', alt: this.restStateType, onError: () => {
2000
2079
  this.isErrorImageLoad = true;
2001
- }, src: imageUrl })), h("div", { key: '612e7d71d5e6bd2e0c37d7c6595b35ea5ca416dd', class: "content" }, h("zonos-text", { key: 'c28379a4b4546afa6b323986c092c9538aa66b65', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '309e2e9c5086d0c84ccbe6c695d657d9f8e16da0', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '7fb9586682d221a311598ee8d294c6daede33e96', class: "action" }, h("slot", { key: '87959654a7a3c9c621d633a492627d53ff561fd4' }))));
2080
+ }, src: imageUrl })), h("div", { key: 'a3f92d7c4b7c3d6b27b310024b60659903901300', class: "content" }, h("zonos-text", { key: 'c3f6af9cc17b95f988d848e18e3afbdb711c5ddd', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '656d089910ca5aa79b762d6c36b9b14ef093b706', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'e44d6b8bdf04cc1bc31a3ed427260c08ab05781b', class: "action" }, h("slot", { key: '662fcf9da75d402dbfdd4ec8135c5112c5cc7527' }))));
2002
2081
  }
2003
2082
  static get assetsDirs() { return ["assets"]; }
2004
2083
  };
@@ -68,14 +68,14 @@ const ZonosCheckbox = class {
68
68
  customRoundRadius: '4px',
69
69
  overrideBorderStyle: this.borderStyle,
70
70
  });
71
- return (h(Host, { key: 'b72500a3ead1362eebf6cd90fc60fddbade0bccf', class: classes(['zonos--elements zonos--checkbox']), style: {
71
+ return (h(Host, { key: '68ce8866560fc44b0f0ccdc2c62ce6f12662b732', class: classes(['zonos--elements zonos--checkbox']), style: {
72
72
  '--zonos--background-color': backgroundColor,
73
73
  '--zonos--border-radius': borderStyle,
74
74
  '--zonos--font-family': zonosStoreFontFamily(),
75
75
  '--zonos--size': `${this.size}px`,
76
- } }, h("label", { key: '3a5104fa8f2b3874108f27732df0aee9d4bebbd6', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: 'aea12725ffa80d01c7fe1753d637f6e94e1d0fad', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
76
+ } }, h("label", { key: '296bc060857897219204b2f7c92f14fe95d9a4e0', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: '0995da201de091b958f8a7e0aa8e160d3806c9df', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
77
77
  this.checkboxSelected.emit(e.target.checked);
78
- }, type: "checkbox" }), h("span", { key: '807f1b1b8acf88793abe74d329c8ffd81a450d9b', class: "checkmark-container" }, h("svg", { key: '18bec57b0554f70704f5c53e57a5929a48165f44', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd98ba6681c05d63e242518b332b7d3292e19d39e', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: 'f540e55464dd67bf513cf6a77b078c7492945b50', size: this.fontSize }, this.label)))));
78
+ }, type: "checkbox" }), h("span", { key: '9ea1f4c9e4eecf9ac151d10318fcdec7e3a242e2', class: "checkmark-container" }, h("svg", { key: '56a08834db133070b05d00c95017ed2e35a27d7f', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'c137dbb9448ca58d7080b48f7e8e0ca0ce534ef9', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: 'bdff3daf6e88591d3af0567c74569608e6dabb4e', size: this.fontSize }, this.label)))));
79
79
  }
80
80
  };
81
81
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreUpdateCheckoutSessionBaseCurrency, v as stripeStoreHandleInventoryCheck, w as storeCreditStoreApplyCredit, x as storeCreditStoreCoversFullAmount, y as validateCheckoutSession, z as storeCreditStoreCreateOrder, A as stripeStoreConfirmPayment, B as stripeStoreHandleInventoryRefund, C as stripeStoreReset, D as cartStoreOnChange, E as stripeStoreOnChange, F as storeCreditStoreGetEffectiveAmount } from './cart-41f41429.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-ac74241f.js';
4
- import { f as filterValidTests, l as localizationStore, a as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, b as storageStoreSetEnabledVariantTestKeys, t as translate, c as localizationStoreOnChange, d as currencyFormat } from './localization-ee06df70.js';
2
+ import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, p as cartStoreSetCheckoutSession, q as stripeStorePrefetchLandedCost, r as cartStoreNextStep, u as stripeStoreUpdateCheckoutSessionBaseCurrency, v as stripeStoreHandleInventoryCheck, w as storeCreditStoreApplyCredit, x as storeCreditStoreCoversFullAmount, y as validateCheckoutSession, z as storeCreditStoreCreateOrder, A as stripeStoreConfirmPayment, B as stripeStoreHandleInventoryRefund, C as stripeStoreReset, D as cartStoreOnChange, E as stripeStoreOnChange, F as storeCreditStoreGetEffectiveAmount } from './cart-62c166fc.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-424d040d.js';
4
+ import { f as filterValidTests, l as localizationStore, a as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, b as storageStoreSetEnabledVariantTestKeys, t as translate, c as localizationStoreOnChange, d as currencyFormat } from './localization-d2631105.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-9662b071.js';
6
6
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
7
7
  import { h as handleFetch, l as logError, g as getIsTestMode, j as jsonParse, b as getAdditionalLogMetadata, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-a844cac1.js';
@@ -1798,6 +1798,9 @@ const ZonosCheckout = class {
1798
1798
  // if createCartId is provided, use it to build cart. Merchant will provide create a cart from their server side and give the cart id to us.
1799
1799
  if (typeof zonosStore.checkoutSettings.createCartId === 'function') {
1800
1800
  log('"createCartId" is provided, start building cart');
1801
+ // Reset before awaiting the merchant callback so a stale banner from a
1802
+ // previous open is not visible while the network call is in flight.
1803
+ cartStore.customMessage = [];
1801
1804
  const cartIdResult = await zonosStore.checkoutSettings.createCartId();
1802
1805
  let cartId;
1803
1806
  if (typeof cartIdResult === 'object') {
@@ -1807,6 +1810,12 @@ const ZonosCheckout = class {
1807
1810
  this.useShippingDataFromCreateCartId(cartIdResult.shippingData);
1808
1811
  cartStore.customerAuthenticationToken =
1809
1812
  cartIdResult.customerAuthenticationToken || null;
1813
+ // Normalize against misbehaving merchant callbacks: only accept an
1814
+ // array of strings, drop everything else so a bad value can't crash
1815
+ // the renderer (`.filter(...)` would throw on non-arrays).
1816
+ cartStore.customMessage = Array.isArray(cartIdResult.customMessage)
1817
+ ? cartIdResult.customMessage.filter((line) => typeof line === 'string')
1818
+ : [];
1810
1819
  }
1811
1820
  else {
1812
1821
  cartId = cartIdResult;
@@ -53,10 +53,10 @@ const ZonosCollapse = class {
53
53
  // set overflow to hidden to prevent content from showing when collapsed
54
54
  this.el.style.overflow = 'hidden';
55
55
  }
56
- return (h(Host, { key: '3e88dfbb76bc891e26c8b25729719b3bdc7e4087', class: 'zonos--elements zonos--collapse', style: {
56
+ return (h(Host, { key: '4266c0d5399bbcecf4725cfda02ee88fb3b74843', class: 'zonos--elements zonos--collapse', style: {
57
57
  '--zonos--font-family': zonosStoreFontFamily(),
58
58
  height: this.getElementHeight(),
59
- } }, h("div", { key: '3304ccae3cf01ee2100f10e0e4751bb1ea709d00' }, h("iframe", { key: 'c7af721e790b0b7cea8a5345403d485c8ed0dae4', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'be37b54db2a486750777edf71ff1001e4589f80a' }))));
59
+ } }, h("div", { key: 'ca2fb1d9b821402ff26e171f678083d60b401a22' }, h("iframe", { key: 'ba726164295930bba21d115b732a7bd2edad18e0', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '1454a6f84d2e90be4b79868c99dfefdb21baf9d9' }))));
60
60
  }
61
61
  get el() { return getElement(this); }
62
62
  };
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-41f41429.js';
2
+ import { d as cartStore } from './cart-62c166fc.js';
3
3
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-5f7856f2.js';
4
4
  import { f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { s as styles } from './styles-6fc2fad9.js';
7
- import './localization-ee06df70.js';
7
+ import './localization-d2631105.js';
8
8
  import './handleFetch-a844cac1.js';
9
9
  import './VarianceTest-572cecf5.js';
10
10
  import './isDarkColor-0a8453e7.js';
@@ -21,7 +21,7 @@ const ZonosCollectCartItems = class {
21
21
  render() {
22
22
  const emptyItemImg = getAssetPath('./assets/empty-item.jpeg');
23
23
  const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
24
- return (h(Host, { key: 'ccad7b37a4f0d00d679dfdecb98fa15c2600aea2', class: "zonos--collect-cart-items zonos--elements" }, h("table", { key: '0464336c854621f6f2b31b2fa6ce93daa152e607', class: "zonos--cart-table" }, h("tbody", { key: 'a32edcb6ed81d0117fb96f93c9e4fea5d1971abe' }, nonRestrictedItems.map(item => {
24
+ return (h(Host, { key: '085e4b2fd45b68d916f268719cb52009cc06f8a2', class: "zonos--collect-cart-items zonos--elements" }, h("table", { key: '23338d49319259769cd139ff9c329f3a9c6a059a', class: "zonos--cart-table" }, h("tbody", { key: '9a8ba11598f20b78a0ea199ccdf7254db461a0ac' }, nonRestrictedItems.map(item => {
25
25
  const itemImg = item.imageUrl;
26
26
  const cleanedItemNames = cleanHtmlMarkdown(item.name);
27
27
  return (h("tr", { class: "zonos--collect-cart-item" }, h("td", { class: "zonos--column zonos--cart-item-image" }, itemImg && !this.errorImages.includes(itemImg) ? (h("img", { alt: item.name, onError: () => {
@@ -48,10 +48,10 @@ const HStack = class {
48
48
  this.spacing = 24;
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: '6d17afddd6bee4215f1ca29e6d1876ead04b1cf4', style: {
51
+ return (h(Host, { key: '721c4dd7d467879b21078725e6343b7ee8d76675', style: {
52
52
  '--spacing': `${this.spacing}px`,
53
53
  '--zonos--font-family': zonosStoreFontFamily(),
54
- } }, h("slot", { key: '1588eca69137d187ce946df8004a5192187e963b' })));
54
+ } }, h("slot", { key: '1e4dc26d7e61893d04bc6255abf2834b4545b335' })));
55
55
  }
56
56
  };
57
57
  HStack.style = ZonosHStackStyle0;
@@ -74,7 +74,7 @@ const ZonosSkeleton = class {
74
74
  this.skeletonHeight = '14px';
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: '06888cfea3918480152b8f1af660148882747195', class: classes(['zonos--elements zonos--skeleton']), style: styles({
77
+ return (h(Host, { key: '22a28005143f47dd80eaec233e7d9937d7e72507', class: classes(['zonos--elements zonos--skeleton']), style: styles({
78
78
  '--zonos--skeleton-height': this.skeletonHeight,
79
79
  '--zonos--skeleton-width': this.skeletonWidth,
80
80
  }) }));
@@ -1,17 +1,17 @@
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-41f41429.js';
3
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-ac74241f.js';
4
- import { t as translate, s as storageStore, l as localizationStore, p as translationStoreOnChange } from './localization-ee06df70.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-62c166fc.js';
3
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-424d040d.js';
4
+ import { t as translate, s as storageStore, l as localizationStore, p as translationStoreOnChange } from './localization-d2631105.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';
8
8
  import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
9
9
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
10
- import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-d02bb448.js';
10
+ import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-5f50ec81.js';
11
11
  import { c as classes } from './classes-0d95c529.js';
12
12
  import { l as languages } from './ILanguage-cd6acb72.js';
13
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-99da51f5.js';
14
- import { p as placeTestOrder } from './placeTestOrder-0416d327.js';
13
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-513ead96.js';
14
+ import { p as placeTestOrder } from './placeTestOrder-cf237d95.js';
15
15
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
16
16
  import './isDarkColor-0a8453e7.js';
17
17
  import './isContrastColor-6bad285e.js';
@@ -268,11 +268,11 @@ const ZonosCollectFinish = class {
268
268
  }
269
269
  render() {
270
270
  const cartId = window.Zonos.cartId;
271
- return (h(Host, { key: 'ebc550d41d82330609ce842578fb9414397f11d2', class: "zonos--checkout-finish zonos--elements", style: {
271
+ return (h(Host, { key: '3de21586bf8e0f31e698e2b1a51d3344aae94af1', class: "zonos--checkout-finish zonos--elements", style: {
272
272
  '--zonos--border-radius': getBorderRadius({
273
273
  overrideBorderStyle: this.borderRadius,
274
274
  }),
275
- } }, !this.isLoading && (h("div", { key: 'e63176b8eb34a1c9bac491cc653c1108e085e77e', class: "zonos--finish-details" }, h("div", { key: 'abad1b8c765417e3d1cb4eb5f97c2713bc780517', 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: '00924614cb5e3553bd572008a7e13ecd7c516272', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'e39986d7d0f739a7ea221546f3f06aa5327ef824', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'b4894f5156a213413e58484fe465905e1c5e48d4', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '8770f7a408b8b9862a2ef5ac4fa02a6caae6183a', class: "zonos--button-container" }, h("zonos-button", { key: '3bebe519d938bccb40c65c668fa58088cfeff47f', onClick: () => {
275
+ } }, !this.isLoading && (h("div", { key: '66f93432802d63e1fab59de19c1fd930cfddacbe', class: "zonos--finish-details" }, h("div", { key: '0857460a375bff54492dd7fe64baddf2af1e966a', 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: '008c4971516d110e1c2d0a348b09fa6ca0a0b1a6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '3e86105dbdae6cb696b0c4be81d9fcc30576ae4b', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'b372ae467ccb62b5c03aba28635135c350473986', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'bbf5885fe6e52135e3a2d7a82f0e85fd26e6aa74', class: "zonos--button-container" }, h("zonos-button", { key: '74dd846361072721bb3c511d675f7e42b7c063e9', onClick: () => {
276
276
  window.open(this.getReceiptUrl({ cartId }), '_blank');
277
277
  }, size: "lg", variant: "primary" }, translate('View receipt')))))))));
278
278
  }
@@ -337,15 +337,15 @@ const ZonosCollectFooter = class {
337
337
  const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
338
338
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
339
339
  const colorDesktop = 'gray-1000';
340
- return (h(Host, { key: '2650da0d6942ec1389d65316d4f387b205eb3d23', class: classes([
340
+ return (h(Host, { key: '5ec7e478c6b2b4fc21634ed70261dce3b095a8a0', class: classes([
341
341
  'zonos--elements',
342
342
  this.isMobile && 'mobile',
343
343
  this.isTablet && 'tablet',
344
- ]) }, h("div", { key: '711017e883a7c88de6a8c4d2761d969045fa7511', class: "zonos--collect-footer" }, h("div", { key: '3eb3e89a254e3dba1cbd0a4dca0e257f0f7a64f7', class: "zonos--collect-locale-wrapper" }, h("zonos-button", { key: '2615195358247954888d47aa01b873c2e1ff738d', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '90d0c4ca757c3825865cf82b9991a13d2972254d', class: "zonos--collect-locale-label" }, languageLabel, h("zonos-icon", { key: '6badf11c60712883ee1ed037a8ddb955a7675d53', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: 'e8b45be9f457a57482da8ed95193ca2c36525525', class: classes([
344
+ ]) }, h("div", { key: 'c16c9d6e73dbfbd416137c6bf697cbb92d2bf706', class: "zonos--collect-footer" }, h("div", { key: '7df1dde2ef014d5f1b7093e034d0ccf0e795ac61', class: "zonos--collect-locale-wrapper" }, h("zonos-button", { key: 'fcbc9ddc94b68e353b2f8f064c99abf1cc2900a9', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: 'bf58b98ed61dbc6c6cba358c34f40a15301c8c9a', class: "zonos--collect-locale-label" }, languageLabel, h("zonos-icon", { key: '2cda7ba7b226accb3f42281a0dc94d8227330193', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '963404ac73580e236740343fec11447b9ee22ca4', class: classes([
345
345
  'zonos--collect-language-dialog',
346
346
  this.showLanguageDialog &&
347
347
  'zonos--collect-language-dialog-open',
348
- ]) }, h("zonos-language-select", { key: 'a0a9bc9fca4df158e615ae387a5be2598a7b9f36', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '8e4743edc609ac041cb283a2a4864efcbda0a86e', class: "zonos--collect-footer-icon-wrapper" }, h("div", { key: 'd1119f22e17b80d015198c2803657c0280939ec7', class: "zonos--collect-footer-logo" }, h("zonos-text", { key: '4faac90e9cb3469ffeb743155345232de8e3730a', textColor: colorDesktop }, "Powered by"), h("a", { key: '63b6ad613f96d8bd6f88b931c0c3833d08744479', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '09d6e961e27583a37b319be89fd0f80dbb9e96bd', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'b78088f8ab0cdc6b8dba6f1e0012e4c96407dd92', class: "dot" }), h("a", { key: '5ada46bc9f2fa3b52e235b3ec0231423e15fb5f5', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'b22d50bd1aaf5fddf8e1795f68b85c0e4f0125e8', textColor: colorDesktop }, "Privacy policy"))))));
348
+ ]) }, h("zonos-language-select", { key: '8b41a062040737a68d3c9b00839fa65b412cf7c4', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '16c4a6476916227d6310c48fb4d0cc732ba8fd52', class: "zonos--collect-footer-icon-wrapper" }, h("div", { key: '220c6d0bb23e3d43f3a21ed2cf94f4eff016e8f5', class: "zonos--collect-footer-logo" }, h("zonos-text", { key: '6c6e2cab741612e4e75a2840dc36571e49aad40d', textColor: colorDesktop }, "Powered by"), h("a", { key: '60aa25c0951f8307974c4a892fddbb0626cc76d2', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '7f913799ae95ee9ed30aea2e6144d36c89ebd7f8', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'd74339c34ecebcbdeb60e08f8de4b83d07a93a71', class: "dot" }), h("a", { key: '8e9917e5ef37bedc593774bd7e0cab85fb7a99b4', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '2cc37adc0b69dfbb7ea7ee6b6727ad173c2cae6e', textColor: colorDesktop }, "Privacy policy"))))));
349
349
  }
350
350
  get el() { return getElement(this); }
351
351
  static get watchers() { return {
@@ -679,13 +679,13 @@ const ZonosCollectReview = class {
679
679
  }
680
680
  render() {
681
681
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
682
- return (h(Host, { key: '9b00168e63cbd687c01583577eefe9f5e9958996', class: classes([
682
+ return (h(Host, { key: 'e80b802a45d3d6395ead284a218ed1053d2e05a7', class: classes([
683
683
  'zonos--collect-review zonos--elements',
684
684
  this.isMobile && 'mobile',
685
685
  this.isTablet && 'tablet',
686
- ]) }, h("div", { key: '5d29409d7c09ce620b32d6f4512bbd280817cfa8', class: "zonos--title" }, h("zonos-text", { key: 'b06ea84a112b06f1aba656060c85680cada09808', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
686
+ ]) }, h("div", { key: 'febeea7c348a5279ddf97bdd48e3d28fa07d6f22', class: "zonos--title" }, h("zonos-text", { key: '1ed640de9e3e6d87064a727ecca208368e1a1e81', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
687
687
  organizationName: zonosStore.organizationName,
688
- }))), h("div", { key: '7d96f27c70d54f69862816be87bf1c084a91ecb9', class: "zonos--total-pay" }, renderFallback({
688
+ }))), h("div", { key: '0a61b9f3a8ba33e83b50b8c53edfa3b784d47051', class: "zonos--total-pay" }, renderFallback({
689
689
  content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
690
690
  amount: collectStore.amountDutyTaxFeeTotal || 0,
691
691
  isForeign: true,
@@ -751,7 +751,7 @@ const ZonosCollectSubtotal = class {
751
751
  }
752
752
  render() {
753
753
  this.initSubtotalData();
754
- return (h(Host, { key: 'dbdf16aeb070857018db4456e06b8c74cc135d78', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: '90e8278e1f518f5531813c3cf0b032707fe42eb8', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: '3c63319c6be8719069eb7d80eda2546dcc76f273', class: "zonos--row zonos--collect-duty" }, h("td", { key: '942aa283152bbf69439e7a864156c2f4a71f66dd', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'db7ee74968f1b452e93a9e1d46de833e2513f582', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: 'dfae6f70ace82c38bdce41de0b4f900c790fa9ae', class: "zonos--column" }), h("td", { key: '943c6781ad1909d6c5c315f705fcb08547a92660', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
754
+ return (h(Host, { key: '6df77785504d4076a3b675a9ef62171105fa22b5', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: '5a0917d3828ff18b5ad67d6e168e67b5646a6425', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: 'b51069b800459d0aa64cebb98c0bae99d05bde8a', class: "zonos--row zonos--collect-duty" }, h("td", { key: 'b7bd45e0256a852ec363ffed7022d95079a8282c', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '47db47e87c83c4e5361e363d8c48cbef675a1eb7', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: 'd3b083c586c04fdca1a9410992cba6350050fd75', class: "zonos--column" }), h("td", { key: '6aedc27105ffe3a15744482025e3c711de22709a', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
755
755
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
756
756
  amount: this.subtotals[translate('Duties')] || 0,
757
757
  isForeign: true,
@@ -759,7 +759,7 @@ const ZonosCollectSubtotal = class {
759
759
  isLoading: collectStore.isFetchingShippingInfo,
760
760
  skeletonHeight: '14px',
761
761
  skeletonWidth: '150px',
762
- })))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: 'e87cf556d84fa66789f2410b77e049229eb54732', class: "zonos--row zonos--collect-tax" }, h("td", { key: '5941322ab31a1227a6944a05b25b27f387e184e7', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '729fd97147df76283b5d97a30015e2af84a4fbb6', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: 'a51514811435edae33c37f6062b0323ef2acfd05', class: "zonos--column" }), h("td", { key: 'a091d24821800034b1629813e05b40854951908d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
762
+ })))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: 'ee934191b6d95c2bdebf40c5a8d6e9a8dcc4716b', class: "zonos--row zonos--collect-tax" }, h("td", { key: 'd9966df4b307915d69e99ddca307afb3b1dac57d', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '0b074f206a3746e9428a1f7f4df95a7035770535', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: '4cd818d7d7db3bbb1b044f09420f3c0de9c2654f', class: "zonos--column" }), h("td", { key: '885a3b0d243f9687af99018c94e6f7990ab94ae4', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
763
763
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
764
764
  amount: this.subtotals[translate('Taxes')] || 0,
765
765
  isForeign: true,
@@ -767,7 +767,7 @@ const ZonosCollectSubtotal = class {
767
767
  isLoading: collectStore.isFetchingShippingInfo,
768
768
  skeletonHeight: '14px',
769
769
  skeletonWidth: '150px',
770
- })))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '1ee4eae6bc0ea9be2d3b98733a3d51034db3b2c3', class: "zonos--row zonos--collect-fee" }, h("td", { key: '6548ee27908c32e7c39f4f16a7c6f202df256e28', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'b911ffc5f29252efba3989e494eca1c5ec0fbd54', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: 'f01086495ba4e1864f63de5fdd212de922e335c6', class: "zonos--column" }), h("td", { key: 'f2e628f5fb0087cebc5b135194325127357828e2', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
770
+ })))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '840cdf461bd3cb0780c517be7900a4db7522da6d', class: "zonos--row zonos--collect-fee" }, h("td", { key: '57edb0642163a4fb580c538334f77fba2f15efe1', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'daa9e1ab156a2a5b26aec744014c2501948872e8', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: '90cc11dda267840a4d4559aed5cfa5d61e13a986', class: "zonos--column" }), h("td", { key: '3716f79ab7323f5d6ebca7ece57bfd7b78f62b20', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
771
771
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
772
772
  amount: this.subtotals[translate('Fees')] || 0,
773
773
  isForeign: true,
@@ -775,7 +775,7 @@ const ZonosCollectSubtotal = class {
775
775
  isLoading: collectStore.isFetchingShippingInfo,
776
776
  skeletonHeight: '14px',
777
777
  skeletonWidth: '150px',
778
- })))), h("tr", { key: '1b3c7371aa2b395c310e1bbfbda5071fc76bc523', class: "zonos--row zonos--collect-spacing" }, h("td", { key: 'ffcab1bd04d14fbc8c57d6731f2243945d889b9f', class: "zonos--column", colSpan: 3 })), h("tr", { key: 'c674e6737e1888c3ef4dfa9a2cc06ec595ddc74f', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: 'c79170263853ebba9168b566ed0985af9e7f7bec', class: "zonos--column" }), h("td", { key: '05bff80d6dd83b047ec4f40dedbb42dcef822a34', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '61e4f56cd4da5187bb64c746920b04655ed4624a', type: "label" }, translate('Subtotal'))), h("td", { key: 'a1701fa2c16e87cdba274349b7c5f9f0b90093ea', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
778
+ })))), h("tr", { key: '2ac89b5b3f76c2991b88ce163ca571380d91ae8b', class: "zonos--row zonos--collect-spacing" }, h("td", { key: 'fc073ec87ac579ad5af8fb2dd08fe47112e21717', class: "zonos--column", colSpan: 3 })), h("tr", { key: '87c32f3ee0ffb3c347c495ec853ebf92b6a08a0f', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: '664d161448aec51324f0d177d20fa0ef765a17bb', class: "zonos--column" }), h("td", { key: 'c14949595986be080c502ad175529883f2c789cc', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'cf141dd8e58e73b981cdb5f51c111d83099222ae', type: "label" }, translate('Subtotal'))), h("td", { key: '3cba5203e563ec1f4c591d6c42cf7b9a7c8c2045', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
779
779
  content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
780
780
  amount: collectStore.amountDutyTaxFeeTotal || 0,
781
781
  isForeign: true,
@@ -783,7 +783,7 @@ const ZonosCollectSubtotal = class {
783
783
  isLoading: collectStore.isFetchingShippingInfo,
784
784
  skeletonHeight: '14px',
785
785
  skeletonWidth: '150px',
786
- }))), h("tr", { key: '83b981afc2f2ddfa5a21ee28fea2e00ec3aef4e8', class: "zonos--row zonos--collect-total" }, h("td", { key: '041fdf582712439e15521ab290f6475106d890cc', class: "zonos--column" }), h("td", { key: '82734ce4831e6255d8d6fe6aa73e8c132ba65d1d', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'd7b1771c43d5176226d1e503ec9308da5806fa52', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: '5bebbeaaa0ed0c112e73e4e6283d1364b9ae4f64', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
786
+ }))), h("tr", { key: '14065db117fef4acbb0f459a624fee28ea127205', class: "zonos--row zonos--collect-total" }, h("td", { key: '0bc154f6d48ddb0bdc829233a66f0e486ed9df4f', class: "zonos--column" }), h("td", { key: '1f2997cebc3250152b1ecd207066ffc44af7f124', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'd50cc0977380fc1bf858fbe26201d919000a74b5', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: '2fcd30a868708f5abea04230c1407fff62fb011d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
787
787
  content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
788
788
  amount: collectStore.amountDutyTaxFeeTotal || 0,
789
789
  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-41f41429.js';
3
- import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-d02bb448.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-ac74241f.js';
5
- import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-ee06df70.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-62c166fc.js';
3
+ import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-5f50ec81.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-424d040d.js';
5
+ import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-d2631105.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,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
2
- import { b as stripeStore } from './cart-41f41429.js';
3
- import { e as getOverridenZCountry, i as isValidSelector, h as initLocalizationStore, s as storageStore, a as localizationStoreUpdateSelectedCountryCode } from './localization-ee06df70.js';
2
+ import { b as stripeStore } from './cart-62c166fc.js';
3
+ import { e as getOverridenZCountry, i as isValidSelector, h as initLocalizationStore, s as storageStore, a as localizationStoreUpdateSelectedCountryCode } from './localization-d2631105.js';
4
4
  import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
5
5
  import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { l as localizationStore } from './localization-ee06df70.js';
2
+ import { l as localizationStore } from './localization-d2631105.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './handleFetch-a844cac1.js';