1 line
45 KiB
JSON
1 line
45 KiB
JSON
{"id":"5y9E","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounce.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/debounce.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/debounce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../OuterSubscriber","loc":{"line":3,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounce.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":4,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/debounce.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.debounce=o;var t=i(require(\"tslib\")),e=require(\"../OuterSubscriber\"),r=require(\"../util/subscribeToResult\");function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function o(t){return function(e){return e.lift(new n(t))}}var n=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(e){function i(t,r){var i=e.call(this,t)||this;return i.durationSelector=r,i.hasValue=!1,i.durationSubscription=null,i}return t.__extends(i,e),i.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(r){this.destination.error(r)}},i.prototype._complete=function(){this.emitValue(),this.destination.complete()},i.prototype._tryNext=function(t,e){var i=this.durationSubscription;this.value=t,this.hasValue=!0,i&&(i.unsubscribe(),this.remove(i)),(i=(0,r.subscribeToResult)(this,e))&&!i.closed&&this.add(this.durationSubscription=i)},i.prototype.notifyNext=function(t,e,r,i,o){this.emitValue()},i.prototype.notifyComplete=function(){this.emitValue()},i.prototype.emitValue=function(){if(this.hasValue){var t=this.value,r=this.durationSubscription;r&&(this.durationSubscription=null,r.unsubscribe(),this.remove(r)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},i}(e.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":85}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":87}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":93}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":103}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":113}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":123}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":147}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":155}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":184}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":193}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":195}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":198}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":201}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":204}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":206}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":224}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":226}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":230}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":232}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":235}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":238}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":244}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":246}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":250}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":254}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":259}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":264}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":271}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":281}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":301}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":306}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":307}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":311}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":313}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":320}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":336}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":343}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":368}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":375}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":402}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":408}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":410}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":415}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":417}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":421}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":428}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":443}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":447}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":450}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":452}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":455}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":457}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":460}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":467}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":477}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":479}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":57,"column":2},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":57,"column":9},"generated":{"line":1,"column":490}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":57,"column":10},"generated":{"line":1,"column":492}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":495}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":502}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":514}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":521}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":532}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":534}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":539}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":1,"column":543}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":545}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":556}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":565}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":38},"generated":{"line":1,"column":567}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":570}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":575}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":62,"column":3},"generated":{"line":1,"column":592}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":67,"column":1},"generated":{"line":1,"column":594}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":11},"generated":{"line":1,"column":601}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":17},"generated":{"line":1,"column":603}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":27},"generated":{"line":1,"column":613}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":32},"generated":{"line":1,"column":618}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":32},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":65,"column":51},"generated":{"line":1,"column":629}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":632}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":639}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":641}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":651}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":655}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":657}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":659}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":66,"column":3},"generated":{"line":1,"column":664}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":67,"column":1},"generated":{"line":1,"column":684}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":61,"column":22},"generated":{"line":1,"column":686}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":689}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":691}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":60},"generated":{"line":1,"column":700}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":712}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":1,"column":714}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":1,"column":716}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":1,"column":723}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":1,"column":725}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":1,"column":727}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":38},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":22},"generated":{"line":1,"column":737}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":80,"column":80},"generated":{"line":1,"column":741}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":82,"column":3},"generated":{"line":1,"column":746}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":1,"column":753}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":76,"column":10},"generated":{"line":1,"column":755}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":76,"column":36},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":1,"column":776}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":77,"column":10},"generated":{"line":1,"column":786}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":788}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":790}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":811}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":82,"column":3},"generated":{"line":1,"column":816}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":818}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":825}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":827}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":837}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":79,"column":14},"generated":{"line":1,"column":839}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":842}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":844}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":854}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":860}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":85,"column":8},"generated":{"line":1,"column":869}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":86,"column":6},"generated":{"line":1,"column":872}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":10},"generated":{"line":1,"column":876}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":10},"generated":{"line":1,"column":880}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":1,"column":887}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":1,"column":904}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":1,"column":909}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":88,"column":18},"generated":{"line":1,"column":914}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":89,"column":8},"generated":{"line":1,"column":917}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":90,"column":7},"generated":{"line":1,"column":920}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":90,"column":7},"generated":{"line":1,"column":925}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":90,"column":7},"generated":{"line":1,"column":934}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":90,"column":7},"generated":{"line":1,"column":936}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":92,"column":6},"generated":{"line":1,"column":939}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":92,"column":6},"generated":{"line":1,"column":945}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":948}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":953}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":965}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":93,"column":5},"generated":{"line":1,"column":971}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":97,"column":18},"generated":{"line":1,"column":976}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":97,"column":18},"generated":{"line":1,"column":978}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":97,"column":21},"generated":{"line":1,"column":988}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":97,"column":21},"generated":{"line":1,"column":998}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":98,"column":9},"generated":{"line":1,"column":1009}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":98,"column":9},"generated":{"line":1,"column":1014}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":99,"column":3},"generated":{"line":1,"column":1026}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":99,"column":3},"generated":{"line":1,"column":1031}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":99,"column":3},"generated":{"line":1,"column":1043}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1055}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":8},"generated":{"line":1,"column":1057}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":28},"generated":{"line":1,"column":1067}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":28},"generated":{"line":1,"column":1076}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":49},"generated":{"line":1,"column":1085}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":102,"column":49},"generated":{"line":1,"column":1087}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":103,"column":8},"generated":{"line":1,"column":1090}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":103,"column":8},"generated":{"line":1,"column":1094}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":103,"column":23},"generated":{"line":1,"column":1096}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":103,"column":23},"generated":{"line":1,"column":1101}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":1122}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":104,"column":9},"generated":{"line":1,"column":1127}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":104,"column":17},"generated":{"line":1,"column":1133}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1135}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":105,"column":8},"generated":{"line":1,"column":1140}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":105,"column":20},"generated":{"line":1,"column":1150}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":106,"column":6},"generated":{"line":1,"column":1152}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":107,"column":6},"generated":{"line":1,"column":1156}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":107,"column":18},"generated":{"line":1,"column":1158}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":108,"column":5},"generated":{"line":1,"column":1172}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":108,"column":5},"generated":{"line":1,"column":1177}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":108,"column":5},"generated":{"line":1,"column":1184}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":4},"generated":{"line":1,"column":1189}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":8},"generated":{"line":1,"column":1192}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":37},"generated":{"line":1,"column":1194}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":37},"generated":{"line":1,"column":1196}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":37},"generated":{"line":1,"column":1215}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":111,"column":38},"generated":{"line":1,"column":1220}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":112,"column":20},"generated":{"line":1,"column":1226}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":112,"column":20},"generated":{"line":1,"column":1228}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":1,"column":1236}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":1,"column":1241}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":1,"column":1245}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":1,"column":1250}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":113,"column":5},"generated":{"line":1,"column":1271}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":18},"generated":{"line":1,"column":1275}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":18},"generated":{"line":1,"column":1277}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1287}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1298}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1307}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1309}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1311}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1313}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":119,"column":21},"generated":{"line":1,"column":1315}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":1,"column":1318}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":120,"column":3},"generated":{"line":1,"column":1323}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":123,"column":18},"generated":{"line":1,"column":1336}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":123,"column":18},"generated":{"line":1,"column":1338}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":1,"column":1348}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":123,"column":21},"generated":{"line":1,"column":1363}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1374}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":124,"column":3},"generated":{"line":1,"column":1379}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":127,"column":13},"generated":{"line":1,"column":1392}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":127,"column":13},"generated":{"line":1,"column":1394}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":127,"column":23},"generated":{"line":1,"column":1404}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":127,"column":23},"generated":{"line":1,"column":1414}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":128,"column":6},"generated":{"line":1,"column":1425}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":128,"column":6},"generated":{"line":1,"column":1428}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":128,"column":12},"generated":{"line":1,"column":1433}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":128,"column":20},"generated":{"line":1,"column":1442}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":129,"column":12},"generated":{"line":1,"column":1443}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":129,"column":12},"generated":{"line":1,"column":1447}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":129,"column":12},"generated":{"line":1,"column":1449}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":129,"column":24},"generated":{"line":1,"column":1454}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":130,"column":10},"generated":{"line":1,"column":1460}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":130,"column":24},"generated":{"line":1,"column":1462}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":130,"column":24},"generated":{"line":1,"column":1467}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":131,"column":8},"generated":{"line":1,"column":1488}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":132,"column":8},"generated":{"line":1,"column":1492}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":132,"column":8},"generated":{"line":1,"column":1497}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":132,"column":35},"generated":{"line":1,"column":1518}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":133,"column":8},"generated":{"line":1,"column":1523}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":133,"column":20},"generated":{"line":1,"column":1525}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":134,"column":7},"generated":{"line":1,"column":1539}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":134,"column":7},"generated":{"line":1,"column":1544}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":134,"column":7},"generated":{"line":1,"column":1551}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":141,"column":11},"generated":{"line":1,"column":1555}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":141,"column":11},"generated":{"line":1,"column":1560}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":141,"column":19},"generated":{"line":1,"column":1566}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":142,"column":6},"generated":{"line":1,"column":1571}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":142,"column":6},"generated":{"line":1,"column":1576}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":142,"column":6},"generated":{"line":1,"column":1586}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1588}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1590}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1600}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1606}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1611}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":143,"column":5},"generated":{"line":1,"column":1616}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":1621}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":1623}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":1624}},{"source":"../../../src/internal/operators/debounce.ts","name":null,"original":{"line":74,"column":39},"generated":{"line":1,"column":1626}}],"sources":{"../../../src/internal/operators/debounce.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { MonoTypeOperatorFunction, SubscribableOrPromise, TeardownLogic } from '../types';\n\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\n\n/**\n * Emits a value from the source Observable only after a particular time span\n * determined by another Observable has passed without another source emission.\n *\n * <span class=\"informal\">It's like {@link debounceTime}, but the time span of\n * emission silence is determined by a second Observable.</span>\n *\n * ![](debounce.png)\n *\n * `debounce` delays values emitted by the source Observable, but drops previous\n * pending delayed emissions if a new value arrives on the source Observable.\n * This operator keeps track of the most recent value from the source\n * Observable, and spawns a duration Observable by calling the\n * `durationSelector` function. The value is emitted only when the duration\n * Observable emits a value or completes, and if no other value was emitted on\n * the source Observable since the duration Observable was spawned. If a new\n * value appears before the duration Observable emits, the previous value will\n * be dropped and will not be emitted on the output Observable.\n *\n * Like {@link debounceTime}, this is a rate-limiting operator, and also a\n * delay-like operator since output emissions do not necessarily occur at the\n * same time as they did on the source Observable.\n *\n * ## Example\n * Emit the most recent click after a burst of clicks\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(debounce(() => interval(1000)));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link audit}\n * @see {@link debounceTime}\n * @see {@link delayWhen}\n * @see {@link throttle}\n *\n * @param {function(value: T): SubscribableOrPromise} durationSelector A function\n * that receives a value from the source Observable, for computing the timeout\n * duration for each source value, returned as an Observable or a Promise.\n * @return {Observable} An Observable that delays the emissions of the source\n * Observable by the specified duration Observable returned by\n * `durationSelector`, and may drop some values if they occur too frequently.\n * @method debounce\n * @owner Observable\n */\nexport function debounce<T>(durationSelector: (value: T) => SubscribableOrPromise<any>): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new DebounceOperator(durationSelector));\n}\n\nclass DebounceOperator<T> implements Operator<T, T> {\n constructor(private durationSelector: (value: T) => SubscribableOrPromise<any>) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass DebounceSubscriber<T, R> extends OuterSubscriber<T, R> {\n private value: T;\n private hasValue: boolean = false;\n private durationSubscription: Subscription = null;\n\n constructor(destination: Subscriber<R>,\n private durationSelector: (value: T) => SubscribableOrPromise<any>) {\n super(destination);\n }\n\n protected _next(value: T): void {\n try {\n const result = this.durationSelector.call(this, value);\n\n if (result) {\n this._tryNext(value, result);\n }\n } catch (err) {\n this.destination.error(err);\n }\n }\n\n protected _complete(): void {\n this.emitValue();\n this.destination.complete();\n }\n\n private _tryNext(value: T, duration: SubscribableOrPromise<any>): void {\n let subscription = this.durationSubscription;\n this.value = value;\n this.hasValue = true;\n if (subscription) {\n subscription.unsubscribe();\n this.remove(subscription);\n }\n\n subscription = subscribeToResult(this, duration);\n if (subscription && !subscription.closed) {\n this.add(this.durationSubscription = subscription);\n }\n }\n\n notifyNext(outerValue: T, innerValue: R,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, R>): void {\n this.emitValue();\n }\n\n notifyComplete(): void {\n this.emitValue();\n }\n\n emitValue(): void {\n if (this.hasValue) {\n const value = this.value;\n const subscription = this.durationSubscription;\n if (subscription) {\n this.durationSubscription = null;\n subscription.unsubscribe();\n this.remove(subscription);\n }\n // This must be done *before* passing the value\n // along to the destination because it's possible for\n // the value to synchronously re-enter this operator\n // recursively if the duration selector Observable\n // emits synchronously\n this.value = null;\n this.hasValue = false;\n super._next(value);\n }\n }\n}\n"},"lineCount":null}},"hash":"9568f01eb3dcf9a3646612e6eb035a70","cacheData":{"env":{}}} |