@zonos/elements 1.3.279 → 1.3.280
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-e8bc11a3.js → cart-0fa312a5.js} +1 -1
- package/dist/cjs/{collect-e6485168.js → collect-f9c4ca7c.js} +2 -2
- package/dist/cjs/formatStringWithLinks-c25b4018.js +24 -0
- package/dist/cjs/{hasInclusivePrice-798ce42d.js → hasInclusivePrice-95431bca.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-dff7ec81.js → invoice-ce757565.js} +2 -2
- package/dist/cjs/isSameHostCheckoutLink-6148cabb.js +28 -0
- package/dist/cjs/{localization-90650d7d.js → localization-7fded969.js} +40 -40
- package/dist/cjs/{paypal-77bd640c.js → paypal-57ab3ab6.js} +2 -2
- package/dist/cjs/{placeTestOrder-7767d119.js → placeTestOrder-35e0d3bd.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-66377cf5.js → renderCheckoutCurrency-41d48407.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +2 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +19 -7
- package/dist/cjs/zonos-checkout.cjs.entry.js +189 -13
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -3
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
- package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +13 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +36 -2
- package/dist/collection/components/store/translationStore/strings.arabic.js +2 -2
- package/dist/collection/components/store/translationStore/strings.base.js +2 -2
- package/dist/collection/components/store/translationStore/strings.chinese.js +2 -2
- package/dist/collection/components/store/translationStore/strings.danish.js +2 -2
- package/dist/collection/components/store/translationStore/strings.dutch.js +2 -2
- package/dist/collection/components/store/translationStore/strings.french.js +2 -2
- package/dist/collection/components/store/translationStore/strings.german.js +2 -2
- package/dist/collection/components/store/translationStore/strings.hebrew.js +2 -2
- package/dist/collection/components/store/translationStore/strings.indonesian.js +2 -2
- package/dist/collection/components/store/translationStore/strings.italian.js +2 -2
- package/dist/collection/components/store/translationStore/strings.japanese.js +2 -2
- package/dist/collection/components/store/translationStore/strings.korean.js +2 -2
- package/dist/collection/components/store/translationStore/strings.norwegian.js +2 -2
- package/dist/collection/components/store/translationStore/strings.polish.js +2 -2
- package/dist/collection/components/store/translationStore/strings.portuguese.js +2 -2
- package/dist/collection/components/store/translationStore/strings.russian.js +2 -2
- package/dist/collection/components/store/translationStore/strings.spanish.js +2 -2
- package/dist/collection/components/store/translationStore/strings.swedish.js +2 -2
- package/dist/collection/components/store/translationStore/strings.turkish.js +2 -2
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +2 -2
- package/dist/collection/components/utils/checkout/buildBigcommerceRedirectUrl.js +6 -1
- package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +144 -7
- package/dist/collection/components/utils/formatStringWithLinks.js +12 -6
- package/dist/collection/components/utils/isSameHostCheckoutLink.js +24 -0
- package/dist/collection/types/generated/graphql.internal.types.js +84 -0
- package/dist/esm/{cart-8b8dc79f.js → cart-4699e6ab.js} +2 -2
- package/dist/esm/{collect-f4965586.js → collect-24cc2e12.js} +2 -2
- package/dist/esm/formatStringWithLinks-0d48f183.js +22 -0
- package/dist/esm/{hasInclusivePrice-1589fef9.js → hasInclusivePrice-f81ddcd6.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-b7a1fb14.js → invoice-575dc93d.js} +2 -2
- package/dist/esm/isSameHostCheckoutLink-c1b88ab7.js +26 -0
- package/dist/esm/{localization-d49867ed.js → localization-da2f407f.js} +40 -40
- package/dist/esm/{paypal-da551105.js → paypal-d4436abd.js} +2 -2
- package/dist/esm/{placeTestOrder-4309b170.js → placeTestOrder-d87b2c6a.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-0ed221ac.js → renderCheckoutCurrency-08526996.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +2 -2
- package/dist/esm/zonos-address_4.entry.js +2 -2
- package/dist/esm/zonos-airwallex-payment.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +3 -3
- package/dist/esm/zonos-cart-items_12.entry.js +19 -7
- package/dist/esm/zonos-checkout.entry.js +189 -13
- package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
- package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
- package/dist/esm/zonos-collect.entry.js +4 -4
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +3 -2
- package/dist/esm/zonos-hello-dialog.entry.js +4 -3
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
- package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
- package/dist/esm/zonos-invoice.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +3 -3
- package/dist/esm-es5/{cart-8b8dc79f.js → cart-4699e6ab.js} +1 -1
- package/dist/esm-es5/{collect-f4965586.js → collect-24cc2e12.js} +1 -1
- package/dist/esm-es5/formatStringWithLinks-0d48f183.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-1589fef9.js → hasInclusivePrice-f81ddcd6.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-b7a1fb14.js → invoice-575dc93d.js} +1 -1
- package/dist/esm-es5/isSameHostCheckoutLink-c1b88ab7.js +1 -0
- package/dist/esm-es5/localization-da2f407f.js +1 -0
- package/dist/esm-es5/{paypal-da551105.js → paypal-d4436abd.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-4309b170.js → placeTestOrder-d87b2c6a.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-0ed221ac.js → renderCheckoutCurrency-08526996.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.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 +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/store/translationStore/strings.arabic.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.base.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.danish.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.french.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.german.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.italian.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.korean.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.polish.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.russian.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +1 -1
- package/dist/types/components/utils/isSameHostCheckoutLink.d.ts +14 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +84 -0
- package/dist/types/types/generated/graphql.internal.types.ts +85 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-02065a08.system.js → p-016b5bde.system.js} +1 -1
- package/dist/zonos-elements/{p-6fae9835.system.entry.js → p-0adab1d5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0d2f81ce.system.js +1 -0
- package/dist/zonos-elements/p-11206fe2.js +1 -0
- package/dist/zonos-elements/{p-0402af0d.entry.js → p-12452213.entry.js} +1 -1
- package/dist/zonos-elements/{p-5827c868.entry.js → p-19f4e77a.entry.js} +1 -1
- package/dist/zonos-elements/{p-2aecc055.entry.js → p-1bb85ff1.entry.js} +1 -1
- package/dist/zonos-elements/{p-5c76ef2a.js → p-275fa2da.js} +1 -1
- package/dist/zonos-elements/{p-8b42245d.entry.js → p-28b1c189.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/p-2b97f7ed.js +1 -0
- package/dist/zonos-elements/{p-647438d6.system.js → p-2dbdf883.system.js} +1 -1
- package/dist/zonos-elements/{p-5afea02c.system.entry.js → p-3068247c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7614ea6f.system.entry.js → p-362215b6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-39e2642f.js +1 -0
- package/dist/zonos-elements/p-3f8f4c78.js +1 -0
- package/dist/zonos-elements/{p-d5945ddc.entry.js → p-3f90cb36.entry.js} +1 -1
- package/dist/zonos-elements/{p-1b963905.system.js → p-40a0c1d3.system.js} +1 -1
- package/dist/zonos-elements/{p-abf61f6f.system.entry.js → p-43a14674.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d7cb9ef6.system.entry.js → p-46f88c11.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-998f9df5.system.entry.js → p-564c7bb5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5b54f10c.entry.js +1 -0
- package/dist/zonos-elements/p-6197aa73.system.entry.js +1 -0
- package/dist/zonos-elements/{p-b36205f4.entry.js → p-6451537c.entry.js} +1 -1
- package/dist/zonos-elements/p-65fe75e1.entry.js +1 -0
- package/dist/zonos-elements/{p-5bc43687.system.entry.js → p-66223935.system.entry.js} +1 -1
- package/dist/zonos-elements/p-67426156.system.js +1 -0
- package/dist/zonos-elements/{p-2654556b.js → p-67b2e46c.js} +1 -1
- package/dist/zonos-elements/p-6bea1787.entry.js +1 -0
- package/dist/zonos-elements/{p-cd41b16b.system.entry.js → p-7237ec6f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0745e440.entry.js → p-72c1bd64.entry.js} +1 -1
- package/dist/zonos-elements/p-75da4ba0.entry.js +1 -0
- package/dist/zonos-elements/{p-3f380c8f.system.js → p-788a16bb.system.js} +1 -1
- package/dist/zonos-elements/p-79b6070a.js +1 -0
- package/dist/zonos-elements/{p-77fa437c.entry.js → p-807e7ebc.entry.js} +1 -1
- package/dist/zonos-elements/{p-43815edd.system.entry.js → p-81c4f04a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8bd37d3b.entry.js → p-85796e67.entry.js} +1 -1
- package/dist/zonos-elements/p-94329e56.js +1 -0
- package/dist/zonos-elements/{p-ed676ad1.system.entry.js → p-944148db.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a8c79850.js → p-96e7b465.js} +1 -1
- package/dist/zonos-elements/{p-32278945.system.js → p-a30f03d6.system.js} +1 -1
- package/dist/zonos-elements/{p-ac59f5c1.system.entry.js → p-a5afcea1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-293183c1.system.entry.js → p-a7f0e824.system.entry.js} +1 -1
- package/dist/zonos-elements/p-aff7112b.entry.js +1 -0
- package/dist/zonos-elements/p-b05da593.system.entry.js +1 -0
- package/dist/zonos-elements/p-b330e451.system.js +1 -0
- package/dist/zonos-elements/{p-12a08423.system.entry.js → p-b6049eef.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b6cd6e62.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7365e22c.system.js → p-b8c019b9.system.js} +1 -1
- package/dist/zonos-elements/p-c2014d57.system.entry.js +1 -0
- package/dist/zonos-elements/{p-ee434a71.entry.js → p-c4a479ad.entry.js} +1 -1
- package/dist/zonos-elements/{p-4e6e9a3c.system.entry.js → p-cf0c8c77.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f44a3338.entry.js → p-db9cb522.entry.js} +1 -1
- package/dist/zonos-elements/{p-9beb2624.entry.js → p-dbd5be5d.entry.js} +1 -1
- package/dist/zonos-elements/p-dff1d3be.entry.js +1 -0
- package/dist/zonos-elements/{p-7e8aba66.system.entry.js → p-ec53c436.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-74ebd766.js → p-f3759c70.js} +1 -1
- package/dist/zonos-elements/{p-5e09c22d.system.js → p-f55a2352.system.js} +1 -1
- package/dist/zonos-elements/{p-8d87e748.entry.js → p-fc2d5dd9.entry.js} +1 -1
- package/dist/zonos-elements/p-fd2d4d04.system.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/formatStringWithLinks-52341fc7.js +0 -17
- package/dist/esm/formatStringWithLinks-9e819405.js +0 -15
- package/dist/esm-es5/formatStringWithLinks-9e819405.js +0 -1
- package/dist/esm-es5/localization-d49867ed.js +0 -1
- package/dist/zonos-elements/p-21d925d7.entry.js +0 -1
- package/dist/zonos-elements/p-2d6557ee.system.js +0 -1
- package/dist/zonos-elements/p-32704baa.js +0 -1
- package/dist/zonos-elements/p-3cf22558.entry.js +0 -1
- package/dist/zonos-elements/p-45e1c33b.entry.js +0 -1
- package/dist/zonos-elements/p-5d3ea491.system.entry.js +0 -1
- package/dist/zonos-elements/p-6b4ef7e0.entry.js +0 -1
- package/dist/zonos-elements/p-73d3fa61.entry.js +0 -1
- package/dist/zonos-elements/p-7522ec43.js +0 -1
- package/dist/zonos-elements/p-9fab45aa.system.js +0 -1
- package/dist/zonos-elements/p-a87561b8.js +0 -1
- package/dist/zonos-elements/p-c209e36d.js +0 -1
- package/dist/zonos-elements/p-d7bda14d.js +0 -1
- package/dist/zonos-elements/p-d93991c3.system.entry.js +0 -1
- package/dist/zonos-elements/p-e6165cc2.system.js +0 -1
- package/dist/zonos-elements/p-eb9369b9.system.entry.js +0 -1
- package/dist/zonos-elements/p-f3a73132.entry.js +0 -1
- package/dist/zonos-elements/p-ffbf87c8.system.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const localization = require('./localization-
|
|
4
|
+
const localization = require('./localization-7fded969.js');
|
|
5
5
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const isDarkColor = require('./isDarkColor-ebc74b4d.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const localization = require('./localization-
|
|
4
|
+
const localization = require('./localization-7fded969.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
6
6
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-0fa312a5.js');
|
|
8
8
|
|
|
9
9
|
// src/constant/common.ts
|
|
10
10
|
function _array_like_to_array(arr, len) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const isSameHostCheckoutLink = require('./isSameHostCheckoutLink-6148cabb.js');
|
|
4
|
+
|
|
5
|
+
const formatStringWithLinks = (str) => {
|
|
6
|
+
// Match Markdown-style links or standalone URLs not in Markdown format
|
|
7
|
+
const linkRegex = /\[([^\]]+)\]\((https?:\/\/[^\s\)]+)\)|(https?:\/\/[^\s]+)/g;
|
|
8
|
+
const messageWithLinks = str.replace(linkRegex, (_match, text, markdownUrl, url) => {
|
|
9
|
+
var _a;
|
|
10
|
+
const href = markdownUrl || url;
|
|
11
|
+
// For BigCommerce, a same-host `/checkout` link navigates the current tab
|
|
12
|
+
// (`_self`) instead of opening a new one — the Zonos checkout unloads and
|
|
13
|
+
// the native checkout opens in its place rather than leaving two
|
|
14
|
+
// checkouts open at once (05CHECK-887).
|
|
15
|
+
const target = !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.isBigCommerce) && isSameHostCheckoutLink.isSameHostCheckoutLink(href)
|
|
16
|
+
? '_self'
|
|
17
|
+
: '_blank';
|
|
18
|
+
const label = markdownUrl ? text : url;
|
|
19
|
+
return `<zonos-link href="${href}" target="${target}" rel="noopener noreferrer">${label}</zonos-link>`;
|
|
20
|
+
});
|
|
21
|
+
return messageWithLinks;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
exports.formatStringWithLinks = formatStringWithLinks;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -133,7 +133,7 @@ const getZonosQaUrl = () => {
|
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
135
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
136
|
-
const cdnUrl = "https://v1.3.
|
|
136
|
+
const cdnUrl = "https://v1.3.280.js.zonos.com";
|
|
137
137
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
138
138
|
if (!qaUrl &&
|
|
139
139
|
(cdnUrl.includes('test.') ||
|
|
@@ -399,10 +399,10 @@ const zonosLoadUrl = (() => {
|
|
|
399
399
|
return null;
|
|
400
400
|
})();
|
|
401
401
|
const startLoadTime = Date.now();
|
|
402
|
-
const ZONOS_URL = "https://v1.3.
|
|
403
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
404
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
405
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
402
|
+
const ZONOS_URL = "https://v1.3.280.js.zonos.com";
|
|
403
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.280";
|
|
404
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.280";
|
|
405
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.280";
|
|
406
406
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
407
407
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
408
408
|
class Zonos {
|
|
@@ -420,7 +420,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
420
420
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
421
421
|
: null;
|
|
422
422
|
Zonos.isBigCommerce = false;
|
|
423
|
-
Zonos.releaseDate = "
|
|
423
|
+
Zonos.releaseDate = "1783609436334";
|
|
424
424
|
Zonos.isLegacyCheckout = false;
|
|
425
425
|
Zonos.googleAnalyticId = null;
|
|
426
426
|
Zonos.googleAnalyticReady = false;
|
|
@@ -445,7 +445,7 @@ Zonos.isNpm = true;
|
|
|
445
445
|
Zonos.zonosQaUrl = null;
|
|
446
446
|
Zonos.zonosQaUrlApi = null;
|
|
447
447
|
Zonos.trackEventLogs = [];
|
|
448
|
-
Zonos.version = `v${"1.3.
|
|
448
|
+
Zonos.version = `v${"1.3.280"}`;
|
|
449
449
|
Zonos.modeAlerted = false;
|
|
450
450
|
Zonos.cartData = null;
|
|
451
451
|
Zonos.paypal = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
4
|
+
const cart = require('./cart-0fa312a5.js');
|
|
5
|
+
const localization = require('./localization-7fded969.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
8
8
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Whether a link points at the same-origin native `/checkout` page.
|
|
5
|
+
*
|
|
6
|
+
* Merchant custom messages in the international checkout can contain a link
|
|
7
|
+
* like "click here to complete checkout" that targets the store's native
|
|
8
|
+
* BigCommerce checkout. When that link is same-host `/checkout`, we want it to
|
|
9
|
+
* navigate the current tab instead of opening a new one — so the Zonos checkout
|
|
10
|
+
* unloads and the native checkout opens in its place rather than leaving two
|
|
11
|
+
* checkouts open at once (05CHECK-887).
|
|
12
|
+
*
|
|
13
|
+
* Returns `false` for cross-origin links, non-`/checkout` paths, or unparsable
|
|
14
|
+
* hrefs (which should keep their default new-tab behavior).
|
|
15
|
+
*/
|
|
16
|
+
const isSameHostCheckoutLink = (href) => {
|
|
17
|
+
try {
|
|
18
|
+
const url = new URL(href, window.location.href);
|
|
19
|
+
// Normalize a trailing slash so `/checkout` and `/checkout/` both match.
|
|
20
|
+
const pathname = url.pathname.replace(/\/+$/, '');
|
|
21
|
+
return (url.hostname === window.location.hostname && pathname === '/checkout');
|
|
22
|
+
}
|
|
23
|
+
catch (_a) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.isSameHostCheckoutLink = isSameHostCheckoutLink;
|
|
@@ -887,8 +887,8 @@ const stringsArabic = {
|
|
|
887
887
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
888
888
|
value: 'تمت عملية الدفع بنجاح! شكرا لتسوقك معنا! نأمل أن تكون قد استمتعت بتجربة رائعة ودعمك يعني لنا الكثير.',
|
|
889
889
|
},
|
|
890
|
-
'Your
|
|
891
|
-
value: 'عنوانك
|
|
890
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
891
|
+
value: 'عنوانك المحدد يتم شحنه دوليًا. هل ترغب في الاستمرار إلى الدفع الدولي، أم البقاء هنا واختيار عنوان محلي؟',
|
|
892
892
|
},
|
|
893
893
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
894
894
|
value: 'طريقة الدفع التي اخترتها تتطلب تحققًا إضافيًا. يرجى اتباع التعليمات المقدمة من مزود الدفع الخاص بك لإكمال المعاملة.',
|
|
@@ -1746,8 +1746,8 @@ const stringsBase = {
|
|
|
1746
1746
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
1747
1747
|
value: 'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.',
|
|
1748
1748
|
},
|
|
1749
|
-
'Your
|
|
1750
|
-
value: 'Your
|
|
1749
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
1750
|
+
value: 'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?',
|
|
1751
1751
|
},
|
|
1752
1752
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
1753
1753
|
value: 'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.',
|
|
@@ -2604,8 +2604,8 @@ const stringsChinese = {
|
|
|
2604
2604
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
2605
2605
|
value: '您的付款已成功完成!感谢您与我们购物!我们希望您拥有愉快的购物体验,您的支持对我们来说意义非凡。',
|
|
2606
2606
|
},
|
|
2607
|
-
'Your
|
|
2608
|
-
value: '
|
|
2607
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
2608
|
+
value: '您选择的地址为国际配送地址。您想继续进行国际结账,还是留在此页面选择国内地址?',
|
|
2609
2609
|
},
|
|
2610
2610
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
2611
2611
|
value: '您选择的付款方式需要额外验证。请按照您的付款提供商提供的说明完成交易。',
|
|
@@ -3462,8 +3462,8 @@ const stringsDanish = {
|
|
|
3462
3462
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
3463
3463
|
value: 'Din betaling gik igennem! Tak fordi du handler hos os! Vi håber, du havde en god oplevelse, og din støtte betyder meget for os.',
|
|
3464
3464
|
},
|
|
3465
|
-
'Your
|
|
3466
|
-
value: 'Din
|
|
3465
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
3466
|
+
value: 'Din valgte adresse sendes internationalt. Vil du fortsætte til international checkout, eller blive her og vælge en indenlandsk adresse?',
|
|
3467
3467
|
},
|
|
3468
3468
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
3469
3469
|
value: 'Din valgte betalingsmetode kræver yderligere verifikation. Følg venligst instruktionerne fra din betalingsudbyder for at fuldføre transaktionen.',
|
|
@@ -4320,8 +4320,8 @@ const stringsDutch = {
|
|
|
4320
4320
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
4321
4321
|
value: 'Je betaling is succesvol verwerkt! Bedankt voor het winkelen bij ons! We hopen dat je een prettige ervaring hebt gehad en je steun betekent veel voor ons.',
|
|
4322
4322
|
},
|
|
4323
|
-
'Your
|
|
4324
|
-
value: 'Uw
|
|
4323
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
4324
|
+
value: 'Uw geselecteerde adres wordt internationaal verzonden. Wilt u doorgaan naar de internationale kassa, of hier blijven en een binnenlands adres selecteren?',
|
|
4325
4325
|
},
|
|
4326
4326
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
4327
4327
|
value: 'Uw geselecteerde betaalmethode vereist aanvullende verificatie. Volg de instructies van uw betalingsprovider om de transactie te voltooien.',
|
|
@@ -5178,8 +5178,8 @@ const stringsFrench = {
|
|
|
5178
5178
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
5179
5179
|
value: 'Votre paiement a bien été effectué ! Merci de votre achat chez nous ! Nous espérons que vous avez passé un bon moment et votre soutien compte beaucoup pour nous.',
|
|
5180
5180
|
},
|
|
5181
|
-
'Your
|
|
5182
|
-
value: 'Votre adresse
|
|
5181
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
5182
|
+
value: 'Votre adresse sélectionnée est une adresse de livraison internationale. Souhaitez-vous continuer vers le paiement international, ou rester ici et sélectionner une adresse nationale ?',
|
|
5183
5183
|
},
|
|
5184
5184
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
5185
5185
|
value: 'Votre méthode de paiement sélectionnée nécessite une vérification supplémentaire. Veuillez suivre les instructions fournies par votre fournisseur de paiement pour compléter la transaction.',
|
|
@@ -6036,8 +6036,8 @@ const stringsGerman = {
|
|
|
6036
6036
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
6037
6037
|
value: 'Ihre Zahlung war erfolgreich! Vielen Dank, dass Sie bei uns eingekauft haben! Wir hoffen, Sie hatten eine angenehme Erfahrung und Ihre Unterstützung bedeutet uns sehr viel.',
|
|
6038
6038
|
},
|
|
6039
|
-
'Your
|
|
6040
|
-
value: 'Ihre
|
|
6039
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
6040
|
+
value: 'Ihre ausgewählte Adresse wird international versendet. Möchten Sie zum internationalen Checkout fortfahren oder hier bleiben und eine inländische Adresse auswählen?',
|
|
6041
6041
|
},
|
|
6042
6042
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
6043
6043
|
value: 'Ihre ausgewählte Zahlungsmethode erfordert eine zusätzliche Verifizierung. Bitte folgen Sie den Anweisungen Ihres Zahlungsanbieters, um die Transaktion abzuschließen.',
|
|
@@ -6894,8 +6894,8 @@ const stringsHebrew = {
|
|
|
6894
6894
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
6895
6895
|
value: 'התשלום שלך התבצע בהצלחה! תודה שקנית אצלנו! אנו מקווים שנהנית והתמיכה שלך חשובה לנו מאוד.',
|
|
6896
6896
|
},
|
|
6897
|
-
'Your
|
|
6898
|
-
value: '
|
|
6897
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
6898
|
+
value: 'הכתובת שבחרת היא כתובת משלוח בינלאומית. האם תרצה להמשיך לקופה הבינלאומית, או להישאר כאן ולבחור כתובת מקומית?',
|
|
6899
6899
|
},
|
|
6900
6900
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
6901
6901
|
value: 'שיטת התשלום שבחרת דורשת אימות נוסף. אנא עקוב אחר ההוראות שסופקו על ידי ספק התשלומים שלך כדי להשלים את העסקה.',
|
|
@@ -7752,8 +7752,8 @@ const stringsIndonesian = {
|
|
|
7752
7752
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
7753
7753
|
value: 'Pembayaran Anda berhasil! Terima kasih telah berbelanja bersama kami! Kami berharap Anda memiliki pengalaman yang menyenangkan dan dukungan Anda sangat berarti bagi kami.',
|
|
7754
7754
|
},
|
|
7755
|
-
'Your
|
|
7756
|
-
value: 'Alamat
|
|
7755
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
7756
|
+
value: 'Alamat yang Anda pilih merupakan pengiriman internasional. Apakah Anda ingin melanjutkan ke checkout internasional, atau tetap di sini dan memilih alamat domestik?',
|
|
7757
7757
|
},
|
|
7758
7758
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
7759
7759
|
value: 'Metode pembayaran yang Anda pilih memerlukan verifikasi tambahan. Silakan ikuti instruksi yang diberikan oleh penyedia pembayaran Anda untuk menyelesaikan transaksi.',
|
|
@@ -8610,8 +8610,8 @@ const stringsItalian = {
|
|
|
8610
8610
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
8611
8611
|
value: "Il tuo pagamento è andato a buon fine! Grazie per aver acquistato da noi! Speriamo tu abbia avuto un'esperienza piacevole e il tuo supporto significa molto per noi.",
|
|
8612
8612
|
},
|
|
8613
|
-
'Your
|
|
8614
|
-
value: 'Il tuo indirizzo
|
|
8613
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
8614
|
+
value: 'Il tuo indirizzo selezionato prevede la spedizione internazionale. Desideri continuare al checkout internazionale o restare qui e selezionare un indirizzo nazionale?',
|
|
8615
8615
|
},
|
|
8616
8616
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
8617
8617
|
value: 'Il metodo di pagamento selezionato richiede una verifica aggiuntiva. Si prega di seguire le istruzioni fornite dal proprio fornitore di pagamenti per completare la transazione.',
|
|
@@ -9468,8 +9468,8 @@ const stringsJapanese = {
|
|
|
9468
9468
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
9469
9469
|
value: 'お支払いが正常に完了しました! ご利用いただきありがとうございます!楽しんでいただけましたら幸いです。あなたのご支援は私たちにとって大変重要な意味を持ちます。',
|
|
9470
9470
|
},
|
|
9471
|
-
'Your
|
|
9472
|
-
value: '
|
|
9471
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
9472
|
+
value: '選択された住所は国際配送先です。国際チェックアウトに進みますか、それともここに留まって国内住所を選択しますか?',
|
|
9473
9473
|
},
|
|
9474
9474
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
9475
9475
|
value: '選択した支払い方法には追加の確認が必要です。取引を完了するには、支払いプロバイダーから提供された指示に従ってください。',
|
|
@@ -10326,8 +10326,8 @@ const stringsKorean = {
|
|
|
10326
10326
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
10327
10327
|
value: '결제가 성공적으로 완료되었습니다! 저희와 함께 쇼핑해 주셔서 감사합니다! 즐거운 경험을 하셨기를 바라며, 귀하의 지원은 저희에게 매우 소중합니다.',
|
|
10328
10328
|
},
|
|
10329
|
-
'Your
|
|
10330
|
-
value: '
|
|
10329
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
10330
|
+
value: '선택하신 주소가 해외 배송 주소입니다. 국제 결제로 계속 진행하시겠습니까, 아니면 여기에 머물며 국내 주소를 선택하시겠습니까?',
|
|
10331
10331
|
},
|
|
10332
10332
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
10333
10333
|
value: '선택한 결제 방법은 추가 확인이 필요합니다. 거래를 완료하려면 결제 제공업체에서 제공한 지침을 따르십시오.',
|
|
@@ -11184,8 +11184,8 @@ const stringsNorwegian = {
|
|
|
11184
11184
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
11185
11185
|
value: 'Betalingen din gikk igjennom! Takk for at du handler hos oss! Vi håper du hadde en hyggelig opplevelse og din støtte betyr utrolig mye for oss.',
|
|
11186
11186
|
},
|
|
11187
|
-
'Your
|
|
11188
|
-
value: 'Din
|
|
11187
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
11188
|
+
value: 'Din valgte adresse sendes internasjonalt. Vil du fortsette til internasjonal utsjekking, eller bli her og velge en innenlandsk adresse?',
|
|
11189
11189
|
},
|
|
11190
11190
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
11191
11191
|
value: 'Din valgte betalingsmetode krever ytterligere verifisering. Vennligst følg instruksjonene fra din betalingsleverandør for å fullføre transaksjonen.',
|
|
@@ -12042,8 +12042,8 @@ const stringsPolish = {
|
|
|
12042
12042
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
12043
12043
|
value: 'Twoja płatność została pomyślnie zrealizowana! Dziękujemy za zakupy u nas! Mamy nadzieję, że miałeś przyjemne doświadczenie, a Twoje wsparcie wiele dla nas znaczy.',
|
|
12044
12044
|
},
|
|
12045
|
-
'Your
|
|
12046
|
-
value: 'Twój
|
|
12045
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
12046
|
+
value: 'Twój wybrany adres jest adresem wysyłki międzynarodowej. Czy chcesz przejść do międzynarodowej kasy, czy pozostać tutaj i wybrać adres krajowy?',
|
|
12047
12047
|
},
|
|
12048
12048
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
12049
12049
|
value: 'Wybrana metoda płatności wymaga dodatkowej weryfikacji. Proszę postępować zgodnie z instrukcjami dostarczonymi przez dostawcę płatności, aby zakończyć transakcję.',
|
|
@@ -12900,8 +12900,8 @@ const stringsPortuguese = {
|
|
|
12900
12900
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
12901
12901
|
value: 'Seu pagamento foi processado com sucesso! Obrigado por comprar conosco! Esperamos que tenha tido uma experiência agradável e seu apoio significa muito para nós.',
|
|
12902
12902
|
},
|
|
12903
|
-
'Your
|
|
12904
|
-
value: 'Seu endereço
|
|
12903
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
12904
|
+
value: 'Seu endereço selecionado é de envio internacional. Deseja continuar para o checkout internacional ou permanecer aqui e selecionar um endereço nacional?',
|
|
12905
12905
|
},
|
|
12906
12906
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
12907
12907
|
value: 'Seu método de pagamento selecionado requer verificação adicional. Por favor, siga as instruções fornecidas pelo seu provedor de pagamento para completar a transação.',
|
|
@@ -13758,8 +13758,8 @@ const stringsRussian = {
|
|
|
13758
13758
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
13759
13759
|
value: 'Оплата прошла успешно! Благодарим вас за покупку! Надеемся, вам понравилось, и ваша поддержка очень важна для нас.',
|
|
13760
13760
|
},
|
|
13761
|
-
'Your
|
|
13762
|
-
value: '
|
|
13761
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
13762
|
+
value: 'Выбранный вами адрес предназначен для международной доставки. Хотите продолжить к международному оформлению заказа или остаться здесь и выбрать внутренний адрес?',
|
|
13763
13763
|
},
|
|
13764
13764
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
13765
13765
|
value: 'Ваш выбранный способ оплаты требует дополнительной проверки. Пожалуйста, следуйте инструкциям, предоставленным вашим поставщиком платежей, чтобы завершить транзакцию.',
|
|
@@ -14616,8 +14616,8 @@ const stringsSpanish = {
|
|
|
14616
14616
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
14617
14617
|
value: '¡Su pago se realizó exitosamente! Gracias por comprar con nosotros. Esperamos que haya tenido una experiencia agradable y su apoyo significa mucho para nosotros.',
|
|
14618
14618
|
},
|
|
14619
|
-
'Your
|
|
14620
|
-
value: 'Su dirección
|
|
14619
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
14620
|
+
value: 'Su dirección seleccionada es de envío internacional. ¿Desea continuar al pago internacional o permanecer aquí y seleccionar una dirección nacional?',
|
|
14621
14621
|
},
|
|
14622
14622
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
14623
14623
|
value: 'Su método de pago seleccionado requiere verificación adicional. Por favor, siga las instrucciones proporcionadas por su proveedor de pagos para completar la transacción.',
|
|
@@ -15474,8 +15474,8 @@ const stringsSwedish = {
|
|
|
15474
15474
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
15475
15475
|
value: 'Din betalning gick igenom framgångsrikt! Tack för att du handlar med oss! Vi hoppas att du har haft en trevlig upplevelse och ditt stöd betyder mycket för oss.',
|
|
15476
15476
|
},
|
|
15477
|
-
'Your
|
|
15478
|
-
value: 'Din
|
|
15477
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
15478
|
+
value: 'Din valda adress skickas internationellt. Vill du fortsätta till internationell kassa, eller stanna här och välja en inrikes adress?',
|
|
15479
15479
|
},
|
|
15480
15480
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
15481
15481
|
value: 'Din valda betalningsmetod kräver ytterligare verifiering. Vänligen följ instruktionerna från din betalningsleverantör för att slutföra transaktionen.',
|
|
@@ -16332,8 +16332,8 @@ const stringsTurkish = {
|
|
|
16332
16332
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
16333
16333
|
value: 'Ödemeniz başarıyla tamamlandı! Bizimle alışveriş yaptığınız için teşekkür ederiz! Keyifli bir deneyim yaşadığınızı umuyoruz ve desteğiniz bizim için çok değerli.',
|
|
16334
16334
|
},
|
|
16335
|
-
'Your
|
|
16336
|
-
value: '
|
|
16335
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
16336
|
+
value: 'Seçtiğiniz adres uluslararası gönderime sahiptir. Uluslararası ödemeye devam etmek mi yoksa burada kalıp yurt içi bir adres seçmek mi istersiniz?',
|
|
16337
16337
|
},
|
|
16338
16338
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
16339
16339
|
value: 'Seçtiğiniz ödeme yöntemi ek doğrulama gerektirir. İşlemi tamamlamak için lütfen ödeme sağlayıcınız tarafından sağlanan talimatları izleyin.',
|
|
@@ -17190,8 +17190,8 @@ const stringsVietnamese = {
|
|
|
17190
17190
|
'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
|
|
17191
17191
|
value: 'Thanh toán của bạn thành công! Cảm ơn bạn đã mua sắm với chúng tôi! Chúng tôi hy vọng bạn có trải nghiệm thú vị và sự ủng hộ của bạn thật sự ý nghĩa với chúng tôi.',
|
|
17192
17192
|
},
|
|
17193
|
-
'Your
|
|
17194
|
-
value: 'Địa chỉ
|
|
17193
|
+
'Your selected address ships internationally. Would you like to continue to international checkout, or stay here and select a domestic address?': {
|
|
17194
|
+
value: 'Địa chỉ đã chọn của bạn là địa chỉ giao hàng quốc tế. Bạn muốn tiếp tục đến thanh toán quốc tế hay ở lại đây và chọn một địa chỉ trong nước?',
|
|
17195
17195
|
},
|
|
17196
17196
|
'Your selected payment method requires additional verification. Please follow the instructions provided by your payment provider to complete the transaction.': {
|
|
17197
17197
|
value: 'Phương thức thanh toán bạn chọn yêu cầu xác minh bổ sung. Vui lòng làm theo hướng dẫn của nhà cung cấp thanh toán của bạn để hoàn tất giao dịch.',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
4
|
+
const cart = require('./cart-0fa312a5.js');
|
|
5
|
+
const localization = require('./localization-7fded969.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
7
7
|
const isContrastColor = require('./isContrastColor-ef24b7aa.js');
|
|
8
8
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const localization = require('./localization-
|
|
3
|
+
const cart = require('./cart-0fa312a5.js');
|
|
4
|
+
const localization = require('./localization-7fded969.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
6
6
|
|
|
7
7
|
const placeTestOrder = async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const localization = require('./localization-
|
|
3
|
+
const cart = require('./cart-0fa312a5.js');
|
|
4
|
+
const localization = require('./localization-7fded969.js');
|
|
5
5
|
|
|
6
6
|
const getDisplayCurrency = () => {
|
|
7
7
|
var _a, _b;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
6
|
+
const localization = require('./localization-7fded969.js');
|
|
7
7
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
8
|
-
const cart = require('./cart-
|
|
8
|
+
const cart = require('./cart-0fa312a5.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
10
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
11
11
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
6
|
const throttle = require('./throttle-34f7abf1.js');
|
|
7
|
-
const cart = require('./cart-
|
|
8
|
-
const localization = require('./localization-
|
|
7
|
+
const cart = require('./cart-0fa312a5.js');
|
|
8
|
+
const localization = require('./localization-7fded969.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-b8abf6de.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const collect = require('./collect-
|
|
7
|
-
const cart = require('./cart-
|
|
8
|
-
const localization = require('./localization-
|
|
6
|
+
const collect = require('./collect-f9c4ca7c.js');
|
|
7
|
+
const cart = require('./cart-0fa312a5.js');
|
|
8
|
+
const localization = require('./localization-7fded969.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
10
10
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
@@ -6,10 +6,10 @@ const index = require('./index-b1f95d96.js');
|
|
|
6
6
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
9
|
-
const cart = require('./cart-
|
|
10
|
-
const localization = require('./localization-
|
|
9
|
+
const cart = require('./cart-0fa312a5.js');
|
|
10
|
+
const localization = require('./localization-7fded969.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
12
|
-
const paypal = require('./paypal-
|
|
12
|
+
const paypal = require('./paypal-57ab3ab6.js');
|
|
13
13
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
14
14
|
require('./isDarkColor-ebc74b4d.js');
|
|
15
15
|
require('./TaxId-12acedde.js');
|
|
@@ -3,20 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
6
|
+
const cart = require('./cart-0fa312a5.js');
|
|
7
|
+
const localization = require('./localization-7fded969.js');
|
|
8
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-41d48407.js');
|
|
9
9
|
const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-57147de7.js');
|
|
10
10
|
const classes = require('./classes-b7918f56.js');
|
|
11
11
|
const zonosStore = require('./zonosStore-fee716c9.js');
|
|
12
|
-
const hasInclusivePrice = require('./hasInclusivePrice-
|
|
13
|
-
const
|
|
12
|
+
const hasInclusivePrice = require('./hasInclusivePrice-95431bca.js');
|
|
13
|
+
const isSameHostCheckoutLink = require('./isSameHostCheckoutLink-6148cabb.js');
|
|
14
|
+
const paypal = require('./paypal-57ab3ab6.js');
|
|
14
15
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
15
16
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
16
17
|
const getBorderRadius = require('./getBorderRadius-4da24d7c.js');
|
|
17
18
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
18
19
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
19
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
20
|
+
const placeTestOrder = require('./placeTestOrder-35e0d3bd.js');
|
|
20
21
|
const isDarkColor = require('./isDarkColor-ebc74b4d.js');
|
|
21
22
|
const getContrastColor = require('./getContrastColor-2fb235b8.js');
|
|
22
23
|
const isColorVariable = require('./isColorVariable-525dbfa7.js');
|
|
@@ -248,7 +249,18 @@ const ZonosCartSubtotal = class {
|
|
|
248
249
|
* [[parseLinkedText]] and are emitted as VNodes (never `innerHTML`) so
|
|
249
250
|
* untrusted strings can't inject HTML.
|
|
250
251
|
*/
|
|
251
|
-
this.renderMessageLine = (line) => parseLinkedText(line).map(segment =>
|
|
252
|
+
this.renderMessageLine = (line) => parseLinkedText(line).map(segment => {
|
|
253
|
+
var _a;
|
|
254
|
+
if (segment.type !== 'link') {
|
|
255
|
+
return segment.value;
|
|
256
|
+
}
|
|
257
|
+
// For BigCommerce, a same-host `/checkout` link should navigate the
|
|
258
|
+
// current tab (`_self`) instead of opening a new one — this unloads the
|
|
259
|
+
// Zonos checkout and opens the native checkout in its place rather than
|
|
260
|
+
// leaving two checkouts open at once (05CHECK-887).
|
|
261
|
+
const shouldRedirectInPlace = !!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.isBigCommerce) && isSameHostCheckoutLink.isSameHostCheckoutLink(segment.href);
|
|
262
|
+
return (index.h("zonos-link", { href: segment.href, rel: "noopener noreferrer", target: shouldRedirectInPlace ? '_self' : '_blank' }, segment.text));
|
|
263
|
+
});
|
|
252
264
|
this.renderCustomMessage = () => {
|
|
253
265
|
const messageLines = cart.cartStore.customMessage.filter(line => !!line.trim());
|
|
254
266
|
if (!messageLines.length) {
|