const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.js');
const require_normalizeArguments$1 = require('../normalizeArguments.js');
const require_PhoneNumberMatcher$1 = require('../PhoneNumberMatcher.js');

//#region ../../node_modules/.pnpm/libphonenumber-js@1.11.3/node_modules/libphonenumber-js/build/legacy/searchNumbers.js
var require_searchNumbers = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/libphonenumber-js@1.11.3/node_modules/libphonenumber-js/build/legacy/searchNumbers.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports["default"] = searchNumbers;
	var _normalizeArguments2 = _interopRequireDefault(require_normalizeArguments$1.require_normalizeArguments());
	var _PhoneNumberMatcher = _interopRequireDefault(require_PhoneNumberMatcher$1.require_PhoneNumberMatcher());
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { "default": obj };
	}
	function _defineProperty(obj, key, value) {
		if (key in obj) Object.defineProperty(obj, key, {
			value,
			enumerable: true,
			configurable: true,
			writable: true
		});
		else obj[key] = value;
		return obj;
	}
	/**
	* @return ES6 `for ... of` iterator.
	*/
	function searchNumbers() {
		var _normalizeArguments = (0, _normalizeArguments2["default"])(arguments), text = _normalizeArguments.text, options = _normalizeArguments.options, metadata = _normalizeArguments.metadata;
		var matcher = new _PhoneNumberMatcher["default"](text, options, metadata);
		return _defineProperty({}, Symbol.iterator, function() {
			return { next: function next() {
				if (matcher.hasNext()) return {
					done: false,
					value: matcher.next()
				};
				return { done: true };
			} };
		});
	}
}) });

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