{"time":"2026-10-20T07:23:58.205Z","specifics":"<script>\n\n(function(){\ntry{\n/** file: addFreshNativeFunctions.js */\n\"use strict\";\n\nconst originalSetInterval = window.setInterval;\nconst originalSetTimeout = window.setTimeout;\nconst originalClearInterval = window.clearInterval;\nconst originalClearTimeout = window.clearTimeout;\nlet setInterval = originalSetInterval;\nlet setTimeout = originalSetTimeout;\nlet clearIntervalNative = originalClearInterval;\nlet clearTimeoutNative = originalClearTimeout;\nif (!originalSetInterval.toString().includes(\"[native code]\") || !originalSetTimeout.toString().includes(\"[native code]\") || !originalClearInterval.toString().includes(\"[native code]\") || !originalClearTimeout.toString().includes(\"[native code]\")) {\n  const iframe = document.createElement(\"iframe\");\n  Object.assign(iframe.style, {\n    position: \"fixed\",\n    width: \"1px\",\n    height: \"1px\",\n    border: \"none\",\n    top: \"-10px\",\n    left: \"-10px\",\n    visibility: \"hidden\",\n    pointerEvents: \"none\"\n  });\n  iframe.setAttribute(\"role\", \"presentation\");\n  iframe.setAttribute(\"sandbox\", \"allow-same-origin\");\n  document.body.appendChild(iframe);\n  iframe.src = \"about:blank\";\n  const iframeWindow = iframe.contentWindow;\n  if (iframeWindow) {\n    if (!originalSetInterval.toString().includes(\"[native code]\") && iframeWindow.setInterval) {\n      setInterval = iframeWindow.setInterval.bind(iframeWindow);\n    }\n    if (!originalSetTimeout.toString().includes(\"[native code]\") && iframeWindow.setTimeout) {\n      setTimeout = iframeWindow.setTimeout.bind(iframeWindow);\n    }\n    if (!originalClearInterval.toString().includes(\"[native code]\") && iframeWindow.clearInterval) {\n      clearIntervalNative = iframeWindow.clearInterval.bind(iframeWindow);\n    }\n    if (!originalClearTimeout.toString().includes(\"[native code]\") && iframeWindow.clearTimeout) {\n      clearTimeoutNative = iframeWindow.clearTimeout.bind(iframeWindow);\n    }\n  }\n}\n/** file: addSearchboxInstructions.js */\n\"use strict\";\n\nfunction addSearchboxInstructions(searchInput) {\n  let announcementMessage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"Results or suggestions will be displayed as they become available. Continue navigating to access them.\";\n  const newSpan = createSrOnlyElement();\n  newSpan.id = \"instructions\";\n  newSpan.textContent = announcementMessage;\n  searchInput.insertAdjacentElement(\"afterend\", newSpan);\n  searchInput.setAttribute(\"aria-describedby\", \"instructions\");\n}\n/** file: applyMenuAttributes.js */\n\"use strict\";\n\nfunction applyMenuAttributes(menu) {\n  menu.setAttribute(\"data-acsb-m-menu\", \"ul\");\n  menu.setAttribute(\"data-acsb-fake-menu\", \"true\");\n}\n/** file: applyMenuItemAttributes.js */\n\"use strict\";\n\nfunction applyMenuItemAttributes(menuItem) {\n  let {\n    alternativeMenu = true\n  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  if (alternativeMenu) {\n    forceAlternativeDropdown(menuItem);\n  }\n  menuItem.setAttribute(\"role\", \"menuitem\");\n  menuItem.setAttribute(\"data-acsb-menu-root\", \"true\");\n  menuItem.setAttribute(\"data-acsb-m-menu\", \"li\");\n  menuItem.setAttribute(\"data-acsb-menu\", \"li\");\n  menuItem.setAttribute(\"data-acsb-dropdown-container\", \"true\");\n}\n/** file: chatButtonAccessible.js */\n\"use strict\";\n\nfunction accessChatButton(iframe, skipLinks) {\n  let chatButtonSelector = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n  let chatButtonTabHandler = arguments.length > 3 ? arguments[3] : undefined;\n  const iframeDocument = iframe.contentDocument || iframe.contentWindow.document;\n  const chatButton = iframeDocument.querySelector(\"\".concat(chatButtonSelector ? chatButtonSelector : \"#mountHere\", \" button\"));\n  const skipLinksContainer = skipLinks.shadowRoot.querySelector(\".skip-links\");\n  const skipLink = skipLinksContainer.querySelector(\"div\");\n  const clone = skipLink.cloneNode(true);\n  const link = clone.querySelector(\"a\");\n  link.addEventListener(\"keydown\", event => {\n    if (event.key === \"Enter\") {\n      chatButton.focus();\n      chatButton.setAttribute(\"data-acsb-focused\", \"true\");\n      chatButton.style.borderColor = \"#639af9\";\n    }\n  });\n  link.addEventListener(\"click\", () => {\n    chatButton.focus();\n    chatButton.setAttribute(\"data-acsb-focused\", \"true\");\n    chatButton.style.borderColor = \"#639af9\";\n  });\n  if (chatButtonTabHandler) {\n    chatButton.addEventListener(\"keydown\", event => {\n      if (event.code === \"Tab\" && !event.shiftKey) {\n        event.preventDefault();\n        chatButtonTabHandler();\n      }\n    });\n  }\n  link.childNodes[0].textContent = \"Skip to Chat\";\n  link.href = chatButtonSelector ? chatButtonSelector : \"#gorgias-chat-container\";\n  skipLinksContainer.appendChild(clone);\n}\n/** file: connectMenuToMenuItem.js */\n\"use strict\";\n\nfunction connectMenuToMenuItem(_ref) {\n  let {\n    menuItem,\n    menu,\n    applyWrappingMenuItem = false,\n    alternativeMenu = true,\n    removeOriginalMenu = true\n  } = _ref;\n  let currentMenuItem = menuItem;\n  if (applyWrappingMenuItem) {\n    currentMenuItem = wrappMenuItem(menuItem);\n  }\n  const clonedMenu = menu.cloneNode(true);\n  currentMenuItem.appendChild(clonedMenu);\n  applyMenuItemAttributes(currentMenuItem, {\n    alternativeMenu\n  });\n  if (removeOriginalMenu) {\n    menu.remove();\n  }\n  return clonedMenu;\n}\nfunction wrappMenuItem(menuItem) {\n  const div = document.createElement(\"div\");\n  menuItem.before(div);\n  const clonedMenuItem = menuItem.cloneNode(true);\n  div.appendChild(clonedMenuItem);\n  menuItem.remove();\n  applyMenuItemAttributes(div);\n  return div;\n}\nfunction forceAlternativeDropdown(listItem) {\n  const fakeMenu1 = document.createElement(\"div\");\n  const fakeMenu2 = document.createElement(\"div\");\n  fakeMenu1.setAttribute(\"data-acsb-menu\", \"ul\");\n  fakeMenu2.setAttribute(\"data-acsb-menu\", \"ul\");\n  listItem.appendChild(fakeMenu1);\n  listItem.appendChild(fakeMenu2);\n}\n/** file: createLiveRegion.js */\n\"use strict\";\n\nfunction createLiveRegion(ariaLive, container) {\n  const span = document.createElement(\"span\");\n  span.className = \"acsb-sr-only\";\n  span.setAttribute(\"data-acsb-force-visible\", \"true\");\n  if (ariaLive) {\n    span.setAttribute(\"aria-live\", ariaLive);\n  }\n  if (container) {\n    container.append(span);\n  }\n  return span;\n}\n/** file: createSrOnlyElement.js */\n\"use strict\";\n\nfunction createSrOnlyElement() {\n  const srOnlyElement = document.createElement(\"span\");\n  srOnlyElement.style.position = \"absolute\";\n  srOnlyElement.style.width = \"1px\";\n  srOnlyElement.style.height = \"1px\";\n  srOnlyElement.style.padding = \"0\";\n  srOnlyElement.setAttribute(\"data-acsb-force-visible\", \"true\");\n  srOnlyElement.style.margin = \"-1px\";\n  srOnlyElement.style.overflow = \"hidden\";\n  srOnlyElement.style.clip = \"rect(0, 0, 0, 0)\";\n  srOnlyElement.style.whiteSpace = \"nowrap\";\n  srOnlyElement.style.borderWidth = \"0\";\n  srOnlyElement.setAttribute(\"data-acsb-force-visible\", \"true\");\n  return srOnlyElement;\n}\n/** file: forceNavigable.js */\n\"use strict\";\n\nfunction forceNavigable(element) {\n  element.setAttribute(\"data-acsb-now-navigable\", \"true\");\n  element.setAttribute(\"data-acsb-navigable\", \"true\");\n  element.setAttribute(\"data-acsb-force-navigable\", \"true\");\n  element.setAttribute(\"tabindex\", \"0\");\n}\n/** file: forceUnnavigable.js */\n\"use strict\";\n\nfunction forceUnnavigable(el) {\n  el.setAttribute(\"tabindex\", \"-1\");\n  el.setAttribute(\"data-acsb-force-unnavigable\", \"true\");\n  el.setAttribute(\"data-acsb-navigable\", \"false\");\n  el.setAttribute(\"data-acsb-now-navigable\", \"false\");\n}\n/** file: isMobile.js */\n\"use strict\";\n\nfunction isMobile() {\n  var _navigator, _window, _navigator2, _navigator3;\n  const userAgent = navigator.userAgent || ((_navigator = navigator) === null || _navigator === void 0 ? void 0 : _navigator.vendor) || ((_window = window) === null || _window === void 0 ? void 0 : _window.opera);\n  const isMobileUserAgent = /android|iphone|ipad|ipod|blackberry|bb|playbook|iemobile|opera mini|webos|windows phone/i.test(userAgent);\n  const hasTouchSupport = \"ontouchstart\" in window || navigator.maxTouchPoints && navigator.maxTouchPoints > 0 || ((_navigator2 = navigator) === null || _navigator2 === void 0 ? void 0 : _navigator2.msMaxTouchPoints) && ((_navigator3 = navigator) === null || _navigator3 === void 0 ? void 0 : _navigator3.msMaxTouchPoints) > 0;\n  const isSmallScreen = window.matchMedia(\"(max-width: 768px)\").matches;\n  const isPortrait = window.matchMedia(\"(orientation: portrait)\").matches;\n  const isCoarsePointer = window.matchMedia(\"(pointer: coarse)\").matches;\n  const noHover = window.matchMedia(\"(hover: none)\").matches;\n  const likelyMobile = isMobileUserAgent || hasTouchSupport && (isSmallScreen || isPortrait) || isCoarsePointer || noHover;\n  return likelyMobile;\n}\n/** file: profileEnabledInterval.js */\n\"use strict\";\n\nfunction profileEnabledInterval(profile, cb) {\n  let {\n    interval = 1000,\n    clearAfterTimeout = true,\n    timeout = 15000\n  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n  const intervalId = setInterval(() => {\n    var _acsbState$actions;\n    const acsbState = JSON.parse(localStorage.acsbState || \"{}\");\n    if (acsbState !== null && acsbState !== void 0 && (_acsbState$actions = acsbState.actions) !== null && _acsbState$actions !== void 0 && (_acsbState$actions = _acsbState$actions[profile]) !== null && _acsbState$actions !== void 0 && _acsbState$actions.enabled) {\n      try {\n        const shouldClear = cb();\n        if (shouldClear) {\n          clearInterval(intervalId);\n        }\n      } catch (error) {\n        clearInterval(intervalId);\n        window.dispatchEvent(new CustomEvent(\"acsbWidgetSpecificsError\", {\n          detail: error\n        }));\n      }\n    }\n  }, interval);\n  if (clearAfterTimeout) {\n    setTimeout(() => {\n      clearInterval(intervalId);\n    }, timeout);\n  }\n}\n/** file: trapFocus.js */\n\"use strict\";\n\nfunction trapFocus(container) {\n  let interactives = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [\"a[href]\", \"button\", \"input\", \"select\", \"textarea\", '[tabindex]:not([tabindex=\"-1\"])'];\n  let filteringCallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n  let trigger = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n  let closeSelector = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n  let onClose = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;\n  let onClosePreventDefault = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;\n  if (!container) return;\n  if (getAllFocusableElementsAsAnArray().length === 0) return;\n  function keydownTrapHandler(event) {\n    const allFocusableElements = getAllFocusableElementsAsAnArray();\n    if (allFocusableElements.length === 0) return;\n    const [firstElement] = allFocusableElements;\n    const [lastElement] = allFocusableElements.slice(-1);\n    if ((event === null || event === void 0 ? void 0 : event.code) === \"Tab\") {\n      if (event !== null && event !== void 0 && event.shiftKey) {\n        if (document.activeElement === firstElement) {\n          event.preventDefault();\n          lastElement === null || lastElement === void 0 || lastElement.focus();\n        }\n      } else {\n        if (document.activeElement === lastElement) {\n          event.preventDefault();\n          firstElement === null || firstElement === void 0 || firstElement.focus();\n        }\n      }\n    } else if (event.code === \"Escape\" && closeSelector) {\n      keydownCloseHandler(event);\n    }\n  }\n  container.addEventListener(\"keydown\", keydownTrapHandler);\n  function removeTrapFocus() {\n    container.removeEventListener(\"keydown\", keydownTrapHandler);\n  }\n  function getCloseButton() {\n    if (!closeSelector) return false;\n    const closeButton = container.querySelector(closeSelector);\n    if (!closeButton) return false;\n    return closeButton;\n  }\n  const closeButton = getCloseButton();\n  if (closeButton) {\n    closeButton.addEventListener(\"click\", keydownCloseHandler);\n    closeButton.addEventListener(\"keydown\", keydownCloseHandler);\n  }\n  function keydownCloseHandler(event) {\n    if (event.type === \"click\" || [\"Enter\", \"Space\", \"Escape\"].includes(event.code)) {\n      if (onClosePreventDefault) event.preventDefault();\n      trigger === null || trigger === void 0 || trigger.focus();\n      onClose === null || onClose === void 0 || onClose();\n    }\n  }\n  function removeCloseHandler() {\n    if (!closeButton) return;\n    closeButton.removeEventListener(\"click\", keydownCloseHandler);\n    closeButton.removeEventListener(\"keydown\", keydownCloseHandler);\n  }\n  function getAllFocusableElementsAsAnArray() {\n    let elements = Array.from(container.querySelectorAll(interactives.join(\", \")));\n    if (filteringCallback) {\n      elements = elements.filter(filteringCallback);\n    }\n    return elements;\n  }\n  return {\n    removeTrapFocus,\n    removeCloseHandler,\n    getAllFocusableElementsAsAnArray\n  };\n}\n\n/** file: accessible-search.js */\n(function(){\ntry{\n\"use strict\";\n\nAJS.events.on(window, \"acsbActionEnabling\", function (e) {\n  if (e.detail.action === \"keyNav\") {\n    const searchDrawer = document.querySelector(\"search-drawer\");\n    if (searchDrawer) {\n      searchDrawer.setAttribute(\"data-acsb\", \"\");\n    }\n  }\n});\nprofileEnabledInterval(\"accessMode\", () => {\n  const searchDrawerTrigger = document.querySelector(\"a.search-drawer-button\");\n  const searchDrawer = document.querySelector(\"search-drawer\");\n  const searchInput = document.querySelector(\"input.search__input.form-control\");\n  if (searchDrawerTrigger && searchDrawer && searchInput) {\n    fixRoleAndAriaLabel(searchDrawerTrigger);\n    observeSearchDrawer(searchDrawer);\n    addSearchboxInstructions(searchInput);\n    return true;\n  }\n});\nfunction fixRoleAndAriaLabel(searchDrawerTrigger) {\n  searchDrawerTrigger.setAttribute(\"role\", \"button\");\n}\nfunction observeSearchDrawer(searchDrawer) {\n  const observer = new MutationObserver(mutations => {\n    mutations.forEach(_mutation => {\n      searchDrawerIsOpen(searchDrawer);\n    });\n  });\n  observer.observe(searchDrawer, {\n    attributes: true,\n    attributeFilter: [\"open\"]\n  });\n}\nfunction searchDrawerIsOpen(searchDrawer) {\n  if (searchDrawer.hasAttribute(\"open\")) {\n    const drawerInner = searchDrawer.querySelector(\".drawer__inner\");\n    if (drawerInner) {\n      drawerInner.setAttribute(\"role\", \"dialog\");\n      drawerInner.setAttribute(\"aria-label\", \"Search\");\n      drawerInner.setAttribute(\"tabindex\", \"-1\");\n      trapFocus(drawerInner);\n      setTimeout(() => {\n        drawerInner.focus();\n      }, 1000);\n    }\n  } else {\n    const searchDrawerTrigger = document.querySelector(\"a.search-drawer-button\");\n    if (searchDrawerTrigger) {\n      setTimeout(() => {\n        searchDrawerTrigger.focus();\n      }, 1000);\n    }\n  }\n}\nfunction trapFocus(container) {\n  const focusableSelectors = 'a, button, input, textarea, select, [tabindex]:not([tabindex=\"-1\"])';\n  container.addEventListener(\"keydown\", e => {\n    if (e.key !== \"Tab\") return;\n    const focusableElements = Array.from(container.querySelectorAll(focusableSelectors)).filter(el => !el.disabled && el.offsetParent !== null);\n    if (focusableElements.length === 0) return;\n    const first = focusableElements[0];\n    const last = focusableElements[focusableElements.length - 1];\n    if (e.shiftKey && document.activeElement === first) {\n      e.preventDefault();\n      last.focus();\n    } else if (!e.shiftKey && document.activeElement === last) {\n      e.preventDefault();\n      first.focus();\n    }\n  });\n}\n}catch(ex){}\n})();\n/** file: add-to-cart-action-focus.js */\n(function(){\ntry{\n\"use strict\";\n\nif (window.location.pathname.includes(\"/products\")) {\n  if (!window.accessWidgetSpecificsOptions) {\n    window.accessWidgetSpecificsOptions = {\n      enable: true\n    };\n  }\n  window.accessWidgetSpecificsOptions.modifications = window.accessWidgetSpecificsOptions.modifications || {};\n  window.accessWidgetSpecificsOptions.modifications.classifier = window.accessWidgetSpecificsOptions.modifications.classifier || [];\n  window.accessWidgetSpecificsOptions.disableLegacy = window.accessWidgetSpecificsOptions.disableLegacy || {};\n  window.accessWidgetSpecificsOptions.disableLegacy.processForms = true;\n}\nAJS.events.on(window, \"acsbActionEnabling\", event => {\n  if (event.detail.action === \"keyNav\") {\n    const cartDrawer = document.querySelector(\"cart-drawer\");\n    if (cartDrawer) {\n      cartDrawer.setAttribute(\"data-acsb\", \"\");\n    }\n  }\n});\nprofileEnabledInterval(\"accessMode\", () => {\n  const addToCartButton = document.querySelector(\"product-info .product__info-wrapper button.product-form__submit\");\n  const cartDrawer = document.querySelector(\"cart-drawer#CartDrawer\");\n  if (addToCartButton && cartDrawer) {\n    const closeButton = cartDrawer.querySelector(\".drawer__close-btn\");\n    let triggerFromAddToCart = false;\n    addToCartButton.addEventListener(\"keydown\", event => {\n      if (event.code === \"Enter\" || event.code === \"Space\") {\n        event.preventDefault();\n        event.stopPropagation();\n        event.stopImmediatePropagation();\n        addToCartButton.click();\n        triggerFromAddToCart = true;\n        setTimeout(() => {\n          if (closeButton) {\n            closeButton.focus();\n          } else {\n            cartDrawer.setAttribute(\"tabindex\", \"-1\");\n            cartDrawer.focus();\n          }\n        }, 3000);\n      }\n    });\n    cartDrawer.addEventListener(\"keydown\", event => {\n      if (event.code === \"Escape\") {\n        if (triggerFromAddToCart) {\n          setTimeout(() => {\n            triggerFromAddToCart = false;\n            addToCartButton.scrollIntoView({\n              behavior: \"smooth\",\n              block: \"center\"\n            });\n            addToCartButton.focus();\n          }, 1000);\n        }\n      }\n    });\n    closeButton === null || closeButton === void 0 || closeButton.addEventListener(\"keydown\", event => {\n      if (event.code === \"Enter\" || event.code === \"Space\") {\n        event.preventDefault();\n        event.stopPropagation();\n        event.stopImmediatePropagation();\n        closeButton.click();\n        if (triggerFromAddToCart) {\n          setTimeout(() => {\n            addToCartButton.scrollIntoView({\n              behavior: \"smooth\",\n              block: \"center\"\n            });\n            addToCartButton.focus();\n            triggerFromAddToCart = false;\n          }, 1000);\n        }\n      }\n    });\n    trapFocus(cartDrawer);\n    return true;\n  }\n});\nprofileEnabledInterval(\"accessMode\", () => {\n  const cartDrawer = document.querySelector(\"cart-drawer#CartDrawer\");\n  if (cartDrawer) {\n    const closeButton = cartDrawer.querySelector(\".drawer__close-btn\");\n    if (closeButton) {\n      closeButton.removeAttribute(\"aria-expanded\");\n      const observer = new MutationObserver(() => {\n        if (closeButton.hasAttribute(\"aria-expanded\")) {\n          closeButton.removeAttribute(\"aria-expanded\");\n        }\n      });\n      observer.observe(closeButton, {\n        attributes: true,\n        attributeFilter: [\"aria-expanded\"]\n      });\n    }\n  }\n  return true;\n});\n}catch(ex){}\n})();\n/** file: fix-menu-navigation.js */\n(function(){\ntry{\n\"use strict\";\n\nAJS.events.on(window, \"acsbActionEnabling\", function (e) {\n  if (e.detail.action !== \"keyNav\") return;\n  const menu = document.querySelector(\".header__menu ul\");\n  if (menu) {\n    menu.setAttribute(\"data-acsb\", \"true\");\n  }\n});\nprofileEnabledInterval(\"accessMode\", () => {\n  const menuItems = document.querySelectorAll('[id*=\"Mega-menu-item-product_list\"] summary');\n  if (menuItems.length) {\n    let shouldOpen = true;\n    menuItems.forEach(menuItem => {\n      menuItem.setAttribute(\"role\", \"link\");\n      menuItem.setAttribute(\"aria-label\", menuItem.innerText.trim());\n      const observer = new MutationObserver(mutationsList => {\n        mutationsList.forEach(mutation => {\n          if (mutation.type === \"attributes\" && mutation.attributeName === \"role\" && menuItem.getAttribute(\"role\") !== \"link\") {\n            menuItem.setAttribute(\"role\", \"link\");\n          }\n        });\n      });\n      observer.observe(menuItem, {\n        attributes: true,\n        attributeFilter: [\"role\"]\n      });\n      menuItem.addEventListener(\"focusin\", e => {\n        if (!shouldOpen) {\n          e.preventDefault();\n          e.stopImmediatePropagation();\n        }\n      }, true);\n      const parent = menuItem.parentElement;\n      if (parent) {\n        parent.addEventListener(\"keydown\", e => {\n          if (e.code === \"Escape\") {\n            setTimeout(() => {\n              shouldOpen = false;\n              menuItem.focus();\n              setTimeout(() => {\n                shouldOpen = true;\n              }, 100);\n            }, 500);\n          }\n        }, true);\n      }\n    });\n    return true;\n  }\n});\n}catch(ex){}\n})();\n/** file: header-cart-control-announcement.js */\n(function(){\ntry{\n\"use strict\";\n\nprofileEnabledInterval(\"accessMode\", () => {\n  const cartControl = document.querySelector(\"header .header__buttons .cart-drawer-button[aria-controls='CartDrawer']\");\n  if (cartControl) {\n    var _cartControl$querySel;\n    cartControl.setAttribute(\"role\", \"button\");\n    cartControl.setAttribute(\"aria-haspopup\", \"dialog\");\n    let label = \"Cart\";\n    const itemCount = ((_cartControl$querySel = cartControl.querySelector(\"cart-count\")) === null || _cartControl$querySel === void 0 || (_cartControl$querySel = _cartControl$querySel.textContent) === null || _cartControl$querySel === void 0 ? void 0 : _cartControl$querySel.trim()) || \"0\";\n    if (itemCount && Number(itemCount) > 0) {\n      label += \", \".concat(itemCount, \" item\").concat(Number(itemCount) > 1 ? \"s\" : \"\");\n    }\n    cartControl.setAttribute(\"aria-label\", label);\n    const cartControlObserver = new MutationObserver(mutations => {\n      mutations.forEach(mutation => {\n        const {\n          type\n        } = mutation;\n        if (cartControl.getAttribute(\"role\") !== \"button\") {\n          cartControl.setAttribute(\"role\", \"button\");\n        }\n        if (type === \"childList\") {\n          mutation.addedNodes.forEach(node => {\n            if (node.nodeType === Node.TEXT_NODE && node.parentElement.tagName === \"CART-COUNT\") {\n              const count = parseInt(node.textContent.trim(), 10);\n              if (count > 0) {\n                label = \"Cart, \".concat(count, \" item\").concat(Number(count) > 1 ? \"s\" : \"\");\n              } else {\n                label = \"Cart\";\n              }\n              if (cartControl.getAttribute(\"aria-label\") !== label) {\n                cartControl.setAttribute(\"aria-label\", label);\n              }\n            }\n          });\n        }\n      });\n    });\n    cartControlObserver.observe(cartControl, {\n      attributes: true,\n      attributeFilter: [\"role\"],\n      childList: true,\n      subtree: true\n    });\n    return true;\n  }\n});\n}catch(ex){}\n})();\n/** file: product-customization-controls-accessibility.js */\n(function(){\ntry{\n\"use strict\";\n\nif (window.location.pathname.includes(\"/products\")) {\n  window.accessWidgetSpecificsOptions = window.accessWidgetSpecificsOptions || {};\n  window.accessWidgetSpecificsOptions.modifications = window.accessWidgetSpecificsOptions.modifications || {};\n  window.accessWidgetSpecificsOptions.modifications.classifier = window.accessWidgetSpecificsOptions.modifications.classifier || [];\n  window.accessWidgetSpecificsOptions.modifications.classifier.push({\n    type: \"ignore\",\n    selector: \".product__info-container variant-selects\"\n  });\n}\nAJS.events.on(window, \"acsbActionEnabling\", event => {\n  if (event.detail.action === \"keyNav\") {\n    const productCustomizationControls = document.querySelector(\".product__info-container variant-selects\");\n    if (productCustomizationControls) {\n      productCustomizationControls.setAttribute(\"data-acsb\", \"\");\n    }\n  }\n});\nprofileEnabledInterval(\"accessMode\", () => {\n  const variantSelects = document.querySelector(\".product__info-container variant-selects\");\n  if (variantSelects) {\n    let observer = null;\n    let lastSelectedLabel = null;\n    function fixVariantSelects() {\n      const variantSelects = document.querySelector(\".product__info-container variant-selects\");\n      const allInputs = variantSelects === null || variantSelects === void 0 ? void 0 : variantSelects.querySelectorAll(\"input\");\n      allInputs.forEach(input => {\n        input.style.setProperty(\"display\", \"none\", \"important\");\n        input.classList.remove(\"acsb-shown\");\n        setTimeout(() => {\n          input.style.setProperty(\"display\", \"block\", \"important\");\n        }, 4000);\n        const interval = setInterval(() => {\n          if (input.getAttribute(\"tabindex\") !== \"-1\") {\n            input.setAttribute(\"tabindex\", \"-1\");\n          }\n          if (input.classList.contains(\"acsb-shown\")) {\n            input.classList.remove(\"acsb-shown\");\n          }\n          if (input.style.display !== \"none\") {\n            input.style.setProperty(\"display\", \"none\", \"important\");\n          }\n        }, 1000);\n        setTimeout(() => {\n          clearInterval(interval);\n        }, 30000);\n      });\n      const allLabels = document.querySelectorAll(\".product__info-container variant-selects label\");\n      allLabels.forEach(label => {\n        label.setAttribute(\"tabindex\", \"0\");\n        label.setAttribute(\"role\", \"radio\");\n        let labelText = null;\n        if (label.previousElementSibling.value) {\n          labelText = label.previousElementSibling.value;\n        }\n        if (label.previousElementSibling.value && label.previousElementSibling.hasAttribute(\"disabled\")) {\n          labelText = \"\".concat(label.previousElementSibling.value, \" - Unavailable\");\n          label.setAttribute(\"aria-disabled\", \"true\");\n        }\n        if (labelText) {\n          label.setAttribute(\"aria-label\", labelText);\n        }\n        label.classList.remove(\"acsb-connected-input-shown\");\n        if (label.classList.contains(\"is-selected\")) {\n          label.setAttribute(\"aria-checked\", \"true\");\n        } else {\n          label.setAttribute(\"aria-checked\", \"false\");\n        }\n        const interval = setInterval(() => {\n          if (label.getAttribute(\"tabindex\") !== \"0\") {\n            label.setAttribute(\"tabindex\", \"0\");\n          }\n          if (label.classList.contains(\"acsb-connected-input-shown\")) {\n            label.classList.remove(\"acsb-connected-input-shown\");\n          }\n        }, 1000);\n        setTimeout(() => {\n          clearInterval(interval);\n        }, 30000);\n        label.addEventListener(\"keydown\", event => {\n          if (event.code === \"Enter\" || event.code === \"Space\") {\n            event.preventDefault();\n            event.stopPropagation();\n            lastSelectedLabel = label.getAttribute(\"aria-label\");\n            label.previousElementSibling.click();\n            setTimeout(() => {\n              const labelToFocus = document.querySelector(\".product__info-container variant-selects label[aria-label=\\\"\".concat(lastSelectedLabel, \"\\\"]\"));\n              if (labelToFocus) {\n                labelToFocus.focus();\n                lastSelectedLabel = null;\n              }\n            }, 6000);\n          }\n        });\n      });\n      observer = new MutationObserver(mutations => {\n        mutations.forEach(mutation => {\n          const target = mutation.target;\n          if (mutation.type === \"attributes\") {\n            if (mutation.attributeName === \"class\" && target.tagName === \"LABEL\" && target.parentElement.tagName === \"FIELDSET\" && target.parentElement.classList.contains(\"product-form__input\") && target.classList.contains(\"is-selected\")) {\n              target.setAttribute(\"aria-checked\", \"true\");\n            } else {\n              target.setAttribute(\"aria-checked\", \"false\");\n            }\n            if (mutation.attributeName === \"class\" && target.tagName === \"LABEL\" && target.parentElement.tagName === \"FIELDSET\" && target.parentElement.classList.contains(\"product-form__input\") && target.classList.contains(\"acsb-connected-input-shown\")) {\n              target.classList.remove(\"acsb-connected-input-shown\");\n            }\n            if (mutation.attributeName === \"class\" && target.tagName === \"INPUT\" && target.type === \"radio\" && target.parentElement.tagName === \"FIELDSET\" && target.parentElement.classList.contains(\"product-form__input\") && target.classList.contains(\"acsb-shown\")) {\n              target.classList.remove(\"acsb-shown\");\n              target.style.setProperty(\"display\", \"none\", \"important\");\n            }\n          }\n        });\n      });\n      observer.observe(variantSelects, {\n        attributes: true,\n        attributeFilter: [\"class\"],\n        childList: true,\n        subtree: true\n      });\n    }\n    fixVariantSelects();\n    const bodyObserver = new MutationObserver(mutations => {\n      mutations.forEach(mutation => {\n        mutation.addedNodes.forEach(node => {\n          if (node.nodeType === Node.ELEMENT_NODE && node.id === \"MainContent\" || node.tagName === \"VARIANT-SELECTS\") {\n            setTimeout(() => {\n              fixVariantSelects();\n            }, 4000);\n          }\n        });\n      });\n    });\n    bodyObserver.observe(document.body, {\n      childList: true,\n      subtree: true\n    });\n    return true;\n  }\n});\n}catch(ex){}\n})();\n\n}catch(ex){}\n})();\n\n</script><style>\n\n</style>","addonAnalytics":true,"aiAssistant":true,"blockMeta":false,"blockImages":false,"blockStyles":false,"blockTextSimplifier":false,"widgetSettings":{"consistentHelpData":[],"copilotChat":true,"disableBgProcess":false,"footerHtml":"","hideComponents":[],"hideMobile":false,"hideTrigger":false,"language":"en","leadColor":"#146FF8","position":"right","remoteAnalytics":true,"statementLink":"","statementVariant":"default","triggerColor":"#146FF8","triggerIcon":"people","triggerOffsetX":20,"triggerOffsetY":20,"triggerPositionX":"right","triggerPositionY":"bottom","triggerRadius":"50%","triggerSize":"medium"},"featureFlags":{"text-simplifier":false,"ai-assistant":false,"classification-provider":false}}