1 line
35 KiB
JSON
1 line
35 KiB
JSON
|
{"id":"../node_modules/rxjs/_esm5/internal/operators/takeWhile.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/takeWhile.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/takeWhile.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/takeWhile.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/takeWhile.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.takeWhile = takeWhile;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\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,_Subscriber PURE_IMPORTS_END */\nfunction takeWhile(predicate) {\n return function (source) {\n return source.lift(new TakeWhileOperator(predicate));\n };\n}\n\nvar TakeWhileOperator =\n/*@__PURE__*/\nfunction () {\n function TakeWhileOperator(predicate) {\n this.predicate = predicate;\n }\n\n TakeWhileOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate));\n };\n\n return TakeWhileOperator;\n}();\n\nvar TakeWhileSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(TakeWhileSubscriber, _super);\n\n function TakeWhileSubscriber(destination, predicate) {\n var _this = _super.call(this, destination) || this;\n\n _this.predicate = predicate;\n _this.index = 0;\n return _this;\n }\n\n TakeWhileSubscriber.prototype._next = function (value) {\n var destination = this.destination;\n var result;\n\n try {\n result = this.predicate(value, this.index++);\n } catch (err) {\n destination.error(err);\n return;\n }\n\n this.nextOrComplete(value, result);\n };\n\n TakeWhileSubscriber.prototype.nextOrComplete = function (value, predicateResult) {\n var destination = this.destination;\n\n if (Boolean(predicateResult)) {\n destination.next(value);\n } else {\n destination.complete();\n }\n };\n\n return TakeWhileSubscriber;\n}(_Subscriber.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":48,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":2},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":9},"generated":{"line":15,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":2},"generated"
|