@gem-sdk/components 19.0.0-staging.8 → 19.1.0-dev.0

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 (258) hide show
  1. package/dist/cjs/accordion/components/Accordion.liquid.js +4 -5
  2. package/dist/cjs/builder.js +1 -1
  3. package/dist/cjs/button/components/Button.liquid.js +15 -15
  4. package/dist/cjs/carousel/components/root/Carousel.liquid.js +5 -4
  5. package/dist/cjs/carousel-v3/common/selectors.js +1 -0
  6. package/dist/cjs/carousel-v3/components/arrow/Arrow.liquid.js +8 -8
  7. package/dist/cjs/carousel-v3/components/arrow/common/classes.js +1 -1
  8. package/dist/cjs/carousel-v3/components/dot/common/helpers.js +1 -1
  9. package/dist/cjs/carousel-v3/components/item/CarouselItem.js +1 -1
  10. package/dist/cjs/carousel-v3/components/root/Carousel.js +1 -1
  11. package/dist/cjs/carousel-v3/components/root/Carousel.liquid.js +6 -5
  12. package/dist/cjs/carousel-v3/components/root/CarouselEmbla.liquid.js +24 -0
  13. package/dist/cjs/carousel-v3/components/root/common/attrs.js +1 -1
  14. package/dist/cjs/carousel-v3/components/root/common/helpers.js +1 -1
  15. package/dist/cjs/carousel-v3/components/swiper/Swiper.js +1 -1
  16. package/dist/cjs/carousel-v3/hooks/useCarousel.js +1 -1
  17. package/dist/cjs/carousel-v3/index.js +1 -1
  18. package/dist/cjs/cart/components/shop-pay-button/ShopPayButton.liquid.js +2 -2
  19. package/dist/cjs/collection/components/collection-description/CollectionDescription.liquid.js +7 -8
  20. package/dist/cjs/collection/components/collection-paginator/CollectionPaginator.liquid.js +4 -3
  21. package/dist/cjs/collection/components/collection-toolbar/CollectionToolbar.liquid.js +1 -1
  22. package/dist/cjs/countdown-timer/components/Countdown.liquid.js +16 -15
  23. package/dist/cjs/estimate-delivery/common/helpers.js +1 -1
  24. package/dist/cjs/grid/components/row/Row.liquid.js +16 -11
  25. package/dist/cjs/hero-banner/common/classes.js +1 -1
  26. package/dist/cjs/hero-banner/common/helpers.js +1 -1
  27. package/dist/cjs/hero-banner/components/HeroBanner.js +1 -1
  28. package/dist/cjs/hero-banner/components/HeroBanner.liquid.js +11 -11
  29. package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
  30. package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +9 -9
  31. package/dist/cjs/icon-list-v2/components/IconList.liquid.js +5 -5
  32. package/dist/cjs/image/common/attrs.js +1 -1
  33. package/dist/cjs/image/components/AdaptiveImage.js +1 -1
  34. package/dist/cjs/image/components/AdaptiveImage.liquid.js +8 -8
  35. package/dist/cjs/image/components/Image.liquid.js +10 -10
  36. package/dist/cjs/image/components/NextImage.js +1 -1
  37. package/dist/cjs/image/components/NextImage.liquid.js +2 -2
  38. package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
  39. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +11 -11
  40. package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
  41. package/dist/cjs/index.js +1 -1
  42. package/dist/cjs/index.liquid.js +1 -1
  43. package/dist/cjs/marquee/components/Marquee.liquid.js +21 -21
  44. package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -1
  45. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
  46. package/dist/cjs/post-purchase/product/components/product-offer/context/PrdOfferSubscriptionPresenceContext.js +2 -0
  47. package/dist/cjs/post-purchase/product/components/product-offer/helpers/scanSubscriptionBlocks.js +1 -0
  48. package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferSubscriptionBlocksObserver.js +1 -0
  49. package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
  50. package/dist/cjs/product/components/ProductImages.liquid.js +9 -9
  51. package/dist/cjs/product/components/dynamic-checkout/Button.liquid.js +9 -9
  52. package/dist/cjs/product/components/file-upload/UploadFile.liquid.js +2 -3
  53. package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
  54. package/dist/cjs/product/components/product-badge/ProductBadge.liquid.js +15 -15
  55. package/dist/cjs/product/components/product-badge/common/classes.js +1 -1
  56. package/dist/cjs/product/components/product-badge/utils/renderBadgeILP.js +1 -1
  57. package/dist/cjs/product/components/product-badge/utils/renderBadgeLiquid.js +7 -5
  58. package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.liquid.js +4 -3
  59. package/dist/cjs/product/components/product-button/ProductButton.liquid.js +8 -7
  60. package/dist/cjs/product/components/product-button/common/helpers.js +1 -1
  61. package/dist/cjs/product/components/product-button/hooks/useAddToCart.js +1 -1
  62. package/dist/cjs/product/components/product-description/ProductDescription.js +1 -1
  63. package/dist/cjs/product/components/product-description/ProductDescription.liquid.js +3 -4
  64. package/dist/cjs/product/components/product-description/hooks/useGpDescription.js +1 -1
  65. package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.liquid.js +5 -5
  66. package/dist/cjs/product/components/product-images-v2/ProductImagesV2.liquid.js +19 -19
  67. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +5 -5
  68. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
  69. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +5 -5
  70. package/dist/cjs/product/components/product-images-v3/ProductImageV3.js +2 -2
  71. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +19 -19
  72. package/dist/cjs/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +44 -0
  73. package/dist/cjs/product/components/product-images-v3/common/classes.js +1 -1
  74. package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
  75. package/dist/cjs/product/components/product-images-v3/common/getBorderActiveCss.js +2 -1
  76. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -1
  77. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageCarousel.js +1 -1
  78. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  79. package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -2
  80. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  81. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +29 -29
  82. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +119 -0
  83. package/dist/cjs/product/components/product-images-v3/components/feature-only/OnlyFeatureImage.js +1 -1
  84. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  85. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +3 -3
  86. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +46 -0
  87. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +10 -10
  88. package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  89. package/dist/cjs/product/components/product-images-v3/hooks/useGalleryCarousel.js +1 -1
  90. package/dist/cjs/product/components/product-images-v3/hooks/useProductFeaturedImageCarousel.js +1 -1
  91. package/dist/cjs/product/components/product-images-v3/hooks/useProductGalleryGrid.js +1 -1
  92. package/dist/cjs/product/components/product-list/ProductList.js +1 -1
  93. package/dist/cjs/product/components/product-list/ProductList.liquid.js +10 -9
  94. package/dist/cjs/product/components/product-list/ProductListCarouselItem.liquid.js +5 -6
  95. package/dist/cjs/product/components/product-list/ProductListGridItem.liquid.js +7 -8
  96. package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +6 -4
  97. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
  98. package/dist/cjs/product/components/product-list-v3/ProductList.liquid.js +10 -9
  99. package/dist/cjs/product/components/product-list-v3/ProductListCarouselItem.liquid.js +6 -6
  100. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +6 -6
  101. package/dist/cjs/product/components/product-list-v3/ProductListGridItem.liquid.js +7 -8
  102. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +6 -4
  103. package/dist/cjs/product/components/product-price/ProductPrice.liquid.js +4 -4
  104. package/dist/cjs/product/components/product-sku/Sku.liquid.js +4 -3
  105. package/dist/cjs/product/components/product-title/ProductTitle.liquid.js +7 -8
  106. package/dist/cjs/product/components/product-variants/OptionVariantsNewFormat.liquid.js +11 -12
  107. package/dist/cjs/product/components/product-variants/OptionVariantsOldFormat.liquid.js +11 -10
  108. package/dist/cjs/product/components/product-variants/ProductVariants.liquid.js +27 -27
  109. package/dist/cjs/product/components/product-wrap/Product.liquid.js +7 -4
  110. package/dist/cjs/product/index.js +1 -1
  111. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  112. package/dist/cjs/sticky/components/Sticky.liquid.js +4 -5
  113. package/dist/cjs/sticky/hooks/useSticky.js +1 -1
  114. package/dist/cjs/tab/components/Tabs.liquid.js +7 -6
  115. package/dist/cjs/text/components/Text.liquid.js +3 -3
  116. package/dist/cjs/third-party/components/AppstleLoyaltyRewardProgram.js +2 -0
  117. package/dist/cjs/third-party/components/AppstleLoyaltyRewardProgram.liquid.js +16 -0
  118. package/dist/cjs/third-party/configs/AppstleLoyaltyRewardProgram.js +1 -0
  119. package/dist/cjs/third-party/index.js +1 -1
  120. package/dist/cjs/third-party/next.js +1 -1
  121. package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +4 -0
  122. package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/uiV2.js +1 -0
  123. package/dist/cjs/video/components/HTML5Embed.js +1 -1
  124. package/dist/cjs/video/components/HTML5Embed.liquid.js +12 -12
  125. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -10
  126. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
  127. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +14 -13
  128. package/dist/cjs/video/components/Video.liquid.js +1 -1
  129. package/dist/esm/accordion/components/Accordion.liquid.js +8 -9
  130. package/dist/esm/builder.js +1 -1
  131. package/dist/esm/button/components/Button.liquid.js +22 -22
  132. package/dist/esm/carousel/components/root/Carousel.liquid.js +4 -3
  133. package/dist/esm/carousel-v3/common/selectors.js +1 -0
  134. package/dist/esm/carousel-v3/components/arrow/Arrow.liquid.js +6 -6
  135. package/dist/esm/carousel-v3/components/arrow/common/classes.js +1 -1
  136. package/dist/esm/carousel-v3/components/dot/common/helpers.js +1 -1
  137. package/dist/esm/carousel-v3/components/item/CarouselItem.js +1 -1
  138. package/dist/esm/carousel-v3/components/root/Carousel.js +1 -1
  139. package/dist/esm/carousel-v3/components/root/Carousel.liquid.js +6 -5
  140. package/dist/esm/carousel-v3/components/root/CarouselEmbla.liquid.js +24 -0
  141. package/dist/esm/carousel-v3/components/root/common/attrs.js +1 -1
  142. package/dist/esm/carousel-v3/components/root/common/helpers.js +1 -1
  143. package/dist/esm/carousel-v3/components/swiper/Swiper.js +1 -1
  144. package/dist/esm/carousel-v3/hooks/useCarousel.js +1 -1
  145. package/dist/esm/carousel-v3/index.js +1 -1
  146. package/dist/esm/cart/components/shop-pay-button/ShopPayButton.liquid.js +2 -2
  147. package/dist/esm/collection/components/collection-description/CollectionDescription.liquid.js +6 -7
  148. package/dist/esm/collection/components/collection-paginator/CollectionPaginator.liquid.js +4 -3
  149. package/dist/esm/collection/components/collection-toolbar/CollectionToolbar.liquid.js +3 -3
  150. package/dist/esm/countdown-timer/components/Countdown.liquid.js +21 -20
  151. package/dist/esm/estimate-delivery/common/helpers.js +1 -1
  152. package/dist/esm/grid/components/row/Row.liquid.js +16 -11
  153. package/dist/esm/hero-banner/common/classes.js +1 -1
  154. package/dist/esm/hero-banner/common/helpers.js +1 -1
  155. package/dist/esm/hero-banner/components/HeroBanner.js +1 -1
  156. package/dist/esm/hero-banner/components/HeroBanner.liquid.js +12 -12
  157. package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
  158. package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
  159. package/dist/esm/icon-list-v2/components/IconList.liquid.js +3 -3
  160. package/dist/esm/image/common/attrs.js +1 -1
  161. package/dist/esm/image/components/AdaptiveImage.js +1 -1
  162. package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -11
  163. package/dist/esm/image/components/Image.liquid.js +10 -10
  164. package/dist/esm/image/components/NextImage.js +1 -1
  165. package/dist/esm/image/components/NextImage.liquid.js +1 -1
  166. package/dist/esm/image/settings/configs/ui-v2.js +1 -1
  167. package/dist/esm/image-comparison/components/CompareImage.liquid.js +12 -12
  168. package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
  169. package/dist/esm/index.js +1 -1
  170. package/dist/esm/index.liquid.js +1 -1
  171. package/dist/esm/marquee/components/Marquee.liquid.js +21 -21
  172. package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -1
  173. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
  174. package/dist/esm/post-purchase/product/components/product-offer/context/PrdOfferSubscriptionPresenceContext.js +2 -0
  175. package/dist/esm/post-purchase/product/components/product-offer/helpers/scanSubscriptionBlocks.js +1 -0
  176. package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferSubscriptionBlocksObserver.js +1 -0
  177. package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSubscriptionVisibility.js +1 -1
  178. package/dist/esm/product/components/ProductImages.liquid.js +12 -12
  179. package/dist/esm/product/components/dynamic-checkout/Button.liquid.js +14 -14
  180. package/dist/esm/product/components/file-upload/UploadFile.liquid.js +3 -4
  181. package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
  182. package/dist/esm/product/components/product-badge/ProductBadge.liquid.js +12 -12
  183. package/dist/esm/product/components/product-badge/common/classes.js +1 -1
  184. package/dist/esm/product/components/product-badge/utils/renderBadgeILP.js +1 -1
  185. package/dist/esm/product/components/product-badge/utils/renderBadgeLiquid.js +5 -3
  186. package/dist/esm/product/components/product-bundle/ProductBundleDiscount.liquid.js +8 -7
  187. package/dist/esm/product/components/product-button/ProductButton.liquid.js +7 -6
  188. package/dist/esm/product/components/product-button/common/helpers.js +1 -1
  189. package/dist/esm/product/components/product-button/hooks/useAddToCart.js +1 -1
  190. package/dist/esm/product/components/product-description/ProductDescription.js +1 -1
  191. package/dist/esm/product/components/product-description/ProductDescription.liquid.js +5 -6
  192. package/dist/esm/product/components/product-description/hooks/useGpDescription.js +1 -1
  193. package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.liquid.js +8 -8
  194. package/dist/esm/product/components/product-images-v2/ProductImagesV2.liquid.js +21 -21
  195. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +5 -5
  196. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
  197. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +5 -5
  198. package/dist/esm/product/components/product-images-v3/ProductImageV3.js +2 -2
  199. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +22 -22
  200. package/dist/esm/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +44 -0
  201. package/dist/esm/product/components/product-images-v3/common/classes.js +1 -1
  202. package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
  203. package/dist/esm/product/components/product-images-v3/common/getBorderActiveCss.js +2 -1
  204. package/dist/esm/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -1
  205. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageCarousel.js +1 -1
  206. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  207. package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -2
  208. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  209. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +45 -45
  210. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +119 -0
  211. package/dist/esm/product/components/product-images-v3/components/feature-only/OnlyFeatureImage.js +1 -1
  212. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  213. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +3 -3
  214. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +46 -0
  215. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +10 -10
  216. package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  217. package/dist/esm/product/components/product-images-v3/hooks/useGalleryCarousel.js +1 -1
  218. package/dist/esm/product/components/product-images-v3/hooks/useProductFeaturedImageCarousel.js +1 -1
  219. package/dist/esm/product/components/product-images-v3/hooks/useProductGalleryGrid.js +1 -1
  220. package/dist/esm/product/components/product-list/ProductList.js +1 -1
  221. package/dist/esm/product/components/product-list/ProductList.liquid.js +18 -17
  222. package/dist/esm/product/components/product-list/ProductListCarouselItem.liquid.js +5 -6
  223. package/dist/esm/product/components/product-list/ProductListGridItem.liquid.js +7 -8
  224. package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +9 -7
  225. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
  226. package/dist/esm/product/components/product-list-v3/ProductList.liquid.js +18 -17
  227. package/dist/esm/product/components/product-list-v3/ProductListCarouselItem.liquid.js +6 -6
  228. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +9 -9
  229. package/dist/esm/product/components/product-list-v3/ProductListGridItem.liquid.js +7 -8
  230. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +9 -7
  231. package/dist/esm/product/components/product-price/ProductPrice.liquid.js +3 -3
  232. package/dist/esm/product/components/product-sku/Sku.liquid.js +6 -5
  233. package/dist/esm/product/components/product-title/ProductTitle.liquid.js +5 -6
  234. package/dist/esm/product/components/product-variants/OptionVariantsNewFormat.liquid.js +11 -12
  235. package/dist/esm/product/components/product-variants/OptionVariantsOldFormat.liquid.js +11 -10
  236. package/dist/esm/product/components/product-variants/ProductVariants.liquid.js +44 -44
  237. package/dist/esm/product/components/product-wrap/Product.liquid.js +18 -15
  238. package/dist/esm/product/index.js +1 -1
  239. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  240. package/dist/esm/sticky/components/Sticky.liquid.js +11 -12
  241. package/dist/esm/sticky/hooks/useSticky.js +1 -1
  242. package/dist/esm/tab/components/Tabs.liquid.js +12 -11
  243. package/dist/esm/text/components/Text.liquid.js +3 -3
  244. package/dist/esm/third-party/components/AppstleLoyaltyRewardProgram.js +2 -0
  245. package/dist/esm/third-party/components/AppstleLoyaltyRewardProgram.liquid.js +16 -0
  246. package/dist/esm/third-party/configs/AppstleLoyaltyRewardProgram.js +1 -0
  247. package/dist/esm/third-party/index.js +1 -1
  248. package/dist/esm/third-party/next.js +1 -1
  249. package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +4 -0
  250. package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/uiV2.js +1 -0
  251. package/dist/esm/video/components/HTML5Embed.js +1 -1
  252. package/dist/esm/video/components/HTML5Embed.liquid.js +12 -12
  253. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +16 -15
  254. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
  255. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +11 -10
  256. package/dist/esm/video/components/Video.liquid.js +1 -1
  257. package/dist/types/index.d.ts +39 -13
  258. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core"),t=require("../common/helpers.js"),a=require("@gem-sdk/system"),l=require("../common/attrs.js"),i=require("../common/styles.js"),s=require("../common/classes.js"),r=require("./HTML5Embed.liquid.js"),o=require("./LiteVimeoEmbed.liquid.js"),d=require("./LiteYouTubeEmbed.liquid.js"),u=require("../../image/components/NextImage.liquid.js"),m=require("../../image/common/helpers.js");exports.default=({className:c,setting:n,style:g,builderAttrs:y,builderProps:p,advanced:b,pageContext:V})=>{let q=t.getSettingTranslatedVideoAndThumbnail({setting:n,uid:p?.uid,pageContext:V??{}}),{youtubeUrl:f="",vimeoUrl:S="",html5Url:k,autoplay:h=!1,loopVideo:I=!1,controls:j=!1,mute:v,poster:C,startTime:T,endTime:$,lazy:L,type:x}=q??{},{youtubeUrlTranslated:R,vimeoUrlTranslated:F}=q,N=m.getImageSrc(C),{cssClass:U}=b??{},A=t.getAspectRatioSettings(q?.ratioOptions,q?.aspectRatio),z=a.createAttr({...l.getAttr({uid:p?.uid||""})}),E=a.createStyle({...i.getStyle(q,g)}),Y=a.createStyle({...i.getYoutubeStyle(A)}),w=a.createStyle({...i.getVimeoStyle(A)}),H=a.createStyle({...i.getHtml5Style(A)}),M=a.createStyle({...i.getFallBackImageStyle(n?.aspectRatio)}),O=a.createClass({...s.getFallbackImageClasses()}),P=a.createClass({...s.getClasses({className:c,builderProps:p,isInstantLP:!1,advancedCssClass:U})});return e.template`
2
2
  <div
3
3
  ${{...y}} ${{...z}} class="${P}" style="${E}">
4
- ${(()=>{switch(x){case"youtube":{let a=t.getYoutubeVideoId(f),l=e.hasTranslatedLiquid(R);if((!t.youtubeVideoRegex.test(f)||!a)&&!l)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${t.parseTimeVideo(T)}`),$&&(i+=`&end=${t.parseTimeVideo($)}`),d.default({uid:p?.uid,id:a??"",translatedVideoUrl:l?R:"",autoplay:h,title:"Video",controls:j,params:i,adNetwork:!1,noCookie:!0,muted:!v,thumbnail:N,lazy:L??!0,poster:C,style:Y})}case"vimeo":{let a=t.getVimeoVideoId(S),l=e.hasTranslatedLiquid(F);if((!t.vimeoVideoRegex.test(S)||!a)&&!l)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return o.default({muted:!v,loop:I,controls:j,thumbnail:N,thumbnailLink:C?.src,autoplay:h,lazy:L??!0,id:a??"",translatedVideoUrl:l?F:"",title:"Video",aspectRatio:A,poster:C,vimeoStyleIframe:w})}case"html5":if(!k)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return r.default({uid:p?.uid,muted:!v,loop:I,controls:j,autoplay:h,src:k,thumbnail:N,title:"Video",poster:C,lazy:L??!0,isVideoComponent:!0,style:H})}})()}
4
+ ${(()=>{switch(x){case"youtube":{let a=t.getYoutubeVideoId(f),l=e.hasTranslatedLiquid(R);if((!t.youtubeVideoRegex.test(f)||!a)&&!l)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${t.parseTimeVideo(T)}`),$&&(i+=`&end=${t.parseTimeVideo($)}`),d.default({uid:p?.uid,id:a??"",translatedVideoUrl:l?R:"",autoplay:h,title:"Video",controls:j,params:i,adNetwork:!1,noCookie:!0,muted:!v,thumbnail:N,lazy:L??!0,poster:C,style:Y,pageContext:V})}case"vimeo":{let a=t.getVimeoVideoId(S),l=e.hasTranslatedLiquid(F);if((!t.vimeoVideoRegex.test(S)||!a)&&!l)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return o.default({muted:!v,loop:I,controls:j,thumbnail:N,thumbnailLink:C?.src,autoplay:h,lazy:L??!0,id:a??"",translatedVideoUrl:l?F:"",title:"Video",aspectRatio:A,poster:C,vimeoStyleIframe:w,pageContext:V})}case"html5":if(!k)return u.default({src:t.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return r.default({uid:p?.uid,muted:!v,loop:I,controls:j,autoplay:h,src:k,thumbnail:N,title:"Video",poster:C,lazy:L??!0,isVideoComponent:!0,style:H,pageContext:V})}})()}
5
5
  </div>
6
6
  `};
@@ -1,17 +1,16 @@
1
- import{makeStyleResponsive as s,template as t,WrapRenderChildren as e,RenderChildren as i,RenderIf as r,isLocalEnv as o,baseAssetURL as c}from"@gem-sdk/core";import{getDynamicSourceLocales as a,createSettingId as d,getSettingPreloadData as l}from"../../helpers.js";import{createStateOrContext as p,createClass as n,createStyle as m,createAttr as f}from"@gem-sdk/system";import{getDataState as g}from"../common/helpers.js";import{getContainerStyles as u}from"../common/styles.js";import{getContainerClasses as $,extendClasses as y}from"../common/classes.js";import{Accordion as v}from"../settings/configs/translate.js";let j=({rawChildren:j,setting:S,styles:h,builderProps:A,pageContext:k,advanced:x,style:C,builderAttrs:E})=>{let{align:I}=h??{},{childItem:P,activeKey:z}=S??{},{uidState:G,settingState:N,stylesState:O,accordions:T}=g({setting:S,styles:h,builderProps:A},j),_=p({uid:G,setting:N,styles:{...O}}),J=n($(x?.cssClass)),K=m({...u(C,h)}),M=f({...E,"data-id":A?.uid??""}),R=m({...s("jc",I)}),U=n({"gp-flex":!0}),V=n(y());return t`
2
- <gp-accordion ${M} class="${J}" style="${K}"
3
- gp-data='${JSON.stringify(_).replaceAll("'","&#039;")}'
4
- >
5
- <div class=" ${V}"></div>
6
- ${e({uid:A?.uid??"",customProps:j?.[0].customProps},j?.map((s,e)=>{if(s){let r=a({val:P?.[e],uid:A?.uid,settingId:d({id:v?.childItem?.id,index:e}),pageContext:k??{},isCapitalize:S?.titleTypo?.attrs?.transform==="capitalize"});return t`
1
+ import{makeStyleResponsive as s,template as t,WrapRenderChildren as i,RenderChildren as e,RenderIf as r,isLocalEnv as o,baseAssetURL as c}from"@gem-sdk/core";import{getDynamicSourceLocales as a,createSettingId as d,getSettingPreloadData as p}from"../../helpers.js";import{createStateOrContext as l,createClass as n,createStyle as m,createAttr as f}from"@gem-sdk/system";import{getDataState as g}from"../common/helpers.js";import{getContainerStyles as u}from"../common/styles.js";import{getContainerClasses as $,extendClasses as y}from"../common/classes.js";import{Accordion as v}from"../settings/configs/translate.js";let j=({rawChildren:j,setting:S,styles:h,builderProps:A,pageContext:k,advanced:x,style:C,builderAttrs:E})=>{let{align:I}=h??{},{childItem:P,activeKey:z}=S??{},{uidState:G,settingState:N,stylesState:O,accordions:T}=g({setting:S,styles:h,builderProps:A},j),_=l({uid:G,setting:N,styles:{...O}}),J=n($(x?.cssClass)),K=m({...u(C,h)}),M=f({...E,"data-id":A?.uid??""}),R=m({...s("jc",I)}),U=n({"gp-flex":!0}),V=n(y());return t`
2
+ <gp-accordion ${M} class="${J}" style="${K}">
3
+ <script gp-data type="application/json">${JSON.stringify(_).replaceAll("'","&#039;")}</script>
4
+ <div class=" ${V}"></div>
5
+ ${i({uid:A?.uid??"",customProps:j?.[0].customProps},j?.map((s,i)=>{if(s){let r=a({val:P?.[i],uid:A?.uid,settingId:d({id:v?.childItem?.id,index:i}),pageContext:k??{},isCapitalize:S?.titleTypo?.attrs?.transform==="capitalize"});return t`
7
6
  <div class="${U}" style="${R}">
8
- ${i({...s,index:e,title:r,accordions:T,parentSetting:S,parentStyle:h,parentUid:A?.uid,childrenIcon:S?.childConfig?.[e],activeKey:z})}
7
+ ${e({...s,index:i,title:r,accordions:T,parentSetting:S,parentStyle:h,parentUid:A?.uid,childrenIcon:S?.childConfig?.[i],activeKey:z})}
9
8
  </div>
10
9
  `}}))}
11
10
  </gp-accordion>
12
11
  ${r(o,`
13
- <script ${l('class="gps-link" delay',"src")}="{{ 'gp-accordion-v7-5.js' | asset_url }}"
12
+ <script ${p('class="gps-link" delay',"src")}="{{ 'gp-accordion-v7-5.js' | asset_url }}"
14
13
  defer="defer"></script>`,`
15
- <script ${l('class="gps-link" delay',"src")}="${c}/assets-v2/gp-accordion-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>
14
+ <script ${p('class="gps-link" delay',"src")}="${c}/assets-v2/gp-accordion-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>
16
15
  `)}
17
16
  `};export{j as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import S from"./third-party/components/ParcelPanel.js";import C from"./third-party/components/TrustMe.js";import b from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import k from"./third-party/components/BoldProductOptions.js";import v from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import D from"./third-party/components/Bundler.js";import R from"./third-party/components/LaiProductReviews.js";import x from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import G from"./third-party/components/CleanSizeCharts.js";import K from"./third-party/components/Bogos.js";import q from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import W from"./third-party/components/Releasit.js";import N from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oS from"./third-party/components/MaxbundleProductBundles.js";import oC from"./third-party/components/PreorderNowWodPresale.js";import ob from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ok from"./third-party/components/ProductOptionsCustomizer.js";import ov from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oD from"./third-party/components/AppointmentBookingCowlendar.js";import oR from"./third-party/components/SproutPlantTreesGrowSales.js";import ox from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oG from"./third-party/components/BestBuyFulfillment.js";import oK from"./third-party/components/AftershipEmailMarketingsms.js";import oq from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oW from"./third-party/components/DiscountyBulkDiscountSales.js";import oN from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./third-party/components/GrowthSuiteDiscountCodes.js";import tn from"./third-party/components/BonySubscriptionsApp.js";import te from"./third-party/components/WcWishlistBackInStock.js";import ti from"./third-party/components/EssentPreorderBackInStock.js";import tc from"./article/components/ArticleList.js";import ta from"./article/components/ArticleTitle.js";import td from"./article/components/ArticleExcerpt.js";import tu from"./article/components/ArticleContent.js";import tf from"./article/components/ArticleImage.js";import tj from"./article/components/ArticlePagination.js";import tl from"./article/components/ArticleAuthor.js";import th from"./article/components/ArticleTag.js";import ty from"./article/components/ArticleCategory.js";import tP from"./article/components/ArticleDate.js";import tg from"./article/components/ArticleReadMore.js";import tB from"./hero-banner/components/HeroBanner.js";import tS from"./breadcrumb/components/Breadcrumb.js";import tC from"./button/components/Button.js";import tb from"./carousel-v3/components/root/Carousel.js";import tw from"./carousel-v3/components/item/CarouselItem.js";import tk from"./carousel/components/root/Carousel.js";import tv from"./carousel/components/item/CarouselItem.js";import tI from"./cart/components/Cart.js";import tT from"./cart/components/CartList.js";import tA from"./cart/components/CartLinePrice.js";import tL from"./cart/components/CartLineVariant.js";import tD from"./cart/components/CartLineImage.js";import tR from"./cart/components/CartTotalPrice.js";import tx from"./cart/components/CartTotalItem.js";import tV from"./cart/components/CartCheckout.js";import tF from"./cart/components/DiscountInput.js";import tO from"./cart/components/CartDiscount.js";import tM from"./cart/components/CartOrderNote.js";import tE from"./cart/components/CartLineAttribute.js";import tH from"./cart/components/CouponList.js";import tU from"./cart/components/shop-pay-button/ShopPayButton.js";import tz from"./cart/components/CheckoutNow.js";import tG from"./code/components/CSSCode.js";import tK from"./collection/components/collection-title/CollectionTitle.js";import tq from"./collection/components/collection-banner/CollectionBanner.js";import tQ from"./collection/components/collection-description/CollectionDescription.js";import tW from"./collection/components/collection-toolbar/CollectionToolbar.js";import tN from"./collection/components/collection-paginator/CollectionPaginator.js";import tY from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tJ from"./coupon/components/Coupon.js";import tX from"./dialog/components/Dialog.js";import tZ from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import t$ from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import t_ from"./grid/components/root/Root.js";import t3 from"./grid/components/section/Section.js";import t2 from"./grid/components/row/Row.js";import t0 from"./grid/components/col/Col.js";import t1 from"./form/components/newsletter/Newsletter.js";import t4 from"./form/components/contact/Contact.js";import t5 from"./form/components/form-email/FormEmail.js";import t6 from"./form/components/submit-button/SubmitButton.js";import t7 from"./form/components/form-dropdown/FormDropdown.js";import t8 from"./form/components/textfield/TextField.js";import t9 from"./form/components/textarea/TextArea.js";import ro from"./form/components/form-checkbox/FormCheckbox.js";import rt from"./form/components/textinput/TextInput.js";import rr from"./header/components/Header.js";import rm from"./header/components/kind/basic/index.js";import rs from"./header/components/kind/modern/index.js";import rp from"./header/components/kind/basic/MobileMenu.js";import rn from"./header/components/kind/basic/DesktopMenu.js";import re from"./heading/components/Heading.js";import ri from"./icon/components/Icon.js";import rc from"./icon-list/components/IconList.js";import ra from"./icon-list/components/IconListItem.js";import rd from"./icon-list-hoz/components/IconListHoz.js";import ru from"./icon-list-hoz/components/IconListHozItem.js";import rf from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rj from"./image/components/Image.js";import rl from"./image-comparison/components/ImageComparison.js";import rh from"./image-detection/components/ImageDetection.js";import ry from"./input/components/Input.js";import rP from"./line/components/Line.js";import rg from"./marquee/components/Marquee.js";import rB from"./marquee/components/MarqueeItem.js";import rS from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rC from"./modal/components/Modal.js";import rb from"./pagination/components/Pagination.js";import rw from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rk from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rv from"./post-purchase/button/components/Button.js";import rI from"./post-purchase/callout-banner/components/CalloutBox.js";import rT from"./post-purchase/callout-banner/components/CalloutText.js";import rA from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rL from"./post-purchase/image/components/Image.js";import rD from"./post-purchase/line/components/PostPurchaseLine.js";import rR from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rx}from"./post-purchase/text/index.js";import rV from"./post-purchase/product/components/ProductTitle.js";import rF from"./post-purchase/product/components/ProductDescription.js";import rO from"./post-purchase/product/components/ProductPrice.js";import rM from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rE from"./post-purchase/product/components/AcceptButton.js";import rH from"./post-purchase/product/components/ProductQuantity.js";import rU from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rz from"./post-purchase/product/components/ProductPriceBreakdown.js";import rG from"./post-purchase/product/components/ProductDiscountTag.js";import rK from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import rq from"./post-purchase/product/components/product-image/index.js";import rQ from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rW from"./product/components/product-wrap/Product.js";import rN from"./product/components/product-title/ProductTitle.js";import rY from"./product/components/product-quantity/ProductQuantity.js";import rJ from"./product/components/product-description/ProductDescription.js";import rX from"./product/components/product-price/ProductPrice.js";import rZ from"./product/components/product-button/ProductButton.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/ProductImages.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/product-properties/ProductProperties.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-list/ProductList.js";import r7 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r8 from"./product/components/product-bundle/ProductBundleDiscount.js";import r9 from"./product/components/product-vendor/Vendor.js";import mo from"./product/components/product-sku/Sku.js";import mt from"./product/components/product-view-more/ProductViewMore.js";import mr from"./product/components/product-badge/ProductBadge.js";import mm from"./product/components/file-upload/UploadFile.js";import ms from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mp from"./radio/components/Radio.js";import mn from"./select/components/Select.js";import"./select/settings/configs/settings.js";import me from"./tab/components/Tabs.js";import mi from"./tab/components/TabItem.js";import mc from"./text/components/Text.js";import ma from"./textarea/components/Textarea.js";import md from"./video/components/Video.js";import mu from"./third-party-slot/components/ThirdPartySlot.js";import mf from"./shop-pay-installment/components/ShopPayInstallments.js";import mj from"./third-party-instant/components/InstantJudgemeReviews.js";import ml from"./third-party-instant/components/InstantLooxReviews.js";import mh from"./third-party-instant/components/InstantKlaviyo.js";import my from"./third-party-instant/components/InstantYotpoLoyalty.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={EssentPreorderBackInStock:ti,WcWishlistBackInStock:te,BonySubscriptionsApp:tn,GrowthSuiteDiscountCodes:tp,KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:tc,ArticleTitle:ta,ArticleExcerpt:td,ArticleContent:tu,ArticleImage:tf,ArticlePagination:tj,ArticleAuthor:tl,ArticleTag:th,ArticleCategory:ty,ArticleDate:tP,ArticleReadMore:tg,HeroBanner:tB,Breadcrumb:tS,Button:tC,CarouselV3:tb,CarouselItemV3:tw,Carousel:tk,CarouselItem:tv,Cart:tI,CartList:tT,CartLinePrice:tA,CartLineVariant:tL,CartLineImage:tD,CartTotalPrice:tR,CartTotalItem:tx,CartCheckout:tV,DiscountInput:tF,CartDiscount:tO,CartOrderNote:tM,CartLineAttribute:tE,CouponList:tH,ShopPayButton:tU,CheckoutNow:tz,CSSCode:tG,CollectionTitle:tK,CollectionDescription:tQ,CollectionBanner:tq,CollectionToolbar:tW,CollectionPaginator:tN,Countdown:tY,Coupon:tJ,Dialog:tX,EstimateDate:tZ,Newsletter:t1,ContactForm:t4,FormEmail:t5,SubmitButton:t6,TextField:t8,TextInput:rt,FormTextarea:t9,FormDropdown:t7,FormCheckbox:ro,Root:t_,Section:t3,Row:t2,Col:t0,Header:rr,BasicHeader:rm,ModernHeader:rs,MobileMenu:rp,DesktopMenu:rn,Heading:re,Icon:ri,IconList:rc,IconListItem:ra,IconListHoz:rd,IconListItemHoz:ru,IconListV2:rf,Image:rj,ImageComparison:rl,ImageDetection:rh,Input:ry,Line:rP,Link:t$,Marquee:rg,MarqueeItem:rB,Menu:rS,Modal:rC,Pagination:rb,PostPurchaseAdvancedList:rw,PostPurchaseAdvancedListItem:rk,PostPurchaseAcceptButton:rE,PostPurchaseButton:rv,PostPurchaseCalloutBox:rI,PostPurchaseCalloutText:rT,PostPurchaseCountdownTimer:rA,PostPurchaseImage:rL,PostPurchaseLine:rD,PostPurchaseLink:rR,PostPurchaseHeading:rx,PostPurchaseText:mB,PostPurchaseProductTitle:rV,PostPurchaseProductDescription:rF,PostPurchaseProductPrice:rO,PostPurchaseProductVariants:rM,PostPurchaseProductQuantity:rH,PostPurchaseProductPriceBreakdown:rz,PostPurchaseProductOffer:rU,PostPurchaseProductDiscountTag:rG,PostPurchaseProductImages:rq,PostPurchaseProductSubscription:rK,PostPurchaseBuyerConsent:rQ,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oN,DiscountyBulkDiscountSales:oW,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oq,AftershipEmailMarketingsms:oK,BestBuyFulfillment:oG,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:ox,SproutPlantTreesGrowSales:oR,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oD,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ok,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ov,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:ob,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oC,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oS,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rW,ProductTitle:rN,ProductQuantity:rY,ProductPrice:rX,ProductSku:mo,FileUpload:mm,ProductBundleDiscount:r8,ProductBundleDiscountItem:ms,ProductButton:rZ,ProductDescription:rJ,ProductVariants:r$,ProductImages:r_,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:r0,ProductQuickView:r1,ProductTag:r4,ProductListV3:r5,ProductList:r6,Radio:mp,Select:mn,Tabs:me,TabItem:mi,Text:mc,Textarea:ma,Video:md,PushOwl:q,ThirdPartySlot:mu,ShopPayInstallments:mf,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:S,TrustMe:C,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:x,KachingBundles:V,Bogos:K,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:b,BoldSubscriptions:w,BoldProductOptions:k,WideBundle:v,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:D,LaiProductReviews:R,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:G,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mj,InstantLooxReviews:ml,InstantKlaviyo:mh,InstantYotpoLoyalty:my,Releasit:W,BirdChime:X,StockCounter:mP,DynamicCheckout:r7,Sticky:mg,ProductVendor:r9,KingProductOptions:N,ProductViewMore:mt,ProductBadge:mr,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{mS as default};
2
+ import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import S from"./third-party/components/ParcelPanel.js";import C from"./third-party/components/TrustMe.js";import b from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import k from"./third-party/components/BoldProductOptions.js";import v from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import A from"./third-party/components/InfiniteOptions.js";import T from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import D from"./third-party/components/LaiProductReviews.js";import x from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import G from"./third-party/components/CleanSizeCharts.js";import K from"./third-party/components/Bogos.js";import q from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import W from"./third-party/components/Releasit.js";import N from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oS from"./third-party/components/MaxbundleProductBundles.js";import oC from"./third-party/components/PreorderNowWodPresale.js";import ob from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ok from"./third-party/components/ProductOptionsCustomizer.js";import ov from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oA from"./third-party/components/MbcBundleVolumeDiscount.js";import oT from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import oD from"./third-party/components/SproutPlantTreesGrowSales.js";import ox from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oG from"./third-party/components/BestBuyFulfillment.js";import oK from"./third-party/components/AftershipEmailMarketingsms.js";import oq from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oW from"./third-party/components/DiscountyBulkDiscountSales.js";import oN from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./third-party/components/KachingSubscriptionsApp.js";import tp from"./third-party/components/GrowthSuiteDiscountCodes.js";import tn from"./third-party/components/BonySubscriptionsApp.js";import te from"./third-party/components/WcWishlistBackInStock.js";import ti from"./third-party/components/EssentPreorderBackInStock.js";import tc from"./third-party/components/AppstleLoyaltyRewardProgram.js";import ta from"./article/components/ArticleList.js";import td from"./article/components/ArticleTitle.js";import tu from"./article/components/ArticleExcerpt.js";import tf from"./article/components/ArticleContent.js";import tj from"./article/components/ArticleImage.js";import tl from"./article/components/ArticlePagination.js";import th from"./article/components/ArticleAuthor.js";import ty from"./article/components/ArticleTag.js";import tP from"./article/components/ArticleCategory.js";import tg from"./article/components/ArticleDate.js";import tB from"./article/components/ArticleReadMore.js";import tS from"./hero-banner/components/HeroBanner.js";import tC from"./breadcrumb/components/Breadcrumb.js";import tb from"./button/components/Button.js";import tw from"./carousel-v3/components/root/Carousel.js";import tk from"./carousel-v3/components/item/CarouselItem.js";import tv from"./carousel/components/root/Carousel.js";import tI from"./carousel/components/item/CarouselItem.js";import tA from"./cart/components/Cart.js";import tT from"./cart/components/CartList.js";import tL from"./cart/components/CartLinePrice.js";import tR from"./cart/components/CartLineVariant.js";import tD from"./cart/components/CartLineImage.js";import tx from"./cart/components/CartTotalPrice.js";import tV from"./cart/components/CartTotalItem.js";import tF from"./cart/components/CartCheckout.js";import tO from"./cart/components/DiscountInput.js";import tM from"./cart/components/CartDiscount.js";import tE from"./cart/components/CartOrderNote.js";import tH from"./cart/components/CartLineAttribute.js";import tU from"./cart/components/CouponList.js";import tz from"./cart/components/shop-pay-button/ShopPayButton.js";import tG from"./cart/components/CheckoutNow.js";import tK from"./code/components/CSSCode.js";import tq from"./collection/components/collection-title/CollectionTitle.js";import tQ from"./collection/components/collection-banner/CollectionBanner.js";import tW from"./collection/components/collection-description/CollectionDescription.js";import tN from"./collection/components/collection-toolbar/CollectionToolbar.js";import tY from"./collection/components/collection-paginator/CollectionPaginator.js";import tJ from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tX from"./coupon/components/Coupon.js";import tZ from"./dialog/components/Dialog.js";import t$ from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import t_ from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import t3 from"./grid/components/root/Root.js";import t2 from"./grid/components/section/Section.js";import t0 from"./grid/components/row/Row.js";import t1 from"./grid/components/col/Col.js";import t4 from"./form/components/newsletter/Newsletter.js";import t5 from"./form/components/contact/Contact.js";import t6 from"./form/components/form-email/FormEmail.js";import t7 from"./form/components/submit-button/SubmitButton.js";import t8 from"./form/components/form-dropdown/FormDropdown.js";import t9 from"./form/components/textfield/TextField.js";import ro from"./form/components/textarea/TextArea.js";import rt from"./form/components/form-checkbox/FormCheckbox.js";import rr from"./form/components/textinput/TextInput.js";import rm from"./header/components/Header.js";import rs from"./header/components/kind/basic/index.js";import rp from"./header/components/kind/modern/index.js";import rn from"./header/components/kind/basic/MobileMenu.js";import re from"./header/components/kind/basic/DesktopMenu.js";import ri from"./heading/components/Heading.js";import rc from"./icon/components/Icon.js";import ra from"./icon-list/components/IconList.js";import rd from"./icon-list/components/IconListItem.js";import ru from"./icon-list-hoz/components/IconListHoz.js";import rf from"./icon-list-hoz/components/IconListHozItem.js";import rj from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rl from"./image/components/Image.js";import rh from"./image-comparison/components/ImageComparison.js";import ry from"./image-detection/components/ImageDetection.js";import rP from"./input/components/Input.js";import rg from"./line/components/Line.js";import rB from"./marquee/components/Marquee.js";import rS from"./marquee/components/MarqueeItem.js";import rC from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rb from"./modal/components/Modal.js";import rw from"./pagination/components/Pagination.js";import rk from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rv from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rI from"./post-purchase/button/components/Button.js";import rA from"./post-purchase/callout-banner/components/CalloutBox.js";import rT from"./post-purchase/callout-banner/components/CalloutText.js";import rL from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rR from"./post-purchase/image/components/Image.js";import rD from"./post-purchase/line/components/PostPurchaseLine.js";import rx from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rV}from"./post-purchase/text/index.js";import rF from"./post-purchase/product/components/ProductTitle.js";import rO from"./post-purchase/product/components/ProductDescription.js";import rM from"./post-purchase/product/components/ProductPrice.js";import rE from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rH from"./post-purchase/product/components/AcceptButton.js";import rU from"./post-purchase/product/components/ProductQuantity.js";import rz from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rG from"./post-purchase/product/components/ProductPriceBreakdown.js";import rK from"./post-purchase/product/components/ProductDiscountTag.js";import rq from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import rQ from"./post-purchase/product/components/product-image/index.js";import rW from"./post-purchase/buyer-consent/components/BuyerConsent.js";import rN from"./product/components/product-wrap/Product.js";import rY from"./product/components/product-title/ProductTitle.js";import rJ from"./product/components/product-quantity/ProductQuantity.js";import rX from"./product/components/product-description/ProductDescription.js";import rZ from"./product/components/product-price/ProductPrice.js";import r$ from"./product/components/product-button/ProductButton.js";import r_ from"./product/components/product-variants/ProductVariants.js";import r3 from"./product/components/ProductImages.js";import r2 from"./product/components/product-images-v3/ProductImageV3.js";import r0 from"./product/components/product-images-v2/ProductImageV2.js";import r1 from"./product/components/product-properties/ProductProperties.js";import r4 from"./product/components/product-quick-view/QuickView.js";import r5 from"./product/components/product-discount-tag/ProductDiscountTag.js";import r6 from"./product/components/product-list-v3/ProductList.js";import r7 from"./product/components/product-list/ProductList.js";import r8 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r9 from"./product/components/product-bundle/ProductBundleDiscount.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/product-sku/Sku.js";import mr from"./product/components/product-view-more/ProductViewMore.js";import mm from"./product/components/product-badge/ProductBadge.js";import ms from"./product/components/file-upload/UploadFile.js";import mp from"./product/components/product-bundle/ProductBundleDiscountItem.js";import mn from"./radio/components/Radio.js";import me from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mi from"./tab/components/Tabs.js";import mc from"./tab/components/TabItem.js";import ma from"./text/components/Text.js";import md from"./textarea/components/Textarea.js";import mu from"./video/components/Video.js";import mf from"./third-party-slot/components/ThirdPartySlot.js";import mj from"./shop-pay-installment/components/ShopPayInstallments.js";import ml from"./third-party-instant/components/InstantJudgemeReviews.js";import mh from"./third-party-instant/components/InstantLooxReviews.js";import my from"./third-party-instant/components/InstantKlaviyo.js";import mP from"./third-party-instant/components/InstantYotpoLoyalty.js";import mg from"./stock-counter/components/StockCounter.js";import mB from"./sticky/components/Sticky.js";import mS from"./post-purchase/text/components/Text.js";var mC={AppstleLoyaltyRewardProgram:tc,EssentPreorderBackInStock:ti,WcWishlistBackInStock:te,BonySubscriptionsApp:tn,GrowthSuiteDiscountCodes:tp,KachingSubscriptionsApp:ts,BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:ta,ArticleTitle:td,ArticleExcerpt:tu,ArticleContent:tf,ArticleImage:tj,ArticlePagination:tl,ArticleAuthor:th,ArticleTag:ty,ArticleCategory:tP,ArticleDate:tg,ArticleReadMore:tB,HeroBanner:tS,Breadcrumb:tC,Button:tb,CarouselV3:tw,CarouselItemV3:tk,Carousel:tv,CarouselItem:tI,Cart:tA,CartList:tT,CartLinePrice:tL,CartLineVariant:tR,CartLineImage:tD,CartTotalPrice:tx,CartTotalItem:tV,CartCheckout:tF,DiscountInput:tO,CartDiscount:tM,CartOrderNote:tE,CartLineAttribute:tH,CouponList:tU,ShopPayButton:tz,CheckoutNow:tG,CSSCode:tK,CollectionTitle:tq,CollectionDescription:tW,CollectionBanner:tQ,CollectionToolbar:tN,CollectionPaginator:tY,Countdown:tJ,Coupon:tX,Dialog:tZ,EstimateDate:t$,Newsletter:t4,ContactForm:t5,FormEmail:t6,SubmitButton:t7,TextField:t9,TextInput:rr,FormTextarea:ro,FormDropdown:t8,FormCheckbox:rt,Root:t3,Section:t2,Row:t0,Col:t1,Header:rm,BasicHeader:rs,ModernHeader:rp,MobileMenu:rn,DesktopMenu:re,Heading:ri,Icon:rc,IconList:ra,IconListItem:rd,IconListHoz:ru,IconListItemHoz:rf,IconListV2:rj,Image:rl,ImageComparison:rh,ImageDetection:ry,Input:rP,Line:rg,Link:t_,Marquee:rB,MarqueeItem:rS,Menu:rC,Modal:rb,Pagination:rw,PostPurchaseAdvancedList:rk,PostPurchaseAdvancedListItem:rv,PostPurchaseAcceptButton:rH,PostPurchaseButton:rI,PostPurchaseCalloutBox:rA,PostPurchaseCalloutText:rT,PostPurchaseCountdownTimer:rL,PostPurchaseImage:rR,PostPurchaseLine:rD,PostPurchaseLink:rx,PostPurchaseHeading:rV,PostPurchaseText:mS,PostPurchaseProductTitle:rF,PostPurchaseProductDescription:rO,PostPurchaseProductPrice:rM,PostPurchaseProductVariants:rE,PostPurchaseProductQuantity:rU,PostPurchaseProductPriceBreakdown:rG,PostPurchaseProductOffer:rz,PostPurchaseProductDiscountTag:rK,PostPurchaseProductImages:rQ,PostPurchaseProductSubscription:rq,PostPurchaseBuyerConsent:rW,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oN,DiscountyBulkDiscountSales:oW,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oq,AftershipEmailMarketingsms:oK,BestBuyFulfillment:oG,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:ox,SproutPlantTreesGrowSales:oD,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oT,MbcBundleVolumeDiscount:oA,ProductOptionsCustomizer:ok,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ov,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:ob,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oC,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oS,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rN,ProductTitle:rY,ProductQuantity:rJ,ProductPrice:rZ,ProductSku:mt,FileUpload:ms,ProductBundleDiscount:r9,ProductBundleDiscountItem:mp,ProductButton:r$,ProductDescription:rX,ProductVariants:r_,ProductImages:r3,ProductImagesV3:r2,ProductImagesV2:r0,ProductProperties:r1,ProductQuickView:r4,ProductTag:r5,ProductListV3:r6,ProductList:r7,Radio:mn,Select:me,Tabs:mi,TabItem:mc,Text:ma,Textarea:md,Video:mu,PushOwl:q,ThirdPartySlot:mf,ShopPayInstallments:mj,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:S,TrustMe:C,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:x,KachingBundles:V,Bogos:K,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:b,BoldSubscriptions:w,BoldProductOptions:k,WideBundle:v,PickyStory:I,InfiniteOptions:A,Wiser:T,Stamped:L,Bundler:R,LaiProductReviews:D,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:G,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:ml,InstantLooxReviews:mh,InstantKlaviyo:my,InstantYotpoLoyalty:mP,Releasit:W,BirdChime:X,StockCounter:mg,DynamicCheckout:r8,Sticky:mB,ProductVendor:mo,KingProductOptions:N,ProductViewMore:mr,ProductBadge:mm,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{mC as default};
@@ -1,31 +1,31 @@
1
- import{dataStringify as s,isLocalEnv as t,baseAssetURL as e,template as i}from"@gem-sdk/core";import{createStyle as o,createClass as r,createAttr as a,createStateOrContext as l,Liquid as d,If as n}from"@gem-sdk/system";import{getButtonAttributes as m}from"../common/attrs.js";import{getButtonStyles as p,getTypoStyles as c,getButtonIconStyles as u,getButtonWrapperStyles as $}from"../common/styles.js";import{getButtonClasses as g,getButtonIconClasses as f,getButtonLabelClasses as b,getButtonWrapperClasses as L,getButtonContentWrapperClasses as y,getButtonContainerClasses as j}from"../common/classes.js";import{getSettingPreloadData as v}from"../../helpers.js";import q from"./ButtonIcon.liquid.js";import k from"./ButtonLabel.liquid.js";import S from"./ButtonLoadingIndicator.liquid.js";import{getData as h,getInsertLinkData as E}from"../common/helpers.js";let x=x=>{let{advanced:B,className:C,nodePrice:I,customAttrs:T,styles:A={},setting:G={},builderProps:H,wrapClassName:M="",translateSetting:_,isForceValue:N,pageContext:O}=x,{iconSvg:P,btnLink:R,htmlType:V,disabled:w,enableBtnLink:z,shouldClearSpace:D,disabledLoading:F=!0}=G,{enableTextStyle:J=!0}=A,{customCss:K,wrapStyle:Q,restStyle:U,dataState:W,dataIdAttr:X,isShowIcon:Y,isScrollToElement:Z,getArialLabel:ss,getLabelToDisplay:st,checkIsShowLabel:se,checkIsEditableLabel:si}=h(x),{HTMLTag:so,urlData:sr,shouldRenderLink:sa}=E({enableBtnLink:z,htmlType:V,setting:R,defaultTag:"button",isLiquid:!0}),sl=o({...p(A,G?.enableHoverEffect)}),sd=o({...c(A)}),sn=o({...c(A),...u(A,G)}),sm=o({...$(U,A)}),sp=r({...g({styles:A,className:C,shouldRenderLink:sa,uid:H?.uid,advanced:B})}),sc=r({...f(st({isLiquid:!0,translateSetting:_,isForceValue:N,pageContext:O??{}}),D,J)}),su=r({...b(A,si({isLiquid:!0}))}),s$=r({...L(M,C,B?.cssClass)}),sg=r({...y(G)}),sf=r({...j()}),sb=a({...m({disabled:w,dataState:W,dataId:X,arialLabel:ss({isLiquid:!0})})}),sL=l({btnLink:G?.btnLink});return d(i`
1
+ import{isLocalEnv as s,baseAssetURL as t,template as i}from"@gem-sdk/core";import{createStyle as e,createClass as o,createAttr as r,createStateOrContext as l,Liquid as a,If as n}from"@gem-sdk/system";import{getButtonAttributes as p}from"../common/attrs.js";import{getButtonStyles as d,getTypoStyles as m,getButtonIconStyles as c,getButtonWrapperStyles as g}from"../common/styles.js";import{getButtonClasses as u,getButtonIconClasses as $,getButtonLabelClasses as f,getButtonWrapperClasses as y,getButtonContentWrapperClasses as b,getButtonContainerClasses as L}from"../common/classes.js";import{getSettingPreloadData as j}from"../../helpers.js";import v from"./ButtonIcon.liquid.js";import q from"./ButtonLabel.liquid.js";import S from"./ButtonLoadingIndicator.liquid.js";import{getData as k,getInsertLinkData as h}from"../common/helpers.js";let E=E=>{let{advanced:x,className:B,nodePrice:C,customAttrs:I,styles:T={},setting:A={},builderProps:G,wrapClassName:H="",translateSetting:M,isForceValue:N,pageContext:O}=E,{iconSvg:_,btnLink:J,htmlType:P,disabled:R,enableBtnLink:V,shouldClearSpace:w,disabledLoading:z=!0}=A,{enableTextStyle:D=!0}=T,{customCss:F,wrapStyle:K,restStyle:Q,dataState:U,dataIdAttr:W,isShowIcon:X,isScrollToElement:Y,getArialLabel:Z,getLabelToDisplay:ss,checkIsShowLabel:st,checkIsEditableLabel:si}=k(E),{HTMLTag:se,urlData:so,shouldRenderLink:sr}=h({enableBtnLink:V,htmlType:P,setting:J,defaultTag:"button",isLiquid:!0}),sl=e({...d(T,A?.enableHoverEffect)}),sa=e({...m(T)}),sn=e({...m(T),...c(T,A)}),sp=e({...g(Q,T)}),sd=o({...u({styles:T,className:B,shouldRenderLink:sr,uid:G?.uid,advanced:x})}),sm=o({...$(ss({isLiquid:!0,translateSetting:M,isForceValue:N,pageContext:O??{}}),w,D)}),sc=o({...f(T,si({isLiquid:!0}))}),sg=o({...y(H,B,x?.cssClass)}),su=o({...b(A)}),s$=o({...L()}),sf=r({...p({disabled:R,dataState:U,dataId:W,arialLabel:Z({isLiquid:!0})})}),sy=l({btnLink:A?.btnLink});return a(i`
2
2
  <gp-button
3
- gp-data='${s(sL)}'
4
- style="${{...Q}}"
5
- class="${sf}"
3
+ style="${{...K}}"
4
+ class="${s$}"
6
5
  >
7
- <div style="${sm}" class="${s$}">
8
- <style>${K}</style>
9
- ${n(Z,`<a
6
+ <script gp-data type="application/json">${JSON.stringify(sy).replaceAll("'","&#039;")}</script>
7
+ <div style="${sp}" class="${sg}">
8
+ <style>${F}</style>
9
+ ${n(Y,`<a
10
10
  class="gp-trigger-button-link gp-hidden"
11
- href=${sr.href}
12
- target=${sr.target}
11
+ href=${so.href}
12
+ target=${so.target}
13
13
  ></a>`)}
14
- <${so}
15
- ${{...sb}}
16
- ${{...T}}
17
- ${{...sr}}
14
+ <${se}
15
+ ${{...sf}}
16
+ ${{...I}}
17
+ ${{...so}}
18
18
  style="${sl}"
19
- class="${sp}"
19
+ class="${sd}"
20
20
  >
21
- ${n(!F,S(),"")}
22
- <div class="${sg}">
23
- ${n(Y,q({iconSvg:P??"",styles:sn,classes:sc}))}
24
- ${n(J&&se({isLiquid:!0,translateSetting:_,isForceValue:N,pageContext:O??{}}),k({label:st({isLiquid:!0,translateSetting:_,isForceValue:N,pageContext:O??{}}),styles:sd,classes:su}))}
21
+ ${n(!z,S(),"")}
22
+ <div class="${su}">
23
+ ${n(X,v({iconSvg:_??"",styles:sn,classes:sm}))}
24
+ ${n(D&&st({isLiquid:!0,translateSetting:M,isForceValue:N,pageContext:O??{}}),q({label:ss({isLiquid:!0,translateSetting:M,isForceValue:N,pageContext:O??{}}),styles:sa,classes:sc}))}
25
25
  </div>
26
- ${n(!!I,I?.toString()??"","")}
27
- </${so}>
26
+ ${n(!!C,C?.toString()??"","")}
27
+ </${se}>
28
28
  </div>
29
- ${n(t,`<script ${v('class="gps-link" delay',"src")}="{{ 'gp-button-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${v('class="gps-link" delay',"src")}="${e}/assets-v2/gp-button-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
29
+ ${n(s,`<script ${j('class="gps-link" delay',"src")}="{{ 'gp-button-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${j('class="gps-link" delay',"src")}="${t}/assets-v2/gp-button-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
30
30
  </gp-button>
31
- `)};export{x as default};
31
+ `)};export{E as default};
@@ -1,5 +1,6 @@
1
- import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,isLocalEnv as t,baseAssetURL as a}from"@gem-sdk/core";import i from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as m}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as n}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let f=f=>{let{children:v,builderAttrs:w,builderProps:g,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:j,rawChildren:C,conditionAppendJs:k}=f,E=d(f.setting),I={...f,setting:E},{arrowButtonSize:A,arrowBackgroundColor:G,arrowGapToEachSide:T="16",roundedArrow:b,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=E??{},{uniqueComponentId:O,loopConfig:P,arrowShowConfig:W,stateData:_}=m(I),{rootClassRender:H,wrapperClassRender:M,wrapperInnerClass:N,sliderClass:R}=p(I),{rootStyleRender:U,wrapperStyleRender:V,wrapperInnerStyle:F,sliderStyle:J}=n(I),{rootAttrRender:K,sliderAttr:L}=c(I),Q=()=>s(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${a}/assets-v2/gp-carousel-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),X=o=>i({uid:g?.uid,componentId:O,custom:E?.arrowCustom??"",showArrow:W,arrowButtonSize:A||{},arrowIconSize:q||{},arrowBackgroundColor:G??"",arrowCustomColor:x,gapToEachSize:T,showWhenHover:D,arrowBorder:z||{},arrowCorner:b||{},arrowShadow:B||{},left:"next"!==o,vertical:E?.vertical,isHiddenWhenDisabled:S,rootId:j});return o`
2
- <gp-carousel gp-data='${_}' ${K} style="${U}" class="${H}">
1
+ import{template as o,WrapRenderChildren as r,RenderChildren as s,RenderIf as e,isLocalEnv as t,baseAssetURL as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as p}from"./common/helpers.js";import{getClass as c}from"./common/classes.js";import{getStyle as n}from"./common/styles.js";import{getAttr as m}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let f=f=>{let{children:v,builderAttrs:w,builderProps:g,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:j,rawChildren:C,conditionAppendJs:k}=f,E=d(f.setting),I={...f,setting:E},{arrowButtonSize:A,arrowBackgroundColor:G,arrowGapToEachSide:T="16",roundedArrow:b,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=E??{},{uniqueComponentId:O,loopConfig:P,arrowShowConfig:W,stateData:_}=p(I),{rootClassRender:H,wrapperClassRender:M,wrapperInnerClass:N,sliderClass:R}=c(I),{rootStyleRender:U,wrapperStyleRender:V,wrapperInnerStyle:F,sliderStyle:J}=n(I),{rootAttrRender:K,sliderAttr:L}=m(I),Q=()=>e(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${i}/assets-v2/gp-carousel-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),X=o=>a({uid:g?.uid,componentId:O,custom:E?.arrowCustom??"",showArrow:W,arrowButtonSize:A||{},arrowIconSize:q||{},arrowBackgroundColor:G??"",arrowCustomColor:x,gapToEachSize:T,showWhenHover:D,arrowBorder:z||{},arrowCorner:b||{},arrowShadow:B||{},left:"next"!==o,vertical:E?.vertical,isHiddenWhenDisabled:S,rootId:j});return o`
2
+ <gp-carousel ${K} style="${U}" class="${H}">
3
+ <script gp-data type="application/json">${_}</script>
3
4
  <div
4
5
  ${w}
5
6
  class="${M}"
@@ -9,7 +10,7 @@ import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,i
9
10
  ${X("prev")}
10
11
  <div ${L} class="${R}" style="${J}">
11
12
  ${o`
12
- ${C?.length?r({uid:g?.uid??"",customProps:C[0]?.customProps},C.map((r,s)=>{if(r)return o`${e({...r,index:s,parentSettings:E,parentStyle:h,background:E?.background,parentUid:g?.uid})}`})):v??`<div>${u("Carousel","no_slider")}</div>`}`}
13
+ ${C?.length?r({uid:g?.uid??"",customProps:C[0]?.customProps},C.map((r,e)=>{if(r)return o`${s({...r,index:e,parentSettings:E,parentStyle:h,background:E?.background,parentUid:g?.uid})}`})):v??`<div>${u("Carousel","no_slider")}</div>`}`}
13
14
  </div>
14
15
  ${X("next")}
15
16
  </div>
@@ -0,0 +1 @@
1
+ let e=e=>`gp-carousel-${e}`,l=l=>`#${e(l)}`;export{e as getCarouselElementId,l as getCarouselElementSelector};
@@ -1,4 +1,4 @@
1
- import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/classes.js";import{getStyle as o}from"./common/styles.js";import{getData as e}from"./common/helpers.js";import{If as r}from"@gem-sdk/system";let l=l=>{let{custom:m,left:i}=l,{isRenderCustomIcon:a}=e(l),{buttonClass:p,buttonContentClass:c}=s(l),{buttonStyle:n,buttonContentStyle:w,innerBorderCss:y}=o(l),$=r(a,m??"",`<svg
1
+ import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/classes.js";import{getStyle as o}from"./common/styles.js";import{getData as e}from"./common/helpers.js";import{If as r}from"@gem-sdk/system";let l=l=>{let{custom:m,left:i}=l,{isRenderCustomIcon:a}=e(l),{buttonClass:p,buttonContentClass:c}=s({...l,isLiquid:!0}),{buttonStyle:n,buttonContentStyle:d,innerBorderCss:u}=o(l),w=r(a,m??"",`<svg
2
2
  height="100%"
3
3
  width="100%"
4
4
  xmlns="http://www.w3.org/2000/svg"
@@ -6,12 +6,12 @@ import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/clas
6
6
  fill="currentColor"
7
7
  >
8
8
  <path d="M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z" />
9
- </svg>`),d=t`
9
+ </svg>`),y=t`
10
10
  <div
11
11
  class="${c}"
12
- style="${w}"
12
+ style="${d}"
13
13
  >
14
- ${$||""}
14
+ ${w||""}
15
15
  </div>
16
16
  `;return t`
17
17
  <button
@@ -20,7 +20,7 @@ import{template as t}from"@gem-sdk/core";import{getClass as s}from"./common/clas
20
20
  class="${p}"
21
21
  style="${n}"
22
22
  >
23
- <style type="text/css">${y}</style>
24
- ${d}
23
+ <style type="text/css">${u}</style>
24
+ ${y}
25
25
  </button>
26
26
  `};export{l as default};
@@ -1 +1 @@
1
- import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as p}from"./helpers.js";let t=t=>{let{className:s,componentId:o,rootId:i,left:l,uid:n,isHiddenWhenDisabled:u,disabled:c,showWhenHover:a,showArrow:f,vertical:m}=t,v=p(f||{}),b=l?"gp-carousel-action-back gem-slider-previous":"gp-carousel-action-next gem-slider-next",d=e({"gp-z-1 gp-items-center gp-justify-center gp-overflow-hidden gp-shrink-0 before:gp-left-0 before:gp-top-0":!0,["gp-carousel-arrow-"+n]:!0,...s&&{[s]:!0},...o&&{[o]:!0},...i&&{[i]:!0},[b]:!0,...{"gp-invisible":u&&c,"gp-cursor-default gp-text-gray-300":c,"gp-cursor-pointer gp-text-gray-500":!c,"!gp-invisible group-hover/carousel:!gp-visible":a,...r(v)}}),x=e({"gp-flex gp-items-center gp-justify-center [&>svg]:gp-h-full [&>svg]:gp-w-full":!0,...g(!!l,m)});return{buttonClass:d,buttonContentClass:x}};export{t as getClass};
1
+ import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as p}from"./helpers.js";let t=t=>{let{className:s,componentId:o,rootId:i,left:l,uid:c,isHiddenWhenDisabled:n,disabled:u,showWhenHover:a,showArrow:f,vertical:m,isLiquid:v=!1}=t,b=p(f||{}),d=l?"gp-carousel-action-back gem-slider-previous":"gp-carousel-action-next gem-slider-next",x=`gp-invisible ${v?"":"gp-opacity-0"}`,y=e({"gp-z-2 gp-items-center gp-justify-center gp-overflow-hidden gp-shrink-0 before:gp-left-0 before:gp-top-0":!0,["gp-carousel-arrow-"+c]:!0,...s&&{[s]:!0},...o&&{[o]:!0},...i&&{[i]:!0},[d]:!0,...{[x]:n&&u,"gp-cursor-default gp-text-gray-300":u,"gp-cursor-pointer gp-text-gray-500":!u,"!gp-invisible group-hover/carousel:!gp-visible":a,...r(b)}}),h=e({"gp-flex gp-items-center gp-justify-center [&>svg]:gp-h-full [&>svg]:gp-w-full":!0,...g(!!l,m)});return{buttonClass:y,buttonContentClass:h}};export{t as getClass};
@@ -1 +1 @@
1
- import{DEVICES as e,getResponsiveValueByScreen as t}from"@gem-sdk/core";let r=e=>{let{hiddenWhenOnlyOne:t,slideDuplicated:r}=e;return{checkHidden:e=>t&&e?.length<2,getDotItems:t=>{let{enabledSneakPeak:l,totalSlideItem:o=0,numberOfFullWidthShow:n=0,slideItemsPerPage:a=0}=e;return Array.from({length:t?r?o/2:o:l?o-n+1:Math.ceil(o/a)},(e,t)=>t)}}},l=(r,l)=>{let o={};return e.forEach(e=>{let n=t(r,e),a=t(l,e);o={...o,[e]:n?a:"none"}}),o};export{r as getData,l as getUpdatedDotStyle};
1
+ import{DEVICES as e,getResponsiveValueByScreen as t}from"@gem-sdk/core";let r=e=>{let{hiddenWhenOnlyOne:t,slideDuplicated:r}=e;return{checkHidden:e=>t&&e?.length<2,getDotItems:t=>{let{enabledSneakPeak:l,totalSlideItem:n=0,numberOfFullWidthShow:o=0,slideItemsPerPage:a=0}=e;return Array.from({length:t?r?n/2:n:l?Math.min(n-o+1,n):Math.ceil(n/a)},(e,t)=>t)}}},l=(r,l)=>{let n={};return e.forEach(e=>{let o=t(r,e),a=t(l,e);n={...n,[e]:o?a:"none"}}),n};export{r as getData,l as getUpdatedDotStyle};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e}from"react/jsx-runtime";import{useEditorMode as r,isEmptyChildren as o}from"@gem-sdk/core";import"react";import"@gem-sdk/system";import{SwiperSlide as s}from"../swiper/SwiperSlide.js";import{getStyle as m}from"./common/styles.js";import{getClass as t}from"./common/classes.js";import{useCarouselItem as i}from"../../hooks/useCarouseItem.js";import l from"../../../grid/components/ChildrenDroppable.js";let a=a=>{let{children:d,builderAttrs:p,parentSettings:c,builderProps:n}=a,{handleClick:u,handleMouseMove:f,handleMouseOut:j}=i(a),{indexKey:h}=a,k=n?.uid?`${n?.uid}-${h}`:h,y=r(),{carouselItemStyle:C,carouselItemInnerStyle:g}=m(a,y),{carouselItemClass:v,carouselItemInnerClass:M}=t(a);return e(s,{...p,"aria-hidden":!0,className:v,style:C,onClick:u,onMouseMove:f,onMouseLeave:j,dir:c?.rtl?"rtl":"ltr","data-carousel-item-key":k,children:e("div",{className:M,style:g,children:o(d)?e(l,{}):d})})};export{a as default};
2
+ import{jsx as e}from"react/jsx-runtime";import{useEditorMode as r,isEmptyChildren as o}from"@gem-sdk/core";import"../swiper/Swiper.js";import{SwiperSlide as s}from"../swiper/SwiperSlide.js";import{getStyle as m}from"./common/styles.js";import{getClass as i}from"./common/classes.js";import{useCarouselItem as t}from"../../hooks/useCarouseItem.js";import l from"../../../grid/components/ChildrenDroppable.js";let a=a=>{let{children:p,builderAttrs:d,parentSettings:n,builderProps:c}=a,{handleClick:u,handleMouseMove:f,handleMouseOut:j}=t(a),{indexKey:h}=a,k=c?.uid?`${c?.uid}-${h}`:h,w=r(),{carouselItemStyle:y,carouselItemInnerStyle:C}=m(a,w),{carouselItemClass:v,carouselItemInnerClass:M}=i(a);return e(s,{...d,"aria-hidden":!0,className:v,style:y,onClick:u,onMouseMove:f,onMouseLeave:j,dir:n?.rtl?"rtl":"ltr","data-carousel-item-key":k,children:e("div",{className:M,style:C,children:o(p)?e(l,{}):p})})};export{a as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as l,useRef as n,useMemo as s,useCallback as a,isValidElement as d,cloneElement as m,createElement as p}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as h}from"@gem-sdk/core";import{mappingNavigationCarousel as S}from"../arrow/common/helpers.js";import{useCarousel as v}from"../../hooks/useCarousel.js";import{getData as w}from"./common/helpers.js";import{getClass as f}from"./common/classes.js";import{getStyle as k}from"./common/styles.js";import{getAttr as y}from"./common/attrs.js";import C from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let b=t((t,b)=>{let{children:$,builderAttrs:O,builderProps:P,styles:A,isHiddenArrowWhenDisabled:D=!0,hiddenDotWhenOnlyOne:I,elmRef:x,isEnableCheckHasScrollableContent:z,onSwiperReady:T}=t,B=S(t.setting),N={...t,setting:B},R=i.count(c($))??0,[W,E]=l(null),{arrowButtonSize:H,arrowBackgroundColor:G,arrowGapToEachSide:F="16",roundedArrow:K,arrowIconSize:U,arrowCustomColor:q,arrowBorder:J,arrowShadow:L,showWhenHover:M}=B??{},Q=n({prevOrder:"",prevContent:"",version:0}),V=s(()=>{let e=B?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[B?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,totalSlideItem:_,currentSlide:ee,isRenderDots:er,showNavigation:eo,isScrollToStart:et,isScrollToEnd:ei,handleDotClick:el,getItemsPerPage:en,handleNextAndPrevSlide:es,dispatchEventSelectSlide:ea,getNumberOfFullWidthShow:ed,setCurrentSlide:em,shouldDuplicateSlides:ep,setIsScrollToStart:ec,setIsScrollToEnd:eu}=v(N,b,W,R),{loopConfig:eh,arrowShowConfig:eS}=w(N),{rootClassRender:ev,wrapperClassRender:ew,wrapperInnerClass:ef,sliderClass:ek}=f(N),{rootStyleRender:ey,wrapperStyleRender:eC,wrapperInnerStyle:eg}=k(N),{rootAttrRender:ej,sliderAttr:eb}=y(N),e$=u(),eO=B?.sneakPeak?.[e$],eP=r=>{let o="next"===r;if(R<=1)return null;let i=o?!X&&W?.isEnd:!X&&W?.isBeginning;return e(C,{uid:P?.uid,custom:B?.arrowCustom??"",showArrow:eS,arrowButtonSize:H||{},arrowIconSize:U||{},arrowBackgroundColor:G||"",arrowCustomColor:q,gapToEachSize:F,showWhenHover:M,arrowBorder:J||{},arrowCorner:K||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),es(r)},left:!o,disabled:z?o?!X&&ei:!X&&et:i,vertical:B?.vertical,isHiddenWhenDisabled:D,rootId:t?.parentClass})},eA=a(e=>{E(e),T?.(e)},[]),eD=a(()=>{t?.isDisableResetSlide||(em(0),ec(!0),eu(!1))},[t?.isDisableResetSlide,em,eu,ec]),eI=i.toArray(c($)).filter(d),ex=ep(R),ez=ex?2*R:R,eT=s(()=>{if(!ex)return eI;let e=eI.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return m(e,{...e.props||{},key:t})});return[...eI,...e]},[ex,eI]),eB=s(()=>{let e=i.toArray($),r=e[0];return d(r)?r.key:""},[$]),eN=s(()=>`${R}-${V}-${eT.length}-${Z?.direction}-${eB}`,[R,V,eT.length,Z?.direction,eB]);return e("div",{ref:x,...ej,className:ev,style:ey,children:r("div",{ref:Y,...O,className:ew,style:eC,children:[r("div",{className:ef,style:eg,children:[eo&&eP("prev"),p(j,{...eb,...Z,sliderClass:ek,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:eA,totalSlides:_,key:eN,sliderOrder:V,onSwiperReset:eD},h($)?e("div",{children:"No Slider"}):e(o,{children:eT.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return p(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:B,parentStyle:A,background:B?.background,parentUid:P?.uid,dispatchEventSelectSlide:ea})})})),eo&&eP("next")]}),er&&e(g,{dotStyle:B?.dotStyle,dotGapToCarousel:B?.dotGapToCarousel,vertical:B?.vertical,showDots:B?.dot,slideItemsPerPage:en(),enabledSneakPeak:eO,dotColor:B?.dotColor,dotActiveColor:B?.dotActiveColor,dotSize:B?.dotSize,sneakPeakType:B?.sneakPeakType,totalSlideItem:ez,hiddenWhenOnlyOne:I,currentSlide:ee,loop:eh,numberOfFullWidthShow:ed(e$),onHandleClick:el,slideDuplicated:ex}),c($,!0)]})})});export{b as default};
2
+ import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as n,useRef as l,useMemo as s,useCallback as a,isValidElement as d,cloneElement as p,createElement as m}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as h}from"@gem-sdk/core";import{mappingNavigationCarousel as k}from"../arrow/common/helpers.js";import{useCarousel as S}from"../../hooks/useCarousel.js";import{getData as v}from"./common/helpers.js";import{getClass as f}from"./common/classes.js";import{getStyle as w}from"./common/styles.js";import{getAttr as y}from"./common/attrs.js";import C from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let P=t((t,P)=>{let{children:b,builderAttrs:O,builderProps:A,styles:I,isHiddenArrowWhenDisabled:x=!0,hiddenDotWhenOnlyOne:z,elmRef:T,isEnableCheckHasScrollableContent:D,onSwiperReady:N}=t,W=k(t.setting),$={...t,setting:W},B=i.count(c(b))??0,[H,E]=n(null),{arrowButtonSize:G,arrowBackgroundColor:R,arrowGapToEachSide:F="16",roundedArrow:K,arrowIconSize:U,arrowCustomColor:q,arrowBorder:J,arrowShadow:L,showWhenHover:M}=W??{},Q=l({prevOrder:"",prevContent:"",version:0}),V=s(()=>{let e=W?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[W?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,sneakPeak:_,totalSlideItem:ee,currentSlide:er,isRenderDots:eo,isNavigationEnabled:et,isNavigationVisible:ei,isScrollToStart:en,isScrollToEnd:el,handleDotClick:es,getItemsPerPage:ea,handleNextAndPrevSlide:ed,dispatchEventSelectSlide:ep,getNumberOfFullWidthShow:em,shouldDuplicateSlides:ec,swiperIsBeginning:eu,swiperIsEnd:eh,handleSwiperReset:ek}=S($,P,H,B),{loopConfig:eS,arrowShowConfig:ev}=v($),{rootClassRender:ef,wrapperClassRender:ew,wrapperInnerClass:ey,sliderClass:eC}=f($),{rootStyleRender:eg,wrapperStyleRender:ej,wrapperInnerStyle:eP}=w($),{rootAttrRender:eb,sliderAttr:eO}=y($),eA=u(),eI=W?.sneakPeak?.[eA],ex=(r,o)=>{let i="next"===r;return!o||B<=1?null:e(C,{uid:A?.uid,custom:W?.arrowCustom??"",showArrow:ev,arrowButtonSize:G||{},arrowIconSize:U||{},arrowBackgroundColor:R||"",arrowCustomColor:q,gapToEachSize:F,showWhenHover:M,arrowBorder:J||{},arrowCorner:K||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),ed(r)},left:!i,disabled:!ei||!X&&(i?D?el:eh:D?en:eu),vertical:W?.vertical,isHiddenWhenDisabled:x,rootId:t?.parentClass})},ez=a(e=>{E(e),N?.(e)},[]),eT=i.toArray(c(b)).filter(d),eD=ec(B),eN=eD?2*B:B,eW=s(()=>{if(!eD)return eT;let e=eT.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return p(e,{...e.props||{},key:t})});return[...eT,...e]},[eD,eT]),e$=s(()=>{let e=i.toArray(b),r=e[0];return d(r)?r.key:""},[b]),eB=Z.autoplay?"on":"off",eH=s(()=>{let e=[B,V,eW.length,e$,Z.dir,Z.loop,Z.direction,Z.isSneakPeekCenter,_,eB];return e.join("-")},[B,V,eW.length,e$,Z.dir,Z.loop,Z.direction,Z.isSneakPeekCenter,_,eB]);return e("div",{ref:T,...eb,className:ef,style:eg,children:r("div",{ref:Y,...O,className:ew,style:ej,children:[r("div",{className:ey,style:eP,children:[ex("prev",et),m(j,{...eO,...Z,sliderClass:eC,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:ez,totalSlides:ee,key:eH,sliderOrder:V,onSwiperReset:ek},h(b)?e("div",{children:"No Slider"}):e(o,{children:eW.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return m(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:W,parentStyle:I,background:W?.background,parentUid:A?.uid,dispatchEventSelectSlide:ep})})})),ex("next",et)]}),eo&&e(g,{dotStyle:W?.dotStyle,dotGapToCarousel:W?.dotGapToCarousel,vertical:W?.vertical,showDots:W?.dot,slideItemsPerPage:ea(),enabledSneakPeak:eI,dotColor:W?.dotColor,dotActiveColor:W?.dotActiveColor,dotSize:W?.dotSize,sneakPeakType:W?.sneakPeakType,totalSlideItem:eN,hiddenWhenOnlyOne:z,currentSlide:er,loop:eS,numberOfFullWidthShow:em(eA),onHandleClick:es,slideDuplicated:eD}),c(b,!0)]})})});export{P as default};
@@ -1,7 +1,8 @@
1
- import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,isLocalEnv as t,baseAssetURL as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import d from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as l}from"../arrow/common/helpers.js";import{getData as m}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as n}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let v=v=>{let{children:f,builderAttrs:w,builderProps:g,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:j,rawChildren:C,conditionAppendJs:k,productBadgeLiquid:E}=v,I=l(v.setting),A={...v,setting:I},{arrowButtonSize:G,arrowBackgroundColor:T,arrowGapToEachSide:b="16",roundedArrow:q,arrowIconSize:x,arrowCustomColor:z,arrowBorder:B,arrowShadow:D,showWhenHover:O}=I??{},{uniqueComponentId:P,loopConfig:W,arrowShowConfig:_,stateData:H}=m(A),{rootClassRender:M,wrapperClassRender:N,wrapperInnerClass:R,sliderClass:U}=p(A),{sliderWrapperStyle:V,rootStyleRender:F,wrapperStyleRender:J,wrapperInnerStyle:K}=n(A),{rootAttrRender:L,sliderAttr:Q}=c(A),X=()=>s(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${i}/assets-v2/gp-carousel-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),Y=o=>a({uid:g?.uid,componentId:P,custom:I?.arrowCustom??"",showArrow:_,arrowButtonSize:G||{},arrowIconSize:x||{},arrowBackgroundColor:T??"",arrowCustomColor:z,gapToEachSize:b,showWhenHover:O,arrowBorder:B||{},arrowCorner:q||{},arrowShadow:D||{},left:"next"!==o,vertical:I?.vertical,isHiddenWhenDisabled:S,rootId:j});return o`
2
- <gp-carousel-v3 gp-data='${H}' ${L} style="${F}" class="${M}">
1
+ import{template as o,WrapRenderChildren as r,RenderChildren as s,RenderIf as e,isLocalEnv as t,baseAssetURL as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as p}from"./common/helpers.js";import{getClass as n}from"./common/classes.js";import{getStyle as c}from"./common/styles.js";import{getAttr as m}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let v=v=>{let{children:f,builderAttrs:g,builderProps:w,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:j,rawChildren:C,conditionAppendJs:k,productBadgeLiquid:E}=v,I=d(v.setting),A={...v,setting:I},{arrowButtonSize:G,arrowBackgroundColor:P,arrowGapToEachSide:T="16",roundedArrow:b,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=I??{},{uniqueComponentId:O,loopConfig:W,arrowShowConfig:_,stateData:H}=p(A),{rootClassRender:M,wrapperClassRender:N,wrapperInnerClass:R,sliderClass:U}=n(A),{sliderWrapperStyle:V,rootStyleRender:F,wrapperStyleRender:J,wrapperInnerStyle:K}=c(A),{rootAttrRender:L,sliderAttr:Q}=m(A),X=()=>e(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v3-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${i}/assets-v2/gp-carousel-v3-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),Y=o=>a({uid:w?.uid,componentId:O,custom:I?.arrowCustom??"",showArrow:_,arrowButtonSize:G||{},arrowIconSize:q||{},arrowBackgroundColor:P??"",arrowCustomColor:x,gapToEachSize:T,showWhenHover:D,arrowBorder:z||{},arrowCorner:b||{},arrowShadow:B||{},left:"next"!==o,onClick:o=>{o.stopPropagation()},vertical:I?.vertical,isHiddenWhenDisabled:S,rootId:j});return o`
2
+ <gp-carousel-v3 ${L} style="${F}" class="${M}">
3
+ <script gp-data type="application/json">${H}</script>
3
4
  <div
4
- ${w}
5
+ ${g}
5
6
  class="${N}"
6
7
  style="${J}"
7
8
  >
@@ -11,12 +12,12 @@ import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,i
11
12
  <div ${Q} style="${V}">
12
13
  <div class="${U}">
13
14
  ${o`
14
- ${C?.length?r({uid:g?.uid??"",customProps:C[0]?.customProps},C.map((r,s)=>{if(r)return o`${e({...r,index:s,parentSettings:I,parentStyle:h,background:I?.background,parentUid:g?.uid})}`})):f??`<div>${u("Carousel","no_slider")}</div>`}`}
15
+ ${C?.length?r({uid:w?.uid??"",customProps:C[0]?.customProps},C.map((r,e)=>{if(r)return o`${s({...r,index:e,parentSettings:I,parentStyle:h,background:I?.background,parentUid:w?.uid})}`})):f??`<div>${u("Carousel","no_slider")}</div>`}`}
15
16
  </div>
16
17
  </div>
17
18
  ${Y("next")}
18
19
  </div>
19
- ${d({loop:W,showDots:I?.dot,dotStyle:I?.dotStyle,dotGapToCarousel:I?.dotGapToCarousel,vertical:I?.vertical,uniqueComponentId:P,hiddenWhenOnlyOne:y})}
20
+ ${l({loop:W,showDots:I?.dot,dotStyle:I?.dotStyle,dotGapToCarousel:I?.dotGapToCarousel,vertical:I?.vertical,uniqueComponentId:O,hiddenWhenOnlyOne:y})}
20
21
  </div>
21
22
  </gp-carousel-v3>
22
23
  ${k?`{% if ${k} %} ${X()} {% endif %}`:X()}
@@ -0,0 +1,24 @@
1
+ import{template as o,WrapRenderChildren as r,RenderChildren as e,RenderIf as s,isLocalEnv as t,baseAssetURL as a}from"@gem-sdk/core";import i from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as m}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as n}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getStaticLocale as u,getSettingPreloadData as $}from"../../../helpers.js";let v=v=>{let{children:f,builderAttrs:g,builderProps:w,styles:h,isHiddenArrowWhenDisabled:S=!0,hiddenDotWhenOnlyOne:y,rootId:C,rawChildren:j,conditionAppendJs:k,productBadgeLiquid:b}=v,E=d(v.setting),I={...v,setting:E},{arrowButtonSize:A,arrowBackgroundColor:G,arrowGapToEachSide:P="16",roundedArrow:T,arrowIconSize:q,arrowCustomColor:x,arrowBorder:z,arrowShadow:B,showWhenHover:D}=E??{},{uniqueComponentId:O,loopConfig:W,arrowShowConfig:_,stateData:H}=m(I),{rootClassRender:M,wrapperClassRender:N,wrapperInnerClass:R,sliderClass:U}=p(I),{sliderWrapperStyle:V,rootStyleRender:F,wrapperStyleRender:J,wrapperInnerStyle:K}=n(I),{rootAttrRender:L,sliderAttr:Q}=c(I),X=()=>s(t,`<script ${$('class="gps-link" delay',"src")}="{{ 'gp-carousel-v3-embla-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${$('class="gps-link" delay',"src")}="${a}/assets-v2/gp-carousel-v3-embla-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),Y=o=>i({uid:w?.uid,componentId:O,custom:E?.arrowCustom??"",showArrow:_,arrowButtonSize:A||{},arrowIconSize:q||{},arrowBackgroundColor:G??"",arrowCustomColor:x,gapToEachSize:P,showWhenHover:D,arrowBorder:z||{},arrowCorner:T||{},arrowShadow:B||{},left:"next"!==o,onClick:o=>{o.stopPropagation()},vertical:E?.vertical,isHiddenWhenDisabled:S,rootId:C});return o`
2
+ <gp-carousel-v3 gp-data='${H}' ${L} style="${F}" class="${M}">
3
+ <div
4
+ ${g}
5
+ class="${N}"
6
+ style="${J}"
7
+ >
8
+ <div class="${R}" style="${K}">
9
+ ${b??""}
10
+ ${Y("prev")}
11
+ <div ${Q} style="${V}">
12
+ <div class="${U}">
13
+ ${o`
14
+ ${j?.length?r({uid:w?.uid??"",customProps:j[0]?.customProps},j.map((r,s)=>{if(r)return o`${e({...r,index:s,parentSettings:E,parentStyle:h,background:E?.background,parentUid:w?.uid})}`})):f??`<div>${u("Carousel","no_slider")}</div>`}`}
15
+ </div>
16
+ </div>
17
+ ${Y("next")}
18
+ </div>
19
+ ${l({loop:W,showDots:E?.dot,dotStyle:E?.dotStyle,dotGapToCarousel:E?.dotGapToCarousel,vertical:E?.vertical,uniqueComponentId:O,hiddenWhenOnlyOne:y})}
20
+ </div>
21
+ </gp-carousel-v3>
22
+ ${k?`{% if ${k} %} ${X()} {% endif %}`:X()}
23
+
24
+ `};export{v as default};
@@ -1 +1 @@
1
- import{createAttr as t}from"@gem-sdk/system";import{getData as r}from"./helpers.js";let e=e=>{let{rootAttrs:i,builderProps:o,rootId:d}=e,{uniqueComponentId:l}=r(e),s=t({"data-id":`${o?.uid}`,id:`gp-root-carousel-${l}`,...i}),m=t({...(o?.uid||d)&&{id:`gp-carousel-${l}`},dir:e.setting?.rtl?"rtl":"ltr"});return{rootAttrRender:s,sliderAttr:m}};export{e as getAttr};
1
+ import{createAttr as t}from"@gem-sdk/system";import{getData as r}from"./helpers.js";import{getCarouselElementId as o}from"../../../common/selectors.js";let e=e=>{let{rootAttrs:i,builderProps:m,rootId:s}=e,{uniqueComponentId:d}=r(e),l=m?.uid||s?o(d??""):void 0,p=t({"data-id":`${m?.uid}`,id:`gp-root-carousel-${d}`,...i}),g=t({...l&&{id:l},dir:e.setting?.rtl?"rtl":"ltr"});return{rootAttrRender:p,sliderAttr:g}};export{e as getAttr};
@@ -1 +1 @@
1
- import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createStateOrContext as o}from"@gem-sdk/system";let t=t=>{let r=["mobile","tablet","desktop"],{setting:l,rootId:a,builderProps:i,styles:s,moveToIdx:p,isHiddenArrowWhenDisabled:d,shouldInitByLayout:m}=t,n=a??i?.uid,f=`gp-carousel-slider-${i?.uid}`,{enableAction:g={desktop:!0},navigationStyle:u,navigationEnable:c={desktop:!0}}=l??{},k=o({id:n,moveToIdx:p,isHiddenArrowWhenDisabled:d,setting:l,styles:s,shouldInitByLayout:m});return{loopConfig:(()=>{let o=l?.loop;return r.forEach(t=>{o={...o,[t]:!!e(g)&&o?.[t]}}),o})(),stateData:JSON.stringify(k).replaceAll("'","&#039;"),uniqueComponentId:n,arrowShowConfig:(()=>{let o=u;return r.forEach(t=>{o={...o,[t]:e(c,t)?e(o,t):"none"}}),o})(),sliderSelector:f}};export{t as getData};
1
+ import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createStateOrContext as o}from"@gem-sdk/system";let t=t=>{let r=["mobile","tablet","desktop"],{setting:l,rootId:a,builderProps:s,styles:i,moveToIdx:p,isHiddenArrowWhenDisabled:d,shouldInitByLayout:m,carouselType:n="carousel"}=t,f=a??s?.uid,g=`gp-carousel-slider-${s?.uid}`,{enableAction:u={desktop:!0},navigationStyle:c,navigationEnable:k={desktop:!0}}=l??{},h=o({id:f,moveToIdx:p,isHiddenArrowWhenDisabled:d,setting:l,styles:i,shouldInitByLayout:m,carouselType:n});return{loopConfig:(()=>{let o=l?.loop;return r.forEach(t=>{o={...o,[t]:!!e(u)&&o?.[t]}}),o})(),stateData:JSON.stringify(h).replaceAll("'","&#039;"),uniqueComponentId:f,arrowShowConfig:(()=>{let o=c;return r.forEach(t=>{o={...o,[t]:e(k,t)?e(o,t):"none"}}),o})(),sliderSelector:g}};export{t as getData};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{useRef as r,useState as t,useMemo as i,useEffect as n}from"react";import{getStyleSwiperContainer as s}from"./common/styles.js";function p(p){let c=r(null),{children:o,totalSlides:u,onSwiperReset:l,onSwiperReady:a,sliderClass:w,sliderOrder:d,thumbsSwiper:m,...f}=p,[y,b]=t(!1),j=i(()=>m?{"thumbs-swiper":m}:{},[m]),g=s(),h="object"==typeof p.autoplay&&null!==p.autoplay?p.autoplay.pauseOnMouseEnter:void 0,E=()=>{c.current?.swiper&&c.current.swiper.wrapperEl.style.setProperty("width",`${c.current.swiper.width}px`)};return n(()=>{let e=async()=>{let e=await import("@gem-sdk/swiper/element/bundle");e.register(),await window.customElements.whenDefined("swiper-container"),b(!0)};e()},[]),n(()=>{y&&c.current&&(Object.assign(c.current,f),c.current.initialize?.(),a?.(c.current.swiper),E())},[y]),n(()=>{c.current?.swiper&&(c.current.swiper.destroy(!1,!1),Object.assign(c.current,f),c.current.initialize?.(),a(c.current.swiper),l())},[f.dir,f.loop,h,f.slidesPerView,a,l,f.spaceBetween,f.slidesOffsetBefore]),n(()=>{let e=c.current;e&&(Object.assign(e,f),e.swiper?.update(),E())},[f]),n(()=>{l()},[d,l]),n(()=>{let e=c.current;if(!e)return;let r=()=>{E()};return e.addEventListener("swiperresize",r),()=>{e.removeEventListener("swiperresize",r)}},[]),e("swiper-container",{init:!1,ref:c,class:w,style:{...g,display:y?"block":"none"},...j,children:o})}export{p as Swiper};
1
+ import{jsx as e}from"react/jsx-runtime";import{useRef as r,useMemo as t,useCallback as n,useEffect as i}from"react";import{getStyleSwiperContainer as s}from"./common/styles.js";import{register as l}from"@gem-sdk/swiper/element/bundle";function c(l){let c=r(null),u=r(null),{children:o,totalSlides:p,onSwiperReset:m,onSwiperReady:w,sliderClass:a,sliderOrder:d,thumbsSwiper:f,...y}=l,b=t(()=>f?{"thumbs-swiper":f}:{},[f]),h=s(),z=(e,r)=>{if(!e?.wrapperEl)return!1;let t=e.el,n=r||e.width||t?.clientWidth||t?.parentElement?.clientWidth||0;return!(n<=0)&&(e.wrapperEl.style.setProperty("width",`${n}px`),!0)},O=n(({width:e}={})=>{!z(c.current?.swiper,e)&&"undefined"!=typeof window&&c.current&&(u.current&&cancelAnimationFrame(u.current),u.current=window.requestAnimationFrame(()=>{u.current=null,z(c.current?.swiper,e)}))},[]);return i(()=>{let e;let r=c.current;if(!r)return;let t="function"==typeof r.closest&&!!r.closest("swiper-slide");Object.assign(r,{...y,...t&&{nested:!0}}),r.initialize?.(),w?.(r.swiper),O(),r.swiper?.on?.("resize",O);let n=r.parentElement;return n&&"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{let e=c.current?.swiper;e&&!(e.width>0)&&(O(),e.update?.())})).observe(n),()=>{r.swiper?.off?.("resize",O),e?.disconnect(),m(),u.current&&(cancelAnimationFrame(u.current),u.current=null)}},[]),i(()=>{let e=c.current,r=e?.swiper;e&&r&&!r.destroyed&&(Object.assign(e,y),r.update(),O())},[JSON.stringify(y)]),i(()=>{m()},[d,m]),e("swiper-container",{init:!1,ref:c,class:a,style:{...h},...b,children:o})}l();export{c as Swiper};
@@ -1 +1 @@
1
- import{useState as e,useRef as t,useMemo as r,useCallback as i,useImperativeHandle as n,useEffect as a}from"react";import{useCurrentDevice as l,useEditorMode as s,useInteraction as o,getResponsiveValueByScreen as u,DEVICES as d}from"@gem-sdk/core";import p from"./useTrackPreviewPause.js";let f=(f,m,c,k)=>{let h;let{builderProps:b,moveToIdx:P,styles:y,setting:g,isHiddenArrowWhenDisabled:v=!0,elmRef:w,isEnableCheckHasScrollableContent:T,onClickArrow:N,onHandleChangeSlideByInteraction:x,onChangeActive:S}=f,[C,O]=e(!0),[E,L]=e(!0),[M,I]=e(!1),{loop:z,navigationEnable:V={desktop:!0},navigationStyle:B}=g??{},[j,A]=e(k),[D,F]=e(g?.defaultCurrentSlider??0),{isFirstPreviewClicked:H}=p(g?.runPreview),R=t(),$=t(P??0),q=l(),U=s(),{onListener:W,saveToElementInteractionData:G,getInteractionPreviousData:J,trigger:K}=o(),Q=r(()=>u(z,q,!1),[z,q]),X=i(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:Math.floor(r):0}),e},[g?.slidesToShow]),Y=i(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:r:0}),e},[g?.slidesToShow]),Z=r(()=>{let e=Y();if(e)return e;let t={};return d.forEach(e=>{let r=u(g?.sneakPeak,e),i=r?"center"===u(g?.sneakPeakType,e)?u(g?.sneakPeakOffsetCenter,e)??0:u(g?.sneakPeakOffsetForward,e)??0:0,n="center"===u(g?.sneakPeakType,e)?-2:-1,a=u(g?.itemNumber,e);t[e]="number"==typeof a?a+i/100*n:"auto"}),t},[Y,g?.itemNumber,g?.sneakPeak,g?.sneakPeakOffsetCenter,g?.sneakPeakOffsetForward,g?.sneakPeakType]),_=r(()=>{let e=u(Z,q),t=u(z,q,!1);return t&&Number(e??0)>k||!t&&Number(e??0)>=k},[Z,q,z,k]),ee=r(()=>{let e=u(V,q),t=u(B,q);return c&&e&&"none"!==t&&C&&!_},[V,q,B,c,C,_]),et=r(()=>{let e=X();return e||g?.itemNumber},[X,g?.itemNumber]),er=i(e=>{let t="center"===u(g?.sneakPeakType,e)?2:1;return"number"==typeof u(et,e,4)?u(et,e,4)-t:void 0},[g?.sneakPeakType,et]),ei=()=>{let e="auto"===u(Z,q,1)?1:u(Z,q,1);return e??1},en=e=>{let t=e*ei();return t>=j-ei()&&(t=j-ei()),t},ea=e=>{let t="edit"===U?{[e]:!1}:g?.enableDrag;return u(t,e)};n(m,()=>({nextSlideInteraction:eo,previousSlideInteraction:eu,moveToSlideInteraction:ed,getSwiper:()=>c}));let el=e=>{c?.slideTo(e),x&&x(e)},es=(e,t)=>{let{key:r,data:i,isRollback:n,element:a}=e,l=Math.max(c?.activeIndex??0,0);if(n&&void 0===i)return;if(n){if("specific"===t){let{previousData:e}=J(a,r);el(Number(e))}else el("next"===t?l-1:l+1);return}let s="specific"===t?Math.max($.current,0):l;G(a,r,s.toString());let o="specific"===t?Number(i):"next"===t?l+1:l-1;el(o)},eo=e=>{es(e,"next")},eu=e=>{es(e,"previous")},ed=e=>{es(e,"specific")},ep=ei(),ef=r(()=>!!j&&c&&u(g?.dot,q)&&!_&&k>1,[j,c,g?.dot,q,_,k]),em=u(g?.vertical,q,!1)?"vertical":"horizontal",ec=e=>{let{swiperWidth:t,slidesPerView:r,itemNumberByDevice:i,centeredSlides:n}=e;if(!n||!i)return 0;let a=t/r,l=(Number(i)-2)/2-1;return-(a/2+l*a)},ek=r(()=>{let e=u(z,q,!1),t=c?.width??0,r={0:"mobile",768:"tablet",1025:"desktop"},i=Number(Object.entries(r).find(([,e])=>e===q)?.[0]??1025),n=Object.entries(r).reduce((e,[r,i])=>{if(!e)return;let n=Number(r),a=u(g?.sneakPeak,i,!1),l=a&&"center"===u(g?.sneakPeakType,i),s=u(g?.itemNumber,i),o=ea(i),d=ec({swiperWidth:t,slidesPerView:ep,itemNumberByDevice:s,centeredSlides:l}),p=g?.initialSlide||P||0;return e[n]={allowTouchMove:o,slidesOffsetBefore:d,slidesOffsetAfter:d,initialSlide:p,centeredSlides:l},e},{}),a="center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))>1;return{speed:y?.playSpeed??500,dir:g?.rtl?"rtl":"ltr",spaceBetween:u(y?.spacing,q)||0,loop:e,slidesPerView:"auto"===u(Z,q,1)?"auto":ep,direction:em,breakpoints:n,isSneakPeekCenter:a,slidesOffsetBefore:n?.[i]?.slidesOffsetBefore,thumbs:{slideThumbActiveClass:"gem-slider-item-active"},loopPreventsSliding:!1,autoplay:{delay:(g?.autoplayTimeout??1)*1e3,pauseOnMouseEnter:g?.pauseOnHover,stopOnLastSlide:!e}}},[y?.playSpeed,g?.rtl,y?.spacing,q,z,ep,g?.sneakPeakType,g?.pauseOnHover,g?.autoplayTimeout,c?.width,j]),eh=i(e=>{let t=c&&c.params?.slidesPerView,r=t?c?.slidesPerViewDynamic():1;if(e<=1)return!1;let i="auto"===ek.slidesPerView?r:ek.slidesPerView;if(!Q||e<Number(i)||!C)return!1;let n=u(g?.sneakPeak,q,!1),a=n&&"center"===u(g?.sneakPeakType,q),l=Number.isNaN(Number(i))?1:Math.ceil(Number(i));a&&l%2==0&&(l+=1);let s=a?Math.max(1,Math.ceil(l/2)):1;return e<l+s},[c,ek.slidesPerView,Q,C,g?.sneakPeak,g?.sneakPeakType,q]);return a(()=>{let e=`[data-id="${b?.uid}"]`;W({event:"gp:change-next-slide",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};eo({element:R.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-previous-slide",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};eu({element:R.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-image-step",selector:e,elementRef:R},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};ed({element:R.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-index-slide",selector:e},t=>{let r=document.querySelector(e),{data:i,isRollback:n,uniqueStorageKey:a}=t||{};ed({element:r,data:i,isRollback:n,key:a})})},[]),a(()=>{A(k)},[k]),a(()=>{if("number"==typeof P){if($.current=P,c?.params?.loop){c?.slideToLoop(P);return}c?.slideTo(P)}},[c,P,v]),a(()=>{if(!c)return;let e=()=>{A(c.slides.length)},t=()=>{S&&S(c.realIndex)},r=()=>{F(c.realIndex),L(c?.translate===0),I(c?.translate<=c?.maxTranslate())};return c.on("transitionEnd",r),c.on("slideChange",e),c.on("slideChangeTransitionStart",t),()=>{c?.off("slideChange",e),c?.off("slideChangeTransitionStart",t),c?.off("transitionEnd",r)}},[ek.loop,c]),a(()=>{c?.wrapperEl&&(c.wrapperEl.style.transitionTimingFunction=g?.animationMode??"ease")},[c,g?.animationMode]),a(()=>{if(c&&c.autoplay){let e="edit"===U?!!H&&g?.runPreview&&g?.autoplay:g?.autoplay;e?c.autoplay.start():c.autoplay.stop()}},[c,g?.autoplay,U,H,g?.runPreview]),a(()=>{let e=e=>{if(b?.uid!==e?.detail.componentUid)return;let t=e?.detail.index||0;c?.slideToLoop(t)};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[c,b?.uid]),a(()=>{if(!c)return;let e=c.el;e?.classList?.remove("swiper-horizontal","swiper-vertical");let t=u(g?.vertical,q)?"swiper-vertical":"swiper-horizontal";e?.classList?.add(t),c?.slides?.forEach(e=>{e.style.width="",e.style.height=""}),c?.update()},[q,g?.vertical,c,c?.params]),a(()=>{if(!c||!T)return;let e=()=>{let e=c?.slides?.slice(0,k)||[],t=Number(ek?.spaceBetween||0),r=e.reduce((e,t)=>e+t.offsetHeight,0)+t*(e.length-1),i=e.reduce((e,t)=>e+t.offsetWidth,0)+t*(e.length-1),n=c.params?.direction==="horizontal"?i>(c.width||0):r>(c.height||0);O(n)};return e(),c.on("resize",e),c.on("update",e),c.on("slidesLengthChange",e),c.on("orientationchange",e),()=>{c.off("resize",e),c.off("update",e),c.off("slidesLengthChange",e),c.off("orientationchange",e)}},[c]),{isInfinity:Q,sliderSettings:ek,totalSlideItem:j,currentSlide:D,localRef:R,isRenderDots:ef,showNavigation:ee,isScrollToStart:E,isScrollToEnd:M,handleDotClick:(e,t)=>{let r=g?.sneakPeak?.[q]?e:t?e:en(e);if(t){if(k<ep){c?.slideTo(r);return}if(c?.realIndex===r)return;if(r===Number(c?.realIndex)+1||0===r&&c?.realIndex===k-1)return c?.slideNext();if(r===Number(c?.realIndex)-1||r===k-1&&c?.realIndex===0)return c?.slidePrev();let e="center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))%2==0;e?c?.slideToLoopCenterSneakPeek(r):c?.slideToLoop(r)}else c?.slideTo(r);$.current=r},getItemsPerPage:ei,handleNextAndPrevSlide:e=>{"next"===e?c?.slideNext():c?.slidePrev(),N&&(h&&clearTimeout(h),h=setTimeout(()=>N&&N(),500))},dispatchEventSelectSlide:e=>{K({event:"gp:rollback:select-slide",selector:`[data-id="${b?.uid}"]`,element:w?.current}),K({event:"gp:select-slide",selector:`[data-id="${b?.uid}"]`,data:e,element:w?.current})},getNumberOfFullWidthShow:er,setCurrentSlide:F,shouldDuplicateSlides:eh,setIsScrollToStart:L,setIsScrollToEnd:I,isHideNavigation:_}};export{f as useCarousel};
1
+ import{useState as e,useRef as t,useMemo as r,useCallback as n,useImperativeHandle as a,useEffect as i}from"react";import{useCurrentDevice as l,useEditorMode as s,useInteraction as o,getResponsiveValueByScreen as d,DEVICES as u}from"@gem-sdk/core";import p from"./useTrackPreviewPause.js";let m=(m,f,c,k)=>{let h;let{builderProps:P,moveToIdx:w,styles:y,setting:b,isHiddenArrowWhenDisabled:g=!0,elmRef:v,isEnableCheckHasScrollableContent:T,isDisableResetSlide:N,onClickArrow:x,onHandleChangeSlideByInteraction:S,onChangeActive:E}=m,[O,C]=e(!0),[I,M]=e(!0),[L,z]=e(!1),[B,A]=e(!0),[F,V]=e(!1),{loop:R,navigationEnable:$={desktop:!0},navigationStyle:D}=b??{},[j,H]=e(k),[q,G]=e(b?.defaultCurrentSlider??w??0),{isFirstPreviewClicked:U}=p(b?.runPreview),W=t(),J=t(w??0),K=l(),Q=s(),{onListener:X,saveToElementInteractionData:Y,getInteractionPreviousData:Z,trigger:_}=o(),ee=r(()=>d(R,K,!1),[R,K]),et=n(()=>{if(!b?.slidesToShow)return null;let e={};return u.forEach(t=>{let r=d(b?.slidesToShow,t);e[t]=r?"auto"===r?4:Math.floor(r):0}),e},[b?.slidesToShow]),er=n(()=>{if(!b?.slidesToShow)return null;let e={};return u.forEach(t=>{let r=d(b?.slidesToShow,t);e[t]=r?"auto"===r?4:r:0}),e},[b?.slidesToShow]),en=r(()=>{let e=er();if(e)return e;let t={};return u.forEach(e=>{let r=d(b?.sneakPeak,e),n=r?"center"===d(b?.sneakPeakType,e)?d(b?.sneakPeakOffsetCenter,e)??0:d(b?.sneakPeakOffsetForward,e)??0:0,a="center"===d(b?.sneakPeakType,e)?-2:-1,i=d(b?.itemNumber,e);t[e]="number"==typeof i?i+n/100*a:"auto"}),t},[er,b?.itemNumber,b?.sneakPeak,b?.sneakPeakOffsetCenter,b?.sneakPeakOffsetForward,b?.sneakPeakType]),ea=r(()=>{let e=d(en,K),t=d(R,K,!1);return t&&Number(e??0)>k||!t&&Number(e??0)>=k},[en,K,R,k]),ei=r(()=>{let e=d($,K),t=d(D,K);return e&&"none"!==t},[$,K,D]),el=r(()=>!!c&&O&&!ea,[c,O,ea]),es=r(()=>{let e=et();return e||b?.itemNumber},[et,b?.itemNumber]),eo=n(e=>{let t="center"===d(b?.sneakPeakType,e)?2:1;return"number"==typeof d(es,e,4)?d(es,e,4)-t:void 0},[b?.sneakPeakType,es]),ed=()=>{let e="auto"===d(en,K,1)?1:d(en,K,1);return e??1},eu=n(()=>{let e=d(en,K,1),t=eo(K)??1,r=d(b?.sneakPeak,K,!1);return Array.from({length:Math.max(ee?k:r?Math.min(k-t+1,k):"auto"===e?0:Math.ceil(k/Number(e)),0)},(e,t)=>t)},[k,en,K,eo,b?.sneakPeak,ee]),ep=e=>{let t=e*ed();return t>=j-ed()&&(t=j-ed()),t},em=e=>{let t="edit"===Q?{[e]:!1}:b?.enableDrag;return d(t,e)};a(f,()=>({nextSlideInteraction:ek,previousSlideInteraction:eh,moveToSlideInteraction:eP,getSwiper:()=>c}));let ef=e=>{c?.slideTo(e),S&&S(e)},ec=(e,t)=>{let{key:r,data:n,isRollback:a,element:i}=e,l=Math.max(c?.activeIndex??0,0);if(a&&void 0===n)return;if(a){if("specific"===t){let{previousData:e}=Z(i,r);ef(Number(e))}else ef("next"===t?l-1:l+1);return}let s="specific"===t?Math.max(J.current,0):l;Y(i,r,s.toString());let o="specific"===t?Number(n):"next"===t?l+1:l-1;ef(o)},ek=e=>{ec(e,"next")},eh=e=>{ec(e,"previous")},eP=e=>{ec(e,"specific")},ew=ed(),ey=r(()=>!!j&&c&&d(b?.dot,K)&&!ea&&k>1,[j,c,b?.dot,K,ea,k]),eb=d(b?.vertical,K,!1)?"vertical":"horizontal",eg=r(()=>d(b?.sneakPeak,K,!1)&&"center"===d(b?.sneakPeakType,K)&&"number"==typeof d(b?.itemNumber,K)&&Number(d(b?.itemNumber,K))>1,[b?.sneakPeak,b?.sneakPeakType,b?.itemNumber,K]),ev=e=>{let{swiperWidth:t,slidesPerView:r,itemNumberByDevice:n,centeredSlides:a}=e;if(!a||!n)return 0;let i=t/r,l=(Number(n)-2)/2-1;return-(i/2+l*i)},eT=r(()=>{let e=d(R,K,!1),t=c?.width??0,r={0:"mobile",768:"tablet",1025:"desktop"},n=Number(Object.entries(r).find(([,e])=>e===K)?.[0]??1025),a=Object.entries(r).reduce((e,[r,n])=>{if(!e)return;let a=Number(r),i=d(b?.sneakPeak,n,!1),l=i&&"center"===d(b?.sneakPeakType,n),s=d(b?.itemNumber,n),o=em(n),u=ev({swiperWidth:t,slidesPerView:ew,itemNumberByDevice:s,centeredSlides:l}),p=b?.initialSlide||w||0;return e[a]={allowTouchMove:o,slidesOffsetBefore:u,slidesOffsetAfter:u,initialSlide:p,centeredSlides:l},e},{}),i=d(b?.sneakPeak,K,!1)&&"center"===d(b?.sneakPeakType,K)&&"number"==typeof d(b?.itemNumber,K)&&Number(d(b?.itemNumber,K))>1;return{speed:y?.playSpeed??500,dir:b?.rtl?"rtl":"ltr",spaceBetween:d(y?.spacing,K)||0,loop:e,slidesPerView:"auto"===d(en,K,1)?"auto":ew,direction:eb,breakpoints:a,isSneakPeekCenter:i,slidesOffsetBefore:a?.[n]?.slidesOffsetBefore,thumbs:{slideThumbActiveClass:"gem-slider-item-active"},loopPreventsSliding:!1,touchStartPreventDefault:!1,autoplay:!!b?.autoplay&&{delay:(b?.autoplayTimeout??1)*1e3,pauseOnMouseEnter:b?.pauseOnHover,stopOnLastSlide:!e}}},[b?.autoplay,y?.playSpeed,b?.rtl,y?.spacing,K,R,ew,b?.sneakPeakType,b?.pauseOnHover,b?.autoplayTimeout,c?.width,j]),eN=d(b?.sneakPeak,K),ex=n(e=>{let t=c&&c.params?.slidesPerView,r=t?c?.slidesPerViewDynamic():1;if(e<=1)return!1;let n="auto"===eT.slidesPerView?r:eT.slidesPerView;if(!ee||e<Number(n)||!O)return!1;let a=d(b?.sneakPeak,K,!1),i=a&&"center"===d(b?.sneakPeakType,K),l=Number.isNaN(Number(n))?1:Math.ceil(Number(n));i&&l%2==0&&(l+=1);let s=i?Math.max(1,Math.ceil(l/2)):1;return e<l+s},[c,eT.slidesPerView,ee,O,b?.sneakPeak,b?.sneakPeakType,K]);i(()=>{let e=`[data-id="${P?.uid}"]`;X({event:"gp:change-next-slide",selector:e,elementRef:W},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};ek({element:W.current,data:t,isRollback:r,key:n})}),X({event:"gp:change-previous-slide",selector:e,elementRef:W},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};eh({element:W.current,data:t,isRollback:r,key:n})}),X({event:"gp:change-image-step",selector:e,elementRef:W},e=>{let{data:t,isRollback:r,uniqueStorageKey:n}=e||{};eP({element:W.current,data:t,isRollback:r,key:n})}),X({event:"gp:change-index-slide",selector:e},t=>{let r=document.querySelector(e),{data:n,isRollback:a,uniqueStorageKey:i}=t||{};eP({element:r,data:n,isRollback:a,key:i})})},[]),i(()=>{H(k)},[k]);let eS=n(()=>{N||(G(0),M(!0),z(!1),A(!0),V(!1))},[N]);i(()=>{if("number"==typeof w){if(J.current=w,c&&c.realIndex!==w||G(w),c?.params?.loop){c?.slideToLoop(w);return}c?.slideTo(w)}},[c,w,g]);let eE=n(()=>{let e=d(b?.loop,K,!1);if(!c)return;if(!eg||e){c.allowSlideNext=!0,c.allowSlidePrev=!0;return}let t=eu().length;if(!t){c.allowSlideNext=!0,c.allowSlidePrev=!0;return}let r=c.snapIndex>=t-1;c.isEnd=r,c.allowSlideNext=!r,c.allowSlidePrev=!0},[c,b?.loop,K,eg,eu]);return i(()=>{if(!c)return;let e=()=>{H(c.slides.length),eE(),A(c.isBeginning),V(c.isEnd)},t=()=>{E&&E(c.realIndex)},r=()=>{let e=d(b?.loop,K,!1);eg&&!e&&(c.allowSlideNext=!0,c.allowSlidePrev=!0)},n=()=>{let e=d(b?.loop,K,!1);if(eg&&!e){let e=eu().length,t=e-1,r=c.rtlTranslate?c.snapGrid[t]:-c.snapGrid[t];if(e&&Number.isFinite(r)){let e=c.rtlTranslate?c.translate>r:c.translate<r;e&&(c.allowSlideNext=!0,c.slideTo(t,0,!1))}}eE()},a=()=>{let e=d(b?.sneakPeak,K,!1)&&"center"!==d(b?.sneakPeakType,K);G(!ee&&e?c.snapIndex:c.realIndex),A(c.isBeginning),V(c.isEnd),M(c?.translate===0),z(c?.translate<=c?.maxTranslate())};return c.on("transitionEnd",a),c.on("slideChange",e),c.on("slideChangeTransitionStart",t),c.on("touchStart",r),c.on("touchEnd",n),()=>{c?.off("slideChange",e),c?.off("slideChangeTransitionStart",t),c?.off("transitionEnd",a),c?.off("touchStart",r),c?.off("touchEnd",n)}},[eT.loop,c,eE,ee,K,b?.sneakPeak,b?.sneakPeakType,b?.loop,eg]),i(()=>{if(!c)return;let e=eg?eu().length:0;e>0&&c.snapIndex>=e&&c.slideTo(e-1,0),eE(),A(c.isBeginning),V(c.isEnd)},[ea,c,en,eg,eu,eE]),i(()=>{c?.wrapperEl&&(c.wrapperEl.style.transitionTimingFunction=b?.animationMode??"ease")},[c,b?.animationMode]),i(()=>{if(c&&c.autoplay){let e="edit"===Q?!!U&&b?.runPreview&&b?.autoplay:b?.autoplay;e?c.autoplay.start():c.autoplay.stop()}},[c,b?.autoplay,Q,U,b?.runPreview]),i(()=>{let e=e=>{if(P?.uid!==e?.detail.componentUid)return;let t=e?.detail.index||0;c?.slideToLoop(t)};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[c,P?.uid]),i(()=>{if(!c)return;let e=c.el;e?.classList?.remove("swiper-horizontal","swiper-vertical");let t=d(b?.vertical,K)?"swiper-vertical":"swiper-horizontal";e?.classList?.add(t),c?.slides?.forEach(e=>{e.style.width="",e.style.height=""}),c?.update(),c?.wrapperEl&&c.width&&c.wrapperEl.style.setProperty("width",`${c.width}px`)},[K,b?.vertical,c,c?.params,y?.sizeSetting,D]),i(()=>{let e;let t=c?.el;if(!t||"undefined"==typeof ResizeObserver)return;let r=new ResizeObserver(()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>{!c.destroyed&&(c.update(),c.wrapperEl&&c.width&&c.wrapperEl.style.setProperty("width",`${c.width}px`))})});return r.observe(t),()=>{cancelAnimationFrame(e),r.disconnect()}},[c]),i(()=>{if(!c||!T)return;let e=()=>{let e=c?.slides?.slice(0,k)||[],t=Number(eT?.spaceBetween||0),r=e.reduce((e,t)=>e+t.offsetHeight,0)+t*(e.length-1),n=e.reduce((e,t)=>e+t.offsetWidth,0)+t*(e.length-1),a=c.params?.direction==="horizontal"?n>(c.width||0):r>(c.height||0);C(a)};return e(),c.on("resize",e),c.on("update",e),c.on("slidesLengthChange",e),c.on("orientationchange",e),()=>{c.off("resize",e),c.off("update",e),c.off("slidesLengthChange",e),c.off("orientationchange",e)}},[c]),{isInfinity:ee,sliderSettings:eT,totalSlideItem:j,currentSlide:q,localRef:W,isRenderDots:ey,isNavigationEnabled:ei,isNavigationVisible:el,isScrollToStart:I,isScrollToEnd:L,handleDotClick:(e,t)=>{let r=b?.sneakPeak?.[K]?e:t?e:ep(e);if(t){if(k<ew){c?.slideTo(r);return}if(c?.realIndex===r)return;if(r===Number(c?.realIndex)+1||0===r&&c?.realIndex===k-1)return c?.slideNext();if(r===Number(c?.realIndex)-1||r===k-1&&c?.realIndex===0)return c?.slidePrev();let e=d(b?.sneakPeak,K,!1)&&"center"===d(b?.sneakPeakType,K)&&"number"==typeof d(b?.itemNumber,K)&&Number(d(b?.itemNumber,K))%2==0;e?c?.slideToLoopCenterSneakPeek(r):c?.slideToLoop(r)}else c?.slideTo(r);J.current=r},getItemsPerPage:ed,handleNextAndPrevSlide:e=>{"next"===e?c?.slideNext():c?.slidePrev(),x&&(h&&clearTimeout(h),h=setTimeout(()=>x&&x(),500))},dispatchEventSelectSlide:e=>{_({event:"gp:rollback:select-slide",selector:`[data-id="${P?.uid}"]`,element:v?.current}),_({event:"gp:select-slide",selector:`[data-id="${P?.uid}"]`,data:e,element:v?.current})},getNumberOfFullWidthShow:eo,shouldDuplicateSlides:ex,isHideNavigation:ea,sneakPeak:eN,swiperIsBeginning:B,swiperIsEnd:F,handleSwiperReset:eS}};export{m as useCarousel};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import t from"./settings/Carousel.js";import e from"./settings/CarouselItem.js";let r={CarouselV3:t,CarouselItemV3:e};export{r as carouselSettingV3};
1
+ import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"./components/swiper/Swiper.js";import t from"./settings/Carousel.js";import e from"./settings/CarouselItem.js";let r={CarouselV3:t,CarouselItemV3:e};export{r as carouselSettingV3};
@@ -1,10 +1,10 @@
1
- import{isLocalEnv as s,baseAssetURL as o,template as t}from"@gem-sdk/core";import{createStyle as e,createClass as r,createAttr as i,createStateOrContext as p,If as c}from"@gem-sdk/system";import{getSettingPreloadData as m}from"../../../helpers.js";import{getButtonClasses as l,getButtonWrapperClasses as u}from"./common/classes.js";import{getSPButton as a}from"./common/helpers.js";import{getButtonWrapperStyles as h}from"./common/styles.js";import n from"./icons/DynamicCheckoutBlack.liquid.js";import k from"./icons/DynamicCheckoutPurple.liquid.js";import d from"./icons/DynamicCheckoutWhite.liquid.js";import f from"./icons/ExpressCheckoutBlack.liquid.js";import y from"./icons/ExpressCheckoutPurple.liquid.js";import j from"./icons/ExpressCheckoutWhite.liquid.js";let C=({style:C,styles:g,setting:$,className:E,builderAttrs:b})=>{let S=a({styles:g,buttons:{DynamicCheckoutBlack:n({}),DynamicCheckoutPurple:k({}),DynamicCheckoutWhite:d({}),ExpressCheckoutBlack:f({}),ExpressCheckoutPurple:y({}),ExpressCheckoutWhite:j({})}}),x=e({...h(C,g)}),P=r({...l()}),q=r({...u(E)}),B=i({disabled:!1,"aria-label":"Buy with Shop Pay"}),D=p({setting:JSON.stringify($),shop_url:"{{shop.url}}"});return t`
1
+ import{isLocalEnv as s,baseAssetURL as o,template as t}from"@gem-sdk/core";import{createStyle as e,createClass as i,createAttr as r,createStateOrContext as p,If as c}from"@gem-sdk/system";import{getSettingPreloadData as m}from"../../../helpers.js";import{getButtonClasses as l,getButtonWrapperClasses as a}from"./common/classes.js";import{getSPButton as u}from"./common/helpers.js";import{getButtonWrapperStyles as n}from"./common/styles.js";import h from"./icons/DynamicCheckoutBlack.liquid.js";import k from"./icons/DynamicCheckoutPurple.liquid.js";import y from"./icons/DynamicCheckoutWhite.liquid.js";import d from"./icons/ExpressCheckoutBlack.liquid.js";import f from"./icons/ExpressCheckoutPurple.liquid.js";import j from"./icons/ExpressCheckoutWhite.liquid.js";let C=({style:C,styles:g,setting:$,className:E,builderAttrs:b})=>{let S=u({styles:g,buttons:{DynamicCheckoutBlack:h({}),DynamicCheckoutPurple:k({}),DynamicCheckoutWhite:y({}),ExpressCheckoutBlack:d({}),ExpressCheckoutPurple:f({}),ExpressCheckoutWhite:j({})}}),x=e({...n(C,g)}),P=i({...l()}),q=i({...a(E)}),B=r({disabled:!1,"aria-label":"Buy with Shop Pay"}),D=p({setting:JSON.stringify($),shop_url:"{{shop.url}}"});return t`
2
2
  <gp-shop-pay-button
3
3
  ${{...b}}
4
4
  style="${x}"
5
5
  class="${q}"
6
- gp-data='${D}'
7
6
  >
7
+ <script gp-data type="application/json">${D}</script>
8
8
  <button
9
9
  ${{...B}}
10
10
  class="${P}"