@zonos/elements 1.3.270 → 1.3.273

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 (356) hide show
  1. package/dist/cjs/{cart-3ff48a0e.js → cart-660e115c.js} +32 -2
  2. package/dist/cjs/collect-286a9d04.js +3107 -0
  3. package/dist/cjs/{hasInclusivePrice-aec06153.js → hasInclusivePrice-b35e81aa.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{invoice-ff716652.js → invoice-f032089f.js} +2 -2
  6. package/dist/cjs/isCollectMobileTablet-884d4280.js +15 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-5c1c9c6a.js → localization-f4a64f6f.js} +245 -1
  9. package/dist/cjs/{paypal-c55b6c45.js → paypal-125259ab.js} +2 -2
  10. package/dist/cjs/{placeTestOrder-230f534b.js → placeTestOrder-02001a99.js} +2 -2
  11. package/dist/cjs/{renderCheckoutCurrency-e9d8efa8.js → renderCheckoutCurrency-cad156a7.js} +2 -2
  12. package/dist/cjs/zonos-address-display_8.cjs.entry.js +18 -18
  13. package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
  14. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +170 -0
  15. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  17. package/dist/cjs/zonos-card_5.cjs.entry.js +9 -9
  18. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +130 -20
  19. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  21. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  23. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +150 -36
  24. package/dist/cjs/zonos-collect.cjs.entry.js +176 -38
  25. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
  27. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  29. package/dist/cjs/zonos-elements.cjs.js +1 -1
  30. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
  31. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  32. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  33. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  34. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
  35. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  36. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  37. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  38. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
  40. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  41. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  42. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  43. package/dist/collection/collection-manifest.json +1 -0
  44. package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.css +43 -0
  45. package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.js +215 -0
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +4 -1
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  52. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  53. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +110 -2
  54. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  55. package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +1 -1
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -17
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +21 -0
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  60. package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +167 -29
  61. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  64. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  65. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  66. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  67. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  68. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  69. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  70. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  71. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  72. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  73. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  74. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  75. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  76. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  77. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  78. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  79. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  80. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  81. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  82. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  83. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  84. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  85. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  86. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +6 -6
  87. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  88. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  89. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  90. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  91. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  92. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  93. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  94. package/dist/collection/components/main/zonos-controller.js +2 -2
  95. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  96. package/dist/collection/components/store/checkout/airwallex.js +195 -0
  97. package/dist/collection/components/store/checkout/collect.js +4 -1
  98. package/dist/collection/components/store/checkout/euWithdrawalRate.js +40 -0
  99. package/dist/collection/components/store/checkout/stripe.js +26 -1
  100. package/dist/collection/components/store/hello/localization.js +3 -1
  101. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  102. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  103. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  104. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  105. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  106. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  107. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  108. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  109. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  110. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  111. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  112. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  113. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  114. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  115. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  116. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  117. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  118. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  119. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  120. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  121. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  122. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  123. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  124. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  125. package/dist/collection/components/utils/checkout/euWithdrawalNotice.js +74 -0
  126. package/dist/collection/types/generated/graphql.internal.types.js +318 -182
  127. package/dist/esm/{cart-44fa77ef.js → cart-23e29950.js} +32 -2
  128. package/dist/esm/collect-a235299d.js +3092 -0
  129. package/dist/esm/{hasInclusivePrice-f0440925.js → hasInclusivePrice-5e106f84.js} +1 -1
  130. package/dist/esm/index.js +7 -7
  131. package/dist/esm/{invoice-89e71796.js → invoice-78f069c7.js} +2 -2
  132. package/dist/esm/isCollectMobileTablet-111b0dd7.js +12 -0
  133. package/dist/esm/loader.js +1 -1
  134. package/dist/esm/{localization-066586b6.js → localization-17546792.js} +244 -2
  135. package/dist/esm/{paypal-8725008c.js → paypal-5bc6b0d0.js} +2 -2
  136. package/dist/esm/{placeTestOrder-38be871e.js → placeTestOrder-e842854a.js} +2 -2
  137. package/dist/esm/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-e3953f67.js} +2 -2
  138. package/dist/esm/zonos-address-display_8.entry.js +18 -18
  139. package/dist/esm/zonos-address_4.entry.js +8 -8
  140. package/dist/esm/zonos-airwallex-payment.entry.js +166 -0
  141. package/dist/esm/zonos-badge.entry.js +3 -3
  142. package/dist/esm/zonos-button_3.entry.js +3 -3
  143. package/dist/esm/zonos-card_5.entry.js +9 -9
  144. package/dist/esm/zonos-cart-items_12.entry.js +131 -21
  145. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  146. package/dist/esm/zonos-checkout.entry.js +3 -3
  147. package/dist/esm/zonos-collapse.entry.js +2 -2
  148. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  149. package/dist/esm/zonos-collect-finish_6.entry.js +135 -21
  150. package/dist/esm/zonos-collect.entry.js +171 -33
  151. package/dist/esm/zonos-component.entry.js +1 -1
  152. package/dist/esm/zonos-controller.entry.js +3 -3
  153. package/dist/esm/zonos-country-flag.entry.js +1 -1
  154. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  155. package/dist/esm/zonos-elements.js +1 -1
  156. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  157. package/dist/esm/zonos-hello.entry.js +1 -1
  158. package/dist/esm/zonos-input.entry.js +4 -4
  159. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  160. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  161. package/dist/esm/zonos-invoice.entry.js +4 -4
  162. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  163. package/dist/esm/zonos-link.entry.js +1 -1
  164. package/dist/esm/zonos-logo.entry.js +2 -2
  165. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  166. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  167. package/dist/esm/zonos-tooltip.entry.js +2 -2
  168. package/dist/esm/zonos-v-stack.entry.js +2 -2
  169. package/dist/esm-es5/cart-23e29950.js +1 -0
  170. package/dist/esm-es5/collect-a235299d.js +1 -0
  171. package/dist/esm-es5/{hasInclusivePrice-f0440925.js → hasInclusivePrice-5e106f84.js} +1 -1
  172. package/dist/esm-es5/index.js +1 -1
  173. package/dist/esm-es5/{invoice-89e71796.js → invoice-78f069c7.js} +1 -1
  174. package/dist/esm-es5/isCollectMobileTablet-111b0dd7.js +1 -0
  175. package/dist/esm-es5/loader.js +1 -1
  176. package/dist/esm-es5/localization-17546792.js +1 -0
  177. package/dist/esm-es5/{paypal-8725008c.js → paypal-5bc6b0d0.js} +1 -1
  178. package/dist/esm-es5/{placeTestOrder-38be871e.js → placeTestOrder-e842854a.js} +1 -1
  179. package/dist/esm-es5/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-e3953f67.js} +1 -1
  180. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  181. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  182. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -0
  183. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  184. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  185. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  186. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  187. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  188. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  189. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  190. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  191. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  192. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  193. package/dist/esm-es5/zonos-component.entry.js +1 -1
  194. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  195. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  196. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  197. package/dist/esm-es5/zonos-elements.js +1 -1
  198. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  199. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  200. package/dist/esm-es5/zonos-input.entry.js +1 -1
  201. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  202. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  203. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  204. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  205. package/dist/esm-es5/zonos-link.entry.js +1 -1
  206. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  207. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  208. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  209. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  210. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  211. package/dist/scripts/index.d.ts +99 -3
  212. package/dist/scripts/index.js +1 -1
  213. package/dist/scripts/loadZonos.js +1 -1
  214. package/dist/scripts/zonos.js +1 -1
  215. package/dist/types/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.d.ts +46 -0
  216. package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +7 -0
  217. package/dist/types/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.d.ts +4 -0
  218. package/dist/types/components/checkout/zonos-collect/zonos-collect.d.ts +29 -0
  219. package/dist/types/components/store/checkout/airwallex.d.ts +83 -0
  220. package/dist/types/components/store/checkout/collect.d.ts +12 -1
  221. package/dist/types/components/store/checkout/euWithdrawalRate.d.ts +19 -0
  222. package/dist/types/components/store/checkout/stripe.d.ts +1 -1
  223. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  224. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  225. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  226. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  227. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  228. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  229. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  230. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  231. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  232. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  233. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  234. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  235. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  236. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  237. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  238. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  239. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  240. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  241. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  242. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  243. package/dist/types/components/utils/checkout/euWithdrawalNotice.d.ts +9 -0
  244. package/dist/types/components.d.ts +42 -0
  245. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -3
  246. package/dist/types/types/checkout/CheckoutConfig.d.ts +10 -0
  247. package/dist/types/types/checkout/api/CheckoutSession.d.ts +11 -1
  248. package/dist/types/types/checkout/api/PartyInfo.d.ts +6 -0
  249. package/dist/types/types/generated/graphql.internal.types.d.ts +416 -218
  250. package/dist/types/types/generated/graphql.internal.types.ts +537 -258
  251. package/dist/types/types/utils/ZonosSettings.d.ts +15 -0
  252. package/dist/zonos-elements/index.esm.js +1 -1
  253. package/dist/zonos-elements/p-013575f2.entry.js +1 -0
  254. package/dist/zonos-elements/{p-344a1fee.entry.js → p-055ef910.entry.js} +1 -1
  255. package/dist/zonos-elements/{p-d29dbeb3.entry.js → p-08b48608.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-26ae4ee7.system.entry.js → p-0a54dae6.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-6ac77d9f.system.entry.js → p-0b59076d.system.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-c92a5ae5.system.entry.js → p-10571f94.system.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-658ab5e2.entry.js → p-12a05647.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-703f2737.system.js → p-14018649.system.js} +2 -2
  261. package/dist/zonos-elements/{p-acd7009a.system.entry.js → p-1678d8b4.system.entry.js} +1 -1
  262. package/dist/zonos-elements/p-171d0f9f.system.js +1 -0
  263. package/dist/zonos-elements/{p-7e03bd33.system.entry.js → p-1a105d6e.system.entry.js} +1 -1
  264. package/dist/zonos-elements/p-1a4083be.system.js +1 -0
  265. package/dist/zonos-elements/{p-72666536.system.entry.js → p-1f31f5a0.system.entry.js} +1 -1
  266. package/dist/zonos-elements/p-2197d6ab.js +1 -0
  267. package/dist/zonos-elements/{p-536cbab5.system.entry.js → p-27e50593.system.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-0b4ba025.entry.js → p-2825431d.entry.js} +1 -1
  269. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  270. package/dist/zonos-elements/{p-ccd0fa8f.system.entry.js → p-2a1247f4.system.entry.js} +1 -1
  271. package/dist/zonos-elements/p-2adbbce7.system.js +1 -0
  272. package/dist/zonos-elements/{p-553ca694.system.entry.js → p-306e5499.system.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-b15ceaff.entry.js → p-31577ebd.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-889a44fc.entry.js → p-328fd90e.entry.js} +1 -1
  275. package/dist/zonos-elements/p-33910e8b.js +1 -0
  276. package/dist/zonos-elements/{p-fb684748.system.entry.js → p-36b311f9.system.entry.js} +1 -1
  277. package/dist/zonos-elements/{p-5b4e5608.system.entry.js → p-3eba657b.system.entry.js} +1 -1
  278. package/dist/zonos-elements/p-41619f29.js +1 -0
  279. package/dist/zonos-elements/{p-7792f4c2.js → p-42948a52.js} +1 -1
  280. package/dist/zonos-elements/p-46e72a90.entry.js +1 -0
  281. package/dist/zonos-elements/p-49d8a10f.entry.js +1 -0
  282. package/dist/zonos-elements/{p-fc651784.system.entry.js → p-4a960329.system.entry.js} +1 -1
  283. package/dist/zonos-elements/p-4b371b65.entry.js +1 -0
  284. package/dist/zonos-elements/p-539bc46c.js +1 -0
  285. package/dist/zonos-elements/p-579932a7.js +1 -0
  286. package/dist/zonos-elements/{p-2afecda7.entry.js → p-59b10526.entry.js} +1 -1
  287. package/dist/zonos-elements/{p-98bea13e.system.entry.js → p-5aa35d1c.system.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-238370ad.system.js → p-62c68aee.system.js} +1 -1
  289. package/dist/zonos-elements/{p-5df77315.system.entry.js → p-6c19310e.system.entry.js} +1 -1
  290. package/dist/zonos-elements/{p-16948eea.system.entry.js → p-732e7373.system.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-0e8c4a29.entry.js → p-734d646b.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-2f61dc3c.entry.js → p-7eb47eb0.entry.js} +1 -1
  293. package/dist/zonos-elements/{p-a2885536.system.entry.js → p-86a9f048.system.entry.js} +1 -1
  294. package/dist/zonos-elements/p-8af57c2a.js +1 -0
  295. package/dist/zonos-elements/{p-fb83134b.system.entry.js → p-8c4761d1.system.entry.js} +1 -1
  296. package/dist/zonos-elements/{p-5812b323.system.entry.js → p-8e77a3cd.system.entry.js} +1 -1
  297. package/dist/zonos-elements/p-919c5500.entry.js +1 -0
  298. package/dist/zonos-elements/{p-c76ec587.system.js → p-91b921a4.system.js} +1 -1
  299. package/dist/zonos-elements/p-9574695a.system.js +1 -0
  300. package/dist/zonos-elements/p-97917371.system.entry.js +1 -0
  301. package/dist/zonos-elements/p-9b003a15.system.entry.js +1 -0
  302. package/dist/zonos-elements/{p-e11c3410.entry.js → p-9c3276c8.entry.js} +1 -1
  303. package/dist/zonos-elements/p-9cd41234.system.entry.js +1 -0
  304. package/dist/zonos-elements/{p-5f92db80.system.entry.js → p-a1a05de4.system.entry.js} +1 -1
  305. package/dist/zonos-elements/{p-6704b83e.entry.js → p-a968ccba.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-91702715.entry.js → p-abd485df.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-69ad7325.entry.js → p-ad961f5d.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-ad4c8167.system.entry.js → p-b5c01288.system.entry.js} +1 -1
  309. package/dist/zonos-elements/p-bf8c98ab.system.js +1 -0
  310. package/dist/zonos-elements/{p-eb96d62f.entry.js → p-c13d2e3f.entry.js} +1 -1
  311. package/dist/zonos-elements/{p-0b46f3bd.system.entry.js → p-c15476a1.system.entry.js} +1 -1
  312. package/dist/zonos-elements/{p-0e36a7cf.system.entry.js → p-c6823974.system.entry.js} +1 -1
  313. package/dist/zonos-elements/{p-dae881f2.entry.js → p-c83bc4b3.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-134c5010.system.entry.js → p-c846a5f3.system.entry.js} +1 -1
  315. package/dist/zonos-elements/{p-7aca66cd.entry.js → p-cc508de8.entry.js} +1 -1
  316. package/dist/zonos-elements/{p-d4c966cb.entry.js → p-ccd14aa5.entry.js} +1 -1
  317. package/dist/zonos-elements/{p-801dd8d8.system.js → p-d25759fb.system.js} +1 -1
  318. package/dist/zonos-elements/{p-fcf3ed5c.entry.js → p-d5e66ea6.entry.js} +1 -1
  319. package/dist/zonos-elements/{p-2df84888.system.entry.js → p-daf57db3.system.entry.js} +1 -1
  320. package/dist/zonos-elements/{p-b35a0b1e.entry.js → p-dcef2202.entry.js} +1 -1
  321. package/dist/zonos-elements/{p-283ffaad.entry.js → p-dd6da3de.entry.js} +1 -1
  322. package/dist/zonos-elements/{p-30e819ed.entry.js → p-df6fbf3f.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-0d251428.entry.js → p-e643346a.entry.js} +1 -1
  324. package/dist/zonos-elements/{p-a977cddd.entry.js → p-e8cb382e.entry.js} +1 -1
  325. package/dist/zonos-elements/{p-2651ca93.system.entry.js → p-e8ec88a9.system.entry.js} +1 -1
  326. package/dist/zonos-elements/p-e9afd736.system.entry.js +1 -0
  327. package/dist/zonos-elements/{p-208b270a.js → p-e9c8a235.js} +1 -1
  328. package/dist/zonos-elements/{p-b1a4f385.system.entry.js → p-f0eb6317.system.entry.js} +1 -1
  329. package/dist/zonos-elements/p-f1cc659c.js +1 -0
  330. package/dist/zonos-elements/{p-9abfb6b0.entry.js → p-f53c8a9f.entry.js} +1 -1
  331. package/dist/zonos-elements/{p-777d396e.entry.js → p-f72642de.entry.js} +1 -1
  332. package/dist/zonos-elements/{p-0d2d7fc4.system.js → p-fcaec700.system.js} +1 -1
  333. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  334. package/package.json +2 -1
  335. package/dist/cjs/isCollectMobileTablet-3ac53cab.js +0 -176
  336. package/dist/esm/isCollectMobileTablet-323d2ba1.js +0 -169
  337. package/dist/esm-es5/cart-44fa77ef.js +0 -1
  338. package/dist/esm-es5/isCollectMobileTablet-323d2ba1.js +0 -1
  339. package/dist/esm-es5/localization-066586b6.js +0 -1
  340. package/dist/zonos-elements/p-08c7dc07.system.entry.js +0 -1
  341. package/dist/zonos-elements/p-0e9c0eff.entry.js +0 -1
  342. package/dist/zonos-elements/p-0fb8b711.system.entry.js +0 -1
  343. package/dist/zonos-elements/p-225f19b6.entry.js +0 -1
  344. package/dist/zonos-elements/p-260a5b57.js +0 -1
  345. package/dist/zonos-elements/p-27beefda.system.js +0 -1
  346. package/dist/zonos-elements/p-31a3b070.system.js +0 -1
  347. package/dist/zonos-elements/p-5ab4bc26.system.entry.js +0 -1
  348. package/dist/zonos-elements/p-9e414000.js +0 -1
  349. package/dist/zonos-elements/p-b1125711.system.js +0 -1
  350. package/dist/zonos-elements/p-bea9d128.js +0 -1
  351. package/dist/zonos-elements/p-bfcc1432.js +0 -1
  352. package/dist/zonos-elements/p-c049c527.js +0 -1
  353. package/dist/zonos-elements/p-d659153c.entry.js +0 -1
  354. package/dist/zonos-elements/p-debd2e30.js +0 -1
  355. package/dist/zonos-elements/p-ebc966d8.entry.js +0 -1
  356. package/dist/zonos-elements/p-f5d4775a.system.js +0 -1
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-3ff48a0e.js');
7
- const localization = require('./localization-5c1c9c6a.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-e9d8efa8.js');
6
+ const cart = require('./cart-660e115c.js');
7
+ const localization = require('./localization-f4a64f6f.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cad156a7.js');
9
9
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
10
10
  const classes = require('./classes-b7918f56.js');
11
11
  const zonosStore = require('./zonosStore-45a87908.js');
12
- const hasInclusivePrice = require('./hasInclusivePrice-aec06153.js');
13
- const paypal = require('./paypal-c55b6c45.js');
12
+ const hasInclusivePrice = require('./hasInclusivePrice-b35e81aa.js');
13
+ const paypal = require('./paypal-125259ab.js');
14
14
  const handleFetch = require('./handleFetch-954f30e1.js');
15
15
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
16
16
  const getBorderRadius = require('./getBorderRadius-fc683d94.js');
17
17
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
18
18
  const ILanguage = require('./ILanguage-98b04442.js');
19
- const placeTestOrder = require('./placeTestOrder-230f534b.js');
19
+ const placeTestOrder = require('./placeTestOrder-02001a99.js');
20
20
  const isDarkColor = require('./isDarkColor-5d6ca405.js');
21
21
  const getContrastColor = require('./getContrastColor-d5134ef3.js');
22
22
  const isColorVariable = require('./isColorVariable-525dbfa7.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: '0533f9858716c5084f2f7d454038918dcea3f1d0', class: "zonos--cart-items zonos--elements" }, index.h("table", { key: '9819698277a5c597528364d19b7c5c7c3161fdd7', class: "zonos--cart-table" }, index.h("tbody", { key: '59493dfb49143a56f2addaf0c9eb1e8ce014dc1f' }, nonRestrictedItems.map(item => {
43
+ return (index.h(index.Host, { key: 'ec83033ab6a41452e8d3f611ca59f571741d7c73', class: "zonos--cart-items zonos--elements" }, index.h("table", { key: '3f403b3e3943f13394e419b6d3e01629ed673cd8', class: "zonos--cart-table" }, index.h("tbody", { key: '0c2caccc03dd36d00453e88ac7df9d8e3c47b5f1' }, 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;
@@ -963,11 +963,11 @@ const ZonosCheckoutFinish = class {
963
963
  }
964
964
  render() {
965
965
  const isTestMode = handleFetch.getIsTestMode();
966
- return (index.h(index.Host, { key: '3df50a75327f2dd1d7eea538aed0501c96504f2d', class: "zonos--checkout-finish zonos--elements", style: {
966
+ return (index.h(index.Host, { key: '7bbe3b38422e6b6a0b7a98c8e9cacf4b6abbfd8f', class: "zonos--checkout-finish zonos--elements", style: {
967
967
  '--zonos--border-radius': getBorderRadius.getBorderRadius({
968
968
  overrideBorderStyle: this.borderRadius,
969
969
  }),
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',
970
+ } }, this.isImmediateRedirecting && (index.h("div", { key: '8608faad8369cb1ad3e208862d264cc176f37702', class: "loading-wrapper" }, index.h("zonos-spinner", { key: '749ea9f925a11859310a47280f906f4e54cff7b2', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (index.h("div", { key: 'ccb75f51c73fa22e94771f4ff00456a042185fb7', class: "zonos--finish-details" }, index.h("div", { key: '4bb0e457e963c2c95517a1688d0dcfdaa2c94013', 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: '7b57ab0d072852734a54833153d9a4aef526f97d', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), index.h("zonos-text", { key: 'b633c665c126225ab060f806e150d77e118b7f6a', 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: 'f15e8bef4931917ec51a5c449b6d20e76c295cbf',
971
971
  // Only show loading spinner if it's not an error notification
972
972
  loading: this.isWaitingToRedirect &&
973
973
  this.notificationType !== 'error', onClick: () => {
@@ -979,9 +979,9 @@ const ZonosCheckoutFinish = class {
979
979
  }
980
980
  this.closeClickHandler();
981
981
  }, size: "md", variant: "primary" }, localization.translate('Close'))), !window.Zonos.isLegacyCheckout &&
982
- this.shouldRenderKeepShoppingButton() && (index.h("zonos-button", { key: 'cc9da3752636dbf9ecd3446fb787074cb1fa725b', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
982
+ this.shouldRenderKeepShoppingButton() && (index.h("zonos-button", { key: 'f450a254f244806612f269f90ce984167c787795', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
983
983
  cart.cartStore.step === 'finish' &&
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: () => {
984
+ this.notificationType === 'success' && (index.h("div", { key: 'd5ab67cad67c9b62e2e369c52f028aca0fb485b5', class: "zonos--finish-button-wrapper" }, index.h("zonos-button", { key: '1ab66e026b3797e2fc0f44fe0bcea439dab85128', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), index.h("zonos-button", { key: '8fc0dc456bb32fb94ea390bf50a9590b35bbb04d', onClick: () => {
985
985
  const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
986
986
  this.redirectToUrl(isZonosDashboard
987
987
  ? '/orders/all'
@@ -1055,10 +1055,10 @@ const ZonosCheckoutFooter = class {
1055
1055
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
1056
1056
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
1057
1057
  const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
1058
- return (index.h(index.Host, { key: '9bf4e1fae3660eb17d04521c533f52651f9b6153', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: '90b473ca63321395e9fceb48b8d21d90b225c01f', class: "zonos--checkout-footer" }, index.h("div", { key: '4cd4d63838aae1c26df2b3513cb24f93a497705b', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: '2db346594fdf00329a8f4887c4d431ddedc22e40', 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: '55332b4a8d812976333a9f14853d63c94fc2d3b4', class: "zonos--checkout-locale-label" }, languageLabel, index.h("zonos-icon", { key: '1c27c4b559974ebbcff5470d6fb7a2ace3e204c2', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: '5e87976476c7fb124c308352587643b009bda3df', class: classes.classes([
1058
+ return (index.h(index.Host, { key: 'edf9d7cfd7375fcd4f335caedccc2928f84a594e', class: classes.classes(['zonos--elements', this.isMobile && 'mobile']) }, index.h("div", { key: '14f359b70f1f4610be37571ae5d32ae7791be012', class: "zonos--checkout-footer" }, index.h("div", { key: 'ae803331487f9759403633a8e27cc6e480b40f93', class: "zonos--checkout-locale-wrapper" }, index.h("zonos-button", { key: 'f173841a4c1b3af79a2c21ad9195b509f2891964', 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: '7148d2a6076b786954cb9a02e41c760ba4719d6b', class: "zonos--checkout-locale-label" }, languageLabel, index.h("zonos-icon", { key: '0a759d42576bf657893e6e2349cc3938855de6fc', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: '63b1ac3440c35349341272b051c4a3e04e19f818', class: classes.classes([
1059
1059
  'zonos--checkout-footer-dialog',
1060
1060
  this.showLanguageDialog && 'zonos--checkout-footer-dialog-open',
1061
- ]) }, index.h("zonos-language-select", { key: '3ab16dc27d046bd8a0ebab4fd44ba0a10b53b0a5', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '3d7e9500d281348acb8f6c64f7a792b0248b5347', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: '8b2ba4f4d0e962d94e24b08e69ad53310050049b', href: "https://zonos.com/docs/legal/zonos-privacy-policy", rel: "noopener noreferrer", target: "_blank" }, index.h("zonos-text", { key: '06c700777036ef3e15b2f8586e96ccb020f06850', textColor: colorDesktop }, localization.translate('Privacy policy'))), index.h("div", { key: '1af786991ea239d2b40a43de0e5b872350f8e171', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: '889819449f802936510bda4f21b1233e76853613', textColor: colorDesktop }, localization.translate('Powered by')), index.h("a", { key: '1d2f3f924b78e4e8b37b1504e37a2cdb0b0bfb9b', href: "https://zonos.com", rel: "noopener noreferrer", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '2429284234ffcb51ecff0fd3a98f88bbe8c4c1c5', autoHeight: true, content: colorDesktop === 'gray-1000'
1061
+ ]) }, index.h("zonos-language-select", { key: '5cad0220d288b722355715c5418928f065af07c1', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '30ec30fd80133525889fea8ab0567179f3ffdd3a', class: "zonos--checkout-footer-icon-wrapper" }, index.h("a", { key: 'a6900165737de98bed8fee21d88b4e269ad209e3', href: "https://zonos.com/docs/legal/zonos-privacy-policy", rel: "noopener noreferrer", target: "_blank" }, index.h("zonos-text", { key: 'ca88bc63b702dcb651530f41aee4764734a5ee84', textColor: colorDesktop }, localization.translate('Privacy policy'))), index.h("div", { key: '8caa023f3aca229e464a27f55c289985114cc641', class: "zonos--checkout-footer-logo" }, index.h("zonos-text", { key: '9a3b6097c157dd86bd8a03c41887915051852930', textColor: colorDesktop }, localization.translate('Powered by')), index.h("a", { key: '5e0657c052e71ce12c5717b8a5473e4fc5ca2926', href: "https://zonos.com", rel: "noopener noreferrer", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '1c6a13757a62a14a9898b3de06aaa1f717f3035d', autoHeight: true, content: colorDesktop === 'gray-1000'
1062
1062
  ? ZonosIconLight
1063
1063
  : ZonosIconDark, size: 108 })))))));
1064
1064
  }
@@ -1069,6 +1069,114 @@ const ZonosCheckoutFooter = class {
1069
1069
  };
1070
1070
  ZonosCheckoutFooter.style = ZonosCheckoutFooterStyle0;
1071
1071
 
1072
+ /**
1073
+ * Caches live "configured currency → presentment currency" rates used to convert
1074
+ * the EU withdrawal return-shipping cap into the currency the buyer actually pays
1075
+ * in. A @stencil/store so that, when a lazily-fetched rate resolves, components
1076
+ * rendering the notice re-render and pick up the converted amount. Keyed by
1077
+ * `${sourceCurrency}_${targetCurrency}`; a null value means the lookup failed.
1078
+ */
1079
+ const { state: euWithdrawalRateStore } = zonosStore.createStore({ crossRates: {} });
1080
+ // Tracks in-flight rate lookups so the same pair isn't fetched on every render.
1081
+ const inFlightRateKeys = new Set();
1082
+ const euWithdrawalCrossRateKey = (sourceCurrency, targetCurrency) => `${sourceCurrency}_${targetCurrency}`;
1083
+ /**
1084
+ * Lazily fetch the current configured→presentment rate (fire-and-forget). Guarded
1085
+ * so each pair is fetched at most once; the result lands in the reactive store,
1086
+ * which triggers a re-render that then shows the presentment estimate.
1087
+ */
1088
+ const ensureEuWithdrawalCrossRate = (sourceCurrency, targetCurrency, shipToCountry) => {
1089
+ const key = euWithdrawalCrossRateKey(sourceCurrency, targetCurrency);
1090
+ if (inFlightRateKeys.has(key) ||
1091
+ euWithdrawalRateStore.crossRates[key] !== undefined) {
1092
+ return;
1093
+ }
1094
+ inFlightRateKeys.add(key);
1095
+ void localization.getExchangeRate({
1096
+ country: shipToCountry,
1097
+ isGuaranteed: false,
1098
+ sourceCurrency,
1099
+ targetCurrency,
1100
+ })
1101
+ .then(({ exchangeRate }) => {
1102
+ var _a;
1103
+ euWithdrawalRateStore.crossRates = Object.assign(Object.assign({}, euWithdrawalRateStore.crossRates), { [key]: (_a = exchangeRate === null || exchangeRate === void 0 ? void 0 : exchangeRate.rate) !== null && _a !== void 0 ? _a : null });
1104
+ })
1105
+ .finally(() => {
1106
+ inFlightRateKeys.delete(key);
1107
+ });
1108
+ };
1109
+
1110
+ /**
1111
+ * Returns the cap converted into the presentment currency, or null when it can't
1112
+ * be determined yet (rate still loading or unavailable).
1113
+ *
1114
+ * - When the cap currency is the merchant's native/base currency, reuse the
1115
+ * checkout session's base→presentment rate (no extra request).
1116
+ * - Otherwise fetch the current cap-currency→presentment rate on demand.
1117
+ */
1118
+ const getPresentmentAmount = (maximum, configuredCurrency, presentmentCurrency, shipToCountry) => {
1119
+ var _a, _b;
1120
+ const baseCurrency = (_a = cart.cartStore.exchangeRate) === null || _a === void 0 ? void 0 : _a.sourceCurrencyCode;
1121
+ const sessionRate = (_b = cart.cartStore.exchangeRate) === null || _b === void 0 ? void 0 : _b.rate;
1122
+ if (configuredCurrency === baseCurrency && sessionRate) {
1123
+ return maximum * sessionRate;
1124
+ }
1125
+ const liveRate = euWithdrawalRateStore.crossRates[euWithdrawalCrossRateKey(configuredCurrency, presentmentCurrency)];
1126
+ if (liveRate === undefined) {
1127
+ ensureEuWithdrawalCrossRate(configuredCurrency, presentmentCurrency, shipToCountry);
1128
+ return null;
1129
+ }
1130
+ return liveRate === null ? null : maximum * liveRate;
1131
+ };
1132
+ const formatInCurrency = (amount, currency) => `${localization.numberFormat({ amount, currency, targetFormat: null })} ${currency}`;
1133
+ /**
1134
+ * Formats the cap for the buyer, e.g. "100 USD (~125 CAD)" — the merchant's
1135
+ * configured amount/currency, plus the estimated amount the buyer will actually
1136
+ * pay in their presentment currency. When the cap is already in the presentment
1137
+ * currency, or the presentment estimate isn't available yet, only the configured
1138
+ * amount is shown.
1139
+ */
1140
+ const formatMaximum = (maximum, configuredCurrency, shipToCountry) => {
1141
+ const configured = formatInCurrency(maximum, configuredCurrency);
1142
+ const presentmentCurrency = cart.cartStore.currency;
1143
+ if (configuredCurrency === presentmentCurrency) {
1144
+ return configured;
1145
+ }
1146
+ const presentmentAmount = getPresentmentAmount(maximum, configuredCurrency, presentmentCurrency, shipToCountry);
1147
+ if (presentmentAmount == null) {
1148
+ return configured;
1149
+ }
1150
+ return `${configured} (~${formatInCurrency(presentmentAmount, presentmentCurrency)})`;
1151
+ };
1152
+ /**
1153
+ * Returns the localized EU withdrawal notice text to render above the Pay button,
1154
+ * or null when it shouldn't be shown. The notice appears only when the merchant
1155
+ * has opted in (status ENABLED) and the buyer is shipping to a country flagged by
1156
+ * the API as affected by the regulation (`genericSettings.withdrawalCountryEnabled`).
1157
+ * When a maximum return-shipping cap is configured the copy includes the amount;
1158
+ * otherwise it uses the no-maximum variant.
1159
+ */
1160
+ const getEuWithdrawalNoticeText = (shipToCountry) => {
1161
+ var _a, _b;
1162
+ const policy = (_a = zonosStore.zonosStore.checkoutSettings.merchantPolicyLinks) === null || _a === void 0 ? void 0 : _a.euWithdrawalPolicy;
1163
+ if (!policy || policy.status !== 'ENABLED') {
1164
+ return null;
1165
+ }
1166
+ // The affected-country list is API-controlled (not hardcoded), so an absent or
1167
+ // empty list shows the notice for no country.
1168
+ const enabledCountries = (_b = zonosStore.zonosStore.genericSettings) === null || _b === void 0 ? void 0 : _b.withdrawalCountryEnabled;
1169
+ if (!shipToCountry ||
1170
+ !(enabledCountries === null || enabledCountries === void 0 ? void 0 : enabledCountries.some(country => country === shipToCountry))) {
1171
+ return null;
1172
+ }
1173
+ const maximum = policy.maximumReturnShippingEstimate;
1174
+ if (maximum == null) {
1175
+ return localization.translate('If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.');
1176
+ }
1177
+ return localization.translate('If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs, up to a maximum [amount].', { amount: formatMaximum(maximum, policy.currencyCode, shipToCountry) });
1178
+ };
1179
+
1072
1180
  const CheckmarkLineIcon = `<svg color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="var(--zonos-elements-gray-1000)" d="M15.342 10.21a.75.75 0 0 0-1.184-.92l-2.978 3.829-1.4-1.4a.75.75 0 1 0-1.06 1.061l1.8 1.8a1 1 0 0 0 1.496-.093l3.326-4.277Z"/><path fill="var(--zonos-elements-gray-1000)" fill-rule="evenodd" d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-6.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0Z" clip-rule="evenodd"/></svg>`;
1073
1181
 
1074
1182
  const RemoveLineIcon = `<svg color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="var(--zonos-elements-gray-1000)" d="M14.475 10.586a.75.75 0 1 0-1.06-1.06L12 10.938l-1.414-1.414a.75.75 0 0 0-1.06 1.06L10.938 12l-1.414 1.414a.75.75 0 1 0 1.06 1.06L12 13.062l1.414 1.414a.75.75 0 0 0 1.06-1.06L13.062 12l1.414-1.414Z"/><path fill="var(--zonos-elements-gray-1000)" fill-rule="evenodd" d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-6.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0Z" clip-rule="evenodd"/></svg>`;
@@ -1263,6 +1371,7 @@ const ZonosCheckoutPayment = class {
1263
1371
  const isPaypalTabSelected = ((_a = cart.stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.value.type) === 'external_paypal';
1264
1372
  const storeCreditCoversFullOrder = cart.storeCreditStoreCoversFullAmount();
1265
1373
  const renderPayment = () => {
1374
+ var _a;
1266
1375
  if (isStagingMode) {
1267
1376
  const { colorPrimary } = zonosStore.zonosStore.appearance;
1268
1377
  const themeBasedColor = colorPrimary && isDarkColor.isDarkColor(colorPrimary) ? 'DARK' : 'LIGHT';
@@ -1276,10 +1385,11 @@ const ZonosCheckoutPayment = class {
1276
1385
  // use primary type when on mobile mode
1277
1386
  variant: this.submitBtnType }, localization.translate('Place test order')))));
1278
1387
  }
1388
+ const euWithdrawalNoticeText = getEuWithdrawalNoticeText((_a = cart.stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country);
1279
1389
  return (index.h(index.Fragment, null, this.showErrorBanner && (index.h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, localization.translate('Missing required fields. Make sure all fields are completed.'))), this.hasStripePaymentError && (index.h("zonos-banner", { class: "zonos--payment-error-banner", intent: "error" }, cart.stripeStore.customErrorMessage ||
1280
1390
  localization.translate("We couldn't complete your payment. Please verify the payment details and try again."))), paypal.paypalStore.paypalErrorMessage && (index.h("zonos-banner", { class: "zonos--payment-error-banner", intent: "error" }, paypal.paypalStore.paypalErrorMessage)), cart.cartStore.customerAuthenticationToken &&
1281
1391
  cart.storeCreditStore.availableBalance != null &&
1282
- cart.storeCreditStore.availableBalance > 0 && (index.h("zonos-store-credit", null)), storeCreditCoversFullOrder ? (index.h("zonos-banner", { intent: "info" }, localization.translate('Store credit covers your full order'))) : (index.h("zonos-payment", null)), index.h("zonos-policy-consent", null), index.h("div", { class: "zonos--group-btn" }, (!isPaypalTabSelected || storeCreditCoversFullOrder) && (index.h(index.Fragment, null, index.h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, isDisabled: this.continueLoading &&
1392
+ cart.storeCreditStore.availableBalance > 0 && (index.h("zonos-store-credit", null)), storeCreditCoversFullOrder ? (index.h("zonos-banner", { intent: "info" }, localization.translate('Store credit covers your full order'))) : (index.h("zonos-payment", null)), index.h("zonos-policy-consent", null), euWithdrawalNoticeText && (index.h("zonos-banner", { class: "zonos--eu-withdrawal-notice", intent: "info" }, euWithdrawalNoticeText)), index.h("div", { class: "zonos--group-btn" }, (!isPaypalTabSelected || storeCreditCoversFullOrder) && (index.h(index.Fragment, null, index.h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, isDisabled: this.continueLoading &&
1283
1393
  cart.stripeStore.checkoutSettlementCurrency === 'USD', loading: this.continueLoading &&
1284
1394
  cart.stripeStore.checkoutSettlementCurrency !== 'USD', onClick: async () => {
1285
1395
  if (!cart.cartStore.checkoutSession) {
@@ -1421,17 +1531,17 @@ const ZonosCheckoutProgressTabs = class {
1421
1531
  color: labelSelectedColor,
1422
1532
  })
1423
1533
  : labelSelectedColor;
1424
- return (index.h(index.Host, { key: '2bc73268f4413887abe526ab1ac01471627e9fbc', class: "zonos--elements", style: {
1534
+ return (index.h(index.Host, { key: 'e5c68ba81756351ca14ee7cecc1fc31070aea2f6', class: "zonos--elements", style: {
1425
1535
  '--zonos--color': contrastLabelColor,
1426
1536
  '--zonos--progress-percent': this.getTotalSuccessStep(),
1427
- } }, index.h("div", { key: 'fb812b9d4e6ba72f26b4f31ccf8444500a72f277', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1537
+ } }, index.h("div", { key: '64c20db4eb660505af2e97c07e9658f9866cfd57', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
1428
1538
  const isSelected = tab.value === selectedStep;
1429
1539
  return (index.h("button", { "aria-label": `Tab ${tab.label}`, class: classes.classes([
1430
1540
  'zonos--tab-item',
1431
1541
  tab.value === selectedStep && 'selected',
1432
1542
  tab.isDone && 'done',
1433
1543
  ]), 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))));
1434
- })), index.h("div", { key: '0dcaeb8d709f06df00b965c7aa081294a060120e', class: "zonos--tab-progress" }, index.h("div", { key: '8faef8257c4a0244e1ee5f3ac5752904ecd63d96', class: "zonos--progress-bar-fill" }))));
1544
+ })), index.h("div", { key: 'e3257fb953c3c76e946a47334a16a2bd802ceb10', class: "zonos--tab-progress" }, index.h("div", { key: '2e8a3905cf361d1138846aa8f8153b92e80c5fca', class: "zonos--progress-bar-fill" }))));
1435
1545
  }
1436
1546
  static get assetsDirs() { return ["assets"]; }
1437
1547
  get ele() { return index.getElement(this); }
@@ -2144,11 +2254,11 @@ const ZonosRestState = class {
2144
2254
  }
2145
2255
  render() {
2146
2256
  const imageUrl = this.getImageRestState();
2147
- return (index.h(index.Host, { key: 'c8ad36ee240e6c623cfd950a9cd2eebc89e1d264', class: classes.classes(['zonos--elements zonos--restState']), style: {
2257
+ return (index.h(index.Host, { key: '318c4da3d24faab9e2896923388183be1553fc39', class: classes.classes(['zonos--elements zonos--restState']), style: {
2148
2258
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
2149
- } }, index.h("div", { key: 'c1f45b4dfc584bd492f36cd678699aec372d0b41', class: "zonos--restState-image" }, index.h("img", { key: 'dbbcbfcdfb849c8f31c17eba4f99d2fbf1f9f05d', alt: this.restStateType, onError: () => {
2259
+ } }, index.h("div", { key: '4a25dbfceb67d366ea68ebe0b16bd3af2f2073e6', class: "zonos--restState-image" }, index.h("img", { key: '5af2ffcf96d9ee70ceb14c6c16ad8607c5a734d8', alt: this.restStateType, onError: () => {
2150
2260
  this.isErrorImageLoad = true;
2151
- }, 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' }))));
2261
+ }, src: imageUrl })), index.h("div", { key: 'c3c6c28e7edabc3f127f74a1f8025cdd556c2df1', class: "content" }, index.h("zonos-text", { key: '8fc1b63061c1c6ed1aaf7c8bf1f6d0107ad96574', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '8410ef232d219a27bedd6fab0f2145c242c21a6d', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: 'f9d8cd4653bc3918b9c2c3bf453b17999e16972f', class: "action" }, index.h("slot", { key: '60091e060884958d729092292ae6c34f9af85ae1' }))));
2152
2262
  }
2153
2263
  static get assetsDirs() { return ["assets"]; }
2154
2264
  };
@@ -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: '68ce8866560fc44b0f0ccdc2c62ce6f12662b732', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
75
+ return (index.h(index.Host, { key: '2021966f1236912bd2970023fbc44165c7b6ed7c', 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: '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 => {
80
+ } }, index.h("label", { key: 'b49919481676d8360a07d9cd456ce149559b9a09', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: '5d3382b19c8f5207e5a505ff09248441969aa5c7', 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: '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)))));
82
+ }, type: "checkbox" }), index.h("span", { key: 'fc35e3d6c1a3380b8f2b012951b5cf50e42e9735', class: "checkmark-container" }, index.h("svg", { key: 'c134d6444c50ff2294c7685f2a3ed52a6ef070b6', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '635394bdaa83c0d222f995a805128b3ccfae71a0', "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: '0626598dc95151a065a615ffaf99fd59030d2a29', size: this.fontSize }, this.label)))));
83
83
  }
84
84
  };
85
85
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -97,9 +97,9 @@ const ZonosToggle = class {
97
97
  this.options = [];
98
98
  }
99
99
  render() {
100
- return (index.h(index.Host, { key: 'a69d1282e442b2cc5b24df68ee41c452b02fb022', class: classes.classes(['zonos--elements zonos--toggle']), style: {
100
+ return (index.h(index.Host, { key: 'cdc4d67f72773fa460d24cfc0a24fcb5288f40ad', class: classes.classes(['zonos--elements zonos--toggle']), style: {
101
101
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
102
- } }, index.h("div", { key: 'a0fff3107e8d9a98d3ff323379c6e39bee294eca', class: "wrapper" }, this.options.map(option => {
102
+ } }, index.h("div", { key: '2eb725addb5f65b98edd5193ceb6eaaa2564952b', class: "wrapper" }, this.options.map(option => {
103
103
  const selected = option.value === this.value;
104
104
  return (index.h("button", { class: classes.classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
105
105
  this.toggleChanged.emit(option.value);
@@ -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-3ff48a0e.js');
7
- const paypal = require('./paypal-c55b6c45.js');
8
- const localization = require('./localization-5c1c9c6a.js');
6
+ const cart = require('./cart-660e115c.js');
7
+ const paypal = require('./paypal-125259ab.js');
8
+ const localization = require('./localization-f4a64f6f.js');
9
9
  const zonosStore = require('./zonosStore-45a87908.js');
10
10
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -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: '4266c0d5399bbcecf4725cfda02ee88fb3b74843', class: 'zonos--elements zonos--collapse', style: {
60
+ return (index.h(index.Host, { key: '9a7c1c2e4f960e34fa81af1ce3bc509857082a27', class: 'zonos--elements zonos--collapse', style: {
61
61
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
62
62
  height: this.getElementHeight(),
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' }))));
63
+ } }, index.h("div", { key: 'e68bac246e123eaf18d3b0a47c38b60ddd9c297a' }, index.h("iframe", { key: '011961e0e1608ba664ba366a16347c843d4280b3', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: '8234271563b9a56b8507374e4aa9881ae8f699ba' }))));
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-3ff48a0e.js');
6
+ const cart = require('./cart-660e115c.js');
7
7
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
8
8
  const zonosStore = require('./zonosStore-45a87908.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const styles = require('./styles-d1e64fb9.js');
11
- require('./localization-5c1c9c6a.js');
11
+ require('./localization-f4a64f6f.js');
12
12
  require('./handleFetch-954f30e1.js');
13
13
  require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-5d6ca405.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: '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 => {
28
+ return (index.h(index.Host, { key: 'b59fc5d56e5672ed47312fa930a1f35bf987b58d', class: "zonos--collect-cart-items zonos--elements" }, index.h("table", { key: '1f1020fd843fc2e86a12f426786f275e2c45c7c6', class: "zonos--cart-table" }, index.h("tbody", { key: 'b383812ea0967e3715701c09753fda8b3dbfe612' }, 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: '721c4dd7d467879b21078725e6343b7ee8d76675', style: {
55
+ return (index.h(index.Host, { key: 'f06155d19be654e8af1f3fe31d8b90c9714803a1', style: {
56
56
  '--spacing': `${this.spacing}px`,
57
57
  '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
58
- } }, index.h("slot", { key: '1e4dc26d7e61893d04bc6255abf2834b4545b335' })));
58
+ } }, index.h("slot", { key: '6cfa7de515d78cc8376e9c863e54e6875392bd0a' })));
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: '22a28005143f47dd80eaec233e7d9937d7e72507', class: classes.classes(['zonos--elements zonos--skeleton']), style: styles.styles({
81
+ return (index.h(index.Host, { key: '58a2bedd58be3710e9e769efda15097c3ba19ea8', 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
  }) }));