const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.js');
const require_assertString$1 = require('./util/assertString.js');
const require_merge$1 = require('./util/merge.js');
const require_toString$1 = require('./util/toString.js');

//#region ../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/contains.js
var require_contains = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/contains.js": ((exports, module) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.default = contains;
	var _assertString = _interopRequireDefault(require_assertString$1.require_assertString());
	var _toString = _interopRequireDefault(require_toString$1.require_toString());
	var _merge = _interopRequireDefault(require_merge$1.require_merge());
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { default: obj };
	}
	var defaulContainsOptions = {
		ignoreCase: false,
		minOccurrences: 1
	};
	function contains(str, elem, options) {
		(0, _assertString.default)(str);
		options = (0, _merge.default)(options, defaulContainsOptions);
		if (options.ignoreCase) return str.toLowerCase().split((0, _toString.default)(elem).toLowerCase()).length > options.minOccurrences;
		return str.split((0, _toString.default)(elem)).length > options.minOccurrences;
	}
	module.exports = exports.default;
	module.exports.default = exports.default;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_contains();
  }
});