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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (519) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +1 -1
  2. package/dist/cjs/article/components/ArticleImage.liquid.js +6 -6
  3. package/dist/cjs/article/components/ArticleList.js +1 -1
  4. package/dist/cjs/article/index.js +1 -1
  5. package/dist/cjs/article/settings/configs/article-image/settings.js +1 -1
  6. package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
  7. package/dist/cjs/builder.js +1 -1
  8. package/dist/cjs/button/common/helpers.js +2 -2
  9. package/dist/cjs/cart/components/CartList.js +1 -1
  10. package/dist/cjs/cart/index.js +1 -1
  11. package/dist/cjs/collection/index.js +1 -1
  12. package/dist/cjs/common/components/Loading.js +1 -1
  13. package/dist/cjs/common/const.js +1 -1
  14. package/dist/cjs/common/helpers.js +1 -0
  15. package/dist/cjs/common/hooks/useElementWidth.js +1 -0
  16. package/dist/cjs/common/hooks/useLoadingProgress.js +1 -0
  17. package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
  18. package/dist/cjs/grid/components/section/Section.js +1 -1
  19. package/dist/cjs/grid/index.js +1 -1
  20. package/dist/cjs/header/components/kind/basic/index.js +1 -1
  21. package/dist/cjs/header/components/kind/modern/index.js +1 -1
  22. package/dist/cjs/header/index.js +1 -1
  23. package/dist/cjs/hero-banner/common/styles.js +1 -1
  24. package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
  25. package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +5 -5
  26. package/dist/cjs/hero-banner/index.js +1 -1
  27. package/dist/cjs/image/common/adaptiveSources.js +1 -0
  28. package/dist/cjs/image/common/attrs.js +1 -1
  29. package/dist/cjs/image/common/classes.js +1 -1
  30. package/dist/cjs/image/common/helpers.js +2 -2
  31. package/dist/cjs/image/common/liquidSrcset.js +1 -0
  32. package/dist/cjs/image/common/listContext.js +1 -0
  33. package/dist/cjs/image/common/listImageContext.js +1 -0
  34. package/dist/cjs/image/common/sizes.js +1 -0
  35. package/dist/cjs/image/common/srcset.js +1 -0
  36. package/dist/cjs/image/components/AdaptiveImage.js +1 -1
  37. package/dist/cjs/image/components/AdaptiveImage.liquid.js +10 -12
  38. package/dist/cjs/image/components/Image.js +1 -1
  39. package/dist/cjs/image/components/Image.liquid.js +10 -10
  40. package/dist/cjs/image/components/NextImage.js +1 -1
  41. package/dist/cjs/image/components/NextImage.liquid.js +4 -5
  42. package/dist/cjs/image/constants.js +1 -1
  43. package/dist/cjs/image/index.js +1 -1
  44. package/dist/cjs/image/settings/configs/settings.js +1 -1
  45. package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
  46. package/dist/cjs/image-comparison/common/attrs.js +1 -1
  47. package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
  48. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +14 -14
  49. package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -3
  50. package/dist/cjs/image-comparison/index.js +1 -1
  51. package/dist/cjs/image-comparison/settings/configs/settings.js +1 -1
  52. package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
  53. package/dist/cjs/index.js +1 -1
  54. package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
  55. package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
  56. package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
  57. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  58. package/dist/cjs/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  59. package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  60. package/dist/cjs/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  61. package/dist/cjs/post-purchase/product/index.js +1 -1
  62. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  63. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  64. package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
  65. package/dist/cjs/product/components/product-badge/common/styles.js +1 -1
  66. package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  67. package/dist/cjs/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  68. package/dist/cjs/product/components/product-bundle/common/classes.js +1 -1
  69. package/dist/cjs/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
  70. package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  71. package/dist/cjs/product/components/product-discount-tag/common/helpers.js +1 -0
  72. package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
  73. package/dist/cjs/product/components/product-images-v2/common/attrs.js +1 -1
  74. package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
  75. package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  76. package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  77. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +41 -41
  78. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  79. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  80. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  81. package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  82. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  83. package/dist/cjs/product/components/product-images-v3/common/attrs.js +1 -1
  84. package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
  85. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  86. package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  87. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  88. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +40 -40
  89. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +40 -40
  90. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  91. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +12 -12
  92. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +12 -12
  93. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  94. package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  95. package/dist/cjs/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
  96. package/dist/cjs/product/components/product-list/ProductList.js +1 -1
  97. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.js +1 -1
  98. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +9 -7
  99. package/dist/cjs/product/components/product-list/ProductListGridLayout.js +1 -1
  100. package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +16 -14
  101. package/dist/cjs/product/components/product-list/common/helpers.js +1 -1
  102. package/dist/cjs/product/components/product-list/common/imagePriority.js +17 -0
  103. package/dist/cjs/product/components/product-list/common/imagePriorityHints.js +1 -0
  104. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
  105. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  106. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +11 -9
  107. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  108. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +16 -14
  109. package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
  110. package/dist/cjs/product/components/product-wrap/Product.js +1 -1
  111. package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
  112. package/dist/cjs/product/helpers/product-bundle.js +1 -1
  113. package/dist/cjs/product/helpers/productImagesDrag.js +1 -0
  114. package/dist/cjs/product/index.js +1 -1
  115. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  116. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  117. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  118. package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  119. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  120. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  121. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  122. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  123. package/dist/cjs/stock-counter/common/attrs.js +1 -1
  124. package/dist/cjs/stock-counter/common/helpers.js +23 -23
  125. package/dist/cjs/stock-counter/hooks/useStockCounter.js +1 -1
  126. package/dist/cjs/third-party/common/helpers.js +4 -4
  127. package/dist/cjs/third-party/components/KlarnaMessaging.liquid.js +29 -4
  128. package/dist/cjs/third-party/settings/AftershipEmailMarketingsms/index.js +1 -1
  129. package/dist/cjs/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  130. package/dist/cjs/third-party/settings/AliReviews/index.js +1 -1
  131. package/dist/cjs/third-party/settings/AlsoBoughtCbb/index.js +1 -1
  132. package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  133. package/dist/cjs/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  134. package/dist/cjs/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  135. package/dist/cjs/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  136. package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +1 -1
  137. package/dist/cjs/third-party/settings/AppstleSubscriptions/index.js +1 -1
  138. package/dist/cjs/third-party/settings/BestBuyFulfillment/index.js +1 -1
  139. package/dist/cjs/third-party/settings/BfSizeChartSizeGuide/index.js +1 -1
  140. package/dist/cjs/third-party/settings/BirdChime/index.js +4 -4
  141. package/dist/cjs/third-party/settings/BloyRewardsProgramLoyalty/index.js +1 -1
  142. package/dist/cjs/third-party/settings/Bogos/index.js +1 -1
  143. package/dist/cjs/third-party/settings/BoldProductOptions/index.js +4 -4
  144. package/dist/cjs/third-party/settings/BoldSubscriptions/index.js +1 -1
  145. package/dist/cjs/third-party/settings/BonLoyaltyRewardsReferrals/index.js +1 -1
  146. package/dist/cjs/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  147. package/dist/cjs/third-party/settings/BoostAISearchDiscovery/index.js +1 -1
  148. package/dist/cjs/third-party/settings/Bundler/index.js +1 -1
  149. package/dist/cjs/third-party/settings/CleanSizeCharts/index.js +1 -1
  150. package/dist/cjs/third-party/settings/CrossSellCartUpsell/index.js +1 -1
  151. package/dist/cjs/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  152. package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  153. package/dist/cjs/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  154. package/dist/cjs/third-party/settings/EasifyProductOptions/index.js +1 -1
  155. package/dist/cjs/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  156. package/dist/cjs/third-party/settings/EasySellCOD/index.js +4 -4
  157. package/dist/cjs/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  158. package/dist/cjs/third-party/settings/EcomsendBackInStockAlert/index.js +1 -1
  159. package/dist/cjs/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  160. package/dist/cjs/third-party/settings/EssentialAnnouncementBar/index.js +1 -1
  161. package/dist/cjs/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  162. package/dist/cjs/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  163. package/dist/cjs/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  164. package/dist/cjs/third-party/settings/FeraReviews/index.js +1 -1
  165. package/dist/cjs/third-party/settings/FirePush/index.js +1 -1
  166. package/dist/cjs/third-party/settings/FlyBundlesUpsellsFbt/index.js +1 -1
  167. package/dist/cjs/third-party/settings/FordeerProductLabels/index.js +2 -2
  168. package/dist/cjs/third-party/settings/FrequentlyBoughtTogether/index.js +1 -1
  169. package/dist/cjs/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
  170. package/dist/cjs/third-party/settings/GloboProductOptionsVariant/index.js +1 -1
  171. package/dist/cjs/third-party/settings/GoogleReviewsByReputon/index.js +1 -1
  172. package/dist/cjs/third-party/settings/Growave/index.js +1 -1
  173. package/dist/cjs/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  174. package/dist/cjs/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  175. package/dist/cjs/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  176. package/dist/cjs/third-party/settings/HulkFormBuilder/index.js +1 -1
  177. package/dist/cjs/third-party/settings/HulkProductOptions/index.js +1 -1
  178. package/dist/cjs/third-party/settings/InfiniteOptions/index.js +1 -1
  179. package/dist/cjs/third-party/settings/Instafeed/index.js +1 -1
  180. package/dist/cjs/third-party/settings/InstasellShoppableInstagram/index.js +1 -1
  181. package/dist/cjs/third-party/settings/JudgemeReviews/index.js +1 -1
  182. package/dist/cjs/third-party/settings/JunipProductReviewsUgc/index.js +1 -1
  183. package/dist/cjs/third-party/settings/KachingBundles/index.js +1 -1
  184. package/dist/cjs/third-party/settings/KachingSubscriptionsApp/index.js +1 -1
  185. package/dist/cjs/third-party/settings/KingProductOptions/index.js +1 -1
  186. package/dist/cjs/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  187. package/dist/cjs/third-party/settings/KlarnaMessaging/index.js +2 -2
  188. package/dist/cjs/third-party/settings/Klaviyo/index.js +4 -4
  189. package/dist/cjs/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
  190. package/dist/cjs/third-party/settings/LaiProductReviews/index.js +1 -1
  191. package/dist/cjs/third-party/settings/LoloyalLoyaltyReferrals/index.js +1 -1
  192. package/dist/cjs/third-party/settings/LoopSubscriptions/index.js +1 -1
  193. package/dist/cjs/third-party/settings/LooxReviews/index.js +1 -1
  194. package/dist/cjs/third-party/settings/MaxbundleProductBundles/index.js +1 -1
  195. package/dist/cjs/third-party/settings/MbcBundleVolumeDiscount/index.js +1 -1
  196. package/dist/cjs/third-party/settings/MyappgurusProductReviews/index.js +1 -1
  197. package/dist/cjs/third-party/settings/NotifyBackInStockPreOrder/index.js +1 -1
  198. package/dist/cjs/third-party/settings/OkendoReviewsLoyalty/index.js +1 -1
  199. package/dist/cjs/third-party/settings/Omnisend/index.js +1 -1
  200. package/dist/cjs/third-party/settings/Opinew/index.js +1 -1
  201. package/dist/cjs/third-party/settings/ParcelPanel/index.js +1 -1
  202. package/dist/cjs/third-party/settings/PickyStory/index.js +4 -4
  203. package/dist/cjs/third-party/settings/PowerfulContactFormBuilder/index.js +1 -1
  204. package/dist/cjs/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  205. package/dist/cjs/third-party/settings/PreorderNowWodPresale/index.js +1 -1
  206. package/dist/cjs/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  207. package/dist/cjs/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  208. package/dist/cjs/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  209. package/dist/cjs/third-party/settings/PushOwl/index.js +1 -1
  210. package/dist/cjs/third-party/settings/QikifyUpsell/index.js +2 -2
  211. package/dist/cjs/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  212. package/dist/cjs/third-party/settings/RechargeSubscriptions/index.js +1 -1
  213. package/dist/cjs/third-party/settings/RecurpaySubscriptionApp/index.js +1 -1
  214. package/dist/cjs/third-party/settings/Releasit/index.js +1 -1
  215. package/dist/cjs/third-party/settings/RequestQuoteHidePrice/index.js +1 -1
  216. package/dist/cjs/third-party/settings/ReviewxpoProductReviewsApp/index.js +1 -1
  217. package/dist/cjs/third-party/settings/Rivyo/index.js +1 -1
  218. package/dist/cjs/third-party/settings/Ryviu/index.js +1 -1
  219. package/dist/cjs/third-party/settings/SealSubscriptions/index.js +2 -2
  220. package/dist/cjs/third-party/settings/SegunoEmailMarketing/index.js +1 -1
  221. package/dist/cjs/third-party/settings/Selleasy/index.js +1 -1
  222. package/dist/cjs/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  223. package/dist/cjs/third-party/settings/ShopifyForms/index.js +1 -1
  224. package/dist/cjs/third-party/settings/ShopifySubscriptions/index.js +2 -2
  225. package/dist/cjs/third-party/settings/SimpleBundlesKits/index.js +1 -1
  226. package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
  227. package/dist/cjs/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  228. package/dist/cjs/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
  229. package/dist/cjs/third-party/settings/Stamped.js +1 -1
  230. package/dist/cjs/third-party/settings/StellarDeliveryDatePickup/index.js +1 -1
  231. package/dist/cjs/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  232. package/dist/cjs/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  233. package/dist/cjs/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  234. package/dist/cjs/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  235. package/dist/cjs/third-party/settings/TrustBadgesBear/index.js +2 -2
  236. package/dist/cjs/third-party/settings/TrustMe/index.js +4 -4
  237. package/dist/cjs/third-party/settings/TrustedsiteTrustBadges/index.js +1 -1
  238. package/dist/cjs/third-party/settings/Trustoo/index.js +1 -1
  239. package/dist/cjs/third-party/settings/TrustreviewsProductReviews/index.js +1 -1
  240. package/dist/cjs/third-party/settings/TrustshopProductReviews/index.js +1 -1
  241. package/dist/cjs/third-party/settings/UltimateSalesBoost/index.js +1 -1
  242. package/dist/cjs/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  243. package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  244. package/dist/cjs/third-party/settings/Vitals/index.js +1 -1
  245. package/dist/cjs/third-party/settings/WcWishlistBackInStock/index.js +1 -1
  246. package/dist/cjs/third-party/settings/WhatmoreShoppableVideosreel/index.js +1 -1
  247. package/dist/cjs/third-party/settings/WideBundle/index.js +4 -4
  248. package/dist/cjs/third-party/settings/Wiser/index.js +1 -1
  249. package/dist/cjs/third-party/settings/WishlistKing/index.js +2 -2
  250. package/dist/cjs/third-party/settings/WishlistPlus/index.js +2 -2
  251. package/dist/cjs/third-party/settings/YotpoReviews/index.js +1 -1
  252. package/dist/cjs/video/common/attrs.js +1 -1
  253. package/dist/cjs/video/components/HTML5Embed.js +1 -1
  254. package/dist/cjs/video/components/HTML5Embed.liquid.js +11 -11
  255. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
  256. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
  257. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
  258. package/dist/cjs/video/components/Video.liquid.js +1 -1
  259. package/dist/esm/article/components/ArticleImage.js +1 -1
  260. package/dist/esm/article/components/ArticleImage.liquid.js +7 -7
  261. package/dist/esm/article/components/ArticleList.js +1 -1
  262. package/dist/esm/article/index.js +1 -1
  263. package/dist/esm/article/settings/configs/article-image/settings.js +1 -1
  264. package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
  265. package/dist/esm/builder.js +1 -1
  266. package/dist/esm/button/common/helpers.js +2 -2
  267. package/dist/esm/cart/components/CartList.js +1 -1
  268. package/dist/esm/cart/index.js +1 -1
  269. package/dist/esm/collection/index.js +1 -1
  270. package/dist/esm/common/components/Loading.js +1 -1
  271. package/dist/esm/common/const.js +1 -1
  272. package/dist/esm/common/helpers.js +1 -0
  273. package/dist/esm/common/hooks/useElementWidth.js +1 -0
  274. package/dist/esm/common/hooks/useLoadingProgress.js +1 -0
  275. package/dist/esm/grid/components/row/Row.liquid.js +10 -10
  276. package/dist/esm/grid/components/section/Section.js +1 -1
  277. package/dist/esm/grid/index.js +1 -1
  278. package/dist/esm/header/components/kind/basic/index.js +1 -1
  279. package/dist/esm/header/components/kind/modern/index.js +1 -1
  280. package/dist/esm/header/index.js +1 -1
  281. package/dist/esm/hero-banner/common/styles.js +1 -1
  282. package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
  283. package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
  284. package/dist/esm/hero-banner/index.js +1 -1
  285. package/dist/esm/image/common/adaptiveSources.js +1 -0
  286. package/dist/esm/image/common/attrs.js +1 -1
  287. package/dist/esm/image/common/classes.js +1 -1
  288. package/dist/esm/image/common/helpers.js +2 -2
  289. package/dist/esm/image/common/liquidSrcset.js +1 -0
  290. package/dist/esm/image/common/listContext.js +1 -0
  291. package/dist/esm/image/common/listImageContext.js +1 -0
  292. package/dist/esm/image/common/sizes.js +1 -0
  293. package/dist/esm/image/common/srcset.js +1 -0
  294. package/dist/esm/image/components/AdaptiveImage.js +1 -1
  295. package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -13
  296. package/dist/esm/image/components/Image.js +1 -1
  297. package/dist/esm/image/components/Image.liquid.js +3 -3
  298. package/dist/esm/image/components/NextImage.js +1 -1
  299. package/dist/esm/image/components/NextImage.liquid.js +5 -6
  300. package/dist/esm/image/constants.js +1 -1
  301. package/dist/esm/image/index.js +1 -1
  302. package/dist/esm/image/settings/configs/settings.js +1 -1
  303. package/dist/esm/image/settings/configs/ui-v2.js +1 -1
  304. package/dist/esm/image-comparison/common/attrs.js +1 -1
  305. package/dist/esm/image-comparison/components/CompareImage.js +1 -1
  306. package/dist/esm/image-comparison/components/CompareImage.liquid.js +17 -17
  307. package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -3
  308. package/dist/esm/image-comparison/index.js +1 -1
  309. package/dist/esm/image-comparison/settings/configs/settings.js +1 -1
  310. package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
  311. package/dist/esm/index.js +1 -1
  312. package/dist/esm/post-purchase/callout-banner/index.js +1 -1
  313. package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -1
  314. package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -1
  315. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  316. package/dist/esm/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  317. package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  318. package/dist/esm/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  319. package/dist/esm/post-purchase/product/index.js +1 -1
  320. package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  321. package/dist/esm/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  322. package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
  323. package/dist/esm/product/components/product-badge/common/styles.js +1 -1
  324. package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  325. package/dist/esm/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  326. package/dist/esm/product/components/product-bundle/common/classes.js +1 -1
  327. package/dist/esm/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
  328. package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  329. package/dist/esm/product/components/product-discount-tag/common/helpers.js +1 -0
  330. package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
  331. package/dist/esm/product/components/product-images-v2/common/attrs.js +1 -1
  332. package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
  333. package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  334. package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  335. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +35 -35
  336. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  337. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  338. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +29 -29
  339. package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  340. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  341. package/dist/esm/product/components/product-images-v3/common/attrs.js +1 -1
  342. package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
  343. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  344. package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  345. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  346. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +24 -24
  347. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +24 -24
  348. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  349. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +5 -5
  350. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +5 -5
  351. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +30 -30
  352. package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  353. package/dist/esm/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -1
  354. package/dist/esm/product/components/product-list/ProductList.js +1 -1
  355. package/dist/esm/product/components/product-list/ProductListCarouselLayout.js +1 -1
  356. package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +11 -9
  357. package/dist/esm/product/components/product-list/ProductListGridLayout.js +1 -1
  358. package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +18 -16
  359. package/dist/esm/product/components/product-list/common/helpers.js +1 -1
  360. package/dist/esm/product/components/product-list/common/imagePriority.js +17 -0
  361. package/dist/esm/product/components/product-list/common/imagePriorityHints.js +1 -0
  362. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
  363. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  364. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +12 -10
  365. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  366. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +18 -16
  367. package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
  368. package/dist/esm/product/components/product-wrap/Product.js +1 -1
  369. package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
  370. package/dist/esm/product/helpers/product-bundle.js +1 -1
  371. package/dist/esm/product/helpers/productImagesDrag.js +1 -0
  372. package/dist/esm/product/index.js +1 -1
  373. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  374. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  375. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  376. package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  377. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  378. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  379. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  380. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  381. package/dist/esm/stock-counter/common/attrs.js +1 -1
  382. package/dist/esm/stock-counter/common/helpers.js +21 -21
  383. package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
  384. package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
  385. package/dist/esm/third-party/common/helpers.js +5 -5
  386. package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
  387. package/dist/esm/third-party/settings/AftershipEmailMarketingsms/index.js +2 -2
  388. package/dist/esm/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  389. package/dist/esm/third-party/settings/AliReviews/index.js +2 -2
  390. package/dist/esm/third-party/settings/AlsoBoughtCbb/index.js +2 -2
  391. package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  392. package/dist/esm/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  393. package/dist/esm/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  394. package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  395. package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +2 -2
  396. package/dist/esm/third-party/settings/AppstleSubscriptions/index.js +2 -2
  397. package/dist/esm/third-party/settings/BestBuyFulfillment/index.js +2 -2
  398. package/dist/esm/third-party/settings/BfSizeChartSizeGuide/index.js +2 -2
  399. package/dist/esm/third-party/settings/BirdChime/index.js +4 -4
  400. package/dist/esm/third-party/settings/BloyRewardsProgramLoyalty/index.js +2 -2
  401. package/dist/esm/third-party/settings/Bogos/index.js +4 -4
  402. package/dist/esm/third-party/settings/BoldProductOptions/index.js +4 -4
  403. package/dist/esm/third-party/settings/BoldSubscriptions/index.js +2 -2
  404. package/dist/esm/third-party/settings/BonLoyaltyRewardsReferrals/index.js +2 -2
  405. package/dist/esm/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  406. package/dist/esm/third-party/settings/BoostAISearchDiscovery/index.js +2 -2
  407. package/dist/esm/third-party/settings/Bundler/index.js +4 -4
  408. package/dist/esm/third-party/settings/CleanSizeCharts/index.js +2 -2
  409. package/dist/esm/third-party/settings/CrossSellCartUpsell/index.js +2 -2
  410. package/dist/esm/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  411. package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  412. package/dist/esm/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  413. package/dist/esm/third-party/settings/EasifyProductOptions/index.js +2 -2
  414. package/dist/esm/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  415. package/dist/esm/third-party/settings/EasySellCOD/index.js +4 -4
  416. package/dist/esm/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  417. package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +2 -2
  418. package/dist/esm/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  419. package/dist/esm/third-party/settings/EssentialAnnouncementBar/index.js +2 -2
  420. package/dist/esm/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  421. package/dist/esm/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  422. package/dist/esm/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  423. package/dist/esm/third-party/settings/FeraReviews/index.js +4 -4
  424. package/dist/esm/third-party/settings/FirePush/index.js +2 -2
  425. package/dist/esm/third-party/settings/FlyBundlesUpsellsFbt/index.js +2 -2
  426. package/dist/esm/third-party/settings/FordeerProductLabels/index.js +2 -2
  427. package/dist/esm/third-party/settings/FrequentlyBoughtTogether/index.js +2 -2
  428. package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +2 -2
  429. package/dist/esm/third-party/settings/GloboProductOptionsVariant/index.js +2 -2
  430. package/dist/esm/third-party/settings/GoogleReviewsByReputon/index.js +2 -2
  431. package/dist/esm/third-party/settings/Growave/index.js +4 -4
  432. package/dist/esm/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  433. package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  434. package/dist/esm/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  435. package/dist/esm/third-party/settings/HulkFormBuilder/index.js +2 -2
  436. package/dist/esm/third-party/settings/HulkProductOptions/index.js +2 -2
  437. package/dist/esm/third-party/settings/InfiniteOptions/index.js +2 -2
  438. package/dist/esm/third-party/settings/Instafeed/index.js +2 -2
  439. package/dist/esm/third-party/settings/InstasellShoppableInstagram/index.js +2 -2
  440. package/dist/esm/third-party/settings/JudgemeReviews/index.js +2 -2
  441. package/dist/esm/third-party/settings/JunipProductReviewsUgc/index.js +2 -2
  442. package/dist/esm/third-party/settings/KachingBundles/index.js +2 -2
  443. package/dist/esm/third-party/settings/KachingSubscriptionsApp/index.js +2 -2
  444. package/dist/esm/third-party/settings/KingProductOptions/index.js +2 -2
  445. package/dist/esm/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  446. package/dist/esm/third-party/settings/KlarnaMessaging/index.js +4 -4
  447. package/dist/esm/third-party/settings/Klaviyo/index.js +4 -4
  448. package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +2 -2
  449. package/dist/esm/third-party/settings/LaiProductReviews/index.js +2 -2
  450. package/dist/esm/third-party/settings/LoloyalLoyaltyReferrals/index.js +2 -2
  451. package/dist/esm/third-party/settings/LoopSubscriptions/index.js +2 -2
  452. package/dist/esm/third-party/settings/LooxReviews/index.js +4 -4
  453. package/dist/esm/third-party/settings/MaxbundleProductBundles/index.js +2 -2
  454. package/dist/esm/third-party/settings/MbcBundleVolumeDiscount/index.js +2 -2
  455. package/dist/esm/third-party/settings/MyappgurusProductReviews/index.js +2 -2
  456. package/dist/esm/third-party/settings/NotifyBackInStockPreOrder/index.js +2 -2
  457. package/dist/esm/third-party/settings/OkendoReviewsLoyalty/index.js +2 -2
  458. package/dist/esm/third-party/settings/Omnisend/index.js +4 -4
  459. package/dist/esm/third-party/settings/Opinew/index.js +4 -4
  460. package/dist/esm/third-party/settings/ParcelPanel/index.js +4 -4
  461. package/dist/esm/third-party/settings/PickyStory/index.js +4 -4
  462. package/dist/esm/third-party/settings/PowerfulContactFormBuilder/index.js +2 -2
  463. package/dist/esm/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  464. package/dist/esm/third-party/settings/PreorderNowWodPresale/index.js +2 -2
  465. package/dist/esm/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  466. package/dist/esm/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  467. package/dist/esm/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  468. package/dist/esm/third-party/settings/PushOwl/index.js +4 -4
  469. package/dist/esm/third-party/settings/QikifyUpsell/index.js +2 -2
  470. package/dist/esm/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  471. package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +2 -2
  472. package/dist/esm/third-party/settings/RecurpaySubscriptionApp/index.js +2 -2
  473. package/dist/esm/third-party/settings/Releasit/index.js +4 -4
  474. package/dist/esm/third-party/settings/RequestQuoteHidePrice/index.js +3 -3
  475. package/dist/esm/third-party/settings/ReviewxpoProductReviewsApp/index.js +2 -2
  476. package/dist/esm/third-party/settings/Rivyo/index.js +4 -4
  477. package/dist/esm/third-party/settings/Ryviu/index.js +4 -4
  478. package/dist/esm/third-party/settings/SealSubscriptions/index.js +2 -2
  479. package/dist/esm/third-party/settings/SegunoEmailMarketing/index.js +2 -2
  480. package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
  481. package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  482. package/dist/esm/third-party/settings/ShopifyForms/index.js +2 -2
  483. package/dist/esm/third-party/settings/ShopifySubscriptions/index.js +2 -2
  484. package/dist/esm/third-party/settings/SimpleBundlesKits/index.js +2 -2
  485. package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
  486. package/dist/esm/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  487. package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +2 -2
  488. package/dist/esm/third-party/settings/Stamped.js +4 -4
  489. package/dist/esm/third-party/settings/StellarDeliveryDatePickup/index.js +2 -2
  490. package/dist/esm/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  491. package/dist/esm/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  492. package/dist/esm/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  493. package/dist/esm/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  494. package/dist/esm/third-party/settings/TrustBadgesBear/index.js +2 -2
  495. package/dist/esm/third-party/settings/TrustMe/index.js +4 -4
  496. package/dist/esm/third-party/settings/TrustedsiteTrustBadges/index.js +2 -2
  497. package/dist/esm/third-party/settings/Trustoo/index.js +2 -2
  498. package/dist/esm/third-party/settings/TrustreviewsProductReviews/index.js +2 -2
  499. package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
  500. package/dist/esm/third-party/settings/UltimateSalesBoost/index.js +2 -2
  501. package/dist/esm/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  502. package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  503. package/dist/esm/third-party/settings/Vitals/index.js +4 -4
  504. package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +3 -3
  505. package/dist/esm/third-party/settings/WhatmoreShoppableVideosreel/index.js +2 -2
  506. package/dist/esm/third-party/settings/WideBundle/index.js +4 -4
  507. package/dist/esm/third-party/settings/Wiser/index.js +4 -4
  508. package/dist/esm/third-party/settings/WishlistKing/index.js +2 -2
  509. package/dist/esm/third-party/settings/WishlistPlus/index.js +2 -2
  510. package/dist/esm/third-party/settings/YotpoReviews/index.js +4 -4
  511. package/dist/esm/video/common/attrs.js +1 -1
  512. package/dist/esm/video/components/HTML5Embed.js +1 -1
  513. package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
  514. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
  515. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
  516. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
  517. package/dist/esm/video/components/Video.liquid.js +1 -1
  518. package/dist/types/index.d.ts +26 -8
  519. package/package.json +11 -8
@@ -1,4 +1,4 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/TrustreviewsProductReviews.js"),l=require("../../common/helpers.js"),t=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/0aea8ea03bebbafd0eab4c8089b14f5e/icon/CPOlzd-d1vsCEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">TrustReviews: Product Reviews</span>
4
- </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review Carousel",value:"review-carousel"},{label:"Q&A Widget",value:"questions_widget",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Review Text Widget",value:"reviews_text_widget"},{label:"Reviews Widget",value:"reviews_widget",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Shop Reviews",value:"shop_reviews_widget"},{label:"Star Ratings",value:"star_rating",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Testimonials Carousel",value:"reviews-testimonials"},{label:"Testimonials Widget",value:"all_reviews_widget"},{label:"TrustReview Cards",value:"review-cards"},{label:"TrustReview Gallery",value:"review-gallery"},{label:"TrustReview Medals",value:"medals"}],default:"review-carousel"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"trustreview-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/reevo",appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
4
+ </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review Carousel",value:"review-carousel"},{label:"Q&A Widget",value:"questions_widget",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Review Text Widget",value:"reviews_text_widget"},{label:"Reviews Widget",value:"reviews_widget",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Shop Reviews",value:"shop_reviews_widget"},{label:"Star Ratings",value:"star_rating",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_STATIC","STATIC","GP_INDEX"]},{label:"Testimonials Carousel",value:"reviews-testimonials"},{label:"Testimonials Widget",value:"all_reviews_widget"},{label:"TrustReview Cards",value:"review-cards"},{label:"TrustReview Gallery",value:"review-gallery"},{label:"TrustReview Medals",value:"medals"}],default:"review-carousel"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"trustreview-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l.get3rdPartyAppStoreLink({handle:"trustreviews"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
@@ -1,4 +1,4 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/TrustshopProductReviews.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const i={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">TrustShop: Product Reviews</span>
4
- </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Widget Product Rating",value:"widget-product-rating"},{label:"All Reviews",value:"all-reviews"},{label:"Widget Box",value:"widget-box"},{label:"Review Testimonial",value:"review-testimonial"}],default:"widget-product-rating"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"trustshop-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/97bd740ed0597c4d5220e15ae930308d",appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
4
+ </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Widget Product Rating",value:"widget-product-rating"},{label:"All Reviews",value:"all-reviews"},{label:"Widget Box",value:"widget-box"},{label:"Review Testimonial",value:"review-testimonial"}],default:"widget-product-rating"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"trustshop-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"trustshop"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
@@ -3,4 +3,4 @@
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${e.default.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${e.default.label}</span>
5
5
  </div>
6
- `},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"ultimate-sales-boost-v7"}),appName:e.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"https://admin.shopify.com/?redirect=/apps/ultimate-sales-boost",appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"message",options:o},{id:"sticker",info:"When you select Sticker Widget, the anchor will be added automatically to (P) Image no matter where you place it",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:a.default,uiV2:l.default};exports.WidgetOptions=o,exports.default=i;
6
+ `},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"ultimate-sales-boost-v7"}),appName:e.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:t.get3rdPartyAppStoreLink({handle:"ultimate-sales-boost"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"message",options:o},{id:"sticker",info:"When you select Sticker Widget, the anchor will be added automatically to (P) Image no matter where you place it",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:a.default,uiV2:l.default};exports.WidgetOptions=o,exports.default=i;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/UnlimitedBundlesDiscounts.js"),t=require("./uiV2.js");const l={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/f401504ede69023ced1a51c93ad57152/icon/CPuO_JmopPsCEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),l=require("../../configs/UnlimitedBundlesDiscounts.js"),t=require("./uiV2.js");const a={tag:l.default.tag,label:l.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/f401504ede69023ced1a51c93ad57152/icon/CPuO_JmopPsCEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:l.default.id,name:l.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/f401504ede69023ced1a51c93ad57152/icon/CPuO_JmopPsCEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Unlimited Bundles & Discounts</span>
4
- </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"All Bundles",value:"embed-all"},{label:"Revy Bundle Placeholder",value:"product-page-placeholder"}],default:"embed-all"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/product-bundles-discounts-by-revy",appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=l;
4
+ </div>`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"All Bundles",value:"embed-all"},{label:"Revy Bundle Placeholder",value:"product-page-placeholder"}],default:"embed-all"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"product-bundles-discounts-by-revy"}),appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/UppromoteAffiliateMarketing.js"),t=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/UppromoteAffiliateMarketing.js"),a=require("./uiV2.js");const l={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">UpPromote Affiliate Marketing</span>
4
- </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Customer Referral Landing",value:"customer-referral-landing"},{label:"Affiliate Signup Form",value:"registration-form"}],default:"customer-referral-landing"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/affliate-by-secomapp",appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
4
+ </div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Customer Referral Landing",value:"customer-referral-landing"},{label:"Affiliate Signup Form",value:"registration-form"}],default:"customer-referral-landing"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"affliate-by-secomapp"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=l;
@@ -3,4 +3,4 @@
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${l.default.label}</span>
5
5
  </div>
6
- `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-vitals-all-in-one-marketing"}),appName:l.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"goToWishlist",options:[{label:"Go to Wishlist",value:"goToWishlist",maxOption:1},{label:"Payment Logos",value:"paymentLogos"},{label:"Recently Viewed",value:"recentlyViewed"},{label:"Shoppable Instagram Feed",value:"shoppableInstagramFeed"},{label:"Trust Seals and Badges",value:"trustSealsAndBadges"},{label:"Product Reviews",value:"productReviews",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Product Bundles",value:"productBundles",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Volume Discounts",value:"volumeDiscounts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Stock Scarcity",value:"stockScarcity",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Add to Wishlist",value:"addToWishlist",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Size chart",value:"sizeChart",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Buy X Get Y",value:"upsellBuilderBogo",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Countdown Timer",value:"bundleCountdownBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Review Under Product Title",value:"reviewsUnderTitle",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Reviews Carousel",value:"productReviewsCarousel"},{label:"Shipping Information",value:"shippingBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Currency Converter",value:"currencyConverter"},{label:"Related Products",value:"relatedProducts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back In Stock",value:"backInStock",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/vitals",appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=t;
6
+ `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-vitals-all-in-one-marketing"}),appName:l.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"goToWishlist",options:[{label:"Go to Wishlist",value:"goToWishlist",maxOption:1},{label:"Payment Logos",value:"paymentLogos"},{label:"Recently Viewed",value:"recentlyViewed"},{label:"Shoppable Instagram Feed",value:"shoppableInstagramFeed"},{label:"Trust Seals and Badges",value:"trustSealsAndBadges"},{label:"Product Reviews",value:"productReviews",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Product Bundles",value:"productBundles",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Volume Discounts",value:"volumeDiscounts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Stock Scarcity",value:"stockScarcity",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Add to Wishlist",value:"addToWishlist",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Size chart",value:"sizeChart",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Buy X Get Y",value:"upsellBuilderBogo",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Countdown Timer",value:"bundleCountdownBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Review Under Product Title",value:"reviewsUnderTitle",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Reviews Carousel",value:"productReviewsCarousel"},{label:"Shipping Information",value:"shippingBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Currency Converter",value:"currencyConverter"},{label:"Related Products",value:"relatedProducts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back In Stock",value:"backInStock",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"vitals"}),appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=t;
@@ -4,4 +4,4 @@
4
4
  </div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-collection-block"}}]},{id:"wishlist-product",name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
5
5
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/6c6bdd5180d0848b68f89d106476f116/icon/CLyD5I2Al_0CEAE=.jpeg?width=22&height=22">
6
6
  <span class="preset-item-title">WC Wishlist & Back in Stock</span>
7
- </div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-bis-block"}}]}],settings:[{id:"setting",controls:[{id:"widgetType",label:"Choose widget",type:"select",default:"wishlist-bis-block",options:[{label:"Back in Stock Product",value:"wishlist-bis-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Product",value:"wishlist-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Collection",value:"wishlist-collection-block",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back in Stock Collection",value:"wishlist-bis-collection",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wc-wishlist-back-in-stock"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/6c6bdd5180d0848b68f89d106476f116",appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i.default};exports.default=l;
7
+ </div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-bis-block"}}]}],settings:[{id:"setting",controls:[{id:"widgetType",label:"Choose widget",type:"select",default:"wishlist-bis-block",options:[{label:"Back in Stock Product",value:"wishlist-bis-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Product",value:"wishlist-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Collection",value:"wishlist-collection-block",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back in Stock Collection",value:"wishlist-bis-collection",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wc-wishlist-back-in-stock"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"wishlist-club"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i.default};exports.default=l;
@@ -1,4 +1,4 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/WhatmoreShoppableVideosreel.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/92e9823511a71a34d577dc3d006abc4d/icon/CIuznZvgu4QDEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/92e9823511a71a34d577dc3d006abc4d/icon/CIuznZvgu4QDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Whatmore Shoppable Videos+Reel</span>
4
- </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Watch and Buy",value:"app-block"},{label:"Whatmore Banners",value:"app-block-banner"},{label:"Whatmore Collections",value:"app-block-collections"},{label:"Whatmore Stories",value:"app-block-stories"}],default:"app-block"},{id:"whatMoreSettings",type:"group",controls:[{id:"heading",type:"input",default:"Watch and Buy"},{id:"templateType",label:"Choose widget",type:"select",options:[{label:"Video-Card",value:"template-a"},{label:"Video-Card feed",value:"template-feed-a"},{label:"Video-Card with see-more option.",value:"template-a-1"},{label:"Product-Video-Card",value:"template-b"},{label:"Grid Style - Theme Border",value:"template-c"},{label:"Grid Style - No Border",value:"template-d"},{label:"Single Tile",value:"template-e"},{label:"Video-card with product-info",value:"template-f"},{label:"Video-card with text-overlay",value:"template-g"},{label:"Focussed-video-card with product-info",value:"template-h"},{label:"Video-stories",value:"template-stories"}],default:"template-f"},{id:"showViews",type:"segment",default:"show",options:[{label:"Show",value:"show"},{label:"Hide",value:"hide"}]},{id:"titleFontSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"landscapePadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"topBottomPadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"20"},{id:"scrollVideoTitleSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"},{id:"scrollVideoTitleSizePortrait",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"whatmore-shoppable-videosreel"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:e.default.label,href:"https://app.whatmore.live/"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
4
+ </div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Watch and Buy",value:"app-block"},{label:"Whatmore Banners",value:"app-block-banner"},{label:"Whatmore Collections",value:"app-block-collections"},{label:"Whatmore Stories",value:"app-block-stories"}],default:"app-block"},{id:"whatMoreSettings",type:"group",controls:[{id:"heading",type:"input",default:"Watch and Buy"},{id:"templateType",label:"Choose widget",type:"select",options:[{label:"Video-Card",value:"template-a"},{label:"Video-Card feed",value:"template-feed-a"},{label:"Video-Card with see-more option.",value:"template-a-1"},{label:"Product-Video-Card",value:"template-b"},{label:"Grid Style - Theme Border",value:"template-c"},{label:"Grid Style - No Border",value:"template-d"},{label:"Single Tile",value:"template-e"},{label:"Video-card with product-info",value:"template-f"},{label:"Video-card with text-overlay",value:"template-g"},{label:"Focussed-video-card with product-info",value:"template-h"},{label:"Video-stories",value:"template-stories"}],default:"template-f"},{id:"showViews",type:"segment",default:"show",options:[{label:"Show",value:"show"},{label:"Hide",value:"hide"}]},{id:"titleFontSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"landscapePadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"topBottomPadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"20"},{id:"scrollVideoTitleSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"},{id:"scrollVideoTitleSizePortrait",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"whatmore-shoppable-videosreel"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:e.default.label,href:t.get3rdPartyAppStoreLink({handle:"whatmore-live"})},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WideBundle.js"),l=require("./uiV2.js");const a={tag:t.default.tag,label:t.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),l=require("../../configs/WideBundle.js"),t=require("./uiV2.js");const a={tag:l.default.tag,label:l.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${l.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:l.default.id,name:l.default.label,hideTextContent:!0,icon:{desktop:`
2
2
  <div class="w-full flex flex-col items-center">
3
- <img class="w-24 border border-dark-200 rounded-medium" src="${t.default.logoUrl}?width=22&height=22">
4
- <span class="preset-item-title">${t.default.label}</span>
3
+ <img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
4
+ <span class="preset-item-title">${l.default.label}</span>
5
5
  </div>
6
- `},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",appName:t.default.label,href:e.get3rdPartyInstallLink({handle:"add-widebundle"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:t.default.label,href:"https://admin.shopify.com/?redirect=/apps/mybanner-1"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
6
+ `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",appName:l.default.label,href:e.get3rdPartyInstallLink({handle:"add-widebundle"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:e.get3rdPartyAppStoreLink({handle:"widebundle"})},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
@@ -3,4 +3,4 @@
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${l.default.label}</span>
5
5
  </div>
6
- `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",appName:l.default.label,href:e.get3rdPartyInstallLink({handle:"v7-wiser-product-recommendation"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:"https://admin.shopify.com/?redirect=/apps/your-recently-viewed-products"},{id:"wiserVersion",label:"Choose widget",type:"select",default:"V2",options:[{label:"Version 2.0 (Latest Version)",value:"V2"},{label:"Version 1.0 (Deprecated)",value:"V1"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"related",options:[{label:"Related Products",value:"related"},{label:"Recommended Products",value:"recommended"},{label:"Frequently Bought Together",value:"alsobought"},{label:"Recently Viewed Products",value:"recentview"},{label:"New Arrivals",value:"newarrivals"},{label:"Featured Products",value:"featured"},{label:"Top Selling Products",value:"topselling"},{label:"Trending Products",value:"trending"},{label:"Inspired By Your Browsing History",value:"recent_related"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"evm-related-product",options:[{label:"Related Products",value:"evm-related-product"},{label:"Frequently Bought Together",value:"evm-also-bought-products"},{label:"Featured Products",value:"evm-featured-collections-product"},{label:"Manual Recommendations",value:"evm-recommended-products"},{label:"Top Selling Recommendations",value:"evm-most-popular-products"},{label:"New Arrivals",value:"evm-new-arrivals-product"},{label:"Recently Viewed Products",value:"recently-viewed"},{label:"Recommendations Based On Past Purchases",value:"evm-recent_purchased_recomm-product"},{label:"Products Purchased Before",value:"evm-recent_purchased-product"},{label:"Trending Products",value:"trending-products"},{label:"AI Based Recommendations",value:"evm-related-viewed-browsing"}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
6
+ `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",appName:l.default.label,href:e.get3rdPartyInstallLink({handle:"v7-wiser-product-recommendation"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:e.get3rdPartyAppStoreLink({handle:"recommended-products-wiser"})},{id:"wiserVersion",label:"Choose widget",type:"select",default:"V2",options:[{label:"Version 2.0 (Latest Version)",value:"V2"},{label:"Version 1.0 (Deprecated)",value:"V1"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"related",options:[{label:"Related Products",value:"related"},{label:"Recommended Products",value:"recommended"},{label:"Frequently Bought Together",value:"alsobought"},{label:"Recently Viewed Products",value:"recentview"},{label:"New Arrivals",value:"newarrivals"},{label:"Featured Products",value:"featured"},{label:"Top Selling Products",value:"topselling"},{label:"Trending Products",value:"trending"},{label:"Inspired By Your Browsing History",value:"recent_related"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"evm-related-product",options:[{label:"Related Products",value:"evm-related-product"},{label:"Frequently Bought Together",value:"evm-also-bought-products"},{label:"Featured Products",value:"evm-featured-collections-product"},{label:"Manual Recommendations",value:"evm-recommended-products"},{label:"Top Selling Recommendations",value:"evm-most-popular-products"},{label:"New Arrivals",value:"evm-new-arrivals-product"},{label:"Recently Viewed Products",value:"recently-viewed"},{label:"Recommendations Based On Past Purchases",value:"evm-recent_purchased_recomm-product"},{label:"Products Purchased Before",value:"evm-recent_purchased-product"},{label:"Trending Products",value:"trending-products"},{label:"AI Based Recommendations",value:"evm-related-viewed-browsing"}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistKing.js"),i=require("./uiV2.js");const l={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/4d45c9492efce6b4965d75eb55be0252/icon/CIaX3ofRsvICEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistKing.js"),l=require("./uiV2.js");const i={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/4d45c9492efce6b4965d75eb55be0252/icon/CIaX3ofRsvICEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/4d45c9492efce6b4965d75eb55be0252/icon/CIaX3ofRsvICEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Wishlist King</span>
4
- </div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Wishlist Button Block",value:"wishlist-button-block"}],default:"wishlist-button-block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-king"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/wishlist-king",appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i.default};exports.default=l;
4
+ </div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Wishlist Button Block",value:"wishlist-button-block"}],default:"wishlist-button-block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-king"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"wishlist-king"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistPlus.js"),l=require("./uiV2.js");const i={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d612f58ce0decfaba38849af3396fb5b/icon/CKKXmdzFx_MCEAE=.jpeg?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistPlus.js"),l=require("./uiV2.js");const a={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d612f58ce0decfaba38849af3396fb5b/icon/CKKXmdzFx_MCEAE=.jpeg?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/d612f58ce0decfaba38849af3396fb5b/icon/CKKXmdzFx_MCEAE=.jpeg?width=22&height=22">
3
3
  <span class="preset-item-title">Wishlist Plus</span>
4
4
  </div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"label",label:"Custom label",type:"input",default:"Added To Wishlist"},{id:"iconSvg",label:"SVG Icon",type:"icon",hideLabel:!0,default:`
5
5
  <svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508414775080714600">
6
- <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M225.84,54.13A62.07,62.07,0,0,0,138.32,54L128,63.58,117.68,54a62,62,0,0,0-87.58,87.8l89.35,90.65a12,12,0,0,0,17.1,0l89.29-90.59a62,62,0,0,0,0-87.7Zm-17,70.79L128,206.9,47.13,124.85a38,38,0,0,1,53.74-53.74c.1.1.2.2.31.29l18.64,17.36a12,12,0,0,0,16.36,0L154.82,71.4c.11-.09.21-.19.31-.29a38,38,0,1,1,53.68,53.81Z"></path></svg>`},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-plus"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/swym-relay",appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
6
+ <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M225.84,54.13A62.07,62.07,0,0,0,138.32,54L128,63.58,117.68,54a62,62,0,0,0-87.58,87.8l89.35,90.65a12,12,0,0,0,17.1,0l89.29-90.59a62,62,0,0,0,0-87.7Zm-17,70.79L128,206.9,47.13,124.85a38,38,0,0,1,53.74-53.74c.1.1.2.2.31.29l18.64,17.36a12,12,0,0,0,16.36,0L154.82,71.4c.11-.09.21-.19.31-.29a38,38,0,1,1,53.68,53.81Z"></path></svg>`},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-plus"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"swym-relay"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
@@ -3,4 +3,4 @@
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${l.default.label}</span>
5
5
  </div>
6
- `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"yotpo-product-reviews-ugc"}),appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/yotpo-social-reviews",appName:l.default.label},{id:"productHandle",type:"product-handle",hide:!0},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V3",value:"v3"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews",options:[{label:"Reviews",value:"reviews"},{label:"Star Badge",value:"star-rating"},{label:"Review Highlights",value:"reviewHighlights"}]},{id:"appKey",label:"Your API key",type:"input"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
6
+ `},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"yotpo-product-reviews-ugc"}),appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"yotpo-social-reviews"}),appName:l.default.label},{id:"productHandle",type:"product-handle",hide:!0},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V3",value:"v3"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews",options:[{label:"Reviews",value:"reviews"},{label:"Star Badge",value:"star-rating"},{label:"Review Highlights",value:"reviewHighlights"}]},{id:"appKey",label:"Your API key",type:"input"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
@@ -1 +1 @@
1
- "use strict";exports.getAttr=({uid:t})=>({"data-id":t}),exports.getHtml5Attr=({videoId:t,title:e,autoplay:a,preloadThumbnail:r,offLazyLoad:d,src:s,thumbnail:o})=>({id:`${t}`,title:`${e}`,preload:`${a&&!r||d?"metadata":"none"}`,"data-src":`${s}`,poster:o||"","data-poster":o||""});
1
+ "use strict";exports.getAttr=({uid:t})=>({"data-id":t}),exports.getHtml5Attr=({videoId:t,title:e,autoplay:a,preloadThumbnail:r,offLazyLoad:d,src:s,thumbnail:o,shouldDeferPoster:p})=>({id:`${t}`,title:`${e}`,preload:`${a&&!r||d?"metadata":"none"}`,"data-src":`${s}`,poster:o&&!p?o:"","data-poster":o||""});
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../common/classes.js"),s=require("@gem-sdk/system"),a=require("../hooks/useLiteHtml5Embed.js"),l=require("../../image/components/NextImage.js"),r=require("../common/styles.js"),i=require("../common/attrs.js"),o=require("@gem-sdk/core");exports.default=c=>{let m=o.useEditorMode(),u="edit"!==m,{thumbnail:n,muted:d,autoplay:g,loop:p,controls:x,src:j,style:y,title:C,className:b,lazy:h,poster:q,pageContext:v}=c,{playVideoAndTurnOffThumbnail:f,videoRef:N,showThumbnail:T}=a.default(g,d,j),k=!u&&g&&d&&!!n,I=!h&&c.isVideoComponent&&u,P=!n||!T,w=j||void 0,A=s.createAttr({...i.getHtml5Attr({title:C,autoplay:g,preloadThumbnail:k,offLazyLoad:I,src:j,thumbnail:n})}),M=s.createClass({...t.getWrapThumbnailClasses(P)}),S=s.createStyle({...r.getPreloadImageStyle()}),V=s.createClass({...t.getButtonThumbnailClasses()}),B=s.createClass({...t.getImageThumbnailClasses()}),E=s.createClass({...t.getVideoYoutubeClasses(b,I)});return e.jsxs(e.Fragment,{children:[k?e.jsx(l.default,{src:n,alt:C,priority:!0,style:S}):"",e.jsx("video",{ref:N,...A,style:y,className:E,controls:x,loop:p,muted:d,autoPlay:g,playsInline:!0,src:w}),!P&&e.jsxs("div",{role:"presentation",style:y,className:M,onClick:f,children:[e.jsx(l.default,{id:"video-thumbnail",src:n??"",alt:q?.altText,title:q?.imageTitle,priority:q?.preload&&u,className:B,isDisableAspectStyle:!0,pageContext:v}),e.jsx("button",{type:"button",className:V,"aria-label":"Play",children:e.jsx("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]})]})};
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../common/classes.js"),t=require("@gem-sdk/system"),l=require("../hooks/useLiteHtml5Embed.js"),r=require("../../image/components/NextImage.js"),a=require("../common/styles.js"),i=require("../common/attrs.js"),o=require("@gem-sdk/core");exports.default=c=>{let m=o.useEditorMode(),u="edit"!==m,{thumbnail:n,muted:d,autoplay:g,loop:p,controls:j,src:x,style:y,title:C,className:b,lazy:h,poster:q}=c,{playVideoAndTurnOffThumbnail:v,videoRef:f,showThumbnail:N}=l.default(g,d,x),T=!u&&g&&d&&!!n,k=!h&&c.isVideoComponent&&u,I=!n||!N,P=x||void 0,w=t.createAttr({...i.getHtml5Attr({title:C,autoplay:g,preloadThumbnail:T,offLazyLoad:k,src:x,thumbnail:n})}),A=t.createClass({...s.getWrapThumbnailClasses(I)}),M=t.createStyle({...a.getPreloadImageStyle()}),S=t.createClass({...s.getButtonThumbnailClasses()}),V=t.createClass({...s.getImageThumbnailClasses()}),B=t.createClass({...s.getVideoYoutubeClasses(b,k)});return e.jsxs(e.Fragment,{children:[T?e.jsx(r.default,{src:n,alt:C,priority:!0,style:M}):"",e.jsx("video",{ref:f,...w,style:y,className:B,controls:j,loop:p,muted:d,autoPlay:g,playsInline:!0,src:P}),!I&&e.jsxs("div",{role:"presentation",style:y,className:A,onClick:v,children:[e.jsx(r.default,{id:"video-thumbnail",src:n??"",alt:q?.altText,title:q?.imageTitle,priority:q?.preload&&u,className:V,isDisableAspectStyle:!0}),e.jsx("button",{type:"button",className:S,"aria-label":"Play",children:e.jsx("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]})]})};
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),o=require("../../image/components/NextImage.liquid.js"),a=require("../common/styles.js"),i=require("../../helpers.js"),r=require("../common/attrs.js");exports.default=l=>{let d=`gp-video-${l.uid}`,{thumbnail:n,muted:u,autoplay:c,loop:m,controls:v,src:p,style:g,title:y,className:f,lazy:$,poster:h,wrapperStyles:b,pageContext:L}=l,A=c&&u&&!!n,P=!$&&l.isVideoComponent,E=!n||c&&u,C=P?p:void 0,S=s.createAttr({...r.getHtml5Attr({videoId:d,title:y,autoplay:c,preloadThumbnail:A,offLazyLoad:P,src:p,thumbnail:n})}),T=s.createClass({...e.getWrapThumbnailClasses(E)}),w=s.createStyle({...a.getPreloadImageStyle()}),j=s.createClass({...e.getButtonThumbnailClasses()}),q=s.createClass({...e.getImageThumbnailClasses()}),I=s.createClass({...e.getVideoYoutubeClasses(f,P)});return t.template`
2
- <gp-lite-html5-embed is-check-loaded="${l.isCheckLoaded??!1}" style="${b}">
3
- ${A?t.template`${o.default({src:n,alt:y,priority:h?.preload,pageContext:L,style:w})}
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),o=require("../../image/components/NextImage.liquid.js"),i=require("../common/styles.js"),a=require("../../helpers.js"),r=require("../common/attrs.js");exports.default=l=>{let d=`gp-video-${l.uid}`,{thumbnail:n,muted:u,autoplay:c,loop:m,controls:v,src:p,style:g,title:y,className:f,lazy:$,poster:h,thumbnailImage:b,wrapperStyles:L}=l,A=c&&u&&!!n,C=!$&&l.isVideoComponent,P=!n||c&&u,E=C?p:void 0,S=!l.isVideoComponent&&!P,T=s.createAttr({...r.getHtml5Attr({videoId:d,title:y,autoplay:c,preloadThumbnail:A,offLazyLoad:C,src:p,thumbnail:n,shouldDeferPoster:S})}),q=s.createClass({...e.getWrapThumbnailClasses(P)}),w=s.createStyle({...i.getPreloadImageStyle()}),I=s.createClass({...e.getButtonThumbnailClasses()}),j=s.createClass({...e.getImageThumbnailClasses()}),V=s.createClass({...e.getVideoYoutubeClasses(f,C)});return t.template`
2
+ <gp-lite-html5-embed is-check-loaded="${l.isCheckLoaded??!1}" style="${L}">
3
+ ${A?t.template`${o.default({src:n,alt:y,priority:h?.preload,style:w})}
4
4
  ${s.If(c,`<script>
5
5
  document.addEventListener("DOMContentLoaded", (event) => {
6
6
  const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
@@ -36,24 +36,24 @@
36
36
  </script>`)}
37
37
  `:""}
38
38
  <video
39
- ${{...S}}
39
+ ${{...T}}
40
40
  style="${g}"
41
- class="${I}"
41
+ class="${V}"
42
42
  ${v?"controls":void 0}
43
43
  ${m?"loop":void 0}
44
44
  ${u?"muted":void 0}
45
45
  ${c?"autoplay":void 0}
46
46
  playsinline
47
- ${C?`src="${C}"`:""}
47
+ ${E?`src="${E}"`:""}
48
48
  ></video>
49
- ${s.If(!E,t.template`
49
+ ${s.If(!P,t.template`
50
50
  <div
51
51
  role="presentation"
52
52
  style="${g}"
53
- class="${T}"
53
+ class="${q}"
54
54
  >
55
- ${o.default({id:"video-thumbnail",src:n??"",alt:h?.altText,title:h?.imageTitle,className:q,isDisableAspectStyle:!0,priority:h?.preload,pageContext:L})}
56
- <button type="button" class="${j}" aria-label="Play">
55
+ ${o.default({id:"video-thumbnail",src:n??"",...b&&{srcIsLiquidCode:!0,srcset:b.srcset},alt:h?.altText,title:h?.imageTitle,className:j,isDisableAspectStyle:!0,priority:h?.preload})}
56
+ <button type="button" class="${I}" aria-label="Play">
57
57
  <svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
58
58
  <path
59
59
  fill="currentColor"
@@ -64,5 +64,5 @@
64
64
  </div>
65
65
  `)}
66
66
  </gp-lite-html5-embed>
67
- ${t.RenderIf(t.isLocalEnv,`<script ${i.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-lite-html5-embed-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${i.getSettingPreloadData('class="gps-link" delay',"src")}="${t.baseAssetURL}/assets-v2/gp-lite-html5-embed-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
67
+ ${t.RenderIf(t.isLocalEnv,`<script ${a.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-lite-html5-embed-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${a.getSettingPreloadData('class="gps-link" delay',"src")}="${t.baseAssetURL}/assets-v2/gp-lite-html5-embed-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
68
68
  `};
@@ -1,15 +1,15 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),l=require("../../image/components/NextImage.liquid.js"),r=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=c=>{let{title:o,id:m,lazy:p,aspectRatio:d,autoplay:g,muted:n,thumbnailLink:u,poster:y,translatedVideoUrl:f,pageContext:$}=c,{iframeSrc:v}=i.getVimeoParams(c),S=!p,b=c.thumbnail,h=t.createStateOrContext({id:m,thumbnail:u,lazy:p,iframeSrc:v,title:o,autoplay:g,muted:n,style:c?.vimeoStyleIframe||"",translatedVideoUrl:f}),C=t.createStyle({...s.getIframeVimeoStyle(d)}),j=t.createStyle({...s.getArticleVimeoStyle(d,"")}),I=t.createClass({...e.getArticleVimeoClasses(b,d)}),V=t.createClass({...e.getImageVimeoClasses(S)}),q=t.createClass({...e.getButtonVimeoClasses(S)}),w=t.createClass({...e.getIframeVimeoClasses()});return a.template`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),l=require("../../image/components/NextImage.liquid.js"),r=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=c=>{let{title:o,id:m,lazy:p,aspectRatio:d,autoplay:g,muted:n,thumbnailLink:u,poster:y,translatedVideoUrl:f}=c,{iframeSrc:$}=i.getVimeoParams(c),v=!p,S=c.thumbnail,b=t.createStateOrContext({id:m,thumbnail:u,lazy:p,iframeSrc:$,title:o,autoplay:g,muted:n,style:c?.vimeoStyleIframe||"",translatedVideoUrl:f}),h=t.createStyle({...s.getIframeVimeoStyle(d)}),C=t.createStyle({...s.getArticleVimeoStyle(d,"")}),j=t.createClass({...e.getArticleVimeoClasses(S,d)}),I=t.createClass({...e.getImageVimeoClasses(v)}),V=t.createClass({...e.getButtonVimeoClasses(v)}),q=t.createClass({...e.getIframeVimeoClasses()});return a.template`
2
2
  <gp-lite-vimeo-embed>
3
- <script gp-data type="application/json">${JSON.stringify(h)}</script>
3
+ <script gp-data type="application/json">${JSON.stringify(b)}</script>
4
4
  <article
5
5
  aria-hidden
6
- class="${I}"
6
+ class="${j}"
7
7
  data-title="${o}"
8
- style="${j}"
8
+ style="${C}"
9
9
  >
10
- ${l.default({src:b,alt:y?.altText,title:y?.imageTitle,className:V,isDisableAspectStyle:!0,pageContext:$,priority:y?.preload,height:y?.height,width:y?.width})}
11
- ${t.If(!S,a.template`
12
- <button type="button" class="${q}" aria-label="Play">
10
+ ${l.default({src:S,alt:y?.altText,title:y?.imageTitle,className:I,isDisableAspectStyle:!0,priority:y?.preload,height:y?.height,width:y?.width})}
11
+ ${t.If(!v,a.template`
12
+ <button type="button" class="${V}" aria-label="Play">
13
13
  <svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
14
14
  <path
15
15
  fill="currentColor"
@@ -17,15 +17,15 @@
17
17
  />
18
18
  </svg>
19
19
  </button>`)}
20
- ${t.If(S,a.template`
20
+ ${t.If(v,a.template`
21
21
  <iframe
22
- style="${C}"
22
+ style="${h}"
23
23
  title="${o}"
24
24
  frameborder="0"
25
25
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
26
26
  allowfullscreen
27
- src="${v}"
28
- class="${w}"
27
+ src="${$}"
28
+ class="${q}"
29
29
  ></iframe>`)}
30
30
  </article>
31
31
  </gp-lite-vimeo-embed>
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),r=require("react-youtube"),a=require("../common/classes.js"),s=require("../common/helpers.js"),l=require("../common/styles.js"),o=require("../hooks/useLiteYoutubeEmbed.js"),i=require("@gem-sdk/system"),u=require("../../image/components/NextImage.js");exports.default=c=>{let n=t.useEditorMode(),m="edit"!==n,{style:d,poster:g,iframeClass:y,wrapperClass:p,title:b,pageContext:f}=c,{preload:C}=g||{},{videoId:h,paramsImp:j,posterUrl:x,iframeSrc:v}=s.getYoutubeParams(c),{iframe:S,intervalPlay:q,warmConnections:Y,isVideoStarted:w,videoDuration:N,addIframe:B}=o.default(c,j,h),I=i.createClass({...a.getButtonYoutubeClasses(S)}),k=i.createClass({...a.getImageYoutubeClasses()}),M=i.createClass({...a.getArticleYoutubeClasses(C&&m||!1,p)}),P=i.createClass({...a.getIframeYoutubeClasses(y)}),E=i.createStyle({...l.getIframeYoutubeStyle(d)}),T=i.createStyle({...l.getArticleYoutubeStyle(d,x)}),V=i.createClass({...a.getYoutubeContentClasses()});return e.jsxs("article",{"aria-hidden":!0,className:M,"data-title":b,style:T,onPointerOver:Y,onClick:B,children:[e.jsx(u.default,{src:x,alt:g?.altText,title:g?.imageTitle,priority:m&&C,pageContext:f,className:k,isDisableAspectStyle:!0}),e.jsx("button",{type:"button","aria-label":"Play",className:I,children:e.jsxs("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[e.jsx("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),e.jsx("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),S&&(()=>{if(c.isHeroBanner&&s.isSettingLoop(j))return e.jsx(r,{videoId:h,title:b,iframeClassName:P,style:E,className:V,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...s.covertStrParamsToObj(j)}},onReady:e=>{if(e.target.playVideo(),N.current=Math.floor(e.target.getDuration()),c.isHeroBanner){let t=e.target.getIframe();if(t){let e=t.closest("div.hero-banner-container");if(e){let r=new CustomEvent("youtube-iframe-ready",{detail:{iframe:t},bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}}},onStateChange:e=>{let t=e.target;w.current||(t.playVideo(),w.current=!0,q(e)),0===e.data&&(N.current=t.getCurrentTime(),t.playVideo(),q(e))}});let t=e.jsx("iframe",{className:P,style:E,title:b,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:v});return c.isHeroBanner?e.jsx("div",{className:V,children:t}):t})()]})};
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),r=require("react-youtube"),s=require("../common/classes.js"),a=require("../common/helpers.js"),l=require("../common/styles.js"),o=require("../hooks/useLiteYoutubeEmbed.js"),i=require("@gem-sdk/system"),u=require("../../image/components/NextImage.js");exports.default=c=>{let n=t.useEditorMode(),m="edit"!==n,{style:d,poster:y,iframeClass:g,wrapperClass:b,title:p}=c,{preload:f}=y||{},{videoId:C,paramsImp:h,posterUrl:j,iframeSrc:x}=a.getYoutubeParams(c),{iframe:v,intervalPlay:S,warmConnections:q,isVideoStarted:Y,videoDuration:w,addIframe:N}=o.default(c,h,C),B=i.createClass({...s.getButtonYoutubeClasses(v)}),I=i.createClass({...s.getImageYoutubeClasses()}),k=i.createClass({...s.getArticleYoutubeClasses(f&&m||!1,b)}),M=i.createClass({...s.getIframeYoutubeClasses(g)}),P=i.createStyle({...l.getIframeYoutubeStyle(d)}),E=i.createStyle({...l.getArticleYoutubeStyle(d,j)}),T=i.createClass({...s.getYoutubeContentClasses()});return e.jsxs("article",{"aria-hidden":!0,className:k,"data-title":p,style:E,onPointerOver:q,onClick:N,children:[e.jsx(u.default,{src:j,alt:y?.altText,title:y?.imageTitle,priority:m&&f,className:I,isDisableAspectStyle:!0}),e.jsx("button",{type:"button","aria-label":"Play",className:B,children:e.jsxs("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[e.jsx("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),e.jsx("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),v&&(()=>{if(c.isHeroBanner&&a.isSettingLoop(h))return e.jsx(r,{videoId:C,title:p,iframeClassName:M,style:P,className:T,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...a.covertStrParamsToObj(h)}},onReady:e=>{if(e.target.playVideo(),w.current=Math.floor(e.target.getDuration()),c.isHeroBanner){let t=e.target.getIframe();if(t){let e=t.closest("div.hero-banner-container");if(e){let r=new CustomEvent("youtube-iframe-ready",{detail:{iframe:t},bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}}},onStateChange:e=>{let t=e.target;Y.current||(t.playVideo(),Y.current=!0,S(e)),0===e.data&&(w.current=t.getCurrentTime(),t.playVideo(),S(e))}});let t=e.jsx("iframe",{className:M,style:P,title:p,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:x});return c.isHeroBanner?e.jsx("div",{className:T,children:t}):t})()]})};
@@ -1,14 +1,14 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),r=require("../../image/components/NextImage.liquid.js"),l=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=o=>{let{style:u,iframeClass:c,wrapperClass:p,title:d,poster:n,translatedVideoUrl:m,autoplay:g,pageContext:y}=o,b=`gp-video-${o.uid}`,{posterUrl:f,iframeSrc:$}=i.getYoutubeParams(o),C=!!o.thumbnail,S=n?.preload,v=t.createStateOrContext({lazy:o.lazy,hasThumbnail:C,style:u,title:d,iframeSrc:$,translatedVideoUrl:m,autoplay:g,isHeroBanner:o.isHeroBanner}),h=!o.lazy&&(!C||!!o.autoplay),j=t.createClass({...e.getButtonYoutubeClasses(h)}),q=t.createClass({...e.getImageYoutubeClasses()}),Y=t.createClass({...e.getArticleYoutubeClasses(S||!1,p)}),I=t.createClass({...e.getIframeYoutubeClasses(c)}),x=t.createStyle({...s.getIframeYoutubeStyle(u)}),A=t.createStyle({...s.getArticleYoutubeStyle(u,f)}),P=t.createClass({...e.getYoutubeContentClasses()});return a.template`
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),r=require("../../image/components/NextImage.liquid.js"),l=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=o=>{let{style:u,iframeClass:c,wrapperClass:p,title:d,poster:n,translatedVideoUrl:m,autoplay:g}=o,y=`gp-video-${o.uid}`,{posterUrl:b,iframeSrc:f}=i.getYoutubeParams(o),$=!!o.thumbnail,C=n?.preload,S=t.createStateOrContext({lazy:o.lazy,hasThumbnail:$,style:u,title:d,iframeSrc:f,translatedVideoUrl:m,autoplay:g,isHeroBanner:o.isHeroBanner}),v=!o.lazy&&(!$||!!o.autoplay),h=t.createClass({...e.getButtonYoutubeClasses(v)}),j=t.createClass({...e.getImageYoutubeClasses()}),q=t.createClass({...e.getArticleYoutubeClasses(C||!1,p)}),Y=t.createClass({...e.getIframeYoutubeClasses(c)}),I=t.createStyle({...s.getIframeYoutubeStyle(u)}),x=t.createStyle({...s.getArticleYoutubeStyle(u,b)}),A=t.createClass({...e.getYoutubeContentClasses()});return a.template`
2
2
  <gp-lite-youtube-embed>
3
- <script gp-data type="application/json">${JSON.stringify(v)}</script>
3
+ <script gp-data type="application/json">${JSON.stringify(S)}</script>
4
4
  <article
5
5
  aria-hidden
6
- class="${Y}"
6
+ class="${q}"
7
7
  data-title="${d}"
8
- style="${A}"
8
+ style="${x}"
9
9
  >
10
- ${r.default({id:b,src:f,alt:n?.altText,title:n?.imageTitle,priority:n?.preload,pageContext:y,className:q,isDisableAspectStyle:!0,isNotLazyload:n?.preload})}
11
- <button type="button" aria-label="Play" class="${j}">
10
+ ${r.default({id:y,src:b,alt:n?.altText,title:n?.imageTitle,priority:n?.preload,className:j,isDisableAspectStyle:!0})}
11
+ <button type="button" aria-label="Play" class="${h}">
12
12
  <svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
13
13
  <path
14
14
  d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"
@@ -17,19 +17,19 @@
17
17
  <path d="M 45,24 27,14 27,34" fill="#fff"></path>
18
18
  </svg>
19
19
  </button>
20
- ${t.If(h,(()=>{let e=a.template`
20
+ ${t.If(v,(()=>{let e=a.template`
21
21
  <iframe
22
22
  id="player-wrapper-${o.uid}"
23
- class="${I}"
24
- style="${x}"
23
+ class="${Y}"
24
+ style="${I}"
25
25
  title="${d}"
26
26
  frameborder="0"
27
27
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
28
28
  allowfullscreen
29
- src="${$}"
29
+ src="${f}"
30
30
  ></iframe>
31
31
  `;return o.isHeroBanner?a.template`
32
- <div class="${P}">${e}</div>
32
+ <div class="${A}">${e}</div>
33
33
  `:e})())}
34
34
  </article>
35
35
  </gp-lite-youtube-embed>
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/helpers.js"),t=require("@gem-sdk/core"),a=require("../common/styles.js"),l=require("../common/classes.js"),i=require("@gem-sdk/system"),s=require("../../image/components/NextImage.liquid.js"),r=require("../../image/common/helpers.js"),o=require("./LiteYouTubeEmbed.liquid.js"),d=require("./LiteVimeoEmbed.liquid.js"),u=require("./HTML5Embed.liquid.js"),m=require("../common/attrs.js");exports.default=({className:c,setting:n,style:g,builderAttrs:y,builderProps:p,advanced:b,pageContext:V})=>{let q=e.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=r.getImageSrc(C),{cssClass:U}=b??{},A=e.getAspectRatioSettings(q?.ratioOptions,q?.aspectRatio),z=i.createAttr({...m.getAttr({uid:p?.uid||""})}),E=i.createStyle({...a.getStyle(q,g)}),Y=i.createStyle({...a.getYoutubeStyle(A)}),w=i.createStyle({...a.getVimeoStyle(A)}),H=i.createStyle({...a.getHtml5Style(A)}),M=i.createStyle({...a.getFallBackImageStyle(n?.aspectRatio)}),O=i.createClass({...l.getFallbackImageClasses()}),P=i.createClass({...l.getClasses({className:c,builderProps:p,isInstantLP:!1,advancedCssClass:U})});return t.template`
2
2
  <div
3
3
  ${{...y}} ${{...z}} class="${P}" style="${E}">
4
- ${(()=>{switch(x){case"youtube":{let a=e.getYoutubeVideoId(f),l=t.hasTranslatedLiquid(R);if((!e.youtubeVideoRegex.test(f)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${e.parseTimeVideo(T)}`),$&&(i+=`&end=${e.parseTimeVideo($)}`),o.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=e.getVimeoVideoId(S),l=t.hasTranslatedLiquid(F);if((!e.vimeoVideoRegex.test(S)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return d.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 s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return u.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})}})()}
4
+ ${(()=>{switch(x){case"youtube":{let a=e.getYoutubeVideoId(f),l=t.hasTranslatedLiquid(R);if((!e.youtubeVideoRegex.test(f)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${e.parseTimeVideo(T)}`),$&&(i+=`&end=${e.parseTimeVideo($)}`),o.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=e.getVimeoVideoId(S),l=t.hasTranslatedLiquid(F);if((!e.vimeoVideoRegex.test(S)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return d.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 s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return u.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})}})()}
5
5
  </div>
6
6
  `};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let m=({className:m,setting:o={},styles:s={},advanced:l,builderProps:d})=>{let c=t(e=>e.article),n=i(()=>{let{src:e,alt:t}=c?.media??{};return{src:e,alt:t}},[c]);return e("div",{className:r("gp-text-center",m),style:{borderRadius:"inherit"},children:e(a,{builderProps:d,setting:{...o,image:n,disableNoDataState:!0},styles:s,advanced:l})})};export{m as default};
2
+ import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let m=({className:m,setting:o={},styles:s={},advanced:l,builderProps:c})=>{let d=t(e=>e.article),n=i(()=>{let{src:e,alt:t}=d?.media??{};return{src:e,alt:t}},[d]);return e("div",{className:r("gp-text-center",m),style:{borderRadius:"inherit"},children:e(a,{builderProps:c,setting:{...o,image:n,disableNoDataState:!0},styles:s,advanced:l,sizeTarget:"ArticleImage"})})};export{m as default};
@@ -1,12 +1,12 @@
1
1
  'use client';
2
- import e from"../../image/components/Image.liquid.js";import{getLinkArticle as t}from"../../helpers.js";import{cls as a,template as i}from"@gem-sdk/core";let r=r=>{let l=r?.setting??{},{alt:s,title:c}=l,{builderProps:d}=r,m=l?.openNewTab?"_blank":"_self";return i`
3
- <div class="${a("gp-text-center",r?.className)}" style="border-radius: inherit">
4
- ${l?.linkArticle?`
5
- <a href="${t(l.linkArticle,l.customURL)}" target="${m}" title="{{article.title}}">
6
- ${e({...r,styles:r.styles,setting:{...r.setting,alt:s,title:c,image:{src:"{{article.image.src | img_url: '1024x1024'}}",alt:"{{article.image.alt}}"},srcSet:{desktop:{src:"{{article.image.src | img_url: '1024x1024'}}"}},disableNoDataState:!0},advanced:r.advanced,builderAttrs:{"data-id":d?.uid}})}
2
+ import{getLiquidImageObjectSources as t}from"../../image/common/liquidSrcset.js";import{FALLBACK_IMAGE as e}from"../../image/common/helpers.js";import{getLinkArticle as o}from"../../helpers.js";import{cls as s,template as i}from"@gem-sdk/core";import"../../accordion/common/classes.js";import"@gem-sdk/system";import"html-react-parser";import"react/jsx-runtime";import"next/link";import"react";import"../../image/common/listContext.js";import"../../breadcrumb/types.js";import"../../common/const.js";import r from"../../image/components/Image.liquid.js";import"../../marquee/common/classes.js";import"../../product/components/product-bundle/common/styles.js";import"../../product/components/product-bundle/common/classes.js";import"../../product/components/product-button/types.js";import"../../product/components/product-list-v3/constants/index.js";import"../../product/components/constants/product-bundle.js";import"../../product/components/product-badge/constants.js";import"../../product/components/product-badge/types.js";import"../../product/components/product-badge/utils/shape.js";let a="ArticleImage",m=o=>({...t({liquidSrc:"article.image",fallbackSrc:e,sizeTarget:a,qualityType:o?.qualityType,qualityPercent:o?.qualityPercent}),alt:"{{article.image.alt}}",srcIsLiquidCode:!0}),c=t=>{let e=t?.setting??{},{alt:c,title:p}=e,{builderProps:n}=t,d=e?.openNewTab?"_blank":"_self",l=m(e);return i`
3
+ <div class="${s("gp-text-center",t?.className)}" style="border-radius: inherit">
4
+ ${e?.linkArticle?`
5
+ <a href="${o(e.linkArticle,e.customURL)}" target="${d}" title="{{article.title}}">
6
+ ${r({...t,styles:t.styles,setting:{...t.setting,alt:c,title:p,image:l,isAdaptive:!1,disableNoDataState:!0},advanced:t.advanced,sizeTarget:a,builderAttrs:{"data-id":n?.uid}})}
7
7
  </a>
8
8
  `:`
9
- ${e({...r,styles:r.styles,setting:{...r.setting,alt:"{{article.image.alt}}",image:{src:"{{article.image.src | img_url: '1024x1024'}}",alt:"{{article.image.alt}}"},srcSet:{desktop:{src:"{{article.image.src | img_url: '1024x1024'}}"}},disableNoDataState:!0},advanced:r.advanced,builderAttrs:{"data-id":d?.uid}})}
9
+ ${r({...t,styles:t.styles,setting:{...t.setting,alt:"{{article.image.alt}}",image:l,isAdaptive:!1,disableNoDataState:!0},advanced:t.advanced,sizeTarget:a,builderAttrs:{"data-id":n?.uid}})}
10
10
  `}
11
11
  </div>
12
- `};export{r as default};
12
+ `};export{c as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as i,splitStyle as l,composeAdvanceStyle as a,useBlogsQuery as r,useArticlesQuery as o,flattenConnection as d,filterToolbarPreview as n,ArticleListProvider as s,ArticleProvider as c,isEmptyChildren as m,cls as g,makeStyleResponsive as p,getResponsiveValueByScreen as h,getGradientBgrStyleByDevice as u,getStyleBackgroundByDevice as b,makeStyleWithDefault as f,makeWidth as w}from"@gem-sdk/core";import T from"../../grid/components/ChildrenDroppable.js";import y from"./ArticleNotFound.js";import"../../common/const.js";import{useState as A}from"react";import D from"../../common/components/Loading.js";let v=v=>{let S=i(),{styles:O,setting:k,className:I,children:E,builderProps:L,advanced:P,builderAttrs:G,style:_}=v??{},{articleSetting:j,numberOfArticle:x}=k??{},{articleIds:C,articlePickType:M}=j??{},{border:N,rounded:z,hasBoxShadow:B,boxShadow:F}=P??{},[R]=l(["pos","top","left","bottom","right","z","d"],_),U=a({border:N,rounded:z,hasBoxShadow:B,boxShadow:F,"spacing-setting":P?.["spacing-setting"]}),$={first:C?.length||50,where:{baseIDIn:[...j?.articleIds??[]]},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},V={first:1,where:{baseID:j?.blogId},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"},articlesOrderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},[H,q]=A(!0),J=r("latest"===M?V:null,{revalidateOnMount:!0}),K=o("manually"===M?$:null,{revalidateOnMount:!0}),Q=J.data?.blogs?.edges?.[0]?.node,W="manually"===M?K.isLoading:J.isLoading,X="manually"===M?K.isValidating:J.isValidating,Y="manually"===M?K.error:J.error,Z=J?.data?.blogs?.edges?.[0]?.node,ee="latest"===M?d(Z?.articles):d(K?.data?.articles),et=(e,t)=>({...e??{},blog:{title:t?.title??"",handle:t?.handle??""}}),ei="latest"===M?ee?.filter((e,t)=>t<+(x||4)).map(e=>et(e,Z)):"manually"===M&&j?.articleIds?.length?C?.map(e=>{let t=ee?.find(t=>t?.baseID===e);return et(t,t?.blogs?.edges?.[0]?.node)}).filter(Boolean):ee.filter((e,t)=>t<(j?.numOfSelectedArticles||4)).map(e=>et(e,e?.blogs?.edges?.[0]?.node));return ei?.length||W||"edit"!=S?e("div",{...G,className:L?.builderData?.uid,style:R,children:[X||W?t(D,{}):Y?e("div",{children:["Error: ",Y?.message]}):ei?.length?t(s,{styles:{horizontalGutter:O?.horizontalGutter,verticalGutter:O?.verticalGutter,spacing:O?.spacing,width:O?.width,height:O?.height},settings:{slidesToShow:k?.slideToShow??{desktop:4,tablet:3,mobile:1}},articles:ei,children:t("div",{"data-id":L?.uid,className:"gp-relative",children:t("div",{style:{...U,...f("w",w(O?.width),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),...p("rg",O?.horizontalGutter),...p("cg",O?.verticalGutter),...b(k?.background),...u(k?.background),...p("gtc",{desktop:`repeat(${h(k?.slideToShow,"desktop")}, minmax(0, 1fr))`,tablet:k?.slideToShow?.tablet&&`repeat(${h(k?.slideToShow,"tablet")}, minmax(0, 1fr))`,mobile:k?.slideToShow?.mobile&&`repeat(${h(k?.slideToShow,"mobile")}, minmax(0, 1fr))`})},className:g(I,"gp-m-auto gp-grid gp-w-full"),children:ei.map(e=>t(c,{article:e,readOnly:!0,children:t("div",{"data-component-type":"component","data-component-tag":"Article","data-component-label":"Article","data-component-no-setting":!0,"data-article-id":e?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:m(E)?t(T,{}):E})},e?.id))})})}):t("div",{children:"Articles not found"}),n(E,!0)]}):H?e("div",{...G,className:L?.builderData?.uid,children:[t(y,{blogHandle:Q?.handle,onClose:()=>q(!1),articlePickType:M??"manually",children:E}),n(E,!0)]}):null};export{v as default};
2
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as i,splitStyle as l,composeAdvanceStyle as r,useBlogsQuery as a,useArticlesQuery as o,flattenConnection as d,filterToolbarPreview as n,ArticleListProvider as s,ArticleProvider as c,isEmptyChildren as m,cls as g,makeStyleResponsive as p,getResponsiveValueByScreen as h,getGradientBgrStyleByDevice as u,getStyleBackgroundByDevice as b,makeStyleWithDefault as f,makeWidth as D}from"@gem-sdk/core";import w from"../../grid/components/ChildrenDroppable.js";import{getElementLabel as T,isQueryLoading as A}from"../../common/helpers.js";import"../../common/const.js";import{useState as y}from"react";import v from"../../common/components/Loading.js";import S from"./ArticleNotFound.js";let O=O=>{let k=i(),{styles:I,setting:E,className:L,children:P,builderProps:j,advanced:G,builderAttrs:_,style:x}=O??{},{articleSetting:C,numberOfArticle:M}=E??{},{articleIds:N,articlePickType:z}=C??{},{border:B,rounded:F,hasBoxShadow:R,boxShadow:U}=G??{},[$]=l(["pos","top","left","bottom","right","z","d"],x),H=r({border:B,rounded:F,hasBoxShadow:R,boxShadow:U,"spacing-setting":G?.["spacing-setting"]}),Q={first:N?.length||50,where:{baseIDIn:[...C?.articleIds??[]]},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},V={first:1,where:{baseID:C?.blogId},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"},articlesOrderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},[q,J]=y(!0),K="manually"===z,W="latest"===z,X=a(W?V:null,{revalidateOnMount:!0}),Y=o(K?Q:null,{revalidateOnMount:!0}),Z=X.data?.blogs?.edges?.[0]?.node,ee=K?Y:X,et=ee.error,ei=ee.isValidating,el=A({hasQuery:K||W,data:ee.data,error:ee.error,isLoading:ee.isLoading}),er=X?.data?.blogs?.edges?.[0]?.node,ea="latest"===z?d(er?.articles):d(Y?.data?.articles),eo=(e,t)=>({...e??{},blog:{title:t?.title??"",handle:t?.handle??""}}),ed="latest"===z?ea?.filter((e,t)=>t<+(M||4)).map(e=>eo(e,er)):"manually"===z&&C?.articleIds?.length?N?.map(e=>{let t=ea?.find(t=>t?.baseID===e);return eo(t,t?.blogs?.edges?.[0]?.node)}).filter(Boolean):ea.filter((e,t)=>t<(C?.numOfSelectedArticles||4)).map(e=>eo(e,e?.blogs?.edges?.[0]?.node));return ed?.length||el||"edit"!=k?e("div",{..._,className:j?.builderData?.uid,style:$,children:[ei||el?t(v,{label:T({builderData:j?.builderData})}):et?e("div",{children:["Error: ",et?.message]}):ed?.length?t(s,{styles:{horizontalGutter:I?.horizontalGutter,verticalGutter:I?.verticalGutter,spacing:I?.spacing,width:I?.width,height:I?.height},settings:{slidesToShow:E?.slideToShow??{desktop:4,tablet:3,mobile:1}},articles:ed,children:t("div",{"data-id":j?.uid,className:"gp-relative",children:t("div",{style:{...H,...f("w",D(I?.width),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),...p("rg",I?.horizontalGutter),...p("cg",I?.verticalGutter),...b(E?.background),...u(E?.background),...p("gtc",{desktop:`repeat(${h(E?.slideToShow,"desktop")}, minmax(0, 1fr))`,tablet:E?.slideToShow?.tablet&&`repeat(${h(E?.slideToShow,"tablet")}, minmax(0, 1fr))`,mobile:E?.slideToShow?.mobile&&`repeat(${h(E?.slideToShow,"mobile")}, minmax(0, 1fr))`})},className:g(L,"gp-m-auto gp-grid gp-w-full"),children:ed.map(e=>t(c,{article:e,readOnly:!0,children:t("div",{"data-component-type":"component","data-component-tag":"Article","data-component-label":"Article","data-component-no-setting":!0,"data-article-id":e?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:m(P)?t(w,{}):P})},e?.id))})})}):t("div",{children:"Articles not found"}),n(P,!0)]}):q?e("div",{..._,className:j?.builderData?.uid,children:[t(S,{blogHandle:Z?.handle,onClose:()=>J(!1),articlePickType:z??"manually",children:P}),n(P,!0)]}):null};export{O as default};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"html-react-parser";import"../common/const.js";import"../image/components/AdaptiveImage.js";import"next/image";import t from"./settings/ArticlePagination.js";import r from"./settings/ArticleReadMore.js";import e from"./settings/ArticleCategory.js";import i from"./settings/ArticleExcerpt.js";import o from"./settings/ArticleContent.js";import s from"./settings/ArticleAuthor.js";import m from"./settings/ArticleTitle.js";import c from"./settings/ArticleImage.js";import l from"./settings/ArticleList.js";import n from"./settings/ArticleDate.js";import p from"./settings/ArticleTag.js";let g={ArticleList:l,ArticleTitle:m,ArticleExcerpt:i,ArticleContent:o,ArticleImage:c,ArticlePagination:t,ArticleAuthor:s,ArticleTag:p,ArticleCategory:e,ArticleDate:n,ArticleReadMore:r};export{g as articleListSetting};
1
+ import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"html-react-parser";import"../common/const.js";import"../image/components/AdaptiveImage.js";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import t from"./settings/ArticlePagination.js";import i from"./settings/ArticleReadMore.js";import e from"./settings/ArticleCategory.js";import r from"./settings/ArticleExcerpt.js";import o from"./settings/ArticleContent.js";import m from"./settings/ArticleAuthor.js";import s from"./settings/ArticleTitle.js";import c from"./settings/ArticleImage.js";import n from"./settings/ArticleList.js";import l from"./settings/ArticleDate.js";import g from"./settings/ArticleTag.js";let p={ArticleList:n,ArticleTitle:s,ArticleExcerpt:r,ArticleContent:o,ArticleImage:c,ArticlePagination:t,ArticleAuthor:m,ArticleTag:g,ArticleCategory:e,ArticleDate:l,ArticleReadMore:i};export{p as articleListSetting};
@@ -1 +1 @@
1
- let e=[{id:"setting",controls:[{id:"seo",type:"group",label:"SEO",controls:[{id:"alt",label:"Alt Text",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: This is a very long value for text area field"},{id:"title",label:"Image title",info:"Show title when hover to image",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: White t-shirt"}]},{id:"optimize",type:"group",label:"Optimize",hiddenWithGemPages:!0,controls:[{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"priority",type:"toggle",label:"Preload",default:!1}]},{id:"enableLink",type:"toggle",label:"Link",default:!0},{id:"linkArticle",label:"After click",type:"select",options:[{label:"Go to article",value:"go-to-article"},{label:"Scroll to",value:"scroll-to"}],default:"go-to-article",info:"Ability to click on article title to go to article detail page."},{id:"customURL",label:"Custom URL",type:"pick-link",default:{target:"_self",type:"scroll-to"},isHiddenOpenLinkSelect:!0,hide:!0},{id:"openNewTab",type:"option:value",label:"Open new tab",default:!1,options:[{label:"Yes",value:!0},{label:"No",value:!1}]}]},{id:"style",controls:[{id:"shape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",width:"100%"}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"objectFit",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:{desktop:{default:"cover"}}},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"center"}}},{id:"opacity",label:"Overlay Opacity",type:"input",default:{normal:0},state:{normal:!0,hover:!0}},{id:"opacityColor",label:"Overlay Color",type:"colorpicker",default:{normal:"#242424"},state:{normal:!0,hover:!0}},{id:"wrapperBorder",type:"border",label:"Border",compoDefaultValue:{border:"solid",width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"#A01414",isCustom:!0}},{id:"borderRadius",type:"radius-preset",label:"Corner",default:{radiusType:"none"},compoDefaultValue:{bblr:"20px",btrr:"20px",bbrr:"20px",btlr:"20px",radiusType:"rounded"}},{id:"shadow",type:"shadow-v2",label:"Button Shadow",compoDefaultValue:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}}]}];export{e as ArticleImageSettings};
1
+ let e=[{id:"setting",controls:[{id:"seo",type:"group",label:"SEO",controls:[{id:"alt",label:"Alt Text",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: This is a very long value for text area field"},{id:"title",label:"Image title",info:"Show title when hover to image",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: White t-shirt"}]},{id:"optimize",type:"group",label:"Optimize",hiddenWithGemPages:!0,controls:[{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:20,max:400,step:20,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"priority",type:"toggle",label:"Preload",default:!1}]},{id:"enableLink",type:"toggle",label:"Link",default:!0},{id:"linkArticle",label:"After click",type:"select",options:[{label:"Go to article",value:"go-to-article"},{label:"Scroll to",value:"scroll-to"}],default:"go-to-article",info:"Ability to click on article title to go to article detail page."},{id:"customURL",label:"Custom URL",type:"pick-link",default:{target:"_self",type:"scroll-to"},isHiddenOpenLinkSelect:!0,hide:!0},{id:"openNewTab",type:"option:value",label:"Open new tab",default:!1,options:[{label:"Yes",value:!0},{label:"No",value:!1}]}]},{id:"style",controls:[{id:"shape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",width:"100%"}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"objectFit",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:{desktop:{default:"cover"}}},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"center"}}},{id:"opacity",label:"Overlay Opacity",type:"input",default:{normal:0},state:{normal:!0,hover:!0}},{id:"opacityColor",label:"Overlay Color",type:"colorpicker",default:{normal:"#242424"},state:{normal:!0,hover:!0}},{id:"wrapperBorder",type:"border",label:"Border",compoDefaultValue:{border:"solid",width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"#A01414",isCustom:!0}},{id:"borderRadius",type:"radius-preset",label:"Corner",default:{radiusType:"none"},compoDefaultValue:{bblr:"20px",btrr:"20px",bbrr:"20px",btlr:"20px",radiusType:"rounded"}},{id:"shadow",type:"shadow-v2",label:"Button Shadow",compoDefaultValue:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}}]}];export{e as ArticleImageSettings};
@@ -1 +1 @@
1
- let e=[{label:"Image",hiddenOnMobile:!0,conditionDisplay:"shape.shape !== 'original'",controls:[{label:"Image scale",setting:{id:"objectFit"}}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"shape"},layout:"vertical"}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border",type:"border-v2",linkWithSetting:{name:"wrapperBorder"}}},{label:"Corner",controlConfig:{id:"corner",type:"corner-v2",linkWithSetting:{name:"borderRadius"}}},{label:"Shadow",setting:{id:"shadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"shadow.enable === true",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"shadow.enable === false",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]},{hiddenOnMobile:!0,controls:[{label:"Link",setting:{id:"enableLink"},options:{labelVariant:"primary",toggleStyle:"switch"}},{type:"control",conditionDisplay:"enableLink == true",setting:{id:"linkArticle"},label:"After click"},{label:"Open new tab",setting:{id:"openNewTab"},conditionDisplay:"enableLink === true && linkArticle === 'go-to-article'"},{type:"control",conditionDisplay:"linkArticle === 'scroll-to' && enableLink == true",layout:"vertical",setting:{id:"customURL"}}]},{label:"SEO",hiddenOnMobile:!0,controls:[{type:"combo",label:"Alt text",iconName:"polaris-text-block",getValueFromSettingID:"alt",compoDefaultValue:"Describes the appearance of the image",isHideClear:!0,controls:[{label:"Content",setting:{id:"alt"},layout:"vertical"}]},{type:"combo",label:"Image title",iconName:"polaris-text-block",getValueFromSettingID:"title",compoDefaultValue:"Title",isHideClear:!0,controls:[{label:"Content",setting:{id:"title"},layout:"vertical"}]}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',hiddenOnMobile:!0,controls:[{label:"Preload",setting:{id:"priority"}},{label:"Quality",conditionDisplay:"priority === false",setting:{id:"qualityType"}},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom" && priority === false',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},conditionEnable:"shape.width !== '100%'",options:{labelVariant:"primary",fullWidth:!0,disableMessage:"This option is disabled because the width is set to 100%"}}]}];export{e as SettingUIV2};
1
+ let e=[{label:"Image",hiddenOnMobile:!0,conditionDisplay:"shape.shape !== 'original'",controls:[{label:"Image scale",setting:{id:"objectFit"}}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"shape"},layout:"vertical"}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border",type:"border-v2",linkWithSetting:{name:"wrapperBorder"}}},{label:"Corner",controlConfig:{id:"corner",type:"corner-v2",linkWithSetting:{name:"borderRadius"}}},{label:"Shadow",setting:{id:"shadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"shadow.enable === true",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"shadow.enable === false",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]},{hiddenOnMobile:!0,controls:[{label:"Link",setting:{id:"enableLink"},options:{labelVariant:"primary",toggleStyle:"switch"}},{type:"control",conditionDisplay:"enableLink == true",setting:{id:"linkArticle"},label:"After click"},{label:"Open new tab",setting:{id:"openNewTab"},conditionDisplay:"enableLink === true && linkArticle === 'go-to-article'"},{type:"control",conditionDisplay:"linkArticle === 'scroll-to' && enableLink == true",layout:"vertical",setting:{id:"customURL"}}]},{label:"SEO",hiddenOnMobile:!0,controls:[{type:"combo",label:"Alt text",iconName:"polaris-text-block",getValueFromSettingID:"alt",compoDefaultValue:"Describes the appearance of the image",isHideClear:!0,controls:[{label:"Content",setting:{id:"alt"},layout:"vertical"}]},{type:"combo",label:"Image title",iconName:"polaris-text-block",getValueFromSettingID:"title",compoDefaultValue:"Title",isHideClear:!0,controls:[{label:"Content",setting:{id:"title"},layout:"vertical"}]}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',hiddenOnMobile:!0,controls:[{label:"Preload",setting:{id:"priority"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},conditionEnable:"shape.width !== '100%'",options:{labelVariant:"primary",fullWidth:!0,disableMessage:"This option is disabled because the width is set to 100%"}}]}];export{e as SettingUIV2};