/* Scoped to: home-appliances-template-marquee */
(function() {
  'use strict';
  var componentRoots = document.querySelectorAll('[data-component-slug="home-appliances-template-marquee"]');
  componentRoots.forEach(function(componentRoot) {
    // Helper to query within component, with fallback to document for sibling elements
    var $ = function(sel) { 
      return componentRoot.querySelector(sel) || document.querySelector('[data-component-slug="home-appliances-template-marquee"] ~ ' + sel) || document.querySelector(sel);
    };
    var $$ = function(sel) { 
      var results = componentRoot.querySelectorAll(sel);
      return results.length ? results : document.querySelectorAll(sel);
    };
    // Original component JS runs in this scope
    (function () { const scroller = document.querySelector(".marquee-content"); if (scroller) { const content = Array.from(scroller.children); content.forEach((item) => { const clone = item.cloneNode(true); scroller.appendChild(clone); }); content.forEach((item) => { const clone = item.cloneNode(true); scroller.appendChild(clone); }); } })();
  });
})();