@zonos/elements 1.3.19 → 1.3.20-alpha.1

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 (146) hide show
  1. package/dist/cjs/{cart-72b0bccc.js → cart-921f0a47.js} +16 -10
  2. package/dist/cjs/{getBorderRadius-bcb309a8.js → getBorderRadius-9ad763e1.js} +1 -1
  3. package/dist/cjs/index.cjs.js +3 -3
  4. package/dist/cjs/{isDarkColor-b0393089.js → isDarkColor-3d021ecc.js} +1 -1
  5. package/dist/cjs/{submitGtag-b0c8de90.js → submitGtag-71790233.js} +2 -2
  6. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  7. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  8. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  10. package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-cart-items_11.cjs.entry.js +55 -29
  12. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
  13. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  14. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  25. package/dist/cjs/{zonosStore-7c6205ca.js → zonosStore-1063de5e.js} +4 -0
  26. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -0
  27. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +40 -23
  28. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +2 -2
  29. package/dist/collection/components/store/zonosStore.js +4 -0
  30. package/dist/collection/components/utils/checkout/sortServiceLevelOptions.js +9 -0
  31. package/dist/collection/components/utils/hello/setZCountryUrlParam.js +14 -7
  32. package/dist/esm/{cart-1a37e002.js → cart-d3c98a81.js} +16 -10
  33. package/dist/esm/{getBorderRadius-d244b4b1.js → getBorderRadius-393bf797.js} +1 -1
  34. package/dist/esm/index.js +3 -3
  35. package/dist/esm/{isDarkColor-39a36e82.js → isDarkColor-454ec221.js} +1 -1
  36. package/dist/esm/{submitGtag-754935b4.js → submitGtag-acdb8bd7.js} +2 -2
  37. package/dist/esm/zonos-address_8.entry.js +4 -4
  38. package/dist/esm/zonos-badge_2.entry.js +1 -1
  39. package/dist/esm/zonos-banner.entry.js +1 -1
  40. package/dist/esm/zonos-button_3.entry.js +3 -3
  41. package/dist/esm/zonos-card_2.entry.js +4 -4
  42. package/dist/esm/zonos-cart-items_11.entry.js +55 -29
  43. package/dist/esm/zonos-checkout.entry.js +5 -5
  44. package/dist/esm/zonos-controller.entry.js +4 -4
  45. package/dist/esm/zonos-country-flag.entry.js +4 -4
  46. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  47. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  48. package/dist/esm/zonos-hello.entry.js +4 -4
  49. package/dist/esm/zonos-input.entry.js +2 -2
  50. package/dist/esm/zonos-logo.entry.js +1 -1
  51. package/dist/esm/zonos-notification.entry.js +1 -1
  52. package/dist/esm/zonos-payment.entry.js +4 -4
  53. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  54. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  55. package/dist/esm/zonos-text.entry.js +1 -1
  56. package/dist/esm/{zonosStore-32e33a45.js → zonosStore-0ce57f37.js} +4 -0
  57. package/dist/esm-es5/{cart-1a37e002.js → cart-d3c98a81.js} +1 -1
  58. package/dist/esm-es5/{getBorderRadius-d244b4b1.js → getBorderRadius-393bf797.js} +1 -1
  59. package/dist/esm-es5/index.js +1 -1
  60. package/dist/esm-es5/{isDarkColor-39a36e82.js → isDarkColor-454ec221.js} +1 -1
  61. package/dist/esm-es5/{submitGtag-754935b4.js → submitGtag-acdb8bd7.js} +1 -1
  62. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  63. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  64. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  65. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  66. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  67. package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -1
  68. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  69. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  70. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  71. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  72. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  73. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  74. package/dist/esm-es5/zonos-input.entry.js +1 -1
  75. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  76. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  77. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  78. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  79. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  80. package/dist/esm-es5/zonos-text.entry.js +1 -1
  81. package/dist/esm-es5/{zonosStore-32e33a45.js → zonosStore-0ce57f37.js} +1 -1
  82. package/dist/scripts/index.d.ts +6 -0
  83. package/dist/scripts/index.js +1 -1
  84. package/dist/scripts/loadZonos.js +1 -1
  85. package/dist/scripts/zonos.js +1 -1
  86. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +1 -0
  87. package/dist/types/components/utils/checkout/sortServiceLevelOptions.d.ts +5 -0
  88. package/dist/types/types/hello/HelloConfig.d.ts +5 -0
  89. package/dist/zonos-elements/index.esm.js +1 -1
  90. package/dist/zonos-elements/{p-483e1724.entry.js → p-0a4f341b.entry.js} +1 -1
  91. package/dist/zonos-elements/{p-9c242e4b.system.entry.js → p-0e6fe6c8.system.entry.js} +1 -1
  92. package/dist/zonos-elements/{p-ed3524ae.system.entry.js → p-1406d696.system.entry.js} +1 -1
  93. package/dist/zonos-elements/{p-de9e610d.system.entry.js → p-14bea5e6.system.entry.js} +1 -1
  94. package/dist/zonos-elements/{p-a37796e1.entry.js → p-14da9ed0.entry.js} +1 -1
  95. package/dist/zonos-elements/{p-6449c92b.js → p-15c903ff.js} +1 -1
  96. package/dist/zonos-elements/{p-2e02a76f.system.entry.js → p-23393abc.system.entry.js} +1 -1
  97. package/dist/zonos-elements/{p-80442f16.entry.js → p-2c57097c.entry.js} +1 -1
  98. package/dist/zonos-elements/{p-2f759d82.js → p-2d3e3735.js} +1 -1
  99. package/dist/zonos-elements/{p-1b9442f6.system.js → p-3115e7a7.system.js} +1 -1
  100. package/dist/zonos-elements/{p-2ced091f.entry.js → p-3668f365.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-58fc8ec1.entry.js → p-3c97c44d.entry.js} +1 -1
  102. package/dist/zonos-elements/{p-0878369a.entry.js → p-3edcbb56.entry.js} +1 -1
  103. package/dist/zonos-elements/{p-2800c274.system.entry.js → p-42a7a726.system.entry.js} +1 -1
  104. package/dist/zonos-elements/{p-0d1c06d7.entry.js → p-474cb030.entry.js} +1 -1
  105. package/dist/zonos-elements/{p-c87c76d4.entry.js → p-5968c6ad.entry.js} +1 -1
  106. package/dist/zonos-elements/{p-bd9b2165.entry.js → p-59913049.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-281b8bdf.entry.js → p-67373528.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-6eda6199.system.entry.js → p-72191005.system.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-9389cc42.system.entry.js → p-75d52d98.system.entry.js} +1 -1
  110. package/dist/zonos-elements/p-824e1e83.system.js +1 -0
  111. package/dist/zonos-elements/{p-58be220f.system.js → p-8f3f1a1b.system.js} +1 -1
  112. package/dist/zonos-elements/p-957301d0.system.entry.js +1 -0
  113. package/dist/zonos-elements/{p-a47382ae.system.entry.js → p-971e73c3.system.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-c195e980.system.entry.js → p-9da3b3b3.system.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-bdfa3705.system.entry.js → p-9e4b35d4.system.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-4594a125.js → p-b13e630b.js} +1 -1
  117. package/dist/zonos-elements/{p-7b2d367b.entry.js → p-b202a015.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-6746455b.system.entry.js → p-b925e897.system.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-9e8d38f7.system.entry.js → p-b9ed8a66.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-f9a42a3c.system.entry.js → p-bfe6f84f.system.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-8cd6633a.system.entry.js → p-c15b36c1.system.entry.js} +1 -1
  122. package/dist/zonos-elements/p-ce099910.system.js +1 -0
  123. package/dist/zonos-elements/{p-0d5b5bcc.entry.js → p-ce4c48f6.entry.js} +1 -1
  124. package/dist/zonos-elements/{p-bbb84165.system.entry.js → p-d03e101b.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-1491717a.entry.js → p-d18990b0.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-4f72bfee.system.entry.js → p-d1b8dcd8.system.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-8c0b4a61.js → p-d5feef4c.js} +1 -1
  128. package/dist/zonos-elements/p-d79e83bd.entry.js +1 -0
  129. package/dist/zonos-elements/{p-597b75f3.entry.js → p-dd02f2eb.entry.js} +1 -1
  130. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  131. package/dist/zonos-elements/{p-693b9985.js → p-eb6ddb2f.js} +1 -1
  132. package/dist/zonos-elements/{p-afb89d65.entry.js → p-eb765228.entry.js} +1 -1
  133. package/dist/zonos-elements/{p-d9011df9.entry.js → p-ebb36e4d.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-0d0f9694.system.entry.js → p-f03b33ec.system.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-62ecfbcc.system.js → p-f0afca6c.system.js} +1 -1
  136. package/dist/zonos-elements/p-f16b80a3.system.js +1 -0
  137. package/dist/zonos-elements/{p-3ba8838a.entry.js → p-f3a6de62.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-2af19b63.entry.js → p-f4c921f8.entry.js} +1 -1
  139. package/dist/zonos-elements/{p-d7a939df.system.entry.js → p-fc2f3e2a.system.entry.js} +1 -1
  140. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  141. package/package.json +1 -1
  142. package/dist/zonos-elements/p-14ff42fe.system.entry.js +0 -1
  143. package/dist/zonos-elements/p-3db250f7.system.js +0 -1
  144. package/dist/zonos-elements/p-58e730b6.system.js +0 -1
  145. package/dist/zonos-elements/p-7487ef47.entry.js +0 -1
  146. package/dist/zonos-elements/p-f5b14bab.system.js +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-7c6205ca.js');
3
+ const zonosStore = require('./zonosStore-1063de5e.js');
4
4
  const logError = require('./logError-4e2f2020.js');
5
- const isDarkColor = require('./isDarkColor-b0393089.js');
6
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
5
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
6
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
7
7
 
8
8
  const stringsArabic = {
9
9
  '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
@@ -6008,13 +6008,19 @@ const setZCountryUrlParam = (selectedCountryCode) => {
6008
6008
  return;
6009
6009
  }
6010
6010
  const urlSearchParams = new URLSearchParams(window.location.search);
6011
- urlSearchParams.set('zCountry', selectedCountryCode);
6012
- const newUrl = `${window.location.pathname}?${urlSearchParams.toString()}`;
6013
- /**
6014
- * Setting the state to null in window.history.replaceState can cause issues with rendering when using next/link and pressing the back button.
6015
- * @ref https://github.com/vercel/next.js/issues/33233#issuecomment-1052349396
6016
- **/
6017
- window.history.replaceState(window.history.state, document.title, newUrl);
6011
+ // Only append zCountry if it's already in the URL or the countryOverrideBehavior is URL_PARAM
6012
+ const shouldAppendParam = urlSearchParams.has('zCountry') ||
6013
+ zonosStore.zonosStore.helloSettings.countryOverrideBehavior === 'URL_PARAM';
6014
+ if (shouldAppendParam) {
6015
+ // Only append zCountry if it's not already in the URL
6016
+ urlSearchParams.set('zCountry', selectedCountryCode);
6017
+ const newUrl = `${window.location.pathname}?${urlSearchParams.toString()}`;
6018
+ /**
6019
+ * Setting the state to null in window.history.replaceState can cause issues with rendering when using next/link and pressing the back button.
6020
+ * @ref https://github.com/vercel/next.js/issues/33233#issuecomment-1052349396
6021
+ **/
6022
+ window.history.replaceState(window.history.state, document.title, newUrl);
6023
+ }
6018
6024
  };
6019
6025
 
6020
6026
  const { onChange: localizationStoreOnUpdate, state: localizationStore } = zonosStore.createStore({
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-7c6205ca.js');
3
+ const zonosStore = require('./zonosStore-1063de5e.js');
4
4
 
5
5
  /**
6
6
  * Get the border radius for the elements based on the style
@@ -236,8 +236,8 @@ const zonosLoadUrl = (() => {
236
236
  }
237
237
  return null;
238
238
  })();
239
- const ZONOS_URL = zonosLoadUrl || "https://v1.3.19.js.zonos.com";
240
- const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.19";
239
+ const ZONOS_URL = zonosLoadUrl || "https://v1.3.20-alpha.1.js.zonos.com";
240
+ const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.20-alpha.1";
241
241
  const INTER_FONT_URL = 'https://rsms.me';
242
242
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
243
243
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -257,7 +257,7 @@ Zonos.isBigCommerce = false;
257
257
  Zonos.isNpm = true;
258
258
  Zonos.internationalHideSelector = '';
259
259
  Zonos.zonosQaUrl = null;
260
- Zonos.version = `v${"1.3.19"}`;
260
+ Zonos.version = `v${"1.3.20-alpha.1"}`;
261
261
  Zonos.modeAlerted = false;
262
262
  Zonos.tempCartData = null;
263
263
  Zonos.getCurrentTimestamp = () => new Date().getTime();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-7c6205ca.js');
3
+ const zonosStore = require('./zonosStore-1063de5e.js');
4
4
 
5
5
  var tinycolor$1 = {exports: {}};
6
6
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-72b0bccc.js');
4
- const zonosStore = require('./zonosStore-7c6205ca.js');
3
+ const cart = require('./cart-921f0a47.js');
4
+ const zonosStore = require('./zonosStore-1063de5e.js');
5
5
  const logError = require('./logError-4e2f2020.js');
6
6
 
7
7
  const trackConversionEvent = async (eventName, metadata) => {
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
6
+ const cart = require('./cart-921f0a47.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
8
  const logError = require('./logError-4e2f2020.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
10
- const zonosStore = require('./zonosStore-7c6205ca.js');
10
+ const zonosStore = require('./zonosStore-1063de5e.js');
11
11
  const classes = require('./classes-b7918f56.js');
12
12
  const RemoveIcon$1 = require('./RemoveIcon-081ac073.js');
13
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
14
- const isDarkColor = require('./isDarkColor-b0393089.js');
13
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
14
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
15
15
 
16
16
  const zonosAddressCss = ".sc-zonos-address-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-address-h *.sc-zonos-address{font-family:var(--font-family, Inter), Inter}.sc-zonos-address-h img.sc-zonos-address{max-width:100%}.sc-zonos-address-h dl.sc-zonos-address,.sc-zonos-address-h dd.sc-zonos-address,.sc-zonos-address-h h1.sc-zonos-address,.sc-zonos-address-h h2.sc-zonos-address,.sc-zonos-address-h h3.sc-zonos-address,.sc-zonos-address-h h4.sc-zonos-address,.sc-zonos-address-h h5.sc-zonos-address,.sc-zonos-address-h h6.sc-zonos-address,.sc-zonos-address-h hr.sc-zonos-address,.sc-zonos-address-h figure.sc-zonos-address,.sc-zonos-address-h p.sc-zonos-address,.sc-zonos-address-h pre.sc-zonos-address{margin:0}.sc-zonos-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-address-h .zonos--title.sc-zonos-address{margin-bottom:16px}.sc-zonos-address-h zonos-banner.sc-zonos-address{margin-top:8px}";
17
17
  const ZonosAddressStyle0 = zonosAddressCss;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosBadgeCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosBannerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
8
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
9
9
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
10
- const isDarkColor = require('./isDarkColor-b0393089.js');
10
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
11
11
 
12
12
  /**
13
13
  * Get theme for button text based on background color
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-72b0bccc.js');
8
+ const cart = require('./cart-921f0a47.js');
9
9
  const ILanguage = require('./ILanguage-d247b45b.js');
10
10
  require('./logError-4e2f2020.js');
11
- require('./isDarkColor-b0393089.js');
12
- require('./getBorderRadius-bcb309a8.js');
11
+ require('./isDarkColor-3d021ecc.js');
12
+ require('./getBorderRadius-9ad763e1.js');
13
13
 
14
14
  const zonosCardCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos-elements-radius-6);padding:var(--spacing, 24px);text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
15
15
  const ZonosCardStyle0 = zonosCardCss;
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
6
+ const cart = require('./cart-921f0a47.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const zonosStore = require('./zonosStore-7c6205ca.js');
9
- const submitGtag = require('./submitGtag-b0c8de90.js');
10
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
8
+ const zonosStore = require('./zonosStore-1063de5e.js');
9
+ const submitGtag = require('./submitGtag-71790233.js');
10
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
11
11
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
12
12
  const ILanguage = require('./ILanguage-d247b45b.js');
13
- const isDarkColor = require('./isDarkColor-b0393089.js');
13
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
14
14
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
15
15
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
16
16
  require('./logError-4e2f2020.js');
@@ -357,7 +357,7 @@ const ZonosIcon = `<svg width="105" height="29" viewBox="0 0 105 29" fill="none"
357
357
  </svg>
358
358
  `;
359
359
 
360
- const zonosCheckoutFooterCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{position:absolute;bottom:-50px;left:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--checkout-footer{width:calc(90vw - 22px);gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:24px}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo a{line-height:0}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper a{text-decoration:none}:host .zonos--checkout-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{gap:4px}}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:10005;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar{width:10px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog.zonos--checkout-footer-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host(.mobile){-ms-flex-direction:column;flex-direction:column;gap:32px;background:var(--zonos-elements-gray-0);position:relative;padding-top:24px;bottom:0}:host(.mobile) .zonos--checkout-footer{-ms-flex-direction:column;flex-direction:column;gap:4px}:host(.mobile) .zonos--checkout-locale-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-icon-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-dialog{position:fixed;left:0;right:0;bottom:0;-webkit-transform-origin:bottom center;transform-origin:bottom center;width:100vw}";
360
+ const zonosCheckoutFooterCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{position:absolute;bottom:-50px;left:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:2}:host .zonos--checkout-footer{width:calc(90vw - 22px);gap:16px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:12px;padding-left:0;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:24px}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-align:center;align-items:center}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper .zonos--checkout-footer-logo a{line-height:0}:host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper a{text-decoration:none}:host .zonos--checkout-footer zonos-button button.outline{outline:1px solid var(--zonos-elements-gray-800)}:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px;position:relative}@media (max-width: 400px){:host .zonos--checkout-footer .zonos--checkout-locale-wrapper{gap:4px}}:host .zonos--checkout-footer .zonos--checkout-footer-dialog{position:absolute;bottom:36px;left:var(--language-dialog-left);background:var(--zonos-elements-surface-color);-webkit-box-shadow:var(--zonos-elements-v3-shadow-xl);box-shadow:var(--zonos-elements-v3-shadow-xl);border-radius:var(--zonos-elements-radius-12);width:360px;max-width:100vw;max-height:500px;z-index:10005;overflow:auto;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:bottom left;transform-origin:bottom left;opacity:0;-webkit-transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar{width:10px}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--checkout-footer .zonos--checkout-footer-dialog::-webkit-scrollbar-track{border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--checkout-footer .zonos--checkout-footer-dialog.zonos--checkout-footer-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host(.mobile){-ms-flex-direction:column;flex-direction:column;gap:32px;background:var(--zonos-elements-gray-0);position:relative;padding-top:24px;bottom:0}:host(.mobile) .zonos--checkout-footer{-ms-flex-direction:column;flex-direction:column;gap:4px}:host(.mobile) .zonos--checkout-locale-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-icon-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--checkout-footer-dialog{position:fixed;left:0;right:0;bottom:0;-webkit-transform-origin:bottom center;transform-origin:bottom center;width:100vw}";
361
361
  const ZonosCheckoutFooterStyle0 = zonosCheckoutFooterCss;
362
362
 
363
363
  const ZonosCheckoutFooter = class {
@@ -887,6 +887,16 @@ const ZonosReview = class {
887
887
  };
888
888
  ZonosReview.style = ZonosReviewStyle0;
889
889
 
890
+ /**
891
+ * Sorts service levels with lower cost first
892
+ */
893
+ const sortServiceLevelOptions = (serviceLevels) => {
894
+ const sortedServiceLevels = serviceLevels.sort((a, b) => {
895
+ return a.amount - b.amount;
896
+ });
897
+ return sortedServiceLevels;
898
+ };
899
+
890
900
  const zonosShippingCss = ".sc-zonos-shipping-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-shipping-h *.sc-zonos-shipping{font-family:var(--font-family, Inter), Inter}.sc-zonos-shipping-h img.sc-zonos-shipping{max-width:100%}.sc-zonos-shipping-h dl.sc-zonos-shipping,.sc-zonos-shipping-h dd.sc-zonos-shipping,.sc-zonos-shipping-h h1.sc-zonos-shipping,.sc-zonos-shipping-h h2.sc-zonos-shipping,.sc-zonos-shipping-h h3.sc-zonos-shipping,.sc-zonos-shipping-h h4.sc-zonos-shipping,.sc-zonos-shipping-h h5.sc-zonos-shipping,.sc-zonos-shipping-h h6.sc-zonos-shipping,.sc-zonos-shipping-h hr.sc-zonos-shipping,.sc-zonos-shipping-h figure.sc-zonos-shipping,.sc-zonos-shipping-h p.sc-zonos-shipping,.sc-zonos-shipping-h pre.sc-zonos-shipping{margin:0}.sc-zonos-shipping-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-shipping-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-shipping-h .zonos--title.sc-zonos-shipping{margin-bottom:24px}.sc-zonos-shipping-h .zonos--shipping-method-title.sc-zonos-shipping{margin-bottom:16px}.sc-zonos-shipping-h .zonos-shipping-rich-radio.sc-zonos-shipping{margin-bottom:24px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping{margin-bottom:20px;overflow:auto;padding:5px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar{width:10px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-shipping-h .zonos--error-banner.sc-zonos-shipping{margin-bottom:16px}.sc-zonos-shipping-h zonos-button.sc-zonos-shipping{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:12px;background:var(--primary-color, var(--zonos-elements-gray-0))}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping zonos-button.sc-zonos-shipping{width:100%}.sc-zonos-shipping-h zonos-banner.sc-zonos-shipping{margin-top:24px}";
891
901
  const ZonosShippingStyle0 = zonosShippingCss;
892
902
 
@@ -935,28 +945,35 @@ const ZonosShipping = class {
935
945
  };
936
946
  this.initServiceLevels = () => {
937
947
  var _a;
938
- this.serviceLevels =
939
- ((_a = cart.cartStore.shippingData) === null || _a === void 0 ? void 0 : _a.flatMap((item) => {
940
- var _a, _b;
941
- const { expectedDate, maxTransit, minTransit } = cart.cartStoreGetShippingTransitInfo(item);
942
- const sublabel = expectedDate
943
- ? `${cart.translate('Expected delivery')} ${expectedDate}`
944
- : '';
945
- const caption = minTransit && maxTransit
946
- ? `(${minTransit}-${maxTransit} ${cart.translate('business days')})`
947
- : '';
948
- const shippingAmount = ((_b = (_a = cart.cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; })) === null || _b === void 0 ? void 0 : _b.subtotals.shipping) || 0;
949
- return {
950
- caption,
951
- label: item.displayName,
952
- price: formatCurrency({
953
- amount: shippingAmount,
954
- currency: cart.cartStore.currency,
955
- }),
956
- sublabel,
957
- value: item.id,
958
- };
959
- })) || [];
948
+ const serviceLevels = ((_a = cart.cartStore.shippingData) === null || _a === void 0 ? void 0 : _a.map((item) => {
949
+ var _a;
950
+ const { expectedDate, maxTransit, minTransit } = cart.cartStoreGetShippingTransitInfo(item);
951
+ const sublabel = expectedDate
952
+ ? `${cart.translate('Expected delivery')} ${expectedDate}`
953
+ : '';
954
+ const caption = minTransit && maxTransit
955
+ ? `(${minTransit}-${maxTransit} ${cart.translate('business days')})`
956
+ : '';
957
+ const foundShipmentRating = (_a = cart.cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
958
+ if (!foundShipmentRating) {
959
+ // exclude shipping method if there is no matching landed cost data
960
+ return null;
961
+ }
962
+ const shippingAmount = foundShipmentRating.subtotals.shipping;
963
+ return {
964
+ amount: shippingAmount,
965
+ caption,
966
+ label: item.displayName,
967
+ price: formatCurrency({
968
+ amount: shippingAmount,
969
+ currency: cart.cartStore.currency,
970
+ }),
971
+ sublabel,
972
+ value: item.id,
973
+ };
974
+ }).filter(Boolean)) || [];
975
+ // sort service level by price
976
+ this.serviceLevels = sortServiceLevelOptions(serviceLevels);
960
977
  };
961
978
  this.continueLoading = false;
962
979
  this.submitBtnColor = undefined;
@@ -970,7 +987,16 @@ const ZonosShipping = class {
970
987
  this.initServiceLevels();
971
988
  const selectedServiceLevel = this.serviceLevels.find(item => { var _a; return item.value === ((_a = cart.cartStore.selectedShippingOption) === null || _a === void 0 ? void 0 : _a.id); }) || null;
972
989
  if (selectedServiceLevel) {
990
+ // keep the selected shipping method
973
991
  this.selectedShippingMethod = selectedServiceLevel;
992
+ return;
993
+ }
994
+ const firstServiceLevel = this.serviceLevels.find(Boolean);
995
+ if (firstServiceLevel) {
996
+ // preselect the first shipping method
997
+ void this.handleRadioSelected({
998
+ detail: firstServiceLevel,
999
+ });
974
1000
  }
975
1001
  }
976
1002
  render() {
@@ -979,7 +1005,7 @@ const ZonosShipping = class {
979
1005
  if (this.showErrorBanner) {
980
1006
  this.showErrorBanner = !this.handleValidate();
981
1007
  }
982
- return (index.h(index.Host, { key: '032c917dd5510a6a5801f0bf86a84bcf4096759e', class: "zonos--shipping zonos--elements" }, index.h("div", { key: 'b5052414ae56dc46908e53a1676acf96701bafa8', class: "zonos--group" }, index.h("zonos-text", { key: '41bb421c0fc620f8373be5453e872e83ad19150e', class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (index.h("zonos-banner", { key: '4b0119b9c1991ab31c15220ed26f0eac18c7229e', class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { key: '61ea64f33b2b4bd54c4f2c4d273bac9e13d67040', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("zonos-banner", { bannerTitle: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (index.h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), index.h("div", { key: '1908b7445ef7158402882265af8a357f48096937', class: "zonos--group-btn" }, index.h("zonos-button", { key: 'b73ca7298b5c020c237703e4ce1f9b877cb96605', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
1008
+ return (index.h(index.Host, { key: '7d55ffefe3cb926587a9b2d6617d732b52cf1a82', class: "zonos--shipping zonos--elements" }, index.h("div", { key: 'dfe3d7d7e0be1857a428c7c3dff5a60f45e2c843', class: "zonos--group" }, index.h("zonos-text", { key: 'dccf7b24862e88ee3ab8914b04a4ee02f02324fb', class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (index.h("zonos-banner", { key: 'c343522911e886a2365b795a9b95b17acbfa59c8', class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { key: '83c873c95e5b7466cfba997a4385ea55771f2571', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("zonos-banner", { bannerTitle: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (index.h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), index.h("div", { key: 'c7dd64a8d84fa04629010d20010e89ea51c3b634', class: "zonos--group-btn" }, index.h("zonos-button", { key: '8d5ec0f9896be564ab659affd578939eff1c62dc', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
983
1009
  // use primary type when on mobile mode
984
1010
  variant: this.submitBtnType }, cart.translate('Go to payment'))))));
985
1011
  }
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
7
- const zonosStore = require('./zonosStore-7c6205ca.js');
8
- const submitGtag = require('./submitGtag-b0c8de90.js');
6
+ const cart = require('./cart-921f0a47.js');
7
+ const zonosStore = require('./zonosStore-1063de5e.js');
8
+ const submitGtag = require('./submitGtag-71790233.js');
9
9
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
10
10
  const logError = require('./logError-4e2f2020.js');
11
11
  const classes = require('./classes-b7918f56.js');
12
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
13
- const isDarkColor = require('./isDarkColor-b0393089.js');
12
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
13
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
14
14
  const RemoveIcon = require('./RemoveIcon-081ac073.js');
15
15
 
16
16
  /**
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
7
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const cart = require('./cart-921f0a47.js');
7
+ const zonosStore = require('./zonosStore-1063de5e.js');
8
8
  const logError = require('./logError-4e2f2020.js');
9
- require('./isDarkColor-b0393089.js');
10
- require('./getBorderRadius-bcb309a8.js');
9
+ require('./isDarkColor-3d021ecc.js');
10
+ require('./getBorderRadius-9ad763e1.js');
11
11
 
12
12
  const getZonosSettings = async () => {
13
13
  const url = `${"https://v1.route.js.zonos.com"}/api/zonos-elements/zonos-settings`;
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
7
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const cart = require('./cart-921f0a47.js');
7
+ const zonosStore = require('./zonosStore-1063de5e.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./logError-4e2f2020.js');
10
- require('./isDarkColor-b0393089.js');
11
- require('./getBorderRadius-bcb309a8.js');
10
+ require('./isDarkColor-3d021ecc.js');
11
+ require('./getBorderRadius-9ad763e1.js');
12
12
 
13
13
  const zonosCountryFlagCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
14
14
  const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
7
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const cart = require('./cart-921f0a47.js');
7
+ const zonosStore = require('./zonosStore-1063de5e.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
- const isDarkColor = require('./isDarkColor-b0393089.js');
9
+ const isDarkColor = require('./isDarkColor-3d021ecc.js');
10
10
  const ILanguage = require('./ILanguage-d247b45b.js');
11
11
  require('./logError-4e2f2020.js');
12
- require('./getBorderRadius-bcb309a8.js');
12
+ require('./getBorderRadius-9ad763e1.js');
13
13
 
14
14
  /**
15
15
  * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
7
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const cart = require('./cart-921f0a47.js');
7
+ const zonosStore = require('./zonosStore-1063de5e.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
11
  require('./logError-4e2f2020.js');
12
- require('./isDarkColor-b0393089.js');
13
- require('./getBorderRadius-bcb309a8.js');
12
+ require('./isDarkColor-3d021ecc.js');
13
+ require('./getBorderRadius-9ad763e1.js');
14
14
 
15
15
  const getHasMoreSpaceAbove = (ref) => {
16
16
  const componentRect = ref.getBoundingClientRect();
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
7
- const cart = require('./cart-72b0bccc.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
+ const cart = require('./cart-921f0a47.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const logError = require('./logError-4e2f2020.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
11
- require('./isDarkColor-b0393089.js');
12
- require('./getBorderRadius-bcb309a8.js');
11
+ require('./isDarkColor-3d021ecc.js');
12
+ require('./getBorderRadius-9ad763e1.js');
13
13
 
14
14
  var root = zonosStore._root;
15
15
 
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
8
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
9
9
 
10
10
  const zonosInputCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
11
11
  const ZonosInputStyle0 = zonosInputCss;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosLogoCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosNotificationCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const cart = require('./cart-72b0bccc.js');
6
+ const cart = require('./cart-921f0a47.js');
7
7
  const logError = require('./logError-4e2f2020.js');
8
- require('./zonosStore-7c6205ca.js');
9
- require('./isDarkColor-b0393089.js');
10
- require('./getBorderRadius-bcb309a8.js');
8
+ require('./zonosStore-1063de5e.js');
9
+ require('./isDarkColor-3d021ecc.js');
10
+ require('./getBorderRadius-9ad763e1.js');
11
11
 
12
12
  const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";
13
13
  const ZonosPaymentStyle0 = zonosPaymentCss;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-bcb309a8.js');
8
+ const getBorderRadius = require('./getBorderRadius-9ad763e1.js');
9
9
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
10
10
 
11
11
  const zonosShippingRichRadioCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -49,7 +49,7 @@ const ZonosShippingRichRadio = class {
49
49
  }
50
50
  render() {
51
51
  var _a;
52
- return (index.h(index.Host, { key: '14a3885f1e1513e9987cb27217cdb8722eab55fa', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStore.zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
52
+ return (index.h(index.Host, { key: '48381df130f6021b73c543c7244a71e7b1e8cd05', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStore.zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
53
53
  var _a;
54
54
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
55
55
  return (index.h("div", { "aria-hidden": "true", class: classes.classes([
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b071017b.js');
6
- const zonosStore = require('./zonosStore-7c6205ca.js');
6
+ const zonosStore = require('./zonosStore-1063de5e.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
9
9
 
@@ -2805,6 +2805,10 @@ const { reset, state: zonosStore } = createStore(() => ({
2805
2805
  helloSettings: {
2806
2806
  anchorElementSelector: '',
2807
2807
  cartUrlPattern: '',
2808
+ /**
2809
+ * @TODO Default to URL_PARAM for now, and switch SESSION later when we have API save this info, and we have the ability to update setting of merchant store without having them do it.
2810
+ */
2811
+ countryOverrideBehavior: 'URL_PARAM',
2808
2812
  currencyBehavior: 'ENABLED',
2809
2813
  currencyElementSelector: '.money',
2810
2814
  dutyTaxEstimationBehavior: 'ENABLED',
@@ -47,6 +47,7 @@
47
47
  display: flex;
48
48
  justify-content: space-between;
49
49
  padding: 12px;
50
+ padding-left: 0;
50
51
  align-items: center;
51
52
  }
52
53
  :host .zonos--checkout-footer .zonos--checkout-footer-icon-wrapper {