@gem-sdk/core 4.0.0-staging.1182 → 4.0.0-staging.1190
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.
- package/dist/cjs/components/ComponentWrapper.js +1 -1
- package/dist/cjs/components/animation/AnimationWrapper.js +1 -0
- package/dist/cjs/helpers/third-party/appSetting.js +1 -1
- package/dist/cjs/hooks/animation/animations.js +2 -0
- package/dist/cjs/hooks/animation/useLivePageAnimation.js +2 -0
- package/dist/esm/components/ComponentWrapper.js +1 -1
- package/dist/esm/components/animation/AnimationWrapper.js +1 -0
- package/dist/esm/helpers/third-party/appSetting.js +1 -1
- package/dist/esm/hooks/animation/animations.js +2 -0
- package/dist/esm/hooks/animation/useLivePageAnimation.js +2 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),react=require("react"),composeAdvanceStyle=require("../helpers/compose-advance-style.js"),constant=require("./constant.js"),RenderCustomCode=require("./RenderCustomCode.js");const ComponentWrapper=({children:e,pageType:t,...s})=>{if("section"===s.type)return null;let
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),react=require("react"),composeAdvanceStyle=require("../helpers/compose-advance-style.js"),constant=require("./constant.js"),RenderCustomCode=require("./RenderCustomCode.js"),useRenderMode=require("../hooks/useRenderMode.js"),AnimationWrapper=require("./animation/AnimationWrapper.js");const ComponentWrapper=({children:e,pageType:t,...s})=>{let{isPreviewSharePageMode:n}=useRenderMode.useRenderMode();if("section"===s.type)return null;let r=composeAdvanceStyle.composeAdvanceStyle(s.advanced,s.tag,t),a=s.advanced,{animation:d}=a??{},i=d?.desktop?.enabled||d?.tablet?.enabled||d?.mobile?.enabled,o=()=>{let e={};return s.advanced?.displayInitInteraction!==void 0&&(e={"display-init":s.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e},u=jsxRuntime.jsx("div",{style:r,className:`${s.uid} ${a?.cssClass}`,...o(),children:e});return constant.disableWrap.includes(s.tag)&&react.isValidElement(e)&&(u=jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(RenderCustomCode.default,{uid:s.uid,advanced:a}),jsxRuntime.jsx(e.type,{className:a?.cssClass,...e.props,style:r,advanced:a,builderAttrs:{...e.props.builderAttrs,...o()}})]})),i&&n&&(u=jsxRuntime.jsx(AnimationWrapper.default,{settings:d,tag:s.tag??"",children:u})),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(RenderCustomCode.default,{uid:s.uid,advanced:a}),u]})};exports.default=ComponentWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),useLivePageAnimation=require("../../hooks/animation/useLivePageAnimation.js"),react=require("react");const AnimationWrapper=({children:e,settings:i,tag:t})=>{let r=react.useRef(null);return useLivePageAnimation.useLivePageAnimation(r,i,t),jsxRuntime.jsx("div",{ref:r,style:{display:"contents"},children:e})};exports.default=AnimationWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const 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":null}},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}}},composeSettingsByWidgetType={...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};exports.composeSettingsByWidgetType=composeSettingsByWidgetType,exports.overrideSettings=overrideSettings;
|
|
1
|
+
"use strict";const 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}}},composeSettingsByWidgetType={...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};exports.composeSettingsByWidgetType=composeSettingsByWidgetType,exports.overrideSettings=overrideSettings;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";const 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 r=JSON.parse(JSON.stringify(t)),e=["delay","speed","scale","intensity"];return e.forEach(t=>{if(!r?.[t])return;if("scale"===t){if(!r?.zoomDirection)throw TypeError("zoomDirection not found on zoom preset");let[e,a]=r?.scale?.in??[1,1],[n,o]=r?.scale?.out??[1,1];r[t]={in:[Number(e)/100,Number(a)/100],out:[Number(n)/100,Number(o)/100]};return}let e=Number(r?.[t]);if("delay"===t?r[t]=1e3*e:r[t]=e,!isFinite(e))throw TypeError(`${t} must be a number`)}),r},r=(r,e)=>{let n=t(e),{direction:s,distance:l}=n,p=["left","right"].includes(s??"")?"X":"Y",u=["left","down"].includes(s??"")?"-":"",f=o(r),m=[{display:f,opacity:0,transform:`translate${p}(${u}${l??50}%)`},{display:f,opacity:i(r),transform:`translate${p}(0)`}];return c(r,m,{...a(n,500),fill:"forwards"})},e=(r,e)=>{let n=t(e),o=[{opacity:0},{opacity:i(r)}];return c(r,o,{...a(n,500)})},a=(t,r)=>{let e=t=>t?1.5/t*1e3:r,{loop:a,delay:n,speed:o,easing:i}=t??{},s=e(o),l=n??0,c=a?s+l:s;return{iterations:a?1/0:1,duration:c,delay:l,easing:EASING[i??"linear"]}},n=(r,e)=>{let n=t(e),{scale:s,zoomDirection:l,isFade:p}=n,[u,f]=s.in,[m,y]=s.out,d=o(r),b=i(r),$=[{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(${m}, ${m})`,opacity:p?0:1},{display:d,transform:`scale(${y??.8}, ${y??.8})`,opacity:b}],x="in"===l?$:w;return c(r,x,{...a(n,700),fill:"forwards"})},o=t=>{let r="inline"===window.getComputedStyle(t,null).getPropertyValue("display");return r?"block":void 0},i=t=>window.getComputedStyle(t,null).getPropertyValue("opacity"),s=(t,r,e)=>{if(!r)return t;let a=r/e,n=[...t].pop();return[...t,{...n,offset:1-a}]},l=(r,e)=>{let n=t(e),{intensity:s}=n??{},l=o(r),p=i(r),u=[{transform:"translate3d(0, 0, 0)",opacity:p,display:l}],f=[{transform:"translate3d(4px, 0, 0)",opacity:p,display:l},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:l},{transform:"translate3d(4px, 0, 0)",opacity:p,display:l}],m=[];Array.from(Array(s??1).keys()).forEach(()=>{m=[...m,...f]});let y=[{transform:"translate3d(-1px, 0, 0)",opacity:p,display:l},{transform:"translate3d(2px, 0, 0)",opacity:p,display:l},{transform:"translate3d(-4px, 0, 0)",opacity:p,display:l},...m,{transform:"translate3d(-4px, 0, 0)",opacity:p,display:l},{transform:"translate3d(2px, 0, 0)",opacity:p,display:l},{transform:"translate3d(-1px, 0, 0)",opacity:p,display:l}];return c(r,s?y:u,{...a(n??{},820)})},c=(t,r,e)=>{let a=new KeyframeEffect(t,e.iterations&&1===e.iterations?r:s(r,e?.delay??0,e?.duration??0),{...e});return new Animation(a,document.timeline)};return{zoom:n,shake:l,fade:e,slide:r}};exports.animations=animations;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";var react=require("react"),animations=require("./animations.js");const TAGS_SELECTOR={Button:".gp-button-base",ProductButton:".gp-button-base",Sticky:"gp-sticky",Dialog:"div[role=dialog]",Icon:"div div",ProductTag:"div div div"},useLivePageAnimation=(e,r,t)=>{let n=animations.animations(),[u,c]=react.useState(!1),a=react.useRef(void 0),i=react.useRef(void 0),o=react.useRef(null),l=react.useRef("none"),s=react.useRef("none"),b=react.useRef(null),d=react.useRef(null),p=react.useRef(null),f=react.useRef("animation-wrapper-"),m=react.useCallback(e=>{b.current&&(b.current.playbackRate=e??1,b.current.play())},[b]),v=react.useCallback(e=>{d.current&&(d.current.playbackRate=e??1,d.current.play())},[d]),g=react.useCallback(()=>{e.current&&(e.current.style.opacity="1"),o.current&&(o.current.style.opacity="1")},[e]),k=react.useCallback(()=>{e.current&&(e.current.style.opacity="1"),o.current&&(o.current.style.opacity="0")},[e]),C=react.useCallback(e=>{e&&e.stopPropagation(),"shake"!==l.current&&k(),b.current&&(d.current?.cancel(),m(),b.current.finished.then(()=>{o.current&&g()}),o.current&&a?.current?.unobserve(o.current))},[k,m,g]),y=react.useCallback(()=>{g(),b.current&&b.current.cancel()},[g,b]),R=react.useCallback(e=>{e&&e.stopPropagation(),d.current&&(y(),v())},[d,y,v]),h=react.useCallback(()=>{if(d.current){if("zoom"===s.current){if(v(-1),!u)return;d.current.finished.then(()=>{clearTimeout(i.current),i.current=setTimeout(()=>{C()},100)});return}d.current.cancel(),u&&C()}},[v,u,C]),E=react.useCallback(()=>{if("desktop"===p.current);else if("tablet"===p.current)return r?.tablet??r?.desktop;else if("mobile"===p.current)return r?.mobile??r?.tablet??r?.desktop;return r?.desktop},[r?.desktop,r?.mobile,r?.tablet]),S=(e,r)=>e?.triggerConfig?.[r]?.animation??"none",L=react.useCallback(e=>{if("none"===l.current)return;let r=e?.triggerConfig?.appear?.setting?.[l.current];c(r.loop),b.current=n?.[l.current]?.(o.current,r)},[n]),T=react.useCallback(e=>{if("none"===s.current)return;let r=e?.triggerConfig?.hover?.setting?.[s.current];d.current=n?.[s.current]?.(o.current,r)},[n]),P=react.useCallback(()=>{b.current&&(b.current=null,o.current&&a.current?.unobserve(o.current)),d&&(d.current=null,o.current&&(o.current.removeEventListener("mouseenter",R),o.current.removeEventListener("mouseleave",h)))},[h,R]),A=react.useCallback(e=>{if(P(),o.current){if(!e?.enabled){g();return}l.current=S(e,"appear"),s.current=S(e,"hover"),"none"===l.current&&g(),"none"!==s.current&&"desktop"===p.current&&(T(e),o.current.addEventListener("mouseenter",R),o.current.addEventListener("mouseleave",h)),"none"!==l.current?(L(e),a.current=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio>.1&&C()})},{root:null,rootMargin:"0px",threshold:[.1]}),a.current.observe(o.current)):g()}},[h,L,T,C,R,g,P]),q=react.useCallback(()=>{let e=document.querySelector("html");if(!o.current||!e)return;let r=new ResizeObserver(([e])=>{let r;let t=e?.target.getBoundingClientRect().width??0;r=t>=1024?"desktop":t>=768?"tablet":"mobile",p.current!==r&&(p.current=r,A(E()))});return r.observe(e),()=>r.disconnect()},[E,A]);return react.useEffect(()=>{setTimeout(()=>{if(!r||!e.current)return;f.current=`animation-wrapper-${Math.random().toString(36).substr(2,5)}`,e.current.setAttribute("data-animationid",f.current);let n=document.body.querySelector("#storefront");return n&&(o.current=n.querySelector(`[data-animationid='${f.current}'] ${TAGS_SELECTOR?.[t]??"div"}`)),q()},100)},[q,r,t,e]),{initAnimation:A}};exports.useLivePageAnimation=useLivePageAnimation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{isValidElement as a}from"react";import{composeAdvanceStyle as
|
|
2
|
+
import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{isValidElement as a}from"react";import{composeAdvanceStyle as n}from"../helpers/compose-advance-style.js";import{disableWrap as i}from"./constant.js";import d from"./RenderCustomCode.js";import{useRenderMode as s}from"../hooks/useRenderMode.js";import o from"./animation/AnimationWrapper.js";let ComponentWrapper=({children:p,pageType:l,...c})=>{let{isPreviewSharePageMode:m}=s();if("section"===c.type)return null;let u=n(c.advanced,c.tag,l),f=c.advanced,{animation:v}=f??{},h=v?.desktop?.enabled||v?.tablet?.enabled||v?.mobile?.enabled,b=()=>{let e={};return c.advanced?.displayInitInteraction!==void 0&&(e={"display-init":c.advanced?.displayInitInteraction===!1?"hide":"show","gp-interaction-wrapper":""}),e},y=r("div",{style:u,className:`${c.uid} ${f?.cssClass}`,...b(),children:p});return i.includes(c.tag)&&a(p)&&(y=e(t,{children:[r(d,{uid:c.uid,advanced:f}),r(p.type,{className:f?.cssClass,...p.props,style:u,advanced:f,builderAttrs:{...p.props.builderAttrs,...b()}})]})),h&&m&&(y=r(o,{settings:v,tag:c.tag??"",children:y})),e(t,{children:[r(d,{uid:c.uid,advanced:f}),y]})};export{ComponentWrapper as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useLivePageAnimation as t}from"../../hooks/animation/useLivePageAnimation.js";import{useRef as e}from"react";let AnimationWrapper=({children:i,settings:n,tag:o})=>{let a=e(null);return t(a,n,o),r("div",{ref:a,style:{display:"contents"},children:i})};export{AnimationWrapper as default};
|
|
@@ -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":null}},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}}},composeSettingsByWidgetType={...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 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}}},composeSettingsByWidgetType={...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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import{useState as e,useRef as r,useCallback as t,useEffect as n}from"react";import{animations as u}from"./animations.js";let TAGS_SELECTOR={Button:".gp-button-base",ProductButton:".gp-button-base",Sticky:"gp-sticky",Dialog:"div[role=dialog]",Icon:"div div",ProductTag:"div div div"},useLivePageAnimation=(c,o,i)=>{let a=u(),[l,s]=e(!1),d=r(void 0),p=r(void 0),m=r(null),v=r("none"),g=r("none"),b=r(null),f=r(null),y=r(null),h=r("animation-wrapper-"),k=t(e=>{b.current&&(b.current.playbackRate=e??1,b.current.play())},[b]),E=t(e=>{f.current&&(f.current.playbackRate=e??1,f.current.play())},[f]),S=t(()=>{c.current&&(c.current.style.opacity="1"),m.current&&(m.current.style.opacity="1")},[c]),L=t(()=>{c.current&&(c.current.style.opacity="1"),m.current&&(m.current.style.opacity="0")},[c]),T=t(e=>{e&&e.stopPropagation(),"shake"!==v.current&&L(),b.current&&(f.current?.cancel(),k(),b.current.finished.then(()=>{m.current&&S()}),m.current&&d?.current?.unobserve(m.current))},[L,k,S]),R=t(()=>{S(),b.current&&b.current.cancel()},[S,b]),C=t(e=>{e&&e.stopPropagation(),f.current&&(R(),E())},[f,R,E]),P=t(()=>{if(f.current){if("zoom"===g.current){if(E(-1),!l)return;f.current.finished.then(()=>{clearTimeout(p.current),p.current=setTimeout(()=>{T()},100)});return}f.current.cancel(),l&&T()}},[E,l,T]),w=t(()=>{if("desktop"===y.current);else if("tablet"===y.current)return o?.tablet??o?.desktop;else if("mobile"===y.current)return o?.mobile??o?.tablet??o?.desktop;return o?.desktop},[o?.desktop,o?.mobile,o?.tablet]),A=(e,r)=>e?.triggerConfig?.[r]?.animation??"none",O=t(e=>{if("none"===v.current)return;let r=e?.triggerConfig?.appear?.setting?.[v.current];s(r.loop),b.current=a?.[v.current]?.(m.current,r)},[a]),q=t(e=>{if("none"===g.current)return;let r=e?.triggerConfig?.hover?.setting?.[g.current];f.current=a?.[g.current]?.(m.current,r)},[a]),B=t(()=>{b.current&&(b.current=null,m.current&&d.current?.unobserve(m.current)),f&&(f.current=null,m.current&&(m.current.removeEventListener("mouseenter",C),m.current.removeEventListener("mouseleave",P)))},[P,C]),$=t(e=>{if(B(),m.current){if(!e?.enabled){S();return}v.current=A(e,"appear"),g.current=A(e,"hover"),"none"===v.current&&S(),"none"!==g.current&&"desktop"===y.current&&(q(e),m.current.addEventListener("mouseenter",C),m.current.addEventListener("mouseleave",P)),"none"!==v.current?(O(e),d.current=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio>.1&&T()})},{root:null,rootMargin:"0px",threshold:[.1]}),d.current.observe(m.current)):S()}},[P,O,q,T,C,S,B]),x=t(()=>{let e=document.querySelector("html");if(!m.current||!e)return;let r=new ResizeObserver(([e])=>{let r;let t=e?.target.getBoundingClientRect().width??0;r=t>=1024?"desktop":t>=768?"tablet":"mobile",y.current!==r&&(y.current=r,$(w()))});return r.observe(e),()=>r.disconnect()},[w,$]);return n(()=>{setTimeout(()=>{if(!o||!c.current)return;h.current=`animation-wrapper-${Math.random().toString(36).substr(2,5)}`,c.current.setAttribute("data-animationid",h.current);let e=document.body.querySelector("#storefront");return e&&(m.current=e.querySelector(`[data-animationid='${h.current}'] ${TAGS_SELECTOR?.[i]??"div"}`)),x()},100)},[x,o,i,c]),{initAnimation:$}};export{useLivePageAnimation};
|