{"id":"../node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/bufferWhen.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscription","loc":{"line":3,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"},{"name":"../util/tryCatch","loc":{"line":4,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/tryCatch.js"},{"name":"../util/errorObject","loc":{"line":5,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/errorObject.js"},{"name":"../OuterSubscriber","loc":{"line":6,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":7,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/bufferWhen.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.bufferWhen = bufferWhen;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscription = require(\"../Subscription\");\n\nvar _tryCatch = require(\"../util/tryCatch\");\n\nvar _errorObject = require(\"../util/errorObject\");\n\nvar _OuterSubscriber = require(\"../OuterSubscriber\");\n\nvar _subscribeToResult = require(\"../util/subscribeToResult\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_Subscription,_util_tryCatch,_util_errorObject,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction bufferWhen(closingSelector) {\n return function (source) {\n return source.lift(new BufferWhenOperator(closingSelector));\n };\n}\n\nvar BufferWhenOperator =\n/*@__PURE__*/\nfunction () {\n function BufferWhenOperator(closingSelector) {\n this.closingSelector = closingSelector;\n }\n\n BufferWhenOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n };\n\n return BufferWhenOperator;\n}();\n\nvar BufferWhenSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(BufferWhenSubscriber, _super);\n\n function BufferWhenSubscriber(destination, closingSelector) {\n var _this = _super.call(this, destination) || this;\n\n _this.closingSelector = closingSelector;\n _this.subscribing = false;\n\n _this.openBuffer();\n\n return _this;\n }\n\n BufferWhenSubscriber.prototype._next = function (value) {\n this.buffer.push(value);\n };\n\n BufferWhenSubscriber.prototype._complete = function () {\n var buffer = this.buffer;\n\n if (buffer) {\n this.destination.next(buffer);\n }\n\n _super.prototype._complete.call(this);\n };\n\n BufferWhenSubscriber.prototype._unsubscribe = function () {\n this.buffer = null;\n this.subscribing = false;\n };\n\n BufferWhenSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.openBuffer();\n };\n\n BufferWhenSubscriber.prototype.notifyComplete = function () {\n if (this.subscribing) {\n this.complete();\n } else {\n this.openBuffer();\n }\n };\n\n BufferWhenSubscriber.prototype.openBuffer = function () {\n var closingSubscription = this.closingSubscription;\n\n if (closingSubscription) {\n this.remove(closingSubscription);\n closingSubscription.unsubscribe();\n }\n\n var buffer = this.buffer;\n\n if (this.buffer) {\n this.destination.next(buffer);\n }\n\n this.buffer = [];\n var closingNotifier = (0, _tryCatch.tryCatch)(this.closingSelector)();\n\n if (closingNotifier === _errorObject.errorObject) {\n this.error(_errorObject.errorObject.e);\n } else {\n closingSubscription = new _Subscription.Subscription();\n this.closingSubscription = closingSubscription;\n this.add(closingSubscription);\n this.subscribing = true;\n closingSubscription.add((0, _subscribeToResult.subscribeToResult)(this, closingNotifier));\n this.subscribing = false;\n }\n };\n\n return BufferWhenSubscriber;\n}(_OuterSubscriber.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":51,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":9},"generated":{"line":23,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":23,"column":19}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":40},"generated":{"line":23,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":23,"column":35}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":40},"generated":{"line":23,"column":37}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":24,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":17},"generated":{"line":24,"column":19}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":24,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":23},"generated":{"line":24,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":45}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":46}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":61}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":62}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":25,"column":63}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":55,"column":1},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":29,"column":4}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":29,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":60},"generated":{"line":31,"column":12}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":32,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":32,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":60},"generated":{"line":32,"column":47}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":33,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":33,"column":24}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":33,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":33,"column":42}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":62,"column":2},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":36,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":36,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":28},"generated":{"line":36,"column":31}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":36,"column":38}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":36,"column":48}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":36,"column":58}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":53},"generated":{"line":36,"column":60}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":36,"column":66}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":65},"generated":{"line":36,"column":68}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":32}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":52}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":53}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":63}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":65}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":70}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":85}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":86}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":37,"column":87}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":65,"column":0},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":40,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":40,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":0},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":41,"column":1}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":43,"column":4}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":43,"column":24}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":61},"generated":{"line":45,"column":10}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":45,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":61},"generated":{"line":45,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":2}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":10}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":19}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":40}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":14},"generated":{"line":46,"column":42}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":46,"column":48}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":48,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":78,"column":4},"generated":{"line":48,"column":32}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":48,"column":45}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":48,"column":62}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":13}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":32}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":34}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":45}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":90},"generated":{"line":49,"column":50}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":49,"column":54}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":4}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":10}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":33},"generated":{"line":51,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":51,"column":43}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":4},"generated":{"line":52,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":4},"generated":{"line":52,"column":4}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":8},"generated":{"line":52,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":9},"generated":{"line":52,"column":10}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":4},"generated":{"line":52,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":52,"column":24}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":4},"generated":{"line":52,"column":29}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":56,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":56,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":82,"column":12},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":20},"generated":{"line":59,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":21},"generated":{"line":59,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":59,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":59,"column":41}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":59,"column":51}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":59,"column":56}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":59,"column":58}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":15}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":60,"column":26}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":86,"column":12},"generated":{"line":61,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":19},"generated":{"line":63,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":63,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":63,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":63,"column":45}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":63,"column":57}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":64,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":64,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":14},"generated":{"line":64,"column":14}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":64,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":64,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":64,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":66,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":89,"column":11},"generated":{"line":66,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":67,"column":34}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":91,"column":4},"generated":{"line":68,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":4}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":10}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":31}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":35}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":36}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":70,"column":40}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":95,"column":2},"generated":{"line":71,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":18},"generated":{"line":73,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":18},"generated":{"line":73,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":23},"generated":{"line":73,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":23},"generated":{"line":73,"column":48}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":23},"generated":{"line":73,"column":60}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":4},"generated":{"line":74,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":74,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":4},"generated":{"line":74,"column":15}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":74,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":4},"generated":{"line":74,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":75,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":75,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":75,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":75,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":75,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":100,"column":2},"generated":{"line":76,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":19},"generated":{"line":78,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":21},"generated":{"line":78,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":46}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":56}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":66}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":68}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":78}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":80}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":90}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":92}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":102}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":104}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":112}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":78,"column":114}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":79,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":79,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":79,"column":19}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":106,"column":2},"generated":{"line":80,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":13},"generated":{"line":82,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":13},"generated":{"line":82,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":82,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":82,"column":50}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":82,"column":62}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":83,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":83,"column":13}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":108,"column":22},"generated":{"line":83,"column":26}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":109,"column":5},"generated":{"line":84,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":109,"column":5},"generated":{"line":84,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":109,"column":5},"generated":{"line":84,"column":19}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":110,"column":6},"generated":{"line":85,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":86,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":86,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":86,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":112,"column":3},"generated":{"line":87,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":114,"column":2},"generated":{"line":88,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":90,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":90,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":90,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":90,"column":46}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":39},"generated":{"line":90,"column":58}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":4},"generated":{"line":91,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":91,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":27},"generated":{"line":91,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":29},"generated":{"line":91,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":29},"generated":{"line":91,"column":35}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":4},"generated":{"line":91,"column":54}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":119,"column":6},"generated":{"line":93,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":119,"column":18},"generated":{"line":93,"column":29}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":94,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":94,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":94,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":94,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":94,"column":37}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":95,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":95,"column":6}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":95,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":95,"column":26}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":95,"column":37}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":123,"column":4},"generated":{"line":96,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":4},"generated":{"line":98,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":8},"generated":{"line":98,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":13},"generated":{"line":98,"column":14}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":13},"generated":{"line":98,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":21},"generated":{"line":98,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":4},"generated":{"line":98,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":100,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":125,"column":11},"generated":{"line":100,"column":13}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":125,"column":11},"generated":{"line":100,"column":21}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":27}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":101,"column":34}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":128,"column":4},"generated":{"line":102,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":4},"generated":{"line":104,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":104,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":4},"generated":{"line":104,"column":15}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":104,"column":18}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":4},"generated":{"line":104,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":105,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":8},"generated":{"line":105,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":23},"generated":{"line":105,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":23},"generated":{"line":105,"column":26}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":28},"generated":{"line":105,"column":50}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":39},"generated":{"line":105,"column":55}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":23},"generated":{"line":105,"column":70}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":105,"column":73}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":6},"generated":{"line":107,"column":8}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":17},"generated":{"line":107,"column":23}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":17},"generated":{"line":107,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":32},"generated":{"line":107,"column":54}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":16}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":17}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":42}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":108,"column":43}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":135,"column":6},"generated":{"line":109,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":110,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":110,"column":6}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":11},"generated":{"line":110,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":11},"generated":{"line":110,"column":28}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":30},"generated":{"line":110,"column":32}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":11},"generated":{"line":110,"column":58}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":110,"column":60}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":111,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":11},"generated":{"line":111,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":111,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":15},"generated":{"line":111,"column":33}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":6},"generated":{"line":111,"column":52}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":6},"generated":{"line":112,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":112,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":6},"generated":{"line":112,"column":14}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":112,"column":15}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":6},"generated":{"line":112,"column":34}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":113,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":113,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":113,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":25},"generated":{"line":113,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":113,"column":29}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":6},"generated":{"line":114,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":6},"generated":{"line":114,"column":6}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":25},"generated":{"line":114,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":25},"generated":{"line":114,"column":26}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":6},"generated":{"line":114,"column":29}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":114,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":114,"column":72}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":114,"column":76}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":114,"column":78}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":114,"column":93}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":6},"generated":{"line":114,"column":94}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":115,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":115,"column":11}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":115,"column":22}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":115,"column":25}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":115,"column":30}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":142,"column":3},"generated":{"line":116,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":143,"column":0},"generated":{"line":117,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":119,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":119,"column":9}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":119,"column":29}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":120,"column":1}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":120,"column":34}}],"sources":{"../../../src/internal/operators/bufferWhen.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { tryCatch } from '../util/tryCatch';\nimport { errorObject } from '../util/errorObject';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { OperatorFunction } from '../types';\n\n/**\n * Buffers the source Observable values, using a factory function of closing\n * Observables to determine when to close, emit, and reset the buffer.\n *\n * Collects values from the past as an array. When it\n * starts collecting values, it calls a function that returns an Observable that\n * tells when to close the buffer and restart collecting.\n *\n * ![](bufferWhen.png)\n *\n * Opens a buffer immediately, then closes the buffer when the observable\n * returned by calling `closingSelector` function emits a value. When it closes\n * the buffer, it immediately opens a new buffer and repeats the process.\n *\n * ## Example\n *\n * Emit an array of the last clicks every [1-5] random seconds\n *\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const buffered = clicks.pipe(bufferWhen(() =>\n * interval(1000 + Math.random() * 4000)\n * ));\n * buffered.subscribe(x => console.log(x));\n * ```\n *\n *\n * @see {@link buffer}\n * @see {@link bufferCount}\n * @see {@link bufferTime}\n * @see {@link bufferToggle}\n * @see {@link windowWhen}\n *\n * @param {function(): Observable} closingSelector A function that takes no\n * arguments and returns an Observable that signals buffer closure.\n * @return {Observable} An observable of arrays of buffered values.\n * @method bufferWhen\n * @owner Observable\n */\nexport function bufferWhen(closingSelector: () => Observable): OperatorFunction {\n return function (source: Observable) {\n return source.lift(new BufferWhenOperator(closingSelector));\n };\n}\n\nclass BufferWhenOperator implements Operator {\n\n constructor(private closingSelector: () => Observable) {\n }\n\n call(subscriber: Subscriber, source: any): any {\n return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass BufferWhenSubscriber extends OuterSubscriber {\n private buffer: T[];\n private subscribing: boolean = false;\n private closingSubscription: Subscription;\n\n constructor(destination: Subscriber, private closingSelector: () => Observable) {\n super(destination);\n this.openBuffer();\n }\n\n protected _next(value: T) {\n this.buffer.push(value);\n }\n\n protected _complete() {\n const buffer = this.buffer;\n if (buffer) {\n this.destination.next(buffer);\n }\n super._complete();\n }\n\n /** @deprecated This is an internal implementation detail, do not use. */\n _unsubscribe() {\n this.buffer = null;\n this.subscribing = false;\n }\n\n notifyNext(outerValue: T, innerValue: any,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber): void {\n this.openBuffer();\n }\n\n notifyComplete(): void {\n if (this.subscribing) {\n this.complete();\n } else {\n this.openBuffer();\n }\n }\n\n openBuffer() {\n\n let { closingSubscription } = this;\n\n if (closingSubscription) {\n this.remove(closingSubscription);\n closingSubscription.unsubscribe();\n }\n\n const buffer = this.buffer;\n if (this.buffer) {\n this.destination.next(buffer);\n }\n\n this.buffer = [];\n\n const closingNotifier = tryCatch(this.closingSelector)();\n\n if (closingNotifier === errorObject) {\n this.error(errorObject.e);\n } else {\n closingSubscription = new Subscription();\n this.closingSubscription = closingSubscription;\n this.add(closingSubscription);\n this.subscribing = true;\n closingSubscription.add(subscribeToResult(this, closingNotifier));\n this.subscribing = false;\n }\n }\n}\n"},"lineCount":null}},"hash":"b8d72889ab6b810de9529f0d90893416","cacheData":{"env":{}}}