1 line
29 KiB
JSON
1 line
29 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/buffer.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/buffer.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/buffer.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"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/buffer.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/buffer.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/buffer.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.buffer = buffer;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _OuterSubscriber = require(\"../OuterSubscriber\");\n\nvar _subscribeToResult = require(\"../util/subscribeToResult\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction buffer(closingNotifier) {\n return function bufferOperatorFunction(source) {\n return source.lift(new BufferOperator(closingNotifier));\n };\n}\n\nvar BufferOperator =\n/*@__PURE__*/\nfunction () {\n function BufferOperator(closingNotifier) {\n this.closingNotifier = closingNotifier;\n }\n\n BufferOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n };\n\n return BufferOperator;\n}();\n\nvar BufferSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(BufferSubscriber, _super);\n\n function BufferSubscriber(destination, closingNotifier) {\n var _this = _super.call(this, destination) || this;\n\n _this.buffer = [];\n\n _this.add((0, _subscribeToResult.subscribeToResult)(_this, closingNotifier));\n\n return _this;\n }\n\n BufferSubscriber.prototype._next = function (value) {\n this.buffer.push(value);\n };\n\n BufferSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n var buffer = this.buffer;\n this.buffer = [];\n this.destination.next(buffer);\n };\n\n return BufferSubscriber;\n}(_OuterSubscriber.OuterSubscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":46,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":2},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":9},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":2},"generated":{"line":17,"column":15}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":18},"generated":{"line":17,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":2},"generated":{"line":17,"column":31}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":47,"column":18},"generated":{"line":17,"column":33}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":4},"generated":{"line":18,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":18,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":4},"generated":{"line":18,"column":40}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":27},"generated":{"line":18,"column":41}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":4},"generated":{"line":18,"column":47}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":48,"column":45},"generated":{"line":18,"column":49}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":11}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":17}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":22}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":41}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":42}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":57}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":58}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":19,"column":59}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":23,"column":4}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":23,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":54},"generated":{"line":25,"column":12}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":26,"column":11}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":37},"generated":{"line":26,"column":26}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":26,"column":43}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":55,"column":3},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":55,"column":3},"generated":{"line":27,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":55,"column":3},"generated":{"line":27,"column":24}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":55,"column":3},"generated":{"line":27,"column":27}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":55,"column":3},"generated":{"line":27,"column":42}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":57,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":30,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":11},"generated":{"line":30,"column":17}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":18},"generated":{"line":30,"column":27}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":32},"generated":{"line":30,"column":34}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":32},"generated":{"line":30,"column":44}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":32},"generated":{"line":30,"column":54}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":49},"generated":{"line":30,"column":56}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":32},"generated":{"line":30,"column":62}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":58,"column":61},"generated":{"line":30,"column":64}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":11}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":17}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":27}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":28}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":32}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":48}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":49}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":59}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":61}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":66}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":81}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":82}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":59,"column":3},"generated":{"line":31,"column":83}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":60,"column":1},"generated":{"line":34,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":34,"column":23}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":0},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":54,"column":22},"generated":{"line":35,"column":1}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":37,"column":4}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":37,"column":20}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":57},"generated":{"line":39,"column":10}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":39,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":57},"generated":{"line":39,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":2}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":10}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":19}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":20}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":36}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":14},"generated":{"line":40,"column":38}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":40,"column":44}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":70,"column":2},"generated":{"line":42,"column":11}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":42,"column":28}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":71,"column":10},"generated":{"line":42,"column":41}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":42,"column":58}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":43,"column":8}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":43,"column":13}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":16},"generated":{"line":43,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":27},"generated":{"line":43,"column":22}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":27},"generated":{"line":43,"column":23}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":16},"generated":{"line":43,"column":27}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":27},"generated":{"line":43,"column":28}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":16},"generated":{"line":43,"column":32}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":27},"generated":{"line":43,"column":34}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":16},"generated":{"line":43,"column":45}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":27},"generated":{"line":43,"column":50}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":43,"column":54}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":45,"column":4}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":8},"generated":{"line":45,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":9},"generated":{"line":45,"column":10}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":45,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":13},"generated":{"line":45,"column":19}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":45,"column":21}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":49,"column":11}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":49,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":16},"generated":{"line":52,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":16},"generated":{"line":52,"column":19}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":27},"generated":{"line":52,"column":29}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":28},"generated":{"line":52,"column":37}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":28},"generated":{"line":52,"column":47}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":28},"generated":{"line":52,"column":52}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":76,"column":28},"generated":{"line":52,"column":54}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":15}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":16}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":20}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":21}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":53,"column":26}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":54,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":16},"generated":{"line":56,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":19},"generated":{"line":56,"column":19}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":24},"generated":{"line":56,"column":29}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":42}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":52}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":62}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":64}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":74}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":76}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":86}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":88}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":98}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":100}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":108}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":82,"column":31},"generated":{"line":56,"column":110}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":8},"generated":{"line":57,"column":8}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":9},"generated":{"line":57,"column":14}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":15},"generated":{"line":57,"column":17}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":21},"generated":{"line":57,"column":22}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":57,"column":28}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":84,"column":4},"generated":{"line":58,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":58,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":84,"column":4},"generated":{"line":58,"column":15}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":84,"column":9},"generated":{"line":58,"column":18}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":84,"column":4},"generated":{"line":58,"column":20}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":20}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":21}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":25}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":26}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":85,"column":3},"generated":{"line":59,"column":32}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":86,"column":0},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":62,"column":9}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":62,"column":25}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":63,"column":1}},{"source":"../../../src/internal/operators/buffer.ts","name":null,"original":{"line":67,"column":34},"generated":{"line":63,"column":34}}],"sources":{"../../../src/internal/operators/buffer.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { OperatorFunction } from '../types';\n\n/**\n * Buffers the source Observable values until `closingNotifier` emits.\n *\n * <span class=\"informal\">Collects values from the past as an array, and emits\n * that array only when another Observable emits.</span>\n *\n * ![](buffer.png)\n *\n * Buffers the incoming Observable values until the given `closingNotifier`\n * Observable emits a value, at which point it emits the buffer on the output\n * Observable and starts a new buffer internally, awaiting the next time\n * `closingNotifier` emits.\n *\n * ## Example\n *\n * On every click, emit array of most recent interval events\n *\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const interval = interval(1000);\n * const buffered = interval.pipe(buffer(clicks));\n * buffered.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link bufferCount}\n * @see {@link bufferTime}\n * @see {@link bufferToggle}\n * @see {@link bufferWhen}\n * @see {@link window}\n *\n * @param {Observable<any>} closingNotifier An Observable that signals the\n * buffer to be emitted on the output Observable.\n * @return {Observable<T[]>} An Observable of buffers, which are arrays of\n * values.\n * @method buffer\n * @owner Observable\n */\nexport function buffer<T>(closingNotifier: Observable<any>): OperatorFunction<T, T[]> {\n return function bufferOperatorFunction(source: Observable<T>) {\n return source.lift(new BufferOperator<T>(closingNotifier));\n };\n}\n\nclass BufferOperator<T> implements Operator<T, T[]> {\n\n constructor(private closingNotifier: Observable<any>) {\n }\n\n call(subscriber: Subscriber<T[]>, source: any): any {\n return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass BufferSubscriber<T> extends OuterSubscriber<T, any> {\n private buffer: T[] = [];\n\n constructor(destination: Subscriber<T[]>, closingNotifier: Observable<any>) {\n super(destination);\n this.add(subscribeToResult(this, closingNotifier));\n }\n\n protected _next(value: T) {\n this.buffer.push(value);\n }\n\n notifyNext(outerValue: T, innerValue: any,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, any>): void {\n const buffer = this.buffer;\n this.buffer = [];\n this.destination.next(buffer);\n }\n}\n"},"lineCount":null}},"hash":"261057f3864f62f8947aef7cc2cf1007","cacheData":{"env":{}}} |