const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');

//#region ../../node_modules/xml-escape/index.js
var require_xml_escape = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/xml-escape/index.js": ((exports, module) => {
	var escape = module.exports = function escape$1(string, ignore) {
		var pattern;
		if (string === null || string === void 0) return;
		ignore = (ignore || "").replace(/[^&"<>\']/g, "");
		pattern = "([&\"<>'])".replace(new RegExp("[" + ignore + "]", "g"), "");
		return string.replace(new RegExp(pattern, "g"), function(str, item) {
			return escape$1.map[item];
		});
	};
	escape.map = {
		">": "&gt;",
		"<": "&lt;",
		"'": "&apos;",
		"\"": "&quot;",
		"&": "&amp;"
	};
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_xml_escape();
  }
});
//# sourceMappingURL=index.cjs.map