{
  "version": 3,
  "sources": ["/cdn/shop/t/13/assets/bc-product-gallery.js?bc=16"],
  "sourcesContent": ["if (!customElements.get('bc-photo-gallery')) {\n  customElements.define('bc-photo-gallery', class extends HTMLElement {\n    connectedCallback() {\n      if (this.dataset.ready) return;\n      this.dataset.ready = 'true';\n      const photos = [...this.querySelectorAll('[data-bc-photo]')];\n      const buttons = [...this.querySelectorAll('[data-bc-photo-index]')];\n      const select = index => {\n        photos.forEach((photo, i) => { photo.hidden = i !== index; });\n        buttons.forEach((button, i) => button.setAttribute('aria-pressed', String(i === index)));\n      };\n      buttons.forEach((button, index) => button.addEventListener('click', () => select(index)));\n      this.querySelector('.bc-photo-gallery__choices').hidden = false;\n      select(0);\n\n    }\n  });\n}\n"],
  "mappings": "AAAK,eAAe,IAAI,kBAAkB,GACxC,eAAe,OAAO,mBAAoB,cAAc,WAAY,CAClE,mBAAoB,CAClB,GAAI,KAAK,QAAQ,MAAO,OACxB,KAAK,QAAQ,MAAQ,OACrB,MAAM,OAAS,CAAC,GAAG,KAAK,iBAAiB,iBAAiB,CAAC,EACrD,QAAU,CAAC,GAAG,KAAK,iBAAiB,uBAAuB,CAAC,EAC5D,OAAS,OAAS,CACtB,OAAO,QAAQ,CAAC,MAAO,IAAM,CAAE,MAAM,OAAS,IAAM,KAAO,CAAC,EAC5D,QAAQ,QAAQ,CAAC,OAAQ,IAAM,OAAO,aAAa,eAAgB,OAAO,IAAM,KAAK,CAAC,CAAC,CACzF,EACA,QAAQ,QAAQ,CAAC,OAAQ,QAAU,OAAO,iBAAiB,QAAS,IAAM,OAAO,KAAK,CAAC,CAAC,EACxF,KAAK,cAAc,4BAA4B,EAAE,OAAS,GAC1D,OAAO,CAAC,CAEV,CACF,CAAC",
  "names": []
}
