"use strict";document.addEventListener("DOMContentLoaded",function(){var t=getArrayOfElements("[data-control]"),n=getArrayOfElements("[data-product-modal]"),i=getArrayOfElements("[data-table-close]");t.map(function(t){t.addEventListener("mouseenter",function(){n.map(function(n){n.attributes["data-control-target"].value===t.attributes["data-control"].value?n.classList.toggle("active"):n.classList.remove("active")})})});i.map(function(t){t.addEventListener("click",function(){n.map(function(n){n.attributes["data-control-target"].value===t.attributes["data-table-close"].value&&n.classList.remove("active")})})})})