{
  "version": 3,
  "sources": ["/cdn/shop/t/533/assets/cart-notification.js?S=5858486654736615377998895824"],
  "sourcesContent": ["class CartNotification extends HTMLElement {\n    constructor() {\n        super();\n\n        this.notification = document.getElementById('cart-notification');\n        this.onBodyClick = this.handleBodyClick.bind(this);\n        this.onFocusin = this.handleFocusin.bind(this);\n        this.onKeyDown = this.handleKeyDown.bind(this);\n        this.onResize = this.getLastFocusableElements.bind(this);\n        this.shippingThreshold = this.notification.getAttribute('data-shipping-threshold');\n        this.mainCloseButton = this.querySelector('.cart-notification__close');\n\n        this.notification.addEventListener('keyup', (evt) => evt.code === 'Escape' && this.close());\n        this.querySelectorAll('button[type=\"button\"]').forEach((closeButton) =>\n            closeButton.addEventListener('click', this.close.bind(this))\n        );\n        this.querySelector('.cart-preview-bg').addEventListener('click', this.close.bind(this));\n        this.addEventListener('keydown', this.onKeyDown);\n    }\n\n    connectedCallback() {\n        window.addEventListener('resize', this.onResize);\n    }\n\n    disconnectedCallback() {\n        window.removeEventListener('resize', this.onResize);\n    }\n\n    open() {\n        this.classList.remove('hide');\n        this.notification.classList.add('animate', 'active');\n        this.opener = document.activeElement;\n        this.notification.focus();\n\n        document.body.addEventListener('click', this.onBodyClick);\n        const cartDrawerOpenedCustomEvent = new CustomEvent('cartDrawerOpened');\n        document.dispatchEvent(cartDrawerOpenedCustomEvent);\n        if (window.updateSlider) {\n            const algoliaCartUpsellsSlide = window.updateSlider['data-algolia-cart-upsells'];\n            if (algoliaCartUpsellsSlide) algoliaCartUpsellsSlide.update();\n        }\n\n        document.addEventListener('focusin', this.onFocusin);\n    }\n\n    close() {\n        this.classList.add('hide');\n        this.notification.classList.remove('active');\n\n        document.body.removeEventListener('click', this.onBodyClick);\n        document.removeEventListener('focusin', this.onFocusin);\n        this.opener.focus();\n    }\n\n    handleFocusin() {\n        if (this.contains(document.activeElement)) {\n            this.recentlyFocusedElement = document.activeElement;\n            return;\n        }\n\n        if (\n            this.lastFocusableElement &&\n            this.recentlyFocusedElement === this.lastFocusableElement\n        ) {\n            this.mainCloseButton?.focus();\n            return;\n        }\n\n        this.lastFocusableElement?.focus();\n    }\n\n    getLastFocusableElements() {\n        this.upsellBullets = this.querySelectorAll('.slider__bullet.glide__bullet');\n        this.upsellArrows = this.querySelectorAll('.glide__arrow');\n        this.upsellArrows.forEach((arrow) => {\n            const computedStyle = window.getComputedStyle(arrow);\n            if (computedStyle.display == 'none' || computedStyle.visibility == 'hidden') {\n                return;\n            }\n            this.lastFocusableElement = arrow;\n        });\n        if (!this.upsellBullets[0] || this.upsellBullets[0].offsetParent === null) return;\n        this.lastFocusableElement = this.upsellBullets[this.upsellBullets.length - 1];\n    }\n\n    handleKeyDown(event) {\n        if (!this.lastFocusableElement) {\n            this.getLastFocusableElements();\n        }\n        switch (event.keyCode) {\n            case 9: {\n                if (event.shiftKey && document.activeElement == this.mainCloseButton) {\n                    event.preventDefault();\n                    this.lastFocusableElement.focus();\n                } else if (\n                    !event.shiftKey &&\n                    this.mainCloseButton &&\n                    document.activeElement == this.lastFocusableElement\n                ) {\n                    event.preventDefault();\n                    this.mainCloseButton.focus();\n                }\n\n                break;\n            }\n            case 27:\n                this.close();\n                break;\n            default:\n                break;\n        }\n    }\n\n    showBundleCartNotification(parsedState) {\n        const cartNotifProductImage = document.querySelector('.cart-notification-product__image');\n        if (cartNotifProductImage) cartNotifProductImage.setAttribute('src', parsedState.image);\n\n        const cartNotifProductName = document.querySelector('.cart-notification-product__name');\n        if (cartNotifProductName) cartNotifProductName.innerText = parsedState.title;\n\n        const cartNotifProductOption = document.querySelector('.cart-notification-product__option');\n        if (cartNotifProductOption) cartNotifProductOption.style.display = 'none';\n    }\n\n    async fetchCartData() {\n        try {\n            const response = await fetch('/cart.js', {cache: 'no-store'});\n            const data = await response.json();\n            return data;\n        } catch (error) {\n            console.error('Failed to fetch cart data:', error);\n            return null;\n        }\n    }\n\n    calculateProductQuantities(cartData) {\n        const productQuantities = {};\n        cartData.items.forEach((item) => {\n            if (!productQuantities[item.variant_id]) {\n                productQuantities[item.variant_id] = 0;\n            }\n            let quantity = item.quantity;\n            if (item.properties && item.properties['_two_pack_id']) {\n                quantity = item.quantity / 2;\n            }\n            productQuantities[item.variant_id] += quantity;\n            if (item.quantity > window.globalSettings.maxQtyLimit)\n                productQuantities.hasExceedingLineItemQuantity = true;\n        });\n        return productQuantities;\n    }\n\n    async renderMaxQtyMessage(parsedState) {\n        const cartData = await this.fetchCartData();\n        if (!cartData) {\n            return;\n        }\n        const productQuantities = this.calculateProductQuantities(cartData);\n        if (!productQuantities[parsedState.variant_id]) {\n            productQuantities[parsedState.variant_id] = 0;\n        }\n        productQuantities[parsedState.variant_id] += parsedState.quantity;\n        const cartErrorEl = document.querySelector('[data-cart-error]');\n        if (cartErrorEl) cartErrorEl.classList.add('is-hidden');\n\n        const cartMaxQtyEl = document.querySelector('[data-max-qty-message]');\n        if (cartMaxQtyEl) cartMaxQtyEl.classList.add('is-hidden');\n\n        if (productQuantities[parsedState.variant_id] == window.globalSettings.maxQtyLimit) {\n            const availableQty =\n                parsedState.status == 422\n                    ? 0\n                    : window.globalSettings.maxQtyLimit -\n                      (productQuantities[parsedState.variant_id] - parsedState.quantity);\n\n            document.querySelector('[data-max-qty-message]').classList.remove('is-hidden');\n\n            const stickyQtySelector = document.querySelector('.sticky-quantity__input');\n            const qtySelector = document.querySelector('[name=\"quantity\"]');\n            if (qtySelector) {\n                qtySelector.value = availableQty;\n                qtySelector.max = availableQty;\n\n                const plusBtn = qtySelector.parentElement.querySelector('[name=\"plus\"]');\n                if (plusBtn) plusBtn.setAttribute('disabled', true);\n            }\n            if (stickyQtySelector) {\n                stickyQtySelector.value = availableQty;\n                stickyQtySelector.max = availableQty;\n                const stickyPlusBtn =\n                    stickyQtySelector.parentElement.querySelector('[name=\"plus\"]');\n                if (stickyPlusBtn) stickyPlusBtn.setAttribute('disabled', true);\n            }\n        } else if (\n            productQuantities[parsedState.variant_id] > window.globalSettings.maxQtyLimit ||\n            productQuantities.hasExceedingLineItemQuantity\n        ) {\n            const cartErrorEl = document.querySelector('[data-cart-error]');\n            if (cartErrorEl) {\n                cartErrorEl.classList.remove('is-hidden');\n                cartErrorEl.innerText =\n                    'We have noticed that some items in your cart exceed the maximum quantity allowed. Please update the quantity to proceed.';\n            }\n        }\n\n        const stickyATCButton = document.querySelector('.sticky-addtocart');\n        const mainACTButton = document.querySelector('#pdp-product-form [type=\"submit\"]');\n        if (mainACTButton) {\n            mainACTButton.setAttribute('disabled', true);\n        }\n        if (stickyATCButton) {\n            stickyATCButton.setAttribute('disabled', true);\n        }\n        return;\n    }\n\n    async renderContents(parsedState, bundleParentData) {\n        this.productId = parsedState.id;\n        if (parsedState?.status === 422 && parsedState?.message.indexOf('Order limit') !== -1) {\n            await this.renderMaxQtyMessage(parsedState);\n            return;\n        }\n        this.getSectionsToRender().forEach((section) => {\n            document.getElementById(section.id).innerHTML = this.getSectionInnerHTML(\n                parsedState.sections[section.id],\n                section.selector\n            );\n            if (section.id != 'cart-preview-section') return;\n            document.querySelector('cart-preview')?.init();\n        });\n\n        if (bundleParentData) {\n            this.showBundleCartNotification(bundleParentData);\n        }\n\n        this.open();\n    }\n\n    getSectionsToRender() {\n        return [\n            {\n                id: 'cart-notification-product',\n                selector: `#cart-notification-product-${this.productId}`\n            },\n            {\n                id: 'cart-notification-button'\n            },\n            {\n                id: 'cart-icon-bubble'\n            },\n            {\n                id: 'cart-icon-bubble-desktop'\n            },\n            {\n                id: 'cart-preview-section'\n            }\n        ];\n    }\n\n    getSectionInnerHTML(html, selector = '.shopify-section') {\n        return new DOMParser().parseFromString(html, 'text/html').querySelector(selector).innerHTML;\n    }\n\n    handleBodyClick(evt) {\n        const target = evt.target;\n        if (target !== this.notification && !target.closest('cart-notification')) {\n            const disclosure = target.closest('details-disclosure');\n            this.activeElement = disclosure ? disclosure.querySelector('summary') : null;\n            this.close();\n        }\n    }\n\n    // This is called by updateCartNotification in product-form.js\n    // We don't have the cart total price here, so hooking into the response in product-form.js allows us to use an existing request to get the total\n    updateShippingThreshold(total) {\n        const cartPrice = total / 100;\n        const offsetContainer = document.getElementById('cart-notification__free-shipping');\n        const offsetValueContainer = document.getElementById('cart-notification-shipping-offset');\n        const rechargeSubRadio = document.querySelector('input.rc_widget__option__input--subsave');\n        const cartNotificationBox = document.querySelector('#cart-notification');\n\n        if (!offsetContainer || !this.shippingThreshold || !offsetValueContainer) return;\n\n        const shippingAchievedMessaging = offsetContainer.querySelector(\n            '.cart-notification__shipping-achieved'\n        );\n        const shippingOffsetMessaging = offsetContainer.querySelector(\n            '.cart-notification__shipping-offset'\n        );\n        if (\n            cartPrice >= this.shippingThreshold ||\n            (rechargeSubRadio && rechargeSubRadio.checked) ||\n            cartNotificationBox.classList.contains('free-shipping-qualified')\n        ) {\n            if (shippingAchievedMessaging) shippingAchievedMessaging.classList.remove('hidden');\n            if (shippingOffsetMessaging) shippingOffsetMessaging.classList.add('hidden');\n        } else {\n            if (shippingAchievedMessaging) shippingAchievedMessaging.classList.add('hidden');\n            if (shippingOffsetMessaging) shippingOffsetMessaging.classList.remove('hidden');\n            const offsetValue = (this.shippingThreshold - cartPrice).toFixed(2);\n            offsetValueContainer.textContent = `$${offsetValue}`;\n        }\n    }\n\n    // This is called by updateCartNotification in product-form.js\n    // We don't have the cart total price here, so hooking into the response in product-form.js allows us to use an existing request to get the total\n    updateFreeGift(total, hasGift) {\n        if (!total || typeof hasGift === typeof undefined) return;\n        const cartPrice = total / 100;\n        const messaging = document.getElementById('free-gift-messaging');\n        const product = document.getElementById('free-gift-product');\n        const threshold = this.notification.getAttribute('data-gift-threshold');\n        if (!messaging || !product || !threshold) return;\n        const remaining = messaging.querySelector('[data-remaining]');\n        const achieved = messaging.querySelector('[data-achieved');\n        if (!remaining || !achieved) return;\n        messaging.classList.remove('hidden');\n        if (cartPrice >= threshold) {\n            remaining.classList.add('hidden');\n            achieved.classList.remove('hidden');\n            if (!hasGift) {\n                product.classList.remove('hidden');\n            } else {\n                product.classList.add('hidden');\n            }\n        } else {\n            const offsetValue = (threshold - cartPrice).toFixed(2);\n            const valueMarkup = remaining.querySelector('strong');\n            if (valueMarkup) valueMarkup.textContent = `$${offsetValue}`;\n            remaining.classList.remove('hidden');\n            achieved.classList.add('hidden');\n            product.classList.add('hidden');\n        }\n    }\n\n    setActiveElement(element) {\n        this.activeElement = element;\n    }\n}\n\ncustomElements.define('cart-notification', CartNotification);\n\nclass CartPreview extends HTMLElement {\n    constructor() {\n        super();\n    }\n\n    connectedCallback() {\n        this.init();\n        window.addEventListener('resize', this.onResizeHandler);\n        this.cartUpdateObserver();\n    }\n\n    disconnectedCallback() {\n        window.removeEventListener('resize', this.onResizeHandler);\n    }\n\n    cartUpdateObserver() {\n        const observer = new MutationObserver((mutationsList) => {\n            for (let mutation of mutationsList) {\n                if (mutation.type === 'childList') {\n                    this.init();\n                    observer.disconnect();\n                }\n            }\n        });\n        observer.observe(this, {childList: true});\n    }\n\n    init() {\n        this.cartPreview = this.querySelector('[data-cart-preview]');\n        this.close();\n\n        if (!this.cartPreview) throw new Error('Could not find cart preview wrappers.');\n\n        this.closeTriggers = this.querySelectorAll('.cart-preview__close');\n        this.mainCloseButton = this.querySelector(\n            'button.cart-preview__close:not(.continue-shopping)'\n        );\n        this.openTriggers = document.querySelectorAll('[data-toggle-cart-preview]');\n\n        this.onCloseHandler = this.close.bind(this);\n        this.onOpenHandler = this.open.bind(this);\n        this.onFocusinHandler = this.handleFocusin.bind(this);\n        this.onKeyDownHandler = this.handleKeyDown.bind(this);\n        this.onResizeHandler = this.resize.bind(this);\n        this.closeTriggers.forEach((trigger) => {\n            trigger.addEventListener('click', this.onCloseHandler);\n        });\n\n        this.openTriggers.forEach((trigger) => {\n            trigger.addEventListener('click', this.onOpenHandler);\n        });\n\n        this.addEventListener('keydown', this.onKeyDownHandler);\n    }\n\n    resize() {\n        this.getLastFocusableElements();\n    }\n    open() {\n        this.opener = document.activeElement;\n        this.classList.remove('hide');\n        this.cartPreview.classList.add('is-active');\n        this.getLastFocusableElements();\n        window.addEventListener('focusin', this.onFocusinHandler);\n        this.mainCloseButton.focus();\n    }\n\n    close() {\n        this.classList.add('hide');\n        this.cartPreview.classList.remove('is-active');\n\n        window.removeEventListener('focusin', this.onFocusinHandler);\n        if (this.opener) this.opener.focus();\n    }\n\n    handleFocusin() {\n        if (this.contains(document.activeElement)) {\n            this.recentlyFocusedElement = document.activeElement;\n        } else if (this.lastFocusableElement) {\n            if (this.recentlyFocusedElement == this.lastFocusableElement)\n                this.mainCloseButton.focus();\n            else this.lastFocusableElement.focus();\n        }\n    }\n\n    getLastFocusableElements() {\n        this.upsellBullets = this.querySelectorAll('.slider__bullet.glide__bullet');\n        this.upsellArrows = this.querySelectorAll('.glide__arrow');\n        this.upsellArrows.forEach((arrow) => {\n            const computedStyle = window.getComputedStyle(arrow);\n            if (computedStyle.display == 'none' || computedStyle.visibility == 'hidden') {\n                return;\n            }\n            this.lastFocusableElement = arrow;\n        });\n        if (!this.upsellBullets[0] || this.upsellBullets[0].offsetParent === null) return;\n        this.lastFocusableElement = this.upsellBullets[this.upsellBullets.length - 1];\n    }\n\n    handleKeyDown(event) {\n        if (!this.lastFocusableElement) {\n            this.getLastFocusableElements();\n        }\n        switch (event.keyCode) {\n            case 9: {\n                if (event.shiftKey && document.activeElement == this.mainCloseButton) {\n                    event.preventDefault();\n                    this.lastFocusableElement.focus();\n                } else if (\n                    !event.shiftKey &&\n                    this.mainCloseButton &&\n                    document.activeElement == this.lastFocusableElement\n                ) {\n                    event.preventDefault();\n                    this.mainCloseButton.focus();\n                }\n\n                break;\n            }\n            case 27:\n                this.close();\n                break;\n            default:\n                break;\n        }\n    }\n}\n\ncustomElements.define('cart-preview', CartPreview);\n"],
  "mappings": "AAAA,MAAM,yBAAyB,WAAY,CACvC,aAAc,CACV,MAAM,EAEN,KAAK,aAAe,SAAS,eAAe,mBAAmB,EAC/D,KAAK,YAAc,KAAK,gBAAgB,KAAK,IAAI,EACjD,KAAK,UAAY,KAAK,cAAc,KAAK,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