import { useEffect as i } from "react";
const n = () => {
  i(() => {
    const a = document.querySelectorAll("[data-pii='visible']");
    for (const e of a) {
      let t = null;
      "value" in e && e.value ? (t = e.value, e.setAttribute("data-frozen-pii-data", t), e.value = t) : e.textContent && (t = e.textContent, e.setAttribute("data-frozen-pii-data", t), e.textContent = t);
    }
  }, []);
};
export {
  n as default
};
//# sourceMappingURL=useFreezePiiData.js.map
