{
  "version": 3,
  "sources": ["/cdn/shop/t/6/assets/product-card.js?cb=20260407-7"],
  "sourcesContent": ["import { OverflowList } from '@theme/critical';\nimport VariantPicker from '@theme/variant-picker';\nimport { Component } from '@theme/component';\nimport { debounce, isDesktopBreakpoint, mediaQueryLarge, requestYieldCallback } from '@theme/utilities';\nimport { ThemeEvents, VariantSelectedEvent, VariantUpdateEvent, SlideshowSelectEvent } from '@theme/events';\nimport { morph } from '@theme/morph';\n\n/**\n * A custom element that displays a product card.\n *\n * @typedef {object} Refs\n * @property {HTMLAnchorElement} productCardLink - The product card link element.\n * @property {import('slideshow').Slideshow} [slideshow] - The slideshow component.\n * @property {import('quick-add').QuickAddComponent} [quickAdd] - The quick add component.\n * @property {HTMLElement} [cardGallery] - The card gallery component.\n *\n * @extends {Component<Refs>}\n */\nexport class ProductCard extends Component {\n  requiredRefs = ['productCardLink'];\n\n  get productPageUrl() {\n    return this.refs.productCardLink.href;\n  }\n\n  /**\n   * Gets the currently selected variant ID from the product card\n   * @returns {string | null} The variant ID or null if none selected\n   */\n  getSelectedVariantId() {\n    const checkedInput = /** @type {HTMLInputElement | null} */ (\n      this.querySelector('input[type=\"radio\"]:checked[data-variant-id]')\n    );\n\n    return checkedInput?.dataset.variantId || null;\n  }\n\n  /**\n   * Gets the product card link element\n   * @returns {HTMLAnchorElement | null} The product card link or null\n   */\n  getProductCardLink() {\n    return this.refs.productCardLink || null;\n  }\n\n  #fetchProductPageHandler = () => {\n    this.refs.quickAdd?.fetchProductPage(this.productPageUrl);\n  };\n\n  /**\n   * Navigates to a URL link. Respects modifier keys for opening in new tab/window.\n   * @param {Event} event - The event that triggered the navigation.\n   * @param {URL} url - The URL to navigate to.\n   */\n  #navigateToURL = (event, url) => {\n    // Check for modifier keys that should open in new tab/window (only for mouse events)\n    const shouldOpenInNewTab =\n      event instanceof MouseEvent && (event.metaKey || event.ctrlKey || event.shiftKey || event.button === 1);\n\n    if (shouldOpenInNewTab) {\n      event.preventDefault();\n      window.open(url.href, '_blank');\n      return;\n    } else {\n      window.location.href = url.href;\n    }\n  };\n\n  connectedCallback() {\n    super.connectedCallback();\n\n    const link = this.refs.productCardLink;\n    if (!(link instanceof HTMLAnchorElement)) throw new Error('Product card link not found');\n    this.#handleQuickAdd();\n\n    this.addEventListener(ThemeEvents.variantUpdate, this.#handleVariantUpdate);\n    this.addEventListener(ThemeEvents.variantSelected, this.#handleVariantSelected);\n    this.addEventListener(SlideshowSelectEvent.eventName, this.#handleSlideshowSelect);\n    mediaQueryLarge.addEventListener('change', this.#handleQuickAdd);\n\n    this.addEventListener('click', this.navigateToProduct);\n\n    // Preload the next image on the slideshow to avoid white flashes on previewImage\n    setTimeout(() => {\n      if (this.refs.slideshow?.isNested) {\n        this.#preloadNextPreviewImage();\n      }\n    });\n  }\n\n  disconnectedCallback() {\n    super.disconnectedCallback();\n    this.removeEventListener('click', this.navigateToProduct);\n  }\n\n  #preloadNextPreviewImage() {\n    const currentSlide = this.refs.slideshow?.slides?.[this.refs.slideshow?.current];\n    currentSlide?.nextElementSibling?.querySelector('img[loading=\"lazy\"]')?.removeAttribute('loading');\n  }\n\n  /**\n   * Handles the quick add event.\n   */\n  #handleQuickAdd = () => {\n    this.removeEventListener('pointerenter', this.#fetchProductPageHandler);\n    this.removeEventListener('focusin', this.#fetchProductPageHandler);\n\n    if (isDesktopBreakpoint()) {\n      this.addEventListener('pointerenter', this.#fetchProductPageHandler);\n      this.addEventListener('focusin', this.#fetchProductPageHandler);\n    }\n  };\n\n  /**\n   * Handles the variant selected event.\n   * @param {VariantSelectedEvent} event - The variant selected event.\n   */\n  #handleVariantSelected = (event) => {\n    if (event.target !== this.variantPicker) {\n      this.variantPicker?.updateSelectedOption(event.detail.resource.id);\n    }\n  };\n\n  /**\n   * Handles the variant update event.\n   * Updates price, checks for unavailable variants, and updates product URL.\n   * @param {VariantUpdateEvent} event - The variant update event.\n   */\n  #handleVariantUpdate = (event) => {\n    // Stop the event from bubbling up to the section, variant updates triggered from product cards are fully handled\n    // by this component and should not affect anything outside the card.\n    event.stopPropagation();\n\n    this.updatePrice(event);\n    this.#isUnavailableVariantSelected(event);\n    this.#updateProductUrl(event);\n    this.refs.quickAdd?.fetchProductPage(this.productPageUrl);\n\n    if (event.target !== this.variantPicker) {\n      this.variantPicker?.updateVariantPicker(event.detail.data.html);\n    }\n\n    this.#updateVariantImages();\n    this.#previousSlideIndex = null;\n\n    // Remove attribute after re-rendering since a variant selection has been made\n    this.removeAttribute('data-no-swatch-selected');\n\n    // Force overflow list to reflow after variant update\n    // This fixes an issue where the overflow counter doesn't update properly in some browsers\n    this.#updateOverflowList();\n  };\n\n  /**\n   * Forces the overflow list to recalculate by dispatching a reflow event.\n   * This ensures the overflow counter displays correctly after variant updates.\n   */\n  #updateOverflowList() {\n    // Find the overflow list in the variant picker\n    const overflowList = this.querySelector('swatches-variant-picker-component overflow-list');\n    const isActiveOverflowList = overflowList?.querySelector('[slot=\"overflow\"]') ? true : false;\n    if (!overflowList || !isActiveOverflowList) return;\n\n    // Use requestAnimationFrame to ensure DOM has been updated\n    requestAnimationFrame(() => {\n      // Dispatch a reflow event to trigger recalculation\n      overflowList.dispatchEvent(\n        new CustomEvent('reflow', {\n          bubbles: true,\n          detail: {},\n        })\n      );\n    });\n  }\n\n  /**\n   * Updates the DOM with a new price.\n   * @param {VariantUpdateEvent} event - The variant update event.\n   */\n  updatePrice(event) {\n    const priceContainer = this.querySelectorAll(`product-price [ref='priceContainer']`)[1];\n    const newPriceElement = event.detail.data.html.querySelector(`product-price [ref='priceContainer']`);\n\n    if (newPriceElement && priceContainer) {\n      morph(priceContainer, newPriceElement);\n    }\n  }\n\n  /**\n   * Updates the product URL based on the variant update event.\n   * @param {VariantUpdateEvent} event - The variant update event.\n   */\n  #updateProductUrl(event) {\n    const anchorElement = event.detail.data.html?.querySelector('product-card a');\n    const featuredMediaUrl = event.detail.data.html\n      ?.querySelector('product-card-link')\n      ?.getAttribute('data-featured-media-url');\n\n    // If the product card is inside a product link, update the product link's featured media URL\n    if (featuredMediaUrl && this.closest('product-card-link'))\n      this.closest('product-card-link')?.setAttribute('data-featured-media-url', featuredMediaUrl);\n\n    if (anchorElement instanceof HTMLAnchorElement) {\n      // If the href is empty, don't update the product URL eg: unavailable variant\n      if (anchorElement.getAttribute('href')?.trim() === '') return;\n\n      const productUrl = anchorElement.href;\n      const { productCardLink, productTitleLink, cardGalleryLink } = this.refs;\n\n      productCardLink.href = productUrl;\n      if (cardGalleryLink instanceof HTMLAnchorElement) {\n        cardGalleryLink.href = productUrl;\n      }\n      if (productTitleLink instanceof HTMLAnchorElement) {\n        productTitleLink.href = productUrl;\n      }\n    }\n  }\n\n  /**\n   * Checks if an unavailable variant is selected.\n   * @param {VariantUpdateEvent} event - The variant update event.\n   */\n  #isUnavailableVariantSelected(event) {\n    const allVariants = /** @type {NodeListOf<HTMLInputElement>} */ (\n      event.detail.data.html.querySelectorAll('input:checked')\n    );\n\n    for (const variant of allVariants) {\n      this.#toggleAddToCartButton(variant.dataset.optionAvailable === 'true');\n    }\n  }\n\n  /**\n   * Toggles the add to cart button state.\n   * @param {boolean} enable - Whether to enable or disable the button.\n   */\n  #toggleAddToCartButton(enable) {\n    const addToCartButton = this.querySelector('.add-to-cart__button button');\n\n    if (addToCartButton instanceof HTMLButtonElement) {\n      addToCartButton.disabled = !enable;\n    }\n  }\n\n  /**\n   * Hide the variant images that are not for the selected variant.\n   */\n  #updateVariantImages() {\n    const { slideshow } = this.refs;\n    if (!this.variantPicker?.selectedOption) {\n      return;\n    }\n\n    const selectedImageId = this.variantPicker?.selectedOption.dataset.optionMediaId;\n\n    if (slideshow && selectedImageId) {\n      const { slides = [] } = slideshow.refs;\n\n      for (const slide of slides) {\n        if (slide.getAttribute('variant-image') == null) continue;\n\n        slide.hidden = slide.getAttribute('slide-id') !== selectedImageId;\n      }\n\n      slideshow.select({ id: selectedImageId }, undefined, { animate: false });\n    }\n  }\n\n  /**\n   * Gets all variant inputs.\n   * @returns {NodeListOf<HTMLInputElement>} All variant input elements.\n   */\n  get allVariants() {\n    return this.querySelectorAll('input[data-variant-id]');\n  }\n\n  /**\n   * Gets the variant picker component.\n   * @returns {VariantPicker | null} The variant picker component.\n   */\n  get variantPicker() {\n    return this.querySelector('swatches-variant-picker-component');\n  }\n  /** @type {number | null} */\n  #previousSlideIndex = null;\n\n  /**\n   * Handles the slideshow select event.\n   * @param {SlideshowSelectEvent} event - The slideshow select event.\n   */\n  #handleSlideshowSelect = (event) => {\n    if (event.detail.userInitiated) {\n      this.#previousSlideIndex = event.detail.index;\n    }\n  };\n\n  /**\n   * Previews a variant.\n   * @param {string} id - The id of the variant to preview.\n   */\n  previewVariant(id) {\n    const { slideshow } = this.refs;\n\n    if (!slideshow) return;\n\n    this.resetVariant.cancel();\n    slideshow.select({ id }, undefined, { animate: false });\n  }\n\n  /**\n   * Previews the next image.\n   * @param {PointerEvent} event - The pointer event.\n   */\n  previewImage(event) {\n    if (event.pointerType !== 'mouse') return;\n\n    const { slideshow } = this.refs;\n\n    if (!slideshow) return;\n\n    this.resetVariant.cancel();\n\n    if (this.#previousSlideIndex != null && this.#previousSlideIndex > 0) {\n      slideshow.select(this.#previousSlideIndex, undefined, { animate: false });\n    } else {\n      slideshow.next(undefined, { animate: false });\n      setTimeout(() => this.#preloadNextPreviewImage());\n    }\n  }\n\n  /**\n   * Resets the image to the variant image.\n   * @param {PointerEvent} event - The pointer event.\n   */\n  resetImage(event) {\n    if (event.pointerType !== 'mouse') return;\n\n    const { slideshow } = this.refs;\n\n    if (!this.variantPicker) {\n      if (!slideshow) return;\n      slideshow.previous(undefined, { animate: false });\n    } else {\n      this.#resetVariant();\n    }\n  }\n\n  /**\n   * Resets the image to the variant image.\n   */\n  #resetVariant = () => {\n    const { slideshow } = this.refs;\n\n    if (!slideshow) return;\n\n    // If we have a selected variant, always use its image\n    if (this.variantPicker?.selectedOption) {\n      const id = this.variantPicker.selectedOption.dataset.optionMediaId;\n      if (id) {\n        slideshow.select({ id }, undefined, { animate: false });\n        return;\n      }\n    }\n\n    // No variant selected - use initial slide if it's valid\n    const initialSlide = slideshow.initialSlide;\n    const slideId = initialSlide?.getAttribute('slide-id');\n    if (initialSlide && slideshow.slides?.includes(initialSlide) && slideId) {\n      slideshow.select({ id: slideId }, undefined, { animate: false });\n      return;\n    }\n\n    // No valid initial slide or selected variant - go to previous\n    slideshow.previous(undefined, { animate: false });\n  };\n\n  /**\n   * Intercepts the click event on the product card anchor, we want\n   * to use this to add an intermediate state to the history.\n   * This intermediate state captures the page we were on so that we\n   * navigate back to the same page when the user navigates back.\n   * In addition to that, it captures the product card anchor so that we\n   * have the specific product card in view.\n   *\n   * A product card can have other interactive elements like variant picker,\n   * so we do not navigate if the click was on one of those elements.\n   *\n   * @param {Event} event\n   */\n  navigateToProduct = (event) => {\n    if (!(event.target instanceof Element)) return;\n\n    // Don't navigate if this product card is marked as no-navigation (e.g., in theme editor)\n    if (this.hasAttribute('data-no-navigation')) return;\n\n    const interactiveElement = event.target.closest('button, input, label, select, [tabindex=\"1\"]');\n\n    // If the click was on an interactive element, do nothing.\n    if (interactiveElement) {\n      return;\n    }\n\n    const link = this.refs.productCardLink;\n    if (!link.href) return;\n    const linkURL = new URL(link.href);\n\n    const productCardAnchor = link.getAttribute('id');\n    if (!productCardAnchor) return;\n\n    const url = new URL(window.location.href);\n    const parent = this.closest('li');\n    url.hash = productCardAnchor;\n    if (parent && parent.dataset.page) {\n      url.searchParams.set('page', parent.dataset.page);\n    }\n\n    if (!window.Shopify.designMode) {\n      requestYieldCallback(() => {\n        history.replaceState({}, '', url.toString());\n      });\n    }\n\n    const targetLink = event.target.closest('a');\n    // Let the native navigation handle the click if it was on a link.\n    if (!targetLink) {\n      this.#navigateToURL(event, linkURL);\n    }\n  };\n\n  /**\n   * Resets the variant.\n   */\n  resetVariant = debounce(this.#resetVariant, 100);\n}\n\nif (!customElements.get('product-card')) {\n  customElements.define('product-card', ProductCard);\n}\n\n/**\n * A custom element that displays a variant picker with swatches.\n * @typedef {import('@theme/variant-picker').VariantPickerRefs & {overflowList: HTMLElement}} SwatchesRefs\n */\n\n/**\n * @extends {VariantPicker<SwatchesRefs>}\n */\nclass SwatchesVariantPickerComponent extends VariantPicker {\n  connectedCallback() {\n    super.connectedCallback();\n\n    // Cache the parent product card\n    this.parentProductCard = this.closest('product-card');\n\n    // Listen for variant updates to apply pending URL changes\n    this.addEventListener(ThemeEvents.variantUpdate, this.#handleCardVariantUrlUpdate.bind(this));\n  }\n\n  /**\n   * Updates the card URL when a variant is selected.\n   */\n  #handleCardVariantUrlUpdate() {\n    if (this.pendingVariantId && this.parentProductCard instanceof ProductCard) {\n      const currentUrl = new URL(this.parentProductCard.refs.productCardLink.href);\n      currentUrl.searchParams.set('variant', this.pendingVariantId);\n      this.parentProductCard.refs.productCardLink.href = currentUrl.toString();\n      this.pendingVariantId = null;\n    }\n  }\n\n  /**\n   * Override the variantChanged method to handle unavailable swatches with available alternatives.\n   * @param {Event} event - The variant change event.\n   */\n  variantChanged(event) {\n    if (!(event.target instanceof HTMLElement)) return;\n\n    // Check if this is a swatch input\n    const isSwatchInput = event.target instanceof HTMLInputElement && event.target.name?.includes('-swatch');\n    const clickedSwatch = event.target;\n    const availableCount = parseInt(clickedSwatch.dataset.availableCount || '0');\n    const firstAvailableVariantId = clickedSwatch.dataset.firstAvailableOrFirstVariantId;\n\n    // For swatch inputs, check if we need special handling\n    if (isSwatchInput && availableCount > 0 && firstAvailableVariantId) {\n      // If this is an unavailable variant but there are available alternatives\n      // Prevent the default handling\n      event.stopPropagation();\n\n      // Update the selected option visually\n      this.updateSelectedOption(clickedSwatch);\n\n      // Build request URL with the first available variant\n      const productUrl = this.dataset.productUrl?.split('?')[0];\n\n      if (!productUrl) return;\n\n      const url = new URL(productUrl, window.location.origin);\n      url.searchParams.set('variant', firstAvailableVariantId);\n      url.searchParams.set('section_id', 'section-rendering-product-card');\n\n      const requestUrl = url.href;\n\n      // Store the variant ID we want to apply to the URL\n      this.pendingVariantId = firstAvailableVariantId;\n\n      // Use parent's fetch method\n      this.fetchUpdatedSection(requestUrl);\n      return;\n    }\n\n    // For all other cases, use the default behavior\n    super.variantChanged(event);\n  }\n\n  /**\n   * Shows all swatches.\n   * @param {Event} [event] - The event that triggered the show all swatches.\n   */\n  showAllSwatches(event) {\n    event?.preventDefault();\n\n    const { overflowList } = this.refs;\n\n    if (overflowList instanceof OverflowList) {\n      overflowList.showAll();\n    }\n  }\n}\n\nif (!customElements.get('swatches-variant-picker-component')) {\n  customElements.define('swatches-variant-picker-component', SwatchesVariantPickerComponent);\n}\n"],
  "mappings": "AAAA,OAAS,iBAAoB,kBAC7B,OAAO,kBAAmB,wBAC1B,OAAS,cAAiB,mBAC1B,OAAS,SAAU,oBAAqB,gBAAiB,yBAA4B,mBACrF,OAAS,YAAuD,yBAA4B,gBAC5F,OAAS,UAAa,eAaf,aAAM,oBAAoB,SAAU,CACzC,aAAe,CAAC,iBAAiB,EAEjC,IAAI,gBAAiB,CACnB,OAAO,KAAK,KAAK,gBAAgB,IACnC,CAMA,sBAAuB,CAKrB,OAHE,KAAK,cAAc,8CAA8C,GAG9C,QAAQ,WAAa,IAC5C,CAMA,oBAAqB,CACnB,OAAO,KAAK,KAAK,iBAAmB,IACtC,CAEA,yBAA2B,IAAM,CAC/B,KAAK,KAAK,UAAU,iBAAiB,KAAK,cAAc,CAC1D,EAOA,eAAiB,CAAC,MAAO,MAAQ,CAK/B,GAFE,iBAAiB,aAAe,MAAM,SAAW,MAAM,SAAW,MAAM,UAAY,MAAM,SAAW,GAE/E,CACtB,MAAM,eAAe,EACrB,OAAO,KAAK,IAAI,KAAM,QAAQ,EAC9B,MACF,MACE,OAAO,SAAS,KAAO,IAAI,IAE/B,EAEA,mBAAoB,CAIlB,GAHA,MAAM,kBAAkB,EAGpB,EADS,KAAK,KAAK,2BACD,mBAAoB,MAAM,IAAI,MAAM,6BAA6B,EACvF,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,YAAY,cAAe,KAAK,oBAAoB,EA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