const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_empty$1 = require('./empty.js');
const require_args$1 = require('../util/args.js');
const require_innerFrom$1 = require('./innerFrom.js');
const require_from$1 = require('./from.js');
const require_mergeAll$1 = require('../operators/mergeAll.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/observable/merge.js
var require_merge = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/observable/merge.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var mergeAll_1 = require_mergeAll$1.require_mergeAll();
	var innerFrom_1 = require_innerFrom$1.require_innerFrom();
	var empty_1 = require_empty$1.require_empty();
	var args_1 = require_args$1.require_args();
	var from_1 = require_from$1.require_from();
	function merge() {
		var args = [];
		for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
		var scheduler = args_1.popScheduler(args);
		var concurrent = args_1.popNumber(args, Infinity);
		var sources = args;
		return !sources.length ? empty_1.EMPTY : sources.length === 1 ? innerFrom_1.innerFrom(sources[0]) : mergeAll_1.mergeAll(concurrent)(from_1.from(sources, scheduler));
	}
	exports.merge = merge;
}) });

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