"use client";
import { stringifyEntities as i } from "../../../stringify-entities/lib/index.js";
const c = ["<", "&"];
function u(e, n, t, s) {
  return t && t.type === "element" && (t.tagName === "script" || t.tagName === "style") ? e.value : i(
    e.value,
    Object.assign({}, s.settings.characterReferences, {
      subset: c
    })
  );
}
export {
  u as text
};
