1 line
48 KiB
JSON
1 line
48 KiB
JSON
{"id":"Ul3A","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":1545395749058},{"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\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.bufferWhen=u;var t=s(require(\"tslib\")),e=require(\"../Subscription\"),r=require(\"../util/tryCatch\"),i=require(\"../util/errorObject\"),n=require(\"../OuterSubscriber\"),o=require(\"../util/subscribeToResult\");function s(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function u(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.closingSelector))},t}(),f=function(n){function s(t,e){var r=n.call(this,t)||this;return r.closingSelector=e,r.subscribing=!1,r.openBuffer(),r}return t.__extends(s,n),s.prototype._next=function(t){this.buffer.push(t)},s.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),n.prototype._complete.call(this)},s.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},s.prototype.notifyNext=function(t,e,r,i,n){this.openBuffer()},s.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},s.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];var s=(0,r.tryCatch)(this.closingSelector)();s===i.errorObject?this.error(i.errorObject.e):(t=new e.Subscription,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add((0,o.subscribeToResult)(this,s)),this.subscribing=!1)},s}(n.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":87}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":89}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":93}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":146}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":154}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":174}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":176}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":184}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":209}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":51,"column":0},"generated":{"line":1,"column":239}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":51,"column":0},"generated":{"line":1,"column":241}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":51,"column":0},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":278}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":287}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":298}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":300}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":311}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":318}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":320}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":326}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":329}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":332}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":338}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":340}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":344}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":348}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":355}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":358}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":365}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":375}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":390}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":395}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":397}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":401}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":407}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":414}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":430}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":437}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":462}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":494}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":496}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":499}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":502}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":504}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":539}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":541}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":546}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":549}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":551}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":554}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":563}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":571}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":573}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":1,"column":575}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":9},"generated":{"line":1,"column":584}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":52,"column":40},"generated":{"line":1,"column":586}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":589}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":4},"generated":{"line":1,"column":596}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":53,"column":17},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":608}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":626}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":633}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":2},"generated":{"line":1,"column":637}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":639}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":659}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":661}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":664}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":60,"column":3},"generated":{"line":1,"column":685}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":1,"column":687}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":18},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":28},"generated":{"line":1,"column":706}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":1,"column":711}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":32},"generated":{"line":1,"column":720}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":63,"column":53},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":725}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":734}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":744}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":748}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":750}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":752}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":1,"column":757}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":65,"column":1},"generated":{"line":1,"column":776}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":59,"column":22},"generated":{"line":1,"column":778}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":781}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":783}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":61},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":1,"column":795}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":1,"column":804}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":78,"column":4},"generated":{"line":1,"column":806}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":78,"column":10},"generated":{"line":1,"column":808}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":811}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":815}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":817}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":819}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":824}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":52},"generated":{"line":1,"column":829}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":90},"generated":{"line":1,"column":833}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":1,"column":838}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":1,"column":845}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":10},"generated":{"line":1,"column":847}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":74,"column":33},"generated":{"line":1,"column":863}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":4},"generated":{"line":1,"column":865}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":9},"generated":{"line":1,"column":867}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":79,"column":22},"generated":{"line":1,"column":880}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":884}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":80,"column":3},"generated":{"line":1,"column":897}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":899}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":1,"column":906}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":1,"column":908}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":2},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":77,"column":14},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":20},"generated":{"line":1,"column":923}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":21},"generated":{"line":1,"column":925}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":1,"column":935}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":1,"column":941}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":83,"column":28},"generated":{"line":1,"column":950}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":953}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":958}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":965}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":970}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":19},"generated":{"line":1,"column":974}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":23},"generated":{"line":1,"column":976}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":1,"column":986}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":87,"column":31},"generated":{"line":1,"column":996}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1007}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":1,"column":1011}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":1,"column":1013}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":1,"column":1018}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":1,"column":1025}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":1,"column":1028}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":1,"column":1033}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":1,"column":1045}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":1,"column":1050}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":1,"column":1053}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":1,"column":1055}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":1,"column":1065}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":1,"column":1075}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":92,"column":3},"generated":{"line":1,"column":1080}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":18},"generated":{"line":1,"column":1087}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":18},"generated":{"line":1,"column":1089}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":23},"generated":{"line":1,"column":1099}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":96,"column":23},"generated":{"line":1,"column":1112}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":1123}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":1128}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":97,"column":9},"generated":{"line":1,"column":1135}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":1,"column":1140}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":1,"column":1145}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":98,"column":3},"generated":{"line":1,"column":1158}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":19},"generated":{"line":1,"column":1161}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":21},"generated":{"line":1,"column":1163}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1173}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1184}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1193}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1195}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1197}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1199}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":1,"column":1201}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":1,"column":1204}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":1,"column":1209}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":13},"generated":{"line":1,"column":1223}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":13},"generated":{"line":1,"column":1225}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":1,"column":1235}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":1,"column":1250}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":108,"column":6},"generated":{"line":1,"column":1261}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":108,"column":11},"generated":{"line":1,"column":1266}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":109,"column":5},"generated":{"line":1,"column":1278}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":109,"column":5},"generated":{"line":1,"column":1283}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":1,"column":1294}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":111,"column":5},"generated":{"line":1,"column":1299}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":1313}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":1315}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":1325}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":116,"column":10},"generated":{"line":1,"column":1336}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1347}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1351}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":29},"generated":{"line":1,"column":1353}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":118,"column":29},"generated":{"line":1,"column":1358}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":119,"column":6},"generated":{"line":1,"column":1378}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":1,"column":1382}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":1,"column":1387}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":120,"column":6},"generated":{"line":1,"column":1394}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1397}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1399}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":8},"generated":{"line":1,"column":1414}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":8},"generated":{"line":1,"column":1418}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":13},"generated":{"line":1,"column":1420}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":124,"column":21},"generated":{"line":1,"column":1425}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":125,"column":6},"generated":{"line":1,"column":1432}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":125,"column":11},"generated":{"line":1,"column":1437}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":1,"column":1445}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":1,"column":1450}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":1,"column":1462}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":126,"column":5},"generated":{"line":1,"column":1467}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":1,"column":1470}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":1,"column":1475}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":1,"column":1482}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":8},"generated":{"line":1,"column":1485}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":8},"generated":{"line":1,"column":1489}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":23},"generated":{"line":1,"column":1492}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":28},"generated":{"line":1,"column":1494}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":28},"generated":{"line":1,"column":1496}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":28},"generated":{"line":1,"column":1506}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":39},"generated":{"line":1,"column":1511}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":132,"column":23},"generated":{"line":1,"column":1527}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":6},"generated":{"line":1,"column":1530}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":17},"generated":{"line":1,"column":1534}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":133,"column":32},"generated":{"line":1,"column":1536}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":1,"column":1548}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":1,"column":1553}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":1,"column":1559}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":1,"column":1561}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":134,"column":5},"generated":{"line":1,"column":1573}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":6},"generated":{"line":1,"column":1577}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":11},"generated":{"line":1,"column":1579}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":30},"generated":{"line":1,"column":1583}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":136,"column":11},"generated":{"line":1,"column":1585}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":11},"generated":{"line":1,"column":1598}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":11},"generated":{"line":1,"column":1603}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":137,"column":15},"generated":{"line":1,"column":1623}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":1,"column":1625}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":1,"column":1630}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":138,"column":11},"generated":{"line":1,"column":1634}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":1,"column":1637}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":6},"generated":{"line":1,"column":1642}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":139,"column":25},"generated":{"line":1,"column":1655}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":6},"generated":{"line":1,"column":1657}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":25},"generated":{"line":1,"column":1659}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":30},"generated":{"line":1,"column":1664}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":1,"column":1666}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":1,"column":1668}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":1,"column":1687}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":140,"column":31},"generated":{"line":1,"column":1692}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":1,"column":1696}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":1,"column":1701}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":141,"column":5},"generated":{"line":1,"column":1714}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":1718}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":1720}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":1721}},{"source":"../../../src/internal/operators/bufferWhen.ts","name":null,"original":{"line":72,"column":38},"generated":{"line":1,"column":1723}}],"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 * <span class=\"informal\">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.</span>\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<T[]>} An observable of arrays of buffered values.\n * @method bufferWhen\n * @owner Observable\n */\nexport function bufferWhen<T>(closingSelector: () => Observable<any>): OperatorFunction<T, T[]> {\n return function (source: Observable<T>) {\n return source.lift(new BufferWhenOperator(closingSelector));\n };\n}\n\nclass BufferWhenOperator<T> implements Operator<T, T[]> {\n\n constructor(private closingSelector: () => Observable<any>) {\n }\n\n call(subscriber: Subscriber<T[]>, 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<T> extends OuterSubscriber<T, any> {\n private buffer: T[];\n private subscribing: boolean = false;\n private closingSubscription: Subscription;\n\n constructor(destination: Subscriber<T[]>, private closingSelector: () => Observable<any>) {\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<T, any>): 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":"321f72a9a2d7b4dbfb77454f51999c51","cacheData":{"env":{}}} |