const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_ConnectableObservable$1 = require('../observable/ConnectableObservable.js');
const require_AsyncSubject$1 = require('../AsyncSubject.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/publishLast.js
var require_publishLast = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/publishLast.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var AsyncSubject_1 = require_AsyncSubject$1.require_AsyncSubject();
	var ConnectableObservable_1 = require_ConnectableObservable$1.require_ConnectableObservable();
	function publishLast() {
		return function(source) {
			var subject = new AsyncSubject_1.AsyncSubject();
			return new ConnectableObservable_1.ConnectableObservable(source, function() {
				return subject;
			});
		};
	}
	exports.publishLast = publishLast;
}) });

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