@zonos/elements 1.3.256 → 1.3.257

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 (267) hide show
  1. package/dist/cjs/{cart-e156c1e3.js → cart-cd0a054b.js} +4 -4
  2. package/dist/cjs/{debounce-0c75ba33.js → debounce-3e17b4e9.js} +1 -1
  3. package/dist/cjs/{getBorderRadius-27a74844.js → getBorderRadius-db55a464.js} +1 -1
  4. package/dist/cjs/{getContrastColor-cc087c53.js → getContrastColor-8ed1cb48.js} +2 -2
  5. package/dist/cjs/{hasInclusivePrice-d6d274bd.js → hasInclusivePrice-3650109c.js} +1 -1
  6. package/dist/cjs/index.cjs.js +7 -7
  7. package/dist/cjs/{invoice-f4b5d538.js → invoice-1cea739b.js} +3 -3
  8. package/dist/cjs/{isCollectMobileTablet-c9369cd8.js → isCollectMobileTablet-65c71740.js} +3 -3
  9. package/dist/cjs/{isContrastColor-d1936a5c.js → isContrastColor-6a17f408.js} +1 -1
  10. package/dist/cjs/{isDarkColor-a68abf7a.js → isDarkColor-bfe6d1eb.js} +1 -1
  11. package/dist/cjs/{localization-5bb1e598.js → localization-adaab93f.js} +55 -20
  12. package/dist/cjs/{paypal-f9641595.js → paypal-326d7bc5.js} +5 -5
  13. package/dist/cjs/{placeTestOrder-7ac7f91a.js → placeTestOrder-53f2fe97.js} +2 -2
  14. package/dist/cjs/{renderCheckoutCurrency-6b59a718.js → renderCheckoutCurrency-cf2e3b93.js} +2 -2
  15. package/dist/cjs/{submitGtag-cb4fb332.js → submitGtag-9ac5a42e.js} +1 -1
  16. package/dist/cjs/{throttle-ff483793.js → throttle-dac93461.js} +2 -2
  17. package/dist/cjs/{updateCheckoutSessionAttributes-8be63b63.js → updateCheckoutSessionAttributes-a3776bb0.js} +1 -1
  18. package/dist/cjs/zonos-address-display_8.cjs.entry.js +7 -7
  19. package/dist/cjs/zonos-address_4.cjs.entry.js +7 -7
  20. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  23. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
  24. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +14 -14
  25. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
  26. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
  27. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
  29. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +11 -11
  30. package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
  31. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  32. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  33. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  34. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  35. package/dist/cjs/zonos-hello.cjs.entry.js +38 -15
  36. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  37. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +7 -7
  38. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +11 -11
  39. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
  40. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  41. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  42. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  43. package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
  44. package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
  45. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  46. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  47. package/dist/cjs/{zonosStore-f5a61112.js → zonosStore-1c517e55.js} +0 -1
  48. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +35 -12
  49. package/dist/collection/components/store/hello/localization.js +54 -19
  50. package/dist/collection/components/store/zonosStore.js +0 -1
  51. package/dist/collection/types/generated/graphql.internal.types.js +446 -0
  52. package/dist/esm/{cart-55b8dd7c.js → cart-4cd47a1b.js} +4 -4
  53. package/dist/esm/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
  54. package/dist/esm/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
  55. package/dist/esm/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +2 -2
  56. package/dist/esm/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-7a3dc4c3.js} +1 -1
  57. package/dist/esm/index.js +7 -7
  58. package/dist/esm/{invoice-dbe85a18.js → invoice-03ff7bbb.js} +3 -3
  59. package/dist/esm/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-9eb77c9a.js} +3 -3
  60. package/dist/esm/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
  61. package/dist/esm/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
  62. package/dist/esm/{localization-d11c973f.js → localization-79e08480.js} +55 -20
  63. package/dist/esm/{paypal-f87fbee0.js → paypal-67c86683.js} +5 -5
  64. package/dist/esm/{placeTestOrder-8e8e97be.js → placeTestOrder-e81fff15.js} +2 -2
  65. package/dist/esm/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-1fc00db4.js} +2 -2
  66. package/dist/esm/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
  67. package/dist/esm/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +2 -2
  68. package/dist/esm/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
  69. package/dist/esm/zonos-address-display_8.entry.js +7 -7
  70. package/dist/esm/zonos-address_4.entry.js +7 -7
  71. package/dist/esm/zonos-badge.entry.js +1 -1
  72. package/dist/esm/zonos-banner.entry.js +1 -1
  73. package/dist/esm/zonos-button_3.entry.js +3 -3
  74. package/dist/esm/zonos-card_5.entry.js +8 -8
  75. package/dist/esm/zonos-cart-items_12.entry.js +14 -14
  76. package/dist/esm/zonos-checkbox_2.entry.js +3 -3
  77. package/dist/esm/zonos-checkout.entry.js +10 -10
  78. package/dist/esm/zonos-collapse.entry.js +1 -1
  79. package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
  80. package/dist/esm/zonos-collect-finish_6.entry.js +11 -11
  81. package/dist/esm/zonos-collect.entry.js +9 -9
  82. package/dist/esm/zonos-controller.entry.js +6 -6
  83. package/dist/esm/zonos-country-flag.entry.js +2 -2
  84. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  85. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  86. package/dist/esm/zonos-hello.entry.js +38 -15
  87. package/dist/esm/zonos-input.entry.js +2 -2
  88. package/dist/esm/zonos-invoice-cart-items_2.entry.js +7 -7
  89. package/dist/esm/zonos-invoice-finish_5.entry.js +11 -11
  90. package/dist/esm/zonos-invoice.entry.js +9 -9
  91. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  92. package/dist/esm/zonos-logo.entry.js +1 -1
  93. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  94. package/dist/esm/zonos-store-credit.entry.js +6 -6
  95. package/dist/esm/zonos-stripe-input.entry.js +3 -3
  96. package/dist/esm/zonos-text.entry.js +1 -1
  97. package/dist/esm/zonos-v-stack.entry.js +1 -1
  98. package/dist/esm/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +0 -1
  99. package/dist/esm-es5/{cart-55b8dd7c.js → cart-4cd47a1b.js} +1 -1
  100. package/dist/esm-es5/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
  101. package/dist/esm-es5/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
  102. package/dist/esm-es5/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +1 -1
  103. package/dist/esm-es5/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-7a3dc4c3.js} +1 -1
  104. package/dist/esm-es5/index.js +1 -1
  105. package/dist/esm-es5/{invoice-dbe85a18.js → invoice-03ff7bbb.js} +1 -1
  106. package/dist/esm-es5/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-9eb77c9a.js} +1 -1
  107. package/dist/esm-es5/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
  108. package/dist/esm-es5/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
  109. package/dist/esm-es5/{localization-d11c973f.js → localization-79e08480.js} +1 -1
  110. package/dist/esm-es5/{paypal-f87fbee0.js → paypal-67c86683.js} +2 -2
  111. package/dist/esm-es5/{placeTestOrder-8e8e97be.js → placeTestOrder-e81fff15.js} +1 -1
  112. package/dist/esm-es5/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-1fc00db4.js} +1 -1
  113. package/dist/esm-es5/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
  114. package/dist/esm-es5/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +1 -1
  115. package/dist/esm-es5/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
  116. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  117. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  118. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  119. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  120. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  121. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  122. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  123. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  124. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  125. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  126. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  127. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  128. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  129. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  130. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  131. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  132. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  133. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  134. package/dist/esm-es5/zonos-input.entry.js +1 -1
  135. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  136. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  137. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  138. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  139. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  140. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  141. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  142. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  143. package/dist/esm-es5/zonos-text.entry.js +1 -1
  144. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  145. package/dist/esm-es5/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +1 -1
  146. package/dist/scripts/index.d.ts +88 -8
  147. package/dist/scripts/index.js +1 -1
  148. package/dist/scripts/loadZonos.js +1 -1
  149. package/dist/scripts/zonos.js +1 -1
  150. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  151. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +18 -6
  152. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  153. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  154. package/dist/types/types/generated/graphql.internal.types.d.ts +532 -11
  155. package/dist/types/types/generated/graphql.internal.types.ts +600 -11
  156. package/dist/types/types/hello/HelloConfig.d.ts +22 -3
  157. package/dist/zonos-elements/index.esm.js +1 -1
  158. package/dist/zonos-elements/{p-1c9e9692.system.entry.js → p-0740f8a4.system.entry.js} +1 -1
  159. package/dist/zonos-elements/p-09307a03.js +1 -0
  160. package/dist/zonos-elements/{p-89757efe.entry.js → p-0ca6ee9b.entry.js} +1 -1
  161. package/dist/zonos-elements/p-0e83d193.js +1 -0
  162. package/dist/zonos-elements/{p-b439d38f.system.entry.js → p-0f4822cc.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-8d5f928c.system.entry.js → p-1368dce7.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-ac30b7a8.system.js → p-15ef7644.system.js} +1 -1
  165. package/dist/zonos-elements/{p-ab25379f.system.js → p-17a8a514.system.js} +1 -1
  166. package/dist/zonos-elements/{p-8ccf97ce.entry.js → p-21519ebe.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-2a28c7ac.system.js → p-22bb7836.system.js} +1 -1
  168. package/dist/zonos-elements/{p-e2adf04b.system.js → p-271eebd3.system.js} +1 -1
  169. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  170. package/dist/zonos-elements/{p-52b70520.system.entry.js → p-2c1c6d60.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-908f13ae.js → p-2f924331.js} +1 -1
  172. package/dist/zonos-elements/{p-4aefd668.entry.js → p-2fa41e93.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-72de2fdc.system.entry.js → p-3092ec40.system.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-dbb3db89.system.entry.js → p-313b87f3.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-c9d4eb42.entry.js → p-3576d900.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-befad3c4.entry.js → p-3675766a.entry.js} +1 -1
  177. package/dist/zonos-elements/p-380143db.entry.js +1 -0
  178. package/dist/zonos-elements/{p-4f7d64f6.js → p-387f6a4d.js} +1 -1
  179. package/dist/zonos-elements/{p-9b42f0ad.system.entry.js → p-3fc43187.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-a1c476d6.system.entry.js → p-3ff736f7.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-aad014df.entry.js → p-429c1d0c.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-8c6624b6.system.js → p-43a6e469.system.js} +1 -1
  183. package/dist/zonos-elements/{p-664aff48.system.entry.js → p-4a84387a.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-3a8925e9.js → p-4e2262e8.js} +1 -1
  185. package/dist/zonos-elements/p-53fe581b.system.js +1 -0
  186. package/dist/zonos-elements/{p-7d4a1565.entry.js → p-5818f4a7.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-f830f800.js → p-5beab541.js} +1 -1
  188. package/dist/zonos-elements/{p-d18a2b2c.system.js → p-61be7d98.system.js} +1 -1
  189. package/dist/zonos-elements/{p-70c8a47d.system.entry.js → p-62dbc5f8.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-d155b9c6.entry.js → p-6b83ac7f.entry.js} +1 -1
  191. package/dist/zonos-elements/p-6bcbe651.js +1 -0
  192. package/dist/zonos-elements/{p-93c64387.js → p-7559c494.js} +1 -1
  193. package/dist/zonos-elements/{p-8f1ab25c.system.entry.js → p-770d414a.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-7427dd1e.entry.js → p-7a379538.entry.js} +1 -1
  195. package/dist/zonos-elements/{p-dba635e6.entry.js → p-7aeb496e.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-99e1734a.js → p-7caa75bb.js} +1 -1
  197. package/dist/zonos-elements/p-7cbbf483.system.js +1 -0
  198. package/dist/zonos-elements/p-7d9bbdc8.js +1 -0
  199. package/dist/zonos-elements/{p-b85d4286.entry.js → p-80ba5f70.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-5343c32b.system.js → p-8adc0a13.system.js} +1 -1
  201. package/dist/zonos-elements/{p-08830a50.system.entry.js → p-8b35e475.system.entry.js} +1 -1
  202. package/dist/zonos-elements/p-8bce79f4.system.js +1 -0
  203. package/dist/zonos-elements/{p-f6733ffb.js → p-8ed0fad5.js} +2 -2
  204. package/dist/zonos-elements/{p-18d411c3.system.entry.js → p-9161f10d.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-8a593061.entry.js → p-91eeccaa.entry.js} +1 -1
  206. package/dist/zonos-elements/p-944bf0e7.js +1 -0
  207. package/dist/zonos-elements/{p-2eeda8a9.system.entry.js → p-9d435f12.system.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-fc1c7fe5.system.entry.js → p-9f3aab4e.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-225957b9.entry.js → p-a60544cc.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-50d31f4f.entry.js → p-a7b0345b.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-fbd44c55.system.js → p-a90c977a.system.js} +1 -1
  212. package/dist/zonos-elements/{p-6b45e9f3.system.entry.js → p-aa3e3438.system.entry.js} +1 -1
  213. package/dist/zonos-elements/p-ac7b93c9.js +1 -0
  214. package/dist/zonos-elements/{p-00728af1.entry.js → p-b3824361.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-8608c123.system.entry.js → p-b414b484.system.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-70e069d3.system.js → p-b53856bf.system.js} +1 -1
  217. package/dist/zonos-elements/{p-2aa44601.entry.js → p-bb6e7e9e.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-939ba2a5.entry.js → p-bb785f33.entry.js} +1 -1
  219. package/dist/zonos-elements/{p-5f628e57.entry.js → p-bcbbe867.entry.js} +1 -1
  220. package/dist/zonos-elements/p-c2139758.entry.js +1 -0
  221. package/dist/zonos-elements/{p-5d0b0126.system.entry.js → p-c23e2501.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-f9ffff4e.entry.js → p-c585d169.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-ed61dedd.system.entry.js → p-c7ecef98.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-ee217693.entry.js → p-c908a7a3.entry.js} +1 -1
  225. package/dist/zonos-elements/p-cd563d65.system.js +1 -0
  226. package/dist/zonos-elements/{p-ddcbea81.entry.js → p-cdbb50cf.entry.js} +1 -1
  227. package/dist/zonos-elements/{p-f36e907e.entry.js → p-ce2fd652.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-4e4fa1fb.system.entry.js → p-d004565d.system.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-3f141999.system.js → p-d0690cdc.system.js} +1 -1
  230. package/dist/zonos-elements/{p-fe6cc354.entry.js → p-d30e8c3a.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-ae397ff8.system.entry.js → p-da7e1143.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-93d6e13f.entry.js → p-ddb27b4a.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-234f0339.system.entry.js → p-dfb4360d.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-32365d6a.system.entry.js → p-e173fbd1.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-3fbd9cc0.system.js → p-e25e0b4b.system.js} +1 -1
  236. package/dist/zonos-elements/{p-53275a0d.system.entry.js → p-e3f9779a.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-0d18d94b.entry.js → p-e55bc187.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-57b5d3e3.system.js → p-e56f5954.system.js} +1 -1
  239. package/dist/zonos-elements/{p-d280e9b6.system.js → p-e5f5b086.system.js} +1 -1
  240. package/dist/zonos-elements/{p-3fae811a.js → p-e62342c3.js} +1 -1
  241. package/dist/zonos-elements/p-e6726a50.system.js +1 -0
  242. package/dist/zonos-elements/{p-c66649fe.system.entry.js → p-e6feafc1.system.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-b004146f.entry.js → p-e749fb81.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-59025df9.system.entry.js → p-e80832cb.system.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-2cb5ef7d.system.entry.js → p-e9f36d6b.system.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-058f6124.js → p-ed9385f4.js} +1 -1
  247. package/dist/zonos-elements/p-f68ce554.js +1 -0
  248. package/dist/zonos-elements/{p-67897a0d.js → p-f6922df5.js} +1 -1
  249. package/dist/zonos-elements/{p-f0938b51.system.entry.js → p-f7ddd288.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-38881641.system.entry.js → p-fbc274a8.system.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-d14e5c81.entry.js → p-fed19033.entry.js} +1 -1
  252. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  253. package/package.json +1 -1
  254. package/dist/zonos-elements/p-179bbeae.js +0 -1
  255. package/dist/zonos-elements/p-34d10122.js +0 -1
  256. package/dist/zonos-elements/p-399f5ad6.entry.js +0 -1
  257. package/dist/zonos-elements/p-53db5f85.system.js +0 -1
  258. package/dist/zonos-elements/p-7501c637.system.js +0 -1
  259. package/dist/zonos-elements/p-7d7ffb42.js +0 -1
  260. package/dist/zonos-elements/p-959918fe.system.js +0 -1
  261. package/dist/zonos-elements/p-9631c373.system.js +0 -1
  262. package/dist/zonos-elements/p-9d44fef6.system.js +0 -1
  263. package/dist/zonos-elements/p-ddde268d.entry.js +0 -1
  264. package/dist/zonos-elements/p-def2d465.js +0 -1
  265. package/dist/zonos-elements/p-e219d011.js +0 -1
  266. package/dist/zonos-elements/p-ee2c7a1e.js +0 -1
  267. package/dist/zonos-elements/p-fa0c5017.js +0 -1
@@ -3,23 +3,23 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const paypal = require('./paypal-f9641595.js');
8
- const localization = require('./localization-5bb1e598.js');
9
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const paypal = require('./paypal-326d7bc5.js');
8
+ const localization = require('./localization-adaab93f.js');
9
+ const zonosStore = require('./zonosStore-1c517e55.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
12
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const submitGtag = require('./submitGtag-cb4fb332.js');
15
- const isCollectMobileTablet = require('./isCollectMobileTablet-c9369cd8.js');
14
+ const submitGtag = require('./submitGtag-9ac5a42e.js');
15
+ const isCollectMobileTablet = require('./isCollectMobileTablet-65c71740.js');
16
16
  const classes = require('./classes-b7918f56.js');
17
17
  const ILanguage = require('./ILanguage-98b04442.js');
18
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-6b59a718.js');
19
- const placeTestOrder = require('./placeTestOrder-7ac7f91a.js');
18
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
19
+ const placeTestOrder = require('./placeTestOrder-53f2fe97.js');
20
20
  const renderFallback = require('./renderFallback-bc20ee20.js');
21
- require('./isDarkColor-a68abf7a.js');
22
- require('./isContrastColor-d1936a5c.js');
21
+ require('./isDarkColor-bfe6d1eb.js');
22
+ require('./isContrastColor-6a17f408.js');
23
23
 
24
24
  const RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
25
25
 
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const isCollectMobileTablet = require('./isCollectMobileTablet-c9369cd8.js');
8
- const paypal = require('./paypal-f9641595.js');
9
- const localization = require('./localization-5bb1e598.js');
10
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const isCollectMobileTablet = require('./isCollectMobileTablet-65c71740.js');
8
+ const paypal = require('./paypal-326d7bc5.js');
9
+ const localization = require('./localization-adaab93f.js');
10
+ const zonosStore = require('./zonosStore-1c517e55.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
13
13
  const classes = require('./classes-b7918f56.js');
14
14
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
15
15
  const renderFallback = require('./renderFallback-bc20ee20.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- require('./isDarkColor-a68abf7a.js');
18
- require('./getBorderRadius-27a74844.js');
19
- require('./isContrastColor-d1936a5c.js');
20
- require('./submitGtag-cb4fb332.js');
17
+ require('./isDarkColor-bfe6d1eb.js');
18
+ require('./getBorderRadius-db55a464.js');
19
+ require('./isContrastColor-6a17f408.js');
20
+ require('./submitGtag-9ac5a42e.js');
21
21
 
22
22
  const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
23
23
 
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const localization = require('./localization-5bb1e598.js');
8
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const localization = require('./localization-adaab93f.js');
8
+ const zonosStore = require('./zonosStore-1c517e55.js');
9
9
  const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
12
- const submitGtag = require('./submitGtag-cb4fb332.js');
13
- require('./isDarkColor-a68abf7a.js');
14
- require('./getBorderRadius-27a74844.js');
12
+ const submitGtag = require('./submitGtag-9ac5a42e.js');
13
+ require('./isDarkColor-bfe6d1eb.js');
14
+ require('./getBorderRadius-db55a464.js');
15
15
 
16
16
  const getZonosSettings = async () => {
17
17
  if (window.Zonos.cartSettings) {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-5bb1e598.js');
7
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const localization = require('./localization-adaab93f.js');
7
+ const zonosStore = require('./zonosStore-1c517e55.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-954f30e1.js');
10
10
  require('./VarianceTest-bec00ea8.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-5bb1e598.js');
7
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const localization = require('./localization-adaab93f.js');
7
+ const zonosStore = require('./zonosStore-1c517e55.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
- const isDarkColor = require('./isDarkColor-a68abf7a.js');
9
+ const isDarkColor = require('./isDarkColor-bfe6d1eb.js');
10
10
  const ILanguage = require('./ILanguage-98b04442.js');
11
11
  const classes = require('./classes-b7918f56.js');
12
12
  require('./handleFetch-954f30e1.js');
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-5bb1e598.js');
7
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const localization = require('./localization-adaab93f.js');
7
+ const zonosStore = require('./zonosStore-1c517e55.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
10
- const hasInclusivePrice = require('./hasInclusivePrice-d6d274bd.js');
10
+ const hasInclusivePrice = require('./hasInclusivePrice-3650109c.js');
11
11
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
12
12
  const TaxId = require('./TaxId-12acedde.js');
13
13
  require('./handleFetch-954f30e1.js');
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const debounce = require('./debounce-0c75ba33.js');
7
- const localization = require('./localization-5bb1e598.js');
8
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const debounce = require('./debounce-3e17b4e9.js');
7
+ const localization = require('./localization-adaab93f.js');
8
+ const zonosStore = require('./zonosStore-1c517e55.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -311,24 +311,47 @@ const ZonosHello = class {
311
311
  }
312
312
  };
313
313
  this.shouldRenderHello = (showLog = true) => {
314
+ var _a, _b;
314
315
  if (!localization.localizationStore.localizationLoaded) {
315
316
  return false;
316
317
  }
317
- const { showForCountries } = zonosStore.zonosStore.helloSettings;
318
- if (showLog) {
319
- if (!localization.localizationStore.isShippableCountry) {
320
- VarianceTest.log(`Hello: not shippable country - Show for countries: ${showForCountries}`);
321
- }
318
+ const { countryDisplayRules, showForCountries } = zonosStore.zonosStore.helloSettings;
319
+ const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
320
+ const selectedCountry = localization.localizationStore.selectedCountryCode;
321
+ // Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
322
+ // If showForCountries is an array of country codes, treat as legacy explicit list
323
+ const behavior = Array.isArray(showForCountries)
324
+ ? showForCountries
325
+ : (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
326
+ if (showLog && !localization.localizationStore.isShippableCountry) {
327
+ VarianceTest.log(`Hello: not shippable country - Show for countries: ${behavior}`);
328
+ }
329
+ // Legacy: explicit list of country codes from deprecated showForCountries
330
+ if (Array.isArray(behavior)) {
331
+ return !!selectedCountry && behavior.includes(selectedCountry);
332
+ }
333
+ // Determine base visibility from behavior
334
+ let isVisible;
335
+ if (behavior === 'ALL') {
336
+ isVisible = true;
337
+ }
338
+ else {
339
+ // Default: ONLY_SHIPPABLE
340
+ isVisible = localization.localizationStore.isShippableCountry;
322
341
  }
323
- // if localization is loaded and the localization is not a shippable country, keep the original click event
324
- if (showForCountries === 'ONLY_SHIPPABLE') {
325
- return localization.localizationStore.isShippableCountry;
342
+ // Apply includedCountries — force show the widget for these countries
343
+ if (!isVisible &&
344
+ selectedCountry &&
345
+ ((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
346
+ isVisible = true;
326
347
  }
327
- // if user wants to show hello for all countries
328
- if (showForCountries === 'ALL') {
329
- return true;
348
+ // Apply excludedCountries — force hide the widget for these countries
349
+ if (isVisible &&
350
+ selectedCountry &&
351
+ ((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
352
+ isVisible = false;
330
353
  }
331
- return showForCountries === null || showForCountries === void 0 ? void 0 : showForCountries.includes(localization.localizationStore.selectedCountryCode || '');
354
+ return isVisible;
332
355
  };
333
356
  }
334
357
  showDialogHandler(showDialog) {
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
8
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
9
9
  require('./VarianceTest-bec00ea8.js');
10
10
 
11
11
  const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{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(--zonos--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(--zonos--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(--zonos--border-radius)}:host{}: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}";
@@ -3,17 +3,17 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const localization = require('./localization-5bb1e598.js');
8
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-6b59a718.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const localization = require('./localization-adaab93f.js');
8
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
- const invoice = require('./invoice-f4b5d538.js');
10
+ const invoice = require('./invoice-1cea739b.js');
11
11
  const renderFallback = require('./renderFallback-bc20ee20.js');
12
- require('./zonosStore-f5a61112.js');
12
+ require('./zonosStore-1c517e55.js');
13
13
  require('./VarianceTest-bec00ea8.js');
14
14
  require('./handleFetch-954f30e1.js');
15
- require('./isDarkColor-a68abf7a.js');
16
- require('./getBorderRadius-27a74844.js');
15
+ require('./isDarkColor-bfe6d1eb.js');
16
+ require('./getBorderRadius-db55a464.js');
17
17
 
18
18
  const zonosInvoiceCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}";
19
19
  const ZonosInvoiceCartItemsStyle0 = zonosInvoiceCartItemsCss;
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const paypal = require('./paypal-f9641595.js');
8
- const localization = require('./localization-5bb1e598.js');
9
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const paypal = require('./paypal-326d7bc5.js');
8
+ const localization = require('./localization-adaab93f.js');
9
+ const zonosStore = require('./zonosStore-1c517e55.js');
10
10
  const handleFetch = require('./handleFetch-954f30e1.js');
11
11
  const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
12
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
12
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
13
13
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
14
- const submitGtag = require('./submitGtag-cb4fb332.js');
14
+ const submitGtag = require('./submitGtag-9ac5a42e.js');
15
15
  const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
16
16
  const classes = require('./classes-b7918f56.js');
17
17
  const ILanguage = require('./ILanguage-98b04442.js');
18
- const invoice = require('./invoice-f4b5d538.js');
19
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-6b59a718.js');
20
- const placeTestOrder = require('./placeTestOrder-7ac7f91a.js');
18
+ const invoice = require('./invoice-1cea739b.js');
19
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
20
+ const placeTestOrder = require('./placeTestOrder-53f2fe97.js');
21
21
  const renderFallback = require('./renderFallback-bc20ee20.js');
22
- require('./isDarkColor-a68abf7a.js');
23
- require('./isContrastColor-d1936a5c.js');
22
+ require('./isDarkColor-bfe6d1eb.js');
23
+ require('./isContrastColor-6a17f408.js');
24
24
 
25
25
  const RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
26
26
 
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const invoice = require('./invoice-f4b5d538.js');
8
- const paypal = require('./paypal-f9641595.js');
9
- const localization = require('./localization-5bb1e598.js');
10
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const invoice = require('./invoice-1cea739b.js');
8
+ const paypal = require('./paypal-326d7bc5.js');
9
+ const localization = require('./localization-adaab93f.js');
10
+ const zonosStore = require('./zonosStore-1c517e55.js');
11
11
  const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
12
12
  const handleFetch = require('./handleFetch-954f30e1.js');
13
13
  const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
14
14
  const classes = require('./classes-b7918f56.js');
15
15
  const VarianceTest = require('./VarianceTest-bec00ea8.js');
16
16
  const ILanguage = require('./ILanguage-98b04442.js');
17
- require('./isDarkColor-a68abf7a.js');
18
- require('./getBorderRadius-27a74844.js');
19
- require('./isContrastColor-d1936a5c.js');
20
- require('./submitGtag-cb4fb332.js');
17
+ require('./isDarkColor-bfe6d1eb.js');
18
+ require('./getBorderRadius-db55a464.js');
19
+ require('./isContrastColor-6a17f408.js');
20
+ require('./submitGtag-9ac5a42e.js');
21
21
 
22
22
  const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
23
23
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const localization = require('./localization-5bb1e598.js');
7
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const localization = require('./localization-adaab93f.js');
7
+ const zonosStore = require('./zonosStore-1c517e55.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-954f30e1.js');
10
10
  require('./VarianceTest-bec00ea8.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  require('./VarianceTest-bec00ea8.js');
9
9
 
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
9
- const getContrastColor = require('./getContrastColor-cc087c53.js');
8
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
9
+ const getContrastColor = require('./getContrastColor-8ed1cb48.js');
10
10
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
- require('./isDarkColor-a68abf7a.js');
13
- require('./isContrastColor-d1936a5c.js');
12
+ require('./isDarkColor-bfe6d1eb.js');
13
+ require('./isContrastColor-6a17f408.js');
14
14
 
15
15
  const zonosShippingRichRadioCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--zonos--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(--zonos--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--zonos--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(--zonos--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}";
16
16
  const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const cart = require('./cart-e156c1e3.js');
7
- const localization = require('./localization-5bb1e598.js');
8
- const zonosStore = require('./zonosStore-f5a61112.js');
9
- const renderCheckoutCurrency = require('./renderCheckoutCurrency-6b59a718.js');
10
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
6
+ const cart = require('./cart-cd0a054b.js');
7
+ const localization = require('./localization-adaab93f.js');
8
+ const zonosStore = require('./zonosStore-1c517e55.js');
9
+ const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
10
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
12
  require('./handleFetch-954f30e1.js');
13
- require('./isDarkColor-a68abf7a.js');
13
+ require('./isDarkColor-bfe6d1eb.js');
14
14
 
15
15
  const StoreCreditIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">
16
16
  <path fill="currentColor" fill-rule="evenodd" d="M4 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H4Zm16 2H4a1 1 0 0 0-1 1v1h18V8a1 1 0 0 0-1-1ZM2 11h20v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-3Zm6 4.5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1Z" clip-rule="evenodd"/>
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const helpers = require('./helpers-5bdbb68c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const getBorderRadius = require('./getBorderRadius-27a74844.js');
10
- const isDarkColor = require('./isDarkColor-a68abf7a.js');
9
+ const getBorderRadius = require('./getBorderRadius-db55a464.js');
10
+ const isDarkColor = require('./isDarkColor-bfe6d1eb.js');
11
11
  require('./VarianceTest-bec00ea8.js');
12
12
 
13
13
  const zonosStripeInputCss = ".sc-zonos-stripe-input-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-stripe-input-h *.sc-zonos-stripe-input{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-stripe-input-h img.sc-zonos-stripe-input{max-width:100%}.sc-zonos-stripe-input-h dl.sc-zonos-stripe-input,.sc-zonos-stripe-input-h dd.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h1.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h2.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h3.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h4.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h5.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h6.sc-zonos-stripe-input,.sc-zonos-stripe-input-h hr.sc-zonos-stripe-input,.sc-zonos-stripe-input-h figure.sc-zonos-stripe-input,.sc-zonos-stripe-input-h p.sc-zonos-stripe-input,.sc-zonos-stripe-input-h pre.sc-zonos-stripe-input{margin:0}.sc-zonos-stripe-input-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-stripe-input-h{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}.dark.sc-zonos-stripe-input-h{color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5),\n 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}.sc-zonos-stripe-input-h{margin:1px}.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px;height:calc(var(--zonos-elements-size-xl) - 2px)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-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(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color);height:auto}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected+label.sc-zonos-stripe-input+div.sc-zonos-stripe-input{background-color:#e8f0fe}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.sc-zonos-stripe-input{padding:24px 4px 2px 16px}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input{padding-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{margin-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus{outline:none;border:var(--zonos--border)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}.sc-zonos-stripe-input-h .zonos--floated-input.has-error.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-webkit-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-moz-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input:-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-webkit-autofill,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;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% - 8px);z-index:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input{pointer-events:inherit}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input::after{cursor:not-allowed;z-index:1}.dark.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{background:#30313d}";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
9
9
  const styles = require('./styles-d1e64fb9.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b1f95d96.js');
6
- const zonosStore = require('./zonosStore-f5a61112.js');
6
+ const zonosStore = require('./zonosStore-1c517e55.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  require('./VarianceTest-bec00ea8.js');
9
9
 
@@ -2927,7 +2927,6 @@ const { dispose: zonosStoreDispose, onChange: zonosStoreOnChange, reset, state:
2927
2927
  productListUrlPattern: '',
2928
2928
  productTitleElementSelector: '',
2929
2929
  restrictionBehavior: 'DISABLED',
2930
- showForCountries: 'ONLY_SHIPPABLE',
2931
2930
  visibilityStatus: 'ENABLED',
2932
2931
  },
2933
2932
  loadedConfig: false,
@@ -203,24 +203,47 @@ export class ZonosHello {
203
203
  }
204
204
  };
205
205
  this.shouldRenderHello = (showLog = true) => {
206
+ var _a, _b;
206
207
  if (!localizationStore.localizationLoaded) {
207
208
  return false;
208
209
  }
209
- const { showForCountries } = zonosStore.helloSettings;
210
- if (showLog) {
211
- if (!localizationStore.isShippableCountry) {
212
- log(`Hello: not shippable country - Show for countries: ${showForCountries}`);
213
- }
210
+ const { countryDisplayRules, showForCountries } = zonosStore.helloSettings;
211
+ const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
212
+ const selectedCountry = localizationStore.selectedCountryCode;
213
+ // Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
214
+ // If showForCountries is an array of country codes, treat as legacy explicit list
215
+ const behavior = Array.isArray(showForCountries)
216
+ ? showForCountries
217
+ : (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
218
+ if (showLog && !localizationStore.isShippableCountry) {
219
+ log(`Hello: not shippable country - Show for countries: ${behavior}`);
220
+ }
221
+ // Legacy: explicit list of country codes from deprecated showForCountries
222
+ if (Array.isArray(behavior)) {
223
+ return !!selectedCountry && behavior.includes(selectedCountry);
224
+ }
225
+ // Determine base visibility from behavior
226
+ let isVisible;
227
+ if (behavior === 'ALL') {
228
+ isVisible = true;
229
+ }
230
+ else {
231
+ // Default: ONLY_SHIPPABLE
232
+ isVisible = localizationStore.isShippableCountry;
214
233
  }
215
- // if localization is loaded and the localization is not a shippable country, keep the original click event
216
- if (showForCountries === 'ONLY_SHIPPABLE') {
217
- return localizationStore.isShippableCountry;
234
+ // Apply includedCountries — force show the widget for these countries
235
+ if (!isVisible &&
236
+ selectedCountry &&
237
+ ((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
238
+ isVisible = true;
218
239
  }
219
- // if user wants to show hello for all countries
220
- if (showForCountries === 'ALL') {
221
- return true;
240
+ // Apply excludedCountries — force hide the widget for these countries
241
+ if (isVisible &&
242
+ selectedCountry &&
243
+ ((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
244
+ isVisible = false;
222
245
  }
223
- return showForCountries === null || showForCountries === void 0 ? void 0 : showForCountries.includes(localizationStore.selectedCountryCode || '');
246
+ return isVisible;
224
247
  };
225
248
  }
226
249
  showDialogHandler(showDialog) {