@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
@@ -211,13 +211,13 @@ const ZonosButton = class {
211
211
  const borderStyle = getBorderRadius.getBorderRadius({
212
212
  overrideBorderStyle: this.borderStyle,
213
213
  });
214
- return (index.h(index.Host, { key: '0e8c9eaa41b5769793e8b598e675f74e76061a7d', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
214
+ return (index.h(index.Host, { key: '8172735394435d60f27ff0b55d3bcd57c7327487', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
215
215
  '--zonos--background-color': backgroundColor,
216
216
  '--zonos--border-radius': borderStyle,
217
217
  '--zonos--color': color,
218
218
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
219
219
  '--zonos--font-weight': this.bold ? 'bold' : 'normal',
220
- }) }, index.h("button", Object.assign({ key: '5de21db7f0fb00f327ffb9d9da450269e8493b43' }, this.inheritedAttributes, { class: classes.classes([
220
+ }) }, index.h("button", Object.assign({ key: 'c0afe56a3a2740aab6ed98311d6ea5d8a40fc390' }, this.inheritedAttributes, { class: classes.classes([
221
221
  this.hasIcon && 'has-icon',
222
222
  this.hasContent && 'has-content',
223
223
  this.noBackground && 'no-background',
@@ -232,7 +232,7 @@ const ZonosButton = class {
232
232
  backgroundColor && variant === 'standard' && 'override-background',
233
233
  ]), disabled: disabled, style: {
234
234
  justifyContent: this.justifyContent,
235
- } }), this.loading && (index.h("div", { key: 'ff288d4a7ab7fc79e7e66328e413034e653ddc13', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '14f473f5f16407c020ae6163e5ccba00b6b8ea76', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '3fdd8e722cf4cb730f3227fe0562011af106da28', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
235
+ } }), this.loading && (index.h("div", { key: '042ee0a9b02356aaf5b9332121e810782a3efff3', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '2973bb0afdddcfffd1d17bf423776dace52d9f7f', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '45c56c5839daf9bff44b424f2de43f02d37ca7cc', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
236
236
  }
237
237
  static get delegatesFocus() { return true; }
238
238
  get ele() { return index.getElement(this); }
@@ -6,10 +6,10 @@ const index = require('./index-b1f95d96.js');
6
6
  const zonosStore = require('./zonosStore-0662b95f.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
9
- const cart = require('./cart-d4486651.js');
10
- const localization = require('./localization-06cc0379.js');
9
+ const cart = require('./cart-efc42379.js');
10
+ const localization = require('./localization-4b17c530.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
12
- const paypal = require('./paypal-52c4a4d4.js');
12
+ const paypal = require('./paypal-3bb55914.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-e317bb06.js');
15
15
  require('./isContrastColor-a02c4889.js');
@@ -39,16 +39,16 @@ const ZonosCard = class {
39
39
  customRoundRadius: `${this.borderRadius}px`,
40
40
  overrideBorderStyle: 'ROUNDED',
41
41
  });
42
- return (index.h(index.Host, { key: '04b66449d19c5862587b5ef4b2f7cb32524b03bd', style: {
42
+ return (index.h(index.Host, { key: 'ae124207be3fbddbd445d74cdf31085401a09c67', style: {
43
43
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
44
- } }, index.h("div", { key: '218a1def4d384b3bf589e87ca657168de2cea3e5', class: classes.classes(['styled-card']), style: {
44
+ } }, index.h("div", { key: '43fe2ffcb7caa0754c93f6d94898156f5169139b', class: classes.classes(['styled-card']), style: {
45
45
  '--zonos--background-color': backgroundColor,
46
46
  '--zonos--border-radius': borderRadius,
47
47
  padding: this.spacing,
48
- } }, this.label && (index.h("header", { key: 'bc5f2eaa90786860e20e40987df70e0cc9c527bb', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: '90be1e3b9cd28f5a7aacf79c65c56e14a37bc019', type: "subheader" }, this.label), index.h("h-stack", { key: 'c25845c181e02eadca3cacb2d73c7173ba0a1a50', spacing: 8 }, this.actions))), index.h("slot", { key: '1e875f0fc6d86ae7cc5bdcdc0fc509bdcc1e1862' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: '8fdca089c61d02ca14946dc3aaa8cb62c2feae99', class: "card-footer", style: {
48
+ } }, this.label && (index.h("header", { key: '6839065e2e630a841d6ecd7f03b19a93a988e49a', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: '498435bbbb60cc6d1d13a304aad321107bd6feaf', type: "subheader" }, this.label), index.h("h-stack", { key: '4de3f042a72b16be374209b393cb174fc7d1b670', spacing: 8 }, this.actions))), index.h("slot", { key: 'add9dac3d8b9a50c0caa37d245f632c6a5e64d7f' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: 'e83f37ed24b44d9b7316579ee28ea51a3da119d8', class: "card-footer", style: {
49
49
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
50
50
  padding: this.spacing,
51
- } }, index.h("div", { key: '801f46a84cbb1185185ee35f51bf211f09d5aaee' }, this.footerContent), index.h("h-stack", { key: 'c995fab1c343973cf5da3079b99baa8b11af2903', spacing: 8 }, this.footerActions))))));
51
+ } }, index.h("div", { key: '685721d5f7f51c99438f4ddf23cf75122db3223c' }, this.footerContent), index.h("h-stack", { key: '61a44c918aea4994c10b16045564b45135296852', spacing: 8 }, this.footerActions))))));
52
52
  }
53
53
  };
54
54
  ZonosCard.style = ZonosCardStyle0;
@@ -3,22 +3,22 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-d4486651.js');
7
- const localization = require('./localization-06cc0379.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-2ebeff09.js');
6
+ const cart = require('./cart-efc42379.js');
7
+ const localization = require('./localization-4b17c530.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-e0436f1c.js');
9
9
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
10
10
  const classes = require('./classes-b7918f56.js');
11
11
  const zonosStore = require('./zonosStore-0662b95f.js');
12
- const hasInclusivePrice = require('./hasInclusivePrice-40358cb1.js');
13
- const paypal = require('./paypal-52c4a4d4.js');
12
+ const hasInclusivePrice = require('./hasInclusivePrice-400be1b2.js');
13
+ const paypal = require('./paypal-3bb55914.js');
14
14
  const handleFetch = require('./handleFetch-954f30e1.js');
15
15
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
16
16
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
17
17
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
18
18
  const ILanguage = require('./ILanguage-98b04442.js');
19
- const placeTestOrder = require('./placeTestOrder-7c88197a.js');
19
+ const placeTestOrder = require('./placeTestOrder-313cbd78.js');
20
20
  const isDarkColor = require('./isDarkColor-e317bb06.js');
21
- const getContrastColor = require('./getContrastColor-68058615.js');
21
+ const getContrastColor = require('./getContrastColor-ce80dbe7.js');
22
22
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
23
23
  const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-a9a97194.js');
24
24
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
@@ -40,7 +40,7 @@ const ZonosCartItems = class {
40
40
  render() {
41
41
  const emptyItemImg = index.getAssetPath('./assets/empty-item.jpeg');
42
42
  const nonRestrictedItems = cart.cartStore.items.filter(item => !item.isRestricted);
43
- return (index.h(index.Host, { key: '52911cfab4b2da9d65c840cd692e638c9dc732c5', class: "zonos--cart-items zonos--elements" }, index.h("table", { key: '428a62423a7fcf0721f420c9fdceac4bd928a6eb', class: "zonos--cart-table" }, index.h("tbody", { key: '41a438eeb79635ba00a241fa9771b9c33c7fe7ff' }, nonRestrictedItems.map(item => {
43
+ return (index.h(index.Host, { key: '0533f9858716c5084f2f7d454038918dcea3f1d0', class: "zonos--cart-items zonos--elements" }, index.h("table", { key: '9819698277a5c597528364d19b7c5c7c3161fdd7', class: "zonos--cart-table" }, index.h("tbody", { key: '59493dfb49143a56f2addaf0c9eb1e8ce014dc1f' }, nonRestrictedItems.map(item => {
44
44
  const itemImg = item.imageUrl;
45
45
  const cleanedItemNames = cleanHtmlMarkdown.cleanHtmlMarkdown(item.name);
46
46
  const amount = item.amount * item.quantity;
@@ -148,7 +148,73 @@ const ZonosCartRestrictedItems = class {
148
148
  };
149
149
  ZonosCartRestrictedItems.style = ZonosCartRestrictedItemsStyle0;
150
150
 
151
- 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}";
151
+ // Markdown URL allows a single level of balanced `(...)` (e.g.
152
+ // `https://example.com/foo_(v2)`); anything deeper is rare in real-world URLs
153
+ // and we'd rather not write a recursive grammar. Bare URLs match greedily up
154
+ // to whitespace and rely on `BARE_URL_TRAILING_PUNCT` to peel off sentence
155
+ // punctuation.
156
+ const LINK_REGEX = /\[([^\]]+)\]\((https?:\/\/(?:[^\s()]|\([^\s()]*\))+)\)|(https?:\/\/[^\s]+)/g;
157
+ // Trailing characters that look like sentence punctuation rather than part of
158
+ // a URL. Stripped from bare URL matches so `Visit https://example.com.` keeps
159
+ // the period out of the link. `)` is intentionally excluded — Wikipedia-style
160
+ // URLs (e.g. `https://example.com/foo_(v2)`) embed balanced parens, and we
161
+ // don't want to break those.
162
+ const BARE_URL_TRAILING_PUNCT = /[.,;:!?\]}"']+$/;
163
+ /**
164
+ * Parse a string into an ordered list of plain-text and link segments.
165
+ *
166
+ * Supports Markdown-style links `[text](url)` and bare `https?://` URLs.
167
+ * Anything else is returned as a plain text segment so callers can render it
168
+ * as text (never `innerHTML`) — this is what keeps merchant-provided strings
169
+ * safe from HTML injection in [[customMessage]] banners.
170
+ *
171
+ * @example
172
+ * parseLinkedText('Visit [docs](https://example.com)')
173
+ * // [
174
+ * // { type: 'text', value: 'Visit ' },
175
+ * // { type: 'link', href: 'https://example.com', text: 'docs' },
176
+ * // ]
177
+ */
178
+ const parseLinkedText = (input) => {
179
+ var _a, _b;
180
+ const segments = [];
181
+ // Reset the shared regex state in case a previous call left a lastIndex.
182
+ LINK_REGEX.lastIndex = 0;
183
+ let lastIndex = 0;
184
+ let match;
185
+ while ((match = LINK_REGEX.exec(input)) !== null) {
186
+ if (match.index > lastIndex) {
187
+ segments.push({
188
+ type: 'text',
189
+ value: input.slice(lastIndex, match.index),
190
+ });
191
+ }
192
+ const [, mdText, mdUrl, plainUrl] = match;
193
+ // One of the alternations matched: either a markdown link (mdText + mdUrl)
194
+ // or a bare URL (plainUrl). Use the URL as both href and display text for
195
+ // bare URLs.
196
+ if (mdUrl && mdText) {
197
+ segments.push({ href: mdUrl, text: mdText, type: 'link' });
198
+ }
199
+ else if (plainUrl) {
200
+ const trailing = (_b = (_a = plainUrl.match(BARE_URL_TRAILING_PUNCT)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : '';
201
+ const url = trailing
202
+ ? plainUrl.slice(0, plainUrl.length - trailing.length)
203
+ : plainUrl;
204
+ segments.push({ href: url, text: url, type: 'link' });
205
+ if (trailing) {
206
+ segments.push({ type: 'text', value: trailing });
207
+ }
208
+ }
209
+ lastIndex = LINK_REGEX.lastIndex;
210
+ }
211
+ if (lastIndex < input.length) {
212
+ segments.push({ type: 'text', value: input.slice(lastIndex) });
213
+ }
214
+ return segments;
215
+ };
216
+
217
+ 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)}";
152
218
  const ZonosCartSubtotalStyle0 = zonosCartSubtotalCss;
153
219
 
154
220
  const ZonosCartSubtotal = class {
@@ -177,6 +243,19 @@ const ZonosCartSubtotal = class {
177
243
  }
178
244
  return null;
179
245
  };
246
+ /**
247
+ * Render a single merchant-provided message line. Segments come from
248
+ * [[parseLinkedText]] and are emitted as VNodes (never `innerHTML`) so
249
+ * untrusted strings can't inject HTML.
250
+ */
251
+ this.renderMessageLine = (line) => parseLinkedText(line).map(segment => segment.type === 'link' ? (index.h("zonos-link", { href: segment.href, rel: "noopener noreferrer", target: "_blank" }, segment.text)) : (segment.value));
252
+ this.renderCustomMessage = () => {
253
+ const messageLines = cart.cartStore.customMessage.filter(line => !!line.trim());
254
+ if (!messageLines.length) {
255
+ return null;
256
+ }
257
+ return (index.h("tr", { class: "zonos--row zonos--cart-custom-message" }, index.h("td", { class: "zonos--column" }), index.h("td", { class: "zonos--column", colSpan: 2 }, index.h("zonos-banner", { intent: "info" }, index.h("zonos-text", { type: "boldLabel" }, messageLines.map((line, idx) => (index.h(index.Fragment, null, idx > 0 && index.h("br", null), this.renderMessageLine(line)))))))));
258
+ };
180
259
  this.getCartSubtotalSubtitle = () => {
181
260
  const inclusivePriceType = this.getInclusivePriceType();
182
261
  if (inclusivePriceType === 'DUTY_AND_FEE') {
@@ -306,7 +385,7 @@ const ZonosCartSubtotal = class {
306
385
  }))))), index.h("tr", { class: "zonos--row zonos--cart-pay-total" }, index.h("td", { class: "zonos--column" }), index.h("td", { class: "zonos--column" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, localization.translate('Order total'))), index.h("td", { class: "zonos--column zonos--cart-total-price" }, index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
307
386
  amount: total,
308
387
  isForeign: true,
309
- })))))));
388
+ })))), this.renderCustomMessage())));
310
389
  }
311
390
  static get assetsDirs() { return ["assets"]; }
312
391
  };
@@ -884,11 +963,11 @@ const ZonosCheckoutFinish = class {
884
963
  }
885
964
  render() {
886
965
  const isTestMode = handleFetch.getIsTestMode();
887
- return (index.h(index.Host, { key: '97291e81aef62884ec0519d93dcc7ff184b2913d', class: "zonos--checkout-finish zonos--elements", style: {
966
+ return (index.h(index.Host, { key: '3df50a75327f2dd1d7eea538aed0501c96504f2d', class: "zonos--checkout-finish zonos--elements", style: {
888
967
  '--zonos--border-radius': getBorderRadius.getBorderRadius({
889
968
  overrideBorderStyle: this.borderRadius,
890
969
  }),
891
- } }, this.isImmediateRedirecting && (index.h("div", { key: '40569271fb67acb22a4a0fa3c0fc8e1c0c641061', class: "loading-wrapper" }, index.h("zonos-spinner", { key: '8b431c7751e5e32fe97f4244151ece7de3c6d9bc', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (index.h("div", { key: '0f5c89c285acf8c4f79e058c69cde9011df7e1a2', class: "zonos--finish-details" }, index.h("div", { key: '7491b15a90941476338ec6b1738312ffd4ebd2c0', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '87e0d022014596b02d813ee510917b7ec9b55e09', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), index.h("zonos-text", { key: '456bd678d5ba6f5b74da34f906bbe9f4bed870ac', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (index.h("zonos-button", { key: 'ebde02a73e71ad88d7d68629f2cd8a34d961aa63',
970
+ } }, this.isImmediateRedirecting && (index.h("div", { key: '6031b9b4d5847bb46a201ccf7f6b1cd036b3e3df', class: "loading-wrapper" }, index.h("zonos-spinner", { key: 'e816086c5efdfe8c1b40ce0bad935ef829a8f88d', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (index.h("div", { key: 'c787a355834af35a53f09f51f97c6796fa25c345', class: "zonos--finish-details" }, index.h("div", { key: 'a2a4bd3caee1cbffd514dcd69927a0f8a4e20af1', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '894069f110eab9cb02fe4dfa814d7c285dadf7cb', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), index.h("zonos-text", { key: '95bee491e9ac903a594569c911a81c63ebfab691', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (index.h("zonos-button", { key: 'cf10c1bdfe95c5a13a2714fc7d64042fa7ef49ac',
892
971
  // Only show loading spinner if it's not an error notification
893
972
  loading: this.isWaitingToRedirect &&
894
973
  this.notificationType !== 'error', onClick: () => {
@@ -900,9 +979,9 @@ const ZonosCheckoutFinish = class {
900
979
  }
901
980
  this.closeClickHandler();
902
981
  }, size: "md", variant: "primary" }, localization.translate('Close'))), !window.Zonos.isLegacyCheckout &&
903
- this.shouldRenderKeepShoppingButton() && (index.h("zonos-button", { key: '2b86a3d9fb705ad080af532e645fd26aa844a14a', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
982
+ this.shouldRenderKeepShoppingButton() && (index.h("zonos-button", { key: 'cc9da3752636dbf9ecd3446fb787074cb1fa725b', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
904
983
  cart.cartStore.step === 'finish' &&
905
- this.notificationType === 'success' && (index.h("div", { key: '83a9dc9fb81baaf9e223dfa9fe0fc0fc4c106635', class: "zonos--finish-button-wrapper" }, index.h("zonos-button", { key: 'edf8057b0430e3e4bb8fd675554659781e1724ae', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), index.h("zonos-button", { key: '3c40eee58d8a2ad5951dfdfc7c8d485052b6ba73', onClick: () => {
984
+ this.notificationType === 'success' && (index.h("div", { key: 'f61fedefbfcf3650377bfd2e1a86d7feb4129b12', class: "zonos--finish-button-wrapper" }, index.h("zonos-button", { key: 'fa794be3da7f480bc3682a2e932ee1f876ac5bb2', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), index.h("zonos-button", { key: '5bbff8ed5b5c585dd1a4ca8e2d206d48fb080f39', onClick: () => {
906
985
  const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
907
986
  this.redirectToUrl(isZonosDashboard
908
987
  ? '/orders/all'
@@ -964,10 +1043,10 @@ const ZonosCheckoutFooter = class {
964
1043
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
965
1044
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
966
1045
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
967
- return (index.h(index.Host, { key: '608a64c8e871bc0544cb80b719c9e11d441e2909', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: '37e6da358ce729c118128d9fae97efed127d83b9', class: "zonos--checkout-footer" }, index.h("div", { key: 'd42eb447dd73073debd6c0d48b766ce31f995b32', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: '3a61cc1647aa2e74d0e1fd5534ae9ff66446ba7a', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '28bfc7ed3b75c9724e951177914f2d874fff27fe', class: "zonos--checkout-locale-label" }, languageLabel, index.h("zonos-icon", { key: 'b082108bcc0b5dded10136056fa1426bb6adda8e', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: 'ddccc795078e5eb55b25cbe5d5a6bf502579cded', class: classes.classes([
1046
+ return (index.h(index.Host, { key: 'ec472ed419e634f96630332398ff6e814dcd0391', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: 'd29154eb86046ddd440460343b3b115d3e23c87d', class: "zonos--checkout-footer" }, index.h("div", { key: 'b0bb0fed3cc0b228fb1a80c6b27a3aaa84081b95', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: 'd6ef4aa2d32a04a5d27c8085471a85970a24dbed', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '6e7d935c324465ad501a28388d71ad73fba9c74f', class: "zonos--checkout-locale-label" }, languageLabel, index.h("zonos-icon", { key: '5041eee50cd91210e6c1d4257f66b63e76ce9e4a', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: '87b4b4b6fe789592d61dd7e69944b433c0bc0cf2', class: classes.classes([
968
1047
  'zonos--checkout-footer-dialog',
969
1048
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
970
- ]) }, index.h("zonos-language-select", { key: 'c38f3ebb835b15cbfbe624507c0addb8622f65e6', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: 'b4862df1b1f4a27071ad4291891b968d016c7024', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: 'ac15fc57811b44fbe9d6c032f02660bb41bd40f9', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'dc954edc4349a90c41b54348516c6922fe6c5e56', textColor: colorDesktop }, "Privacy policy")), index.h("div", { key: 'f8d5136948a871718cbd73f982b229c8ea46bbf8', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: '2e3542d9d2ddd78ba855858b93ccdeca47269962', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '240abfbd5b86c5d0068cb20305ab3bb39abf22b5', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '7d5fe50373919e4bc22da89b00915e607eb1b9df', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
1049
+ ]) }, index.h("zonos-language-select", { key: 'de8bd0ba1085564c2fe40c2d261e74ec9f67da90', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '7c3954550c4512b2d83fbafe05b57a44f0501991', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: '7bf2b74683ee81e8aa5ed5c0175ba22b8e8b5d6e', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'c39c00e77f47dbc1d47f69003cdb5c5f17c7a4e4', textColor: colorDesktop }, "Privacy policy")), index.h("div", { key: '567940865a03b6dce5273d70fb85860c042f9068', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: 'e3a0727029aa676e68c2a9a174c64188f7ab029e', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '5a7f20a70efee92be700365818004f86827cc373', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: 'c4a61b660e474064c35626744cad44e598206179', autoHeight: true, content: ZonosIconDark, size: 108 })))))));
971
1050
  }
972
1051
  get el() { return index.getElement(this); }
973
1052
  static get watchers() { return {
@@ -1275,17 +1354,17 @@ const ZonosCheckoutProgressTabs = class {
1275
1354
  color: labelSelectedColor,
1276
1355
  })
1277
1356
  : labelSelectedColor;
1278
- return (index.h(index.Host, { key: '425c77b4ab1b9a29ada76644a60c2c6f54fa2e28', class: "zonos--elements", style: {
1357
+ return (index.h(index.Host, { key: '2bc73268f4413887abe526ab1ac01471627e9fbc', class: "zonos--elements", style: {
1279
1358
  '--zonos--color': contrastLabelColor,
1280
1359
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1281
- } }, index.h("div", { key: 'd8e13a57521242f597c8b8adf7c6f304b3a9d3ce', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1360
+ } }, index.h("div", { key: 'fb812b9d4e6ba72f26b4f31ccf8444500a72f277', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1282
1361
  const isSelected = tab.value === selectedStep;
1283
1362
  return (index.h("button", { "aria-label": `Tab ${tab.label}`, class: classes.classes([
1284
1363
  'zonos--tab-item',
1285
1364
  tab.value === selectedStep && 'selected',
1286
1365
  tab.isDone && 'done',
1287
1366
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, index.h("div", { class: "zonos--tab-index" }, index.h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index$1 + 1), index.h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), index.h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, localization.translate(tab.label))));
1288
- })), index.h("div", { key: '9461341c83a92c810a3cf02f3828610732eecfe2', class: "zonos--tab-progress" }, index.h("div", { key: '142824930f5a8a6ef4fdafc7b39d9a96aa518cff', class: "zonos--progress-bar-fill" }))));
1367
+ })), index.h("div", { key: '0dcaeb8d709f06df00b965c7aa081294a060120e', class: "zonos--tab-progress" }, index.h("div", { key: '8faef8257c4a0244e1ee5f3ac5752904ecd63d96', class: "zonos--progress-bar-fill" }))));
1289
1368
  }
1290
1369
  static get assetsDirs() { return ["assets"]; }
1291
1370
  get ele() { return index.getElement(this); }
@@ -1998,11 +2077,11 @@ const ZonosRestState = class {
1998
2077
  }
1999
2078
  render() {
2000
2079
  const imageUrl = this.getImageRestState();
2001
- return (index.h(index.Host, { key: '70b8901469cba98007780b2dc6cceaa61f96d8ac', class: classes.classes(['zonos--elements zonos--restState']), style: {
2080
+ return (index.h(index.Host, { key: 'c8ad36ee240e6c623cfd950a9cd2eebc89e1d264', class: classes.classes(['zonos--elements zonos--restState']), style: {
2002
2081
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
2003
- } }, index.h("div", { key: '7903d837e37c843a55aee6211cc2071add4f5a05', class: "zonos--restState-image" }, index.h("img", { key: 'dee0733ab529b004f53d1d69a29a07d7a44a3eea', alt: this.restStateType, onError: () => {
2082
+ } }, index.h("div", { key: 'c1f45b4dfc584bd492f36cd678699aec372d0b41', class: "zonos--restState-image" }, index.h("img", { key: 'dbbcbfcdfb849c8f31c17eba4f99d2fbf1f9f05d', alt: this.restStateType, onError: () => {
2004
2083
  this.isErrorImageLoad = true;
2005
- }, src: imageUrl })), index.h("div", { key: '612e7d71d5e6bd2e0c37d7c6595b35ea5ca416dd', class: "content" }, index.h("zonos-text", { key: 'c28379a4b4546afa6b323986c092c9538aa66b65', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '309e2e9c5086d0c84ccbe6c695d657d9f8e16da0', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: '7fb9586682d221a311598ee8d294c6daede33e96', class: "action" }, index.h("slot", { key: '87959654a7a3c9c621d633a492627d53ff561fd4' }))));
2084
+ }, src: imageUrl })), index.h("div", { key: 'a3f92d7c4b7c3d6b27b310024b60659903901300', class: "content" }, index.h("zonos-text", { key: 'c3f6af9cc17b95f988d848e18e3afbdb711c5ddd', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '656d089910ca5aa79b762d6c36b9b14ef093b706', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: 'e44d6b8bdf04cc1bc31a3ed427260c08ab05781b', class: "action" }, index.h("slot", { key: '662fcf9da75d402dbfdd4ec8135c5112c5cc7527' }))));
2006
2085
  }
2007
2086
  static get assetsDirs() { return ["assets"]; }
2008
2087
  };
@@ -72,14 +72,14 @@ const ZonosCheckbox = class {
72
72
  customRoundRadius: '4px',
73
73
  overrideBorderStyle: this.borderStyle,
74
74
  });
75
- return (index.h(index.Host, { key: 'b72500a3ead1362eebf6cd90fc60fddbade0bccf', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
75
+ return (index.h(index.Host, { key: '68ce8866560fc44b0f0ccdc2c62ce6f12662b732', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
76
76
  '--zonos--background-color': backgroundColor,
77
77
  '--zonos--border-radius': borderStyle,
78
78
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
79
79
  '--zonos--size': `${this.size}px`,
80
- } }, index.h("label", { key: '3a5104fa8f2b3874108f27732df0aee9d4bebbd6', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: 'aea12725ffa80d01c7fe1753d637f6e94e1d0fad', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
80
+ } }, index.h("label", { key: '296bc060857897219204b2f7c92f14fe95d9a4e0', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: '0995da201de091b958f8a7e0aa8e160d3806c9df', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
81
81
  this.checkboxSelected.emit(e.target.checked);
82
- }, type: "checkbox" }), index.h("span", { key: '807f1b1b8acf88793abe74d329c8ffd81a450d9b', class: "checkmark-container" }, index.h("svg", { key: '18bec57b0554f70704f5c53e57a5929a48165f44', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.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 && (index.h("zonos-text", { key: 'f540e55464dd67bf513cf6a77b078c7492945b50', size: this.fontSize }, this.label)))));
82
+ }, type: "checkbox" }), index.h("span", { key: '9ea1f4c9e4eecf9ac151d10318fcdec7e3a242e2', class: "checkmark-container" }, index.h("svg", { key: '56a08834db133070b05d00c95017ed2e35a27d7f', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.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 && (index.h("zonos-text", { key: 'bdff3daf6e88591d3af0567c74569608e6dabb4e', size: this.fontSize }, this.label)))));
83
83
  }
84
84
  };
85
85
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-d4486651.js');
7
- const paypal = require('./paypal-52c4a4d4.js');
8
- const localization = require('./localization-06cc0379.js');
6
+ const cart = require('./cart-efc42379.js');
7
+ const paypal = require('./paypal-3bb55914.js');
8
+ const localization = require('./localization-4b17c530.js');
9
9
  const zonosStore = require('./zonosStore-0662b95f.js');
10
10
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -1802,6 +1802,9 @@ const ZonosCheckout = class {
1802
1802
  // 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.
1803
1803
  if (typeof zonosStore.zonosStore.checkoutSettings.createCartId === 'function') {
1804
1804
  VarianceTest.log('"createCartId" is provided, start building cart');
1805
+ // Reset before awaiting the merchant callback so a stale banner from a
1806
+ // previous open is not visible while the network call is in flight.
1807
+ cart.cartStore.customMessage = [];
1805
1808
  const cartIdResult = await zonosStore.zonosStore.checkoutSettings.createCartId();
1806
1809
  let cartId;
1807
1810
  if (typeof cartIdResult === 'object') {
@@ -1811,6 +1814,12 @@ const ZonosCheckout = class {
1811
1814
  this.useShippingDataFromCreateCartId(cartIdResult.shippingData);
1812
1815
  cart.cartStore.customerAuthenticationToken =
1813
1816
  cartIdResult.customerAuthenticationToken || null;
1817
+ // Normalize against misbehaving merchant callbacks: only accept an
1818
+ // array of strings, drop everything else so a bad value can't crash
1819
+ // the renderer (`.filter(...)` would throw on non-arrays).
1820
+ cart.cartStore.customMessage = Array.isArray(cartIdResult.customMessage)
1821
+ ? cartIdResult.customMessage.filter((line) => typeof line === 'string')
1822
+ : [];
1814
1823
  }
1815
1824
  else {
1816
1825
  cartId = cartIdResult;
@@ -57,10 +57,10 @@ const ZonosCollapse = class {
57
57
  // set overflow to hidden to prevent content from showing when collapsed
58
58
  this.el.style.overflow = 'hidden';
59
59
  }
60
- return (index.h(index.Host, { key: '3e88dfbb76bc891e26c8b25729719b3bdc7e4087', class: 'zonos--elements zonos--collapse', style: {
60
+ return (index.h(index.Host, { key: '4266c0d5399bbcecf4725cfda02ee88fb3b74843', class: 'zonos--elements zonos--collapse', style: {
61
61
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
62
62
  height: this.getElementHeight(),
63
- } }, index.h("div", { key: '3304ccae3cf01ee2100f10e0e4751bb1ea709d00' }, index.h("iframe", { key: 'c7af721e790b0b7cea8a5345403d485c8ed0dae4', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: 'be37b54db2a486750777edf71ff1001e4589f80a' }))));
63
+ } }, index.h("div", { key: 'ca2fb1d9b821402ff26e171f678083d60b401a22' }, index.h("iframe", { key: 'ba726164295930bba21d115b732a7bd2edad18e0', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: '1454a6f84d2e90be4b79868c99dfefdb21baf9d9' }))));
64
64
  }
65
65
  get el() { return index.getElement(this); }
66
66
  };
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-d4486651.js');
6
+ const cart = require('./cart-efc42379.js');
7
7
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
8
8
  const zonosStore = require('./zonosStore-0662b95f.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const styles = require('./styles-d1e64fb9.js');
11
- require('./localization-06cc0379.js');
11
+ require('./localization-4b17c530.js');
12
12
  require('./handleFetch-954f30e1.js');
13
13
  require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-e317bb06.js');
@@ -25,7 +25,7 @@ const ZonosCollectCartItems = class {
25
25
  render() {
26
26
  const emptyItemImg = index.getAssetPath('./assets/empty-item.jpeg');
27
27
  const nonRestrictedItems = cart.cartStore.items.filter(item => !item.isRestricted);
28
- return (index.h(index.Host, { key: 'ccad7b37a4f0d00d679dfdecb98fa15c2600aea2', class: "zonos--collect-cart-items zonos--elements" }, index.h("table", { key: '0464336c854621f6f2b31b2fa6ce93daa152e607', class: "zonos--cart-table" }, index.h("tbody", { key: 'a32edcb6ed81d0117fb96f93c9e4fea5d1971abe' }, nonRestrictedItems.map(item => {
28
+ return (index.h(index.Host, { key: '085e4b2fd45b68d916f268719cb52009cc06f8a2', class: "zonos--collect-cart-items zonos--elements" }, index.h("table", { key: '23338d49319259769cd139ff9c329f3a9c6a059a', class: "zonos--cart-table" }, index.h("tbody", { key: '9a8ba11598f20b78a0ea199ccdf7254db461a0ac' }, nonRestrictedItems.map(item => {
29
29
  const itemImg = item.imageUrl;
30
30
  const cleanedItemNames = cleanHtmlMarkdown.cleanHtmlMarkdown(item.name);
31
31
  return (index.h("tr", { class: "zonos--collect-cart-item" }, index.h("td", { class: "zonos--column zonos--cart-item-image" }, itemImg && !this.errorImages.includes(itemImg) ? (index.h("img", { alt: item.name, onError: () => {
@@ -52,10 +52,10 @@ const HStack = class {
52
52
  this.spacing = 24;
53
53
  }
54
54
  render() {
55
- return (index.h(index.Host, { key: '6d17afddd6bee4215f1ca29e6d1876ead04b1cf4', style: {
55
+ return (index.h(index.Host, { key: '721c4dd7d467879b21078725e6343b7ee8d76675', style: {
56
56
  '--spacing': `${this.spacing}px`,
57
57
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
58
- } }, index.h("slot", { key: '1588eca69137d187ce946df8004a5192187e963b' })));
58
+ } }, index.h("slot", { key: '1e4dc26d7e61893d04bc6255abf2834b4545b335' })));
59
59
  }
60
60
  };
61
61
  HStack.style = ZonosHStackStyle0;
@@ -78,7 +78,7 @@ const ZonosSkeleton = class {
78
78
  this.skeletonHeight = '14px';
79
79
  }
80
80
  render() {
81
- return (index.h(index.Host, { key: '06888cfea3918480152b8f1af660148882747195', class: classes.classes(['zonos--elements zonos--skeleton']), style: styles.styles({
81
+ return (index.h(index.Host, { key: '22a28005143f47dd80eaec233e7d9937d7e72507', class: classes.classes(['zonos--elements zonos--skeleton']), style: styles.styles({
82
82
  '--zonos--skeleton-height': this.skeletonHeight,
83
83
  '--zonos--skeleton-width': this.skeletonWidth,
84
84
  }) }));
@@ -3,19 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-d4486651.js');
7
- const paypal = require('./paypal-52c4a4d4.js');
8
- const localization = require('./localization-06cc0379.js');
6
+ const cart = require('./cart-efc42379.js');
7
+ const paypal = require('./paypal-3bb55914.js');
8
+ const localization = require('./localization-4b17c530.js');
9
9
  const zonosStore = require('./zonosStore-0662b95f.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
12
  const getBorderRadius = require('./getBorderRadius-a91911e7.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const isCollectMobileTablet = require('./isCollectMobileTablet-f56566ef.js');
14
+ const isCollectMobileTablet = require('./isCollectMobileTablet-630fcf87.js');
15
15
  const classes = require('./classes-b7918f56.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-2ebeff09.js');
18
- const placeTestOrder = require('./placeTestOrder-7c88197a.js');
17
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-e0436f1c.js');
18
+ const placeTestOrder = require('./placeTestOrder-313cbd78.js');
19
19
  const renderFallback = require('./renderFallback-bc20ee20.js');
20
20
  require('./isDarkColor-e317bb06.js');
21
21
  require('./isContrastColor-a02c4889.js');
@@ -272,11 +272,11 @@ const ZonosCollectFinish = class {
272
272
  }
273
273
  render() {
274
274
  const cartId = window.Zonos.cartId;
275
- return (index.h(index.Host, { key: 'ebc550d41d82330609ce842578fb9414397f11d2', class: "zonos--checkout-finish zonos--elements", style: {
275
+ return (index.h(index.Host, { key: '3de21586bf8e0f31e698e2b1a51d3344aae94af1', class: "zonos--checkout-finish zonos--elements", style: {
276
276
  '--zonos--border-radius': getBorderRadius.getBorderRadius({
277
277
  overrideBorderStyle: this.borderRadius,
278
278
  }),
279
- } }, !this.isLoading && (index.h("div", { key: 'e63176b8eb34a1c9bac491cc653c1108e085e77e', class: "zonos--finish-details" }, index.h("div", { key: 'abad1b8c765417e3d1cb4eb5f97c2713bc780517', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '00924614cb5e3553bd572008a7e13ecd7c516272', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: 'e39986d7d0f739a7ea221546f3f06aa5327ef824', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: 'b4894f5156a213413e58484fe465905e1c5e48d4', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.order && cartId && (index.h("div", { key: '8770f7a408b8b9862a2ef5ac4fa02a6caae6183a', class: "zonos--button-container" }, index.h("zonos-button", { key: '3bebe519d938bccb40c65c668fa58088cfeff47f', onClick: () => {
279
+ } }, !this.isLoading && (index.h("div", { key: '66f93432802d63e1fab59de19c1fd930cfddacbe', class: "zonos--finish-details" }, index.h("div", { key: '0857460a375bff54492dd7fe64baddf2af1e966a', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: '008c4971516d110e1c2d0a348b09fa6ca0a0b1a6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: '3e86105dbdae6cb696b0c4be81d9fcc30576ae4b', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: 'b372ae467ccb62b5c03aba28635135c350473986', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.order && cartId && (index.h("div", { key: 'bbf5885fe6e52135e3a2d7a82f0e85fd26e6aa74', class: "zonos--button-container" }, index.h("zonos-button", { key: '74dd846361072721bb3c511d675f7e42b7c063e9', onClick: () => {
280
280
  window.open(this.getReceiptUrl({ cartId }), '_blank');
281
281
  }, size: "lg", variant: "primary" }, localization.translate('View receipt')))))))));
282
282
  }
@@ -341,15 +341,15 @@ const ZonosCollectFooter = class {
341
341
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
342
342
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
343
343
  const colorDesktop = 'gray-1000';
344
- return (index.h(index.Host, { key: '2650da0d6942ec1389d65316d4f387b205eb3d23', class: classes.classes([
344
+ return (index.h(index.Host, { key: '5ec7e478c6b2b4fc21634ed70261dce3b095a8a0', class: classes.classes([
345
345
  'zonos--elements',
346
346
  this.isMobile && 'mobile',
347
347
  this.isTablet && 'tablet',
348
- ]) }, index.h("div", { key: '711017e883a7c88de6a8c4d2761d969045fa7511', class: "zonos--collect-footer" }, index.h("div", { key: '3eb3e89a254e3dba1cbd0a4dca0e257f0f7a64f7', class: "zonos--collect-locale-wrapper" }, index.h("zonos-button", { key: '2615195358247954888d47aa01b873c2e1ff738d', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '90d0c4ca757c3825865cf82b9991a13d2972254d', class: "zonos--collect-locale-label" }, languageLabel, index.h("zonos-icon", { key: '6badf11c60712883ee1ed037a8ddb955a7675d53', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: 'e8b45be9f457a57482da8ed95193ca2c36525525', class: classes.classes([
348
+ ]) }, index.h("div", { key: 'c16c9d6e73dbfbd416137c6bf697cbb92d2bf706', class: "zonos--collect-footer" }, index.h("div", { key: '7df1dde2ef014d5f1b7093e034d0ccf0e795ac61', class: "zonos--collect-locale-wrapper" }, index.h("zonos-button", { key: 'fcbc9ddc94b68e353b2f8f064c99abf1cc2900a9', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: 'bf58b98ed61dbc6c6cba358c34f40a15301c8c9a', class: "zonos--collect-locale-label" }, languageLabel, index.h("zonos-icon", { key: '2cda7ba7b226accb3f42281a0dc94d8227330193', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: '963404ac73580e236740343fec11447b9ee22ca4', class: classes.classes([
349
349
  'zonos--collect-language-dialog',
350
350
  this.showLanguageDialog &&
351
351
  'zonos--collect-language-dialog-open',
352
- ]) }, index.h("zonos-language-select", { key: 'a0a9bc9fca4df158e615ae387a5be2598a7b9f36', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '8e4743edc609ac041cb283a2a4864efcbda0a86e', class: "zonos--collect-footer-icon-wrapper" }, index.h("div", { key: 'd1119f22e17b80d015198c2803657c0280939ec7', class: "zonos--collect-footer-logo" }, index.h("zonos-text", { key: '4faac90e9cb3469ffeb743155345232de8e3730a', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '63b6ad613f96d8bd6f88b931c0c3833d08744479', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '09d6e961e27583a37b319be89fd0f80dbb9e96bd', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'b78088f8ab0cdc6b8dba6f1e0012e4c96407dd92', class: "dot" }), index.h("a", { key: '5ada46bc9f2fa3b52e235b3ec0231423e15fb5f5', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: 'b22d50bd1aaf5fddf8e1795f68b85c0e4f0125e8', textColor: colorDesktop }, "Privacy policy"))))));
352
+ ]) }, index.h("zonos-language-select", { key: '8b41a062040737a68d3c9b00839fa65b412cf7c4', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '16c4a6476916227d6310c48fb4d0cc732ba8fd52', class: "zonos--collect-footer-icon-wrapper" }, index.h("div", { key: '220c6d0bb23e3d43f3a21ed2cf94f4eff016e8f5', class: "zonos--collect-footer-logo" }, index.h("zonos-text", { key: '6c6e2cab741612e4e75a2840dc36571e49aad40d', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '60aa25c0951f8307974c4a892fddbb0626cc76d2', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '7f913799ae95ee9ed30aea2e6144d36c89ebd7f8', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'd74339c34ecebcbdeb60e08f8de4b83d07a93a71', class: "dot" }), index.h("a", { key: '8e9917e5ef37bedc593774bd7e0cab85fb7a99b4', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: '2cc37adc0b69dfbb7ea7ee6b6727ad173c2cae6e', textColor: colorDesktop }, "Privacy policy"))))));
353
353
  }
354
354
  get el() { return index.getElement(this); }
355
355
  static get watchers() { return {
@@ -683,13 +683,13 @@ const ZonosCollectReview = class {
683
683
  }
684
684
  render() {
685
685
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
686
- return (index.h(index.Host, { key: '9b00168e63cbd687c01583577eefe9f5e9958996', class: classes.classes([
686
+ return (index.h(index.Host, { key: 'e80b802a45d3d6395ead284a218ed1053d2e05a7', class: classes.classes([
687
687
  'zonos--collect-review zonos--elements',
688
688
  this.isMobile && 'mobile',
689
689
  this.isTablet && 'tablet',
690
- ]) }, index.h("div", { key: '5d29409d7c09ce620b32d6f4512bbd280817cfa8', class: "zonos--title" }, index.h("zonos-text", { key: 'b06ea84a112b06f1aba656060c85680cada09808', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
690
+ ]) }, index.h("div", { key: 'febeea7c348a5279ddf97bdd48e3d28fa07d6f22', class: "zonos--title" }, index.h("zonos-text", { key: '1ed640de9e3e6d87064a727ecca208368e1a1e81', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
691
691
  organizationName: zonosStore.zonosStore.organizationName,
692
- }))), index.h("div", { key: '7d96f27c70d54f69862816be87bf1c084a91ecb9', class: "zonos--total-pay" }, renderFallback.renderFallback({
692
+ }))), index.h("div", { key: '0a61b9f3a8ba33e83b50b8c53edfa3b784d47051', class: "zonos--total-pay" }, renderFallback.renderFallback({
693
693
  content: (index.h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency.renderCheckoutCurrency({
694
694
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
695
695
  isForeign: true,
@@ -755,7 +755,7 @@ const ZonosCollectSubtotal = class {
755
755
  }
756
756
  render() {
757
757
  this.initSubtotalData();
758
- return (index.h(index.Host, { key: 'dbdf16aeb070857018db4456e06b8c74cc135d78', class: "zonos--collect-subtotal zonos--elements" }, index.h("table", { key: '90e8278e1f518f5531813c3cf0b032707fe42eb8', class: "zonos--collect-table" }, !!this.subtotals[localization.translate('Duties')] && (index.h("tr", { key: '3c63319c6be8719069eb7d80eda2546dcc76f273', class: "zonos--row zonos--collect-duty" }, index.h("td", { key: '942aa283152bbf69439e7a864156c2f4a71f66dd', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'db7ee74968f1b452e93a9e1d46de833e2513f582', type: "semiBoldLabel" }, localization.translate('Duties'))), index.h("td", { key: 'dfae6f70ace82c38bdce41de0b4f900c790fa9ae', class: "zonos--column" }), index.h("td", { key: '943c6781ad1909d6c5c315f705fcb08547a92660', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
758
+ return (index.h(index.Host, { key: '6df77785504d4076a3b675a9ef62171105fa22b5', class: "zonos--collect-subtotal zonos--elements" }, index.h("table", { key: '5a0917d3828ff18b5ad67d6e168e67b5646a6425', class: "zonos--collect-table" }, !!this.subtotals[localization.translate('Duties')] && (index.h("tr", { key: 'b51069b800459d0aa64cebb98c0bae99d05bde8a', class: "zonos--row zonos--collect-duty" }, index.h("td", { key: 'b7bd45e0256a852ec363ffed7022d95079a8282c', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '47db47e87c83c4e5361e363d8c48cbef675a1eb7', type: "semiBoldLabel" }, localization.translate('Duties'))), index.h("td", { key: 'd3b083c586c04fdca1a9410992cba6350050fd75', class: "zonos--column" }), index.h("td", { key: '6aedc27105ffe3a15744482025e3c711de22709a', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
759
759
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
760
760
  amount: this.subtotals[localization.translate('Duties')] || 0,
761
761
  isForeign: true,
@@ -763,7 +763,7 @@ const ZonosCollectSubtotal = class {
763
763
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
764
764
  skeletonHeight: '14px',
765
765
  skeletonWidth: '150px',
766
- })))), !!this.subtotals[localization.translate('Taxes')] && (index.h("tr", { key: 'e87cf556d84fa66789f2410b77e049229eb54732', class: "zonos--row zonos--collect-tax" }, index.h("td", { key: '5941322ab31a1227a6944a05b25b27f387e184e7', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '729fd97147df76283b5d97a30015e2af84a4fbb6', type: "semiBoldLabel" }, localization.translate('Taxes'))), index.h("td", { key: 'a51514811435edae33c37f6062b0323ef2acfd05', class: "zonos--column" }), index.h("td", { key: 'a091d24821800034b1629813e05b40854951908d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
766
+ })))), !!this.subtotals[localization.translate('Taxes')] && (index.h("tr", { key: 'ee934191b6d95c2bdebf40c5a8d6e9a8dcc4716b', class: "zonos--row zonos--collect-tax" }, index.h("td", { key: 'd9966df4b307915d69e99ddca307afb3b1dac57d', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '0b074f206a3746e9428a1f7f4df95a7035770535', type: "semiBoldLabel" }, localization.translate('Taxes'))), index.h("td", { key: '4cd818d7d7db3bbb1b044f09420f3c0de9c2654f', class: "zonos--column" }), index.h("td", { key: '885a3b0d243f9687af99018c94e6f7990ab94ae4', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
767
767
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
768
768
  amount: this.subtotals[localization.translate('Taxes')] || 0,
769
769
  isForeign: true,
@@ -771,7 +771,7 @@ const ZonosCollectSubtotal = class {
771
771
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
772
772
  skeletonHeight: '14px',
773
773
  skeletonWidth: '150px',
774
- })))), !!this.subtotals[localization.translate('Fees')] && (index.h("tr", { key: '1ee4eae6bc0ea9be2d3b98733a3d51034db3b2c3', class: "zonos--row zonos--collect-fee" }, index.h("td", { key: '6548ee27908c32e7c39f4f16a7c6f202df256e28', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'b911ffc5f29252efba3989e494eca1c5ec0fbd54', type: "semiBoldLabel" }, localization.translate('Fees'))), index.h("td", { key: 'f01086495ba4e1864f63de5fdd212de922e335c6', class: "zonos--column" }), index.h("td", { key: 'f2e628f5fb0087cebc5b135194325127357828e2', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
774
+ })))), !!this.subtotals[localization.translate('Fees')] && (index.h("tr", { key: '840cdf461bd3cb0780c517be7900a4db7522da6d', class: "zonos--row zonos--collect-fee" }, index.h("td", { key: '57edb0642163a4fb580c538334f77fba2f15efe1', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'daa9e1ab156a2a5b26aec744014c2501948872e8', type: "semiBoldLabel" }, localization.translate('Fees'))), index.h("td", { key: '90cc11dda267840a4d4559aed5cfa5d61e13a986', class: "zonos--column" }), index.h("td", { key: '3716f79ab7323f5d6ebca7ece57bfd7b78f62b20', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
775
775
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
776
776
  amount: this.subtotals[localization.translate('Fees')] || 0,
777
777
  isForeign: true,
@@ -779,7 +779,7 @@ const ZonosCollectSubtotal = class {
779
779
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
780
780
  skeletonHeight: '14px',
781
781
  skeletonWidth: '150px',
782
- })))), index.h("tr", { key: '1b3c7371aa2b395c310e1bbfbda5071fc76bc523', class: "zonos--row zonos--collect-spacing" }, index.h("td", { key: 'ffcab1bd04d14fbc8c57d6731f2243945d889b9f', class: "zonos--column", colSpan: 3 })), index.h("tr", { key: 'c674e6737e1888c3ef4dfa9a2cc06ec595ddc74f', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, index.h("td", { key: 'c79170263853ebba9168b566ed0985af9e7f7bec', class: "zonos--column" }), index.h("td", { key: '05bff80d6dd83b047ec4f40dedbb42dcef822a34', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '61e4f56cd4da5187bb64c746920b04655ed4624a', type: "label" }, localization.translate('Subtotal'))), index.h("td", { key: 'a1701fa2c16e87cdba274349b7c5f9f0b90093ea', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
782
+ })))), index.h("tr", { key: '2ac89b5b3f76c2991b88ce163ca571380d91ae8b', class: "zonos--row zonos--collect-spacing" }, index.h("td", { key: 'fc073ec87ac579ad5af8fb2dd08fe47112e21717', class: "zonos--column", colSpan: 3 })), index.h("tr", { key: '87c32f3ee0ffb3c347c495ec853ebf92b6a08a0f', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, index.h("td", { key: '664d161448aec51324f0d177d20fa0ef765a17bb', class: "zonos--column" }), index.h("td", { key: 'c14949595986be080c502ad175529883f2c789cc', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'cf141dd8e58e73b981cdb5f51c111d83099222ae', type: "label" }, localization.translate('Subtotal'))), index.h("td", { key: '3cba5203e563ec1f4c591d6c42cf7b9a7c8c2045', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
783
783
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
784
784
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
785
785
  isForeign: true,
@@ -787,7 +787,7 @@ const ZonosCollectSubtotal = class {
787
787
  isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
788
788
  skeletonHeight: '14px',
789
789
  skeletonWidth: '150px',
790
- }))), index.h("tr", { key: '83b981afc2f2ddfa5a21ee28fea2e00ec3aef4e8', class: "zonos--row zonos--collect-total" }, index.h("td", { key: '041fdf582712439e15521ab290f6475106d890cc', class: "zonos--column" }), index.h("td", { key: '82734ce4831e6255d8d6fe6aa73e8c132ba65d1d', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'd7b1771c43d5176226d1e503ec9308da5806fa52', type: "semiBoldLabel" }, localization.translate('Customs fees total'))), index.h("td", { key: '5bebbeaaa0ed0c112e73e4e6283d1364b9ae4f64', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
790
+ }))), index.h("tr", { key: '14065db117fef4acbb0f459a624fee28ea127205', class: "zonos--row zonos--collect-total" }, index.h("td", { key: '0bc154f6d48ddb0bdc829233a66f0e486ed9df4f', class: "zonos--column" }), index.h("td", { key: '1f2997cebc3250152b1ecd207066ffc44af7f124', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'd50cc0977380fc1bf858fbe26201d919000a74b5', type: "semiBoldLabel" }, localization.translate('Customs fees total'))), index.h("td", { key: '2fcd30a868708f5abea04230c1407fff62fb011d', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
791
791
  content: (index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
792
792
  amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
793
793
  isForeign: true,
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-d4486651.js');
7
- const isCollectMobileTablet = require('./isCollectMobileTablet-f56566ef.js');
8
- const paypal = require('./paypal-52c4a4d4.js');
9
- const localization = require('./localization-06cc0379.js');
6
+ const cart = require('./cart-efc42379.js');
7
+ const isCollectMobileTablet = require('./isCollectMobileTablet-630fcf87.js');
8
+ const paypal = require('./paypal-3bb55914.js');
9
+ const localization = require('./localization-4b17c530.js');
10
10
  const zonosStore = require('./zonosStore-0662b95f.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');