@zonos/elements 1.3.48 → 1.3.50

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 (173) hide show
  1. package/dist/cjs/{cart-3e8bc2af.js → cart-688d674d.js} +38 -6
  2. package/dist/cjs/{createCustomEvent-88a5a894.js → createCustomEvent-01bacaea.js} +2 -2
  3. package/dist/cjs/{getBorderRadius-4413e191.js → getBorderRadius-a6a3b35e.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{isDarkColor-4eb96a1e.js → isDarkColor-7a056d05.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{paypal-540886f1.js → paypal-ce1516ba.js} +3 -3
  8. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  12. package/dist/cjs/zonos-card.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
  15. package/dist/cjs/zonos-controller.cjs.entry.js +28 -15
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-elements.cjs.js +1 -1
  19. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  20. package/dist/cjs/zonos-hello.cjs.entry.js +58 -15
  21. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-notification_3.cjs.entry.js +5 -5
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  28. package/dist/cjs/{zonosStore-56401fdb.js → zonosStore-67139f0e.js} +5 -0
  29. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +53 -103
  30. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +55 -11
  31. package/dist/collection/components/main/zonos-controller.js +12 -4
  32. package/dist/collection/components/store/zonosStore.js +5 -0
  33. package/dist/collection/components/utils/handleFetch.js +2 -2
  34. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +7 -1
  35. package/dist/collection/components/utils/hello/currencyConversion/numberFormat.js +27 -0
  36. package/dist/collection/components/utils/hello/initHello.js +14 -9
  37. package/dist/collection/environment.js +6 -2
  38. package/dist/collection/types/generated/graphql.customer.types.js +20 -0
  39. package/dist/esm/{cart-e76844eb.js → cart-4f300fcb.js} +38 -6
  40. package/dist/esm/{createCustomEvent-c38df09e.js → createCustomEvent-c5ed9070.js} +2 -2
  41. package/dist/esm/{getBorderRadius-3ba98361.js → getBorderRadius-23398fc6.js} +1 -1
  42. package/dist/esm/index.js +7 -7
  43. package/dist/esm/{isDarkColor-3119e351.js → isDarkColor-c927f77d.js} +1 -1
  44. package/dist/esm/loader.js +1 -1
  45. package/dist/esm/{paypal-3565fdd5.js → paypal-70caf283.js} +3 -3
  46. package/dist/esm/zonos-address_8.entry.js +4 -4
  47. package/dist/esm/zonos-badge_2.entry.js +1 -1
  48. package/dist/esm/zonos-banner.entry.js +1 -1
  49. package/dist/esm/zonos-button_3.entry.js +3 -3
  50. package/dist/esm/zonos-card.entry.js +2 -2
  51. package/dist/esm/zonos-cart-items_12.entry.js +6 -6
  52. package/dist/esm/zonos-checkout.entry.js +6 -6
  53. package/dist/esm/zonos-controller.entry.js +28 -15
  54. package/dist/esm/zonos-country-flag.entry.js +4 -4
  55. package/dist/esm/zonos-country-select_4.entry.js +4 -4
  56. package/dist/esm/zonos-elements.js +1 -1
  57. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  58. package/dist/esm/zonos-hello.entry.js +58 -15
  59. package/dist/esm/zonos-input.entry.js +2 -2
  60. package/dist/esm/zonos-language-select_2.entry.js +4 -4
  61. package/dist/esm/zonos-logo.entry.js +1 -1
  62. package/dist/esm/zonos-notification_3.entry.js +5 -5
  63. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  64. package/dist/esm/zonos-text.entry.js +1 -1
  65. package/dist/esm/zonos-v-stack.entry.js +1 -1
  66. package/dist/esm/{zonosStore-8fc9ceb2.js → zonosStore-473f4654.js} +5 -0
  67. package/dist/esm-es5/{cart-e76844eb.js → cart-4f300fcb.js} +1 -1
  68. package/dist/esm-es5/{createCustomEvent-c38df09e.js → createCustomEvent-c5ed9070.js} +1 -1
  69. package/dist/esm-es5/{getBorderRadius-3ba98361.js → getBorderRadius-23398fc6.js} +1 -1
  70. package/dist/esm-es5/index.js +1 -1
  71. package/dist/esm-es5/{isDarkColor-3119e351.js → isDarkColor-c927f77d.js} +1 -1
  72. package/dist/esm-es5/loader.js +1 -1
  73. package/dist/esm-es5/{paypal-3565fdd5.js → paypal-70caf283.js} +1 -1
  74. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  75. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  76. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  77. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  78. package/dist/esm-es5/zonos-card.entry.js +1 -1
  79. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  80. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  81. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  82. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  83. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  84. package/dist/esm-es5/zonos-elements.js +1 -1
  85. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  86. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  87. package/dist/esm-es5/zonos-input.entry.js +1 -1
  88. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  89. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  90. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  91. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  92. package/dist/esm-es5/zonos-text.entry.js +1 -1
  93. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  94. package/dist/esm-es5/{zonosStore-8fc9ceb2.js → zonosStore-473f4654.js} +1 -1
  95. package/dist/scripts/index.d.ts +82 -6
  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/hello/zonos-hello/zonos-hello.d.ts +9 -0
  100. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  101. package/dist/types/components/utils/hello/currencyConversion/numberFormat.d.ts +13 -0
  102. package/dist/types/components/utils/hello/initHello.d.ts +6 -2
  103. package/dist/types/components/utils/logging/sendErrorLog.d.ts +1 -1
  104. package/dist/types/environment.d.ts +3 -1
  105. package/dist/types/scripts/_zonosBase.d.ts +77 -3
  106. package/dist/types/types/generated/graphql.customer.types.d.ts +27 -3
  107. package/dist/types/types/generated/graphql.customer.types.ts +38 -3
  108. package/dist/types/types/generated/graphql.frontend.types.d.ts +14 -14
  109. package/dist/types/types/generated/graphql.frontend.types.ts +12 -12
  110. package/dist/types/types/hello/HelloConfig.d.ts +3 -1
  111. package/dist/zonos-elements/index.esm.js +1 -1
  112. package/dist/zonos-elements/{p-debbb058.entry.js → p-00f219bd.entry.js} +1 -1
  113. package/dist/zonos-elements/p-05dff37f.js +1 -0
  114. package/dist/zonos-elements/{p-1d1a0e05.js → p-124e3426.js} +1 -1
  115. package/dist/zonos-elements/p-1719bedd.entry.js +1 -0
  116. package/dist/zonos-elements/{p-e8f7fb29.system.entry.js → p-1c72e53f.system.entry.js} +1 -1
  117. package/dist/zonos-elements/p-1f2db2ff.entry.js +1 -0
  118. package/dist/zonos-elements/{p-8befc549.js → p-2018969a.js} +1 -1
  119. package/dist/zonos-elements/{p-38542341.system.entry.js → p-22e8d4ad.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-6ac72711.js → p-23a84835.js} +1 -1
  121. package/dist/zonos-elements/p-27f2e8af.system.entry.js +1 -0
  122. package/dist/zonos-elements/{p-40c21634.system.js → p-29814fd7.system.js} +1 -1
  123. package/dist/zonos-elements/{p-e28ffd2c.system.js → p-31905b60.system.js} +1 -1
  124. package/dist/zonos-elements/{p-5d18f3ae.system.entry.js → p-322600aa.system.entry.js} +1 -1
  125. package/dist/zonos-elements/p-40d52dd6.system.entry.js +1 -0
  126. package/dist/zonos-elements/{p-9ffaf4ae.entry.js → p-4452dddc.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-6bb0b7d2.system.entry.js → p-47c72c50.system.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-b9ec9675.entry.js → p-480a6094.entry.js} +1 -1
  129. package/dist/zonos-elements/{p-e7cd5a89.entry.js → p-4849604d.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-717028a2.system.entry.js → p-4b59ada6.system.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-e07bf9ea.entry.js → p-54f66cd1.entry.js} +1 -1
  132. package/dist/zonos-elements/{p-5b183187.entry.js → p-595d406e.entry.js} +1 -1
  133. package/dist/zonos-elements/{p-52947dab.system.entry.js → p-5a59ed7f.system.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-b3400abd.system.entry.js → p-5beccdce.system.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-9220f63d.entry.js → p-5f7f51bd.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-9a319774.entry.js → p-6013e370.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-7889b70d.system.js → p-6ab615e6.system.js} +1 -1
  138. package/dist/zonos-elements/{p-9420f9db.entry.js → p-6dcef5ce.entry.js} +1 -1
  139. package/dist/zonos-elements/{p-c7301a88.entry.js → p-70bb4a25.entry.js} +1 -1
  140. package/dist/zonos-elements/{p-14067782.system.entry.js → p-7ef2737b.system.entry.js} +1 -1
  141. package/dist/zonos-elements/{p-f6ffaa37.system.js → p-81540fd6.system.js} +1 -1
  142. package/dist/zonos-elements/{p-61e14008.entry.js → p-89b1f4a5.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-9eadd9a7.system.entry.js → p-89d8c1ad.system.entry.js} +1 -1
  144. package/dist/zonos-elements/{p-a691a6ee.system.entry.js → p-8af4a9e7.system.entry.js} +1 -1
  145. package/dist/zonos-elements/p-8e8defdc.system.js +1 -0
  146. package/dist/zonos-elements/{p-dc368ad5.entry.js → p-8e9dcaa3.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-04054425.js → p-9dd6b00d.js} +1 -1
  148. package/dist/zonos-elements/{p-4f454a91.system.entry.js → p-a3547b34.system.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-9d1f13c2.entry.js → p-a4309beb.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-9b55838d.entry.js → p-a67578ae.entry.js} +1 -1
  151. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  152. package/dist/zonos-elements/{p-6ced2b64.system.js → p-ceb8b836.system.js} +2 -2
  153. package/dist/zonos-elements/{p-8b01aafb.entry.js → p-cf9a46e8.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-6de9dc99.system.entry.js → p-d1cd0a5f.system.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-f7bb4368.system.entry.js → p-d709ad28.system.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-ae12eb52.system.entry.js → p-e7e73693.system.entry.js} +1 -1
  157. package/dist/zonos-elements/p-e97793ce.system.js +1 -0
  158. package/dist/zonos-elements/{p-706d2bad.entry.js → p-eb3520e7.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-40f33928.system.entry.js → p-ec31cd17.system.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-0229282c.system.entry.js → p-ecd6a58a.system.entry.js} +1 -1
  161. package/dist/zonos-elements/p-f05f3e27.js +1 -0
  162. package/dist/zonos-elements/{p-c4bb2949.system.entry.js → p-f3811c4c.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-bc46fdc1.entry.js → p-fe198a6c.entry.js} +1 -1
  164. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  165. package/package.json +1 -1
  166. package/dist/zonos-elements/p-225231a5.entry.js +0 -1
  167. package/dist/zonos-elements/p-2fecf308.system.entry.js +0 -1
  168. package/dist/zonos-elements/p-52fb6876.js +0 -1
  169. package/dist/zonos-elements/p-539974db.system.js +0 -1
  170. package/dist/zonos-elements/p-67bc8798.system.entry.js +0 -1
  171. package/dist/zonos-elements/p-842564b4.js +0 -1
  172. package/dist/zonos-elements/p-8809964a.system.js +0 -1
  173. package/dist/zonos-elements/p-f652d433.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  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);border:1px solid var(--zonos-elements-orange-200)}: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)}:host .transparent{background-color:transparent;border:1px solid var(--zonos-elements-gray-200);color:var(--zonos-elements-gray-800)}:host .transparent.bold{background-color:var(--zonos-elements-glass-600);color:var(--zonos-elements-gray-100)}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  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)}";
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
5
5
  import { i as isColorVariable } from './isColorVariable-82457bef.js';
6
- import { i as isDarkColor } from './isDarkColor-3119e351.js';
6
+ import { i as isDarkColor } from './isDarkColor-c927f77d.js';
7
7
 
8
8
  /**
9
9
  * Get theme for button text based on background color
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
5
5
 
6
6
  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(--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
7
7
  const ZonosCardStyle0 = zonosCardCss;
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-86b8247e.js';
2
- import { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-e76844eb.js';
2
+ import { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-4f300fcb.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-3565fdd5.js';
5
- import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
6
- import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-c38df09e.js';
7
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
4
+ import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-70caf283.js';
5
+ import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
6
+ import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-c5ed9070.js';
7
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
8
8
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
9
9
  import { l as languages } from './ILanguage-cd6acb72.js';
10
- import { i as isDarkColor, t as tinycolor } from './isDarkColor-3119e351.js';
10
+ import { i as isDarkColor, t as tinycolor } from './isDarkColor-c927f77d.js';
11
11
  import { i as isColorVariable } from './isColorVariable-82457bef.js';
12
12
  import { c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
13
13
  import './logError-c456c092.js';
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h, H as Host, F as Fragment } from './index-86b8247e.js';
2
- import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-e76844eb.js';
3
- import { s as submitGtag, p as paypalInitScript } from './paypal-3565fdd5.js';
4
- import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
5
- import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-c38df09e.js';
2
+ import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-4f300fcb.js';
3
+ import { s as submitGtag, p as paypalInitScript } from './paypal-70caf283.js';
4
+ import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-473f4654.js';
5
+ import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-c5ed9070.js';
6
6
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
7
7
  import { l as log, a as logError } from './logError-c456c092.js';
8
8
  import { c as classes } from './classes-0d95c529.js';
9
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
10
- import { i as isDarkColor } from './isDarkColor-3119e351.js';
9
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
10
+ import { i as isDarkColor } from './isDarkColor-c927f77d.js';
11
11
  import { R as RemoveIcon } from './RemoveIcon-9dc5dd1a.js';
12
12
 
13
13
  /**
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
2
- import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-e76844eb.js';
3
- import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-4f300fcb.js';
3
+ import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
4
4
  import { a as logError, l as log } from './logError-c456c092.js';
5
- import './isDarkColor-3119e351.js';
6
- import './getBorderRadius-3ba98361.js';
5
+ import './isDarkColor-c927f77d.js';
6
+ import './getBorderRadius-23398fc6.js';
7
7
 
8
8
  const getZonosSettings = async () => {
9
9
  const { errors, json, zonosMode } = await handleFetch('/api/zonos-elements/zonos-settings');
@@ -50,7 +50,7 @@ const injectHelloComponent = (anchorElementSelector) => {
50
50
  * Injects the hello mobile wrapper to the DOM and returns the anchor element selector
51
51
  * @returns anchor element selector
52
52
  */
53
- const injectHelloMobileWrapper = ({ position = 'bottom-right', }) => {
53
+ const injectDefaultWrapper = ({ position = 'bottom-right', }) => {
54
54
  const mobileAnchorSelector = '.zonos--hello-mobile-wrapper';
55
55
  const helloMobileWrapper = document.querySelector(mobileAnchorSelector);
56
56
  if (helloMobileWrapper) {
@@ -81,11 +81,18 @@ const injectHelloMobileWrapper = ({ position = 'bottom-right', }) => {
81
81
  };
82
82
  const initHello = async (helloSettings) => {
83
83
  const { anchorElementSelector } = helloSettings;
84
- const mobileHelloAnchor = injectHelloMobileWrapper({
85
- position: 'bottom-right',
86
- });
87
- // default to mobile anchor if anchorElementSelector is not provided, so for bigcommerce, we don't need to manually add a anchor every time we onboard a new store
88
- const helloAnchor = anchorElementSelector || mobileHelloAnchor;
84
+ // default to mobile anchor if anchorElementSelector is not provided
85
+ let helloAnchor = anchorElementSelector;
86
+ /**
87
+ * Use default mobile anchor only if desktopLocation is provided and no anchorElementSelector is provided
88
+ * So for bigcommerce, we don't need to manually add a anchor every time we onboard a new store
89
+ **/
90
+ if (!helloSettings.anchorElementSelector && helloSettings.desktopLocation) {
91
+ const defaultAnchor = injectDefaultWrapper({
92
+ position: 'bottom-right',
93
+ });
94
+ helloAnchor = defaultAnchor;
95
+ }
89
96
  // check if checkout button anchor selector user pass in is valid to setup hello
90
97
  if (!helloAnchor || !isValidSelector(helloAnchor)) {
91
98
  logError(`Selector anchorElementSelector "${helloSettings.anchorElementSelector}" is not a valid selector.`);
@@ -106,11 +113,9 @@ const initHello = async (helloSettings) => {
106
113
  childList: true,
107
114
  subtree: true,
108
115
  });
109
- // kill observer after 1 second if the hello still not injected, if the hello still not injected after 1 second, it's likely that the selector the user doesn't want to use hello
110
116
  setTimeout(() => {
111
- observer.disconnect();
112
117
  // inject hello to mobile anchor if hello is still not found
113
- injectHelloComponent(mobileHelloAnchor);
118
+ injectHelloComponent(helloAnchor);
114
119
  }, 1000);
115
120
  }
116
121
  };
@@ -167,8 +172,10 @@ const ZonosController = class {
167
172
  const searchParams = new URLSearchParams();
168
173
  searchParams.set('family', fontSelected);
169
174
  const { errors, json } = await handleFetch(`/api/zonos-elements/get-font-detail?${searchParams.toString()}`);
175
+ // Keep using Inter font, font in the setting maybe outdated and not found in google font, API will return Inter font instead
170
176
  if (errors.length > 0 || !json) {
171
177
  log(`Failed to load font ${fontSelected}`, 'warn');
178
+ zonosStore.appearance = Object.assign(Object.assign({}, zonosStore.appearance), { fontFamily: 'Inter' });
172
179
  return;
173
180
  }
174
181
  const fontUrl = json.fontUrl;
@@ -225,7 +232,13 @@ const ZonosController = class {
225
232
  zonosStore.zonosMode = zonosMode;
226
233
  // setup google font after store loaded
227
234
  void this.setupGoogleFont();
228
- if (zonosStore.helloSettings) {
235
+ if (zonosStore.helloSettings.visibilityStatus === 'DISABLED') {
236
+ // Store owner disabled this intentionally
237
+ log('=== Hello is disabled by store owner ===', 'warn');
238
+ }
239
+ if (zonosStore.helloSettings &&
240
+ zonosStore.helloSettings.visibilityStatus === 'ENABLED') {
241
+ log('Initializing hello');
229
242
  void initHello(zonosStore.helloSettings);
230
243
  }
231
244
  // init localization store
@@ -300,7 +313,7 @@ const ZonosController = class {
300
313
  zonosStore.organizationName = organizationName;
301
314
  }
302
315
  render() {
303
- return h(Host, { key: 'b8a056dc3bbd14495e048a89a11f27a6fb3fdb10', class: "zonos--elements" });
316
+ return h(Host, { key: '10fe4b2e7b375fa25484bb55077b73d2421735ae', class: "zonos--elements" });
304
317
  }
305
318
  };
306
319
  ZonosController.style = ZonosControllerStyle0;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { l as localizationStore } from './cart-e76844eb.js';
3
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { l as localizationStore } from './cart-4f300fcb.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './logError-c456c092.js';
6
- import './isDarkColor-3119e351.js';
7
- import './getBorderRadius-3ba98361.js';
6
+ import './isDarkColor-c927f77d.js';
7
+ import './getBorderRadius-23398fc6.js';
8
8
 
9
9
  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}";
10
10
  const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-e76844eb.js';
3
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-4f300fcb.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
- import { i as isDarkColor } from './isDarkColor-3119e351.js';
5
+ import { i as isDarkColor } from './isDarkColor-c927f77d.js';
6
6
  import { l as languages } from './ILanguage-cd6acb72.js';
7
7
  import './logError-c456c092.js';
8
- import './getBorderRadius-3ba98361.js';
8
+ import './getBorderRadius-23398fc6.js';
9
9
 
10
10
  /**
11
11
  * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["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],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"legacyCheckoutHiddenBtnSelector":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"inventoryCheckErrorMessage":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[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],"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-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-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"ready":[32]}]]],["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-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["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-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-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-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_8",[[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"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_12",[[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],"isSelecting":[32],"showErrorBanner":[32],"serviceLevels":[32]}],[1,"zonos-cart-restricted-items",{"hide":[4],"errorImages":[32],"internalCollapsed":[32],"firstRender":[32]}],[1,"zonos-cart-subtotal"],[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"],"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-rest-state",{"restStateSubtitle":[1,"rest-state-subtitle"],"restStateTitle":[1,"rest-state-title"],"restStateType":[1,"rest-state-type"],"isErrorImageLoad":[32]}]]]], options);
19
+ return bootstrapLazy([["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],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"legacyCheckoutHiddenBtnSelector":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"inventoryCheckErrorMessage":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[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-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-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"ready":[32]}]]],["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-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["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-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-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-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_8",[[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"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_12",[[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],"isSelecting":[32],"showErrorBanner":[32],"serviceLevels":[32]}],[1,"zonos-cart-restricted-items",{"hide":[4],"errorImages":[32],"internalCollapsed":[32],"firstRender":[32]}],[1,"zonos-cart-subtotal"],[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"],"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-rest-state",{"restStateSubtitle":[1,"rest-state-subtitle"],"restStateTitle":[1,"rest-state-title"],"restStateType":[1,"rest-state-type"],"isErrorImageLoad":[32]}]]]], options);
20
20
  });
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
2
- import { t as translate, l as localizationStore, G as currencyFormat } from './cart-e76844eb.js';
3
- import { z as zonosStore } from './zonosStore-8fc9ceb2.js';
2
+ import { t as translate, l as localizationStore, G as currencyFormat } from './cart-4f300fcb.js';
3
+ import { z as zonosStore } from './zonosStore-473f4654.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
7
  import './logError-c456c092.js';
8
- import './isDarkColor-3119e351.js';
9
- import './getBorderRadius-3ba98361.js';
8
+ import './isDarkColor-c927f77d.js';
9
+ import './getBorderRadius-23398fc6.js';
10
10
 
11
11
  const getHasMoreSpaceAbove = (ref) => {
12
12
  const componentRect = ref.getBoundingClientRect();
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
3
- import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-e76844eb.js';
2
+ import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-473f4654.js';
3
+ import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-4f300fcb.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { a as logError, l as log } from './logError-c456c092.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
7
- import './isDarkColor-3119e351.js';
8
- import './getBorderRadius-3ba98361.js';
7
+ import './isDarkColor-c927f77d.js';
8
+ import './getBorderRadius-23398fc6.js';
9
9
 
10
10
  var root = _root;
11
11
 
@@ -468,11 +468,10 @@ const getProductsOnPage = () => {
468
468
  return mergedElements;
469
469
  };
470
470
 
471
- const zonosHelloCss = ":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:inline-block}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:6px;border-radius:30px;background:var(--zonos-elements-page-background);font-size:var(--zonos-elements-font-size-s);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--zonos-elements-text-color);position:absolute;background:var(--zonos-elements-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:30px;border-bottom-left-radius:30px;left:0;-webkit-transform:translateX(calc(-100% + 16px));transform:translateX(calc(-100% + 16px));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--zonos-elements-border);border-bottom:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 6px;padding-right:16px;border:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:0;border-bottom-left-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:0;border-bottom-right-radius:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{border-left:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:16px;padding-right:6px;border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - 16px));transform:translateX(calc(100% - 16px));right:0;left:auto;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:30px;border-bottom-right-radius:30px}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}@media (max-width: 768px){:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{border-radius:var(--zonos-elements-radius-4);width:24px}}@media (max-width: 768px){:host .zonos--hello-widget{position:fixed;bottom:32px;right:32px;border-radius:var(--zonos-elements-radius-4);padding:4px;border:1px solid transparent}:host .zonos--hello-widget.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--zonos-elements-radius-4);border-bottom-left-radius:var(--zonos-elements-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--zonos-elements-radius-4);border-bottom-right-radius:var(--zonos-elements-radius-4)}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--zonos-elements-radius-4)}}:host .zonos--hello-mobile-override.zonos--hello-widget{position:fixed;bottom:32px;right:32px;border-radius:var(--zonos-elements-radius-4);padding:4px;border:1px solid transparent}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left){border-top-left-radius:var(--zonos-elements-radius-4);border-bottom-left-radius:var(--zonos-elements-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left{border-top-right-radius:var(--zonos-elements-radius-4);border-bottom-right-radius:var(--zonos-elements-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag-wrapper{border-radius:var(--zonos-elements-radius-4)}:host .zonos--hello-mobile-override.zonos--hello-widget .zonos--hello-country-flag{border-radius:var(--zonos-elements-radius-4);width:24px}";
471
+ const zonosHelloCss = ":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:inline-block}:host .zonos--hello-wrapper{position:relative}:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper-mobile-override{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}@media (max-width: 768px){:host .zonos--hello-wrapper .zonos--hello-dialog-wrapper{position:fixed;bottom:0;left:0;width:100vw;z-index:1001;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}:host .zonos--hello-widget{-webkit-transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);padding:6px;border-radius:30px;background:var(--zonos-elements-page-background);font-size:var(--zonos-elements-font-size-s);border:var(--zonos-elements-border);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;z-index:1000}:host .zonos--hello-widget>.zonos--hello-message{-ms-flex-order:0;order:0;max-width:0;height:100%;white-space:nowrap;-webkit-transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);transition:border 0.3s ease-in, all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);overflow:hidden;color:var(--zonos-elements-text-color);position:absolute;background:var(--zonos-elements-page-background);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-top-left-radius:30px;border-bottom-left-radius:30px;left:0;-webkit-transform:translateX(calc(-100% + 16px));transform:translateX(calc(-100% + 16px));width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-top:var(--zonos-elements-border);border-bottom:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-has-restrictions{background:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-has-restrictions>.zonos--hello-message{background:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800);font-weight:500}:host .zonos--hello-widget.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:1px solid var(--zonos-elements-red-200)}:host .zonos--hello-widget.zonos--hello-show-peek-message{max-width:100vw;width:100%}:host .zonos--hello-widget.zonos--hello-show-peek-message>.zonos--hello-message{max-width:100vw;padding:0 6px;padding-right:16px;border:var(--zonos-elements-border)}:host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left)>.zonos--hello-message{border-right:none}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{border-left:0}:host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:16px;padding-right:6px;border-left:none}:host .zonos--hello-widget.zonos--hello-widget-animate-from-left>.zonos--hello-message{-ms-flex-order:1;order:1;-webkit-transform:translateX(calc(100% - 16px));transform:translateX(calc(100% - 16px));right:0;left:auto;border-top-right-radius:30px;border-bottom-right-radius:30px}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--hello-widget .zonos--hello-country-flag-wrapper .zonos--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}:host .zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:72px;right:32px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float{position:fixed;bottom:72px;right:32px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-left{left:32px;right:auto}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-top{bottom:auto;top:32px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-has-restrictions.zonos--hello-show-peek-message>.zonos--hello-message{border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float>.zonos--hello-message{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-radius:30px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;top:0;bottom:0;left:0;-webkit-transform:translateX(0);transform:translateX(0);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border:none}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-widget-animate-from-left>.zonos--hello-message{-webkit-transform:translateX(0);transform:translateX(0)}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left>.zonos--hello-message{padding-left:8px;padding-right:4px}:host .zonos--hello-mobile-override.zonos--hello-widget.zonos--hello-widget-float.zonos--hello-show-peek-message>.zonos--hello-message{padding:0 var(--zonos-elements-radius-4);padding-right:6px;border:none}";
472
472
  const ZonosHelloStyle0 = zonosHelloCss;
473
473
 
474
474
  const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
475
- const RESIZE_DEBOUNCE_DELAY_MS = 500;
476
475
  const ZonosHello = class {
477
476
  constructor(hostRef) {
478
477
  registerInstance(this, hostRef);
@@ -618,6 +617,9 @@ const ZonosHello = class {
618
617
  this.changeShowDialog = (value) => {
619
618
  this.showDialog = value;
620
619
  };
620
+ /**
621
+ * Determine if the peek message should animate from left or not
622
+ */
621
623
  this.shouldAnimateLeftDesktop = () => {
622
624
  // Get Hello position (relative = desktop, fixed = mobile)
623
625
  const elPosition = this.helloRef && getComputedStyle(this.helloRef).position;
@@ -659,6 +661,7 @@ const ZonosHello = class {
659
661
  this.allFoundProducts = [];
660
662
  this.productsOnPage = [];
661
663
  this.isHelloWidgetRendered = false;
664
+ this.isMobile = false;
662
665
  }
663
666
  /**
664
667
  * Get the country list the hello widget's country select is using
@@ -725,7 +728,7 @@ const ZonosHello = class {
725
728
  this.changeShowDialog(value);
726
729
  }
727
730
  handleResize() {
728
- debounce_1(this.render.bind(this), RESIZE_DEBOUNCE_DELAY_MS);
731
+ this.isMobile = window.innerWidth <= 768;
729
732
  }
730
733
  /**
731
734
  * This method will handle the Hello widget initialized state, should only trigger once
@@ -746,6 +749,44 @@ const ZonosHello = class {
746
749
  }));
747
750
  }
748
751
  }
752
+ getHelloLocation() {
753
+ const mobileLocation = this.mobileLocationOverride || zonosStore.helloSettings.mobileLocation;
754
+ const desktopLocation = zonosStore.helloSettings.desktopLocation;
755
+ const isMobileWindow = this.isMobile;
756
+ switch (true) {
757
+ // Mobile
758
+ case isMobileWindow: {
759
+ const isOnLeft = this.animateFromLeftOverride || (mobileLocation === null || mobileLocation === void 0 ? void 0 : mobileLocation.includes('LEFT'));
760
+ const isOnTop = mobileLocation === null || mobileLocation === void 0 ? void 0 : mobileLocation.includes('TOP');
761
+ return {
762
+ isMobileWindow,
763
+ isOnLeft,
764
+ isOnTop,
765
+ shouldFloat: !!mobileLocation,
766
+ };
767
+ }
768
+ // Desktop
769
+ default:
770
+ case !isMobileWindow: {
771
+ /**
772
+ * Only float on desktop if there is no anchor specified and desktopLocation is set
773
+ * This is to keep the same behavior as it is now (display at anchor if set on desktop, float on mobile).
774
+ **/
775
+ const shouldFloat = !zonosStore.helloSettings.anchorElementSelector && !!desktopLocation;
776
+ const isOnLeft = this.animateFromLeftOverride ||
777
+ (desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('LEFT')) ||
778
+ this.shouldAnimateLeftDesktop();
779
+ const isOnTop = desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('TOP');
780
+ return {
781
+ isMobileWindow,
782
+ isOnLeft,
783
+ isOnTop,
784
+ // Only float if
785
+ shouldFloat,
786
+ };
787
+ }
788
+ }
789
+ }
749
790
  handleAppearanceSettingsOverrideChange() {
750
791
  var _a;
751
792
  if ((_a = this.appearanceSettingsOverride) === null || _a === void 0 ? void 0 : _a.theme) {
@@ -753,6 +794,9 @@ const ZonosHello = class {
753
794
  this.appearanceSettingsOverride.theme = getZonosStoreTheme(this.appearanceSettingsOverride.theme);
754
795
  }
755
796
  }
797
+ componentDidLoad() {
798
+ this.isMobile = window.innerWidth <= 768;
799
+ }
756
800
  render() {
757
801
  var _a, _b;
758
802
  const isExcludedUrl = (_a = zonosStore.helloSettings.excludedUrlPatterns) === null || _a === void 0 ? void 0 : _a.some(pattern => new RegExp(pattern).test(window.location.href));
@@ -761,13 +805,7 @@ const ZonosHello = class {
761
805
  return null;
762
806
  }
763
807
  const { selectedCountryCode, targetCurrency } = localizationStore;
764
- const mobileLocation = this.mobileLocationOverride || zonosStore.helloSettings.mobileLocation;
765
- const isMobileWindow = window.innerWidth < 768;
766
- const isOnLeft = this.animateFromLeftOverride ||
767
- (isMobileWindow && mobileLocation.includes('LEFT')) ||
768
- this.shouldAnimateLeftDesktop() ||
769
- false;
770
- const isOnTop = mobileLocation.includes('TOP');
808
+ const { isOnLeft, isOnTop, shouldFloat } = this.getHelloLocation();
771
809
  const appearanceSettings = mergeConfig(zonosStore.appearance, this.appearanceSettingsOverride);
772
810
  const { theme } = appearanceSettings;
773
811
  const restrictedItemsOnPage = (_b = this.allRestrictedItems) === null || _b === void 0 ? void 0 : _b.filter(product => this.productsOnPage.some(restriction => restriction.description === product.itemDescription));
@@ -782,7 +820,10 @@ const ZonosHello = class {
782
820
  currencyCode: targetCurrency,
783
821
  });
784
822
  }
785
- return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme }, showHello && (h("div", { class: "zonos--hello-wrapper" }, h("button", { class: classes([
823
+ return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme }, showHello && (h("div", { class: classes([
824
+ 'zonos--hello-wrapper',
825
+ shouldFloat && 'zonos--hello-widget-float',
826
+ ]) }, h("button", { class: classes([
786
827
  'zonos--hello-widget',
787
828
  this.showPeekMessage && 'zonos--hello-show-peek-message',
788
829
  this.mobileLocationOverride && 'zonos--hello-mobile-override',
@@ -791,12 +832,14 @@ const ZonosHello = class {
791
832
  isOnTop && 'zonos--hello-widget-top',
792
833
  !!this.allRestrictedItems.length &&
793
834
  'zonos--hello-has-restrictions',
835
+ shouldFloat && 'zonos--hello-widget-float',
794
836
  ]), onClick: () => {
795
837
  void this.changeShowDialog(!this.showDialog);
796
838
  }, onMouseEnter: () => this.enableShowPeekMessage(), onMouseLeave: () => (this.showPeekMessage = false), ref: el => el && (this.helloRef = el) }, h("zonos-text", { class: "zonos--hello-message" }, this.peekMessage), selectedCountryCode && (h("div", { class: "zonos--hello-country-flag-wrapper" }, h("zonos-country-flag", { class: "zonos--hello-country-flag", countryCode: selectedCountryCode })))), h("div", { class: classes([
797
839
  'zonos--hello-dialog-wrapper',
798
840
  this.mobileLocationOverride &&
799
841
  'zonos--hello-dialog-wrapper-mobile-override',
842
+ shouldFloat && 'zonos--hello-widget-float',
800
843
  ]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: this.animateFromLeftOverride, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
801
844
  }
802
845
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
5
5
 
6
6
  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}";
7
7
  const ZonosInputStyle0 = zonosInputCss;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-e76844eb.js';
3
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-4f300fcb.js';
3
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './logError-c456c092.js';
6
- import './isDarkColor-3119e351.js';
7
- import './getBorderRadius-3ba98361.js';
6
+ import './isDarkColor-c927f77d.js';
7
+ import './getBorderRadius-23398fc6.js';
8
8
 
9
9
  const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
10
10
  <path d="M7.99996 2.6665C5.05444 2.6665 2.66663 5.05432 2.66663 7.99984C2.66663 10.9454 5.05444 13.3332 7.99996 13.3332C10.9455 13.3332 13.3333 10.9454 13.3333 7.99984C13.3333 5.05432 10.9455 2.6665 7.99996 2.6665Z" fill="#AFF8C3"/>
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, a as getAssetPath, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  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)}";
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { k as stripeStore } from './cart-e76844eb.js';
4
+ import { k as stripeStore } from './cart-4f300fcb.js';
5
5
  import { a as logError, l as log } from './logError-c456c092.js';
6
- import { d as paypalStoreInitButtons } from './paypal-3565fdd5.js';
7
- import './isDarkColor-3119e351.js';
8
- import './getBorderRadius-3ba98361.js';
6
+ import { d as paypalStoreInitButtons } from './paypal-70caf283.js';
7
+ import './isDarkColor-c927f77d.js';
8
+ import './getBorderRadius-23398fc6.js';
9
9
 
10
10
  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:9999999999;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)}";
11
11
  const ZonosNotificationStyle0 = zonosNotificationCss;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily, z as zonosStore } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily, z as zonosStore } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-23398fc6.js';
5
5
  import { i as isColorVariable } from './isColorVariable-82457bef.js';
6
6
 
7
7
  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}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
  import { i as isColorVariable } from './isColorVariable-82457bef.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-473f4654.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosVStackCss = ":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 .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";