{
  "version": 3,
  "sources": ["/cdn/shop/t/161/assets/footer-link-sfx.js?bk=footer-link-sfx-v3"],
  "sourcesContent": ["/**\n * Footer link hover click: one-shot via StorefrontSfx on fine-pointer enter for\n * home (wordmark), nav column links, legal/policy anchors, social icons, and\n * the empty-seat keyhole button. Skips reduced motion and coarse/touch pointers.\n * Clip from data-footer-link-click-src on .footer__viewport (footer-link-click.wav).\n */\n(function () {\n  var LINK_SEL =\n    'a.footer__brand-link, a.footer__column-link, .footer__legal a, a.list-social__link, button.footer-ruby-keyhole-seat';\n  var CLIP_ID = 'footer-link-click';\n  var CLICK_VOLUME = 0.35;\n\n  function fineHover() {\n    return window.matchMedia('(hover: hover) and (pointer: fine)').matches;\n  }\n\n  function playClick() {\n    if (!window.StorefrontSfx) return;\n    window.StorefrontSfx.unlock();\n    window.StorefrontSfx.play(CLIP_ID);\n  }\n\n  function bindFooter(footer) {\n    var viewport = footer.querySelector('.footer__viewport') || footer;\n    var src = viewport.getAttribute('data-footer-link-click-src') || '';\n    if (!src || !window.StorefrontSfx) return;\n    window.StorefrontSfx.register(CLIP_ID, src, { volume: CLICK_VOLUME });\n    if (document.documentElement) {\n      document.documentElement.setAttribute('data-sfx-footer-link-click-src', src);\n    }\n    if (!fineHover()) return;\n    footer.querySelectorAll(LINK_SEL).forEach(function (link) {\n      link.addEventListener('pointerenter', playClick);\n    });\n  }\n\n  function init() {\n    document.querySelectorAll('.footer').forEach(bindFooter);\n  }\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', init);\n  } else {\n    init();\n  }\n})();\n"],
  "mappings": "CAMC,UAAY,CACX,IAAI,SACF,sHACE,QAAU,oBACV,aAAe,IAEnB,SAAS,WAAY,CACnB,OAAO,OAAO,WAAW,oCAAoC,EAAE,OACjE,CAEA,SAAS,WAAY,CACd,OAAO,gBACZ,OAAO,cAAc,OAAO,EAC5B,OAAO,cAAc,KAAK,OAAO,EACnC,CAEA,SAAS,WAAW,OAAQ,CAC1B,IAAI,SAAW,OAAO,cAAc,mBAAmB,GAAK,OACxD,IAAM,SAAS,aAAa,4BAA4B,GAAK,GAC7D,CAAC,KAAO,CAAC,OAAO,gBACpB,OAAO,cAAc,SAAS,QAAS,IAAK,CAAE,OAAQ,YAAa,CAAC,EAChE,SAAS,iBACX,SAAS,gBAAgB,aAAa,iCAAkC,GAAG,EAExE,UAAU,GACf,OAAO,iBAAiB,QAAQ,EAAE,QAAQ,SAAU,KAAM,CACxD,KAAK,iBAAiB,eAAgB,SAAS,CACjD,CAAC,EACH,CAEA,SAAS,MAAO,CACd,SAAS,iBAAiB,SAAS,EAAE,QAAQ,UAAU,CACzD,CAEI,SAAS,aAAe,UAC1B,SAAS,iBAAiB,mBAAoB,IAAI,EAElD,KAAK,CAET,GAAG",
  "names": []
}
