{
  "version": 3,
  "sources": ["/cdn/shop/t/3/assets/product-gallery.js?x=30628"],
  "sourcesContent": ["/* Product gallery (Fable session, 29/11/2026). Vanilla JS, no dependencies. Markup: snippets/product-stage.liquid.\n   Why: Matt, 29/11: \"we should use an image preview like a proper website so the smaller thumbnails under or at the\n   side of the photo\". One large view, thumbnails beside it on a desktop and under it on a phone, arrows, and a\n   sideways swipe on a phone. The views, in order: the size view (the item beside a 1p coin), the live preview where\n   the page has one, then the other pictures.\n   - [data-stage] is the gallery; [data-stage-panel=\"<id>\"] are the views; [data-stage-show=\"<id>\"] the thumbnails;\n     [data-stage-prev] and [data-stage-next] the arrows; [data-stage-count] shows \"2 of 7\".\n   - Anything marked [data-stage-for=\"<id>\"] (the design's name under the live preview, the size note) shows only\n     while that view is on.\n   - Typing in the order form or picking a design brings the live preview back (data-stage-panel=\"live\"), so the\n     buyer always sees what they are changing.\n   - Left and right arrow keys work while a thumbnail has focus.\n   - A swipe is ignored inside the 3D preview, where a drag turns the tag.\n   Without this script every view shows, one under the other. */\n(function () {\n  'use strict';\n\n  function init(stage) {\n    if (!stage.querySelector('[data-stage-panel]')) return;   /* 03/12: the Ultra order form's step labels also carry data-stage */\n    /* 03/12/2026 gallery order (Matt marked it 1, 2, 3): the real main photo, the size picture, the close up, then the\n       rest. A close up is a real photo whose alt text says \"close up\". With no real photo the size picture stays first. */\n    /* Round 20, 03/12/2026 (Matt: \"these should show if they are front or back\"): after those three, the pictures of\n       the front come before the pictures of the back. A picture's side is its data-stage-side (\"front\", \"back\" or\n       \"both\"); the views that are not pictures (Your tag, Back, 3D) keep their places. */\n    (function () {\n      if (stage.hasAttribute('data-stage-keep-order')) return;   /* 03/12 Ultra page: Front, Back, Size, Example 1 to 3 as written (Matt) */\n      var all = Array.prototype.slice.call(stage.querySelectorAll('[data-stage-panel]'));\n      if (!all.length) return;\n      function alt(p) { var i = p.querySelector('img'); return i ? (i.getAttribute('alt') || '').toLowerCase() : ''; }\n      function id(p) { return p.getAttribute('data-stage-panel'); }\n      function thumb(p) { return stage.querySelector('[data-stage-show=\"' + id(p) + '\"]'); }\n      var box = all[0].parentNode, strip = stage.querySelector('.std-product__thumbs'), frame = box.querySelector('.std-product__frame');\n      var reals = all.filter(function (p) { return p.getAttribute('data-stage-kind') === 'real' && id(p) !== 'size' && p.querySelector('img') && !p.classList.contains('preview-slot'); });\n      var first = reals.filter(function (p) { return alt(p).indexOf('close up') === -1; })[0];\n      /* an item with no real photo yet leads with its 3D render (Matt, 03/12: \"should lead with a render that shows the product\") */\n      if (!first) first = all.filter(function (p) { return id(p) !== 'size' && alt(p).indexOf('3d render') !== -1; })[0];\n      var close = reals.filter(function (p) { return alt(p).indexOf('close up') !== -1; })[0];\n      var lead = first ? [first, stage.querySelector('[data-stage-panel=\"size\"]'), close].filter(Boolean) : [];\n      var backs = all.filter(function (p) { return lead.indexOf(p) === -1 && ['size', 'live', 'back', '3d'].indexOf(id(p)) === -1 && p.getAttribute('data-stage-side') === 'back'; });\n      var pf = document.createDocumentFragment(), tf = document.createDocumentFragment();\n      lead.forEach(function (p) {\n        pf.appendChild(p);\n        var b = thumb(p);\n        if (b && strip) tf.appendChild(b);\n      });\n      box.insertBefore(pf, box.firstChild);\n      if (strip) strip.insertBefore(tf, strip.firstChild);\n      backs.forEach(function (p) {\n        box.insertBefore(p, frame);\n        var b = thumb(p);\n        if (b && strip) strip.appendChild(b);\n      });\n      if (first) all.forEach(function (p) { p.classList.toggle('is-active', p === first); });\n    })();\n    var panels = Array.prototype.slice.call(stage.querySelectorAll('[data-stage-panel]'));\n    var buttons = Array.prototype.slice.call(stage.querySelectorAll('[data-stage-show]'));\n    var extras = Array.prototype.slice.call(stage.querySelectorAll('[data-stage-for]'));\n    var count = stage.querySelector('[data-stage-count]');\n    var main = stage.querySelector('[data-stage-main]') || stage;\n    var ids = panels.map(function (p) { return p.getAttribute('data-stage-panel'); });\n    var current = Math.max(0, ids.indexOf((stage.querySelector('[data-stage-panel].is-active') || panels[0]).getAttribute('data-stage-panel')));\n    if (!panels.length) return;\n    stage.classList.add('is-staged');\n    stage.classList.toggle('is-single', panels.length < 2);\n\n    function show(id, keepFocus) {\n      var i = ids.indexOf(id);\n      if (i === -1) return;\n      current = i;\n      panels.forEach(function (p, n) { p.classList.toggle('is-active', n === i); });\n      buttons.forEach(function (b) {\n        var on = b.getAttribute('data-stage-show') === id;\n        b.setAttribute('aria-pressed', on ? 'true' : 'false');\n        if (on && b.parentNode.scrollTo && !keepFocus) {   /* bring the picked thumbnail into its strip's view */\n          var strip = b.parentNode;\n          if (strip.scrollWidth > strip.clientWidth) strip.scrollLeft = b.offsetLeft - strip.offsetLeft - strip.clientWidth / 2 + b.offsetWidth / 2;\n          if (strip.scrollHeight > strip.clientHeight) strip.scrollTop = b.offsetTop - strip.offsetTop - strip.clientHeight / 2 + b.offsetHeight / 2;\n        }\n      });\n      extras.forEach(function (e) { e.hidden = e.getAttribute('data-stage-for') !== id; });\n      var open = ids.filter(usable);\n      if (count) count.textContent = id === '3d' ? '3D' : id === 'all' ? 'All designs' : open.indexOf(id) === -1 ? '' : (open.indexOf(id) + 1) + ' of ' + open.length;\n      stage.setAttribute('data-stage-current', id);\n      markKind();\n    }\n    /* Real, Preview or 3D: which of the three is showing. The live preview counts as 3D while its 3D view is open. */\n    function tag3dOpen() { var t = stage.querySelector('.tagp'); return !!(t && t.classList.contains('is-3d')); }\n    function markKind() {\n      var kind = panels[current].getAttribute('data-stage-kind');\n      if (ids[current] === 'live' && tag3dOpen()) kind = '3d';\n      kinds.forEach(function (k) { k.setAttribute('aria-pressed', k.getAttribute('data-stage-kind-show') === kind ? 'true' : 'false'); });\n      stage.setAttribute('data-stage-kind-now', kind || '');\n      /* 03/12 (Matt: \"The size, you don't need real, photo, 3D, you just need a picture\"): no switch on a view with no dog, on a page of dog sets */\n      stage.toggleAttribute('data-stage-no-dog', panels[current].hasAttribute('data-stage-plain') || (!!stage.querySelector('[data-stage-dog]') && !panels[current].getAttribute('data-stage-dog')));\n    }\n    /* Leaving 3D by a thumbnail, an arrow, Real or Preview closes the live preview's 3D view (its own button does that). */\n    function close3d() {\n      var b3 = stage.querySelector('[data-tagp-3d]');\n      if (b3 && b3.getAttribute('aria-pressed') === 'true') b3.click();\n    }\n    /* A view whose thumbnail is hidden (an empty photo slot in the local preview) is passed over; so is the 3D view of\n       an item without the live preview, which is reached only by the 3D button. */\n    function usable(id) {\n      if (id === '3d' || id === 'all') return false;      /* All designs (round 23) is reached only by its button too */\n      var b = buttons.filter(function (x) { return x.getAttribute('data-stage-show') === id; })[0];\n      return !b || window.getComputedStyle(b).display !== 'none';\n    }\n    function step(by) {\n      /* round 23: a view that is a paged grid of designs turns its own pages first; at its last page the arrow moves on */\n      var grid = panels[current].querySelector('[data-grid]');\n      if (grid && grid._grid && grid._grid.go(by)) return;\n      var i = current;\n      for (var n = 0; n < ids.length; n++) { i = (i + by + ids.length) % ids.length; if (usable(ids[i])) break; }\n      show(ids[i]);\n    }\n    /* Real or Preview (Matt, 29/11: \"you should be able to cycle through real or preview\"): Real jumps to the first\n       real photo, Preview to the live preview, or to the first preview picture on a page without one.\n       Round 20, 03/12/2026 (agreed with Matt: one switch on every product page, \"keep it consitent in terms of location\n       etc\"): the third button, 3D, opens 3D inside the picture box. On a page with the live preview it shows Your tag\n       with its 3D view open; on the other pages it shows the item's own 3D view (assets/gallery-item-3d.js). */\n    var kinds = Array.prototype.slice.call(stage.querySelectorAll('[data-stage-kind-show]'));\n    function renders3d() { return panels.filter(function (p) { return p.getAttribute('data-stage-kind') === '3d' && p.getAttribute('data-stage-panel') !== '3d'; }); }\n\n    /* Design grids (round 23): \"All designs\" and the Preview row are grids of small labelled tiles inside the picture\n       box ([data-grid] holding [data-grid-item] tiles), shown a page at a time: data-per-page tiles, or\n       data-per-page-phone on a narrow screen, with \"2 of 5\" and its own arrows. Pressing a tile:\n         data-pick-slug   picks that design in the order form (its radio button), which brings Your tag back;\n         data-pick-panel  shows that picture of the gallery;\n         neither          opens the design large inside the grid, with a button back to the designs. */\n    Array.prototype.slice.call(stage.querySelectorAll('[data-grid]')).forEach(function (g) {\n      var items = Array.prototype.slice.call(g.querySelectorAll('[data-grid-item]')), countEl = g.querySelector('[data-grid-count]');\n      var big = g.querySelector('[data-grid-big]'), prevB = g.querySelector('[data-grid-prev]'), nextB = g.querySelector('[data-grid-next]'), page = 0;\n      function per() {\n        var phone = window.matchMedia && window.matchMedia('(max-width: 699px)').matches;\n        return Math.max(1, parseInt(g.getAttribute(phone ? 'data-per-page-phone' : 'data-per-page'), 10) || 12);\n      }\n      function pages() { return Math.max(1, Math.ceil(items.length / per())); }\n      function draw() {\n        var n = per(), total = pages();\n        if (page > total - 1) page = total - 1;\n        items.forEach(function (it, i) { it.hidden = Math.floor(i / n) !== page; });\n        if (countEl) countEl.textContent = total > 1 ? (page + 1) + ' of ' + total : '';\n        if (prevB) prevB.hidden = total < 2;\n        if (nextB) nextB.hidden = total < 2;\n        g.setAttribute('data-grid-page', page + 1); g.setAttribute('data-grid-pages', total);\n      }\n      function closeBig() { if (big) big.hidden = true; g.classList.remove('is-big'); }\n      function turn(by) { var total = pages(); page = (page + by + total) % total; draw(); }\n      if (prevB) prevB.addEventListener('click', function () { turn(-1); });\n      if (nextB) nextB.addEventListener('click', function () { turn(1); });\n      var back = g.querySelector('[data-grid-back]');\n      if (back) back.addEventListener('click', closeBig);\n      items.forEach(function (it) {\n        it.addEventListener('click', function () {\n          var slug = it.getAttribute('data-pick-slug'), pid = it.getAttribute('data-pick-panel');\n          if (slug) {\n            var radio = document.querySelector('input[type=\"radio\"][data-slug-base=\"' + slug + '\"], input[type=\"radio\"][data-slug=\"' + slug + '\"]');\n            if (radio) {\n              /* round 27: a tile may carry the name choice too (data-pick-name: \"With a name\" or \"No name\", the cat tag) */\n              var wantName = it.getAttribute('data-pick-name');\n              var nameRadio = wantName ? document.querySelector('input[type=\"radio\"][name=\"properties[Name on the tag]\"][value=\"' + wantName + '\"]') : null;\n              if (nameRadio && !nameRadio.checked) { nameRadio.checked = true; nameRadio.dispatchEvent(new Event('change', {bubbles: true})); }\n              radio.checked = true; radio.dispatchEvent(new Event('change', {bubbles: true}));\n              if (ids.indexOf('live') !== -1) show('live');\n              copySoon();\n              return;\n            }\n          }\n          if (pid && ids.indexOf(pid) !== -1) { show(pid); return; }\n          if (big) {\n            var im = big.querySelector('img'), cap = big.querySelector('p');\n            im.src = it.getAttribute('data-big'); im.alt = 'Design preview: ' + it.getAttribute('data-name');\n            if (cap) cap.textContent = it.getAttribute('data-name');\n            big.hidden = false; g.classList.add('is-big');\n          }\n        });\n      });\n      /* for the gallery's own arrows: true when the grid used the press (closed the large design, or turned a page) */\n      g._grid = {go: function (by) {\n        if (big && !big.hidden) { closeBig(); return true; }\n        if (page + by < 0 || page + by > pages() - 1) return false;\n        page += by; draw(); return true;\n      }};\n      draw();\n      window.addEventListener('resize', draw);\n    });\n    /* a page with neither kind of 3D view (the photo tag, until its 3D is made): the button stays in place, greyed */\n    var k3 = stage.querySelector('[data-stage-kind-show=\"3d\"]');\n    /* round 35: a page with one set per dog and no 3D made for those dogs yet (the line portrait) greys it too, so 3D\n       never opens the empty \"Your drawing\" tag in place of the dog being looked at. */\n    var dogSets = panels.some(function (p) { return p.getAttribute('data-stage-dog'); });\n    if (k3 && !k3.disabled && !renders3d()[0] && (dogSets || (ids.indexOf('3d') === -1 && !stage.querySelector('[data-tagp-3d]')))) {\n      k3.disabled = true;\n      if (!k3.querySelector('small')) k3.insertAdjacentHTML('beforeend', ' <small>Coming</small>');\n    }\n    kinds.forEach(function (k) {\n      k.addEventListener('click', function () {\n        var want = k.getAttribute('data-stage-kind-show');\n        /* 03/12/2026 (Matt: \"IT OPENS THE WRONG DOG\"): on a page with one set per dog (data-stage-dog), Real, The photo,\n           Preview and 3D stay on the dog being looked at; the first dog when the view has none (the size picture). */\n        var withDog = panels.filter(function (p) { return p.getAttribute('data-stage-dog'); });\n        if (withDog.length) {\n          var dogNow = panels[current] && panels[current].getAttribute('data-stage-dog');\n          if (!dogNow) dogNow = withDog[0].getAttribute('data-stage-dog');\n          var mine = withDog.filter(function (p) { return p.getAttribute('data-stage-kind') === want && p.getAttribute('data-stage-dog') === dogNow; })[0];\n          if (mine) { close3d(); show(mine.getAttribute('data-stage-panel')); return; }\n        }\n        if (want === '3d') {\n          var b3 = stage.querySelector('[data-tagp-3d]'), r3 = renders3d()[0];\n          if (ids.indexOf('3d') !== -1) {\n            show('3d');\n            if (window.LECGallery3D) window.LECGallery3D.open(panels[ids.indexOf('3d')].querySelector('[data-stage-3d]'));\n          } else if (b3 && ids.indexOf('live') !== -1) {\n            show('live');\n            if (b3.getAttribute('aria-pressed') !== 'true') b3.click();\n            markKind();\n          } else if (r3) show(r3.getAttribute('data-stage-panel'));      /* round 23: 3D renders, where there is no turning 3D yet (the photo tag) */\n          return;\n        }\n        close3d();\n        /* Round 23, 03/12/2026 (Matt: \"all of these should have an All designs screen too\"): the fourth button. */\n        if (want === 'all') { show('all'); return; }\n        if (want === 'preview' && ids.indexOf('live') !== -1) { show('live'); return; }\n        /* Round 23 (Matt: the preview \"should be different to the real so people can see a few on this one page\"): on a\n           page without the live preview, Preview opens a few designs side by side. */\n        if (want === 'preview' && ids.indexOf('several') !== -1) { show('several'); return; }\n        var hit = panels.filter(function (p) { return p.getAttribute('data-stage-kind') === want && usable(p.getAttribute('data-stage-panel')); })[0];\n        if (hit) show(hit.getAttribute('data-stage-panel'));\n      });\n    });\n    /* The live preview's own Front, Back and 3D buttons change whether 3D is open: keep the switch in step. */\n    stage.addEventListener('click', function (e) {\n      if (e.target.closest && e.target.closest('[data-tagp-side], [data-tagp-3d]')) setTimeout(markKind, 0);\n    });\n\n    buttons.forEach(function (b) {\n      b.addEventListener('click', function () { close3d(); show(b.getAttribute('data-stage-show')); });\n      b.addEventListener('keydown', function (e) {\n        if (e.key !== 'ArrowLeft' && e.key !== 'ArrowRight' && e.key !== 'ArrowUp' && e.key !== 'ArrowDown') return;\n        e.preventDefault();\n        step(e.key === 'ArrowLeft' || e.key === 'ArrowUp' ? -1 : 1);\n        var now = buttons.filter(function (x) { return x.getAttribute('aria-pressed') === 'true'; })[0];\n        if (now) now.focus();\n      });\n    });\n    /* The 3D thumbnail: Your tag, with its 3D view opened (the same as pressing \"3D preview\" under the tag). */\n    var open3d = stage.querySelector('[data-stage-open3d]');\n    if (open3d) open3d.addEventListener('click', function () {\n      show('live');\n      var b3 = document.querySelector('[data-tagp-3d]');\n      if (b3 && b3.getAttribute('aria-pressed') !== 'true') b3.click();\n    });\n    var prev = stage.querySelector('[data-stage-prev]'), next = stage.querySelector('[data-stage-next]');\n    if (prev) prev.addEventListener('click', function () { close3d(); step(-1); });\n    if (next) next.addEventListener('click', function () { close3d(); step(1); });\n\n    var sx = null, sy = null;\n    main.addEventListener('touchstart', function (e) {\n      if (e.touches.length !== 1 || e.target.closest('.tagp__3d, [data-stage-3d]')) { sx = null; return; }\n      sx = e.touches[0].clientX; sy = e.touches[0].clientY;\n    }, { passive: true });\n    main.addEventListener('touchend', function (e) {\n      if (sx === null) return;\n      var dx = e.changedTouches[0].clientX - sx, dy = e.changedTouches[0].clientY - sy;\n      sx = null;\n      if (Math.abs(dx) > 45 && Math.abs(dx) > Math.abs(dy) * 1.5) step(dx < 0 ? 1 : -1);\n    }, { passive: true });\n\n    /* The order form sits beside the gallery: any typing or choice in it brings the live preview back. */\n    if (ids.indexOf('live') !== -1) {\n      ['input', 'change'].forEach(function (ev) {\n        document.addEventListener(ev, function (e) {\n          if (!(e.target.closest && e.target.closest('form')) || e.target.closest('[data-stage]')) return;\n          /* A text box also fires \"change\" when it loses focus, for instance when the buyer presses 3D preview after\n             typing a phone number. That is not a new choice, and following it would switch the view under their finger.\n             So \"change\" counts only for choices (radio buttons, tick boxes, lists); typing is heard as \"input\". */\n          if (ev === 'change' && !e.target.matches('input[type=\"radio\"], input[type=\"checkbox\"], select')) return;\n          /* typing the back's details shows the Back view; anything else shows Your tag */\n          show(e.target.matches('[data-tagp-back], [data-tagp-chip]') && ids.indexOf('back') !== -1 ? 'back' : 'live', true);\n          copySoon();\n          /* the \"Your tag\" thumbnail follows the design that was picked */\n          var tile = e.target.matches('input[data-slug]') && e.target.closest('label'), pic = tile && tile.querySelector('img');\n          var thumb = stage.querySelector('[data-stage-live-thumb]');\n          if (pic && thumb) thumb.src = pic.currentSrc || pic.src;\n        });\n      });\n    }\n    /* Round 12 (Matt 30/11: \"shouldnt we just show the actual product for each\", \"there should be a back preview\"):\n       the size picture and the Back view are live COPIES of the preview's own front and back drawings, made again a\n       moment after every change in the form, so they always show the design picked, the name and the details typed.\n       A place for a copy is marked data-stage-copy=\"front\" or \"back\". */\n    var copyTimer = 0;\n    function copyNow() {\n      stage.querySelectorAll('[data-stage-copy]').forEach(function (slot) {\n        var src = document.querySelector(slot.getAttribute('data-stage-copy') === 'back' ? '[data-tagp-backface] svg' : '[data-tagp-front] svg');\n        if (!src || !src.firstChild) return;\n        var copy = window.LECCopySvg ? window.LECCopySvg(src) : src.cloneNode(true); copy.setAttribute('aria-hidden', 'true');      /* its own ids: see LECCopySvg in tag-preview.js */\n        slot.textContent = ''; slot.appendChild(copy);\n      });\n    }\n    function copySoon() { clearTimeout(copyTimer); copyTimer = setTimeout(function () { copyNow(); setTimeout(copyNow, 900); }, 350); }\n    if (stage.querySelector('[data-stage-copy]')) { copySoon(); window.addEventListener('load', copySoon); setTimeout(copyNow, 2500); }\n    show(ids[current], true);\n  }\n\n  function start() { document.querySelectorAll('[data-stage]').forEach(init); }\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start); else start();\n})();\n"],
  "mappings": "CAcC,UAAY,CACX,aAEA,SAAS,KAAK,MAAO,CACnB,GAAI,CAAC,MAAM,cAAc,oBAAoB,EAAG,QAM/C,UAAY,CACX,GAAI,MAAM,aAAa,uBAAuB,EAAG,OACjD,IAAI,IAAM,MAAM,UAAU,MAAM,KAAK,MAAM,iBAAiB,oBAAoB,CAAC,EACjF,GAAI,CAAC,IAAI,OAAQ,OACjB,SAAS,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