@gem-sdk/core 12.0.0-dev.131 → 12.0.0-dev.139

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 (439) hide show
  1. package/dist/cjs/components/AddOn.js +1 -1
  2. package/dist/cjs/components/ComponentAnimation.js +1 -1
  3. package/dist/cjs/components/ComponentToolbarPreview.js +1 -1
  4. package/dist/cjs/components/ComponentWrapper.js +1 -1
  5. package/dist/cjs/components/ComponentWrapperPreview.js +1 -1
  6. package/dist/cjs/components/Empty.js +1 -1
  7. package/dist/cjs/components/InteractionSuffix.js +1 -1
  8. package/dist/cjs/components/Render.js +1 -1
  9. package/dist/cjs/components/Render.liquid.js +12 -12
  10. package/dist/cjs/components/RenderBlock.js +1 -1
  11. package/dist/cjs/components/RenderCustomCode.js +3 -3
  12. package/dist/cjs/components/RenderPreview.js +1 -1
  13. package/dist/cjs/components/RenderSection.js +1 -1
  14. package/dist/cjs/components/ai-assistant/AIAssistant.js +1 -1
  15. package/dist/cjs/components/ai-generator/AIContentGenerator.js +1 -1
  16. package/dist/cjs/components/ai-generator/AIGenContentLoading.js +1 -1
  17. package/dist/cjs/components/ai-generator/components/PickProduct.js +1 -1
  18. package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +1 -1
  19. package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +1 -1
  20. package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +1 -1
  21. package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -1
  22. package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +1 -1
  23. package/dist/cjs/components/ai-generator/icons/AIIcon.js +1 -1
  24. package/dist/cjs/components/ai-generator/icons/CloseIcon.js +1 -1
  25. package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +1 -1
  26. package/dist/cjs/components/ai-generator/icons/SearchIcon.js +1 -1
  27. package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +1 -1
  28. package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +1 -1
  29. package/dist/cjs/components/ai-generator/icons/WarningIcon.js +1 -1
  30. package/dist/cjs/components/animation/AnimationWrapper.js +1 -1
  31. package/dist/cjs/components/constant.js +1 -1
  32. package/dist/cjs/components/resize/Resize.js +1 -1
  33. package/dist/cjs/components/resize/Spacing.js +1 -1
  34. package/dist/cjs/components/src/product/helpers/variant-presets.js +1 -1
  35. package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -1
  36. package/dist/cjs/components/theme-section/ThemeSectionStatus.js +1 -1
  37. package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +1 -1
  38. package/dist/cjs/components/toolbar/SectionErrorBanner.js +1 -1
  39. package/dist/cjs/components/toolbar/Tooltip.js +1 -1
  40. package/dist/cjs/components/upgrade-element/UpgradeOldElement.js +1 -1
  41. package/dist/cjs/constants/device.js +1 -1
  42. package/dist/cjs/contexts/AddonContext.js +1 -1
  43. package/dist/cjs/contexts/ArticleContext.js +1 -1
  44. package/dist/cjs/contexts/ArticleListContext.js +1 -1
  45. package/dist/cjs/contexts/BuilderComponent.js +1 -1
  46. package/dist/cjs/contexts/BuilderContext.js +1 -1
  47. package/dist/cjs/contexts/BuilderPreviewContext.js +1 -1
  48. package/dist/cjs/contexts/CartLineContext.js +1 -1
  49. package/dist/cjs/contexts/CollectionContext.js +1 -1
  50. package/dist/cjs/contexts/I18nContext.js +1 -1
  51. package/dist/cjs/contexts/ModalContext.js +1 -1
  52. package/dist/cjs/contexts/PageContext.js +1 -1
  53. package/dist/cjs/contexts/ProductContext.js +1 -1
  54. package/dist/cjs/contexts/ProductListContext.js +1 -1
  55. package/dist/cjs/contexts/SectionContext.js +1 -1
  56. package/dist/cjs/contexts/ShopContext.js +1 -1
  57. package/dist/cjs/graphql/fragments/analytic.generated.js +2 -2
  58. package/dist/cjs/graphql/fragments/collection-detail.generated.js +2 -2
  59. package/dist/cjs/graphql/fragments/collection-product.generated.js +2 -2
  60. package/dist/cjs/graphql/fragments/collection.generated.js +2 -2
  61. package/dist/cjs/graphql/fragments/custom-code.generated.js +2 -2
  62. package/dist/cjs/graphql/fragments/custom-font.generated.js +2 -2
  63. package/dist/cjs/graphql/fragments/data-seo.generated.js +2 -2
  64. package/dist/cjs/graphql/fragments/media.generated.js +2 -2
  65. package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +2 -2
  66. package/dist/cjs/graphql/fragments/product-list-select.generated.js +2 -2
  67. package/dist/cjs/graphql/fragments/product-little.generated.js +2 -2
  68. package/dist/cjs/graphql/fragments/product-option-value.generated.js +2 -2
  69. package/dist/cjs/graphql/fragments/product-option.generated.js +2 -2
  70. package/dist/cjs/graphql/fragments/product-variants-with-selling-plans-select.generated.js +2 -2
  71. package/dist/cjs/graphql/fragments/product.generated.js +2 -2
  72. package/dist/cjs/graphql/fragments/published-custom-section.generated.js +2 -2
  73. package/dist/cjs/graphql/fragments/published-page-section.generated.js +2 -2
  74. package/dist/cjs/graphql/fragments/published-theme-page.generated.js +2 -2
  75. package/dist/cjs/graphql/fragments/published-theme-style.generated.js +2 -2
  76. package/dist/cjs/graphql/fragments/selected-option.generated.js +2 -2
  77. package/dist/cjs/graphql/fragments/variant.generated.js +2 -2
  78. package/dist/cjs/graphql/mutations/page-view-up.generated.js +2 -2
  79. package/dist/cjs/graphql/queries/articles.generated.js +2 -2
  80. package/dist/cjs/graphql/queries/blogs.generated.js +2 -2
  81. package/dist/cjs/graphql/queries/collection-detail-filter.generated.js +9 -9
  82. package/dist/cjs/graphql/queries/collection.generated.js +8 -8
  83. package/dist/cjs/graphql/queries/collections.generated.js +3 -3
  84. package/dist/cjs/graphql/queries/preview-page.generated.js +6 -6
  85. package/dist/cjs/graphql/queries/product-little-detail.generated.js +5 -5
  86. package/dist/cjs/graphql/queries/product-medias.generated.js +2 -2
  87. package/dist/cjs/graphql/queries/product-value-label.generated.js +2 -2
  88. package/dist/cjs/graphql/queries/product-variant-with-selling-plans.generated.js +4 -4
  89. package/dist/cjs/graphql/queries/product-variants.generated.js +4 -4
  90. package/dist/cjs/graphql/queries/products-with-selling-plans.generated.js +8 -8
  91. package/dist/cjs/graphql/queries/products.generated.js +7 -7
  92. package/dist/cjs/graphql/queries/published-shop-metas.generated.js +2 -2
  93. package/dist/cjs/graphql/queries/published-theme-pages.generated.js +9 -9
  94. package/dist/cjs/graphql/queries/shop-shopify.generated.js +2 -2
  95. package/dist/cjs/graphql/queries/store-property.generated.js +2 -2
  96. package/dist/cjs/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -2
  97. package/dist/cjs/graphql-app-api/queries/LibraryTemplate.generated.js +2 -2
  98. package/dist/cjs/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -2
  99. package/dist/cjs/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -2
  100. package/dist/cjs/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -2
  101. package/dist/cjs/graphql-app-api/queries/ThemePage.generated.js +2 -2
  102. package/dist/cjs/graphql-app-api/queries/ThemePageMeta.generated.js +2 -2
  103. package/dist/cjs/helpers/GlobalEvent.js +1 -1
  104. package/dist/cjs/helpers/align.js +1 -1
  105. package/dist/cjs/helpers/animations.js +1 -1
  106. package/dist/cjs/helpers/background.js +1 -1
  107. package/dist/cjs/helpers/backgroundImage.js +1 -1
  108. package/dist/cjs/helpers/borders.js +4 -4
  109. package/dist/cjs/helpers/carousel.js +1 -1
  110. package/dist/cjs/helpers/clone-deep.js +1 -1
  111. package/dist/cjs/helpers/cls.js +1 -1
  112. package/dist/cjs/helpers/colors.js +1 -1
  113. package/dist/cjs/helpers/compose-advance-style.js +1 -1
  114. package/dist/cjs/helpers/composeClasses.js +1 -1
  115. package/dist/cjs/helpers/const.js +1 -1
  116. package/dist/cjs/helpers/constant.js +1 -1
  117. package/dist/cjs/helpers/convert.js +1 -1
  118. package/dist/cjs/helpers/covert-entities-html.js +1 -1
  119. package/dist/cjs/helpers/create-store-front-fetcher.js +1 -1
  120. package/dist/cjs/helpers/css-variable.js +1 -1
  121. package/dist/cjs/helpers/email.js +1 -1
  122. package/dist/cjs/helpers/filter-styles.js +1 -1
  123. package/dist/cjs/helpers/filter-toolbar-preview.js +1 -1
  124. package/dist/cjs/helpers/flatten-connection.js +1 -1
  125. package/dist/cjs/helpers/get-resonsive-value.js +1 -1
  126. package/dist/cjs/helpers/get-shortname.js +1 -1
  127. package/dist/cjs/helpers/icon-list.js +1 -1
  128. package/dist/cjs/helpers/interaction/index.js +1 -1
  129. package/dist/cjs/helpers/is-browser.js +1 -1
  130. package/dist/cjs/helpers/is-defined.js +1 -1
  131. package/dist/cjs/helpers/is-empty-children.js +1 -1
  132. package/dist/cjs/helpers/is-safari.js +1 -1
  133. package/dist/cjs/helpers/layout.js +1 -1
  134. package/dist/cjs/helpers/liquid.js +1 -1
  135. package/dist/cjs/helpers/load-script.js +1 -1
  136. package/dist/cjs/helpers/loop-component.js +1 -1
  137. package/dist/cjs/helpers/make-style.js +1 -1
  138. package/dist/cjs/helpers/normalize-builder-data.js +1 -1
  139. package/dist/cjs/helpers/pascal-to-kebab-case.js +1 -1
  140. package/dist/cjs/helpers/prefetch-queries.js +1 -1
  141. package/dist/cjs/helpers/product.js +1 -1
  142. package/dist/cjs/helpers/queries/get-collection.js +1 -1
  143. package/dist/cjs/helpers/queries/get-collections.js +1 -1
  144. package/dist/cjs/helpers/queries/get-product-by-slug.js +1 -1
  145. package/dist/cjs/helpers/queries/get-product.js +1 -1
  146. package/dist/cjs/helpers/queries/get-products.js +1 -1
  147. package/dist/cjs/helpers/queries/getProductOffers.js +1 -1
  148. package/dist/cjs/helpers/query.js +1 -1
  149. package/dist/cjs/helpers/radius.js +5 -5
  150. package/dist/cjs/helpers/render.js +1 -1
  151. package/dist/cjs/helpers/shadow.js +1 -1
  152. package/dist/cjs/helpers/size.js +3 -3
  153. package/dist/cjs/helpers/spacing.js +1 -1
  154. package/dist/cjs/helpers/third-party/addAppBlockId.js +1 -1
  155. package/dist/cjs/helpers/third-party/appConfig.js +1 -1
  156. package/dist/cjs/helpers/third-party/appSetting.js +1 -1
  157. package/dist/cjs/helpers/third-party/composeAppBlockId.js +1 -1
  158. package/dist/cjs/helpers/third-party/constant.js +1 -1
  159. package/dist/cjs/helpers/third-party/generateAppBlockConfigs.js +1 -1
  160. package/dist/cjs/helpers/third-party/getAppBlockType.js +1 -1
  161. package/dist/cjs/helpers/third-party/getAppBlocks.js +1 -1
  162. package/dist/cjs/helpers/third-party/mergeBlock.js +1 -1
  163. package/dist/cjs/helpers/third-party/mergeBlockOrder.js +1 -1
  164. package/dist/cjs/helpers/third-party/removeGPAppItems.js +1 -1
  165. package/dist/cjs/helpers/tracking/fpixel.js +1 -1
  166. package/dist/cjs/helpers/tracking/gtag.js +1 -1
  167. package/dist/cjs/helpers/tracking/tiktokpixel.js +1 -1
  168. package/dist/cjs/helpers/typography.js +19 -19
  169. package/dist/cjs/helpers/variant.js +1 -1
  170. package/dist/cjs/helpers/verify-external-link.js +1 -1
  171. package/dist/cjs/hooks/animation/animations.js +1 -1
  172. package/dist/cjs/hooks/animation/useAnimationActions.js +1 -1
  173. package/dist/cjs/hooks/animation/useAnimationConfig.js +1 -1
  174. package/dist/cjs/hooks/animation/useAnimationPreview.js +1 -1
  175. package/dist/cjs/hooks/animation/useAnimationTarget.js +1 -1
  176. package/dist/cjs/hooks/animation/useApplyAnimation.js +1 -1
  177. package/dist/cjs/hooks/animation/useLivePageAnimation.js +1 -1
  178. package/dist/cjs/hooks/articles/useArticlesQuery.js +1 -1
  179. package/dist/cjs/hooks/cart/use-add-to-cart.js +1 -2
  180. package/dist/cjs/hooks/cart/use-cart-data.js +1 -1
  181. package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +1 -1
  182. package/dist/cjs/hooks/cart/use-cart-note-update.js +1 -1
  183. package/dist/cjs/hooks/cart/use-create-cart.js +1 -1
  184. package/dist/cjs/hooks/cart/use-remove-cart-item.js +1 -1
  185. package/dist/cjs/hooks/cart/use-update-cart-item.js +1 -1
  186. package/dist/cjs/hooks/shop/use-collection-query.js +1 -1
  187. package/dist/cjs/hooks/shop/use-collections-query.js +1 -1
  188. package/dist/cjs/hooks/shop/use-product-query.js +1 -1
  189. package/dist/cjs/hooks/shop/use-products-query.js +1 -1
  190. package/dist/cjs/hooks/shop/useProductOffersQuery.js +1 -1
  191. package/dist/cjs/hooks/shop/useShopifyLink.js +1 -1
  192. package/dist/cjs/hooks/shop.js +1 -1
  193. package/dist/cjs/hooks/use-current-device.js +1 -1
  194. package/dist/cjs/hooks/use-lazy-video.js +1 -1
  195. package/dist/cjs/hooks/useAnimations.js +1 -1
  196. package/dist/cjs/hooks/useCartId.js +1 -1
  197. package/dist/cjs/hooks/useCartLine.js +1 -2
  198. package/dist/cjs/hooks/useCartUI.js +1 -1
  199. package/dist/cjs/hooks/useCollection.js +1 -1
  200. package/dist/cjs/hooks/useFetchHandle.js +1 -1
  201. package/dist/cjs/hooks/useFormatMoney.js +1 -1
  202. package/dist/cjs/hooks/useI18n.js +1 -1
  203. package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -1
  204. package/dist/cjs/hooks/useInteraction.js +1 -1
  205. package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +1 -1
  206. package/dist/cjs/hooks/useLoadScript.js +1 -1
  207. package/dist/cjs/hooks/useMoney.js +1 -1
  208. package/dist/cjs/hooks/usePreviewSharePage.js +1 -1
  209. package/dist/cjs/hooks/usePrevious.js +1 -1
  210. package/dist/cjs/hooks/useProduct.js +1 -1
  211. package/dist/cjs/hooks/useRenderMode.js +1 -1
  212. package/dist/cjs/hooks/useStickyStore.js +1 -1
  213. package/dist/cjs/hooks/useSuspenseFetch.js +1 -1
  214. package/dist/cjs/hooks/useSwatchesOptions.js +1 -1
  215. package/dist/cjs/hooks/useToolbarPostPurchase.js +1 -1
  216. package/dist/cjs/index.js +1 -1
  217. package/dist/cjs/types/global-style.js +1 -1
  218. package/dist/esm/components/AddOn.js +1 -1
  219. package/dist/esm/components/ComponentAnimation.js +1 -1
  220. package/dist/esm/components/ComponentToolbarPreview.js +1 -1
  221. package/dist/esm/components/ComponentWrapper.js +1 -1
  222. package/dist/esm/components/ComponentWrapperPreview.js +1 -1
  223. package/dist/esm/components/Empty.js +1 -1
  224. package/dist/esm/components/InteractionSuffix.js +1 -1
  225. package/dist/esm/components/Render.js +1 -1
  226. package/dist/esm/components/Render.liquid.js +11 -11
  227. package/dist/esm/components/RenderBlock.js +1 -1
  228. package/dist/esm/components/RenderCustomCode.js +2 -2
  229. package/dist/esm/components/RenderPreview.js +1 -1
  230. package/dist/esm/components/RenderSection.js +1 -1
  231. package/dist/esm/components/ai-assistant/AIAssistant.js +1 -1
  232. package/dist/esm/components/ai-generator/AIContentGenerator.js +1 -1
  233. package/dist/esm/components/ai-generator/AIGenContentLoading.js +1 -1
  234. package/dist/esm/components/ai-generator/components/PickProduct.js +1 -1
  235. package/dist/esm/components/ai-generator/components/ToneAndVoice.js +1 -1
  236. package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +1 -1
  237. package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +1 -1
  238. package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +1 -1
  239. package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +1 -1
  240. package/dist/esm/components/ai-generator/icons/AIIcon.js +1 -1
  241. package/dist/esm/components/ai-generator/icons/CloseIcon.js +1 -1
  242. package/dist/esm/components/ai-generator/icons/DropdownIcon.js +1 -1
  243. package/dist/esm/components/ai-generator/icons/SearchIcon.js +1 -1
  244. package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +1 -1
  245. package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +1 -1
  246. package/dist/esm/components/ai-generator/icons/WarningIcon.js +1 -1
  247. package/dist/esm/components/animation/AnimationWrapper.js +1 -1
  248. package/dist/esm/components/constant.js +1 -1
  249. package/dist/esm/components/resize/Resize.js +1 -1
  250. package/dist/esm/components/resize/Spacing.js +1 -1
  251. package/dist/esm/components/src/product/helpers/variant-presets.js +1 -1
  252. package/dist/esm/components/theme-section/CreateThemeSection.js +1 -1
  253. package/dist/esm/components/theme-section/ThemeSectionStatus.js +1 -1
  254. package/dist/esm/components/theme-section/ThemeSectionTooltip.js +1 -1
  255. package/dist/esm/components/toolbar/SectionErrorBanner.js +1 -1
  256. package/dist/esm/components/toolbar/Tooltip.js +1 -1
  257. package/dist/esm/components/upgrade-element/UpgradeOldElement.js +1 -1
  258. package/dist/esm/constants/device.js +1 -1
  259. package/dist/esm/contexts/AddonContext.js +1 -1
  260. package/dist/esm/contexts/ArticleContext.js +1 -1
  261. package/dist/esm/contexts/ArticleListContext.js +1 -1
  262. package/dist/esm/contexts/BuilderComponent.js +1 -1
  263. package/dist/esm/contexts/BuilderContext.js +1 -1
  264. package/dist/esm/contexts/BuilderPreviewContext.js +1 -1
  265. package/dist/esm/contexts/CartLineContext.js +1 -1
  266. package/dist/esm/contexts/CollectionContext.js +1 -1
  267. package/dist/esm/contexts/I18nContext.js +1 -1
  268. package/dist/esm/contexts/ModalContext.js +1 -1
  269. package/dist/esm/contexts/PageContext.js +1 -1
  270. package/dist/esm/contexts/ProductContext.js +1 -1
  271. package/dist/esm/contexts/ProductListContext.js +1 -1
  272. package/dist/esm/contexts/SectionContext.js +1 -1
  273. package/dist/esm/contexts/ShopContext.js +1 -1
  274. package/dist/esm/graphql/fragments/analytic.generated.js +2 -2
  275. package/dist/esm/graphql/fragments/collection-detail.generated.js +2 -2
  276. package/dist/esm/graphql/fragments/collection-product.generated.js +2 -2
  277. package/dist/esm/graphql/fragments/collection.generated.js +2 -2
  278. package/dist/esm/graphql/fragments/custom-code.generated.js +2 -2
  279. package/dist/esm/graphql/fragments/custom-font.generated.js +2 -2
  280. package/dist/esm/graphql/fragments/data-seo.generated.js +2 -2
  281. package/dist/esm/graphql/fragments/media.generated.js +2 -2
  282. package/dist/esm/graphql/fragments/preview-theme-page.generated.js +2 -2
  283. package/dist/esm/graphql/fragments/product-list-select.generated.js +2 -2
  284. package/dist/esm/graphql/fragments/product-little.generated.js +2 -2
  285. package/dist/esm/graphql/fragments/product-option-value.generated.js +2 -2
  286. package/dist/esm/graphql/fragments/product-option.generated.js +2 -2
  287. package/dist/esm/graphql/fragments/product-variants-with-selling-plans-select.generated.js +2 -2
  288. package/dist/esm/graphql/fragments/product.generated.js +2 -2
  289. package/dist/esm/graphql/fragments/published-custom-section.generated.js +2 -2
  290. package/dist/esm/graphql/fragments/published-page-section.generated.js +2 -2
  291. package/dist/esm/graphql/fragments/published-theme-page.generated.js +2 -2
  292. package/dist/esm/graphql/fragments/published-theme-style.generated.js +2 -2
  293. package/dist/esm/graphql/fragments/selected-option.generated.js +2 -2
  294. package/dist/esm/graphql/fragments/variant.generated.js +2 -2
  295. package/dist/esm/graphql/mutations/page-view-up.generated.js +2 -2
  296. package/dist/esm/graphql/queries/articles.generated.js +2 -2
  297. package/dist/esm/graphql/queries/blogs.generated.js +2 -2
  298. package/dist/esm/graphql/queries/collection-detail-filter.generated.js +2 -2
  299. package/dist/esm/graphql/queries/collection.generated.js +2 -2
  300. package/dist/esm/graphql/queries/collections.generated.js +2 -2
  301. package/dist/esm/graphql/queries/preview-page.generated.js +2 -2
  302. package/dist/esm/graphql/queries/product-little-detail.generated.js +3 -3
  303. package/dist/esm/graphql/queries/product-medias.generated.js +2 -2
  304. package/dist/esm/graphql/queries/product-value-label.generated.js +2 -2
  305. package/dist/esm/graphql/queries/product-variant-with-selling-plans.generated.js +2 -2
  306. package/dist/esm/graphql/queries/product-variants.generated.js +2 -2
  307. package/dist/esm/graphql/queries/products-with-selling-plans.generated.js +4 -4
  308. package/dist/esm/graphql/queries/products.generated.js +2 -2
  309. package/dist/esm/graphql/queries/published-shop-metas.generated.js +2 -2
  310. package/dist/esm/graphql/queries/published-theme-pages.generated.js +2 -2
  311. package/dist/esm/graphql/queries/shop-shopify.generated.js +2 -2
  312. package/dist/esm/graphql/queries/store-property.generated.js +2 -2
  313. package/dist/esm/graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js +2 -2
  314. package/dist/esm/graphql-app-api/queries/LibraryTemplate.generated.js +2 -2
  315. package/dist/esm/graphql-app-api/queries/SaleFunnelDiscounts.generated.js +2 -2
  316. package/dist/esm/graphql-app-api/queries/SaleFunnelOffer.generated.js +2 -2
  317. package/dist/esm/graphql-app-api/queries/ShopLibraryPage.generated.js +2 -2
  318. package/dist/esm/graphql-app-api/queries/ThemePage.generated.js +2 -2
  319. package/dist/esm/graphql-app-api/queries/ThemePageMeta.generated.js +2 -2
  320. package/dist/esm/helpers/GlobalEvent.js +1 -1
  321. package/dist/esm/helpers/align.js +1 -1
  322. package/dist/esm/helpers/animations.js +1 -1
  323. package/dist/esm/helpers/background.js +1 -1
  324. package/dist/esm/helpers/backgroundImage.js +1 -1
  325. package/dist/esm/helpers/borders.js +3 -3
  326. package/dist/esm/helpers/carousel.js +1 -1
  327. package/dist/esm/helpers/clone-deep.js +1 -1
  328. package/dist/esm/helpers/cls.js +1 -1
  329. package/dist/esm/helpers/colors.js +1 -1
  330. package/dist/esm/helpers/compose-advance-style.js +1 -1
  331. package/dist/esm/helpers/composeClasses.js +1 -1
  332. package/dist/esm/helpers/const.js +1 -1
  333. package/dist/esm/helpers/constant.js +1 -1
  334. package/dist/esm/helpers/convert.js +1 -1
  335. package/dist/esm/helpers/covert-entities-html.js +1 -1
  336. package/dist/esm/helpers/create-store-front-fetcher.js +1 -1
  337. package/dist/esm/helpers/css-variable.js +1 -1
  338. package/dist/esm/helpers/email.js +1 -1
  339. package/dist/esm/helpers/filter-styles.js +1 -1
  340. package/dist/esm/helpers/filter-toolbar-preview.js +1 -1
  341. package/dist/esm/helpers/flatten-connection.js +1 -1
  342. package/dist/esm/helpers/get-resonsive-value.js +1 -1
  343. package/dist/esm/helpers/get-shortname.js +1 -1
  344. package/dist/esm/helpers/icon-list.js +1 -1
  345. package/dist/esm/helpers/interaction/index.js +1 -1
  346. package/dist/esm/helpers/is-browser.js +1 -1
  347. package/dist/esm/helpers/is-defined.js +1 -1
  348. package/dist/esm/helpers/is-empty-children.js +1 -1
  349. package/dist/esm/helpers/is-safari.js +1 -1
  350. package/dist/esm/helpers/layout.js +1 -1
  351. package/dist/esm/helpers/liquid.js +1 -1
  352. package/dist/esm/helpers/load-script.js +1 -1
  353. package/dist/esm/helpers/loop-component.js +1 -1
  354. package/dist/esm/helpers/make-style.js +1 -1
  355. package/dist/esm/helpers/normalize-builder-data.js +1 -1
  356. package/dist/esm/helpers/pascal-to-kebab-case.js +1 -1
  357. package/dist/esm/helpers/prefetch-queries.js +1 -1
  358. package/dist/esm/helpers/product.js +1 -1
  359. package/dist/esm/helpers/queries/get-collection.js +1 -1
  360. package/dist/esm/helpers/queries/get-collections.js +1 -1
  361. package/dist/esm/helpers/queries/get-product-by-slug.js +1 -1
  362. package/dist/esm/helpers/queries/get-product.js +1 -1
  363. package/dist/esm/helpers/queries/get-products.js +1 -1
  364. package/dist/esm/helpers/queries/getProductOffers.js +1 -1
  365. package/dist/esm/helpers/query.js +1 -1
  366. package/dist/esm/helpers/radius.js +6 -6
  367. package/dist/esm/helpers/render.js +1 -1
  368. package/dist/esm/helpers/shadow.js +1 -1
  369. package/dist/esm/helpers/size.js +4 -4
  370. package/dist/esm/helpers/spacing.js +1 -1
  371. package/dist/esm/helpers/third-party/addAppBlockId.js +1 -1
  372. package/dist/esm/helpers/third-party/appConfig.js +1 -1
  373. package/dist/esm/helpers/third-party/appSetting.js +1 -1
  374. package/dist/esm/helpers/third-party/composeAppBlockId.js +1 -1
  375. package/dist/esm/helpers/third-party/constant.js +1 -1
  376. package/dist/esm/helpers/third-party/generateAppBlockConfigs.js +1 -1
  377. package/dist/esm/helpers/third-party/getAppBlockType.js +1 -1
  378. package/dist/esm/helpers/third-party/getAppBlocks.js +1 -1
  379. package/dist/esm/helpers/third-party/mergeBlock.js +1 -1
  380. package/dist/esm/helpers/third-party/mergeBlockOrder.js +1 -1
  381. package/dist/esm/helpers/third-party/removeGPAppItems.js +1 -1
  382. package/dist/esm/helpers/tracking/fpixel.js +1 -1
  383. package/dist/esm/helpers/tracking/gtag.js +1 -1
  384. package/dist/esm/helpers/tracking/tiktokpixel.js +1 -1
  385. package/dist/esm/helpers/typography.js +19 -19
  386. package/dist/esm/helpers/variant.js +1 -1
  387. package/dist/esm/helpers/verify-external-link.js +1 -1
  388. package/dist/esm/hooks/animation/animations.js +1 -1
  389. package/dist/esm/hooks/animation/useAnimationActions.js +1 -1
  390. package/dist/esm/hooks/animation/useAnimationConfig.js +1 -1
  391. package/dist/esm/hooks/animation/useAnimationPreview.js +1 -1
  392. package/dist/esm/hooks/animation/useAnimationTarget.js +1 -1
  393. package/dist/esm/hooks/animation/useApplyAnimation.js +1 -1
  394. package/dist/esm/hooks/animation/useLivePageAnimation.js +1 -1
  395. package/dist/esm/hooks/articles/useArticlesQuery.js +1 -1
  396. package/dist/esm/hooks/cart/use-add-to-cart.js +1 -2
  397. package/dist/esm/hooks/cart/use-cart-data.js +1 -1
  398. package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +1 -1
  399. package/dist/esm/hooks/cart/use-cart-note-update.js +1 -1
  400. package/dist/esm/hooks/cart/use-create-cart.js +1 -1
  401. package/dist/esm/hooks/cart/use-remove-cart-item.js +1 -1
  402. package/dist/esm/hooks/cart/use-update-cart-item.js +1 -1
  403. package/dist/esm/hooks/shop/use-collection-query.js +1 -1
  404. package/dist/esm/hooks/shop/use-collections-query.js +1 -1
  405. package/dist/esm/hooks/shop/use-product-query.js +1 -1
  406. package/dist/esm/hooks/shop/use-products-query.js +1 -1
  407. package/dist/esm/hooks/shop/useProductOffersQuery.js +1 -1
  408. package/dist/esm/hooks/shop/useShopifyLink.js +1 -1
  409. package/dist/esm/hooks/shop.js +1 -1
  410. package/dist/esm/hooks/use-current-device.js +1 -1
  411. package/dist/esm/hooks/use-lazy-video.js +1 -1
  412. package/dist/esm/hooks/useAnimations.js +1 -1
  413. package/dist/esm/hooks/useCartId.js +1 -1
  414. package/dist/esm/hooks/useCartLine.js +1 -2
  415. package/dist/esm/hooks/useCartUI.js +1 -1
  416. package/dist/esm/hooks/useCollection.js +1 -1
  417. package/dist/esm/hooks/useFetchHandle.js +1 -1
  418. package/dist/esm/hooks/useFormatMoney.js +1 -1
  419. package/dist/esm/hooks/useI18n.js +1 -1
  420. package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -1
  421. package/dist/esm/hooks/useInteraction.js +1 -1
  422. package/dist/esm/hooks/useIsomorphicLayoutEffect.js +1 -1
  423. package/dist/esm/hooks/useLoadScript.js +1 -1
  424. package/dist/esm/hooks/useMoney.js +1 -1
  425. package/dist/esm/hooks/usePreviewSharePage.js +1 -1
  426. package/dist/esm/hooks/usePrevious.js +1 -1
  427. package/dist/esm/hooks/useProduct.js +1 -1
  428. package/dist/esm/hooks/useRenderMode.js +1 -1
  429. package/dist/esm/hooks/useStickyStore.js +1 -1
  430. package/dist/esm/hooks/useSuspenseFetch.js +1 -1
  431. package/dist/esm/hooks/useSwatchesOptions.js +1 -1
  432. package/dist/esm/hooks/useToolbarPostPurchase.js +1 -1
  433. package/dist/esm/index.js +1 -1
  434. package/dist/esm/types/animations.js +1 -1
  435. package/dist/esm/types/builder.js +1 -1
  436. package/dist/esm/types/custom.js +1 -1
  437. package/dist/esm/types/global-style.js +1 -1
  438. package/dist/types/index.d.ts +5024 -7028
  439. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import{DEVICES as e,EMPTY_DEVICE_VALUE as r}from"../constants/device.js";import{devicesMapping as s,stateMapping as t}from"./constant.js";import{makeStyle as a}from"./make-style.js";let getCornerCSSFromGlobal=e=>e?.radiusType?["custom","circle"].includes(e?.radiusType)?a({bblr:e.bblr,bbrr:e.bbrr,btlr:e.btlr,btrr:e.btrr}):a({radius:`var(--g-radius-${e?.radiusType})`}):{},getRadiusCSSFromGlobal=(e,r,a)=>{if(!r||!e)return{};let o=a&&"desktop"!==a?s?.[a]:"",i=t?.[e];return{[`-${i}-radius${o}`]:`var(--g-radius-${r})`}},getCustomRadius=(e,r,a)=>{let o=["custom","pill","rounded","single","none","circle","square"];if(!r||!e||!o.includes(r?.radiusType??""))return{};let i=a&&"desktop"!==a?s?.[a]:"",u=t?.[e];return{[`-${u}-bblr${i}`]:r.bblr,[`-${u}-bbrr${i}`]:r.bbrr,[`-${u}-btlr${i}`]:r.btlr,[`-${u}-btrr${i}`]:r.btrr}},composeRadius=(e,s)=>e?"desktop"in e||"tablet"in e||"mobile"in e?composeRadiusResponsiveState(e,s):composeRadiusState(e,r,s):{},composeRadiusResponsive=e=>{let r={};return Object.assign(r,getCustomRadius("normal",e?.desktop,"desktop")),Object.assign(r,getCustomRadius("normal",e?.tablet,"tablet")),Object.assign(r,getCustomRadius("normal",e?.mobile,"mobile")),r},composeRadiusState=(e,r,s=["normal","hover","focus","active"])=>{let t={};for(let a of s){let s=e?.[a]||e?.normal;if(s)switch(s.radiusType){case"medium":case"large":case"small":Object.assign(t,getRadiusCSSFromGlobal(a,s.radiusType,r));break;default:Object.assign(t,getCustomRadius(a,s,r))}}return t},composeRadiusResponsiveState=(r,s)=>r?e.reduce((e,t)=>{let a=r[t];return a&&Object.assign(e,composeRadiusState(a,t,s)),e},{}):{},getRadiusStyleActiveState=e=>{let r=["circle","square","rounded","none","custom"],s=e?.active||e?.normal;return r.includes(s?.radiusType||"")?getCustomRadius("normal",s):getRadiusCSSFromGlobal("normal",s?.radiusType)},composeCornerCss=(e,s=!1)=>{if(!e)return"";let{radiusType:t,bblr:a,bbrr:o,btlr:i,btrr:u}=e,l=s?" !important":"",d=r;switch(t){case"medium":case"large":case"small":d=`border-radius: var(--g-radius-${t});`;break;case"circle":case"square":case"none":case"rounded":case"custom":d=`
2
- ${a?`border-bottom-left-radius: ${a}${l};`:""}
3
- ${o?`border-bottom-right-radius: ${o}${l};`:""}
4
- ${i?`border-top-left-radius: ${i}${l};`:""}
5
- ${u?`border-top-right-radius: ${u}${l};`:""}
6
- `}return d};export{composeCornerCss,composeRadius,composeRadiusResponsive,getCornerCSSFromGlobal,getCustomRadius,getRadiusCSSFromGlobal,getRadiusStyleActiveState};
1
+ import{DEVICES as r,EMPTY_DEVICE_VALUE as e}from"../constants/device.js";import{stateMapping as t,devicesMapping as s}from"./constant.js";import{makeStyle as a}from"./make-style.js";let o=r=>r?.radiusType?["custom","circle"].includes(r?.radiusType)?a({bblr:r.bblr,bbrr:r.bbrr,btlr:r.btlr,btrr:r.btrr}):a({radius:`var(--g-radius-${r?.radiusType})`}):{},i=(r,e,a)=>{if(!e||!r)return{};let o=a&&"desktop"!==a?s?.[a]:"",i=t?.[r];return{[`-${i}-radius${o}`]:`var(--g-radius-${e})`}},l=(r,e,a)=>{if(!e||!r||!["custom","pill","rounded","single","none","circle","square"].includes(e?.radiusType??""))return{};let o=a&&"desktop"!==a?s?.[a]:"",i=t?.[r];return{[`-${i}-bblr${o}`]:e.bblr,[`-${i}-bbrr${o}`]:e.bbrr,[`-${i}-btlr${o}`]:e.btlr,[`-${i}-btrr${o}`]:e.btrr}},u=(r,t)=>r?"desktop"in r||"tablet"in r||"mobile"in r?d(r,t):b(r,e,t):{},n=r=>{let e={};return Object.assign(e,l("normal",r?.desktop,"desktop")),Object.assign(e,l("normal",r?.tablet,"tablet")),Object.assign(e,l("normal",r?.mobile,"mobile")),e},b=(r,e,t=["normal","hover","focus","active"])=>{let s={};for(let a of t){let t=r?.[a]||r?.normal;if(t)switch(t.radiusType){case"medium":case"large":case"small":Object.assign(s,i(a,t.radiusType,e));break;default:Object.assign(s,l(a,t,e))}}return s},d=(e,t)=>e?r.reduce((r,s)=>{let a=e[s];return a&&Object.assign(r,b(a,s,t)),r},{}):{},c=r=>{let e=r?.active||r?.normal;return["circle","square","rounded","none","custom"].includes(e?.radiusType||"")?l("normal",e):i("normal",e?.radiusType)},m=(r,t=!1)=>{if(!r)return"";let{radiusType:s,bblr:a,bbrr:o,btlr:i,btrr:l}=r,u=t?" !important":"",n=e;switch(s){case"medium":case"large":case"small":n=`border-radius: var(--g-radius-${s});`;break;case"circle":case"square":case"none":case"rounded":case"custom":n=`
2
+ ${a?`border-bottom-left-radius: ${a}${u};`:""}
3
+ ${o?`border-bottom-right-radius: ${o}${u};`:""}
4
+ ${i?`border-top-left-radius: ${i}${u};`:""}
5
+ ${l?`border-top-right-radius: ${l}${u};`:""}
6
+ `}return n};export{m as composeCornerCss,u as composeRadius,n as composeRadiusResponsive,o as getCornerCSSFromGlobal,l as getCustomRadius,i as getRadiusCSSFromGlobal,c as getRadiusStyleActiveState};
@@ -1 +1 @@
1
- let RenderIf=(e,t,r)=>e?"string"==typeof t?t:t():("string"==typeof r?r:r?.())??"",isObject=e=>!("object"!=typeof e||Array.isArray(e))&&null!==e,props=(e,...t)=>{let r=t[0],s=[];for(let e in r)if(Object.hasOwnProperty.call(r,e)){let t=r[e];["symbol","object","function"].includes(typeof t)||(t?s.push(`${e}="${t}"`):s.push(`${e}`))}return s.join(" ")},styles=(e,...t)=>{let r=t[0],s=[];for(let e in r)if(Object.hasOwnProperty.call(r,e)){let t=r[e];void 0!==t&&!1!==t&&s.push(`${e}:${t}`)}return s.join(";")},dataStringify=e=>JSON.stringify(e).replace(/\\"/g,'"'),template=(e,...t)=>{let r="";return e.forEach((e,s)=>{r+=e,void 0!==t[s]&&(isObject(t[s])?/style=["|']/.test(e)?r+=styles`${t[s]}`:r+=props`${t[s]}`:r+=t[s])}),r=(r=r.replaceAll('style=""',"")).replaceAll('class=""',"")},composeMemo=(e,t)=>e(),removeUndefinedValuesFromObject=e=>(Object.keys(e).forEach(t=>e?.[t]===void 0&&delete e[t]),e);function sanitizeLiquid(e){return e.replace(/\{\{\s*(.*?)\s*\}\}/g,(e,t)=>{let r=t.trim(),s=/^([a-zA-Z_][a-zA-Z0-9_-]*)(\.[a-zA-Z0-9_-]+)*$/i.test(r);return s?`{{ ${r} }}`:r})}export{RenderIf,composeMemo,dataStringify,props,removeUndefinedValuesFromObject,sanitizeLiquid,styles,template};
1
+ let e=(e,t,r)=>e?"string"==typeof t?t:t():("string"==typeof r?r:r?.())??"",t=e=>!("object"!=typeof e||Array.isArray(e))&&null!==e,r=(e,...t)=>{let r=t[0],l=[];for(let e in r)if(Object.hasOwnProperty.call(r,e)){let t=r[e];["symbol","object","function"].includes(typeof t)||(t?l.push(`${e}="${t}"`):l.push(`${e}`))}return l.join(" ")},l=(e,...t)=>{let r=t[0],l=[];for(let e in r)if(Object.hasOwnProperty.call(r,e)){let t=r[e];void 0!==t&&!1!==t&&l.push(`${e}:${t}`)}return l.join(";")},o=e=>JSON.stringify(e).replace(/\\"/g,'"'),i=(e,...o)=>{let i="";return e.forEach((e,s)=>{i+=e,void 0!==o[s]&&(t(o[s])?/style=["|']/.test(e)?i+=l`${o[s]}`:i+=r`${o[s]}`:i+=o[s])}),i=(i=i.replaceAll('style=""',"")).replaceAll('class=""',"")},s=(e,t)=>e(),n=e=>(Object.keys(e).forEach(t=>e?.[t]===void 0&&delete e[t]),e);function a(e){return e.replace(/\{\{\s*(.*?)\s*\}\}/g,(e,t)=>{let r=t.trim(),l=/^([a-zA-Z_][a-zA-Z0-9_-]*)(\.[a-zA-Z0-9_-]+)*$/i.test(r);return l?`{{ ${r} }}`:r})}export{e as RenderIf,s as composeMemo,o as dataStringify,r as props,n as removeUndefinedValuesFromObject,a as sanitizeLiquid,l as styles,i as template};
@@ -1 +1 @@
1
- import{getSingleColorVariable as e}from"./colors.js";import{stateMapping as t}from"./constant.js";import{getShortName as o}from"./get-shortname.js";let parseValueWithUnit=e=>{let t=e.match(/(\d+)(.+)/);if(t&&3===t.length){let e=Number(t[1]??0),o=t[2];return{value:e,unit:o??"px"}}return{value:0,unit:"px"}},getStyleShadow=(a,l=!1)=>{let{styleAppliedFor:s,value:n,isEnableShadow:r}=a||{},{state:i}=a||{};if(i||(i="normal"),!s||!n)return{};let d="none"===n.type||!1===n.enable;if(void 0===n.distance&&!d)return{};let{value:p,unit:h}=parseValueWithUnit(`${n?.distance}`);return{[`-${l?"":t?.[i]||""}-${o(s)}${a.screen?`-${a.screen}`:""}`]:r&&!d?`${Math.cos(parseFloat(`${n?.angle}`)*Math.PI/180)*parseFloat(`${p}`)}${h} ${Math.sin(parseFloat(`${n?.angle}`)*Math.PI/180)*parseFloat(`${p}`)}${h} ${n?.blur} ${"box-shadow"===s?n?.spread+" ":""}${e(n?.color)}`:"none"}},getStyleShadowState=(e,t,o,a)=>{if(!e||!t)return{};let l={};for(let[s,n]of Object.entries(e))Object.assign(l,getStyleShadow({value:n,state:s,styleAppliedFor:t,isEnableShadow:o?.[s],screen:a??""}));return l},getResponsiveStyleShadow=(e,t,o)=>{if(e&&("desktop"in e||"tablet"in e||"mobile"in e))return{...getStyleShadowState(e.desktop,t,o.desktop),...e.tablet&&(o.tablet??o.desktop)?getStyleShadowState(e.tablet,t,o.tablet??o.desktop,"tablet"):void 0,...e.mobile&&(o.mobile??o.tablet??o.desktop)?getStyleShadowState(e.mobile,t,o.mobile??o.tablet??o.desktop,"mobile"):void 0}},getResponsiveStyleShadowWithoutState=(e,t,o)=>{if(e&&("desktop"in e||"tablet"in e||"mobile"in e))return{...getStyleShadow({value:e.desktop,styleAppliedFor:t,isEnableShadow:o.desktop}),...e.tablet&&(o.tablet??o.desktop)?getStyleShadow({value:e.tablet,styleAppliedFor:t,isEnableShadow:o.tablet??o.desktop,screen:"tablet"}):void 0,...e.mobile&&(o.mobile??o.tablet??o.desktop)?getStyleShadow({value:e.mobile,styleAppliedFor:t,isEnableShadow:o.mobile??o.tablet??o.desktop,screen:"mobile"}):void 0}},composeShadow=e=>({...getStyleShadowState(e?.desktop,"box-shadow",{normal:e?.desktop?.normal?.type!=="none",focus:e?.desktop?.focus?.type!=="none",hover:e?.desktop?.hover?.type!=="none"}),...getStyleShadowState(e?.tablet,"box-shadow",{normal:e?.tablet?.normal?.type!=="none",focus:e?.tablet?.focus?.type!=="none",hover:e?.tablet?.hover?.type!=="none"},"tablet"),...getStyleShadowState(e?.mobile,"box-shadow",{normal:e?.mobile?.normal?.type!=="none",focus:e?.mobile?.focus?.type!=="none",hover:e?.mobile?.hover?.type!=="none"},"mobile")}),composeShadowCss=({hasBoxShadow:t,boxShadowValue:o,important:a})=>{if(!t||!o)return;let{value:l,unit:s}=parseValueWithUnit(`${o?.distance}`),n=a?" !important":"";return`box-shadow: ${Math.cos(parseFloat(`${o?.angle}`)*Math.PI/180)*parseFloat(`${l}`)}${s} ${Math.sin(parseFloat(`${o?.angle}`)*Math.PI/180)*parseFloat(`${l}`)}${s} ${o?.blur} ${o?.spread+" "}${e(o?.color)}${n};`};export{composeShadow,composeShadowCss,getResponsiveStyleShadow,getResponsiveStyleShadowWithoutState,getStyleShadow,getStyleShadowState,parseValueWithUnit};
1
+ import{getSingleColorVariable as e}from"./colors.js";import{stateMapping as t}from"./constant.js";import{getShortName as o}from"./get-shortname.js";let a=e=>{let t=e.match(/(\d+)(.+)/);if(t&&3===t.length){let e=Number(t[1]??0),o=t[2];return{value:e,unit:o??"px"}}return{value:0,unit:"px"}},l=(l,n=!1)=>{let{styleAppliedFor:s,value:r,isEnableShadow:i}=l||{},{state:b}=l||{};if(b||(b="normal"),!s||!r)return{};let p="none"===r.type||!1===r.enable;if(void 0===r.distance&&!p)return{};let{value:d,unit:m}=a(`${r?.distance}`);return{[`-${n?"":t?.[b]||""}-${o(s)}${l.screen?`-${l.screen}`:""}`]:i&&!p?`${Math.cos(parseFloat(`${r?.angle}`)*Math.PI/180)*parseFloat(`${d}`)}${m} ${Math.sin(parseFloat(`${r?.angle}`)*Math.PI/180)*parseFloat(`${d}`)}${m} ${r?.blur} ${"box-shadow"===s?r?.spread+" ":""}${e(r?.color)}`:"none"}},n=(e,t,o,a)=>{if(!e||!t)return{};let n={};for(let[s,r]of Object.entries(e))Object.assign(n,l({value:r,state:s,styleAppliedFor:t,isEnableShadow:o?.[s],screen:a??""}));return n},s=(e,t,o)=>{if(e&&("desktop"in e||"tablet"in e||"mobile"in e))return{...n(e.desktop,t,o.desktop),...e.tablet&&(o.tablet??o.desktop)?n(e.tablet,t,o.tablet??o.desktop,"tablet"):void 0,...e.mobile&&(o.mobile??o.tablet??o.desktop)?n(e.mobile,t,o.mobile??o.tablet??o.desktop,"mobile"):void 0}},r=(e,t,o)=>{if(e&&("desktop"in e||"tablet"in e||"mobile"in e))return{...l({value:e.desktop,styleAppliedFor:t,isEnableShadow:o.desktop}),...e.tablet&&(o.tablet??o.desktop)?l({value:e.tablet,styleAppliedFor:t,isEnableShadow:o.tablet??o.desktop,screen:"tablet"}):void 0,...e.mobile&&(o.mobile??o.tablet??o.desktop)?l({value:e.mobile,styleAppliedFor:t,isEnableShadow:o.mobile??o.tablet??o.desktop,screen:"mobile"}):void 0}},i=e=>({...n(e?.desktop,"box-shadow",{normal:e?.desktop?.normal?.type!=="none",focus:e?.desktop?.focus?.type!=="none",hover:e?.desktop?.hover?.type!=="none"}),...n(e?.tablet,"box-shadow",{normal:e?.tablet?.normal?.type!=="none",focus:e?.tablet?.focus?.type!=="none",hover:e?.tablet?.hover?.type!=="none"},"tablet"),...n(e?.mobile,"box-shadow",{normal:e?.mobile?.normal?.type!=="none",focus:e?.mobile?.focus?.type!=="none",hover:e?.mobile?.hover?.type!=="none"},"mobile")}),b=({hasBoxShadow:t,boxShadowValue:o,important:l})=>{if(!t||!o)return;let{value:n,unit:s}=a(`${o?.distance}`);return`box-shadow: ${Math.cos(parseFloat(`${o?.angle}`)*Math.PI/180)*parseFloat(`${n}`)}${s} ${Math.sin(parseFloat(`${o?.angle}`)*Math.PI/180)*parseFloat(`${n}`)}${s} ${o?.blur} ${o?.spread+" "}${e(o?.color)}${l?" !important":""};`};export{i as composeShadow,b as composeShadowCss,s as getResponsiveStyleShadow,r as getResponsiveStyleShadowWithoutState,l as getStyleShadow,n as getStyleShadowState,a as parseValueWithUnit};
@@ -1,4 +1,4 @@
1
- import{makeStyleResponsive as e}from"./make-style.js";import{devicesMapping as t}from"./constant.js";import{getResponsiveValueByScreen as i}from"./get-resonsive-value.js";function getCustomSizeCSSByDevice(e,i){if(!e||!i)return{};let l=t[i]??"";return{[`--pl${l}`]:e?.[i]?.horizontal,[`--pr${l}`]:e?.[i]?.horizontal,[`--pt${l}`]:e?.[i]?.vertical,[`--pb${l}`]:e?.[i]?.vertical}}let composeSize=e=>Object.assign({},getCustomSizeCSSByDevice(e,"desktop"),getCustomSizeCSSByDevice(e,"tablet"),getCustomSizeCSSByDevice(e,"mobile"));function genSizeClass(e){return`gp-g-s-${e}`}let composeSizeCss=e=>{if(void 0===e)return"";let t=e?.custom?.desktop?.horizontal,i=e?.custom?.desktop?.vertical;if(e?.custom)return`
2
- ${t?`padding-left: ${t}; padding-right: ${t};`:void 0}
3
- ${i?`padding-top: ${i}; padding-bottom: ${i};`:void 0}
4
- `},makeGlobalSize=t=>({width:makeStyleWithDefault("w",getWidthHeightGlobalSize("width",t),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),height:e("h",getWidthHeightGlobalSize("height",t)),padding:getPaddingGlobalSize(t),gap:getGlobalSizeGap(t)}),makeGlobalSizeIcon=t=>({width:makeStyleWithDefault("w",getWidthHeightGlobalSize("width",t),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),height:e("h",getWidthHeightGlobalSize("width",t)),minWidth:e("minw",getWidthHeightGlobalSize("width",t)),padding:getPaddingGlobalSize(t)}),getGlobalSizeGap=e=>({"--gg":e?.desktop?.gap,"--gg-tablet":e?.tablet?.gap,"--gg-mobile":e?.mobile?.gap}),makeStyleWithDefault=(e,t,i)=>({[`--${e}`]:t?.desktop==="default"?`var(${i?.desktop})`:t?.desktop,[`--${e}-tablet`]:t?.tablet==="default"?`var(${i?.tablet})`:t?.tablet,[`--${e}-mobile`]:t?.mobile==="default"?`var(${i?.mobile})`:t?.mobile}),getWidthHeightGlobalSize=(e,t)=>{if(!t)return{};let l={},a=["desktop","mobile","tablet"];return a.forEach(a=>{l={...l,[a]:i(t,a)?.[e]}}),l},getHeightByShapeGlobalSize=e=>{let t={},l=["desktop","mobile","tablet"];return l.forEach(l=>{let a=i(e,l),o=a?.shapeValue,g=a?.height;t={...t,[l]:o?"auto":g||"auto"}}),t},getWidthByShapeGlobalSize=(e,t,l)=>{let a={},o=["desktop","mobile","tablet"];return o.forEach(o=>{let g=i(e,o),d=g?.width;t&&(d=g?.width||"auto"),l&&(d=g?.width||"100%"),d&&(a={...a,[o]:d})}),a},getAspectRatioGlobalSize=e=>{let t={},l=["desktop","mobile","tablet"];return l.forEach(l=>{let a=i(e,l)?.shapeValue;if(a)t={...t,[l]:a};else{let a=i(e,l)?.shape;switch(a){case"square":t={...t,[l]:"1/1"};break;case"vertical":t={...t,[l]:"3/4"};break;case"horizontal":t={...t,[l]:"4/3"};break;case"original":t={...t,[l]:"auto"}}}}),t};function getCustomPaddingSizeCSSByDevice(e,i){if(!e||!i)return{};let l=t[i]??"";return{[`--pl${l}`]:e?.[i]?.padding?.left,[`--pr${l}`]:e?.[i]?.padding?.right,[`--pt${l}`]:e?.[i]?.padding?.top,[`--pb${l}`]:e?.[i]?.padding?.bottom}}let getPaddingGlobalSize=e=>Object.assign({},getCustomPaddingSizeCSSByDevice(e,"desktop"),getCustomPaddingSizeCSSByDevice(e,"tablet"),getCustomPaddingSizeCSSByDevice(e,"mobile")),getValueByDevice=(e,t)=>e?.[t]===void 0?e?.desktop===void 0?e?.tablet:e?.desktop:e?.[t],getPaddingStyleByDevice=(e,i)=>{if(!e)return{};let l=t[i||""]??"";return{[`--pl${l}`]:e?.left,[`--pr${l}`]:e?.right,[`--pt${l}`]:e?.top,[`--pb${l}`]:e?.bottom}},getResponsiveStylePadding=e=>{if(e&&("desktop"in e||"tablet"in e||"mobile"in e))return{...getPaddingStyleByDevice(e?.desktop),...getPaddingStyleByDevice(e?.tablet,"tablet"),...getPaddingStyleByDevice(e?.mobile,"mobile")}},getFlexGrowClassByShapeGlobalSize=e=>{let t={},l=["desktop","mobile","tablet"];return l.forEach(l=>{let a=i(e,l),o=a?.height,g=a?.shapeValue,d="desktop"===l?"gp-flex-1 gp-h-full":`${l}:gp-flex-1 ${l}:gp-h-full`,p="desktop"===l?"gp-flex-none gp-h-auto":`${l}:gp-flex-none ${l}:gp-h-auto`;t={...t,[d]:"100%"===o&&!g,[p]:"100%"!==o}}),t};export{composeSize,composeSizeCss,genSizeClass,getAspectRatioGlobalSize,getFlexGrowClassByShapeGlobalSize,getGlobalSizeGap,getHeightByShapeGlobalSize,getPaddingGlobalSize,getPaddingStyleByDevice,getResponsiveStylePadding,getValueByDevice,getWidthByShapeGlobalSize,getWidthHeightGlobalSize,makeGlobalSize,makeGlobalSizeIcon,makeStyleWithDefault};
1
+ import{makeStyleResponsive as t}from"./make-style.js";import{devicesMapping as e}from"./constant.js";import{getResponsiveValueByScreen as l}from"./get-resonsive-value.js";function i(t,l){if(!t||!l)return{};let i=e[l]??"";return{[`--pl${i}`]:t?.[l]?.horizontal,[`--pr${i}`]:t?.[l]?.horizontal,[`--pt${i}`]:t?.[l]?.vertical,[`--pb${i}`]:t?.[l]?.vertical}}let o=t=>Object.assign({},i(t,"desktop"),i(t,"tablet"),i(t,"mobile"));function a(t){return`gp-g-s-${t}`}let p=t=>{if(void 0===t)return"";let e=t?.custom?.desktop?.horizontal,l=t?.custom?.desktop?.vertical;if(t?.custom)return`
2
+ ${e?`padding-left: ${e}; padding-right: ${e};`:void 0}
3
+ ${l?`padding-top: ${l}; padding-bottom: ${l};`:void 0}
4
+ `},r=e=>({width:s("w",b("width",e),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),height:t("h",b("height",e)),padding:c(e),gap:g(e)}),d=e=>({width:s("w",b("width",e),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),height:t("h",b("width",e)),minWidth:t("minw",b("width",e)),padding:c(e)}),g=t=>({"--gg":t?.desktop?.gap,"--gg-tablet":t?.tablet?.gap,"--gg-mobile":t?.mobile?.gap}),s=(t,e,l)=>({[`--${t}`]:e?.desktop==="default"?`var(${l?.desktop})`:e?.desktop,[`--${t}-tablet`]:e?.tablet==="default"?`var(${l?.tablet})`:e?.tablet,[`--${t}-mobile`]:e?.mobile==="default"?`var(${l?.mobile})`:e?.mobile}),b=(t,e)=>{if(!e)return{};let i={};return["desktop","mobile","tablet"].forEach(o=>{i={...i,[o]:l(e,o)?.[t]}}),i},n=t=>{let e={};return["desktop","mobile","tablet"].forEach(i=>{let o=l(t,i),a=o?.shapeValue,p=o?.height;e={...e,[i]:a?"auto":p||"auto"}}),e},h=(t,e,i)=>{let o={};return["desktop","mobile","tablet"].forEach(a=>{let p=l(t,a),r=p?.width;e&&(r=p?.width||"auto"),i&&(r=p?.width||"100%"),r&&(o={...o,[a]:r})}),o},u=t=>{let e={};return["desktop","mobile","tablet"].forEach(i=>{let o=l(t,i)?.shapeValue;if(o)e={...e,[i]:o};else{let o=l(t,i)?.shape;switch(o){case"square":e={...e,[i]:"1/1"};break;case"vertical":e={...e,[i]:"3/4"};break;case"horizontal":e={...e,[i]:"4/3"};break;case"original":e={...e,[i]:"auto"}}}}),e};function m(t,l){if(!t||!l)return{};let i=e[l]??"";return{[`--pl${i}`]:t?.[l]?.padding?.left,[`--pr${i}`]:t?.[l]?.padding?.right,[`--pt${i}`]:t?.[l]?.padding?.top,[`--pb${i}`]:t?.[l]?.padding?.bottom}}let c=t=>Object.assign({},m(t,"desktop"),m(t,"tablet"),m(t,"mobile")),f=(t,e)=>t?.[e]===void 0?t?.desktop===void 0?t?.tablet:t?.desktop:t?.[e],$=(t,l)=>{if(!t)return{};let i=e[l||""]??"";return{[`--pl${i}`]:t?.left,[`--pr${i}`]:t?.right,[`--pt${i}`]:t?.top,[`--pb${i}`]:t?.bottom}},k=t=>{if(t&&("desktop"in t||"tablet"in t||"mobile"in t))return{...$(t?.desktop),...$(t?.tablet,"tablet"),...$(t?.mobile,"mobile")}},w=t=>{let e={};return["desktop","mobile","tablet"].forEach(i=>{let o=l(t,i),a=o?.height,p=o?.shapeValue,r="desktop"===i?"gp-flex-1 gp-h-full":`${i}:gp-flex-1 ${i}:gp-h-full`,d="desktop"===i?"gp-flex-none gp-h-auto":`${i}:gp-flex-none ${i}:gp-h-auto`;e={...e,[r]:"100%"===a&&!p,[d]:"100%"!==a}}),e};export{o as composeSize,p as composeSizeCss,a as genSizeClass,u as getAspectRatioGlobalSize,w as getFlexGrowClassByShapeGlobalSize,g as getGlobalSizeGap,n as getHeightByShapeGlobalSize,c as getPaddingGlobalSize,$ as getPaddingStyleByDevice,k as getResponsiveStylePadding,f as getValueByDevice,h as getWidthByShapeGlobalSize,b as getWidthHeightGlobalSize,r as makeGlobalSize,d as makeGlobalSizeIcon,s as makeStyleWithDefault};
@@ -1 +1 @@
1
- import{devicesMapping as e}from"./constant.js";function getSpacingCSSByType(t,a){if(!t)return{};let s=a?e?.[a]??"":"";return{[`--p${s}`]:`var(--g-s-${t})`}}function getSpacingVariable(e){return e?`var(--g-s-${e})`:""}let composeSpacing=e=>{let t={};switch(e?.desktop){case"m":case"l":case"s":Object.assign(t,getSpacingCSSByType(e.desktop))}switch(e?.tablet){case"m":case"l":case"s":Object.assign(t,getSpacingCSSByType(e.tablet,"tablet"))}switch(e?.mobile){case"m":case"l":case"s":Object.assign(t,getSpacingCSSByType(e.mobile,"mobile"))}return t};export{composeSpacing,getSpacingVariable};
1
+ import{devicesMapping as e}from"./constant.js";function s(s,t){if(!s)return{};let a=t?e?.[t]??"":"";return{[`--p${a}`]:`var(--g-s-${s})`}}function t(e){return e?`var(--g-s-${e})`:""}let a=e=>{let t={};switch(e?.desktop){case"m":case"l":case"s":Object.assign(t,s(e.desktop))}switch(e?.tablet){case"m":case"l":case"s":Object.assign(t,s(e.tablet,"tablet"))}switch(e?.mobile){case"m":case"l":case"s":Object.assign(t,s(e.mobile,"mobile"))}return t};export{a as composeSpacing,t as getSpacingVariable};
@@ -1 +1 @@
1
- import{loopComponent as o}from"../loop-component.js";import{composeAppBlockId as p}from"./composeAppBlockId.js";let addAppBlockId=p=>{let d=JSON.stringify(p)||"";return d.includes("appBlockId")&&o(p,o=>handleSetBlockId(o)),p},handleSetBlockId=o=>{let{tag:d,uid:t}=o;if(o.settings?.appBlockId===void 0)return o;o.settings.appBlockId=p(d,t)};export{addAppBlockId};
1
+ import{loopComponent as o}from"../loop-component.js";import{composeAppBlockId as p}from"./composeAppBlockId.js";let t=p=>{let t=JSON.stringify(p)||"";return t.includes("appBlockId")&&o(p,o=>e(o)),p},e=o=>{let{tag:t,uid:e}=o;if(o.settings?.appBlockId===void 0)return o;o.settings.appBlockId=p(t,e)};export{t as addAppBlockId};
@@ -1 +1 @@
1
- let RechargeSubscriptionsConfig={RechargeSubscriptions:{appName:"recharge-subscriptions",appId:"371eed76-0b44-4869-9813-730372ea378e"}},BonLoyaltyRewardsReferralsConfig={BonLoyaltyRewardsReferrals:{appName:"bon-loyalty",appId:"63496a04-c097-48d1-8c11-475aec24b12e"}},SubifySubscriptionsConfig={SubifySubscriptionsApp:{appName:"subify-subscriptions-app",appId:"bc0dba25-cd46-4841-bea4-6bdfe9ac815f"}},SelleasyConfig={Selleasy:{appName:"selleasy",appId:"790c1a03-a71f-4bc1-9869-00dad526d3c2"}},LoopSubscriptionsConfig={LoopSubscriptions:{appName:"loop-subscriptions",appId:"267a7c64-5cb3-4552-b817-5485165f0a0b"}},SkioSubscriptionsYcS20Config={SkioSubscriptionsYcS20:{appName:"skio-subscriptions-yc-s20",appId:"de50f7a4-0bb0-4d4c-84e2-c03dce83436d"}},ShopifyFormsConfig={ShopifyForms:{appName:"forms",appId:"8744a304-fcb1-4347-b211-bb6b4759a76a"}},ReviewxpoProductReviewsAppConfig={ReviewxpoProductReviewsApp:{appName:"reviewxpo-product-reviews-app",appId:"3e3d94fa-8b53-4134-942c-f7662dc9282f"}},PumperBundlesVolumeDiscountConfig={PumperBundlesVolumeDiscount:{appName:"pumper-bundle-qty",appId:"0856870d-2aca-4b1e-a662-cf1797f61270"}},UnlimitedBundlesDiscountsConfig={UnlimitedBundlesDiscounts:{appName:"unlimited-bundles",appId:"d33d0f48-dee0-42a0-b156-2a5dce91814a"}},KiteFreeGiftDiscountConfig={KiteFreeGiftDiscount:{appName:"kite-free-gift-discounts",appId:"2c7302c4-455d-4078-a829-48563ba26089"}},FastBundleBundlesDiscountsConfig={FastBundleBundlesDiscounts:{appName:"fast-bundle",appId:"9e87fbe2-9041-4c23-acf5-322413994cef"}},SimpleBundlesKitsConfig={SimpleBundlesKits:{appName:"simple-bundles-kits",appId:"e553276b-36b2-446d-b80a-aa47fe5f96ac"}},EasyBundleBuilderSkailamaConfig={EasyBundleBuilderSkailama:{appName:"easy-bundles",appId:"05b1325c-6303-4da5-8e2f-b13ab2a50e1a"}},PreorderNowPreOrderPqConfig={PreorderNowPreOrderPq:{appName:"preorder-now-pre-order-pq",appId:"551fab2c-3af6-4a8f-ba21-736a71cb4540"}},FlyBundlesUpsellsFbtConfig={FlyBundlesUpsellsFbt:{appName:"fly-bundles-upsell",appId:"26807bdc-c2ed-4a25-afb2-06e6b1ebf843"}},JunipProductReviewsUgcConfig={JunipProductReviewsUgc:{appName:"junip-product-reviews-ugc",appId:"dc14f5a8-ed15-41b1-ad08-cfba23f9789b"}},PreorderNowWodPresaleConfig={PreorderNowWodPresale:{appName:"preorder-now-wod-presale",appId:"fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6"}},YotpoReviewsV3UgcConfig={YotpoReviews:{appName:"yotpo-product-reviews-ugc",appId:"eb7dfd7d-db44-4334-bc49-c893b51b36cf"}},WhatmoreShoppableVideosreelConfig={WhatmoreShoppableVideosreel:{appName:"whatmore-shoppable-videos",appId:"20db8a72-315a-4364-8885-64219ee48303"}},ProductOptionsCustomizerConfig={ProductOptionsCustomizer:{appName:"product-options-customizer",appId:"6857ca6c-35eb-4b6f-9d58-a039f31d9406"}},AppointmentBookingCowlendarConfig={AppointmentBookingCowlendar:{appName:"cowlendar-booking",appId:"6d8b8f6a-9b3c-42b8-b2e6-a758c38d45bf"}},BoldSubscriptionsConfig={BoldSubscriptions:{appName:"bold-subscriptions",appId:"9ceb49f0-5fe5-4b5e-943d-f8af8985167d"}},SproutPlantTreesGrowSalesConfig={SproutPlantTreesGrowSales:{appName:"sprout-plant-trees",appId:"7db5ee24-2195-4099-b98e-1547c600e4aa"}},InstasellShoppableInstagramConfig={InstasellShoppableInstagram:{appName:"instasell-instagram-gallery",appId:"38d643ac-410a-4b2c-a727-6125ff08e444"}},GrowaveConfig={Growave:{appName:"growave-loyalty-wishlist",appId:"b3d2efbe-110a-4e27-84a8-1f2ed63996a4"}},LoloyalLoyaltyReferralsConfig={LoloyalLoyaltyReferrals:{appName:"loloyal-com",appId:"930ac91f-2bf2-4655-9ba0-574771f782d6"}},PowerfulContactFormBuilderConfig={PowerfulContactFormBuilder:{appName:"powerful-form-builder",appId:"e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d"}},WishlistKingConfig={WishlistKing:{appName:"wishlist-king",appId:"194f5011-a43c-4b22-b12e-eaf20dc4506a"}},GloboProductOptionsVariantConfig={GloboProductOptionsVariant:{appName:"globo-product-option",appId:"fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8"}},KachingBundlesConfig={KachingBundles:{appName:"kaching-bundles",appId:"6c637362-a106-4a32-94ac-94dcfd68cdb8"}},BestBuyFulfillmentConfig={BestBuyFulfillment:{appName:"best-buy-fulfillment",appId:"d9839db8-b94c-4590-ac73-3469abe7ed9b"}},AftershipEmailMarketingsmsConfig={AftershipEmailMarketingsms:{appName:"aftership-email-marketing-sms",appId:"2db13273-f8db-4274-be89-c86a3352fb70"}},SegunoEmailMarketingConfig={SegunoEmailMarketing:{appName:"seguno-email",appId:"db65571f-fa4d-473d-baa2-283a96dc76bc"}},TrustooConfig={Trustoo:{appName:"trustoo-io-reviews",appId:"c8f15077-6475-4e86-ad06-b66038d5ba2c"}},LooxReviewsConfig={LooxReviews:{appName:"loox-reviews",appId:"5c3b337f-fd14-4df5-b1d6-80ec13e6e28e"}},SeoantTrustBadgesIconConfig={SeoantTrustBadgesIcon:{appName:"seoant-trust-badges",appId:"f42f2346-5d14-4b41-a8b9-4b6ee352262e"}},TrustreviewsProductReviewsConfig={TrustreviewsProductReviews:{appName:"trustreviews",appId:"56d0fe1b-e701-4cff-8f84-466a26e09adb"}},MyappgurusProductReviewsConfig={MyappgurusProductReviews:{appName:"mag-product-reviews",appId:"0cf5caa0-e138-46b8-999b-520d16633e4c"}},HulkProductOptionsConfig={HulkProductOptions:{appName:"hulk-product-options",appId:"380168ef-9475-4244-a291-f66b189208b5"}},TrustshopProductReviewsConfig={TrustshopProductReviews:{appName:"trustshop-reviews",appId:"18b0c4cc-5411-4b6e-922d-34fdc2f30ab9"}},StampedConfig={Stamped:{appName:"stamped-reviews",appId:"a103faaf-2125-4b0e-89fa-de5149736723"}},BoostAISearchDiscoveryConfig={BoostAISearchDiscovery:{appName:"boost-ai-search-discovery",appId:"7fc998ae-a150-4367-bab8-505d8a4503f7"}},EssentialCountdownTimerBarConfig={EssentialCountdownTimerBar:{appName:"essential-countdown",appId:"722378e8-5a70-4eae-aa89-9e44e8e9f6de"}},EssentialAnnouncementBarConfig={EssentialAnnouncementBar:{appName:"essential-announcement",appId:"93b5429f-c8d6-4c33-ae14-250fd84f361b"}},OkendoReviewsLoyaltyConfig={OkendoReviewsLoyalty:{appName:"okendo",appId:"bb689e69-ea70-4661-8fb7-ad24a2e23c29"}},EstimatedDeliveryDatePlusConfig={EstimatedDeliveryDatePlus:{appName:"estimated-delivery-date-plus",appId:"4a0685bc-c234-45b2-8382-5ad6a8e3e3fd"}},HextomCountdownTimerBarConfig={HextomCountdownTimerBar:{appName:"hextom-shipping-bar",appId:"7ef5d9af-75a2-45c7-9b1b-f9240ee488e9"}},TrustBadgesBearConfig={TrustBadgesBear:{appName:"trust-badges-bear",appId:"163a9b59-0ec2-4cb7-bf5c-31408b4a9420"}},TrustedsiteTrustBadgesConfig={TrustedsiteTrustBadges:{appName:"trustedsite-trust-badges",appId:"3b73cc66-a9ae-4fcb-8ffb-743993d42e56"}},GloColorSwatchvariantImageConfig={GloColorSwatchvariantImage:{appName:"glo-color-swatch",appId:"4394f710-096c-4021-bbde-8ebb26057c11"}},BfSizeChartSizeGuideConfig={BfSizeChartSizeGuide:{appName:"bf-size-charts",appId:"47ee4f2e-eb5e-41af-9beb-e2786646bf2a"}},HextomFreeShippingBarConfig={HextomFreeShippingBar:{appName:"hextom-shipping-bar",appId:"7ef5d9af-75a2-45c7-9b1b-f9240ee488e9"}},ShopifySubscriptionsConfig={ShopifySubscriptions:{appName:"subscriptions",appId:"a3bfe9ec-96f8-4508-a003-df608a36d2ad"}},QikifyUpsellConfig={QikifyUpsell:{appName:"q-discount-free-gift",appId:"2e94b962-8172-4839-8ad9-7837eb8b017a"}},EcoboostifyShoppableReelUgcConfig={EcoboostifyShoppableReelUgc:{appName:"ecoboostify",appId:"24110205-fc49-453b-ac2b-ceea2bf6a8f3"}},AppstleBundlesDiscountsConfig={AppstleBundlesDiscounts:{appName:"appstle-bundles",appId:"8909921b-2d24-4d68-9b12-9d045d3dcb0a"}},ReleasitConfig={Releasit:{appName:"releasit-cod-form",appId:"72faf214-4174-4fec-886b-0d0e8d3af9a2"}},AovFreeGiftBuyXGetYBogoConfig={AovFreeGiftBuyXGetYBogo:{appName:"aov-free-gift-bxgy",appId:"de98edfe-90fa-4145-8a57-1055e0058723"}},ParcelPanelOrderTrackingConfig={ParcelPanel:{appName:"parcel-panel",appId:"fc785c3f-90e0-4c98-a20c-7cde9ba5e4b5"}},KoalaBundleDiscountConfig={KoalaBundleQuantityDiscount:{appName:"upsell-koala-bundles",appId:"2b951f75-113f-4fca-bdf3-c92703235716"}},AovBundlesVolumeDiscountsConfig={AovBundlesVolumeDiscounts:{appName:"aov-ai-bundle",appId:"0335d423-143c-4ad7-b224-99a1db74a9ee"}},UppromoteAffiliateMarketingConfig={UppromoteAffiliateMarketing:{appName:"uppromote-affiliate",appId:"64c32457-930d-4cb9-9641-e24c0d9cf1f4"}},BloyRewardsProgramLoyaltyConfig={BloyRewardsProgramLoyalty:{appName:"bloy-loyalty-rewards",appId:"97e8894d-00f0-41a9-b986-49828146257c"}};export{AftershipEmailMarketingsmsConfig,AovBundlesVolumeDiscountsConfig,AovFreeGiftBuyXGetYBogoConfig,AppointmentBookingCowlendarConfig,AppstleBundlesDiscountsConfig,BestBuyFulfillmentConfig,BfSizeChartSizeGuideConfig,BloyRewardsProgramLoyaltyConfig,BoldSubscriptionsConfig,BonLoyaltyRewardsReferralsConfig,BoostAISearchDiscoveryConfig,EasyBundleBuilderSkailamaConfig,EcoboostifyShoppableReelUgcConfig,EssentialAnnouncementBarConfig,EssentialCountdownTimerBarConfig,EstimatedDeliveryDatePlusConfig,FastBundleBundlesDiscountsConfig,FlyBundlesUpsellsFbtConfig,GloColorSwatchvariantImageConfig,GloboProductOptionsVariantConfig,GrowaveConfig,HextomCountdownTimerBarConfig,HextomFreeShippingBarConfig,HulkProductOptionsConfig,InstasellShoppableInstagramConfig,JunipProductReviewsUgcConfig,KachingBundlesConfig,KiteFreeGiftDiscountConfig,KoalaBundleDiscountConfig,LoloyalLoyaltyReferralsConfig,LoopSubscriptionsConfig,LooxReviewsConfig,MyappgurusProductReviewsConfig,OkendoReviewsLoyaltyConfig,ParcelPanelOrderTrackingConfig,PowerfulContactFormBuilderConfig,PreorderNowPreOrderPqConfig,PreorderNowWodPresaleConfig,ProductOptionsCustomizerConfig,PumperBundlesVolumeDiscountConfig,QikifyUpsellConfig,RechargeSubscriptionsConfig,ReleasitConfig,ReviewxpoProductReviewsAppConfig,SegunoEmailMarketingConfig,SelleasyConfig,SeoantTrustBadgesIconConfig,ShopifyFormsConfig,ShopifySubscriptionsConfig,SimpleBundlesKitsConfig,SkioSubscriptionsYcS20Config,SproutPlantTreesGrowSalesConfig,StampedConfig,SubifySubscriptionsConfig,TrustBadgesBearConfig,TrustedsiteTrustBadgesConfig,TrustooConfig,TrustreviewsProductReviewsConfig,TrustshopProductReviewsConfig,UnlimitedBundlesDiscountsConfig,UppromoteAffiliateMarketingConfig,WhatmoreShoppableVideosreelConfig,WishlistKingConfig,YotpoReviewsV3UgcConfig};
1
+ let e={RechargeSubscriptions:{appName:"recharge-subscriptions",appId:"371eed76-0b44-4869-9813-730372ea378e"}},a={BonLoyaltyRewardsReferrals:{appName:"bon-loyalty",appId:"63496a04-c097-48d1-8c11-475aec24b12e"}},p={SubifySubscriptionsApp:{appName:"subify-subscriptions-app",appId:"bc0dba25-cd46-4841-bea4-6bdfe9ac815f"}},o={Selleasy:{appName:"selleasy",appId:"790c1a03-a71f-4bc1-9869-00dad526d3c2"}},i={LoopSubscriptions:{appName:"loop-subscriptions",appId:"267a7c64-5cb3-4552-b817-5485165f0a0b"}},d={SkioSubscriptionsYcS20:{appName:"skio-subscriptions-yc-s20",appId:"de50f7a4-0bb0-4d4c-84e2-c03dce83436d"}},s={ShopifyForms:{appName:"forms",appId:"8744a304-fcb1-4347-b211-bb6b4759a76a"}},t={ReviewxpoProductReviewsApp:{appName:"reviewxpo-product-reviews-app",appId:"3e3d94fa-8b53-4134-942c-f7662dc9282f"}},n={PumperBundlesVolumeDiscount:{appName:"pumper-bundle-qty",appId:"0856870d-2aca-4b1e-a662-cf1797f61270"}},r={UnlimitedBundlesDiscounts:{appName:"unlimited-bundles",appId:"d33d0f48-dee0-42a0-b156-2a5dce91814a"}},f={KiteFreeGiftDiscount:{appName:"kite-free-gift-discounts",appId:"2c7302c4-455d-4078-a829-48563ba26089"}},c={FastBundleBundlesDiscounts:{appName:"fast-bundle",appId:"9e87fbe2-9041-4c23-acf5-322413994cef"}},b={SimpleBundlesKits:{appName:"simple-bundles-kits",appId:"e553276b-36b2-446d-b80a-aa47fe5f96ac"}},l={EasyBundleBuilderSkailama:{appName:"easy-bundles",appId:"05b1325c-6303-4da5-8e2f-b13ab2a50e1a"}},u={PreorderNowPreOrderPq:{appName:"preorder-now-pre-order-pq",appId:"551fab2c-3af6-4a8f-ba21-736a71cb4540"}},m={FlyBundlesUpsellsFbt:{appName:"fly-bundles-upsell",appId:"26807bdc-c2ed-4a25-afb2-06e6b1ebf843"}},g={JunipProductReviewsUgc:{appName:"junip-product-reviews-ugc",appId:"dc14f5a8-ed15-41b1-ad08-cfba23f9789b"}},C={PreorderNowWodPresale:{appName:"preorder-now-wod-presale",appId:"fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6"}},I={YotpoReviews:{appName:"yotpo-product-reviews-ugc",appId:"eb7dfd7d-db44-4334-bc49-c893b51b36cf"}},y={WhatmoreShoppableVideosreel:{appName:"whatmore-shoppable-videos",appId:"20db8a72-315a-4364-8885-64219ee48303"}},N={ProductOptionsCustomizer:{appName:"product-options-customizer",appId:"6857ca6c-35eb-4b6f-9d58-a039f31d9406"}},w={AppointmentBookingCowlendar:{appName:"cowlendar-booking",appId:"6d8b8f6a-9b3c-42b8-b2e6-a758c38d45bf"}},B={BoldSubscriptions:{appName:"bold-subscriptions",appId:"9ceb49f0-5fe5-4b5e-943d-f8af8985167d"}},S={SproutPlantTreesGrowSales:{appName:"sprout-plant-trees",appId:"7db5ee24-2195-4099-b98e-1547c600e4aa"}},v={InstasellShoppableInstagram:{appName:"instasell-instagram-gallery",appId:"38d643ac-410a-4b2c-a727-6125ff08e444"}},h={Growave:{appName:"growave-loyalty-wishlist",appId:"b3d2efbe-110a-4e27-84a8-1f2ed63996a4"}},P={LoloyalLoyaltyReferrals:{appName:"loloyal-com",appId:"930ac91f-2bf2-4655-9ba0-574771f782d6"}},R={PowerfulContactFormBuilder:{appName:"powerful-form-builder",appId:"e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d"}},k={WishlistKing:{appName:"wishlist-king",appId:"194f5011-a43c-4b22-b12e-eaf20dc4506a"}},T={GloboProductOptionsVariant:{appName:"globo-product-option",appId:"fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8"}},D={KachingBundles:{appName:"kaching-bundles",appId:"6c637362-a106-4a32-94ac-94dcfd68cdb8"}},A={BestBuyFulfillment:{appName:"best-buy-fulfillment",appId:"d9839db8-b94c-4590-ac73-3469abe7ed9b"}},F={AftershipEmailMarketingsms:{appName:"aftership-email-marketing-sms",appId:"2db13273-f8db-4274-be89-c86a3352fb70"}},G={SegunoEmailMarketing:{appName:"seguno-email",appId:"db65571f-fa4d-473d-baa2-283a96dc76bc"}},x={Trustoo:{appName:"trustoo-io-reviews",appId:"c8f15077-6475-4e86-ad06-b66038d5ba2c"}},E={LooxReviews:{appName:"loox-reviews",appId:"5c3b337f-fd14-4df5-b1d6-80ec13e6e28e"}},L={SeoantTrustBadgesIcon:{appName:"seoant-trust-badges",appId:"f42f2346-5d14-4b41-a8b9-4b6ee352262e"}},U={TrustreviewsProductReviews:{appName:"trustreviews",appId:"56d0fe1b-e701-4cff-8f84-466a26e09adb"}},O={MyappgurusProductReviews:{appName:"mag-product-reviews",appId:"0cf5caa0-e138-46b8-999b-520d16633e4c"}},K={HulkProductOptions:{appName:"hulk-product-options",appId:"380168ef-9475-4244-a291-f66b189208b5"}},V={TrustshopProductReviews:{appName:"trustshop-reviews",appId:"18b0c4cc-5411-4b6e-922d-34fdc2f30ab9"}},z={Stamped:{appName:"stamped-reviews",appId:"a103faaf-2125-4b0e-89fa-de5149736723"}},M={BoostAISearchDiscovery:{appName:"boost-ai-search-discovery",appId:"7fc998ae-a150-4367-bab8-505d8a4503f7"}},H={EssentialCountdownTimerBar:{appName:"essential-countdown",appId:"722378e8-5a70-4eae-aa89-9e44e8e9f6de"}},W={EssentialAnnouncementBar:{appName:"essential-announcement",appId:"93b5429f-c8d6-4c33-ae14-250fd84f361b"}},Y={OkendoReviewsLoyalty:{appName:"okendo",appId:"bb689e69-ea70-4661-8fb7-ad24a2e23c29"}},q={EstimatedDeliveryDatePlus:{appName:"estimated-delivery-date-plus",appId:"4a0685bc-c234-45b2-8382-5ad6a8e3e3fd"}},Q={HextomCountdownTimerBar:{appName:"hextom-shipping-bar",appId:"7ef5d9af-75a2-45c7-9b1b-f9240ee488e9"}},J={TrustBadgesBear:{appName:"trust-badges-bear",appId:"163a9b59-0ec2-4cb7-bf5c-31408b4a9420"}},X={TrustedsiteTrustBadges:{appName:"trustedsite-trust-badges",appId:"3b73cc66-a9ae-4fcb-8ffb-743993d42e56"}},j={GloColorSwatchvariantImage:{appName:"glo-color-swatch",appId:"4394f710-096c-4021-bbde-8ebb26057c11"}},Z={BfSizeChartSizeGuide:{appName:"bf-size-charts",appId:"47ee4f2e-eb5e-41af-9beb-e2786646bf2a"}},$={HextomFreeShippingBar:{appName:"hextom-shipping-bar",appId:"7ef5d9af-75a2-45c7-9b1b-f9240ee488e9"}},_={ShopifySubscriptions:{appName:"subscriptions",appId:"a3bfe9ec-96f8-4508-a003-df608a36d2ad"}},ee={QikifyUpsell:{appName:"q-discount-free-gift",appId:"2e94b962-8172-4839-8ad9-7837eb8b017a"}},ea={EcoboostifyShoppableReelUgc:{appName:"ecoboostify",appId:"24110205-fc49-453b-ac2b-ceea2bf6a8f3"}},ep={AppstleBundlesDiscounts:{appName:"appstle-bundles",appId:"8909921b-2d24-4d68-9b12-9d045d3dcb0a"}},eo={Releasit:{appName:"releasit-cod-form",appId:"72faf214-4174-4fec-886b-0d0e8d3af9a2"}},ei={AovFreeGiftBuyXGetYBogo:{appName:"aov-free-gift-bxgy",appId:"de98edfe-90fa-4145-8a57-1055e0058723"}},ed={ParcelPanel:{appName:"parcel-panel",appId:"fc785c3f-90e0-4c98-a20c-7cde9ba5e4b5"}},es={KoalaBundleQuantityDiscount:{appName:"upsell-koala-bundles",appId:"2b951f75-113f-4fca-bdf3-c92703235716"}},et={AovBundlesVolumeDiscounts:{appName:"aov-ai-bundle",appId:"0335d423-143c-4ad7-b224-99a1db74a9ee"}},en={UppromoteAffiliateMarketing:{appName:"uppromote-affiliate",appId:"64c32457-930d-4cb9-9641-e24c0d9cf1f4"}},er={BloyRewardsProgramLoyalty:{appName:"bloy-loyalty-rewards",appId:"97e8894d-00f0-41a9-b986-49828146257c"}};export{F as AftershipEmailMarketingsmsConfig,et as AovBundlesVolumeDiscountsConfig,ei as AovFreeGiftBuyXGetYBogoConfig,w as AppointmentBookingCowlendarConfig,ep as AppstleBundlesDiscountsConfig,A as BestBuyFulfillmentConfig,Z as BfSizeChartSizeGuideConfig,er as BloyRewardsProgramLoyaltyConfig,B as BoldSubscriptionsConfig,a as BonLoyaltyRewardsReferralsConfig,M as BoostAISearchDiscoveryConfig,l as EasyBundleBuilderSkailamaConfig,ea as EcoboostifyShoppableReelUgcConfig,W as EssentialAnnouncementBarConfig,H as EssentialCountdownTimerBarConfig,q as EstimatedDeliveryDatePlusConfig,c as FastBundleBundlesDiscountsConfig,m as FlyBundlesUpsellsFbtConfig,j as GloColorSwatchvariantImageConfig,T as GloboProductOptionsVariantConfig,h as GrowaveConfig,Q as HextomCountdownTimerBarConfig,$ as HextomFreeShippingBarConfig,K as HulkProductOptionsConfig,v as InstasellShoppableInstagramConfig,g as JunipProductReviewsUgcConfig,D as KachingBundlesConfig,f as KiteFreeGiftDiscountConfig,es as KoalaBundleDiscountConfig,P as LoloyalLoyaltyReferralsConfig,i as LoopSubscriptionsConfig,E as LooxReviewsConfig,O as MyappgurusProductReviewsConfig,Y as OkendoReviewsLoyaltyConfig,ed as ParcelPanelOrderTrackingConfig,R as PowerfulContactFormBuilderConfig,u as PreorderNowPreOrderPqConfig,C as PreorderNowWodPresaleConfig,N as ProductOptionsCustomizerConfig,n as PumperBundlesVolumeDiscountConfig,ee as QikifyUpsellConfig,e as RechargeSubscriptionsConfig,eo as ReleasitConfig,t as ReviewxpoProductReviewsAppConfig,G as SegunoEmailMarketingConfig,o as SelleasyConfig,L as SeoantTrustBadgesIconConfig,s as ShopifyFormsConfig,_ as ShopifySubscriptionsConfig,b as SimpleBundlesKitsConfig,d as SkioSubscriptionsYcS20Config,S as SproutPlantTreesGrowSalesConfig,z as StampedConfig,p as SubifySubscriptionsConfig,J as TrustBadgesBearConfig,X as TrustedsiteTrustBadgesConfig,x as TrustooConfig,U as TrustreviewsProductReviewsConfig,V as TrustshopProductReviewsConfig,r as UnlimitedBundlesDiscountsConfig,en as UppromoteAffiliateMarketingConfig,y as WhatmoreShoppableVideosreelConfig,k as WishlistKingConfig,I as YotpoReviewsV3UgcConfig};
@@ -1 +1 @@
1
- let RechargeSubscriptions={RechargeSubscriptions:{"subscription-widget":{product:"{{ product }}"},"subscription-widget-v2":{default_selection:"subscription",first_selection_option:"subscription",display_mode:"normal",brand_color:"#121212",brand_contrast_color:"#FFFFFF",selected_bg_color:"#FFFFFF",selected_text_color:"#121212",text_color:"#121212",border_radius:"soft",subscription_with_discount_label:"Subscribe & save",subscription_without_discount_label:"Subscribe",onetime_label:"One-time",frequency_label:"Deliver every:",frequency_display_type:"buttonGroup",frequency_display_content:"interval",badge_text:"Save up to {maxDiscount}",badge_text_color:"#FFFFFF",badge_bg_color:"#0F866A",benefits:"<ul><li>You save {discount}</li><li>Skip, delay or cancel any time</li><li>Free shipping in the US</li><li>Renew on your timeframe</li></ul>",onetime_drawbacks:"",learn_more_text:"Learn more",learn_more_content:'<style>rc-learn-more-modal h1 { font-size: 40px; line-height: 48px; font-weight: 600; text-align: center; padding-bottom: 32px; margin: 0;}rc-learn-more-modal h2 { padding: 0; margin: 0; font-size: 20px; line-height: 28px; font-weight: 600;}rc-learn-more-modal p { margin: 0; padding: 0; font-size: 16px; line-height: 24px;}rc-learn-more-modal .learn-more-content { padding: 0 20px 20px;}rc-learn-more-modal .learn-more-footer button { background-color: var(--rc-widget-brand-color); color: var(--rc-widget-brand-contrast-color); border: none; border-radius: var(--rc-widget-button-radius); padding: 12px; min-width: 335px; font-size: 16px; font-weight: 600; line-height: 24px; cursor: pointer; transition: background-color 0.1s ease;}rc-learn-more-modal .learn-more-footer button:hover { background-color: var(--rc-widget-brand-color-80);}rc-learn-more-modal .learn-more-footer { display: flex; justify-content: center;}rc-learn-more-modal .learn-more-group { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px;}rc-learn-more-modal .learn-more-group-item { display: flex; gap: 32px; align-items: center;}rc-learn-more-modal .learn-more-group-icon-container { display: flex; padding: 32px; background-color: #f6f8f9; border-radius: var(--rc-widget-card-radius);}rc-learn-more-modal svg, rc-learn-more-modal img { height: 40px; width: 40px;}@media (max-width: 560px) { rc-learn-more-modal h1 { font-size: 26px; line-height: 32px; padding-bottom: 16px; }rc-learn-more-modal h2 { font-size: 16px; line-height: 24px;}rc-learn-more-modal p { font-size: 14px; line-height: 20px;}rc-learn-more-modal .learn-more-content { padding: 0;}rc-learn-more-modal svg, rc-learn-more-modal img { height: 32px; width: 32px;}rc-learn-more-modal .learn-more-group-item { gap: 16px;}rc-learn-more-modal .learn-more-group-icon-container { padding: 20px;} }</style><div class="learn-more-content">\n<h1 class="learn-more-header">Great reasons to subscribe</h1> <div class="learn-more-group"> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"><span rc-calendar-icon></span></div> <div> <h2 style="margin:0;">Flexible frequency</h2> <p style="margin:0;"> Not sure how much of something you need, or how often? Adjust quantities and frequencies any time. </p> </div> </div> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"> <span rc-bell-icon></span> </div> <div> <h2>Order reminders</h2> <p> We\'ll let you know before each shipment. Delay, reschedule or cancel if you need to - we’ll only bill you when your order ships. </p> </div> </div> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"> <span rc-phone-icon></span> </div> <div> <h2>You\'re in control</h2> <p> Add or remove subscriptions, cancel orders, and edit frequencies and quantities through our user-friendly customer portal. </p> </div> </div> </div>\n</div><div class="learn-more-footer"><button data-dismiss-modal>Got it</button></div>',frequency_display_translations:'{\n "days": "{interval} days", \n "day": "{interval} day", \n "weeks": "{interval} weeks", \n "week": "{interval} week", \n "months": "{interval} months", \n "month": "{interval} month", \n "save": "Save {discount}"\n}'}}},LoyaltyRewardsReferrals={BonLoyaltyRewardsReferrals:{"loyalty-page-block":null,"loyalty-page-earning-block":null,"loyalty-page-header-block":null,"loyalty-page-profile-block":null,"loyalty-page-redeem-block":null,"loyalty-page-referral-block":null,"loyalty-page-tier-block":null,"product-point-preview":null}},SubifySubscriptions={SubifySubscriptionsApp:{"app-block":{product:"{{product}}",use_app_block_wording:!1,widget_label:"Purchase options",one_time_purchase_text:"One-Time Purchase",subscription_text:"Subscribe and save",delivery_frequency_text:"Delivery frequency",prepaid_subscription_text:"Subscription with prepaid",skin1_priceSuffix:"each",skin1_save:"Save(skin1)",skin1_prepaid_payment_title:"prepaid",skin1_normal_payment_title:"pay as you go",skin2_discountSuffix:"Save",skin3_fullPrice:"Full price",skin3_priceSuffix:"each",skin3_discountSuffix:"Off",skin4_justOnce:"Just once",skin4_discountSuffix:"Off",skin4_priceSuffix:"each",skin4_fullPrice:"(Full price)",skin4_sellingPlansTitle:"Renews every:",from:"from",max_discount_badge_title:"UP To",pay:"Pay",price_save_up_to:"save up to"}}},SelleasyWidget={Selleasy:{"lb-upsell-widget-bl":null,"lb-upsell-widget-pal":null}},LoopSubscriptions={LoopSubscriptions:{star_rating:{product:"{{product}}"}}},SkioSubscriptionsYcS20={SkioSubscriptionsYcS20:{"app-block":{form_id:"product-form-{{section.id}}",start_onetime:"true",onetime_first:"true",default_subscription:"",group_border_radius:5,group_border_shadow:!0,group_border_selected_color:"#000",onetime_title:"One Time",subscription_title:"Subscribe",prepaid_title:"Prepaid",discount_format:"percent",discount_style:"bubble",discount_prefix:"Save",discount_suffix:"",discount_color:"#0fa573"}}},ShopifyForms={ShopifyForms:{inline:{form_id:null}}},overrideSettings=(e,o,t)=>{switch(e){case"ShopifyForms":return{...o,form_id:t.formId};case"FlyBundlesUpsellsFbt":return{...o,bundle_id:t?.customBundleId};case"PumperBundlesVolumeDiscount":case"TrustshopProductReviews":return{...o,selected_product:t?.productHandle||"{{ product }}"};case"WhatmoreShoppableVideosreel":return{...o,"show-views":t?.showViews,heading:t?.heading,"template-type":t?.templateType,"title-font-size":parseFloat(t?.titleFontSize),"landscape-padding":parseFloat(t?.landscapePadding),"top-bottom-padding":parseFloat(t?.topBottomPadding),"scroll-video-tile-size":parseFloat(t?.scrollVideoTitleSize),"scroll-video-tile-size-portrait":parseFloat(t?.scrollVideoTitleSizePortrait)};case"KachingBundles":case"YotpoReviews":case"OkendoReviewsLoyalty":case"ShopifySubscriptions":case"QikifyUpsell":case"Releasit":case"SubifySubscriptionsApp":case"RechargeSubscriptions":case"KoalaBundleQuantityDiscount":return{...o,product:t?.productHandle||"{{ product }}"};case"PowerfulContactFormBuilder":return{...o,shortcode:t?.shortcode};case"AftershipEmailMarketingsms":return{...o,embedded_form_id:t?.formId};case"SeoantTrustBadgesIcon":return{...o,badge_id:t?.BadgeId};case"Stamped":return{...o,feed_type:t.visualGalleryType,auto_play:t.autoSlide,color_star:t.starColor,color_hover:t.hoverColor,color_hover_opacity:t.hoverOpacity,review_ids:t.reviewIds,product_ids:t.productIds,category:t.productType,product_brand:t.productVendor,tags:t.tags,min_rating:t.minimumRating,fill_empty:t.fillEmpty,random:t.random,with_photos:t.withPhotos,color_link:t.linkColor,product_image:t.showProductImage,take:t.limitResults,color_verified:t.verifiedColor,color_text:t.textColor,title:t.carouselTitle,color_title:t.titleColor,api_key:t.publicKey,store_hash:t.storeHash,label1:t.labelFront,label2:t.labelBack,width:t.imageWidth,height:t.imageHeight,product_id:t.productId,animation:t.mainWidgetAnimation,tags_exclude:t.excludeTags,tags_include:t.includeTags,search:t.search,linkify:t.linkify};case"BoostAISearchDiscovery":return{...o,widgetId:t?.widgetID};case"EssentialCountdownTimerBar":return{...o,id:t?.timerId};case"EssentialAnnouncementBar":return{...o,id:t?.announcementId};case"TrustedsiteTrustBadges":return{...o,"tm-type":t?.trustId};case"EcoboostifyShoppableReelUgc":return{...o,playlist_id:t?.playlistId};default:return o}},ReviewxpoProductReviewsApp={ReviewxpoProductReviewsApp:{"five-star-badge-widget":null,"allreviews-widget":null,"carousel-widget":null,"gallery-widget":null,"badge-widget":null,"testimonial-widget":null,"star-widget":null,"revews-widget":null}},PumperBundlesVolumeDiscount={PumperBundlesVolumeDiscount:{"app-block-qb":{selected_product:"{{ product }}",using_page_builder:!1}}},UnlimitedBundlesDiscounts={UnlimitedBundlesDiscounts:{"product-page-placeholder":null}},KiteFreeGiftDiscount={KiteFreeGiftDiscount:{"app-block":null}},FastBundleBundlesDiscounts={FastBundleBundlesDiscounts:{all_bundles:null,fbt_position:null,product_bundles:null,product_bundle_with_ids:null,volume_position:null}},SimpleBundlesKits={SimpleBundlesKits:{"infinite-options-selector":null}},EasyBundleBuilderSkailama={EasyBundleBuilderSkailama:{"app-block-bundlePage":null}},PreorderNowPreOrderPq={PreorderNowPreOrderPq:{"app-block-notifyapp-block-notify":null,"app-block-partial":null,"app-block-timer":null,"app-block":null}},FlyBundlesUpsellsFbt={FlyBundlesUpsellsFbt:{"app-block-volume":null,"app-block-upsell-block":null,"app-block-fbt":null,"app-block-custom":{bundle_id:""}}},JunipProductReviewsUgc={JunipProductReviewsUgc:{"junip-review-carousel":{reviewsType:"product_reviews",showSummary:!0,title:"Reviews",paddingTop:48,paddingBottom:48,containerClass:""},"junip-ugc-gallery":{layout:"scroll",title:"",paddingTop:48,paddingBottom:48,containerClass:""},"junip-product-review":{product:"{{product}}"},"junip-product-summary":{product:"{{product}}"},"junip-reviews":{layout:"list",reviewsType:"all",showSummary:!0,reviewsCount:10,containerClass:""}}},PreorderNowWodPresale={PreorderNowWodPresale:{"app-block":null,"popups-block":null}},YotpoReviews={YotpoReviews:{reviews:{product:"{{ product }}"},"star-rating":{product:"{{ product }}"}}},WhatmoreShoppableVideosreel={WhatmoreShoppableVideosreel:{"app-block":{heading:"Watch and Buy","template-type":"template-f","show-views":"show","ui-theme":"round","color-primary":"#343434","color-secondary":"#343434","title-font":"poppins_n4","primary-font":"poppins_n4","title-font-size":40,"title-font-size-portrait":24,"landscape-padding":40,"top-bottom-padding":20,"scroll-video-tile-size":80,"scroll-video-tile-size-portrait":80,"min-height":380},"app-block-banner":{"template-type":"template-banner-a","ui-theme":"round","banner-video-tile-size":80},"app-block-collections":{collectionHeading:"W","template-type":"template-collections-b","ui-theme":"round","color-secondary":"#343434","primary-font":"poppins_n4","tile-size":60,"tile-size-portrait":60,"min-height":250},"app-block-stories":{"template-type":"template-stories-a","ui-theme":"round","color-primary":"#343434","color-secondary":"#343434","primary-font":"poppins_n4","stories-top-bottom-padding":0,"story-tile-size":40,"story-tile-size-desktop":40}}},ProductOptionsCustomizer={ProductOptionsCustomizer:{"product-page-customizer":{pc_container_size:100,pc_show_options_total:"initial",pc_customizations_total_text:"Customizations Total:",pc_show_preloader:"hide",pc_preloader_color:"",pc_ignore_redirect_command:!0,pc_basic_label_text_color:"#000000",pc_basic_label_font_size:14,pc_basic_label_bolden:"unset",pc_basic_label_space_above:0,pc_basic_option_background_color:"#FFFFFF",pc_basic_option_text_color:"#000000",pc_basic_option_border_color:"#000000",pc_basic_option_border_style:"solid",pc_basic_option_border_width:1,pc_basic_option_curve_the_corners:"none",pc_basic_option_font_size:14,pc_basic_option_bolden:"none",pc_basic_option_width:100,pc_basic_option_space_above:0,pc_basic_option_space_below:0,pc_basic_option_space_inside:10,pc_advanced_custom_css:"",pc_advanced_custom_js:"",pc_show_image_swatch_preview:!1}}},AppointmentBookingCowlendar={AppointmentBookingCowlendar:{"app-section":{section_title:"Services list",section_type:"services-list"}}},BoldSubscriptions={BoldSubscriptions:{"bsub-widget-block":{default_subscribe:!0,primary_color:"#3b63ff",secondary_color:"#7dba63",background_color:"#f8f9f9",border_radius:4,header_text:"Purchase Options",one_time_text:"One-time Purchase",recurring_text:"Subscribe and Save",prepaid_recurring_text:"Prepaid Subscribe and Save",discount_summary_text:"(Save {discount})",discount_summary_plural_text:"(Save up to {discount})",frequency_header:"Delivery Frequency",frequency_text:"delivery",prepaid_checkbox_label_text:"Prepay for subscription",billing_frequency_header:"Billing Frequency",billing_frequency_text:"{count} Orders",delivery_frequency_discount_text:"({discount} off)",billing_frequency_discount_text:"({discount} off)",prepaid_total_text:"Billed {price} today",prepaid_continue_as_prepaid_text:"Prepaid order will auto-renew after {count} orders",prepaid_continue_as_standard_text:"Becomes a regular subscription after {count} orders",convertible_header:"Converts to",eligible_for_subscription_header:"Eligible for Subscription",initial_dynamic_discount_text:"Save {initial_percent_discount}% ({initial_fixed_discount})",subsequent_dynamic_discounts_text:"{subsequent_percent_discount}% ({subsequent_fixed_discount}) after {order_count} order(s)"}}},SproutPlantTreesGrowSales={SproutPlantTreesGrowSales:{badge:null,"impact-banner":null}},InstasellShoppableInstagram={InstasellShoppableInstagram:{"app-block":{heading:"InstaSell: Instagram Gallery+",description:"Showcase your Instagram Feed on your Shopify Storefront"}}},Growave={Growave:{"block.product.faveButton":{option_button_class:""},"block.product.reviewWidget":null,"block.product.reviewAvgProfile":null,"v2.product.reviewsMiniSlider":null}},LoloyalSettingCommon={title_font_size:30,subtitle_font_size:13,name_font_size:20,details_font_size:14,corner_radius:8,btn_radius:8,top_padding:32,bottom_padding:32,icon_color:"",title_color:"#000000",subtitle_color:"#000000",name_color:"#000000",details_color:"#000000",card_bg_color:"#FFFFFF",background_color:"#ffffff",border_color:"#ececec",primary_button_color:"#000000",primary_button_text_color:"#FFFFFF",secondary_button_color:"#FFFFFF",secondary_button_text_color:"#000000",hover_btn:"#000000",hover_text_color:"#FFFFFF",custom_css:"/* Add your custom styles here */"},LoloyalLoyaltyReferrals={LoloyalLoyaltyReferrals:{"app-banner":{img_opacity:0,bg_color:"#F6F6F6",banner_height:"400",content_position:"ll-middle-left",content_alignment:"left",title_font_size:40,subtitle_font_size:13,title_color:"#000000",subtitle_color:"#000000",btn_radius:30,primary_button_color:"#000000",primary_button_text_color:"#FFFFFF",secondary_button_color:"#FFFFFF",secondary_button_text_color:"#000000",hover_btn:"#000000",hover_text_color:"#FFFFFF",custom_css:"/* Add your custom styles here */"},"app-ways-to-earn":LoloyalSettingCommon,"app-ways-to-redeem":LoloyalSettingCommon,"app-referrals":LoloyalSettingCommon}},PowerfulContactFormBuilder={PowerfulContactFormBuilder:{"app-block":{shortcode:""}}},KachingBundles={KachingBundles:{"app-block":{product:"{{product}}"}}},WishlistKing={WishlistKing:{"wishlist-button-block":null}},GloboProductOptionsVariant={GloboProductOptionsVariant:{"app-block":null}},BestBuyFulfillment={BestBuyFulfillment:{"pickup-selector":null}},AftershipEmailMarketingsms={AftershipEmailMarketingsms:{embeded_form:{embedded_form_id:""}}},SegunoEmailMarketing={SegunoEmailMarketing:{back_in_stock:{heading:"<h3>Get notified when this is back in stock</h3>",label_email:"Email",placeholder_email:"",show_permission_checkbox:!0,label_permission:"<p>Also, sign up to receive newsletters</p>",label_notify:"Notify me",label_success:"<p>Thanks! You will be notified once the product is back in stock.</p>",product_exclusion_tag:"back-in-stock-excluded",default_variant:"available",padding:0,form_gap:16,button_alignment:"stretch",font_size:16,input_font_size:16,button_font_size:16,background_color:"#ffffff",text_color:"#121212",button_background_color:"#121212",button_border_color:"#121212",button_text_color:"#ffffff",input_background_color:"#ffffff",input_border_color:"#121212",input_text_color:"#121212",custom_css:""},newsletter_form:{heading:"Subscribe to our newsletter",subheading:"<p>Be the first to know about new collections and exclusive offers.</p>",show_first_name:!1,show_last_name:!1,show_permission_checkbox:!1,tags:"newsletter",return_to:"",label_first_name:"First name",placeholder_first_name:"",label_last_name:"Last name",placeholder_last_name:"",label_email:"Email",placeholder_email:"",label_permission:"<p>I agree to receive marketing emails</p>",label_subscribe:"Subscribe",success_message:"Thanks for subscribing",background_color:"#ffffff",text_color:"#1a1b18",button_background_color:"#445958",button_text_color:"#ffffff"}}},Trustoo={Trustoo:{"barrage-carousel":null,"review-widget":null,"photo-carousel":null,"star-rating-widget":{star_size:20,font_size:16,block_aligment:"flex-start"},"text-carousel":null,"card-carousel":null}},LooxReviews={LooxReviews:{"loox-card-carousel-section":{maxWidth:1100,borderRadius:8,itemsPerView:4,mobileItemsPerView:1,maxNumberOfCharacters:100,imageRatio:"0.72",reviewerNameColor:"#000000",textColor:"#000000",itemBackgroundColor:"#ffffff",starsColor:"",starsBackgroundColor:"#ffffff",arrows_backgroundColor:"#FFFFFF",arrows_iconColor:"#9A9A9A",shadow:"offset-dark",border_active:!1,border_width:2,border_color:"#000000",productIds:""},"loox-gallery-carousel-section":{maxWidth:1100,borderRadius:60,itemsPerView:5,mobileItemsPerView:1,imageRatio:"1",reviewerNameColor:"#ffffff",starsColor:"#ffffff",arrows_backgroundColor:"#FFFFFF",arrows_iconColor:"#9A9A9A",shadow:"none",border_active:!1,border_width:2,border_color:"#000000",productIds:""},"loox-referrals-section":{max_width:1100,layout:"with-photo",primary_color:"",text_color:"#000000",text_field_border_color:"#C9CDD4",background:""},"loox-dynamic-section":{only_photos:!1,aggregated:!1,limit:20,hide_thumbnails:!1,maxwidth:1080,is_sample:!0},"loox-snippets-widget":{alignment:"left","max-width":"","color-scheme":"default",shadow:"","show-rating":!0,"show-image":!0,"hide-arrows-mobile":!1,"font-size":14,"show-border":!1,"border-radius":16,"background-color":"","text-color":"","name-color":"","rating-icon-color":"","border-color":"","shadow-color":"","reviews-limit":10},"loox-rating":{contentSize:16,pattern:"",hideText:!1,alignment:"",layout:"",textColor:"",starColor:"",showAllReviews:!1,looxOpenFloatingWidget:!1,emptyRatingWidget:!1},"loox-testimonial-carousel-section":{maxWidth:1100,desktopFontSize:32,mobileFontSize:20,maxNumberOfCharacters:100,quoteMarkIcon:"style-1",reviewerNameColor:"#000000",textColor:"#000000",starsColor:"",quotesIconColor:"#EAEAEA",arrows_iconColor:"#000000",arrows_hideOnMobile:!0,pagination_active:!0,pagination_selectedDotColor:"#000000",pagination_dotColor:"#000000",autoplay_active:!1,autoplay_duration:2,productIds:""},"loox-trust-badge":{layout:"horizontal",alignment:"left","scheme-type":"default","review-title":"reviews","rating-icon":!0,"average-rating":!0,"loox-branding":!0,"review-count":!0,"open-reviews":!0,"show-border":!0,"border-radius":8,"font-size":20,"background-color":"","secondary-background-color":"","text-color":"","rating-icon-color":"","border-color":""},"loox-video-slider":{"show-by-tag":!1,layout:"spotlight",shadow:"","show-rating":!0,"show-reviewer-name":!0,"hide-arrows-mobile":!0,"auto-play":!0,"show-border":!1,"border-width":1,"border-radius":16,"text-color":"","rating-icon-color":"","border-color":"","play-button-color":"","shadow-color":"","product-id":""}}},SeoantTrustBadgesIcon={SeoantTrustBadgesIcon:{star_rating:{badge_id:null}}},TrustreviewsProductReviews={TrustreviewsProductReviews:{questions_widget:{product:"{{ product }}"},"review-carousel":null,reviews_text_widget:null,reviews_widget:{product:"{{ product }}"},shop_reviews_widget:null,star_rating:{product:"{{product}}",hide_on_no_reviews:!1,enable_jsonld:!1,starsize:16,addtional_text:""},"reviews-testimonials":null,all_reviews_widget:null,"review-cards":null,"review-gallery":null,medals:null}},MyappgurusProductReviews={MyappgurusProductReviews:{allReviews:{Show_by_label:""},allReviewsCounter:{out_of_label:"",stars_based_on_label:"",reviews_label:""},form:{block_heading:"",no_rating:"",subtitle2:"",review_btn:"",see_all_reviews_label:"",form_heading:"",name_label:"",email_label:"",review_title_label:"",review_description_label:"",ratings_label:"",delivery_ratings_label:"",payment_ratings_label:"",price_ratings_label:"",review_image_label:"",submit_btn_label:"",cancel_btn_label:"",sort_label:"",sort1_label:"",sort2_label:"",sort3_label:"",showing_label:"",to_label:"",of_label:"",results_label:""},star:null}},HulkProductOptions={HulkProductOptions:{option_block:null}},TrustshopProductReviews={TrustshopProductReviews:{"widget-product-rating":{selected_product:"{{ product }}"},"all-reviews":null,"widget-box":null,"review-testimonial":null}},Stamped={Stamped:{"main-widget":{animation:!0,tags_exclude:"",tags_include:"",search:"",linkify:!0,use_metafields:!1,sku_tagtype:"sku"},"product-rating-image":{api_key:"",store_hash:"",product_id:"",width:"",height:""},"badge-double-image":{api_key:"",store_hash:"",label1:"",label2:"",width:"",height:""},"badge-single-image":{api_key:"",store_hash:"",label1:"",label2:"",width:"",height:""},carousel:{title:"Real Reviews from Real Customers",auto_play:!1,take:30,color_title:"",color_star:"",color_text:"",color_link:"",review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"checkout-comments":{product_ids:"",style:"box",title:"",timeago:!1,style_color_text:"",style_color_link:""},"full-page":{product_image:!0,take:30,label_substitute:"",color_star:"",color_verified:"",color_text:"",color_link:"",review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"instagram-feed":{feed_type:"carousel",color_hover:"",hover_text:"",shop_button_text:"",auto_play:!1,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"single-highlight":{review_ids:"",product_ids:"",category:"",product_brand:"",tags:""},"site-badge":{badge_type:"badge",color_outer:"",color_inner:"",color_ribbon:"",color_text:"",color_stars:"",title_size:12,title:"Verified Reviews"},"star-rating-badge":{use_metafields:!1,sku_tagtype:"sku",is_featured_product:!1,featured_product_handle:""},"top-rated":{color_star:"",color_link:""},"visual-gallery":{feed_type:"feed",auto_play:!1,color_star:"",color_hover:"",color_hover_opacity:50,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"wall-photos":{feed_type:"feed",auto_play:!1,color_star:"",color_hover:"",color_hover_opacity:50,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1}}},BoostAISearchDiscovery={BoostAISearchDiscovery:{"filter-product-list-ssr":null,"recommendation-ssr":{widgetId:"",additional_classes:"",custom_css:""}}},EssentialCountdownTimerBar={EssentialCountdownTimerBar:{"app-block":{id:""}}},EssentialAnnouncementBar={EssentialAnnouncementBar:{"app-block":{id:""}}},OkendoReviewsLoyalty={OkendoReviewsLoyalty:{"reviews-widget":{product:"{{product}}",widget_type:"reviews_widget"},"reviews-badge":{horizontal_alignment:"center"},"media-carousel":{product:"{{product}}"},"media-grid":{product:"{{product}}"},"reviews-carousel":{show_heading:!1,heading:"",badge_link:"",product:"{{product}}"},"star-rating":{product:"{{product}}"},"questions-widget":{product:"{{product}}"}}},EstimatedDeliveryDatePlus={EstimatedDeliveryDatePlus:{delivery_coder_theme:null}},HextomCountdownTimerBar={HextomCountdownTimerBar:{"fsb-custom-placement":null}},TrustBadgesBear={TrustBadgesBear:{widget:null}},TrustedsiteTrustBadges={TrustedsiteTrustBadges:{engagement:{"tm-type":"202","tm-size":"120"}}},GloColorSwatchvariantImage={GloColorSwatchvariantImage:{"product-bundles-quantity-breaks":null,"product-swatches-detail":null,"product-bundles-combo":null,"product-groups-detail":null}},BfSizeChartSizeGuide={BfSizeChartSizeGuide:{block:null}},HextomFreeShippingBar={HextomFreeShippingBar:{"fsb-custom-placement":null}},ShopifySubscriptions={ShopifySubscriptions:{"app-block":{color_text_title:"#6D7175",color_text_body:"#6D7175",dividers_color:"#8F8D8D",bacgkround_color:"#FFFFFF",border_thickness:1,border_radius:0,supporting_text_title:"Purchase options",subscription_policy_url:"",product:"{{product}}"}}},QikifyUpsell={QikifyUpsell:{bogo_offer:{product:"{{product}}"},free_gift:{product:"{{product}}"},bundle_offer:{product:"{{product}}"},promotion_badge:{product:"{{product}}"},"order-goal":null,upsurge_offer:{product:"{{product}}"},volume_offer:{product:"{{product}}"}}},EcoboostifyShoppableReelUgc={EcoboostifyShoppableReelUgc:{"reel-playlist":{playlist_id:""}}},Releasit={Releasit:{"button-app-block":{product:"{{product}}"},"form-app-block":{product:"{{product}}"}}},EcomsendBackInStockAlert={EcomsendBackInStockAlert:{"product-restore-email":null}},AppstleBundlesDiscounts={AppstleBundlesDiscounts:{"appstle-classic-bundle":null,"appstle-bundle-product-page-build-a-box":null}},AovFreeGiftBuyXGetYBogo={AovFreeGiftBuyXGetYBogo:{"avada-promotion-card":null,"avada-volume-discount":null}},ParcelPanelOrderTracking={ParcelPanel:{app:null,edd:null}},KoalaBundleDiscountConfig={KoalaBundleQuantityDiscount:{"deals-block":{product:"{{product}}"}}},AovBundlesVolumeDiscounts={AovBundlesVolumeDiscounts:{"offer-bundle-builder":null,"offer-fixed":null,"offer-inline":null,"mix-match-offer-inline":null,"offer-volume":null}},UppromoteAffiliateMarketing={UppromoteAffiliateMarketing:{"customer-referral-landing":{section_corners:0,section_top_margin:20,section_bottom_margin:20},"registration-form":{section_width:100,border_radius:4,top_margin:20,bottom_margin:4}}},BloyRewardsProgramLoyalty={BloyRewardsProgramLoyalty:{"bloy-loyalty-guide":{background_color:"#FFFFFF",heading_text:"How it works",join_title:"Join",join_content:"Sign up or log in to earn points",earn_title:"Earn",earn_content:"Earn points for every purchase made",redeem_title:"Redeem",redeem_content:"Redeem points for exclusive rewards"},"bloy-point-caculator-pdp":null,"bloy-loyalty-points-program":{primary_color:"#001584",background_color:"#FFFFFF",heading_text:"Points program",subtitle:"Become a member to earn points and gain exclusive rewards for every purchase you make",primary_button:"Join now",secondary_button:"Sign in"},"bloy-loyalty-vip-program":{heading_title:"VIP tiers",subtitle:"Join VIP program to enjoy exclusive rewards and special perks made just for you!"},"bloy-loyalty-ways-earn":{primary_color:"#001584",background_color:"#FFFFFF",modal_primary_color:"#001584",heading_title:"Ways to earn points",subtitle:"Complete the actions below to earn points - unlock exclusive rewards by engaging with our store.",sign_up_button:"Complete",make_purchase_button:"Make a purchase",celebrate_birthday_button:"Update",follow_instagram_button:"Complete",share_facebook_button:"Complete",like_facebook_button:"Complete",follow_x_button:"Complete",share_x_button:"Complete",follow_tiktok_button:"Complete",review_button:"Complete",refer_button:"Refer",subscribe_button:"Subscribe",birthday_title:"Celebrate your birthday",birthday_subtitle:"Birthday rewards can only be claimed once per year. Please enter or update your birthday at least 30 days in advance.",birthday_button:"Update",birthday_updated_title:"Birthday updated",birthday_updated_subtitle:"You'll automatically receive {x points} on your birthday.",birthday_updated_button:"Okay",subscribe_updated_title:"Thank you for your subscription!",subscribe_updated_subtitle:"You’ve earned {x points} to unlock exciting rewards ahead!"},"bloy-loyalty-balance":{primary_color:"#001584",background_color:"#FFFFFF",toast_primary_color:"#001584",heading_text:"Your balance: {x points}",your_reward:"Your rewards",your_activities:"Your activities",copy_button:"Copy",apply_button:"Apply",used_badge:"Used",empty_state_rewards_title:"No rewards yet",empty_state_rewards_content:"You do not have any rewards yet. Start earning points to get access to exclusive rewards.",empty_state_activities_title:"No activities yet",empty_state_activities_content:"No activities have been logged in the points program. Start earning points to get access to exclusive rewards.",toast_copied:"Discount copied",toast_applied:"Discount applied"},"product-point-preview":null,"bloy-loyalty-ways-redeem":{primary_color:"#001584",background_color:"#FFFFFF",modal_primary_color:"#001584",toast_primary_color:"#001584",heading_title:"Ways to redeem points",subtitle:"Use your points to claim the rewards listed below and apply them during checkout.",redeem_button:"Redeem",redeem_title:"Redeem points",redeem_subtitle:"Copy or apply the discount code to your cart. If you do not use this code now, you can always access it later in Your Rewards tab.",redeem_primary_button:"Copy",redeem_secondary_button:"Apply",redeem_store_credit_subtitle:"Available store credit is automatically shown at checkout. Simply choose whether to apply it to your order.",redeem_tertiary_button:"Okay",toast_copied:"Discount copied",toast_applied:"Discount applied"}}},composeSettingsByWidgetType={...BloyRewardsProgramLoyalty,...UppromoteAffiliateMarketing,...AovBundlesVolumeDiscounts,...KoalaBundleDiscountConfig,...ParcelPanelOrderTracking,...AovFreeGiftBuyXGetYBogo,...EcomsendBackInStockAlert,...AppstleBundlesDiscounts,...HextomCountdownTimerBar,...EstimatedDeliveryDatePlus,...OkendoReviewsLoyalty,...EssentialAnnouncementBar,...EssentialCountdownTimerBar,...BoostAISearchDiscovery,...Stamped,...TrustshopProductReviews,...HulkProductOptions,...MyappgurusProductReviews,...TrustreviewsProductReviews,...SeoantTrustBadgesIcon,...SegunoEmailMarketing,...AftershipEmailMarketingsms,...BestBuyFulfillment,...GloboProductOptionsVariant,...WishlistKing,...LoloyalLoyaltyReferrals,...PowerfulContactFormBuilder,...InstasellShoppableInstagram,...SproutPlantTreesGrowSales,...AppointmentBookingCowlendar,...ProductOptionsCustomizer,...WhatmoreShoppableVideosreel,...JunipProductReviewsUgc,...FlyBundlesUpsellsFbt,...PreorderNowWodPresale,...PreorderNowPreOrderPq,...EasyBundleBuilderSkailama,...FastBundleBundlesDiscounts,...KiteFreeGiftDiscount,...UnlimitedBundlesDiscounts,...SimpleBundlesKits,...PumperBundlesVolumeDiscount,...ReviewxpoProductReviewsApp,...ShopifyForms,...SkioSubscriptionsYcS20,...LoopSubscriptions,...RechargeSubscriptions,...LoyaltyRewardsReferrals,...SubifySubscriptions,...SelleasyWidget,...YotpoReviews,...BoldSubscriptions,...Growave,...KachingBundles,...Trustoo,...LooxReviews,...TrustBadgesBear,...TrustedsiteTrustBadges,...GloColorSwatchvariantImage,...BfSizeChartSizeGuide,...HextomFreeShippingBar,...ShopifySubscriptions,...QikifyUpsell,...EcoboostifyShoppableReelUgc,...Releasit};export{composeSettingsByWidgetType,overrideSettings};
1
+ let e=(e,o,t)=>{switch(e){case"ShopifyForms":return{...o,form_id:t.formId};case"FlyBundlesUpsellsFbt":return{...o,bundle_id:t?.customBundleId};case"PumperBundlesVolumeDiscount":case"TrustshopProductReviews":return{...o,selected_product:t?.productHandle||"{{ product }}"};case"WhatmoreShoppableVideosreel":return{...o,"show-views":t?.showViews,heading:t?.heading,"template-type":t?.templateType,"title-font-size":parseFloat(t?.titleFontSize),"landscape-padding":parseFloat(t?.landscapePadding),"top-bottom-padding":parseFloat(t?.topBottomPadding),"scroll-video-tile-size":parseFloat(t?.scrollVideoTitleSize),"scroll-video-tile-size-portrait":parseFloat(t?.scrollVideoTitleSizePortrait)};case"KachingBundles":case"YotpoReviews":case"OkendoReviewsLoyalty":case"ShopifySubscriptions":case"QikifyUpsell":case"Releasit":case"SubifySubscriptionsApp":case"RechargeSubscriptions":case"KoalaBundleQuantityDiscount":return{...o,product:t?.productHandle||"{{ product }}"};case"PowerfulContactFormBuilder":return{...o,shortcode:t?.shortcode};case"AftershipEmailMarketingsms":return{...o,embedded_form_id:t?.formId};case"SeoantTrustBadgesIcon":return{...o,badge_id:t?.BadgeId};case"Stamped":return{...o,feed_type:t.visualGalleryType,auto_play:t.autoSlide,color_star:t.starColor,color_hover:t.hoverColor,color_hover_opacity:t.hoverOpacity,review_ids:t.reviewIds,product_ids:t.productIds,category:t.productType,product_brand:t.productVendor,tags:t.tags,min_rating:t.minimumRating,fill_empty:t.fillEmpty,random:t.random,with_photos:t.withPhotos,color_link:t.linkColor,product_image:t.showProductImage,take:t.limitResults,color_verified:t.verifiedColor,color_text:t.textColor,title:t.carouselTitle,color_title:t.titleColor,api_key:t.publicKey,store_hash:t.storeHash,label1:t.labelFront,label2:t.labelBack,width:t.imageWidth,height:t.imageHeight,product_id:t.productId,animation:t.mainWidgetAnimation,tags_exclude:t.excludeTags,tags_include:t.includeTags,search:t.search,linkify:t.linkify};case"BoostAISearchDiscovery":return{...o,widgetId:t?.widgetID};case"EssentialCountdownTimerBar":return{...o,id:t?.timerId};case"EssentialAnnouncementBar":return{...o,id:t?.announcementId};case"TrustedsiteTrustBadges":return{...o,"tm-type":t?.trustId};case"EcoboostifyShoppableReelUgc":return{...o,playlist_id:t?.playlistId};default:return o}},o={title_font_size:30,subtitle_font_size:13,name_font_size:20,details_font_size:14,corner_radius:8,btn_radius:8,top_padding:32,bottom_padding:32,icon_color:"",title_color:"#000000",subtitle_color:"#000000",name_color:"#000000",details_color:"#000000",card_bg_color:"#FFFFFF",background_color:"#ffffff",border_color:"#ececec",primary_button_color:"#000000",primary_button_text_color:"#FFFFFF",secondary_button_color:"#FFFFFF",secondary_button_text_color:"#000000",hover_btn:"#000000",hover_text_color:"#FFFFFF",custom_css:"/* Add your custom styles here */"},t={BloyRewardsProgramLoyalty:{"bloy-loyalty-guide":{background_color:"#FFFFFF",heading_text:"How it works",join_title:"Join",join_content:"Sign up or log in to earn points",earn_title:"Earn",earn_content:"Earn points for every purchase made",redeem_title:"Redeem",redeem_content:"Redeem points for exclusive rewards"},"bloy-point-caculator-pdp":null,"bloy-loyalty-points-program":{primary_color:"#001584",background_color:"#FFFFFF",heading_text:"Points program",subtitle:"Become a member to earn points and gain exclusive rewards for every purchase you make",primary_button:"Join now",secondary_button:"Sign in"},"bloy-loyalty-vip-program":{heading_title:"VIP tiers",subtitle:"Join VIP program to enjoy exclusive rewards and special perks made just for you!"},"bloy-loyalty-ways-earn":{primary_color:"#001584",background_color:"#FFFFFF",modal_primary_color:"#001584",heading_title:"Ways to earn points",subtitle:"Complete the actions below to earn points - unlock exclusive rewards by engaging with our store.",sign_up_button:"Complete",make_purchase_button:"Make a purchase",celebrate_birthday_button:"Update",follow_instagram_button:"Complete",share_facebook_button:"Complete",like_facebook_button:"Complete",follow_x_button:"Complete",share_x_button:"Complete",follow_tiktok_button:"Complete",review_button:"Complete",refer_button:"Refer",subscribe_button:"Subscribe",birthday_title:"Celebrate your birthday",birthday_subtitle:"Birthday rewards can only be claimed once per year. Please enter or update your birthday at least 30 days in advance.",birthday_button:"Update",birthday_updated_title:"Birthday updated",birthday_updated_subtitle:"You'll automatically receive {x points} on your birthday.",birthday_updated_button:"Okay",subscribe_updated_title:"Thank you for your subscription!",subscribe_updated_subtitle:"You’ve earned {x points} to unlock exciting rewards ahead!"},"bloy-loyalty-balance":{primary_color:"#001584",background_color:"#FFFFFF",toast_primary_color:"#001584",heading_text:"Your balance: {x points}",your_reward:"Your rewards",your_activities:"Your activities",copy_button:"Copy",apply_button:"Apply",used_badge:"Used",empty_state_rewards_title:"No rewards yet",empty_state_rewards_content:"You do not have any rewards yet. Start earning points to get access to exclusive rewards.",empty_state_activities_title:"No activities yet",empty_state_activities_content:"No activities have been logged in the points program. Start earning points to get access to exclusive rewards.",toast_copied:"Discount copied",toast_applied:"Discount applied"},"product-point-preview":null,"bloy-loyalty-ways-redeem":{primary_color:"#001584",background_color:"#FFFFFF",modal_primary_color:"#001584",toast_primary_color:"#001584",heading_title:"Ways to redeem points",subtitle:"Use your points to claim the rewards listed below and apply them during checkout.",redeem_button:"Redeem",redeem_title:"Redeem points",redeem_subtitle:"Copy or apply the discount code to your cart. If you do not use this code now, you can always access it later in Your Rewards tab.",redeem_primary_button:"Copy",redeem_secondary_button:"Apply",redeem_store_credit_subtitle:"Available store credit is automatically shown at checkout. Simply choose whether to apply it to your order.",redeem_tertiary_button:"Okay",toast_copied:"Discount copied",toast_applied:"Discount applied"}},UppromoteAffiliateMarketing:{"customer-referral-landing":{section_corners:0,section_top_margin:20,section_bottom_margin:20},"registration-form":{section_width:100,border_radius:4,top_margin:20,bottom_margin:4}},AovBundlesVolumeDiscounts:{"offer-bundle-builder":null,"offer-fixed":null,"offer-inline":null,"mix-match-offer-inline":null,"offer-volume":null},KoalaBundleQuantityDiscount:{"deals-block":{product:"{{product}}"}},ParcelPanel:{app:null,edd:null},AovFreeGiftBuyXGetYBogo:{"avada-promotion-card":null,"avada-volume-discount":null},EcomsendBackInStockAlert:{"product-restore-email":null},AppstleBundlesDiscounts:{"appstle-classic-bundle":null,"appstle-bundle-product-page-build-a-box":null},HextomCountdownTimerBar:{"fsb-custom-placement":null},EstimatedDeliveryDatePlus:{delivery_coder_theme:null},OkendoReviewsLoyalty:{"reviews-widget":{product:"{{product}}",widget_type:"reviews_widget"},"reviews-badge":{horizontal_alignment:"center"},"media-carousel":{product:"{{product}}"},"media-grid":{product:"{{product}}"},"reviews-carousel":{show_heading:!1,heading:"",badge_link:"",product:"{{product}}"},"star-rating":{product:"{{product}}"},"questions-widget":{product:"{{product}}"}},EssentialAnnouncementBar:{"app-block":{id:""}},EssentialCountdownTimerBar:{"app-block":{id:""}},BoostAISearchDiscovery:{"filter-product-list-ssr":null,"recommendation-ssr":{widgetId:"",additional_classes:"",custom_css:""}},Stamped:{"main-widget":{animation:!0,tags_exclude:"",tags_include:"",search:"",linkify:!0,use_metafields:!1,sku_tagtype:"sku"},"product-rating-image":{api_key:"",store_hash:"",product_id:"",width:"",height:""},"badge-double-image":{api_key:"",store_hash:"",label1:"",label2:"",width:"",height:""},"badge-single-image":{api_key:"",store_hash:"",label1:"",label2:"",width:"",height:""},carousel:{title:"Real Reviews from Real Customers",auto_play:!1,take:30,color_title:"",color_star:"",color_text:"",color_link:"",review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"checkout-comments":{product_ids:"",style:"box",title:"",timeago:!1,style_color_text:"",style_color_link:""},"full-page":{product_image:!0,take:30,label_substitute:"",color_star:"",color_verified:"",color_text:"",color_link:"",review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"instagram-feed":{feed_type:"carousel",color_hover:"",hover_text:"",shop_button_text:"",auto_play:!1,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"single-highlight":{review_ids:"",product_ids:"",category:"",product_brand:"",tags:""},"site-badge":{badge_type:"badge",color_outer:"",color_inner:"",color_ribbon:"",color_text:"",color_stars:"",title_size:12,title:"Verified Reviews"},"star-rating-badge":{use_metafields:!1,sku_tagtype:"sku",is_featured_product:!1,featured_product_handle:""},"top-rated":{color_star:"",color_link:""},"visual-gallery":{feed_type:"feed",auto_play:!1,color_star:"",color_hover:"",color_hover_opacity:50,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1},"wall-photos":{feed_type:"feed",auto_play:!1,color_star:"",color_hover:"",color_hover_opacity:50,review_ids:"",product_ids:"",category:"",product_brand:"",tags:"",min_rating:"none",fill_empty:!1,random:!1,with_photos:!1}},TrustshopProductReviews:{"widget-product-rating":{selected_product:"{{ product }}"},"all-reviews":null,"widget-box":null,"review-testimonial":null},HulkProductOptions:{option_block:null},MyappgurusProductReviews:{allReviews:{Show_by_label:""},allReviewsCounter:{out_of_label:"",stars_based_on_label:"",reviews_label:""},form:{block_heading:"",no_rating:"",subtitle2:"",review_btn:"",see_all_reviews_label:"",form_heading:"",name_label:"",email_label:"",review_title_label:"",review_description_label:"",ratings_label:"",delivery_ratings_label:"",payment_ratings_label:"",price_ratings_label:"",review_image_label:"",submit_btn_label:"",cancel_btn_label:"",sort_label:"",sort1_label:"",sort2_label:"",sort3_label:"",showing_label:"",to_label:"",of_label:"",results_label:""},star:null},TrustreviewsProductReviews:{questions_widget:{product:"{{ product }}"},"review-carousel":null,reviews_text_widget:null,reviews_widget:{product:"{{ product }}"},shop_reviews_widget:null,star_rating:{product:"{{product}}",hide_on_no_reviews:!1,enable_jsonld:!1,starsize:16,addtional_text:""},"reviews-testimonials":null,all_reviews_widget:null,"review-cards":null,"review-gallery":null,medals:null},SeoantTrustBadgesIcon:{star_rating:{badge_id:null}},SegunoEmailMarketing:{back_in_stock:{heading:"<h3>Get notified when this is back in stock</h3>",label_email:"Email",placeholder_email:"",show_permission_checkbox:!0,label_permission:"<p>Also, sign up to receive newsletters</p>",label_notify:"Notify me",label_success:"<p>Thanks! You will be notified once the product is back in stock.</p>",product_exclusion_tag:"back-in-stock-excluded",default_variant:"available",padding:0,form_gap:16,button_alignment:"stretch",font_size:16,input_font_size:16,button_font_size:16,background_color:"#ffffff",text_color:"#121212",button_background_color:"#121212",button_border_color:"#121212",button_text_color:"#ffffff",input_background_color:"#ffffff",input_border_color:"#121212",input_text_color:"#121212",custom_css:""},newsletter_form:{heading:"Subscribe to our newsletter",subheading:"<p>Be the first to know about new collections and exclusive offers.</p>",show_first_name:!1,show_last_name:!1,show_permission_checkbox:!1,tags:"newsletter",return_to:"",label_first_name:"First name",placeholder_first_name:"",label_last_name:"Last name",placeholder_last_name:"",label_email:"Email",placeholder_email:"",label_permission:"<p>I agree to receive marketing emails</p>",label_subscribe:"Subscribe",success_message:"Thanks for subscribing",background_color:"#ffffff",text_color:"#1a1b18",button_background_color:"#445958",button_text_color:"#ffffff"}},AftershipEmailMarketingsms:{embeded_form:{embedded_form_id:""}},BestBuyFulfillment:{"pickup-selector":null},GloboProductOptionsVariant:{"app-block":null},WishlistKing:{"wishlist-button-block":null},LoloyalLoyaltyReferrals:{"app-banner":{img_opacity:0,bg_color:"#F6F6F6",banner_height:"400",content_position:"ll-middle-left",content_alignment:"left",title_font_size:40,subtitle_font_size:13,title_color:"#000000",subtitle_color:"#000000",btn_radius:30,primary_button_color:"#000000",primary_button_text_color:"#FFFFFF",secondary_button_color:"#FFFFFF",secondary_button_text_color:"#000000",hover_btn:"#000000",hover_text_color:"#FFFFFF",custom_css:"/* Add your custom styles here */"},"app-ways-to-earn":o,"app-ways-to-redeem":o,"app-referrals":o},PowerfulContactFormBuilder:{"app-block":{shortcode:""}},InstasellShoppableInstagram:{"app-block":{heading:"InstaSell: Instagram Gallery+",description:"Showcase your Instagram Feed on your Shopify Storefront"}},SproutPlantTreesGrowSales:{badge:null,"impact-banner":null},AppointmentBookingCowlendar:{"app-section":{section_title:"Services list",section_type:"services-list"}},ProductOptionsCustomizer:{"product-page-customizer":{pc_container_size:100,pc_show_options_total:"initial",pc_customizations_total_text:"Customizations Total:",pc_show_preloader:"hide",pc_preloader_color:"",pc_ignore_redirect_command:!0,pc_basic_label_text_color:"#000000",pc_basic_label_font_size:14,pc_basic_label_bolden:"unset",pc_basic_label_space_above:0,pc_basic_option_background_color:"#FFFFFF",pc_basic_option_text_color:"#000000",pc_basic_option_border_color:"#000000",pc_basic_option_border_style:"solid",pc_basic_option_border_width:1,pc_basic_option_curve_the_corners:"none",pc_basic_option_font_size:14,pc_basic_option_bolden:"none",pc_basic_option_width:100,pc_basic_option_space_above:0,pc_basic_option_space_below:0,pc_basic_option_space_inside:10,pc_advanced_custom_css:"",pc_advanced_custom_js:"",pc_show_image_swatch_preview:!1}},WhatmoreShoppableVideosreel:{"app-block":{heading:"Watch and Buy","template-type":"template-f","show-views":"show","ui-theme":"round","color-primary":"#343434","color-secondary":"#343434","title-font":"poppins_n4","primary-font":"poppins_n4","title-font-size":40,"title-font-size-portrait":24,"landscape-padding":40,"top-bottom-padding":20,"scroll-video-tile-size":80,"scroll-video-tile-size-portrait":80,"min-height":380},"app-block-banner":{"template-type":"template-banner-a","ui-theme":"round","banner-video-tile-size":80},"app-block-collections":{collectionHeading:"W","template-type":"template-collections-b","ui-theme":"round","color-secondary":"#343434","primary-font":"poppins_n4","tile-size":60,"tile-size-portrait":60,"min-height":250},"app-block-stories":{"template-type":"template-stories-a","ui-theme":"round","color-primary":"#343434","color-secondary":"#343434","primary-font":"poppins_n4","stories-top-bottom-padding":0,"story-tile-size":40,"story-tile-size-desktop":40}},JunipProductReviewsUgc:{"junip-review-carousel":{reviewsType:"product_reviews",showSummary:!0,title:"Reviews",paddingTop:48,paddingBottom:48,containerClass:""},"junip-ugc-gallery":{layout:"scroll",title:"",paddingTop:48,paddingBottom:48,containerClass:""},"junip-product-review":{product:"{{product}}"},"junip-product-summary":{product:"{{product}}"},"junip-reviews":{layout:"list",reviewsType:"all",showSummary:!0,reviewsCount:10,containerClass:""}},FlyBundlesUpsellsFbt:{"app-block-volume":null,"app-block-upsell-block":null,"app-block-fbt":null,"app-block-custom":{bundle_id:""}},PreorderNowWodPresale:{"app-block":null,"popups-block":null},PreorderNowPreOrderPq:{"app-block-notifyapp-block-notify":null,"app-block-partial":null,"app-block-timer":null,"app-block":null},EasyBundleBuilderSkailama:{"app-block-bundlePage":null},FastBundleBundlesDiscounts:{all_bundles:null,fbt_position:null,product_bundles:null,product_bundle_with_ids:null,volume_position:null},KiteFreeGiftDiscount:{"app-block":null},UnlimitedBundlesDiscounts:{"product-page-placeholder":null},SimpleBundlesKits:{"infinite-options-selector":null},PumperBundlesVolumeDiscount:{"app-block-qb":{selected_product:"{{ product }}",using_page_builder:!1}},ReviewxpoProductReviewsApp:{"five-star-badge-widget":null,"allreviews-widget":null,"carousel-widget":null,"gallery-widget":null,"badge-widget":null,"testimonial-widget":null,"star-widget":null,"revews-widget":null},ShopifyForms:{inline:{form_id:null}},SkioSubscriptionsYcS20:{"app-block":{form_id:"product-form-{{section.id}}",start_onetime:"true",onetime_first:"true",default_subscription:"",group_border_radius:5,group_border_shadow:!0,group_border_selected_color:"#000",onetime_title:"One Time",subscription_title:"Subscribe",prepaid_title:"Prepaid",discount_format:"percent",discount_style:"bubble",discount_prefix:"Save",discount_suffix:"",discount_color:"#0fa573"}},LoopSubscriptions:{star_rating:{product:"{{product}}"}},RechargeSubscriptions:{"subscription-widget":{product:"{{ product }}"},"subscription-widget-v2":{default_selection:"subscription",first_selection_option:"subscription",display_mode:"normal",brand_color:"#121212",brand_contrast_color:"#FFFFFF",selected_bg_color:"#FFFFFF",selected_text_color:"#121212",text_color:"#121212",border_radius:"soft",subscription_with_discount_label:"Subscribe & save",subscription_without_discount_label:"Subscribe",onetime_label:"One-time",frequency_label:"Deliver every:",frequency_display_type:"buttonGroup",frequency_display_content:"interval",badge_text:"Save up to {maxDiscount}",badge_text_color:"#FFFFFF",badge_bg_color:"#0F866A",benefits:"<ul><li>You save {discount}</li><li>Skip, delay or cancel any time</li><li>Free shipping in the US</li><li>Renew on your timeframe</li></ul>",onetime_drawbacks:"",learn_more_text:"Learn more",learn_more_content:'<style>rc-learn-more-modal h1 { font-size: 40px; line-height: 48px; font-weight: 600; text-align: center; padding-bottom: 32px; margin: 0;}rc-learn-more-modal h2 { padding: 0; margin: 0; font-size: 20px; line-height: 28px; font-weight: 600;}rc-learn-more-modal p { margin: 0; padding: 0; font-size: 16px; line-height: 24px;}rc-learn-more-modal .learn-more-content { padding: 0 20px 20px;}rc-learn-more-modal .learn-more-footer button { background-color: var(--rc-widget-brand-color); color: var(--rc-widget-brand-contrast-color); border: none; border-radius: var(--rc-widget-button-radius); padding: 12px; min-width: 335px; font-size: 16px; font-weight: 600; line-height: 24px; cursor: pointer; transition: background-color 0.1s ease;}rc-learn-more-modal .learn-more-footer button:hover { background-color: var(--rc-widget-brand-color-80);}rc-learn-more-modal .learn-more-footer { display: flex; justify-content: center;}rc-learn-more-modal .learn-more-group { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px;}rc-learn-more-modal .learn-more-group-item { display: flex; gap: 32px; align-items: center;}rc-learn-more-modal .learn-more-group-icon-container { display: flex; padding: 32px; background-color: #f6f8f9; border-radius: var(--rc-widget-card-radius);}rc-learn-more-modal svg, rc-learn-more-modal img { height: 40px; width: 40px;}@media (max-width: 560px) { rc-learn-more-modal h1 { font-size: 26px; line-height: 32px; padding-bottom: 16px; }rc-learn-more-modal h2 { font-size: 16px; line-height: 24px;}rc-learn-more-modal p { font-size: 14px; line-height: 20px;}rc-learn-more-modal .learn-more-content { padding: 0;}rc-learn-more-modal svg, rc-learn-more-modal img { height: 32px; width: 32px;}rc-learn-more-modal .learn-more-group-item { gap: 16px;}rc-learn-more-modal .learn-more-group-icon-container { padding: 20px;} }</style><div class="learn-more-content">\n<h1 class="learn-more-header">Great reasons to subscribe</h1> <div class="learn-more-group"> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"><span rc-calendar-icon></span></div> <div> <h2 style="margin:0;">Flexible frequency</h2> <p style="margin:0;"> Not sure how much of something you need, or how often? Adjust quantities and frequencies any time. </p> </div> </div> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"> <span rc-bell-icon></span> </div> <div> <h2>Order reminders</h2> <p> We\'ll let you know before each shipment. Delay, reschedule or cancel if you need to - we’ll only bill you when your order ships. </p> </div> </div> <div class="learn-more-group-item"> <div class="learn-more-group-icon-container"> <span rc-phone-icon></span> </div> <div> <h2>You\'re in control</h2> <p> Add or remove subscriptions, cancel orders, and edit frequencies and quantities through our user-friendly customer portal. </p> </div> </div> </div>\n</div><div class="learn-more-footer"><button data-dismiss-modal>Got it</button></div>',frequency_display_translations:'{\n "days": "{interval} days", \n "day": "{interval} day", \n "weeks": "{interval} weeks", \n "week": "{interval} week", \n "months": "{interval} months", \n "month": "{interval} month", \n "save": "Save {discount}"\n}'}},BonLoyaltyRewardsReferrals:{"loyalty-page-block":null,"loyalty-page-earning-block":null,"loyalty-page-header-block":null,"loyalty-page-profile-block":null,"loyalty-page-redeem-block":null,"loyalty-page-referral-block":null,"loyalty-page-tier-block":null,"product-point-preview":null},SubifySubscriptionsApp:{"app-block":{product:"{{product}}",use_app_block_wording:!1,widget_label:"Purchase options",one_time_purchase_text:"One-Time Purchase",subscription_text:"Subscribe and save",delivery_frequency_text:"Delivery frequency",prepaid_subscription_text:"Subscription with prepaid",skin1_priceSuffix:"each",skin1_save:"Save(skin1)",skin1_prepaid_payment_title:"prepaid",skin1_normal_payment_title:"pay as you go",skin2_discountSuffix:"Save",skin3_fullPrice:"Full price",skin3_priceSuffix:"each",skin3_discountSuffix:"Off",skin4_justOnce:"Just once",skin4_discountSuffix:"Off",skin4_priceSuffix:"each",skin4_fullPrice:"(Full price)",skin4_sellingPlansTitle:"Renews every:",from:"from",max_discount_badge_title:"UP To",pay:"Pay",price_save_up_to:"save up to"}},Selleasy:{"lb-upsell-widget-bl":null,"lb-upsell-widget-pal":null},YotpoReviews:{reviews:{product:"{{ product }}"},"star-rating":{product:"{{ product }}"}},BoldSubscriptions:{"bsub-widget-block":{default_subscribe:!0,primary_color:"#3b63ff",secondary_color:"#7dba63",background_color:"#f8f9f9",border_radius:4,header_text:"Purchase Options",one_time_text:"One-time Purchase",recurring_text:"Subscribe and Save",prepaid_recurring_text:"Prepaid Subscribe and Save",discount_summary_text:"(Save {discount})",discount_summary_plural_text:"(Save up to {discount})",frequency_header:"Delivery Frequency",frequency_text:"delivery",prepaid_checkbox_label_text:"Prepay for subscription",billing_frequency_header:"Billing Frequency",billing_frequency_text:"{count} Orders",delivery_frequency_discount_text:"({discount} off)",billing_frequency_discount_text:"({discount} off)",prepaid_total_text:"Billed {price} today",prepaid_continue_as_prepaid_text:"Prepaid order will auto-renew after {count} orders",prepaid_continue_as_standard_text:"Becomes a regular subscription after {count} orders",convertible_header:"Converts to",eligible_for_subscription_header:"Eligible for Subscription",initial_dynamic_discount_text:"Save {initial_percent_discount}% ({initial_fixed_discount})",subsequent_dynamic_discounts_text:"{subsequent_percent_discount}% ({subsequent_fixed_discount}) after {order_count} order(s)"}},Growave:{"block.product.faveButton":{option_button_class:""},"block.product.reviewWidget":null,"block.product.reviewAvgProfile":null,"v2.product.reviewsMiniSlider":null},KachingBundles:{"app-block":{product:"{{product}}"}},Trustoo:{"barrage-carousel":null,"review-widget":null,"photo-carousel":null,"star-rating-widget":{star_size:20,font_size:16,block_aligment:"flex-start"},"text-carousel":null,"card-carousel":null},LooxReviews:{"loox-card-carousel-section":{maxWidth:1100,borderRadius:8,itemsPerView:4,mobileItemsPerView:1,maxNumberOfCharacters:100,imageRatio:"0.72",reviewerNameColor:"#000000",textColor:"#000000",itemBackgroundColor:"#ffffff",starsColor:"",starsBackgroundColor:"#ffffff",arrows_backgroundColor:"#FFFFFF",arrows_iconColor:"#9A9A9A",shadow:"offset-dark",border_active:!1,border_width:2,border_color:"#000000",productIds:""},"loox-gallery-carousel-section":{maxWidth:1100,borderRadius:60,itemsPerView:5,mobileItemsPerView:1,imageRatio:"1",reviewerNameColor:"#ffffff",starsColor:"#ffffff",arrows_backgroundColor:"#FFFFFF",arrows_iconColor:"#9A9A9A",shadow:"none",border_active:!1,border_width:2,border_color:"#000000",productIds:""},"loox-referrals-section":{max_width:1100,layout:"with-photo",primary_color:"",text_color:"#000000",text_field_border_color:"#C9CDD4",background:""},"loox-dynamic-section":{only_photos:!1,aggregated:!1,limit:20,hide_thumbnails:!1,maxwidth:1080,is_sample:!0},"loox-snippets-widget":{alignment:"left","max-width":"","color-scheme":"default",shadow:"","show-rating":!0,"show-image":!0,"hide-arrows-mobile":!1,"font-size":14,"show-border":!1,"border-radius":16,"background-color":"","text-color":"","name-color":"","rating-icon-color":"","border-color":"","shadow-color":"","reviews-limit":10},"loox-rating":{contentSize:16,pattern:"",hideText:!1,alignment:"",layout:"",textColor:"",starColor:"",showAllReviews:!1,looxOpenFloatingWidget:!1,emptyRatingWidget:!1},"loox-testimonial-carousel-section":{maxWidth:1100,desktopFontSize:32,mobileFontSize:20,maxNumberOfCharacters:100,quoteMarkIcon:"style-1",reviewerNameColor:"#000000",textColor:"#000000",starsColor:"",quotesIconColor:"#EAEAEA",arrows_iconColor:"#000000",arrows_hideOnMobile:!0,pagination_active:!0,pagination_selectedDotColor:"#000000",pagination_dotColor:"#000000",autoplay_active:!1,autoplay_duration:2,productIds:""},"loox-trust-badge":{layout:"horizontal",alignment:"left","scheme-type":"default","review-title":"reviews","rating-icon":!0,"average-rating":!0,"loox-branding":!0,"review-count":!0,"open-reviews":!0,"show-border":!0,"border-radius":8,"font-size":20,"background-color":"","secondary-background-color":"","text-color":"","rating-icon-color":"","border-color":""},"loox-video-slider":{"show-by-tag":!1,layout:"spotlight",shadow:"","show-rating":!0,"show-reviewer-name":!0,"hide-arrows-mobile":!0,"auto-play":!0,"show-border":!1,"border-width":1,"border-radius":16,"text-color":"","rating-icon-color":"","border-color":"","play-button-color":"","shadow-color":"","product-id":""}},TrustBadgesBear:{widget:null},TrustedsiteTrustBadges:{engagement:{"tm-type":"202","tm-size":"120"}},GloColorSwatchvariantImage:{"product-bundles-quantity-breaks":null,"product-swatches-detail":null,"product-bundles-combo":null,"product-groups-detail":null},BfSizeChartSizeGuide:{block:null},HextomFreeShippingBar:{"fsb-custom-placement":null},ShopifySubscriptions:{"app-block":{color_text_title:"#6D7175",color_text_body:"#6D7175",dividers_color:"#8F8D8D",bacgkround_color:"#FFFFFF",border_thickness:1,border_radius:0,supporting_text_title:"Purchase options",subscription_policy_url:"",product:"{{product}}"}},QikifyUpsell:{bogo_offer:{product:"{{product}}"},free_gift:{product:"{{product}}"},bundle_offer:{product:"{{product}}"},promotion_badge:{product:"{{product}}"},"order-goal":null,upsurge_offer:{product:"{{product}}"},volume_offer:{product:"{{product}}"}},EcoboostifyShoppableReelUgc:{"reel-playlist":{playlist_id:""}},Releasit:{"button-app-block":{product:"{{product}}"},"form-app-block":{product:"{{product}}"}}};export{t as composeSettingsByWidgetType,e as overrideSettings};
@@ -1 +1 @@
1
- import{pascalToKebab as o}from"../pascal-to-kebab-case.js";import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as p}from"./constant.js";let composeAppBlockId=(t,e)=>{let c=o(t);return`${p}_${c}_${e}`};export{composeAppBlockId};
1
+ import{pascalToKebab as o}from"../pascal-to-kebab-case.js";import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as t}from"./constant.js";let e=(e,p)=>{let r=o(e);return`${t}_${r}_${p}`};export{e as composeAppBlockId};
@@ -1 +1 @@
1
- import{RechargeSubscriptionsConfig as p,BonLoyaltyRewardsReferralsConfig as _,SubifySubscriptionsConfig as P,SelleasyConfig as a,LoopSubscriptionsConfig as o,SkioSubscriptionsYcS20Config as A,ShopifyFormsConfig as I,ReviewxpoProductReviewsAppConfig as R,PumperBundlesVolumeDiscountConfig as t,UnlimitedBundlesDiscountsConfig as e,KiteFreeGiftDiscountConfig as f,FastBundleBundlesDiscountsConfig as i,SimpleBundlesKitsConfig as m,EasyBundleBuilderSkailamaConfig as D,PreorderNowPreOrderPqConfig as T,FlyBundlesUpsellsFbtConfig as r,JunipProductReviewsUgcConfig as C,PreorderNowWodPresaleConfig as g,YotpoReviewsV3UgcConfig as h,WhatmoreShoppableVideosreelConfig as y,ProductOptionsCustomizerConfig as B,AppointmentBookingCowlendarConfig as E,BoldSubscriptionsConfig as F,SproutPlantTreesGrowSalesConfig as H,InstasellShoppableInstagramConfig as K,GrowaveConfig as L,LoloyalLoyaltyReferralsConfig as M,PowerfulContactFormBuilderConfig as O,WishlistKingConfig as S,GloboProductOptionsVariantConfig as X,KachingBundlesConfig as Y,BestBuyFulfillmentConfig as j,AftershipEmailMarketingsmsConfig as l,SegunoEmailMarketingConfig as n,TrustooConfig as s,LooxReviewsConfig as x,SeoantTrustBadgesIconConfig as b,TrustreviewsProductReviewsConfig as c,MyappgurusProductReviewsConfig as d,HulkProductOptionsConfig as k,TrustshopProductReviewsConfig as q,StampedConfig as u,BoostAISearchDiscoveryConfig as v,EssentialCountdownTimerBarConfig as w,EssentialAnnouncementBarConfig as z,OkendoReviewsLoyaltyConfig as G,EstimatedDeliveryDatePlusConfig as J,HextomCountdownTimerBarConfig as N,TrustBadgesBearConfig as Q,TrustedsiteTrustBadgesConfig as U,GloColorSwatchvariantImageConfig as V,BfSizeChartSizeGuideConfig as W,HextomFreeShippingBarConfig as Z,ShopifySubscriptionsConfig as $,QikifyUpsellConfig as pp,EcoboostifyShoppableReelUgcConfig as p_,AppstleBundlesDiscountsConfig as pP,ReleasitConfig as pa,AovFreeGiftBuyXGetYBogoConfig as po,ParcelPanelOrderTrackingConfig as pA,KoalaBundleDiscountConfig as pI,AovBundlesVolumeDiscountsConfig as pR,UppromoteAffiliateMarketingConfig as pt,BloyRewardsProgramLoyaltyConfig as pe}from"./appConfig.js";let mapShopifyAppMeta={...p,..._,...P,...a,...o,...A,...I,...R,...t,...e,...f,...i,...m,...D,...T,...r,...C,...g,...h,...y,...B,...E,...F,...H,...K,...L,...M,...O,...S,...X,...Y,...j,...l,...n,...s,...x,...b,...c,...d,...k,...q,...u,...v,...w,...z,...G,...J,...N,...Q,...U,...V,...W,...Z,...$,...pp,...p_,...pP,...pa,...po,...pA,...pI,...pR,...pt,...pe},THIRD_PARTY_APP_BLOCK_ID_PREFIX="gp_app";export{THIRD_PARTY_APP_BLOCK_ID_PREFIX,mapShopifyAppMeta};
1
+ import{BloyRewardsProgramLoyaltyConfig as p,UppromoteAffiliateMarketingConfig as _,AovBundlesVolumeDiscountsConfig as o,KoalaBundleDiscountConfig as a,ParcelPanelOrderTrackingConfig as t,AovFreeGiftBuyXGetYBogoConfig as P,ReleasitConfig as e,AppstleBundlesDiscountsConfig as f,EcoboostifyShoppableReelUgcConfig as i,QikifyUpsellConfig as m,ShopifySubscriptionsConfig as r,HextomFreeShippingBarConfig as A,BfSizeChartSizeGuideConfig as I,GloColorSwatchvariantImageConfig as R,TrustedsiteTrustBadgesConfig as g,TrustBadgesBearConfig as C,HextomCountdownTimerBarConfig as D,EstimatedDeliveryDatePlusConfig as T,OkendoReviewsLoyaltyConfig as h,EssentialAnnouncementBarConfig as j,EssentialCountdownTimerBarConfig as l,BoostAISearchDiscoveryConfig as n,StampedConfig as s,TrustshopProductReviewsConfig as x,HulkProductOptionsConfig as y,MyappgurusProductReviewsConfig as B,TrustreviewsProductReviewsConfig as E,SeoantTrustBadgesIconConfig as F,LooxReviewsConfig as H,TrustooConfig as K,SegunoEmailMarketingConfig as L,AftershipEmailMarketingsmsConfig as M,BestBuyFulfillmentConfig as O,KachingBundlesConfig as S,GloboProductOptionsVariantConfig as X,WishlistKingConfig as Y,PowerfulContactFormBuilderConfig as b,LoloyalLoyaltyReferralsConfig as c,GrowaveConfig as d,InstasellShoppableInstagramConfig as k,SproutPlantTreesGrowSalesConfig as q,BoldSubscriptionsConfig as u,AppointmentBookingCowlendarConfig as v,ProductOptionsCustomizerConfig as w,WhatmoreShoppableVideosreelConfig as z,YotpoReviewsV3UgcConfig as G,PreorderNowWodPresaleConfig as J,JunipProductReviewsUgcConfig as N,FlyBundlesUpsellsFbtConfig as Q,PreorderNowPreOrderPqConfig as U,EasyBundleBuilderSkailamaConfig as V,SimpleBundlesKitsConfig as W,FastBundleBundlesDiscountsConfig as Z,KiteFreeGiftDiscountConfig as $,UnlimitedBundlesDiscountsConfig as pp,PumperBundlesVolumeDiscountConfig as p_,ReviewxpoProductReviewsAppConfig as po,ShopifyFormsConfig as pa,SkioSubscriptionsYcS20Config as pt,LoopSubscriptionsConfig as pP,SelleasyConfig as pe,SubifySubscriptionsConfig as pf,BonLoyaltyRewardsReferralsConfig as pi,RechargeSubscriptionsConfig as pm}from"./appConfig.js";let pr={...pm,...pi,...pf,...pe,...pP,...pt,...pa,...po,...p_,...pp,...$,...Z,...W,...V,...U,...Q,...N,...J,...G,...z,...w,...v,...u,...q,...k,...d,...c,...b,...Y,...X,...S,...O,...M,...L,...K,...H,...F,...E,...B,...y,...x,...s,...n,...l,...j,...h,...T,...D,...C,...g,...R,...I,...A,...r,...m,...i,...f,...e,...P,...t,...a,...o,..._,...p},pA="gp_app";export{pA as THIRD_PARTY_APP_BLOCK_ID_PREFIX,pr as mapShopifyAppMeta};
@@ -1 +1 @@
1
- import{loopComponent as e}from"../loop-component.js";import{getAppBlockConfig as t}from"./getAppBlockConfig.js";let generateAppBlockConfigs=r=>{let o=JSON.stringify(r)||"";if(!o.includes("appBlockId"))return null;let l=[];return(e(r,e=>{let r=e.settings||{},o=r?.appBlockId||"";if(!o)return;let n=t(e.tag,o,r);n&&l.push(n)}),l.length)?{newBlocks:extractBlocks(l),newBlockOrder:extractBlockOrder(l)}:null};function extractBlocks(e){return e.reduce((e,t)=>(e[t.key]=t.value,e),{})}function extractBlockOrder(e){return e.map(e=>e.key)}export{generateAppBlockConfigs};
1
+ import{loopComponent as e}from"../loop-component.js";import{getAppBlockConfig as l}from"./getAppBlockConfig.js";let t=t=>{let o=JSON.stringify(t)||"";if(!o.includes("appBlockId"))return null;let n=[];return(e(t,e=>{let t=e.settings||{},o=t?.appBlockId||"";if(!o)return;let r=l(e.tag,o,t);r&&n.push(r)}),n.length)?{newBlocks:n.reduce((e,l)=>(e[l.key]=l.value,e),{}),newBlockOrder:n.map(e=>e.key)}:null};export{t as generateAppBlockConfigs};
@@ -1 +1 @@
1
- import{mapShopifyAppMeta as p}from"./constant.js";let getAppBlockType=({tag:t,widgetType:e})=>{let o=p[t];if(!o)return"";let{appName:r,appId:l}=o;return`shopify://apps/${r}/blocks/${e}/${l}`};export{getAppBlockType};
1
+ import{mapShopifyAppMeta as t}from"./constant.js";let e=({tag:e,widgetType:p})=>{let o=t[e];if(!o)return"";let{appName:r,appId:l}=o;return`shopify://apps/${r}/blocks/${p}/${l}`};export{e as getAppBlockType};
@@ -1 +1 @@
1
- import{addAppBlockId as o}from"./addAppBlockId.js";import{generateAppBlockConfigs as r}from"./generateAppBlockConfigs.js";import{mergeBlocks as e}from"./mergeBlock.js";import{mergeBlockOrder as p}from"./mergeBlockOrder.js";import{removeAllGPAppItemsFromBlocks as t,removeAllGPAppItemsFromBlockOrder as m}from"./removeGPAppItems.js";let getAppBlocks=l=>{let{blocks:s,block_order:c}=JSON.parse(l?.appBlocks||"{}"),k=JSON.parse(l?.component||""),f=o(k),i=r(f);if(!i)return s&&c?{blocks:t(s),block_order:m(c)}:{};let{newBlocks:B,newBlockOrder:d}=i,g=e(B,s),n=p(d,c);return{blocks:g,block_order:n}};export{getAppBlocks};
1
+ import{addAppBlockId as o}from"./addAppBlockId.js";import{generateAppBlockConfigs as r}from"./generateAppBlockConfigs.js";import{mergeBlocks as e}from"./mergeBlock.js";import{mergeBlockOrder as p}from"./mergeBlockOrder.js";import{removeAllGPAppItemsFromBlockOrder as m,removeAllGPAppItemsFromBlocks as t}from"./removeGPAppItems.js";let l=l=>{let{blocks:s,block_order:c}=JSON.parse(l?.appBlocks||"{}"),k=JSON.parse(l?.component||""),f=o(k),i=r(f);if(!i)return s&&c?{blocks:t(s),block_order:m(c)}:{};let{newBlocks:d,newBlockOrder:n}=i,B=e(d,s),a=p(n,c);return{blocks:B,block_order:a}};export{l as getAppBlocks};
@@ -1 +1 @@
1
- function mergeBlocks(e,t){if(!t)return e;let r={};for(let[e,o]of Object.entries(t))e.startsWith("gp_app")||(r[e]=o);for(let[t,o]of Object.entries(e))r[t]=o;return r}export{mergeBlocks};
1
+ function e(e,t){if(!t)return e;let r={};for(let[e,o]of Object.entries(t))e.startsWith("gp_app")||(r[e]=o);for(let[t,o]of Object.entries(e))r[t]=o;return r}export{e as mergeBlocks};
@@ -1 +1 @@
1
- import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as e}from"./constant.js";function isGpAppItem(p){return!!p&&p.startsWith(e)}function filterCurrentOrder(e,p){return e.filter(e=>!isGpAppItem(e)||p.has(e))}function processNonGpAppItem(e,p){p.push(e)}function processGpAppItems(e,p,t){for(;p<e.length&&isGpAppItem(e[p]);)t.push(e[p]),p++;return p}function addRemainingGpAppItems(e,p,t){for(let r=p;r<e.length;r++){let p=e[r];p&&isGpAppItem(p)&&t.push(p)}}function mergeBlockOrder(e,p){if(!p)return e;let t=new Set(e),r=filterCurrentOrder(p,t),n=[],s=0;return r.forEach(p=>{if(!isGpAppItem(p)){processNonGpAppItem(p,n);return}s=processGpAppItems(e,s,n)}),addRemainingGpAppItems(e,s,n),n}export{mergeBlockOrder};
1
+ import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as t}from"./constant.js";function r(r){return!!r&&r.startsWith(t)}function n(t,n){if(!n)return t;let e=new Set(t),o=n.filter(t=>!r(t)||e.has(t)),u=[],f=0;return o.forEach(n=>{if(!r(n)){!function(t,r){r.push(t)}(n,u);return}f=function(t,n,e){for(;n<t.length&&r(t[n]);)e.push(t[n]),n++;return n}(t,f,u)}),!function(t,n,e){for(let o=n;o<t.length;o++){let n=t[o];n&&r(n)&&e.push(n)}}(t,f,u),u}export{n as mergeBlockOrder};
@@ -1 +1 @@
1
- import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as e}from"./constant.js";let removeAllGPAppItemsFromBlocks=r=>{for(let l in r)l.startsWith(e)&&delete r[l];return r},removeAllGPAppItemsFromBlockOrder=r=>r.filter(r=>!r.includes(e));export{removeAllGPAppItemsFromBlockOrder,removeAllGPAppItemsFromBlocks};
1
+ import{THIRD_PARTY_APP_BLOCK_ID_PREFIX as e}from"./constant.js";let r=r=>{for(let t in r)t.startsWith(e)&&delete r[t];return r},t=r=>r.filter(r=>!r.includes(e));export{t as removeAllGPAppItemsFromBlockOrder,r as removeAllGPAppItemsFromBlocks};
@@ -1 +1 @@
1
- let pageview=()=>{window.fbq&&window.fbq("track","PageView")},event=(e,t={})=>{window.fbq&&window.fbq("track",e,t)},addToCart=e=>{window.fbq&&window.fbq("track","AddToCart",{content_ids:[e.id],content_name:e.name,content_category:e.category,content_type:"product",value:e.price,currency:e.currency})};export{addToCart,event,pageview};
1
+ let e=()=>{window.fbq&&window.fbq("track","PageView")},t=(e,t={})=>{window.fbq&&window.fbq("track",e,t)},n=e=>{window.fbq&&window.fbq("track","AddToCart",{content_ids:[e.id],content_name:e.name,content_category:e.category,content_type:"product",value:e.price,currency:e.currency})};export{n as addToCart,t as event,e as pageview};
@@ -1 +1 @@
1
- let pageview=(e,a)=>{window.gtag&&a&&window.gtag("config",a,{page_path:e}),window.ga&&window.ga("send","pageview",e)},addToCart=e=>{window.ga&&e&&(window.ga("ec:addProduct",{...e,id:e.sku,name:"Default Title"===e.variant?e.name:`${e.name} - ${e.variant}`,variant:"Default Title"===e.variant?e.name:e.variant}),window.ga("ec:setAction","add"),window.ga("send","event",{eventCategory:"EnhancedEcommerce",eventAction:"Added Product",nonInteraction:!0}))},productClick=e=>{window.ga&&(ga("ec:addProduct",{id:e.id,name:e.name,category:e.category,brand:e.brand,variant:e.variant}),ga("ec:setAction","click"),ga("send","event",{eventAction:"Click",eventCategory:"Product"}))},productDetail=e=>{e&&window.ga&&(ga("ec:addProduct",{brand:e.brand,category:e.category,id:e.id,name:e.name,variant:e.variant}),ga("ec:setAction","detail"),ga("send","event",{eventAction:"Detail",eventCategory:"Ecommerce",nonInteraction:1}))},removeFromCart=(e,a)=>{e&&window.ga&&(ga("ec:addProduct",{id:e.id,name:e.name,price:a}),ga("ec:setAction","remove"),ga("send","event",{eventAction:"Click",eventCategory:"Remove from cart"}))},sharePageView=(e,a,t)=>{window.gtag&&a&&window.gtag("event","share_page_view",{page_path:e,...t})};export{addToCart,pageview,productClick,productDetail,removeFromCart,sharePageView};
1
+ let e=(e,a)=>{window.gtag&&a&&window.gtag("config",a,{page_path:e}),window.ga&&window.ga("send","pageview",e)},a=e=>{window.ga&&e&&(window.ga("ec:addProduct",{...e,id:e.sku,name:"Default Title"===e.variant?e.name:`${e.name} - ${e.variant}`,variant:"Default Title"===e.variant?e.name:e.variant}),window.ga("ec:setAction","add"),window.ga("send","event",{eventCategory:"EnhancedEcommerce",eventAction:"Added Product",nonInteraction:!0}))},n=e=>{window.ga&&(ga("ec:addProduct",{id:e.id,name:e.name,category:e.category,brand:e.brand,variant:e.variant}),ga("ec:setAction","click"),ga("send","event",{eventAction:"Click",eventCategory:"Product"}))},t=e=>{e&&window.ga&&(ga("ec:addProduct",{brand:e.brand,category:e.category,id:e.id,name:e.name,variant:e.variant}),ga("ec:setAction","detail"),ga("send","event",{eventAction:"Detail",eventCategory:"Ecommerce",nonInteraction:1}))},d=(e,a)=>{e&&window.ga&&(ga("ec:addProduct",{id:e.id,name:e.name,price:a}),ga("ec:setAction","remove"),ga("send","event",{eventAction:"Click",eventCategory:"Remove from cart"}))},i=(e,a,n)=>{window.gtag&&a&&window.gtag("event","share_page_view",{page_path:e,...n})};export{a as addToCart,e as pageview,n as productClick,t as productDetail,d as removeFromCart,i as sharePageView};
@@ -1 +1 @@
1
- let addToCart=t=>{window?.ttq?.track&&window.ttq.track("AddToCart",{content_id:t.id,content_type:"product",content_name:t.name,quantity:t.quantity,price:t.price,value:(t.price??0)*(t.quantity??0),currency:t.currency})};export{addToCart};
1
+ let t=t=>{window?.ttq?.track&&window.ttq.track("AddToCart",{content_id:t.id,content_type:"product",content_name:t.name,quantity:t.quantity,price:t.price,value:(t.price??0)*(t.quantity??0),currency:t.currency})};export{t as addToCart};
@@ -1,19 +1,19 @@
1
- import{DEVICES as e}from"../constants/device.js";import{getSingleColorVariable as o}from"./colors.js";import{removeNullUndefined as t,makeStyle as p,makeStyleResponsive as a}from"./make-style.js";let genTypoClass=e=>`gp-g-${e}`,composeTypographyCss=e=>{let o=e?.custom,{fontFamily:t,fontSize:p,fontStyle:a,fontWeight:s,lineHeight:r,letterSpacing:y}=o?.desktop??{};return`
2
- ${t?`fontFamily: ${composeFontFamilyTypographyV2({fontFamily:t})};`:""}
3
- ${p?`font-size: ${p};`:""}
4
- ${a?`font-style: ${a};`:""}
5
- ${s?`font-weight: ${s};`:""}
6
- ${y?`letter-spacing: ${y};`:""}
7
- ${r?`line-height: ${r};`:""}
8
- `},composeTypographyV2Css=(e,t)=>{let p=e?.custom,{fontFamily:a,fontSize:s,fontWeight:r,lineHeight:y,letterSpacing:l,textShadow:n,hasShadowText:i}=p??{},c=e?.attrs,g=n&&"none"!==n.type&&!1!==n.enable,{bold:m,italic:h,underline:$,transform:f,color:d}=c??{},u=t?"!important":"";return`
9
- ${a?`font-family: ${composeFontFamilyTypographyV2({fontFamily:a,type:e?.type})} ${u}`:""};
10
- ${s?.desktop?`font-size: ${s?.desktop} ${u}`:""};
11
- ${d?`color: ${o(d)} ${u}`:""};
12
- ${m?`font-weight: bold ${u}`:r?`font-weight: ${r} ${u}`:""};
13
- ${l?.desktop?`letter-spacing: ${l?.desktop} ${u}`:""};
14
- ${y?.desktop?`line-height: ${y?.desktop} ${u}`:""};
15
- ${h?`font-style: italic ${u}`:""};
16
- ${$?`text-decoration-line: underline ${u}`:""};
17
- ${f?`text-transform: ${f} ${u}`:""};
18
- ${g&&i?`text-shadow: ${composeTextShadowCss(n||{})}`:"none"};
19
- `},composeTextShadowCss=e=>{let o="number"==typeof e?.angle?e?.angle:0,t=o*Math.PI/180,p=parseFloat(e?.distance??"0");if(isNaN(p))return"none";let a=Math.round(Math.cos(t)*p*100)/100,s=Math.round(Math.sin(t)*p*100)/100;return`${a}px ${s}px ${e?.blur??"0"} ${e.color}`},composeTextHoverColorCss=(e,t)=>{if(e){let p=t?"!important":"",a=o(e.hover);return`${a?`color: ${a} ${p}`:""}`}};function getCustomCSSByDevice(e,o){if(!e||!o)return{};let t="desktop"!==o&&o?`-${o}`:"",{fontFamily:p}=e?.[o]??{};return{[`--size${t}`]:e?.[o]?.fontSize,[`--lh${t}`]:e?.[o]?.lineHeight,[`--fs${t}`]:e?.[o]?.fontStyle,[`--ff${t}`]:composeFontFamilyTypographyV2({fontFamily:p}),[`--weight${t}`]:e?.[o]?.fontWeight,[`--ls${t}`]:e?.[o]?.letterSpacing}}let composeTypography=e=>e?t({...getCustomCSSByDevice(e,"desktop"),...getCustomCSSByDevice(e,"tablet"),...getCustomCSSByDevice(e,"mobile")}):{},convertPercentToEmLetterSpacing=o=>o?e.reduce((e,t)=>{let p=o[t];return{...e,[t]:p?.includes("%")?`${(.01*parseFloat(p)).toFixed(2)}em`:p}},{}):{},composeTypographyV2=(e,o)=>{if(!e)return{};let s=convertPercentToEmLetterSpacing(e?.letterSpacing);return t({...p({fs:o?.italic?void 0:e?.fontStyle,ff:composeFontFamilyTypographyV2(e),weight:o?.bold?void 0:e?.fontWeight}),...a("size",e?.fontSize),...a("lh",e?.lineHeight),...a("ls",s)})},composeFontFamilyTypographyV2=e=>{let{fontFamily:o,isCustom:t,fallbackFontFamily:p,type:a}=e||{};if(!o)return t?p:void 0;if("string"==typeof o)return getFontUsedByTypographyV2({fontFamily:o,fallbackFontFamily:e?.fallbackFontFamily||composeFallbackTypographyStyle(a??"heading")});if("object"==typeof o&&"string"==typeof o?.value){if("theme"===o.type){let e=o?.value.includes("--g-theme-font")?`var(${o?.value})`:o?.value;return`${e}, var(--g-font-body)`}return getFontUsedByTypographyV2({fontFamily:o.value,fallbackFontFamily:e?.fallbackFontFamily||composeFallbackTypographyStyle(a??"heading")})}},getFontUsedByTypographyV2=({fontFamily:e,fallbackFontFamily:o})=>{if(e)return`var(--g-font-${e?.replace(/ /g,"-")}, '${e}'), ${o}`},composeTypographyAttr=e=>e?t({...p({fs:e?.italic?"italic":void 0,weight:e?.bold?"bold":void 0,c:o(e?.color),tt:e?.transform,tdl:e?.underline?"underline":void 0})}):{},composeTypographyClassName=(e,o)=>e?e?.type&&!isCustomTypo(e.custom)?genTypoClass(e.type):"":o?.type&&genTypoClass(o?.type),composeFallbackTypographyStyle=e=>e.toLocaleLowerCase().includes("heading")?"var(--g-font-heading, heading)":"var(--g-font-body, body)",composeTypographyStyle=(e,o,t)=>{if(e){let o=composeFallbackTypographyStyle(e.type??"heading"),p={...e.custom,fallbackFontFamily:o,isCustom:isCustomTypo(e.custom)};return{...composeTypographyV2(p,e.attrs),...!t&&composeTypographyAttr(e.attrs)}}return{...o?.type?{}:composeTypography(o?.custom)}},isCustomTypo=e=>e&&Object.keys(e).length>1||e&&1===Object.keys(e).length&&!e.fontSize;export{composeFallbackTypographyStyle,composeFontFamilyTypographyV2,composeTextHoverColorCss,composeTypography,composeTypographyAttr,composeTypographyClassName,composeTypographyCss,composeTypographyStyle,composeTypographyV2,composeTypographyV2Css,genTypoClass};
1
+ import{DEVICES as t}from"../constants/device.js";import{getSingleColorVariable as e}from"./colors.js";import{removeNullUndefined as o,makeStyle as n,makeStyleResponsive as l}from"./make-style.js";let r=t=>`gp-g-${t}`,i=t=>{let e=t?.custom,{fontFamily:o,fontSize:n,fontStyle:l,fontWeight:r,lineHeight:i,letterSpacing:a}=e?.desktop??{};return`
2
+ ${o?`fontFamily: ${g({fontFamily:o})};`:""}
3
+ ${n?`font-size: ${n};`:""}
4
+ ${l?`font-style: ${l};`:""}
5
+ ${r?`font-weight: ${r};`:""}
6
+ ${a?`letter-spacing: ${a};`:""}
7
+ ${i?`line-height: ${i};`:""}
8
+ `},a=(t,o)=>{let n=t?.custom,{fontFamily:l,fontSize:r,fontWeight:i,lineHeight:a,letterSpacing:p,textShadow:$,hasShadowText:f}=n??{},y=t?.attrs,c=$&&"none"!==$.type&&!1!==$.enable,{bold:d,italic:m,underline:h,transform:u,color:b}=y??{},v=o?"!important":"";return`
9
+ ${l?`font-family: ${g({fontFamily:l,type:t?.type})} ${v}`:""};
10
+ ${r?.desktop?`font-size: ${r?.desktop} ${v}`:""};
11
+ ${b?`color: ${e(b)} ${v}`:""};
12
+ ${d?`font-weight: bold ${v}`:i?`font-weight: ${i} ${v}`:""};
13
+ ${p?.desktop?`letter-spacing: ${p?.desktop} ${v}`:""};
14
+ ${a?.desktop?`line-height: ${a?.desktop} ${v}`:""};
15
+ ${m?`font-style: italic ${v}`:""};
16
+ ${h?`text-decoration-line: underline ${v}`:""};
17
+ ${u?`text-transform: ${u} ${v}`:""};
18
+ ${c&&f?`text-shadow: ${s($||{})}`:"none"};
19
+ `},s=t=>{let e="number"==typeof t?.angle?t?.angle:0,o=e*Math.PI/180,n=parseFloat(t?.distance??"0");return isNaN(n)?"none":`${Math.round(Math.cos(o)*n*100)/100}px ${Math.round(Math.sin(o)*n*100)/100}px ${t?.blur??"0"} ${t.color}`},p=(t,o)=>{if(t){let n=e(t.hover);return`${n?`color: ${n} ${o?"!important":""}`:""}`}};function $(t,e){if(!t||!e)return{};let o="desktop"!==e&&e?`-${e}`:"",{fontFamily:n}=t?.[e]??{};return{[`--size${o}`]:t?.[e]?.fontSize,[`--lh${o}`]:t?.[e]?.lineHeight,[`--fs${o}`]:t?.[e]?.fontStyle,[`--ff${o}`]:g({fontFamily:n}),[`--weight${o}`]:t?.[e]?.fontWeight,[`--ls${o}`]:t?.[e]?.letterSpacing}}let f=t=>t?o({...$(t,"desktop"),...$(t,"tablet"),...$(t,"mobile")}):{},y=e=>e?t.reduce((t,o)=>{let n=e[o];return{...t,[o]:n?.includes("%")?`${(.01*parseFloat(n)).toFixed(2)}em`:n}},{}):{},c=(t,e)=>{if(!t)return{};let r=y(t?.letterSpacing);return o({...n({fs:e?.italic?void 0:t?.fontStyle,ff:g(t),weight:e?.bold?void 0:t?.fontWeight}),...l("size",t?.fontSize),...l("lh",t?.lineHeight),...l("ls",r)})},g=t=>{let{fontFamily:e,isCustom:o,fallbackFontFamily:n,type:l}=t||{};if(!e)return o?n:void 0;if("string"==typeof e)return d({fontFamily:e,fallbackFontFamily:t?.fallbackFontFamily||u(l??"heading")});if("object"==typeof e&&"string"==typeof e?.value){if("theme"===e.type){let t=e?.value.includes("--g-theme-font")?`var(${e?.value})`:e?.value;return`${t}, var(--g-font-body)`}return d({fontFamily:e.value,fallbackFontFamily:t?.fallbackFontFamily||u(l??"heading")})}},d=({fontFamily:t,fallbackFontFamily:e})=>{if(t)return`var(--g-font-${t?.replace(/ /g,"-")}, '${t}'), ${e}`},m=t=>t?o({...n({fs:t?.italic?"italic":void 0,weight:t?.bold?"bold":void 0,c:e(t?.color),tt:t?.transform,tdl:t?.underline?"underline":void 0})}):{},h=(t,e)=>t?t?.type&&!v(t.custom)?r(t.type):"":e?.type&&r(e?.type),u=t=>t.toLocaleLowerCase().includes("heading")?"var(--g-font-heading, heading)":"var(--g-font-body, body)",b=(t,e,o)=>{if(t){let e=u(t.type??"heading"),n={...t.custom,fallbackFontFamily:e,isCustom:v(t.custom)};return{...c(n,t.attrs),...!o&&m(t.attrs)}}return{...e?.type?{}:f(e?.custom)}},v=t=>t&&Object.keys(t).length>1||t&&1===Object.keys(t).length&&!t.fontSize;export{u as composeFallbackTypographyStyle,g as composeFontFamilyTypographyV2,p as composeTextHoverColorCss,f as composeTypography,m as composeTypographyAttr,h as composeTypographyClassName,i as composeTypographyCss,b as composeTypographyStyle,c as composeTypographyV2,a as composeTypographyV2Css,r as genTypoClass};
@@ -1 +1 @@
1
- function checkInStock(t,n){return!!t&&(t?.inventoryQuantity&&t.inventoryQuantity>0&&!isDefaultVariant(t,n)||!t?.manageInventory||"CONTINUE"===t.inventoryPolicy)}function isDefaultVariant(t,n){return!!(t?.title==="Default Title"&&n?.options?.some(t=>t.values.length>1))}export{checkInStock};
1
+ function t(t,n){return!!t&&(t?.inventoryQuantity&&t.inventoryQuantity>0&&!(t?.title==="Default Title"&&n?.options?.some(t=>t.values.length>1))||!t?.manageInventory||"CONTINUE"===t.inventoryPolicy)}export{t as checkInStock};
@@ -1 +1 @@
1
- function isExternalLink(t){return!!t&&/^(https?:\/\/|\/\/|\/)/i.test(t)}export{isExternalLink};
1
+ function t(t){return!!t&&/^(https?:\/\/|\/\/|\/)/i.test(t)}export{t as isExternalLink};
@@ -1 +1 @@
1
- let EASING={ease:"cubic-bezier(0.46,0.03,0.52,0.96)","ease-in":"cubic-bezier(0.55,0.08,0.68,0.53)","ease-out":"cubic-bezier(0.46,0.03,0.52,0.96)",linear:"linear"},animations=()=>{let t=t=>{let e=JSON.parse(JSON.stringify(t)),r=["delay","speed","scale","intensity"];return r.forEach(t=>{if(!e?.[t])return;if("scale"===t){if(!e?.zoomDirection)throw TypeError("zoomDirection not found on zoom preset");let[r,a]=e?.scale?.in??[1,1],[n,o]=e?.scale?.out??[1,1];e[t]={in:[Number(r)/100,Number(a)/100],out:[Number(n)/100,Number(o)/100]};return}let r=Number(e?.[t]);if("delay"===t?e[t]=1e3*r:e[t]=r,!isFinite(r))throw TypeError(`${t} must be a number`)}),e},e=(e,r)=>{let n=t(r),{direction:l,distance:s}=n,p=["left","right"].includes(l??"")?"X":"Y",u=["left","down"].includes(l??"")?"-":"",f=o(e),y=[{display:f,opacity:0,transform:`translate${p}(${u}${s??50}%)`},{display:f,opacity:i(e),transform:`translate${p}(0)`}];return c(e,y,{...a(n,500),fill:"forwards"})},r=(e,r)=>{let n=t(r),o=[{opacity:0},{opacity:i(e)}];return c(e,o,{...a(n,500)})},a=(t,e)=>{let r=t=>t?1.5/t*1e3:e,{loop:a,delay:n,speed:o,easing:i}=t??{},l=r(o),s=n??0,c=a?l+s:l;return{iterations:a?1/0:1,duration:c,delay:s,easing:EASING[i??"linear"]}},n=(e,r)=>{let n=t(r),{scale:l,zoomDirection:s,isFade:p}=n,[u,f]=l.in,[y,m]=l.out,d=o(e),b=i(e),$=[{display:d,transform:`scale(${u}, ${u})`,opacity:p?0:1},{display:d,transform:`scale(${f??1.2}, ${f??1.2})`,opacity:b}],w=[{display:d,transform:`scale(${y}, ${y})`,opacity:p?0:1},{display:d,transform:`scale(${m??.8}, ${m??.8})`,opacity:b}],x="in"===s?$:w;return c(e,x,{...a(n,700),fill:"forwards"})},o=t=>{let e="inline"===window.getComputedStyle(t,null).getPropertyValue("display");return e?"block":void 0},i=t=>window.getComputedStyle(t,null).getPropertyValue("opacity"),l=(t,e,r)=>{if(!e)return t;let a=e/r,n=[...t].pop();return[...t,{...n,offset:1-a}]},s=(e,r)=>{let n=t(r),{intensity:l}=n??{},s=o(e),p=i(e),u=[{transform:"translate3d(0, 0, 0)",opacity:p,display:s}],f=[{transform:"translate3d(4px, 0, 0)",opacity:p,display:s},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:s},{transform:"translate3d(4px, 0, 0)",opacity:p,display:s}],y=[];Array.from(Array(l??1).keys()).forEach(()=>{y=[...y,...f]});let m=[{transform:"translate3d(-1px, 0, 0)",opacity:p,display:s},{transform:"translate3d(2px, 0, 0)",opacity:p,display:s},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:s},...y,{transform:"translate3d(-4px, 0, 0)",opacity:p,display:s},{transform:"translate3d(2px, 0, 0)",opacity:p,display:s},{transform:"translate3d(-1px, 0, 0)",opacity:p,display:s}];return c(e,l?m:u,{...a(n??{},820)})},c=(t,e,r)=>{let a=new KeyframeEffect(t,r.iterations&&1===r.iterations?e:l(e,r?.delay??0,r?.duration??0),{...r});return new Animation(a,document.timeline)};return{zoom:n,shake:s,fade:r,slide:e}};export{animations};
1
+ let t={ease:"cubic-bezier(0.46,0.03,0.52,0.96)","ease-in":"cubic-bezier(0.55,0.08,0.68,0.53)","ease-out":"cubic-bezier(0.46,0.03,0.52,0.96)",linear:"linear"},e=()=>{let e=t=>{let e=JSON.parse(JSON.stringify(t));return["delay","speed","scale","intensity"].forEach(t=>{if(!e?.[t])return;if("scale"===t){if(!e?.zoomDirection)throw TypeError("zoomDirection not found on zoom preset");let[r,a]=e?.scale?.in??[1,1],[n,o]=e?.scale?.out??[1,1];e[t]={in:[Number(r)/100,Number(a)/100],out:[Number(n)/100,Number(o)/100]};return}let r=Number(e?.[t]);if("delay"===t?e[t]=1e3*r:e[t]=r,!isFinite(r))throw TypeError(`${t} must be a number`)}),e},r=(e,r)=>{let{loop:a,delay:n,speed:o,easing:i}=e??{},l=o?1.5/o*1e3:r,s=n??0;return{iterations:a?1/0:1,duration:a?l+s:l,delay:s,easing:t[i??"linear"]}},a=t=>{let e="inline"===window.getComputedStyle(t,null).getPropertyValue("display");return e?"block":void 0},n=t=>window.getComputedStyle(t,null).getPropertyValue("opacity"),o=(t,e,r)=>{if(!e)return t;let a=[...t].pop();return[...t,{...a,offset:1-e/r}]},i=(t,e,r)=>{let a=new KeyframeEffect(t,r.iterations&&1===r.iterations?e:o(e,r?.delay??0,r?.duration??0),{...r});return new Animation(a,document.timeline)};return{zoom:(t,o)=>{let l=e(o),{scale:s,zoomDirection:c,isFade:p}=l,[u,f]=s.in,[y,m]=s.out,d=a(t),b=n(t),$=[{display:d,transform:`scale(${u}, ${u})`,opacity:p?0:1},{display:d,transform:`scale(${f??1.2}, ${f??1.2})`,opacity:b}],w=[{display:d,transform:`scale(${y}, ${y})`,opacity:p?0:1},{display:d,transform:`scale(${m??.8}, ${m??.8})`,opacity:b}],x="in"===c?$:w;return i(t,x,{...r(l,700),fill:"forwards"})},shake:(t,o)=>{let l=e(o),{intensity:s}=l??{},c=a(t),p=n(t),u=[{transform:"translate3d(0, 0, 0)",opacity:p,display:c}],f=[{transform:"translate3d(4px, 0, 0)",opacity:p,display:c},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:c},{transform:"translate3d(4px, 0, 0)",opacity:p,display:c}],y=[];Array.from(Array(s??1).keys()).forEach(()=>{y=[...y,...f]});let m=[{transform:"translate3d(-1px, 0, 0)",opacity:p,display:c},{transform:"translate3d(2px, 0, 0)",opacity:p,display:c},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:c},...y,{transform:"translate3d(-4px, 0, 0)",opacity:p,display:c},{transform:"translate3d(2px, 0, 0)",opacity:p,display:c},{transform:"translate3d(-1px, 0, 0)",opacity:p,display:c}];return i(t,s?m:u,{...r(l??{},820)})},fade:(t,a)=>{let o=e(a),l=[{opacity:0},{opacity:n(t)}];return i(t,l,{...r(o,500)})},slide:(t,o)=>{let l=e(o),{direction:s,distance:c}=l,p=["left","right"].includes(s??"")?"X":"Y",u=["left","down"].includes(s??"")?"-":"",f=a(t),y=[{display:f,opacity:0,transform:`translate${p}(${u}${c??50}%)`},{display:f,opacity:n(t),transform:`translate${p}(0)`}];return i(t,y,{...r(l,500),fill:"forwards"})}}};export{e as animations};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{useRef as r,useCallback as t}from"react";let useAnimationActions=()=>{let n=r(),e=t(r=>{n.current=r},[n]),o=t(()=>{if(n.current)for(let r of n.current)r.play()},[]),c=t(()=>{if(n.current)for(let r of n.current)r.cancel()},[]),i=t(r=>{if(n.current)for(let t of n.current)t.onfinish=r},[]);return{currentAnimation:n.current,setAnimation:e,playAnimation:o,cancelAnimation:c,setAnimationOnFinish:i}};export{useAnimationActions};
2
+ import{useRef as r,useCallback as t}from"react";let e=()=>{let e=r(),n=t(r=>{e.current=r},[e]),c=t(()=>{if(e.current)for(let r of e.current)r.play()},[]),o=t(()=>{if(e.current)for(let r of e.current)r.cancel()},[]),f=t(r=>{if(e.current)for(let t of e.current)t.onfinish=r},[]);return{currentAnimation:e.current,setAnimation:n,playAnimation:c,cancelAnimation:o,setAnimationOnFinish:f}};export{e as useAnimationActions};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{useMemo as e,useCallback as n}from"react";import{useCurrentDevice as t}from"../use-current-device.js";let useAnimationConfig=i=>{let r=t(),a=e(()=>i?.advanced?.animation?.[r],[r,i?.advanced?.animation]),o=n(()=>{let{trigger:e,triggerConfig:n}=a,{animation:t,setting:i}=n[e];return{type:t,setting:i[t],reverse:"hidden"===e}},[a]),d=a?.enabled;return{isEnabledAnimation:d,getAnimationConfig:o}};export{useAnimationConfig};
2
+ import{useMemo as e,useCallback as t}from"react";import{useCurrentDevice as n}from"../use-current-device.js";let r=r=>{let i=n(),a=e(()=>r?.advanced?.animation?.[i],[i,r?.advanced?.animation]),o=t(()=>{let{trigger:e,triggerConfig:t}=a,{animation:n,setting:r}=t[e];return{type:n,setting:r[n],reverse:"hidden"===e}},[a]),d=a?.enabled;return{isEnabledAnimation:d,getAnimationConfig:o}};export{r as useAnimationConfig};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{useCallback as e}from"react";let useAnimationPreview=({props:i,playAnimation:t,cancelAnimation:r,setAnimationOnFinish:n,setToolbarActive:u})=>{let o=e(e=>{let{uid:o,isCancel:a}=e.detail;if(i.uid===o){if(r(),a){u(!0);return}t(),u(!1),n(()=>{u(!0)})}},[i.uid,r,t,u,n]);return{previewAnimation:o}};export{useAnimationPreview};
2
+ import{useCallback as e}from"react";let t=({props:t,playAnimation:i,cancelAnimation:r,setAnimationOnFinish:u,setToolbarActive:l})=>{let n=e(e=>{let{uid:n,isCancel:o}=e.detail;if(t.uid===n){if(r(),o){l(!0);return}i(),l(!1),u(()=>{l(!0)})}},[t.uid,r,i,l,u]);return{previewAnimation:n}};export{t as useAnimationPreview};