webdetector/.cache/81/5fe6d15674207dcec1e8a0423ae31f.json
2018-12-21 13:36:28 +01:00

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":{"line":15,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":10},"generated":{"line":15,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":2},"generated":{"line":15,"column":28}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":49,"column":36},"generated":{"line":15,"column":30}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":16,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":16,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":16,"column":25}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":16,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":17}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":44}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":45}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":54}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":55}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":17,"column":56}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":18,"column":3}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":21,"column":4}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":21,"column":21}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":69},"generated":{"line":23,"column":12}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":24,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":24,"column":29}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":69},"generated":{"line":24,"column":40}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":25,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":25,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":25,"column":21}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":54,"column":3},"generated":{"line":25,"column":30}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":17},"generated":{"line":28,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":18},"generated":{"line":28,"column":20}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":28,"column":30}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":28,"column":37}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":28,"column":47}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":28,"column":57}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":52},"generated":{"line":28,"column":59}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":28,"column":65}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":57,"column":64},"generated":{"line":28,"column":67}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":17}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":28}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":32}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":51}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":52}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":62}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":64}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":69}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":78}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":79}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":29,"column":80}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":32,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":32,"column":26}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":0},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":33,"column":1}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":35,"column":4}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":35,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":50},"generated":{"line":37,"column":10}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":37,"column":16}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":50},"generated":{"line":37,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":2}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":10}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":20}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":39}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":14},"generated":{"line":38,"column":41}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":38,"column":47}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":69,"column":2},"generated":{"line":40,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":71,"column":4},"generated":{"line":40,"column":31}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":71,"column":10},"generated":{"line":40,"column":44}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":40,"column":55}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":13}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":16}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":28}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":32}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":69},"generated":{"line":41,"column":34}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":45}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":69},"generated":{"line":41,"column":50}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":41,"column":54}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":4}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":10}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":28},"generated":{"line":43,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":43,"column":31}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":72,"column":3},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":72,"column":3},"generated":{"line":45,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":72,"column":3},"generated":{"line":45,"column":16}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":74,"column":12},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":48,"column":21}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":21},"generated":{"line":48,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":29},"generated":{"line":48,"column":32}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":48,"column":40}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":41},"generated":{"line":48,"column":50}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":40},"generated":{"line":48,"column":55}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":75,"column":41},"generated":{"line":48,"column":57}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":4},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":8},"generated":{"line":49,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":24},"generated":{"line":49,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":24},"generated":{"line":49,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":24},"generated":{"line":49,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":76,"column":4},"generated":{"line":49,"column":38}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":77,"column":4},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":77,"column":8},"generated":{"line":50,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":77,"column":4},"generated":{"line":50,"column":14}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":78,"column":6},"generated":{"line":52,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":6}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":12}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":15}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":20}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":29}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":30}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":35}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":37}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":42}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":47}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":49}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":5},"generated":{"line":53,"column":50}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":79,"column":6},"generated":{"line":54,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":54,"column":13}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":80,"column":6},"generated":{"line":54,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":55,"column":6}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":13},"generated":{"line":55,"column":17}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":13},"generated":{"line":55,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":55,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":13},"generated":{"line":55,"column":24}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":81,"column":6},"generated":{"line":55,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":82,"column":5},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":24}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":29}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":31}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":59,"column":37}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":86,"column":10},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":21},"generated":{"line":62,"column":21}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":21},"generated":{"line":62,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":29},"generated":{"line":62,"column":32}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":49}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":59}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":64}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":66}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":81}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":62,"column":83}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":63,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":63,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":63,"column":19}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":63,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":16},"generated":{"line":63,"column":27}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":63,"column":38}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":65,"column":8}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":65,"column":15}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":65,"column":16}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":89,"column":6},"generated":{"line":65,"column":31}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":89,"column":30},"generated":{"line":65,"column":34}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":6}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":17}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":22}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":23}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":90,"column":5},"generated":{"line":66,"column":28}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":91,"column":6},"generated":{"line":67,"column":11}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":92,"column":5},"generated":{"line":68,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":92,"column":5},"generated":{"line":68,"column":6}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":92,"column":5},"generated":{"line":68,"column":17}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":92,"column":5},"generated":{"line":68,"column":18}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":92,"column":5},"generated":{"line":68,"column":26}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":93,"column":3},"generated":{"line":69,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":94,"column":0},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":72,"column":0}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":72,"column":9}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":72,"column":28}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":73,"column":1}},{"source":"../../../src/internal/operators/takeWhile.ts","name":null,"original":{"line":66,"column":37},"generated":{"line":73,"column":24}}],"sources":{"../../../src/internal/operators/takeWhile.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { OperatorFunction, MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\nexport function takeWhile<T, S extends T>(predicate: (value: T, index: number) => value is S): OperatorFunction<T, S>;\nexport function takeWhile<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T>;\n\n/**\n * Emits values emitted by the source Observable so long as each value satisfies\n * the given `predicate`, and then completes as soon as this `predicate` is not\n * satisfied.\n *\n * <span class=\"informal\">Takes values from the source only while they pass the\n * condition given. When the first value does not satisfy, it completes.</span>\n *\n * ![](takeWhile.png)\n *\n * `takeWhile` subscribes and begins mirroring the source Observable. Each value\n * emitted on the source is given to the `predicate` function which returns a\n * boolean, representing a condition to be satisfied by the source values. The\n * output Observable emits the source values until such time as the `predicate`\n * returns false, at which point `takeWhile` stops mirroring the source\n * Observable and completes the output Observable.\n *\n * ## Example\n * Emit click events only while the clientX property is greater than 200\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(takeWhile(ev => ev.clientX > 200));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link take}\n * @see {@link takeLast}\n * @see {@link takeUntil}\n * @see {@link skip}\n *\n * @param {function(value: T, index: number): boolean} predicate A function that\n * evaluates a value emitted by the source Observable and returns a boolean.\n * Also takes the (zero-based) index as the second argument.\n * @return {Observable<T>} An Observable that emits the values from the source\n * Observable so long as each value satisfies the condition defined by the\n * `predicate`, then completes.\n * @method takeWhile\n * @owner Observable\n */\nexport function takeWhile<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new TakeWhileOperator(predicate));\n}\n\nclass TakeWhileOperator<T> implements Operator<T, T> {\n constructor(private predicate: (value: T, index: number) => boolean) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass TakeWhileSubscriber<T> extends Subscriber<T> {\n private index: number = 0;\n\n constructor(destination: Subscriber<T>,\n private predicate: (value: T, index: number) => boolean) {\n super(destination);\n }\n\n protected _next(value: T): void {\n const destination = this.destination;\n let result: boolean;\n try {\n result = this.predicate(value, this.index++);\n } catch (err) {\n destination.error(err);\n return;\n }\n this.nextOrComplete(value, result);\n }\n\n private nextOrComplete(value: T, predicateResult: boolean): void {\n const destination = this.destination;\n if (Boolean(predicateResult)) {\n destination.next(value);\n } else {\n destination.complete();\n }\n }\n}\n"},"lineCount":null}},"hash":"a1025fd45318583fa93883e0ff7cb364","cacheData":{"env":{}}}