@gem-sdk/components 19.1.0-staging.3 → 19.1.0-staging.32

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 (326) hide show
  1. package/dist/cjs/accordion/next.js +1 -1
  2. package/dist/cjs/article/components/ArticleContent.js +2 -2
  3. package/dist/cjs/article/components/ArticleExcerpt.js +1 -1
  4. package/dist/cjs/article/components/ArticleList.js +1 -1
  5. package/dist/cjs/article/index.js +1 -1
  6. package/dist/cjs/article/next.js +1 -1
  7. package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
  8. package/dist/cjs/breadcrumb/next.js +1 -1
  9. package/dist/cjs/button/components/Button.js +1 -1
  10. package/dist/cjs/button/components/Button.liquid.js +6 -6
  11. package/dist/cjs/button/next.js +1 -1
  12. package/dist/cjs/carousel/components/item/common/classes.js +1 -1
  13. package/dist/cjs/carousel/components/root/common/helpers.js +1 -1
  14. package/dist/cjs/carousel/next.js +1 -1
  15. package/dist/cjs/carousel-v3/components/item/common/classes.js +1 -1
  16. package/dist/cjs/carousel-v3/components/root/CarouselEmbla.liquid.js +6 -5
  17. package/dist/cjs/carousel-v3/components/root/common/helpers.js +1 -1
  18. package/dist/cjs/carousel-v3/next.js +1 -1
  19. package/dist/cjs/cart/components/CartList.js +1 -1
  20. package/dist/cjs/cart/index.js +1 -1
  21. package/dist/cjs/cart/next.js +1 -1
  22. package/dist/cjs/code/next.js +1 -1
  23. package/dist/cjs/collection/next.js +1 -1
  24. package/dist/cjs/common/const.js +1 -1
  25. package/dist/cjs/countdown-timer/components/Countdown.liquid.js +3 -3
  26. package/dist/cjs/countdown-timer/next.js +1 -1
  27. package/dist/cjs/coupon/next.js +1 -1
  28. package/dist/cjs/dialog/index.js +1 -1
  29. package/dist/cjs/dialog/next.js +1 -1
  30. package/dist/cjs/estimate-delivery/next.js +1 -1
  31. package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +10 -10
  32. package/dist/cjs/form/next.js +1 -1
  33. package/dist/cjs/grid/components/ChildrenDroppable.js +1 -2
  34. package/dist/cjs/grid/components/row/common/helpers.js +1 -1
  35. package/dist/cjs/grid/components/section/Section.js +1 -1
  36. package/dist/cjs/grid/index.js +1 -1
  37. package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -1
  38. package/dist/cjs/header/components/kind/basic/index.js +1 -1
  39. package/dist/cjs/header/components/kind/modern/index.js +1 -1
  40. package/dist/cjs/header/index.js +1 -1
  41. package/dist/cjs/header/next.js +1 -1
  42. package/dist/cjs/helpers.js +1 -1
  43. package/dist/cjs/hero-banner/common/helpers.js +1 -1
  44. package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
  45. package/dist/cjs/hero-banner/index.js +1 -1
  46. package/dist/cjs/hero-banner/next.js +1 -1
  47. package/dist/cjs/icon/next.js +1 -1
  48. package/dist/cjs/icon-list/next.js +1 -1
  49. package/dist/cjs/icon-list-hoz/next.js +1 -1
  50. package/dist/cjs/icon-list-v2/components/IconList.liquid.js +5 -5
  51. package/dist/cjs/icon-list-v2/next.js +1 -1
  52. package/dist/cjs/ignoreHashClasses.js +1 -1
  53. package/dist/cjs/image/common/attrs.js +1 -1
  54. package/dist/cjs/image/common/const.js +1 -1
  55. package/dist/cjs/image/common/helpers.js +2 -2
  56. package/dist/cjs/image/components/Image.js +1 -1
  57. package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
  58. package/dist/cjs/image/types.js +1 -0
  59. package/dist/cjs/image-comparison/next.js +1 -1
  60. package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
  61. package/dist/cjs/image-detection/components/ImageDetection.js +1 -1
  62. package/dist/cjs/image-detection/next.js +1 -1
  63. package/dist/cjs/index.js +1 -1
  64. package/dist/cjs/input/next.js +1 -1
  65. package/dist/cjs/line/next.js +1 -1
  66. package/dist/cjs/link/next.js +1 -1
  67. package/dist/cjs/marquee/next.js +1 -1
  68. package/dist/cjs/menu/next.js +1 -1
  69. package/dist/cjs/modal/next.js +1 -1
  70. package/dist/cjs/pagination/next.js +1 -1
  71. package/dist/cjs/post-purchase/advanced-list/next.js +1 -1
  72. package/dist/cjs/post-purchase/button/next.js +1 -1
  73. package/dist/cjs/post-purchase/buyer-consent/next.js +1 -1
  74. package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -1
  75. package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
  76. package/dist/cjs/post-purchase/callout-banner/next.js +1 -1
  77. package/dist/cjs/post-purchase/countdown-timer/next.js +1 -1
  78. package/dist/cjs/post-purchase/image/next.js +1 -1
  79. package/dist/cjs/post-purchase/line/next.js +1 -1
  80. package/dist/cjs/post-purchase/link/next.js +1 -1
  81. package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -1
  82. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +1 -1
  83. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +1 -1
  84. package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -1
  85. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  86. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
  87. package/dist/cjs/post-purchase/product/hooks/useNavigationCarouselPostPurchase.js +1 -1
  88. package/dist/cjs/post-purchase/product/index.js +1 -1
  89. package/dist/cjs/post-purchase/product/next.js +1 -1
  90. package/dist/cjs/post-purchase/text/next.js +1 -1
  91. package/dist/cjs/product/components/file-upload/UploadFile.js +1 -1
  92. package/dist/cjs/product/components/file-upload/UploadFile.liquid.js +10 -10
  93. package/dist/cjs/product/components/file-upload/common/attr.js +1 -1
  94. package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
  95. package/dist/cjs/product/components/product-badge/ProductBadge.liquid.js +18 -18
  96. package/dist/cjs/product/components/product-badge/utils/injectBadgeStateExtras.js +1 -0
  97. package/dist/cjs/product/components/product-badge/utils/renderBadgeLiquid.js +5 -5
  98. package/dist/cjs/product/components/product-button/ProductButton.liquid.js +1 -1
  99. package/dist/cjs/product/components/product-button/common/helpers.js +1 -1
  100. package/dist/cjs/product/components/product-description/ProductDescription.liquid.js +1 -1
  101. package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  102. package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  103. package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -2
  104. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +13 -13
  105. package/dist/cjs/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +15 -15
  106. package/dist/cjs/product/components/product-images-v3/common/classes.js +1 -1
  107. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  108. package/dist/cjs/product/components/product-list/ProductList.js +1 -1
  109. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
  110. package/dist/cjs/product/components/product-list-v3/common/helpers.js +1 -1
  111. package/dist/cjs/product/components/product-list-v3/constants/index.js +1 -0
  112. package/dist/cjs/product/components/product-list-v3/hooks/useCollectionQuery.js +1 -0
  113. package/dist/cjs/product/components/product-list-v3/hooks/useMainRelatedProductQuery.js +1 -0
  114. package/dist/cjs/product/components/product-list-v3/hooks/useProductRelatedQuery.js +1 -0
  115. package/dist/cjs/product/components/product-list-v3/hooks/useProductsQuery.js +1 -0
  116. package/dist/cjs/product/components/product-list-v3/hooks/useRelatedProductIDAssigned.js +1 -0
  117. package/dist/cjs/product/components/product-price/ProductPrice.js +1 -1
  118. package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
  119. package/dist/cjs/product/components/product-properties/property-select/common/styles.js +1 -1
  120. package/dist/cjs/product/components/product-quick-view/ProductQuickView.js +1 -1
  121. package/dist/cjs/product/components/product-variants/ProductVariants.liquid.js +6 -6
  122. package/dist/cjs/product/components/product-variants/components/rectangle-list/RectangleList.js +1 -1
  123. package/dist/cjs/product/components/product-wrap/Product.js +1 -1
  124. package/dist/cjs/product/components/product-wrap/hook/useProductQuery.js +1 -0
  125. package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
  126. package/dist/cjs/product/helpers/product-bundle.js +1 -1
  127. package/dist/cjs/product/index.js +1 -1
  128. package/dist/cjs/product/next.js +1 -1
  129. package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  130. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  131. package/dist/cjs/radio/next.js +1 -1
  132. package/dist/cjs/select/next.js +1 -1
  133. package/dist/cjs/shop-pay-installment/next.js +1 -1
  134. package/dist/cjs/sticky/common/helper.js +1 -0
  135. package/dist/cjs/sticky/common/styles.js +1 -1
  136. package/dist/cjs/sticky/components/Sticky.liquid.js +7 -7
  137. package/dist/cjs/sticky/hooks/useSticky.js +1 -1
  138. package/dist/cjs/sticky/index.js +1 -1
  139. package/dist/cjs/sticky/next.js +1 -1
  140. package/dist/cjs/sticky/settings/configs/settings-v2.js +1 -1
  141. package/dist/cjs/sticky/settings/configs/ui-v2.js +1 -1
  142. package/dist/cjs/stock-counter/next.js +1 -1
  143. package/dist/cjs/tab/next.js +1 -1
  144. package/dist/cjs/textarea/next.js +1 -1
  145. package/dist/cjs/third-party/next.js +1 -1
  146. package/dist/cjs/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  147. package/dist/cjs/third-party/settings/BoldSubscriptions/index.js +1 -1
  148. package/dist/cjs/third-party/settings/BoldSubscriptions/uiV2.js +1 -1
  149. package/dist/cjs/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
  150. package/dist/cjs/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  151. package/dist/cjs/third-party/settings/LoopSubscriptions/index.js +1 -1
  152. package/dist/cjs/third-party/settings/LoopSubscriptions/uiV2.js +1 -1
  153. package/dist/cjs/third-party/settings/RechargeSubscriptions/index.js +1 -1
  154. package/dist/cjs/third-party/settings/SeoantTrustBadgesIcon/uiV2.js +1 -1
  155. package/dist/cjs/third-party/settings/ShopifyForms/uiV2.js +1 -1
  156. package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
  157. package/dist/cjs/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
  158. package/dist/cjs/third-party/settings/TrustshopProductReviews/index.js +2 -2
  159. package/dist/cjs/third-party/settings/WcWishlistBackInStock/index.js +2 -2
  160. package/dist/cjs/third-party-instant/next.js +1 -1
  161. package/dist/cjs/third-party-slot/next.js +1 -1
  162. package/dist/cjs/video/next.js +1 -1
  163. package/dist/esm/accordion/next.js +1 -1
  164. package/dist/esm/article/components/ArticleContent.js +2 -2
  165. package/dist/esm/article/components/ArticleExcerpt.js +1 -1
  166. package/dist/esm/article/components/ArticleList.js +1 -1
  167. package/dist/esm/article/index.js +1 -1
  168. package/dist/esm/article/next.js +1 -1
  169. package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
  170. package/dist/esm/breadcrumb/next.js +1 -1
  171. package/dist/esm/button/components/Button.js +1 -1
  172. package/dist/esm/button/components/Button.liquid.js +4 -4
  173. package/dist/esm/button/next.js +1 -1
  174. package/dist/esm/carousel/components/item/common/classes.js +1 -1
  175. package/dist/esm/carousel/components/root/common/helpers.js +1 -1
  176. package/dist/esm/carousel/next.js +1 -1
  177. package/dist/esm/carousel-v3/components/item/common/classes.js +1 -1
  178. package/dist/esm/carousel-v3/components/root/CarouselEmbla.liquid.js +4 -3
  179. package/dist/esm/carousel-v3/components/root/common/helpers.js +1 -1
  180. package/dist/esm/carousel-v3/next.js +1 -1
  181. package/dist/esm/cart/components/CartList.js +1 -1
  182. package/dist/esm/cart/index.js +1 -1
  183. package/dist/esm/cart/next.js +1 -1
  184. package/dist/esm/code/next.js +1 -1
  185. package/dist/esm/collection/next.js +1 -1
  186. package/dist/esm/common/const.js +1 -1
  187. package/dist/esm/countdown-timer/components/Countdown.liquid.js +5 -5
  188. package/dist/esm/countdown-timer/next.js +1 -1
  189. package/dist/esm/coupon/next.js +1 -1
  190. package/dist/esm/dialog/index.js +1 -1
  191. package/dist/esm/dialog/next.js +1 -1
  192. package/dist/esm/estimate-delivery/next.js +1 -1
  193. package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +9 -9
  194. package/dist/esm/form/next.js +1 -1
  195. package/dist/esm/grid/components/ChildrenDroppable.js +1 -2
  196. package/dist/esm/grid/components/row/common/helpers.js +1 -1
  197. package/dist/esm/grid/components/section/Section.js +1 -1
  198. package/dist/esm/grid/index.js +1 -1
  199. package/dist/esm/header/components/SalePageHeaderWarning.js +1 -1
  200. package/dist/esm/header/components/kind/basic/index.js +1 -1
  201. package/dist/esm/header/components/kind/modern/index.js +1 -1
  202. package/dist/esm/header/index.js +1 -1
  203. package/dist/esm/header/next.js +1 -1
  204. package/dist/esm/helpers.js +1 -1
  205. package/dist/esm/hero-banner/common/helpers.js +1 -1
  206. package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
  207. package/dist/esm/hero-banner/index.js +1 -1
  208. package/dist/esm/hero-banner/next.js +1 -1
  209. package/dist/esm/icon/next.js +1 -1
  210. package/dist/esm/icon-list/next.js +1 -1
  211. package/dist/esm/icon-list-hoz/next.js +1 -1
  212. package/dist/esm/icon-list-v2/components/IconList.liquid.js +8 -8
  213. package/dist/esm/icon-list-v2/next.js +1 -1
  214. package/dist/esm/ignoreHashClasses.js +1 -1
  215. package/dist/esm/image/common/attrs.js +1 -1
  216. package/dist/esm/image/common/const.js +1 -1
  217. package/dist/esm/image/common/helpers.js +2 -2
  218. package/dist/esm/image/components/Image.js +1 -1
  219. package/dist/esm/image/settings/configs/ui-v2.js +1 -1
  220. package/dist/esm/image/types.js +1 -0
  221. package/dist/esm/image-comparison/next.js +1 -1
  222. package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
  223. package/dist/esm/image-detection/components/ImageDetection.js +1 -1
  224. package/dist/esm/image-detection/next.js +1 -1
  225. package/dist/esm/index.js +1 -1
  226. package/dist/esm/input/next.js +1 -1
  227. package/dist/esm/line/next.js +1 -1
  228. package/dist/esm/link/next.js +1 -1
  229. package/dist/esm/marquee/next.js +1 -1
  230. package/dist/esm/menu/next.js +1 -1
  231. package/dist/esm/modal/next.js +1 -1
  232. package/dist/esm/pagination/next.js +1 -1
  233. package/dist/esm/post-purchase/advanced-list/next.js +1 -1
  234. package/dist/esm/post-purchase/button/next.js +1 -1
  235. package/dist/esm/post-purchase/buyer-consent/next.js +1 -1
  236. package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -1
  237. package/dist/esm/post-purchase/callout-banner/index.js +1 -1
  238. package/dist/esm/post-purchase/callout-banner/next.js +1 -1
  239. package/dist/esm/post-purchase/countdown-timer/next.js +1 -1
  240. package/dist/esm/post-purchase/image/next.js +1 -1
  241. package/dist/esm/post-purchase/line/next.js +1 -1
  242. package/dist/esm/post-purchase/link/next.js +1 -1
  243. package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -1
  244. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +1 -1
  245. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +1 -1
  246. package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -1
  247. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  248. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOfferItem.js +1 -1
  249. package/dist/esm/post-purchase/product/hooks/useNavigationCarouselPostPurchase.js +1 -1
  250. package/dist/esm/post-purchase/product/index.js +1 -1
  251. package/dist/esm/post-purchase/product/next.js +1 -1
  252. package/dist/esm/post-purchase/text/next.js +1 -1
  253. package/dist/esm/product/components/file-upload/UploadFile.js +1 -1
  254. package/dist/esm/product/components/file-upload/UploadFile.liquid.js +19 -19
  255. package/dist/esm/product/components/file-upload/common/attr.js +1 -1
  256. package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
  257. package/dist/esm/product/components/product-badge/ProductBadge.liquid.js +15 -15
  258. package/dist/esm/product/components/product-badge/utils/injectBadgeStateExtras.js +1 -0
  259. package/dist/esm/product/components/product-badge/utils/renderBadgeLiquid.js +1 -1
  260. package/dist/esm/product/components/product-button/ProductButton.liquid.js +5 -5
  261. package/dist/esm/product/components/product-button/common/helpers.js +1 -1
  262. package/dist/esm/product/components/product-description/ProductDescription.liquid.js +3 -3
  263. package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  264. package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  265. package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -2
  266. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +12 -12
  267. package/dist/esm/product/components/product-images-v3/ProductImagesV3Embla.liquid.js +16 -16
  268. package/dist/esm/product/components/product-images-v3/common/classes.js +1 -1
  269. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  270. package/dist/esm/product/components/product-list/ProductList.js +1 -1
  271. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
  272. package/dist/esm/product/components/product-list-v3/common/helpers.js +1 -1
  273. package/dist/esm/product/components/product-list-v3/constants/index.js +1 -0
  274. package/dist/esm/product/components/product-list-v3/hooks/useCollectionQuery.js +1 -0
  275. package/dist/esm/product/components/product-list-v3/hooks/useMainRelatedProductQuery.js +1 -0
  276. package/dist/esm/product/components/product-list-v3/hooks/useProductRelatedQuery.js +1 -0
  277. package/dist/esm/product/components/product-list-v3/hooks/useProductsQuery.js +1 -0
  278. package/dist/esm/product/components/product-list-v3/hooks/useRelatedProductIDAssigned.js +1 -0
  279. package/dist/esm/product/components/product-price/ProductPrice.js +1 -1
  280. package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
  281. package/dist/esm/product/components/product-properties/property-select/common/styles.js +1 -1
  282. package/dist/esm/product/components/product-quick-view/ProductQuickView.js +1 -1
  283. package/dist/esm/product/components/product-variants/ProductVariants.liquid.js +8 -8
  284. package/dist/esm/product/components/product-variants/components/rectangle-list/RectangleList.js +1 -1
  285. package/dist/esm/product/components/product-wrap/Product.js +1 -1
  286. package/dist/esm/product/components/product-wrap/hook/useProductQuery.js +1 -0
  287. package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
  288. package/dist/esm/product/helpers/product-bundle.js +1 -1
  289. package/dist/esm/product/index.js +1 -1
  290. package/dist/esm/product/next.js +1 -1
  291. package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  292. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  293. package/dist/esm/radio/next.js +1 -1
  294. package/dist/esm/select/next.js +1 -1
  295. package/dist/esm/shop-pay-installment/next.js +1 -1
  296. package/dist/esm/sticky/common/helper.js +1 -0
  297. package/dist/esm/sticky/common/styles.js +1 -1
  298. package/dist/esm/sticky/components/Sticky.liquid.js +7 -7
  299. package/dist/esm/sticky/hooks/useSticky.js +1 -1
  300. package/dist/esm/sticky/index.js +1 -1
  301. package/dist/esm/sticky/next.js +1 -1
  302. package/dist/esm/sticky/settings/configs/settings-v2.js +1 -1
  303. package/dist/esm/sticky/settings/configs/ui-v2.js +1 -1
  304. package/dist/esm/stock-counter/next.js +1 -1
  305. package/dist/esm/tab/next.js +1 -1
  306. package/dist/esm/textarea/next.js +1 -1
  307. package/dist/esm/third-party/next.js +1 -1
  308. package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  309. package/dist/esm/third-party/settings/BoldSubscriptions/index.js +1 -1
  310. package/dist/esm/third-party/settings/BoldSubscriptions/uiV2.js +1 -1
  311. package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
  312. package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  313. package/dist/esm/third-party/settings/LoopSubscriptions/index.js +1 -1
  314. package/dist/esm/third-party/settings/LoopSubscriptions/uiV2.js +1 -1
  315. package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +1 -1
  316. package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/uiV2.js +1 -1
  317. package/dist/esm/third-party/settings/ShopifyForms/uiV2.js +1 -1
  318. package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
  319. package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
  320. package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
  321. package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +2 -2
  322. package/dist/esm/third-party-instant/next.js +1 -1
  323. package/dist/esm/third-party-slot/next.js +1 -1
  324. package/dist/esm/video/next.js +1 -1
  325. package/dist/types/index.d.ts +32 -33
  326. package/package.json +5 -5
@@ -1,12 +1,12 @@
1
- import{template as t,baseAssetURL as e,isLocalEnv as i,DEVICES as o,getResponsiveValueByScreen as s}from"@gem-sdk/core";import n from"../../../text/components/Text.liquid.js";import a from"./components/variants/index.liquid.js";import r from"./components/dropdown-swatches/Dropdown.liquid.js";import p from"./components/dropdown-group/DropdownGroup.liquid.js";import{getSettingPreloadData as l}from"../../../helpers.js";import{mappingVariantStyles as d}from"./utils/mappingVariantStyles.js";import{createClass as m,createStyle as c,createAttr as u,Liquid as v,LiquidFor as f,LiquidIf as $,If as g}from"@gem-sdk/system";import{getAttrs as _}from"./common/main/getAttr.js";import{getVariantOptionGroupStyle as h,getWrapperStyle as y}from"./common/main/styles.js";import{getVariantOptionGroupClass as j,getWrapDropdownClass as w}from"./common/main/classes.js";import{getTextVariantTitleData as b,getDropdownGroupData as S}from"./common/main/getData.js";import{getWrapVariantOptionClass as P}from"./common/variants/classes.js";import{getStyleOfObject as O}from"../../helpers/function.js";import{getMarginBottomStyle as x}from"./common/variants/styles.js";import{PRODUCT_VARIANT_OPTION_MINW_STYLE as V}from"./common/const.js";import{renderOptionValuesNewFormatSwatches as N}from"./OptionVariantsNewFormat.liquid.js";import{renderOptionValuesOld as A}from"./OptionVariantsOldFormat.liquid.js";let q={desktop:!0,tablet:!0,mobile:!0},D=D=>{let{builderProps:E,styles:T,setting:k,advanced:F}=D,{align:G,swatchItemWidth:z,dropdownItemWidth:C,swatchSpacing:J,optionTypo:I,marginBottom:M}=T??{},{label:W,optionType:L,showAsSwatches:R,layout:H,hasPreSelected:K}=k??{},Q=F?.d??q,{uid:U}=E??{},B=()=>{let t={};return o.forEach(e=>{let i=s(z,e);t[e]="auto"===i}),t},X=()=>{let t={};return o.forEach(e=>{t[e]=C?.[e]==="fill"}),t},Y=k?.variantPresets?d(k?.variantPresets,T):[],Z=Y?.map(t=>(t.presets={[t.optionType]:t.presets[t.optionType]},t)),tt={...k,variantPresets:Z},te=t=>{let e={"'":"'",'"':"""},i=t;for(let o in e)t.indexOf(o)>=0&&(i=i.replaceAll(o,e[o]));return i},ti=({showDropdown:e,isRenderDefault:i,typeOfOption:o})=>t`
2
- ${f("value in values",a({id:"{{option.name | escape | handleize}}-{{value | escape | handleize}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:R,uid:U,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:K?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",typeOfOption:o,activeClass:K?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...T,...tt,swatchAutoWidth:B(),optionTypo:I,isRenderDefault:i}))}
3
- ${$(e?'type == "dropdown"':"false",r({...T,...tt,swatchAutoWidth:X(),optionTypo:I}))}`,to=k?.variantPresets?.map(t=>({name:te(t.optionName),type:t.optionType})).map(t=>`${t.name}($1)${t.type}`).join("($2)").toString(),ts={renderVariantItem:ti,variantPresetsLiquid:to??""},tn=m(j(G)),ta=c(h(J,J)),tr=b(D,"Liquid"),tp=m(P(H,G)),tl=m(w(G)),td=S(D),tm=u(_({uid:U,hasPreSelected:K,cssClass:F?.cssClass})),tc=c(y(D)),tu=m({"gp-flex gp-flex-col !gp-ml-0":!0});return t`
1
+ import{template as t,baseAssetURL as i,isLocalEnv as o,DEVICES as e,getResponsiveValueByScreen as s}from"@gem-sdk/core";import n from"../../../text/components/Text.liquid.js";import a from"./components/variants/index.liquid.js";import r from"./components/dropdown-swatches/Dropdown.liquid.js";import p from"./components/dropdown-group/DropdownGroup.liquid.js";import{getSettingPreloadData as l}from"../../../helpers.js";import{mappingVariantStyles as d}from"./utils/mappingVariantStyles.js";import{createClass as m,createStyle as c,createAttr as u,Liquid as v,LiquidFor as f,LiquidIf as $,If as g}from"@gem-sdk/system";import{getAttrs as _}from"./common/main/getAttr.js";import{getVariantOptionGroupStyle as h,getWrapperStyle as y}from"./common/main/styles.js";import{getVariantOptionGroupClass as j,getWrapDropdownClass as w}from"./common/main/classes.js";import{getTextVariantTitleData as b,getDropdownGroupData as S}from"./common/main/getData.js";import{getWrapVariantOptionClass as P}from"./common/variants/classes.js";import{getStyleOfObject as O}from"../../helpers/function.js";import{getMarginBottomStyle as x}from"./common/variants/styles.js";import{PRODUCT_VARIANT_OPTION_MINW_STYLE as V}from"./common/const.js";import{renderOptionValuesNewFormatSwatches as N}from"./OptionVariantsNewFormat.liquid.js";import{renderOptionValuesOld as q}from"./OptionVariantsOldFormat.liquid.js";let A={desktop:!0,tablet:!0,mobile:!0},D=D=>{let{builderProps:E,styles:T,setting:k,advanced:F}=D,{align:G,swatchItemWidth:z,dropdownItemWidth:C,swatchSpacing:J,optionTypo:I,marginBottom:M}=T??{},{label:W,optionType:L,showAsSwatches:R,layout:H,hasPreSelected:K}=k??{},Q=F?.d??A,{uid:U}=E??{},B=()=>{let t={};return e.forEach(i=>{let o=s(z,i);t[i]="auto"===o}),t},X=()=>{let t={};return e.forEach(i=>{t[i]=C?.[i]==="fill"}),t},Y=k?.variantPresets?d(k?.variantPresets,T):[],Z=Y?.map(t=>(t.presets={[t.optionType]:t.presets[t.optionType]},t)),tt={...k,variantPresets:Z},ti=t=>{let i={"'":"'",'"':"""},o=t;for(let e in i)t.indexOf(e)>=0&&(o=o.replaceAll(e,i[e]));return o},to=({showDropdown:i,isRenderDefault:o,typeOfOption:e})=>t`
2
+ ${f("value in values",a({id:"{{option.name | escape | handleize}}-{{value | escape | handleize}}",variantKey:"{{option.name | escape}}-{{option.position}}-{{ forloop.index }}",showAsSwatches:R,uid:U,name:"{{option.name | escape}}",value:{label:"{{value | escape}}"},checked:K?"{%- if option.selected_value == value -%}true{% else %}false{%- endif -%}":"false",optionPosition:"rootForloop",typeOfOption:e,activeClass:K?"{%- if option.selected_value == value -%}option-item-active{%- endif -%}":"",...T,...tt,swatchAutoWidth:B(),optionTypo:I,isRenderDefault:o}))}
3
+ ${$(i?'type == "dropdown"':"false",r({...T,...tt,swatchAutoWidth:X(),optionTypo:I}))}`,te=k?.variantPresets?.map(t=>({name:ti(t.optionName),type:t.optionType})).map(t=>`${t.name}($1)${t.type}`).join("($2)").toString(),ts={renderVariantItem:to,variantPresetsLiquid:te??""},tn=m(j(G)),ta=c(h(J,J)),tr=b(D,"Liquid"),tp=m(P(H,G)),tl=m(w(G)),td=S(D),tm=u(_({uid:U,hasPreSelected:K,cssClass:F?.cssClass})),tc=c(y(D)),tu=m({"gp-flex gp-flex-col !gp-ml-0":!0});return t`
4
4
  ${v("{%- assign total_combinations = 1 -%}")}
5
5
  ${f("option in product.options_with_values","{%- assign total_combinations = total_combinations | times: option.values.size -%}")}
6
6
  <gp-product-variants ${tm}>
7
7
  <script gp-data type="application/json">
8
8
  {
9
- "setting":${JSON.stringify(tt)?.replaceAll("'","&#039;")},
9
+ "setting":${JSON.stringify(tt)},
10
10
  "styles":${JSON.stringify(T)},
11
11
  "variants":{{product.variants | json}},
12
12
  "optionsWithValues": {{product.options_with_values | json}},
@@ -34,7 +34,7 @@ import{template as t,baseAssetURL as e,isLocalEnv as i,DEVICES as o,getResponsiv
34
34
  ${p(td)}
35
35
  </div>
36
36
  `,t`
37
- ${v(`{%- assign presets = "${k?.variantPresets?.map(t=>`${te(t.optionName)}($2)${t.optionType}`).join("($1)")}" | split: '($1)' -%}`)}
37
+ ${v(`{%- assign presets = "${k?.variantPresets?.map(t=>`${ti(t.optionName)}($2)${t.optionType}`).join("($1)")}" | split: '($1)' -%}`)}
38
38
  ${v(`{% assign hiddenPresetOptions = "${k?.variantPresets?.filter(t=>!!t?.hide)?.map(t=>t.optionName).join(",")}" | split: ',' %}`)}
39
39
 
40
40
  ${v(`{% assign all_option_names = options | map: 'name' %}
@@ -93,13 +93,13 @@ import{template as t,baseAssetURL as e,isLocalEnv as i,DEVICES as o,getResponsiv
93
93
  `)}
94
94
  ${g(!K,v("{%- assign selectedValue = null -%}"),"")}
95
95
  ${g(R,t`
96
- ${$("shop.metafields.GEMPAGES.swatchesJSONFormat and shop.metafields.GEMPAGES.swatchesJSONFormat != blank",N(ts),A(ts))}
97
- `,ti({showDropdown:!1,isRenderDefault:!0,typeOfOption:"optionType"}))}
96
+ ${$("shop.metafields.GEMPAGES.swatchesJSONFormat and shop.metafields.GEMPAGES.swatchesJSONFormat != blank",N(ts),q(ts))}
97
+ `,to({showDropdown:!1,isRenderDefault:!0,typeOfOption:"optionType"}))}
98
98
  </div>
99
99
  </div>`)}
100
100
  `)}
101
101
  </div>`)}
102
102
  </gp-product-variants>
103
103
 
104
- ${(()=>{let t=i?"{{ 'gp-product-variant-v7-5.js' | asset_url }}":`${e}/assets-v2/gp-product-variant-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}`;return`<script ${l('class="gps-link" delay',"src")}="${t}" defer="defer"></script>`})()}
104
+ ${(()=>{let t=o?"{{ 'gp-product-variant-v7-5.js' | asset_url }}":`${i}/assets-v2/gp-product-variant-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}`;return`<script ${l('class="gps-link" delay',"src")}="${t}" defer="defer"></script>`})()}
105
105
  `};export{D as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e}from"react/jsx-runtime";import{makeStyleResponsive as t,makeWidth as a,composeTypographyClassName as r,composeTypographyStyle as i,getGlobalColorStateStyle as c,makeStyle as o,getSingleColorVariable as s,cls as p,getGlobalColorStateClass as l,getGlobalColorClass as n,handleConvertBorderColor as g,handleConvertBorderWidth as v,handleConvertBorderStyle as b,getStyleShadowState as d,getStyleShadow as m,composeRadius as x,getRadiusStyleActiveState as u,handleConvertClassColor as f}from"@gem-sdk/core";import{useMemo as h}from"react";let w=({value:w,isVariantOutStock:y,checked:j,swatchAutoWidth:N,swatchWidth:k,swatchHeight:A,optionTransform:E,optionTypography:F,optionBgColor:L,optionTextColor:R,optionBorder:S,optionRounded:T,optionHasShadow:V,optionShadow:q,optionTypo:z})=>{let B=t("w",a(k,N)),C=h(()=>({...T,active:{...T?.active||{},radiusType:"custom"}}),[T]),D=r(z,F),G=i(z,F);return e("div",{className:p(j?n("bg",L?.active):l("bg",L),f(S),D,"gp-box-border gp-inline-flex gp-cursor-pointer gp-items-center gp-justify-center gp-text-center",{"gp-pointer-events-none !gp-cursor-not-allowed":y}),style:{...j?{}:c("bg",L),...j?o({bg:s(L?.active),bs:S?.active?.border,bw:S?.active?.width,bc:s(S?.active?.color)}):{},...o({tt:E}),...G,...t("h",A),...B,...j?u(C):x(T),...j?m({value:q?.active,state:"active",styleAppliedFor:"box-shadow",isEnableShadow:V?.active},!0):d(q,"box-shadow",V),...j?{}:b(S),...j?{}:v(S),...j?{}:g(S)},children:e("span",{className:p("gp-flex gp-items-center gp-px-[16px]",j?n("text",R?.active):l("text",R)),style:{...j?o({c:s(R?.active)}):c("c",R)},children:w?.label})})};export{w as default};
2
+ import{jsx as e}from"react/jsx-runtime";import{makeStyleResponsive as t,makeWidth as a,composeTypographyClassName as r,composeTypographyStyle as i,getGlobalColorStateStyle as c,makeStyle as o,getSingleColorVariable as s,cls as p,getGlobalColorStateClass as l,getGlobalColorClass as n,handleConvertBorderColor as g,handleConvertBorderWidth as v,handleConvertBorderStyle as b,getStyleShadowState as d,getStyleShadow as m,composeRadius as x,getRadiusStyleActiveState as u,handleConvertClassColor as f}from"@gem-sdk/core";import{useMemo as h}from"react";let w=({value:w,isVariantOutStock:y,checked:j,swatchAutoWidth:N,swatchWidth:k,swatchHeight:A,optionTransform:E,optionTypography:F,optionBgColor:L,optionTextColor:R,optionBorder:S,optionRounded:T,optionHasShadow:V,optionShadow:q,optionTypo:z})=>{let B=t("w",a(k,N)),C=h(()=>({...T,active:{...T?.active||{},radiusType:"custom"}}),[T]),D=r(z,F),G=i(z,F);return e("div",{className:p(j?n("bg",L?.active):l("bg",L),f(S),D,"gp-box-border gp-inline-flex gp-cursor-pointer gp-items-center gp-justify-center gp-text-center",{"gp-pointer-events-none !gp-cursor-not-allowed":y}),style:{...j?{}:c("bg",L),...j?o({bg:s(L?.active),bs:S?.active?.border,bw:S?.active?.width,bc:s(S?.active?.color)}):{},...o({tt:E}),...G,...t("h",A),...B,...j?u(C):x(T),...j?m({value:q?.active,state:"active",styleAppliedFor:"box-shadow",isEnableShadow:V?.active},!0):d(q,"box-shadow",V),...j?{}:b(S),...j?{}:v(S),...j?{}:g(S)},children:e("span",{className:p("gp-flex gp-items-center gp-px-[16px]",j?n("text",R?.active):l("text",R)),style:{...j?o({c:s(R?.active)}):c("c",R)},children:w?.label})})};export{w as default};
@@ -1 +1 @@
1
- import{jsx as r,Fragment as o,jsxs as t}from"react/jsx-runtime";import{isEmptyChildren as e,ProductProvider as i}from"@gem-sdk/core";import d from"../../../grid/components/ChildrenDroppable.js";import m from"../../../common/components/Loading.js";import"react";import s from"../../../grid/components/row/Row.js";import{If as c}from"@gem-sdk/system";import n from"next/dynamic";import{useProductSetting as l}from"./hook/useProductSetting.js";import{getData as p}from"./common/helpers.js";let u=n(()=>import("../ProductNotFound.js"),{loading:m}),a=n=>{let{builderProps:a,children:h,setting:f,style:g,builderAttrs:j}=n,{isAuto:P}=f??{},{isLoading:b,isProductPage:y,isProductNotFound:k,showProductNotFound:x,errorLoadProduct:A,product:v,isEditor:w,productProviderData:C,setShowProductNotFound:D}=l(n),{rowSetting:S,rowStyles:E}=p(n);return y&&P?r(o,{children:e(h)?r(d,{}):h}):r(o,{children:c(!k,r(o,{children:b?r(m,{}):r(o,{children:A?t("div",{children:["Error: ",A?.message]}):v?r(i,{...C,children:r(s,{builderProps:a,builderAttrs:j,style:g,styles:E,setting:S,customAttrs:w?{"data-product-id":v?.baseID?.replace("gid://shopify/Product/","")??""}:void 0,children:e(h)?r(d,{}):h})}):null})}),r(o,{children:c(x,r(u,{builderAttrs:j,productSrc:"PickProduct",onClose:()=>D(!1),children:h}))}))})};export{a as default};
1
+ import{jsx as r,Fragment as o,jsxs as t}from"react/jsx-runtime";import{isEmptyChildren as e,ProductProvider as i}from"@gem-sdk/core";import m from"../../../grid/components/ChildrenDroppable.js";import d from"../../../common/components/Loading.js";import"react";import"../../../common/const.js";import s from"../../../grid/components/row/Row.js";import{If as c}from"@gem-sdk/system";import n from"next/dynamic";import{useProductSetting as l}from"./hook/useProductSetting.js";import{getData as p}from"./common/helpers.js";let u=n(()=>import("../ProductNotFound.js"),{loading:d}),a=n=>{let{builderProps:a,children:h,setting:f,style:g,builderAttrs:j}=n,{isAuto:P}=f??{},{isLoading:b,isProductPage:y,isProductNotFound:k,showProductNotFound:x,errorLoadProduct:A,product:v,isEditor:w,productProviderData:C,setShowProductNotFound:D}=l(n),{rowSetting:S,rowStyles:E}=p(n);return y&&P?r(o,{children:e(h)?r(m,{}):h}):r(o,{children:c(!k,r(o,{children:b?r(d,{}):r(o,{children:A?t("div",{children:["Error: ",A?.message]}):v?r(i,{...C,children:r(s,{builderProps:a,builderAttrs:j,style:g,styles:E,setting:S,customAttrs:w?{"data-product-id":v?.baseID?.replace("gid://shopify/Product/","")??""}:void 0,children:e(h)?r(m,{}):h})}):null})}),r(o,{children:c(x,r(u,{builderAttrs:j,productSrc:"PickProduct",onClose:()=>D(!1),children:h}))}))})};export{a as default};
@@ -0,0 +1 @@
1
+ import{useFetchHandle as r,usePageStore as t,useIsSampleProduct as e,useIsStorefrontProduct as a,hasPublicStoreFrontData as i,createStoreFrontFetcher as o,generateProductQueryKey as l,getProduct as n}from"@gem-sdk/core";import{useMemo as d,useEffect as s}from"react";import u from"swr";let m=({id:m})=>{let f=r(),c=t(r=>r.publicStoreFrontData),g=e(),p=a(),v=d(()=>i(c)?o(c):f,[c]),y=d(()=>m?l({id:m,isSample:g,isStorefront:p}):null,[m,g,p]),I=u(y,async([,r])=>n(v,r),{revalidateOnMount:!1,refreshInterval:0,revalidateIfStale:!1});return s(()=>{if(!m)return;let r=!!I.error,t=I.isLoading||I.isValidating,e=!I.data&&!t;!r&&e&&I.mutate()},[m,I.data,I.error,I.isLoading,I.isValidating]),{productData:I}};export{m as default};
@@ -1 +1 @@
1
- import{usePageType as t,usePageStore as e,useRenderMode as r,hasPublicStoreFrontData as a,createStoreFrontFetcher as d,useProductQuery as i}from"@gem-sdk/core";import{useMemo as o,useState as c}from"react";let u=u=>{let{setting:n}=u,{productSetting:l,quantity:s,readOnly:P,isSyncProduct:m}=n??{},p=t(),S=e(t=>t.dynamicProduct),g=e(t=>t.publicStoreFrontData),{isEditMode:h,isPreviewSharePageMode:y}=r(),I=l?.productId??"latest",f=l?.productStatus=="dynamic"?{...l,...S}:l,k=f?.initialVariantId,v=f?.initialVariantBaseId,D=o(()=>a(g)?d(g):void 0,[g]),{data:O,isLoading:V,error:$}=i(I,{revalidateOnMount:h||y},D),[b,x]=c(!0),B=($||!O&&!V)&&h,C=o(()=>({product:O,initialVariantId:k,initialVariantBaseId:v,quantity:s,readOnly:P,isSyncProduct:m,key:`uid-${O?.id}-${k??""}`,hasPreSelected:l?.hasPreSelected}),[v,k,m,O,l?.hasPreSelected,s,P]);return{forceProductSetting:f,isProductPage:"PRODUCT"===p,isProductNotFound:B,showProductNotFound:b,isLoading:V,product:O,errorLoadProduct:$,isEditor:h,productProviderData:C,setShowProductNotFound:x}};export{u as useProductSetting};
1
+ import{usePageType as t,usePageStore as r,useRenderMode as e}from"@gem-sdk/core";import{useState as d,useMemo as a}from"react";import i from"./useProductQuery.js";let o=o=>{let{setting:c}=o,{productSetting:u,quantity:s,readOnly:P,isSyncProduct:m}=c??{},l=t(),n=r(t=>t.dynamicProduct),{isEditMode:p}=e(),S=u?.productId??"latest",y=u?.productStatus=="dynamic"?{...u,...n}:u,f=y?.initialVariantId,g=y?.initialVariantBaseId,{productData:{data:h,isLoading:I,error:k}}=i({id:S}),[D,V]=d(!0),$=(k||!h&&!I)&&p,j=a(()=>({product:h,initialVariantId:f,initialVariantBaseId:g,quantity:s,readOnly:P,isSyncProduct:m,key:`uid-${h?.id}-${f??""}`,hasPreSelected:u?.hasPreSelected}),[g,f,m,h,u?.hasPreSelected,s,P]);return{forceProductSetting:y,isProductPage:"PRODUCT"===l,isProductNotFound:$,showProductNotFound:D,isLoading:I,product:h,errorLoadProduct:k,isEditor:p,productProviderData:j,setShowProductNotFound:V}};export{o as useProductSetting};
@@ -1 +1 @@
1
- import{convertDecimalToNumber as t,formatMoney as o}from"@gem-sdk/core";import{DiscountType as e}from"../components/constants/product-bundle.js";let n=t=>({discountPercentAmount:0,discountAmount:o("0",t)}),r=r=>{let{currentVariant:s,bundleItem:a,options:d}=r;if(!d?.useProductCompareAtPrice&&a?.discountType===e.NoDiscount||!a||!s?.price)return n(d?.moneyFormat||"${{amount}}");let p=t(s?.price)??0,y=t(s?.salePrice)??p,P=Number(a?.quantity),l=m(p,a),A=i(l,P*p),F=p*P-l,g=y*P;return y<=p&&l<=0?n(d?.moneyFormat||"${{amount}}"):{discountPercentAmount:d?.useProductCompareAtPrice?u(F,g):A,discountAmount:d?.useProductCompareAtPrice?c(F,g,d?.moneyFormat):o(l.toString(),d?.moneyFormat)}},u=(t,o)=>Math.round((o-t)/o*100),c=(t,e,n)=>o((e-t).toString(),n),m=(t,o)=>{let n=parseInt(o?.discountValue);return o?.discountType===e.Percentage?t*o.quantity*n/100:o?.discountType===e.FixedAmount?n:0},i=(t,o)=>Math.round(t/o*100);export{r as applyBundleDiscountAmount};
1
+ import{convertDecimalToNumber as t,formatMoney as o}from"@gem-sdk/core";import{DiscountType as e}from"../components/constants/product-bundle.js";let n=t=>({discountPercentAmount:0,discountAmount:o("0",t)}),r=r=>{let{currentVariant:a,bundleItem:s,options:l}=r;if(!l?.useProductCompareAtPrice&&s?.discountType===e.NoDiscount||!s||!a?.price)return n(l?.moneyFormat||"${{amount}}");let p=t(a?.price)??0,y=t(a?.salePrice)??p,P=Number(s?.quantity),A=c(p,s,i(l?.moneyFormat)),F=d(A,P*p),M=p*P-A,f=y*P;return y<=p&&A<=0?n(l?.moneyFormat||"${{amount}}"):{discountPercentAmount:l?.useProductCompareAtPrice?u(M,f):F,discountAmount:l?.useProductCompareAtPrice?m(M,f,l?.moneyFormat):o(A.toString(),l?.moneyFormat)}},u=(t,o)=>Math.round((o-t)/o*100),m=(t,e,n)=>o((e-t).toString(),n),c=(t,o,n=2)=>{let r=Number(o?.discountValue);return o?.discountType===e.Percentage?a(t*(r/100),n)*o.quantity:o?.discountType===e.FixedAmount?r:0},i=t=>t?.includes("amount_no_decimals")?0:2,a=(t,o=2)=>{let e=10**o;return Math.floor(Math.round(1e6*(t*e))/1e6)/e},d=(t,o)=>Math.round(t/o*100);export{r as applyBundleDiscountAmount,c as calculateBundleFixedDiscount,a as floorToMinorUnit,i as getMoneyFormatDecimals};
@@ -1 +1 @@
1
- export{default as Product}from"./components/product-wrap/Product.js";import"react/jsx-runtime";import"next/link";import"@gem-sdk/core";import"react";import"@gem-sdk/system";import"../notification/components/Notifications.js";import"../notification/components/Notice.js";import"./components/product-button/types.js";import"./components/product-variants/components/variants/index.js";import"next/image";import"../carousel-v3/components/swiper/Swiper.js";import"../modal/components/confirm.js";import"react-dom";import"../video/components/Video.js";import"@gem-sdk/keen-slider/react";export{default as ProductQuickView}from"./components/product-quick-view/QuickView.js";import"./components/constants/product-bundle.js";export{default as ProductListV3}from"./components/product-list-v3/ProductList.js";export{default as ProductList}from"./components/product-list/ProductList.js";import"./components/product-bundle/common/styles.js";import"./components/product-bundle/common/classes.js";import"./components/product-badge/constants.js";import"./components/product-badge/types.js";import"./components/product-badge/utils/shape.js";import t from"./settings/Product.js";import o from"./settings/ProductQuantity.js";import r from"./settings/ProductTitle.js";import s from"./settings/ProductButton.js";import i from"./settings/ProductPrice.js";import e from"./settings/ProductVariants.js";import m from"./settings/ProductImages.js";import c from"./settings/product-image-v3/ProductImages.js";import n from"./settings/product-image-v2/ProductImages.js";import p from"./settings/ProductDescription.js";import u from"./settings/ProductProperties.js";import d from"./settings/ProductTag.js";import a from"./settings/ProductListV3.js";import P from"./settings/ProductList.js";import g from"./settings/DynamicCheckout.js";import j from"./settings/Vendor.js";import f from"./settings/Sku.js";import l from"./components/product-bundle/setting/ProductBundleDiscount.js";import V from"./components/product-bundle/setting/ProductBundleDiscountItem.js";import k from"./settings/ProductViewMore.js";import x from"./settings/ProductBadge.js";import b from"./components/file-upload/settings/index.js";let v={Product:t,ProductQuantity:o,ProductTitle:r,ProductButton:s,ProductPrice:i,ProductVariants:e,ProductImages:m,ProductImagesV2:n,ProductImagesV3:c,ProductDescription:p,ProductProperties:u,ProductTag:d,ProductListV3:a,ProductList:P,DynamicCheckout:g,ProductVendor:j,ProductSku:f,ProductBundleDiscount:l,ProductBundleDiscountItem:V,ProductViewMore:k,ProductBadge:x,FileUpload:b};export{v as productSetting};
1
+ export{default as Product}from"./components/product-wrap/Product.js";import"react/jsx-runtime";import"next/link";import"@gem-sdk/core";import"react";import"@gem-sdk/system";import"./components/constants/product-bundle.js";import"../notification/components/Notifications.js";import"../notification/components/Notice.js";import"./components/product-button/types.js";import"./components/product-variants/components/variants/index.js";import"next/image";import"../carousel-v3/components/swiper/Swiper.js";import"../modal/components/confirm.js";import"react-dom";import"../video/components/Video.js";import"@gem-sdk/keen-slider/react";export{default as ProductQuickView}from"./components/product-quick-view/QuickView.js";import"../common/const.js";export{default as ProductListV3}from"./components/product-list-v3/ProductList.js";export{default as ProductList}from"./components/product-list/ProductList.js";import"./components/product-bundle/common/styles.js";import"./components/product-bundle/common/classes.js";import"./components/product-badge/constants.js";import"./components/product-badge/types.js";import"./components/product-badge/utils/shape.js";import t from"./settings/Product.js";import o from"./settings/ProductQuantity.js";import r from"./settings/ProductTitle.js";import s from"./settings/ProductButton.js";import i from"./settings/ProductPrice.js";import e from"./settings/ProductVariants.js";import m from"./settings/ProductImages.js";import c from"./settings/product-image-v3/ProductImages.js";import n from"./settings/product-image-v2/ProductImages.js";import p from"./settings/ProductDescription.js";import u from"./settings/ProductProperties.js";import d from"./settings/ProductTag.js";import a from"./settings/ProductListV3.js";import P from"./settings/ProductList.js";import g from"./settings/DynamicCheckout.js";import j from"./settings/Vendor.js";import f from"./settings/Sku.js";import l from"./components/product-bundle/setting/ProductBundleDiscount.js";import V from"./components/product-bundle/setting/ProductBundleDiscountItem.js";import k from"./settings/ProductViewMore.js";import x from"./settings/ProductBadge.js";import b from"./components/file-upload/settings/index.js";let v={Product:t,ProductQuantity:o,ProductTitle:r,ProductButton:s,ProductPrice:i,ProductVariants:e,ProductImages:m,ProductImagesV2:n,ProductImagesV3:c,ProductDescription:p,ProductProperties:u,ProductTag:d,ProductListV3:a,ProductList:P,DynamicCheckout:g,ProductVendor:j,ProductSku:f,ProductBundleDiscount:l,ProductBundleDiscountItem:V,ProductViewMore:k,ProductBadge:x,FileUpload:b};export{v as productSetting};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let n=o(()=>import("./components/product-wrap/Product.js"),{loading:t}),r=o(()=>import("./components/product-title/ProductTitle.js"),{loading:t}),i=o(()=>import("./components/product-quantity/ProductQuantity.js"),{loading:t}),c=o(()=>import("./components/product-description/ProductDescription.js"),{loading:t}),p=o(()=>import("./components/product-price/ProductPrice.js"),{loading:t}),d=o(()=>import("./components/product-button/ProductButton.js"),{loading:t}),s=o(()=>import("./components/product-variants/ProductVariants.js"),{loading:t}),m=o(()=>import("./components/ProductImages.js"),{loading:t}),e=o(()=>import("./components/product-images-v3/ProductImageV3.js"),{loading:t}),u=o(()=>import("./components/product-images-v2/ProductImageV2.js"),{loading:t}),a=o(()=>import("./components/product-properties/ProductProperties.js"),{loading:t}),l=o(()=>import("./components/product-quick-view/QuickView.js"),{ssr:!1}),g=o(()=>import("./components/product-discount-tag/ProductDiscountTag.js"),{loading:t}),j=o(()=>import("./components/product-list-v3/ProductList.js"),{loading:t}),P=o(()=>import("./components/product-list/ProductList.js"),{loading:t}),v=o(()=>import("./components/dynamic-checkout/DynamicCheckout.js"),{loading:t}),k=o(()=>import("./components/product-vendor/Vendor.js"),{loading:t}),V=o(()=>import("./components/product-sku/Sku.js"),{loading:t}),w=o(()=>import("./components/product-view-more/ProductViewMore.js"),{loading:t}),y=o(()=>import("./components/product-badge/ProductBadge.js"),{loading:t}),D=o(()=>import("./components/product-bundle/ProductBundleDiscount.js"),{loading:t}),b=o(()=>import("./components/product-bundle/ProductBundleDiscountItem.js"),{loading:t}),f=o(()=>import("./components/file-upload/UploadFile.js"),{loading:t});var B={Product:n,ProductTitle:r,ProductQuantity:i,ProductPrice:p,ProductButton:d,ProductDescription:c,ProductVariants:s,ProductImages:m,ProductImagesV3:e,ProductImagesV2:u,ProductProperties:a,ProductQuickView:l,ProductTag:g,ProductListV3:j,ProductList:P,DynamicCheckout:v,ProductVendor:k,ProductViewMore:w,ProductBadge:y,ProductBundleDiscount:D,ProductBundleDiscountItem:b,ProductSku:V,FileUpload:f};export{B as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let n=o(()=>import("./components/product-wrap/Product.js"),{loading:t}),r=o(()=>import("./components/product-title/ProductTitle.js"),{loading:t}),i=o(()=>import("./components/product-quantity/ProductQuantity.js"),{loading:t}),c=o(()=>import("./components/product-description/ProductDescription.js"),{loading:t}),p=o(()=>import("./components/product-price/ProductPrice.js"),{loading:t}),d=o(()=>import("./components/product-button/ProductButton.js"),{loading:t}),s=o(()=>import("./components/product-variants/ProductVariants.js"),{loading:t}),m=o(()=>import("./components/ProductImages.js"),{loading:t}),e=o(()=>import("./components/product-images-v3/ProductImageV3.js"),{loading:t}),u=o(()=>import("./components/product-images-v2/ProductImageV2.js"),{loading:t}),a=o(()=>import("./components/product-properties/ProductProperties.js"),{loading:t}),l=o(()=>import("./components/product-quick-view/QuickView.js"),{ssr:!1}),g=o(()=>import("./components/product-discount-tag/ProductDiscountTag.js"),{loading:t}),j=o(()=>import("./components/product-list-v3/ProductList.js"),{loading:t}),P=o(()=>import("./components/product-list/ProductList.js"),{loading:t}),v=o(()=>import("./components/dynamic-checkout/DynamicCheckout.js"),{loading:t}),k=o(()=>import("./components/product-vendor/Vendor.js"),{loading:t}),V=o(()=>import("./components/product-sku/Sku.js"),{loading:t}),w=o(()=>import("./components/product-view-more/ProductViewMore.js"),{loading:t}),y=o(()=>import("./components/product-badge/ProductBadge.js"),{loading:t}),D=o(()=>import("./components/product-bundle/ProductBundleDiscount.js"),{loading:t}),b=o(()=>import("./components/product-bundle/ProductBundleDiscountItem.js"),{loading:t}),f=o(()=>import("./components/file-upload/UploadFile.js"),{loading:t});var B={Product:n,ProductTitle:r,ProductQuantity:i,ProductPrice:p,ProductButton:d,ProductDescription:c,ProductVariants:s,ProductImages:m,ProductImagesV3:e,ProductImagesV2:u,ProductProperties:a,ProductQuickView:l,ProductTag:g,ProductListV3:j,ProductList:P,DynamicCheckout:v,ProductVendor:k,ProductViewMore:w,ProductBadge:y,ProductBundleDiscount:D,ProductBundleDiscountItem:b,ProductSku:V,FileUpload:f};export{B as default};
@@ -1 +1 @@
1
- import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:"preload === false"},{layout:"horizontal",label:" ",conditionDisplay:'qualityType == "custom" && preload === false',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
1
+ import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:"preload === false"},{layout:"horizontal",label:" ",conditionDisplay:'qualityType == "custom" && preload === false',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
@@ -1 +1 @@
1
- import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:'preload === false || (preload === true && (position === "one-col" || position === "two-col"))'},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom" && (preload === false || (preload === true && (position === "one-col" || position === "two-col")))',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
1
+ import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:'preload === false || (preload === true && (position === "one-col" || position === "two-col"))'},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom" && (preload === false || (preload === true && (position === "one-col" || position === "two-col")))',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
@@ -1 +1 @@
1
- import o from"next/dynamic";import m from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let r=o(()=>import("./components/Radio.js"),{loading:m});var t={Radio:r};export{t as default};
1
+ import o from"next/dynamic";import m from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let t=o(()=>import("./components/Radio.js"),{loading:m});var r={Radio:t};export{r as default};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let e=o(()=>import("./components/Select.js"),{loading:t});var m={Select:e};export{m as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let m=o(()=>import("./components/Select.js"),{loading:t});var e={Select:m};export{e as default};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let m=o(()=>import("./components/ShopPayInstallments.js"),{loading:t});var n={ShopPayInstallments:m};export{n as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let m=o(()=>import("./components/ShopPayInstallments.js"),{loading:t});var n={ShopPayInstallments:m};export{n as default};
@@ -0,0 +1 @@
1
+ let e=e=>e.trim()?(e.startsWith("#el-")?e.replace("#el-","#"):e).replace(/^#/,"").trim():"",t=({value:t})=>e(t?.link??""),r=({value:e})=>t({value:e}).length>0,i=({value:e})=>{let r=t({value:e});if(!r)return null;let i=r.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),l=window.CSS?.escape?window.CSS.escape(r):i;return document.querySelector(`[data-id="${i}"], #${l}`)},l=({value:e})=>{let t=i({value:e});if(!t)return;let r=t.getBoundingClientRect();if(0===r.width&&0===r.height)return;let l=window.innerHeight,n=r.top+window.scrollY,o=r.height>l;return o?{triggerY:n,ready:r.top<=0&&r.bottom>0}:{triggerY:n+r.height-l,ready:r.top>=0&&r.bottom<=l}},n=()=>{let e=document.documentElement,t=e.scrollHeight-window.innerHeight;return t<=0?100:window.scrollY/t*100},o=({showFrom:e,hideFrom:t})=>{let i=r({value:e}),n=r({value:t});if(!i&&!n)return!0;let o=i?l({value:e}):void 0,g=n?l({value:t}):void 0;if(o?.ready&&g?.ready)return!0;let c=window.scrollY;if(i&&!o)return!1;let d=o?.triggerY??-1/0,u=g?.triggerY??1/0;return i&&!n?c>=d:!i&&n?c<u:d===u?c>=d:d<u?c>=d&&c<u:c<u||c>=d};export{n as getScrollPercent,i as getSectionElement,t as getSectionId,l as getSectionTrigger,r as hasSectionValue,o as isVisibleBetweenSections};
@@ -1 +1 @@
1
- import{getGradientImageBgrStyleByDevice as t,getStyleBackgroundByDevice as e,makeStyle as l}from"@gem-sdk/core";import"react/jsx-runtime";import"react";import{ELEMENT_Z_INDEX as o}from"../../common/const.js";import{getBackgroundTranslated as p}from"../../helpers.js";import{Sticky as a}from"../settings/configs/translate.js";let r=t=>"top"==t?"sticky":"fixed",b=(t,e,l)=>{let o={[`--top${t}`]:"auto",[`--${l+t}`]:"0",[`--pos${t}`]:r(l)};switch(e){case"after-first-cart-button":o[`--d${t}`]="none";break;case"always":o[`--d${t}`]="block"}return o},i=(t,e)=>({...b("",t?.desktop,e?.desktop),...b("-tablet",t?.tablet??t?.desktop,e?.tablet??e?.desktop),...b("-mobile",t?.mobile??t?.tablet??t?.desktop,e?.mobile??e?.tablet??e?.desktop)}),s=(t,e)=>({[`--left${e}`]:"top"==t?"0":"50%",[`--t${e}`]:"top"==t?"unset":"translateX(-50%)"}),m=t=>({...s(t?.desktop,""),...s(t?.tablet??t?.desktop,"-tablet"),...s(t?.mobile??t?.tablet??t?.desktop,"-mobile")}),n=t=>{let{position:e,display:l}=t;return{margin:"0 auto",...m(e),...i(l,e),"z-index":o.STICKY}},d=({setting:o,style:r,uid:b,pageContext:i,type:s="React"})=>{let{background:m}=o||{},n="Liquid"===s?p({background:m,uid:b,enableTranslate:!!a?.background?.id,pageContext:i,isTranslateVideo:!1}):m;return{...l({m:"0 auto"}),...c(r),...k(r),...e(n||m),...t(n||m)}},c=t=>{let e={};return["--pt","--pb","--pr","--pl","--pt-mobile","--pb-mobile","--pr-mobile","--pl-mobile","--pt-tablet","--pb-tablet","--pr-tablet","--pl-tablet"].forEach(l=>{t?.[l]&&(e[l]=t[l])}),e},k=t=>{let e={...t};return["--pt","--pb","--pr","--pl","--pt-mobile","--pb-mobile","--pr-mobile","--pl-mobile","--pt-tablet","--pb-tablet","--pr-tablet","--pl-tablet"].forEach(t=>{delete e?.[t]}),e};export{i as displayConditionStyle,k as filterStyles,n as getContainerStyles,d as getContentStyles,b as getDisplayStyle,c as getStylePadding};
1
+ import{getGradientImageBgrStyleByDevice as t,getStyleBackgroundByDevice as e,makeStyle as l}from"@gem-sdk/core";import"react/jsx-runtime";import"react";import{ELEMENT_Z_INDEX as o}from"../../common/const.js";import{getBackgroundTranslated as a}from"../../helpers.js";import{Sticky as r}from"../settings/configs/translate.js";let p=t=>"top"==t?"sticky":"fixed",s=(t,e,l)=>{let o={[`--top${t}`]:"auto",[`--${l+t}`]:"0",[`--pos${t}`]:p(l)};switch(e){case"after-first-cart-button":case"after-first-scroll":case"between-sections":o[`--d${t}`]="none";break;case"always":o[`--d${t}`]="block"}return o},i=(t,e)=>({...s("",t?.desktop,e?.desktop),...s("-tablet",t?.tablet??t?.desktop,e?.tablet??e?.desktop),...s("-mobile",t?.mobile??t?.tablet??t?.desktop,e?.mobile??e?.tablet??e?.desktop)}),b=(t,e)=>({[`--left${e}`]:"top"==t?"0":"50%",[`--t${e}`]:"top"==t?"unset":"translateX(-50%)"}),n=t=>({...b(t?.desktop,""),...b(t?.tablet??t?.desktop,"-tablet"),...b(t?.mobile??t?.tablet??t?.desktop,"-mobile")}),m=t=>{let{position:e,display:l}=t;return{margin:"0 auto",...n(e),...i(l,e),"z-index":o.STICKY}},d=({setting:o,style:p,uid:s,pageContext:i,type:b="React"})=>{let{background:n}=o||{},m="Liquid"===b?a({background:n,uid:s,enableTranslate:!!r?.background?.id,pageContext:i,isTranslateVideo:!1}):n;return{...l({m:"0 auto"}),...c(p),...f(p),...e(m||n),...t(m||n)}},c=t=>{let e={};return["--pt","--pb","--pr","--pl","--pt-mobile","--pb-mobile","--pr-mobile","--pl-mobile","--pt-tablet","--pb-tablet","--pr-tablet","--pl-tablet"].forEach(l=>{t?.[l]&&(e[l]=t[l])}),e},f=t=>{let e={...t};return["--pt","--pb","--pr","--pl","--pt-mobile","--pb-mobile","--pr-mobile","--pl-mobile","--pt-tablet","--pb-tablet","--pr-tablet","--pl-tablet"].forEach(t=>{delete e?.[t]}),e};export{i as displayConditionStyle,f as filterStyles,m as getContainerStyles,d as getContentStyles,s as getDisplayStyle,c as getStylePadding};
@@ -1,17 +1,17 @@
1
- import{makeStyleResponsive as s,RenderIf as e,isLocalEnv as t,baseAssetURL as i,template as r}from"@gem-sdk/core";import{getSettingPreloadData as a}from"../../helpers.js";import{createStyle as l,createClass as d,createStateOrContext as o}from"@gem-sdk/system";import{getContainerStyles as p,getContentStyles as m}from"../common/styles.js";import{getContainerClasses as c}from"../common/classes.js";let n=({children:n,builderAttrs:g,setting:$,style:k,builderProps:y,advanced:f,pageContext:u})=>{let{width:b,position:v,display:S,preloadBgImage:j,background:h,isScrollToTop:E}=$??{},w=f?.d,C=l({...s("w",b),...p({position:v,display:S})}),q=l(m({setting:$,style:k,uid:y?.uid,pageContext:u??{},type:"Liquid"})),x=d(c({uid:y?.uid,isScrollToTop:E,cssClass:f?.cssClass,isLiquid:!0})),A=o({uid:y?.uid,setting:{display:{desktop:S?.desktop,tablet:S?.tablet??S?.desktop,mobile:S?.mobile??S?.tablet??S?.desktop}},advanced:{d:w}}),G=`.drawer-page-content {
1
+ import{makeStyleResponsive as s,RenderIf as e,isLocalEnv as t,baseAssetURL as i,template as r}from"@gem-sdk/core";import{getSettingPreloadData as a}from"../../helpers.js";import{createStyle as l,createClass as d,createStateOrContext as o}from"@gem-sdk/system";import{getContainerStyles as p,getContentStyles as m}from"../common/styles.js";import{getContainerClasses as c}from"../common/classes.js";let n=({children:n,builderAttrs:g,setting:$,style:k,builderProps:y,advanced:f,pageContext:u})=>{let{width:b,position:v,display:S,scrollPercent:j,showFrom:h,hideFrom:E,preloadBgImage:w,background:C,isScrollToTop:q}=$??{},x=f?.d,A=l({...s("w",b),...p({position:v,display:S})}),G=l(m({setting:$,style:k,uid:y?.uid,pageContext:u??{},type:"Liquid"})),L=d(c({uid:y?.uid,isScrollToTop:q,cssClass:f?.cssClass,isLiquid:!0})),N=o({uid:y?.uid,setting:{display:{desktop:S?.desktop,tablet:S?.tablet??S?.desktop,mobile:S?.mobile??S?.tablet??S?.desktop},scrollPercent:j,showFrom:h,hideFrom:E},advanced:{d:x}}),O=`.drawer-page-content {
2
2
  transform: none !important;
3
3
  -webkit-transform: none !important;
4
4
  }`;return r`
5
- ${e(!!j,`${e(!!h?.desktop?.image?.src,`<link rel="preload" href="${h?.desktop?.image?.src}" as="image" />`)}${e(!!h?.tablet?.image?.src,`<link rel="preload" href="${h?.tablet?.image?.src}" as="image" />`)}${e(!!h?.mobile?.image?.src,`<link rel="preload" href="${h?.mobile?.image?.src}" as="image" />`)}`)}
5
+ ${e(!!w,`${e(!!C?.desktop?.image?.src,`<link rel="preload" href="${C?.desktop?.image?.src}" as="image" />`)}${e(!!C?.tablet?.image?.src,`<link rel="preload" href="${C?.tablet?.image?.src}" as="image" />`)}${e(!!C?.mobile?.image?.src,`<link rel="preload" href="${C?.mobile?.image?.src}" as="image" />`)}`)}
6
6
  <gp-sticky
7
7
  id="${y?.uid}"
8
8
  data-id="${y?.uid}"
9
- class="${x} ${a("gps-lazy")}"
10
- style="${C}"
9
+ class="${L} ${a("gps-lazy")}"
10
+ style="${A}"
11
11
  >
12
- <script gp-data type="application/json">${JSON.stringify(A)}</script>
13
- <style>${G}</style>
14
- <div ${{...g}} style="${{...q}}">
12
+ <script gp-data type="application/json">${JSON.stringify(N)}</script>
13
+ <style>${O}</style>
14
+ <div ${{...g}} style="${{...G}}">
15
15
  ${n}
16
16
  </div>
17
17
  </gp-sticky>
@@ -1 +1 @@
1
- import{makeStyleResponsive as t,usePageStore as e,useCurrentDevice as o,useStickyStore as l}from"@gem-sdk/core";import{useState as b,useMemo as i,useEffect as s}from"react";let p=p=>{let{width:r,position:a}=p??{},{desktop:d,tablet:n,mobile:m}=p?.display||{},k=t("w",r),u=e(t=>"interaction"===t.sidebarMode),c=o(),[f,x]=b(!1),$=l(t=>t.getFirstVisibleElement(c)),g=(t,e)=>({[`--left${e}`]:"top"==t?"0":"50%",[`--t${e}`]:"top"==t?"unset":"translateX(-50%)"}),y=i(()=>({...g(a?.desktop,""),...g(a?.tablet??a?.desktop,"-tablet"),...g(a?.mobile??a?.tablet??a?.desktop,"-mobile")}),[a?.desktop,a?.mobile,a?.tablet]),v=i(()=>{if(u&&a?.[c]==="top")return"40px"},[c,u,a]),w=i(()=>{let t=t=>"after-first-cart-button"!==t||f?"block":"none";return{"--d":t(d),"--d-tablet":t(n??d),"--d-mobile":t(m??n??d)}},[d,n,m,f]),I=i(()=>({"--top":v??"auto","--top-tablet":v??"auto","--top-mobile":v??"auto",[`--${a?.desktop}`]:v??"0px",[`--${a?.tablet??a?.desktop}-tablet`]:v??"0px",[`--${a?.mobile??a?.tablet??a?.desktop}-mobile`]:v??"0px"}),[v,a?.desktop,a?.mobile,a?.tablet]),C=t=>"top"==t?"sticky":"fixed",E=i(()=>({"--pos":C(a?.desktop),"--pos-tablet":C(a?.tablet??a?.desktop),"--pos-mobile":C(a?.mobile??a?.tablet??a?.desktop)}),[a?.desktop,a?.mobile,a?.tablet]);return s(()=>{if(!$)return;let t=new IntersectionObserver(([t])=>{t&&x(t.isIntersecting||t.boundingClientRect.top<=0)});return t.observe($),()=>t.disconnect()},[$]),s(()=>{x(!1)},[c]),{w:k,displayStyle:I,positionStyle:E,getCSSAlign:y,makeDisplaySettingStyles:w}};export{p as default};
1
+ import{makeStyleResponsive as e,usePageStore as t,useCurrentDevice as o,useEditorMode as i,useStickyStore as l,DEVICES as n,getResponsiveValueByScreen as s}from"@gem-sdk/core";import{useState as r,useMemo as a,useEffect as d}from"react";import{isVisibleBetweenSections as b,getScrollPercent as p}from"../common/helper.js";let c=c=>{let{width:m,position:k,display:u,scrollPercent:w,showFrom:v,hideFrom:f}=c??{},h=e("w",m),E=t(e=>"interaction"===e.sidebarMode),S=o(),L=i(),[V,F]=r(!1),g=l(e=>e.getFirstVisibleElement(S)),x=({position:e,device:t})=>({[`--left${t}`]:"top"==e?"0":"50%",[`--t${t}`]:"top"==e?"unset":"translateX(-50%)"}),y=a(()=>({...x({position:k?.desktop,device:""}),...x({position:k?.tablet??k?.desktop,device:"-tablet"}),...x({position:k?.mobile??k?.tablet??k?.desktop,device:"-mobile"})}),[k?.desktop,k?.mobile,k?.tablet]),B=a(()=>{if(E&&k?.[S]==="top")return"40px"},[S,E,k]),[R,$]=r(null);d(()=>{if($(null),"edit"===L)return;let e=[u?.desktop,u?.tablet,u?.mobile],t=e.some(e=>"after-first-scroll"===e||"between-sections"===e);if(!t)return;let o=()=>{let e=p(),t=t=>({isScrollPercentReached:e>=(s(w,t,0)??0),isBetweenSectionsVisible:b({showFrom:s(v,t),hideFrom:s(f,t)})});return{desktop:t("desktop"),tablet:t("tablet"),mobile:t("mobile")}},i=()=>{let e=o();$(t=>t&&n.every(o=>t[o].isScrollPercentReached===e[o].isScrollPercentReached&&t[o].isBetweenSectionsVisible===e[o].isBetweenSectionsVisible)?t:e)};i();let l=0,r=()=>{l||(l=requestAnimationFrame(()=>{l=0,i()}))};return window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),window.addEventListener("orientationchange",r),()=>{l&&cancelAnimationFrame(l),window.removeEventListener("scroll",r),window.removeEventListener("resize",r),window.removeEventListener("orientationchange",r)}},[L,u?.desktop,u?.tablet,u?.mobile,v?.desktop?.link,v?.tablet?.link,v?.mobile?.link,f?.desktop?.link,f?.tablet?.link,f?.mobile?.link,w?.desktop,w?.tablet,w?.mobile]);let A=a(()=>{let e=({displayValue:e,device:t})=>{switch(e){case"after-first-cart-button":return V?"block":"none";case"after-first-scroll":if(!R)return"none";return R[t].isScrollPercentReached?"block":"none";case"between-sections":if(!R)return"none";return R[t].isBetweenSectionsVisible?"block":"none";default:return"block"}},t=u?.desktop,o=u?.tablet??t,i=u?.mobile??o;return{"--d":e({displayValue:t,device:"desktop"}),"--d-tablet":e({displayValue:o,device:"tablet"}),"--d-mobile":e({displayValue:i,device:"mobile"})}},[u?.desktop,u?.mobile,u?.tablet,f,v,R,V]),P=a(()=>({"--top":B??"auto","--top-tablet":B??"auto","--top-mobile":B??"auto",[`--${k?.desktop}`]:B??"0px",[`--${k?.tablet??k?.desktop}-tablet`]:B??"0px",[`--${k?.mobile??k?.tablet??k?.desktop}-mobile`]:B??"0px"}),[B,k?.desktop,k?.mobile,k?.tablet]),q=({position:e})=>"top"==e?"sticky":"fixed",z=a(()=>({"--pos":q({position:k?.desktop}),"--pos-tablet":q({position:k?.tablet??k?.desktop}),"--pos-mobile":q({position:k?.mobile??k?.tablet??k?.desktop})}),[k?.desktop,k?.mobile,k?.tablet]);return d(()=>{if(!g)return;let e=null,t=()=>{e=null,F(g.getBoundingClientRect().top<=0)},o=()=>{null===e&&(e=requestAnimationFrame(t))};return t(),window.addEventListener("scroll",o,{passive:!0}),()=>{window.removeEventListener("scroll",o),null!==e&&cancelAnimationFrame(e)}},[g]),d(()=>{F(!1)},[S]),{w:h,displayStyle:P,positionStyle:z,getCSSAlign:y,makeDisplaySettingStyles:A}};export{c as default};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"@gem-sdk/core";import"next/head";import"react";import"@gem-sdk/system";import"next/link";import t from"./settings/Sticky.js";let e={Sticky:t};export{e as stickySetting};
1
+ import"react/jsx-runtime";import"@gem-sdk/core";import"next/head";import"react";import"../common/const.js";import"@gem-sdk/system";import"next/link";import t from"./settings/Sticky.js";let i={Sticky:t};export{i as stickySetting};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let m=o(()=>import("./components/Sticky.js"),{loading:t});var r={Sticky:m};export{r as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let m=o(()=>import("./components/Sticky.js"),{loading:t});var r={Sticky:m};export{r as default};
@@ -1 +1 @@
1
- let e=[{id:"setting",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,isRowWith:!0,devices:{desktop:{default:"100%"}},displayOptions:[{label:"Full",value:"100%",showValue:!0},{label:"Default",value:"1200px",showValue:!0}]},{id:"background",type:"background-media",ignoreReRender:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#dddddd",image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/background_settings.jpg",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1,loop:!0}}}},{id:"preloadBgImage",type:"toggle",label:"Preload Image",default:!1},{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 76 48",itemPerRow:2,itemSpacing:"large",enableItemBackground:!0,enableItemOpacity:!0,options:[{label:"Bottom",value:"bottom",iconName:"gp-sticky-position-bottom"},{label:"Top",value:"top",iconName:"gp-sticky-position-top"}],devices:{desktop:{default:"bottom"}}},{id:"display",label:"Display",type:"select",devices:{desktop:{default:"always"}},options:[{label:"Always show",value:"always"},{label:"After first cart button",value:"after-first-cart-button"}]},{id:"isScrollToTop",type:"toggle",default:!1}]}];export{e as StickySettingsV2};
1
+ let e=[{id:"setting",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0},tablet:{default:!0},mobile:{default:!0}}},{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,isRowWith:!0,devices:{desktop:{default:"100%"}},displayOptions:[{label:"Full",value:"100%",showValue:!0},{label:"Default",value:"1200px",showValue:!0}]},{id:"background",type:"background-media",ignoreReRender:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"#dddddd",image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/background_settings.jpg",width:1200,height:480},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll",preload:!1,loop:!0}}}},{id:"preloadBgImage",type:"toggle",label:"Preload Image",default:!1},{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 76 48",itemPerRow:2,itemSpacing:"large",enableItemBackground:!0,enableItemOpacity:!0,options:[{label:"Bottom",value:"bottom",iconName:"gp-sticky-position-bottom"},{label:"Top",value:"top",iconName:"gp-sticky-position-top"}],devices:{desktop:{default:"bottom"}}},{id:"display",label:"Display",type:"select",devices:{desktop:{default:"always"}},options:[{label:"Always show",value:"always"},{label:"After first cart button",value:"after-first-cart-button"},{label:"After scrolling down",value:"after-first-scroll"},{label:"Between sections",value:"between-sections"}]},{id:"scrollPercent",type:"input:unit",units:["%"],showDefaultUnit:!0,min:0,max:100,placeholder:"0%",isNumber:!0,devices:{desktop:{}}},{id:"showFrom",type:"pick-link",optionConfig:{"scroll-to":{popoverLabel:"Show Sticky ATC start from",title:"",hideScrollToTop:!0}},devices:{desktop:{default:{type:"scroll-to",link:""}}},isHiddenOpenLinkSelect:!0,hiddenOptions:{"stay-on-page":!0,"open-page":!0,"open-url":!0,"open-popup":!0,"go-to-sales-page":!0}},{id:"hideFrom",type:"pick-link",optionConfig:{"scroll-to":{popoverLabel:"Hide Sticky ATC start from",title:"",hideScrollToTop:!0}},devices:{desktop:{default:{type:"scroll-to",link:""}}},isHiddenOpenLinkSelect:!0,hiddenOptions:{"stay-on-page":!0,"open-page":!0,"open-url":!0,"open-popup":!0,"go-to-sales-page":!0}},{id:"isScrollToTop",type:"toggle",default:!1}]}];export{e as StickySettingsV2};
@@ -1 +1 @@
1
- let o=[{label:"Layout",controls:[{setting:{id:"position"},layout:"vertical"}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"width"},label:"Width"},{label:"Padding",controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{type:"custom",top:"16px",bottom:"16px",left:"24px",right:"24px"}}}]},{label:"Background",controls:[{setting:{id:"background"},layout:"vertical",options:{updateFields:[{field:"preload",settingId:"preloadBgImage"}]},controlChangeTrigger:{settings:[{action:{controlId:"preloadBgImage",valueFromField:"preload",groupType:"setting",controlType:"setting",removeDevice:!0}}],options:{noRecordHistory:!0}}}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border-advanced",type:"border-v2",linkWithSetting:{name:"border",field:"normal"},compoDefaultValue:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}},{label:"Corner",setting:{id:"rounded",state:"normal"}},{label:"Shadow",setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:"Display option",controls:[{label:"Condition",setting:{id:"display"}}]}];export{o as SettingUIV2};
1
+ let o=[{label:"Layout",controls:[{setting:{id:"position"},layout:"vertical"}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"width"},label:"Width"},{label:"Padding",controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{type:"custom",top:"16px",bottom:"16px",left:"24px",right:"24px"}}}]},{label:"Background",controls:[{setting:{id:"background"},layout:"vertical",options:{updateFields:[{field:"preload",settingId:"preloadBgImage"}]},controlChangeTrigger:{settings:[{action:{controlId:"preloadBgImage",valueFromField:"preload",groupType:"setting",controlType:"setting",removeDevice:!0}}],options:{noRecordHistory:!0}}}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border-advanced",type:"border-v2",linkWithSetting:{name:"border",field:"normal"},compoDefaultValue:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}},{label:"Corner",setting:{id:"rounded",state:"normal"}},{label:"Shadow",setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{label:"Display option",controls:[{label:"Condition",setting:{id:"display"}},{label:"Page scrolled",conditionDisplay:"display === 'after-first-scroll'",setting:{id:"scrollPercent"}},{label:"Show from",conditionDisplay:"display === 'between-sections'",setting:{id:"showFrom"}},{label:"Hide from",conditionDisplay:"display === 'between-sections'",setting:{id:"hideFrom"}}]}];export{o as SettingUIV2};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let r=o(()=>import("./components/StockCounter.js"),{loading:t});var m={StockCounter:r};export{m as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let m=o(()=>import("./components/StockCounter.js"),{loading:t});var r={StockCounter:m};export{r as default};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let m=o(()=>import("./components/Tabs.js"),{loading:t}),r=o(()=>import("./components/TabItem.js"),{loading:t});var e={Tabs:m,TabItem:r};export{e as default};
1
+ import o from"next/dynamic";import m from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let t=o(()=>import("./components/Tabs.js"),{loading:m}),r=o(()=>import("./components/TabItem.js"),{loading:m});var n={Tabs:t,TabItem:r};export{n as default};
@@ -1 +1 @@
1
- import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let r=o(()=>import("./components/Textarea.js"),{loading:t});var e={Textarea:r};export{e as default};
1
+ import o from"next/dynamic";import t from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let m=o(()=>import("./components/Textarea.js"),{loading:t});var r={Textarea:m};export{r as default};
@@ -1 +1 @@
1
- import o from"next/dynamic";import s from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";let n=o(()=>import("./components/AppstleLoyaltyRewardProgram.js"),{ssr:!1,loading:s}),t=o(()=>import("./components/EssentPreorderBackInStock.js"),{ssr:!1,loading:s}),i=o(()=>import("./components/WcWishlistBackInStock.js"),{ssr:!1,loading:s}),r=o(()=>import("./components/BonySubscriptionsApp.js"),{ssr:!1,loading:s}),e=o(()=>import("./components/GrowthSuiteDiscountCodes.js"),{ssr:!1,loading:s}),p=o(()=>import("./components/KachingSubscriptionsApp.js"),{ssr:!1,loading:s}),m=o(()=>import("./components/BloyRewardsProgramLoyalty.js"),{ssr:!1,loading:s}),a=o(()=>import("./components/DealeasyVolumeDiscounts.js"),{ssr:!1,loading:s}),l=o(()=>import("./components/UppromoteAffiliateMarketing.js"),{ssr:!1,loading:s}),c=o(()=>import("./components/AovBundlesVolumeDiscounts.js"),{ssr:!1,loading:s}),d=o(()=>import("./components/AovFreeGiftBuyXGetYBogo.js"),{ssr:!1,loading:s}),g=o(()=>import("./components/EcomsendBackInStockAlert.js"),{ssr:!1,loading:s}),j=o(()=>import("./components/AppstleBundlesDiscounts.js"),{ssr:!1,loading:s}),u=o(()=>import("./components/EstimatedDeliveryDatePlus.js"),{ssr:!1,loading:s}),B=o(()=>import("./components/OkendoReviewsLoyalty.js"),{ssr:!1,loading:s}),S=o(()=>import("./components/EssentialAnnouncementBar.js"),{ssr:!1,loading:s}),y=o(()=>import("./components/EssentialCountdownTimerBar.js"),{ssr:!1,loading:s}),P=o(()=>import("./components/StellarDeliveryDatePickup.js"),{ssr:!1,loading:s}),w=o(()=>import("./components/TrustshopProductReviews.js"),{ssr:!1,loading:s}),R=o(()=>import("./components/HulkProductOptions.js"),{ssr:!1,loading:s}),h=o(()=>import("./components/MyappgurusProductReviews.js"),{ssr:!1,loading:s}),v=o(()=>import("./components/DiscountyBulkDiscountSales.js"),{ssr:!1,loading:s}),b=o(()=>import("./components/TrustreviewsProductReviews.js"),{ssr:!1,loading:s}),k=o(()=>import("./components/SeoantTrustBadgesIcon.js"),{ssr:!1,loading:s}),f=o(()=>import("./components/SegunoEmailMarketing.js"),{ssr:!1,loading:s}),A=o(()=>import("./components/AftershipEmailMarketingsms.js"),{ssr:!1,loading:s}),D=o(()=>import("./components/BestBuyFulfillment.js"),{ssr:!1,loading:s}),O=o(()=>import("./components/ProductOptionsVariantOption.js"),{ssr:!1,loading:s}),C=o(()=>import("./components/GloboProductOptionsVariant.js"),{ssr:!1,loading:s}),F=o(()=>import("./components/TeeinblueProductPersonalizer.js"),{ssr:!1,loading:s}),T=o(()=>import("./components/WishlistKing.js"),{ssr:!1,loading:s}),L=o(()=>import("./components/HulkFormBuilder.js"),{ssr:!1,loading:s}),E=o(()=>import("./components/LoloyalLoyaltyReferrals.js"),{ssr:!1,loading:s}),I=o(()=>import("./components/PowerfulContactFormBuilder.js"),{ssr:!1,loading:s}),G=o(()=>import("./components/WishlistPlus.js"),{ssr:!1,loading:s}),U=o(()=>import("./components/InstasellShoppableInstagram.js"),{ssr:!1,loading:s}),V=o(()=>import("./components/SproutPlantTreesGrowSales.js"),{ssr:!1,loading:s}),K=o(()=>import("./components/RapiBundleQuantityBreaks.js"),{ssr:!1,loading:s}),x=o(()=>import("./components/AppointmentBookingCowlendar.js"),{ssr:!1,loading:s}),M=o(()=>import("./components/GoogleReviewsByReputon.js"),{ssr:!1,loading:s}),W=o(()=>import("./components/MbcBundleVolumeDiscount.js"),{ssr:!1,loading:s}),z=o(()=>import("./components/ProductOptionsCustomizer.js"),{ssr:!1,loading:s}),H=o(()=>import("./components/AirProductReviewsAppUgc.js"),{ssr:!1,loading:s}),Q=o(()=>import("./components/TagembedSocialPostReview.js"),{ssr:!1,loading:s}),Y=o(()=>import("./components/WhatmoreShoppableVideosreel.js"),{ssr:!1,loading:s}),q=o(()=>import("./components/TagshopShoppableVideosUgc.js"),{ssr:!1,loading:s}),N=o(()=>import("./components/JunipProductReviewsUgc.js"),{ssr:!1,loading:s}),J=o(()=>import("./components/FlyBundlesUpsellsFbt.js"),{ssr:!1,loading:s}),X=o(()=>import("./components/PreorderNowWodPresale.js"),{ssr:!1,loading:s}),Z=o(()=>import("./components/PreorderNowPreOrderPq.js"),{ssr:!1,loading:s}),$=o(()=>import("./components/MaxbundleProductBundles.js"),{ssr:!1,loading:s}),_=o(()=>import("./components/KoalaBundleQuantityDiscount.js"),{ssr:!1,loading:s}),oo=o(()=>import("./components/EasyBundleBuilderSkailama.js"),{ssr:!1,loading:s}),os=o(()=>import("./components/FastBundleBundlesDiscounts.js"),{ssr:!1,loading:s}),on=o(()=>import("./components/KiteFreeGiftDiscount.js"),{ssr:!1,loading:s}),ot=o(()=>import("./components/UnlimitedBundlesDiscounts.js"),{ssr:!1,loading:s}),oi=o(()=>import("./components/SimpleBundlesKits.js"),{ssr:!1,loading:s}),or=o(()=>import("./components/ReviewxpoProductReviewsApp.js"),{ssr:!1,loading:s}),oe=o(()=>import("./components/PumperBundlesVolumeDiscount.js"),{ssr:!1,loading:s}),op=o(()=>import("./components/NotifyBackInStockPreOrder.js"),{ssr:!1,loading:s}),om=o(()=>import("./components/ShopifyForms.js"),{ssr:!1,loading:s}),oa=o(()=>import("./components/SkioSubscriptionsYcS20.js"),{ssr:!1,loading:s}),ol=o(()=>import("./components/LoopSubscriptions.js"),{ssr:!1,loading:s}),oc=o(()=>import("./components/RecurpaySubscriptionApp.js"),{ssr:!1,loading:s}),od=o(()=>import("./components/SubifySubscriptionsApp.js"),{ssr:!1,loading:s}),og=o(()=>import("./components/ShopifySubscriptions.js"),{ssr:!1,loading:s}),oj=o(()=>import("./components/BonLoyaltyRewardsReferrals.js"),{ssr:!1,loading:s}),ou=o(()=>import("./components/EasifyProductOptions.js"),{ssr:!1,loading:s}),oB=o(()=>import("./components/CustomProductOptionsVariant.js"),{ssr:!1,loading:s}),oS=o(()=>import("./components/JudgemeReviews.js"),{ssr:!1,loading:s}),oy=o(()=>import("./components/LooxReviews.js"),{ssr:!1,loading:s}),oP=o(()=>import("./components/Instafeed.js"),{ssr:!1,loading:s}),ow=o(()=>import("./components/Klaviyo.js"),{ssr:!1,loading:s}),oR=o(()=>import("./components/YotpoLoyalty.js"),{ssr:!1,loading:s}),oh=o(()=>import("./components/SmartSearchBarAndFilters.js"),{ssr:!1,loading:s}),ov=o(()=>import("./components/ProductReviews.js"),{ssr:!1,loading:s}),ob=o(()=>import("./components/Ryviu.js"),{ssr:!1,loading:s}),ok=o(()=>import("./components/Rivyo.js"),{ssr:!1,loading:s}),of=o(()=>import("./components/Vitals.js"),{ssr:!1,loading:s}),oA=o(()=>import("./components/Omnisend.js"),{ssr:!1,loading:s}),oD=o(()=>import("./components/ParcelPanel.js"),{ssr:!1,loading:s}),oO=o(()=>import("./components/KingProductOptions.js"),{ssr:!1,loading:s}),oC=o(()=>import("./components/TrustMe.js"),{ssr:!1,loading:s}),oF=o(()=>import("./components/Trustoo.js"),{ssr:!1,loading:s}),oT=o(()=>import("./components/SealSubscriptions.js"),{ssr:!1,loading:s}),oL=o(()=>import("./components/AppstleSubscriptions.js"),{ssr:!1,loading:s}),oE=o(()=>import("./components/FeraReviews.js"),{ssr:!1,loading:s}),oI=o(()=>import("./components/Growave.js"),{ssr:!1,loading:s}),oG=o(()=>import("./components/KachingBundles.js"),{ssr:!1,loading:s}),oU=o(()=>import("./components/PushOwl.js"),{ssr:!1,loading:s}),oV=o(()=>import("./components/Opinew.js"),{ssr:!1,loading:s}),oK=o(()=>import("./components/FirePush.js"),{ssr:!1,loading:s}),ox=o(()=>import("./components/AliReviews.js"),{ssr:!1,loading:s}),oM=o(()=>import("./components/UltimateSalesBoost.js"),{ssr:!1,loading:s}),oW=o(()=>import("./components/FrequentlyBoughtTogether.js"),{ssr:!1,loading:s}),oz=o(()=>import("./components/BoldSubscriptions.js"),{ssr:!1,loading:s}),oH=o(()=>import("./components/BoldProductOptions.js"),{ssr:!1,loading:s}),oQ=o(()=>import("./components/WideBundle.js"),{ssr:!1,loading:s}),oY=o(()=>import("./components/PickyStory.js"),{ssr:!1,loading:s}),oq=o(()=>import("./components/InfiniteOptions.js"),{ssr:!1,loading:s}),oN=o(()=>import("./components/Wiser.js"),{ssr:!1,loading:s}),oJ=o(()=>import("./components/Stamped.js"),{ssr:!1,loading:s}),oX=o(()=>import("./components/Bundler.js"),{ssr:!1,loading:s}),oZ=o(()=>import("./components/LaiProductReviews.js"),{ssr:!1,loading:s}),o$=o(()=>import("./components/CrossSellCartUpsell.js"),{ssr:!1,loading:s}),o_=o(()=>import("./components/BoostAISearchDiscovery.js"),{ssr:!1,loading:s}),o1=o(()=>import("./components/YotpoReviews.js"),{ssr:!1,loading:s}),o0=o(()=>import("./components/CleanSizeCharts.js"),{ssr:!1,loading:s}),o2=o(()=>import("./components/Bogos.js"),{ssr:!1,loading:s}),o3=o(()=>import("./components/QikifyUpsell.js"),{ssr:!1,loading:s}),o4=o(()=>import("./components/Releasit.js"),{ssr:!1,loading:s}),o5=o(()=>import("./components/EasySellCOD.js"),{ssr:!1,loading:s}),o6=o(()=>import("./components/BirdChime.js"),{ssr:!1,loading:s}),o7=o(()=>import("./components/RequestQuoteHidePrice.js"),{ssr:!1,loading:s}),o8=o(()=>import("./components/KlarnaMessaging.js"),{ssr:!1,loading:s}),o9=o(()=>import("./components/FordeerProductLabels.js"),{ssr:!1,loading:s}),so=o(()=>import("./components/RechargeSubscriptions.js"),{ssr:!1,loading:s}),ss=o(()=>import("./components/Selleasy.js"),{ssr:!1,loading:s}),sn=o(()=>import("./components/HextomCountdownTimerBar.js"),{ssr:!1,loading:s}),st=o(()=>import("./components/TrustBadgesBear.js"),{ssr:!1,loading:s}),si=o(()=>import("./components/TrustedsiteTrustBadges.js"),{ssr:!1,loading:s}),sr=o(()=>import("./components/GloColorSwatchvariantImage.js"),{ssr:!1,loading:s}),se=o(()=>import("./components/BfSizeChartSizeGuide.js"),{ssr:!1,loading:s}),sp=o(()=>import("./components/AlsoBoughtCbb.js"),{ssr:!1,loading:s}),sm=o(()=>import("./components/HextomFreeShippingBar.js"),{ssr:!1,loading:s}),sa=o(()=>import("./components/EcoboostifyShoppableReelUgc.js"),{ssr:!1,loading:s});var sl={AppstleLoyaltyRewardProgram:n,EssentPreorderBackInStock:t,WcWishlistBackInStock:i,BonySubscriptionsApp:r,GrowthSuiteDiscountCodes:e,KachingSubscriptionsApp:p,BloyRewardsProgramLoyalty:m,DealeasyVolumeDiscounts:a,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:c,AovFreeGiftBuyXGetYBogo:d,EcomsendBackInStockAlert:g,AppstleBundlesDiscounts:j,EcoboostifyShoppableReelUgc:sa,EstimatedDeliveryDatePlus:u,OkendoReviewsLoyalty:B,EssentialAnnouncementBar:S,EssentialCountdownTimerBar:y,StellarDeliveryDatePickup:P,TrustshopProductReviews:w,HulkProductOptions:R,MyappgurusProductReviews:h,TrustreviewsProductReviews:b,DiscountyBulkDiscountSales:v,SeoantTrustBadgesIcon:k,SegunoEmailMarketing:f,AftershipEmailMarketingsms:A,BestBuyFulfillment:D,ProductOptionsVariantOption:O,GloboProductOptionsVariant:C,TeeinblueProductPersonalizer:F,WishlistKing:T,HulkFormBuilder:L,LoloyalLoyaltyReferrals:E,PowerfulContactFormBuilder:I,WishlistPlus:G,InstasellShoppableInstagram:U,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:x,GoogleReviewsByReputon:M,MbcBundleVolumeDiscount:W,ProductOptionsCustomizer:z,AirProductReviewsAppUgc:H,TagembedSocialPostReview:Q,WhatmoreShoppableVideosreel:Y,TagshopShoppableVideosUgc:q,JunipProductReviewsUgc:N,FlyBundlesUpsellsFbt:J,PreorderNowWodPresale:X,PreorderNowPreOrderPq:Z,MaxbundleProductBundles:$,KoalaBundleQuantityDiscount:_,EasyBundleBuilderSkailama:oo,FastBundleBundlesDiscounts:os,KiteFreeGiftDiscount:on,UnlimitedBundlesDiscounts:ot,SimpleBundlesKits:oi,ReviewxpoProductReviewsApp:or,PumperBundlesVolumeDiscount:oe,NotifyBackInStockPreOrder:op,ShopifyForms:om,SkioSubscriptionsYcS20:oa,LoopSubscriptions:ol,Selleasy:ss,RecurpaySubscriptionApp:oc,SubifySubscriptionsApp:od,BonLoyaltyRewardsReferrals:oj,ShopifySubscriptions:og,EasifyProductOptions:ou,CustomProductOptionsVariant:oB,KlarnaMessaging:o8,RechargeSubscriptions:so,EasySellCOD:o5,QikifyUpsell:o3,CleanSizeCharts:o0,JudgemeReviews:oS,LooxReviews:oy,Klaviyo:ow,YotpoLoyalty:oR,SmartSearchBarAndFilters:oh,Instafeed:oP,ProductReviews:ov,Ryviu:ob,Rivyo:ok,Vitals:of,Omnisend:oA,ParcelPanel:oD,TrustMe:oC,KingProductOptions:oO,Trustoo:oF,SealSubscriptions:oT,AppstleSubscriptions:oL,FeraReviews:oE,Growave:oI,KachingBundles:oG,PushOwl:oU,Opinew:oV,UltimateSalesBoost:oM,FirePush:oK,FrequentlyBoughtTogether:oW,BoldSubscriptions:oz,BoldProductOptions:oH,WideBundle:oQ,PickyStory:oY,InfiniteOptions:oq,Wiser:oN,Stamped:oJ,Bundler:oX,LaiProductReviews:oZ,CrossSellCartUpsell:o$,BoostAISearchDiscovery:o_,YotpoReviews:o1,AliReviews:ox,Bogos:o2,Releasit:o4,RequestQuoteHidePrice:o7,BirdChime:o6,FordeerProductLabels:o9,HextomCountdownTimerBar:sn,TrustBadgesBear:st,TrustedsiteTrustBadges:si,GloColorSwatchvariantImage:sr,BfSizeChartSizeGuide:se,AlsoBoughtCbb:sp,HextomFreeShippingBar:sm};export{sl as default};
1
+ import o from"next/dynamic";import s from"../common/components/Loading.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"../common/const.js";let n=o(()=>import("./components/AppstleLoyaltyRewardProgram.js"),{ssr:!1,loading:s}),t=o(()=>import("./components/EssentPreorderBackInStock.js"),{ssr:!1,loading:s}),i=o(()=>import("./components/WcWishlistBackInStock.js"),{ssr:!1,loading:s}),r=o(()=>import("./components/BonySubscriptionsApp.js"),{ssr:!1,loading:s}),e=o(()=>import("./components/GrowthSuiteDiscountCodes.js"),{ssr:!1,loading:s}),p=o(()=>import("./components/KachingSubscriptionsApp.js"),{ssr:!1,loading:s}),m=o(()=>import("./components/BloyRewardsProgramLoyalty.js"),{ssr:!1,loading:s}),a=o(()=>import("./components/DealeasyVolumeDiscounts.js"),{ssr:!1,loading:s}),l=o(()=>import("./components/UppromoteAffiliateMarketing.js"),{ssr:!1,loading:s}),c=o(()=>import("./components/AovBundlesVolumeDiscounts.js"),{ssr:!1,loading:s}),d=o(()=>import("./components/AovFreeGiftBuyXGetYBogo.js"),{ssr:!1,loading:s}),g=o(()=>import("./components/EcomsendBackInStockAlert.js"),{ssr:!1,loading:s}),j=o(()=>import("./components/AppstleBundlesDiscounts.js"),{ssr:!1,loading:s}),u=o(()=>import("./components/EstimatedDeliveryDatePlus.js"),{ssr:!1,loading:s}),B=o(()=>import("./components/OkendoReviewsLoyalty.js"),{ssr:!1,loading:s}),S=o(()=>import("./components/EssentialAnnouncementBar.js"),{ssr:!1,loading:s}),y=o(()=>import("./components/EssentialCountdownTimerBar.js"),{ssr:!1,loading:s}),P=o(()=>import("./components/StellarDeliveryDatePickup.js"),{ssr:!1,loading:s}),w=o(()=>import("./components/TrustshopProductReviews.js"),{ssr:!1,loading:s}),R=o(()=>import("./components/HulkProductOptions.js"),{ssr:!1,loading:s}),h=o(()=>import("./components/MyappgurusProductReviews.js"),{ssr:!1,loading:s}),v=o(()=>import("./components/DiscountyBulkDiscountSales.js"),{ssr:!1,loading:s}),b=o(()=>import("./components/TrustreviewsProductReviews.js"),{ssr:!1,loading:s}),k=o(()=>import("./components/SeoantTrustBadgesIcon.js"),{ssr:!1,loading:s}),f=o(()=>import("./components/SegunoEmailMarketing.js"),{ssr:!1,loading:s}),A=o(()=>import("./components/AftershipEmailMarketingsms.js"),{ssr:!1,loading:s}),D=o(()=>import("./components/BestBuyFulfillment.js"),{ssr:!1,loading:s}),O=o(()=>import("./components/ProductOptionsVariantOption.js"),{ssr:!1,loading:s}),C=o(()=>import("./components/GloboProductOptionsVariant.js"),{ssr:!1,loading:s}),F=o(()=>import("./components/TeeinblueProductPersonalizer.js"),{ssr:!1,loading:s}),T=o(()=>import("./components/WishlistKing.js"),{ssr:!1,loading:s}),L=o(()=>import("./components/HulkFormBuilder.js"),{ssr:!1,loading:s}),E=o(()=>import("./components/LoloyalLoyaltyReferrals.js"),{ssr:!1,loading:s}),I=o(()=>import("./components/PowerfulContactFormBuilder.js"),{ssr:!1,loading:s}),G=o(()=>import("./components/WishlistPlus.js"),{ssr:!1,loading:s}),U=o(()=>import("./components/InstasellShoppableInstagram.js"),{ssr:!1,loading:s}),V=o(()=>import("./components/SproutPlantTreesGrowSales.js"),{ssr:!1,loading:s}),K=o(()=>import("./components/RapiBundleQuantityBreaks.js"),{ssr:!1,loading:s}),x=o(()=>import("./components/AppointmentBookingCowlendar.js"),{ssr:!1,loading:s}),M=o(()=>import("./components/GoogleReviewsByReputon.js"),{ssr:!1,loading:s}),W=o(()=>import("./components/MbcBundleVolumeDiscount.js"),{ssr:!1,loading:s}),z=o(()=>import("./components/ProductOptionsCustomizer.js"),{ssr:!1,loading:s}),H=o(()=>import("./components/AirProductReviewsAppUgc.js"),{ssr:!1,loading:s}),Q=o(()=>import("./components/TagembedSocialPostReview.js"),{ssr:!1,loading:s}),Y=o(()=>import("./components/WhatmoreShoppableVideosreel.js"),{ssr:!1,loading:s}),q=o(()=>import("./components/TagshopShoppableVideosUgc.js"),{ssr:!1,loading:s}),N=o(()=>import("./components/JunipProductReviewsUgc.js"),{ssr:!1,loading:s}),J=o(()=>import("./components/FlyBundlesUpsellsFbt.js"),{ssr:!1,loading:s}),X=o(()=>import("./components/PreorderNowWodPresale.js"),{ssr:!1,loading:s}),Z=o(()=>import("./components/PreorderNowPreOrderPq.js"),{ssr:!1,loading:s}),$=o(()=>import("./components/MaxbundleProductBundles.js"),{ssr:!1,loading:s}),_=o(()=>import("./components/KoalaBundleQuantityDiscount.js"),{ssr:!1,loading:s}),oo=o(()=>import("./components/EasyBundleBuilderSkailama.js"),{ssr:!1,loading:s}),os=o(()=>import("./components/FastBundleBundlesDiscounts.js"),{ssr:!1,loading:s}),on=o(()=>import("./components/KiteFreeGiftDiscount.js"),{ssr:!1,loading:s}),ot=o(()=>import("./components/UnlimitedBundlesDiscounts.js"),{ssr:!1,loading:s}),oi=o(()=>import("./components/SimpleBundlesKits.js"),{ssr:!1,loading:s}),or=o(()=>import("./components/ReviewxpoProductReviewsApp.js"),{ssr:!1,loading:s}),oe=o(()=>import("./components/PumperBundlesVolumeDiscount.js"),{ssr:!1,loading:s}),op=o(()=>import("./components/NotifyBackInStockPreOrder.js"),{ssr:!1,loading:s}),om=o(()=>import("./components/ShopifyForms.js"),{ssr:!1,loading:s}),oa=o(()=>import("./components/SkioSubscriptionsYcS20.js"),{ssr:!1,loading:s}),ol=o(()=>import("./components/LoopSubscriptions.js"),{ssr:!1,loading:s}),oc=o(()=>import("./components/RecurpaySubscriptionApp.js"),{ssr:!1,loading:s}),od=o(()=>import("./components/SubifySubscriptionsApp.js"),{ssr:!1,loading:s}),og=o(()=>import("./components/ShopifySubscriptions.js"),{ssr:!1,loading:s}),oj=o(()=>import("./components/BonLoyaltyRewardsReferrals.js"),{ssr:!1,loading:s}),ou=o(()=>import("./components/EasifyProductOptions.js"),{ssr:!1,loading:s}),oB=o(()=>import("./components/CustomProductOptionsVariant.js"),{ssr:!1,loading:s}),oS=o(()=>import("./components/JudgemeReviews.js"),{ssr:!1,loading:s}),oy=o(()=>import("./components/LooxReviews.js"),{ssr:!1,loading:s}),oP=o(()=>import("./components/Instafeed.js"),{ssr:!1,loading:s}),ow=o(()=>import("./components/Klaviyo.js"),{ssr:!1,loading:s}),oR=o(()=>import("./components/YotpoLoyalty.js"),{ssr:!1,loading:s}),oh=o(()=>import("./components/SmartSearchBarAndFilters.js"),{ssr:!1,loading:s}),ov=o(()=>import("./components/ProductReviews.js"),{ssr:!1,loading:s}),ob=o(()=>import("./components/Ryviu.js"),{ssr:!1,loading:s}),ok=o(()=>import("./components/Rivyo.js"),{ssr:!1,loading:s}),of=o(()=>import("./components/Vitals.js"),{ssr:!1,loading:s}),oA=o(()=>import("./components/Omnisend.js"),{ssr:!1,loading:s}),oD=o(()=>import("./components/ParcelPanel.js"),{ssr:!1,loading:s}),oO=o(()=>import("./components/KingProductOptions.js"),{ssr:!1,loading:s}),oC=o(()=>import("./components/TrustMe.js"),{ssr:!1,loading:s}),oF=o(()=>import("./components/Trustoo.js"),{ssr:!1,loading:s}),oT=o(()=>import("./components/SealSubscriptions.js"),{ssr:!1,loading:s}),oL=o(()=>import("./components/AppstleSubscriptions.js"),{ssr:!1,loading:s}),oE=o(()=>import("./components/FeraReviews.js"),{ssr:!1,loading:s}),oI=o(()=>import("./components/Growave.js"),{ssr:!1,loading:s}),oG=o(()=>import("./components/KachingBundles.js"),{ssr:!1,loading:s}),oU=o(()=>import("./components/PushOwl.js"),{ssr:!1,loading:s}),oV=o(()=>import("./components/Opinew.js"),{ssr:!1,loading:s}),oK=o(()=>import("./components/FirePush.js"),{ssr:!1,loading:s}),ox=o(()=>import("./components/AliReviews.js"),{ssr:!1,loading:s}),oM=o(()=>import("./components/UltimateSalesBoost.js"),{ssr:!1,loading:s}),oW=o(()=>import("./components/FrequentlyBoughtTogether.js"),{ssr:!1,loading:s}),oz=o(()=>import("./components/BoldSubscriptions.js"),{ssr:!1,loading:s}),oH=o(()=>import("./components/BoldProductOptions.js"),{ssr:!1,loading:s}),oQ=o(()=>import("./components/WideBundle.js"),{ssr:!1,loading:s}),oY=o(()=>import("./components/PickyStory.js"),{ssr:!1,loading:s}),oq=o(()=>import("./components/InfiniteOptions.js"),{ssr:!1,loading:s}),oN=o(()=>import("./components/Wiser.js"),{ssr:!1,loading:s}),oJ=o(()=>import("./components/Stamped.js"),{ssr:!1,loading:s}),oX=o(()=>import("./components/Bundler.js"),{ssr:!1,loading:s}),oZ=o(()=>import("./components/LaiProductReviews.js"),{ssr:!1,loading:s}),o$=o(()=>import("./components/CrossSellCartUpsell.js"),{ssr:!1,loading:s}),o_=o(()=>import("./components/BoostAISearchDiscovery.js"),{ssr:!1,loading:s}),o1=o(()=>import("./components/YotpoReviews.js"),{ssr:!1,loading:s}),o0=o(()=>import("./components/CleanSizeCharts.js"),{ssr:!1,loading:s}),o2=o(()=>import("./components/Bogos.js"),{ssr:!1,loading:s}),o3=o(()=>import("./components/QikifyUpsell.js"),{ssr:!1,loading:s}),o4=o(()=>import("./components/Releasit.js"),{ssr:!1,loading:s}),o5=o(()=>import("./components/EasySellCOD.js"),{ssr:!1,loading:s}),o6=o(()=>import("./components/BirdChime.js"),{ssr:!1,loading:s}),o7=o(()=>import("./components/RequestQuoteHidePrice.js"),{ssr:!1,loading:s}),o8=o(()=>import("./components/KlarnaMessaging.js"),{ssr:!1,loading:s}),o9=o(()=>import("./components/FordeerProductLabels.js"),{ssr:!1,loading:s}),so=o(()=>import("./components/RechargeSubscriptions.js"),{ssr:!1,loading:s}),ss=o(()=>import("./components/Selleasy.js"),{ssr:!1,loading:s}),sn=o(()=>import("./components/HextomCountdownTimerBar.js"),{ssr:!1,loading:s}),st=o(()=>import("./components/TrustBadgesBear.js"),{ssr:!1,loading:s}),si=o(()=>import("./components/TrustedsiteTrustBadges.js"),{ssr:!1,loading:s}),sr=o(()=>import("./components/GloColorSwatchvariantImage.js"),{ssr:!1,loading:s}),se=o(()=>import("./components/BfSizeChartSizeGuide.js"),{ssr:!1,loading:s}),sp=o(()=>import("./components/AlsoBoughtCbb.js"),{ssr:!1,loading:s}),sm=o(()=>import("./components/HextomFreeShippingBar.js"),{ssr:!1,loading:s}),sa=o(()=>import("./components/EcoboostifyShoppableReelUgc.js"),{ssr:!1,loading:s});var sl={AppstleLoyaltyRewardProgram:n,EssentPreorderBackInStock:t,WcWishlistBackInStock:i,BonySubscriptionsApp:r,GrowthSuiteDiscountCodes:e,KachingSubscriptionsApp:p,BloyRewardsProgramLoyalty:m,DealeasyVolumeDiscounts:a,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:c,AovFreeGiftBuyXGetYBogo:d,EcomsendBackInStockAlert:g,AppstleBundlesDiscounts:j,EcoboostifyShoppableReelUgc:sa,EstimatedDeliveryDatePlus:u,OkendoReviewsLoyalty:B,EssentialAnnouncementBar:S,EssentialCountdownTimerBar:y,StellarDeliveryDatePickup:P,TrustshopProductReviews:w,HulkProductOptions:R,MyappgurusProductReviews:h,TrustreviewsProductReviews:b,DiscountyBulkDiscountSales:v,SeoantTrustBadgesIcon:k,SegunoEmailMarketing:f,AftershipEmailMarketingsms:A,BestBuyFulfillment:D,ProductOptionsVariantOption:O,GloboProductOptionsVariant:C,TeeinblueProductPersonalizer:F,WishlistKing:T,HulkFormBuilder:L,LoloyalLoyaltyReferrals:E,PowerfulContactFormBuilder:I,WishlistPlus:G,InstasellShoppableInstagram:U,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:x,GoogleReviewsByReputon:M,MbcBundleVolumeDiscount:W,ProductOptionsCustomizer:z,AirProductReviewsAppUgc:H,TagembedSocialPostReview:Q,WhatmoreShoppableVideosreel:Y,TagshopShoppableVideosUgc:q,JunipProductReviewsUgc:N,FlyBundlesUpsellsFbt:J,PreorderNowWodPresale:X,PreorderNowPreOrderPq:Z,MaxbundleProductBundles:$,KoalaBundleQuantityDiscount:_,EasyBundleBuilderSkailama:oo,FastBundleBundlesDiscounts:os,KiteFreeGiftDiscount:on,UnlimitedBundlesDiscounts:ot,SimpleBundlesKits:oi,ReviewxpoProductReviewsApp:or,PumperBundlesVolumeDiscount:oe,NotifyBackInStockPreOrder:op,ShopifyForms:om,SkioSubscriptionsYcS20:oa,LoopSubscriptions:ol,Selleasy:ss,RecurpaySubscriptionApp:oc,SubifySubscriptionsApp:od,BonLoyaltyRewardsReferrals:oj,ShopifySubscriptions:og,EasifyProductOptions:ou,CustomProductOptionsVariant:oB,KlarnaMessaging:o8,RechargeSubscriptions:so,EasySellCOD:o5,QikifyUpsell:o3,CleanSizeCharts:o0,JudgemeReviews:oS,LooxReviews:oy,Klaviyo:ow,YotpoLoyalty:oR,SmartSearchBarAndFilters:oh,Instafeed:oP,ProductReviews:ov,Ryviu:ob,Rivyo:ok,Vitals:of,Omnisend:oA,ParcelPanel:oD,TrustMe:oC,KingProductOptions:oO,Trustoo:oF,SealSubscriptions:oT,AppstleSubscriptions:oL,FeraReviews:oE,Growave:oI,KachingBundles:oG,PushOwl:oU,Opinew:oV,UltimateSalesBoost:oM,FirePush:oK,FrequentlyBoughtTogether:oW,BoldSubscriptions:oz,BoldProductOptions:oH,WideBundle:oQ,PickyStory:oY,InfiniteOptions:oq,Wiser:oN,Stamped:oJ,Bundler:oX,LaiProductReviews:oZ,CrossSellCartUpsell:o$,BoostAISearchDiscovery:o_,YotpoReviews:o1,AliReviews:ox,Bogos:o2,Releasit:o4,RequestQuoteHidePrice:o7,BirdChime:o6,FordeerProductLabels:o9,HextomCountdownTimerBar:sn,TrustBadgesBear:st,TrustedsiteTrustBadges:si,GloColorSwatchvariantImage:sr,BfSizeChartSizeGuide:se,AlsoBoughtCbb:sp,HextomFreeShippingBar:sm};export{sl as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AppstleBundlesDiscounts.js";import l from"./uiV2.js";let t={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AppstleBundlesDiscounts.js";import l from"./uiV2.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";let p={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.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/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Appstle℠ Bundles & Discounts</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.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};export{t as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"appstle-bundles-discounts"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/855ee74552c1cca133c12a4364890912",appName:e.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};export{p as default};
@@ -3,4 +3,4 @@ import e from"../../configs/BoldSubscription.js";import l from"./uiV2.js";import
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${e.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${e.label}</span>
5
5
  </div>
6
- `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"add-bold-subscriptions"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"bsub-widget-block",options:[{label:"V1",value:"v1"},{label:"V2",value:"bsub-widget-block"}]},{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};export{i as default};
6
+ `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"add-bold-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/bold-subscriptions-pro",appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"bsub-widget-block",options:[{label:"V1",value:"v1"},{label:"V2",value:"bsub-widget-block"}]},{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};export{i as default};
@@ -1 +1 @@
1
- let t=[{controls:[{layout:"vertical",setting:{id:"install"}}]},{controls:[{label:"Choose widget",setting:{id:"widgetType"}}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};
1
+ let t=[{controls:[{layout:"vertical",setting:{id:"install"}}]},{controls:[{label:"Choose widget",setting:{id:"widgetType"}}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};
@@ -1,4 +1,4 @@
1
1
  import e from"../../configs/GloColorSwatchvariantImage.js";import t from"./uiV2.js";import{get3rdPartyInstallLink as l}from"../../common/helpers.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.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/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">GLO Color Swatch,Variant Image</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Variant Swatches",value:"product-swatches-detail"},{label:"Bundles Quantity Breaks",value:"product-bundles-quantity-breaks"},{label:"Product Bundles Combo",value:"product-bundles-combo"},{label:"Product Groups",value:"product-groups-detail"}],default:"product-swatches-detail"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"globo-product-options-variant"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.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};export{a as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Variant Swatches",value:"product-swatches-detail"},{label:"Bundles Quantity Breaks",value:"product-bundles-quantity-breaks"},{label:"Product Bundles Combo",value:"product-bundles-combo"},{label:"Product Groups",value:"product-groups-detail"}],default:"product-swatches-detail"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"globo-product-options-variant"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/globo-product-options",appName:e.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};export{a as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/HextomCountdownTimerBar.js";import t from"./uiV2.js";let i={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/HextomCountdownTimerBar.js";import t from"./uiV2.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";let o={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.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/904be13e4bba460880341eba1a5579e1/icon/CKCYtc2d5oYDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Hextom: Countdown Timer Bar</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Fsb Custom Placement",value:"fsb-custom-placement"}],default:"fsb-custom-placement"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.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};export{i as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Fsb Custom Placement",value:"fsb-custom-placement"}],default:"fsb-custom-placement"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"hextom-countdown-timer-bar"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/event-promotion-bar",appName:e.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};export{o as default};
@@ -1,4 +1,4 @@
1
1
  import e from"../../configs/LoopSubscriptions.js";import t from"./uiV2.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";let o={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/afedc08b31165df4c41d3d60cc6051dc/icon/COiF1YeknoQDEAE=.jpeg?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.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/afedc08b31165df4c41d3d60cc6051dc/icon/COiF1YeknoQDEAE=.jpeg?width=22&height=22">
3
3
  <span class="preset-item-title">Loop Subscriptions</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Subscription widget",value:"subscription_widget",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Star Rating",value:"star_rating",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"]}],default:"subscription_widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"loop-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"",appName:e.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};export{o as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Subscription widget",value:"subscription_widget",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Star Rating",value:"star_rating",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"]}],default:"subscription_widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"loop-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/afedc08b31165df4c41d3d60cc6051dc",appName:e.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};export{o as default};
@@ -1 +1 @@
1
- let t=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{label:"Choose widget",setting:{id:"widgetType"}}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};
1
+ let t=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{label:"Choose widget",setting:{id:"widgetType"}}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};
@@ -1,4 +1,4 @@
1
1
  import e from"../../configs/RechargeSubscriptions.js";import t from"./uiV2.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";let l={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://ucarecdn.com/c566bfce-491d-4642-817a-6f4ffc023065/-/format/auto/-/preview/3000x3000/-/quality/lighter/?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.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://ucarecdn.com/c566bfce-491d-4642-817a-6f4ffc023065/-/format/auto/-/preview/3000x3000/-/quality/lighter/?width=22&height=22">
3
3
  <span class="preset-item-title">Recharge Subscriptions</span>
4
- </div>`},components:[{tag:e.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:"Subscription Widget",value:"subscription-widget"},{label:"Subscription Widget 2.0",value:"subscription-widget-v2"}],default:"subscription-widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"recharge-subscriptions"}),appName:e.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};export{l as default};
4
+ </div>`},components:[{tag:e.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:"Subscription Widget",value:"subscription-widget"},{label:"Subscription Widget 2.0",value:"subscription-widget-v2"}],default:"subscription-widget"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"recharge-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/0009de8c024a6126315f5dcd4250fd61",appName:e.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};export{l as default};
@@ -1 +1 @@
1
- let t=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{type:"combo",label:"Badge ID",iconName:"polaris-text-block",getValueFromSettingID:"BadgeId",isHideClear:!0,popoverLabel:"Badge ID",controls:[{label:"Content",options:{fullWidth:!0},layout:"vertical",setting:{id:"BadgeId"}}]}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};
1
+ let t=[{controls:[{setting:{id:"install"},layout:"vertical"}]},{controls:[{type:"combo",label:"Badge ID",iconName:"polaris-text-block",getValueFromSettingID:"BadgeId",isHideClear:!0,popoverLabel:"Badge ID",controls:[{label:"Content",options:{fullWidth:!0},layout:"vertical",setting:{id:"BadgeId"}}]}]},{controls:[{setting:{id:"openApp"},layout:"vertical"}]},{controls:[{label:"Align",setting:{id:"align"}}]}];export{t as default};