{
  "version": 3,
  "sources": ["/cdn/shop/t/10/assets/custom.js?enable_js_minification=1"],
  "sourcesContent": ["/*\n* Pipeline Theme\n*\n* Use this file to add custom Javascript to Pipeline.  Keeping your custom\n* Javascript in this fill will make it easier to update Pipeline. In order\n* to use this file you will need to open layout/theme.liquid and uncomment\n* the custom.js script import line near the bottom of the file.\n*\n*/\n\n\n(function() {\n\n  // Below are example event listeners.  They listen for theme events that Pipeline\n  // fires in order to make it easier for you to add customizations.\n\n  // Keep your scripts inside this IIFE function call to avoid leaking your\n  // variables into the global scope.\n\n\n  document.addEventListener('theme:variant:change', function(event) {\n    // You might use something like this to write a pre-order feature or a\n    // custom swatch feature.\n    var variant = event.detail.variant;\n    var container = event.target;\n    if (variant) {\n      console.log('Container \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2193');\n      console.log(container);\n      console.log('Variant \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2193');\n      console.log(variant);\n      // ... update some element on the page\n    }\n  });\n\n  document.addEventListener('theme:cart:change', function(event) {\n    var cart = event.detail.cart;\n    if (cart) {\n      console.log('Cart \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u2193');\n      console.log(cart);\n      // ... update an app or a custom shipping caluclator\n    }\n  });\n  // Fired when page loads to update header values\n  document.addEventListener('theme:cart:init', (e) => {\n    console.log('theme:cart:init');\n    console.log(e);\n  });\n\n  // Debounced scroll listeners.  Up and down only fire on direction changes\n  // These events are useful for creating sticky elements and popups.\n  document.addEventListener('theme:scroll', e => { console.log(e); });\n  document.addEventListener('theme:scroll:up', e => { console.log(e); });\n  document.addEventListener('theme:scroll:down', e => { console.log(e); });\n\n  // Debounced resize listener to bundle changes that trigger document reflow\n  document.addEventListener('theme:resize', e => { console.log(e); });\n\n  // Locks and unlocks page scroll for modals and drawers\n  // These are commented out because firing them will lock the page scroll\n  // the lock event must set `detail` to the modal or drawer body so the \n  // scroll locking code knows what element should maintain scoll. \n  // document.dispatchEvent(new CustomEvent('theme:scroll:lock', {bubbles: true, detail: scrollableInnerElement}));\n  // document.dispatchEvent(new CustomEvent('theme:scroll:unlock', {bubbles: true}));\n\n\n  // ^^ Keep your scripts inside this IIFE function call to avoid leaking your\n  // variables into the global scope.\n  function secondsToString(seconds) {\n    var numdays = Math.floor((seconds % 31536000) / 86400); \n    var numhours = Math.floor(((seconds % 31536000) % 86400) / 3600);\n    var numminutes = Math.floor((((seconds % 31536000) % 86400) % 3600) / 60);\n    var numseconds = (((seconds % 31536000) % 86400) % 3600) % 60;\n    return [numdays, numhours, numminutes, numseconds];\n  }\n  \n  var timers = document.querySelectorAll('[data-timer]');\n  for (var i = 0; i<timers.length; i++) {\n    var timer = timers[i];\n    setInterval(function() {\n      var time = parseInt(timer.dataset.timer, 10);\n      if (time < 0) { time = 0; }\n      if (time <= 0) {\n        timer.querySelector('[data-timer-header]').innerHTML = timer.dataset.endTitle;\n      } else {\n        timer.querySelector('[data-timer-header]').innerHTML = timer.dataset.title;\n      }\n      var breakdown = secondsToString(time);\n      timer.querySelector('[data-days]').innerHTML = breakdown[0];\n      timer.querySelector('[data-hours]').innerHTML = breakdown[1];\n      timer.querySelector('[data-minutes]').innerHTML = breakdown[2];\n      timer.querySelector('[data-seconds]').innerHTML = breakdown[3];\n      timer.dataset.timer = --time;\n    }, 1000);\n  }\n})();\n"],
  "mappings": "CAWC,UAAW,CASV,SAAS,iBAAiB,uBAAwB,SAAS,MAAO,CAGhE,IAAI,QAAU,MAAM,OAAO,QACvB,UAAY,MAAM,OAClB,UACF,QAAQ,IAAI,mEAAsB,EAClC,QAAQ,IAAI,SAAS,EACrB,QAAQ,IAAI,6EAAsB,EAClC,QAAQ,IAAI,OAAO,EAGvB,CAAC,EAED,SAAS,iBAAiB,oBAAqB,SAAS,MAAO,CAC7D,IAAI,KAAO,MAAM,OAAO,KACpB,OACF,QAAQ,IAAI,sFAAqB,EACjC,QAAQ,IAAI,IAAI,EAGpB,CA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