@gem-sdk/components 23.1.2 → 24.0.0-dev.10

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 (519) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +1 -1
  2. package/dist/cjs/article/components/ArticleImage.liquid.js +6 -6
  3. package/dist/cjs/article/components/ArticleList.js +1 -1
  4. package/dist/cjs/article/index.js +1 -1
  5. package/dist/cjs/article/settings/configs/article-image/settings.js +1 -1
  6. package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
  7. package/dist/cjs/builder.js +1 -1
  8. package/dist/cjs/button/common/helpers.js +2 -2
  9. package/dist/cjs/cart/components/CartList.js +1 -1
  10. package/dist/cjs/cart/index.js +1 -1
  11. package/dist/cjs/collection/index.js +1 -1
  12. package/dist/cjs/common/components/Loading.js +1 -1
  13. package/dist/cjs/common/const.js +1 -1
  14. package/dist/cjs/common/helpers.js +1 -0
  15. package/dist/cjs/common/hooks/useElementWidth.js +1 -0
  16. package/dist/cjs/common/hooks/useLoadingProgress.js +1 -0
  17. package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
  18. package/dist/cjs/grid/components/section/Section.js +1 -1
  19. package/dist/cjs/grid/index.js +1 -1
  20. package/dist/cjs/header/components/kind/basic/index.js +1 -1
  21. package/dist/cjs/header/components/kind/modern/index.js +1 -1
  22. package/dist/cjs/header/index.js +1 -1
  23. package/dist/cjs/hero-banner/common/styles.js +1 -1
  24. package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
  25. package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +5 -5
  26. package/dist/cjs/hero-banner/index.js +1 -1
  27. package/dist/cjs/image/common/adaptiveSources.js +1 -0
  28. package/dist/cjs/image/common/attrs.js +1 -1
  29. package/dist/cjs/image/common/classes.js +1 -1
  30. package/dist/cjs/image/common/helpers.js +2 -2
  31. package/dist/cjs/image/common/liquidSrcset.js +1 -0
  32. package/dist/cjs/image/common/listContext.js +1 -0
  33. package/dist/cjs/image/common/listImageContext.js +1 -0
  34. package/dist/cjs/image/common/sizes.js +1 -0
  35. package/dist/cjs/image/common/srcset.js +1 -0
  36. package/dist/cjs/image/components/AdaptiveImage.js +1 -1
  37. package/dist/cjs/image/components/AdaptiveImage.liquid.js +10 -12
  38. package/dist/cjs/image/components/Image.js +1 -1
  39. package/dist/cjs/image/components/Image.liquid.js +10 -10
  40. package/dist/cjs/image/components/NextImage.js +1 -1
  41. package/dist/cjs/image/components/NextImage.liquid.js +4 -5
  42. package/dist/cjs/image/constants.js +1 -1
  43. package/dist/cjs/image/index.js +1 -1
  44. package/dist/cjs/image/settings/configs/settings.js +1 -1
  45. package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
  46. package/dist/cjs/image-comparison/common/attrs.js +1 -1
  47. package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
  48. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +14 -14
  49. package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -3
  50. package/dist/cjs/image-comparison/index.js +1 -1
  51. package/dist/cjs/image-comparison/settings/configs/settings.js +1 -1
  52. package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
  53. package/dist/cjs/index.js +1 -1
  54. package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
  55. package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
  56. package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
  57. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  58. package/dist/cjs/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  59. package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  60. package/dist/cjs/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  61. package/dist/cjs/post-purchase/product/index.js +1 -1
  62. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  63. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  64. package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
  65. package/dist/cjs/product/components/product-badge/common/styles.js +1 -1
  66. package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  67. package/dist/cjs/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  68. package/dist/cjs/product/components/product-bundle/common/classes.js +1 -1
  69. package/dist/cjs/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
  70. package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  71. package/dist/cjs/product/components/product-discount-tag/common/helpers.js +1 -0
  72. package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
  73. package/dist/cjs/product/components/product-images-v2/common/attrs.js +1 -1
  74. package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
  75. package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  76. package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  77. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +41 -41
  78. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  79. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  80. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  81. package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  82. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  83. package/dist/cjs/product/components/product-images-v3/common/attrs.js +1 -1
  84. package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
  85. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  86. package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  87. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  88. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +40 -40
  89. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +40 -40
  90. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  91. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +12 -12
  92. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +12 -12
  93. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  94. package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  95. package/dist/cjs/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
  96. package/dist/cjs/product/components/product-list/ProductList.js +1 -1
  97. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.js +1 -1
  98. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +9 -7
  99. package/dist/cjs/product/components/product-list/ProductListGridLayout.js +1 -1
  100. package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +16 -14
  101. package/dist/cjs/product/components/product-list/common/helpers.js +1 -1
  102. package/dist/cjs/product/components/product-list/common/imagePriority.js +17 -0
  103. package/dist/cjs/product/components/product-list/common/imagePriorityHints.js +1 -0
  104. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
  105. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  106. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +11 -9
  107. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  108. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +16 -14
  109. package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
  110. package/dist/cjs/product/components/product-wrap/Product.js +1 -1
  111. package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
  112. package/dist/cjs/product/helpers/product-bundle.js +1 -1
  113. package/dist/cjs/product/helpers/productImagesDrag.js +1 -0
  114. package/dist/cjs/product/index.js +1 -1
  115. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  116. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  117. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  118. package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  119. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  120. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  121. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  122. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  123. package/dist/cjs/stock-counter/common/attrs.js +1 -1
  124. package/dist/cjs/stock-counter/common/helpers.js +23 -23
  125. package/dist/cjs/stock-counter/hooks/useStockCounter.js +1 -1
  126. package/dist/cjs/third-party/common/helpers.js +4 -4
  127. package/dist/cjs/third-party/components/KlarnaMessaging.liquid.js +29 -4
  128. package/dist/cjs/third-party/settings/AftershipEmailMarketingsms/index.js +1 -1
  129. package/dist/cjs/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  130. package/dist/cjs/third-party/settings/AliReviews/index.js +1 -1
  131. package/dist/cjs/third-party/settings/AlsoBoughtCbb/index.js +1 -1
  132. package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  133. package/dist/cjs/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  134. package/dist/cjs/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  135. package/dist/cjs/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  136. package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +1 -1
  137. package/dist/cjs/third-party/settings/AppstleSubscriptions/index.js +1 -1
  138. package/dist/cjs/third-party/settings/BestBuyFulfillment/index.js +1 -1
  139. package/dist/cjs/third-party/settings/BfSizeChartSizeGuide/index.js +1 -1
  140. package/dist/cjs/third-party/settings/BirdChime/index.js +4 -4
  141. package/dist/cjs/third-party/settings/BloyRewardsProgramLoyalty/index.js +1 -1
  142. package/dist/cjs/third-party/settings/Bogos/index.js +1 -1
  143. package/dist/cjs/third-party/settings/BoldProductOptions/index.js +4 -4
  144. package/dist/cjs/third-party/settings/BoldSubscriptions/index.js +1 -1
  145. package/dist/cjs/third-party/settings/BonLoyaltyRewardsReferrals/index.js +1 -1
  146. package/dist/cjs/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  147. package/dist/cjs/third-party/settings/BoostAISearchDiscovery/index.js +1 -1
  148. package/dist/cjs/third-party/settings/Bundler/index.js +1 -1
  149. package/dist/cjs/third-party/settings/CleanSizeCharts/index.js +1 -1
  150. package/dist/cjs/third-party/settings/CrossSellCartUpsell/index.js +1 -1
  151. package/dist/cjs/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  152. package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  153. package/dist/cjs/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  154. package/dist/cjs/third-party/settings/EasifyProductOptions/index.js +1 -1
  155. package/dist/cjs/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  156. package/dist/cjs/third-party/settings/EasySellCOD/index.js +4 -4
  157. package/dist/cjs/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  158. package/dist/cjs/third-party/settings/EcomsendBackInStockAlert/index.js +1 -1
  159. package/dist/cjs/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  160. package/dist/cjs/third-party/settings/EssentialAnnouncementBar/index.js +1 -1
  161. package/dist/cjs/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  162. package/dist/cjs/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  163. package/dist/cjs/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  164. package/dist/cjs/third-party/settings/FeraReviews/index.js +1 -1
  165. package/dist/cjs/third-party/settings/FirePush/index.js +1 -1
  166. package/dist/cjs/third-party/settings/FlyBundlesUpsellsFbt/index.js +1 -1
  167. package/dist/cjs/third-party/settings/FordeerProductLabels/index.js +2 -2
  168. package/dist/cjs/third-party/settings/FrequentlyBoughtTogether/index.js +1 -1
  169. package/dist/cjs/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
  170. package/dist/cjs/third-party/settings/GloboProductOptionsVariant/index.js +1 -1
  171. package/dist/cjs/third-party/settings/GoogleReviewsByReputon/index.js +1 -1
  172. package/dist/cjs/third-party/settings/Growave/index.js +1 -1
  173. package/dist/cjs/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  174. package/dist/cjs/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  175. package/dist/cjs/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  176. package/dist/cjs/third-party/settings/HulkFormBuilder/index.js +1 -1
  177. package/dist/cjs/third-party/settings/HulkProductOptions/index.js +1 -1
  178. package/dist/cjs/third-party/settings/InfiniteOptions/index.js +1 -1
  179. package/dist/cjs/third-party/settings/Instafeed/index.js +1 -1
  180. package/dist/cjs/third-party/settings/InstasellShoppableInstagram/index.js +1 -1
  181. package/dist/cjs/third-party/settings/JudgemeReviews/index.js +1 -1
  182. package/dist/cjs/third-party/settings/JunipProductReviewsUgc/index.js +1 -1
  183. package/dist/cjs/third-party/settings/KachingBundles/index.js +1 -1
  184. package/dist/cjs/third-party/settings/KachingSubscriptionsApp/index.js +1 -1
  185. package/dist/cjs/third-party/settings/KingProductOptions/index.js +1 -1
  186. package/dist/cjs/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  187. package/dist/cjs/third-party/settings/KlarnaMessaging/index.js +2 -2
  188. package/dist/cjs/third-party/settings/Klaviyo/index.js +4 -4
  189. package/dist/cjs/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
  190. package/dist/cjs/third-party/settings/LaiProductReviews/index.js +1 -1
  191. package/dist/cjs/third-party/settings/LoloyalLoyaltyReferrals/index.js +1 -1
  192. package/dist/cjs/third-party/settings/LoopSubscriptions/index.js +1 -1
  193. package/dist/cjs/third-party/settings/LooxReviews/index.js +1 -1
  194. package/dist/cjs/third-party/settings/MaxbundleProductBundles/index.js +1 -1
  195. package/dist/cjs/third-party/settings/MbcBundleVolumeDiscount/index.js +1 -1
  196. package/dist/cjs/third-party/settings/MyappgurusProductReviews/index.js +1 -1
  197. package/dist/cjs/third-party/settings/NotifyBackInStockPreOrder/index.js +1 -1
  198. package/dist/cjs/third-party/settings/OkendoReviewsLoyalty/index.js +1 -1
  199. package/dist/cjs/third-party/settings/Omnisend/index.js +1 -1
  200. package/dist/cjs/third-party/settings/Opinew/index.js +1 -1
  201. package/dist/cjs/third-party/settings/ParcelPanel/index.js +1 -1
  202. package/dist/cjs/third-party/settings/PickyStory/index.js +4 -4
  203. package/dist/cjs/third-party/settings/PowerfulContactFormBuilder/index.js +1 -1
  204. package/dist/cjs/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  205. package/dist/cjs/third-party/settings/PreorderNowWodPresale/index.js +1 -1
  206. package/dist/cjs/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  207. package/dist/cjs/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  208. package/dist/cjs/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  209. package/dist/cjs/third-party/settings/PushOwl/index.js +1 -1
  210. package/dist/cjs/third-party/settings/QikifyUpsell/index.js +2 -2
  211. package/dist/cjs/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  212. package/dist/cjs/third-party/settings/RechargeSubscriptions/index.js +1 -1
  213. package/dist/cjs/third-party/settings/RecurpaySubscriptionApp/index.js +1 -1
  214. package/dist/cjs/third-party/settings/Releasit/index.js +1 -1
  215. package/dist/cjs/third-party/settings/RequestQuoteHidePrice/index.js +1 -1
  216. package/dist/cjs/third-party/settings/ReviewxpoProductReviewsApp/index.js +1 -1
  217. package/dist/cjs/third-party/settings/Rivyo/index.js +1 -1
  218. package/dist/cjs/third-party/settings/Ryviu/index.js +1 -1
  219. package/dist/cjs/third-party/settings/SealSubscriptions/index.js +2 -2
  220. package/dist/cjs/third-party/settings/SegunoEmailMarketing/index.js +1 -1
  221. package/dist/cjs/third-party/settings/Selleasy/index.js +1 -1
  222. package/dist/cjs/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  223. package/dist/cjs/third-party/settings/ShopifyForms/index.js +1 -1
  224. package/dist/cjs/third-party/settings/ShopifySubscriptions/index.js +2 -2
  225. package/dist/cjs/third-party/settings/SimpleBundlesKits/index.js +1 -1
  226. package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
  227. package/dist/cjs/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  228. package/dist/cjs/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
  229. package/dist/cjs/third-party/settings/Stamped.js +1 -1
  230. package/dist/cjs/third-party/settings/StellarDeliveryDatePickup/index.js +1 -1
  231. package/dist/cjs/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  232. package/dist/cjs/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  233. package/dist/cjs/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  234. package/dist/cjs/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  235. package/dist/cjs/third-party/settings/TrustBadgesBear/index.js +2 -2
  236. package/dist/cjs/third-party/settings/TrustMe/index.js +4 -4
  237. package/dist/cjs/third-party/settings/TrustedsiteTrustBadges/index.js +1 -1
  238. package/dist/cjs/third-party/settings/Trustoo/index.js +1 -1
  239. package/dist/cjs/third-party/settings/TrustreviewsProductReviews/index.js +1 -1
  240. package/dist/cjs/third-party/settings/TrustshopProductReviews/index.js +1 -1
  241. package/dist/cjs/third-party/settings/UltimateSalesBoost/index.js +1 -1
  242. package/dist/cjs/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  243. package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  244. package/dist/cjs/third-party/settings/Vitals/index.js +1 -1
  245. package/dist/cjs/third-party/settings/WcWishlistBackInStock/index.js +1 -1
  246. package/dist/cjs/third-party/settings/WhatmoreShoppableVideosreel/index.js +1 -1
  247. package/dist/cjs/third-party/settings/WideBundle/index.js +4 -4
  248. package/dist/cjs/third-party/settings/Wiser/index.js +1 -1
  249. package/dist/cjs/third-party/settings/WishlistKing/index.js +2 -2
  250. package/dist/cjs/third-party/settings/WishlistPlus/index.js +2 -2
  251. package/dist/cjs/third-party/settings/YotpoReviews/index.js +1 -1
  252. package/dist/cjs/video/common/attrs.js +1 -1
  253. package/dist/cjs/video/components/HTML5Embed.js +1 -1
  254. package/dist/cjs/video/components/HTML5Embed.liquid.js +11 -11
  255. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
  256. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
  257. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
  258. package/dist/cjs/video/components/Video.liquid.js +1 -1
  259. package/dist/esm/article/components/ArticleImage.js +1 -1
  260. package/dist/esm/article/components/ArticleImage.liquid.js +7 -7
  261. package/dist/esm/article/components/ArticleList.js +1 -1
  262. package/dist/esm/article/index.js +1 -1
  263. package/dist/esm/article/settings/configs/article-image/settings.js +1 -1
  264. package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
  265. package/dist/esm/builder.js +1 -1
  266. package/dist/esm/button/common/helpers.js +2 -2
  267. package/dist/esm/cart/components/CartList.js +1 -1
  268. package/dist/esm/cart/index.js +1 -1
  269. package/dist/esm/collection/index.js +1 -1
  270. package/dist/esm/common/components/Loading.js +1 -1
  271. package/dist/esm/common/const.js +1 -1
  272. package/dist/esm/common/helpers.js +1 -0
  273. package/dist/esm/common/hooks/useElementWidth.js +1 -0
  274. package/dist/esm/common/hooks/useLoadingProgress.js +1 -0
  275. package/dist/esm/grid/components/row/Row.liquid.js +10 -10
  276. package/dist/esm/grid/components/section/Section.js +1 -1
  277. package/dist/esm/grid/index.js +1 -1
  278. package/dist/esm/header/components/kind/basic/index.js +1 -1
  279. package/dist/esm/header/components/kind/modern/index.js +1 -1
  280. package/dist/esm/header/index.js +1 -1
  281. package/dist/esm/hero-banner/common/styles.js +1 -1
  282. package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
  283. package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
  284. package/dist/esm/hero-banner/index.js +1 -1
  285. package/dist/esm/image/common/adaptiveSources.js +1 -0
  286. package/dist/esm/image/common/attrs.js +1 -1
  287. package/dist/esm/image/common/classes.js +1 -1
  288. package/dist/esm/image/common/helpers.js +2 -2
  289. package/dist/esm/image/common/liquidSrcset.js +1 -0
  290. package/dist/esm/image/common/listContext.js +1 -0
  291. package/dist/esm/image/common/listImageContext.js +1 -0
  292. package/dist/esm/image/common/sizes.js +1 -0
  293. package/dist/esm/image/common/srcset.js +1 -0
  294. package/dist/esm/image/components/AdaptiveImage.js +1 -1
  295. package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -13
  296. package/dist/esm/image/components/Image.js +1 -1
  297. package/dist/esm/image/components/Image.liquid.js +3 -3
  298. package/dist/esm/image/components/NextImage.js +1 -1
  299. package/dist/esm/image/components/NextImage.liquid.js +5 -6
  300. package/dist/esm/image/constants.js +1 -1
  301. package/dist/esm/image/index.js +1 -1
  302. package/dist/esm/image/settings/configs/settings.js +1 -1
  303. package/dist/esm/image/settings/configs/ui-v2.js +1 -1
  304. package/dist/esm/image-comparison/common/attrs.js +1 -1
  305. package/dist/esm/image-comparison/components/CompareImage.js +1 -1
  306. package/dist/esm/image-comparison/components/CompareImage.liquid.js +17 -17
  307. package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -3
  308. package/dist/esm/image-comparison/index.js +1 -1
  309. package/dist/esm/image-comparison/settings/configs/settings.js +1 -1
  310. package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
  311. package/dist/esm/index.js +1 -1
  312. package/dist/esm/post-purchase/callout-banner/index.js +1 -1
  313. package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -1
  314. package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -1
  315. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  316. package/dist/esm/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  317. package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  318. package/dist/esm/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  319. package/dist/esm/post-purchase/product/index.js +1 -1
  320. package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  321. package/dist/esm/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  322. package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
  323. package/dist/esm/product/components/product-badge/common/styles.js +1 -1
  324. package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  325. package/dist/esm/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  326. package/dist/esm/product/components/product-bundle/common/classes.js +1 -1
  327. package/dist/esm/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
  328. package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  329. package/dist/esm/product/components/product-discount-tag/common/helpers.js +1 -0
  330. package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
  331. package/dist/esm/product/components/product-images-v2/common/attrs.js +1 -1
  332. package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
  333. package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  334. package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  335. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +35 -35
  336. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  337. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  338. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +29 -29
  339. package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  340. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  341. package/dist/esm/product/components/product-images-v3/common/attrs.js +1 -1
  342. package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
  343. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  344. package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  345. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  346. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +24 -24
  347. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +24 -24
  348. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  349. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +5 -5
  350. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +5 -5
  351. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +30 -30
  352. package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  353. package/dist/esm/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
  354. package/dist/esm/product/components/product-list/ProductList.js +1 -1
  355. package/dist/esm/product/components/product-list/ProductListCarouselLayout.js +1 -1
  356. package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +11 -9
  357. package/dist/esm/product/components/product-list/ProductListGridLayout.js +1 -1
  358. package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +18 -16
  359. package/dist/esm/product/components/product-list/common/helpers.js +1 -1
  360. package/dist/esm/product/components/product-list/common/imagePriority.js +17 -0
  361. package/dist/esm/product/components/product-list/common/imagePriorityHints.js +1 -0
  362. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
  363. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  364. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +12 -10
  365. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  366. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +18 -16
  367. package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
  368. package/dist/esm/product/components/product-wrap/Product.js +1 -1
  369. package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
  370. package/dist/esm/product/helpers/product-bundle.js +1 -1
  371. package/dist/esm/product/helpers/productImagesDrag.js +1 -0
  372. package/dist/esm/product/index.js +1 -1
  373. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  374. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  375. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  376. package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  377. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  378. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  379. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  380. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  381. package/dist/esm/stock-counter/common/attrs.js +1 -1
  382. package/dist/esm/stock-counter/common/helpers.js +21 -21
  383. package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
  384. package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
  385. package/dist/esm/third-party/common/helpers.js +5 -5
  386. package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
  387. package/dist/esm/third-party/settings/AftershipEmailMarketingsms/index.js +2 -2
  388. package/dist/esm/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  389. package/dist/esm/third-party/settings/AliReviews/index.js +2 -2
  390. package/dist/esm/third-party/settings/AlsoBoughtCbb/index.js +2 -2
  391. package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  392. package/dist/esm/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  393. package/dist/esm/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  394. package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  395. package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +2 -2
  396. package/dist/esm/third-party/settings/AppstleSubscriptions/index.js +2 -2
  397. package/dist/esm/third-party/settings/BestBuyFulfillment/index.js +2 -2
  398. package/dist/esm/third-party/settings/BfSizeChartSizeGuide/index.js +2 -2
  399. package/dist/esm/third-party/settings/BirdChime/index.js +4 -4
  400. package/dist/esm/third-party/settings/BloyRewardsProgramLoyalty/index.js +2 -2
  401. package/dist/esm/third-party/settings/Bogos/index.js +4 -4
  402. package/dist/esm/third-party/settings/BoldProductOptions/index.js +4 -4
  403. package/dist/esm/third-party/settings/BoldSubscriptions/index.js +2 -2
  404. package/dist/esm/third-party/settings/BonLoyaltyRewardsReferrals/index.js +2 -2
  405. package/dist/esm/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  406. package/dist/esm/third-party/settings/BoostAISearchDiscovery/index.js +2 -2
  407. package/dist/esm/third-party/settings/Bundler/index.js +4 -4
  408. package/dist/esm/third-party/settings/CleanSizeCharts/index.js +2 -2
  409. package/dist/esm/third-party/settings/CrossSellCartUpsell/index.js +2 -2
  410. package/dist/esm/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  411. package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  412. package/dist/esm/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  413. package/dist/esm/third-party/settings/EasifyProductOptions/index.js +2 -2
  414. package/dist/esm/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  415. package/dist/esm/third-party/settings/EasySellCOD/index.js +4 -4
  416. package/dist/esm/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  417. package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +2 -2
  418. package/dist/esm/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  419. package/dist/esm/third-party/settings/EssentialAnnouncementBar/index.js +2 -2
  420. package/dist/esm/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  421. package/dist/esm/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  422. package/dist/esm/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  423. package/dist/esm/third-party/settings/FeraReviews/index.js +4 -4
  424. package/dist/esm/third-party/settings/FirePush/index.js +2 -2
  425. package/dist/esm/third-party/settings/FlyBundlesUpsellsFbt/index.js +2 -2
  426. package/dist/esm/third-party/settings/FordeerProductLabels/index.js +2 -2
  427. package/dist/esm/third-party/settings/FrequentlyBoughtTogether/index.js +2 -2
  428. package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +2 -2
  429. package/dist/esm/third-party/settings/GloboProductOptionsVariant/index.js +2 -2
  430. package/dist/esm/third-party/settings/GoogleReviewsByReputon/index.js +2 -2
  431. package/dist/esm/third-party/settings/Growave/index.js +4 -4
  432. package/dist/esm/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  433. package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  434. package/dist/esm/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  435. package/dist/esm/third-party/settings/HulkFormBuilder/index.js +2 -2
  436. package/dist/esm/third-party/settings/HulkProductOptions/index.js +2 -2
  437. package/dist/esm/third-party/settings/InfiniteOptions/index.js +2 -2
  438. package/dist/esm/third-party/settings/Instafeed/index.js +2 -2
  439. package/dist/esm/third-party/settings/InstasellShoppableInstagram/index.js +2 -2
  440. package/dist/esm/third-party/settings/JudgemeReviews/index.js +2 -2
  441. package/dist/esm/third-party/settings/JunipProductReviewsUgc/index.js +2 -2
  442. package/dist/esm/third-party/settings/KachingBundles/index.js +2 -2
  443. package/dist/esm/third-party/settings/KachingSubscriptionsApp/index.js +2 -2
  444. package/dist/esm/third-party/settings/KingProductOptions/index.js +2 -2
  445. package/dist/esm/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  446. package/dist/esm/third-party/settings/KlarnaMessaging/index.js +4 -4
  447. package/dist/esm/third-party/settings/Klaviyo/index.js +4 -4
  448. package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +2 -2
  449. package/dist/esm/third-party/settings/LaiProductReviews/index.js +2 -2
  450. package/dist/esm/third-party/settings/LoloyalLoyaltyReferrals/index.js +2 -2
  451. package/dist/esm/third-party/settings/LoopSubscriptions/index.js +2 -2
  452. package/dist/esm/third-party/settings/LooxReviews/index.js +4 -4
  453. package/dist/esm/third-party/settings/MaxbundleProductBundles/index.js +2 -2
  454. package/dist/esm/third-party/settings/MbcBundleVolumeDiscount/index.js +2 -2
  455. package/dist/esm/third-party/settings/MyappgurusProductReviews/index.js +2 -2
  456. package/dist/esm/third-party/settings/NotifyBackInStockPreOrder/index.js +2 -2
  457. package/dist/esm/third-party/settings/OkendoReviewsLoyalty/index.js +2 -2
  458. package/dist/esm/third-party/settings/Omnisend/index.js +4 -4
  459. package/dist/esm/third-party/settings/Opinew/index.js +4 -4
  460. package/dist/esm/third-party/settings/ParcelPanel/index.js +4 -4
  461. package/dist/esm/third-party/settings/PickyStory/index.js +4 -4
  462. package/dist/esm/third-party/settings/PowerfulContactFormBuilder/index.js +2 -2
  463. package/dist/esm/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  464. package/dist/esm/third-party/settings/PreorderNowWodPresale/index.js +2 -2
  465. package/dist/esm/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  466. package/dist/esm/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  467. package/dist/esm/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  468. package/dist/esm/third-party/settings/PushOwl/index.js +4 -4
  469. package/dist/esm/third-party/settings/QikifyUpsell/index.js +2 -2
  470. package/dist/esm/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  471. package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +2 -2
  472. package/dist/esm/third-party/settings/RecurpaySubscriptionApp/index.js +2 -2
  473. package/dist/esm/third-party/settings/Releasit/index.js +4 -4
  474. package/dist/esm/third-party/settings/RequestQuoteHidePrice/index.js +3 -3
  475. package/dist/esm/third-party/settings/ReviewxpoProductReviewsApp/index.js +2 -2
  476. package/dist/esm/third-party/settings/Rivyo/index.js +4 -4
  477. package/dist/esm/third-party/settings/Ryviu/index.js +4 -4
  478. package/dist/esm/third-party/settings/SealSubscriptions/index.js +2 -2
  479. package/dist/esm/third-party/settings/SegunoEmailMarketing/index.js +2 -2
  480. package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
  481. package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  482. package/dist/esm/third-party/settings/ShopifyForms/index.js +2 -2
  483. package/dist/esm/third-party/settings/ShopifySubscriptions/index.js +2 -2
  484. package/dist/esm/third-party/settings/SimpleBundlesKits/index.js +2 -2
  485. package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
  486. package/dist/esm/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  487. package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +2 -2
  488. package/dist/esm/third-party/settings/Stamped.js +4 -4
  489. package/dist/esm/third-party/settings/StellarDeliveryDatePickup/index.js +2 -2
  490. package/dist/esm/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  491. package/dist/esm/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  492. package/dist/esm/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  493. package/dist/esm/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  494. package/dist/esm/third-party/settings/TrustBadgesBear/index.js +2 -2
  495. package/dist/esm/third-party/settings/TrustMe/index.js +4 -4
  496. package/dist/esm/third-party/settings/TrustedsiteTrustBadges/index.js +2 -2
  497. package/dist/esm/third-party/settings/Trustoo/index.js +2 -2
  498. package/dist/esm/third-party/settings/TrustreviewsProductReviews/index.js +2 -2
  499. package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
  500. package/dist/esm/third-party/settings/UltimateSalesBoost/index.js +2 -2
  501. package/dist/esm/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  502. package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  503. package/dist/esm/third-party/settings/Vitals/index.js +4 -4
  504. package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +3 -3
  505. package/dist/esm/third-party/settings/WhatmoreShoppableVideosreel/index.js +2 -2
  506. package/dist/esm/third-party/settings/WideBundle/index.js +4 -4
  507. package/dist/esm/third-party/settings/Wiser/index.js +4 -4
  508. package/dist/esm/third-party/settings/WishlistKing/index.js +2 -2
  509. package/dist/esm/third-party/settings/WishlistPlus/index.js +2 -2
  510. package/dist/esm/third-party/settings/YotpoReviews/index.js +4 -4
  511. package/dist/esm/video/common/attrs.js +1 -1
  512. package/dist/esm/video/components/HTML5Embed.js +1 -1
  513. package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
  514. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
  515. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
  516. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
  517. package/dist/esm/video/components/Video.liquid.js +1 -1
  518. package/dist/types/index.d.ts +26 -8
  519. package/package.json +11 -8
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import o from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import t from"./post-purchase/product/components/ProductPriceBreakdown.js";import r from"./post-purchase/product/components/ProductDiscountTag.js";import m from"./post-purchase/product/components/ProductDescription.js";import s from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import p from"./post-purchase/product/components/ProductQuantity.js";import n from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import e from"./post-purchase/product/components/product-image/index.js";import i from"./post-purchase/product/components/ProductTitle.js";import c from"./post-purchase/product/components/ProductPrice.js";import a from"./post-purchase/product/components/AcceptButton.js";import d from"./third-party/components/TeeinblueProductPersonalizer.js";import"@gem-sdk/core";import u from"./third-party/components/ProductOptionsVariantOption.js";import f from"./third-party/components/GloboProductOptionsVariant.js";import j from"./third-party/components/WhatmoreShoppableVideosreel.js";import l from"./third-party/components/UppromoteAffiliateMarketing.js";import h from"./third-party/components/PumperBundlesVolumeDiscount.js";import y from"./third-party/components/KoalaBundleQuantityDiscount.js";import P from"./third-party/components/InstasellShoppableInstagram.js";import g from"./third-party/components/EcoboostifyShoppableReelUgc.js";import B from"./third-party/components/CustomProductOptionsVariant.js";import S from"./third-party/components/AppointmentBookingCowlendar.js";import C from"./third-party/components/TrustreviewsProductReviews.js";import b from"./third-party/components/ReviewxpoProductReviewsApp.js";import w from"./third-party/components/PowerfulContactFormBuilder.js";import k from"./third-party/components/GloColorSwatchvariantImage.js";import v from"./third-party/components/FastBundleBundlesDiscounts.js";import I from"./third-party/components/EssentialCountdownTimerBar.js";import A from"./third-party/components/DiscountyBulkDiscountSales.js";import T from"./third-party/components/BonLoyaltyRewardsReferrals.js";import L from"./third-party/components/AftershipEmailMarketingsms.js";import R from"./third-party/components/UnlimitedBundlesDiscounts.js";import D from"./third-party/components/TagshopShoppableVideosUgc.js";import x from"./third-party/components/StellarDeliveryDatePickup.js";import V from"./third-party/components/SproutPlantTreesGrowSales.js";import F from"./third-party/components/NotifyBackInStockPreOrder.js";import O from"./third-party/components/EstimatedDeliveryDatePlus.js";import M from"./third-party/components/EssentPreorderBackInStock.js";import E from"./third-party/components/EasyBundleBuilderSkailama.js";import H from"./third-party/components/BloyRewardsProgramLoyalty.js";import U from"./third-party/components/AovBundlesVolumeDiscounts.js";import z from"./third-party/components/TagembedSocialPostReview.js";import G from"./third-party/components/SmartSearchBarAndFilters.js";import K from"./third-party/components/RapiBundleQuantityBreaks.js";import q from"./third-party/components/ProductOptionsCustomizer.js";import Q from"./third-party/components/MyappgurusProductReviews.js";import W from"./third-party/components/GrowthSuiteDiscountCodes.js";import N from"./third-party/components/FrequentlyBoughtTogether.js";import Y from"./third-party/components/EssentialAnnouncementBar.js";import J from"./third-party/components/EcomsendBackInStockAlert.js";import X from"./third-party/components/TrustshopProductReviews.js";import Z from"./third-party/components/RecurpaySubscriptionApp.js";import $ from"./third-party/components/MbcBundleVolumeDiscount.js";import _ from"./third-party/components/MaxbundleProductBundles.js";import oo from"./third-party/components/LoloyalLoyaltyReferrals.js";import ot from"./third-party/components/KachingSubscriptionsApp.js";import or from"./third-party/components/HextomCountdownTimerBar.js";import om from"./third-party/components/DealeasyVolumeDiscounts.js";import os from"./third-party/components/AppstleBundlesDiscounts.js";import op from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import on from"./third-party/components/AirProductReviewsAppUgc.js";import oe from"./third-party/components/TrustedsiteTrustBadges.js";import oi from"./third-party/components/SubifySubscriptionsApp.js";import oc from"./third-party/components/SkioSubscriptionsYcS20.js";import oa from"./third-party/components/JunipProductReviewsUgc.js";import od from"./third-party/components/GoogleReviewsByReputon.js";import ou from"./third-party/components/BoostAISearchDiscovery.js";import of from"./third-party/components/WcWishlistBackInStock.js";import oj from"./third-party/components/SeoantTrustBadgesIcon.js";import ol from"./third-party/components/RequestQuoteHidePrice.js";import oh from"./third-party/components/RechargeSubscriptions.js";import oy from"./third-party/components/PreorderNowWodPresale.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/HextomFreeShippingBar.js";import oB from"./third-party/components/BestBuyFulfillment.js";import oS from"./third-party/components/ShopifySubscriptions.js";import oC from"./third-party/components/SegunoEmailMarketing.js";import ob from"./third-party/components/OkendoReviewsLoyalty.js";import ow from"./third-party/components/KiteFreeGiftDiscount.js";import ok from"./third-party/components/FordeerProductLabels.js";import ov from"./third-party/components/FlyBundlesUpsellsFbt.js";import oI from"./third-party/components/EasifyProductOptions.js";import oA from"./third-party/components/BonySubscriptionsApp.js";import oT from"./third-party/components/BfSizeChartSizeGuide.js";import oL from"./third-party/components/AppstleSubscriptions.js";import oR from"./third-party/components/CrossSellCartUpsell.js";import oD from"./third-party/components/UltimateSalesBoost.js";import ox from"./third-party/components/KingProductOptions.js";import oV from"./third-party/components/HulkProductOptions.js";import oF from"./third-party/components/BoldProductOptions.js";import oO from"./third-party/components/SimpleBundlesKits.js";import oM from"./third-party/components/SealSubscriptions.js";import oE from"./third-party/components/LoopSubscriptions.js";import oH from"./third-party/components/LaiProductReviews.js";import oU from"./third-party/components/BoldSubscriptions.js";import oz from"./third-party/components/TrustBadgesBear.js";import oG from"./third-party/components/KlarnaMessaging.js";import oK from"./third-party/components/InfiniteOptions.js";import oq from"./third-party/components/HulkFormBuilder.js";import oQ from"./third-party/components/CleanSizeCharts.js";import oW from"./third-party/components/ProductReviews.js";import oN from"./third-party/components/KachingBundles.js";import oY from"./third-party/components/JudgemeReviews.js";import oJ from"./third-party/components/AlsoBoughtCbb.js";import oX from"./third-party/components/YotpoReviews.js";import oZ from"./third-party/components/YotpoLoyalty.js";import o$ from"./third-party/components/WishlistPlus.js";import o_ from"./third-party/components/WishlistKing.js";import o3 from"./third-party/components/ShopifyForms.js";import o2 from"./third-party/components/QikifyUpsell.js";import o0 from"./third-party/components/ParcelPanel.js";import o1 from"./third-party/components/LooxReviews.js";import o4 from"./third-party/components/FeraReviews.js";import o5 from"./third-party/components/EasySellCOD.js";import o6 from"./third-party/components/WideBundle.js";import o7 from"./third-party/components/PickyStory.js";import o8 from"./third-party/components/AliReviews.js";import o9 from"./third-party/components/Instafeed.js";import to from"./third-party/components/BirdChime.js";import tt from"./third-party/components/Selleasy.js";import tr from"./third-party/components/Releasit.js";import tm from"./third-party/components/Omnisend.js";import ts from"./third-party/components/FirePush.js";import tp from"./third-party/components/Trustoo.js";import tn from"./third-party/components/TrustMe.js";import te from"./third-party/components/Stamped.js";import ti from"./third-party/components/PushOwl.js";import tc from"./third-party/components/Klaviyo.js";import ta from"./third-party/components/Growave.js";import td from"./third-party/components/Bundler.js";import tu from"./third-party/components/Vitals.js";import tf from"./third-party/components/Opinew.js";import tj from"./third-party/components/Wiser.js";import tl from"./third-party/components/Ryviu.js";import th from"./third-party/components/Rivyo.js";import ty from"./third-party/components/Bogos.js";import tP from"./third-party/components/AppstleLoyaltyRewardProgram.js";import tg from"./cart/components/shop-pay-button/ShopPayButton.js";import tB from"./cart/components/CartLineAttribute.js";import tS from"./cart/components/CartLineVariant.js";import tC from"./cart/components/CartTotalPrice.js";import tb from"./cart/components/DiscountInput.js";import tw from"./cart/components/CartTotalItem.js";import tk from"./cart/components/CartOrderNote.js";import tv from"./cart/components/CartLinePrice.js";import tI from"./cart/components/CartLineImage.js";import tA from"./cart/components/CartDiscount.js";import tT from"./cart/components/CartCheckout.js";import tL from"./cart/components/CheckoutNow.js";import tR from"./cart/components/CouponList.js";import tD from"./cart/components/CartList.js";import tx from"./cart/components/Cart.js";import tV from"./article/components/ArticlePagination.js";import tF from"./article/components/ArticleReadMore.js";import tO from"./article/components/ArticleCategory.js";import tM from"./article/components/ArticleExcerpt.js";import tE from"./article/components/ArticleContent.js";import tH from"./article/components/ArticleAuthor.js";import tU from"./article/components/ArticleTitle.js";import tz from"./article/components/ArticleImage.js";import tG from"./article/components/ArticleList.js";import tK from"./article/components/ArticleDate.js";import tq from"./article/components/ArticleTag.js";import tQ from"./form/components/submit-button/SubmitButton.js";import tW from"./form/components/form-dropdown/FormDropdown.js";import tN from"./form/components/form-checkbox/FormCheckbox.js";import tY from"./form/components/newsletter/Newsletter.js";import tJ from"./form/components/form-email/FormEmail.js";import tX from"./form/components/textarea/TextArea.js";import tZ from"./form/components/textinput/TextInput.js";import t$ from"./form/components/textfield/TextField.js";import t_ from"./form/components/contact/Contact.js";import t3 from"./collection/components/collection-description/CollectionDescription.js";import t2 from"./collection/components/collection-paginator/CollectionPaginator.js";import t0 from"./collection/components/collection-toolbar/CollectionToolbar.js";import t1 from"./collection/components/collection-banner/CollectionBanner.js";import t4 from"./collection/components/collection-title/CollectionTitle.js";import t5 from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import t6 from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import t7 from"./post-purchase/callout-banner/components/CalloutText.js";import t8 from"./post-purchase/callout-banner/components/CalloutBox.js";import t9 from"./header/components/kind/basic/DesktopMenu.js";import ro from"./header/components/kind/basic/MobileMenu.js";import rt from"./header/components/kind/modern/index.js";import rr from"./header/components/kind/basic/index.js";import rm from"./header/components/Header.js";import rs from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import{PostPurchaseHeading as rp}from"./post-purchase/text/index.js";import rn from"./post-purchase/buyer-consent/components/BuyerConsent.js";import re from"./icon-list-hoz/components/IconListHozItem.js";import ri from"./icon-list-hoz/components/IconListHoz.js";import rc from"./post-purchase/button/components/Button.js";import ra from"./carousel-v3/components/item/CarouselItem.js";import rd from"./carousel-v3/components/root/Carousel.js";import ru from"./post-purchase/image/components/Image.js";import rf from"./post-purchase/link/components/PostPurchaseLink.js";import rj from"./post-purchase/line/components/PostPurchaseLine.js";import rl from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import rh from"./accordion/components/Accordion.js";import ry from"./image-comparison/components/ImageComparison.js";import rP from"./icon-list/components/IconListItem.js";import rg from"./icon-list/components/IconList.js";import rB from"./carousel/components/item/CarouselItem.js";import rS from"./carousel/components/root/Carousel.js";import"./estimate-delivery/settings/configs/settings.js";import rC from"./link/components/Link.js";import"@gem-sdk/system";import rb from"./estimate-delivery/components/EstimateDate.js";import rw from"./marquee/components/MarqueeItem.js";import rk from"./marquee/components/Marquee.js";import rv from"./grid/components/section/Section.js";import rI from"./grid/components/root/Root.js";import rA from"./grid/components/row/Row.js";import rT from"./grid/components/col/Col.js";import"./countdown-timer/settings/configs/setting.js";import rL from"./countdown-timer/components/Countdown.js";import"./icon-list-v2/settings/configs/settings.js";import rR from"./icon-list-v2/components/IconList.js";import rD from"./hero-banner/components/HeroBanner.js";import rx from"./pagination/components/Pagination.js";import rV from"./breadcrumb/components/Breadcrumb.js";import rF from"./heading/components/Heading.js";import rO from"./dialog/components/Dialog.js";import rM from"./coupon/components/Coupon.js";import rE from"./button/components/Button.js";import rH from"./code/components/CSSCode.js";import"./modal/components/confirm.js";import rU from"./modal/components/Modal.js";import rz from"./input/components/Input.js";import rG from"./image/components/Image.js";import rK from"./menu/components/Menu.js";import rq from"./line/components/Line.js";import rQ from"./icon/components/Icon.js";import rW from"./product/components/product-bundle/ProductBundleDiscountItem.js";import rN from"./product/components/product-bundle/ProductBundleDiscount.js";import rY from"./product/components/product-description/ProductDescription.js";import rJ from"./product/components/product-properties/ProductProperties.js";import rX from"./product/components/product-discount-tag/ProductDiscountTag.js";import rZ from"./product/components/product-view-more/ProductViewMore.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/product-quantity/ProductQuantity.js";import r3 from"./product/components/product-images-v3/ProductImageV3.js";import r2 from"./product/components/product-images-v2/ProductImageV2.js";import r0 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-button/ProductButton.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-title/ProductTitle.js";import r7 from"./product/components/product-price/ProductPrice.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/product-list/ProductList.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/file-upload/UploadFile.js";import mr from"./product/components/product-wrap/Product.js";import mm from"./product/components/ProductImages.js";import ms from"./product/components/product-sku/Sku.js";import mp from"./third-party-instant/components/InstantJudgemeReviews.js";import mn from"./third-party-instant/components/InstantYotpoLoyalty.js";import me from"./third-party-instant/components/InstantLooxReviews.js";import mi from"./third-party-instant/components/InstantKlaviyo.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-slot/components/ThirdPartySlot.js";import md from"./textarea/components/Textarea.js";import mu from"./tab/components/TabItem.js";import mf from"./tab/components/Tabs.js";import"./select/settings/configs/settings.js";import mj from"./select/components/Select.js";import ml from"./video/components/Video.js";import mh from"./radio/components/Radio.js";import my from"./text/components/Text.js";import mP from"./stock-counter/components/StockCounter.js";import mg from"./sticky/components/Sticky.js";import mB from"./post-purchase/text/components/Text.js";var mS={AppstleLoyaltyRewardProgram:tP,EssentPreorderBackInStock:M,WcWishlistBackInStock:of,BonySubscriptionsApp:oA,GrowthSuiteDiscountCodes:W,KachingSubscriptionsApp:ot,BloyRewardsProgramLoyalty:H,DealeasyVolumeDiscounts:om,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:U,AovFreeGiftBuyXGetYBogo:op,EcomsendBackInStockAlert:J,AppstleBundlesDiscounts:os,Accordion:rh,AccordionItem:rl,ArticleList:tG,ArticleTitle:tU,ArticleExcerpt:tM,ArticleContent:tE,ArticleImage:tz,ArticlePagination:tV,ArticleAuthor:tH,ArticleTag:tq,ArticleCategory:tO,ArticleDate:tK,ArticleReadMore:tF,HeroBanner:rD,Breadcrumb:rV,Button:rE,CarouselV3:rd,CarouselItemV3:ra,Carousel:rS,CarouselItem:rB,Cart:tx,CartList:tD,CartLinePrice:tv,CartLineVariant:tS,CartLineImage:tI,CartTotalPrice:tC,CartTotalItem:tw,CartCheckout:tT,DiscountInput:tb,CartDiscount:tA,CartOrderNote:tk,CartLineAttribute:tB,CouponList:tR,ShopPayButton:tg,CheckoutNow:tL,CSSCode:rH,CollectionTitle:t4,CollectionDescription:t3,CollectionBanner:t1,CollectionToolbar:t0,CollectionPaginator:t2,Countdown:rL,Coupon:rM,Dialog:rO,EstimateDate:rb,Newsletter:tY,ContactForm:t_,FormEmail:tJ,SubmitButton:tQ,TextField:t$,TextInput:tZ,FormTextarea:tX,FormDropdown:tW,FormCheckbox:tN,Root:rI,Section:rv,Row:rA,Col:rT,Header:rm,BasicHeader:rr,ModernHeader:rt,MobileMenu:ro,DesktopMenu:t9,Heading:rF,Icon:rQ,IconList:rg,IconListItem:rP,IconListHoz:ri,IconListItemHoz:re,IconListV2:rR,Image:rG,ImageComparison:ry,Input:rz,Line:rq,Link:rC,Marquee:rk,MarqueeItem:rw,Menu:rK,Modal:rU,Pagination:rx,PostPurchaseAdvancedList:t6,PostPurchaseAdvancedListItem:t5,PostPurchaseAcceptButton:a,PostPurchaseButton:rc,PostPurchaseCalloutBox:t8,PostPurchaseCalloutText:t7,PostPurchaseCountdownTimer:rs,PostPurchaseImage:ru,PostPurchaseLine:rj,PostPurchaseLink:rf,PostPurchaseHeading:rp,PostPurchaseText:mB,PostPurchaseProductTitle:i,PostPurchaseProductDescription:m,PostPurchaseProductPrice:c,PostPurchaseProductVariants:s,PostPurchaseProductQuantity:p,PostPurchaseProductPriceBreakdown:t,PostPurchaseProductOffer:n,PostPurchaseProductDiscountTag:r,PostPurchaseProductImages:e,PostPurchaseProductSubscription:o,PostPurchaseBuyerConsent:rn,EstimatedDeliveryDatePlus:O,OkendoReviewsLoyalty:ob,EssentialAnnouncementBar:Y,EssentialCountdownTimerBar:I,StellarDeliveryDatePickup:x,TrustshopProductReviews:X,HulkProductOptions:oV,MyappgurusProductReviews:Q,TrustreviewsProductReviews:C,DiscountyBulkDiscountSales:A,SeoantTrustBadgesIcon:oj,SegunoEmailMarketing:oC,AftershipEmailMarketingsms:L,BestBuyFulfillment:oB,ProductOptionsVariantOption:u,GloboProductOptionsVariant:f,TeeinblueProductPersonalizer:d,HulkFormBuilder:oq,LoloyalLoyaltyReferrals:oo,PowerfulContactFormBuilder:w,WishlistKing:o_,WishlistPlus:o$,InstasellShoppableInstagram:P,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:S,GoogleReviewsByReputon:od,MbcBundleVolumeDiscount:$,ProductOptionsCustomizer:q,AirProductReviewsAppUgc:on,TagembedSocialPostReview:z,WhatmoreShoppableVideosreel:j,TagshopShoppableVideosUgc:D,JunipProductReviewsUgc:oa,FlyBundlesUpsellsFbt:ov,PreorderNowWodPresale:oy,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:_,KoalaBundleQuantityDiscount:y,EasyBundleBuilderSkailama:E,FastBundleBundlesDiscounts:v,KiteFreeGiftDiscount:ow,UnlimitedBundlesDiscounts:R,SimpleBundlesKits:oO,ReviewxpoProductReviewsApp:b,PumperBundlesVolumeDiscount:h,NotifyBackInStockPreOrder:F,ShopifyForms:o3,SkioSubscriptionsYcS20:oc,LoopSubscriptions:oE,Selleasy:tt,RecurpaySubscriptionApp:Z,SubifySubscriptionsApp:oi,ShopifySubscriptions:oS,BonLoyaltyRewardsReferrals:T,EasifyProductOptions:oI,CustomProductOptionsVariant:B,KlarnaMessaging:oG,FordeerProductLabels:ok,RechargeSubscriptions:oh,Product:mr,ProductTitle:r6,ProductQuantity:r_,ProductPrice:r7,ProductSku:ms,FileUpload:mt,ProductBundleDiscount:rN,ProductBundleDiscountItem:rW,ProductButton:r4,ProductDescription:rY,ProductVariants:r$,ProductImages:mm,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:rJ,ProductQuickView:r1,ProductTag:rX,ProductListV3:r5,ProductList:r9,Radio:mh,Select:mj,Tabs:mf,TabItem:mu,Text:my,Textarea:md,Video:ml,PushOwl:ti,ThirdPartySlot:ma,ShopPayInstallments:mc,JudgemeReviews:oY,LooxReviews:o1,Instafeed:o9,Klaviyo:tc,YotpoLoyalty:oZ,SmartSearchBarAndFilters:G,ProductReviews:oW,Ryviu:tl,Rivyo:th,Vitals:tu,Omnisend:tm,ParcelPanel:o0,TrustMe:tn,Trustoo:tp,SealSubscriptions:oM,AppstleSubscriptions:oL,FeraReviews:o4,Growave:ta,KachingBundles:oN,Bogos:ty,Opinew:tf,UltimateSalesBoost:oD,FirePush:ts,FrequentlyBoughtTogether:N,BoldSubscriptions:oU,BoldProductOptions:oF,WideBundle:o6,PickyStory:o7,InfiniteOptions:oK,Wiser:tj,Stamped:te,Bundler:td,LaiProductReviews:oH,CrossSellCartUpsell:oR,BoostAISearchDiscovery:ou,YotpoReviews:oX,AliReviews:o8,CleanSizeCharts:oQ,QikifyUpsell:o2,EasySellCOD:o5,RequestQuoteHidePrice:ol,InstantJudgemeReviews:mp,InstantLooxReviews:me,InstantKlaviyo:mi,InstantYotpoLoyalty:mn,Releasit:tr,BirdChime:to,StockCounter:mP,DynamicCheckout:r0,Sticky:mg,ProductVendor:mo,KingProductOptions:ox,ProductViewMore:rZ,ProductBadge:r8,HextomCountdownTimerBar:or,TrustBadgesBear:oz,TrustedsiteTrustBadges:oe,GloColorSwatchvariantImage:k,BfSizeChartSizeGuide:oT,AlsoBoughtCbb:oJ,HextomFreeShippingBar:og,EcoboostifyShoppableReelUgc:g};export{mS as default};
2
+ import o from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import t from"./post-purchase/product/components/ProductPriceBreakdown.js";import r from"./post-purchase/product/components/ProductDiscountTag.js";import m from"./post-purchase/product/components/ProductDescription.js";import s from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import p from"./post-purchase/product/components/ProductQuantity.js";import n from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import e from"./post-purchase/product/components/product-image/index.js";import i from"./post-purchase/product/components/ProductTitle.js";import c from"./post-purchase/product/components/ProductPrice.js";import a from"./post-purchase/product/components/AcceptButton.js";import"@gem-sdk/core";import d from"./third-party/components/TeeinblueProductPersonalizer.js";import u from"./third-party/components/ProductOptionsVariantOption.js";import f from"./third-party/components/GloboProductOptionsVariant.js";import j from"./third-party/components/WhatmoreShoppableVideosreel.js";import l from"./third-party/components/UppromoteAffiliateMarketing.js";import h from"./third-party/components/PumperBundlesVolumeDiscount.js";import y from"./third-party/components/KoalaBundleQuantityDiscount.js";import P from"./third-party/components/InstasellShoppableInstagram.js";import g from"./third-party/components/EcoboostifyShoppableReelUgc.js";import B from"./third-party/components/CustomProductOptionsVariant.js";import S from"./third-party/components/AppointmentBookingCowlendar.js";import C from"./third-party/components/TrustreviewsProductReviews.js";import b from"./third-party/components/ReviewxpoProductReviewsApp.js";import w from"./third-party/components/PowerfulContactFormBuilder.js";import k from"./third-party/components/GloColorSwatchvariantImage.js";import v from"./third-party/components/FastBundleBundlesDiscounts.js";import I from"./third-party/components/EssentialCountdownTimerBar.js";import A from"./third-party/components/DiscountyBulkDiscountSales.js";import T from"./third-party/components/BonLoyaltyRewardsReferrals.js";import L from"./third-party/components/AftershipEmailMarketingsms.js";import R from"./third-party/components/UnlimitedBundlesDiscounts.js";import D from"./third-party/components/TagshopShoppableVideosUgc.js";import x from"./third-party/components/StellarDeliveryDatePickup.js";import V from"./third-party/components/SproutPlantTreesGrowSales.js";import F from"./third-party/components/NotifyBackInStockPreOrder.js";import O from"./third-party/components/EstimatedDeliveryDatePlus.js";import M from"./third-party/components/EssentPreorderBackInStock.js";import E from"./third-party/components/EasyBundleBuilderSkailama.js";import H from"./third-party/components/BloyRewardsProgramLoyalty.js";import U from"./third-party/components/AovBundlesVolumeDiscounts.js";import z from"./third-party/components/TagembedSocialPostReview.js";import G from"./third-party/components/SmartSearchBarAndFilters.js";import K from"./third-party/components/RapiBundleQuantityBreaks.js";import q from"./third-party/components/ProductOptionsCustomizer.js";import Q from"./third-party/components/MyappgurusProductReviews.js";import W from"./third-party/components/GrowthSuiteDiscountCodes.js";import N from"./third-party/components/FrequentlyBoughtTogether.js";import Y from"./third-party/components/EssentialAnnouncementBar.js";import J from"./third-party/components/EcomsendBackInStockAlert.js";import X from"./third-party/components/TrustshopProductReviews.js";import Z from"./third-party/components/RecurpaySubscriptionApp.js";import $ from"./third-party/components/MbcBundleVolumeDiscount.js";import _ from"./third-party/components/MaxbundleProductBundles.js";import oo from"./third-party/components/LoloyalLoyaltyReferrals.js";import ot from"./third-party/components/KachingSubscriptionsApp.js";import or from"./third-party/components/HextomCountdownTimerBar.js";import om from"./third-party/components/DealeasyVolumeDiscounts.js";import os from"./third-party/components/AppstleBundlesDiscounts.js";import op from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import on from"./third-party/components/AirProductReviewsAppUgc.js";import oe from"./third-party/components/TrustedsiteTrustBadges.js";import oi from"./third-party/components/SubifySubscriptionsApp.js";import oc from"./third-party/components/SkioSubscriptionsYcS20.js";import oa from"./third-party/components/JunipProductReviewsUgc.js";import od from"./third-party/components/GoogleReviewsByReputon.js";import ou from"./third-party/components/BoostAISearchDiscovery.js";import of from"./third-party/components/WcWishlistBackInStock.js";import oj from"./third-party/components/SeoantTrustBadgesIcon.js";import ol from"./third-party/components/RequestQuoteHidePrice.js";import oh from"./third-party/components/RechargeSubscriptions.js";import oy from"./third-party/components/PreorderNowWodPresale.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/HextomFreeShippingBar.js";import oB from"./third-party/components/BestBuyFulfillment.js";import oS from"./third-party/components/ShopifySubscriptions.js";import oC from"./third-party/components/SegunoEmailMarketing.js";import ob from"./third-party/components/OkendoReviewsLoyalty.js";import ow from"./third-party/components/KiteFreeGiftDiscount.js";import ok from"./third-party/components/FordeerProductLabels.js";import ov from"./third-party/components/FlyBundlesUpsellsFbt.js";import oI from"./third-party/components/EasifyProductOptions.js";import oA from"./third-party/components/BonySubscriptionsApp.js";import oT from"./third-party/components/BfSizeChartSizeGuide.js";import oL from"./third-party/components/AppstleSubscriptions.js";import oR from"./third-party/components/CrossSellCartUpsell.js";import oD from"./third-party/components/UltimateSalesBoost.js";import ox from"./third-party/components/KingProductOptions.js";import oV from"./third-party/components/HulkProductOptions.js";import oF from"./third-party/components/BoldProductOptions.js";import oO from"./third-party/components/SimpleBundlesKits.js";import oM from"./third-party/components/SealSubscriptions.js";import oE from"./third-party/components/LoopSubscriptions.js";import oH from"./third-party/components/LaiProductReviews.js";import oU from"./third-party/components/BoldSubscriptions.js";import oz from"./third-party/components/TrustBadgesBear.js";import oG from"./third-party/components/KlarnaMessaging.js";import oK from"./third-party/components/InfiniteOptions.js";import oq from"./third-party/components/HulkFormBuilder.js";import oQ from"./third-party/components/CleanSizeCharts.js";import oW from"./third-party/components/ProductReviews.js";import oN from"./third-party/components/KachingBundles.js";import oY from"./third-party/components/JudgemeReviews.js";import oJ from"./third-party/components/AlsoBoughtCbb.js";import oX from"./third-party/components/YotpoReviews.js";import oZ from"./third-party/components/YotpoLoyalty.js";import o$ from"./third-party/components/WishlistPlus.js";import o_ from"./third-party/components/WishlistKing.js";import o3 from"./third-party/components/ShopifyForms.js";import o2 from"./third-party/components/QikifyUpsell.js";import o0 from"./third-party/components/ParcelPanel.js";import o1 from"./third-party/components/LooxReviews.js";import o4 from"./third-party/components/FeraReviews.js";import o5 from"./third-party/components/EasySellCOD.js";import o6 from"./third-party/components/WideBundle.js";import o7 from"./third-party/components/PickyStory.js";import o8 from"./third-party/components/AliReviews.js";import o9 from"./third-party/components/Instafeed.js";import to from"./third-party/components/BirdChime.js";import tt from"./third-party/components/Selleasy.js";import tr from"./third-party/components/Releasit.js";import tm from"./third-party/components/Omnisend.js";import ts from"./third-party/components/FirePush.js";import tp from"./third-party/components/Trustoo.js";import tn from"./third-party/components/TrustMe.js";import te from"./third-party/components/Stamped.js";import ti from"./third-party/components/PushOwl.js";import tc from"./third-party/components/Klaviyo.js";import ta from"./third-party/components/Growave.js";import td from"./third-party/components/Bundler.js";import tu from"./third-party/components/Vitals.js";import tf from"./third-party/components/Opinew.js";import tj from"./third-party/components/Wiser.js";import tl from"./third-party/components/Ryviu.js";import th from"./third-party/components/Rivyo.js";import ty from"./third-party/components/Bogos.js";import tP from"./third-party/components/AppstleLoyaltyRewardProgram.js";import tg from"./cart/components/shop-pay-button/ShopPayButton.js";import tB from"./cart/components/CartLineAttribute.js";import tS from"./cart/components/CartLineVariant.js";import tC from"./cart/components/CartTotalPrice.js";import tb from"./cart/components/DiscountInput.js";import tw from"./cart/components/CartTotalItem.js";import tk from"./cart/components/CartOrderNote.js";import tv from"./cart/components/CartLinePrice.js";import tI from"./cart/components/CartLineImage.js";import tA from"./cart/components/CartDiscount.js";import tT from"./cart/components/CartCheckout.js";import tL from"./cart/components/CheckoutNow.js";import tR from"./cart/components/CouponList.js";import tD from"./cart/components/CartList.js";import tx from"./cart/components/Cart.js";import tV from"./article/components/ArticlePagination.js";import tF from"./article/components/ArticleReadMore.js";import tO from"./article/components/ArticleCategory.js";import tM from"./article/components/ArticleExcerpt.js";import tE from"./article/components/ArticleContent.js";import tH from"./article/components/ArticleAuthor.js";import tU from"./article/components/ArticleTitle.js";import tz from"./article/components/ArticleImage.js";import tG from"./article/components/ArticleList.js";import tK from"./article/components/ArticleDate.js";import tq from"./article/components/ArticleTag.js";import tQ from"./form/components/submit-button/SubmitButton.js";import tW from"./form/components/form-dropdown/FormDropdown.js";import tN from"./form/components/form-checkbox/FormCheckbox.js";import tY from"./form/components/newsletter/Newsletter.js";import tJ from"./form/components/form-email/FormEmail.js";import tX from"./form/components/textarea/TextArea.js";import tZ from"./form/components/textinput/TextInput.js";import t$ from"./form/components/textfield/TextField.js";import t_ from"./form/components/contact/Contact.js";import t3 from"./collection/components/collection-description/CollectionDescription.js";import t2 from"./collection/components/collection-paginator/CollectionPaginator.js";import t0 from"./collection/components/collection-toolbar/CollectionToolbar.js";import t1 from"./collection/components/collection-banner/CollectionBanner.js";import t4 from"./collection/components/collection-title/CollectionTitle.js";import t5 from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import t6 from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import t7 from"./post-purchase/callout-banner/components/CalloutText.js";import t8 from"./post-purchase/callout-banner/components/CalloutBox.js";import t9 from"./header/components/kind/basic/DesktopMenu.js";import ro from"./header/components/kind/basic/MobileMenu.js";import rt from"./header/components/kind/modern/index.js";import rr from"./header/components/kind/basic/index.js";import rm from"./header/components/Header.js";import rs from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import{PostPurchaseHeading as rp}from"./post-purchase/text/index.js";import rn from"./post-purchase/buyer-consent/components/BuyerConsent.js";import re from"./icon-list-hoz/components/IconListHozItem.js";import ri from"./icon-list-hoz/components/IconListHoz.js";import rc from"./post-purchase/button/components/Button.js";import ra from"./carousel-v3/components/item/CarouselItem.js";import rd from"./carousel-v3/components/root/Carousel.js";import ru from"./post-purchase/image/components/Image.js";import rf from"./post-purchase/link/components/PostPurchaseLink.js";import rj from"./post-purchase/line/components/PostPurchaseLine.js";import rl from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import rh from"./accordion/components/Accordion.js";import ry from"./image-comparison/components/ImageComparison.js";import rP from"./icon-list/components/IconListItem.js";import rg from"./icon-list/components/IconList.js";import rB from"./carousel/components/item/CarouselItem.js";import rS from"./carousel/components/root/Carousel.js";import"./estimate-delivery/settings/configs/settings.js";import rC from"./link/components/Link.js";import"@gem-sdk/system";import rb from"./estimate-delivery/components/EstimateDate.js";import rw from"./marquee/components/MarqueeItem.js";import rk from"./marquee/components/Marquee.js";import rv from"./grid/components/section/Section.js";import rI from"./grid/components/root/Root.js";import rA from"./grid/components/row/Row.js";import rT from"./grid/components/col/Col.js";import"./countdown-timer/settings/configs/setting.js";import rL from"./countdown-timer/components/Countdown.js";import"./icon-list-v2/settings/configs/settings.js";import rR from"./icon-list-v2/components/IconList.js";import rD from"./hero-banner/components/HeroBanner.js";import rx from"./pagination/components/Pagination.js";import rV from"./breadcrumb/components/Breadcrumb.js";import rF from"./heading/components/Heading.js";import rO from"./dialog/components/Dialog.js";import rM from"./coupon/components/Coupon.js";import rE from"./button/components/Button.js";import rH from"./code/components/CSSCode.js";import"./modal/components/confirm.js";import rU from"./modal/components/Modal.js";import rz from"./input/components/Input.js";import rG from"./image/components/Image.js";import rK from"./menu/components/Menu.js";import rq from"./line/components/Line.js";import rQ from"./icon/components/Icon.js";import rW from"./product/components/product-bundle/ProductBundleDiscountItem.js";import rN from"./product/components/product-bundle/ProductBundleDiscount.js";import rY from"./product/components/product-description/ProductDescription.js";import rJ from"./product/components/product-properties/ProductProperties.js";import rX from"./product/components/product-discount-tag/ProductDiscountTag.js";import rZ from"./product/components/product-view-more/ProductViewMore.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/product-quantity/ProductQuantity.js";import r3 from"./product/components/product-images-v3/ProductImageV3.js";import r2 from"./product/components/product-images-v2/ProductImageV2.js";import r0 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-button/ProductButton.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-title/ProductTitle.js";import r7 from"./product/components/product-price/ProductPrice.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/product-list/ProductList.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/file-upload/UploadFile.js";import mr from"./product/components/product-wrap/Product.js";import mm from"./product/components/ProductImages.js";import ms from"./product/components/product-sku/Sku.js";import mp from"./third-party-instant/components/InstantJudgemeReviews.js";import mn from"./third-party-instant/components/InstantYotpoLoyalty.js";import me from"./third-party-instant/components/InstantLooxReviews.js";import mi from"./third-party-instant/components/InstantKlaviyo.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-slot/components/ThirdPartySlot.js";import md from"./textarea/components/Textarea.js";import mu from"./tab/components/TabItem.js";import mf from"./tab/components/Tabs.js";import"./select/settings/configs/settings.js";import mj from"./select/components/Select.js";import ml from"./video/components/Video.js";import mh from"./radio/components/Radio.js";import my from"./text/components/Text.js";import mP from"./stock-counter/components/StockCounter.js";import mg from"./sticky/components/Sticky.js";import mB from"./post-purchase/text/components/Text.js";var mS={AppstleLoyaltyRewardProgram:tP,EssentPreorderBackInStock:M,WcWishlistBackInStock:of,BonySubscriptionsApp:oA,GrowthSuiteDiscountCodes:W,KachingSubscriptionsApp:ot,BloyRewardsProgramLoyalty:H,DealeasyVolumeDiscounts:om,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:U,AovFreeGiftBuyXGetYBogo:op,EcomsendBackInStockAlert:J,AppstleBundlesDiscounts:os,Accordion:rh,AccordionItem:rl,ArticleList:tG,ArticleTitle:tU,ArticleExcerpt:tM,ArticleContent:tE,ArticleImage:tz,ArticlePagination:tV,ArticleAuthor:tH,ArticleTag:tq,ArticleCategory:tO,ArticleDate:tK,ArticleReadMore:tF,HeroBanner:rD,Breadcrumb:rV,Button:rE,CarouselV3:rd,CarouselItemV3:ra,Carousel:rS,CarouselItem:rB,Cart:tx,CartList:tD,CartLinePrice:tv,CartLineVariant:tS,CartLineImage:tI,CartTotalPrice:tC,CartTotalItem:tw,CartCheckout:tT,DiscountInput:tb,CartDiscount:tA,CartOrderNote:tk,CartLineAttribute:tB,CouponList:tR,ShopPayButton:tg,CheckoutNow:tL,CSSCode:rH,CollectionTitle:t4,CollectionDescription:t3,CollectionBanner:t1,CollectionToolbar:t0,CollectionPaginator:t2,Countdown:rL,Coupon:rM,Dialog:rO,EstimateDate:rb,Newsletter:tY,ContactForm:t_,FormEmail:tJ,SubmitButton:tQ,TextField:t$,TextInput:tZ,FormTextarea:tX,FormDropdown:tW,FormCheckbox:tN,Root:rI,Section:rv,Row:rA,Col:rT,Header:rm,BasicHeader:rr,ModernHeader:rt,MobileMenu:ro,DesktopMenu:t9,Heading:rF,Icon:rQ,IconList:rg,IconListItem:rP,IconListHoz:ri,IconListItemHoz:re,IconListV2:rR,Image:rG,ImageComparison:ry,Input:rz,Line:rq,Link:rC,Marquee:rk,MarqueeItem:rw,Menu:rK,Modal:rU,Pagination:rx,PostPurchaseAdvancedList:t6,PostPurchaseAdvancedListItem:t5,PostPurchaseAcceptButton:a,PostPurchaseButton:rc,PostPurchaseCalloutBox:t8,PostPurchaseCalloutText:t7,PostPurchaseCountdownTimer:rs,PostPurchaseImage:ru,PostPurchaseLine:rj,PostPurchaseLink:rf,PostPurchaseHeading:rp,PostPurchaseText:mB,PostPurchaseProductTitle:i,PostPurchaseProductDescription:m,PostPurchaseProductPrice:c,PostPurchaseProductVariants:s,PostPurchaseProductQuantity:p,PostPurchaseProductPriceBreakdown:t,PostPurchaseProductOffer:n,PostPurchaseProductDiscountTag:r,PostPurchaseProductImages:e,PostPurchaseProductSubscription:o,PostPurchaseBuyerConsent:rn,EstimatedDeliveryDatePlus:O,OkendoReviewsLoyalty:ob,EssentialAnnouncementBar:Y,EssentialCountdownTimerBar:I,StellarDeliveryDatePickup:x,TrustshopProductReviews:X,HulkProductOptions:oV,MyappgurusProductReviews:Q,TrustreviewsProductReviews:C,DiscountyBulkDiscountSales:A,SeoantTrustBadgesIcon:oj,SegunoEmailMarketing:oC,AftershipEmailMarketingsms:L,BestBuyFulfillment:oB,ProductOptionsVariantOption:u,GloboProductOptionsVariant:f,TeeinblueProductPersonalizer:d,HulkFormBuilder:oq,LoloyalLoyaltyReferrals:oo,PowerfulContactFormBuilder:w,WishlistKing:o_,WishlistPlus:o$,InstasellShoppableInstagram:P,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:S,GoogleReviewsByReputon:od,MbcBundleVolumeDiscount:$,ProductOptionsCustomizer:q,AirProductReviewsAppUgc:on,TagembedSocialPostReview:z,WhatmoreShoppableVideosreel:j,TagshopShoppableVideosUgc:D,JunipProductReviewsUgc:oa,FlyBundlesUpsellsFbt:ov,PreorderNowWodPresale:oy,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:_,KoalaBundleQuantityDiscount:y,EasyBundleBuilderSkailama:E,FastBundleBundlesDiscounts:v,KiteFreeGiftDiscount:ow,UnlimitedBundlesDiscounts:R,SimpleBundlesKits:oO,ReviewxpoProductReviewsApp:b,PumperBundlesVolumeDiscount:h,NotifyBackInStockPreOrder:F,ShopifyForms:o3,SkioSubscriptionsYcS20:oc,LoopSubscriptions:oE,Selleasy:tt,RecurpaySubscriptionApp:Z,SubifySubscriptionsApp:oi,ShopifySubscriptions:oS,BonLoyaltyRewardsReferrals:T,EasifyProductOptions:oI,CustomProductOptionsVariant:B,KlarnaMessaging:oG,FordeerProductLabels:ok,RechargeSubscriptions:oh,Product:mr,ProductTitle:r6,ProductQuantity:r_,ProductPrice:r7,ProductSku:ms,FileUpload:mt,ProductBundleDiscount:rN,ProductBundleDiscountItem:rW,ProductButton:r4,ProductDescription:rY,ProductVariants:r$,ProductImages:mm,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:rJ,ProductQuickView:r1,ProductTag:rX,ProductListV3:r5,ProductList:r9,Radio:mh,Select:mj,Tabs:mf,TabItem:mu,Text:my,Textarea:md,Video:ml,PushOwl:ti,ThirdPartySlot:ma,ShopPayInstallments:mc,JudgemeReviews:oY,LooxReviews:o1,Instafeed:o9,Klaviyo:tc,YotpoLoyalty:oZ,SmartSearchBarAndFilters:G,ProductReviews:oW,Ryviu:tl,Rivyo:th,Vitals:tu,Omnisend:tm,ParcelPanel:o0,TrustMe:tn,Trustoo:tp,SealSubscriptions:oM,AppstleSubscriptions:oL,FeraReviews:o4,Growave:ta,KachingBundles:oN,Bogos:ty,Opinew:tf,UltimateSalesBoost:oD,FirePush:ts,FrequentlyBoughtTogether:N,BoldSubscriptions:oU,BoldProductOptions:oF,WideBundle:o6,PickyStory:o7,InfiniteOptions:oK,Wiser:tj,Stamped:te,Bundler:td,LaiProductReviews:oH,CrossSellCartUpsell:oR,BoostAISearchDiscovery:ou,YotpoReviews:oX,AliReviews:o8,CleanSizeCharts:oQ,QikifyUpsell:o2,EasySellCOD:o5,RequestQuoteHidePrice:ol,InstantJudgemeReviews:mp,InstantLooxReviews:me,InstantKlaviyo:mi,InstantYotpoLoyalty:mn,Releasit:tr,BirdChime:to,StockCounter:mP,DynamicCheckout:r0,Sticky:mg,ProductVendor:mo,KingProductOptions:ox,ProductViewMore:rZ,ProductBadge:r8,HextomCountdownTimerBar:or,TrustBadgesBear:oz,TrustedsiteTrustBadges:oe,GloColorSwatchvariantImage:k,BfSizeChartSizeGuide:oT,AlsoBoughtCbb:oJ,HextomFreeShippingBar:og,EcoboostifyShoppableReelUgc:g};export{mS as default};
@@ -1,4 +1,4 @@
1
- import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIsOpenPopup as r,isLinkedToSalesPage as i,getDynamicSourceLocales as a,createSettingId as o}from"../../helpers.js";import{Button as n}from"../settings/configs/translate.js";import{splitStyle as s,convertHTML as g}from"@gem-sdk/core";import{HREF_TO_SALES_PAGE as p}from"../../constant.js";import{getCustomCssStyles as c}from"./styles.js";import d from"../../link/components/Link.js";let u=(t,e)=>{if(!e)return t;let l={...t};return["hover","focus"].forEach(t=>{delete l?.backgroundColorV2?.[t]}),l},h=({label:t,translateSetting:e,styles:l,pageContext:r,isUseTranslatedValue:i,builderProps:s,isLiquid:p=!1,isForceValue:c})=>{let d=!i||c?t:a({val:t,pageContext:r,settingId:o({id:e??n?.label?.id}),uid:s?.uidTranslate??s?.uid,isCapitalize:l?.typo?.attrs?.transform==="capitalize"});return p?d?.toString()??"":g(t)},f=(t,e)=>!!t&&e,m=(t,e)=>!!t||!e,b=({mode:t,options:e,isLiquid:l=!1})=>l?!e?.isCannotEditing:"edit"===t&&!e?.isCannotEditing,k=t=>!!t?.link?.startsWith("#")&&("_self"===t.target||"scroll-to"===t.type),C=t=>s(["pos","top","left","bottom","right","z"],t),I=t=>t?"loading":"idle",w=(t,e,l)=>t??(e||l)??"",y=({label:t,isLiquid:e=!1})=>e?t?.toString().replaceAll("'","'").replaceAll('"',"'")??"":t?.toString()??"",L=({setting:a,htmlType:o,defaultTag:n,enableBtnLink:s,isLiquid:g=!1,pageType:c})=>{let u=["product.url"],h=["#","mailto:","tel:"],f=a?.link??"",m="/"===f,b=a?.link!==void 0&&""!==a.link,k=new RegExp(/^https?:\/\//i),C=b&&k.test(f);b&&f.toLowerCase().startsWith("mailto:")&&f.includes("+")&&(f=t(f));let I=i(a?.type),w=!!s&&(C||e(b,f)||(()=>{if(u.find(t=>f.includes(t)))return!0;let t=h.find(t=>f.startsWith(t));return!(!t||l(a)||"STATIC"===c&&r(a))})()||m||I),y=f;g&&(e(b,f)||m)&&(y=a?.isTranslate?"$locationOrigin"+f:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+f);let L={href:y,target:a?.target,...a?.noFollow&&{rel:"nofollow"}},S=w?L:b?{...L,type:o}:{type:o};return I&&(S={href:p,target:"_self"}),{HTMLTag:w?g?"a":d:n,urlData:S,shouldRenderLink:w}},S=t=>{let{style:e,dataId:l,pageContext:r,styles:i={},setting:a={},builderProps:o,builderAttrs:n,isUseTranslatedValue:s=!0}=t,{label:g,iconSvg:p,btnLink:d,loading:L,options:S,disabled:v,iconVisible:E,shouldClearSpace:T}=a,[x,A]=C(e),D=u(i,v),j=c({styles:i,uid:o?.uid,builderAttrs:n,enableHoverEffect:a.enableHoverEffect??!0}),z=I(L),H=w(o?.uidInteraction,l,o?.uid),_=t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{};return h({pageContext:a??r??{},label:g,translateSetting:l,isForceValue:i,builderProps:o,styles:D,isLiquid:e,...e&&{isUseTranslatedValue:s}})},G=f(p,E),O=k(d);return{customCss:j,wrapStyle:x,restStyle:A,dataState:z,dataIdAttr:H,isShowIcon:G,isScrollToElement:O,getArialLabel:t=>{let{isLiquid:e}=t??{};return y({label:g,isLiquid:e})},getLabelToDisplay:_,checkIsShowLabel:t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{},o=_({isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a??r??{}});return m(o,T)},checkIsEditableLabel:t=>{let{isLiquid:e,mode:l}=t??{};return b({options:S,isLiquid:e,...!e&&l&&{mode:l}})}}},v=`
1
+ import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIsOpenPopup as r,isLinkedToSalesPage as i,getDynamicSourceLocales as a,createSettingId as o}from"../../helpers.js";import{Button as n}from"../settings/configs/translate.js";import{splitStyle as s,convertHTML as p}from"@gem-sdk/core";import{HREF_TO_SALES_PAGE as g}from"../../constant.js";import{getCustomCssStyles as c}from"./styles.js";import d from"../../link/components/Link.js";let u=(t,e)=>{if(!e)return t;let l={...t};return["hover","focus"].forEach(t=>{delete l?.backgroundColorV2?.[t]}),l},h=({label:t,translateSetting:e,styles:l,pageContext:r,isUseTranslatedValue:i,builderProps:s,isLiquid:g=!1,isForceValue:c})=>{let d=!i||c?t:a({val:t,pageContext:r,settingId:o({id:e??n?.label?.id}),uid:s?.uidTranslate??s?.uid,isCapitalize:l?.typo?.attrs?.transform==="capitalize"});return g?d?.toString()??"":p(t)},f=(t,e)=>!!t&&e,m=(t,e)=>!!t||!e,b=({mode:t,options:e,isLiquid:l=!1})=>l?!e?.isCannotEditing:"edit"===t&&!e?.isCannotEditing,k=t=>!!t?.link?.startsWith("#")&&("_self"===t.target||"scroll-to"===t.type),C=t=>s(["pos","top","left","bottom","right","z"],t),I=t=>t?"loading":"idle",w=(t,e,l)=>t??(e||l)??"",y=({label:t,isLiquid:e=!1})=>{let l=(t?.toString()??"").replace(/<br\s*\/?>|<\/(?:p|div)>/gi," ").replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim();return e?l.replaceAll("'","&#039;").replaceAll('"',"'"):l},v=({setting:a,htmlType:o,defaultTag:n,enableBtnLink:s,isLiquid:p=!1,pageType:c})=>{let u=["product.url"],h=["#","mailto:","tel:"],f=a?.link??"",m="/"===f,b=a?.link!==void 0&&""!==a.link,k=new RegExp(/^https?:\/\//i),C=b&&k.test(f);b&&f.toLowerCase().startsWith("mailto:")&&f.includes("+")&&(f=t(f));let I=i(a?.type),w=!!s&&(C||e(b,f)||(()=>{if(u.find(t=>f.includes(t)))return!0;let t=h.find(t=>f.startsWith(t));return!(!t||l(a)||"STATIC"===c&&r(a))})()||m||I),y=f;p&&(e(b,f)||m)&&(y=a?.isTranslate?"$locationOrigin"+f:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+f);let v={href:y,target:a?.target,...a?.noFollow&&{rel:"nofollow"}},L=w?v:b?{...v,type:o}:{type:o};return I&&(L={href:g,target:"_self"}),{HTMLTag:w?p?"a":d:n,urlData:L,shouldRenderLink:w}},L=t=>{let{style:e,dataId:l,pageContext:r,styles:i={},setting:a={},builderProps:o,builderAttrs:n,isUseTranslatedValue:s=!0}=t,{label:p,iconSvg:g,btnLink:d,loading:v,options:L,disabled:S,iconVisible:E,shouldClearSpace:T}=a,[x,A]=C(e),D=u(i,S),j=c({styles:i,uid:o?.uid,builderAttrs:n,enableHoverEffect:a.enableHoverEffect??!0}),z=I(v),H=w(o?.uidInteraction,l,o?.uid),_=t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{};return h({pageContext:a??r??{},label:p,translateSetting:l,isForceValue:i,builderProps:o,styles:D,isLiquid:e,...e&&{isUseTranslatedValue:s}})},G=f(g,E),O=k(d);return{customCss:j,wrapStyle:x,restStyle:A,dataState:z,dataIdAttr:H,isShowIcon:G,isScrollToElement:O,getArialLabel:t=>{let{isLiquid:e}=t??{};return y({label:p,isLiquid:e})},getLabelToDisplay:_,checkIsShowLabel:t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{},o=_({isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a??r??{}});return m(o,T)},checkIsEditableLabel:t=>{let{isLiquid:e,mode:l}=t??{};return b({options:L,isLiquid:e,...!e&&l&&{mode:l}})}}},S=`
2
2
  <svg
3
3
  class="gp-invisible gp-absolute gp-h-5 gp-w-5 group-data-[state=loading]:gp-animate-spin group-data-[state=loading]:gp-visible"
4
4
  xmlns="http://www.w3.org/2000/svg"
@@ -19,4 +19,4 @@ import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIs
19
19
  d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
20
20
  ></path>
21
21
  </svg>
22
- `;export{v as LOADING_INDICATOR,k as checkIsScrollToElement,f as checkIsShowIcon,u as getCleanedStyles,S as getData,w as getDataId,I as getDataState,L as getInsertLinkData,C as getSplitStyles,b as handleCheckIsEditableLabel,m as handleCheckIsShowLabel,y as handleGetArialLabel,h as handleGetLabelToDisplay};
22
+ `;export{S as LOADING_INDICATOR,k as checkIsScrollToElement,f as checkIsShowIcon,u as getCleanedStyles,L as getData,w as getDataId,I as getDataState,v as getInsertLinkData,C as getSplitStyles,b as handleCheckIsEditableLabel,m as handleCheckIsShowLabel,y as handleGetArialLabel,h as handleGetLabelToDisplay};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as r,jsxs as t}from"react/jsx-runtime";import{useCartData as e,CartLineProvider as i,isEmptyChildren as o}from"@gem-sdk/core";import m from"../../grid/components/ChildrenDroppable.js";import"../../common/const.js";import"react";import"next/link";import"react-youtube";import"@gem-sdk/system";import"next/image";import"next/head";import n from"../../grid/components/col/Col.js";let d=({builderProps:d,advanced:p,setting:l,styles:s,children:a,...c})=>{let{data:h,error:u}=e();return r("div",{"data-id":d?.uid,...c,children:u?t("div",{children:["Error: ",u.message]}):h?r(n,{styles:s,children:h.lineItems.map(t=>t?r(i,{line:t,children:o(a)?r(m,{}):a},t.id):null)}):r("div",{children:"Cart Empty"})})};export{d as default};
2
+ import{jsx as t,jsxs as r}from"react/jsx-runtime";import{useCartData as e,CartLineProvider as o,isEmptyChildren as i}from"@gem-sdk/core";import m from"../../grid/components/ChildrenDroppable.js";import"../../common/const.js";import"react";import"next/link";import"react-youtube";import"@gem-sdk/system";import"../../image/common/listImageContext.js";import"../../image/common/listContext.js";import"next/head";import n from"../../grid/components/col/Col.js";let s=({builderProps:s,advanced:d,setting:l,styles:p,children:a,...c})=>{let{data:g,error:h}=e();return t("div",{"data-id":s?.uid,...c,children:h?r("div",{children:["Error: ",h.message]}):g?t(n,{styles:p,children:g.lineItems.map(r=>r?t(o,{line:r,children:i(a)?t(m,{}):a},r.id):null)}):t("div",{children:"Cart Empty"})})};export{s as default};
@@ -1 +1 @@
1
- export{default as ShopPayButton}from"./components/shop-pay-button/ShopPayButton.js";import t from"./settings/CartLineAttribute.js";import r from"./settings/CartLineVariant.js";import"react/jsx-runtime";import"@gem-sdk/core";import"react";import"@gem-sdk/system";import"next/link";import o from"./settings/CartTotalPrice.js";import i from"./settings/ShopPayButton.js";import s from"./settings/DiscountInput.js";import e from"./settings/CartTotalItem.js";import m from"./settings/CartOrderNote.js";import n from"./settings/CartLinePrice.js";import a from"./settings/CartLineImage.js";import p from"./settings/CartDiscount.js";import C from"./settings/CartCheckout.js";import"../image/components/AdaptiveImage.js";import"next/image";import g from"./settings/CouponList.js";import u from"./settings/CartList.js";import"../common/const.js";import"react-youtube";import"next/head";import c from"./settings/Cart.js";let j={Cart:c,CartList:u,CartLinePrice:n,CartLineVariant:r,CartLineImage:a,CartTotalPrice:o,CartTotalItem:e,CartCheckout:C,DiscountInput:s,CartDiscount:p,CartOrderNote:m,CartLineAttribute:t,CouponList:g,ShopPayButton:i};export{j as cartSetting};
1
+ export{default as ShopPayButton}from"./components/shop-pay-button/ShopPayButton.js";import t from"./settings/CartLineAttribute.js";import o from"./settings/CartLineVariant.js";import"react/jsx-runtime";import"@gem-sdk/core";import"react";import"@gem-sdk/system";import"next/link";import r from"./settings/CartTotalPrice.js";import i from"./settings/ShopPayButton.js";import s from"./settings/DiscountInput.js";import e from"./settings/CartTotalItem.js";import m from"./settings/CartOrderNote.js";import n from"./settings/CartLinePrice.js";import a from"./settings/CartLineImage.js";import p from"./settings/CartDiscount.js";import C from"./settings/CartCheckout.js";import"../image/components/AdaptiveImage.js";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import g from"./settings/CouponList.js";import c from"./settings/CartList.js";import"../common/const.js";import"react-youtube";import"next/head";import u from"./settings/Cart.js";let j={Cart:u,CartList:c,CartLinePrice:n,CartLineVariant:o,CartLineImage:a,CartTotalPrice:r,CartTotalItem:e,CartCheckout:C,DiscountInput:s,CartDiscount:p,CartOrderNote:m,CartLineAttribute:t,CouponList:g,ShopPayButton:i};export{j as cartSetting};
@@ -1 +1 @@
1
- import o from"./settings/collection-description/CollectionDescription.js";import"react/jsx-runtime";import"@gem-sdk/core";import"next/link";import"react";import"@gem-sdk/system";import t from"./settings/collection-paginator/CollectionPaginator.js";import"html-react-parser";import i from"./settings/collection-toolbar/CollectionToolbar.js";import e from"./settings/collection-banner/CollectionBanner.js";import l from"./settings/collection-title/CollectionTitle.js";import"react-youtube";import"next/image";import"next/head";let r={CollectionTitle:l,CollectionBanner:e,CollectionDescription:o,CollectionToolbar:i,CollectionPaginator:t};export{r as collectionSetting};
1
+ import o from"./settings/collection-description/CollectionDescription.js";import"react/jsx-runtime";import"@gem-sdk/core";import"next/link";import"react";import"@gem-sdk/system";import t from"./settings/collection-paginator/CollectionPaginator.js";import"html-react-parser";import i from"./settings/collection-toolbar/CollectionToolbar.js";import e from"./settings/collection-banner/CollectionBanner.js";import l from"./settings/collection-title/CollectionTitle.js";import"react-youtube";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import"next/head";let n={CollectionTitle:l,CollectionBanner:e,CollectionDescription:o,CollectionToolbar:i,CollectionPaginator:t};export{n as collectionSetting};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,jsx as g}from"react/jsx-runtime";let l=()=>e("div",{className:"gp-loading-placeholder gp-relative gp-my-0.5 gp-h-3 gp-w-full gp-overflow-hidden",children:[g("div",{className:"gp-absolute gp-h-full gp-w-full gp-bg-gray-200"}),g("div",{className:"gp-absolute gp-h-full gp-bg-green-500 gp-animate-progress-bar"})]});export{l as default};
2
+ import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useLoadingProgress as l}from"../hooks/useLoadingProgress.js";import{getLoadingErrorText as g,getLoadingText as p}from"../helpers.js";import{useElementWidth as r}from"../hooks/useElementWidth.js";import{LOADING_MIN_WIDTH as o}from"../const.js";let t="gp-loading-placeholder gp-border-loading-frame gp-flex gp-w-full gp-flex-col gp-gap-4 gp-overflow-hidden gp-border-[0.5px] gp-border-solid gp-bg-white",d="gp-text-loading-label !gp-font-g-ui !gp-text-xs !gp-font-medium !gp-leading-5 gp-px-4 gp-text-center",a=({label:a,error:n,retry:s})=>{let m=l(),{ref:c,width:h}=r(),f=(({minWidth:e})=>void 0===h||h>e)({minWidth:o.SHOW_TEXT}),u=(({minWidth:e})=>void 0===h||h>e)({minWidth:o.SHOW_LABEL});return n?e("div",{ref:c,className:t,children:i("div",{className:`${d} gp-py-4`,children:[g({label:a,hasRoomForLabel:u}),!!s&&e("button",{type:"button",onClick:s,className:"gp-ml-1 gp-underline",children:"Retry"})]})}):i("div",{ref:c,className:t,children:[e("div",{className:"gp-h-0.5 gp-w-full gp-bg-loading-track",children:e("div",{className:"gp-bg-loading-bar gp-h-full gp-transition-[width] gp-duration-100 gp-ease-linear",style:{width:`${m}%`}})}),f&&e("div",{className:`${d} gp-pb-4`,children:p({label:a,percent:m,hasRoomForLabel:u})})]})};export{a as default};
@@ -1 +1 @@
1
- var o;let c={STICKY:999,DIALOG:100001,CART_DRAWER:100002,CART_DRAWER_CONFIRM_MODAL:100003};!function(o){o.Collection="Collection",o.PickProduct="PickProduct",o.DynamicCollection="DynamicCollection",o.RelatedProduct="RelatedProduct"}(o||(o={}));export{c as ELEMENT_Z_INDEX,o as PRODUCT_LIST_PRODUCT_SOURCE};
1
+ var e;let t={STICKY:999,DIALOG:100001,CART_DRAWER:100002,CART_DRAWER_CONFIRM_MODAL:100003};!function(e){e.Collection="Collection",e.PickProduct="PickProduct",e.DynamicCollection="DynamicCollection",e.RelatedProduct="RelatedProduct"}(e||(e={}));let c={TICK_MS:100,MILESTONES:[{atMs:0,percent:0},{atMs:500,percent:30},{atMs:1e3,percent:50},{atMs:3e3,percent:75},{atMs:5e3,percent:83},{atMs:1e4,percent:90},{atMs:2e4,percent:96}],MAX_PERCENT:99,TAIL_MS:6e4},_={SHOW_LABEL:154,SHOW_TEXT:55};export{t as ELEMENT_Z_INDEX,_ as LOADING_MIN_WIDTH,c as LOADING_PROGRESS,e as PRODUCT_LIST_PRODUCT_SOURCE};
@@ -0,0 +1 @@
1
+ let e=({builderData:e})=>e?.customLabel??e?.label,o=({label:e,percent:o,hasRoomForLabel:a})=>a?e?`Loading ${e}...${o}%`:`Loading ${o}%`:`${o}%`,a=({label:e,hasRoomForLabel:o})=>e&&o?`${e} failed to load.`:"Failed to load.",d=({hasQuery:e,data:o,error:a,isLoading:d})=>d||e&&void 0===o&&void 0===a;export{e as getElementLabel,a as getLoadingErrorText,o as getLoadingText,d as isQueryLoading};
@@ -0,0 +1 @@
1
+ import{useIsomorphicLayoutEffect as e}from"@gem-sdk/core";import{useRef as t,useState as r}from"react";let n=()=>{let n=t(null),[i,o]=r();return e(()=>{let e=n.current;if(!e||(o(e.getBoundingClientRect().width),"undefined"==typeof ResizeObserver))return;let t=new ResizeObserver(e=>{let t=e[0];t&&o(t.contentRect.width)});return t.observe(e),()=>t.disconnect()},[]),{ref:n,width:i}};export{n as useElementWidth};
@@ -0,0 +1 @@
1
+ let e;import{useState as t,useEffect as r}from"react";import{LOADING_PROGRESS as a}from"../const.js";let{MILESTONES:l,MAX_PERCENT:o,TAIL_MS:n,TICK_MS:s}=a,u=l[l.length-1],f=({value:e,fromValue:t,toValue:r,fromResult:a,toResult:l})=>r===t?l:a+(l-a)*((e-t)/(r-t)),M=({elapsedMs:e})=>{if(e>=u.atMs){let t=f({value:e,fromValue:u.atMs,toValue:u.atMs+n,fromResult:u.percent,toResult:o});return Math.floor(Math.min(t,o))}let t=l.findIndex(t=>e<t.atMs),r=l[t-1]??l[0],a=l[t];return Math.floor(f({value:e,fromValue:r.atMs,toValue:a.atMs,fromResult:r.percent,toResult:a.percent}))},i=new Map,m=()=>{let e=Date.now();i.forEach((t,r)=>r(e-t))},c=t=>(i.set(t,Date.now()),e=e??setInterval(m,s),()=>{i.delete(t),!i.size&&e&&(clearInterval(e),e=void 0)}),p=()=>{let[e,a]=t(0);return r(()=>{let e=()=>{};return e=c(t=>{let r=M({elapsedMs:t});a(r),r>=o&&e()}),()=>e()},[]),e};export{M as getLoadingPercent,p as useLoadingProgress};
@@ -1,33 +1,33 @@
1
- import{template as e,WrapRenderChildren as o,RenderChildren as s,RenderIf as r,hasTranslatedLiquid as t,isLocalEnv as i,baseAssetURL as a}from"@gem-sdk/core";import{getData as l,checkHasBackgroundVideo as p,isRenderHtmlVideo as m,isRenderYoutubeVideo as d}from"./common/helpers.js";import{getBackgroundTranslated as n,getSettingPreloadData as c}from"../../../helpers.js";import g from"../../../video/components/LiteYouTubeEmbed.liquid.js";import{Row as u}from"../../settings/configs/row/translate.js";import{getResponsiveSetting as f}from"../../../hero-banner/common/helpers.js";import $ from"../../../video/components/HTML5Embed.liquid.js";import{getYoutubeVideoId as y}from"../../../video/common/helpers.js";import{createClass as j,If as k}from"@gem-sdk/system";import{getRowStyle as v}from"./common/styles.js";import{getClass as b}from"./common/classes.js";import{getAttr as w}from"./common/attrs.js";let h=h=>{let{styles:C,setting:x,rawChildren:E,builderProps:S}=h,{isSection:q}=x??{},{background:L}=C??{},P=q?"section":"div",T=n({background:L,uid:S?.uid,enableTranslate:!!u?.background?.id,pageContext:h.pageContext??{}}),{stateData:V}=l(h,T),{rowStyle:z,backgroundBoxStyle:A,embedVideoStyle:N,sectionStyle:R}=v({rowProps:h,type:"Liquid",translatedBackground:T}),{rowAttr:_}=w(h),{rowClass:G,backgroundBoxClass:I,backgroundBoxInnerClass:M,sectionClass:O,wrapperYoutubeClasses:B,iframeYoutubeClasses:H}=b(h),U=j({[G]:!0}),Y=()=>{if(!p(L))return;let e=f(L||{});if(m(L))return $({uid:S?.uid,muted:!0,loop:e.desktop?.loop,controls:!1,autoplay:!0,src:"",title:"Video",className:"gp-relative",style:N,pageContext:h.pageContext});if(d(L)){let o=e?.desktop?.video??"",s=y(o)||"",r=t(o),i=`&loop=false&playlist=${s}&showinfo=0&rel=0&fs=0&enablejsapi=1`;return g({uid:S?.uid,id:s,autoplay:!0,title:"Video",translatedVideoUrl:r?o:"",controls:!1,params:i,adNetwork:!1,noCookie:!0,muted:!0,lazy:e?.desktop?.lazyLoad??!0,style:N,wrapperClass:B,iframeClass:H,pageContext:h.pageContext})}},D=e`
1
+ import{template as e,WrapRenderChildren as o,RenderChildren as s,RenderIf as r,hasTranslatedLiquid as t,isLocalEnv as i,baseAssetURL as a}from"@gem-sdk/core";import{getData as l,checkHasBackgroundVideo as p,isRenderHtmlVideo as m,isRenderYoutubeVideo as d}from"./common/helpers.js";import{getBackgroundTranslated as n,getSettingPreloadData as c}from"../../../helpers.js";import u from"../../../video/components/LiteYouTubeEmbed.liquid.js";import{Row as f}from"../../settings/configs/row/translate.js";import{getResponsiveSetting as g}from"../../../hero-banner/common/helpers.js";import $ from"../../../video/components/HTML5Embed.liquid.js";import{getYoutubeVideoId as y}from"../../../video/common/helpers.js";import{createClass as j,If as k}from"@gem-sdk/system";import{getRowStyle as v}from"./common/styles.js";import{getClass as b}from"./common/classes.js";import{getAttr as w}from"./common/attrs.js";let h=h=>{let{styles:C,setting:E,rawChildren:S,builderProps:q}=h,{isSection:L}=E??{},{background:P}=C??{},T=L?"section":"div",V=n({background:P,uid:q?.uid,enableTranslate:!!f?.background?.id,pageContext:h.pageContext??{}}),{stateData:x}=l(h,V),{rowStyle:z,backgroundBoxStyle:A,embedVideoStyle:N,sectionStyle:R}=v({rowProps:h,type:"Liquid",translatedBackground:V}),{rowAttr:_}=w(h),{rowClass:G,backgroundBoxClass:I,backgroundBoxInnerClass:M,sectionClass:O,wrapperYoutubeClasses:B,iframeYoutubeClasses:H}=b(h),U=j({[G]:!0}),Y=()=>{if(!p(P))return;let e=g(P||{});if(m(P))return $({uid:q?.uid,muted:!0,loop:e.desktop?.loop,controls:!1,autoplay:!0,src:"",title:"Video",className:"gp-relative",style:N});if(d(P)){let o=e?.desktop?.video??"",s=y(o)||"",r=t(o),i=`&loop=false&playlist=${s}&showinfo=0&rel=0&fs=0&enablejsapi=1`;return u({uid:q?.uid,id:s,autoplay:!0,title:"Video",translatedVideoUrl:r?o:"",controls:!1,params:i,adNetwork:!1,noCookie:!0,muted:!0,lazy:e?.desktop?.lazyLoad??!0,style:N,wrapperClass:B,iframeClass:H})}},D=e`
2
2
  <gp-row
3
3
  ${{..._}}
4
4
  class="${U}"
5
5
  style="${z()}"
6
6
  >
7
- <script gp-data type="application/json">${V}</script>
7
+ <script gp-data type="application/json">${x}</script>
8
8
  ${k(!!Y(),e`
9
9
  <div class="${I}" style="${A}">
10
10
  <div class="${M}">${Y()}</div>
11
11
  </div>
12
12
  `)}
13
13
 
14
- ${o({uid:S?.uid||"",customProps:E?.[0].customProps},E?.map(e=>{if(e)return s({...e,order:x?.order,layout:x?.layout,justifyContent:x?.verticalAlign})}))}
14
+ ${o({uid:q?.uid||"",customProps:S?.[0].customProps},S?.map(e=>{if(e)return s({...e,order:E?.order,layout:E?.layout,justifyContent:E?.verticalAlign})}))}
15
15
 
16
- ${(()=>{if(p(L))return e`
16
+ ${(()=>{if(p(P))return e`
17
17
  ${r(i,`<script ${c('class="gps-link" delay',"src")}="{{ 'gp-row-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${c('class="gps-link" delay',"src")}="${a}/assets-v2/gp-row-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
18
18
  `})()}
19
19
  </gp-row>
20
20
  `;return e`
21
- ${r(!!C?.preloadBgImage,`${r(!!L?.desktop?.image?.src,`<link rel="preload" href="${L?.desktop?.image?.src}" as="image" />`)}${r(!!L?.tablet?.image?.src,`<link rel="preload" href="${L?.tablet?.image?.src}" as="image" />`)}${r(!!L?.mobile?.image?.src,`<link rel="preload" href="${L?.mobile?.image?.src}" as="image" />`)}`)}
21
+ ${r(!!C?.preloadBgImage,`${r(!!P?.desktop?.image?.src,`<link rel="preload" href="${P?.desktop?.image?.src}" as="image" />`)}${r(!!P?.tablet?.image?.src,`<link rel="preload" href="${P?.tablet?.image?.src}" as="image" />`)}${r(!!P?.mobile?.image?.src,`<link rel="preload" href="${P?.mobile?.image?.src}" as="image" />`)}`)}
22
22
 
23
- ${r(!!q,"{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}")}
23
+ ${r(!!L,"{% assign locationOrigin = request.origin | append: routes.root_url | split: '/' | join: '/' %}")}
24
24
 
25
- ${k(q,e`
26
- <${P}
27
- class="${O} ${q?c("gps-lazy"):""}"
25
+ ${k(L,e`
26
+ <${T}
27
+ class="${O} ${L?c("gps-lazy"):""}"
28
28
  style="${R}"
29
29
  >
30
30
  ${D}
31
- </${P}>
31
+ </${T}>
32
32
  `,e`${D}`)}
33
33
  `};export{h as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as o}from"react/jsx-runtime";import"../../../common/const.js";import"@gem-sdk/core";import{useMemo as t}from"react";import e from"../../../common/components/Loading.js";import r from"../row/Row.js";let m=m=>{let i=t(()=>{let{builderProps:o}=m;return o?.builderData?.name==="SectionLoading"},[m]);return i?o(e,{}):o(r,{...m,setting:{...m.setting,as:"section",isSection:!0}})};export{m as default};
2
+ import{jsx as o}from"react/jsx-runtime";import{getElementLabel as t}from"../../../common/helpers.js";import"../../../common/const.js";import"@gem-sdk/core";import{useMemo as e}from"react";import r from"../../../common/components/Loading.js";import m from"../row/Row.js";let i=i=>{let{builderProps:n}=i,a=e(()=>n?.builderData?.name==="SectionLoading",[n]);return a?o(r,{label:t({builderData:n?.builderData})}):o(m,{...i,setting:{...i.setting,as:"section",isSection:!0}})};export{i as default};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"../common/const.js";import"@gem-sdk/core";import"react";import"next/link";import"react-youtube";import"@gem-sdk/system";import"next/image";import"next/head";import t from"./settings/Section.js";import o from"./settings/Root.js";import i from"./settings/Row.js";import m from"./settings/Col.js";let r={Root:o,Section:t,Row:i,Col:m};export{r as gridSetting};
1
+ import"react/jsx-runtime";import"../common/const.js";import"@gem-sdk/core";import"react";import"next/link";import"react-youtube";import"@gem-sdk/system";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import"next/head";import t from"./settings/Section.js";import o from"./settings/Root.js";import m from"./settings/Row.js";import i from"./settings/Col.js";let e={Root:o,Section:t,Row:m,Col:i};export{e as gridSetting};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{cls as i,makeStyleResponsive as r}from"@gem-sdk/core";import"../../../../cart/components/shop-pay-button/ShopPayButton.js";import"react";import"@gem-sdk/system";import"next/link";import l from"../../../../image/components/Image.js";import p from"../../../../cart/components/CheckoutNow.js";import"../../../../common/const.js";import"react-youtube";import"next/image";import"next/head";import s from"../../../../cart/components/Cart.js";import a from"next/dynamic";let m=a(()=>import("./MobileMenu.js")),n=a(()=>import("./DesktopMenu.js")),c=({btnBgColor:a,btnBorder:c,btnRounded:g,btnSpacing:d,btnTextColor:b,btnTypography:h,btnType:f,btnWidth:u,openMode:y,buyNow:x,breakpoint:j,...k})=>{let v=!!k.menu?.ROOT.childrens?.length;return e("div",{className:"gp-relative gp-z-50 gp-flex gp-items-center gp-px-4 gp-justify-between",style:r("h",k.height),children:[v?e(t,{children:[o(m,{...k,className:i({"gp-flex":"desktop"===j,"gp-hidden tablet:gp-flex":"tablet"===j,"gp-hidden mobile:gp-flex":"mobile"===j})}),o(n,{...k,className:i({"!gp-hidden":"desktop"===j,"tablet:!gp-hidden":"tablet"===j,"mobile:!gp-hidden":"mobile"===j})})]}):null,!!k.logo&&o("div",{className:i({"gp-justify-center":"desktop"===j&&v,"tablet:gp-justify-center":"tablet"===j&&v,"mobile:gp-justify-center":"mobile"===j&&v,"gp-flex gp-items-center":"desktop"===j,"tablet:gp-flex tablet:gp-items-center":"tablet"===j,"mobile:gp-flex mobile:gp-items-center":"mobile"===j,"gp-order-first":"desktop"!==j,"mobile:gp-order-[0]":!0,"tablet:gp-order-[0]":"tablet"===j}),children:o(l,{style:r("maxh",k.height),setting:{srcSet:k.logo,alt:"Logo",quality:100,isAdaptive:!0},styles:{customAspectRadio:k.customAspectRadio,aspectRatio:k.logoAspectRatio,width:k.logoWidth,objectFit:k.layout,opacity:{normal:0,hover:0}}})}),e("div",{className:"gp-flex gp-items-center gp-gap-4",children:[x&&o(p,{className:"mobile:gp-hidden",setting:{label:"Buy Now",openMode:y},styles:{backgroundColor:a,borderBtn:c,roundedBtn:g,btnSpacing:d,textColor:b,typography:h,type:f,width:u}}),o(s,{setting:{iconOnly:!0,svgIcon:k.cartIcon,enableHoverEffect:k.cardEnableHoverEffect??!0},styles:{iconColor:k.cartIconColor}})]})]})};export{c as default};
2
+ import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{cls as i,makeStyleResponsive as l}from"@gem-sdk/core";import"../../../../cart/components/shop-pay-button/ShopPayButton.js";import"react";import"@gem-sdk/system";import"next/link";import r from"../../../../image/components/Image.js";import s from"../../../../cart/components/CheckoutNow.js";import"../../../../common/const.js";import"react-youtube";import"../../../../image/common/listImageContext.js";import"../../../../image/common/listContext.js";import"next/head";import p from"../../../../cart/components/Cart.js";import m from"next/dynamic";let a=m(()=>import("./MobileMenu.js")),n=m(()=>import("./DesktopMenu.js")),c=({btnBgColor:m,btnBorder:c,btnRounded:g,btnSpacing:d,btnTextColor:b,btnTypography:h,btnType:f,btnWidth:u,openMode:y,buyNow:x,breakpoint:j,...k})=>{let v=!!k.menu?.ROOT.childrens?.length;return e("div",{className:"gp-relative gp-z-50 gp-flex gp-items-center gp-px-4 gp-justify-between",style:l("h",k.height),children:[v?e(t,{children:[o(a,{...k,className:i({"gp-flex":"desktop"===j,"gp-hidden tablet:gp-flex":"tablet"===j,"gp-hidden mobile:gp-flex":"mobile"===j})}),o(n,{...k,className:i({"!gp-hidden":"desktop"===j,"tablet:!gp-hidden":"tablet"===j,"mobile:!gp-hidden":"mobile"===j})})]}):null,!!k.logo&&o("div",{className:i({"gp-justify-center":"desktop"===j&&v,"tablet:gp-justify-center":"tablet"===j&&v,"mobile:gp-justify-center":"mobile"===j&&v,"gp-flex gp-items-center":"desktop"===j,"tablet:gp-flex tablet:gp-items-center":"tablet"===j,"mobile:gp-flex mobile:gp-items-center":"mobile"===j,"gp-order-first":"desktop"!==j,"mobile:gp-order-[0]":!0,"tablet:gp-order-[0]":"tablet"===j}),children:o(r,{style:l("maxh",k.height),setting:{srcSet:k.logo,alt:"Logo",quality:100,isAdaptive:!0},styles:{customAspectRadio:k.customAspectRadio,aspectRatio:k.logoAspectRatio,width:k.logoWidth,objectFit:k.layout,opacity:{normal:0,hover:0}}})}),e("div",{className:"gp-flex gp-items-center gp-gap-4",children:[x&&o(s,{className:"mobile:gp-hidden",setting:{label:"Buy Now",openMode:y},styles:{backgroundColor:m,borderBtn:c,roundedBtn:g,btnSpacing:d,textColor:b,typography:h,type:f,width:u}}),o(p,{setting:{iconOnly:!0,svgIcon:k.cartIcon,enableHoverEffect:k.cardEnableHoverEffect??!0},styles:{iconColor:k.cartIconColor}})]})]})};export{c as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{makeStyleResponsive as o}from"@gem-sdk/core";import"../../../../cart/components/shop-pay-button/ShopPayButton.js";import"react";import"@gem-sdk/system";import"next/link";import"../../../../image/components/AdaptiveImage.js";import"next/image";import"../../../../common/const.js";import"react-youtube";import"next/head";import r from"../../../../cart/components/Cart.js";let m=m=>e("div",{className:"gp-relative gp-flex gp-items-center gp-px-4",style:o("h",m.height),children:["Coming Soon",t("div",{className:"gp-ml-auto gp-flex gp-items-center gp-pr-4",children:t(r,{setting:{iconOnly:!0,enableHoverEffect:m.cardEnableHoverEffect??!0}})})]});export{m as default};
2
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import{makeStyleResponsive as o}from"@gem-sdk/core";import"../../../../cart/components/shop-pay-button/ShopPayButton.js";import"react";import"@gem-sdk/system";import"next/link";import"../../../../image/components/AdaptiveImage.js";import"../../../../image/common/listImageContext.js";import"../../../../image/common/listContext.js";import"../../../../common/const.js";import"react-youtube";import"next/head";import m from"../../../../cart/components/Cart.js";let r=r=>t("div",{className:"gp-relative gp-flex gp-items-center gp-px-4",style:o("h",r.height),children:["Coming Soon",e("div",{className:"gp-ml-auto gp-flex gp-items-center gp-pr-4",children:e(m,{setting:{iconOnly:!0,enableHoverEffect:r.cardEnableHoverEffect??!0}})})]});export{r as default};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"@gem-sdk/core";import"next/link";import"react";import"react-transition-group";import"../cart/components/shop-pay-button/ShopPayButton.js";import"@gem-sdk/system";import"../image/components/AdaptiveImage.js";import"next/image";import"../common/const.js";import"react-youtube";import"next/head";export{default as BasicHeader}from"./components/kind/basic/index.js";import t from"./settings/Header.js";export{default as Header}from"./components/Header.js";let e={Header:t};export{e as headerSetting};
1
+ import"react/jsx-runtime";import"@gem-sdk/core";import"next/link";import"react";import"react-transition-group";import"../cart/components/shop-pay-button/ShopPayButton.js";import"@gem-sdk/system";import"../image/components/AdaptiveImage.js";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import"../common/const.js";import"react-youtube";import"next/head";export{default as BasicHeader}from"./components/kind/basic/index.js";import t from"./settings/Header.js";export{default as Header}from"./components/Header.js";let e={Header:t};export{e as headerSetting};
@@ -1 +1 @@
1
- import{makeStyleResponsive as e,getHeightByShapeGlobalSize as t,makeStyleWithDefault as r,getWidthByShapeGlobalSize as o,getStyleShadow as l,getStyleBgColor as n,getRadiusStyleActiveState as a,makeStyle as i,getSingleColorVariable as c,makeStyleState as g,getGlobalColorStateStyle as b,getResponsiveStylePadding as p,getStyleBackgroundByDevice as s,getValueByDevice as d,DEVICES as u,getResponsiveValueByScreen as m}from"@gem-sdk/core";import{getVisibilityStyle as h,getStyleAspectRatioHeroBannerCustom as f,getOpacityHover as w,getDisplayStyleByFitContent as y,getAttachmentDevice as v,formatHoverScale as S,getStyleHeroBannerBg as k,getClipPath as j,opacityEnabledData as $,getResponsiveSetting as A}from"./helpers.js";function B(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>void 0!==e||""===e))}let O=(l,n,a)=>{let{sizeSetting:i}=l??{},c={...a,...h(a),...r("w",o(i,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),...e("h",t(i))};return B(c)},E=r=>{let{sizeSetting:o,background:g,borderBg:b,cornerBg:p,shadowBg:s,hasActiveShadow:d}=r??{},u={...e("h",t(o)),...f(g,o),...i({bs:b?.border??b?.border,bw:b?.width??b?.width,bc:c(b?.color)}),...a({...p,active:{...p||{},radiusType:"custom"}}),...g?{...n(g)}:{},...l({value:s,styleAppliedFor:"box-shadow",isEnableShadow:d})};return B(u)},I=e=>{let{overlayColor:t,overlayOpacity:r,hoverEffect:o}=e??{},{disableOpacity:l}=$(e),n="number"!=typeof r?.normal||isNaN(r?.normal)?"string"==typeof r?.normal?`${parseInt(r?.normal)}%`:"0%":`${r?.normal}%`,a=g("op",{normal:n,hover:w(e)}),i=b("bgc",{...t,hover:t?.hover||t?.normal});l&&(delete i?.["--bgc"],delete a?.["--op"]),o||(delete i?.["--hvr-bgc"],delete a?.["--hvr-op"]);let c={...i,...a,"--top":"0","--left":"0"};return B(c)},x=e=>{let{contentPadding:t}=e??{},r={...p(t)};return B(r)},C=l=>{let{sizeSetting:n,background:a}=l??{},i={...y(n,a),...e("h",t(n)),...r("w",o(n,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"})};return B(i)},F=(t,r,o)=>{let{hoverEffectScale:l,background:n,hoverEffectDuration:a}=t??{},i=`${parseFloat(`${a}`)??.5}s`,c={...k(A(n||{}),r),...s(n,{ignoreBgAttachment:!0,ignoreBackgroundImage:!0}),"--duration":i,"--scale":S(l),...e("pos",v(n)),transform:o,transition:`transform ${i} cubic-bezier(0,0,0,1)`};return B(c)},N=e=>{let{borderBg:t,cornerBg:r}=e??{},o={"clip-path":j(t?.width,r)};return B(o)},z=e=>{if(e)return{desktop:d(e,"desktop"),tablet:d(e,"tablet"),mobile:d(e,"mobile")}},H=e=>{if(!e)return;let t={};return u.forEach(r=>{let o=m(e,r),l=o?.videoAlign;t[r]=l||"top"}),Object.keys(t).length>0?t:void 0},R=(t,r,o)=>{let l=z(r),n=H(o),a={...e("aspect",t),...l?e("objf",l):{},...n?e("objp",n):{}};return B(a)},T=(t,r)=>{let o=z(r),l={...e("aspect",t),...o?e("objf",o):{},"pointer-events":"none"};return B(l)};export{C as getAdaptiveStyle,F as getBackgroundStyle,N as getContainBackgroundStyle,E as getContainerStyle,R as getHtml5VideoStyle,I as getOverlayStyle,x as getRowStyle,O as getStyle,T as getYoutubeIframeStyle};
1
+ import{makeStyleResponsive as e,getHeightByShapeGlobalSize as t,makeStyleWithDefault as r,getWidthByShapeGlobalSize as o,getStyleShadow as l,getStyleBgColor as n,getRadiusStyleActiveState as a,makeStyle as i,getSingleColorVariable as b,makeStyleState as c,getGlobalColorStateStyle as d,getResponsiveStylePadding as g,getStyleBackgroundByDevice as p,DEVICES as u,getValueByDevice as s,getResponsiveValueByScreen as m}from"@gem-sdk/core";import{getVisibilityStyle as h,getStyleAspectRatioHeroBannerCustom as f,getOpacityHover as w,getDisplayStyleByFitContent as v,getAttachmentDevice as y,formatHoverScale as S,getStyleHeroBannerBg as k,getClipPath as j,opacityEnabledData as $,getResponsiveSetting as O}from"./helpers.js";function A(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>void 0!==e||""===e))}let B=(l,n,a)=>{let{sizeSetting:i}=l??{},b={...a,...h(a),...r("w",o(i,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),...e("h",t(i))};return A(b)},E=r=>{let{sizeSetting:o,background:c,borderBg:d,cornerBg:g,shadowBg:p,hasActiveShadow:u}=r??{},s={...e("h",t(o)),...f(c,o),...i({bs:d?.border??d?.border,bw:d?.width??d?.width,bc:b(d?.color)}),...a({...g,active:{...g||{},radiusType:"custom"}}),...c?{...n(c)}:{},...l({value:p,styleAppliedFor:"box-shadow",isEnableShadow:u})};return A(s)},x=e=>{let{overlayColor:t,overlayOpacity:r,hoverEffect:o}=e??{},{disableOpacity:l}=$(e),n="number"!=typeof r?.normal||isNaN(r?.normal)?"string"==typeof r?.normal?`${parseInt(r?.normal)}%`:"0%":`${r?.normal}%`,a=c("op",{normal:n,hover:w(e)}),i=d("bgc",{...t,hover:t?.hover||t?.normal});l&&(delete i?.["--bgc"],delete a?.["--op"]),o||(delete i?.["--hvr-bgc"],delete a?.["--hvr-op"]);let b={...i,...a,"--top":"0","--left":"0"};return A(b)},I=e=>{let{contentPadding:t}=e??{},r={...g(t)};return A(r)},N=({background:e,device:t})=>{let r=Number(m(e,t)?.image?.width);return r>0?`${r}px`:void 0},C=({sizeSetting:e,background:t})=>{let r=o(e,!0);return Object.fromEntries(u.flatMap(e=>{let o=r[e];return void 0===o?[]:"auto"!==o?[[e,o]]:[[e,N({background:t,device:e})??"100%"]]}))},F=o=>{let{sizeSetting:l,background:n}=o??{},a={...v(l,n),...e("h",t(l)),...r("w",C({sizeSetting:l,background:n}),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"})};return A(a)},z=(t,r,o)=>{let{hoverEffectScale:l,background:n,hoverEffectDuration:a}=t??{},i=`${parseFloat(`${a}`)??.5}s`,b={...k(O(n||{}),r),...p(n,{ignoreBgAttachment:!0,ignoreBackgroundImage:!0}),"--duration":i,"--scale":S(l),...e("pos",y(n)),transform:o,transition:`transform ${i} cubic-bezier(0,0,0,1)`};return A(b)},H=e=>{let{borderBg:t,cornerBg:r}=e??{},o={"clip-path":j(t?.width,r)};return A(o)},M=e=>{if(e)return{desktop:s(e,"desktop"),tablet:s(e,"tablet"),mobile:s(e,"mobile")}},R=e=>{if(!e)return;let t={};return u.forEach(r=>{let o=m(e,r),l=o?.videoAlign;t[r]=l||"top"}),Object.keys(t).length>0?t:void 0},T=(t,r,o)=>{let l=M(r),n=R(o),a={...e("aspect",t),...l?e("objf",l):{},...n?e("objp",n):{}};return A(a)},V=(t,r)=>{let o=M(r),l={...e("aspect",t),...o?e("objf",o):{},"pointer-events":"none"};return A(l)};export{F as getAdaptiveStyle,z as getBackgroundStyle,H as getContainBackgroundStyle,E as getContainerStyle,T as getHtml5VideoStyle,x as getOverlayStyle,I as getRowStyle,B as getStyle,V as getYoutubeIframeStyle};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as o}from"react/jsx-runtime";import t from"../../image/components/AdaptiveImage.js";import s from"../../video/components/HTML5Embed.js";import{createStyle as i,createClass as r}from"@gem-sdk/system";import"../../common/const.js";import{useEditorMode as m,filterToolbarPreview as l,getAspectRatioGlobalSize as a}from"@gem-sdk/core";import{useMemo as d}from"react";import p from"../../grid/components/row/Row.js";import{getContainerStyle as n,getOverlayStyle as c,getRowStyle as u,getAdaptiveStyle as y,getBackgroundStyle as f,getContainBackgroundStyle as v,getYoutubeIframeStyle as h,getHtml5VideoStyle as b}from"../common/styles.js";import{getContainerClasses as j,getOverlayClasses as g,getRowClasses as N,getAdaptivePictureClasses as T,getAdaptiveClasses as k,getBackgroundClasses as H,getContainBackgroundClasses as w,getHtml5VideoClasses as C,getWrapperYoutubeClasses as V,getIframeYoutubeClasses as B}from"../common/classes.js";import{getBackgroundImageHeroBanner as I,showVideoType as M,scrollToContentBanner as Y,getWidth as z,horizontalAlign as E,fallbackImg as L,getBgImage as x}from"../common/helpers.js";import{getYoutubeVideoId as A,youtubeVideoRegex as R}from"../../video/common/helpers.js";import $ from"../../video/components/LiteYouTubeEmbed.js";import{getYoutubeContentClasses as O}from"../../video/common/classes.js";import S from"../hooks/useHeroBannerItem.js";let W=W=>{m();let{setting:q,styles:D,children:F,elementRef:G,transform:J,dataVideo:K,bgRef:P,isShowVideoHtml5:Q,layoutResponsive:U,heroBannerWrapperRef:X}=W,{layout:Z,verticalAlign:_,enableParallax:ee,alt:eo,title:et}=q??{},{background:es,overlayColor:ei,verticalGutter:er,sizeSetting:em,contentWidth:el,hoverEffect:ea,contentPosition1Col:ed,contentPosition2Col:ep,videoObjectFit:en}=D??{},ec=i({...n(D)}),eu=r({...j(q,D)}),ey=i({...c(D)}),ef=r({...g(D)}),ev=i({...u(D)}),eh=r({...N(D,q)}),eb=i({...y(D)}),ej=r({...T()}),eg=r({...k()}),eN=r({...H(ea,!1)}),eT=i({...I(es,!1,!0),...f(D,ee,J)}),ek=r({...w()}),eH=i({...v(D)}),ew=r({...C(!Q)}),{youtubeIframeWrapperRef:eC,resolvedAspectRatio:eV,youtubeAspectRatio:eB}=S({videoType:K?.videoType,sizeSetting:em,background:es,videoObjectFit:en,heroBannerWrapperRef:X,isYoutubeVideoMigrated:q?.isYoutubeVideoMigrated}),eI=i({...h(eB,en)}),eM=i({...b(eV,en,es)}),eY=r({...V(q?.isYoutubeVideoMigrated)}),ez=r({...B()}),eE=r({...O()}),eL=d(()=>{if(!M(es))return;if(K?.videoType==="html5"&&!K.videoHtml5||K?.videoType==="youtube"&&!K.video)return null;if(K?.type==="video"&&K?.videoType==="html5"&&K?.videoHtml5)return e(s,{muted:!0,loop:K?.loop,controls:!1,autoplay:!0,src:K?.videoHtml5||"",title:"Video",style:eM,className:ew});let o=K?.video??"",t=A(o),i=K?.loop?1:0,r=`&loop=${i}&playlist=${t}&showinfo=0&rel=0&fs=0&enablejsapi=1`;if(K?.type==="video"&&K?.videoType==="youtube"&&t&&R.test(o))return e("div",{className:eE,ref:eC,children:e($,{id:t,isHeroBanner:!0,autoplay:!0,title:"Video",controls:!1,params:r,adNetwork:!1,noCookie:!0,muted:!0,lazy:K?.lazyLoad??!0,style:eI,wrapperClass:eY,iframeClass:ez})})},[K,es,ew,ez,eY,eI,eM,eC]);return o("div",{className:eu,style:ec,children:[o("div",{ref:G,className:ek,style:eH,children:[e("div",{ref:P,className:eN,style:eT,children:eL}),!!ei&&e("div",{"aria-label":"Overlay",className:ef,style:ey})]}),e(p,{className:eh,style:ev,setting:{layout:Z,horizontalAlign:E(Z,ed,ep),verticalAlign:_},styles:{verticalGutter:er,width:z(el),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},hiddenEmptyCol:U?.cols?.length===1,onBlur:e=>Y(e),children:l(F)}),e(t,{pictureClass:ej,srcSet:x(es),className:eg,aspectRatio:a(em),style:eb,alt:eo,title:et,fallbackImg:L})]})};export{W as default};
2
+ import{jsx as e,jsxs as o}from"react/jsx-runtime";import t from"../../image/components/AdaptiveImage.js";import{PRIORITY_LOAD_ATTRS as s}from"../../image/constants.js";import i from"../../video/components/HTML5Embed.js";import{createStyle as r,createClass as m}from"@gem-sdk/system";import"../../common/const.js";import{useEditorMode as l,filterToolbarPreview as a,getAspectRatioGlobalSize as d}from"@gem-sdk/core";import{useMemo as n}from"react";import p from"../../grid/components/row/Row.js";import{getContainerStyle as c,getOverlayStyle as f,getRowStyle as u,getAdaptiveStyle as y,getBackgroundStyle as v,getContainBackgroundStyle as h,getYoutubeIframeStyle as g,getHtml5VideoStyle as j}from"../common/styles.js";import{getContainerClasses as b,getOverlayClasses as N,getRowClasses as T,getAdaptivePictureClasses as H,getAdaptiveClasses as k,getBackgroundClasses as w,getContainBackgroundClasses as B,getHtml5VideoClasses as C,getWrapperYoutubeClasses as V,getIframeYoutubeClasses as z}from"../common/classes.js";import{getBackgroundImageHeroBanner as I,showVideoType as M,scrollToContentBanner as Y,getWidth as E,horizontalAlign as L,fallbackImg as x,getBgImage as A}from"../common/helpers.js";import{getYoutubeVideoId as R,youtubeVideoRegex as $}from"../../video/common/helpers.js";import O from"../../video/components/LiteYouTubeEmbed.js";import{getYoutubeContentClasses as S}from"../../video/common/classes.js";import W from"../hooks/useHeroBannerItem.js";let q=q=>{l();let{setting:D,styles:F,children:G,elementRef:J,transform:K,dataVideo:P,bgRef:Q,isShowVideoHtml5:U,layoutResponsive:X,heroBannerWrapperRef:Z}=q,{layout:_,verticalAlign:ee,enableParallax:eo,alt:et,title:es,preload:ei}=D??{},{background:er,overlayColor:em,verticalGutter:el,sizeSetting:ea,contentWidth:ed,hoverEffect:en,contentPosition1Col:ep,contentPosition2Col:ec,videoObjectFit:ef}=F??{},eu=r({...c(F)}),ey=m({...b(D,F)}),ev=r({...f(F)}),eh=m({...N(F)}),eg=r({...u(F)}),ej=m({...T(F,D)}),eb=r({...y(F)}),eN=m({...H()}),eT=m({...k()}),eH=m({...w(en,!1)}),ek=r({...I(er,!1,!0),...v(F,eo,K)}),ew=m({...B()}),eB=r({...h(F)}),eC=m({...C(!U)}),{youtubeIframeWrapperRef:eV,resolvedAspectRatio:ez,youtubeAspectRatio:eI}=W({videoType:P?.videoType,sizeSetting:ea,background:er,videoObjectFit:ef,heroBannerWrapperRef:Z,isYoutubeVideoMigrated:D?.isYoutubeVideoMigrated}),eM=r({...g(eI,ef)}),eY=r({...j(ez,ef,er)}),eE=m({...V(D?.isYoutubeVideoMigrated)}),eL=m({...z()}),ex=m({...S()}),eA=n(()=>{if(!M(er))return;if(P?.videoType==="html5"&&!P.videoHtml5||P?.videoType==="youtube"&&!P.video)return null;if(P?.type==="video"&&P?.videoType==="html5"&&P?.videoHtml5)return e(i,{muted:!0,loop:P?.loop,controls:!1,autoplay:!0,src:P?.videoHtml5||"",title:"Video",style:eY,className:eC});let o=P?.video??"",t=R(o),s=P?.loop?1:0,r=`&loop=${s}&playlist=${t}&showinfo=0&rel=0&fs=0&enablejsapi=1`;if(P?.type==="video"&&P?.videoType==="youtube"&&t&&$.test(o))return e("div",{className:ex,ref:eV,children:e(O,{id:t,isHeroBanner:!0,autoplay:!0,title:"Video",controls:!1,params:r,adNetwork:!1,noCookie:!0,muted:!0,lazy:P?.lazyLoad??!0,style:eM,wrapperClass:eE,iframeClass:eL})})},[P,er,eC,eL,eE,eM,eY,eV]);return o("div",{className:ey,style:eu,children:[o("div",{ref:J,className:ew,style:eB,children:[e("div",{ref:Q,className:eH,style:ek,children:eA}),!!em&&e("div",{"aria-label":"Overlay",className:eh,style:ev})]}),e(p,{className:ej,style:eg,setting:{layout:_,horizontalAlign:L(_,ep,ec),verticalAlign:ee},styles:{verticalGutter:el,width:E(ed),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},hiddenEmptyCol:X?.cols?.length===1,onBlur:e=>Y(e),children:a(G)}),e(t,{pictureClass:eN,srcSet:A(er),className:eT,aspectRatio:d(ea),style:eb,alt:et,title:es,fallbackImg:x,...ei&&s,sizeTarget:"HeroBanner"})]})};export{q as default};
@@ -1,16 +1,16 @@
1
- import{template as e,getAspectRatioGlobalSize as t,DEVICES as o,getResponsiveValueByScreen as s,hasTranslatedLiquid as i}from"@gem-sdk/core";import l from"../../image/components/AdaptiveImage.liquid.js";import a from"../../video/components/HTML5Embed.liquid.js";import{createStyle as r,createClass as m,If as d}from"@gem-sdk/system";import n from"../../grid/components/row/Row.liquid.js";import{getContainerStyle as p,getOverlayStyle as u,getRowStyle as c,getAdaptiveStyle as f,getBackgroundStyle as y,getContainBackgroundStyle as g,getYoutubeIframeStyle as v,getHtml5VideoStyle as j}from"../common/styles.js";import{getContainerClasses as $,getOverlayClasses as b,getRowClasses as h,getAdaptivePictureClasses as C,getAdaptiveClasses as I,getBackgroundClasses as w,getContainBackgroundClasses as T,getHtml5VideoClasses as k,getWrapperYoutubeClasses as x,getIframeYoutubeClasses as N,getLazyBackgroundClasses as q}from"../common/classes.js";import{getAspectRatio as L,getYoutubeAspectRatio as z,getBackgroundImageHeroBanner as H,getWidth as A,horizontalAlign as V,getEnableBgImageByDevice as B,getBgImage as E,showVideoType as R,getResponsiveSetting as S,fallbackImg as D}from"../common/helpers.js";import{getYoutubeVideoId as M,youtubeVideoRegex as O}from"../../video/common/helpers.js";import U from"../../video/components/LiteYouTubeEmbed.liquid.js";import{isRenderHtmlVideo as W}from"../../grid/components/row/common/helpers.js";import Y from"../../image/components/NextImage.liquid.js";import{PRIORITY_LOAD_ATTRS as F}from"../../image/constants.js";import{getImageSrc as G}from"../../image/common/helpers.js";import{getSeoTranslated as J}from"../../helpers.js";let K=K=>{let{translatedBackground:P,setting:Q,styles:X,children:Z,builderProps:_,rawChildren:ee,pageContext:et}=K,{layout:eo,verticalAlign:es,enableParallax:ei,alt:el,title:ea,preload:er,isYoutubeVideoMigrated:em}=Q??{},{background:ed,overlayColor:en,verticalGutter:ep,sizeSetting:eu,contentWidth:ec,hoverEffect:ef,contentPosition1Col:ey,contentPosition2Col:eg,videoObjectFit:ev}=X??{},ej=!er&&(et?.enableLazyLoadImage??!0),e$=L(eu,ed),eb=z(ed,ev,e$),eh=S(P||{}),eC=eh.desktop,eI=r({...p(X)}),ew=m({...$(Q,X)}),eT=r({...u(X)}),ek=m({...b(X)}),ex=r({...c(X)}),eN=m({...h(X,Q)}),eq=r({...f(X)}),eL=m({...C()}),ez=m({...I()}),eH=m({...w(ef,ej)}),eA=r({...H(P,ej,!1),...y(X,ei,"")}),eV=m({...T()}),eB=r({...g(X)}),eE=m({...k(!1)}),eR=r({...v(eb,ev)}),eS=m({...x(em)}),eD=r({...j(e$,ev,ed)}),eM=m({...N()}),eO=e=>m({...q(e)});return e`
2
- <div class="${ew}" style="${eI}">
1
+ import{template as e,getAspectRatioGlobalSize as t,DEVICES as o,getResponsiveValueByScreen as s,hasTranslatedLiquid as i}from"@gem-sdk/core";import r from"../../image/components/AdaptiveImage.liquid.js";import l from"../../video/components/HTML5Embed.liquid.js";import{createStyle as a,createClass as m,If as d}from"@gem-sdk/system";import n from"../../grid/components/row/Row.liquid.js";import{getContainerStyle as p,getOverlayStyle as u,getRowStyle as c,getAdaptiveStyle as f,getBackgroundStyle as g,getContainBackgroundStyle as v,getYoutubeIframeStyle as y,getHtml5VideoStyle as j}from"../common/styles.js";import{getContainerClasses as $,getOverlayClasses as b,getRowClasses as h,getAdaptivePictureClasses as T,getAdaptiveClasses as C,getBackgroundClasses as I,getContainBackgroundClasses as w,getHtml5VideoClasses as k,getWrapperYoutubeClasses as x,getIframeYoutubeClasses as z,getLazyBackgroundClasses as H}from"../common/classes.js";import{getAspectRatio as N,getYoutubeAspectRatio as q,getBackgroundImageHeroBanner as L,getWidth as S,horizontalAlign as B,getEnableBgImageByDevice as A,getBgImage as V,showVideoType as E,getResponsiveSetting as R,fallbackImg as D}from"../common/helpers.js";import{getYoutubeVideoId as M,youtubeVideoRegex as O}from"../../video/common/helpers.js";import U from"../../video/components/LiteYouTubeEmbed.liquid.js";import{isRenderHtmlVideo as W}from"../../grid/components/row/common/helpers.js";import Y from"../../image/components/NextImage.liquid.js";import{PRIORITY_LOAD_ATTRS as F}from"../../image/constants.js";import{getImageSrc as G}from"../../image/common/helpers.js";import{getSeoTranslated as J}from"../../helpers.js";let K=K=>{let{translatedBackground:P,setting:Q,styles:X,children:Z,builderProps:_,rawChildren:ee,pageContext:et}=K,{layout:eo,verticalAlign:es,enableParallax:ei,alt:er,title:el,preload:ea,isYoutubeVideoMigrated:em}=Q??{},{background:ed,overlayColor:en,verticalGutter:ep,sizeSetting:eu,contentWidth:ec,hoverEffect:ef,contentPosition1Col:eg,contentPosition2Col:ev,videoObjectFit:ey}=X??{},ej=!ea&&(et?.enableLazyLoadImage??!0),e$=N(eu,ed),eb=q(ed,ey,e$),eh=R(P||{}),eT=eh.desktop,eC=a({...p(X)}),eI=m({...$(Q,X)}),ew=a({...u(X)}),ek=m({...b(X)}),ex=a({...c(X)}),ez=m({...h(X,Q)}),eH=a({...f(X)}),eN=m({...T()}),eq=m({...C()}),eL=m({...I(ef,ej)}),eS=a({...L(P,ej,!1),...g(X,ei,"")}),eB=m({...w()}),eA=a({...v(X)}),eV=m({...k(!1)}),eE=a({...y(eb,ey)}),eR=m({...x(em)}),eD=a({...j(e$,ey,ed)}),eM=m({...z()}),eO=e=>m({...H(e)});return e`
2
+ <div class="${eI}" style="${eC}">
3
3
  <div
4
- class="${eV}"
5
- style="${eB}"
4
+ class="${eB}"
5
+ style="${eA}"
6
6
  >
7
- <div class="${eH}" style="${eA}">
8
- ${(()=>{if(!er)return o.map(e=>d(B(e,P),Y({src:G(s(E(P),e),e),alt:J({valueTranslate:el,uid:_?.uid,settingId:"alt",pageContext:et??{}}),title:J({valueTranslate:ea,uid:_?.uid,settingId:"title",pageContext:et??{}}),className:eO(e),isDisableAspectStyle:!0,pageContext:et}))).join("")})()}
9
- ${(()=>{if(!R(ed))return;if(W(ed))return a({uid:_?.uid,muted:!0,loop:eC?.loop,controls:!1,autoplay:!0,src:eC?.videoHtml5||"",title:"Video",style:eD,className:eE,pageContext:et});let e=eC?.video??"",t=M(e),o=`&loop=false&playlist=${t}&showinfo=0&rel=0&fs=0&enablejsapi=1`,s=i(e);if(eC?.type==="video"&&eC?.videoType==="youtube"&&t&&O.test(e)||s)return U({uid:_?.uid,id:t??"",translatedVideoUrl:s?e:"",isHeroBanner:!0,autoplay:!0,title:"Video",controls:!1,params:o,adNetwork:!1,noCookie:!0,muted:!0,lazy:eC?.lazyLoad??!0,style:eR,wrapperClass:eS,iframeClass:eM,pageContext:et})})()}
7
+ <div class="${eL}" style="${eS}">
8
+ ${(()=>{if(!ea)return o.map(e=>d(A(e,P),Y({src:G(s(V(P),e),e),resolvedSrc:s(V(ed),e)?.src,sizeTarget:"HeroBanner",alt:J({valueTranslate:er,uid:_?.uid,settingId:"alt",pageContext:et??{}}),title:J({valueTranslate:el,uid:_?.uid,settingId:"title",pageContext:et??{}}),className:eO(e),isDisableAspectStyle:!0}))).join("")})()}
9
+ ${(()=>{if(!E(ed))return;if(W(ed))return l({uid:_?.uid,muted:!0,loop:eT?.loop,controls:!1,autoplay:!0,src:eT?.videoHtml5||"",title:"Video",style:eD,className:eV});let e=eT?.video??"",t=M(e),o=`&loop=false&playlist=${t}&showinfo=0&rel=0&fs=0&enablejsapi=1`,s=i(e);if(eT?.type==="video"&&eT?.videoType==="youtube"&&t&&O.test(e)||s)return U({uid:_?.uid,id:t??"",translatedVideoUrl:s?e:"",isHeroBanner:!0,autoplay:!0,title:"Video",controls:!1,params:o,adNetwork:!1,noCookie:!0,muted:!0,lazy:eT?.lazyLoad??!0,style:eE,wrapperClass:eR,iframeClass:eM})})()}
10
10
  </div>
11
- ${d(!!en,e`<div aria-label="Overlay" class="${ek}" style="${eT}"> </div>`)}
11
+ ${d(!!en,e`<div aria-label="Overlay" class="${ek}" style="${ew}"> </div>`)}
12
12
  </div>
13
- ${n({className:eN,style:ex,setting:{layout:eo,horizontalAlign:V(eo,ey,eg),verticalAlign:es},styles:{verticalGutter:ep,width:A(ec),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},children:Z,rawChildren:ee})}
14
- ${l({pictureClass:eL,srcSet:E(P),className:ez,...er&&F,aspectRatio:t(eu),style:eq,alt:J({valueTranslate:el,uid:_?.uid,settingId:"alt",pageContext:et??{}}),title:J({valueTranslate:ea,uid:_?.uid,settingId:"title",pageContext:et??{}}),pageContext:et,fallbackImg:D})}
13
+ ${n({className:ez,style:ex,setting:{layout:eo,horizontalAlign:B(eo,eg,ev),verticalAlign:es},styles:{verticalGutter:ep,width:S(ec),fullWidth:{desktop:!1,tablet:!1,mobile:!1}},children:Z,rawChildren:ee})}
14
+ ${r({pictureClass:eN,srcSet:V(P),className:eq,...ea&&F,aspectRatio:t(eu),style:eH,alt:J({valueTranslate:er,uid:_?.uid,settingId:"alt",pageContext:et??{}}),title:J({valueTranslate:el,uid:_?.uid,settingId:"title",pageContext:et??{}}),pageContext:et,fallbackImg:D,resolvedSrcSet:V(ed),sizeTarget:"HeroBanner"})}
15
15
  </div>
16
16
  `};export{K as default};
@@ -1 +1 @@
1
- import t from"./settings/HeroBanner.js";import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"./common/animation-manager.js";import"../image/components/AdaptiveImage.js";import"next/image";import"../common/const.js";import"react-youtube";import"next/head";let e={HeroBanner:t};export{e as bannerSetting};
1
+ import t from"./settings/HeroBanner.js";import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"./common/animation-manager.js";import"../image/components/AdaptiveImage.js";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import"../common/const.js";import"react-youtube";import"next/head";let m={HeroBanner:t};export{m as bannerSetting};
@@ -0,0 +1 @@
1
+ import{FALLBACK_IMAGE as e,getImageSrc as t}from"./helpers.js";import{getImageSrcset as r}from"./srcset.js";import{getImageSizes as s}from"./sizes.js";let i={mobile:"(max-width: 767px)",tablet:"(max-width: 1024px)"},m=["mobile","tablet"],o=({srcSet:o,resolvedSrcSet:l,fallbackImg:p,sizeTarget:c,qualityType:a,qualityPercent:d,isLiquid:f})=>{let x=e=>(f?t(e):e?.src)||"",b=({src:e,device:t})=>r({src:e,resolvedSrc:l?.[t]?.src,sizeTarget:c,qualityType:a,qualityPercent:d}),u=s(),A=x(o?.desktop)||p||e,g=b({src:A,device:"desktop"}),h=m.flatMap(e=>{let t=x(o?.[e]);if(!t)return[];let r=b({src:t,device:e});return[{media:i[e],srcset:r??t,...r&&{sizes:u}}]});return{img:{src:A,srcset:g,...g&&{sizes:u}},sources:h}};export{i as ADAPTIVE_SOURCE_MEDIA,o as getAdaptiveImageSources};
@@ -1 +1 @@
1
- import{getAspectRatio as e,getNewBackupFileKey as t,getImageSrc as a,safeStringify as r,IMAGE_PLACEHOLDER as s,NEXT_IMAGE_CONFIG as l,getSrcSet as i,createBlurDataURL as o}from"./helpers.js";import{HREF_TO_SALES_PAGE as g}from"../../constant.js";import{PRIORITY_LOAD_ATTRS as p}from"../constants.js";import{createAttr as n}from"@gem-sdk/system";let c=(e,t)=>({...e,...t&&{"data-id":t}}),u=({urlData:e,imageLink:t,title:a,isLiquid:r=!1})=>{let s=r?{...e,...t?.noFollow&&{rel:"nofollow"},title:a}:{setting:e,title:a};return t?.type!=="go-to-sales-page"?t?.link?s:{}:r?{href:g,target:"_self"}:{setting:{href:g,target:"_self"}}},d=({pageContext:e})=>({...e&&{pageContext:e}}),y=({styles:s,setting:l,isLiquid:i})=>{let{alt:o,srcSet:g,priority:n,qualityPercent:c,qualityType:u,title:d}=l??{},y=e({styles:s,setting:l}),m=g?.desktop?.backupFileKey?t(g?.desktop?.backupFileKey??"",g?.desktop?.src??""):"",L=i?a({src:g?.desktop?.src,backupFileKey:m,backupFilePath:g?.desktop?.backupFilePath,storage:g?.desktop?.storage}):g?.desktop?.src??"",A=n?{}:{"base-src":L??"","quality-type":r(u),"quality-percent":r(c)};return{pictureClass:"gp-contents",...o&&{alt:o},...d&&{title:d},...g&&{srcSet:g},...n&&p,...A,...s?.objectFit&&{layout:s.objectFit},aspectRatio:y}},m=({styles:t,setting:a})=>{let{objectFit:r}=t??{},{vw:s,alt:l,title:i,quality:o,priority:g,isNotLazyload:p,qualityType:n,qualityPercent:c}=a??{},u=e({styles:t,setting:a});return{...a?.image,...s&&{vw:s},...l&&{alt:l},...i&&{title:i},...o&&{quality:o},...g&&{priority:g},isNotLazyload:p,setting:{aspectRatio:u,layout:r,qualityType:n,qualityPercent:c}}},L=e=>{let{srcset:s,setting:g,storage:p,baseSrc:c,priority:u,customAttrs:d,width:y=2237,height:m=1678,isNotLazyload:L,backupFileKey:A,backupFilePath:b,srcIsLiquidCode:k,pageContext:F,alt:f=l.DEFAULT_ALT,title:h,src:T=l.DEFAULT_SRC,sizes:E=l.DEFAULT_SIZES}=e,_=!L&&(F?.enableLazyLoadImage??!0)&&!u;return n({...d,...(()=>{let{qualityPercent:e,qualityType:t}=g??{},a=!u&&t&&e?{"quality-type":r(t),"quality-percent":r(e)}:{"quality-type":"","quality-percent":""};return{...f&&{alt:f},...h&&{title:h},width:y,height:m,draggable:"false",...a}})(),...(()=>{let e=A?t(A??"",T):"",r=k?c:a({src:T,backupFileKey:e,backupFilePath:b,storage:p}),l=k?T:i(e??"",p??"THEME",T),g={sizes:"100vw",src:o(y,m),...r&&!u?{"base-src":r}:{},...r?{"data-src":r}:{},...l?{"data-srcset":l}:{}},n={sizes:E,src:r??"",isNotLazyload:"true",srcset:s??"",...r&&!u?{"base-src":r}:{},...u?{loading:"eager",fetchpriority:"high"}:{loading:"lazy"}};return{"data-sizes":"auto",..._?g:n}})()})},A=e=>{let{width:t=l.DEFAULT_WIDTH_PROPS,height:a=l.DEFAULT_HEIGHT_PROPS,quality:r,priority:i,isNotLazyload:o,pageContext:g,base64:p=s,alt:c=l.DEFAULT_ALT,title:u,src:d=l.DEFAULT_SRC}=e,y=!o&&(g?.enableLazyLoadImage??!0)&&!i,m=n((()=>{let e={loading:"lazy",placeholder:"blur",...p&&{blurDataURL:p}};return{...y?e:{loading:"eager",fetchpriority:"high"}}})());return{src:d,alt:c,title:u,width:t,height:a,quality:r,...m}};export{y as getAdaptiveImageAttrs,c as getContainerAttrs,d as getImageLiquidAttrs,u as getLinkWrapperAttrs,m as getNextImageAttrs,L as getNextImageLiquidAttrs,A as getNextImageReactAttrs};
1
+ import{getListAwareLoadingReactAttrs as t,getListAwareReactSizes as e,getListAwareSizes as r,getListAwareLoadingAttrs as i}from"./listContext.js";import{getAspectRatio as s,NEXT_IMAGE_CONFIG as a,getNewBackupFileKey as o,getImageSrc as l}from"./helpers.js";import{HREF_TO_SALES_PAGE as g}from"../../constant.js";import{createAttr as n}from"@gem-sdk/system";import{getImageSrcset as p}from"./srcset.js";import{getImageSizes as u}from"./sizes.js";let y=(t,e)=>({...t,...e&&{"data-id":e}}),c=({urlData:t,imageLink:e,title:r,isLiquid:i=!1})=>{let s=i?{...t,...e?.noFollow&&{rel:"nofollow"},title:r}:{setting:t,title:r};return e?.type!=="go-to-sales-page"?e?.link?s:{}:i?{href:g,target:"_self"}:{setting:{href:g,target:"_self"}}},m=({pageContext:t})=>({...t&&{pageContext:t}}),A="eager",T=t=>t?{loading:A,fetchpriority:"high"}:{loading:"lazy"},f=t=>t.fetchpriority?t:{...t,fetchpriority:"low"},d=t=>f(T(t)),L=({priority:t,isNotLazyload:e})=>t||!e?T(t):{loading:A},F=({styles:t,setting:e,sizeTarget:r,resolvedSrcSet:i})=>{let{alt:a,srcSet:o,priority:l,title:g,qualityType:n,qualityPercent:p}=e??{},u=s({styles:t,setting:e});return{pictureClass:"gp-contents",...a&&{alt:a},...g&&{title:g},...o&&{srcSet:o},...i&&{resolvedSrcSet:i},...l&&{priority:l},...r&&{sizeTarget:r},...n&&{qualityType:n},...p&&{qualityPercent:p},...t?.objectFit&&{layout:t.objectFit},aspectRatio:u}},q=({styles:t,setting:e})=>{let{objectFit:r}=t??{},{vw:i,alt:a,title:o,quality:l,priority:g,isNotLazyload:n,qualityType:p,qualityPercent:u}=e??{},y=s({styles:t,setting:e});return{...e?.image,...i&&{vw:i},...a&&{alt:a},...o&&{title:o},...l&&{quality:l},...g&&{priority:g},isNotLazyload:n,setting:{aspectRatio:y,layout:r,qualityType:p,qualityPercent:u}}},D=t=>{let{id:e,src:s=a.DEFAULT_SRC,alt:g=a.DEFAULT_ALT,title:y,sizes:c,srcset:m,storage:A,baseSrc:T,priority:d,customAttrs:F,width:q=a.DEFAULT_WIDTH,height:D=a.DEFAULT_HEIGHT,setting:E,sizeTarget:_,resolvedSrc:I,isNotLazyload:h,backupFileKey:U,backupFilePath:j,srcIsLiquidCode:b}=t,H=(()=>{if(b)return{src:s,...m&&{srcset:m}};let t=U?o(U,s):"",e=l({src:s,backupFileKey:t,backupFilePath:j,storage:A}),r=p({src:e,resolvedSrc:I,sizeTarget:_,qualityType:E?.qualityType,qualityPercent:E?.qualityPercent});return{src:e,...r&&{srcset:r}}})(),x=b?r():u(),C=c||(H.srcset?x:void 0);return n({...F,...e&&{id:e},...g&&{alt:g},...y&&{title:y},width:q,height:D,draggable:"false",...H,...C&&{sizes:C},...T&&{"base-src":T},...b?i(d):f(L({priority:d,isNotLazyload:h}))})},E=({props:r,listHints:i})=>{let{id:s,src:o=a.DEFAULT_SRC,alt:l=a.DEFAULT_ALT,title:g,sizes:n,width:u=a.DEFAULT_WIDTH,height:y=a.DEFAULT_HEIGHT,priority:c,setting:m,sizeTarget:A,listAware:T,isNotLazyload:f}=r,d=p({src:o,sizeTarget:A,qualityType:m?.qualityType,qualityPercent:m?.qualityPercent}),F=T&&d?e(i):void 0,q=n||F;return{...s&&{id:s},...l&&{alt:l},...g&&{title:g},width:u,height:y,draggable:"false",src:o,...d&&{srcSet:d},...q&&{sizes:q},...T?t({priority:c,listHints:i}):L({priority:c,isNotLazyload:f})}};export{F as getAdaptiveImageAttrs,y as getContainerAttrs,m as getImageLiquidAttrs,c as getLinkWrapperAttrs,d as getLiquidLoadingAttrs,T as getLoadingAttrs,q as getNextImageAttrs,D as getNextImageLiquidAttrs,E as getNextImageReactAttrs};
@@ -1 +1 @@
1
- import{handleConvertClassColor as e,getFlexGrowClassByShapeGlobalSize as l}from"@gem-sdk/core";let g=(e,g,a)=>{let t=l(a);return{"gp-group/image gp-relative":!0,[`force-publish-${new Date().getTime()}`]:!0,...t,...e&&{[e]:!0},...g&&{[g]:!0}}},a=()=>({"gp-h-full gp-w-full gp-flex pointer-events-auto":!0}),t=(l,g)=>{let a=e(g?.borderImg);return{...l&&{[l]:!0},...a&&{[a]:!0},"gp-inline-block gp-w-full gp-max-w-full":!0}},p=({className:e,hasLazyLoad:l,isOptimizePlan:g=!1})=>({...e&&{[e]:!0},gp_lazyload:l,gp_force_load:g}),r=({className:e,hasLazyLoad:l=!1,hasForceLoad:g=!1})=>({...e&&{[e]:!0},gp_lazyload:l,gp_force_load:g});export{r as getAdaptiveImageClasses,g as getContainerClasses,t as getImageClasses,p as getNextImageClasses,a as getWrapperClasses};
1
+ import{handleConvertClassColor as e,getFlexGrowClassByShapeGlobalSize as g}from"@gem-sdk/core";let l=(e,l,t)=>{let s=g(t);return{"gp-group/image gp-relative":!0,[`force-publish-${new Date().getTime()}`]:!0,...s,...e&&{[e]:!0},...l&&{[l]:!0}}},t=()=>({"gp-h-full gp-w-full gp-flex pointer-events-auto":!0}),s=(g,l)=>{let t=e(l?.borderImg);return{...g&&{[g]:!0},...t&&{[t]:!0},"gp-inline-block gp-w-full gp-max-w-full":!0}},r=({className:e})=>({...e&&{[e]:!0}}),a=({className:e})=>({...e&&{[e]:!0}});export{a as getAdaptiveImageClasses,l as getContainerClasses,s as getImageClasses,r as getNextImageClasses,t as getWrapperClasses};
@@ -1,4 +1,4 @@
1
- import{getCornerCSSFromGlobal as e,getAspectRatioGlobalSize as t,hasTranslatedLiquid as i,makeStyleResponsive as r,DEVICES as l,getResponsiveValueByScreen as a,cloneDeep as s}from"@gem-sdk/core";import{REGEX_IS_NON_RESIZABLE_IMAGE as o,REGEX_IS_NON_RESIZABLE_IMAGE_BY_QUERY as n}from"./const.js";import{getDynamicSourceLocales as g,createSettingId as c}from"../../helpers.js";import{Image as d}from"../settings/configs/translate.js";let u=t=>{let i={...t},r=!0;return i&&Object.keys(i??{}).forEach(e=>{if("bblr"===e||"bbrr"===e||"btlr"===e||"btrr"===e){let t=i[e]??{};"0px"!==t&&(r=!1)}}),r?e(i):{}},m=({styles:e,setting:i})=>{let{srcSet:r,image:l}=i??{},{customAspectRadio:a,shape:s}=e??{},o={desktop:f({device:"desktop",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.desktop:l,custom:a}),tablet:f({device:"tablet",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.tablet:l,custom:a}),mobile:f({device:"mobile",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.mobile:l,custom:a})};return s?t(s):o},f=({device:e,aspect:t,custom:i,auto:r})=>{let l=t?.[e];return"auto"===l?r?.height?`${r.width}/${r.height}`:void 0:"custom"===l?i?.[e]?.height?`${i?.[e]?.width}/${i?.[e]?.height}`:void 0:l},p=({layout:e,isDisableObjectFit:t})=>t?{}:r("objf",e),h=({isDisableAspectStyle:e,aspectRatio:t,objectFits:i,width:r,height:a})=>{if(e)return{};let s={};return l.forEach(e=>{let l=`--objf${"desktop"!==e?`-${e}`:""}`,o=i?.[l]||i?.["--objf"];if(t?.[e]==="auto"&&"contain"===o){s[e]="auto";return}s[e]=t?.[e]!=="auto"&&t?.[e]?t[e]:`${r}/${a}`}),s},b=e=>JSON.stringify(e||{}).replace(/"/g,"&quot;"),A=(e,t)=>`<svg width="${e}" height="${t}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
1
+ import{getCornerCSSFromGlobal as e,getAspectRatioGlobalSize as t,makeStyleResponsive as i,DEVICES as r,hasTranslatedLiquid as l,getResponsiveValueByScreen as a,cloneDeep as s}from"@gem-sdk/core";import{REGEX_IS_NON_RESIZABLE_IMAGE_BY_QUERY as o,REGEX_IS_NON_RESIZABLE_IMAGE as n}from"./const.js";import{getDynamicSourceLocales as g,createSettingId as c}from"../../helpers.js";import{Image as d}from"../settings/configs/translate.js";let u=t=>{let i={...t},r=!0;return i&&Object.keys(i??{}).forEach(e=>{if("bblr"===e||"bbrr"===e||"btlr"===e||"btrr"===e){let t=i[e]??{};"0px"!==t&&(r=!1)}}),r?e(i):{}},f=({styles:e,setting:i})=>{let{srcSet:r,image:l}=i??{},{customAspectRadio:a,shape:s}=e??{},o={desktop:m({device:"desktop",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.desktop:l,custom:a}),tablet:m({device:"tablet",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.tablet:l,custom:a}),mobile:m({device:"mobile",aspect:e?.aspectRatio,auto:i?.isAdaptive?r?.mobile:l,custom:a})};return s?t(s):o},m=({device:e,aspect:t,custom:i,auto:r})=>{let l=t?.[e];return"auto"===l?r?.height?`${r.width}/${r.height}`:void 0:"custom"===l?i?.[e]?.height?`${i?.[e]?.width}/${i?.[e]?.height}`:void 0:l},p=({layout:e,isDisableObjectFit:t})=>t?{}:i("objf",e),h=({isDisableAspectStyle:e,aspectRatio:t,objectFits:i,width:l,height:a})=>{if(e)return{};let s={};return r.forEach(e=>{let r=`--objf${"desktop"!==e?`-${e}`:""}`,o=i?.[r]||i?.["--objf"];if(t?.[e]==="auto"&&"contain"===o){s[e]="auto";return}s[e]=t?.[e]!=="auto"&&t?.[e]?t[e]:`${l}/${a}`}),s},b=(e,t)=>`<svg width="${e}" height="${t}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2
2
  <defs>
3
3
  <linearGradient id="g-${e}-${t}">
4
4
  <stop stop-color="rgba(51, 51, 51, 0)" offset="20%" />
@@ -9,4 +9,4 @@ import{getCornerCSSFromGlobal as e,getAspectRatioGlobalSize as t,hasTranslatedLi
9
9
  <rect width="${e}" height="${t}" fill="rgba(51, 51, 51, 0)" />
10
10
  <rect id="r" width="${e}" height="${t}" fill="url(#g-${e}-${t})" />
11
11
  <animate xlink:href="#r" attributeName="x" from="-${e}" to="${e}" dur="1s" repeatCount="indefinite" />
12
- </svg>`,w=e=>"undefined"==typeof window?Buffer.from(e).toString("base64"):window.btoa(e),$=(e,t)=>`data:image/svg+xml;base64,${w(A(e,t))}`,_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",S="https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",E={DEFAULT_SIZES:"100vw",DEFAULT_ALT:"Alt image",DEFAULT_SRC:"https://cdn.shopify.com/s/files/1/2005/9307/files/placeholder-1.png?v=1751355990",DEFAULT_WIDTH_PROPS:800,DEFAULT_HEIGHT_PROPS:533},x=e=>{let{srcSet:t,fallbackImg:i}=e;return{getDeviceSource:e=>{let{isLiquid:r}=e??{},l=R(t?.desktop,"desktop",!r)||i||S,a=R(t?.tablet,"tablet",!r)||R(t?.desktop,"tablet",!r)||i||S,s=R(t?.mobile,"mobile",!r)||R(t?.tablet,"mobile",!r)||R(t?.desktop,"mobile",!r)||i||S;return{srcTablet:a,srcMobile:s,srcDesktop:l}}}},I=({setting:e,uid:t,pageContext:i})=>{if(!e||!d)return{};let r=s(e);for(let e in r.srcSet){let l=r.srcSet[e];if(l&&l.src){let r=g({val:l.src,uid:t,settingId:d?.srcSet?.id?`${d.srcSet.id}_${e}_src`:"",pageContext:i??{}});l.src=String(r)}}let l=g({val:r.alt,uid:t,settingId:c({id:d?.alt?.id}),pageContext:i??{}});r.alt=String(l);let a=g({val:r.title,uid:t,settingId:c({id:d?.title?.id}),pageContext:i??{}});return r.title=String(a),r},k=(e,t,i)=>e?C(e,t):F(i),v=e=>o.test(e),y=e=>n.test(e),C=(e,t)=>{let i=T(e);return v(e)?"FILE_CONTENT"==t?`{{ '${i}' | file_url }} 768w, {{ '${i}' | file_url }} 1024w, {{ '${i}' | file_url }} 1440w`:`{{ '${e}' | asset_url }} 768w, {{ '${e}' | asset_url }} 1024w, {{ '${e}' | asset_url }} 1440w`:"FILE_CONTENT"==t?`{{ '${i}' | file_img_url: '768x' }} 768w, {{ '${i}' | file_img_url: '1024x' }} 1024w, {{ '${i}' | file_img_url: 'master' }} 1440w`:`{{ '${e}' | asset_img_url: '768x' }} 768w, {{ '${e}' | asset_img_url: '1024x' }} 1024w, {{ '${e}' | asset_img_url: 'master' }} 1440w`},F=e=>e,R=(e,t,r)=>{if(e?.metafieldDefinitionKey)return N(e?.metafieldDefinitionKey);let l=e?.backupFilePath??e?.src??"";if(r)l=e?.src||"";else{let t=e?.src??"";if(i(t))return t;if(e?.backupFileKey){let t=j(e.backupFileKey,e?.src??"");"THEME"!==e.storage&&e.storage?"FILE_CONTENT"===e.storage&&(l=`{{ "${T(t)}" | file_url }}`):l=`{{ "${t}" | asset_url }}`}}if(t&&l?.includes("cdn.shopify")&&!y(l))switch(t){case"tablet":l=l?.includes("?")?`${l}&width=1024`:`${l}?width=1024`;break;case"mobile":l=l?.includes("?")?`${l}&width=768`:`${l}?width=768`}return l},N=e=>`{{${e} | file_url}}`,T=e=>e.replace(/\.jpeg|\.jfif/g,".jpg"),j=(e,t)=>{let i=t?.match(/\/files\/([^\/]+\.(jpg|jpeg|gif|png|webp|svg))/)?.[1];return i&&i!=e?i:e};function L(e,t){let i=D({str:e,reg:/_(pico|icon|thumb|small|compact|medium|large|grande|original|1024x1024|2048x2048|master)+\./g,newString:"."});if(v(i))return i;let r=D({str:i,reg:/\.jpg|\.png|\.jpeg/g,newString:t,isAdd:!0});return r}let D=e=>{let t=e.str,i=e.str.match(e.reg)?.length;if(i){let r,l=1;for(;null!==(r=e.reg.exec(e.str));){if(l===i){let i=e.reg.lastIndex,l=i-r[0].length;e.isAdd&&(e.newString="_"+e.newString+r),t=t.slice(0,l)+e.newString+t.slice(i,t.length)}l++}}return t},W=(e,t)=>{let i=z(),r=t?.[i]||"auto";if("auto"===r||r.includes("%"))return e;let l=Number(r.replace("px",""));return l>e?e:Number(r.replace("px",""))},O=e=>{let{itemWidthParam:t,imageWidthSetting:i,qualityType:r,qualityPercent:l}=e,s=z(),o=W(t,i),n=a(r,s,"finest"),g=a(l,s,100);switch(n){case"finest":default:return"auto";case"high":return Math.round(1.5*o)||1;case"medium":return Math.round(o)||1;case"custom":return Math.round(o*(Number(g)/100))||1}},B=e=>{let t={desktop:"100%",tablet:"100%",mobile:"100%"};return l.forEach(i=>{let r=a(e,i)?.width||"100%";t[i]=r}),t},K=e=>{let t={desktop:"100%",tablet:"100%",mobile:"100%"};return l.forEach(i=>{let r=a(e,i)?.width||"100%";t[i]=r}),t},P=e=>{let t=document.querySelectorAll(`.gem-slider-item-${e}.gp-gallery-image-item`),i=0;return t.forEach(e=>{e.offsetWidth>i&&(i=e.offsetWidth)}),i},U=e=>{let t=document.querySelectorAll(`.gem-slider-item-${e}.gp-ft-image-item`),i=0;return t.forEach(e=>{e.offsetWidth>i&&(i=e.offsetWidth)}),i},G=e=>{let{shapeByLayout:t,qualityType:i,qualityPercent:r,builderPropUID:l}=e,a=document.querySelectorAll(`.gem-slider-item-${l}.gp-gallery-image-item`),s=K(t),o=P(l);a.forEach(e=>{q({item:e,settingWidth:s,width:o,qualityType:i,qualityPercent:r})})},M=e=>{let{ftShape:t,qualityType:i,qualityPercent:r,builderPropUID:l}=e,a=document.querySelectorAll(`.gem-slider-item-${l}.gp-ft-image-item`),s=B(t),o=U(l);a.forEach(e=>{q({item:e,settingWidth:s,width:o,qualityType:i,qualityPercent:r})})},q=e=>{let{item:t,settingWidth:i,width:r,qualityType:l,qualityPercent:a}=e,s=z(),o=t.querySelector("img");if(o){let e=O({itemWidthParam:r,imageWidthSetting:i,qualityType:l,qualityPercent:a}),t=o.getAttribute("base-src");if(!t)return;let n=H(e,t),g=Q(t,n,s);o.setAttribute("srcset",g)}},H=(e,t)=>"auto"===e?t:L(t,`${e}x`),Q=(e,t,i)=>`${"mobile"===i&&e!==t?t:L(e,"768x")} 767w, ${"tablet"===i&&e!==t?t:L(e,"1024x")} 1023w, ${"desktop"===i&&e!==t?t:L(e,"1920x")} 1440w`,z=()=>window.innerWidth<768?"mobile":window.innerWidth>=768&&window.innerWidth<1025?"tablet":"desktop";export{S as FALLBACK_IMAGE,_ as IMAGE_PLACEHOLDER,E as NEXT_IMAGE_CONFIG,f as composeAspectRatio,$ as createBlurDataURL,x as getAdaptiveImageData,m as getAspectRatio,h as getAspectRatioNextImage,z as getCurrentDevice,R as getImageSrc,O as getImageWidthFollowByQuality,j as getNewBackupFileKey,p as getResponsiveObjectFit,I as getSettingTranslatedImageAndSeo,k as getSrcSet,M as handleSetSrcForFeatureProductImage,G as handleSetSrcForProductImageList,v as isCannotResizeImage,y as isCannotResizeImageByQuery,u as overwriteDefaultRadius,T as replaceBackupFileKeyFileContent,L as resizeImage,b as safeStringify,A as shimmer,w as toBase64};
12
+ </svg>`,w=e=>"undefined"==typeof window?Buffer.from(e).toString("base64"):window.btoa(e),$=(e,t)=>`data:image/svg+xml;base64,${w(b(e,t))}`,S="https://cdn.shopify.com/s/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_large.gif",A={DEFAULT_ALT:"Alt image",DEFAULT_SRC:"https://cdn.shopify.com/s/files/1/2005/9307/files/placeholder-1.png?v=1751355990",DEFAULT_WIDTH:2237,DEFAULT_HEIGHT:1678},x=({setting:e,uid:t,pageContext:i})=>{if(!e||!d)return{};let r=s(e);for(let e in r.srcSet){let l=r.srcSet[e];if(l&&l.src){let r=g({val:l.src,uid:t,settingId:d?.srcSet?.id?`${d.srcSet.id}_${e}_src`:"",pageContext:i??{}});l.src=String(r)}}let l=g({val:r.alt,uid:t,settingId:c({id:d?.alt?.id}),pageContext:i??{}});r.alt=String(l);let a=g({val:r.title,uid:t,settingId:c({id:d?.title?.id}),pageContext:i??{}});return r.title=String(a),r},y=e=>n.test(e),v=e=>o.test(e),E=(e,t,i)=>{if(e?.metafieldDefinitionKey)return k(e?.metafieldDefinitionKey);let r=e?.backupFilePath??e?.src??"";if(i)r=e?.src||"";else{let t=e?.src??"";if(l(t))return t;if(e?.backupFileKey){let t=F(e.backupFileKey,e?.src??"");"THEME"!==e.storage&&e.storage?"FILE_CONTENT"===e.storage&&(r=`{{ "${I(t)}" | file_url }}`):r=`{{ "${t}" | asset_url }}`}}if(t&&r?.includes("cdn.shopify")&&!v(r))switch(t){case"tablet":r=r?.includes("?")?`${r}&width=1024`:`${r}?width=1024`;break;case"mobile":r=r?.includes("?")?`${r}&width=768`:`${r}?width=768`}return r},k=e=>`{{${e} | file_url}}`,I=e=>e.replace(/\.jpeg|\.jfif/g,".jpg"),F=(e,t)=>{let i=t?.match(/\/files\/([^\/]+\.(jpg|jpeg|gif|png|webp|svg))/)?.[1];return i&&i!=e?i:e};function _(e,t){let i=j({str:e,reg:/_(pico|icon|thumb|small|compact|medium|large|grande|original|1024x1024|2048x2048|master)+\./g,newString:"."});if(y(i))return i;let r=j({str:i,reg:/\.jpg|\.png|\.jpeg/g,newString:t,isAdd:!0});return r}let j=e=>{let t=e.str,i=e.str.match(e.reg)?.length;if(i){let r,l=1;for(;null!==(r=e.reg.exec(e.str));){if(l===i){let i=e.reg.lastIndex,l=i-r[0].length;e.isAdd&&(e.newString="_"+e.newString+r),t=t.slice(0,l)+e.newString+t.slice(i,t.length)}l++}}return t},W=(e,t)=>{let i=q(),r=t?.[i]||"auto";if("auto"===r||r.includes("%"))return e;let l=Number(r.replace("px",""));return l>e?e:Number(r.replace("px",""))},C=e=>{let{itemWidthParam:t,imageWidthSetting:i,qualityType:r,qualityPercent:l}=e,s=q(),o=W(t,i),n=a(r,s,"finest"),g=a(l,s,100);switch(n){case"finest":default:return"auto";case"high":return Math.round(1.5*o)||1;case"medium":return Math.round(o)||1;case"custom":return Math.round(o*(Number(g)/100))||1}},R=e=>{let t={desktop:"100%",tablet:"100%",mobile:"100%"};return r.forEach(i=>{let r=a(e,i)?.width||"100%";t[i]=r}),t},T=e=>{let t={desktop:"100%",tablet:"100%",mobile:"100%"};return r.forEach(i=>{let r=a(e,i)?.width||"100%";t[i]=r}),t},D=e=>{let t=document.querySelectorAll(`.gem-slider-item-${e}.gp-gallery-image-item`),i=0;return t.forEach(e=>{e.offsetWidth>i&&(i=e.offsetWidth)}),i},L=e=>{let t=document.querySelectorAll(`.gem-slider-item-${e}.gp-ft-image-item`),i=0;return t.forEach(e=>{e.offsetWidth>i&&(i=e.offsetWidth)}),i},N=e=>{let{shapeByLayout:t,qualityType:i,qualityPercent:r,builderPropUID:l}=e,a=document.querySelectorAll(`.gem-slider-item-${l}.gp-gallery-image-item`),s=T(t),o=D(l);a.forEach(e=>{K({item:e,settingWidth:s,width:o,qualityType:i,qualityPercent:r})})},B=e=>{let{ftShape:t,qualityType:i,qualityPercent:r,builderPropUID:l}=e,a=document.querySelectorAll(`.gem-slider-item-${l}.gp-ft-image-item`),s=R(t),o=L(l);a.forEach(e=>{K({item:e,settingWidth:s,width:o,qualityType:i,qualityPercent:r})})},K=e=>{let{item:t,settingWidth:i,width:r,qualityType:l,qualityPercent:a}=e,s=q(),o=t.querySelector("img");if(o){let e=C({itemWidthParam:r,imageWidthSetting:i,qualityType:l,qualityPercent:a}),t=o.getAttribute("base-src");if(!t)return;let n=G(e,t),g=M(t,n,s);o.setAttribute("srcset",g)}},G=(e,t)=>"auto"===e?t:_(t,`${e}x`),M=(e,t,i)=>`${"mobile"===i&&e!==t?t:_(e,"768x")} 767w, ${"tablet"===i&&e!==t?t:_(e,"1024x")} 1023w, ${"desktop"===i&&e!==t?t:_(e,"1920x")} 1440w`,q=()=>window.innerWidth<768?"mobile":window.innerWidth>=768&&window.innerWidth<1025?"tablet":"desktop";export{S as FALLBACK_IMAGE,A as NEXT_IMAGE_CONFIG,m as composeAspectRatio,$ as createBlurDataURL,f as getAspectRatio,h as getAspectRatioNextImage,q as getCurrentDevice,E as getImageSrc,C as getImageWidthFollowByQuality,F as getNewBackupFileKey,p as getResponsiveObjectFit,x as getSettingTranslatedImageAndSeo,B as handleSetSrcForFeatureProductImage,N as handleSetSrcForProductImageList,y as isCannotResizeImage,v as isCannotResizeImageByQuery,u as overwriteDefaultRadius,I as replaceBackupFileKeyFileContent,_ as resizeImage,b as shimmer,w as toBase64};
@@ -0,0 +1 @@
1
+ import{getSrcsetCandidates as e,isEveryCandidateOriginal as t,ORIGINAL_QUALITY as r}from"./srcset.js";let i=5760,a=({liquidSrc:e,width:t,descriptor:a})=>t===r?`{{ ${e} | image_url }} ${a}w`:`{{ ${e} | image_url: width: ${Math.min(t,i)} }} ${a}w`,m=({liquidSrc:r,fallbackSrc:i="",...m})=>{let u=(e,t="")=>`{% if ${r} != blank %}${e}${t&&`{% else %}${t}`}{% endif %}`,$=u(`{{ ${r} | image_url }}`,i),l=e(m);if(t(l))return{src:$};let g=l.map(e=>a({liquidSrc:r,...e})).join(", ");return{src:$,srcset:u(g)}},u=({liquidSrc:r,sizeTarget:i="ProductFeatureImage",qualityType:m,qualityPercent:u})=>{let $=e({sizeTarget:i,qualityType:m,qualityPercent:u});if(!t($))return $.map(e=>a({liquidSrc:r,...e})).join(", ")};export{i as SHOPIFY_IMAGE_URL_MAX_WIDTH,m as getLiquidImageObjectSources,u as getLiquidImageSrcset};
@@ -0,0 +1 @@
1
+ import{LIST_IMAGE_LIQUID_VARS as e}from"@gem-sdk/core";import{getImageSizes as i}from"./sizes.js";let t={EAGER:"eager",LAZY:"lazy"},r={HIGH:"high",AUTO:"auto",LOW:"low"},o=i(),A=i=>i?{loading:`{% if ${e.LOADING} == '${t.LAZY}' %}${t.LAZY}{% else %}${t.EAGER}{% endif %}`,fetchpriority:`{% if ${e.FETCH_PRIORITY} == '${r.AUTO}' %}${r.AUTO}{% else %}${r.HIGH}{% endif %}`}:{loading:t.LAZY,fetchpriority:r.LOW},a=()=>`{{ ${e.SIZES} | default: '${o}' }}`,s=({priority:e,listHints:i})=>e?{loading:i?.loading??t.EAGER,fetchpriority:i?.fetchpriority??r.HIGH}:{loading:t.LAZY},g=e=>e?.sizes??"100vw";export{A as getListAwareLoadingAttrs,s as getListAwareLoadingReactAttrs,g as getListAwareReactSizes,a as getListAwareSizes};
@@ -0,0 +1 @@
1
+ import{createContext as t}from"react";let e=t(void 0);export{e as ListImageContext};
@@ -0,0 +1 @@
1
+ let e=100,t=e=>`${Number(e.toFixed(2))}vw`,x=({slotVw:x=e}={})=>`(max-width: 1024px) ${t(x/2)}, ${t(x)}`;export{x as getImageSizes};