@zonos/elements 1.3.270 → 1.3.272

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 (205) hide show
  1. package/dist/cjs/{cart-3ff48a0e.js → cart-f1374a56.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-aec06153.js → hasInclusivePrice-2f1232e3.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-ff716652.js → invoice-3760bec0.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-3ac53cab.js → isCollectMobileTablet-d5c1a9ea.js} +2 -2
  6. package/dist/cjs/{localization-5c1c9c6a.js → localization-503c8477.js} +125 -1
  7. package/dist/cjs/{paypal-c55b6c45.js → paypal-5e9b8224.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-230f534b.js → placeTestOrder-d1be2c8e.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-e9d8efa8.js → renderCheckoutCurrency-4486b06e.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-card_5.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +117 -7
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +4 -1
  29. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +1 -1
  30. package/dist/collection/components/main/zonos-controller.js +1 -1
  31. package/dist/collection/components/store/checkout/euWithdrawalRate.js +40 -0
  32. package/dist/collection/components/store/hello/localization.js +3 -1
  33. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
  34. package/dist/collection/components/store/translationStore/strings.base.js +6 -0
  35. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
  36. package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
  37. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
  38. package/dist/collection/components/store/translationStore/strings.french.js +6 -0
  39. package/dist/collection/components/store/translationStore/strings.german.js +6 -0
  40. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
  41. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
  42. package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
  43. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
  44. package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
  45. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
  46. package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
  47. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
  48. package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
  49. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
  50. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
  51. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
  52. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
  53. package/dist/collection/components/utils/checkout/euWithdrawalNotice.js +74 -0
  54. package/dist/collection/types/generated/graphql.internal.types.js +315 -182
  55. package/dist/esm/{cart-44fa77ef.js → cart-1415dcf0.js} +1 -1
  56. package/dist/esm/{hasInclusivePrice-f0440925.js → hasInclusivePrice-a3b0f71c.js} +1 -1
  57. package/dist/esm/index.js +7 -7
  58. package/dist/esm/{invoice-89e71796.js → invoice-117efa2c.js} +2 -2
  59. package/dist/esm/{isCollectMobileTablet-323d2ba1.js → isCollectMobileTablet-2c62fdaa.js} +2 -2
  60. package/dist/esm/{localization-066586b6.js → localization-29723d89.js} +124 -2
  61. package/dist/esm/{paypal-8725008c.js → paypal-cb5559d4.js} +2 -2
  62. package/dist/esm/{placeTestOrder-38be871e.js → placeTestOrder-443376eb.js} +2 -2
  63. package/dist/esm/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-8390b5bf.js} +2 -2
  64. package/dist/esm/zonos-address-display_8.entry.js +2 -2
  65. package/dist/esm/zonos-address_4.entry.js +2 -2
  66. package/dist/esm/zonos-card_5.entry.js +3 -3
  67. package/dist/esm/zonos-cart-items_12.entry.js +118 -8
  68. package/dist/esm/zonos-checkout.entry.js +3 -3
  69. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  70. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  71. package/dist/esm/zonos-collect.entry.js +4 -4
  72. package/dist/esm/zonos-controller.entry.js +2 -2
  73. package/dist/esm/zonos-country-flag.entry.js +1 -1
  74. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  75. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  76. package/dist/esm/zonos-hello.entry.js +1 -1
  77. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  78. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  79. package/dist/esm/zonos-invoice.entry.js +4 -4
  80. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  81. package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
  82. package/dist/esm-es5/{cart-44fa77ef.js → cart-1415dcf0.js} +1 -1
  83. package/dist/esm-es5/{hasInclusivePrice-f0440925.js → hasInclusivePrice-a3b0f71c.js} +1 -1
  84. package/dist/esm-es5/index.js +1 -1
  85. package/dist/esm-es5/{invoice-89e71796.js → invoice-117efa2c.js} +1 -1
  86. package/dist/esm-es5/{isCollectMobileTablet-323d2ba1.js → isCollectMobileTablet-2c62fdaa.js} +1 -1
  87. package/dist/esm-es5/localization-29723d89.js +1 -0
  88. package/dist/esm-es5/{paypal-8725008c.js → paypal-cb5559d4.js} +1 -1
  89. package/dist/esm-es5/{placeTestOrder-38be871e.js → placeTestOrder-443376eb.js} +1 -1
  90. package/dist/esm-es5/{renderCheckoutCurrency-802f4481.js → renderCheckoutCurrency-8390b5bf.js} +1 -1
  91. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  92. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  93. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  94. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  95. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  96. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  97. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  98. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  99. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  100. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  101. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  102. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  103. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  104. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  105. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  106. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  107. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  108. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  109. package/dist/scripts/index.d.ts +38 -3
  110. package/dist/scripts/index.js +1 -1
  111. package/dist/scripts/loadZonos.js +1 -1
  112. package/dist/scripts/zonos.js +1 -1
  113. package/dist/types/components/store/checkout/euWithdrawalRate.d.ts +19 -0
  114. package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
  115. package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
  116. package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
  117. package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
  118. package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
  119. package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
  120. package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
  121. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
  122. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
  123. package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
  124. package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
  125. package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
  126. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
  127. package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
  128. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
  129. package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
  130. package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
  131. package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
  132. package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
  133. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
  134. package/dist/types/components/utils/checkout/euWithdrawalNotice.d.ts +9 -0
  135. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -3
  136. package/dist/types/types/checkout/CheckoutConfig.d.ts +10 -0
  137. package/dist/types/types/generated/graphql.internal.types.d.ts +396 -218
  138. package/dist/types/types/generated/graphql.internal.types.ts +508 -258
  139. package/dist/types/types/utils/ZonosSettings.d.ts +9 -0
  140. package/dist/zonos-elements/index.esm.js +1 -1
  141. package/dist/zonos-elements/p-0fa932e6.system.js +1 -0
  142. package/dist/zonos-elements/{p-225f19b6.entry.js → p-15c2dfea.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-31a3b070.system.js → p-17c7a727.system.js} +1 -1
  144. package/dist/zonos-elements/{p-fb83134b.system.entry.js → p-18c9565b.system.entry.js} +1 -1
  145. package/dist/zonos-elements/p-24aa6708.js +1 -0
  146. package/dist/zonos-elements/{p-0e9c0eff.entry.js → p-2585034d.entry.js} +1 -1
  147. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  148. package/dist/zonos-elements/p-2cda42d5.system.js +1 -0
  149. package/dist/zonos-elements/{p-eb96d62f.entry.js → p-2d1055d5.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-801dd8d8.system.js → p-318e704a.system.js} +1 -1
  151. package/dist/zonos-elements/{p-b1125711.system.js → p-3b600b89.system.js} +1 -1
  152. package/dist/zonos-elements/{p-d29dbeb3.entry.js → p-3efe0875.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-5df77315.system.entry.js → p-48f3e2d2.system.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-6704b83e.entry.js → p-4c94cfd3.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-9e414000.js → p-53b65b80.js} +1 -1
  156. package/dist/zonos-elements/{p-e11c3410.entry.js → p-53be08c8.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-fc651784.system.entry.js → p-54a9c772.system.entry.js} +1 -1
  158. package/dist/zonos-elements/p-58521b25.js +1 -0
  159. package/dist/zonos-elements/{p-7e03bd33.system.entry.js → p-5bd47a30.system.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-2f61dc3c.entry.js → p-60f0ff42.entry.js} +1 -1
  161. package/dist/zonos-elements/{p-d4c966cb.entry.js → p-6609467e.entry.js} +1 -1
  162. package/dist/zonos-elements/{p-ad4c8167.system.entry.js → p-6b87101d.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-ccd0fa8f.system.entry.js → p-73730eb9.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-2df84888.system.entry.js → p-7536cf94.system.entry.js} +1 -1
  165. package/dist/zonos-elements/{p-72666536.system.entry.js → p-792fce17.system.entry.js} +1 -1
  166. package/dist/zonos-elements/p-7ce6b8f7.system.entry.js +1 -0
  167. package/dist/zonos-elements/{p-69ad7325.entry.js → p-7d859914.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-b15ceaff.entry.js → p-831bcfb6.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-08c7dc07.system.entry.js → p-9259e19b.system.entry.js} +1 -1
  170. package/dist/zonos-elements/p-93324ee5.entry.js +1 -0
  171. package/dist/zonos-elements/p-99ef86c3.js +1 -0
  172. package/dist/zonos-elements/{p-fcf3ed5c.entry.js → p-a956e28f.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-bea9d128.js → p-aa3a7538.js} +1 -1
  174. package/dist/zonos-elements/{p-6ac77d9f.system.entry.js → p-aafc2155.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-9abfb6b0.entry.js → p-b1b7d786.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-a977cddd.entry.js → p-b375372e.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-703f2737.system.js → p-b453ae2b.system.js} +1 -1
  178. package/dist/zonos-elements/{p-30e819ed.entry.js → p-bd2daace.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-0d251428.entry.js → p-c16c7978.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-208b270a.js → p-c425d3d9.js} +1 -1
  181. package/dist/zonos-elements/{p-5812b323.system.entry.js → p-c45df586.system.entry.js} +1 -1
  182. package/dist/zonos-elements/p-c935390d.js +1 -0
  183. package/dist/zonos-elements/{p-b1a4f385.system.entry.js → p-ccc8d669.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-7792f4c2.js → p-cdea0f7d.js} +1 -1
  185. package/dist/zonos-elements/{p-acd7009a.system.entry.js → p-d2ba9e3c.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-27beefda.system.js → p-e77dd304.system.js} +1 -1
  187. package/dist/zonos-elements/{p-d659153c.entry.js → p-ea91600a.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-a2885536.system.entry.js → p-eb254a96.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-0d2d7fc4.system.js → p-eb77dd11.system.js} +1 -1
  190. package/dist/zonos-elements/{p-91702715.entry.js → p-ee00f232.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-2651ca93.system.entry.js → p-f4be6ce5.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-5ab4bc26.system.entry.js → p-f5d9e5e5.system.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-553ca694.system.entry.js → p-f98cdb98.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-238370ad.system.js → p-fd849c69.system.js} +1 -1
  195. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  196. package/package.json +1 -1
  197. package/dist/esm-es5/localization-066586b6.js +0 -1
  198. package/dist/zonos-elements/p-0fb8b711.system.entry.js +0 -1
  199. package/dist/zonos-elements/p-260a5b57.js +0 -1
  200. package/dist/zonos-elements/p-bfcc1432.js +0 -1
  201. package/dist/zonos-elements/p-c049c527.js +0 -1
  202. package/dist/zonos-elements/p-c76ec587.system.js +0 -1
  203. package/dist/zonos-elements/p-debd2e30.js +0 -1
  204. package/dist/zonos-elements/p-ebc966d8.entry.js +0 -1
  205. package/dist/zonos-elements/p-f5d4775a.system.js +0 -1
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-cfd394c8.js';
2
- import { d as cartStore, M as cartStoreHasOneEligibleItem, N as stripeStoreApplyPromoCode, O as stripeStoreRemovePromoCode, b as stripeStore, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, Q as stripeStoreMessageBasedOnStatus, R as storeCreditStore, S as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, v as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, u as cartStoreNextStep, T as stripeStoreTranslateAddressToLatin, U as extractName, G as cartStoreOnChange, V as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, W as cartStoreGetShippingTransitInfo, X as cartStoreGetMethod, Y as sortServiceLevelOptionsByAmount } from './cart-44fa77ef.js';
3
- import { t as translate, l as localizationStore, s as storageStore, e as localizationStoreOnChange } from './localization-066586b6.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-802f4481.js';
2
+ import { d as cartStore, M as cartStoreHasOneEligibleItem, N as stripeStoreApplyPromoCode, O as stripeStoreRemovePromoCode, b as stripeStore, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, Q as stripeStoreMessageBasedOnStatus, R as storeCreditStore, S as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, v as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, u as cartStoreNextStep, T as stripeStoreTranslateAddressToLatin, U as extractName, G as cartStoreOnChange, V as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, W as cartStoreGetShippingTransitInfo, X as cartStoreGetMethod, Y as sortServiceLevelOptionsByAmount } from './cart-1415dcf0.js';
3
+ import { t as translate, l as localizationStore, s as storageStore, u as getExchangeRate, v as numberFormat, e as localizationStoreOnChange } from './localization-29723d89.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-8390b5bf.js';
5
5
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-5f7856f2.js';
6
6
  import { c as classes } from './classes-0d95c529.js';
7
- import { z as zonosStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
8
- import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-f0440925.js';
9
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-8725008c.js';
7
+ import { z as zonosStore, c as createStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
8
+ import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-a3b0f71c.js';
9
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-cb5559d4.js';
10
10
  import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
11
11
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
12
12
  import { g as getBorderRadius } from './getBorderRadius-d23f47a6.js';
13
13
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
14
14
  import { l as languages } from './ILanguage-cd6acb72.js';
15
- import { p as placeTestOrder } from './placeTestOrder-38be871e.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-443376eb.js';
16
16
  import { i as isDarkColor } from './isDarkColor-566f04c5.js';
17
17
  import { g as getContrastColor } from './getContrastColor-f0bd5b65.js';
18
18
  import { i as isColorVariable } from './isColorVariable-0a94004f.js';
@@ -1065,6 +1065,114 @@ const ZonosCheckoutFooter = class {
1065
1065
  };
1066
1066
  ZonosCheckoutFooter.style = ZonosCheckoutFooterStyle0;
1067
1067
 
1068
+ /**
1069
+ * Caches live "configured currency → presentment currency" rates used to convert
1070
+ * the EU withdrawal return-shipping cap into the currency the buyer actually pays
1071
+ * in. A @stencil/store so that, when a lazily-fetched rate resolves, components
1072
+ * rendering the notice re-render and pick up the converted amount. Keyed by
1073
+ * `${sourceCurrency}_${targetCurrency}`; a null value means the lookup failed.
1074
+ */
1075
+ const { state: euWithdrawalRateStore } = createStore({ crossRates: {} });
1076
+ // Tracks in-flight rate lookups so the same pair isn't fetched on every render.
1077
+ const inFlightRateKeys = new Set();
1078
+ const euWithdrawalCrossRateKey = (sourceCurrency, targetCurrency) => `${sourceCurrency}_${targetCurrency}`;
1079
+ /**
1080
+ * Lazily fetch the current configured→presentment rate (fire-and-forget). Guarded
1081
+ * so each pair is fetched at most once; the result lands in the reactive store,
1082
+ * which triggers a re-render that then shows the presentment estimate.
1083
+ */
1084
+ const ensureEuWithdrawalCrossRate = (sourceCurrency, targetCurrency, shipToCountry) => {
1085
+ const key = euWithdrawalCrossRateKey(sourceCurrency, targetCurrency);
1086
+ if (inFlightRateKeys.has(key) ||
1087
+ euWithdrawalRateStore.crossRates[key] !== undefined) {
1088
+ return;
1089
+ }
1090
+ inFlightRateKeys.add(key);
1091
+ void getExchangeRate({
1092
+ country: shipToCountry,
1093
+ isGuaranteed: false,
1094
+ sourceCurrency,
1095
+ targetCurrency,
1096
+ })
1097
+ .then(({ exchangeRate }) => {
1098
+ var _a;
1099
+ 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 });
1100
+ })
1101
+ .finally(() => {
1102
+ inFlightRateKeys.delete(key);
1103
+ });
1104
+ };
1105
+
1106
+ /**
1107
+ * Returns the cap converted into the presentment currency, or null when it can't
1108
+ * be determined yet (rate still loading or unavailable).
1109
+ *
1110
+ * - When the cap currency is the merchant's native/base currency, reuse the
1111
+ * checkout session's base→presentment rate (no extra request).
1112
+ * - Otherwise fetch the current cap-currency→presentment rate on demand.
1113
+ */
1114
+ const getPresentmentAmount = (maximum, configuredCurrency, presentmentCurrency, shipToCountry) => {
1115
+ var _a, _b;
1116
+ const baseCurrency = (_a = cartStore.exchangeRate) === null || _a === void 0 ? void 0 : _a.sourceCurrencyCode;
1117
+ const sessionRate = (_b = cartStore.exchangeRate) === null || _b === void 0 ? void 0 : _b.rate;
1118
+ if (configuredCurrency === baseCurrency && sessionRate) {
1119
+ return maximum * sessionRate;
1120
+ }
1121
+ const liveRate = euWithdrawalRateStore.crossRates[euWithdrawalCrossRateKey(configuredCurrency, presentmentCurrency)];
1122
+ if (liveRate === undefined) {
1123
+ ensureEuWithdrawalCrossRate(configuredCurrency, presentmentCurrency, shipToCountry);
1124
+ return null;
1125
+ }
1126
+ return liveRate === null ? null : maximum * liveRate;
1127
+ };
1128
+ const formatInCurrency = (amount, currency) => `${numberFormat({ amount, currency, targetFormat: null })} ${currency}`;
1129
+ /**
1130
+ * Formats the cap for the buyer, e.g. "100 USD (~125 CAD)" — the merchant's
1131
+ * configured amount/currency, plus the estimated amount the buyer will actually
1132
+ * pay in their presentment currency. When the cap is already in the presentment
1133
+ * currency, or the presentment estimate isn't available yet, only the configured
1134
+ * amount is shown.
1135
+ */
1136
+ const formatMaximum = (maximum, configuredCurrency, shipToCountry) => {
1137
+ const configured = formatInCurrency(maximum, configuredCurrency);
1138
+ const presentmentCurrency = cartStore.currency;
1139
+ if (configuredCurrency === presentmentCurrency) {
1140
+ return configured;
1141
+ }
1142
+ const presentmentAmount = getPresentmentAmount(maximum, configuredCurrency, presentmentCurrency, shipToCountry);
1143
+ if (presentmentAmount == null) {
1144
+ return configured;
1145
+ }
1146
+ return `${configured} (~${formatInCurrency(presentmentAmount, presentmentCurrency)})`;
1147
+ };
1148
+ /**
1149
+ * Returns the localized EU withdrawal notice text to render above the Pay button,
1150
+ * or null when it shouldn't be shown. The notice appears only when the merchant
1151
+ * has opted in (status ENABLED) and the buyer is shipping to a country flagged by
1152
+ * the API as affected by the regulation (`genericSettings.withdrawalCountryEnabled`).
1153
+ * When a maximum return-shipping cap is configured the copy includes the amount;
1154
+ * otherwise it uses the no-maximum variant.
1155
+ */
1156
+ const getEuWithdrawalNoticeText = (shipToCountry) => {
1157
+ var _a, _b;
1158
+ const policy = (_a = zonosStore.checkoutSettings.merchantPolicyLinks) === null || _a === void 0 ? void 0 : _a.euWithdrawalPolicy;
1159
+ if (!policy || policy.status !== 'ENABLED') {
1160
+ return null;
1161
+ }
1162
+ // The affected-country list is API-controlled (not hardcoded), so an absent or
1163
+ // empty list shows the notice for no country.
1164
+ const enabledCountries = (_b = zonosStore.genericSettings) === null || _b === void 0 ? void 0 : _b.withdrawalCountryEnabled;
1165
+ if (!shipToCountry ||
1166
+ !(enabledCountries === null || enabledCountries === void 0 ? void 0 : enabledCountries.some(country => country === shipToCountry))) {
1167
+ return null;
1168
+ }
1169
+ const maximum = policy.maximumReturnShippingEstimate;
1170
+ if (maximum == null) {
1171
+ return translate('If you later choose to exercise your right to withdrawal, you will be responsible for any associated return shipping costs.');
1172
+ }
1173
+ return 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) });
1174
+ };
1175
+
1068
1176
  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>`;
1069
1177
 
1070
1178
  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>`;
@@ -1259,6 +1367,7 @@ const ZonosCheckoutPayment = class {
1259
1367
  const isPaypalTabSelected = ((_a = stripeStore.stripePaymentEventData) === null || _a === void 0 ? void 0 : _a.value.type) === 'external_paypal';
1260
1368
  const storeCreditCoversFullOrder = storeCreditStoreCoversFullAmount();
1261
1369
  const renderPayment = () => {
1370
+ var _a;
1262
1371
  if (isStagingMode) {
1263
1372
  const { colorPrimary } = zonosStore.appearance;
1264
1373
  const themeBasedColor = colorPrimary && isDarkColor(colorPrimary) ? 'DARK' : 'LIGHT';
@@ -1272,10 +1381,11 @@ const ZonosCheckoutPayment = class {
1272
1381
  // use primary type when on mobile mode
1273
1382
  variant: this.submitBtnType }, translate('Place test order')))));
1274
1383
  }
1384
+ const euWithdrawalNoticeText = getEuWithdrawalNoticeText((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country);
1275
1385
  return (h(Fragment, null, this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), this.hasStripePaymentError && (h("zonos-banner", { class: "zonos--payment-error-banner", intent: "error" }, stripeStore.customErrorMessage ||
1276
1386
  translate("We couldn't complete your payment. Please verify the payment details and try again."))), paypalStore.paypalErrorMessage && (h("zonos-banner", { class: "zonos--payment-error-banner", intent: "error" }, paypalStore.paypalErrorMessage)), cartStore.customerAuthenticationToken &&
1277
1387
  storeCreditStore.availableBalance != null &&
1278
- storeCreditStore.availableBalance > 0 && (h("zonos-store-credit", null)), storeCreditCoversFullOrder ? (h("zonos-banner", { intent: "info" }, translate('Store credit covers your full order'))) : (h("zonos-payment", null)), h("zonos-policy-consent", null), h("div", { class: "zonos--group-btn" }, (!isPaypalTabSelected || storeCreditCoversFullOrder) && (h(Fragment, null, h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, isDisabled: this.continueLoading &&
1388
+ storeCreditStore.availableBalance > 0 && (h("zonos-store-credit", null)), storeCreditCoversFullOrder ? (h("zonos-banner", { intent: "info" }, translate('Store credit covers your full order'))) : (h("zonos-payment", null)), h("zonos-policy-consent", null), euWithdrawalNoticeText && (h("zonos-banner", { class: "zonos--eu-withdrawal-notice", intent: "info" }, euWithdrawalNoticeText)), h("div", { class: "zonos--group-btn" }, (!isPaypalTabSelected || storeCreditCoversFullOrder) && (h(Fragment, null, h("zonos-button", { backgroundColor: this.submitBtnColor, bold: true, isDisabled: this.continueLoading &&
1279
1389
  stripeStore.checkoutSettlementCurrency === 'USD', loading: this.continueLoading &&
1280
1390
  stripeStore.checkoutSettlementCurrency !== 'USD', onClick: async () => {
1281
1391
  if (!cartStore.checkoutSession) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as isPolicyConsentRequired, w as stripeStoreUpdateCheckoutSessionBaseCurrency, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-44fa77ef.js';
3
- import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-8725008c.js';
4
- import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-066586b6.js';
2
+ import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as cartStoreStartCheckoutInterval, t as trackConversionEvent, m as getCheckoutSessionBody, n as cartStoreUpdateToErrorState, o as stripeStoreCleanupDomesticShippingSession, q as cartStoreSetCheckoutSession, r as stripeStorePrefetchLandedCost, u as cartStoreNextStep, v as isPolicyConsentRequired, w as stripeStoreUpdateCheckoutSessionBaseCurrency, x as stripeStoreHandleInventoryCheck, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-1415dcf0.js';
3
+ import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-cb5559d4.js';
4
+ import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-29723d89.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8e19daff.js';
6
6
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
7
7
  import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError, b as getAdditionalLogMetadata, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-a844cac1.js';
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-44fa77ef.js';
2
+ import { d as cartStore } from './cart-1415dcf0.js';
3
3
  import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-5f7856f2.js';
4
4
  import { f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { s as styles } from './styles-6fc2fad9.js';
7
- import './localization-066586b6.js';
7
+ import './localization-29723d89.js';
8
8
  import './handleFetch-a844cac1.js';
9
9
  import './VarianceTest-572cecf5.js';
10
10
  import './isDarkColor-566f04c5.js';
@@ -1,17 +1,17 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, F as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-44fa77ef.js';
3
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-8725008c.js';
4
- import { t as translate, s as storageStore, l as localizationStore, v as translationStoreOnChange } from './localization-066586b6.js';
2
+ import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, F as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-1415dcf0.js';
3
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-cb5559d4.js';
4
+ import { t as translate, s as storageStore, l as localizationStore, x as translationStoreOnChange } from './localization-29723d89.js';
5
5
  import { z as zonosStore } from './zonosStore-8e19daff.js';
6
6
  import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
7
7
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
8
8
  import { g as getBorderRadius } from './getBorderRadius-d23f47a6.js';
9
9
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
10
- import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-323d2ba1.js';
10
+ import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-2c62fdaa.js';
11
11
  import { c as classes } from './classes-0d95c529.js';
12
12
  import { l as languages } from './ILanguage-cd6acb72.js';
13
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-802f4481.js';
14
- import { p as placeTestOrder } from './placeTestOrder-38be871e.js';
13
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-8390b5bf.js';
14
+ import { p as placeTestOrder } from './placeTestOrder-443376eb.js';
15
15
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
16
16
  import './isDarkColor-566f04c5.js';
17
17
  import './isContrastColor-fbddacb6.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-44fa77ef.js';
3
- import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-323d2ba1.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-8725008c.js';
5
- import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-066586b6.js';
2
+ import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-1415dcf0.js';
3
+ import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-2c62fdaa.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-cb5559d4.js';
5
+ import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-29723d89.js';
6
6
  import { z as zonosStore } from './zonosStore-8e19daff.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
2
- import { b as stripeStore } from './cart-44fa77ef.js';
3
- import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-066586b6.js';
2
+ import { b as stripeStore } from './cart-1415dcf0.js';
3
+ import { j as getOverridenZCountry, k as isValidSelector, m as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-29723d89.js';
4
4
  import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
5
5
  import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { l as localizationStore } from './localization-066586b6.js';
2
+ import { l as localizationStore } from './localization-29723d89.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './handleFetch-a844cac1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-066586b6.js';
2
+ import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-29723d89.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-566f04c5.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
2
- import { l as localizationStore, t as translate, h as currencyFormat } from './localization-066586b6.js';
2
+ import { l as localizationStore, t as translate, h as currencyFormat } from './localization-29723d89.js';
3
3
  import { z as zonosStore } from './zonosStore-8e19daff.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
- import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-f0440925.js';
6
+ import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-a3b0f71c.js';
7
7
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
8
8
  import { e as euCountryCodes } from './TaxId-50d72254.js';
9
9
  import './handleFetch-a844cac1.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
2
2
  import { d as debounce_1 } from './debounce-58e4ff3e.js';
3
- import { l as localizationStore, k as isValidSelector, t as translate, g as getZCountryUrlParam, n as setZCountryUrlParam, o as currencyDisplay, p as currencyConvertAndFormat, q as currencyConvert, h as currencyFormat, r as shouldShowHelloWidget } from './localization-066586b6.js';
3
+ import { l as localizationStore, k as isValidSelector, t as translate, g as getZCountryUrlParam, n as setZCountryUrlParam, o as currencyDisplay, p as currencyConvertAndFormat, q as currencyConvert, h as currencyFormat, r as shouldShowHelloWidget } from './localization-29723d89.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8e19daff.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
6
  import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { d as cartStore } from './cart-44fa77ef.js';
3
- import { t as translate } from './localization-066586b6.js';
4
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-802f4481.js';
2
+ import { d as cartStore } from './cart-1415dcf0.js';
3
+ import { t as translate } from './localization-29723d89.js';
4
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-8390b5bf.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { c as invoiceStore } from './invoice-89e71796.js';
6
+ import { c as invoiceStore } from './invoice-117efa2c.js';
7
7
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
8
8
  import './zonosStore-8e19daff.js';
9
9
  import './VarianceTest-572cecf5.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, F as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-44fa77ef.js';
3
- import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-8725008c.js';
4
- import { t as translate, s as storageStore, l as localizationStore } from './localization-066586b6.js';
2
+ import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, F as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, u as cartStoreNextStep, G as cartStoreOnChange } from './cart-1415dcf0.js';
3
+ import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-cb5559d4.js';
4
+ import { t as translate, s as storageStore, l as localizationStore } from './localization-29723d89.js';
5
5
  import { z as zonosStore } from './zonosStore-8e19daff.js';
6
6
  import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
7
7
  import { c as createCustomEvent } from './createCustomEvent-58159025.js';
@@ -10,9 +10,9 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
10
10
  import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
11
11
  import { c as classes } from './classes-0d95c529.js';
12
12
  import { l as languages } from './ILanguage-cd6acb72.js';
13
- import { c as invoiceStore } from './invoice-89e71796.js';
14
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-802f4481.js';
15
- import { p as placeTestOrder } from './placeTestOrder-38be871e.js';
13
+ import { c as invoiceStore } from './invoice-117efa2c.js';
14
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-8390b5bf.js';
15
+ import { p as placeTestOrder } from './placeTestOrder-443376eb.js';
16
16
  import { r as renderFallback } from './renderFallback-b250f4e9.js';
17
17
  import './isDarkColor-566f04c5.js';
18
18
  import './isContrastColor-fbddacb6.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
2
- import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-44fa77ef.js';
3
- import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-89e71796.js';
4
- import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-8725008c.js';
5
- import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-066586b6.js';
2
+ import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, w as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-1415dcf0.js';
3
+ import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-117efa2c.js';
4
+ import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-cb5559d4.js';
5
+ import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-29723d89.js';
6
6
  import { z as zonosStore } from './zonosStore-8e19daff.js';
7
7
  import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
8
8
  import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
2
- import { y as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-066586b6.js';
2
+ import { A as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-29723d89.js';
3
3
  import { f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './handleFetch-a844cac1.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
2
- import { Z as getEnabledPolicies, E as policyConsentStore, _ as storeCreditStoreSetEnabled, $ as storeCreditStoreSetUseFullBalance, a0 as cartStoreUpdateStoreCredit, R as storeCreditStore, a1 as storeCreditStoreSetAmount, a2 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-44fa77ef.js';
3
- import { l as localizationStore, t as translate } from './localization-066586b6.js';
2
+ import { Z as getEnabledPolicies, E as policyConsentStore, _ as storeCreditStoreSetEnabled, $ as storeCreditStoreSetUseFullBalance, a0 as cartStoreUpdateStoreCredit, R as storeCreditStore, a1 as storeCreditStoreSetAmount, a2 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-1415dcf0.js';
3
+ import { l as localizationStore, t as translate } from './localization-29723d89.js';
4
4
  import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-8e19daff.js';
5
- import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-802f4481.js';
5
+ import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-8390b5bf.js';
6
6
  import { g as getBorderRadius } from './getBorderRadius-d23f47a6.js';
7
7
  import './VarianceTest-572cecf5.js';
8
8
  import './handleFetch-a844cac1.js';