webdetector/.cache/68/579e603eb6e27ab340a0712902eda4.json
2018-12-21 13:36:28 +01:00

1 line
76 KiB
JSON

{"id":"JiQj","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/windowToggle.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/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subject","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subject.js"},{"name":"../Subscription","loc":{"line":4,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"},{"name":"../util/tryCatch","loc":{"line":5,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/tryCatch.js"},{"name":"../util/errorObject","loc":{"line":6,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/errorObject.js"},{"name":"../OuterSubscriber","loc":{"line":7,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":8,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowToggle.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.windowToggle=u;var t=c(require(\"tslib\")),e=require(\"../Subject\"),r=require(\"../Subscription\"),o=require(\"../util/tryCatch\"),i=require(\"../util/errorObject\"),n=require(\"../OuterSubscriber\"),s=require(\"../util/subscribeToResult\");function c(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 o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};o.get||o.set?Object.defineProperty(e,r,o):e[r]=t[r]}return e.default=t,e}function u(t,e){return function(r){return r.lift(new l(t,e))}}var l=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(n){function c(t,e,r){var o=n.call(this,t)||this;return o.openings=e,o.closingSelector=r,o.contexts=[],o.add(o.openSubscription=(0,s.subscribeToResult)(o,e,e)),o}return t.__extends(c,n),c.prototype._next=function(t){var e=this.contexts;if(e)for(var r=e.length,o=0;o<r;o++)e[o].window.next(t)},c.prototype._error=function(t){var e=this.contexts;if(this.contexts=null,e)for(var r=e.length,o=-1;++o<r;){var i=e[o];i.window.error(t),i.subscription.unsubscribe()}n.prototype._error.call(this,t)},c.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,r=-1;++r<e;){var o=t[r];o.window.complete(),o.subscription.unsubscribe()}n.prototype._complete.call(this)},c.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,r=-1;++r<e;){var o=t[r];o.window.unsubscribe(),o.subscription.unsubscribe()}},c.prototype.notifyNext=function(t,n,c,u,l){if(t===this.openings){var p=this.closingSelector,b=(0,o.tryCatch)(p)(n);if(b===i.errorObject)return this.error(i.errorObject.e);var f=new e.Subject,h=new r.Subscription,a={window:f,subscription:h};this.contexts.push(a);var d=(0,s.subscribeToResult)(this,b,a);d.closed?this.closeWindow(this.contexts.length-1):(d.context=a,h.add(d)),this.destination.next(f)}else this.closeWindow(this.contexts.indexOf(t))},c.prototype.notifyError=function(t){this.error(t)},c.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},c.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,r=e[t],o=r.window,i=r.subscription;e.splice(t,1),o.complete(),i.unsubscribe()}},c}(n.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":89}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":99}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":107}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":119}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":127}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":141}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":151}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":170}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":172}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":180}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":200}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":202}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":210}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":233}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":235}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":1,"column":243}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":58,"column":0},"generated":{"line":1,"column":265}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":58,"column":0},"generated":{"line":1,"column":267}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":58,"column":0},"generated":{"line":1,"column":275}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":304}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":313}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":315}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":318}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":326}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":337}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":344}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":346}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":350}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":352}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":355}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":358}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":364}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":366}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":379}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":381}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":384}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":391}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":401}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":416}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":421}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":423}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":426}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":427}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":433}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":456}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":463}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":488}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":495}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":525}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":535}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":541}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":548}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":563}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":567}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":570}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":572}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":575}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":577}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":580}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":587}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":589}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":597}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":60,"column":2},"generated":{"line":1,"column":601}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":60,"column":9},"generated":{"line":1,"column":610}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":60,"column":31},"generated":{"line":1,"column":612}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":60,"column":36},"generated":{"line":1,"column":614}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":624}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":633}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":636}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":643}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":645}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":656}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":61,"column":1},"generated":{"line":1,"column":658}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":1,"column":663}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":2},"generated":{"line":1,"column":667}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":45},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":680}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":22},"generated":{"line":1,"column":689}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":45},"generated":{"line":1,"column":691}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":45},"generated":{"line":1,"column":693}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":701}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":66,"column":22},"generated":{"line":1,"column":710}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":712}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":67,"column":3},"generated":{"line":1,"column":733}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":74,"column":1},"generated":{"line":1,"column":735}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":70,"column":18},"generated":{"line":1,"column":742}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":70,"column":18},"generated":{"line":1,"column":744}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":70,"column":28},"generated":{"line":1,"column":754}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":759}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":70,"column":32},"generated":{"line":1,"column":768}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":71,"column":6},"generated":{"line":1,"column":770}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":773}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":782}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":796}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":798}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":800}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":805}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":814}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":1,"column":819}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":74,"column":1},"generated":{"line":1,"column":838}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":65,"column":45},"generated":{"line":1,"column":840}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":843}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":845}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":66},"generated":{"line":1,"column":854}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":857}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":866}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":93,"column":4},"generated":{"line":1,"column":868}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":93,"column":21},"generated":{"line":1,"column":870}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":95,"column":3},"generated":{"line":1,"column":872}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":875}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":879}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":881}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":883}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":22},"generated":{"line":1,"column":888}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":45},"generated":{"line":1,"column":893}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":91,"column":45},"generated":{"line":1,"column":897}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":95,"column":3},"generated":{"line":1,"column":902}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":92,"column":22},"generated":{"line":1,"column":909}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":92,"column":22},"generated":{"line":1,"column":911}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":92,"column":22},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":87,"column":10},"generated":{"line":1,"column":922}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":87,"column":10},"generated":{"line":1,"column":924}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":87,"column":44},"generated":{"line":1,"column":940}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":94,"column":4},"generated":{"line":1,"column":942}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":94,"column":9},"generated":{"line":1,"column":944}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":94,"column":18},"generated":{"line":1,"column":953}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":956}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":958}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":962}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":964}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":982}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":984}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":986}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":1005}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":1007}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":1009}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":95,"column":3},"generated":{"line":1,"column":1013}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":1015}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":1022}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":1024}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":2},"generated":{"line":1,"column":1034}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":90,"column":14},"generated":{"line":1,"column":1036}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":98,"column":12},"generated":{"line":1,"column":1039}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":98,"column":12},"generated":{"line":1,"column":1041}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":98,"column":30},"generated":{"line":1,"column":1051}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":98,"column":30},"generated":{"line":1,"column":1057}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":98,"column":30},"generated":{"line":1,"column":1066}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1069}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":99,"column":8},"generated":{"line":1,"column":1073}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":99,"column":18},"generated":{"line":1,"column":1075}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":99,"column":18},"generated":{"line":1,"column":1080}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":100,"column":6},"generated":{"line":1,"column":1089}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":100,"column":6},"generated":{"line":1,"column":1092}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1094}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":101,"column":6},"generated":{"line":1,"column":1098}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":101,"column":6},"generated":{"line":1,"column":1102}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":101,"column":16},"generated":{"line":1,"column":1104}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":101,"column":23},"generated":{"line":1,"column":1106}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1113}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":17},"generated":{"line":1,"column":1115}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":20},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":20},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":102,"column":27},"generated":{"line":1,"column":1121}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":103,"column":7},"generated":{"line":1,"column":1125}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":103,"column":7},"generated":{"line":1,"column":1127}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":103,"column":7},"generated":{"line":1,"column":1130}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":103,"column":7},"generated":{"line":1,"column":1137}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":103,"column":7},"generated":{"line":1,"column":1142}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":109,"column":12},"generated":{"line":1,"column":1146}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":109,"column":12},"generated":{"line":1,"column":1148}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":109,"column":30},"generated":{"line":1,"column":1158}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":109,"column":30},"generated":{"line":1,"column":1165}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":109,"column":30},"generated":{"line":1,"column":1174}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":110,"column":8},"generated":{"line":1,"column":1177}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":110,"column":8},"generated":{"line":1,"column":1181}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":110,"column":17},"generated":{"line":1,"column":1183}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":110,"column":24},"generated":{"line":1,"column":1188}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":1,"column":1197}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":112,"column":8},"generated":{"line":1,"column":1200}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":112,"column":8},"generated":{"line":1,"column":1205}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":112,"column":18},"generated":{"line":1,"column":1214}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":113,"column":6},"generated":{"line":1,"column":1219}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":117,"column":8},"generated":{"line":1,"column":1221}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":1,"column":1225}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":114,"column":10},"generated":{"line":1,"column":1229}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":114,"column":15},"generated":{"line":1,"column":1231}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":114,"column":21},"generated":{"line":1,"column":1233}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":116,"column":6},"generated":{"line":1,"column":1240}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":116,"column":15},"generated":{"line":1,"column":1243}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":117,"column":14},"generated":{"line":1,"column":1247}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":117,"column":21},"generated":{"line":1,"column":1249}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":117,"column":24},"generated":{"line":1,"column":1252}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1253}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":118,"column":8},"generated":{"line":1,"column":1257}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":118,"column":22},"generated":{"line":1,"column":1259}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":118,"column":29},"generated":{"line":1,"column":1261}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":119,"column":8},"generated":{"line":1,"column":1264}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":119,"column":16},"generated":{"line":1,"column":1266}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":119,"column":16},"generated":{"line":1,"column":1273}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":119,"column":29},"generated":{"line":1,"column":1279}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":120,"column":7},"generated":{"line":1,"column":1282}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":120,"column":7},"generated":{"line":1,"column":1284}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":120,"column":7},"generated":{"line":1,"column":1297}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1311}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1313}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1323}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1330}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1335}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1340}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":127,"column":12},"generated":{"line":1,"column":1344}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":127,"column":12},"generated":{"line":1,"column":1346}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":127,"column":30},"generated":{"line":1,"column":1356}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":127,"column":30},"generated":{"line":1,"column":1366}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1377}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":128,"column":8},"generated":{"line":1,"column":1381}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":128,"column":17},"generated":{"line":1,"column":1383}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":128,"column":24},"generated":{"line":1,"column":1388}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":130,"column":6},"generated":{"line":1,"column":1397}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":129,"column":8},"generated":{"line":1,"column":1400}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":129,"column":8},"generated":{"line":1,"column":1405}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":129,"column":18},"generated":{"line":1,"column":1414}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":130,"column":6},"generated":{"line":1,"column":1419}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":133,"column":8},"generated":{"line":1,"column":1421}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":131,"column":10},"generated":{"line":1,"column":1425}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":131,"column":10},"generated":{"line":1,"column":1429}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":131,"column":15},"generated":{"line":1,"column":1431}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":131,"column":21},"generated":{"line":1,"column":1433}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":132,"column":6},"generated":{"line":1,"column":1440}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":132,"column":15},"generated":{"line":1,"column":1443}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":133,"column":14},"generated":{"line":1,"column":1447}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":133,"column":21},"generated":{"line":1,"column":1449}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":133,"column":24},"generated":{"line":1,"column":1452}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":134,"column":8},"generated":{"line":1,"column":1453}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":134,"column":8},"generated":{"line":1,"column":1457}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":134,"column":22},"generated":{"line":1,"column":1459}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":134,"column":31},"generated":{"line":1,"column":1461}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":135,"column":8},"generated":{"line":1,"column":1464}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":135,"column":16},"generated":{"line":1,"column":1466}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":135,"column":16},"generated":{"line":1,"column":1473}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":136,"column":7},"generated":{"line":1,"column":1484}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":136,"column":7},"generated":{"line":1,"column":1486}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":136,"column":7},"generated":{"line":1,"column":1499}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":139,"column":3},"generated":{"line":1,"column":1513}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":139,"column":3},"generated":{"line":1,"column":1515}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":139,"column":3},"generated":{"line":1,"column":1525}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":139,"column":3},"generated":{"line":1,"column":1535}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":139,"column":3},"generated":{"line":1,"column":1540}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":143,"column":12},"generated":{"line":1,"column":1547}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":143,"column":12},"generated":{"line":1,"column":1549}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":143,"column":30},"generated":{"line":1,"column":1559}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":143,"column":30},"generated":{"line":1,"column":1572}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":144,"column":8},"generated":{"line":1,"column":1583}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":144,"column":8},"generated":{"line":1,"column":1587}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":144,"column":17},"generated":{"line":1,"column":1589}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":144,"column":24},"generated":{"line":1,"column":1594}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":146,"column":6},"generated":{"line":1,"column":1603}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":145,"column":8},"generated":{"line":1,"column":1606}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":145,"column":8},"generated":{"line":1,"column":1611}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":145,"column":18},"generated":{"line":1,"column":1620}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":146,"column":6},"generated":{"line":1,"column":1625}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":149,"column":8},"generated":{"line":1,"column":1627}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":147,"column":10},"generated":{"line":1,"column":1631}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":147,"column":10},"generated":{"line":1,"column":1635}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":147,"column":15},"generated":{"line":1,"column":1637}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":147,"column":21},"generated":{"line":1,"column":1639}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":148,"column":6},"generated":{"line":1,"column":1646}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":148,"column":15},"generated":{"line":1,"column":1649}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":149,"column":14},"generated":{"line":1,"column":1653}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":149,"column":21},"generated":{"line":1,"column":1655}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":149,"column":24},"generated":{"line":1,"column":1658}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":150,"column":8},"generated":{"line":1,"column":1659}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":150,"column":8},"generated":{"line":1,"column":1663}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":150,"column":22},"generated":{"line":1,"column":1665}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":150,"column":23},"generated":{"line":1,"column":1667}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":151,"column":8},"generated":{"line":1,"column":1670}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":151,"column":16},"generated":{"line":1,"column":1672}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":151,"column":16},"generated":{"line":1,"column":1679}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":152,"column":7},"generated":{"line":1,"column":1693}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":152,"column":7},"generated":{"line":1,"column":1695}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":152,"column":7},"generated":{"line":1,"column":1708}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":18},"generated":{"line":1,"column":1724}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":23},"generated":{"line":1,"column":1726}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":28},"generated":{"line":1,"column":1736}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1747}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1756}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1758}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1760}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1762}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":160,"column":38},"generated":{"line":1,"column":1764}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":162,"column":14},"generated":{"line":1,"column":1767}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":162,"column":14},"generated":{"line":1,"column":1770}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":162,"column":14},"generated":{"line":1,"column":1774}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":162,"column":14},"generated":{"line":1,"column":1779}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":162,"column":14},"generated":{"line":1,"column":1788}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":163,"column":12},"generated":{"line":1,"column":1789}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":163,"column":12},"generated":{"line":1,"column":1793}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":163,"column":30},"generated":{"line":1,"column":1795}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":163,"column":30},"generated":{"line":1,"column":1800}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":10},"generated":{"line":1,"column":1816}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":25},"generated":{"line":1,"column":1819}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":30},"generated":{"line":1,"column":1821}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":30},"generated":{"line":1,"column":1823}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":30},"generated":{"line":1,"column":1833}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":25},"generated":{"line":1,"column":1835}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":165,"column":43},"generated":{"line":1,"column":1836}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":166,"column":8},"generated":{"line":1,"column":1839}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":166,"column":8},"generated":{"line":1,"column":1842}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":166,"column":26},"generated":{"line":1,"column":1846}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":166,"column":41},"generated":{"line":1,"column":1848}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1860}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1867}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1872}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1878}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1880}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":167,"column":7},"generated":{"line":1,"column":1892}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":169,"column":14},"generated":{"line":1,"column":1895}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":169,"column":14},"generated":{"line":1,"column":1899}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":169,"column":14},"generated":{"line":1,"column":1901}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":169,"column":29},"generated":{"line":1,"column":1905}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":169,"column":14},"generated":{"line":1,"column":1907}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":170,"column":14},"generated":{"line":1,"column":1915}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":170,"column":26},"generated":{"line":1,"column":1917}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":170,"column":26},"generated":{"line":1,"column":1921}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":170,"column":26},"generated":{"line":1,"column":1923}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":12},"generated":{"line":1,"column":1936}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":22},"generated":{"line":1,"column":1938}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":26},"generated":{"line":1,"column":1939}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":27},"generated":{"line":1,"column":1946}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":36},"generated":{"line":1,"column":1948}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":171,"column":36},"generated":{"line":1,"column":1961}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":172,"column":14},"generated":{"line":1,"column":1964}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":172,"column":14},"generated":{"line":1,"column":1969}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":172,"column":14},"generated":{"line":1,"column":1978}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":172,"column":14},"generated":{"line":1,"column":1983}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":12},"generated":{"line":1,"column":1986}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":12},"generated":{"line":1,"column":1990}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":30},"generated":{"line":1,"column":1993}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":38},"generated":{"line":1,"column":1995}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":38},"generated":{"line":1,"column":1997}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":38},"generated":{"line":1,"column":2016}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":38},"generated":{"line":1,"column":2021}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":174,"column":38},"generated":{"line":1,"column":2023}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":175,"column":10},"generated":{"line":1,"column":2026}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":175,"column":27},"generated":{"line":1,"column":2028}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2035}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2040}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2052}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2057}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2066}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":176,"column":9},"generated":{"line":1,"column":2073}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":178,"column":10},"generated":{"line":1,"column":2077}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":178,"column":27},"generated":{"line":1,"column":2079}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":178,"column":27},"generated":{"line":1,"column":2087}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":179,"column":9},"generated":{"line":1,"column":2089}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":179,"column":9},"generated":{"line":1,"column":2091}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":179,"column":9},"generated":{"line":1,"column":2095}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":183,"column":7},"generated":{"line":1,"column":2099}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":183,"column":7},"generated":{"line":1,"column":2104}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":183,"column":7},"generated":{"line":1,"column":2116}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":183,"column":7},"generated":{"line":1,"column":2121}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2129}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2134}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2146}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2151}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2160}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":186,"column":5},"generated":{"line":1,"column":2168}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":190,"column":20},"generated":{"line":1,"column":2173}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":190,"column":20},"generated":{"line":1,"column":2175}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":190,"column":20},"generated":{"line":1,"column":2185}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":190,"column":20},"generated":{"line":1,"column":2197}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":190,"column":20},"generated":{"line":1,"column":2206}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":191,"column":3},"generated":{"line":1,"column":2209}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":191,"column":3},"generated":{"line":1,"column":2214}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":191,"column":3},"generated":{"line":1,"column":2220}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":194,"column":22},"generated":{"line":1,"column":2224}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":194,"column":23},"generated":{"line":1,"column":2226}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":194,"column":23},"generated":{"line":1,"column":2236}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":194,"column":41},"generated":{"line":1,"column":2251}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":194,"column":41},"generated":{"line":1,"column":2260}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":195,"column":6},"generated":{"line":1,"column":2263}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":195,"column":11},"generated":{"line":1,"column":2267}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":195,"column":11},"generated":{"line":1,"column":2272}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2290}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2295}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2307}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2312}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2321}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2329}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":196,"column":5},"generated":{"line":1,"column":2331}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":200,"column":22},"generated":{"line":1,"column":2342}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":200,"column":22},"generated":{"line":1,"column":2344}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":200,"column":22},"generated":{"line":1,"column":2354}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":200,"column":22},"generated":{"line":1,"column":2366}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":200,"column":22},"generated":{"line":1,"column":2375}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":201,"column":6},"generated":{"line":1,"column":2378}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":201,"column":13},"generated":{"line":1,"column":2382}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":201,"column":6},"generated":{"line":1,"column":2386}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":201,"column":6},"generated":{"line":1,"column":2388}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":205,"column":10},"generated":{"line":1,"column":2389}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":205,"column":10},"generated":{"line":1,"column":2393}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":205,"column":20},"generated":{"line":1,"column":2395}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":205,"column":20},"generated":{"line":1,"column":2400}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":206,"column":12},"generated":{"line":1,"column":2409}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":206,"column":12},"generated":{"line":1,"column":2411}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":206,"column":12},"generated":{"line":1,"column":2413}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":4},"generated":{"line":1,"column":2416}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":13},"generated":{"line":1,"column":2418}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":25},"generated":{"line":1,"column":2420}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":1,"column":2427}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":1,"column":2429}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":1,"column":2431}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":208,"column":4},"generated":{"line":1,"column":2444}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":208,"column":11},"generated":{"line":1,"column":2446}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":208,"column":19},"generated":{"line":1,"column":2453}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":208,"column":22},"generated":{"line":1,"column":2455}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":209,"column":4},"generated":{"line":1,"column":2458}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":209,"column":4},"generated":{"line":1,"column":2460}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":210,"column":3},"generated":{"line":1,"column":2471}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":210,"column":3},"generated":{"line":1,"column":2473}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":2489}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":2491}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":2492}},{"source":"../../../src/internal/operators/windowToggle.ts","name":null,"original":{"line":86,"column":43},"generated":{"line":1,"column":2494}}],"sources":{"../../../src/internal/operators/windowToggle.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { Subject } from '../Subject';\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 * Branch out the source Observable values as a nested Observable starting from\n * an emission from `openings` and ending when the output of `closingSelector`\n * emits.\n *\n * <span class=\"informal\">It's like {@link bufferToggle}, but emits a nested\n * Observable instead of an array.</span>\n *\n * ![](windowToggle.png)\n *\n * Returns an Observable that emits windows of items it collects from the source\n * Observable. The output Observable emits windows that contain those items\n * emitted by the source Observable between the time when the `openings`\n * Observable emits an item and when the Observable returned by\n * `closingSelector` emits an item.\n *\n * ## Example\n * Every other second, emit the click events from the next 500ms\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const openings = interval(1000);\n * const result = clicks.pipe(\n * windowToggle(openings, i => i % 2 ? interval(500) : empty()),\n * mergeAll(),\n * );\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link window}\n * @see {@link windowCount}\n * @see {@link windowTime}\n * @see {@link windowWhen}\n * @see {@link bufferToggle}\n *\n * @param {Observable<O>} openings An observable of notifications to start new\n * windows.\n * @param {function(value: O): Observable} closingSelector A function that takes\n * the value emitted by the `openings` observable and returns an Observable,\n * which, when it emits (either `next` or `complete`), signals that the\n * associated window should complete.\n * @return {Observable<Observable<T>>} An observable of windows, which in turn\n * are Observables.\n * @method windowToggle\n * @owner Observable\n */\nexport function windowToggle<T, O>(openings: Observable<O>,\n closingSelector: (openValue: O) => Observable<any>): OperatorFunction<T, Observable<T>> {\n return (source: Observable<T>) => source.lift(new WindowToggleOperator<T, O>(openings, closingSelector));\n}\n\nclass WindowToggleOperator<T, O> implements Operator<T, Observable<T>> {\n\n constructor(private openings: Observable<O>,\n private closingSelector: (openValue: O) => Observable<any>) {\n }\n\n call(subscriber: Subscriber<Observable<T>>, source: any): any {\n return source.subscribe(new WindowToggleSubscriber(\n subscriber, this.openings, this.closingSelector\n ));\n }\n}\n\ninterface WindowContext<T> {\n window: Subject<T>;\n subscription: Subscription;\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass WindowToggleSubscriber<T, O> extends OuterSubscriber<T, any> {\n private contexts: WindowContext<T>[] = [];\n private openSubscription: Subscription;\n\n constructor(destination: Subscriber<Observable<T>>,\n private openings: Observable<O>,\n private closingSelector: (openValue: O) => Observable<any>) {\n super(destination);\n this.add(this.openSubscription = subscribeToResult(this, openings, openings as any));\n }\n\n protected _next(value: T) {\n const { contexts } = this;\n if (contexts) {\n const len = contexts.length;\n for (let i = 0; i < len; i++) {\n contexts[i].window.next(value);\n }\n }\n }\n\n protected _error(err: any) {\n\n const { contexts } = this;\n this.contexts = null;\n\n if (contexts) {\n const len = contexts.length;\n let index = -1;\n\n while (++index < len) {\n const context = contexts[index];\n context.window.error(err);\n context.subscription.unsubscribe();\n }\n }\n\n super._error(err);\n }\n\n protected _complete() {\n const { contexts } = this;\n this.contexts = null;\n if (contexts) {\n const len = contexts.length;\n let index = -1;\n while (++index < len) {\n const context = contexts[index];\n context.window.complete();\n context.subscription.unsubscribe();\n }\n }\n super._complete();\n }\n\n /** @deprecated This is an internal implementation detail, do not use. */\n _unsubscribe() {\n const { contexts } = this;\n this.contexts = null;\n if (contexts) {\n const len = contexts.length;\n let index = -1;\n while (++index < len) {\n const context = contexts[index];\n context.window.unsubscribe();\n context.subscription.unsubscribe();\n }\n }\n }\n\n notifyNext(outerValue: any, innerValue: any,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, any>): void {\n\n if (outerValue === this.openings) {\n\n const { closingSelector } = this;\n const closingNotifier = tryCatch(closingSelector)(innerValue);\n\n if (closingNotifier === errorObject) {\n return this.error(errorObject.e);\n } else {\n const window = new Subject<T>();\n const subscription = new Subscription();\n const context = { window, subscription };\n this.contexts.push(context);\n const innerSubscription = subscribeToResult(this, closingNotifier, context as any);\n\n if (innerSubscription.closed) {\n this.closeWindow(this.contexts.length - 1);\n } else {\n (<any> innerSubscription).context = context;\n subscription.add(innerSubscription);\n }\n\n this.destination.next(window);\n\n }\n } else {\n this.closeWindow(this.contexts.indexOf(outerValue));\n }\n }\n\n notifyError(err: any): void {\n this.error(err);\n }\n\n notifyComplete(inner: Subscription): void {\n if (inner !== this.openSubscription) {\n this.closeWindow(this.contexts.indexOf((<any> inner).context));\n }\n }\n\n private closeWindow(index: number): void {\n if (index === -1) {\n return;\n }\n\n const { contexts } = this;\n const context = contexts[index];\n const { window, subscription } = context;\n contexts.splice(index, 1);\n window.complete();\n subscription.unsubscribe();\n }\n}\n"},"lineCount":null}},"hash":"68870157abd16adbb6b02a22390d3652","cacheData":{"env":{}}}