@zonos/elements 1.3.123 → 1.3.125

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 (174) hide show
  1. package/dist/cjs/{CheckoutConfig-00c7333a.js → CheckoutConfig-8e3cdcb3.js} +1 -1
  2. package/dist/cjs/{cart-d2676914.js → cart-7e5608b4.js} +70 -2
  3. package/dist/cjs/{handleFetch-83c97d08.js → handleFetch-fa0ce321.js} +5 -1
  4. package/dist/cjs/index.cjs.js +9 -9
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{paypal-617669c3.js → paypal-4c479f19.js} +2 -2
  7. package/dist/cjs/styles-d1e64fb9.js +16 -0
  8. package/dist/cjs/zonos-address_7.cjs.entry.js +10 -4
  9. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -14
  10. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +21 -4
  11. package/dist/cjs/zonos-checkout.cjs.entry.js +4 -4
  12. package/dist/cjs/zonos-controller.cjs.entry.js +8 -6
  13. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-country-select_4.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-elements.cjs.js +1 -1
  16. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
  20. package/dist/cjs/zonos-text.cjs.entry.js +7 -3
  21. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
  22. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +20 -2
  23. package/dist/collection/components/common/zonos-text/zonos-text.css +1 -1
  24. package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
  25. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  26. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +1 -1
  27. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  28. package/dist/collection/components/main/zonos-controller.js +6 -4
  29. package/dist/collection/components/store/checkout/cart.js +1 -1
  30. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  31. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  32. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  33. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  34. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  35. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  40. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  48. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  49. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  50. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +4 -0
  51. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +45 -2
  52. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  53. package/dist/collection/components/utils/handleFetch.js +5 -1
  54. package/dist/collection/styles/stripe/addressRuleStyle.js +9 -0
  55. package/dist/esm/{CheckoutConfig-5cde3ee4.js → CheckoutConfig-101b97e6.js} +1 -1
  56. package/dist/esm/{cart-5346e4d9.js → cart-65c7d5f1.js} +70 -2
  57. package/dist/esm/{handleFetch-7424d200.js → handleFetch-da1a9c5d.js} +5 -1
  58. package/dist/esm/index.js +10 -10
  59. package/dist/esm/loader.js +1 -1
  60. package/dist/esm/{paypal-db99e15a.js → paypal-cd96efa7.js} +2 -2
  61. package/dist/esm/styles-6fc2fad9.js +14 -0
  62. package/dist/esm/zonos-address_7.entry.js +10 -4
  63. package/dist/esm/zonos-button_3.entry.js +1 -13
  64. package/dist/esm/zonos-cart-items_13.entry.js +21 -4
  65. package/dist/esm/zonos-checkout.entry.js +4 -4
  66. package/dist/esm/zonos-controller.entry.js +8 -6
  67. package/dist/esm/zonos-country-flag.entry.js +2 -2
  68. package/dist/esm/zonos-country-select_4.entry.js +2 -2
  69. package/dist/esm/zonos-elements.js +1 -1
  70. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  71. package/dist/esm/zonos-hello.entry.js +2 -2
  72. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  73. package/dist/esm/zonos-notification_3.entry.js +4 -4
  74. package/dist/esm/zonos-text.entry.js +8 -4
  75. package/dist/esm-es5/{CheckoutConfig-5cde3ee4.js → CheckoutConfig-101b97e6.js} +1 -1
  76. package/dist/esm-es5/cart-65c7d5f1.js +1 -0
  77. package/dist/esm-es5/{handleFetch-7424d200.js → handleFetch-da1a9c5d.js} +1 -1
  78. package/dist/esm-es5/index.js +1 -1
  79. package/dist/esm-es5/loader.js +1 -1
  80. package/dist/esm-es5/{paypal-db99e15a.js → paypal-cd96efa7.js} +1 -1
  81. package/dist/esm-es5/styles-6fc2fad9.js +1 -0
  82. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  83. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  84. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  85. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  86. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  87. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  88. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  89. package/dist/esm-es5/zonos-elements.js +1 -1
  90. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  91. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  92. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  93. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  94. package/dist/esm-es5/zonos-text.entry.js +1 -1
  95. package/dist/scripts/index.d.ts +31 -1
  96. package/dist/scripts/index.js +1 -1
  97. package/dist/scripts/loadZonos.js +1 -1
  98. package/dist/scripts/zonos.js +1 -1
  99. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  100. package/dist/types/components/store/checkout/cart.d.ts +1 -1
  101. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  102. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  103. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  104. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  105. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  106. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  107. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  108. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  109. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  110. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  111. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  112. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  113. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  114. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  115. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  116. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  117. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  118. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  119. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  120. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  121. package/dist/types/components/store/translationStore.d.ts +1 -1
  122. package/dist/types/components/store/zonosStore.d.ts +3 -0
  123. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +9 -0
  124. package/dist/types/components.d.ts +27 -0
  125. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  126. package/dist/zonos-elements/index.esm.js +1 -1
  127. package/dist/zonos-elements/{p-5fe1e3f6.system.js → p-0ceb45a9.system.js} +1 -1
  128. package/dist/zonos-elements/{p-81055154.system.js → p-0fa85ff9.system.js} +1 -1
  129. package/dist/zonos-elements/{p-860716a1.entry.js → p-139fd9b9.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-6efffc06.entry.js → p-148e7eb7.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-c504e50e.system.entry.js → p-14c67ae2.system.entry.js} +1 -1
  132. package/dist/zonos-elements/p-1aa93d1e.system.js +1 -0
  133. package/dist/zonos-elements/{p-cfaac5aa.entry.js → p-1d1c3377.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-eb94b8c5.system.entry.js → p-21970d09.system.entry.js} +1 -1
  135. package/dist/zonos-elements/p-30476a6b.entry.js +1 -0
  136. package/dist/zonos-elements/{p-d1f1f84d.system.entry.js → p-4161a0f2.system.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-97334e5a.system.entry.js → p-4a3c1449.system.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-9ea5037d.system.entry.js → p-4c6033ed.system.entry.js} +1 -1
  139. package/dist/zonos-elements/p-4c64f0ea.system.entry.js +1 -0
  140. package/dist/zonos-elements/{p-b98e54b2.system.entry.js → p-56370c8b.system.entry.js} +1 -1
  141. package/dist/zonos-elements/p-7769b60c.js +1 -0
  142. package/dist/zonos-elements/p-80a4d1e0.system.js +1 -0
  143. package/dist/zonos-elements/p-96d77739.js +1 -0
  144. package/dist/zonos-elements/{p-8c7715aa.system.js → p-988b6d65.system.js} +1 -1
  145. package/dist/zonos-elements/{p-8e317f73.js → p-a3b195e9.js} +1 -1
  146. package/dist/zonos-elements/{p-ccfd1d50.entry.js → p-a435037c.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-b00508d3.system.entry.js → p-a7c24425.system.entry.js} +1 -1
  148. package/dist/zonos-elements/p-ada1c7b6.entry.js +1 -0
  149. package/dist/zonos-elements/{p-3a3dd0a7.entry.js → p-b2247065.entry.js} +1 -1
  150. package/dist/zonos-elements/p-b2262a9c.entry.js +1 -0
  151. package/dist/zonos-elements/{p-9afea72c.entry.js → p-bb53bce8.entry.js} +1 -1
  152. package/dist/zonos-elements/p-c6f74e2c.js +1 -0
  153. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  154. package/dist/zonos-elements/{p-20411dc5.system.entry.js → p-d13f3ea0.system.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-bc2efe24.system.js → p-d9dceba1.system.js} +1 -1
  156. package/dist/zonos-elements/{p-8f7935f6.system.entry.js → p-daba3f99.system.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-4f5da154.entry.js → p-e19034a3.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-b3b1c105.entry.js → p-f0b32dd6.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-62384488.js → p-f8827566.js} +1 -1
  160. package/dist/zonos-elements/p-f8c7bc1d.entry.js +1 -0
  161. package/dist/zonos-elements/p-fe855df9.system.entry.js +1 -0
  162. package/dist/zonos-elements/{p-d5cf05b7.system.entry.js → p-fff6e3d9.system.entry.js} +1 -1
  163. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  164. package/package.json +1 -1
  165. package/dist/esm-es5/cart-5346e4d9.js +0 -1
  166. package/dist/zonos-elements/p-06636f62.entry.js +0 -1
  167. package/dist/zonos-elements/p-069a1891.entry.js +0 -1
  168. package/dist/zonos-elements/p-3ef38f02.system.js +0 -1
  169. package/dist/zonos-elements/p-8231711f.js +0 -1
  170. package/dist/zonos-elements/p-86f0d69c.system.entry.js +0 -1
  171. package/dist/zonos-elements/p-c97b9a45.entry.js +0 -1
  172. package/dist/zonos-elements/p-d1a3fa94.system.entry.js +0 -1
  173. package/dist/zonos-elements/p-ebb97202.entry.js +0 -1
  174. package/dist/zonos-elements/p-f3cdaa23.js +0 -1
@@ -221,6 +221,9 @@ export const stringsRussian = {
221
221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
222
222
  value: 'Пожалуйста, убедитесь, что ваш текст использует только латинский алфавит (A-Z, a-z).',
223
223
  },
224
+ 'Please enter a valid email address.': {
225
+ value: 'Пожалуйста, введите действительный адрес электронной почты.',
226
+ },
224
227
  'Postal code': {
225
228
  value: 'Почтовый индекс',
226
229
  },
@@ -221,6 +221,9 @@ export const stringsSpanish = {
221
221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
222
222
  value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
223
223
  },
224
+ 'Please enter a valid email address.': {
225
+ value: 'Por favor, introduce una dirección de correo electrónico válida.',
226
+ },
224
227
  'Postal code': {
225
228
  value: 'Código postal',
226
229
  },
@@ -221,6 +221,9 @@ export const stringsSwedish = {
221
221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
222
222
  value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
223
223
  },
224
+ 'Please enter a valid email address.': {
225
+ value: 'Vänligen ange en giltig e-postadress.',
226
+ },
224
227
  'Postal code': {
225
228
  value: 'Postnummer',
226
229
  },
@@ -221,6 +221,9 @@ export const stringsTurkish = {
221
221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
222
222
  value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
223
223
  },
224
+ 'Please enter a valid email address.': {
225
+ value: 'Lütfen geçerli bir e-posta adresi girin.',
226
+ },
224
227
  'Postal code': {
225
228
  value: 'Posta kodu',
226
229
  },
@@ -221,6 +221,9 @@ export const stringsVietnamese = {
221
221
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
222
222
  value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
223
223
  },
224
+ 'Please enter a valid email address.': {
225
+ value: 'Vui lòng nhập địa chỉ email hợp lệ.',
226
+ },
224
227
  'Postal code': {
225
228
  value: 'Mã bưu điện',
226
229
  },
@@ -33,4 +33,8 @@
33
33
 
34
34
  :host .zonos--title {
35
35
  margin-bottom: 16px;
36
+ }
37
+ :host .zonos--input-invalid {
38
+ border: 2px solid var(--zonos-elements-red-600);
39
+ border-radius: var(--zonos--border-radius);
36
40
  }
@@ -1,6 +1,8 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { h, Host } from "@stencil/core";
2
+ import { h, Host, } from "@stencil/core";
3
3
  import { stripeStore } from "../../store/checkout/stripe";
4
+ import { translate } from "../../store/translationStore";
5
+ import { getBorderRadius } from "../../utils/getBorderRadius";
4
6
  import { logError } from "../../utils/logging/logError";
5
7
  /**
6
8
  * This component is a wrapper for the stripe authentication element that would render default style object
@@ -9,6 +11,7 @@ export class ZonosLinkAuthentication {
9
11
  constructor() {
10
12
  this.titleText = undefined;
11
13
  this.defaultEmail = null;
14
+ this.isEmailError = false;
12
15
  this.stripe = stripeStore.stripe;
13
16
  }
14
17
  watchInitStripe() {
@@ -32,7 +35,9 @@ export class ZonosLinkAuthentication {
32
35
  }
33
36
  linkAuthenticationElement.mount(linkAuthenticationElementContainer);
34
37
  linkAuthenticationElement.on('change', event => {
38
+ var _a;
35
39
  stripeStore.stripeLinkEventData = event;
40
+ (_a = this.linkAuthenticationChange) === null || _a === void 0 ? void 0 : _a.emit();
36
41
  });
37
42
  stripeStore.stripeLinkElement = linkAuthenticationElement;
38
43
  }
@@ -42,7 +47,9 @@ export class ZonosLinkAuthentication {
42
47
  }
43
48
  render() {
44
49
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
45
- return (h(Host, { key: 'f0b26abf99ef99c6665dabdddebc9ff086b6816c', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '898dbdffac06fe2a68af90610a22044bb72391ce', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e2ec9abb0cf76a39a1262e1366e375dd898450cd', class: "zonos--link-authentication-component" })));
50
+ return (h(Host, { key: '7950960b06faca8192a2132d8543013a99a0e5ba', class: "zonos--link-authentication zonos--elements", style: {
51
+ '--zonos--border-radius': getBorderRadius(),
52
+ } }, h("zonos-text", { key: '1f8f7f96e39f0d0c0b4012846b27fef994aa9db1', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4b6b2471fe7254cea24b628284451bd46146f001', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (h("zonos-text", { key: '3d55092ae5c569641c0ae915e63abe005f362207', textColor: "red-600" }, translate('Please enter a valid email address.')))));
46
53
  }
47
54
  static get is() { return "zonos-link-authentication"; }
48
55
  static get encapsulation() { return "scoped"; }
@@ -92,6 +99,24 @@ export class ZonosLinkAuthentication {
92
99
  "attribute": "default-email",
93
100
  "reflect": false,
94
101
  "defaultValue": "null"
102
+ },
103
+ "isEmailError": {
104
+ "type": "boolean",
105
+ "mutable": false,
106
+ "complexType": {
107
+ "original": "boolean",
108
+ "resolved": "boolean",
109
+ "references": {}
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": "Email error text to dispaly"
116
+ },
117
+ "attribute": "is-email-error",
118
+ "reflect": false,
119
+ "defaultValue": "false"
95
120
  }
96
121
  };
97
122
  }
@@ -100,6 +125,24 @@ export class ZonosLinkAuthentication {
100
125
  "stripe": {}
101
126
  };
102
127
  }
128
+ static get events() {
129
+ return [{
130
+ "method": "linkAuthenticationChange",
131
+ "name": "linkAuthenticationChange",
132
+ "bubbles": true,
133
+ "cancelable": true,
134
+ "composed": true,
135
+ "docs": {
136
+ "tags": [],
137
+ "text": "Event emitted when the authentication element changes"
138
+ },
139
+ "complexType": {
140
+ "original": "void",
141
+ "resolved": "void",
142
+ "references": {}
143
+ }
144
+ }];
145
+ }
103
146
  static get elementRef() { return "el"; }
104
147
  static get watchers() {
105
148
  return [{
@@ -36,7 +36,7 @@ export class ZonosPayment {
36
36
  }
37
37
  render() {
38
38
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
39
- return (h(Host, { key: 'adcbeae4dadcaff59781ae47f779032e9fe43f5c', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'c83017ca67410a6715cacf6c0e524ed7b4304837', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '55c6d6dde8efaffec4411a838c62b7ede3efe30a', class: "zonos--payment-component" }), h("div", { key: 'd27b440253222daf94e4a6ad862c901efa54bfe5', class: "zonos--payment-paypal-container" })));
39
+ return (h(Host, { key: 'cf616ec959fd1b7396ed86b23561f459e0da8722', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'e5564db71ba2c0d67d372cb1804d6d462cdf1b33', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '3ea47f2c0a541590210d181bc73ecb3fb27e7783', class: "zonos--payment-component" }), h("div", { key: 'd3a46a127448568caf4309806e88556594075c12', class: "zonos--payment-paypal-container" })));
40
40
  }
41
41
  static get is() { return "zonos-payment"; }
42
42
  static get encapsulation() { return "scoped"; }
@@ -16,7 +16,11 @@ import { log } from "./logging/log";
16
16
  import { sendErrorLog } from "./logging/sendErrorLog";
17
17
  const getResponseBody = async ({ response, shouldLog = true, shouldThrow = false, }) => {
18
18
  try {
19
- const json = await response.json();
19
+ const text = await response.text();
20
+ const json = jsonParse(text);
21
+ if (!json) {
22
+ throw new Error(`Failed to parse content: ${text}`);
23
+ }
20
24
  return json;
21
25
  }
22
26
  catch (e) {
@@ -1,3 +1,4 @@
1
+ import { zonosStore } from "../../components/store/zonosStore";
1
2
  export const addressRuleStyle = ({ theme, }) => {
2
3
  const defaultStyle = {
3
4
  '.AccordionItem': {
@@ -11,6 +12,9 @@ export const addressRuleStyle = ({ theme, }) => {
11
12
  },
12
13
  '.Input': {
13
14
  boxShadow: 'none',
15
+ fontSize: zonosStore.appearance.fontSizeInputValue
16
+ ? `${zonosStore.appearance.fontSizeInputValue}px`
17
+ : undefined,
14
18
  // need to reset everything and the paddingTop to default, otherwise the paddingTop will not be updated.
15
19
  padding: '0',
16
20
  paddingBottom: '8px',
@@ -19,6 +23,11 @@ export const addressRuleStyle = ({ theme, }) => {
19
23
  // any value here will be add up to the default paddingTop (20px).
20
24
  paddingTop: '6px',
21
25
  },
26
+ '.Label--resting': {
27
+ fontSize: zonosStore.appearance.fontSizeInputLabel
28
+ ? `${zonosStore.appearance.fontSizeInputLabel}px`
29
+ : undefined,
30
+ },
22
31
  '.PickerItem--highlight': {
23
32
  boxShadow: '0 0 0 2px var(--colorBackground)',
24
33
  },
@@ -1,4 +1,4 @@
1
- import { h as handleFetch, l as log, a as logError } from './handleFetch-7424d200.js';
1
+ import { h as handleFetch, l as log, a as logError } from './handleFetch-da1a9c5d.js';
2
2
 
3
3
  const getTempCartById = async ({ cartId, retries, }) => {
4
4
  const urlParams = new URLSearchParams(window.location.search);
@@ -1,5 +1,5 @@
1
1
  import { c as createStore, z as zonosStore } from './zonosStore-6b5bd87c.js';
2
- import { h as handleFetch, a as logError, l as log, f as fallbackApiList, s as sendErrorLog, j as jsonParse } from './handleFetch-7424d200.js';
2
+ import { h as handleFetch, a as logError, l as log, f as fallbackApiList, s as sendErrorLog, j as jsonParse } from './handleFetch-da1a9c5d.js';
3
3
  import { i as isDarkColor } from './isDarkColor-dc08fa26.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-008516a4.js';
5
5
 
@@ -226,6 +226,9 @@ const stringsArabic = {
226
226
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
227
227
  value: 'يرجى التأكد من أن نصك يستخدم الأبجدية اللاتينية فقط (A-Z, a-z).',
228
228
  },
229
+ 'Please enter a valid email address.': {
230
+ value: 'يرجى إدخال عنوان بريد إلكتروني صالح.',
231
+ },
229
232
  'Postal code': {
230
233
  value: 'الرمز البريدي',
231
234
  },
@@ -646,6 +649,9 @@ const stringsBase = {
646
649
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
647
650
  value: 'Please ensure your text uses the Latin alphabet only (A-Z, a-z).',
648
651
  },
652
+ 'Please enter a valid email address.': {
653
+ value: 'Please enter a valid email address.',
654
+ },
649
655
  'Postal code': {
650
656
  value: 'Postal code',
651
657
  },
@@ -1066,6 +1072,9 @@ const stringsChinese = {
1066
1072
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1067
1073
  value: '请确保您的文本仅使用拉丁字母表(A-Z, a-z)。',
1068
1074
  },
1075
+ 'Please enter a valid email address.': {
1076
+ value: '请输入有效的电子邮件地址。',
1077
+ },
1069
1078
  'Postal code': {
1070
1079
  value: '邮政编码',
1071
1080
  },
@@ -1486,6 +1495,9 @@ const stringsDanish = {
1486
1495
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1487
1496
  value: 'Sørg venligst for, at din tekst kun bruger det latinske alfabet (A-Z, a-z).',
1488
1497
  },
1498
+ 'Please enter a valid email address.': {
1499
+ value: 'Indtast venligst en gyldig e-mailadresse.',
1500
+ },
1489
1501
  'Postal code': {
1490
1502
  value: 'Postnummer',
1491
1503
  },
@@ -1906,6 +1918,9 @@ const stringsDutch = {
1906
1918
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
1907
1919
  value: 'Zorg ervoor dat uw tekst alleen het Latijnse alfabet gebruikt (A-Z, a-z).',
1908
1920
  },
1921
+ 'Please enter a valid email address.': {
1922
+ value: 'Voer een geldig e-mailadres in.',
1923
+ },
1909
1924
  'Postal code': {
1910
1925
  value: 'Postcode',
1911
1926
  },
@@ -2326,6 +2341,9 @@ const stringsFrench = {
2326
2341
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2327
2342
  value: "Veuillez vous assurer que votre texte utilise uniquement l'alphabet latin (A-Z, a-z).",
2328
2343
  },
2344
+ 'Please enter a valid email address.': {
2345
+ value: 'Veuillez entrer une adresse e-mail valide.',
2346
+ },
2329
2347
  'Postal code': {
2330
2348
  value: 'Code postal',
2331
2349
  },
@@ -2746,6 +2764,9 @@ const stringsGerman = {
2746
2764
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
2747
2765
  value: 'Bitte stellen Sie sicher, dass Ihr Text nur das lateinische Alphabet verwendet (A-Z, a-z).',
2748
2766
  },
2767
+ 'Please enter a valid email address.': {
2768
+ value: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
2769
+ },
2749
2770
  'Postal code': {
2750
2771
  value: 'Postleitzahl',
2751
2772
  },
@@ -3166,6 +3187,9 @@ const stringsHebrew = {
3166
3187
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3167
3188
  value: 'אנא ודא שהטקסט שלך משתמש באלפבית הלטיני בלבד (A-Z, a-z).',
3168
3189
  },
3190
+ 'Please enter a valid email address.': {
3191
+ value: 'אנא הזן כתובת דוא"ל חוקית.',
3192
+ },
3169
3193
  'Postal code': {
3170
3194
  value: 'מיקוד',
3171
3195
  },
@@ -3586,6 +3610,9 @@ const stringsIndonesian = {
3586
3610
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
3587
3611
  value: 'Harap pastikan teks Anda hanya menggunakan alfabet Latin (A-Z, a-z).',
3588
3612
  },
3613
+ 'Please enter a valid email address.': {
3614
+ value: 'Silakan masukkan alamat email yang valid.',
3615
+ },
3589
3616
  'Postal code': {
3590
3617
  value: 'Kode Pos',
3591
3618
  },
@@ -4006,6 +4033,9 @@ const stringsItalian = {
4006
4033
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4007
4034
  value: "Si prega di assicurarsi che il testo utilizzi solo l'alfabeto latino (A-Z, a-z).",
4008
4035
  },
4036
+ 'Please enter a valid email address.': {
4037
+ value: 'Per favore, inserisci un indirizzo email valido.',
4038
+ },
4009
4039
  'Postal code': {
4010
4040
  value: 'Codice postale',
4011
4041
  },
@@ -4426,6 +4456,9 @@ const stringsJapanese = {
4426
4456
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4427
4457
  value: 'テキストがラテンアルファベットのみを使用していることを確認してください(A-Z、a-z)。',
4428
4458
  },
4459
+ 'Please enter a valid email address.': {
4460
+ value: '有効なメールアドレスを入力してください。',
4461
+ },
4429
4462
  'Postal code': {
4430
4463
  value: '郵便番号',
4431
4464
  },
@@ -4846,6 +4879,9 @@ const stringsKorean = {
4846
4879
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
4847
4880
  value: '텍스트가 라틴 알파벳만 사용하는지 확인해 주세요 (A-Z, a-z).',
4848
4881
  },
4882
+ 'Please enter a valid email address.': {
4883
+ value: '유효한 이메일 주소를 입력하세요.',
4884
+ },
4849
4885
  'Postal code': {
4850
4886
  value: '우편 번호',
4851
4887
  },
@@ -5266,6 +5302,9 @@ const stringsNorwegian = {
5266
5302
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5267
5303
  value: 'Vennligst sørg for at teksten din kun bruker det latinske alfabetet (A-Z, a-z).',
5268
5304
  },
5305
+ 'Please enter a valid email address.': {
5306
+ value: 'Vennligst skriv inn en gyldig e-postadresse.',
5307
+ },
5269
5308
  'Postal code': {
5270
5309
  value: 'Postnummer',
5271
5310
  },
@@ -5686,6 +5725,9 @@ const stringsPolish = {
5686
5725
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
5687
5726
  value: 'Proszę upewnić się, że tekst używa tylko alfabetu łacińskiego (A-Z, a-z).',
5688
5727
  },
5728
+ 'Please enter a valid email address.': {
5729
+ value: 'Proszę wprowadzić prawidłowy adres e-mail.',
5730
+ },
5689
5731
  'Postal code': {
5690
5732
  value: 'Kod pocztowy',
5691
5733
  },
@@ -6106,6 +6148,9 @@ const stringsPortuguese = {
6106
6148
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6107
6149
  value: 'Por favor, certifique-se de que seu texto utilize apenas o alfabeto latino (A-Z, a-z).',
6108
6150
  },
6151
+ 'Please enter a valid email address.': {
6152
+ value: 'Por favor, insira um endereço de e-mail válido.',
6153
+ },
6109
6154
  'Postal code': {
6110
6155
  value: 'Código Postal',
6111
6156
  },
@@ -6526,6 +6571,9 @@ const stringsRussian = {
6526
6571
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6527
6572
  value: 'Пожалуйста, убедитесь, что ваш текст использует только латинский алфавит (A-Z, a-z).',
6528
6573
  },
6574
+ 'Please enter a valid email address.': {
6575
+ value: 'Пожалуйста, введите действительный адрес электронной почты.',
6576
+ },
6529
6577
  'Postal code': {
6530
6578
  value: 'Почтовый индекс',
6531
6579
  },
@@ -6946,6 +6994,9 @@ const stringsSpanish = {
6946
6994
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
6947
6995
  value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
6948
6996
  },
6997
+ 'Please enter a valid email address.': {
6998
+ value: 'Por favor, introduce una dirección de correo electrónico válida.',
6999
+ },
6949
7000
  'Postal code': {
6950
7001
  value: 'Código postal',
6951
7002
  },
@@ -7366,6 +7417,9 @@ const stringsSwedish = {
7366
7417
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7367
7418
  value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
7368
7419
  },
7420
+ 'Please enter a valid email address.': {
7421
+ value: 'Vänligen ange en giltig e-postadress.',
7422
+ },
7369
7423
  'Postal code': {
7370
7424
  value: 'Postnummer',
7371
7425
  },
@@ -7786,6 +7840,9 @@ const stringsTurkish = {
7786
7840
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
7787
7841
  value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
7788
7842
  },
7843
+ 'Please enter a valid email address.': {
7844
+ value: 'Lütfen geçerli bir e-posta adresi girin.',
7845
+ },
7789
7846
  'Postal code': {
7790
7847
  value: 'Posta kodu',
7791
7848
  },
@@ -8206,6 +8263,9 @@ const stringsVietnamese = {
8206
8263
  'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
8207
8264
  value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
8208
8265
  },
8266
+ 'Please enter a valid email address.': {
8267
+ value: 'Vui lòng nhập địa chỉ email hợp lệ.',
8268
+ },
8209
8269
  'Postal code': {
8210
8270
  value: 'Mã bưu điện',
8211
8271
  },
@@ -9550,6 +9610,9 @@ const addressRuleStyle = ({ theme, }) => {
9550
9610
  },
9551
9611
  '.Input': {
9552
9612
  boxShadow: 'none',
9613
+ fontSize: zonosStore.appearance.fontSizeInputValue
9614
+ ? `${zonosStore.appearance.fontSizeInputValue}px`
9615
+ : undefined,
9553
9616
  // need to reset everything and the paddingTop to default, otherwise the paddingTop will not be updated.
9554
9617
  padding: '0',
9555
9618
  paddingBottom: '8px',
@@ -9558,6 +9621,11 @@ const addressRuleStyle = ({ theme, }) => {
9558
9621
  // any value here will be add up to the default paddingTop (20px).
9559
9622
  paddingTop: '6px',
9560
9623
  },
9624
+ '.Label--resting': {
9625
+ fontSize: zonosStore.appearance.fontSizeInputLabel
9626
+ ? `${zonosStore.appearance.fontSizeInputLabel}px`
9627
+ : undefined,
9628
+ },
9561
9629
  '.PickerItem--highlight': {
9562
9630
  boxShadow: '0 0 0 2px var(--colorBackground)',
9563
9631
  },
@@ -10335,7 +10403,7 @@ const { onChange, reset, state: cartStore, } = createStore(() => ({
10335
10403
  shipping: {
10336
10404
  index: 2,
10337
10405
  isDone: false,
10338
- label: 'Delivery',
10406
+ label: 'Shipping',
10339
10407
  value: 'shipping',
10340
10408
  },
10341
10409
  // eslint-disable-next-line sort-keys/sort-keys-fix
@@ -179,7 +179,11 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
179
179
  };
180
180
  const getResponseBody = async ({ response, shouldLog = true, shouldThrow = false, }) => {
181
181
  try {
182
- const json = await response.json();
182
+ const text = await response.text();
183
+ const json = jsonParse(text);
184
+ if (!json) {
185
+ throw new Error(`Failed to parse content: ${text}`);
186
+ }
183
187
  return json;
184
188
  }
185
189
  catch (e) {
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { l as log, a as logError } from './handleFetch-7424d200.js';
2
- import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-5cde3ee4.js';
3
- export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-5cde3ee4.js';
1
+ import { l as log, a as logError } from './handleFetch-da1a9c5d.js';
2
+ import { s as setupCartData, c as checkoutHiddenBtnSelector } from './CheckoutConfig-101b97e6.js';
3
+ export { c as checkoutHiddenBtnSelector, d as domesticRedirectedBtnSelector } from './CheckoutConfig-101b97e6.js';
4
4
 
5
5
  /**
6
6
  * Get the load version and url based on the loadScriptSrc and version
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.123.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.125.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -278,10 +278,10 @@ const zonosLoadUrl = (() => {
278
278
  }
279
279
  return null;
280
280
  })();
281
- const ZONOS_URL = "https://v1.3.123.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.123";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.123";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.123";
281
+ const ZONOS_URL = "https://v1.3.125.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.125";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.125";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.125";
285
285
  const INTER_FONT_URL = 'https://rsms.me';
286
286
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
287
287
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -296,7 +296,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
296
296
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
297
297
  Zonos._paypalMockResponse = null;
298
298
  Zonos.isBigCommerce = false;
299
- Zonos.releaseDate = "1730930859534";
299
+ Zonos.releaseDate = "1731090000621";
300
300
  Zonos.isLegacyCheckout = false;
301
301
  Zonos.showBaseForeign = typeof window !== 'undefined' &&
302
302
  window.location.search.includes('zonosShowBaseForeign');
@@ -306,7 +306,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
306
306
  Zonos.isNpm = true;
307
307
  Zonos.zonosQaUrl = null;
308
308
  Zonos.zonosQaUrlApi = null;
309
- Zonos.version = `v${"1.3.123"}`;
309
+ Zonos.version = `v${"1.3.125"}`;
310
310
  Zonos.modeAlerted = false;
311
311
  Zonos.cartData = null;
312
312
  Zonos.paypal = null;
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy(JSON.parse("[[\"zonos-checkout\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
8
+ return bootstrapLazy(JSON.parse("[[\"zonos-checkout\",[[2,\"zonos-checkout\",{\"appearanceSettingsOverride\":[16],\"preview\":[4],\"mobile\":[4],\"defaultAddress\":[16],\"forceDialogOpen\":[4,\"force-dialog-open\"],\"open\":[32],\"stripe\":[32],\"submitLoading\":[32],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"zonos-hello\",[[1,\"zonos-hello\",{\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettingsOverride\":[16],\"showPeekMessage\":[32],\"zonosStoreHelloSettings\":[32],\"showDialog\":[32],\"peekMessage\":[32],\"initialUrl\":[32],\"allRestrictedItems\":[32],\"allFoundProducts\":[32],\"productsOnPage\":[32],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"displayCurrency\":[64],\"convertAndFormat\":[64],\"convert\":[64],\"format\":[64],\"openHelloDialog\":[64]},[[9,\"resize\",\"handleResize\"]],{\"appearanceSettingsOverride\":[\"handleAppearanceSettingsOverrideChange\"]}]]],[\"zonos-controller\",[[1,\"zonos-controller\",{\"config\":[16],\"zonosApiKey\":[1,\"zonos-api-key\"],\"initCheckoutElement\":[64],\"setupGoogleFont\":[64],\"showNotification\":[64],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"zonos-component\",[[1,\"zonos-component\",{\"first\":[1],\"middle\":[1],\"last\":[1]}]]],[\"zonos-link\",[[1,\"zonos-link\",{\"href\":[1],\"rel\":[1],\"target\":[1],\"linkTitle\":[1,\"link-title\"]}]]],[\"zonos-logo\",[[1,\"zonos-logo\",{\"theme\":[1],\"width\":[1]}]]],[\"zonos-hello-dialog\",[[1,\"zonos-hello-dialog\",{\"isOpen\":[4,\"is-open\"],\"setIsOpen\":[16],\"mobileLocationOverride\":[1,\"mobile-location-override\"],\"animateFromLeftOverride\":[4,\"animate-from-left-override\"],\"appearanceSettings\":[16],\"restrictedItems\":[16],\"welcomeMessage\":[32],\"showCountrySelect\":[32],\"showLanguageSelect\":[32]},[[4,\"click\",\"globalClickHandler\"]],{\"isOpen\":[\"isOpenHandler\"]}]]],[\"zonos-badge\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"zonos-input\",[[1,\"zonos-input\",{\"inputValue\":[1,\"input-value\"],\"inputLabel\":[1,\"input-label\"],\"inputSize\":[1,\"input-size\"],\"isDisabled\":[4,\"is-disabled\"],\"isError\":[4,\"is-error\"],\"inputPlaceholder\":[1,\"input-placeholder\"],\"value\":[32]},null,{\"inputValue\":[\"onInputValueChange\"]}]]],[\"zonos-notification_3\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[32]}]]],[\"zonos-button_3\",[[17,\"zonos-button\",{\"buttonColor\":[1,\"button-color\"],\"backgroundColor\":[1,\"background-color\"],\"borderStyle\":[1,\"border-style\"],\"isDisabled\":[4,\"is-disabled\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"variant\":[1],\"noBackground\":[4,\"no-background\"],\"withBoxShadow\":[4,\"with-box-shadow\"],\"noPaddingLeft\":[4,\"no-padding-left\"],\"noPaddingRight\":[4,\"no-padding-right\"],\"loading\":[4],\"justifyContent\":[1,\"justify-content\"],\"theme\":[1],\"hasIcon\":[32],\"hasContent\":[32]},[[2,\"click\",\"clickHandler\"]],{\"icon\":[\"iconChangeHandler\"]}],[1,\"zonos-spinner\",{\"size\":[2],\"spinnerColor\":[1,\"spinner-color\"]}],[1,\"zonos-icon\",{\"autoHeight\":[4,\"auto-height\"],\"iconColor\":[1,\"icon-color\"],\"content\":[1],\"size\":[2]}]]],[\"zonos-language-select_2\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4\",[[1,\"zonos-country-select\",{\"handleOnClose\":[16],\"inputValue\":[32]}],[1,\"zonos-hello-dialog-footer\",{\"appearanceSettings\":[16],\"setShowCountrySelect\":[16],\"setShowLanguageSelect\":[16]}],[1,\"zonos-custom-message\",{\"icon\":[1],\"message\":[1]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7\",[[1,\"zonos-address-update-dialog\",{\"continueLoading\":[4,\"continue-loading\"],\"dialogLoading\":[4,\"dialog-loading\"],\"dialogOpen\":[4,\"dialog-open\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"shippingAddress\":[16],\"billingAddress\":[16],\"translatedShippingAddress\":[16],\"translatedBillingAddress\":[16],\"showErrorBanner\":[32],\"translatedShippingAddressState\":[32],\"translatedBillingAddressState\":[32]},null,{\"translatedShippingAddress\":[\"watchTranslatedShippingAddress\"],\"translatedBillingAddress\":[\"watchTranslatedBillingAddress\"]}],[2,\"zonos-address\",{\"type\":[1],\"titleText\":[1,\"title-text\"],\"defaultAddress\":[16],\"stripe\":[32],\"isDirtyAddress\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-checkbox\",{\"backgroundColor\":[1,\"background-color\"],\"label\":[1],\"isChecked\":[4,\"is-checked\"],\"isDisabled\":[4,\"is-disabled\"],\"size\":[2],\"fontSize\":[1,\"font-size\"],\"borderStyle\":[1,\"border-style\"]},[[1,\"click\",\"onClick\"]]],[2,\"zonos-link-authentication\",{\"titleText\":[1,\"title-text\"],\"defaultEmail\":[1,\"default-email\"],\"isEmailError\":[4,\"is-email-error\"],\"stripe\":[32]},null,{\"stripe\":[\"watchInitStripe\"]}],[1,\"zonos-dialog\",{\"open\":[4],\"headerText\":[1,\"header-text\"],\"width\":[1],\"height\":[1],\"minHeight\":[1,\"min-height\"],\"noHeader\":[4,\"no-header\"],\"noBodyPadding\":[4,\"no-body-padding\"],\"noBorder\":[4,\"no-border\"],\"borderStyle\":[1,\"border-style\"],\"noCloseButton\":[4,\"no-close-button\"],\"noClickOutside\":[4,\"no-click-outside\"],\"mobile\":[4],\"isLoading\":[4,\"is-loading\"],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"],[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-address-display\",{\"currentAddress\":[16],\"addressType\":[1,\"address-type\"]}],[1,\"zonos-address-form\",{\"currentAddress\":[16],\"translatedAddress\":[16],\"addressType\":[1,\"address-type\"],\"localAddress\":[32]},null,{\"translatedAddress\":[\"watchCurrentAddress\"]}]]],[\"zonos-cart-items_13\",[[2,\"zonos-customer-info\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"isMobile\":[4,\"is-mobile\"],\"defaultAddress\":[16],\"showErrorBanner\":[32],\"shippingCountry\":[32],\"isCheckingForRestrictedItems\":[32],\"isValidatingAddress\":[32],\"invalidShippingCharacterList\":[32],\"invalidBillingCharacterList\":[32],\"openAddressValidationDialog\":[32],\"isEmailError\":[32]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[1,\"zonos-checkout-finish\",{\"borderRadius\":[1,\"border-radius\"],\"storybookForceStatus\":[1,\"storybook-force-status\"],\"overrideNotification\":[16],\"isLoading\":[32],\"notificationType\":[32],\"notificationTitle\":[32],\"notificationMessages\":[32],\"notificationActionText\":[32],\"order\":[32]}],[1,\"zonos-confirm-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"dialogIntent\":[1,\"dialog-intent\"],\"dialogSubtitle\":[1,\"dialog-subtitle\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"dialogConfirmBtnText\":[1,\"dialog-confirm-btn-text\"],\"dialogWidth\":[2,\"dialog-width\"],\"dialogCancelBtnText\":[1,\"dialog-cancel-btn-text\"],\"dialogType\":[1,\"dialog-type\"],\"isMobile\":[4,\"is-mobile\"],\"dialogOpen\":[4,\"dialog-open\"],\"noClickOutside\":[4,\"no-click-outside\"]},[[4,\"keydown\",\"handleKeyDown\"]]],[1,\"zonos-checkout-progress-tabs\",{\"tabColor\":[1,\"tab-color\"],\"backgroundColor\":[1,\"background-color\"],\"setTabItems\":[64],\"setTabSelected\":[64]}],[1,\"zonos-review\",{\"mobile\":[4],\"collapsed\":[4],\"isMobile\":[32]},[[9,\"resize\",\"handleWindowResize\"]]],[1,\"zonos-cart-items\",{\"errorImages\":[32]}],[1,\"zonos-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,6 +1,6 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-6b5bd87c.js';
2
- import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-5346e4d9.js';
3
- import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-7424d200.js';
2
+ import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-65c7d5f1.js';
3
+ import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-da1a9c5d.js';
4
4
  import { t as tinycolor } from './isDarkColor-dc08fa26.js';
5
5
 
6
6
  /*!
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Filter out all of the undefined values from the object so we don't have undefined css variable values
3
+ */
4
+ const styles = (props) => {
5
+ // loop through the object and filter out all of the underfined values
6
+ return Object.entries(props).reduce((acc, [key, value]) => {
7
+ if (value) {
8
+ acc[key] = value;
9
+ }
10
+ return acc;
11
+ }, {});
12
+ };
13
+
14
+ export { styles as s };