1 line
51 KiB
JSON
1 line
51 KiB
JSON
|
{"id":"GYT2","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowCount.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/windowCount.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/windowCount.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowCount.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../Subject","loc":{"line":4,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/windowCount.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subject.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.windowCount=n;var t=r(require(\"tslib\")),e=require(\"../Subscriber\"),i=require(\"../Subject\");function r(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 n(t,e){return void 0===e&&(e=0),function(i){return i.lift(new o(t,e))}}var o=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.windowSize,this.startWindowEvery))},t}(),s=function(e){function r(t,r,n){var o=e.call(this,t)||this;return o.destination=t,o.windowSize=r,o.startWindowEvery=n,o.windows=[new i.Subject],o.count=0,t.next(o.windows[0]),o}return t.__extends(r,e),r.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,r=this.destination,n=this.windowSize,o=this.windows,s=o.length,c=0;c<s&&!this.closed;c++)o[c].next(t);var u=this.count-n+1;if(u>=0&&u%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var w=new i.Subject;o.push(w),r.next(w)}},r.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},r.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},r.prototype._unsubscribe=function(){this.count=0,this.windows=null},r}(e.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/windowCount.ts","name":null,"original":{"line":94,"column":10},"generated":
|