@zonos/elements 1.3.272 → 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 (346) hide show
  1. package/dist/cjs/{cart-f1374a56.js → cart-660e115c.js} +32 -2
  2. package/dist/cjs/collect-286a9d04.js +3107 -0
  3. package/dist/cjs/{hasInclusivePrice-2f1232e3.js → hasInclusivePrice-b35e81aa.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{invoice-3760bec0.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-503c8477.js → localization-f4a64f6f.js} +120 -0
  9. package/dist/cjs/{paypal-5e9b8224.js → paypal-125259ab.js} +2 -2
  10. package/dist/cjs/{placeTestOrder-d1be2c8e.js → placeTestOrder-02001a99.js} +2 -2
  11. package/dist/cjs/{renderCheckoutCurrency-4486b06e.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 +19 -19
  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.js +1 -1
  51. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  52. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +110 -2
  53. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  54. package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +1 -1
  55. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -17
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +21 -0
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +167 -29
  60. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  61. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  64. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  65. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  66. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  67. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  68. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  69. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  70. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  71. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  72. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  73. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  74. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  75. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  76. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  77. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  78. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  79. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  80. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  81. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  82. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  83. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  84. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  85. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  86. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  87. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  88. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  89. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  90. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  91. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  92. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  93. package/dist/collection/components/main/zonos-controller.js +1 -1
  94. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  95. package/dist/collection/components/store/checkout/airwallex.js +195 -0
  96. package/dist/collection/components/store/checkout/collect.js +4 -1
  97. package/dist/collection/components/store/checkout/stripe.js +26 -1
  98. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
  99. package/dist/collection/components/store/translationStore/strings.base.js +6 -0
  100. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
  101. package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
  102. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
  103. package/dist/collection/components/store/translationStore/strings.french.js +6 -0
  104. package/dist/collection/components/store/translationStore/strings.german.js +6 -0
  105. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
  106. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
  107. package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
  108. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
  109. package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
  110. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
  111. package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
  112. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
  113. package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
  114. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
  115. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
  116. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
  117. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
  118. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  119. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  120. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  121. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  122. package/dist/collection/types/generated/graphql.internal.types.js +3 -0
  123. package/dist/esm/{cart-1415dcf0.js → cart-23e29950.js} +32 -2
  124. package/dist/esm/collect-a235299d.js +3092 -0
  125. package/dist/esm/{hasInclusivePrice-a3b0f71c.js → hasInclusivePrice-5e106f84.js} +1 -1
  126. package/dist/esm/index.js +7 -7
  127. package/dist/esm/{invoice-117efa2c.js → invoice-78f069c7.js} +2 -2
  128. package/dist/esm/isCollectMobileTablet-111b0dd7.js +12 -0
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/{localization-29723d89.js → localization-17546792.js} +120 -0
  131. package/dist/esm/{paypal-cb5559d4.js → paypal-5bc6b0d0.js} +2 -2
  132. package/dist/esm/{placeTestOrder-443376eb.js → placeTestOrder-e842854a.js} +2 -2
  133. package/dist/esm/{renderCheckoutCurrency-8390b5bf.js → renderCheckoutCurrency-e3953f67.js} +2 -2
  134. package/dist/esm/zonos-address-display_8.entry.js +18 -18
  135. package/dist/esm/zonos-address_4.entry.js +8 -8
  136. package/dist/esm/zonos-airwallex-payment.entry.js +166 -0
  137. package/dist/esm/zonos-badge.entry.js +3 -3
  138. package/dist/esm/zonos-button_3.entry.js +3 -3
  139. package/dist/esm/zonos-card_5.entry.js +9 -9
  140. package/dist/esm/zonos-cart-items_12.entry.js +19 -19
  141. package/dist/esm/zonos-checkbox_2.entry.js +5 -5
  142. package/dist/esm/zonos-checkout.entry.js +3 -3
  143. package/dist/esm/zonos-collapse.entry.js +2 -2
  144. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  145. package/dist/esm/zonos-collect-finish_6.entry.js +135 -21
  146. package/dist/esm/zonos-collect.entry.js +171 -33
  147. package/dist/esm/zonos-component.entry.js +1 -1
  148. package/dist/esm/zonos-controller.entry.js +3 -3
  149. package/dist/esm/zonos-country-flag.entry.js +1 -1
  150. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  151. package/dist/esm/zonos-elements.js +1 -1
  152. package/dist/esm/zonos-hello-dialog.entry.js +6 -6
  153. package/dist/esm/zonos-hello.entry.js +1 -1
  154. package/dist/esm/zonos-input.entry.js +4 -4
  155. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  156. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  157. package/dist/esm/zonos-invoice.entry.js +4 -4
  158. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  159. package/dist/esm/zonos-link.entry.js +1 -1
  160. package/dist/esm/zonos-logo.entry.js +2 -2
  161. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  162. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  163. package/dist/esm/zonos-tooltip.entry.js +2 -2
  164. package/dist/esm/zonos-v-stack.entry.js +2 -2
  165. package/dist/esm-es5/cart-23e29950.js +1 -0
  166. package/dist/esm-es5/collect-a235299d.js +1 -0
  167. package/dist/esm-es5/{hasInclusivePrice-a3b0f71c.js → hasInclusivePrice-5e106f84.js} +1 -1
  168. package/dist/esm-es5/index.js +1 -1
  169. package/dist/esm-es5/{invoice-117efa2c.js → invoice-78f069c7.js} +1 -1
  170. package/dist/esm-es5/isCollectMobileTablet-111b0dd7.js +1 -0
  171. package/dist/esm-es5/loader.js +1 -1
  172. package/dist/esm-es5/localization-17546792.js +1 -0
  173. package/dist/esm-es5/{paypal-cb5559d4.js → paypal-5bc6b0d0.js} +1 -1
  174. package/dist/esm-es5/{placeTestOrder-443376eb.js → placeTestOrder-e842854a.js} +1 -1
  175. package/dist/esm-es5/{renderCheckoutCurrency-8390b5bf.js → renderCheckoutCurrency-e3953f67.js} +1 -1
  176. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  177. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  178. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -0
  179. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  180. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  181. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  182. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  183. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  184. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  185. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  186. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  187. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  188. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  189. package/dist/esm-es5/zonos-component.entry.js +1 -1
  190. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  191. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  192. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  193. package/dist/esm-es5/zonos-elements.js +1 -1
  194. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  195. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  196. package/dist/esm-es5/zonos-input.entry.js +1 -1
  197. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  198. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  199. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  200. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  201. package/dist/esm-es5/zonos-link.entry.js +1 -1
  202. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  203. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  204. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  205. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  206. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  207. package/dist/scripts/index.d.ts +61 -0
  208. package/dist/scripts/index.js +1 -1
  209. package/dist/scripts/loadZonos.js +1 -1
  210. package/dist/scripts/zonos.js +1 -1
  211. package/dist/types/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.d.ts +46 -0
  212. package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +7 -0
  213. package/dist/types/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.d.ts +4 -0
  214. package/dist/types/components/checkout/zonos-collect/zonos-collect.d.ts +29 -0
  215. package/dist/types/components/store/checkout/airwallex.d.ts +83 -0
  216. package/dist/types/components/store/checkout/collect.d.ts +12 -1
  217. package/dist/types/components/store/checkout/stripe.d.ts +1 -1
  218. package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
  219. package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
  220. package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
  221. package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
  222. package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
  223. package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
  224. package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
  225. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
  226. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
  227. package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
  228. package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
  229. package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
  230. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
  231. package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
  232. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
  233. package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
  234. package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
  235. package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
  236. package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
  237. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
  238. package/dist/types/components.d.ts +42 -0
  239. package/dist/types/types/checkout/api/CheckoutSession.d.ts +11 -1
  240. package/dist/types/types/checkout/api/PartyInfo.d.ts +6 -0
  241. package/dist/types/types/generated/graphql.internal.types.d.ts +20 -0
  242. package/dist/types/types/generated/graphql.internal.types.ts +29 -0
  243. package/dist/types/types/utils/ZonosSettings.d.ts +6 -0
  244. package/dist/zonos-elements/index.esm.js +1 -1
  245. package/dist/zonos-elements/p-013575f2.entry.js +1 -0
  246. package/dist/zonos-elements/{p-344a1fee.entry.js → p-055ef910.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-3efe0875.entry.js → p-08b48608.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-26ae4ee7.system.entry.js → p-0a54dae6.system.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-aafc2155.system.entry.js → p-0b59076d.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-c92a5ae5.system.entry.js → p-10571f94.system.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-658ab5e2.entry.js → p-12a05647.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-b453ae2b.system.js → p-14018649.system.js} +2 -2
  253. package/dist/zonos-elements/{p-d2ba9e3c.system.entry.js → p-1678d8b4.system.entry.js} +1 -1
  254. package/dist/zonos-elements/p-171d0f9f.system.js +1 -0
  255. package/dist/zonos-elements/{p-5bd47a30.system.entry.js → p-1a105d6e.system.entry.js} +1 -1
  256. package/dist/zonos-elements/p-1a4083be.system.js +1 -0
  257. package/dist/zonos-elements/{p-792fce17.system.entry.js → p-1f31f5a0.system.entry.js} +1 -1
  258. package/dist/zonos-elements/p-2197d6ab.js +1 -0
  259. package/dist/zonos-elements/{p-536cbab5.system.entry.js → p-27e50593.system.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-0b4ba025.entry.js → p-2825431d.entry.js} +1 -1
  261. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  262. package/dist/zonos-elements/{p-73730eb9.system.entry.js → p-2a1247f4.system.entry.js} +1 -1
  263. package/dist/zonos-elements/p-2adbbce7.system.js +1 -0
  264. package/dist/zonos-elements/{p-f98cdb98.system.entry.js → p-306e5499.system.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-831bcfb6.entry.js → p-31577ebd.entry.js} +1 -1
  266. package/dist/zonos-elements/{p-889a44fc.entry.js → p-328fd90e.entry.js} +1 -1
  267. package/dist/zonos-elements/p-33910e8b.js +1 -0
  268. package/dist/zonos-elements/{p-fb684748.system.entry.js → p-36b311f9.system.entry.js} +1 -1
  269. package/dist/zonos-elements/{p-5b4e5608.system.entry.js → p-3eba657b.system.entry.js} +1 -1
  270. package/dist/zonos-elements/p-41619f29.js +1 -0
  271. package/dist/zonos-elements/{p-cdea0f7d.js → p-42948a52.js} +1 -1
  272. package/dist/zonos-elements/p-46e72a90.entry.js +1 -0
  273. package/dist/zonos-elements/p-49d8a10f.entry.js +1 -0
  274. package/dist/zonos-elements/{p-54a9c772.system.entry.js → p-4a960329.system.entry.js} +1 -1
  275. package/dist/zonos-elements/{p-93324ee5.entry.js → p-4b371b65.entry.js} +1 -1
  276. package/dist/zonos-elements/p-539bc46c.js +1 -0
  277. package/dist/zonos-elements/p-579932a7.js +1 -0
  278. package/dist/zonos-elements/{p-2afecda7.entry.js → p-59b10526.entry.js} +1 -1
  279. package/dist/zonos-elements/{p-98bea13e.system.entry.js → p-5aa35d1c.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-fd849c69.system.js → p-62c68aee.system.js} +1 -1
  281. package/dist/zonos-elements/{p-48f3e2d2.system.entry.js → p-6c19310e.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-16948eea.system.entry.js → p-732e7373.system.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-0e8c4a29.entry.js → p-734d646b.entry.js} +1 -1
  284. package/dist/zonos-elements/{p-60f0ff42.entry.js → p-7eb47eb0.entry.js} +1 -1
  285. package/dist/zonos-elements/{p-eb254a96.system.entry.js → p-86a9f048.system.entry.js} +1 -1
  286. package/dist/zonos-elements/p-8af57c2a.js +1 -0
  287. package/dist/zonos-elements/{p-18c9565b.system.entry.js → p-8c4761d1.system.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-c45df586.system.entry.js → p-8e77a3cd.system.entry.js} +1 -1
  289. package/dist/zonos-elements/p-919c5500.entry.js +1 -0
  290. package/dist/zonos-elements/p-91b921a4.system.js +1 -0
  291. package/dist/zonos-elements/{p-3b600b89.system.js → p-9574695a.system.js} +1 -1
  292. package/dist/zonos-elements/p-97917371.system.entry.js +1 -0
  293. package/dist/zonos-elements/{p-7ce6b8f7.system.entry.js → p-9b003a15.system.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-53be08c8.entry.js → p-9c3276c8.entry.js} +1 -1
  295. package/dist/zonos-elements/p-9cd41234.system.entry.js +1 -0
  296. package/dist/zonos-elements/{p-5f92db80.system.entry.js → p-a1a05de4.system.entry.js} +1 -1
  297. package/dist/zonos-elements/{p-4c94cfd3.entry.js → p-a968ccba.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-ee00f232.entry.js → p-abd485df.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-7d859914.entry.js → p-ad961f5d.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-6b87101d.system.entry.js → p-b5c01288.system.entry.js} +1 -1
  301. package/dist/zonos-elements/p-bf8c98ab.system.js +1 -0
  302. package/dist/zonos-elements/{p-2d1055d5.entry.js → p-c13d2e3f.entry.js} +1 -1
  303. package/dist/zonos-elements/{p-0b46f3bd.system.entry.js → p-c15476a1.system.entry.js} +1 -1
  304. package/dist/zonos-elements/{p-0e36a7cf.system.entry.js → p-c6823974.system.entry.js} +1 -1
  305. package/dist/zonos-elements/{p-dae881f2.entry.js → p-c83bc4b3.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-134c5010.system.entry.js → p-c846a5f3.system.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-7aca66cd.entry.js → p-cc508de8.entry.js} +1 -1
  308. package/dist/zonos-elements/{p-6609467e.entry.js → p-ccd14aa5.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-318e704a.system.js → p-d25759fb.system.js} +1 -1
  310. package/dist/zonos-elements/{p-a956e28f.entry.js → p-d5e66ea6.entry.js} +1 -1
  311. package/dist/zonos-elements/{p-7536cf94.system.entry.js → p-daf57db3.system.entry.js} +1 -1
  312. package/dist/zonos-elements/{p-b35a0b1e.entry.js → p-dcef2202.entry.js} +1 -1
  313. package/dist/zonos-elements/{p-283ffaad.entry.js → p-dd6da3de.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-bd2daace.entry.js → p-df6fbf3f.entry.js} +1 -1
  315. package/dist/zonos-elements/{p-c16c7978.entry.js → p-e643346a.entry.js} +1 -1
  316. package/dist/zonos-elements/{p-b375372e.entry.js → p-e8cb382e.entry.js} +1 -1
  317. package/dist/zonos-elements/{p-f4be6ce5.system.entry.js → p-e8ec88a9.system.entry.js} +1 -1
  318. package/dist/zonos-elements/p-e9afd736.system.entry.js +1 -0
  319. package/dist/zonos-elements/{p-c425d3d9.js → p-e9c8a235.js} +1 -1
  320. package/dist/zonos-elements/{p-ccc8d669.system.entry.js → p-f0eb6317.system.entry.js} +1 -1
  321. package/dist/zonos-elements/p-f1cc659c.js +1 -0
  322. package/dist/zonos-elements/{p-b1b7d786.entry.js → p-f53c8a9f.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-777d396e.entry.js → p-f72642de.entry.js} +1 -1
  324. package/dist/zonos-elements/{p-eb77dd11.system.js → p-fcaec700.system.js} +1 -1
  325. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  326. package/package.json +2 -1
  327. package/dist/cjs/isCollectMobileTablet-d5c1a9ea.js +0 -176
  328. package/dist/esm/isCollectMobileTablet-2c62fdaa.js +0 -169
  329. package/dist/esm-es5/cart-1415dcf0.js +0 -1
  330. package/dist/esm-es5/isCollectMobileTablet-2c62fdaa.js +0 -1
  331. package/dist/esm-es5/localization-29723d89.js +0 -1
  332. package/dist/zonos-elements/p-0fa932e6.system.js +0 -1
  333. package/dist/zonos-elements/p-15c2dfea.entry.js +0 -1
  334. package/dist/zonos-elements/p-17c7a727.system.js +0 -1
  335. package/dist/zonos-elements/p-24aa6708.js +0 -1
  336. package/dist/zonos-elements/p-2585034d.entry.js +0 -1
  337. package/dist/zonos-elements/p-2cda42d5.system.js +0 -1
  338. package/dist/zonos-elements/p-53b65b80.js +0 -1
  339. package/dist/zonos-elements/p-58521b25.js +0 -1
  340. package/dist/zonos-elements/p-9259e19b.system.entry.js +0 -1
  341. package/dist/zonos-elements/p-99ef86c3.js +0 -1
  342. package/dist/zonos-elements/p-aa3a7538.js +0 -1
  343. package/dist/zonos-elements/p-c935390d.js +0 -1
  344. package/dist/zonos-elements/p-e77dd304.system.js +0 -1
  345. package/dist/zonos-elements/p-ea91600a.entry.js +0 -1
  346. package/dist/zonos-elements/p-f5d9e5e5.system.entry.js +0 -1
@@ -3,19 +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-f1374a56.js');
7
- const paypal = require('./paypal-5e9b8224.js');
8
- const localization = require('./localization-503c8477.js');
6
+ const collect = require('./collect-286a9d04.js');
7
+ const cart = require('./cart-660e115c.js');
8
+ const paypal = require('./paypal-125259ab.js');
9
+ const localization = require('./localization-f4a64f6f.js');
9
10
  const zonosStore = require('./zonosStore-45a87908.js');
10
11
  const handleFetch = require('./handleFetch-954f30e1.js');
11
12
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
13
  const getBorderRadius = require('./getBorderRadius-fc683d94.js');
13
14
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const isCollectMobileTablet = require('./isCollectMobileTablet-d5c1a9ea.js');
15
+ const isCollectMobileTablet = require('./isCollectMobileTablet-884d4280.js');
15
16
  const classes = require('./classes-b7918f56.js');
16
17
  const ILanguage = require('./ILanguage-98b04442.js');
17
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-4486b06e.js');
18
- const placeTestOrder = require('./placeTestOrder-d1be2c8e.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cad156a7.js');
19
+ const placeTestOrder = require('./placeTestOrder-02001a99.js');
19
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
20
21
  require('./isDarkColor-5d6ca405.js');
21
22
  require('./isContrastColor-76592c92.js');
@@ -192,6 +193,109 @@ const ZonosCollectFinish = class {
192
193
  cart.stripeStoreReset();
193
194
  localization.storageStore.checkoutSessionId = null;
194
195
  };
196
+ /**
197
+ * Resolve the Airwallex payment intent id, preferring the value already in the
198
+ * store and falling back to re-fetching the collect checkout session (e.g. when
199
+ * the page was reloaded after a redirect).
200
+ */
201
+ this.getAirwallexSessionInfo = async () => {
202
+ // When the payment intent id is already in the store (e.g. the drop-in just
203
+ // succeeded this session), there's no completed session to re-fetch.
204
+ if (collect.airwallexStore.paymentIntentId) {
205
+ return {
206
+ isCompleted: false,
207
+ paymentIntentId: collect.airwallexStore.paymentIntentId,
208
+ };
209
+ }
210
+ const checkoutSessionId = localization.storageStore.checkoutSessionId;
211
+ if (!checkoutSessionId) {
212
+ return { isCompleted: false, paymentIntentId: null };
213
+ }
214
+ const { json } = await handleFetch.handleFetch('/api/zonos-elements/collect/get-checkout-session', {
215
+ body: {
216
+ checkoutSessionId,
217
+ },
218
+ method: 'POST',
219
+ });
220
+ const checkoutSession = json === null || json === void 0 ? void 0 : json.checkoutSession;
221
+ return {
222
+ // A completed session (or one with an order attached) is already paid.
223
+ isCompleted: !!((checkoutSession === null || checkoutSession === void 0 ? void 0 : checkoutSession.completedAt) || (checkoutSession === null || checkoutSession === void 0 ? void 0 : checkoutSession.order)),
224
+ paymentIntentId: (checkoutSession === null || checkoutSession === void 0 ? void 0 : checkoutSession.paymentIntentId) || null,
225
+ };
226
+ };
227
+ this.checkAirwallexPaymentStatus = async () => {
228
+ // If the drop-in already confirmed the payment in-widget this session, trust
229
+ // that result. A status lookup that fails or hasn't propagated yet must not
230
+ // show a payment failure after the shopper already completed payment.
231
+ const sdkConfirmed = collect.airwallexStore.paymentConfirmed;
232
+ // A forced success status is set when recovery routes an already-completed /
233
+ // paid session to the finish step (mirrors the Stripe finish flow).
234
+ const forcedSuccess = this.storybookForceStatus === 'succeeded';
235
+ const { isCompleted, paymentIntentId } = await this.getAirwallexSessionInfo();
236
+ const { status } = paymentIntentId
237
+ ? await collect.airwallexStoreRetrievePaymentIntent(paymentIntentId)
238
+ : { status: null };
239
+ // Treat the payment as complete when the drop-in confirmed it in-widget, the
240
+ // session is already completed/paid (incl. the forced-success recovery path),
241
+ // or the payment intent reports a paid/authorized status. Pending states such
242
+ // as REQUIRES_CUSTOMER_ACTION (3DS not yet done) are not complete, so we must
243
+ // not show success or poll for an order.
244
+ const isPaid = sdkConfirmed ||
245
+ forcedSuccess ||
246
+ isCompleted ||
247
+ collect.airwallexStoreIsPaidStatus(status);
248
+ const { messages } = sdkConfirmed || forcedSuccess || isCompleted
249
+ ? collect.airwallexStoreMessageBasedOnStatus('SUCCEEDED')
250
+ : collect.airwallexStoreMessageBasedOnStatus(status);
251
+ VarianceTest.log('=== Airwallex payment intent retrieve status', 'info', {
252
+ forcedSuccess,
253
+ isCompleted,
254
+ isPaid,
255
+ paymentIntentId,
256
+ sdkConfirmed,
257
+ status,
258
+ });
259
+ this.notificationType = isPaid ? 'success' : 'error';
260
+ this.notificationTitle = isPaid
261
+ ? localization.translate("You're all set!")
262
+ : localization.translate('Payment failed');
263
+ this.notificationMessages = messages;
264
+ if (isPaid) {
265
+ paypal.submitAnalytics({ event: 'zonos-checkout-success' });
266
+ const checkoutSessionId = localization.storageStore.checkoutSessionId;
267
+ void cart.trackConversionEvent({
268
+ checkoutSessionId,
269
+ eventName: 'checkout_orderCompleted',
270
+ });
271
+ const successEvent = createCustomEvent.createCustomEvent('zonos-checkout-success', {
272
+ message: 'Zonos Checkout successfully processed order',
273
+ });
274
+ document.dispatchEvent(successEvent);
275
+ // wait this to finish before resetting store and checkout session id
276
+ await this.handleSuccessBehavior();
277
+ }
278
+ else {
279
+ paypal.submitAnalytics({ event: 'zonos-checkout-payment-fail' });
280
+ void handleFetch.sendErrorLog({
281
+ endpoint: 'Airwallex payment failed',
282
+ errors: [
283
+ `Payment intent "${paymentIntentId}" status: ${status} - checkout session: ${localization.storageStore.checkoutSessionId}`,
284
+ ],
285
+ metadata: {
286
+ allLogs: VarianceTest.allLogs,
287
+ credentialToken: window.Zonos.zonosApiKey,
288
+ },
289
+ });
290
+ }
291
+ // Make sure to stop the loading spinner even when there's an error
292
+ this.isLoading = false;
293
+ // reset promo when checkout is finished
294
+ cart.stripeStoreResetPromoCode();
295
+ cart.stripeStoreReset();
296
+ collect.airwallexStoreReset();
297
+ localization.storageStore.checkoutSessionId = null;
298
+ };
195
299
  this.checkStagingOrderStatus = async () => {
196
300
  this.notificationType = 'success';
197
301
  this.notificationTitle = localization.translate("You're all set!");
@@ -263,6 +367,9 @@ const ZonosCollectFinish = class {
263
367
  if (cart.cartStore.isStagingMode) {
264
368
  void this.checkStagingOrderStatus();
265
369
  }
370
+ else if (collect.collectStore.paymentProcessor === 'AIRWALLEX') {
371
+ void this.checkAirwallexPaymentStatus();
372
+ }
266
373
  else if (paypal.paypalStore.orderIdCreated) {
267
374
  void this.checkPaypalPaymentStatus();
268
375
  }
@@ -272,11 +379,11 @@ const ZonosCollectFinish = class {
272
379
  }
273
380
  render() {
274
381
  const cartId = window.Zonos.cartId;
275
- return (index.h(index.Host, { key: '3de21586bf8e0f31e698e2b1a51d3344aae94af1', class: "zonos--checkout-finish zonos--elements", style: {
382
+ return (index.h(index.Host, { key: 'fe3107670230caeaacc834983d9215422a7828ae', class: "zonos--checkout-finish zonos--elements", style: {
276
383
  '--zonos--border-radius': getBorderRadius.getBorderRadius({
277
384
  overrideBorderStyle: this.borderRadius,
278
385
  }),
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: () => {
386
+ } }, !this.isLoading && (index.h("div", { key: 'fefefedc7ec022318cbc6da23b327079afec981b', class: "zonos--finish-details" }, index.h("div", { key: '4428271e11c3a96db732726719c5747364a18097', 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: '0c3371b3bed8fd83e437075f1c35179fbb7e5e09', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: 'dbb263f0f95a62d93ae3c5ac455625512eb1f63e', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: '07e2733ad91ced8e5260e0f8fea627610b864ebf', 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: 'ecb7332cb4b7c28d398f2957d3b521c6328163eb', class: "zonos--button-container" }, index.h("zonos-button", { key: 'c8303e2a61d573b6e028ab38df2427fa98471e9f', onClick: () => {
280
387
  window.open(this.getReceiptUrl({ cartId }), '_blank');
281
388
  }, size: "lg", variant: "primary" }, localization.translate('View receipt')))))))));
282
389
  }
@@ -341,15 +448,15 @@ const ZonosCollectFooter = class {
341
448
  const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
342
449
  // reverse color when on desktop. With the coversheet backdrop, the color should be white
343
450
  const colorDesktop = 'gray-1000';
344
- return (index.h(index.Host, { key: '5ec7e478c6b2b4fc21634ed70261dce3b095a8a0', class: classes.classes([
451
+ return (index.h(index.Host, { key: '52908f4538918641b708887436e1cfe3b643376f', class: classes.classes([
345
452
  'zonos--elements',
346
453
  this.isMobile && 'mobile',
347
454
  this.isTablet && 'tablet',
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([
455
+ ]) }, index.h("div", { key: '46a1c762d78396a7f993bad323c93f8e6bc71f1b', class: "zonos--collect-footer" }, index.h("div", { key: 'a6a98539cdb901ecd162f5e5b98591c9b8b7321a', class: "zonos--collect-locale-wrapper" }, index.h("zonos-button", { key: '8a5c4a18bc1030c3e74e412ff14a59c299f59e9a', 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: '03bc4235862d1382cd8f0cdb007fd708bf2bfe87', class: "zonos--collect-locale-label" }, languageLabel, index.h("zonos-icon", { key: '4b3bbcd5bcd4039f3cb1f1c4c12698cba1894308', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: '5508629b0cdc334b81ad4d4d5a034ced133d6744', class: classes.classes([
349
456
  'zonos--collect-language-dialog',
350
457
  this.showLanguageDialog &&
351
458
  'zonos--collect-language-dialog-open',
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"))))));
459
+ ]) }, index.h("zonos-language-select", { key: 'ca4b77d72dfd9db8743290d333b7fcde15d090d6', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: '98f0d0c35e3c6b4fde833e4b9ae334549fe46f1f', class: "zonos--collect-footer-icon-wrapper" }, index.h("div", { key: 'b3039948472d797bf04a23d3aca839472f6c6946', class: "zonos--collect-footer-logo" }, index.h("zonos-text", { key: '75123a6fb2bcdce07e0ebe433a28d81eefaec9ea', textColor: colorDesktop }, "Powered by"), index.h("a", { key: '2a0f4e2bc5df9d383ac4b91c589d2ce7149c6b3d', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '436005434f2a9d2ff1228cd36d873b8de7d339f2', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'c488b5eefba54424a0e66af61415d78d8f3d46fa', class: "dot" }), index.h("a", { key: 'd98fc7646d4877179b94bee6d3f8a7a283bbc756', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: '54fe3d9316ee5b22f5620b7acde145627b66cbe3', textColor: colorDesktop }, "Privacy policy"))))));
353
460
  }
354
461
  get el() { return index.getElement(this); }
355
462
  static get watchers() { return {
@@ -394,10 +501,10 @@ const ZonosCollectOrderDetails = class {
394
501
  this.handleWindowResize();
395
502
  }
396
503
  renderShippingAddress() {
397
- if (isCollectMobileTablet.collectStore.isFetchingShippingInfo) {
504
+ if (collect.collectStore.isFetchingShippingInfo) {
398
505
  return (index.h("div", { class: "zonos--collect-order-details-column" }, index.h("zonos-text", { type: "smallHeader" }, index.h("zonos-skeleton", { skeletonWidth: "99px" })), index.h("div", { class: "zonos--collect-order-shipping-info" }, index.h("zonos-skeleton", { skeletonWidth: "152px" }), index.h("zonos-h-stack", { spacing: 8 }, index.h("zonos-skeleton", { skeletonWidth: "75px" }), index.h("zonos-skeleton", { skeletonWidth: "75px" })), index.h("zonos-skeleton", { skeletonWidth: "50px" }))));
399
506
  }
400
- const shippingAddress = isCollectMobileTablet.collectStore.shippingAddress;
507
+ const shippingAddress = collect.collectStore.shippingAddress;
401
508
  if (!shippingAddress) {
402
509
  return null;
403
510
  }
@@ -427,10 +534,10 @@ const ZonosCollectOrderDetails = class {
427
534
  this.isMobile && 'mobile',
428
535
  ]) }, index.h("div", { class: "zonos--wrapper" }, index.h("button", { class: "zonos--order-details-header", onClick: () => {
429
536
  this.collapseState = !this.collapseState;
430
- }, type: "button" }, index.h("zonos-text", { type: "semiBoldLabel" }, localization.translate('Order details')), renderCollapseIcon()), index.h("div", { class: "zonos--order-details-wrapper" }, index.h("zonos-collapse", { collapsed: this.collapseState }, index.h("div", { class: "zonos--collect-order-details-content" }, index.h("zonos-collect-cart-items", null), index.h("div", { class: "zonos--collect-order-info" }, index.h("div", { class: "zonos--collect-order-details-row" }, isCollectMobileTablet.collectStore.amountTotalPaid !== null && (index.h("div", { class: "zonos--collect-order-details-column" }, index.h("zonos-text", { type: "smallHeader" }, localization.translate('Total paid')), index.h("zonos-text", null, renderCheckoutCurrency.renderCheckoutCurrency({
431
- amount: isCollectMobileTablet.collectStore.amountTotalPaid || 0,
537
+ }, type: "button" }, index.h("zonos-text", { type: "semiBoldLabel" }, localization.translate('Shipment details')), renderCollapseIcon()), index.h("div", { class: "zonos--order-details-wrapper" }, index.h("zonos-collapse", { collapsed: this.collapseState }, index.h("div", { class: "zonos--collect-order-details-content" }, index.h("zonos-collect-cart-items", null), index.h("div", { class: "zonos--collect-order-info" }, index.h("div", { class: "zonos--collect-order-details-row" }, collect.collectStore.amountTotalPaid !== null && (index.h("div", { class: "zonos--collect-order-details-column" }, index.h("zonos-text", { type: "smallHeader" }, localization.translate('Total paid')), index.h("zonos-text", null, renderCheckoutCurrency.renderCheckoutCurrency({
538
+ amount: collect.collectStore.amountTotalPaid || 0,
432
539
  isForeign: true,
433
- })))), isCollectMobileTablet.collectStore.originCompanyName && (index.h("div", { class: "zonos--collect-order-details-column" }, index.h("zonos-text", { type: "smallHeader" }, localization.translate('Ordered from')), index.h("zonos-text", null, isCollectMobileTablet.collectStore.originCompanyName || '')))), this.renderShippingAddress())))))));
540
+ })))), collect.collectStore.originCompanyName && (index.h("div", { class: "zonos--collect-order-details-column" }, index.h("zonos-text", { type: "smallHeader" }, localization.translate('Ordered from')), index.h("zonos-text", null, collect.collectStore.originCompanyName || '')))), this.renderShippingAddress())))))));
434
541
  }
435
542
  static get assetsDirs() { return ["assets"]; }
436
543
  static get watchers() { return {
@@ -444,7 +551,7 @@ const CheckmarkLineIcon = `<svg color="var(--zonos-elements-gray-1000)" xmlns="h
444
551
 
445
552
  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>`;
446
553
 
447
- const zonosCollectPaymentCss = ".sc-zonos-collect-payment-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-collect-payment-h *.sc-zonos-collect-payment{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-collect-payment-h img.sc-zonos-collect-payment{max-width:100%}.sc-zonos-collect-payment-h dl.sc-zonos-collect-payment,.sc-zonos-collect-payment-h dd.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h1.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h2.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h3.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h4.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h5.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h6.sc-zonos-collect-payment,.sc-zonos-collect-payment-h hr.sc-zonos-collect-payment,.sc-zonos-collect-payment-h figure.sc-zonos-collect-payment,.sc-zonos-collect-payment-h p.sc-zonos-collect-payment,.sc-zonos-collect-payment-h pre.sc-zonos-collect-payment{margin:0}.sc-zonos-collect-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-collect-payment-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.sc-zonos-collect-payment-h .zonos--title.sc-zonos-collect-payment{margin-bottom:24px}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment{margin-bottom:20px;overflow:auto;padding:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment::-webkit-scrollbar{width:10px}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-collect-payment-h .zonos--payment-error-banner.sc-zonos-collect-payment{margin-bottom:8px}.sc-zonos-collect-payment-h .zonos--error-banner.sc-zonos-collect-payment{margin-bottom:16px}.sc-zonos-collect-payment-h zonos-button.sc-zonos-collect-payment{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-collect-payment-h .zonos--pay-in-base-currency-btn.sc-zonos-collect-payment{-webkit-box-shadow:none;box-shadow:none}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;gap:12px;bottom:-4px;padding-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0))}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment zonos-text.sc-zonos-collect-payment{text-align:center}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment zonos-button.sc-zonos-collect-payment{width:100%}.sc-zonos-collect-payment-h .zonos--test-cards.sc-zonos-collect-payment{margin-top:auto;padding-top:16px}";
554
+ const zonosCollectPaymentCss = ".sc-zonos-collect-payment-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-collect-payment-h *.sc-zonos-collect-payment{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-collect-payment-h img.sc-zonos-collect-payment{max-width:100%}.sc-zonos-collect-payment-h dl.sc-zonos-collect-payment,.sc-zonos-collect-payment-h dd.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h1.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h2.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h3.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h4.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h5.sc-zonos-collect-payment,.sc-zonos-collect-payment-h h6.sc-zonos-collect-payment,.sc-zonos-collect-payment-h hr.sc-zonos-collect-payment,.sc-zonos-collect-payment-h figure.sc-zonos-collect-payment,.sc-zonos-collect-payment-h p.sc-zonos-collect-payment,.sc-zonos-collect-payment-h pre.sc-zonos-collect-payment{margin:0}.sc-zonos-collect-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-collect-payment-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.sc-zonos-collect-payment-h .zonos--title.sc-zonos-collect-payment{margin-bottom:24px}.sc-zonos-collect-payment-h .zonos--group.sc-zonos-collect-payment{margin-bottom:20px;overflow:visible;padding:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.sc-zonos-collect-payment-h .zonos--payment-error-banner.sc-zonos-collect-payment{margin-bottom:8px}.sc-zonos-collect-payment-h .zonos--error-banner.sc-zonos-collect-payment{margin-bottom:16px}.sc-zonos-collect-payment-h zonos-button.sc-zonos-collect-payment{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-collect-payment-h .zonos--pay-in-base-currency-btn.sc-zonos-collect-payment{-webkit-box-shadow:none;box-shadow:none}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;gap:12px;bottom:-4px;padding-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0))}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment zonos-text.sc-zonos-collect-payment{text-align:center}.sc-zonos-collect-payment-h .zonos--group-btn.sc-zonos-collect-payment zonos-button.sc-zonos-collect-payment{width:100%}.sc-zonos-collect-payment-h .zonos--test-cards.sc-zonos-collect-payment{margin-top:auto;padding-top:16px}";
448
555
  const ZonosCollectPaymentStyle0 = zonosCollectPaymentCss;
449
556
 
450
557
  const ZonosCollectPayment = class {
@@ -453,6 +560,7 @@ const ZonosCollectPayment = class {
453
560
  this.continueClicked = index.createEvent(this, "continueClicked", 7);
454
561
  this.paypalSessionFailed = index.createEvent(this, "paypalSessionFailed", 7);
455
562
  this.paypalSessionDone = index.createEvent(this, "paypalSessionDone", 7);
563
+ this.airwallexPaymentDone = index.createEvent(this, "airwallexPaymentDone", 7);
456
564
  this.storeUnsubscribeList = [];
457
565
  /**
458
566
  * Whether or not the continue button is loading
@@ -577,6 +685,12 @@ const ZonosCollectPayment = class {
577
685
  }
578
686
  render() {
579
687
  var _a;
688
+ // Airwallex (05CHECK-860) renders its own drop-in element which collects the
689
+ // payment details and exposes its own pay button, so it bypasses the Stripe
690
+ // elements/client-secret guards and the Stripe continue buttons below.
691
+ if (collect.collectStore.paymentProcessor === 'AIRWALLEX') {
692
+ return (index.h(index.Host, { class: "zonos--checkout-payment zonos--elements" }, index.h("div", { class: "zonos--group" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, localization.translate('Payment method')), index.h("zonos-airwallex-payment", { onAirwallexPaymentSuccess: () => this.airwallexPaymentDone.emit() }))));
693
+ }
580
694
  this.hasStripePaymentError = cart.stripeStore.hasPaymentError;
581
695
  if (!cart.stripeStore.stripeElements) {
582
696
  return null;
@@ -602,7 +716,7 @@ const ZonosCollectPayment = class {
602
716
  variant: this.submitBtnType }, localization.translate('Place test order')))));
603
717
  }
604
718
  if (cart.stripeStore.isFetchingSession ||
605
- isCollectMobileTablet.collectStore.isFetchingShippingInfo) {
719
+ collect.collectStore.isFetchingShippingInfo) {
606
720
  return null;
607
721
  }
608
722
  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 ||
@@ -621,7 +735,7 @@ const ZonosCollectPayment = class {
621
735
  // use primary type when on mobile mode
622
736
  variant: this.submitBtnType }, localization.translate('Pay [orderTotal]', {
623
737
  orderTotal: renderCheckoutCurrency.renderCheckoutCurrency({
624
- amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
738
+ amount: collect.collectStore.amountDutyTaxFeeTotal || 0,
625
739
  isForeign: true,
626
740
  }),
627
741
  })), cart.stripeStore.shouldRenderPayInUsdButton && (index.h("zonos-button", { class: "zonos--pay-in-base-currency-btn", isDisabled: this.continueLoading &&
@@ -683,18 +797,18 @@ const ZonosCollectReview = class {
683
797
  }
684
798
  render() {
685
799
  const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
686
- return (index.h(index.Host, { key: 'e80b802a45d3d6395ead284a218ed1053d2e05a7', class: classes.classes([
800
+ return (index.h(index.Host, { key: '7f1709df3a42ae9917e26a86e9c90703b2243ab7', class: classes.classes([
687
801
  'zonos--collect-review zonos--elements',
688
802
  this.isMobile && 'mobile',
689
803
  this.isTablet && 'tablet',
690
- ]) }, index.h("div", { key: 'febeea7c348a5279ddf97bdd48e3d28fa07d6f22', class: "zonos--title" }, index.h("zonos-text", { key: '1ed640de9e3e6d87064a727ecca208368e1a1e81', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
804
+ ]) }, index.h("div", { key: '5ed5f5c7da922a9393501b5e31da9a20b9724d9c', class: "zonos--title" }, index.h("zonos-text", { key: 'd54511663bb32405e16349b20807b9ccddb5fd03', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName] duties, taxes and fees for your shipment', {
691
805
  organizationName: zonosStore.zonosStore.organizationName,
692
- }))), index.h("div", { key: '0a61b9f3a8ba33e83b50b8c53edfa3b784d47051', class: "zonos--total-pay" }, renderFallback.renderFallback({
806
+ }))), index.h("div", { key: '82967c3614ee91cf95955372bb013837f93822d1', class: "zonos--total-pay" }, renderFallback.renderFallback({
693
807
  content: (index.h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency.renderCheckoutCurrency({
694
- amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
808
+ amount: collect.collectStore.amountDutyTaxFeeTotal || 0,
695
809
  isForeign: true,
696
810
  }))),
697
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
811
+ isLoading: collect.collectStore.isFetchingShippingInfo,
698
812
  skeletonHeight: '36px',
699
813
  skeletonWidth: '150px',
700
814
  }))));
@@ -755,44 +869,44 @@ const ZonosCollectSubtotal = class {
755
869
  }
756
870
  render() {
757
871
  this.initSubtotalData();
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({
872
+ return (index.h(index.Host, { key: 'fea37a2a4dd32592b88703c37d901fee65408bed', class: "zonos--collect-subtotal zonos--elements" }, index.h("table", { key: 'be501438b0101c4b13421450dad99ec12f7c5a0b', class: "zonos--collect-table" }, !!this.subtotals[localization.translate('Duties')] && (index.h("tr", { key: '2c61bf6e958a199d4b8ae3aff00b74a9889ab491', class: "zonos--row zonos--collect-duty" }, index.h("td", { key: 'd6fc30c58fcc42c282b7dfb03c83b0b7feb0dd82', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '5909abeeed4a5f90df5a79be09383842137a175c', type: "semiBoldLabel" }, localization.translate('Duties'))), index.h("td", { key: '68d06c4e8732363e0e5e36d77f9d4b363c0adc3c', class: "zonos--column" }), index.h("td", { key: 'fd23e46a4ed44fadc31472e38a15f7579ebed160', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
759
873
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
760
874
  amount: this.subtotals[localization.translate('Duties')] || 0,
761
875
  isForeign: true,
762
876
  }))),
763
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
877
+ isLoading: collect.collectStore.isFetchingShippingInfo,
764
878
  skeletonHeight: '14px',
765
879
  skeletonWidth: '150px',
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({
880
+ })))), !!this.subtotals[localization.translate('Taxes')] && (index.h("tr", { key: '3960ae24df8093e1bb7e904bba82b774dc32103c', class: "zonos--row zonos--collect-tax" }, index.h("td", { key: 'cdfb4bd23f8b3f0545170a05a3b060533db22f26', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: 'bbbdaade160358cc94a9347f835d2e8bc759866d', type: "semiBoldLabel" }, localization.translate('Taxes'))), index.h("td", { key: '032c233f3301289c89791d78a5624d9409292041', class: "zonos--column" }), index.h("td", { key: 'b96dc16ecbff5add3adb0236c794c7a71c48800b', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
767
881
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
768
882
  amount: this.subtotals[localization.translate('Taxes')] || 0,
769
883
  isForeign: true,
770
884
  }))),
771
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
885
+ isLoading: collect.collectStore.isFetchingShippingInfo,
772
886
  skeletonHeight: '14px',
773
887
  skeletonWidth: '150px',
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({
888
+ })))), !!this.subtotals[localization.translate('Fees')] && (index.h("tr", { key: '056890bb4d5394aea10f618c97c6d22d0ed63d3b', class: "zonos--row zonos--collect-fee" }, index.h("td", { key: '920bbbc49538bf61a4b3a180454a904996448b22', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '3609ef98b6fe12f11d16a9176321321fa450c482', type: "semiBoldLabel" }, localization.translate('Fees'))), index.h("td", { key: 'c7393e334a5d229f879094aa10356740676a412a', class: "zonos--column" }), index.h("td", { key: '799e621fbeda831fd2181a362d9ace49a39b69e4', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
775
889
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
776
890
  amount: this.subtotals[localization.translate('Fees')] || 0,
777
891
  isForeign: true,
778
892
  }))),
779
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
893
+ isLoading: collect.collectStore.isFetchingShippingInfo,
780
894
  skeletonHeight: '14px',
781
895
  skeletonWidth: '150px',
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({
896
+ })))), index.h("tr", { key: 'b9cc1a5aa049ccefb48dc5d1627bdb8093ffe29f', class: "zonos--row zonos--collect-spacing" }, index.h("td", { key: '439b7508f723ed01efd63e499de979a84e136b21', class: "zonos--column", colSpan: 3 })), index.h("tr", { key: '6c3db4c263f849b9f1ad25a1ce1cfb23dcf03b10', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, index.h("td", { key: '3fac71f137d3d5af8a40d7aaa0ad36c31a827a5b', class: "zonos--column" }), index.h("td", { key: '45084572c966e849b69dd4f10d065fd3f0aa5544', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '5c09a882998169f59baa30a59574d1ca919ab1c6', type: "label" }, localization.translate('Subtotal'))), index.h("td", { key: 'd8debe70bbc2394f95581409a1db5cb8055383eb', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
783
897
  content: (index.h("zonos-text", { type: "label" }, renderCheckoutCurrency.renderCheckoutCurrency({
784
- amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
898
+ amount: collect.collectStore.amountDutyTaxFeeTotal || 0,
785
899
  isForeign: true,
786
900
  }))),
787
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
901
+ isLoading: collect.collectStore.isFetchingShippingInfo,
788
902
  skeletonHeight: '14px',
789
903
  skeletonWidth: '150px',
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({
904
+ }))), index.h("tr", { key: 'db55f0a9600bff78e582609f17ac561fb30ec85f', class: "zonos--row zonos--collect-total" }, index.h("td", { key: '8b77eb9db155a44591bce58fd24ee46110b9a407', class: "zonos--column" }), index.h("td", { key: '5c1b6df053e202f60d1d3fa4ff5d8c53fb1762ce', class: "zonos--column zonos--collect-subtotal-title" }, index.h("zonos-text", { key: '393f436b62e9b49d52598896b2913f08e953987b', type: "semiBoldLabel" }, localization.translate('Customs fees total'))), index.h("td", { key: 'c2bc51d66b8490652c6f6df8fac0194544785706', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback.renderFallback({
791
905
  content: (index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
792
- amount: isCollectMobileTablet.collectStore.amountDutyTaxFeeTotal || 0,
906
+ amount: collect.collectStore.amountDutyTaxFeeTotal || 0,
793
907
  isForeign: true,
794
908
  }))),
795
- isLoading: isCollectMobileTablet.collectStore.isFetchingShippingInfo,
909
+ isLoading: collect.collectStore.isFetchingShippingInfo,
796
910
  skeletonHeight: '14px',
797
911
  skeletonWidth: '150px',
798
912
  }))))));