{
  "version": 3,
  "sources": ["/cdn/shop/t/210/assets/main.js?mod_js_fix=20260614t2217"],
  "sourcesContent": ["\n// gsap.from(\"#main-page\", 1.5, {\n//     delay: 3,\n//     backgroundSize: \"50%\",\n//     backgroundPosition: \"center center\",\n//     ease: \"power4.inOut\",\n// });\n\n// MOD_DEBUG_BEST_SELLER_VERSION: 2025-12-22-01\n// gsap.to(\"#main-page\", 1.5, {\n//     delay: 3,\n//     backgroundSize: \"100%\",\n//     backgroundPosition: \"center center\",\n//     ease: \"power4.inOut\",\n// });\n// gsap.from(\".fadeInPreload\", 1.5,{\n//     delay: 3.5,\n//     y: 500,\n//     opacity: 0,\n//     stagger :{\n//         amount: 0.3,\n//     },\n//     ease: \"power4.inOut\",\n// });\n// gsap.from(\".socials i\", 1.5,{\n//     delay: 3.5,\n//     y: 300,\n//     opacity: 0,\n//     stagger :{\n//         amount: 0.3,\n//     },\n//     ease: \"power4.inOut\",\n// });\n\n$(document).ready(function () {\n\t// $('.site-header-menu').meanmenu({\n    //     meanMenuContainer: '.mobile-menu',\n    //     meanScreenWidth: \"991\",\n    //     // meanExpand: ['<i class=\"fal fa-plus\"></i>'],\n    // });\n\n    // wow = new WOW(\n    //     {\n    //     boxClass:     'wow',      // default\n    //     animateClass: 'animate__animated', // default\n    //     offset:       0,          // default\n    //     mobile:       true,       // default\n    //     live:         true        // default\n    //   }\n    // )\n    // wow.init();\n    var toggleMenu = \"<div class='mb-btn-toggle' aria-hidden='true'><i class='far far fa-angle-right'></i></div>\";\n    \n    if (window.innerWidth < 992) {\n        $(\".has-megamenu\").each(function () {\n            var $li = $(this);\n            // Avoid duplicating toggles if this script runs more than once\n            if ($li.find('> .mb-btn-toggle').length === 0) {\n                $li.append(toggleMenu);\n            }\n\n            // Add a stable id so we can connect aria-controls\n            var $submenu = $li.find('> .mega-menu-full').first();\n            var $trigger = $li.find('> a').first();\n\n            if ($submenu.length && $trigger.length) {\n                var existingId = $submenu.attr('id');\n                if (!existingId) {\n                    $submenu.attr('id', 'mobile-submenu-' + Math.random().toString(16).slice(2));\n                }\n                $trigger.attr('aria-haspopup', 'true');\n                $trigger.attr('aria-expanded', 'false');\n                $trigger.attr('aria-controls', $submenu.attr('id'));\n            }\n        });\n        \n        $('.site-header-link-left > ul').append($('.site-header-top-left ul').html())\n    }\n\n    if (window.innerWidth < 576) {\n\n    }\n    var setMobileSubmenuExpanded = function ($li, shouldExpand) {\n        if (!$li || !$li.length) return;\n\n        $li.toggleClass('is-open', !!shouldExpand);\n        var $trigger = $li.find('> a').first();\n        if ($trigger.length) {\n            $trigger.attr('aria-expanded', shouldExpand ? 'true' : 'false');\n        }\n    };\n\n    var toggleMobileSubmenu = function ($li) {\n        if (!$li || !$li.length) return;\n        var isExpanded = $li.hasClass('is-open');\n\n        // Close siblings for a cleaner UX in the hamburger menu\n        $li.siblings('.has-megamenu').each(function () {\n            setMobileSubmenuExpanded($(this), false);\n        });\n\n        setMobileSubmenuExpanded($li, !isExpanded);\n    };\n\n    // Mobile: tap the menu label (e.g. \"Mattresses\") to expand/collapse dropdown\n    $(document).on('click', '.site-header-link-left .has-megamenu > a', function (e) {\n        if (window.innerWidth >= 992) return;\n\n        var $li = $(this).closest('.has-megamenu');\n        if (!$li.length) return;\n\n        e.preventDefault();\n        toggleMobileSubmenu($li);\n    });\n\n    // Mobile: keep the right-side arrow toggle working too\n    $(document).on('click', '.site-header-link-left .has-megamenu > .mb-btn-toggle', function (e) {\n        if (window.innerWidth >= 992) return;\n\n        var $li = $(this).closest('.has-megamenu');\n        if (!$li.length) return;\n\n        e.preventDefault();\n        toggleMobileSubmenu($li);\n    });\n\n    // Keyboard support for the parent label\n    $(document).on('keydown', '.site-header-link-left .has-megamenu > a', function (e) {\n        if (window.innerWidth >= 992) return;\n        if (e.key !== 'Enter' && e.key !== ' ') return;\n\n        var $li = $(this).closest('.has-megamenu');\n        if (!$li.length) return;\n\n        e.preventDefault();\n        toggleMobileSubmenu($li);\n    });\n\n    \n    \n\n    var headerHeight = $('.site-header').outerHeight() + 'px'\n    $('html').css('--header-bottom-position', headerHeight)\n    \n});\n$('.ham-btn').on('click', function(e) {\n    e.preventDefault();\n    $(this).toggleClass('active')\n    $('.site-header-link').toggleClass('open')\n\n    // When closing the hamburger, collapse any expanded submenus\n    if (!$('.site-header-link').hasClass('open')) {\n        $('.site-header-link-left .has-megamenu.is-open').each(function () {\n            $(this).removeClass('is-open').find('> a').attr('aria-expanded', 'false');\n        });\n    }\n})\n\n\nconst openCart = () => {\n    const $cart = $('.cart-container');\n    const $overlay = $('.body-overlay');\n    if (!$cart.length) return;\n\n    // Find the Shopify section wrapper that contains the cart container.\n    // Liquid Ajax Cart requires data-ajax-cart-section elements to stay inside\n    // a Shopify section wrapper (id^=\"shopify-section-\") for proper updates.\n    const $cartSection = $cart.closest('[id^=\"shopify-section-\"]');\n    if (!$cartSection.length) {\n        // Fallback: if no section wrapper found, use cart directly (legacy behavior)\n        console.warn('MOD_openCart: Could not find Shopify section wrapper for cart');\n        $cart.css('z-index', '2147483647');\n        $overlay.css('z-index', '2147483646');\n        $('body').append($overlay).append($cart);\n    } else {\n        // Store original parent and nextSibling on first open (for restoration on close)\n        if (!$cartSection.data('mod-original-parent')) {\n            $cartSection.data('mod-original-parent', $cartSection.parent()[0]);\n            $cartSection.data('mod-original-next', $cartSection[0].nextSibling);\n        }\n\n        // Move the entire section wrapper (not just cart-container) to preserve Liquid Ajax Cart functionality\n        $cartSection.css('z-index', '2147483647');\n        $overlay.css('z-index', '2147483646');\n        $('body').append($overlay).append($cartSection);\n    }\n\n    $cart.addClass('open');\n    $overlay.addClass('opened');\n};\n\nconst releaseInactiveOverlay = () => {\n    const $cart = $('.cart-container');\n    const $overlay = $('.body-overlay');\n    if (!$overlay.length) return;\n\n    if (!$cart.length || !$cart.hasClass('open')) {\n        $overlay.removeClass('opened');\n    }\n};\n\nconst closeCart = () => {\n    const $cart = $('.cart-container');\n    const $overlay = $('.body-overlay');\n    if (!$cart.length) return;\n\n    $cart.removeClass('open');\n    $overlay.removeClass('opened');\n    releaseInactiveOverlay();\n\n    // Optionally restore the section wrapper to its original location\n    // This helps maintain DOM structure and prevents issues with other scripts\n    const $cartSection = $cart.closest('[id^=\"shopify-section-\"]');\n    if ($cartSection.length) {\n        const originalParent = $cartSection.data('mod-original-parent');\n        const originalNext = $cartSection.data('mod-original-next');\n        \n        if (originalParent && originalParent !== document.body) {\n            // Restore to original location\n            if (originalNext && originalNext.parentNode === originalParent) {\n                originalParent.insertBefore($cartSection[0], originalNext);\n            } else {\n                originalParent.appendChild($cartSection[0]);\n            }\n        }\n    }\n};\n\nwindow.MOD_openCart = openCart;\nwindow.MOD_closeCart = closeCart;\nwindow.MOD_releaseInactiveOverlay = releaseInactiveOverlay;\n\n$('.cart-btn').on('click', function(e) { e.preventDefault(); openCart(); });\n\n$('.cart-close').on('click', closeCart);\n$(document).on('click', '.body-overlay.opened', closeCart);\n$(releaseInactiveOverlay);\nwindow.addEventListener('pageshow', releaseInactiveOverlay);\n\n// Show/hide cart loading overlay based on Liquid Ajax Cart request state\n(function() {\n  const updateCartLoadingState = () => {\n    const $overlay = $('.cart-loading-overlay');\n    if (!$overlay.length) return;\n    \n    const isRequestInProgress = $('body').hasClass('js-ajax-cart-request-in-progress');\n    if (isRequestInProgress) {\n      $overlay.addClass('is-visible');\n    } else {\n      $overlay.removeClass('is-visible');\n    }\n  };\n\n  // Watch for body class changes (Liquid Ajax Cart adds/removes js-ajax-cart-request-in-progress)\n  const observer = new MutationObserver(() => {\n    updateCartLoadingState();\n  });\n\n  // Start observing when DOM is ready\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', () => {\n      observer.observe(document.body, {\n        attributes: true,\n        attributeFilter: ['class']\n      });\n      updateCartLoadingState();\n    });\n  } else {\n    observer.observe(document.body, {\n      attributes: true,\n      attributeFilter: ['class']\n    });\n    updateCartLoadingState();\n  }\n})();\n\n$(\"#search-icon\").on('click', function() {\n    $('.search-box-form').addClass('open')\n})\n\n$('.close-search').on('click', function() {\n    $('.search-box-form').removeClass('open')\n})\n\n$(document).mouseup(function(e) \n{\n    var container = $(\".search-box-form\");\n\n    // if the target of the click isn't the container nor a descendant of the container\n    if (!container.is(e.target) && container.has(e.target).length === 0) \n    {\n        container.removeClass('open');\n    }\n});\n\n\nwindow.isMobile = function() {\n    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){\n        $('body').addClass(\"disable-cursor\");\n        return true\n        \n    }\n    else {\n        if ($(window).width() <= 1024) {\n            $('body').addClass(\"disable-cursor\");\n            return true \n        }\t\t\n    };\n    return false\n};\n\nwindow.ScrollEffects = function() {\n    gsap.defaults({overwrite: \"auto\"});\t\n    gsap.registerPlugin(ScrollTrigger);\n    gsap.config({nullTargetWarn: false});\n\n    // setTimeout(function(){\n    //     var threeapp = document.getElementById(\"app\");\n    //     threeapp.className += \"active\"; \n    //     $(\"body\").append(threeapp)\n    // } , 1500 );\n\n    var lastScrollTop = 0;\n    var st = $(this).scrollTop();\n    if (st > lastScrollTop){\n        $('.site-header').addClass('scroll-down')\n        $('.site-header').removeClass('scroll-up')\n        $('.site-header').addClass('has-scroll')\n    } else {\n        $('.site-header').removeClass('scroll-down')\n        $('.site-header').addClass('scroll-up')\n    }\n    if (st < 30) {\n        $('.site-header').removeClass('scroll-down')\n        $('.site-header').removeClass('scroll-up')\n        $('.site-header').removeClass('has-scroll')\n    }\n    lastScrollTop = st;\n\n    let enableSmoothScrollMobile = true;\n    if( isMobile() ){\n        \n        if( !enableSmoothScrollMobile ){\n            \n            document.body.classList.remove(\"smooth-scroll\");\n        }\n    }\n    if (document.body.classList.contains(\"smooth-scroll\"))  {\n            \n        const ScrollArea = document.querySelector('#content-scroll');\n        class EdgeEasingPlugin extends Scrollbar.ScrollbarPlugin {\n            constructor() {\n                super(...arguments);\n                this._remainMomentum = {\n                    x: 0,\n                    y: 0,\n                };\n            }\n            transformDelta(delta) {\n                const { limit, offset, } = this.scrollbar;\n                const x = this._remainMomentum.x + delta.x;\n                const y = this._remainMomentum.y + delta.y;\n                // clamps momentum within [-offset, limit - offset]\n                this.scrollbar.setMomentum(Math.max(-offset.x, Math.min(x, limit.x - offset.x)), Math.max(-offset.y, Math.min(y, limit.y - offset.y)));\n                return { x: 0, y: 0 };\n            }\n            onRender(remainMomentum) {\n                Object.assign(this._remainMomentum, remainMomentum);\n            }\n        }\n        \n        EdgeEasingPlugin.pluginName = 'edgeEasing';\n        Scrollbar.use(EdgeEasingPlugin);\n        \n        // Config\n        \n        \n        if (!isMobile()) {\n            \n            var ScrollbarOptions = {\n                damping:0.1,\n                // renderByPixel: true,\n                // continuousScrolling: true,\n                // syncCallbacks: true,\n            };\t\n            \t\t\n        }\n        \n        if (isMobile()) {\n        \n            var ScrollbarOptions = {\n                damping:0.2,\n                // renderByPixel: true,\n                // continuousScrolling: true,\n                // syncCallbacks: true,\n            };\n        }\n\n        // Initialise\n        var scrollbar = Scrollbar.init(ScrollArea,ScrollbarOptions);\t\t\t\n        \n        // scrollbar.scrollIntoView(document.querySelector('#map-scroll'), {\n        //     offsetLeft: 0,\n        //     offsetBottom: 0,\n        //     alignToTop: true,\n        //     onlyScrollIfNeeded: true,\n        // });\t\n       \n\n        ScrollTrigger.scrollerProxy(\"#content-scroll\", {\n            scrollTop(value) {\n                if (arguments.length) { scrollbar.scrollTop = value; }\n                return scrollbar.scrollTop;\n                }\n        });\t\n                \n        scrollbar.addListener(ScrollTrigger.update);\t\t\t\n        ScrollTrigger.defaults({ scroller: ScrollArea });\n        \n        \n    }// End Smooth Scroll\n    const showAnim = gsap.from('.site-header', { \n        yPercent: -100,\n        paused: true,\n        duration: 0.3\n    }).progress(1);\n    ScrollTrigger.create({\n        trigger: \".site-header\",\n        start: 50,\n        end: 'max',\n        toggleClass: {\n            className: 'scroll-menu',\n            targets: '.site-header'\n        },\n        onUpdate: (self) => {\n            self.direction === -1 ? showAnim.play() : showAnim.reverse()\n        }\n    })\n  \n\n    $('.has-mask-fill').each(function(){\n        var words = $(this).text();\n        var total = words;\n        $(this).empty();\n        $(this).append($(\"<span /> \").text(words));\n    });\n    \n    $('.has-mask-fill.block-title').each(function(){\n        var words = $(this).text().split(\" \");\n        var total = words.length;\n        $(this).empty();\n        for (index = 0; index < total; index ++){\n            $(this).append($(\"<span /> \").text(words[index]));\n        }\t\t\t\n    });\n    \n    var hasMaskFill = gsap.utils.toArray('.has-mask-fill');\t\t\t\n    hasMaskFill.forEach(function(hMaskFill) {\t\t\t\t\n        var spanFillMask = hMaskFill.querySelectorAll(\"span\");\n        gsap.to(spanFillMask, { \t\t\t\t\t\n            scrollTrigger: {\n                trigger: hMaskFill,\n                start: \"top 85%\",\n                end: () => `+=${hMaskFill.offsetHeight * 2}`,\n                scrub: 1,\n            },\n            duration: 1, \n            backgroundSize:\"200% 100%\", \n            stagger:0.5,  \n            ease:Linear.easeNone,\n        });\n    });\n\n    // Clipped Image \n    gsap.utils.toArray('.clipped-image-wrapper').forEach((clippedImageWrapper) => {\n\n        const clippedImagePin = clippedImageWrapper.querySelector(\".clipped-image-pin\");\n        const clippedImage = clippedImageWrapper.querySelector(\".clipped-image\");\n        const clippedImageGradient = clippedImageWrapper.querySelector(\".clipped-image-gradient\");\n        const clippedImageContent = clippedImageWrapper.querySelector(\".clipped-image-content\");\n        \n        gsap.set(clippedImageContent, { paddingTop: (window.innerHeight/2) + clippedImageContent.offsetHeight});\n        \n        gsap.set(clippedImageGradient, { backgroundColor: clippedImageGradient.closest(\".content-row \").getAttribute(\"data-bgcolor\")});\n        \n        function setClippedImageWrapperProperties() {\n            gsap.set(clippedImageContent, { paddingTop:\"\"});\t\t\t\t\t\t\t\t\t\t\t\n            gsap.set(clippedImageGradient, { height: window.innerHeight * 0.3});\n            gsap.set(clippedImage, { height: window.innerHeight, });\t\t\t\t\t\t\t\t\n            gsap.set(clippedImageContent, { paddingTop: (window.innerHeight/2) + clippedImageContent.offsetHeight});\n            gsap.set(clippedImageWrapper, { height: window.innerHeight + clippedImageContent.offsetHeight});\n            \n        }\t\t\n        \n        imagesLoaded('body', function() {\n            setClippedImageWrapperProperties();\n        });\n            \n        \n        \n        window.addEventListener('resize', setClippedImageWrapperProperties);\n\n        gsap.to(clippedImageGradient, {\n            scrollTrigger: {\n                trigger: clippedImagePin,\n                start: function() {\n                    const startPin = 0;\n                    return \"top +=\" + startPin;\n                    },\n                end: function() {\n                    const endPin = clippedImageContent.offsetHeight;\n                    return \"+=\" + endPin;\n                },\n                scrub: true,\n            },\n            opacity:1,\n            y:1\n        });\n        \n        var clippedImageAnimation = gsap.to(clippedImage, {\n            clipPath: 'inset(0% 0% 0%)',\n            scale: 1,\n            duration: 1,\n            ease: 'Linear.easeNone'\n        });\n        \n        var clippedImageScene = ScrollTrigger.create({\n            trigger: clippedImagePin,\n            start: function() {\n                const startPin = 0;\n                return \"top +=\" + startPin;\n                },\n            end: function() {\n                const endPin = clippedImageContent.offsetHeight;\n                return \"+=\" + endPin;\n            },\n            animation: clippedImageAnimation,\n            scrub: 1,\n            pin: true,\n            pinSpacing: false,\n        });\n\n    });\n\n    var hasParallax = gsap.utils.toArray('.has-parallax');\t\t\t\n    hasParallax.forEach(function(hParallax) {\n        var bgImage = hParallax.querySelector(\"img\");\n        var bgVideo = hParallax.querySelector(\"video\");\n        var parallax = gsap.fromTo( [bgImage, bgVideo], {y: '-20%', scale:1.15}, {y: '20%', scale:1, duration: 1, ease:Linear.easeNone});\t\t\n        var parallaxScene = ScrollTrigger.create({\n            trigger: hParallax,\n            start: \"top 100%\",\n            end: () => `+=${hParallax.offsetHeight + window.innerHeight}`,\n            animation: parallax,\n            scrub: true\n        });\n    });\n\n    var hasAnimation = gsap.utils.toArray('.has-animation');\t\t\t\n    hasAnimation.forEach(function(hAnimation) {\n        var delayValue = parseInt(hAnimation.getAttribute(\"data-delay\")) || 0;\n        gsap.to(hAnimation, { \t\t\t\t\t\n            scrollTrigger: {\n                trigger: hAnimation,\n                start: \"top 95%\",\n                // scrub: 1,\n                onEnter: function() {\n                    hAnimation.classList.add('animated');\n                },\n                toggleActions: \"play none none reset\"\n            },\n            opacity: 1,\n            y:0,\n            duration: 0.5,\n            ease:Power2.easeOut,\n            delay: delayValue / 1000,\n        });\n        \n    });\n    // Pinned Sections\n    if (window.innerWidth > 991) {\t\t\t\n        var pinnedSection = gsap.utils.toArray('.pinned-element');\t\t\t\n        pinnedSection.forEach(function(pinElement) {\n            \n            var parentNode = pinElement.parentNode;\n            var scrollingElement = parentNode.querySelector('.scrolling-element');\n            \n            var pinnedScene = ScrollTrigger.create({\n                trigger: pinElement,\n                //start: \"top top-=-50px\",\n                start: function() {\n                    const startPin = (window.innerHeight - pinElement.offsetHeight)/2;\n                    return \"top +=\" + startPin;\n                    },\n                end: () => `+=${scrollingElement.offsetHeight - pinElement.offsetHeight}`,\n                pin: pinElement,\n            });\n        });\n    }\n\n    // Slowed Pin Section\n    gsap.utils.toArray('.slowed-pin').forEach((slowedPin) => {\n        \n        const slowedText = slowedPin.querySelector('.slowed-text');\n        const slowedTextWrapper = slowedPin.querySelector('.slowed-text-wrapper');\n        const slowedImagesWrapper = slowedPin.querySelector('.slowed-images');\t\n        const slowedImages = slowedPin.querySelectorAll('.slowed-image img');\n        \n        \n    \n        gsap.to(slowedText, {\n            scrollTrigger: {\n                trigger:slowedText,\n                scrub: true,\n                pin:true,\n                start: \"top top\",\t\t\t\t\t\n                end: function() {\n                    const durationHeight = slowedImagesWrapper.offsetHeight - window.innerHeight;\n                    return \"+=\" + durationHeight;\n                },\n            },\n            y:window.innerHeight - slowedText.offsetHeight\n        });\n        \n        gsap.from(slowedTextWrapper, {\n            scrollTrigger: {\n                trigger:slowedText,\n                scrub: true,\n                start: \"top top\",\t\t\t\t\t\n                end: function() {\n                    const durationHeight = slowedImagesWrapper.offsetHeight - window.innerHeight;\n                    return \"+=\" + durationHeight;\n                },\n            },\n            y:100\n        });\n        \n        slowedImages.forEach((sImage) => {\t\t\t\n            gsap.to(sImage, {\n                scrollTrigger: {\n                    trigger:sImage,\n                    scrub: true,\n                    start: \"top 100%\",\n                },\n                scale:1,\n                y:0\n            });\n        });\t\n    \n    });\n    // Back To Top\n    $('#backtotop').on('click', function() {\t\n        if ($(\"body\").hasClass(\"smooth-scroll\")) {\n            gsap.to(scrollbar, {duration: 1.5, scrollTop:0, delay:0.1, ease:Power4.easeInOut});\n            gsap.to('#ball', {duration: 0.3, borderWidth: '4px', scale:0.5, borderColor:'#999999', delay:0.15});\n        } else {\n            $(\"html,body\").animate({scrollTop: 0}, 800);\n            gsap.to('#ball', {duration: 0.3,  borderWidth: '4px', scale:0.5, borderColor:'#999999', delay:0.15});\n        }\n    });\n\n    $(\".anim-fadein\").each(function() {\n        let tl_FadeIn = gsap.timeline({\n            scrollTrigger: {\n                trigger: this,\n                start: \"top bottom\",\n                markers: false\n            }\n        });\n    \n        tl_FadeIn.from(this, { duration: 2.5, autoAlpha: 0, opacity: 0, ease: Expo.easeOut, clearProps:\"all\" }, \"+=0.3\");\n    });\n\n    $(\".anim-zoomin\").each(function() {\n\n        // Add wrap <div>.\n        $(this).wrap('<div class=\"anim-zoomin-wrap\"></div>');\n\n        // Add overflow hidden.\n        $(\".anim-zoomin-wrap\").css({ \"overflow\": \"hidden\" })\n\n        var $this = $(this);\n        var $asiWrap = $this.parents(\".anim-zoomin-wrap\");\n\n        let tl_ZoomIn = gsap.timeline({\n          scrollTrigger: {\n            trigger: $asiWrap,\n            start: \"top 90%\",\n            markers: false,\n            onEnter: () => animZoomInRefresh(),\n          }\n        });\n        tl_ZoomIn.from($this, { duration: 1.5, autoAlpha: 0, scale: 1.2, ease: Power2.easeOut, clearProps:\"all\" });\n\n        // Refresh start/end positions on enter.\n        function animZoomInRefresh() {\n          ScrollTrigger.refresh();\n        };\n      });\n\n\n      // fade in-up\n      $(\".anim-fadeinup\").each(function() {\n        let tl_FadeInUp = gsap.timeline({\n          scrollTrigger: {\n            trigger: this,\n            start: \"top bottom\",\n            markers: false\n          }\n        });\n\n        tl_FadeInUp.from(this, { duration: 1.5, autoAlpha: 0, y: 30, ease: Power2.easeOut, clearProps:\"all\" }, \"+=0.2\");\n      });\n\n\n      // skew in-up\n      $(\".anim-skewinup\").each(function() {\n        let tl_SkewInUp = gsap.timeline({\n          scrollTrigger: {\n            trigger: this,\n            start: \"top bottom\",\n            markers: false\n          }\n        });\n\n        tl_SkewInUp.from(this, { duration: 2, skewY: 5, transformOrigin: \"left top\", autoAlpha: 0, y: 100, ease: Expo.easeOut, clearProps:\"all\" }, \"+=0.3\");\n      });\n\n\n      // stretch in-up\n      $(\".anim-stretchinup\").each(function() {\n        let tl_StretchInUp = gsap.timeline({\n          scrollTrigger: {\n            trigger: this,\n            start: \"top bottom\",\n            markers: false\n          }\n        });\n\n        tl_StretchInUp.from(this, { duration: 2, autoAlpha: 0, y: 100, scaleY: 1.4, transformOrigin: \"top\", ease: Expo.easeOut, clearProps:\"all\" }, \"+=0.2\");\n      });\n}\n\nwindow.Core = function() {\n    if (!isMobile() && !$('body').hasClass(\"disable-cursor\")) {\n        var mouse = { x: 0, y: 0 };\n        var pos = { x: 0, y: 0 };\n        var ratio = 0.65;\t\t\t\n        var active = false;\t\t\t\n        var ball = document.getElementById(\"ball\");\n        var ballloader = document.getElementById(\"ball-loader\");\n        var offsetX = 40;\n        \n        \n        gsap.set(ball, { xPercent: -50, yPercent: -50, scale:0.5, borderWidth: '4px' });\n        \n        document.addEventListener(\"mousemove\", mouseMove);\n        \n        function mouseMove(e) {\n            var scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n            mouse.x = e.pageX;\n            mouse.y = e.pageY - scrollTop;\n\n        }\n        \n        gsap.ticker.add(updatePosition);\n        \n        function updatePosition() {\n            if (!active) {\n                pos.x += (mouse.x - pos.x) * ratio;\n                pos.y += (mouse.y - pos.y) * ratio;\n        \n                gsap.to(ball, { duration: 0.4, x: pos.x, y: pos.y });\n            }\n        }\n        \n        $(\".sticky.left\").mouseenter(function(e) {\n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.left - offsetX;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale: 0.9, borderWidth: '2px'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\".sticky.right\").mouseenter(function(e) {\n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.right + offsetX;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale: 0.9, borderWidth: '2px'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\"#main .sticky.left\").mouseenter(function(e) {\t\t  \n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.left - offsetX + 10;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale:0.7, opacity:0.6, borderWidth: '6px', borderColor:'#999999'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\"#main .sticky.right\").mouseenter(function(e) {\t\t  \n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.right + offsetX - 10;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale:0.7, opacity:0.6, borderWidth: '6px', borderColor:'#999999'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\".clapat-button .sticky.left\").mouseenter(function(e) {\t\t  \n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.left  + 22;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale:0.4, opacity:1, borderWidth: '6px', borderColor:'#000'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\".clapat-button .sticky.right\").mouseenter(function(e) {\t\t  \n            var rcBounds = $(this)[0].getBoundingClientRect();\t\t  \n            var positionX = rcBounds.right  - 22;\n            var positionY = rcBounds.top + rcBounds.height/2;\t\t  \n            gsap.to(ball, { duration: 0.5, x: positionX, y: positionY, scale:0.4, opacity:1, borderWidth: '6px', borderColor:'#000'});\n            gsap.ticker.remove(updatePosition);\n        })\n        \n        $(\".sticky\").mouseleave(function(e) {\t\t\t\n            gsap.to(ball, { duration: 0.2, scale:0.5, borderWidth: '4px', borderColor:'#999999', opacity:1 });\n            gsap.ticker.add(updatePosition);\t\t  \n        })\t\n        \n        $(\".parallax-wrap\").mouseenter(function(e) {\n            gsap.to(this, { duration: 0.3, scale: 2 });\n            gsap.to(ball, { duration: 0.3, scale: 0.9, borderWidth: '2px',opacity:1 });\n            gsap.to($( this ).children(), {duration: 0.3, scale:0.5});\n            active = true;\n        });\n        \n        $(\"#main .parallax-wrap.icon-wrap\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.3, scale: 0.7, borderWidth: '6px', opacity:0.6, borderColor:'#999' });\n        });\n        \n        $(\".clapat-button .parallax-wrap.icon-wrap\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.05, scale: 0.4, borderWidth: '0px', opacity:1, borderColor:'#000' });\n        });\n        \n        $(\".parallax-wrap.bigger\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.3, scale: 1.35, borderWidth: '2px', opacity:1 });\n        });\n        \n        $(\".parallax-wrap\").mouseleave(function(e) {\n            gsap.to(this, { duration: 0.3, scale: 1 });\n            gsap.to(ball, { duration: 0.3, scale: 0.5, borderWidth: '4px', opacity:1, borderColor:'#999999'  });\n            gsap.to($( this ).children(), {duration: 0.3, scale:1, x: 0, y:0});\n            active = false;\n        });\t\t\n        \n        \n        $(\".sticky\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.5, borderColor:$(\"body\").data('primary-color') });\n        });\n        $(\"#main .sticky\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.5, borderColor:'#999' });\n        });\n        $(\".clapat-button .sticky\").mouseenter(function(e) {\n            if ($('#page-content').hasClass(\"light-content\")) {\n                gsap.to(ball, { duration: 0.5, borderColor:'#000' });\n            } else {\n                gsap.to(ball, { duration: 0.5, borderColor:'#fff' });  \n            }\n        });\n        $(\".parallax-wrap\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.3, borderColor:$(\"body\").data('primary-color')  });\n        });\n        $(\".clapat-button .parallax-wrap\").mouseenter(function(e) {\n            if ($('#page-content').hasClass(\"light-content\")) {\n                gsap.to(ball, { duration: 0.05, borderColor:'#000'  });\n            } else {\n                gsap.to(ball, { duration: 0.05, borderColor:'#fff'  });\n            }\n        });\n        $(\".parallax-wrap.bigger\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.3, borderColor:$(\"body\").data('primary-color')  });\n        });\n        $(\"#main .parallax-wrap.icon-wrap\").mouseenter(function(e) {\n            gsap.to(ball, { duration: 0.3, borderColor:'#999'});\n        });\t\t\t \n        \n        $(\".parallax-wrap\").mousemove(function(e) {\n            parallaxCursor(e, this, 2);\n            callParallax(e, this);\n        });\n        \n        function callParallax(e, parent) {\n            parallaxIt(e, parent, parent.querySelector(\".parallax-element\"), 20);\n        }\n        \n        function parallaxIt(e, parent, target, movement) {\n            var boundingRect = parent.getBoundingClientRect();\n            var relX = e.pageX - boundingRect.left;\n            var relY = e.pageY - boundingRect.top;\n            var scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n            \n            gsap.to(target, {\n                duration: 0.3,\n                x: (relX - boundingRect.width / 2) / boundingRect.width * movement,\n                y: (relY - boundingRect.height / 2 - scrollTop) / boundingRect.height * movement,\n                ease: Power2.easeOut\n            });\n        }\n        \n        function parallaxCursor(e, parent, movement) {\n            var rect = parent.getBoundingClientRect();\n            var relX = e.pageX - rect.left;\n            var relY = e.pageY - rect.top;\n            var scrollTop = window.pageYOffset || document.documentElement.scrollTop;\n            pos.x = rect.left + rect.width / 2 + (relX - rect.width / 2) / movement;\n            pos.y = rect.top + rect.height / 2  + (relY - rect.height / 2 - scrollTop)  / movement ;\n            gsap.to(ball, { duration: 0.3, x: pos.x, y: pos.y });\n        }\n        \n        $(\".hide-ballm,.btn-site-k\").mouseenter(function(e) {\t\n            gsap.to('#ball', {duration: 0.2, borderWidth: '1px', scale: 1, opacity:0});\n        });\t\n                \n        $(\".hide-ballm,.btn-site-k\").mouseleave(function(e) {\n            gsap.to('#ball', {duration: 0.3, borderWidth: '4px', scale:0.5, opacity:1});\n        });\n        \n        $(\".link, .button, .site-header a\").mouseenter(function(e) {\t\n            gsap.to('#ball', {duration: 0.2, borderWidth:\"0px\",scale:1.5,backgroundColor:\"rgba(153, 153, 153, 1)\",opacity:0.15});\n            gsap.to('#ball-loader', {duration: 0.2, borderWidth: '2px', top: 4, left: 4});\n        });\t\n                \n        $(\".link, .button, .site-header a\").mouseleave(function(e) {\n            gsap.to('#ball', {duration: 0.3, borderWidth:\"4px\",scale:0.5,backgroundColor:\"rgba(153, 153, 153, 0)\",opacity:1});\n            gsap.to('#ball-loader', {duration: 0.2, borderWidth: '4px', top: 0, left: 0});\n        });\n        \n        //Blog Hover Effects\t\t\t\n        $(\"#blog-page-nav .page-numbers li a, .post-page-numbers, #post-content a, #post-form a, #post-comments a, .wp-block-search__button, .clapat-sidebar-widget a\").mouseenter(function(e) {\t\n            gsap.to('#ball', {duration: 0.2, borderWidth: '1px', scale: 1, opacity:0});\n        });\t\n                \n        $(\"#blog-page-nav .page-numbers li a, .post-page-numbers, #post-content a, #post-form a, #post-comments a, .wp-block-search__button, .clapat-sidebar-widget a\").mouseleave(function(e) {\n            gsap.to('#ball', {duration: 0.3, borderWidth: '4px', scale:0.5, opacity:1});\n        });\n    }\n}\n\nvar ScrollEffects = window.ScrollEffects;\nvar isMobile = window.isMobile;\nvar Core = window.Core;\n// function startLoader(){\n//     let counterElement = document.querySelector('.counter');\n//     let currentValue = 0;\n//     function updateCounter()\n//     {\n//         if(currentValue === 100)\n//         {\n//             return;\n//         }\n//         currentValue += Math.floor(Math.random()*10)+1;\n//         if(currentValue>100)\n//         {\n//             currentValue = 100;\n//         }\n//         counterElement.textContent = currentValue;\n//         let delay =  Math.floor(Math.random()*100) +50;\n//         setTimeout(updateCounter,delay);\n//     }\n//     updateCounter();\n// }\n// startLoader();\n// gsap.to(\".counter\",0.25, {\n//     delay: 2.5,\n//     opacity: 0,\n//     onComplete: function() {\n//         gsap.to(\".counter\", {\n//             zIndex: -1,\n//         })\n//     }\n    \n// });\n// gsap.to(\"#preload .logo\",0.25, {\n//     delay: 2.5,\n//     opacity: 0,\n//     onComplete: function() {\n//         gsap.to(\"#preload .logo\", {\n//             zIndex: -1,\n//         })\n//     }\n  \n// });\n// gsap.to(\".bar\", 1.5,{\n//     delay: 2.5,\n//     height: 0,\n//     stagger :{\n//         amount: 0.5,\n//     },\n//     ease: \"power4.inOut\",\n//     onComplete: function() {\n//         PageLoad();\n//     }\n// });\n// gsap.to(\".overlay\", 1.5,{\n//     delay: 3,\n//     zIndex: -1,\n// });\t    \n\n\nfunction PageLoad() {\n    function initOnFirstLoad() {\n        // imagesLoaded('body', function() {\n        //     // gsap.to(\"#preload .logo\",0.25, {\n        //     //     delay: 0.5,\n        //     //     opacity: 0,\n        //     //     onComplete: function() {\n        //     //         gsap.to(\"#preload .logo\", {\n        //     //             zIndex: -1,\n        //     //         })\n        //     //     }\n            \n        //     // });\n        //     // gsap.to(\"#preload .counter\",0.25, {\n        //     //     delay: 0.5,\n        //     //     opacity: 0,\n        //     //     onComplete: function() {\n        //     //         gsap.to(\"#preload .counter\", {\n        //     //             zIndex: -1,\n        //     //         })\n        //     //     }\n            \n        //     // });\n        //     // gsap.to(\".bar\", 1.5,{\n        //     //     delay: 0.5,\n        //     //     height: 0,\n        //     //     stagger :{\n        //     //         amount: 0.5,\n        //     //     },\n        //     //     ease: \"power4.inOut\",\n        //     //     onComplete: function() {\n        //     //         gsap.set($(\".site-header\"), {top: '-100%', opacity: 0});\n        //     //         gsap.set($(\".home-banner-section .content h3 span\"), {y: 120, opacity:0});\t\t\t\t\t\n        //     //         gsap.set($(\".home-banner-section .content h1 span\"), {y: 100, opacity:0});\n        //     //         gsap.set($(\".home-banner-section .content p span\"), {y: 80, opacity:0});\n        //     //         gsap.set($(\".home-banner-section .content p .line\"), {x: -100});\n        //     //         gsap.set($(\".home-banner-section .content .el-1\"), {opacity:0});\n        //     //         gsap.set($(\".home-banner-section .el-1\"), {opacity:0});\n        //     //         gsap.set($(\".home-banner-section .el-2\"), {opacity:0});\n        //     //         gsap.set($(\".home-banner-section .el-3\"), {opacity:0});\n        //     //         gsap.set($(\".home-banner-section .el-4\"), {opacity:0});\n        //     //         gsap.set($(\".home-banner-section .content .__btn\"), {y: 80, opacity:0});\n                    \n        //     //         gsap.set($(\".home-banner-section .img-box .thumb-img-1\"), {scale: 0.2, opacity:0});\n        //     //         gsap.set($(\".home-banner-section .img-box .thumb-img-2\"), {scale: 0.2, opacity:0});\n        //     //         gsap.set($(\".home-banner-section .img-box .thumb-img-3\"), {opacity:0});\n        \n        //     //         gsap.to($(\".site-header\"), {duration: 0.4, top: \"0%\", opacity: 1, stagger:0.1, delay:0, ease: 'linear'});\n        //     //         gsap.to($(\".home-banner-section .content .caption-timeline span\"), {duration: 0.7, y: 0, opacity:1, stagger:0.2, delay:0.2, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        //     //         gsap.to($(\".home-banner-section .content .el-1\"), {duration: 0.7, opacity:1, stagger:0.2, delay:0, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        //     //         gsap.to($(\".home-banner-section .content .__btn\"), {duration: 0.7, y: 0, opacity:1, stagger:0.2, delay:0.4, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        \n        \n        //     //         gsap.to($(\".home-banner-section .content p .line\"), {duration: 1, x: 0, stagger:0.2, delay:0.4, ease:Power3.easeOut});\n        \n        //     //         gsap.to($(\".home-banner-section .img-box .thumb-img-1\"), {duration: 1.5, scale: 1, opacity:1, stagger:0.2, delay:0.6, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        //     //         gsap.to($(\".home-banner-section .img-box .thumb-img-2\"), {duration: 1.5, scale: 1, opacity:1, stagger:0.3, delay:0.8, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        \n        //     //         gsap.to($(\".home-banner-section .img-box .thumb-img-3\"), {duration: 1, opacity:1, stagger:0.1, delay:0.4, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n        //     //             // gsap.to($(\".home-banner-section .img-box .thumb-img-3 .img\"), {\n        //     //             //     duration: 1.5, \n        //     //             //     scale: 1, \n        //     //             //     rotate: '-6deg',\n        //     //             //     opacity: 1, \n        //     //             //     stagger: 0.1, \n        //     //             //     delay: 0, \n        //     //             //     ease: \"back.inOut(1.7)\"\n        //     //             // });\n        //     //         }});\n        \n        //     //         gsap.to($(\".home-banner-section .el-1\"), {duration: 1.5, opacity:1, stagger:0.2, delay:0.2, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        \n        //     //         gsap.to($(\".home-banner-section .el-2\"), {duration: 1.5, opacity:1, stagger:0.2, delay:0.2, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                        \n        //     //         }});\n        //     //         gsap.to($(\".home-banner-section .el-3\"), {duration: 1.5, opacity:1, stagger:0.2, delay:0.2, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                    \n        //     //         }});\n        //     //         gsap.to($(\".home-banner-section .el-4\"), {duration: 1.5, opacity:1, stagger:0.2, delay:0.2, ease:Power3.easeOut, onComplete: function() {\t\t\t\t\t\t\t\n                    \n        //     //         }});\n                    \n                    \n                    \n                    \n                    \n                    \n        //     //         $('body').addClass(\"header-visible\");\n        //     //     }\n        //     // });\n        //     // gsap.to(\".overlay\", 1.5,{\n        //     //     delay: 1,\n        //     //     zIndex: -1,\n        //     // });\t\n        //     // gsap.to(\"#preload\", 1.6,{\n        //     //     delay: 1.5,\n        //     //     zIndex: -1,\n        //     // });\t  \n     \n            \n        // });\n    }   \n    \n\n    if (!$('body').hasClass(\"no-loading\")) {\n\t\t\n        var width = 0,\n            perfData = window.performance.timing, \n            EstimatedTime = -(perfData.loadEventEnd - perfData.navigationStart),\n            time = ((EstimatedTime/100)%500) * 10\n            \n        // Loadbar Animation\n        $(\".loadbar\").animate({\n            width: width + \"%\"\n        }, time  );\t\n        \n        // // Percentage Increment Animation\n        var PercentageID = $(\"#precent\"),\n                start = 0,\n                end = 100,\n                durataion = time + 0;\n                animateValue(PercentageID, start, end, durataion);\n                \n        function animateValue(id, start, end, duration) {\n          \n            var range = end - start,\n              current = start,\n              increment = end > start? 1 : -1,\n              stepTime = Math.abs(Math.floor(duration / range)),\n              obj = $(id);\n            \n            var timer = setInterval(function() {\n                current += increment;\n                $(obj).text(current);\n              //obj.innerHTML = current;\n                if (current == end) {\n                    clearInterval(timer);\n                }\n            }, stepTime);\n        }\n        \n        // Fading Out Loadbar on Finised\n        setTimeout(function(){\t\t\t\t\n            initOnFirstLoad();\t\t\t\t\t\t  \n        }, time);\n    \n    } else {\t\t\t\n        initOnFirstLoad();\n    }\n}\n\nfunction PageLoadActions() {\n    if ($('.subpage-banner').length) {\n       \n        if ($('.subpage-banner').hasClass('has-img')) {\n         \n            $('body').addClass('header-light')\n        }\n    }\n}\n\n\n// $('.total-price-js').each(function() {\n//     var $this = $(this)\n//     var total;\n//     var bedFrame = $('.option-item input:checked').val()\n//     if (bedFrame == 'undefined') {\n//         return bedFrame == 0;\n//     }\n\n//     $('.product-detail-size-input input').on('change', function() {\n//         var price = $(this).val();\n      \n//         console.log(bedFrame)\n        \n//         // console.log(price + bedFrame )\n//         $this.html('$' + price)\n//     })\n//     $('.option-item input').each(function() {\n\n//     })\n// })\n\n$(document).ready(function() {\n    PageLoad();\n    PageLoadActions();\n    ScrollEffects();\n    Core();\n    // ProductCarousel();\n    // CateHover();\n    // Header spacer disabled due to bug causing massive white space on scroll.\n    // The .space-top element now uses CSS-only styling.\n    // If header spacing is needed, set it via CSS in style.css\n})\n\n// Spacer is handled in the ready handler above.\n\n\n$('.product-cate-list').each(function() {\n    // var child = $(this),\n    $('.has-sub .btn-more-cate').next('ul').hide()\n    //     rest = $('.has-sub .btn-more-cate').next('ul').not(child)\n    $('.has-sub .btn-more-cate', this).on('click', function() {\n        \n        var child = $(this).next('ul');\n        var parent = $(this).parent('.has-sub');\n        \n        // var rest = $('.has-sub .btn-more-cate').next('ul').not(parent)\n        \n        child.slideToggle();\n        parent.toggleClass('open')\n        // rest.slideUp();\n    })\n})\n\n// Single product slider (legacy markup). Guarded so it can't break other pages.\n// Check if Swiper is available before initializing any sliders\nvar hasSwiper = typeof Swiper !== \"undefined\";\n\nif (hasSwiper) {\n    var $singleProductThumbsEl = $(\".single-product-slider-thumbs\").find(\".swiper\")[0];\n    var $singleProductSliderEl = $(\".single-product-slider\").find(\".swiper\")[0];\n\n    if ($singleProductThumbsEl && $singleProductSliderEl) {\n        var $ttSpSliderThumbsSwiper = new Swiper($singleProductThumbsEl, {\n            slidesPerView: 4,\n            slidesPerGroup: 1,\n            spaceBetween: 15,\n            preloadImages: false, // Needed for lazy loading\n            watchSlidesProgress: true, // Needed for lazy loading (if slidesPerView is \"auto\" or more than 1)\n            speed: 800,\n            simulateTouch: true,\n            preloadImages: false,\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            lazy: {\n                loadPrevNext: true,\n                loadOnTransitionStart: true,\n            },\n\n            navigation: {\n                nextEl: \".sps-arrow-next\",\n                prevEl: \".sps-arrow-prev\",\n                disabledClass: \"sps-arrow-disabled\",\n            },\n\n            breakpoints: {\n                // When window width is 768px or larger\n                768: {\n                    slidesPerView: 5,\n                }\n            },\n        });\n\n        // Init Swiper (image slider)\n        // =============\n        var $ttSpSliderSwiper = new Swiper($singleProductSliderEl, {\n            slidesPerView: 1,\n            // effect: \"fade\",\n            spaceBetween: 15,\n\n           // Needed for lazy loading\n            speed: 800,\n            loop: false, // Do not enable loop! \"LightGallery\" is not recocnize cloned images.\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            lazy: {\n                loadPrevNext: true,\n                loadOnTransitionStart: true,\n            },\n\n            navigation: {\n                nextEl: \".sps-arrow-next\",\n                prevEl: \".sps-arrow-prev\",\n                disabledClass: \"sps-arrow-disabled\",\n            },\n\n            thumbs: {\n                swiper: $ttSpSliderThumbsSwiper,\n            },\n        });\n    }\n}\n\n\n\n\n// =======================================================================================\n// tt-Tabs\n// =======================================================================================\n\n$(\".tt-tabs\").each(function() {\n    $(this).find(\".tt-tab-btn\").on(\"click\", function() {\n\n        // Active/deactivate tab buttons\n        var $ttTabButton = $(this);\n        var $ttTabs = $ttTabButton.parents(\".tt-tabs\");\n\n        $ttTabs.find(\".tt-tab-btn\").removeClass(\"active\");\n        $ttTabButton.addClass(\"active\");\n\n        // Show/hide tab content\n        var $ttTabName = $ttTabButton.attr(\"data-content-id\");\n\n        $ttTabs.find(\".tt-tab-content\").removeClass(\"active\");\n        $ttTabs.find(\".tt-tab-content-wrap #\" + $ttTabName).addClass(\"active\");\n        \n    });\n});\n\n$(function() {\n    $('.btn-direction').click(function() {\n    \n        var link = $(this).attr('data-map');\n \n        $('.map-thumb').html(link)\n        // alert('Button ' + number + ' was clicked!');        \n    });\n});\n\n// Best Seller (featured-product) slider\n// - Avoid race condition: Swiper may not be available at initial execution time.\n// - Avoid double-init: Swiper attaches `swiper` instance to the element.\nconst MOD_initBestSellerSwiper = () => {\n    if (!$(\".product-section\").length) return true; // nothing to do on this page\n    if (typeof Swiper === \"undefined\") return false;\n\n    $(\".product-slide\").each(function() {\n        var swiperEl = $(this).find('.swiper')[0];\n        if (!swiperEl) return;\n        if (swiperEl.swiper) return;\n\n        new Swiper(swiperEl, {\n            slidesPerView: 1,\n            spaceBetween: 40,\n            speed: 2000,\n            watchSlidesProgress: true,\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 4,\n                    spaceBetween: 40,\n                },\n                992: {\n                    slidesPerView: 4,\n                    spaceBetween: 40,\n                },\n                768: {\n                    slidesPerView: 3,\n                    spaceBetween: 40,\n                },\n                600: {\n                    slidesPerView: 2,\n                    spaceBetween: 40,\n                },\n                576: {\n                    slidesPerView: 1,\n                    spaceBetween: 40,\n                },\n            },\n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0],\n            },\n        });\n    });\n\n    return true;\n};\n\nconst MOD_waitForSwiperAndInitBestSeller = () => {\n    if (MOD_initBestSellerSwiper()) return;\n\n    var attempts = 0;\n    var maxAttempts = 120; // ~12s\n    var intervalId = setInterval(function() {\n        attempts += 1;\n        if (MOD_initBestSellerSwiper() || attempts >= maxAttempts) {\n            clearInterval(intervalId);\n        }\n    }, 100);\n};\n\n$(document).ready(MOD_waitForSwiperAndInitBestSeller);\nwindow.addEventListener(\"load\", MOD_waitForSwiperAndInitBestSeller);\ndocument.addEventListener(\"shopify:section:load\", MOD_waitForSwiperAndInitBestSeller);\n\nif ($(\".brand-content-section\").length && hasSwiper) {\n    $(\".brand-content-section\").each(function() {\n        \n        var swiperBrand = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 1,\n            spaceBetween: 40,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n        \n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n                dynamicBullets: true,\n                dynamicMainBullets: 2\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($('.local-slide').length && hasSwiper) {\n    $(\".local-slide\").each(function() {\n        var $localSlide = $(this);\n       \n  \n        var $tsSlide = new Swiper($localSlide.find('.swiper')[0], {\n          speed: 1500,\n          \n          // effect: 'fade',\n          spaceBetween: 20,\n  \n          autoplay: {\n              delay: 2500,\n              disableOnInteraction: false,\n          },\n        \n          // autoplay: {\n          //   delay: 8000,\n          //   disableOnInteraction: false,\n          // },\n          slidesPerView: 1,\n          \n          pagination: {\n            el: $localSlide.find('.swiper-pagination')[0],\n            clickable: true,\n          },\n          breakpoints: {\n            1500: {\n              slidesPerView: 4,\n              spaceBetween: 50,\n            },\n            992: {\n              slidesPerView: 3,\n              spaceBetween: 50,\n            },\n            768: {\n              slidesPerView: 3,\n              spaceBetween: 40,\n            },\n            576: {\n              slidesPerView: 2,\n              spaceBetween: 30,\n            }\n          }\n          \n        })\n      \n    })    \n}\n\nif ($('.blog-related-slide').length && hasSwiper) {\n    $(\".blog-related-slide\").each(function() {\n        var $blogSlide = $(this);\n       \n  \n        var $tsSlide = new Swiper($blogSlide.find('.swiper')[0], {\n          speed: 1500,\n          \n          // effect: 'fade',\n          spaceBetween: 20,\n  \n          autoplay: {\n              delay: 2500,\n              disableOnInteraction: false,\n          },\n        \n          // autoplay: {\n          //   delay: 8000,\n          //   disableOnInteraction: false,\n          // },\n          slidesPerView: 1,\n          \n          pagination: {\n            el: $blogSlide.find('.swiper-pagination')[0],\n            clickable: true,\n          },\n          breakpoints: {\n            1500: {\n              slidesPerView: 4,\n              spaceBetween: 40,\n            },\n            992: {\n              slidesPerView: 3,\n              spaceBetween: 30,\n            },\n            768: {\n              slidesPerView: 3,\n              spaceBetween: 20,\n            },\n            576: {\n              slidesPerView: 2,\n              spaceBetween: 20,\n            }\n          }\n          \n        })\n      \n    })    \n}\n\nif ($(\".brand-section\").length && hasSwiper) {\n    $(\".brand-slide\").each(function() {\n        \n        var swiperProduct = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 1,\n            spaceBetween: 40,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                992: {\n                    slidesPerView: 3,\n                    spaceBetween: 40,\n                    \n                },\n                768: {\n                    slidesPerView: 3,\n                    spaceBetween: 40,\n                    \n                },\n                600: {\n                    slidesPerView: 2,\n                    spaceBetween: 40,\n                    \n                },\n                576: {\n                    slidesPerView: 1,\n                    spaceBetween: 40,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($(\".team-section\").length && hasSwiper) {\n    $(\".team-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 1,\n            spaceBetween: 30,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                992: {\n                    slidesPerView: 4,\n                    spaceBetween: 30,\n                    \n                },\n                768: {\n                    slidesPerView: 3,\n                    spaceBetween: 30,\n                    \n                },\n                600: {\n                    slidesPerView: 2,\n                    spaceBetween: 30,\n                    \n                },\n                576: {\n                    slidesPerView: 2,\n                    spaceBetween: 30,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.team-pagination')[0],\n                clickable: true,\n                dynamicBullets: true,\n                dynamicMainBullets: 2\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.team-nav-next')[0],\n                prevEl: $(this).find('.team-nav-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($(\".testimonial-section\").length && hasSwiper) {\n    $(\".testimonial-slide\").each(function() {\n        \n        var swiperTestimonial = new Swiper(\".testimonial-slide\", {\n            slidesPerView: 1,\n            spaceBetween: 100,\n            speed: 2000,\n            \n            loop: true,\n            autoplay: {\n                delay: 6000,\n                disableOnInteraction: false,\n            },\n            \n        \n            navigation: {\n                nextEl: '.testimonial-slide .swiper-button-next',\n                prevEl: '.testimonial-slide .swiper-button-prev'\n            },\n            pagination: {\n                el: '.testimonial-slide .swiper-pagination',\n                clickable: true,\n            },\n            \n        })\n    })\n}\n\nif ($(\".feature-section\").length && hasSwiper) {\n    $(\".feature-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 2,\n            spaceBetween: 0,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                992: {\n                    slidesPerView: 5,\n                    spaceBetween:  40,\n                    \n                },\n                768: {\n                    slidesPerView: 4,\n                    spaceBetween: 30,\n                    \n                },\n                600: {\n                    slidesPerView: 3,\n                    spaceBetween: 20,\n                    \n                },\n                576: {\n                    slidesPerView: 2,\n                    spaceBetween: 10,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($(\".collection-section\").length && hasSwiper) {\n    $(\".collection-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 2,\n            spaceBetween: 20,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 5,\n                    spaceBetween:  24,\n                    \n                },\n                992: {\n                    slidesPerView: 5,\n                    spaceBetween:  24,\n                    \n                },\n                768: {\n                    slidesPerView: 4,\n                    spaceBetween: 24,\n                    \n                },\n                576: {\n                    slidesPerView: 3,\n                    spaceBetween: 20,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\nif ($(\".size-section\").length && hasSwiper) {\n    $(\".size-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 2,\n            spaceBetween: 20,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 6,\n                    spaceBetween:  24,\n                    \n                },\n                992: {\n                    slidesPerView: 5,\n                    spaceBetween:  24,\n                    \n                },\n                768: {\n                    slidesPerView: 4,\n                    spaceBetween: 24,\n                    \n                },\n                576: {\n                    slidesPerView: 3,\n                    spaceBetween: 20,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($(\".product-cate-slide\").length && hasSwiper) {\n    $(\".product-cate-slide\").each(function() {\n        \n        var swiperCate = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 2,\n            spaceBetween: 20,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 6,\n                    spaceBetween:  20,\n                    \n                },\n                992: {\n                    slidesPerView: 5,\n                    spaceBetween:  20,\n                    \n                },\n                768: {\n                    slidesPerView: 4,\n                    spaceBetween: 20,\n                    \n                },\n                576: {\n                    slidesPerView: 3,\n                    spaceBetween: 20,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\nif ($(\".product-detail-section\").length && hasSwiper) {\n    $(\".product-detail-section\").each(function() {\n\n        var productThumbEl = $(this).find('.product-slide-img-thumb .swiper')[0];\n        var productImgEl = $(this).find('.product-slide-img .swiper')[0];\n        if (!productThumbEl || !productImgEl) return;\n\n        var swiperProductThumb = new Swiper(productThumbEl, {\n            slidesPerView: 3,\n            spaceBetween: 15,\n            speed: 2000,\n            freeMode: true,\n            watchSlidesProgress: true,\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 6,\n                    spaceBetween:  15,\n                    \n                },\n                992: {\n                    slidesPerView: 5,\n                    spaceBetween:  15,\n                    \n                },\n                768: {\n                    slidesPerView: 4,\n                    spaceBetween: 15,\n                    \n                },\n                576: {\n                    slidesPerView: 3,\n                    spaceBetween: 15,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: '.product-slide-img-thumb .swiper-pagination',\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: '.product-slide-img-thumb .swiper-button-next',\n                prevEl: '.product-slide-img-thumb .swiper-button-prev'\n            },\n            \n        })\n        var swiperProductImg = new Swiper(productImgEl, {\n            slidesPerView: 1,\n            spaceBetween: 15,\n            speed: 2000,\n            \n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n        \n            pagination: {\n                el: '.product-slide-img .swiper-pagination',\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: '.product-slide-img .swiper-button-next',\n                prevEl: '.product-slide-img .swiper-button-prev'\n            },\n            thumbs: {\n                swiper: swiperProductThumb,\n            },\n            \n        })\n\n        \n    })\n}\n\n\nvar tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle=\"tooltip\"]'))\nvar tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {\n  return new bootstrap.Tooltip(tooltipTriggerEl)\n})\n\n\n\nif ($(\".client-section\").length && hasSwiper) {\n    $(\".client-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 3,\n            spaceBetween: 10,\n        \n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n            breakpoints: {\n                1200: {\n                    slidesPerView: 6,\n                    spaceBetween:  24,\n                    \n                },\n                992: {\n                    slidesPerView: 6,\n                    spaceBetween:  20,\n                    \n                },\n                768: {\n                    slidesPerView: 5,\n                    spaceBetween: 18,\n                    \n                },\n                576: {\n                    slidesPerView: 4,\n                    spaceBetween: 10,\n                    \n                },\n        \n            },\n            \n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\n\n\nif ($(\".review-section\").length && hasSwiper) {\n    $(\".review-slide\").each(function() {\n        \n        var swiperTeam = new Swiper($(this).find('.swiper')[0], {\n            slidesPerView: 1,\n            spaceBetween: 40,\n            speed: 2000,\n            watchSlidesProgress: true,\n            // loop: true,\n            // autoplay: {\n            //     delay: 6000,\n            //     disableOnInteraction: false,\n            // },\n        \n            autoplay: {\n                delay: 2500,\n                disableOnInteraction: false,\n            },\n        \n            pagination: {\n                el: $(this).find('.swiper-pagination')[0],\n                clickable: true,\n            },\n        \n            navigation: {\n                nextEl: $(this).find('.swiper-button-next')[0],\n                prevEl: $(this).find('.swiper-button-prev')[0]\n            },\n            \n        })\n    })\n}\n\n\n\n$(\".qtybutton\").on(\"click\", function() {\n    var $qtyButton = $(this);\n    var oldValue = $qtyButton.parent().find(\"input\").val();\n    if ($qtyButton.text() == \"+\") {\n        var newVal = parseFloat(oldValue) + 1;\n    } else {\n        if (oldValue > 1) {\n            var newVal = parseFloat(oldValue) - 1;\n        } else {\n            newVal = 1;\n        }\n    }\n    $qtyButton.parent().find(\"input\").val(newVal);\n});\n\nFancybox.bind(\"[data-fancybox]\", {\n    // Your custom options\n});\n\n$('.guide-menu-mobile').each(function() {\n    var $this = $(this)\n    \n    $('.guide-menu-item-button', this).on('click', function() {\n        $(this).toggleClass('open')\n        $('.guide-menu-list' , $this).slideToggle();\n    })    \n})\n\n\n\n\n\n\n// Draggable Section\nif (document.querySelector(\".why-section_swiper.swiper\") && hasSwiper) {\n    $(\".swiper-slide.is-why-section\").appendTo(\".why-section_list.swiper-wrapper\");\n\n    // Draggable Section (home only)\n    const homeSwiper = new Swiper(\".why-section_swiper.swiper\", {\n        // Optional parameters\n        direction: \"horizontal\",\n        slidesPerView: \"auto\",\n        mousewheel: {\n            forceToAxis: true\n        },\n        freeMode: true,\n        keyboard: true,\n        speed: 600,\n        autoplay: {\n            delay: 2500,\n            disableOnInteraction: false,\n        },\n        // Navigation arrows\n        navigation: {\n            nextEl: \".dif_arrow.is-next\",\n            prevEl: \".dif_arrow.is-prev\"\n        }\n    });\n\n    if (homeSwiper && typeof homeSwiper.on === \"function\") {\n        homeSwiper.on(\"progress\", function (e) {\n            let progress = homeSwiper.progress * 100;\n            $(\".why-section_nav-fill\").css(\"width\", progress + \"%\");\n        });\n    }\n}\n\nif (document.querySelector(\".home-banner .swiper\") && hasSwiper) {\n    const swiperHomeBanner = new Swiper('.home-banner .swiper', {\n        slidesPerView: 1,\n        effect: 'fade',\n        speed: 1500,\n          autoplay: {\n            delay: 2500,\n            disableOnInteraction: false,\n        },\n        pagination: {\n            el: '.home-banner .swiper-pagination',\n            clickable: true,\n        },\n    })\n}\n\n\n\nlet swiperBG = null;\nif (document.querySelector(\".banner-slide-swiper-bg\") && hasSwiper) {\n    swiperBG = new Swiper('.banner-slide-swiper-bg', {\n        slidesPerView: 1,\n        effect: 'fade',\n        speed: 1000,\n          autoplay: {\n            delay: 2500,\n            disableOnInteraction: false,\n        },\n    })\n}\n\nif (document.querySelector(\".banner-slide-swiper\") && hasSwiper) {\n    const swiperBanner = new Swiper('.banner-slide-swiper', {\n        slidesPerView: 1,\n        thumbs: swiperBG ? { swiper: swiperBG } : undefined,\n          autoplay: {\n            delay: 2500,\n            disableOnInteraction: false,\n        },\n        speed: 1500,\n        pagination: {\n            el: '.banner-btn .banner-pagination',\n            clickable: true,\n            dynamicBullets: true,\n            dynamicMainBullets: 2\n        },\n\n        navigation: {\n            nextEl: '.banner-btn .banner-nav-next',\n            prevEl: '.banner-btn .banner-nav-prev'\n        },\n        transitionStart: function () {\n            var $this = this\n            gsap.fromTo($this.find(\".tt-psc-elem\"), { autoAlpha: 1, y: 0 }, { duration: 0.25, autoAlpha: 0, y: -30, stagger: 0.15, ease: Power1.easeIn });\n        },\n\n        transitionEnd: function () {\n            var $this = this\n            gsap.fromTo($this.find(\".tt-psc-elem\"), { autoAlpha: 0, y: 30 }, { duration: 0.25, autoAlpha: 1, y: 0, stagger: 0.15, ease: Power1.easeOut });\n        }\n    })\n}\n\ndocument.querySelectorAll('.accordion-collapse').forEach(function (accordion) {\n    accordion.addEventListener('show.bs.collapse', function () {\n        // Refresh ScrollTrigger when an accordion opens\n        ScrollTrigger.refresh();\n    });\n    accordion.addEventListener('hide.bs.collapse', function () {\n        // Refresh ScrollTrigger when an accordion closes\n        ScrollTrigger.refresh();\n    });\n});\n\n$('.tooltip-icon').on('click', function() {\n   \n    $('.tooltip-icon').not(this).removeClass('active').each(function () {\n        var tooltip = bootstrap.Tooltip.getInstance(this);\n        if (tooltip) {\n            tooltip.hide();\n        }\n    });\n    if (!$(this).hasClass('active')) {\n        $(this).addClass('active');\n        var tooltip = bootstrap.Tooltip.getInstance(this);\n        if (tooltip) {\n            tooltip.show();\n        }\n    } else {\n        $(this).removeClass('active');\n        var tooltip = bootstrap.Tooltip.getInstance(this);\n        if (tooltip) {\n            tooltip.hide();\n        }\n    }\n});\n\n// MOD VSL emergency asset fix 2026-05-13.\n// This is deliberately page-scoped so cached landing-page HTML still receives\n// the corrected video, sticky CTA, overlay, and schema behavior.\n(function () {\n    var REVISION = '20260513-vsl-asset-fix';\n\n    function isVisible(el) {\n        if (!el) return false;\n        var style = window.getComputedStyle(el);\n        var rect = el.getBoundingClientRect();\n        return style.display !== 'none' && style.visibility !== 'hidden' && rect.width > 0 && rect.height > 0;\n    }\n\n    function landingRoot() {\n        return document.querySelector('[data-modr-retail], [data-modc-clearance]');\n    }\n\n    function cleanHiddenHeadings(root) {\n        document.querySelectorAll('h1').forEach(function (heading) {\n            if (root.contains(heading)) return;\n            var style = window.getComputedStyle(heading);\n            var rect = heading.getBoundingClientRect();\n            var hidden = style.display === 'none' || style.visibility === 'hidden' || heading.getAttribute('aria-hidden') === 'true' || (rect.width === 0 && rect.height === 0);\n            if (hidden) heading.remove();\n        });\n    }\n\n    function ensureVideoCaption(root, isClearance) {\n        var visual = root.querySelector(isClearance ? '.modc__visual' : '.modr__visual');\n        if (!visual || !visual.querySelector('video')) return;\n\n        var videoClass = isClearance ? 'modc__visual--video' : 'modr__visual--video';\n        visual.classList.add(videoClass);\n        visual.querySelectorAll('video').forEach(function (video) {\n            video.style.objectFit = 'contain';\n            video.style.background = '#050914';\n        });\n\n        var captionClass = isClearance ? 'modc__video-caption' : 'modr__video-caption';\n        if (root.querySelector('.' + captionClass)) return;\n\n        var container = visual.parentElement;\n        if (!isClearance && container && container.classList.contains('modr__hero-grid')) {\n            var wrapper = document.createElement('div');\n            container.insertBefore(wrapper, visual);\n            wrapper.appendChild(visual);\n            container = wrapper;\n        }\n\n        var caption = document.createElement('p');\n        caption.className = captionClass;\n        caption.textContent = isClearance\n            ? 'Video summary: preview our Rosenberg showroom appointment process, the showroom, delivery options, and financing.'\n            : 'Video summary: see how the Mattress On Demand sleep consultation helps shoppers compare fewer mattresses, use ScanFit AI guidance, and book a focused showroom visit.';\n        if (container) container.appendChild(caption);\n    }\n\n    function injectVideoSchema(root, isClearance) {\n        if (document.querySelector('script[data-mod-vsl-video-schema]')) return;\n        var video = root.querySelector('video');\n        if (!video) return;\n        var source = video.currentSrc || (video.querySelector('source') && video.querySelector('source').src) || video.src;\n        if (!source) return;\n        var heading = root.querySelector('h1');\n        var title = heading ? heading.textContent.trim() : document.title.replace(/ - .*$/, '');\n        var schema = {\n            '@context': 'https://schema.org',\n            '@type': 'VideoObject',\n            name: isClearance ? 'Mattress On Demand Rosenberg Appointment Video' : title + ' Video',\n            description: isClearance\n                ? 'A video overview of our Rosenberg showroom appointment process, the showroom, delivery options, and financing.'\n                : 'A video overview of the Mattress On Demand sleep consultation, ScanFit AI body imaging, Sleep Science Certified Coaches, and showroom appointment process.',\n            uploadDate: '2026-05-13',\n            contentUrl: source,\n            thumbnailUrl: video.getAttribute('poster') || undefined,\n            embedUrl: window.location.href.split('#')[0]\n        };\n        var script = document.createElement('script');\n        script.type = 'application/ld+json';\n        script.setAttribute('data-mod-vsl-video-schema', REVISION);\n        script.textContent = JSON.stringify(schema);\n        document.head.appendChild(script);\n    }\n\n    function cleanOverlays(root) {\n        ['mattressai-root', 'mattressai-chat-bubble'].forEach(function (id) {\n            var el = document.getElementById(id);\n            if (el) {\n                el.style.display = 'none';\n                el.style.visibility = 'hidden';\n                el.style.pointerEvents = 'none';\n            }\n        });\n        document.querySelectorAll('.mattressai-chat-bubble').forEach(function (el) {\n            el.style.display = 'none';\n            el.style.visibility = 'hidden';\n            el.style.pointerEvents = 'none';\n        });\n    }\n\n    function applyVslFix() {\n        var root = landingRoot();\n        if (!root) return;\n        var isClearance = root.hasAttribute('data-modc-clearance');\n        window.__MOD_VSL_ASSET_FIX = REVISION;\n        root.classList.add('mod-vsl-asset-fixed');\n        cleanOverlays(root);\n        cleanHiddenHeadings(root);\n        ensureVideoCaption(root, isClearance);\n        injectVideoSchema(root, isClearance);\n    }\n\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', applyVslFix);\n    } else {\n        applyVslFix();\n    }\n    setTimeout(applyVslFix, 800);\n    setTimeout(applyVslFix, 2500);\n    if ('MutationObserver' in window) {\n        new MutationObserver(applyVslFix).observe(document.documentElement, { childList: true, subtree: true });\n    }\n})();\n\n(function () {\n    return;\n    var REVISION = '20260615-shopify-native-klaviyo-popup-v4';\n    if (window.__MOD_APPROVED_KLAVIYO_POPUP === REVISION) return;\n    window.__MOD_APPROVED_KLAVIYO_POPUP = REVISION;\n\n    var ROOT_SELECTOR = '[data-mod-approved-klaviyo-popup]';\n    var STATE_KEY = 'modApprovedKlaviyoWelcomePopupState';\n    var LEGACY_STATE_KEY = 'modKlaviyoWelcomePopupState';\n    var SESSION_SHOWN_KEY = 'modApprovedKlaviyoWelcomePopupShownSession';\n    var SUPPRESS_MS = 5 * 24 * 60 * 60 * 1000;\n    var EMAIL_LIST_ID = 'YdQyD7';\n    var SMS_LIST_ID = 'VfZQeL';\n    var FORM_IDS = ['UTwHes', 'VjPDHb', 'VakJDB', 'SJTNwv', 'SQHtrf', 'U28ij7', 'YygS7n', 'XVfPuK'];\n    var KLAVIYO_SCROLL_LOCK_CLASS = 'klaviyo-prevent-body-scrolling';\n    var OTHER_SCROLL_LOCK_CLASSES = ['hide-scrollbar', 'modal-open', 'overflow-hidden', 'smooth-scroll', 'tt-sliding-cart-open'];\n    var hasScheduledAutoOpen = false;\n    var hideTimer = null;\n    var suppressingKlaviyoPopups = false;\n\n    function isCheckoutSensitivePath() {\n        var path = window.location.pathname.toLowerCase();\n        return path === '/cart' || path.indexOf('/cart/') === 0 || path.indexOf('/checkout') === 0 || path.indexOf('/checkouts') === 0;\n    }\n\n    function isMobileViewport() {\n        return window.matchMedia && window.matchMedia('(max-width: 767px)').matches;\n    }\n\n    function currentFormId() {\n        return isMobileViewport() ? 'SJTNwv' : 'VakJDB';\n    }\n\n    function intendedDelay() {\n        return isMobileViewport() ? 7000 : 5000;\n    }\n\n    function ensurePopupDom() {\n        if (!document.body) return null;\n\n        var existing = document.querySelector(ROOT_SELECTOR);\n        if (existing) return existing;\n\n        if (!document.getElementById('mod-approved-klaviyo-popup-style')) {\n            var style = document.createElement('style');\n            style.id = 'mod-approved-klaviyo-popup-style';\n            style.textContent = `\n                .mod-approved-klaviyo-popup{display:none;position:fixed;right:clamp(18px,4vw,50px);bottom:clamp(78px,7vw,116px);width:min(430px,calc(100vw - 36px));z-index:2147483647;color:#0b172a;opacity:0;transform:translateY(18px) scale(.985);pointer-events:none}\n                .mod-approved-klaviyo-popup.is-visible{display:block;opacity:1;transform:translateY(0) scale(1);animation:mod-approved-klaviyo-popup-rise 460ms cubic-bezier(.2,.78,.28,1) both;pointer-events:auto}\n                .mod-approved-klaviyo-popup[hidden]{display:none!important}\n                @keyframes mod-approved-klaviyo-popup-rise{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}\n                .mod-approved-klaviyo-popup__card{position:relative;overflow:hidden;border-radius:32px;background:#fff;border:1px solid rgba(255,255,255,.82);box-shadow:0 34px 110px rgba(3,13,35,.48),0 0 0 1px rgba(8,47,115,.08)}\n                .mod-approved-klaviyo-popup__media{position:relative;height:168px;overflow:hidden;background:#dbe7f7}\n                .mod-approved-klaviyo-popup__media img{width:100%;height:100%;object-fit:cover;object-position:center 47%;display:block;transform:scale(1.015)}\n                .mod-approved-klaviyo-popup__media:after{content:\"\";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,47,115,.02),rgba(8,47,115,.26) 56%,rgba(8,47,115,.54));pointer-events:none}\n                .mod-approved-klaviyo-popup__badge{position:absolute;left:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.94);color:#082f73;font-size:.68rem;font-weight:950;letter-spacing:.09em;text-transform:uppercase;box-shadow:0 12px 30px rgba(0,0,0,.18)}\n                .mod-approved-klaviyo-popup__close{position:absolute;top:14px;right:14px;z-index:4;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.78);background:rgba(255,255,255,.92);color:#082f73;font-size:1.35rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.16)}\n                .mod-approved-klaviyo-popup__body{padding:20px 22px 18px}\n                .mod-approved-klaviyo-popup__title{margin:0;color:#082f73;font-size:clamp(1.72rem,2.05vw,2.14rem);line-height:.95;letter-spacing:-.052em;font-weight:950}\n                .mod-approved-klaviyo-popup__copy{margin:8px 0 0;color:#334155;font-size:.94rem;line-height:1.35;font-weight:760}\n                .mod-approved-klaviyo-popup__quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 0;padding:0;list-style:none}\n                .mod-approved-klaviyo-popup__quick li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:58px;padding:8px 7px;border:1px solid rgba(8,47,115,.12);border-radius:18px;background:#f8fbff;color:#082f73;font-size:.74rem;line-height:1.12;font-weight:920;text-align:center;box-shadow:0 10px 24px rgba(8,47,115,.07)}\n                .mod-approved-klaviyo-popup__quick-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;color:#082f73;line-height:1}\n                .mod-approved-klaviyo-popup__quick-icon svg{width:28px;height:28px;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}\n                .mod-approved-klaviyo-popup__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px;justify-items:stretch}\n                .mod-approved-klaviyo-popup__field{display:grid;gap:5px;min-width:0;margin:0}\n                .mod-approved-klaviyo-popup__field-label{padding-left:14px;color:#082f73;font-size:.8rem;line-height:1;letter-spacing:.08em;text-transform:uppercase;font-weight:950}\n                .mod-approved-klaviyo-popup__input{width:100%;min-width:0;min-height:56px;border-radius:999px;border:3px solid #082f73;background:#fffdf1;color:#09111f;padding:0 17px;font-size:1.02rem;font-weight:900;box-shadow:0 12px 26px rgba(8,47,115,.16),0 0 0 4px rgba(247,201,72,.18),inset 0 1px 0 rgba(255,255,255,.9)}\n                .mod-approved-klaviyo-popup__input:focus{outline:3px solid rgba(247,201,72,.42);border-color:#082f73}\n                .mod-approved-klaviyo-popup__input::placeholder{color:#09111f;font-weight:900;opacity:.72}\n                .mod-approved-klaviyo-popup__cta{grid-column:1/-1;justify-self:center;width:min(100%,320px);min-height:50px;border:0;border-radius:999px;padding:0 28px;color:#09111f;background:linear-gradient(135deg,#fff0a8,#f7c948);box-shadow:0 14px 30px rgba(247,201,72,.3);font-size:.82rem;font-weight:950;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}\n                .mod-approved-klaviyo-popup__fine{margin:9px 0 0;color:#64748b;font-size:.64rem;line-height:1.28;font-weight:650;text-align:center}\n                .mod-approved-klaviyo-popup__status{margin:8px 0 0;color:#082f73;font-size:.74rem;line-height:1.25;font-weight:800;text-align:center}\n                .mod-approved-klaviyo-popup__status:empty{display:none}\n                .mod-approved-klaviyo-popup__status.is-error{color:#b42318}\n                @media(max-width:640px){.mod-approved-klaviyo-popup{left:14px;right:14px;bottom:86px;width:auto}.mod-approved-klaviyo-popup__card{border-radius:24px}.mod-approved-klaviyo-popup__media{display:none}.mod-approved-klaviyo-popup__close{top:10px;right:10px;width:34px;height:34px}.mod-approved-klaviyo-popup__body{padding:22px 16px 16px}.mod-approved-klaviyo-popup__title{padding-right:34px;font-size:1.48rem;line-height:.98;letter-spacing:-.045em}.mod-approved-klaviyo-popup__copy{margin-top:7px;font-size:.84rem;line-height:1.32}.mod-approved-klaviyo-popup__quick{gap:6px;margin-top:10px}.mod-approved-klaviyo-popup__quick li{min-height:42px;padding:6px 4px;border-radius:14px;font-size:.66rem;line-height:1.08}.mod-approved-klaviyo-popup__quick-icon{width:30px;height:30px}.mod-approved-klaviyo-popup__quick-icon svg{width:25px;height:25px}.mod-approved-klaviyo-popup__form{grid-template-columns:minmax(0,1fr);gap:9px;margin-top:12px}.mod-approved-klaviyo-popup__field{gap:4px}.mod-approved-klaviyo-popup__field-label{padding-left:12px;font-size:.72rem}.mod-approved-klaviyo-popup__input{min-height:52px;border-radius:18px;font-size:1rem}.mod-approved-klaviyo-popup__cta{width:min(100%,280px);min-height:48px}.mod-approved-klaviyo-popup__fine{display:block;margin-top:7px;font-size:.58rem;line-height:1.18}}\n            `;\n            document.head.appendChild(style);\n        }\n\n        document.body.insertAdjacentHTML('beforeend', `\n            <aside class=\"mod-approved-klaviyo-popup\" data-mod-approved-klaviyo-popup hidden aria-hidden=\"true\" role=\"dialog\" aria-modal=\"false\" aria-labelledby=\"mod-approved-klaviyo-title\" aria-describedby=\"mod-approved-klaviyo-copy\">\n                <div class=\"mod-approved-klaviyo-popup__card\">\n                    <button class=\"mod-approved-klaviyo-popup__close\" type=\"button\" data-mod-approved-klaviyo-close aria-label=\"Close popup\">\u00D7</button>\n                    <div class=\"mod-approved-klaviyo-popup__media\">\n                        <img src=\"/cdn/shop/files/NP_Adult_Ex_EOS-PT_Lifestyle_9.jpg?v=1775938833\" alt=\"Mattress On Demand mattress lifestyle bedroom setup\" width=\"748\" height=\"420\" loading=\"eager\" decoding=\"async\">\n                        <span class=\"mod-approved-klaviyo-popup__badge\">10% Welcome Code</span>\n                    </div>\n                    <div class=\"mod-approved-klaviyo-popup__body\">\n                        <h2 class=\"mod-approved-klaviyo-popup__title\" id=\"mod-approved-klaviyo-title\">Get 10% Off Your First Mattress</h2>\n                        <p class=\"mod-approved-klaviyo-popup__copy\" id=\"mod-approved-klaviyo-copy\">Use your code online or bring it into a local showroom.</p>\n                        <ul class=\"mod-approved-klaviyo-popup__quick\" aria-label=\"Offer highlights\">\n                            <li><span class=\"mod-approved-klaviyo-popup__quick-icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M4 9h16l-1.4-4.2H5.4L4 9Z\"></path><path d=\"M5 9v10h14V9\"></path><path d=\"M9 19v-6h6v6\"></path><path d=\"M4 9c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2c0 1.1.9 2 2 2s2-.9 2-2\"></path></svg></span><span>Try in store</span></li>\n                            <li><span class=\"mod-approved-klaviyo-popup__quick-icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" focusable=\"false\"><rect x=\"5\" y=\"5\" width=\"14\" height=\"10\" rx=\"2\"></rect><path d=\"M3 19h18\"></path><path d=\"M9 15h6\"></path></svg></span><span>Use online</span></li>\n                            <li><span class=\"mod-approved-klaviyo-popup__quick-icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" focusable=\"false\"><path d=\"M3 7h11v10H3V7Z\"></path><path d=\"M14 11h4l3 3v3h-7v-6Z\"></path><circle cx=\"7\" cy=\"18\" r=\"2\"></circle><circle cx=\"18\" cy=\"18\" r=\"2\"></circle></svg></span><span>Delivery help</span></li>\n                        </ul>\n                        <form class=\"mod-approved-klaviyo-popup__form\" data-mod-approved-klaviyo-form aria-label=\"Email and phone signup for welcome offer\">\n                            <label class=\"mod-approved-klaviyo-popup__field\"><span class=\"mod-approved-klaviyo-popup__field-label\">\u2709\uFE0F Email</span><input class=\"mod-approved-klaviyo-popup__input\" data-mod-approved-klaviyo-email type=\"email\" placeholder=\"Email address\" aria-label=\"Email address for 10 percent off\" autocomplete=\"email\" required></label>\n                            <label class=\"mod-approved-klaviyo-popup__field\"><span class=\"mod-approved-klaviyo-popup__field-label\">\uD83D\uDCF1 Phone</span><input class=\"mod-approved-klaviyo-popup__input\" data-mod-approved-klaviyo-phone type=\"tel\" placeholder=\"Phone number\" aria-label=\"Phone number for text offers\" autocomplete=\"tel\"></label>\n                            <button class=\"mod-approved-klaviyo-popup__cta\" type=\"submit\" data-mod-approved-klaviyo-submit>Get My Code</button>\n                        </form>\n                        <p class=\"mod-approved-klaviyo-popup__status\" data-mod-approved-klaviyo-status role=\"status\" aria-live=\"polite\"></p>\n                        <p class=\"mod-approved-klaviyo-popup__fine\">Eligible mattresses only. Cannot be combined with other offers.</p>\n                    </div>\n                </div>\n            </aside>\n        `);\n\n        return document.querySelector(ROOT_SELECTOR);\n    }\n\n    function readState() {\n        try {\n            return JSON.parse(window.localStorage.getItem(STATE_KEY) || 'null');\n        } catch (_) {\n            return null;\n        }\n    }\n\n    function hasRecentState() {\n        var state = readState();\n        var shownAt = state && Number(state.at || state.shownAt || state.closedAt || state.submittedAt);\n        return Boolean(shownAt && Date.now() - shownAt < SUPPRESS_MS);\n    }\n\n    function hasSessionShown() {\n        try {\n            return window.sessionStorage.getItem(SESSION_SHOWN_KEY) === '1';\n        } catch (_) {\n            return false;\n        }\n    }\n\n    function writeSessionShown() {\n        try {\n            window.sessionStorage.setItem(SESSION_SHOWN_KEY, '1');\n        } catch (_) {}\n    }\n\n    function writeState(reason) {\n        var payload = JSON.stringify({ at: Date.now(), reason: reason || 'shown', formId: currentFormId() });\n        try {\n            window.localStorage.setItem(STATE_KEY, payload);\n            window.localStorage.setItem(LEGACY_STATE_KEY, payload);\n        } catch (_) {}\n    }\n\n    function hasOtherScrollLock() {\n        if (!document.body) return false;\n        return OTHER_SCROLL_LOCK_CLASSES.some(function (className) {\n            return document.body.classList.contains(className);\n        });\n    }\n\n    function clearMarketingScrollLock() {\n        if (!document.body) return;\n        document.body.classList.remove(KLAVIYO_SCROLL_LOCK_CLASS);\n        if (!hasOtherScrollLock()) {\n            if (document.body.style.overflow === 'hidden') document.body.style.overflow = '';\n            if (document.documentElement.style.overflow === 'hidden') document.documentElement.style.overflow = '';\n        }\n    }\n\n    function setStatus(message, isError) {\n        var popup = document.querySelector(ROOT_SELECTOR);\n        var status = popup && popup.querySelector('[data-mod-approved-klaviyo-status]');\n        if (!status) return;\n        status.textContent = message || '';\n        status.classList.toggle('is-error', Boolean(isError));\n    }\n\n    function elementIsVisible(element) {\n        if (!element || element === document.body || element === document.documentElement) return false;\n        var style = window.getComputedStyle(element);\n        if (style.display === 'none' || style.visibility === 'hidden' || style.opacity === '0' || style.pointerEvents === 'none') return false;\n        var rect = element.getBoundingClientRect();\n        return rect.width > 40 && rect.height > 40 && rect.bottom > 0 && rect.right > 0 && rect.top < window.innerHeight && rect.left < window.innerWidth;\n    }\n\n    function forceHideElement(element) {\n        if (!element || element === document.body || element === document.documentElement) return;\n        element.style.setProperty('display', 'none', 'important');\n        element.style.setProperty('visibility', 'hidden', 'important');\n        element.style.setProperty('opacity', '0', 'important');\n        element.style.setProperty('pointer-events', 'none', 'important');\n    }\n\n    function elementLooksLikeSuppressedKlaviyoPopup(element) {\n        if (!element) return false;\n        var text = (element.innerText || '').replace(/\\s+/g, ' ');\n        var markup = element.outerHTML || '';\n        return /UTwHes|VjPDHb|VakJDB|SJTNwv|SQHtrf|U28ij7|YygS7n|XVfPuK|DH - 10% OFF|MOD Welcome Popup/i.test(markup) ||\n            /Click Here To Unlock|Pay Full Price|Get 10% Off Your First Eligible Mattress|Local showroom guidance|Continue shopping/i.test(text);\n    }\n\n    function hideSuppressedKlaviyoPopup(element) {\n        var closeButton = element.querySelector('.klaviyo-close-form, button[aria-label*=\"close\" i], [role=\"button\"][aria-label*=\"close\" i]');\n        if (closeButton && typeof closeButton.click === 'function') closeButton.click();\n\n        forceHideElement(element);\n        var parent = element.parentElement;\n        while (parent && parent !== document.body) {\n            var style = window.getComputedStyle(parent);\n            var zIndex = parseInt(style.zIndex, 10);\n            if (style.position === 'fixed' || (!isNaN(zIndex) && zIndex >= 90000)) forceHideElement(parent);\n            parent = parent.parentElement;\n        }\n    }\n\n    function suppressRenderedKlaviyoPopups(reason) {\n        if (suppressingKlaviyoPopups) return false;\n        suppressingKlaviyoPopups = true;\n        var suppressed = false;\n        try {\n            document.querySelectorAll('.klaviyo-form, [class*=\"kl-private-reset-css\"]').forEach(function (element) {\n                if (!elementLooksLikeSuppressedKlaviyoPopup(element)) return;\n                if (elementIsVisible(element)) suppressed = true;\n                hideSuppressedKlaviyoPopup(element);\n            });\n            if (suppressed) clearMarketingScrollLock();\n        } finally {\n            suppressingKlaviyoPopups = false;\n        }\n\n        return suppressed;\n    }\n\n    function openPopup(reason, options) {\n        if (isCheckoutSensitivePath()) return false;\n        if (!options || options.force !== true) {\n            if (hasRecentState()) return false;\n            if (hasSessionShown()) return false;\n        }\n\n        var popup = ensurePopupDom();\n        if (!popup) return false;\n\n        if (hideTimer) {\n            window.clearTimeout(hideTimer);\n            hideTimer = null;\n        }\n\n        suppressRenderedKlaviyoPopups('before-approved-open');\n        popup.hidden = false;\n        popup.classList.add('is-visible');\n        popup.setAttribute('aria-hidden', 'false');\n        setStatus('');\n        writeSessionShown();\n        clearMarketingScrollLock();\n        return true;\n    }\n\n    function closePopup(reason) {\n        var popup = document.querySelector(ROOT_SELECTOR);\n        if (!popup) return;\n        popup.classList.remove('is-visible');\n        popup.setAttribute('aria-hidden', 'true');\n        writeState(reason || 'closed');\n        clearMarketingScrollLock();\n        hideTimer = window.setTimeout(function () {\n            if (!popup.classList.contains('is-visible')) popup.hidden = true;\n        }, 250);\n    }\n\n    async function postKlaviyoSubscribe(body) {\n        var response = await fetch('https://manage.kmail-lists.com/ajax/subscriptions/subscribe', {\n            method: 'POST',\n            headers: {\n                accept: 'application/json, text/plain, */*',\n                'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'\n            },\n            body: body.toString()\n        });\n\n        var payload = null;\n        try {\n            payload = await response.json();\n        } catch (_) {}\n\n        if (!response.ok || (payload && payload.success === false)) {\n            var detail = payload && payload.errors && payload.errors[0] ? payload.errors[0] : 'Please try again.';\n            throw new Error(detail);\n        }\n    }\n\n    function normalizePhoneNumber(rawValue) {\n        var value = String(rawValue || '').trim();\n        if (!value) return '';\n\n        var digits = value.replace(/\\D/g, '');\n        if (value.charAt(0) === '+' && digits.length >= 8 && digits.length <= 15) {\n            return '+' + digits;\n        }\n        if (digits.length === 10) {\n            return '+1' + digits;\n        }\n        if (digits.length === 11 && digits.charAt(0) === '1') {\n            return '+' + digits;\n        }\n\n        return '';\n    }\n\n    async function subscribeToKlaviyo(email, phone) {\n        var properties = {\n            source: 'MOD Welcome Popup - Shopify Native',\n            popup_design: 'shopify_native_approved_mockup',\n            form_id: currentFormId()\n        };\n        var emailBody = new URLSearchParams();\n        emailBody.set('g', EMAIL_LIST_ID);\n        emailBody.set('email', email);\n        emailBody.set('$email', email);\n        emailBody.set('$source', properties.source);\n        emailBody.set('popup_design', properties.popup_design);\n        emailBody.set('form_id', properties.form_id);\n\n        if (phone) {\n            emailBody.set('phone_number', phone);\n            emailBody.set('$phone_number', phone);\n        }\n\n        await postKlaviyoSubscribe(emailBody);\n\n        if (phone) {\n            var smsBody = new URLSearchParams();\n            smsBody.set('g', SMS_LIST_ID);\n            smsBody.set('email', email);\n            smsBody.set('$email', email);\n            smsBody.set('phone_number', phone);\n            smsBody.set('$phone_number', phone);\n            smsBody.set('$source', properties.source);\n            smsBody.set('sms_consent', 'true');\n            smsBody.set('popup_design', properties.popup_design);\n            smsBody.set('form_id', properties.form_id);\n            await postKlaviyoSubscribe(smsBody);\n        }\n    }\n\n    function isInterceptedOpenFormCommand(command) {\n        return Array.isArray(command) && command[0] === 'openForm' && FORM_IDS.indexOf(String(command[1])) !== -1;\n    }\n\n    function installOpenFormInterceptor() {\n        var queue = (window._klOnsite = window._klOnsite || []);\n        if (!queue || queue.__MOD_APPROVED_POPUP_INTERCEPTOR === true || typeof queue.push !== 'function') return;\n\n        for (var i = queue.length - 1; i >= 0; i -= 1) {\n            if (isInterceptedOpenFormCommand(queue[i])) {\n                queue.splice(i, 1);\n                window.setTimeout(function () {\n                    window.MOD_openApprovedWelcomePopup('queued-open-form', { force: true });\n                }, 0);\n            }\n        }\n\n        var originalPush = queue.push;\n        queue.push = function () {\n            var passthrough = [];\n            Array.prototype.forEach.call(arguments, function (command) {\n                if (isInterceptedOpenFormCommand(command)) {\n                    window.MOD_openApprovedWelcomePopup('intercepted-open-form', { force: true });\n                } else {\n                    passthrough.push(command);\n                }\n            });\n            if (!passthrough.length) return queue.length;\n            return originalPush.apply(queue, passthrough);\n        };\n        queue.__MOD_APPROVED_POPUP_INTERCEPTOR = true;\n        queue.__MOD_WELCOME_POPUP_GUARD = true;\n    }\n\n    function bindPopup() {\n        var popup = ensurePopupDom();\n        if (!popup || popup.dataset.modApprovedKlaviyoBound === 'true') return;\n        popup.dataset.modApprovedKlaviyoBound = 'true';\n\n        var form = popup.querySelector('[data-mod-approved-klaviyo-form]');\n        var email = popup.querySelector('[data-mod-approved-klaviyo-email]');\n        var phone = popup.querySelector('[data-mod-approved-klaviyo-phone]');\n        var submit = popup.querySelector('[data-mod-approved-klaviyo-submit]');\n\n        popup.querySelectorAll('[data-mod-approved-klaviyo-close]').forEach(function (button) {\n            button.addEventListener('click', function () {\n                closePopup('closed');\n            });\n        });\n\n        if (form && email) {\n            form.addEventListener('submit', async function (event) {\n                event.preventDefault();\n                var emailValue = email.value.trim();\n                var rawPhoneValue = phone ? phone.value.trim() : '';\n                var phoneValue = normalizePhoneNumber(rawPhoneValue);\n                if (!emailValue || !email.checkValidity()) {\n                    email.reportValidity();\n                    return;\n                }\n                if (rawPhoneValue && !phoneValue) {\n                    setStatus('Please enter a valid phone number with area code.', true);\n                    if (phone && typeof phone.focus === 'function') phone.focus();\n                    return;\n                }\n\n                var originalLabel = submit ? submit.textContent : '';\n                if (submit) {\n                    submit.disabled = true;\n                    submit.textContent = 'Submitting...';\n                }\n                setStatus('Submitting your request...');\n\n                try {\n                    await subscribeToKlaviyo(emailValue, phoneValue);\n                    writeState('submitted');\n                    setStatus('Success - your code request was submitted.');\n                    form.reset();\n                    window.dispatchEvent(new CustomEvent('klaviyoForms', {\n                        detail: {\n                            type: 'submit',\n                            formId: currentFormId(),\n                            source: 'MOD Welcome Popup - Shopify Native',\n                            popup_design: 'shopify_native_approved_mockup'\n                        }\n                    }));\n                } catch (error) {\n                    setStatus(error && error.message ? error.message : 'Submission failed. Please try again.', true);\n                } finally {\n                    if (submit) {\n                        submit.disabled = false;\n                        submit.textContent = originalLabel || 'Get My Code';\n                    }\n                    clearMarketingScrollLock();\n                }\n            });\n        }\n    }\n\n    function scheduleAutoOpen() {\n        if (hasScheduledAutoOpen || isCheckoutSensitivePath()) return;\n        hasScheduledAutoOpen = true;\n        window.setTimeout(function () {\n            openPopup('timed-open');\n        }, intendedDelay());\n    }\n\n    window.MOD_openApprovedWelcomePopup = openPopup;\n    window.MOD_closeApprovedWelcomePopup = closePopup;\n\n    function start() {\n        bindPopup();\n        installOpenFormInterceptor();\n        suppressRenderedKlaviyoPopups('startup');\n        scheduleAutoOpen();\n        [300, 750, 1500, 3000, 6000, 10000, 15000].forEach(function (delay) {\n            window.setTimeout(function () {\n                installOpenFormInterceptor();\n                suppressRenderedKlaviyoPopups('watchdog');\n                clearMarketingScrollLock();\n            }, delay);\n        });\n    }\n\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', start);\n    } else {\n        start();\n    }\n\n    document.addEventListener('keydown', function (event) {\n        if (event.key === 'Escape') closePopup('escape');\n    });\n\n    if ('MutationObserver' in window) {\n        new MutationObserver(function () {\n            bindPopup();\n            installOpenFormInterceptor();\n            suppressRenderedKlaviyoPopups('mutation');\n            clearMarketingScrollLock();\n        }).observe(document.documentElement, {\n            attributes: true,\n            attributeFilter: ['class', 'style'],\n            childList: true,\n            subtree: true\n        });\n    }\n})();\n\n(function () {\n    return;\n    var REVISION = '20260614-approved-klaviyo-popup-asset-guard';\n    var LEGACY_FORM_IDS = ['UTwHes', 'VjPDHb', 'VakJDB', 'SJTNwv', 'SQHtrf', 'U28ij7', 'YygS7n', 'XVfPuK'];\n    var KLAVIYO_FULL_FORMS_HOST = 'static-forms.klaviyo.com';\n    var KLAVIYO_FULL_FORMS_PATH = '/forms/api/v7/Ut92SZ/full-forms';\n    var KLAVIYO_SCROLL_LOCK_CLASS = 'klaviyo-prevent-body-scrolling';\n    var OTHER_SCROLL_LOCK_CLASSES = ['hide-scrollbar', 'modal-open', 'overflow-hidden', 'smooth-scroll', 'tt-sliding-cart-open'];\n    var suppressionPending = false;\n    var replacementQueued = false;\n    var welcomePopupScheduled = false;\n    var MOD_WELCOME_POPUP_STATE_KEY = 'modKlaviyoWelcomePopupState';\n    var MOD_WELCOME_POPUP_SUPPRESS_MS = 5 * 24 * 60 * 60 * 1000;\n    var LEGACY_KLAVIYO_FORM_IDS = ['UTwHes', 'VjPDHb', 'VakJDB', 'SJTNwv', 'SQHtrf', 'U28ij7', 'YygS7n', 'XVfPuK'];\n\n    if (window.__MOD_KLAVIYO_POPUP_SWITCH_GUARD === REVISION) return;\n    window.__MOD_KLAVIYO_POPUP_SWITCH_GUARD = REVISION;\n\n    function isCheckoutSensitivePath() {\n        var path = window.location.pathname.toLowerCase();\n        return path === '/cart' || path.indexOf('/cart/') === 0 || path.indexOf('/checkout') === 0 || path.indexOf('/checkouts') === 0;\n    }\n\n    function isLegacyFormsPayloadUrl(rawUrl) {\n        if (!rawUrl) return false;\n        try {\n            var url = new URL(rawUrl, window.location.href);\n            return url.hostname === KLAVIYO_FULL_FORMS_HOST && url.pathname === KLAVIYO_FULL_FORMS_PATH;\n        } catch (_) {\n            return false;\n        }\n    }\n\n    function filterLegacyFormsPayload(payload) {\n        function filterValue(value) {\n            if (Array.isArray(value)) {\n                return value\n                    .filter(function (item) {\n                        if (!item || typeof item !== 'object') return true;\n                        var formId = item.form_id || item.id;\n                        return LEGACY_FORM_IDS.indexOf(String(formId)) === -1;\n                    })\n                    .map(filterValue);\n            }\n\n            if (value && typeof value === 'object') {\n                var formId = value.form_id || value.id;\n                if (LEGACY_FORM_IDS.indexOf(String(formId)) !== -1) return null;\n\n                Object.keys(value).forEach(function (key) {\n                    if (LEGACY_FORM_IDS.indexOf(key) !== -1) {\n                        delete value[key];\n                        return;\n                    }\n\n                    var filteredChild = filterValue(value[key]);\n                    if (filteredChild === null) {\n                        delete value[key];\n                    } else {\n                        value[key] = filteredChild;\n                    }\n                });\n            }\n\n            return value;\n        }\n\n        return filterValue(payload);\n    }\n\n    function installLegacyPayloadFetchFilter() {\n        if (window.__MOD_KLAVIYO_PAYLOAD_FILTER_INSTALLED || typeof window.fetch !== 'function') return;\n        window.__MOD_KLAVIYO_PAYLOAD_FILTER_INSTALLED = true;\n\n        var originalFetch = window.fetch;\n        window.fetch = function (input, init) {\n            var rawUrl = null;\n            try {\n                rawUrl = typeof input === 'string' ? input : input instanceof URL ? input.toString() : input && input.url;\n            } catch (_) {}\n\n            if (!isLegacyFormsPayloadUrl(rawUrl)) return originalFetch.apply(this, arguments);\n\n            return originalFetch.apply(this, arguments).then(function (response) {\n                return response.clone().json().then(function (payload) {\n                    var headers = new Headers(response.headers);\n                    headers.set('content-type', 'application/json');\n                    headers.delete('content-length');\n                    headers.delete('content-encoding');\n\n                    return new Response(JSON.stringify(filterLegacyFormsPayload(payload)), {\n                        status: response.status,\n                        statusText: response.statusText,\n                        headers: headers\n                    });\n                }).catch(function () {\n                    return response;\n                });\n            });\n        };\n    }\n\n    function hasOtherScrollLock() {\n        if (!document.body) return false;\n        return OTHER_SCROLL_LOCK_CLASSES.some(function (className) {\n            return document.body.classList.contains(className);\n        });\n    }\n\n    function elementIsVisibleDialogPart(element) {\n        if (!element || element === document.body || element === document.documentElement) return false;\n        var style = window.getComputedStyle(element);\n        if (style.display === 'none' || style.visibility === 'hidden' || style.opacity === '0' || style.pointerEvents === 'none') return false;\n\n        var rect = element.getBoundingClientRect();\n        if (rect.width < 40 || rect.height < 40) return false;\n        return rect.bottom > 0 && rect.right > 0 && rect.top < window.innerHeight && rect.left < window.innerWidth;\n    }\n\n    function hasVisibleMarketingDialog() {\n        return Array.prototype.some.call(\n            document.querySelectorAll('[aria-modal=\"true\"], [role=\"dialog\"], .klaviyo-form, [class*=\"kl-private-reset-css\"]'),\n            elementIsVisibleDialogPart\n        );\n    }\n\n    function clearMarketingScrollLock() {\n        if (!document.body) return;\n        document.body.classList.remove(KLAVIYO_SCROLL_LOCK_CLASS);\n        if (!hasOtherScrollLock()) {\n            if (document.body.style.overflow === 'hidden') document.body.style.overflow = '';\n            if (document.documentElement.style.overflow === 'hidden') document.documentElement.style.overflow = '';\n        }\n    }\n\n    function forceHideElement(element) {\n        if (!element || element === document.body || element === document.documentElement) return;\n        element.style.setProperty('display', 'none', 'important');\n        element.style.setProperty('visibility', 'hidden', 'important');\n        element.style.setProperty('opacity', '0', 'important');\n        element.style.setProperty('pointer-events', 'none', 'important');\n    }\n\n    function elementLooksLikeLegacyKlaviyoPopup(element) {\n        if (!element) return false;\n        var text = (element.innerText || '').replace(/\\s+/g, ' ');\n        var markup = element.outerHTML || '';\n        return /UTwHes|VjPDHb|VakJDB|SJTNwv|SQHtrf|U28ij7|YygS7n|XVfPuK|DH - 10% OFF|MOD Welcome Popup/i.test(markup) ||\n            /Click Here To Unlock|Pay Full Price|Get 10% Off Your First Eligible Mattress|Local showroom guidance|Continue shopping/i.test(text);\n    }\n\n    function hideElementAndFixedParents(element) {\n        forceHideElement(element);\n        var parent = element.parentElement;\n        while (parent && parent !== document.body) {\n            var style = window.getComputedStyle(parent);\n            var zIndex = parseInt(style.zIndex, 10);\n            if (style.position === 'fixed' || (!isNaN(zIndex) && zIndex >= 90000)) {\n                forceHideElement(parent);\n            }\n            parent = parent.parentElement;\n        }\n    }\n\n    function clearLegacyViewedState() {\n        try {\n            var state = window.localStorage && window.localStorage.getItem('klaviyoOnsite');\n            if (state && /UTwHes|VjPDHb|VakJDB|SJTNwv|SQHtrf|U28ij7|YygS7n|XVfPuK/.test(state)) window.localStorage.removeItem('klaviyoOnsite');\n        } catch (_) {}\n    }\n\n    function replacementFormId() {\n        return window.matchMedia && window.matchMedia('(max-width: 767px)').matches ? 'SJTNwv' : 'VakJDB';\n    }\n\n    function intendedWelcomePopupDelay() {\n        return window.matchMedia && window.matchMedia('(max-width: 767px)').matches ? 7000 : 5000;\n    }\n\n    function hasRecentWelcomePopupState() {\n        try {\n            var state = JSON.parse(window.localStorage.getItem(MOD_WELCOME_POPUP_STATE_KEY) || 'null');\n            var shownAt = state && Number(state.at || state.shownAt || state.closedAt || state.submittedAt);\n            return shownAt && Date.now() - shownAt < MOD_WELCOME_POPUP_SUPPRESS_MS;\n        } catch (_) {\n            return false;\n        }\n    }\n\n    function recordWelcomePopupState(reason) {\n        try {\n            window.localStorage.setItem(\n                MOD_WELCOME_POPUP_STATE_KEY,\n                JSON.stringify({\n                    at: Date.now(),\n                    reason: reason || 'shown',\n                    formId: replacementFormId()\n                })\n            );\n        } catch (_) {}\n    }\n\n    function elementLooksLikeNewKlaviyoPopup(element) {\n        if (!element) return false;\n        var text = (element.innerText || '').replace(/\\s+/g, ' ');\n        var markup = element.outerHTML || '';\n        return /VakJDB|SJTNwv|SQHtrf|U28ij7|YygS7n|XVfPuK|MOD Welcome Popup/i.test(markup) || /Get 10% Off Your First Eligible Mattress|Get My Code|Continue shopping|Local showroom guidance/i.test(text);\n    }\n\n    function hasVisibleNewKlaviyoPopup() {\n        return Array.prototype.some.call(\n            document.querySelectorAll('.klaviyo-form, [class*=\"kl-private-reset-css\"], [aria-modal=\"true\"], [role=\"dialog\"]'),\n            function (element) {\n                return elementIsVisibleDialogPart(element) && elementLooksLikeNewKlaviyoPopup(element);\n            }\n        );\n    }\n\n    function markVisibleWelcomePopup() {\n        if (!hasVisibleNewKlaviyoPopup()) return false;\n        scheduleSuppression();\n        return true;\n    }\n\n    function isSuppressedKlaviyoOpenFormCommand(command) {\n        return Array.isArray(command) && command[0] === 'openForm' && LEGACY_KLAVIYO_FORM_IDS.indexOf(String(command[1])) !== -1;\n    }\n\n    function queueApprovedPopupRequest(reason) {\n        [0, 150, 500, 1000, 2000, 3500].forEach(function (delay) {\n            window.setTimeout(function () {\n                if (typeof window.MOD_openApprovedWelcomePopup === 'function') {\n                    window.MOD_openApprovedWelcomePopup(reason || 'queued-approved-popup');\n                    return;\n                }\n\n                scheduleSuppression();\n            }, delay);\n        });\n    }\n\n    function installKlaviyoOpenFormGuard() {\n        var queue = (window._klOnsite = window._klOnsite || []);\n        if (!queue || queue.__MOD_WELCOME_POPUP_GUARD === true || typeof queue.push !== 'function') return;\n\n        for (var i = queue.length - 1; i >= 0; i -= 1) {\n            if (isSuppressedKlaviyoOpenFormCommand(queue[i])) {\n                queue.splice(i, 1);\n                queueApprovedPopupRequest('queued-open-form');\n            }\n        }\n\n        var originalPush = queue.push;\n        queue.push = function () {\n            var passthrough = [];\n            Array.prototype.forEach.call(arguments, function (command) {\n                if (isSuppressedKlaviyoOpenFormCommand(command)) {\n                    queueApprovedPopupRequest('intercepted-open-form');\n                } else {\n                    passthrough.push(command);\n                }\n            });\n\n            if (!passthrough.length) return queue.length;\n            return originalPush.apply(queue, passthrough);\n        };\n        queue.__MOD_WELCOME_POPUP_GUARD = true;\n    }\n\n    function requestWelcomePopup(reason) {\n        if (isCheckoutSensitivePath() || hasRecentWelcomePopupState()) return;\n        if (typeof window.MOD_openApprovedWelcomePopup === 'function') {\n            window.MOD_openApprovedWelcomePopup(reason || 'timed-open');\n            return;\n        }\n        if (hasVisibleNewKlaviyoPopup()) {\n            recordWelcomePopupState(reason || 'already-visible');\n            return;\n        }\n        if (hasVisibleMarketingDialog()) return;\n\n        installKlaviyoOpenFormGuard();\n        queueApprovedPopupRequest(reason || 'timed-open');\n\n        [900, 2200, 4200].forEach(function (delay) {\n            window.setTimeout(markVisibleWelcomePopup, delay);\n        });\n    }\n\n    function queueReplacementPopup() {\n        if (replacementQueued || isCheckoutSensitivePath()) return;\n        replacementQueued = true;\n\n        [300, 1600, 3200].forEach(function (delay) {\n            window.setTimeout(function () {\n                requestWelcomePopup('legacy-replacement');\n            }, delay);\n        });\n    }\n\n    function scheduleWelcomePopup() {\n        if (welcomePopupScheduled || isCheckoutSensitivePath()) return;\n        welcomePopupScheduled = true;\n\n        var delay = intendedWelcomePopupDelay();\n        [delay, delay + 2500, delay + 6000].forEach(function (openDelay) {\n            window.setTimeout(function () {\n                requestWelcomePopup('timed-open');\n            }, openDelay);\n        });\n    }\n\n    function suppressLegacyAndCheckoutPopups() {\n        suppressionPending = false;\n        if (!document.body) return;\n\n        var suppressedLegacyPopup = false;\n        var nodes = document.querySelectorAll('.klaviyo-form, [class*=\"kl-private-reset-css\"], [aria-modal=\"true\"], [role=\"dialog\"]');\n\n        nodes.forEach(function (element) {\n            var isLegacy = elementLooksLikeLegacyKlaviyoPopup(element);\n            if (!isLegacy && !isCheckoutSensitivePath()) return;\n\n            var closeButton = element.querySelector('.klaviyo-close-form, button[aria-label*=\"close\" i], [role=\"button\"][aria-label*=\"close\" i]');\n            if (closeButton && typeof closeButton.click === 'function') closeButton.click();\n\n            hideElementAndFixedParents(element);\n            suppressedLegacyPopup = suppressedLegacyPopup || isLegacy;\n        });\n\n        if (suppressedLegacyPopup) {\n            clearLegacyViewedState();\n            queueReplacementPopup();\n        }\n\n        if (!hasVisibleMarketingDialog() || isCheckoutSensitivePath()) clearMarketingScrollLock();\n    }\n\n    function scheduleSuppression() {\n        if (suppressionPending) return;\n        suppressionPending = true;\n        window.requestAnimationFrame(function () {\n            window.setTimeout(suppressLegacyAndCheckoutPopups, 100);\n        });\n    }\n\n    installLegacyPayloadFetchFilter();\n\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', function () {\n            installKlaviyoOpenFormGuard();\n            scheduleSuppression();\n            scheduleWelcomePopup();\n        });\n    } else {\n        installKlaviyoOpenFormGuard();\n        scheduleSuppression();\n        scheduleWelcomePopup();\n    }\n\n    [300, 750, 1500, 3000, 6000, 10000, 15000].forEach(function (delay) {\n        window.setTimeout(function () {\n            installKlaviyoOpenFormGuard();\n            markVisibleWelcomePopup();\n            scheduleSuppression();\n        }, delay);\n    });\n\n    if ('MutationObserver' in window) {\n        new MutationObserver(function () {\n            installKlaviyoOpenFormGuard();\n            markVisibleWelcomePopup();\n            scheduleSuppression();\n        }).observe(document.documentElement, {\n            attributes: true,\n            attributeFilter: ['class', 'style'],\n            childList: true,\n            subtree: true\n        });\n    }\n})();\n"],
  "mappings": "AAkCA,EAAE,QAAQ,EAAE,MAAM,UAAY,CAiB1B,IAAI,WAAa,6FAEb,OAAO,WAAa,MACpB,EAAE,eAAe,EAAE,KAAK,UAAY,CAChC,IAAI,IAAM,EAAE,IAAI,EAEZ,IAAI,KAAK,kBAAkB,EAAE,SAAW,GACxC,IAAI,OAAO,UAAU,EAIzB,IAAI,SAAW,IAAI,KAAK,mBAAmB,EAAE,MAAM,EAC/C,SAAW,IAAI,KAAK,KAAK,EAAE,MAAM,EAErC,GAAI,SAAS,QAAU,SAAS,OAAQ,CACpC,IAAI,WAAa,SAAS,KAAK,IAAI,EAC9B,YACD,SAAS,KAAK,KAAM,kBAAoB,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC,EAE/E,SAAS,KAAK,gBAAiB,MAAM,EACrC,SAAS,KAAK,gBAAiB,OAAO,EACtC,SAAS,KAAK,gBAAiB,SAAS,KAAK,IAAI,CAAC,CACtD,CACJ,CAAC,EAED,EAAE,6BAA6B,EAAE,OAAO,EAAE,0BAA0B,EAAE,KAAK,CAAC,GAG5E,OAAO,WAAa,IAGxB,IAAI,yBAA2B,SAAU,IAAK,aAAc,CACxD,GAAI,GAAC,KAAO,CAAC,IAAI,QAEjB,KAAI,YAAY,UAAW,CAAC,CAAC,YAAY,EACzC,IAAI,SAAW,IAAI,KAAK,KAAK,EAAE,MAAM,EACjC,SAAS,QACT,SAAS,KAAK,gBAAiB,aAAe,OAAS,OAAO,EAEtE,EAEI,oBAAsB,SAAU,IAAK,CACrC,GAAI,GAAC,KAAO,CAAC,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