{"id":"L72b","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/timeoutWith.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/timeoutWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../scheduler/async","loc":{"line":3,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/async.js"},{"name":"../util/isDate","loc":{"line":4,"column":23},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isDate.js"},{"name":"../OuterSubscriber","loc":{"line":5,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeoutWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":6,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timeoutWith.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.timeoutWith=o;var t=u(require(\"tslib\")),e=require(\"../scheduler/async\"),i=require(\"../util/isDate\"),r=require(\"../OuterSubscriber\"),s=require(\"../util/subscribeToResult\");function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,i):{};r.get||r.set?Object.defineProperty(e,i,r):e[i]=t[i]}return e.default=t,e}function o(t,r,s){return void 0===s&&(s=e.async),function(e){var u=(0,i.isDate)(t),o=u?+t-s.now():Math.abs(t);return e.lift(new n(o,u,r,s))}}var n=function(){function t(t,e,i,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=i,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),c=function(e){function i(t,i,r,s,u){var o=e.call(this,t)||this;return o.absoluteTimeout=i,o.waitFor=r,o.withObservable=s,o.scheduler=u,o.action=null,o.scheduleTimeout(),o}return t.__extends(i,e),i.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add((0,s.subscribeToResult)(t,e))},i.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(i.dispatchTimeout,this.waitFor,this))},i.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},i.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},i}(r.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":96}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":106}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":116}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":148}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":150}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":158}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":176}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":178}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":186}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":64,"column":0},"generated":{"line":1,"column":208}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":64,"column":0},"generated":{"line":1,"column":210}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":64,"column":0},"generated":{"line":1,"column":218}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":247}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":258}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":267}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":269}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":280}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":287}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":293}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":298}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":301}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":307}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":309}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":313}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":317}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":322}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":327}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":334}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":344}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":359}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":364}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":366}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":369}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":376}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":383}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":399}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":406}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":438}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":463}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":465}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":471}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":473}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":480}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":484}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":491}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":506}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":508}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":510}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":513}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":518}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":520}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":532}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":540}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":542}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":66,"column":34},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":66,"column":34},"generated":{"line":1,"column":553}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":66,"column":34},"generated":{"line":1,"column":555}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":66,"column":34},"generated":{"line":1,"column":557}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":66,"column":66},"generated":{"line":1,"column":559}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":70,"column":4},"generated":{"line":1,"column":562}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":67,"column":2},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":68,"column":4},"generated":{"line":1,"column":582}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":68,"column":8},"generated":{"line":1,"column":584}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":68,"column":4},"generated":{"line":1,"column":586}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":70,"column":4},"generated":{"line":1,"column":593}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":70,"column":17},"generated":{"line":1,"column":602}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":605}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":609}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":612}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":614}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":616}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":1,"column":624}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":629}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":632}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":634}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":636}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":642}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":647}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":72,"column":1},"generated":{"line":1,"column":651}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":661}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":663}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":668}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":672}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":674}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":676}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":678}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":74,"column":0},"generated":{"line":1,"column":680}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":76,"column":22},"generated":{"line":1,"column":685}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":76,"column":22},"generated":{"line":1,"column":689}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":76,"column":22},"generated":{"line":1,"column":691}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":702}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":711}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":713}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":22},"generated":{"line":1,"column":715}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":58},"generated":{"line":1,"column":717}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":77,"column":58},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":78,"column":22},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":78,"column":22},"generated":{"line":1,"column":727}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":78,"column":31},"generated":{"line":1,"column":735}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":737}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":742}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":758}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":760}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":765}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":1,"column":782}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":1,"column":787}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":82,"column":18},"generated":{"line":1,"column":797}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":799}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":0},"generated":{"line":1,"column":806}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":0},"generated":{"line":1,"column":808}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":818}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":823}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":834}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":837}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":844}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":846}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":856}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":860}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":862}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":864}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":869}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":885}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":890}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":898}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":903}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":86,"column":1},"generated":{"line":1,"column":923}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":936}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":76,"column":22},"generated":{"line":1,"column":938}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":4},"generated":{"line":1,"column":941}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":943}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":22},"generated":{"line":1,"column":952}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":22},"generated":{"line":1,"column":955}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":22},"generated":{"line":1,"column":964}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":37},"generated":{"line":1,"column":966}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":37},"generated":{"line":1,"column":968}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":37},"generated":{"line":1,"column":970}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":37},"generated":{"line":1,"column":972}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":99,"column":37},"generated":{"line":1,"column":974}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":977}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":981}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":983}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":985}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":990}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":22},"generated":{"line":1,"column":995}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":100,"column":58},"generated":{"line":1,"column":999}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":1,"column":1004}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":101,"column":22},"generated":{"line":1,"column":1011}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":101,"column":22},"generated":{"line":1,"column":1013}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":101,"column":22},"generated":{"line":1,"column":1029}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":95,"column":10},"generated":{"line":1,"column":1031}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":95,"column":10},"generated":{"line":1,"column":1033}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":95,"column":65},"generated":{"line":1,"column":1041}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":103,"column":4},"generated":{"line":1,"column":1043}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":103,"column":9},"generated":{"line":1,"column":1045}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":103,"column":26},"generated":{"line":1,"column":1060}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1062}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1064}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1074}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":1,"column":1076}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":1,"column":1078}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":104,"column":3},"generated":{"line":1,"column":1085}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":106,"column":17},"generated":{"line":1,"column":1090}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":106,"column":17},"generated":{"line":1,"column":1092}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":107,"column":12},"generated":{"line":1,"column":1110}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1112}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":1119}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":1121}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":1131}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":98,"column":22},"generated":{"line":1,"column":1133}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":109,"column":19},"generated":{"line":1,"column":1136}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":109,"column":19},"generated":{"line":1,"column":1138}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":109,"column":37},"generated":{"line":1,"column":1154}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":109,"column":49},"generated":{"line":1,"column":1163}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":110,"column":3},"generated":{"line":1,"column":1166}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":110,"column":3},"generated":{"line":1,"column":1170}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":110,"column":3},"generated":{"line":1,"column":1172}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":110,"column":3},"generated":{"line":1,"column":1174}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1189}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":112,"column":10},"generated":{"line":1,"column":1191}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":12},"generated":{"line":1,"column":1216}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":12},"generated":{"line":1,"column":1218}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":12},"generated":{"line":1,"column":1223}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1225}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1227}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1246}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":113,"column":28},"generated":{"line":1,"column":1248}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":120,"column":17},"generated":{"line":1,"column":1253}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":120,"column":68},"generated":{"line":1,"column":1255}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":120,"column":75},"generated":{"line":1,"column":1265}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":120,"column":95},"generated":{"line":1,"column":1281}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1292}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1296}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1298}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":121,"column":5},"generated":{"line":1,"column":1303}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":121,"column":11},"generated":{"line":1,"column":1310}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":11},"generated":{"line":1,"column":1312}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":11},"generated":{"line":1,"column":1317}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":20},"generated":{"line":1,"column":1324}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":26},"generated":{"line":1,"column":1326}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":82},"generated":{"line":1,"column":1335}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":82},"generated":{"line":1,"column":1340}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":122,"column":92},"generated":{"line":1,"column":1345}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1354}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1359}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1363}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1368}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1375}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1380}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":2},"generated":{"line":1,"column":1390}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":26},"generated":{"line":1,"column":1399}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":26},"generated":{"line":1,"column":1401}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":26},"generated":{"line":1,"column":1417}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":26},"generated":{"line":1,"column":1422}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":128,"column":26},"generated":{"line":1,"column":1430}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":131,"column":5},"generated":{"line":1,"column":1438}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":131,"column":5},"generated":{"line":1,"column":1440}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":131,"column":5},"generated":{"line":1,"column":1450}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":131,"column":5},"generated":{"line":1,"column":1456}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":131,"column":5},"generated":{"line":1,"column":1465}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":1,"column":1468}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":132,"column":4},"generated":{"line":1,"column":1473}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":133,"column":3},"generated":{"line":1,"column":1490}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":133,"column":3},"generated":{"line":1,"column":1495}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":4},"generated":{"line":1,"column":1513}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":9},"generated":{"line":1,"column":1515}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":18},"generated":{"line":1,"column":1525}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":23},"generated":{"line":1,"column":1531}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":23},"generated":{"line":1,"column":1536}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":137,"column":23},"generated":{"line":1,"column":1541}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":139,"column":9},"generated":{"line":1,"column":1545}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":139,"column":9},"generated":{"line":1,"column":1547}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":139,"column":31},"generated":{"line":1,"column":1557}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":139,"column":31},"generated":{"line":1,"column":1570}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":140,"column":3},"generated":{"line":1,"column":1581}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":140,"column":3},"generated":{"line":1,"column":1586}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":140,"column":3},"generated":{"line":1,"column":1593}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":141,"column":0},"generated":{"line":1,"column":1598}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":141,"column":0},"generated":{"line":1,"column":1603}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":141,"column":0},"generated":{"line":1,"column":1613}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":1618}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":93,"column":42},"generated":{"line":1,"column":1623}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":141,"column":1},"generated":{"line":1,"column":1638}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1644}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1646}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1647}},{"source":"../../../src/internal/operators/timeoutWith.ts","name":null,"original":{"line":102,"column":10},"generated":{"line":1,"column":1649}}],"sources":{"../../../src/internal/operators/timeoutWith.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nimport { Observable } from '../Observable';\nimport { isDate } from '../util/isDate';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { ObservableInput, OperatorFunction, MonoTypeOperatorFunction, SchedulerAction, SchedulerLike, TeardownLogic } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function timeoutWith(due: number | Date, withObservable: ObservableInput, scheduler?: SchedulerLike): OperatorFunction;\n/* tslint:enable:max-line-length */\n\n/**\n *\n * Errors if Observable does not emit a value in given time span, in case of which\n * subscribes to the second Observable.\n *\n * It's a version of `timeout` operator that let's you specify fallback Observable.\n *\n * ![](timeoutWith.png)\n *\n * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same,\n * still accepting as a first argument either a number or a Date, which control - respectively -\n * when values of source Observable should be emitted or when it should complete.\n *\n * The only difference is that it accepts a second, required parameter. This parameter\n * should be an Observable which will be subscribed when source Observable fails any timeout check.\n * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting\n * values from second Observable. Note that this fallback Observable is not checked for timeouts\n * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second\n * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that\n * stream completes, it completes as well.\n *\n * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided\n * here - as a third, optional parameter. It still is used to schedule timeout checks and -\n * as a consequence - when second Observable will be subscribed, since subscription happens\n * immediately after failing check.\n *\n * ## Example\n * Add fallback observable\n * ```javascript\n * const seconds = interval(1000);\n * const minutes = interval(60 * 1000);\n *\n * seconds.pipe(timeoutWith(900, minutes))\n * .subscribe(\n * value => console.log(value), // After 900ms, will start emitting `minutes`,\n * // since first value of `seconds` will not arrive fast enough.\n * err => console.log(err), // Would be called after 900ms in case of `timeout`,\n * // but here will never be called.\n * );\n * ```\n *\n * @param {number|Date} due Number specifying period within which Observable must emit values\n * or Date specifying before when Observable should complete\n * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check.\n * @param {SchedulerLike} [scheduler] Scheduler controlling when timeout checks occur.\n * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable\n * passed as a second parameter.\n * @method timeoutWith\n * @owner Observable\n */\nexport function timeoutWith(due: number | Date,\n withObservable: ObservableInput,\n scheduler: SchedulerLike = async): OperatorFunction {\n return (source: Observable) => {\n let absoluteTimeout = isDate(due);\n let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due);\n return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n };\n}\n\nclass TimeoutWithOperator implements Operator {\n constructor(private waitFor: number,\n private absoluteTimeout: boolean,\n private withObservable: ObservableInput,\n private scheduler: SchedulerLike) {\n }\n\n call(subscriber: Subscriber, source: any): TeardownLogic {\n return source.subscribe(new TimeoutWithSubscriber(\n subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler\n ));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass TimeoutWithSubscriber extends OuterSubscriber {\n\n private action: SchedulerAction> = null;\n\n constructor(destination: Subscriber,\n private absoluteTimeout: boolean,\n private waitFor: number,\n private withObservable: ObservableInput,\n private scheduler: SchedulerLike) {\n super(destination);\n this.scheduleTimeout();\n }\n\n private static dispatchTimeout(subscriber: TimeoutWithSubscriber): void {\n const { withObservable } = subscriber;\n ( subscriber)._unsubscribeAndRecycle();\n subscriber.add(subscribeToResult(subscriber, withObservable));\n }\n\n private scheduleTimeout(): void {\n const { action } = this;\n if (action) {\n // Recycle the action if we've already scheduled one. All the production\n // Scheduler Actions mutate their state/delay time and return themeselves.\n // VirtualActions are immutable, so they create and return a clone. In this\n // case, we need to set the action reference to the most recent VirtualAction,\n // to ensure that's the one we clone from next time.\n this.action = (>> action.schedule(this, this.waitFor));\n } else {\n this.add(this.action = (>> this.scheduler.schedule>(\n TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this\n )));\n }\n }\n\n protected _next(value: T): void {\n if (!this.absoluteTimeout) {\n this.scheduleTimeout();\n }\n super._next(value);\n }\n\n /** @deprecated This is an internal implementation detail, do not use. */\n _unsubscribe() {\n this.action = null;\n this.scheduler = null;\n this.withObservable = null;\n }\n}\n"},"lineCount":null}},"hash":"d06d431e6edc1062c31b247f71152db3","cacheData":{"env":{}}}