const y = (t) => {
  var a;
  (a = t.layerIds) != null && a.length && t.layerIds.forEach((i) => {
    const r = document.getElementById(i).children[0], e = r.style.transform.split(" ");
    if (r._transitionTimer && clearTimeout(r._transitionTimer), e.length >= 5) {
      const s = e[2] || "", n = e[3] || "", o = e[4] || "";
      r.style.transform = `scaleX(${t.x / 100}) scaleY(${t.y / 100}) ${s} ${n} ${o}`;
    } else {
      const s = e[0] || "", n = e[1] || "", o = e[2] || "";
      r.style.transform = `scaleX(${t.x / 100}) scaleY(${t.y / 100}) ${s} ${n} ${o}`;
    }
    if (r.style.transformOrigin = t.origin, t.speed !== "") {
      r.style.transition = `transform ${t.duration}ms ${t.speed} ${t.delay}ms`;
      const s = t.duration + t.delay;
      r._transitionTimer = setTimeout(() => {
        r.style.transition = "";
      }, s);
    }
  });
};
export {
  y as executeScaleAction
};
