const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.js');
const require_isInt$1 = require('./isInt.js');

//#region ../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isPort.js
var require_isPort = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isPort.js": ((exports, module) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.default = isPort;
	var _isInt = _interopRequireDefault(require_isInt$1.require_isInt());
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { default: obj };
	}
	function isPort(str) {
		return (0, _isInt.default)(str, {
			allow_leading_zeroes: false,
			min: 0,
			max: 65535
		});
	}
	module.exports = exports.default;
	module.exports.default = exports.default;
}) });

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