@zonos/elements 1.3.253 → 1.3.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/cjs/{cart-77640463.js → cart-4ef52500.js} +1 -1
  2. package/dist/cjs/{hasInclusivePrice-e93c64fd.js → hasInclusivePrice-4419d03e.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-211ef96c.js → invoice-3494b21e.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-14fb5ab4.js → isCollectMobileTablet-92955ce6.js} +2 -2
  6. package/dist/cjs/{localization-be7afc1b.js → localization-75f4ec05.js} +3 -0
  7. package/dist/cjs/{paypal-c61ef042.js → paypal-cc3a730b.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-0f7477c8.js → placeTestOrder-13901275.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-1ac02803.js → renderCheckoutCurrency-0003992c.js} +2 -2
  10. package/dist/cjs/zonos-address-display_8.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-card_5.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +1 -1
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +3 -0
  30. package/dist/collection/components/store/hello/localization.js +3 -0
  31. package/dist/esm/{cart-394c9ddb.js → cart-f4e43d1a.js} +1 -1
  32. package/dist/esm/{hasInclusivePrice-f0322e1c.js → hasInclusivePrice-0439b7f4.js} +1 -1
  33. package/dist/esm/index.js +7 -7
  34. package/dist/esm/{invoice-5ae81ae5.js → invoice-3d8f3fa8.js} +2 -2
  35. package/dist/esm/{isCollectMobileTablet-15b668d6.js → isCollectMobileTablet-0402aa32.js} +2 -2
  36. package/dist/esm/{localization-0ebc8356.js → localization-026da80b.js} +3 -0
  37. package/dist/esm/{paypal-b6fa3ec3.js → paypal-07bd6b7c.js} +2 -2
  38. package/dist/esm/{placeTestOrder-5756cbc3.js → placeTestOrder-39de11f4.js} +2 -2
  39. package/dist/esm/{renderCheckoutCurrency-5f3e06ea.js → renderCheckoutCurrency-743f7c77.js} +2 -2
  40. package/dist/esm/zonos-address-display_8.entry.js +4 -4
  41. package/dist/esm/zonos-address_4.entry.js +2 -2
  42. package/dist/esm/zonos-card_5.entry.js +3 -3
  43. package/dist/esm/zonos-cart-items_12.entry.js +6 -6
  44. package/dist/esm/zonos-checkout.entry.js +3 -3
  45. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  46. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  47. package/dist/esm/zonos-collect.entry.js +4 -4
  48. package/dist/esm/zonos-controller.entry.js +2 -2
  49. package/dist/esm/zonos-country-flag.entry.js +1 -1
  50. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  51. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  52. package/dist/esm/zonos-hello.entry.js +1 -1
  53. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  54. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  55. package/dist/esm/zonos-invoice.entry.js +4 -4
  56. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  57. package/dist/esm/zonos-store-credit.entry.js +3 -3
  58. package/dist/esm-es5/{cart-394c9ddb.js → cart-f4e43d1a.js} +1 -1
  59. package/dist/esm-es5/{hasInclusivePrice-f0322e1c.js → hasInclusivePrice-0439b7f4.js} +1 -1
  60. package/dist/esm-es5/index.js +1 -1
  61. package/dist/esm-es5/{invoice-5ae81ae5.js → invoice-3d8f3fa8.js} +1 -1
  62. package/dist/esm-es5/{isCollectMobileTablet-15b668d6.js → isCollectMobileTablet-0402aa32.js} +1 -1
  63. package/dist/esm-es5/{localization-0ebc8356.js → localization-026da80b.js} +1 -1
  64. package/dist/esm-es5/{paypal-b6fa3ec3.js → paypal-07bd6b7c.js} +2 -2
  65. package/dist/esm-es5/{placeTestOrder-5756cbc3.js → placeTestOrder-39de11f4.js} +1 -1
  66. package/dist/esm-es5/{renderCheckoutCurrency-5f3e06ea.js → renderCheckoutCurrency-743f7c77.js} +1 -1
  67. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  68. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  69. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  70. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  71. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  72. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  73. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  74. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  75. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  76. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  77. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  78. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  79. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  80. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  81. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  82. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  83. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  84. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  85. package/dist/scripts/index.js +1 -1
  86. package/dist/scripts/loadZonos.js +1 -1
  87. package/dist/scripts/zonos.js +1 -1
  88. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  89. package/dist/zonos-elements/index.esm.js +1 -1
  90. package/dist/zonos-elements/{p-efa69c89.entry.js → p-0649737d.entry.js} +1 -1
  91. package/dist/zonos-elements/{p-368f254e.system.js → p-06b4aa32.system.js} +1 -1
  92. package/dist/zonos-elements/{p-09d7a5cb.system.js → p-0aa1c8c2.system.js} +1 -1
  93. package/dist/zonos-elements/{p-cc9620e5.system.entry.js → p-0d4af7e9.system.entry.js} +1 -1
  94. package/dist/zonos-elements/{p-92d91395.system.entry.js → p-12f480c9.system.entry.js} +1 -1
  95. package/dist/zonos-elements/{p-27fad55a.system.js → p-16a80e3c.system.js} +1 -1
  96. package/dist/zonos-elements/{p-615b5d13.entry.js → p-1bdac1d3.entry.js} +1 -1
  97. package/dist/zonos-elements/p-1ed9ef0b.js +1 -0
  98. package/dist/zonos-elements/{p-97fb5ad5.entry.js → p-231edcca.entry.js} +1 -1
  99. package/dist/zonos-elements/{p-a5fb864a.system.entry.js → p-274a5d11.system.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-daaaa8f1.system.entry.js → p-27e41b44.system.entry.js} +1 -1
  101. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  102. package/dist/zonos-elements/{p-3d757163.entry.js → p-2affd4e6.entry.js} +1 -1
  103. package/dist/zonos-elements/p-2b10f633.system.js +1 -0
  104. package/dist/zonos-elements/{p-95f7f2a0.entry.js → p-2baa21b1.entry.js} +1 -1
  105. package/dist/zonos-elements/{p-cf69bcc4.system.js → p-31d1b874.system.js} +1 -1
  106. package/dist/zonos-elements/p-33fc0c8f.entry.js +1 -0
  107. package/dist/zonos-elements/{p-b37a85f0.system.entry.js → p-3730d555.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-a1e23675.system.entry.js → p-3814aac3.system.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-13041752.js → p-3ac97c01.js} +1 -1
  110. package/dist/zonos-elements/{p-8abeab5a.entry.js → p-3e03b2e8.entry.js} +1 -1
  111. package/dist/zonos-elements/{p-321e7920.system.js → p-50aac43c.system.js} +1 -1
  112. package/dist/zonos-elements/{p-bdaf2a38.entry.js → p-5359ba71.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-8dfa0bb8.system.entry.js → p-5678c5b5.system.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-b49b8da4.system.entry.js → p-568c5700.system.entry.js} +1 -1
  115. package/dist/zonos-elements/p-5e3e5e3e.system.js +1 -0
  116. package/dist/zonos-elements/{p-0da3cc62.system.entry.js → p-66758e30.system.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-a95ac160.entry.js → p-6ce8374e.entry.js} +1 -1
  118. package/dist/zonos-elements/p-768430fe.js +1 -0
  119. package/dist/zonos-elements/{p-4f23732f.js → p-835c0bd4.js} +1 -1
  120. package/dist/zonos-elements/{p-d65cfa9b.system.entry.js → p-9b12f023.system.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-07ca3347.system.entry.js → p-9d9792b9.system.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-fce715f1.system.entry.js → p-9e98a256.system.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-c1ae7391.system.entry.js → p-a1835bae.system.entry.js} +1 -1
  124. package/dist/zonos-elements/{p-2c2e5ee6.entry.js → p-a6cc56ba.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-fbccfa3e.system.js → p-aabb921f.system.js} +1 -1
  126. package/dist/zonos-elements/{p-57b27c60.js → p-af83f0c2.js} +1 -1
  127. package/dist/zonos-elements/{p-1162b685.entry.js → p-b20c7f8c.entry.js} +1 -1
  128. package/dist/zonos-elements/p-b45538a7.system.entry.js +1 -0
  129. package/dist/zonos-elements/{p-4df85216.entry.js → p-b6c78f82.entry.js} +1 -1
  130. package/dist/zonos-elements/p-b84be447.js +1 -0
  131. package/dist/zonos-elements/{p-29f7950c.js → p-c398711f.js} +1 -1
  132. package/dist/zonos-elements/{p-a0ac3ca2.system.entry.js → p-cc364b26.system.entry.js} +1 -1
  133. package/dist/zonos-elements/{p-a5adc047.system.entry.js → p-d168be79.system.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-d8610393.entry.js → p-d2bba4dc.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-c6047442.system.entry.js → p-d397560e.system.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-8efb79ab.entry.js → p-d938fb86.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-620ba943.js → p-dafafa07.js} +1 -1
  138. package/dist/zonos-elements/{p-c2121663.system.entry.js → p-db0b35a2.system.entry.js} +1 -1
  139. package/dist/zonos-elements/{p-11d6de1a.entry.js → p-db993fdb.entry.js} +1 -1
  140. package/dist/zonos-elements/{p-2bdc2206.entry.js → p-e12f7a97.entry.js} +1 -1
  141. package/dist/zonos-elements/{p-920d9189.entry.js → p-f888db89.entry.js} +1 -1
  142. package/dist/zonos-elements/{p-2c9c750e.system.js → p-f9705736.system.js} +1 -1
  143. package/dist/zonos-elements/{p-9ff90151.entry.js → p-fbe22363.entry.js} +1 -1
  144. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  145. package/package.json +1 -1
  146. package/dist/zonos-elements/p-0af96b5b.system.entry.js +0 -1
  147. package/dist/zonos-elements/p-0dd5a4b8.system.js +0 -1
  148. package/dist/zonos-elements/p-1282495f.system.js +0 -1
  149. package/dist/zonos-elements/p-2b118454.js +0 -1
  150. package/dist/zonos-elements/p-785111e7.entry.js +0 -1
  151. package/dist/zonos-elements/p-ac353826.js +0 -1
  152. package/dist/zonos-elements/p-ca19a10a.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-f5a61112.js');
4
- const localization = require('./localization-be7afc1b.js');
4
+ const localization = require('./localization-75f4ec05.js');
5
5
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const isDarkColor = require('./isDarkColor-a68abf7a.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const localization = require('./localization-be7afc1b.js');
3
+ const localization = require('./localization-75f4ec05.js');
4
4
 
5
5
  /**
6
6
  * Since the backend and the frontend are using the same keys,
@@ -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.253.js.zonos.com";
136
+ const cdnUrl = "https://v1.3.255.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.') ||
@@ -381,10 +381,10 @@ const zonosLoadUrl = (() => {
381
381
  return null;
382
382
  })();
383
383
  const startLoadTime = Date.now();
384
- const ZONOS_URL = "https://v1.3.253.js.zonos.com";
385
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.253";
386
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.253";
387
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.253";
384
+ const ZONOS_URL = "https://v1.3.255.js.zonos.com";
385
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.255";
386
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.255";
387
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.255";
388
388
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
389
389
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
390
390
  class Zonos {
@@ -402,7 +402,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
402
402
  ? new URLSearchParams(window.location.search).get('iframeLogType')
403
403
  : null;
404
404
  Zonos.isBigCommerce = false;
405
- Zonos.releaseDate = "1775689881541";
405
+ Zonos.releaseDate = "1776282443962";
406
406
  Zonos.isLegacyCheckout = false;
407
407
  Zonos.googleAnalyticId = null;
408
408
  Zonos.googleAnalyticReady = false;
@@ -425,7 +425,7 @@ Zonos.isNpm = true;
425
425
  Zonos.zonosQaUrl = null;
426
426
  Zonos.zonosQaUrlApi = null;
427
427
  Zonos.trackEventLogs = [];
428
- Zonos.version = `v${"1.3.253"}`;
428
+ Zonos.version = `v${"1.3.255"}`;
429
429
  Zonos.modeAlerted = false;
430
430
  Zonos.cartData = null;
431
431
  Zonos.paypal = null;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-f5a61112.js');
4
- const cart = require('./cart-77640463.js');
5
- const localization = require('./localization-be7afc1b.js');
4
+ const cart = require('./cart-4ef52500.js');
5
+ const localization = require('./localization-75f4ec05.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
8
8
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-f5a61112.js');
4
- const cart = require('./cart-77640463.js');
5
- const localization = require('./localization-be7afc1b.js');
4
+ const cart = require('./cart-4ef52500.js');
5
+ const localization = require('./localization-75f4ec05.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
8
8
 
@@ -17052,6 +17052,9 @@ const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelecte
17052
17052
  }
17053
17053
  localizationStore.targetCurrency = currencyCode;
17054
17054
  void getNewLocalization({ isInitializing: isInitializing });
17055
+ if (!isInitializing) {
17056
+ void getCustomMessages();
17057
+ }
17055
17058
  // Save the country code to session storage for later use
17056
17059
  window.sessionStorage.setItem('zonos--country', selectedCountryCode);
17057
17060
  // Update the URL query param with the new country code
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-f5a61112.js');
4
- const cart = require('./cart-77640463.js');
5
- const localization = require('./localization-be7afc1b.js');
4
+ const cart = require('./cart-4ef52500.js');
5
+ const localization = require('./localization-75f4ec05.js');
6
6
  const handleFetch = require('./handleFetch-954f30e1.js');
7
7
  const isContrastColor = require('./isContrastColor-d1936a5c.js');
8
8
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-77640463.js');
4
- const localization = require('./localization-be7afc1b.js');
3
+ const cart = require('./cart-4ef52500.js');
4
+ const localization = require('./localization-75f4ec05.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-77640463.js');
4
- const localization = require('./localization-be7afc1b.js');
3
+ const cart = require('./cart-4ef52500.js');
4
+ const localization = require('./localization-75f4ec05.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-be7afc1b.js');
6
+ const localization = require('./localization-75f4ec05.js');
7
7
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
8
- const cart = require('./cart-77640463.js');
8
+ const cart = require('./cart-4ef52500.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const getBorderRadius = require('./getBorderRadius-27a74844.js');
11
11
  const zonosStore = require('./zonosStore-f5a61112.js');
@@ -84,7 +84,7 @@ const ZonosAddressForm = class {
84
84
  }) }), index.h("zonos-input", { key: '3c055ee2f1fcaf93ebcbd8f11ad6609cd33e9e14', class: "zonos--form-last-name", inputLabel: localization.translate('Last name'), inputValue: lastName, isError: containsNonLatinChars.isTextContainsNonLatinChars(lastName), onInputChange: e => this.onInputChange({
85
85
  key: 'name',
86
86
  value: `${firstName} ${e.detail}`,
87
- }) }))), index.h("div", { key: 'ce30f816d03b497eb4491d2554eb63c0aabf110c', class: "zonos--address" }, index.h("zonos-text", { key: '304867c5354ac55071c88944a63bba88ea3fb86f', type: "label" }, localization.translate('Address')), index.h("zonos-input", { key: 'f0efe937603a38761643af1486b53359a19593e5', class: "zonos--form-country", inputLabel: localization.translate('Country'), inputValue: country, isDisabled: true }), index.h("zonos-input", { key: '8360a4ae65c8963e886a3fb8322e0e539d121142', class: "zonos--form-line1", inputLabel: localization.translate('Address line 1'), inputValue: line1, isError: containsNonLatinChars.isTextContainsNonLatinChars(line1), onInputChange: e => this.onInputChange({ key: 'line1', value: e.detail }) }), index.h("zonos-input", { key: '2c9374917b705c2c9306d3d4d7fc4b4043c2b73b', class: "zonos--form-line2", inputLabel: localization.translate('Address line 2'), inputValue: line2, isError: containsNonLatinChars.isTextContainsNonLatinChars(line2), onInputChange: e => this.onInputChange({ key: 'line2', value: e.detail }) }), index.h("div", { key: 'fd067074070cadba3d895503f35c344ff817fec2', class: "zonos--address-row" }, index.h("zonos-input", { key: 'a565bee68e2498403df2801eb90005e8cb2d6f44', class: "zonos--form-city", inputLabel: localization.translate('City'), inputValue: city, isError: containsNonLatinChars.isTextContainsNonLatinChars(city), onInputChange: e => this.onInputChange({ key: 'city', value: e.detail }) }), index.h("zonos-input", { key: '89bae75b691aacdd62b624f65eee303bfb3fc811', class: "zonos--form-state", inputLabel: localization.translate('State/Province'), inputValue: state, isError: containsNonLatinChars.isTextContainsNonLatinChars(state), onInputChange: e => this.onInputChange({ key: 'state', value: e.detail }) })), index.h("zonos-input", { key: '9a851b9f449ed135859b7b828bf362168caf76fb', class: "zonos--form-postal-code", inputLabel: localization.translate('Postal code'), inputValue: postal_code, isError: containsNonLatinChars.isTextContainsNonLatinChars(postal_code), onInputChange: e => this.onInputChange({ key: 'postal_code', value: e.detail }) }), index.h("zonos-input", { key: 'a51b8ba1e22d5a12eac9021abe83fdc20f8eb1a6', class: "zonos--form-phone", inputLabel: localization.translate('Phone number'), inputValue: phone, onInputChange: e => this.onInputChange({ key: 'phone', value: e.detail }) })))));
87
+ }) }))), index.h("div", { key: 'ce30f816d03b497eb4491d2554eb63c0aabf110c', class: "zonos--address" }, index.h("zonos-text", { key: '304867c5354ac55071c88944a63bba88ea3fb86f', type: "label" }, localization.translate('Address')), index.h("zonos-input", { key: 'f0efe937603a38761643af1486b53359a19593e5', class: "zonos--form-country", inputLabel: localization.translate('Country'), inputValue: country, isDisabled: true }), index.h("zonos-input", { key: '8360a4ae65c8963e886a3fb8322e0e539d121142', class: "zonos--form-line1", inputLabel: localization.translate('Address line 1'), inputValue: line1, isError: containsNonLatinChars.isTextContainsNonLatinChars(line1), onInputChange: e => this.onInputChange({ key: 'line1', value: e.detail }) }), index.h("zonos-input", { key: '2c9374917b705c2c9306d3d4d7fc4b4043c2b73b', class: "zonos--form-line2", inputLabel: localization.translate('Address line 2'), inputValue: line2, isError: containsNonLatinChars.isTextContainsNonLatinChars(line2), onInputChange: e => this.onInputChange({ key: 'line2', value: e.detail }) }), index.h("div", { key: 'fd067074070cadba3d895503f35c344ff817fec2', class: "zonos--address-row" }, index.h("zonos-input", { key: 'a565bee68e2498403df2801eb90005e8cb2d6f44', class: "zonos--form-city", inputLabel: localization.translate('City'), inputValue: city, isError: containsNonLatinChars.isTextContainsNonLatinChars(city), onInputChange: e => this.onInputChange({ key: 'city', value: e.detail }) }), this.currentAddress.state && (index.h("zonos-input", { key: 'c5a14d96cef1d48cc82dcedaef21949a77251843', class: "zonos--form-state", inputLabel: localization.translate('State/Province'), inputValue: state, isError: containsNonLatinChars.isTextContainsNonLatinChars(state), onInputChange: e => this.onInputChange({ key: 'state', value: e.detail }) }))), index.h("zonos-input", { key: 'a3359119c246a906f0c2305207b522324ccb16bf', class: "zonos--form-postal-code", inputLabel: localization.translate('Postal code'), inputValue: postal_code, isError: containsNonLatinChars.isTextContainsNonLatinChars(postal_code), onInputChange: e => this.onInputChange({ key: 'postal_code', value: e.detail }) }), index.h("zonos-input", { key: '0196f951181a52f923ffb7cd5d4395e42b86cd8a', class: "zonos--form-phone", inputLabel: localization.translate('Phone number'), inputValue: phone, onInputChange: e => this.onInputChange({ key: 'phone', value: e.detail }) })))));
88
88
  }
89
89
  static get watchers() { return {
90
90
  "translatedAddress": ["watchCurrentAddress"]
@@ -199,7 +199,7 @@ const ZonosAddressSuggestions = class {
199
199
  };
200
200
  ZonosAddressSuggestions.style = ZonosAddressSuggestionsStyle0;
201
201
 
202
- const zonosAddressUpdateDialogCss = ":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--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}";
202
+ const zonosAddressUpdateDialogCss = ":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--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--group{-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}";
203
203
  const ZonosAddressUpdateDialogStyle0 = zonosAddressUpdateDialogCss;
204
204
 
205
205
  const ZonosAddressUpdateDialog = class {
@@ -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-ff483793.js');
7
- const cart = require('./cart-77640463.js');
8
- const localization = require('./localization-be7afc1b.js');
7
+ const cart = require('./cart-4ef52500.js');
8
+ const localization = require('./localization-75f4ec05.js');
9
9
  const zonosStore = require('./zonosStore-f5a61112.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-b8abf6de.js');
@@ -6,10 +6,10 @@ const index = require('./index-b1f95d96.js');
6
6
  const zonosStore = require('./zonosStore-f5a61112.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const getBorderRadius = require('./getBorderRadius-27a74844.js');
9
- const cart = require('./cart-77640463.js');
10
- const localization = require('./localization-be7afc1b.js');
9
+ const cart = require('./cart-4ef52500.js');
10
+ const localization = require('./localization-75f4ec05.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
12
- const paypal = require('./paypal-c61ef042.js');
12
+ const paypal = require('./paypal-cc3a730b.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-a68abf7a.js');
15
15
  require('./isContrastColor-d1936a5c.js');
@@ -3,21 +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-77640463.js');
7
- const localization = require('./localization-be7afc1b.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1ac02803.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const localization = require('./localization-75f4ec05.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-0003992c.js');
9
9
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
10
10
  const classes = require('./classes-b7918f56.js');
11
11
  const zonosStore = require('./zonosStore-f5a61112.js');
12
- const hasInclusivePrice = require('./hasInclusivePrice-e93c64fd.js');
13
- const paypal = require('./paypal-c61ef042.js');
12
+ const hasInclusivePrice = require('./hasInclusivePrice-4419d03e.js');
13
+ const paypal = require('./paypal-cc3a730b.js');
14
14
  const handleFetch = require('./handleFetch-954f30e1.js');
15
15
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
16
16
  const getBorderRadius = require('./getBorderRadius-27a74844.js');
17
17
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
18
18
  const submitGtag = require('./submitGtag-cb4fb332.js');
19
19
  const ILanguage = require('./ILanguage-98b04442.js');
20
- const placeTestOrder = require('./placeTestOrder-0f7477c8.js');
20
+ const placeTestOrder = require('./placeTestOrder-13901275.js');
21
21
  const isDarkColor = require('./isDarkColor-a68abf7a.js');
22
22
  const getContrastColor = require('./getContrastColor-cc087c53.js');
23
23
  const isColorVariable = require('./isColorVariable-525dbfa7.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 cart = require('./cart-77640463.js');
7
- const paypal = require('./paypal-c61ef042.js');
8
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const paypal = require('./paypal-cc3a730b.js');
8
+ const localization = require('./localization-75f4ec05.js');
9
9
  const zonosStore = require('./zonosStore-f5a61112.js');
10
10
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
11
11
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
6
+ const cart = require('./cart-4ef52500.js');
7
7
  const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-31da84b7.js');
8
8
  const zonosStore = require('./zonosStore-f5a61112.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const styles = require('./styles-d1e64fb9.js');
11
- require('./localization-be7afc1b.js');
11
+ require('./localization-75f4ec05.js');
12
12
  require('./handleFetch-954f30e1.js');
13
13
  require('./VarianceTest-bec00ea8.js');
14
14
  require('./isDarkColor-a68abf7a.js');
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const paypal = require('./paypal-c61ef042.js');
8
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const paypal = require('./paypal-cc3a730b.js');
8
+ const localization = require('./localization-75f4ec05.js');
9
9
  const zonosStore = require('./zonosStore-f5a61112.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
12
  const getBorderRadius = require('./getBorderRadius-27a74844.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
14
  const submitGtag = require('./submitGtag-cb4fb332.js');
15
- const isCollectMobileTablet = require('./isCollectMobileTablet-14fb5ab4.js');
15
+ const isCollectMobileTablet = require('./isCollectMobileTablet-92955ce6.js');
16
16
  const classes = require('./classes-b7918f56.js');
17
17
  const ILanguage = require('./ILanguage-98b04442.js');
18
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1ac02803.js');
19
- const placeTestOrder = require('./placeTestOrder-0f7477c8.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-0003992c.js');
19
+ const placeTestOrder = require('./placeTestOrder-13901275.js');
20
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
21
21
  require('./isDarkColor-a68abf7a.js');
22
22
  require('./isContrastColor-d1936a5c.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const isCollectMobileTablet = require('./isCollectMobileTablet-14fb5ab4.js');
8
- const paypal = require('./paypal-c61ef042.js');
9
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const isCollectMobileTablet = require('./isCollectMobileTablet-92955ce6.js');
8
+ const paypal = require('./paypal-cc3a730b.js');
9
+ const localization = require('./localization-75f4ec05.js');
10
10
  const zonosStore = require('./zonosStore-f5a61112.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const localization = require('./localization-75f4ec05.js');
8
8
  const zonosStore = require('./zonosStore-f5a61112.js');
9
9
  const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-be7afc1b.js');
6
+ const localization = require('./localization-75f4ec05.js');
7
7
  const zonosStore = require('./zonosStore-f5a61112.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-be7afc1b.js');
6
+ const localization = require('./localization-75f4ec05.js');
7
7
  const zonosStore = require('./zonosStore-f5a61112.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-a68abf7a.js');
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-be7afc1b.js');
6
+ const localization = require('./localization-75f4ec05.js');
7
7
  const zonosStore = require('./zonosStore-f5a61112.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
- const hasInclusivePrice = require('./hasInclusivePrice-e93c64fd.js');
10
+ const hasInclusivePrice = require('./hasInclusivePrice-4419d03e.js');
11
11
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
12
12
  const TaxId = require('./TaxId-12acedde.js');
13
13
  require('./handleFetch-954f30e1.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
6
  const debounce = require('./debounce-0c75ba33.js');
7
- const localization = require('./localization-be7afc1b.js');
7
+ const localization = require('./localization-75f4ec05.js');
8
8
  const zonosStore = require('./zonosStore-f5a61112.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const localization = require('./localization-be7afc1b.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1ac02803.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const localization = require('./localization-75f4ec05.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-0003992c.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
- const invoice = require('./invoice-211ef96c.js');
10
+ const invoice = require('./invoice-3494b21e.js');
11
11
  const renderFallback = require('./renderFallback-bc20ee20.js');
12
12
  require('./zonosStore-f5a61112.js');
13
13
  require('./VarianceTest-bec00ea8.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 cart = require('./cart-77640463.js');
7
- const paypal = require('./paypal-c61ef042.js');
8
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const paypal = require('./paypal-cc3a730b.js');
8
+ const localization = require('./localization-75f4ec05.js');
9
9
  const zonosStore = require('./zonosStore-f5a61112.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
@@ -15,9 +15,9 @@ const submitGtag = require('./submitGtag-cb4fb332.js');
15
15
  const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
16
16
  const classes = require('./classes-b7918f56.js');
17
17
  const ILanguage = require('./ILanguage-98b04442.js');
18
- const invoice = require('./invoice-211ef96c.js');
19
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1ac02803.js');
20
- const placeTestOrder = require('./placeTestOrder-0f7477c8.js');
18
+ const invoice = require('./invoice-3494b21e.js');
19
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-0003992c.js');
20
+ const placeTestOrder = require('./placeTestOrder-13901275.js');
21
21
  const renderFallback = require('./renderFallback-bc20ee20.js');
22
22
  require('./isDarkColor-a68abf7a.js');
23
23
  require('./isContrastColor-d1936a5c.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const invoice = require('./invoice-211ef96c.js');
8
- const paypal = require('./paypal-c61ef042.js');
9
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const invoice = require('./invoice-3494b21e.js');
8
+ const paypal = require('./paypal-cc3a730b.js');
9
+ const localization = require('./localization-75f4ec05.js');
10
10
  const zonosStore = require('./zonosStore-f5a61112.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-be7afc1b.js');
6
+ const localization = require('./localization-75f4ec05.js');
7
7
  const zonosStore = require('./zonosStore-f5a61112.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-954f30e1.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-77640463.js');
7
- const localization = require('./localization-be7afc1b.js');
6
+ const cart = require('./cart-4ef52500.js');
7
+ const localization = require('./localization-75f4ec05.js');
8
8
  const zonosStore = require('./zonosStore-f5a61112.js');
9
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-1ac02803.js');
9
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-0003992c.js');
10
10
  const getBorderRadius = require('./getBorderRadius-27a74844.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
12
  require('./handleFetch-954f30e1.js');
@@ -35,7 +35,7 @@ export class ZonosAddressForm {
35
35
  }) }), h("zonos-input", { key: '3c055ee2f1fcaf93ebcbd8f11ad6609cd33e9e14', class: "zonos--form-last-name", inputLabel: translate('Last name'), inputValue: lastName, isError: isTextContainsNonLatinChars(lastName), onInputChange: e => this.onInputChange({
36
36
  key: 'name',
37
37
  value: `${firstName} ${e.detail}`,
38
- }) }))), h("div", { key: 'ce30f816d03b497eb4491d2554eb63c0aabf110c', class: "zonos--address" }, h("zonos-text", { key: '304867c5354ac55071c88944a63bba88ea3fb86f', type: "label" }, translate('Address')), h("zonos-input", { key: 'f0efe937603a38761643af1486b53359a19593e5', class: "zonos--form-country", inputLabel: translate('Country'), inputValue: country, isDisabled: true }), h("zonos-input", { key: '8360a4ae65c8963e886a3fb8322e0e539d121142', class: "zonos--form-line1", inputLabel: translate('Address line 1'), inputValue: line1, isError: isTextContainsNonLatinChars(line1), onInputChange: e => this.onInputChange({ key: 'line1', value: e.detail }) }), h("zonos-input", { key: '2c9374917b705c2c9306d3d4d7fc4b4043c2b73b', class: "zonos--form-line2", inputLabel: translate('Address line 2'), inputValue: line2, isError: isTextContainsNonLatinChars(line2), onInputChange: e => this.onInputChange({ key: 'line2', value: e.detail }) }), h("div", { key: 'fd067074070cadba3d895503f35c344ff817fec2', class: "zonos--address-row" }, h("zonos-input", { key: 'a565bee68e2498403df2801eb90005e8cb2d6f44', class: "zonos--form-city", inputLabel: translate('City'), inputValue: city, isError: isTextContainsNonLatinChars(city), onInputChange: e => this.onInputChange({ key: 'city', value: e.detail }) }), h("zonos-input", { key: '89bae75b691aacdd62b624f65eee303bfb3fc811', class: "zonos--form-state", inputLabel: translate('State/Province'), inputValue: state, isError: isTextContainsNonLatinChars(state), onInputChange: e => this.onInputChange({ key: 'state', value: e.detail }) })), h("zonos-input", { key: '9a851b9f449ed135859b7b828bf362168caf76fb', class: "zonos--form-postal-code", inputLabel: translate('Postal code'), inputValue: postal_code, isError: isTextContainsNonLatinChars(postal_code), onInputChange: e => this.onInputChange({ key: 'postal_code', value: e.detail }) }), h("zonos-input", { key: 'a51b8ba1e22d5a12eac9021abe83fdc20f8eb1a6', class: "zonos--form-phone", inputLabel: translate('Phone number'), inputValue: phone, onInputChange: e => this.onInputChange({ key: 'phone', value: e.detail }) })))));
38
+ }) }))), h("div", { key: 'ce30f816d03b497eb4491d2554eb63c0aabf110c', class: "zonos--address" }, h("zonos-text", { key: '304867c5354ac55071c88944a63bba88ea3fb86f', type: "label" }, translate('Address')), h("zonos-input", { key: 'f0efe937603a38761643af1486b53359a19593e5', class: "zonos--form-country", inputLabel: translate('Country'), inputValue: country, isDisabled: true }), h("zonos-input", { key: '8360a4ae65c8963e886a3fb8322e0e539d121142', class: "zonos--form-line1", inputLabel: translate('Address line 1'), inputValue: line1, isError: isTextContainsNonLatinChars(line1), onInputChange: e => this.onInputChange({ key: 'line1', value: e.detail }) }), h("zonos-input", { key: '2c9374917b705c2c9306d3d4d7fc4b4043c2b73b', class: "zonos--form-line2", inputLabel: translate('Address line 2'), inputValue: line2, isError: isTextContainsNonLatinChars(line2), onInputChange: e => this.onInputChange({ key: 'line2', value: e.detail }) }), h("div", { key: 'fd067074070cadba3d895503f35c344ff817fec2', class: "zonos--address-row" }, h("zonos-input", { key: 'a565bee68e2498403df2801eb90005e8cb2d6f44', class: "zonos--form-city", inputLabel: translate('City'), inputValue: city, isError: isTextContainsNonLatinChars(city), onInputChange: e => this.onInputChange({ key: 'city', value: e.detail }) }), this.currentAddress.state && (h("zonos-input", { key: 'c5a14d96cef1d48cc82dcedaef21949a77251843', class: "zonos--form-state", inputLabel: translate('State/Province'), inputValue: state, isError: isTextContainsNonLatinChars(state), onInputChange: e => this.onInputChange({ key: 'state', value: e.detail }) }))), h("zonos-input", { key: 'a3359119c246a906f0c2305207b522324ccb16bf', class: "zonos--form-postal-code", inputLabel: translate('Postal code'), inputValue: postal_code, isError: isTextContainsNonLatinChars(postal_code), onInputChange: e => this.onInputChange({ key: 'postal_code', value: e.detail }) }), h("zonos-input", { key: '0196f951181a52f923ffb7cd5d4395e42b86cd8a', class: "zonos--form-phone", inputLabel: translate('Phone number'), inputValue: phone, onInputChange: e => this.onInputChange({ key: 'phone', value: e.detail }) })))));
39
39
  }
40
40
  static get is() { return "zonos-address-form"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -71,6 +71,9 @@
71
71
  :host .zonos--group::-webkit-scrollbar-thumb:hover {
72
72
  background: #d6d6d6;
73
73
  }
74
+ :host .zonos--group {
75
+ overscroll-behavior: auto;
76
+ }
74
77
  :host .zonos--address-display-group {
75
78
  display: flex;
76
79
  gap: 8px;
@@ -195,6 +195,9 @@ const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelecte
195
195
  }
196
196
  localizationStore.targetCurrency = currencyCode;
197
197
  void getNewLocalization({ isInitializing: isInitializing });
198
+ if (!isInitializing) {
199
+ void getCustomMessages();
200
+ }
198
201
  // Save the country code to session storage for later use
199
202
  window.sessionStorage.setItem('zonos--country', selectedCountryCode);
200
203
  // Update the URL query param with the new country code
@@ -1,5 +1,5 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-5242a58d.js';
2
- import { s as storageStore, l as localizationStore, e as getOverridenZCountry, t as translate, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-0ebc8356.js';
2
+ import { s as storageStore, l as localizationStore, e as getOverridenZCountry, t as translate, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-026da80b.js';
3
3
  import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
4
4
  import { h as handleFetch, l as logError, f as fallbackApiList, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, j as jsonParse } from './handleFetch-a844cac1.js';
5
5
  import { i as isDarkColor } from './isDarkColor-3537021b.js';
@@ -1,4 +1,4 @@
1
- import { l as localizationStore } from './localization-0ebc8356.js';
1
+ import { l as localizationStore } from './localization-026da80b.js';
2
2
 
3
3
  /**
4
4
  * Since the backend and the frontend are using the same keys,
package/dist/esm/index.js CHANGED
@@ -131,7 +131,7 @@ const getZonosQaUrl = () => {
131
131
  return null;
132
132
  }
133
133
  const qaUrl = extractZonosQaUrl(window.location.href);
134
- const cdnUrl = "https://v1.3.253.js.zonos.com";
134
+ const cdnUrl = "https://v1.3.255.js.zonos.com";
135
135
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
136
136
  if (!qaUrl &&
137
137
  (cdnUrl.includes('test.') ||
@@ -379,10 +379,10 @@ const zonosLoadUrl = (() => {
379
379
  return null;
380
380
  })();
381
381
  const startLoadTime = Date.now();
382
- const ZONOS_URL = "https://v1.3.253.js.zonos.com";
383
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.253";
384
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.253";
385
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.253";
382
+ const ZONOS_URL = "https://v1.3.255.js.zonos.com";
383
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.255";
384
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.255";
385
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.255";
386
386
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
387
387
  const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
388
388
  class Zonos {
@@ -400,7 +400,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
400
400
  ? new URLSearchParams(window.location.search).get('iframeLogType')
401
401
  : null;
402
402
  Zonos.isBigCommerce = false;
403
- Zonos.releaseDate = "1775689881541";
403
+ Zonos.releaseDate = "1776282443962";
404
404
  Zonos.isLegacyCheckout = false;
405
405
  Zonos.googleAnalyticId = null;
406
406
  Zonos.googleAnalyticReady = false;
@@ -423,7 +423,7 @@ Zonos.isNpm = true;
423
423
  Zonos.zonosQaUrl = null;
424
424
  Zonos.zonosQaUrlApi = null;
425
425
  Zonos.trackEventLogs = [];
426
- Zonos.version = `v${"1.3.253"}`;
426
+ Zonos.version = `v${"1.3.255"}`;
427
427
  Zonos.modeAlerted = false;
428
428
  Zonos.cartData = null;
429
429
  Zonos.paypal = null;
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-5242a58d.js';
2
- import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-394c9ddb.js';
3
- import { s as storageStore } from './localization-0ebc8356.js';
2
+ import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-f4e43d1a.js';
3
+ import { s as storageStore } from './localization-026da80b.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-5242a58d.js';
2
- import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-394c9ddb.js';
3
- import { s as storageStore } from './localization-0ebc8356.js';
2
+ import { b as stripeStore, G as stripeStoreBuildAddressForPartyCreate, d as cartStore, H as cartStoreUpdateSelectedShippingOption } from './cart-f4e43d1a.js';
3
+ import { s as storageStore } from './localization-026da80b.js';
4
4
  import { h as handleFetch, s as sendErrorLog, l as logError } from './handleFetch-a844cac1.js';
5
5
  import { b as allLogs } from './VarianceTest-572cecf5.js';
6
6
 
@@ -17050,6 +17050,9 @@ const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelecte
17050
17050
  }
17051
17051
  localizationStore.targetCurrency = currencyCode;
17052
17052
  void getNewLocalization({ isInitializing: isInitializing });
17053
+ if (!isInitializing) {
17054
+ void getCustomMessages();
17055
+ }
17053
17056
  // Save the country code to session storage for later use
17054
17057
  window.sessionStorage.setItem('zonos--country', selectedCountryCode);
17055
17058
  // Update the URL query param with the new country code
@@ -1,6 +1,6 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-5242a58d.js';
2
- import { t as trackConversionEvent, y as validateCheckoutSession, b as stripeStore, d as cartStore, v as stripeStoreHandleInventoryCheck, w as storeCreditStoreApplyCredit, x as storeCreditStoreCoversFullAmount, z as storeCreditStoreCreateOrder, r as cartStoreNextStep, h as cartStoreClearCheckoutInterval, F as storeCreditStoreGetEffectiveAmount } from './cart-394c9ddb.js';
3
- import { t as translate, s as storageStore } from './localization-0ebc8356.js';
2
+ import { t as trackConversionEvent, y as validateCheckoutSession, b as stripeStore, d as cartStore, v as stripeStoreHandleInventoryCheck, w as storeCreditStoreApplyCredit, x as storeCreditStoreCoversFullAmount, z as storeCreditStoreCreateOrder, r as cartStoreNextStep, h as cartStoreClearCheckoutInterval, F as storeCreditStoreGetEffectiveAmount } from './cart-f4e43d1a.js';
3
+ import { t as translate, s as storageStore } from './localization-026da80b.js';
4
4
  import { h as handleFetch, l as logError, j as jsonParse } from './handleFetch-a844cac1.js';
5
5
  import { i as isContrastColor } from './isContrastColor-c17e83c9.js';
6
6
  import { l as log } from './VarianceTest-572cecf5.js';
@@ -1,5 +1,5 @@
1
- import { d as cartStore } from './cart-394c9ddb.js';
2
- import { s as storageStore } from './localization-0ebc8356.js';
1
+ import { d as cartStore } from './cart-f4e43d1a.js';
2
+ import { s as storageStore } from './localization-026da80b.js';
3
3
  import { l as logError, h as handleFetch } from './handleFetch-a844cac1.js';
4
4
 
5
5
  const placeTestOrder = async () => {