@zonos/elements 1.3.285 → 1.3.287

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 (660) hide show
  1. package/README.md +9 -1
  2. package/dist/cjs/RemoveIcon-CuM1YmjP.js +5 -0
  3. package/dist/cjs/{cart-94908542.js → cart-CV4buPlT.js} +43 -30
  4. package/dist/cjs/{collect-0c05e2b4.js → collect-jzWKzrV7.js} +17 -113
  5. package/dist/cjs/debounce-5sZmmlCI.js +9 -0
  6. package/dist/cjs/debounce-Nu2lJW4A.js +405 -0
  7. package/dist/cjs/{formatStringWithLinks-c25b4018.js → formatStringWithLinks-vOVkAjlu.js} +1 -1
  8. package/dist/cjs/{getBorderRadius-97fd5e02.js → getBorderRadius-DGZiQu09.js} +1 -1
  9. package/dist/cjs/{getContrastColor-956dfaf7.js → getContrastColor-B2Kn8XHA.js} +2 -2
  10. package/dist/cjs/{getMissingRequiredShippingFields-124b3f20.js → getMissingRequiredShippingFields-r5vYIqoX.js} +1 -1
  11. package/dist/cjs/{handleFetch-954f30e1.js → handleFetch-DQLhurnE.js} +4 -3
  12. package/dist/cjs/{hasInclusivePrice-d0cd2007.js → hasInclusivePrice-BZMQohG9.js} +1 -1
  13. package/dist/cjs/{helpers-5bdbb68c.js → helpers-ClOZ11A9.js} +0 -3
  14. package/dist/cjs/{index-b1f95d96.js → index-DAAr465v.js} +1252 -580
  15. package/dist/cjs/index.cjs.js +17 -21
  16. package/dist/cjs/{invoice-205fb5bc.js → invoice-CHw-mJdS.js} +6 -6
  17. package/dist/cjs/{isContrastColor-30f84a91.js → isContrastColor-B9ldIdpa.js} +1 -1
  18. package/dist/cjs/isDarkColor-f-fD9c2l.js +1187 -0
  19. package/dist/cjs/loader.cjs.js +3 -5
  20. package/dist/cjs/{localization-fb2ece37.js → localization-CxXsmxs5.js} +4 -4
  21. package/dist/cjs/{paypal-45ca5301.js → paypal-BLuHeOJH.js} +10 -9
  22. package/dist/cjs/{placeTestOrder-302b6862.js → placeTestOrder-VK_CMeq0.js} +3 -3
  23. package/dist/cjs/{renderCheckoutCurrency-1b0cd5f2.js → renderCheckoutCurrency-CC4CAy-a.js} +2 -2
  24. package/dist/cjs/{renderFallback-bc20ee20.js → renderFallback-Bme86uk8.js} +1 -1
  25. package/dist/cjs/{shouldRenderTaxIdInput-7d19556c.js → shouldRenderTaxIdInput-TxekHCp7.js} +2 -2
  26. package/dist/cjs/{shouldShowLanguageSelect-82985128.js → shouldShowLanguageSelect-Bj_jKWPK.js} +1 -1
  27. package/dist/cjs/{submitGtag-8a25f001.js → submitGtag-CcEL-w5D.js} +3 -3
  28. package/dist/cjs/throttle-BcxGntLr.js +87 -0
  29. package/dist/cjs/{updateCheckoutSessionAttributes-de7b1466.js → updateCheckoutSessionAttributes-Dltl5RBx.js} +3 -3
  30. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +644 -692
  31. package/dist/cjs/zonos-address-display_2.cjs.entry.js +13 -17
  32. package/dist/cjs/zonos-address_4.cjs.entry.js +50 -40
  33. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +15 -16
  34. package/dist/cjs/zonos-badge.cjs.entry.js +7 -10
  35. package/dist/cjs/zonos-banner.cjs.entry.js +6 -9
  36. package/dist/cjs/zonos-button_3.cjs.entry.js +18 -21
  37. package/dist/cjs/zonos-card_5.cjs.entry.js +34 -35
  38. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +101 -87
  39. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +10 -14
  40. package/dist/cjs/zonos-checkout.cjs.entry.js +151 -37
  41. package/dist/cjs/zonos-collapse.cjs.entry.js +5 -8
  42. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +18 -23
  43. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +59 -55
  44. package/dist/cjs/zonos-collect.cjs.entry.js +20 -23
  45. package/dist/cjs/zonos-component.cjs.entry.js +3 -6
  46. package/dist/cjs/zonos-controller.cjs.entry.js +13 -16
  47. package/dist/cjs/zonos-country-flag.cjs.entry.js +8 -11
  48. package/dist/cjs/zonos-country-select_4.cjs.entry.js +68 -57
  49. package/dist/cjs/zonos-elements.cjs.js +7 -7
  50. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +22 -23
  51. package/dist/cjs/zonos-hello.cjs.entry.js +19 -17
  52. package/dist/cjs/zonos-input.cjs.entry.js +10 -11
  53. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +17 -21
  54. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +57 -52
  55. package/dist/cjs/zonos-invoice.cjs.entry.js +19 -22
  56. package/dist/cjs/zonos-language-select_2.cjs.entry.js +11 -15
  57. package/dist/cjs/zonos-link.cjs.entry.js +3 -6
  58. package/dist/cjs/zonos-logo.cjs.entry.js +6 -9
  59. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +15 -19
  60. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +11 -14
  61. package/dist/cjs/zonos-stripe-input.cjs.entry.js +15 -14
  62. package/dist/cjs/zonos-text.cjs.entry.js +8 -11
  63. package/dist/cjs/zonos-tooltip.cjs.entry.js +4 -7
  64. package/dist/cjs/zonos-v-stack.cjs.entry.js +6 -9
  65. package/dist/cjs/zonosStore-BCNYr6Tk.js +3808 -0
  66. package/dist/collection/__tests__/jsxWithChildren.types.js +13 -0
  67. package/dist/collection/collection-manifest.json +3 -2
  68. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.js +13 -10
  69. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +4 -3
  70. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -5
  71. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +17 -13
  72. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +1 -1
  73. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +21 -9
  74. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +7 -5
  75. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +5 -4
  76. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +8 -8
  77. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +5 -4
  78. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/zonos-store-credit.js +1 -1
  79. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +121 -18
  80. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +13 -10
  81. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +2 -2
  82. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +7 -7
  83. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +8 -6
  84. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +6 -5
  85. package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +4 -4
  86. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +7 -7
  87. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  88. package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +2 -2
  89. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +1 -1
  90. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +8 -6
  91. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +6 -5
  92. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/zonos-invoice-order-details.js +4 -4
  93. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +7 -7
  94. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  95. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +1 -1
  96. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice.js +2 -2
  97. package/dist/collection/components/common/zonos-badge/zonos-badge.js +8 -7
  98. package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -4
  99. package/dist/collection/components/common/zonos-button/zonos-button.js +29 -25
  100. package/dist/collection/components/common/zonos-card/zonos-card.js +9 -8
  101. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +15 -12
  102. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +9 -6
  103. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  104. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +15 -15
  105. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +6 -5
  106. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  107. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +22 -21
  108. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +3 -2
  109. package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -7
  110. package/dist/collection/components/common/zonos-input/zonos-input.js +7 -7
  111. package/dist/collection/components/common/zonos-link/zonos-link.js +7 -7
  112. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +4 -4
  113. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -3
  114. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +8 -7
  115. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +1 -1
  116. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +15 -12
  117. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +2 -2
  118. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +3 -3
  119. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +17 -17
  120. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +23 -20
  121. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +19 -19
  122. package/dist/collection/components/common/zonos-text/zonos-text.js +15 -11
  123. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +4 -3
  124. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  125. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -2
  126. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +7 -6
  127. package/dist/collection/components/component-template/zonos-component/zonos-component.js +3 -3
  128. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +16 -12
  129. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +3 -2
  130. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +14 -11
  131. package/dist/collection/components/main/zonos-controller.js +18 -10
  132. package/dist/collection/components/store/checkout/cart.js +14 -1
  133. package/dist/collection/components/store/checkout/stripe.js +1 -1
  134. package/dist/collection/components/stripe/zonos-address/zonos-address.js +9 -8
  135. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +6 -4
  136. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +13 -10
  137. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +4 -4
  138. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -2
  139. package/dist/collection/components/utils/checkout/isEuDapRemittance.js +1 -1
  140. package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +1 -1
  141. package/dist/collection/components/utils/validateCheckoutSession.js +11 -3
  142. package/dist/collection/scripts/cart/_setupCartData.js +2 -2
  143. package/dist/collection/scripts/cart/_setupCartDataWithSettings.js +2 -2
  144. package/dist/collection/types/generated/graphql.frontend.types.js +2 -0
  145. package/dist/collection/types/generated/graphql.internal.types.js +76 -6
  146. package/dist/esm/RemoveIcon-C2QMVeWW.js +3 -0
  147. package/dist/esm/{cart-2e407f7b.js → cart-ekBk_gxV.js} +42 -31
  148. package/dist/esm/{collect-19428e18.js → collect-33rMINDo.js} +17 -113
  149. package/dist/esm/debounce-D4ko2kvZ.js +403 -0
  150. package/dist/esm/debounce-DWPsxJsW.js +7 -0
  151. package/dist/esm/{formatStringWithLinks-0d48f183.js → formatStringWithLinks-BcMPqGl0.js} +1 -1
  152. package/dist/esm/{getBorderRadius-1f7be586.js → getBorderRadius-HwG64EKM.js} +1 -1
  153. package/dist/esm/{getContrastColor-4c0ae8c1.js → getContrastColor-CfCPlW9U.js} +2 -2
  154. package/dist/esm/{getMissingRequiredShippingFields-719b206f.js → getMissingRequiredShippingFields-u1nhQzJ1.js} +1 -1
  155. package/dist/esm/{handleFetch-a844cac1.js → handleFetch-D5GYDF-O.js} +4 -3
  156. package/dist/esm/{hasInclusivePrice-d801be22.js → hasInclusivePrice-CAVXi310.js} +1 -1
  157. package/dist/esm/{helpers-2f6955b1.js → helpers-DJIdCwJ5.js} +0 -3
  158. package/dist/esm/{index-cfd394c8.js → index-_lt63o7c.js} +1253 -561
  159. package/dist/esm/index.js +20 -22
  160. package/dist/esm/{invoice-67a47785.js → invoice-BNDWuVsD.js} +6 -6
  161. package/dist/esm/{isContrastColor-9fa0d013.js → isContrastColor-CWLU13s9.js} +1 -1
  162. package/dist/esm/isDarkColor-YdrG78th.js +1184 -0
  163. package/dist/esm/loader.js +4 -4
  164. package/dist/esm/{localization-36a4dc22.js → localization-AOqYXGdP.js} +5 -5
  165. package/dist/esm/{paypal-6dca6567.js → paypal-CW1D2XqZ.js} +10 -9
  166. package/dist/esm/{placeTestOrder-9563c89a.js → placeTestOrder-nhmsLLOA.js} +3 -3
  167. package/dist/esm/{renderCheckoutCurrency-282384f0.js → renderCheckoutCurrency-BQANmZyM.js} +2 -2
  168. package/dist/esm/{renderFallback-b250f4e9.js → renderFallback-Cy03ZcWE.js} +1 -1
  169. package/dist/esm/{shouldRenderTaxIdInput-ef7b5860.js → shouldRenderTaxIdInput-CKyZ6Zni.js} +2 -2
  170. package/dist/esm/{shouldShowLanguageSelect-328f50e2.js → shouldShowLanguageSelect-BQFCXouB.js} +1 -1
  171. package/dist/esm/{submitGtag-71c450b6.js → submitGtag-CCGQS060.js} +4 -4
  172. package/dist/esm/throttle-D5GyA3yr.js +85 -0
  173. package/dist/esm/{updateCheckoutSessionAttributes-23b222de.js → updateCheckoutSessionAttributes-eRSqdC74.js} +3 -3
  174. package/dist/esm/zonos-address-completion-dialog_7.entry.js +644 -690
  175. package/dist/esm/zonos-address-display_2.entry.js +13 -15
  176. package/dist/esm/zonos-address_4.entry.js +50 -38
  177. package/dist/esm/zonos-airwallex-payment.entry.js +15 -14
  178. package/dist/esm/zonos-badge.entry.js +7 -8
  179. package/dist/esm/zonos-banner.entry.js +6 -7
  180. package/dist/esm/zonos-button_3.entry.js +18 -19
  181. package/dist/esm/zonos-card_5.entry.js +34 -33
  182. package/dist/esm/zonos-cart-items_12.entry.js +101 -85
  183. package/dist/esm/zonos-checkbox_2.entry.js +10 -12
  184. package/dist/esm/zonos-checkout.entry.js +151 -35
  185. package/dist/esm/zonos-collapse.entry.js +5 -6
  186. package/dist/esm/zonos-collect-cart-items_3.entry.js +18 -21
  187. package/dist/esm/zonos-collect-finish_6.entry.js +59 -53
  188. package/dist/esm/zonos-collect.entry.js +20 -21
  189. package/dist/esm/zonos-component.entry.js +3 -4
  190. package/dist/esm/zonos-controller.entry.js +13 -14
  191. package/dist/esm/zonos-country-flag.entry.js +8 -9
  192. package/dist/esm/zonos-country-select_4.entry.js +68 -55
  193. package/dist/esm/zonos-elements.js +6 -5
  194. package/dist/esm/zonos-hello-dialog.entry.js +22 -21
  195. package/dist/esm/zonos-hello.entry.js +19 -15
  196. package/dist/esm/zonos-input.entry.js +10 -9
  197. package/dist/esm/zonos-invoice-cart-items_2.entry.js +17 -19
  198. package/dist/esm/zonos-invoice-finish_5.entry.js +57 -50
  199. package/dist/esm/zonos-invoice.entry.js +19 -20
  200. package/dist/esm/zonos-language-select_2.entry.js +11 -13
  201. package/dist/esm/zonos-link.entry.js +3 -4
  202. package/dist/esm/zonos-logo.entry.js +6 -7
  203. package/dist/esm/zonos-policy-consent_2.entry.js +15 -17
  204. package/dist/esm/zonos-shipping-rich-radio.entry.js +11 -12
  205. package/dist/esm/zonos-stripe-input.entry.js +15 -12
  206. package/dist/esm/zonos-text.entry.js +8 -9
  207. package/dist/esm/zonos-tooltip.entry.js +4 -5
  208. package/dist/esm/zonos-v-stack.entry.js +6 -7
  209. package/dist/esm/zonosStore-DrIOAz4M.js +3795 -0
  210. package/dist/esm-es5/{CheckoutConfig-724d7bae.js → CheckoutConfig-D5SpFsQJ.js} +5 -1
  211. package/dist/esm-es5/VarianceTest-BJmZPrZl.js +9 -0
  212. package/dist/esm-es5/{buildCartItemsByTempCart-a117f75d.js → buildCartItemsByTempCart-BycjkdlE.js} +4 -0
  213. package/dist/esm-es5/cart-ekBk_gxV.js +517 -0
  214. package/dist/esm-es5/classes-BJHSB96f.js +10 -0
  215. package/dist/esm-es5/cleanHtmlMarkdown-ByGDytaN.js +191 -0
  216. package/dist/esm-es5/collect-33rMINDo.js +241 -0
  217. package/dist/esm-es5/containsNonLatinChars-C04AWRC2.js +11 -0
  218. package/dist/esm-es5/createCustomEvent-XQfWgQLB.js +6 -0
  219. package/dist/esm-es5/debounce-D4ko2kvZ.js +153 -0
  220. package/dist/esm-es5/debounce-DWPsxJsW.js +1 -0
  221. package/dist/esm-es5/formatStringWithLinks-BcMPqGl0.js +8 -0
  222. package/dist/esm-es5/getBorderRadius-HwG64EKM.js +8 -0
  223. package/dist/esm-es5/getContrastColor-CfCPlW9U.js +14 -0
  224. package/dist/esm-es5/getGenericSettingsOverride-HeAZDwVW.js +4 -0
  225. package/dist/esm-es5/getMissingRequiredShippingFields-u1nhQzJ1.js +20 -0
  226. package/dist/esm-es5/handleFetch-D5GYDF-O.js +60 -0
  227. package/dist/esm-es5/hasInclusivePrice-CAVXi310.js +6 -0
  228. package/dist/esm-es5/helpers-DJIdCwJ5.js +23 -0
  229. package/dist/esm-es5/index-_lt63o7c.js +162 -0
  230. package/dist/esm-es5/index.js +227 -1
  231. package/dist/esm-es5/invoice-BNDWuVsD.js +13 -0
  232. package/dist/esm-es5/isColorVariable-DXXUq2Lv.js +11 -0
  233. package/dist/esm-es5/isContrastColor-CWLU13s9.js +5 -0
  234. package/dist/esm-es5/isDarkColor-YdrG78th.js +204 -0
  235. package/dist/esm-es5/isSameHostCheckoutLink-BxAHnL5J.js +16 -0
  236. package/dist/esm-es5/loader.js +1 -1
  237. package/dist/esm-es5/localization-AOqYXGdP.js +332 -0
  238. package/dist/esm-es5/paypal-CW1D2XqZ.js +192 -0
  239. package/dist/esm-es5/placeTestOrder-nhmsLLOA.js +1 -0
  240. package/dist/esm-es5/renderCheckoutCurrency-BQANmZyM.js +13 -0
  241. package/dist/esm-es5/{renderFallback-b250f4e9.js → renderFallback-Cy03ZcWE.js} +1 -1
  242. package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +17 -0
  243. package/dist/esm-es5/shouldShowLanguageSelect-BQFCXouB.js +7 -0
  244. package/dist/esm-es5/styles-BTIeCf3T.js +6 -0
  245. package/dist/esm-es5/submitGtag-CCGQS060.js +45 -0
  246. package/dist/esm-es5/throttle-D5GyA3yr.js +46 -0
  247. package/dist/esm-es5/updateCheckoutSessionAttributes-eRSqdC74.js +8 -0
  248. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +2966 -1
  249. package/dist/esm-es5/zonos-address-display_2.entry.js +46 -1
  250. package/dist/esm-es5/zonos-address_4.entry.js +179 -1
  251. package/dist/esm-es5/zonos-airwallex-payment.entry.js +49 -1
  252. package/dist/esm-es5/zonos-badge.entry.js +25 -1
  253. package/dist/esm-es5/zonos-banner.entry.js +7 -1
  254. package/dist/esm-es5/zonos-button_3.entry.js +116 -1
  255. package/dist/esm-es5/zonos-card_5.entry.js +33 -1
  256. package/dist/esm-es5/zonos-cart-items_12.entry.js +666 -1
  257. package/dist/esm-es5/zonos-checkbox_2.entry.js +21 -1
  258. package/dist/esm-es5/zonos-checkout.entry.js +1043 -1
  259. package/dist/esm-es5/zonos-collapse.entry.js +15 -1
  260. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +13 -1
  261. package/dist/esm-es5/zonos-collect-finish_6.entry.js +157 -1
  262. package/dist/esm-es5/zonos-collect.entry.js +171 -1
  263. package/dist/esm-es5/zonos-component.entry.js +10 -1
  264. package/dist/esm-es5/zonos-controller.entry.js +198 -1
  265. package/dist/esm-es5/zonos-country-flag.entry.js +6 -1
  266. package/dist/esm-es5/zonos-country-select_4.entry.js +152 -1
  267. package/dist/esm-es5/zonos-elements.js +4 -1
  268. package/dist/esm-es5/zonos-hello-dialog.entry.js +63 -1
  269. package/dist/esm-es5/zonos-hello.entry.js +121 -1
  270. package/dist/esm-es5/zonos-input.entry.js +16 -1
  271. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +7 -1
  272. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +133 -1
  273. package/dist/esm-es5/zonos-invoice.entry.js +115 -1
  274. package/dist/esm-es5/zonos-language-select_2.entry.js +14 -1
  275. package/dist/esm-es5/zonos-link.entry.js +4 -1
  276. package/dist/esm-es5/zonos-logo.entry.js +7 -1
  277. package/dist/esm-es5/zonos-policy-consent_2.entry.js +31 -1
  278. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +5 -1
  279. package/dist/esm-es5/zonos-stripe-input.entry.js +27 -1
  280. package/dist/esm-es5/zonos-text.entry.js +24 -1
  281. package/dist/esm-es5/zonos-tooltip.entry.js +7 -1
  282. package/dist/esm-es5/zonos-v-stack.entry.js +5 -1
  283. package/dist/esm-es5/zonosStore-DrIOAz4M.js +1153 -0
  284. package/dist/scripts/index.d.ts +1167 -514
  285. package/dist/scripts/index.js +1 -1
  286. package/dist/scripts/loadZonos.js +1 -1
  287. package/dist/scripts/zonos.js +1 -1
  288. package/dist/types/__tests__/jsxWithChildren.types.d.ts +14 -0
  289. package/dist/types/__tests__/vitest-globals.d.ts +1 -0
  290. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +14 -0
  291. package/dist/types/components/store/checkout/cart.d.ts +19 -10
  292. package/dist/types/components/utils/api/checkItemRestrictions.d.ts +2 -2
  293. package/dist/types/components/utils/api/getLocaleMessages.d.ts +5 -5
  294. package/dist/types/components/utils/checkout/isShippableCountry.d.ts +5 -1
  295. package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +2 -2
  296. package/dist/types/components.d.ts +797 -147
  297. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +124 -124
  298. package/dist/types/stencil-public-runtime.d.ts +205 -12
  299. package/dist/types/types/generated/graphql.frontend.types.d.ts +62 -60
  300. package/dist/types/types/generated/graphql.frontend.types.ts +57 -55
  301. package/dist/types/types/generated/graphql.internal.types.d.ts +1346 -1251
  302. package/dist/types/types/generated/graphql.internal.types.ts +1187 -1075
  303. package/dist/zonos-elements/index.esm.js +1 -1
  304. package/dist/zonos-elements/p-02ef0f99.system.entry.js +6 -0
  305. package/dist/zonos-elements/{p-1be53c82.entry.js → p-0466650f.entry.js} +1 -1
  306. package/dist/zonos-elements/p-04bfcd72.system.entry.js +152 -0
  307. package/dist/zonos-elements/p-04cc0dac.system.entry.js +198 -0
  308. package/dist/zonos-elements/p-058f07aa.system.entry.js +7 -0
  309. package/dist/zonos-elements/p-0f603278.system.entry.js +5 -0
  310. package/dist/zonos-elements/{p-bb09ee50.entry.js → p-128485dc.entry.js} +1 -1
  311. package/dist/zonos-elements/p-1568ab06.system.entry.js +117 -0
  312. package/dist/zonos-elements/p-2ba738ec.entry.js +1 -0
  313. package/dist/zonos-elements/{p-6afd5fab.entry.js → p-31ac495f.entry.js} +1 -1
  314. package/dist/zonos-elements/p-34d1545a.entry.js +1 -0
  315. package/dist/zonos-elements/p-39c8a898.entry.js +1 -0
  316. package/dist/zonos-elements/p-3ERbuo5a.js +1 -0
  317. package/dist/zonos-elements/p-450ed170.system.entry.js +46 -0
  318. package/dist/zonos-elements/p-4973f8d8.system.entry.js +180 -0
  319. package/dist/zonos-elements/p-49e7bb1e.system.entry.js +7 -0
  320. package/dist/zonos-elements/p-4a54f664.entry.js +1 -0
  321. package/dist/zonos-elements/p-4ab1c533.system.entry.js +4 -0
  322. package/dist/zonos-elements/p-5024df2d.system.entry.js +666 -0
  323. package/dist/zonos-elements/p-5562a955.system.entry.js +7 -0
  324. package/dist/zonos-elements/p-5836d426.system.entry.js +49 -0
  325. package/dist/zonos-elements/p-5a631080.system.entry.js +13 -0
  326. package/dist/zonos-elements/{p-2ce039e5.entry.js → p-5c08d36b.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-aed4ffb2.entry.js → p-5d3079e8.entry.js} +1 -1
  328. package/dist/zonos-elements/p-629f09dc.system.entry.js +171 -0
  329. package/dist/zonos-elements/p-64e7bc5b.entry.js +1 -0
  330. package/dist/zonos-elements/p-6b0afaa7.entry.js +1 -0
  331. package/dist/zonos-elements/p-6f742021.entry.js +1 -0
  332. package/dist/zonos-elements/p-7681798d.entry.js +1 -0
  333. package/dist/zonos-elements/p-7a5d2211.system.entry.js +115 -0
  334. package/dist/zonos-elements/{p-b1e95f95.entry.js → p-7ae48e31.entry.js} +1 -1
  335. package/dist/zonos-elements/{p-f37150e8.entry.js → p-8328f44d.entry.js} +1 -1
  336. package/dist/zonos-elements/{p-171a7e1e.entry.js → p-844a743a.entry.js} +1 -1
  337. package/dist/zonos-elements/p-891b47d7.entry.js +1 -0
  338. package/dist/zonos-elements/p-89ddab88.entry.js +1 -0
  339. package/dist/zonos-elements/p-8cd3f1e2.entry.js +1 -0
  340. package/dist/zonos-elements/p-9818f823.entry.js +1 -0
  341. package/dist/zonos-elements/p-9b399685.system.entry.js +10 -0
  342. package/dist/zonos-elements/p-9b6482ef.entry.js +1 -0
  343. package/dist/zonos-elements/{p-2c44e013.entry.js → p-9ebe9a36.entry.js} +1 -1
  344. package/dist/zonos-elements/p-B2EZRfoq.system.js +193 -0
  345. package/dist/zonos-elements/p-B3GRrRtL.system.js +5 -0
  346. package/dist/zonos-elements/p-BANhKkF2.system.js +1 -0
  347. package/dist/zonos-elements/p-BDopxBpR.system.js +6 -0
  348. package/dist/zonos-elements/p-BJufDgh3.js +1 -0
  349. package/dist/zonos-elements/p-BLQFeIez.system.js +191 -0
  350. package/dist/zonos-elements/p-BNtWsPPP.system.js +7 -0
  351. package/dist/zonos-elements/p-BSgVcCxT.system.js +9 -0
  352. package/dist/zonos-elements/p-BXjdMMUy.js +1 -0
  353. package/dist/zonos-elements/p-BbgqQIHv.system.js +9 -0
  354. package/dist/zonos-elements/p-BgSx82zO.system.js +11 -0
  355. package/dist/zonos-elements/p-Bi-s0fp_.system.js +17 -0
  356. package/dist/zonos-elements/p-Bu9WCfUC.system.js +5 -0
  357. package/dist/zonos-elements/p-C19J2XSh.js +1 -0
  358. package/dist/zonos-elements/p-C2QMVeWW.js +1 -0
  359. package/dist/zonos-elements/p-C2j7R11h.system.js +11 -0
  360. package/dist/zonos-elements/p-CEl4pzNq.js +1 -0
  361. package/dist/zonos-elements/p-CICjAi70.js +1 -0
  362. package/dist/zonos-elements/p-CIevpRv_.system.js +162 -0
  363. package/dist/zonos-elements/{p-e5c76a9b.js → p-CJCoACvU.js} +2 -2
  364. package/dist/zonos-elements/p-CKBbIU4b.system.js +14 -0
  365. package/dist/zonos-elements/p-CKTIJ2Gr.js +1 -0
  366. package/dist/zonos-elements/p-CKhl__Kc.system.js +4 -0
  367. package/dist/zonos-elements/p-CPnR_T0a.system.js +1153 -0
  368. package/dist/zonos-elements/p-CQqNJo0D.system.js +13 -0
  369. package/dist/zonos-elements/p-CYdt69j5.system.js +241 -0
  370. package/dist/zonos-elements/p-CZl1nwqv.system.js +46 -0
  371. package/dist/zonos-elements/p-CaAod213.system.js +8 -0
  372. package/dist/zonos-elements/p-CaUXHglQ.system.js +153 -0
  373. package/dist/zonos-elements/{p-45bd8072.system.js → p-CeLaK0Ff.system.js} +1 -1
  374. package/dist/zonos-elements/p-CtEsvWI6.js +1 -0
  375. package/dist/zonos-elements/p-D-DawUYF.system.js +1 -0
  376. package/dist/zonos-elements/p-D0erXw7p.js +1 -0
  377. package/dist/zonos-elements/p-D31lQiWo.system.js +21 -0
  378. package/dist/zonos-elements/p-D5AtAlJx.system.js +13 -0
  379. package/dist/zonos-elements/p-DBOI98r5.system.js +7 -0
  380. package/dist/zonos-elements/{p-41dd1cb8.js → p-DE4a-QD5.js} +1 -1
  381. package/dist/zonos-elements/p-DGsEWFDU.system.js +8 -0
  382. package/dist/zonos-elements/p-DHwpNxG9.js +1 -0
  383. package/dist/zonos-elements/p-DIJaXkiE.system.js +332 -0
  384. package/dist/zonos-elements/{p-eef5b0cc.js → p-DJIdCwJ5.js} +1 -1
  385. package/dist/zonos-elements/p-DPW1yXt9.system.js +517 -0
  386. package/dist/zonos-elements/{p-6bdc5c96.js → p-DTgv0QpG.js} +1 -1
  387. package/dist/zonos-elements/p-DW-fW8yR.system.js +205 -0
  388. package/dist/zonos-elements/p-Dj-O6VfM.system.js +7 -0
  389. package/dist/zonos-elements/p-DjuFsKLG.js +1 -0
  390. package/dist/zonos-elements/p-DkpYo2Fs.js +1 -0
  391. package/dist/zonos-elements/p-DnjGkbEy.js +1 -0
  392. package/dist/zonos-elements/p-Dw-5yD9y.system.js +227 -0
  393. package/dist/zonos-elements/{p-46cd14e5.js → p-LypTHRUC.js} +1 -1
  394. package/dist/zonos-elements/p-MfsSJh_D.system.js +8 -0
  395. package/dist/zonos-elements/p-YdrG78th.js +1 -0
  396. package/dist/zonos-elements/p-_lt63o7c.js +3 -0
  397. package/dist/zonos-elements/p-a38e62cc.entry.js +1 -0
  398. package/dist/zonos-elements/p-a6faab6a.entry.js +1 -0
  399. package/dist/zonos-elements/p-adfee3a3.entry.js +1 -0
  400. package/dist/zonos-elements/p-b14819ab.system.entry.js +14 -0
  401. package/dist/zonos-elements/{p-0c972ddf.entry.js → p-b68ca96f.entry.js} +1 -1
  402. package/dist/zonos-elements/p-b6deae2b.system.entry.js +5 -0
  403. package/dist/zonos-elements/p-bdba7d9e.system.entry.js +25 -0
  404. package/dist/zonos-elements/p-be64d823.system.entry.js +16 -0
  405. package/dist/zonos-elements/p-beeb9d36.system.entry.js +21 -0
  406. package/dist/zonos-elements/p-cadf6b63.system.entry.js +33 -0
  407. package/dist/zonos-elements/p-cc5306fe.system.entry.js +24 -0
  408. package/dist/zonos-elements/p-cc949df1.system.entry.js +7 -0
  409. package/dist/zonos-elements/{p-bced320e.entry.js → p-cdffc9b6.entry.js} +1 -1
  410. package/dist/zonos-elements/p-cf5688f7.entry.js +1 -0
  411. package/dist/zonos-elements/p-d05Ku7gM.system.js +24 -0
  412. package/dist/zonos-elements/p-d33dfc78.system.entry.js +2966 -0
  413. package/dist/zonos-elements/p-d55b9664.system.entry.js +157 -0
  414. package/dist/zonos-elements/p-daf9fa07.system.entry.js +133 -0
  415. package/dist/zonos-elements/p-dcdbc610.system.entry.js +27 -0
  416. package/dist/zonos-elements/p-e101d722.system.entry.js +63 -0
  417. package/dist/zonos-elements/{p-9639a8ed.entry.js → p-e284d329.entry.js} +1 -1
  418. package/dist/zonos-elements/{p-8311edc7.entry.js → p-e9320825.entry.js} +1 -1
  419. package/dist/zonos-elements/p-ea8790aa.entry.js +1 -0
  420. package/dist/zonos-elements/{p-6ee4e027.entry.js → p-eadaefdc.entry.js} +1 -1
  421. package/dist/zonos-elements/p-f27317d3.system.entry.js +31 -0
  422. package/dist/zonos-elements/p-f2cedbcd.system.entry.js +121 -0
  423. package/dist/zonos-elements/p-f57495dc.entry.js +1 -0
  424. package/dist/zonos-elements/p-f6e0aeba.system.entry.js +1043 -0
  425. package/dist/zonos-elements/p-f8fd756a.system.entry.js +15 -0
  426. package/dist/zonos-elements/{p-7ada039e.entry.js → p-fe778437.entry.js} +1 -1
  427. package/dist/zonos-elements/{p-adfbf57b.js → p-i1iCWKdv.js} +1 -1
  428. package/dist/zonos-elements/p-lGLcGvEA.js +1 -0
  429. package/dist/zonos-elements/p-nOb4xPLF.system.js +17 -0
  430. package/dist/zonos-elements/p-nU86HJ5w.js +1 -0
  431. package/dist/zonos-elements/p-pfIceXbY.js +1 -0
  432. package/dist/zonos-elements/p-smUku7Ku.system.js +5 -0
  433. package/dist/zonos-elements/p-t_ClFAJR.js +1 -0
  434. package/dist/zonos-elements/p-uV7m6KrY.system.js +46 -0
  435. package/dist/zonos-elements/p-vN6p_rO1.system.js +11 -0
  436. package/dist/zonos-elements/p-zRjRcLMp.js +1 -0
  437. package/dist/zonos-elements/p-zVLAvre1.system.js +60 -0
  438. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  439. package/dist/zonos-elements/zonos-elements.js +1 -1
  440. package/loader/index.d.ts +1 -1
  441. package/package.json +28 -32
  442. package/dist/cjs/RemoveIcon-081ac073.js +0 -5
  443. package/dist/cjs/debounce-7ca3c878.js +0 -357
  444. package/dist/cjs/isDarkColor-a6e6fd5e.js +0 -1202
  445. package/dist/cjs/throttle-366c204b.js +0 -76
  446. package/dist/cjs/zonosStore-0af0b937.js +0 -3030
  447. package/dist/esm/RemoveIcon-9dc5dd1a.js +0 -3
  448. package/dist/esm/debounce-84ade9c2.js +0 -355
  449. package/dist/esm/isDarkColor-939d8e9c.js +0 -1199
  450. package/dist/esm/throttle-c4c24e86.js +0 -74
  451. package/dist/esm/zonosStore-eca1e364.js +0 -3017
  452. package/dist/esm-es5/VarianceTest-572cecf5.js +0 -1
  453. package/dist/esm-es5/cart-2e407f7b.js +0 -1
  454. package/dist/esm-es5/classes-0d95c529.js +0 -1
  455. package/dist/esm-es5/cleanHtmlMarkdown-87d195f6.js +0 -1
  456. package/dist/esm-es5/collect-19428e18.js +0 -1
  457. package/dist/esm-es5/containsNonLatinChars-2d8810c3.js +0 -1
  458. package/dist/esm-es5/createCustomEvent-58159025.js +0 -1
  459. package/dist/esm-es5/debounce-84ade9c2.js +0 -1
  460. package/dist/esm-es5/formatStringWithLinks-0d48f183.js +0 -1
  461. package/dist/esm-es5/getBorderRadius-1f7be586.js +0 -1
  462. package/dist/esm-es5/getContrastColor-4c0ae8c1.js +0 -1
  463. package/dist/esm-es5/getGenericSettingsOverride-0bc3e118.js +0 -1
  464. package/dist/esm-es5/getMissingRequiredShippingFields-719b206f.js +0 -1
  465. package/dist/esm-es5/handleFetch-a844cac1.js +0 -1
  466. package/dist/esm-es5/hasInclusivePrice-d801be22.js +0 -1
  467. package/dist/esm-es5/helpers-2f6955b1.js +0 -1
  468. package/dist/esm-es5/index-cfd394c8.js +0 -13
  469. package/dist/esm-es5/invoice-67a47785.js +0 -1
  470. package/dist/esm-es5/isColorVariable-0a94004f.js +0 -1
  471. package/dist/esm-es5/isContrastColor-9fa0d013.js +0 -1
  472. package/dist/esm-es5/isDarkColor-939d8e9c.js +0 -1
  473. package/dist/esm-es5/isSameHostCheckoutLink-c1b88ab7.js +0 -1
  474. package/dist/esm-es5/localization-36a4dc22.js +0 -1
  475. package/dist/esm-es5/paypal-6dca6567.js +0 -17
  476. package/dist/esm-es5/placeTestOrder-9563c89a.js +0 -1
  477. package/dist/esm-es5/renderCheckoutCurrency-282384f0.js +0 -1
  478. package/dist/esm-es5/shouldRenderTaxIdInput-ef7b5860.js +0 -1
  479. package/dist/esm-es5/shouldShowLanguageSelect-328f50e2.js +0 -1
  480. package/dist/esm-es5/styles-6fc2fad9.js +0 -1
  481. package/dist/esm-es5/submitGtag-71c450b6.js +0 -1
  482. package/dist/esm-es5/throttle-c4c24e86.js +0 -1
  483. package/dist/esm-es5/updateCheckoutSessionAttributes-23b222de.js +0 -1
  484. package/dist/esm-es5/zonosStore-eca1e364.js +0 -1
  485. package/dist/zonos-elements/p-01174496.system.js +0 -1
  486. package/dist/zonos-elements/p-06f798ee.system.js +0 -1
  487. package/dist/zonos-elements/p-083a11cd.system.entry.js +0 -1
  488. package/dist/zonos-elements/p-08e7107d.js +0 -1
  489. package/dist/zonos-elements/p-0b29169b.js +0 -1
  490. package/dist/zonos-elements/p-0c9fec73.js +0 -1
  491. package/dist/zonos-elements/p-0d2f81ce.system.js +0 -1
  492. package/dist/zonos-elements/p-0e199a6c.system.entry.js +0 -1
  493. package/dist/zonos-elements/p-0ff845ec.js +0 -1
  494. package/dist/zonos-elements/p-1277abac.system.entry.js +0 -1
  495. package/dist/zonos-elements/p-14afffa8.system.js +0 -1
  496. package/dist/zonos-elements/p-1834f486.js +0 -1
  497. package/dist/zonos-elements/p-1aa93d1e.system.js +0 -1
  498. package/dist/zonos-elements/p-1ac0c631.system.js +0 -1
  499. package/dist/zonos-elements/p-1b8771bb.js +0 -1
  500. package/dist/zonos-elements/p-1cdd27ec.js +0 -1
  501. package/dist/zonos-elements/p-1f8648c8.system.entry.js +0 -1
  502. package/dist/zonos-elements/p-22e10b7d.entry.js +0 -1
  503. package/dist/zonos-elements/p-23e7c655.system.js +0 -1
  504. package/dist/zonos-elements/p-260ad739.system.entry.js +0 -1
  505. package/dist/zonos-elements/p-2670438c.system.js +0 -1
  506. package/dist/zonos-elements/p-27660512.js +0 -1
  507. package/dist/zonos-elements/p-29b60bf3.system.js +0 -1
  508. package/dist/zonos-elements/p-2b8c96e3.system.js +0 -1
  509. package/dist/zonos-elements/p-2b97f7ed.js +0 -1
  510. package/dist/zonos-elements/p-2bbe9d91.js +0 -1
  511. package/dist/zonos-elements/p-2c2afed4.entry.js +0 -1
  512. package/dist/zonos-elements/p-2c7a425d.entry.js +0 -1
  513. package/dist/zonos-elements/p-2cab1746.system.entry.js +0 -1
  514. package/dist/zonos-elements/p-2cdd1b49.system.entry.js +0 -1
  515. package/dist/zonos-elements/p-3490b6d0.entry.js +0 -1
  516. package/dist/zonos-elements/p-398d9022.system.js +0 -1
  517. package/dist/zonos-elements/p-3a13e58c.system.js +0 -1
  518. package/dist/zonos-elements/p-40a4c8a2.system.js +0 -1
  519. package/dist/zonos-elements/p-4160bbc2.system.js +0 -1
  520. package/dist/zonos-elements/p-4671fde7.entry.js +0 -1
  521. package/dist/zonos-elements/p-4a20893e.system.js +0 -1
  522. package/dist/zonos-elements/p-4b159ff3.system.js +0 -1
  523. package/dist/zonos-elements/p-502d6eeb.js +0 -1
  524. package/dist/zonos-elements/p-51e4e61a.system.entry.js +0 -1
  525. package/dist/zonos-elements/p-551fa762.system.js +0 -1
  526. package/dist/zonos-elements/p-5a491f28.js +0 -1
  527. package/dist/zonos-elements/p-5b990c91.entry.js +0 -1
  528. package/dist/zonos-elements/p-5ebb7ae6.entry.js +0 -1
  529. package/dist/zonos-elements/p-60832726.system.js +0 -1
  530. package/dist/zonos-elements/p-60a6b71d.system.js +0 -1
  531. package/dist/zonos-elements/p-62f6a757.entry.js +0 -1
  532. package/dist/zonos-elements/p-65c1f51e.entry.js +0 -1
  533. package/dist/zonos-elements/p-6695de06.system.js +0 -1
  534. package/dist/zonos-elements/p-67426156.system.js +0 -1
  535. package/dist/zonos-elements/p-6890e060.system.js +0 -1
  536. package/dist/zonos-elements/p-6dde1e85.system.entry.js +0 -1
  537. package/dist/zonos-elements/p-7176f582.entry.js +0 -1
  538. package/dist/zonos-elements/p-7261e245.system.js +0 -13
  539. package/dist/zonos-elements/p-76834a0a.system.entry.js +0 -1
  540. package/dist/zonos-elements/p-7ac8846c.system.js +0 -1
  541. package/dist/zonos-elements/p-7fbbdb0f.system.js +0 -1
  542. package/dist/zonos-elements/p-8a0b8175.system.entry.js +0 -1
  543. package/dist/zonos-elements/p-8a6c4017.js +0 -1
  544. package/dist/zonos-elements/p-8b298971.system.entry.js +0 -1
  545. package/dist/zonos-elements/p-8be02f3a.system.js +0 -1
  546. package/dist/zonos-elements/p-8bfe5b2b.entry.js +0 -1
  547. package/dist/zonos-elements/p-8e6338b9.entry.js +0 -1
  548. package/dist/zonos-elements/p-916228fb.system.js +0 -1
  549. package/dist/zonos-elements/p-94722bf6.system.entry.js +0 -1
  550. package/dist/zonos-elements/p-947e4402.system.entry.js +0 -1
  551. package/dist/zonos-elements/p-9ad640b2.system.entry.js +0 -1
  552. package/dist/zonos-elements/p-9ecb9afc.system.entry.js +0 -1
  553. package/dist/zonos-elements/p-a04e2750.system.entry.js +0 -1
  554. package/dist/zonos-elements/p-a07e5011.entry.js +0 -1
  555. package/dist/zonos-elements/p-a1bd3a53.system.js +0 -1
  556. package/dist/zonos-elements/p-a553e132.js +0 -1
  557. package/dist/zonos-elements/p-a9ad74e5.system.entry.js +0 -1
  558. package/dist/zonos-elements/p-acb7dee1.system.entry.js +0 -1
  559. package/dist/zonos-elements/p-ae0de3e4.entry.js +0 -1
  560. package/dist/zonos-elements/p-aecb5d61.entry.js +0 -1
  561. package/dist/zonos-elements/p-af19722c.system.js +0 -1
  562. package/dist/zonos-elements/p-b4ae66cb.system.entry.js +0 -1
  563. package/dist/zonos-elements/p-bcaffb85.system.entry.js +0 -1
  564. package/dist/zonos-elements/p-be6cd28c.system.entry.js +0 -1
  565. package/dist/zonos-elements/p-bf37ccc7.system.js +0 -1
  566. package/dist/zonos-elements/p-c1631c9c.js +0 -1
  567. package/dist/zonos-elements/p-c5d1217f.system.js +0 -1
  568. package/dist/zonos-elements/p-c77b049c.entry.js +0 -1
  569. package/dist/zonos-elements/p-ca87ada5.system.entry.js +0 -1
  570. package/dist/zonos-elements/p-cb49dcfe.entry.js +0 -1
  571. package/dist/zonos-elements/p-cb4cb5a3.system.js +0 -1
  572. package/dist/zonos-elements/p-ce75b047.js +0 -2
  573. package/dist/zonos-elements/p-d20fe2c2.system.entry.js +0 -1
  574. package/dist/zonos-elements/p-d42bd250.system.entry.js +0 -1
  575. package/dist/zonos-elements/p-d6a73125.system.entry.js +0 -1
  576. package/dist/zonos-elements/p-d938f42f.system.js +0 -1
  577. package/dist/zonos-elements/p-dc80cb87.js +0 -1
  578. package/dist/zonos-elements/p-dd3c00d6.system.entry.js +0 -1
  579. package/dist/zonos-elements/p-de58684b.system.js +0 -1
  580. package/dist/zonos-elements/p-e160b75f.js +0 -1
  581. package/dist/zonos-elements/p-e1ef3984.system.entry.js +0 -1
  582. package/dist/zonos-elements/p-e27b8e18.entry.js +0 -1
  583. package/dist/zonos-elements/p-e2b4c082.system.entry.js +0 -1
  584. package/dist/zonos-elements/p-e32ee011.system.entry.js +0 -1
  585. package/dist/zonos-elements/p-e4b07f7d.system.entry.js +0 -1
  586. package/dist/zonos-elements/p-e8587f9f.system.entry.js +0 -1
  587. package/dist/zonos-elements/p-eb5f3451.system.js +0 -18
  588. package/dist/zonos-elements/p-ebbda085.system.js +0 -1
  589. package/dist/zonos-elements/p-f4720b0a.js +0 -1
  590. package/dist/zonos-elements/p-f4acce01.js +0 -1
  591. package/dist/zonos-elements/p-f59a0129.system.entry.js +0 -1
  592. package/dist/zonos-elements/p-f8356934.system.entry.js +0 -1
  593. package/dist/zonos-elements/p-fe5f05fc.system.js +0 -1
  594. package/dist/zonos-elements/p-ff4e6811.entry.js +0 -1
  595. package/loader/package.json +0 -11
  596. /package/dist/cjs/{CheckoutConfig-27c82f94.js → CheckoutConfig-B7JRM7yr.js} +0 -0
  597. /package/dist/cjs/{ShortAddressCode-bec338b0.js → ShortAddressCode-C5l520-F.js} +0 -0
  598. /package/dist/cjs/{TaxId-cd9d490e.js → TaxId-Q6aDqqWv.js} +0 -0
  599. /package/dist/cjs/{VarianceTest-bec00ea8.js → VarianceTest-C98whVgO.js} +0 -0
  600. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  601. /package/dist/cjs/{buildCartItemsByTempCart-edddbf4b.js → buildCartItemsByTempCart-ILzonEjb.js} +0 -0
  602. /package/dist/cjs/{classes-b7918f56.js → classes-D_DL168u.js} +0 -0
  603. /package/dist/cjs/{cleanHtmlMarkdown-57147de7.js → cleanHtmlMarkdown-DpT-nZLH.js} +0 -0
  604. /package/dist/cjs/{containsNonLatinChars-2be5129b.js → containsNonLatinChars-D_OggJN6.js} +0 -0
  605. /package/dist/cjs/{createCustomEvent-7b6fad95.js → createCustomEvent-Cs5zGImL.js} +0 -0
  606. /package/dist/cjs/{getGenericSettingsOverride-c0ca32b9.js → getGenericSettingsOverride-CL6l6wvX.js} +0 -0
  607. /package/dist/cjs/{getHasMoreSpaceOnRight-4c94667f.js → getHasMoreSpaceOnRight-Cl50u1mb.js} +0 -0
  608. /package/dist/cjs/{isCollectMobileTablet-884d4280.js → isCollectMobileTablet-Cx2nZ15_.js} +0 -0
  609. /package/dist/cjs/{isColorVariable-525dbfa7.js → isColorVariable-CKoJdu9G.js} +0 -0
  610. /package/dist/cjs/{isInvoiceMobileTablet-dde41e4e.js → isInvoiceMobileTablet-CCqFYV6m.js} +0 -0
  611. /package/dist/cjs/{isSameHostCheckoutLink-6148cabb.js → isSameHostCheckoutLink-DbmQ7Ha4.js} +0 -0
  612. /package/dist/cjs/{styles-d1e64fb9.js → styles-nowYls3K.js} +0 -0
  613. /package/dist/esm/{CheckoutConfig-724d7bae.js → CheckoutConfig-D5SpFsQJ.js} +0 -0
  614. /package/dist/esm/{ShortAddressCode-7620e622.js → ShortAddressCode-nJ6oI8-n.js} +0 -0
  615. /package/dist/esm/{TaxId-63a14057.js → TaxId-Cye-evFK.js} +0 -0
  616. /package/dist/esm/{VarianceTest-572cecf5.js → VarianceTest-BJmZPrZl.js} +0 -0
  617. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  618. /package/dist/esm/{buildCartItemsByTempCart-a117f75d.js → buildCartItemsByTempCart-BycjkdlE.js} +0 -0
  619. /package/dist/esm/{classes-0d95c529.js → classes-BJHSB96f.js} +0 -0
  620. /package/dist/esm/{cleanHtmlMarkdown-87d195f6.js → cleanHtmlMarkdown-ByGDytaN.js} +0 -0
  621. /package/dist/esm/{containsNonLatinChars-2d8810c3.js → containsNonLatinChars-C04AWRC2.js} +0 -0
  622. /package/dist/esm/{createCustomEvent-58159025.js → createCustomEvent-XQfWgQLB.js} +0 -0
  623. /package/dist/esm/{getGenericSettingsOverride-0bc3e118.js → getGenericSettingsOverride-HeAZDwVW.js} +0 -0
  624. /package/dist/esm/{getHasMoreSpaceOnRight-70eb913a.js → getHasMoreSpaceOnRight-DAscqB23.js} +0 -0
  625. /package/dist/esm/{isCollectMobileTablet-111b0dd7.js → isCollectMobileTablet-DGlnuxEX.js} +0 -0
  626. /package/dist/esm/{isColorVariable-0a94004f.js → isColorVariable-DXXUq2Lv.js} +0 -0
  627. /package/dist/esm/{isInvoiceMobileTablet-1f7b614e.js → isInvoiceMobileTablet-Clej0Ffe.js} +0 -0
  628. /package/dist/esm/{isSameHostCheckoutLink-c1b88ab7.js → isSameHostCheckoutLink-BxAHnL5J.js} +0 -0
  629. /package/dist/esm/{styles-6fc2fad9.js → styles-BTIeCf3T.js} +0 -0
  630. /package/dist/esm-es5/{RemoveIcon-9dc5dd1a.js → RemoveIcon-C2QMVeWW.js} +0 -0
  631. /package/dist/esm-es5/{ShortAddressCode-7620e622.js → ShortAddressCode-nJ6oI8-n.js} +0 -0
  632. /package/dist/esm-es5/{TaxId-63a14057.js → TaxId-Cye-evFK.js} +0 -0
  633. /package/dist/esm-es5/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  634. /package/dist/esm-es5/{getHasMoreSpaceOnRight-70eb913a.js → getHasMoreSpaceOnRight-DAscqB23.js} +0 -0
  635. /package/dist/esm-es5/{isCollectMobileTablet-111b0dd7.js → isCollectMobileTablet-DGlnuxEX.js} +0 -0
  636. /package/dist/esm-es5/{isInvoiceMobileTablet-1f7b614e.js → isInvoiceMobileTablet-Clej0Ffe.js} +0 -0
  637. /package/dist/zonos-elements/{p-2770ba48.system.js → p-0D0aCMu6.system.js} +0 -0
  638. /package/dist/zonos-elements/{p-b4b7f705.js → p-BJHSB96f.js} +0 -0
  639. /package/dist/zonos-elements/{p-0a377722.js → p-BJmZPrZl.js} +0 -0
  640. /package/dist/zonos-elements/{p-96d77739.js → p-BTIeCf3T.js} +0 -0
  641. /package/dist/zonos-elements/{p-56ba5cbf.system.js → p-BbPAtVJG.system.js} +0 -0
  642. /package/dist/zonos-elements/{p-11206fe2.js → p-BxAHnL5J.js} +0 -0
  643. /package/dist/zonos-elements/{p-cc6ad18a.js → p-ByGDytaN.js} +0 -0
  644. /package/dist/zonos-elements/{p-83666056.js → p-BycjkdlE.js} +0 -0
  645. /package/dist/zonos-elements/{p-0c64dbbb.js → p-C04AWRC2.js} +0 -0
  646. /package/dist/zonos-elements/{p-655ec440.system.js → p-C29tlYn0.system.js} +0 -0
  647. /package/dist/zonos-elements/{p-2adbbce7.system.js → p-CLDnjFm5.system.js} +0 -0
  648. /package/dist/zonos-elements/{p-989cb22b.system.js → p-Cby4EkFu.system.js} +0 -0
  649. /package/dist/zonos-elements/{p-1f3549c6.js → p-Clej0Ffe.js} +0 -0
  650. /package/dist/zonos-elements/{p-bcf5cffb.js → p-Cye-evFK.js} +0 -0
  651. /package/dist/zonos-elements/{p-b2d81c98.js → p-D5SpFsQJ.js} +0 -0
  652. /package/dist/zonos-elements/{p-5883217a.js → p-DAscqB23.js} +0 -0
  653. /package/dist/zonos-elements/{p-579932a7.js → p-DGlnuxEX.js} +0 -0
  654. /package/dist/zonos-elements/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  655. /package/dist/zonos-elements/{p-ae393255.js → p-DXXUq2Lv.js} +0 -0
  656. /package/dist/zonos-elements/{p-e7b0c156.js → p-HeAZDwVW.js} +0 -0
  657. /package/dist/zonos-elements/{p-595f5dd2.js → p-XQfWgQLB.js} +0 -0
  658. /package/dist/zonos-elements/{p-bc7bf53e.system.js → p-Z99tSPFR.system.js} +0 -0
  659. /package/dist/zonos-elements/{p-6f23a26a.system.js → p-_GDmY2H7.system.js} +0 -0
  660. /package/dist/zonos-elements/{p-1d42cd20.js → p-nJ6oI8-n.js} +0 -0
@@ -0,0 +1,153 @@
1
+ import{f as require_root,h as require_baseGetTag,i as requireIsObjectLike,r as requireIsObject}from"./zonosStore-DrIOAz4M.js";var now_1;var hasRequiredNow;function requireNow(){if(hasRequiredNow)return now_1;hasRequiredNow=1;var e=require_root();
2
+ /**
3
+ * Gets the timestamp of the number of milliseconds that have elapsed since
4
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
5
+ *
6
+ * @static
7
+ * @memberOf _
8
+ * @since 2.4.0
9
+ * @category Date
10
+ * @returns {number} Returns the timestamp.
11
+ * @example
12
+ *
13
+ * _.defer(function(stamp) {
14
+ * console.log(_.now() - stamp);
15
+ * }, _.now());
16
+ * // => Logs the number of milliseconds it took for the deferred invocation.
17
+ */var r=function(){return e.Date.now()};now_1=r;return now_1}
18
+ /** Used to match a single whitespace character. */var _trimmedEndIndex;var hasRequired_trimmedEndIndex;function require_trimmedEndIndex(){if(hasRequired_trimmedEndIndex)return _trimmedEndIndex;hasRequired_trimmedEndIndex=1;var e=/\s/;
19
+ /**
20
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
21
+ * character of `string`.
22
+ *
23
+ * @private
24
+ * @param {string} string The string to inspect.
25
+ * @returns {number} Returns the index of the last non-whitespace character.
26
+ */function r(r){var n=r.length;while(n--&&e.test(r.charAt(n))){}return n}_trimmedEndIndex=r;return _trimmedEndIndex}var _baseTrim;var hasRequired_baseTrim;function require_baseTrim(){if(hasRequired_baseTrim)return _baseTrim;hasRequired_baseTrim=1;var e=require_trimmedEndIndex();
27
+ /** Used to match leading whitespace. */var r=/^\s+/;
28
+ /**
29
+ * The base implementation of `_.trim`.
30
+ *
31
+ * @private
32
+ * @param {string} string The string to trim.
33
+ * @returns {string} Returns the trimmed string.
34
+ */function n(n){return n?n.slice(0,e(n)+1).replace(r,""):n}_baseTrim=n;return _baseTrim}var isSymbol_1;var hasRequiredIsSymbol;function requireIsSymbol(){if(hasRequiredIsSymbol)return isSymbol_1;hasRequiredIsSymbol=1;var e=require_baseGetTag(),r=requireIsObjectLike();
35
+ /** `Object#toString` result references. */var n="[object Symbol]";
36
+ /**
37
+ * Checks if `value` is classified as a `Symbol` primitive or object.
38
+ *
39
+ * @static
40
+ * @memberOf _
41
+ * @since 4.0.0
42
+ * @category Lang
43
+ * @param {*} value The value to check.
44
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
45
+ * @example
46
+ *
47
+ * _.isSymbol(Symbol.iterator);
48
+ * // => true
49
+ *
50
+ * _.isSymbol('abc');
51
+ * // => false
52
+ */function i(i){return typeof i=="symbol"||r(i)&&e(i)==n}isSymbol_1=i;return isSymbol_1}var toNumber_1;var hasRequiredToNumber;function requireToNumber(){if(hasRequiredToNumber)return toNumber_1;hasRequiredToNumber=1;var e=require_baseTrim(),r=requireIsObject(),n=requireIsSymbol();
53
+ /** Used as references for various `Number` constants. */var i=0/0;
54
+ /** Used to detect bad signed hexadecimal string values. */var u=/^[-+]0x[0-9a-f]+$/i;
55
+ /** Used to detect binary string values. */var t=/^0b[01]+$/i;
56
+ /** Used to detect octal string values. */var o=/^0o[0-7]+$/i;
57
+ /** Built-in method references without a dependency on `root`. */var a=parseInt;
58
+ /**
59
+ * Converts `value` to a number.
60
+ *
61
+ * @static
62
+ * @memberOf _
63
+ * @since 4.0.0
64
+ * @category Lang
65
+ * @param {*} value The value to process.
66
+ * @returns {number} Returns the number.
67
+ * @example
68
+ *
69
+ * _.toNumber(3.2);
70
+ * // => 3.2
71
+ *
72
+ * _.toNumber(Number.MIN_VALUE);
73
+ * // => 5e-324
74
+ *
75
+ * _.toNumber(Infinity);
76
+ * // => Infinity
77
+ *
78
+ * _.toNumber('3.2');
79
+ * // => 3.2
80
+ */function d(d){if(typeof d=="number"){return d}if(n(d)){return i}if(r(d)){var f=typeof d.valueOf=="function"?d.valueOf():d;d=r(f)?f+"":f}if(typeof d!="string"){return d===0?d:+d}d=e(d);var s=t.test(d);return s||o.test(d)?a(d.slice(2),s?2:8):u.test(d)?i:+d}toNumber_1=d;return toNumber_1}var debounce_1;var hasRequiredDebounce;function requireDebounce(){if(hasRequiredDebounce)return debounce_1;hasRequiredDebounce=1;var e=requireIsObject(),r=requireNow(),n=requireToNumber();
81
+ /** Error message constants. */var i="Expected a function";
82
+ /* Built-in method references for those with the same name as other `lodash` methods. */var u=Math.max,t=Math.min;
83
+ /**
84
+ * Creates a debounced function that delays invoking `func` until after `wait`
85
+ * milliseconds have elapsed since the last time the debounced function was
86
+ * invoked. The debounced function comes with a `cancel` method to cancel
87
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
88
+ * Provide `options` to indicate whether `func` should be invoked on the
89
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
90
+ * with the last arguments provided to the debounced function. Subsequent
91
+ * calls to the debounced function return the result of the last `func`
92
+ * invocation.
93
+ *
94
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
95
+ * invoked on the trailing edge of the timeout only if the debounced function
96
+ * is invoked more than once during the `wait` timeout.
97
+ *
98
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
99
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
100
+ *
101
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
102
+ * for details over the differences between `_.debounce` and `_.throttle`.
103
+ *
104
+ * @static
105
+ * @memberOf _
106
+ * @since 0.1.0
107
+ * @category Function
108
+ * @param {Function} func The function to debounce.
109
+ * @param {number} [wait=0] The number of milliseconds to delay.
110
+ * @param {Object} [options={}] The options object.
111
+ * @param {boolean} [options.leading=false]
112
+ * Specify invoking on the leading edge of the timeout.
113
+ * @param {number} [options.maxWait]
114
+ * The maximum time `func` is allowed to be delayed before it's invoked.
115
+ * @param {boolean} [options.trailing=true]
116
+ * Specify invoking on the trailing edge of the timeout.
117
+ * @returns {Function} Returns the new debounced function.
118
+ * @example
119
+ *
120
+ * // Avoid costly calculations while the window size is in flux.
121
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
122
+ *
123
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
124
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
125
+ * 'leading': true,
126
+ * 'trailing': false
127
+ * }));
128
+ *
129
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
130
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
131
+ * var source = new EventSource('/stream');
132
+ * jQuery(source).on('message', debounced);
133
+ *
134
+ * // Cancel the trailing debounced invocation.
135
+ * jQuery(window).on('popstate', debounced.cancel);
136
+ */function o(o,a,d){var f,s,m,b,c,q,_=0,v=false,h=false,T=true;if(typeof o!="function"){throw new TypeError(i)}a=n(a)||0;if(e(d)){v=!!d.leading;h="maxWait"in d;m=h?u(n(d.maxWait)||0,a):m;T="trailing"in d?!!d.trailing:T}function I(e){var r=f,n=s;f=s=undefined;_=e;b=o.apply(n,r);return b}function R(e){
137
+ // Reset any `maxWait` timer.
138
+ _=e;
139
+ // Start the timer for the trailing edge.
140
+ c=setTimeout(N,a);
141
+ // Invoke the leading edge.
142
+ return v?I(e):b}function l(e){var r=e-q,n=e-_,i=a-r;return h?t(i,m-n):i}function y(e){var r=e-q,n=e-_;
143
+ // Either this is the first call, activity has stopped and we're at the
144
+ // trailing edge, the system time has gone backwards and we're treating
145
+ // it as the trailing edge, or we've hit the `maxWait` limit.
146
+ return q===undefined||r>=a||r<0||h&&n>=m}function N(){var e=r();if(y(e)){return x(e)}
147
+ // Restart the timer.
148
+ c=setTimeout(N,l(e))}function x(e){c=undefined;
149
+ // Only invoke if we have `lastArgs` which means `func` has been
150
+ // debounced at least once.
151
+ if(T&&f){return I(e)}f=s=undefined;return b}function w(){if(c!==undefined){clearTimeout(c)}_=0;f=q=s=c=undefined}function E(){return c===undefined?b:x(r())}function S(){var e=r(),n=y(e);f=arguments;s=this;q=e;if(n){if(c===undefined){return R(q)}if(h){
152
+ // Handle invocations in a tight loop.
153
+ clearTimeout(c);c=setTimeout(N,a);return I(q)}}if(c===undefined){c=setTimeout(N,a)}return b}S.cancel=w;S.flush=E;return S}debounce_1=o;return debounce_1}export{requireDebounce as r};
@@ -0,0 +1 @@
1
+ import{e as getDefaultExportFromCjs}from"./zonosStore-DrIOAz4M.js";import{r as requireDebounce}from"./debounce-D4ko2kvZ.js";var debounceExports=requireDebounce();var debounce=getDefaultExportFromCjs(debounceExports);export{debounce as d};
@@ -0,0 +1,8 @@
1
+ import{i as isSameHostCheckoutLink}from"./isSameHostCheckoutLink-BxAHnL5J.js";var formatStringWithLinks=function(r){
2
+ // Match Markdown-style links or standalone URLs not in Markdown format
3
+ var n=/\[([^\]]+)\]\((https?:\/\/[^\s\)]+)\)|(https?:\/\/[^\s]+)/g;var t=r.replace(n,(function(r,n,t,o){var i;var e=t||o;
4
+ // For BigCommerce, a same-host `/checkout` link navigates the current tab
5
+ // (`_self`) instead of opening a new one — the Zonos checkout unloads and
6
+ // the native checkout opens in its place rather than leaving two
7
+ // checkouts open at once (05CHECK-887).
8
+ var s=!!((i=window.Zonos)===null||i===void 0?void 0:i.isBigCommerce)&&isSameHostCheckoutLink(e)?"_self":"_blank";var a=t?n:o;return'<zonos-link href="'.concat(e,'" target="').concat(s,'" rel="noopener noreferrer">').concat(a,"</zonos-link>")}));return t};export{formatStringWithLinks as f};
@@ -0,0 +1,8 @@
1
+ import{z as zonosStore}from"./zonosStore-DrIOAz4M.js";
2
+ /**
3
+ * Get the border radius for the elements based on the style
4
+ * @param overrideBorderStyle
5
+ * @returns
6
+ */var getBorderRadius=function(o){var r=(o===null||o===void 0?void 0:o.customRoundRadius)||"10px";var e=o===null||o===void 0?void 0:o.overrideBorderStyle;if(e){
7
+ // If the override is set, use that, otherwise use the default radius style
8
+ return e==="SHARP"?"0px":r}return zonosStore.appearance.style==="SHARP"?"0px":r};export{getBorderRadius as g};
@@ -0,0 +1,14 @@
1
+ import{i as isDarkColor,t as tinycolor}from"./isDarkColor-YdrG78th.js";import{i as isContrastColor}from"./isContrastColor-CWLU13s9.js";var getContrastColor=function(r){var o=r.backgroundColor,t=r.color;if(o===t){if(isDarkColor(t)){var n=tinycolor(t).lighten(40).toHexString();return n}var a=tinycolor(t).darken(40).toHexString();return a}
2
+ // get readibility of the color
3
+ var i=isContrastColor({backgroundColor1:o,backgroundColor2:t});if(i){
4
+ // no need to change the color if it's already contrast enough
5
+ return t}
6
+ // Try both darker and lighter shifts of the same hue at increasing
7
+ // amounts; at each step prefer the candidate with higher contrast against
8
+ // the background and return as soon as one meets the threshold. This keeps
9
+ // the result close to the original color whenever possible and handles
10
+ // both light-on-light and dark-on-dark pairings symmetrically.
11
+ var f=[25,50,70];for(var l=0,s=f;l<s.length;l++){var C=s[l];var c=[tinycolor(t).darken(C).toHexString(),tinycolor(t).lighten(C).toHexString()];c.sort((function(r,t){return tinycolor.readability(o,t)-tinycolor.readability(o,r)}));for(var u=0,v=c;u<v.length;u++){var e=v[u];if(isContrastColor({backgroundColor1:o,backgroundColor2:e})){return e}}}
12
+ // Last resort: pick whichever absolute extreme is more readable against
13
+ // the background.
14
+ return tinycolor.readability(o,"#000000")>=tinycolor.readability(o,"#ffffff")?"#000000":"#ffffff"};export{getContrastColor as g};
@@ -0,0 +1,4 @@
1
+ var iframeServices={GOOGLE_PLACES:"zonos--private-iframe-google-places-service-m9bmuh7g"};var postMessage=function(e){var t=e.id,r=e.payload,n=e.target,i=e.type;var a;if(n instanceof HTMLIFrameElement){(a=n.contentWindow)===null||a===void 0?void 0:a.postMessage({id:t,payload:r,type:i},"*")}else{n.postMessage({id:t,payload:r,type:i},"*")}};
2
+ /**
3
+ * Base class for iframe services, being used for Iframe to communicate back to the parent window
4
+ */var IframeService=/** @class */function(){function e(e,t){var r=this;this.targetElement=e;this.targetId=t;this.sendMessage=function(e,t){postMessage({id:r.targetId,payload:t,target:r.targetElement,type:e})}}return e}();IframeService.iframeServices=iframeServices;IframeService.sendMessage=postMessage;IframeService.injectPrivateIframe=function(e){var t=e.id,r=e.onload,n=e.src;var i=document.createElement("iframe");i.src=n;i.id=t;i.style.display="none";i.role="presentation";i.ariaHidden="true";i.tabIndex=-1;i.style.border="none !important";i.style.margin="0px !important";i.style.padding="0px !important";i.style.width="1px !important";i.style.minWidth="100% !important";i.style.overflow="hidden !important";i.style.display="block !important";i.style.visibility="hidden !important";i.style.position="fixed !important";i.style.pointerEvents="none !important";i.style.userSelect="none !important";i.style.height="1px !important";i.onload=function(){return r(i)};document.body.appendChild(i);return i};var injectPrivateIframe=function(e){var t=e.id,r=e.onload,n=e.src;var i=document.createElement("iframe");i.src=n;i.id=t;i.style.display="none";i.role="presentation";i.ariaHidden="true";i.tabIndex=-1;i.style.border="none !important";i.style.margin="0px !important";i.style.padding="0px !important";i.style.width="1px !important";i.style.minWidth="100% !important";i.style.overflow="hidden !important";i.style.display="block !important";i.style.visibility="hidden !important";i.style.position="fixed !important";i.style.pointerEvents="none !important";i.style.userSelect="none !important";i.style.height="1px !important";i.onload=r;document.body.appendChild(i)};var getGenericSettingsOverride=function(){var e=new URLSearchParams(window.location.search);var t=!!window.Zonos.overrideUseCustomAddressForm?"1":e.get("overrideShouldEnabledCustomAddress");return{overrideShouldEnabledCustomAddress:t}};export{IframeService as I,injectPrivateIframe as a,getGenericSettingsOverride as g,iframeServices as i};
@@ -0,0 +1,20 @@
1
+ import{U as extractName}from"./cart-ekBk_gxV.js";
2
+ /**
3
+ * Minimum number of characters we treat as a valid postal code. Mirrors the
4
+ * landed-cost readiness check in `stripe.ts` (`isAddressReadyToRequestLandedCost`).
5
+ */var MIN_POSTAL_CODE_LENGTH=3;
6
+ /**
7
+ * Determine which Zonos-required shipping fields are still missing even though Stripe
8
+ * reports the address as complete.
9
+ *
10
+ * Stripe Link autofills a saved address from a single name input, so it may return only a
11
+ * first name and, for some countries, omit the state / postal code while still reporting
12
+ * `complete: true`. This surfaces the fields Zonos needs for international shipping so the
13
+ * customer can supply just those, without duplicating fields Stripe already captures.
14
+ *
15
+ * Pure: the caller resolves `countryField` (via `getCountryField`) and passes it in, so
16
+ * this can be unit-tested without the stores.
17
+ */var getMissingRequiredShippingFields=function(i){var e=i.countryField,a=i.event;var r,t,v;if(!a){return[]}var l=a.value;var o=[];
18
+ // Last name is always required for international shipping. Link's single name input
19
+ // often provides only a first name, leaving the extracted last name empty.
20
+ var s=extractName({firstName:l.firstName,lastName:l.lastName,name:l.name}).lastName;if(!s.trim()){o.push({key:"lastName"})}if((e===null||e===void 0?void 0:e.stateRequired)&&!((r=l.address.state)===null||r===void 0?void 0:r.trim())){o.push({key:"state"})}if((e===null||e===void 0?void 0:e.zipRequired)&&((v=(t=l.address.postal_code)===null||t===void 0?void 0:t.trim().length)!==null&&v!==void 0?v:0)<MIN_POSTAL_CODE_LENGTH){o.push({key:"postal_code"})}return o};export{MIN_POSTAL_CODE_LENGTH as M,getMissingRequiredShippingFields as g};
@@ -0,0 +1,60 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,n,o,r){function t(e){return e instanceof o?e:new o((function(n){n(e)}))}return new(o||(o=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?o(e.value):t(e.value).then(a,s)}u((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,t,i,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(n){return u([e,n])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(o=0)),o)try{if(r=1,t&&(i=s[0]&2?t["return"]:s[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,s[1])).done)return i;if(t=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;t=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(s[0]===6&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}if(i[2])o.ops.pop();o.trys.pop();continue}s=n.call(e,o)}catch(e){s=[6,e];t=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,o){if(o||arguments.length===2)for(var r=0,t=n.length,i;r<t;r++){if(i||!(r in n)){if(!i)i=Array.prototype.slice.call(n,0,r);i[r]=n[r]}}return e.concat(i||Array.prototype.slice.call(n))};import{l as log}from"./VarianceTest-BJmZPrZl.js";var logError=function(e){var n=[];for(var o=1;o<arguments.length;o++){n[o-1]=arguments[o]}log.apply(void 0,__spreadArray([e,"error"],n,false))};var getIsStagingMode=function(){return window.location.search.includes("zonosStagingMode=1")};var getIsTestMode=function(){var e;return((e=window.Zonos.zonosApiKey)===null||e===void 0?void 0:e.includes("test"))||window.location.search.includes("zonosTestMode=1")};var fallbackApiType=["cloudflare","vercel"];var MAIN_BASE_API_TYPE=fallbackApiType[0];var fallbackApiList={cloudflare:"https://route.elements.zonos.com",vercel:"https://route.js.zonos.com"};var MAIN_BASE_API=fallbackApiList[MAIN_BASE_API_TYPE];
2
+ /**
3
+ * Next available fallback api type
4
+ */var getNextFallbackApiType=function(e){if(e===void 0){e=MAIN_BASE_API_TYPE}var n=fallbackApiType.indexOf(e);var o=fallbackApiType[n+1];if(!o){return null}return o};var jsonParse=function(e){if(typeof e==="string"){try{
5
+ // eslint-disable-next-line no-restricted-syntax
6
+ var n=JSON.parse(e);return n}catch(e){return null}}return null};var checkoutBreakpoint=890;var isCheckoutMobile=function(e){return e||window.innerWidth<checkoutBreakpoint};var getNavigatorConnection=function(){var e="connection"in window.navigator?// connection is not yet supported in all browsers
7
+ window.navigator.connection:null;var n="mozConnection"in window.navigator?// mozConnection is not yet supported in all browsers
8
+ window.navigator.mozConnection:null;var o="webkitConnection"in window.navigator?// webkitConnection is not yet supported in all browsers
9
+ window.navigator.webkitConnection:null;var r=e||n||o;return r};var getAdditionalLogMetadata=function(){var e="userAgentData"in window.navigator?// userAgentData is not yet supported in all browsers
10
+ window.navigator.userAgentData:null;var n=getNavigatorConnection();return{connectionDownlink:n===null||n===void 0?void 0:n.downlink,connectionEffectiveType:n===null||n===void 0?void 0:n.effectiveType,connectionRtt:n===null||n===void 0?void 0:n.rtt,connectionSaveData:n===null||n===void 0?void 0:n.saveData,isHostedCheckout:window.Zonos.isLegacyCheckout,screenHeight:window.screen.height,screenWidth:window.innerWidth,userAgent:e&&e.brands.length>0?e:window.navigator.userAgent}};var blackListPaths=["/api/zonos-elements/log-script-load","/api/zonos-elements/log-bulk-load-data"];
11
+ /**
12
+ * Prepares the load time api log for the given API call to send to the server later
13
+ * This function is used to prepare the load time api log for the given API call.
14
+ * It adds the load time api log to the loadTimeApiInfoList.
15
+ */var prepLoadTimeApiLog=function(e){var n=e.apiPath,o=e.apiType,r=e.loadTimeInternal,t=e.loadTimeTotal;if(blackListPaths.includes(n)){return}var i=t-r;
16
+ // No need to record if the browser API load time is negative (cached)
17
+ if(i<0){return}
18
+ // e.g. /api/zonos-elements/log-script-load?zonosDebug=1 -> /api/zonos-elements/log-script-load
19
+ var a=n.split("?")[0]||n;var s=getAdditionalLogMetadata();var u=typeof s.userAgent==="object"&&s.userAgent.mobile;var l={apiType:o,connectionType:s.connectionEffectiveType,href:a,isHostedCheckout:window.Zonos.isLegacyCheckout,
20
+ // Use the isMobileAgent to determine if the checkout is mobile, if it's not availabe, use the logic from isCheckoutMobile
21
+ isMobile:isCheckoutMobile(u),loadTimeBrowserApi:i,loadTimeInternal:r,loadTimeTotal:t,metadata:Object.assign({},s),screenHeight:s.screenHeight,screenWidth:s.screenWidth,userAgent:typeof s.userAgent==="string"?s.userAgent:s.userAgent["brands"].map((function(e){return e.brand})).filter((function(e){return!/Not.*A.*Brand.*/.test(e)})).join(",")};window.Zonos.loadTimeApiInfoList.push(l)};
22
+ /**
23
+ * This is the time in milliseconds after release time that we will start sending error logs to the new API
24
+ * @default 1 hour
25
+ */var postReleaseReportingDuration=1*3600*1e3;// 1 hour
26
+ var sendErrorLog=function(e){return __awaiter(void 0,[e],void 0,(function(e){var n,o,r,t,i;var a=e.endpoint,s=e.errors,u=e.metadata,l=e.shouldPostReleaseErrorReporting;return __generator(this,(function(e){log("sendErrorLog","warn",a,u,s);if(l){n=Number(window.Zonos.releaseDate);o=(new Date).getTime();if(o-n>postReleaseReportingDuration){return[2/*return*/]}}r="userAgentData"in window.navigator?// userAgentData is not yet supported in all browsers
27
+ window.navigator.userAgentData:null;t={endpoint:a,errors:s,href:window.location.href,metadata:Object.assign({appVersion:window.Zonos.version,domain:window.Zonos.domain,publicCredential:window.Zonos.zonosApiKey,userAgent:r&&r.brands.length>0?r:window.navigator.userAgent},u)};try{
28
+ // use native fetch because in handleFetch also calls sendErrorLog and it will possibly cause circular dependencies issue
29
+ void fetch("".concat(MAIN_BASE_API,"/api/zonos-elements/log-error"),{body:JSON.stringify(t),headers:{"Zonos-Referer":window.location.hostname},method:"POST"})}catch(e){i=getNextFallbackApiType();if(!i){return[2/*return*/]}
30
+ // request to the fallback API if the first one fails
31
+ void fetch("".concat(fallbackApiList[i],"/api/zonos-elements/log-error"),{body:JSON.stringify(t),method:"POST"})}return[2/*return*/]}))}))};var __rest=undefined&&undefined.__rest||function(e,n){var o={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0)o[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var t=0,r=Object.getOwnPropertySymbols(e);t<r.length;t++){if(n.indexOf(r[t])<0&&Object.prototype.propertyIsEnumerable.call(e,r[t]))o[r[t]]=e[r[t]]}return o};var getResponseBody=function(e){return __awaiter(void 0,[e],void 0,(function(e){var n,o,r;var t=e.response,i=e.shouldLog,a=i===void 0?true:i,s=e.shouldThrow,u=s===void 0?false:s;return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,2,,3]);return[4/*yield*/,t.text()];case 1:n=e.sent();o=jsonParse(n);if(!o){throw new Error("Failed to parse content: ".concat(n))}return[2/*return*/,o];case 2:r=e.sent();if(u){throw r}if(a){
32
+ // eslint-disable-next-line
33
+ console.error(r)}return[2/*return*/,null];case 3:return[2/*return*/]}}))}))};var encodeString=function(e){try{
34
+ // encode the string, remove the "=" at the end of the encoded string
35
+ var n=btoa(e).replace(/=/g,"");return n}catch(n){
36
+ // return the reverse string if the encoding failed
37
+ return e.replace(/[^A-Za-z0-9]/g,"").split("").reverse().join("")}};var handleRequest=function(e){return __awaiter(void 0,[e],void 0,(function(e){var n,o,r,t,i,a,s,u,l,d,c,d,f,v,s,w,s;var p=e.basePathType,g=e.options,h=e.path;return __generator(this,(function(e){switch(e.label){case 0:o=window.Zonos.zonosQaUrlApi||fallbackApiList[p]||MAIN_BASE_API_TYPE;r=o+h;t=new URL(r);i=window.Zonos.cartId?"".concat(window.location.hostname,"-").concat(window.Zonos.cartId):window.location.hostname;t.searchParams.set("zToken",encodeString(i));e.label=1;case 1:e.trys.push([1,3,,4]);return[4/*yield*/,fetch(t.toString(),g)];case 2:n=e.sent();return[3/*break*/,4];case 3:a=e.sent();if(a instanceof Error){return[2/*return*/,{baseUrl:o,errors:[{message:a.message,type:"unknown"}],json:null,response:null,zonosMode:null}]}s="Failed to fetch";return[2/*return*/,{baseUrl:o,errors:[{message:s,type:"unknown"}],json:null,response:null,zonosMode:null}];case 4:u=n.headers.get("Zonos-Mode");l=window.Zonos.zonosQaUrl;
38
+ // We only want to alert once if the user is in preview mode and it's also using production environment
39
+ if(!window.Zonos.modeAlerted&&u&&l){window.Zonos.modeAlerted=true}if(!n.ok)return[3/*break*/,6];return[4/*yield*/,getResponseBody({response:n})];case 5:d=e.sent();return[2/*return*/,{baseUrl:o,errors:[],json:d,response:n,zonosMode:u}];case 6:c=n.status.toString();e.label=7;case 7:e.trys.push([7,9,,10]);return[4/*yield*/,getResponseBody({response:n,shouldThrow:true})];case 8:d=e.sent();
40
+ // Parse and access "errors" from the response if possible
41
+ if(d&&"errors"in d&&Array.isArray(d.errors)){f=d.errors;v=f.map((function(e){if(typeof e==="string"){return{message:e,type:c}}return e}));return[2/*return*/,{baseUrl:o,errors:v,json:null,response:n,zonosMode:u}]}s=JSON.stringify(d);return[2/*return*/,{baseUrl:o,errors:[{message:s,type:c}],json:null,response:n,zonosMode:u}];case 9:w=e.sent();s="Unknown error";return[2/*return*/,{baseUrl:o,errors:[{message:"".concat(c,": ").concat(s),type:c}],json:null,response:null,zonosMode:u}];case 10:return[2/*return*/]}}))}))};var handleRequestWithFallback=function(e){return __awaiter(void 0,[e],void 0,(function(e){var n,o,r,t,i,a,s,u,l,d,c,f,v,w,p,g,h;var b=e.basePathType,y=e.options,A=e.path;return __generator(this,(function(e){switch(e.label){case 0:r=A.startsWith("/api/bigcommerce");t=r?"vercel":b;i=performance.now();return[4/*yield*/,handleRequest({basePathType:t,options:y,path:A})];case 1:a=e.sent(),s=a.errors,u=a.response,l=__rest(a,["errors","response"]);d=performance.now();c=d-i;
42
+ // Send the load time api log
43
+ log("".concat(A," (").concat(c.toFixed(2),"ms)"),"info");f=u===null||u===void 0?void 0:u.headers.get("Zonos-Duration");
44
+ // Only record if the response status is 200, some endpoint will return 200 with error
45
+ if((u===null||u===void 0?void 0:u.status)===200){prepLoadTimeApiLog({apiPath:A,apiType:t,loadTimeInternal:f?Number(f):0,loadTimeTotal:c})}v=getNextFallbackApiType(t);w=s.find((function(e){var n=e.type;return n==="unknown"}));p=s.find((function(e){var n=e.message;return typeof n==="string"&&(n.includes("signal is aborted")||n.includes("The operation was aborted")||n.includes("Fetch is aborted"))}));g=!!w||(u===null||u===void 0?void 0:u.status)===404||(u===null||u===void 0?void 0:u.status)===500;h=
46
+ // If next fallback is available, and the error is unknown (Failed to fetch) or 404 or 500 (server error)
47
+ v&&g;
48
+ // Should log the error if it's unknown error
49
+ if(g&&!p){void sendErrorLog({endpoint:fallbackApiList[t]+A,errors:s.map((function(e){var n=e.message;return"API: ".concat(n)})),metadata:{currentBasePath:t,nextFallbackApiType:v,requestHeaders:y===null||y===void 0?void 0:y.headers,requestPayload:jsonParse((n=y===null||y===void 0?void 0:y.body)===null||n===void 0?void 0:n.toString())||((o=y===null||y===void 0?void 0:y.body)===null||o===void 0?void 0:o.toString()),shouldCallFallback:h,status:u===null||u===void 0?void 0:u.status,statusText:u===null||u===void 0?void 0:u.statusText},
50
+ // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
51
+ shouldPostReleaseErrorReporting:true})}if(h){log('=== "'.concat(A,'" failed to fetch, trying next fallback ').concat(v));return[2/*return*/,handleRequestWithFallback({basePathType:v,options:y,path:A})]}
52
+ // No more fallbacks, just return the result
53
+ return[2/*return*/,Object.assign({errors:s,response:u},l)]}}))}))};
54
+ /**
55
+ * Fetch request and will request to fallback API when the first one fails
56
+ * @param path Path name of the request (e.g. /api/something/com).
57
+ * @param _opts fetch options
58
+ */var handleFetch=function(e,n){return __awaiter(void 0,void 0,void 0,(function(){var o,r,t,i,a,s;return __generator(this,(function(u){o=__rest(n||{},[]);r=o.body?JSON.stringify(o.body):undefined;t=o.method||"GET";i=Object.assign({"Content-Type":"application/json","Zonos-Is-BigCommerce":window.Zonos.isBigCommerce.toString(),"Zonos-Referer":window.location.hostname,"Zonos-Staging-Mode":getIsStagingMode()?"1":undefined,"Zonos-Test-Mode":getIsTestMode()?"1":undefined,"Zonos-Version":window.Zonos.version,credentialtoken:window.Zonos.zonosApiKey||"Empty credential token from zonos-elements"},o.headers);
59
+ // filter all underfined headers
60
+ Object.keys(i).forEach((function(e){return i[e]===undefined&&delete i[e]}));a=Object.assign(Object.assign({},o),{body:t==="GET"?undefined:r,headers:i,method:t});s=new URLSearchParams(window.location.search).get("useFallbackApi");return[2/*return*/,handleRequestWithFallback({basePathType:s||MAIN_BASE_API_TYPE,options:a,path:e})]}))}))};export{getIsStagingMode as a,getAdditionalLogMetadata as b,fallbackApiList as f,getIsTestMode as g,handleFetch as h,isCheckoutMobile as i,jsonParse as j,logError as l,sendErrorLog as s};
@@ -0,0 +1,6 @@
1
+ import{l as localizationStore}from"./localization-AOqYXGdP.js";
2
+ /**
3
+ * Since the backend and the frontend are using the same keys,
4
+ * make sure to not change the key value below since if it changes
5
+ * and the frontend script is cached, the formula may not work as expected.
6
+ */var DUTY_KEY="gkjqw123";var TAXES_KEY="Kq93wqw3";var hasInclusivePrice=function(){var i;return(i=localizationStore.inclusivePricingConfigurations)===null||i===void 0?void 0:i.some((function(i){var o,a;return((o=i.configurations[DUTY_KEY])===null||o===void 0?void 0:o.status)==="ENABLED"||((a=i.configurations[TAXES_KEY])===null||a===void 0?void 0:a.status)==="ENABLED"}))};export{DUTY_KEY as D,TAXES_KEY as T,hasInclusivePrice as h};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Elements inside of web components sometimes need to inherit global attributes
3
+ * set on the host. For example, the inner input in `ion-input` should inherit
4
+ * the `title` attribute that developers set directly on `ion-input`. This
5
+ * helper function should be called in componentWillLoad and assigned to a variable
6
+ * that is later used in the render function.
7
+ *
8
+ * This does not need to be reactive as changing attributes on the host element
9
+ * does not trigger a re-render.
10
+ */
11
+ var inheritAttributes=function(a,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(a.hasAttribute(i)){var e=a.getAttribute(i);if(e!==null){r[i]=e}a.removeAttribute(i)}}));return r};
12
+ /**
13
+ * List of available ARIA attributes + `role`.
14
+ * Removed deprecated attributes.
15
+ * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
16
+ */var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];
17
+ /**
18
+ * Returns an array of aria attributes that should be copied from
19
+ * the shadow host element to a target within the light DOM.
20
+ * @param el The element that the attributes should be copied from.
21
+ * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.
22
+ * Use this in instances where we manually specify aria attributes on the `<Host>` element.
23
+ */var inheritAriaAttributes=function(a,i){var r=ariaAttributes;return inheritAttributes(a,r)};export{inheritAttributes as a,inheritAriaAttributes as i};