@zonos/elements 1.5.1 → 1.5.2
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.
- package/dist/cjs/{cart-CiXlehwQ.js → cart-BJpqPdFU.js} +13 -13
- package/dist/cjs/{collect-Drr8fY-q.js → collect-CyUttsvB.js} +3 -3
- package/dist/cjs/{getMissingRequiredShippingFields-DI6qF1z3.js → getMissingRequiredShippingFields-DEbNbRAZ.js} +1 -1
- package/dist/cjs/{handleFetch-DQLhurnE.js → handleFetch-DVfjFTYO.js} +181 -71
- package/dist/cjs/{hasInclusivePrice-84KS94yH.js → hasInclusivePrice-CEPf3_FG.js} +1 -1
- package/dist/cjs/index.cjs.js +104 -12
- package/dist/cjs/{invoice-5hVfSXpb.js → invoice-DzRkkpLu.js} +3 -3
- package/dist/cjs/{localization-B2mjW0Xa.js → localization-BhNVhLZs.js} +24 -48
- package/dist/cjs/{paypal-pd8Nz_R_.js → paypal-DCSqbdjW.js} +4 -4
- package/dist/cjs/{placeTestOrder-DrI8rD9o.js → placeTestOrder-Bkip4PUT.js} +3 -3
- package/dist/cjs/{renderCheckoutCurrency-u5q8YdUb.js → renderCheckoutCurrency-BDvEZ3Hv.js} +2 -2
- package/dist/cjs/{shouldShowLanguageSelect-gBg4KeTQ.js → shouldShowLanguageSelect-NOVWOU53.js} +1 -1
- package/dist/cjs/{submitGtag-Rc-S3PnH.js → submitGtag-D4sB7w4z.js} +1 -1
- package/dist/cjs/{taxIdFields-BrIaPTcd.js → taxIdFields-e4OCgr8K.js} +2 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-d0IKpwW8.js → updateCheckoutSessionAttributes-KxwcsKhM.js} +1 -1
- package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +5 -5
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card_5.cjs.entry.js +5 -5
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +18 -18
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collect.cjs.entry.js +6 -6
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +9 -9
- package/dist/cjs/zonos-invoice.cjs.entry.js +6 -6
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +8 -7
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -3
- package/dist/collection/components/main/zonos-controller.js +3 -2
- package/dist/collection/components/store/checkout/cart.js +3 -2
- package/dist/collection/components/store/checkout/stripe.js +10 -9
- package/dist/collection/components/store/storageStore.js +7 -6
- package/dist/collection/components/utils/__tests__/helpers/blockStorage.js +24 -0
- package/dist/collection/components/utils/api/getExchangeRate.js +2 -1
- package/dist/collection/components/utils/handleFetch.js +19 -9
- package/dist/collection/components/utils/hello/countryOverrideStorage.js +17 -40
- package/dist/collection/components/utils/logging/installConstructorCapture.js +58 -0
- package/dist/collection/components/utils/logging/reportBlockedStorage.js +34 -0
- package/dist/collection/components/utils/logging/sendErrorLog.js +8 -1
- package/dist/collection/components/utils/logging/startZonosInit.js +35 -0
- package/dist/collection/components/utils/logging/thrownMessage.js +16 -0
- package/dist/collection/components/utils/safeStorage.js +39 -0
- package/dist/collection/scripts/_getZonosQaUrl.js +3 -2
- package/dist/collection/scripts/_zonosBase.js +6 -2
- package/dist/collection/types/generated/graphql.frontend.types.js +0 -16
- package/dist/collection/types/generated/graphql.internal.types.js +215 -1
- package/dist/esm/{cart-DmJkjiDE.js → cart-BS5mSI8x.js} +13 -13
- package/dist/esm/{collect-BV5GTPmh.js → collect-B9ZxDDl7.js} +3 -3
- package/dist/esm/{getMissingRequiredShippingFields-DljgpDZe.js → getMissingRequiredShippingFields-BkEV865q.js} +1 -1
- package/dist/esm/{handleFetch-D5GYDF-O.js → handleFetch-BFVO7oAR.js} +178 -72
- package/dist/esm/{hasInclusivePrice-DhGXpH2D.js → hasInclusivePrice-zSvDReDb.js} +1 -1
- package/dist/esm/index.js +104 -12
- package/dist/esm/{invoice-CO-iqlni.js → invoice-6iTuS6ek.js} +3 -3
- package/dist/esm/{localization-DHM91diu.js → localization-CXHiWcJp.js} +24 -48
- package/dist/esm/{paypal-BfW5aLJw.js → paypal-BE_NVBoy.js} +4 -4
- package/dist/esm/{placeTestOrder-CyWUFhxD.js → placeTestOrder-BXA9K9Iy.js} +3 -3
- package/dist/esm/{renderCheckoutCurrency-B31ZNkUv.js → renderCheckoutCurrency-KMa4HlAf.js} +2 -2
- package/dist/esm/{shouldShowLanguageSelect-DwSfSHar.js → shouldShowLanguageSelect-BI_ApEsQ.js} +1 -1
- package/dist/esm/{submitGtag-BEFrutel.js → submitGtag-C5xzFHjG.js} +1 -1
- package/dist/esm/{taxIdFields-ByEYfsO5.js → taxIdFields-BUKnHMaL.js} +2 -2
- package/dist/esm/{updateCheckoutSessionAttributes-B0bQH0uw.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +1 -1
- package/dist/esm/zonos-address-completion-dialog_7.entry.js +5 -5
- package/dist/esm/zonos-address-display_2.entry.js +2 -2
- package/dist/esm/zonos-address_4.entry.js +4 -4
- package/dist/esm/zonos-airwallex-payment.entry.js +4 -4
- package/dist/esm/zonos-card_5.entry.js +5 -5
- package/dist/esm/zonos-cart-items_12.entry.js +18 -18
- package/dist/esm/zonos-checkout.entry.js +9 -9
- package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -3
- package/dist/esm/zonos-collect-finish_6.entry.js +9 -9
- package/dist/esm/zonos-collect.entry.js +6 -6
- package/dist/esm/zonos-controller.entry.js +6 -6
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +3 -3
- package/dist/esm/zonos-hello.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -5
- package/dist/esm/zonos-invoice-finish_5.entry.js +9 -9
- package/dist/esm/zonos-invoice.entry.js +6 -6
- package/dist/esm/zonos-language-select_2.entry.js +2 -2
- package/dist/esm/zonos-policy-consent_2.entry.js +4 -4
- package/dist/esm-es5/{cart-DmJkjiDE.js → cart-BS5mSI8x.js} +58 -58
- package/dist/esm-es5/{collect-BV5GTPmh.js → collect-B9ZxDDl7.js} +1 -1
- package/dist/esm-es5/{getMissingRequiredShippingFields-DljgpDZe.js → getMissingRequiredShippingFields-BkEV865q.js} +1 -1
- package/dist/esm-es5/handleFetch-BFVO7oAR.js +73 -0
- package/dist/esm-es5/{hasInclusivePrice-DhGXpH2D.js → hasInclusivePrice-zSvDReDb.js} +1 -1
- package/dist/esm-es5/index.js +26 -8
- package/dist/esm-es5/{invoice-CO-iqlni.js → invoice-6iTuS6ek.js} +1 -1
- package/dist/esm-es5/{localization-DHM91diu.js → localization-CXHiWcJp.js} +6 -9
- package/dist/esm-es5/{paypal-BfW5aLJw.js → paypal-BE_NVBoy.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-CyWUFhxD.js → placeTestOrder-BXA9K9Iy.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-B31ZNkUv.js → renderCheckoutCurrency-KMa4HlAf.js} +2 -2
- package/dist/esm-es5/{shouldShowLanguageSelect-DwSfSHar.js → shouldShowLanguageSelect-BI_ApEsQ.js} +1 -1
- package/dist/esm-es5/{submitGtag-BEFrutel.js → submitGtag-C5xzFHjG.js} +1 -1
- package/dist/esm-es5/{taxIdFields-ByEYfsO5.js → taxIdFields-BUKnHMaL.js} +2 -2
- package/dist/esm-es5/{updateCheckoutSessionAttributes-B0bQH0uw.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +6 -6
- package/dist/esm-es5/zonos-cart-items_12.entry.js +127 -127
- package/dist/esm-es5/zonos-checkout.entry.js +3 -3
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +6 -6
- package/dist/esm-es5/zonos-controller.entry.js +5 -5
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +3 -3
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/scripts/index.d.ts +6 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/utils/__tests__/helpers/blockStorage.d.ts +3 -0
- package/dist/types/components/utils/logging/installConstructorCapture.d.ts +20 -0
- package/dist/types/components/utils/logging/reportBlockedStorage.d.ts +16 -0
- package/dist/types/components/utils/logging/startZonosInit.d.ts +5 -0
- package/dist/types/components/utils/logging/thrownMessage.d.ts +1 -0
- package/dist/types/components/utils/safeStorage.d.ts +4 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +5 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +0 -22
- package/dist/types/types/generated/graphql.frontend.types.ts +0 -51
- package/dist/types/types/generated/graphql.internal.types.d.ts +270 -1
- package/dist/types/types/generated/graphql.internal.types.ts +341 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-8fa6cfff.entry.js → p-08b01c96.entry.js} +1 -1
- package/dist/zonos-elements/{p-3e705c9b.entry.js → p-0909ef77.entry.js} +1 -1
- package/dist/zonos-elements/{p-2b63865a.system.entry.js → p-13015d34.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2d513aa3.entry.js → p-13d5b2f9.entry.js} +1 -1
- package/dist/zonos-elements/{p-46a839d2.system.entry.js → p-150047b3.system.entry.js} +16 -16
- package/dist/zonos-elements/{p-6e691736.entry.js → p-1986cc37.entry.js} +1 -1
- package/dist/zonos-elements/{p-vTIygnHq.system.js → p-1OG3IJgY.system.js} +1 -1
- package/dist/zonos-elements/{p-189cc594.system.entry.js → p-30bf4700.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4917b74d.entry.js → p-3466bcba.entry.js} +1 -1
- package/dist/zonos-elements/{p-12b24ebb.entry.js → p-383343c7.entry.js} +1 -1
- package/dist/zonos-elements/{p-5585db86.system.entry.js → p-3a506614.system.entry.js} +36 -36
- package/dist/zonos-elements/{p-46b9f0cf.entry.js → p-43c0ebe9.entry.js} +1 -1
- package/dist/zonos-elements/{p-84e76348.entry.js → p-4b65f192.entry.js} +1 -1
- package/dist/zonos-elements/{p-216a908d.system.entry.js → p-573a4e7c.system.entry.js} +6 -6
- package/dist/zonos-elements/{p-1fda4aec.system.entry.js → p-5a296dbc.system.entry.js} +87 -87
- package/dist/zonos-elements/{p-960070d0.system.entry.js → p-68325c5a.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-53eac12f.system.entry.js → p-6db7317a.system.entry.js} +13 -13
- package/dist/zonos-elements/{p-1199baef.system.entry.js → p-709d1561.system.entry.js} +1 -1
- package/dist/zonos-elements/p-71d29603.entry.js +1 -0
- package/dist/zonos-elements/{p-064d8829.system.entry.js → p-7214c953.system.entry.js} +23 -23
- package/dist/zonos-elements/{p-65817880.entry.js → p-7fe83919.entry.js} +1 -1
- package/dist/zonos-elements/p-8ac26831.entry.js +1 -0
- package/dist/zonos-elements/{p-cccaad60.system.entry.js → p-8f9f859f.system.entry.js} +9 -9
- package/dist/zonos-elements/{p-f5f95990.system.entry.js → p-96b250d8.system.entry.js} +14 -14
- package/dist/zonos-elements/{p-678b9214.entry.js → p-97729873.entry.js} +1 -1
- package/dist/zonos-elements/{p-f3d9a380.system.entry.js → p-9b3668a4.system.entry.js} +144 -144
- package/dist/zonos-elements/{p-d8f375da.system.entry.js → p-9df31243.system.entry.js} +1 -1
- package/dist/zonos-elements/p-BI6VAB5B.js +1 -0
- package/dist/zonos-elements/p-BJFa5RwX.js +1 -0
- package/dist/zonos-elements/p-BJ_kE5rM.js +1 -0
- package/dist/zonos-elements/{p-XoQH3S7Z.system.js → p-BKUlQxBd.system.js} +1 -1
- package/dist/zonos-elements/{p-DprOoI2W.system.js → p-BUfCTQXY.system.js} +154 -154
- package/dist/zonos-elements/{p-CBUz18kA.system.js → p-BnQyot7Y.system.js} +23 -23
- package/dist/zonos-elements/p-Bu9WCfUC.system.js +1 -1
- package/dist/zonos-elements/{p-CMo3ZweU.js → p-C-zdj7MK.js} +1 -1
- package/dist/zonos-elements/{p-iAIzUA4k.js → p-C5fs3rIR.js} +1 -1
- package/dist/zonos-elements/{p-D1e9zNDA.js → p-CJmWr75U.js} +1 -1
- package/dist/zonos-elements/{p-Dtu_Japy.system.js → p-CMneHjck.system.js} +39 -39
- package/dist/zonos-elements/p-CP7KnfR3.system.js +245 -0
- package/dist/zonos-elements/p-CVRbGFV3.js +1 -0
- package/dist/zonos-elements/p-Cl5yV0ak.js +1 -0
- package/dist/zonos-elements/{p-CGNVm52g.system.js → p-Cp1IAJvW.system.js} +5 -5
- package/dist/zonos-elements/{p-6vSUiBfr.system.js → p-D-Lnf8mS.system.js} +50 -53
- package/dist/zonos-elements/p-D0DkOoAw.system.js +73 -0
- package/dist/zonos-elements/p-D4xpkSsK.js +1 -0
- package/dist/zonos-elements/p-DATNIakn.js +1 -0
- package/dist/zonos-elements/{p-CbhN65lj.system.js → p-DC1OPJDq.system.js} +1 -1
- package/dist/zonos-elements/{p-CHKKvuiz.js → p-DKnphvmJ.js} +1 -1
- package/dist/zonos-elements/{p-ojtNq-r5.system.js → p-DXlojp_Y.system.js} +1 -1
- package/dist/zonos-elements/{p-C9XLkmmb.system.js → p-DrS-0mk7.system.js} +1 -1
- package/dist/zonos-elements/{p-DpwmHU8R.js → p-DrbN3rPL.js} +2 -2
- package/dist/zonos-elements/{p-BrQ8n8NS.system.js → p-Dv5a-V6w.system.js} +3 -3
- package/dist/zonos-elements/{p-55813e9f.system.entry.js → p-a3c147d2.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-DiMEP3mh.js → p-aK18R41t.js} +1 -1
- package/dist/zonos-elements/p-af4ad54b.entry.js +1 -0
- package/dist/zonos-elements/{p-1e6db427.entry.js → p-af741506.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ca826b9.system.entry.js → p-b540c636.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-636b71d4.entry.js → p-bac94956.entry.js} +1 -1
- package/dist/zonos-elements/{p-941a95a1.system.entry.js → p-bb1b414a.system.entry.js} +5 -5
- package/dist/zonos-elements/{p-e7fdb2c9.entry.js → p-bfa9e32a.entry.js} +1 -1
- package/dist/zonos-elements/p-cf6bf7a4.entry.js +1 -0
- package/dist/zonos-elements/p-dJcbnNlE.system.js +7 -0
- package/dist/zonos-elements/{p-7dc7f328.entry.js → p-db40b9c3.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3345b2c.entry.js → p-dd003161.entry.js} +1 -1
- package/dist/zonos-elements/{p-ef5344ea.entry.js → p-e374aaa4.entry.js} +1 -1
- package/dist/zonos-elements/{p-6410fa11.system.entry.js → p-e43470f7.system.entry.js} +22 -22
- package/dist/zonos-elements/{p-fda89981.system.entry.js → p-ebc7ea54.system.entry.js} +3 -3
- package/dist/zonos-elements/{p-1cc42a98.system.entry.js → p-f2ed52bc.system.entry.js} +16 -16
- package/dist/zonos-elements/p-gEViRqvf.js +1 -0
- package/dist/zonos-elements/{p-DgUrB-1a.system.js → p-yv7ekcdG.system.js} +2 -2
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/handleFetch-D5GYDF-O.js +0 -60
- package/dist/zonos-elements/p-107f287b.entry.js +0 -1
- package/dist/zonos-elements/p-25eb99d4.entry.js +0 -1
- package/dist/zonos-elements/p-8f9d8795.entry.js +0 -1
- package/dist/zonos-elements/p-BMPYH-LT.js +0 -1
- package/dist/zonos-elements/p-C70h5mKA.js +0 -1
- package/dist/zonos-elements/p-CTiqplrr.js +0 -1
- package/dist/zonos-elements/p-Ch1w0Lr7.js +0 -1
- package/dist/zonos-elements/p-D1SmY_fZ.js +0 -1
- package/dist/zonos-elements/p-D6xXnsM_.js +0 -1
- package/dist/zonos-elements/p-DE4a-QD5.js +0 -1
- package/dist/zonos-elements/p-DQrMfUzi.system.js +0 -227
- package/dist/zonos-elements/p-DZdkJHK9.system.js +0 -7
- package/dist/zonos-elements/p-U33isUJG.js +0 -1
- package/dist/zonos-elements/p-ebe157b5.entry.js +0 -1
- package/dist/zonos-elements/p-zVLAvre1.system.js +0 -60
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as cartStore } from './cart-
|
|
2
|
-
import { s as storageStore } from './localization-
|
|
3
|
-
import { l as logError, h as handleFetch } from './handleFetch-
|
|
1
|
+
import { d as cartStore } from './cart-BS5mSI8x.js';
|
|
2
|
+
import { s as storageStore } from './localization-CXHiWcJp.js';
|
|
3
|
+
import { l as logError, h as handleFetch } from './handleFetch-BFVO7oAR.js';
|
|
4
4
|
|
|
5
5
|
const placeTestOrder = async () => {
|
|
6
6
|
var _a, _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as cartStore } from './cart-
|
|
2
|
-
import { B as applyInclusiveEffectiveRate, j as currencyFormat } from './localization-
|
|
1
|
+
import { d as cartStore } from './cart-BS5mSI8x.js';
|
|
2
|
+
import { B as applyInclusiveEffectiveRate, j as currencyFormat } from './localization-CXHiWcJp.js';
|
|
3
3
|
|
|
4
4
|
const getDisplayCurrency = () => {
|
|
5
5
|
var _a, _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
2
|
-
import { g as getIsTestMode } from './handleFetch-
|
|
2
|
+
import { g as getIsTestMode } from './handleFetch-BFVO7oAR.js';
|
|
3
3
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
4
4
|
|
|
5
5
|
/** Message type for zonos-analytic events sent from iframe to parent. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as requireIsObject, f as getDefaultExportFromCjs } from './zonosStore-BXP9FvIt.js';
|
|
2
2
|
import { r as requireDebounce } from './debounce-DHj2iHA1.js';
|
|
3
3
|
import { h } from './index-_lt63o7c.js';
|
|
4
|
-
import { V as resolveTaxIdSelection, b as stripeStore } from './cart-
|
|
5
|
-
import { t as translate } from './localization-
|
|
4
|
+
import { V as resolveTaxIdSelection, b as stripeStore } from './cart-BS5mSI8x.js';
|
|
5
|
+
import { t as translate } from './localization-CXHiWcJp.js';
|
|
6
6
|
import { t as taxIdLabelForCheckout, d as isCheckoutTaxIdTypeValue } from './taxIdRules-xYlx7ZXW.js';
|
|
7
7
|
|
|
8
8
|
var throttle_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as debounce } from './debounce-DWqMT4lo.js';
|
|
2
|
-
import { h as handleFetch, l as logError } from './handleFetch-
|
|
2
|
+
import { h as handleFetch, l as logError } from './handleFetch-BFVO7oAR.js';
|
|
3
3
|
|
|
4
4
|
const attributesToUpdate = {};
|
|
5
5
|
// Store debounced functions per session to ensure proper debouncing
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { t as translate, s as storageStore, z as storageStoreOnChange, l as localizationStore } from './localization-
|
|
2
|
+
import { t as translate, s as storageStore, z as storageStoreOnChange, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { z as zonosStore, e as getShouldRequirePeruTaxId, a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
4
|
-
import { M as MIN_POSTAL_CODE_LENGTH } from './getMissingRequiredShippingFields-
|
|
4
|
+
import { M as MIN_POSTAL_CODE_LENGTH } from './getMissingRequiredShippingFields-BkEV865q.js';
|
|
5
5
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
6
|
-
import { U as extractName, b as stripeStore, w as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-
|
|
6
|
+
import { U as extractName, b as stripeStore, w as stripeStorePrefetchLandedCost, t as trackConversionEvent } from './cart-BS5mSI8x.js';
|
|
7
7
|
import { R as RemoveIcon$1 } from './RemoveIcon-C2QMVeWW.js';
|
|
8
8
|
import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-C04AWRC2.js';
|
|
9
9
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
10
|
-
import { t as throttle, r as renderTaxIdFields } from './taxIdFields-
|
|
11
|
-
import { i as isCheckoutMobile } from './handleFetch-
|
|
10
|
+
import { t as throttle, r as renderTaxIdFields } from './taxIdFields-BUKnHMaL.js';
|
|
11
|
+
import { i as isCheckoutMobile } from './handleFetch-BFVO7oAR.js';
|
|
12
12
|
import { s as shouldRenderShortAddressCodeInput } from './shouldRenderShortAddressCodeInput-Bc8k2vN0.js';
|
|
13
13
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
14
14
|
import { i as inheritAriaAttributes, a as inheritAttributes } from './helpers-DJIdCwJ5.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, d as createEvent } from './index-_lt63o7c.js';
|
|
2
|
-
import { t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { t as translate, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { i as isTextContainsNonLatinChars } from './containsNonLatinChars-C04AWRC2.js';
|
|
4
4
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
5
5
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
7
|
-
import './handleFetch-
|
|
7
|
+
import './handleFetch-BFVO7oAR.js';
|
|
8
8
|
import './VarianceTest-BJmZPrZl.js';
|
|
9
9
|
|
|
10
10
|
const zonosAddressDisplayCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--title{margin-bottom:12px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:4px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-line{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .zonos--address-line zonos-text+zonos-text::before{content:", ";color:var(--zonos-elements-gray-1000);margin-right:4px}:host .zonos--country-flag{width:20px;height:14px;border-radius:2px;margin:1px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);margin-right:8px;z-index:10;justify-self:center}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { t as throttle, r as renderTaxIdFields } from './taxIdFields-
|
|
3
|
-
import { U as extractName, w as stripeStorePrefetchLandedCost, b as stripeStore, t as trackConversionEvent, J as stripeStoreOnChange, d as cartStore } from './cart-
|
|
4
|
-
import { s as storageStore, l as localizationStore, C as getFallbackDefaultCountryCode, t as translate, z as storageStoreOnChange } from './localization-
|
|
2
|
+
import { t as throttle, r as renderTaxIdFields } from './taxIdFields-BUKnHMaL.js';
|
|
3
|
+
import { U as extractName, w as stripeStorePrefetchLandedCost, b as stripeStore, t as trackConversionEvent, J as stripeStoreOnChange, d as cartStore } from './cart-BS5mSI8x.js';
|
|
4
|
+
import { s as storageStore, l as localizationStore, C as getFallbackDefaultCountryCode, t as translate, z as storageStoreOnChange } from './localization-CXHiWcJp.js';
|
|
5
5
|
import { e as getShouldRequirePeruTaxId, z as zonosStore, g as getZonosStoreTheme, a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
6
|
-
import { l as logError, i as isCheckoutMobile, s as sendErrorLog } from './handleFetch-
|
|
6
|
+
import { l as logError, i as isCheckoutMobile, s as sendErrorLog } from './handleFetch-BFVO7oAR.js';
|
|
7
7
|
import { s as shouldRenderShortAddressCodeInput } from './shouldRenderShortAddressCodeInput-Bc8k2vN0.js';
|
|
8
8
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
9
9
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-
|
|
3
|
-
import { d as cartStore } from './cart-
|
|
4
|
-
import { h as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { b as airwallexStore, c as collectStore, f as airwallexStoreInitSdk, l as createElement, m as airwallexStoreGetLocale, n as airwallexStoreOnChange } from './collect-B9ZxDDl7.js';
|
|
3
|
+
import { d as cartStore } from './cart-BS5mSI8x.js';
|
|
4
|
+
import { h as localizationStoreOnChange, t as translate, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
6
6
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
7
|
-
import { l as logError } from './handleFetch-
|
|
7
|
+
import { l as logError } from './handleFetch-BFVO7oAR.js';
|
|
8
8
|
import './taxIdRules-xYlx7ZXW.js';
|
|
9
9
|
import './TaxId-DMIgN_sT.js';
|
|
10
10
|
import './isDarkColor-YdrG78th.js';
|
|
@@ -2,16 +2,16 @@ import { r as registerInstance, h, a as Host, g as getElement, d as createEvent
|
|
|
2
2
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
3
3
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
5
|
-
import { b as stripeStore, t as trackConversionEvent } from './cart-
|
|
6
|
-
import { s as storageStore } from './localization-
|
|
7
|
-
import { l as logError } from './handleFetch-
|
|
8
|
-
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-
|
|
5
|
+
import { b as stripeStore, t as trackConversionEvent } from './cart-BS5mSI8x.js';
|
|
6
|
+
import { s as storageStore } from './localization-CXHiWcJp.js';
|
|
7
|
+
import { l as logError } from './handleFetch-BFVO7oAR.js';
|
|
8
|
+
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-BE_NVBoy.js';
|
|
9
9
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import './taxIdRules-xYlx7ZXW.js';
|
|
11
11
|
import './TaxId-DMIgN_sT.js';
|
|
12
12
|
import './isDarkColor-YdrG78th.js';
|
|
13
13
|
import './isContrastColor-CWLU13s9.js';
|
|
14
|
-
import './submitGtag-
|
|
14
|
+
import './submitGtag-C5xzFHjG.js';
|
|
15
15
|
|
|
16
16
|
const zonosCardCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}`;
|
|
17
17
|
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { d as cartStore, L as cartStoreHasOneEligibleItem, M as isEuDapRemittance, m as cartStoreIsOrderModificationPaymentOnlySession, N as stripeStoreApplyPromoCode, O as stripeStoreRemovePromoCode, b as stripeStore, H as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, Q as stripeStoreMessageBasedOnStatus, R as storeCreditStore, S as storeCreditStoreReset, B as storeCreditStoreCoversFullAmount, y as isPolicyConsentRequired, G as policyConsentStore, T as stripeStoreRecordPolicyConsent, x as cartStoreNextStep, U as extractName, V as resolveTaxIdSelection, W as stripeStoreTranslateAddressToLatin, I as cartStoreOnChange, X as getCountryField, Y as stripeStoreAsyncAddressUpdate, Z as cartStoreUpdateSelectedShippingOption, _ as cartStoreGetShippingTransitInfo, $ as cartStoreGetMethod, a0 as sortServiceLevelOptionsByAmount } from './cart-
|
|
3
|
-
import { t as translate, l as localizationStore, s as storageStore, k as languages, w as getExchangeRate, x as numberFormat, h as localizationStoreOnChange } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore, L as cartStoreHasOneEligibleItem, M as isEuDapRemittance, m as cartStoreIsOrderModificationPaymentOnlySession, N as stripeStoreApplyPromoCode, O as stripeStoreRemovePromoCode, b as stripeStore, H as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, Q as stripeStoreMessageBasedOnStatus, R as storeCreditStore, S as storeCreditStoreReset, B as storeCreditStoreCoversFullAmount, y as isPolicyConsentRequired, G as policyConsentStore, T as stripeStoreRecordPolicyConsent, x as cartStoreNextStep, U as extractName, V as resolveTaxIdSelection, W as stripeStoreTranslateAddressToLatin, I as cartStoreOnChange, X as getCountryField, Y as stripeStoreAsyncAddressUpdate, Z as cartStoreUpdateSelectedShippingOption, _ as cartStoreGetShippingTransitInfo, $ as cartStoreGetMethod, a0 as sortServiceLevelOptionsByAmount } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { t as translate, l as localizationStore, s as storageStore, k as languages, w as getExchangeRate, x as numberFormat, h as localizationStoreOnChange } from './localization-CXHiWcJp.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-KMa4HlAf.js';
|
|
5
5
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-ByGDytaN.js';
|
|
6
6
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
7
7
|
import { z as zonosStore, c as createStore, d as zonosStoreOnChange, g as getZonosStoreTheme, e as getShouldRequirePeruTaxId, a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
8
|
-
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-
|
|
8
|
+
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-zSvDReDb.js';
|
|
9
9
|
import { i as isSameHostCheckoutLink } from './isSameHostCheckoutLink-BxAHnL5J.js';
|
|
10
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-
|
|
11
|
-
import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode, l as logError } from './handleFetch-
|
|
10
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-BE_NVBoy.js';
|
|
11
|
+
import { h as handleFetch, s as sendErrorLog, j as jsonParse, c as safeGetItem, e as safeSetItem, b as safeRemoveItem, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode, l as logError } from './handleFetch-BFVO7oAR.js';
|
|
12
12
|
import { c as createCustomEvent } from './createCustomEvent-XQfWgQLB.js';
|
|
13
13
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
14
14
|
import { l as log, b as allLogs } from './VarianceTest-BJmZPrZl.js';
|
|
15
|
-
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-
|
|
16
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
15
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-BI_ApEsQ.js';
|
|
16
|
+
import { p as placeTestOrder } from './placeTestOrder-BXA9K9Iy.js';
|
|
17
17
|
import { i as isDarkColor } from './isDarkColor-YdrG78th.js';
|
|
18
18
|
import { g as getContrastColor } from './getContrastColor-CfCPlW9U.js';
|
|
19
19
|
import { i as isColorVariable } from './isColorVariable-DXXUq2Lv.js';
|
|
20
|
-
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-
|
|
21
|
-
import { g as getMissingRequiredShippingFields } from './getMissingRequiredShippingFields-
|
|
20
|
+
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-C9bMKTjz.js';
|
|
21
|
+
import { g as getMissingRequiredShippingFields } from './getMissingRequiredShippingFields-BkEV865q.js';
|
|
22
22
|
import { c as containsNonLatinChars } from './containsNonLatinChars-C04AWRC2.js';
|
|
23
23
|
import { s as shouldRenderShortAddressCodeInput } from './shouldRenderShortAddressCodeInput-Bc8k2vN0.js';
|
|
24
24
|
import { b as isPeruTaxIdActive, a as isPeruTaxIdType, s as stripTaxIdSeparators, p as peruTaxIdTypeFromValue, r as rfcRegex, c as curpRegex } from './taxIdRules-xYlx7ZXW.js';
|
|
25
25
|
import { b as peruTaxIdFormatError, e as euCountryCodes } from './TaxId-DMIgN_sT.js';
|
|
26
26
|
import './isContrastColor-CWLU13s9.js';
|
|
27
|
-
import './submitGtag-
|
|
27
|
+
import './submitGtag-C5xzFHjG.js';
|
|
28
28
|
import './debounce-DWqMT4lo.js';
|
|
29
29
|
import './debounce-DHj2iHA1.js';
|
|
30
30
|
import './ShortAddressCode-nJ6oI8-n.js';
|
|
@@ -1056,7 +1056,7 @@ const ZonosCheckoutFinish = class {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
this.saveOrderIdForDuplicationIssue = () => {
|
|
1058
1058
|
var _a, _b, _c, _d;
|
|
1059
|
-
const existingPlacedOrderInfo = jsonParse(
|
|
1059
|
+
const existingPlacedOrderInfo = jsonParse(safeGetItem('local', 'zonos--placed-order-info'));
|
|
1060
1060
|
const placedOrderTime = {
|
|
1061
1061
|
cartId: window.Zonos.cartId || null,
|
|
1062
1062
|
checkoutSessionId: (existingPlacedOrderInfo === null || existingPlacedOrderInfo === void 0 ? void 0 : existingPlacedOrderInfo.checkoutSessionId) ||
|
|
@@ -1066,12 +1066,12 @@ const ZonosCheckoutFinish = class {
|
|
|
1066
1066
|
time: (existingPlacedOrderInfo === null || existingPlacedOrderInfo === void 0 ? void 0 : existingPlacedOrderInfo.time) || Date.now(),
|
|
1067
1067
|
zonosOrderNumber: ((_d = (_c = (_b = this.order) === null || _b === void 0 ? void 0 : _b.references) === null || _c === void 0 ? void 0 : _c.find(ref => ref.key === 'zonosOrderNumber')) === null || _d === void 0 ? void 0 : _d.value) || null,
|
|
1068
1068
|
};
|
|
1069
|
-
|
|
1069
|
+
safeSetItem('local', 'zonos--placed-order-info', JSON.stringify(placedOrderTime));
|
|
1070
1070
|
};
|
|
1071
1071
|
}
|
|
1072
1072
|
componentDidLoad() {
|
|
1073
1073
|
// Reset local storage for placed order info
|
|
1074
|
-
|
|
1074
|
+
safeRemoveItem('local', 'zonos--placed-order-info');
|
|
1075
1075
|
if (this.overrideNotification) {
|
|
1076
1076
|
// just show the notification and don't check any of the payment status
|
|
1077
1077
|
this.notificationType = this.overrideNotification.type;
|
|
@@ -1095,11 +1095,11 @@ const ZonosCheckoutFinish = class {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
render() {
|
|
1097
1097
|
const isTestMode = getIsTestMode();
|
|
1098
|
-
return (h(Host, { key: '
|
|
1098
|
+
return (h(Host, { key: 'd0e01955edb2c23678d39ef14a18a3b8cd0e2b28', class: "zonos--checkout-finish zonos--elements", style: {
|
|
1099
1099
|
'--zonos--border-radius': getBorderRadius({
|
|
1100
1100
|
overrideBorderStyle: this.borderRadius,
|
|
1101
1101
|
}),
|
|
1102
|
-
} }, this.isImmediateRedirecting && (h("div", { key: '
|
|
1102
|
+
} }, this.isImmediateRedirecting && (h("div", { key: 'fdd0468df80703543b942e729a3d90dd2d9f3eee', class: "loading-wrapper" }, h("zonos-spinner", { key: '82f8cb7f62ab073a4b39bf6fca67c7e37db94f5e', size: 48 }))), !this.isLoading && !this.isImmediateRedirecting && (h("div", { key: '1ad8c9a98307a017aca8493404fb9575b9f8eaa0', class: "zonos--finish-details" }, h("div", { key: '474a8780c96fbaf2ebb2e7db7f6a6734cb630baa', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '4f8ce6ac8ca854cd400db16345433cef732ba9de', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '5ccf3054ba802e69692ba0154390c4fb24e051e6', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.shouldRenderCloseButtonForRedirectBehavior() && (h("zonos-button", { key: '813fec3a2d1e77487935203baf92010e5d28392d',
|
|
1103
1103
|
// Only show loading spinner if it's not an error notification
|
|
1104
1104
|
loading: this.isWaitingToRedirect &&
|
|
1105
1105
|
this.notificationType !== 'error', onClick: () => {
|
|
@@ -1111,9 +1111,9 @@ const ZonosCheckoutFinish = class {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
this.closeClickHandler();
|
|
1113
1113
|
}, size: "md", variant: "primary" }, translate('Close'))), !window.Zonos.isLegacyCheckout &&
|
|
1114
|
-
this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '
|
|
1114
|
+
this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: 'ad9969e7e07881f872fa599e1dbfe481df03d51e', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode &&
|
|
1115
1115
|
cartStore.step === 'finish' &&
|
|
1116
|
-
this.notificationType === 'success' && (h("div", { key: '
|
|
1116
|
+
this.notificationType === 'success' && (h("div", { key: '6b520c1b13cb036c15f798557b44f9f386a55d68', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '4ef2807d00be47ba87c4bf4223505923ab6e194a', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '7db0f58fb43aefabd168f4a82be7daeef843d7cc', onClick: () => {
|
|
1117
1117
|
const isZonosDashboard = window.location.hostname.includes('dashboard.zonos.com');
|
|
1118
1118
|
this.redirectToUrl(isZonosDashboard
|
|
1119
1119
|
? '/orders/all'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, g as getCheckoutSession, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, m as cartStoreIsOrderModificationPaymentOnlySession, n as stripeStoreHandleInventoryCheck, o as cartStoreStartCheckoutInterval, t as trackConversionEvent, q as getCheckoutSessionBody, r as cartStoreUpdateToErrorState, u as stripeStoreCleanupDomesticShippingSession, v as cartStoreSetCheckoutSession, w as stripeStorePrefetchLandedCost, x as cartStoreNextStep, y as isPolicyConsentRequired, z as stripeStoreUpdateCheckoutSessionBaseCurrency, A as storeCreditStoreApplyCredit, B as storeCreditStoreCoversFullAmount, C as validateCheckoutSession, D as storeCreditStoreCreateOrder, E as stripeStoreConfirmPayment, F as stripeStoreHandleInventoryRefund, G as policyConsentStore, H as stripeStoreReset, I as cartStoreOnChange, J as stripeStoreOnChange, K as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as isCountryInShippingZone, d as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, e as storageStoreSetEnabledVariantTestKeys, t as translate, h as localizationStoreOnChange, j as currencyFormat } from './localization-
|
|
2
|
+
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, g as getCheckoutSession, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, m as cartStoreIsOrderModificationPaymentOnlySession, n as stripeStoreHandleInventoryCheck, o as cartStoreStartCheckoutInterval, t as trackConversionEvent, q as getCheckoutSessionBody, r as cartStoreUpdateToErrorState, u as stripeStoreCleanupDomesticShippingSession, v as cartStoreSetCheckoutSession, w as stripeStorePrefetchLandedCost, x as cartStoreNextStep, y as isPolicyConsentRequired, z as stripeStoreUpdateCheckoutSessionBaseCurrency, A as storeCreditStoreApplyCredit, B as storeCreditStoreCoversFullAmount, C as validateCheckoutSession, D as storeCreditStoreCreateOrder, E as stripeStoreConfirmPayment, F as stripeStoreHandleInventoryRefund, G as policyConsentStore, H as stripeStoreReset, I as cartStoreOnChange, J as stripeStoreOnChange, K as storeCreditStoreGetEffectiveAmount } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-BE_NVBoy.js';
|
|
4
|
+
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as isCountryInShippingZone, d as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, e as storageStoreSetEnabledVariantTestKeys, t as translate, h as localizationStoreOnChange, j as currencyFormat } from './localization-CXHiWcJp.js';
|
|
5
5
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-BXP9FvIt.js';
|
|
6
6
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-BycjkdlE.js';
|
|
7
|
-
import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError,
|
|
8
|
-
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-
|
|
7
|
+
import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError, d as getAdditionalLogMetadata, c as safeGetItem, b as safeRemoveItem, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-BFVO7oAR.js';
|
|
8
|
+
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-C9bMKTjz.js';
|
|
9
9
|
import { l as log, g as getElapsedTime, b as allLogs } from './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import { _ as _getIsValidCartId, c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector, a as checkoutHiddenInternationalBtnSelector, g as getAbandonedCartRenewTokenValue } from './CheckoutConfig-D5SpFsQJ.js';
|
|
11
11
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
@@ -17,7 +17,7 @@ import { R as RemoveIcon } from './RemoveIcon-C2QMVeWW.js';
|
|
|
17
17
|
import './taxIdRules-xYlx7ZXW.js';
|
|
18
18
|
import './TaxId-DMIgN_sT.js';
|
|
19
19
|
import './isContrastColor-CWLU13s9.js';
|
|
20
|
-
import './submitGtag-
|
|
20
|
+
import './submitGtag-C5xzFHjG.js';
|
|
21
21
|
import './debounce-DWqMT4lo.js';
|
|
22
22
|
import './debounce-DHj2iHA1.js';
|
|
23
23
|
|
|
@@ -2148,9 +2148,9 @@ const ZonosCheckout = class {
|
|
|
2148
2148
|
window.location.reload();
|
|
2149
2149
|
}
|
|
2150
2150
|
handleOrderDuplication() {
|
|
2151
|
-
const existingPlacedOrderInfo = jsonParse(
|
|
2151
|
+
const existingPlacedOrderInfo = jsonParse(safeGetItem('local', 'zonos--placed-order-info'));
|
|
2152
2152
|
if (!existingPlacedOrderInfo) {
|
|
2153
|
-
|
|
2153
|
+
safeRemoveItem('local', 'zonos--placed-order-info');
|
|
2154
2154
|
return;
|
|
2155
2155
|
}
|
|
2156
2156
|
const elapsed = Date.now() - existingPlacedOrderInfo.time;
|
|
@@ -2162,7 +2162,7 @@ const ZonosCheckout = class {
|
|
|
2162
2162
|
if (elapsed > overrideExpiredDuplication) {
|
|
2163
2163
|
log(`=== Existing placed order info is older than ${overrideExpiredDuplication}ms, cleaning localStorage`, 'warn');
|
|
2164
2164
|
// remove the placed order info if it's older than 5 minutes and do nothing.
|
|
2165
|
-
|
|
2165
|
+
safeRemoveItem('local', 'zonos--placed-order-info');
|
|
2166
2166
|
return;
|
|
2167
2167
|
}
|
|
2168
2168
|
// Set placed order info to show the confirm notification to the user
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
2
|
+
import { d as cartStore } from './cart-BS5mSI8x.js';
|
|
3
3
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-ByGDytaN.js';
|
|
4
4
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
5
5
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
6
6
|
import { s as styles } from './styles-BTIeCf3T.js';
|
|
7
|
-
import './localization-
|
|
8
|
-
import './handleFetch-
|
|
7
|
+
import './localization-CXHiWcJp.js';
|
|
8
|
+
import './handleFetch-BFVO7oAR.js';
|
|
9
9
|
import './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import './taxIdRules-xYlx7ZXW.js';
|
|
11
11
|
import './TaxId-DMIgN_sT.js';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, e as airwallexStoreIsPaidStatus, k as airwallexStoreReset, c as collectStore } from './collect-
|
|
3
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, H as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, x as cartStoreNextStep, I as cartStoreOnChange } from './cart-
|
|
4
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
5
|
-
import { t as translate, s as storageStore, k as languages, l as localizationStore, y as translationStoreOnChange } from './localization-
|
|
2
|
+
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, e as airwallexStoreIsPaidStatus, k as airwallexStoreReset, c as collectStore } from './collect-B9ZxDDl7.js';
|
|
3
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, H as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, x as cartStoreNextStep, I as cartStoreOnChange } from './cart-BS5mSI8x.js';
|
|
4
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-BE_NVBoy.js';
|
|
5
|
+
import { t as translate, s as storageStore, k as languages, l as localizationStore, y as translationStoreOnChange } from './localization-CXHiWcJp.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
7
|
-
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-
|
|
7
|
+
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-BFVO7oAR.js';
|
|
8
8
|
import { c as createCustomEvent } from './createCustomEvent-XQfWgQLB.js';
|
|
9
9
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
10
10
|
import { l as log, b as allLogs } from './VarianceTest-BJmZPrZl.js';
|
|
11
11
|
import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-DGlnuxEX.js';
|
|
12
12
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
13
|
-
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
13
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-BI_ApEsQ.js';
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-KMa4HlAf.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-BXA9K9Iy.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-Cy03ZcWE.js';
|
|
17
17
|
import './taxIdRules-xYlx7ZXW.js';
|
|
18
18
|
import './TaxId-DMIgN_sT.js';
|
|
19
19
|
import './isDarkColor-YdrG78th.js';
|
|
20
20
|
import './isContrastColor-CWLU13s9.js';
|
|
21
|
-
import './submitGtag-
|
|
21
|
+
import './submitGtag-C5xzFHjG.js';
|
|
22
22
|
|
|
23
23
|
var RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
24
24
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-_lt63o7c.js';
|
|
2
|
-
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-
|
|
3
|
-
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, r as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, z as stripeStoreUpdateCheckoutSessionBaseCurrency, E as stripeStoreConfirmPayment, J as stripeStoreOnChange, H as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, h as localizationStoreOnChange, j as currencyFormat, k as languages, l as localizationStore } from './localization-
|
|
2
|
+
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-B9ZxDDl7.js';
|
|
3
|
+
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, r as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, z as stripeStoreUpdateCheckoutSessionBaseCurrency, E as stripeStoreConfirmPayment, J as stripeStoreOnChange, H as stripeStoreReset, f as cartStoreReset } from './cart-BS5mSI8x.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-BE_NVBoy.js';
|
|
5
|
+
import { s as storageStore, t as translate, h as localizationStoreOnChange, j as currencyFormat, k as languages, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-BycjkdlE.js';
|
|
8
|
-
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-
|
|
8
|
+
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-BFVO7oAR.js';
|
|
9
9
|
import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-DGlnuxEX.js';
|
|
10
10
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
11
11
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
@@ -15,7 +15,7 @@ import './TaxId-DMIgN_sT.js';
|
|
|
15
15
|
import './isDarkColor-YdrG78th.js';
|
|
16
16
|
import './getBorderRadius-BiGd45jw.js';
|
|
17
17
|
import './isContrastColor-CWLU13s9.js';
|
|
18
|
-
import './submitGtag-
|
|
18
|
+
import './submitGtag-C5xzFHjG.js';
|
|
19
19
|
|
|
20
20
|
var ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
21
21
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { b as stripeStore } from './cart-
|
|
3
|
-
import { m as getOverridenZCountry, n as isValidSelector, o as initLocalizationStore, s as storageStore, d as localizationStoreUpdateSelectedCountryCode } from './localization-
|
|
2
|
+
import { b as stripeStore } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { m as getOverridenZCountry, n as isValidSelector, o as initLocalizationStore, s as storageStore, d as localizationStoreUpdateSelectedCountryCode } from './localization-CXHiWcJp.js';
|
|
4
4
|
import { z as zonosStore, a as zonosStoreFontFamily, b as zonosStoreInitSetting } from './zonosStore-BXP9FvIt.js';
|
|
5
5
|
import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-HeAZDwVW.js';
|
|
6
|
-
import { h as handleFetch, l as logError } from './handleFetch-
|
|
6
|
+
import { h as handleFetch, l as logError, c as safeGetItem } from './handleFetch-BFVO7oAR.js';
|
|
7
7
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
8
|
-
import { e as ensureAnalyticsRelayPing } from './submitGtag-
|
|
8
|
+
import { e as ensureAnalyticsRelayPing } from './submitGtag-C5xzFHjG.js';
|
|
9
9
|
import './taxIdRules-xYlx7ZXW.js';
|
|
10
10
|
import './TaxId-DMIgN_sT.js';
|
|
11
11
|
import './isDarkColor-YdrG78th.js';
|
|
@@ -803,7 +803,7 @@ const ZonosController = class {
|
|
|
803
803
|
// Checkout also runs without merchant cart callbacks when a cart is
|
|
804
804
|
// prefetched (e.g. `tempCartUUID` -> `cartData`) or when resuming a
|
|
805
805
|
// payment via the Stripe client secret. Stripe must still load for those.
|
|
806
|
-
const clientSecret = new URL(window.location.href).searchParams.get('payment_intent_client_secret') ||
|
|
806
|
+
const clientSecret = new URL(window.location.href).searchParams.get('payment_intent_client_secret') || safeGetItem('session', 'zonos--client-secret');
|
|
807
807
|
const hasPrefetchedCheckoutContext = !!(window.Zonos.cartId && window.Zonos.cartData) || !!clientSecret;
|
|
808
808
|
if (!hasCartCallback && !hasPrefetchedCheckoutContext) {
|
|
809
809
|
log(`Skip loading Stripe because no cart callback (buildCartDetail/createCartId), prefetched cart, or payment client secret is present`, 'warn');
|
|
@@ -868,7 +868,7 @@ const ZonosController = class {
|
|
|
868
868
|
zonosStore.organizationName = organizationName;
|
|
869
869
|
}
|
|
870
870
|
render() {
|
|
871
|
-
return h(Host, { key: '
|
|
871
|
+
return h(Host, { key: 'a72ab4fb14df090eb24520fd5821746caa61e318', class: "zonos--elements" });
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
ZonosController.style = zonosControllerCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { l as localizationStore } from './localization-
|
|
2
|
+
import { l as localizationStore } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
4
4
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
5
|
-
import './handleFetch-
|
|
5
|
+
import './handleFetch-BFVO7oAR.js';
|
|
6
6
|
import './VarianceTest-BJmZPrZl.js';
|
|
7
7
|
|
|
8
8
|
const zonosCountryFlagCss = () => `:host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}`;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { d as localizationStoreUpdateSelectedCountryCode, l as localizationStore, t as translate, k as languages } from './localization-
|
|
2
|
+
import { d as localizationStoreUpdateSelectedCountryCode, l as localizationStore, t as translate, k as languages } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-BcMPqGl0.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-YdrG78th.js';
|
|
6
|
-
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-
|
|
6
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-BI_ApEsQ.js';
|
|
7
7
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
8
|
-
import './handleFetch-
|
|
8
|
+
import './handleFetch-BFVO7oAR.js';
|
|
9
9
|
import './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import './isSameHostCheckoutLink-BxAHnL5J.js';
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { l as localizationStore, t as translate, j as currencyFormat } from './localization-
|
|
2
|
+
import { l as localizationStore, t as translate, j as currencyFormat } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
4
4
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-BcMPqGl0.js';
|
|
6
|
-
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-
|
|
6
|
+
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-zSvDReDb.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-DAscqB23.js';
|
|
8
8
|
import { e as euCountryCodes } from './TaxId-DMIgN_sT.js';
|
|
9
|
-
import './handleFetch-
|
|
9
|
+
import './handleFetch-BFVO7oAR.js';
|
|
10
10
|
import './VarianceTest-BJmZPrZl.js';
|
|
11
11
|
import './isSameHostCheckoutLink-BxAHnL5J.js';
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
2
|
import { d as debounce } from './debounce-DWqMT4lo.js';
|
|
3
|
-
import { l as localizationStore, n as isValidSelector, t as translate, g as getZCountryUrlParam, p as setZCountryUrlParam, q as currencyDisplay, r as currencyConvertAndFormat, u as currencyConvert, j as currencyFormat, v as shouldShowHelloWidget } from './localization-
|
|
3
|
+
import { l as localizationStore, n as isValidSelector, t as translate, g as getZCountryUrlParam, p as setZCountryUrlParam, q as currencyDisplay, r as currencyConvertAndFormat, u as currencyConvert, j as currencyFormat, v as shouldShowHelloWidget } from './localization-CXHiWcJp.js';
|
|
4
4
|
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-BXP9FvIt.js';
|
|
5
5
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
6
|
-
import { h as handleFetch, l as logError } from './handleFetch-
|
|
6
|
+
import { h as handleFetch, l as logError } from './handleFetch-BFVO7oAR.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-DAscqB23.js';
|
|
8
8
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
9
9
|
import './debounce-DHj2iHA1.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { t as translate } from './localization-CXHiWcJp.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-KMa4HlAf.js';
|
|
5
5
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
6
|
-
import { c as invoiceStore } from './invoice-
|
|
6
|
+
import { c as invoiceStore } from './invoice-6iTuS6ek.js';
|
|
7
7
|
import { r as renderFallback } from './renderFallback-Cy03ZcWE.js';
|
|
8
8
|
import './zonosStore-BXP9FvIt.js';
|
|
9
9
|
import './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import './taxIdRules-xYlx7ZXW.js';
|
|
11
11
|
import './TaxId-DMIgN_sT.js';
|
|
12
|
-
import './handleFetch-
|
|
12
|
+
import './handleFetch-BFVO7oAR.js';
|
|
13
13
|
import './isDarkColor-YdrG78th.js';
|
|
14
14
|
import './getBorderRadius-BiGd45jw.js';
|
|
15
15
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-_lt63o7c.js';
|
|
2
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, H as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, x as cartStoreNextStep, I as cartStoreOnChange } from './cart-
|
|
3
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, k as languages, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, P as stripeStoreResetPromoCode, H as stripeStoreReset, Q as stripeStoreMessageBasedOnStatus, d as cartStore, x as cartStoreNextStep, I as cartStoreOnChange } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-BE_NVBoy.js';
|
|
4
|
+
import { t as translate, s as storageStore, k as languages, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
6
|
-
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-
|
|
6
|
+
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-BFVO7oAR.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-XQfWgQLB.js';
|
|
8
8
|
import { g as getBorderRadius } from './getBorderRadius-BiGd45jw.js';
|
|
9
9
|
import { l as log, b as allLogs } from './VarianceTest-BJmZPrZl.js';
|
|
10
10
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-Clej0Ffe.js';
|
|
11
11
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
12
|
-
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-
|
|
13
|
-
import { c as invoiceStore } from './invoice-
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
12
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-BI_ApEsQ.js';
|
|
13
|
+
import { c as invoiceStore } from './invoice-6iTuS6ek.js';
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-KMa4HlAf.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-BXA9K9Iy.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-Cy03ZcWE.js';
|
|
17
17
|
import './taxIdRules-xYlx7ZXW.js';
|
|
18
18
|
import './TaxId-DMIgN_sT.js';
|
|
19
19
|
import './isDarkColor-YdrG78th.js';
|
|
20
20
|
import './isContrastColor-CWLU13s9.js';
|
|
21
|
-
import './submitGtag-
|
|
21
|
+
import './submitGtag-C5xzFHjG.js';
|
|
22
22
|
|
|
23
23
|
var RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
24
24
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-_lt63o7c.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, r as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, z as stripeStoreUpdateCheckoutSessionBaseCurrency, E as stripeStoreConfirmPayment, J as stripeStoreOnChange, H as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
3
|
-
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, h as localizationStoreOnChange, j as currencyFormat, k as languages, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, r as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, k as stripeStoreInitCheckoutSession, l as stripeStoreGetPaymentIntent, z as stripeStoreUpdateCheckoutSessionBaseCurrency, E as stripeStoreConfirmPayment, J as stripeStoreOnChange, H as stripeStoreReset, f as cartStoreReset } from './cart-BS5mSI8x.js';
|
|
3
|
+
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-6iTuS6ek.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-BE_NVBoy.js';
|
|
5
|
+
import { s as storageStore, t as translate, h as localizationStoreOnChange, j as currencyFormat, k as languages, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-BXP9FvIt.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-BycjkdlE.js';
|
|
8
|
-
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-
|
|
8
|
+
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-BFVO7oAR.js';
|
|
9
9
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-Clej0Ffe.js';
|
|
10
10
|
import { c as classes } from './classes-BJHSB96f.js';
|
|
11
11
|
import { l as log } from './VarianceTest-BJmZPrZl.js';
|
|
@@ -14,7 +14,7 @@ import './TaxId-DMIgN_sT.js';
|
|
|
14
14
|
import './isDarkColor-YdrG78th.js';
|
|
15
15
|
import './getBorderRadius-BiGd45jw.js';
|
|
16
16
|
import './isContrastColor-CWLU13s9.js';
|
|
17
|
-
import './submitGtag-
|
|
17
|
+
import './submitGtag-C5xzFHjG.js';
|
|
18
18
|
|
|
19
19
|
var ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
20
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-_lt63o7c.js';
|
|
2
|
-
import { D as localizationStoreUpdateSelectedLocale, t as translate, A as getSupportedLanguages, l as localizationStore } from './localization-
|
|
2
|
+
import { D as localizationStoreUpdateSelectedLocale, t as translate, A as getSupportedLanguages, l as localizationStore } from './localization-CXHiWcJp.js';
|
|
3
3
|
import { a as zonosStoreFontFamily } from './zonosStore-BXP9FvIt.js';
|
|
4
|
-
import './handleFetch-
|
|
4
|
+
import './handleFetch-BFVO7oAR.js';
|
|
5
5
|
import './VarianceTest-BJmZPrZl.js';
|
|
6
6
|
|
|
7
7
|
var GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|