{"product_id":"boom-example","title":"Boom-Example","description":"\u003cdiv class=\"videomobileview image-wrapperxyz\"\u003e\u003cdiv class=\"dw-full\"\u003e\n\u003cstyle\u003e.dw-full{  width:100vw;  max-width:100vw;  position:relative;  left:50%;  margin-left:-50vw;  box-sizing:border-box;  background:#000;  line-height:0;}.dw-full img.dw-static{  display:block !important;  width:100% !important;  height:auto !important;  margin:0;}\/* gradient: black (top) -\u003e white (bottom) *\/.dw-full .dw-carousel-block{  width:100%;  margin:0;  padding:20px 0 0;  overflow:hidden;  background:linear-gradient(to bottom, #000000 0%, #ffffff 100%);  --sw:72vw;  --gap:12px;  --p:calc(var(--sw) + var(--gap));  touch-action:pan-y;}.dw-full .dw-track{  display:flex;  align-items:flex-start;  gap:var(--gap);  width:max-content;  padding-left:calc((100vw - var(--sw)) \/ 2);  animation:dwMove 7.5s infinite cubic-bezier(.4,0,.2,1);  will-change:transform;  touch-action:pan-y;  user-select:none;  -webkit-user-select:none;  -webkit-touch-callout:none;}.dw-full .dw-slide{  flex:0 0 var(--sw);  width:var(--sw);  margin:0;  padding:0;}.dw-full .dw-slide img{  display:block !important;  width:100% !important;  height:auto !important;  max-width:none !important;  margin:0;  pointer-events:none;  -webkit-user-drag:none;  border-radius: 20px;}\/* CSS-only autoplay (used only if the script does not start) *\/@keyframes dwMove{  0%,13.33%   {transform:translateX(calc(var(--p) * -1));}  20%,33.33%  {transform:translateX(calc(var(--p) * -2));}  40%,53.33%  {transform:translateX(calc(var(--p) * -3));}  60%,73.33%  {transform:translateX(calc(var(--p) * -4));}  80%,93.33%  {transform:translateX(calc(var(--p) * -5));}  100%        {transform:translateX(calc(var(--p) * -6));}}\/* ---------- DOTS ---------- *\/.dw-full .dw-dots{  display:flex;  justify-content:center;  align-items:center;  padding:16px 0 28px;  line-height:normal;}.dw-full .dw-dots span{  position:relative;  display:block;  width:6px;  height:6px;  margin:0 4px;  border-radius:20px;  background:rgba(0,0,0,.25);  cursor:pointer;  -webkit-tap-highlight-color:transparent;  animation:dwDot 7.5s infinite cubic-bezier(.4,0,.2,1);}.dw-full .dw-dots span::after{  content:\"\";  position:absolute;  top:-14px; bottom:-14px; left:-6px; right:-6px;}.dw-full .dw-dots span:nth-child(1){animation-delay:0s;}.dw-full .dw-dots span:nth-child(2){animation-delay:-6s;}.dw-full .dw-dots span:nth-child(3){animation-delay:-4.5s;}.dw-full .dw-dots span:nth-child(4){animation-delay:-3s;}.dw-full .dw-dots span:nth-child(5){animation-delay:-1.5s;}@keyframes dwDot{  0%,13.33%  {width:20px;background:rgba(0,0,0,1);}  20%,93.33% {width:6px;background:rgba(0,0,0,.25);}  100%       {width:20px;background:rgba(0,0,0,1);}}\/* once the script is running, it controls everything *\/.dw-full .dw-js .dw-track{animation:none !important;}.dw-full .dw-js .dw-dots span{  animation:none !important;  transition:width .5s cubic-bezier(.4,0,.2,1), background .5s ease;}.dw-full .dw-js .dw-dots span.on{  width:20px !important;  background:#000 !important;}@media (min-width:769px){  .dw-full{display:none !important;}}\u003c\/style\u003e\n\u003cimg class=\"dw-static\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/boom-mob-1.webp?v=1795608915\" alt=\"Compact design\"\u003e\u003cimg class=\"dw-static\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/boom-mob-2.webp?v=1795608920\" alt=\"15 hrs non-stop music\"\u003e\u003cdiv class=\"dw-carousel-block\" data-dw=\"1\"\u003e  \u003cdiv class=\"dw-track\"\u003e    \u003cdiv class=\"dw-slide\" aria-hidden=\"true\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-5.webp?v=1795608961\" alt=\"\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-1.webp?v=1795608960\" alt=\"Mobile Feature 1\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-2.webp?v=1795608961\" alt=\"Mobile Feature 2\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-3.webp?v=1795608961\" alt=\"Mobile Feature 3\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-4.webp?v=1795608961\" alt=\"Mobile Feature 4\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-5.webp?v=1795608961\" alt=\"Mobile Feature 5\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\" aria-hidden=\"true\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-1.webp?v=1795608960\" alt=\"\"\u003e\u003c\/div\u003e    \u003cdiv class=\"dw-slide\" aria-hidden=\"true\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/Boom-feature-carousel-2.webp?v=1795608961\" alt=\"\"\u003e\u003c\/div\u003e  \u003c\/div\u003e  \u003cdiv class=\"dw-dots\"\u003e    \u003cspan\u003e\u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e  \u003c\/div\u003e\n\u003c\/div\u003e\n\u003cimg class=\"dw-static\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0666\/4870\/3294\/files\/boom-mob-3.webp?v=1795608927\" alt=\"40W powerful sound\"\u003e\u003cscript\u003e(function () {  var DELAY = 1500;     \/* autoplay interval (ms) *\/  var ANIM  = 500;      \/* slide animation (ms), keep below DELAY *\/  var PAUSE = 2500;     \/* autoplay pause after a touch (ms) *\/  var DEBUG = false;    \/* true = small red status badge on screen *\/  var badge = null;  function log(t) {    if (!DEBUG) return;    if (!badge) {      badge = document.createElement('div');      badge.style.cssText = 'position:fixed;left:6px;top:6px;z-index:2147483647;background:#e00;color:#fff;font:12px\/1.3 monospace;padding:4px 6px;border-radius:4px;';      document.body.appendChild(badge);    }    badge.textContent = 'dw: ' + t;  }  function init(block) {    if (block.getAttribute('data-ready')) return true;    var track = block.querySelector('.dw-track');    var slides = [].slice.call(block.querySelectorAll('.dw-slide'));    var dots = [].slice.call(block.querySelectorAll('.dw-dots span'));    var n = dots.length;    if (!track || slides.length \u003c 2 || !n) return false;    var p = slides[1].getBoundingClientRect().left - slides[0].getBoundingClientRect().left;    if (!(p \u003e 20)) return false;                 \/* not visible\/laid out yet: try again later *\/    block.setAttribute('data-ready', '1');    var pos = 0, dragging = false, axis = null, startX = 0, startY = 0, basePos = 0;    var pausedUntil = 0, fixTimer = null;    function mod(i) { return ((i % n) + n) % n; }    function measure() {      var d = slides[1].getBoundingClientRect().left - slides[0].getBoundingClientRect().left;      if (d \u003e 20) p = d;    }    function setX(v, anim) {      track.style.setProperty('transition', anim ? 'transform ' + ANIM + 'ms cubic-bezier(.4,0,.2,1)' : 'none', 'important');      track.style.setProperty('transform', 'translate3d(' + (-(v + 1) * p) + 'px,0,0)', 'important');    }    function setDot() {      var idx = mod(Math.round(pos));      for (var k = 0; k \u003c dots.length; k++) dots[k].className = (k === idx) ? 'on' : '';    }    function currentX() {      var t = window.getComputedStyle(track).transform;      if (!t || t === 'none') return -(pos + 1) * p;      try { return new DOMMatrixReadOnly(t).m41; }      catch (e) {        var m = t.match(\/matrix(3d)?\\((.+)\\)\/);        if (!m) return -(pos + 1) * p;        var a = m[2].split(',');        return parseFloat(m[1] ? a[12] : a[4]) || 0;      }    }    function normalize() {      if (dragging) return;      if (pos \u003c 0 || pos \u003e= n) { pos = mod(pos); setX(pos, false); }    }    function goTo(t) {      t = Math.max(-1, Math.min(n, t));      pos = t;      setX(pos, true);      setDot();      clearTimeout(fixTimer);      fixTimer = setTimeout(normalize, ANIM + 40);    }    function freeze() {      clearTimeout(fixTimer);      pos = (-currentX() \/ p) - 1;      setX(pos, false);      if (pos \u003c -0.5 || pos \u003e n - 0.5) {        var r = Math.round(pos);        pos = mod(r) + (pos - r);        setX(pos, false);      }    }    \/* ---------- gestures ---------- *\/    function begin(x, y) {      measure();      freeze();      dragging = true; axis = null;      startX = x; startY = y; basePos = pos;      pausedUntil = Date.now() + 60000;      log('down');    }    function move(x, y, ev) {      if (!dragging) return;      var dx = x - startX, dy = y - startY;      if (axis === null) {        if (Math.abs(dx) \u003c 5 \u0026\u0026 Math.abs(dy) \u003c 5) return;        axis = Math.abs(dx) \u003e Math.abs(dy) ? 'h' : 'v';        if (axis === 'v') {                        \/* user is scrolling the page *\/          dragging = false;          pausedUntil = Date.now() + PAUSE;          goTo(Math.round(pos));          return;        }      }      if (ev \u0026\u0026 ev.cancelable) ev.preventDefault();      pos = Math.max(-1, Math.min(n, basePos - dx \/ p));      setX(pos, false);      setDot();      log('drag ' + Math.round(dx));    }    function end(x, cancelled) {      if (!dragging) return;      dragging = false;      pausedUntil = Date.now() + PAUSE;      var dx = cancelled ? 0 : (x - startX);      var from = Math.round(basePos);      var target = Math.round(basePos - dx \/ p);      if (target === from \u0026\u0026 Math.abs(dx) \u003e 30) target = from + (dx \u003c 0 ? 1 : -1);      goTo(target);      log('release');    }    \/* listeners on document in the CAPTURE phase: runs before any theme handler *\/    document.addEventListener('touchstart', function (e) {      if (!block.contains(e.target)) return;      var t = e.touches[0]; begin(t.clientX, t.clientY);    }, { capture: true, passive: true });    document.addEventListener('touchmove', function (e) {      if (!dragging) return;      var t = e.touches[0]; move(t.clientX, t.clientY, e);    }, { capture: true, passive: false });    document.addEventListener('touchend', function (e) {      if (!dragging) return;      var t = e.changedTouches[0]; end(t.clientX, false);    }, { capture: true, passive: true });    document.addEventListener('touchcancel', function () {      if (dragging) end(startX, true);    }, { capture: true, passive: true });    \/* mouse (desktop testing) *\/    document.addEventListener('mousedown', function (e) {      if (e.button !== 0 || !block.contains(e.target)) return;      begin(e.clientX, e.clientY);    }, true);    document.addEventListener('mousemove', function (e) { move(e.clientX, e.clientY, e); }, true);    document.addEventListener('mouseup', function (e) { end(e.clientX, false); }, true);    \/* ---------- dots ---------- *\/    dots.forEach(function (d, i) {      d.addEventListener('click', function () {        measure(); freeze();        var cur = Math.round(pos);        var diff = i - mod(cur);        if (diff \u003e 2) diff -= n;        if (diff \u003c -2) diff += n;        pausedUntil = Date.now() + PAUSE;        goTo(cur + diff);      });    });    \/* ---------- autoplay ---------- *\/    setInterval(function () {      if (dragging || Date.now() \u003c pausedUntil) return;      measure();      goTo(Math.round(pos) + 1);    }, DELAY);    \/* ---------- take over from the CSS animation ---------- *\/    block.classList.add('dw-js');    pos = 0;    setX(0, false);    setDot();    window.addEventListener('resize', function () {      measure();      if (!dragging) { pos = mod(Math.round(pos)); setX(pos, false); }    });    log('running');    return true;  }  function initAll() {    var all = document.querySelectorAll('.dw-carousel-block[data-dw]');    var ok = true;    for (var i = 0; i \u003c all.length; i++) {      try { if (!init(all[i])) ok = false; } catch (err) { ok = false; log('error'); }    }    return ok \u0026\u0026 all.length \u003e 0;  }  \/* keep trying until the carousel is visible and has a real width *\/  var tries = 0;  var retry = setInterval(function () {    tries++;    if (initAll() || tries \u003e 60) clearInterval(retry);  }, 250);  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', initAll);  window.addEventListener('load', initAll);  document.addEventListener('shopify:section:load', initAll);  initAll();})();\u003c\/script\u003e\n\u003c\/div\u003e\u003c\/div\u003e","brand":"Acwo Lifestyle Pvt Ltd","offers":[{"title":"Default Title","offer_id":68207040036954,"sku":null,"price":0.0,"currency_code":"INR","in_stock":false}],"url":"https:\/\/bazaar.velocity.in\/products\/boom-example","provider":"Velocity Marketplace","version":"1.0","type":"link"}