const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_identity$1 = require('../util/identity.js');
const require_pipe$1 = require('../util/pipe.js');
const require_mapOneOrManyArgs$1 = require('../util/mapOneOrManyArgs.js');
const require_mergeMap$1 = require('./mergeMap.js');
const require_toArray$1 = require('./toArray.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js
var require_joinAllInternals = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var identity_1 = require_identity$1.require_identity();
	var mapOneOrManyArgs_1 = require_mapOneOrManyArgs$1.require_mapOneOrManyArgs();
	var pipe_1 = require_pipe$1.require_pipe();
	var mergeMap_1 = require_mergeMap$1.require_mergeMap();
	var toArray_1 = require_toArray$1.require_toArray();
	function joinAllInternals(joinFn, project) {
		return pipe_1.pipe(toArray_1.toArray(), mergeMap_1.mergeMap(function(sources) {
			return joinFn(sources);
		}), project ? mapOneOrManyArgs_1.mapOneOrManyArgs(project) : identity_1.identity);
	}
	exports.joinAllInternals = joinAllInternals;
}) });

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