import { __commonJSMin } from "../../_virtual/rolldown_runtime.js";
import { require__trimmedEndIndex } from "./_trimmedEndIndex.js";
var require__baseTrim = /* @__PURE__ */ __commonJSMin(((e, n) => {
	var r = require__trimmedEndIndex(), i = /^\s+/;
	function a(e) {
		return e && e.slice(0, r(e) + 1).replace(i, "");
	}
	n.exports = a;
}));
export default require__baseTrim();
export { require__baseTrim };
