webdetector/.cache/f9/d879552d9c80e7d03855200da1b9e9.json
2018-12-21 13:36:28 +01:00

1 line
54 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/observable/race.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/race.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/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../util/isArray","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"./fromArray","loc":{"line":4,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"../OuterSubscriber","loc":{"line":5,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":6,"column":34},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/race.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.race = race;\nexports.RaceSubscriber = exports.RaceOperator = void 0;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _isArray = require(\"../util/isArray\");\n\nvar _fromArray = require(\"./fromArray\");\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,_util_isArray,_fromArray,_OuterSubscriber,_util_subscribeToResult PURE_IMPORTS_END */\nfunction race() {\n var observables = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i] = arguments[_i];\n }\n\n if (observables.length === 1) {\n if ((0, _isArray.isArray)(observables[0])) {\n observables = observables[0];\n } else {\n return observables[0];\n }\n }\n\n return (0, _fromArray.fromArray)(observables, undefined).lift(new RaceOperator());\n}\n\nvar RaceOperator =\n/*@__PURE__*/\nfunction () {\n function RaceOperator() {}\n\n RaceOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RaceSubscriber(subscriber));\n };\n\n return RaceOperator;\n}();\n\nexports.RaceOperator = RaceOperator;\n\nvar RaceSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(RaceSubscriber, _super);\n\n function RaceSubscriber(destination) {\n var _this = _super.call(this, destination) || this;\n\n _this.hasFirst = false;\n _this.observables = [];\n _this.subscriptions = [];\n return _this;\n }\n\n RaceSubscriber.prototype._next = function (observable) {\n this.observables.push(observable);\n };\n\n RaceSubscriber.prototype._complete = function () {\n var observables = this.observables;\n var len = observables.length;\n\n if (len === 0) {\n this.destination.complete();\n } else {\n for (var i = 0; i < len && !this.hasFirst; i++) {\n var observable = observables[i];\n var subscription = (0, _subscribeToResult.subscribeToResult)(this, observable, observable, i);\n\n if (this.subscriptions) {\n this.subscriptions.push(subscription);\n }\n\n this.add(subscription);\n }\n\n this.observables = null;\n }\n };\n\n RaceSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n if (!this.hasFirst) {\n this.hasFirst = true;\n\n for (var i = 0; i < this.subscriptions.length; i++) {\n if (i !== outerIndex) {\n var subscription = this.subscriptions[i];\n subscription.unsubscribe();\n this.remove(subscription);\n }\n }\n\n this.subscriptions = null;\n }\n\n this.destination.next(innerValue);\n };\n\n return RaceSubscriber;\n}(_OuterSubscriber.OuterSubscriber);\n\nexports.RaceSubscriber = RaceSubscriber;","map":{"mappings":[{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":9,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":0},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":22,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":22,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":22,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":23,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":23,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":7}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":33}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":25,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":25,"column":42}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":25,"column":44}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":41,"column":87},"generated":{"line":25,"column":48}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":29,"column":6}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":15},"generated":{"line":29,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":16},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":4},"generated":{"line":29,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":27},"generated":{"line":29,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":45,"column":30},"generated":{"line":29,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":30,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":30,"column":30}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":44},"generated":{"line":30,"column":41}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":44},"generated":{"line":30,"column":42}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":44},"generated":{"line":30,"column":43}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":6},"generated":{"line":30,"column":44}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":46,"column":55},"generated":{"line":30,"column":47}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":6}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":31}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":33}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":47,"column":5},"generated":{"line":31,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":48,"column":6},"generated":{"line":32,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":49,"column":5},"generated":{"line":33,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":50,"column":3},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":52,"column":2},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":35}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":46}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":48}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":57}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":59}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":63}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":64}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":68}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":80}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":82}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":53,"column":1},"generated":{"line":37,"column":83}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":40,"column":4}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":40,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":42,"column":12}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":43,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":43,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":43,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":56,"column":2},"generated":{"line":43,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":45,"column":14}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":11},"generated":{"line":45,"column":15}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":18},"generated":{"line":45,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":45,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":32},"generated":{"line":45,"column":42}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":45,"column":52}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":47},"generated":{"line":45,"column":54}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":28},"generated":{"line":45,"column":60}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":57,"column":60},"generated":{"line":45,"column":62}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":28}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":46}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":47}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":57}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":58}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":46,"column":59}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":49,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":49,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":55,"column":0},"generated":{"line":50,"column":1}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":54,"column":4}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":54,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":60},"generated":{"line":56,"column":10}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":56,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":60},"generated":{"line":56,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":2}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":10}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":14},"generated":{"line":57,"column":36}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":57,"column":42}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":71,"column":2},"generated":{"line":59,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":59,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":72,"column":10},"generated":{"line":59,"column":39}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":30},"generated":{"line":60,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":30},"generated":{"line":60,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":60,"column":28}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":60,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":45}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":36},"generated":{"line":60,"column":50}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":67,"column":10},"generated":{"line":60,"column":54}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":4}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":10}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":21},"generated":{"line":62,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":68,"column":10},"generated":{"line":62,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":4}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":10}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":23},"generated":{"line":63,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":69,"column":10},"generated":{"line":63,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":65,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":65,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":73,"column":3},"generated":{"line":65,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":75,"column":12},"generated":{"line":66,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":68,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":9},"generated":{"line":68,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":25},"generated":{"line":68,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":68,"column":35}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":38},"generated":{"line":68,"column":45}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":68,"column":55}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":76,"column":38},"generated":{"line":68,"column":57}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":77,"column":3},"generated":{"line":69,"column":36}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":79,"column":12},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":72,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":10},"generated":{"line":72,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":24},"generated":{"line":72,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":29},"generated":{"line":72,"column":39}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":80,"column":41},"generated":{"line":72,"column":51}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":73,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":10},"generated":{"line":73,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":73,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":16},"generated":{"line":73,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":28},"generated":{"line":73,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":81,"column":4},"generated":{"line":73,"column":38}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":74,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":8},"generated":{"line":74,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":74,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":11},"generated":{"line":74,"column":14}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":19},"generated":{"line":74,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":19},"generated":{"line":74,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":74,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":76,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":6},"generated":{"line":76,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":76,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":76,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":77,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":77,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":77,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":77,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":77,"column":31}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":86,"column":6},"generated":{"line":78,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":8},"generated":{"line":79,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":15}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":22},"generated":{"line":79,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":12},"generated":{"line":79,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":25},"generated":{"line":79,"column":33}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":25},"generated":{"line":79,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":37},"generated":{"line":79,"column":39}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":40},"generated":{"line":79,"column":49}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":40},"generated":{"line":79,"column":50}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":87,"column":40},"generated":{"line":79,"column":54}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":80,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":80,"column":12}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":12},"generated":{"line":80,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":24},"generated":{"line":80,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":27},"generated":{"line":80,"column":36}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":27},"generated":{"line":80,"column":37}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":27},"generated":{"line":80,"column":38}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":88,"column":8},"generated":{"line":80,"column":39}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":81,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":12},"generated":{"line":81,"column":12}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":81,"column":69}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":73}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":81,"column":75}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":85}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":81,"column":87}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":97}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":32},"generated":{"line":81,"column":99}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":17},"generated":{"line":81,"column":100}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":81,"column":101}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":91,"column":10},"generated":{"line":83,"column":12}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":91,"column":15},"generated":{"line":83,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":91,"column":29},"generated":{"line":83,"column":32}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":15}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":28}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":33}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":92,"column":9},"generated":{"line":84,"column":46}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":93,"column":8},"generated":{"line":85,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":87,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":87,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":87,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":87,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":94,"column":7},"generated":{"line":87,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":95,"column":6},"generated":{"line":88,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":90,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":90,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":90,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":90,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":96,"column":5},"generated":{"line":90,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":97,"column":3},"generated":{"line":91,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":99,"column":2},"generated":{"line":92,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":94,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":14},"generated":{"line":94,"column":17}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":40}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":50}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":60}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":62}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":72}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":74}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":84}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":86}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":96}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":98}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":106}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":102,"column":24},"generated":{"line":94,"column":108}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":95,"column":8}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":6},"generated":{"line":95,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":11},"generated":{"line":95,"column":14}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":103,"column":22},"generated":{"line":95,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":6},"generated":{"line":96,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":11},"generated":{"line":96,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":6},"generated":{"line":96,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":22},"generated":{"line":96,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":105,"column":6},"generated":{"line":96,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":8},"generated":{"line":98,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":13},"generated":{"line":98,"column":15}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":13},"generated":{"line":98,"column":16}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":13},"generated":{"line":98,"column":19}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":98,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":98,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":98,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":28},"generated":{"line":98,"column":31}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":18},"generated":{"line":98,"column":44}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":98,"column":45}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":98,"column":53}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":98,"column":54}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":106,"column":30},"generated":{"line":98,"column":58}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":99,"column":12}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":10},"generated":{"line":99,"column":13}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":14},"generated":{"line":99,"column":18}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":107,"column":26},"generated":{"line":99,"column":30}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":100,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":100,"column":14}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":23},"generated":{"line":100,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":23},"generated":{"line":100,"column":29}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":34},"generated":{"line":100,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":23},"generated":{"line":100,"column":47}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":37},"generated":{"line":100,"column":48}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":23},"generated":{"line":100,"column":49}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":109,"column":10},"generated":{"line":100,"column":50}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":101,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":101,"column":10}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":22},"generated":{"line":101,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":22},"generated":{"line":101,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":110,"column":10},"generated":{"line":101,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":102,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":102,"column":15}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":102,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":102,"column":22}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":111,"column":9},"generated":{"line":102,"column":34}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":112,"column":7},"generated":{"line":103,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":114,"column":6},"generated":{"line":104,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":106,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":106,"column":11}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":106,"column":24}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":106,"column":27}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":115,"column":5},"generated":{"line":106,"column":31}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":117,"column":4},"generated":{"line":107,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":20}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":21}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":25}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":26}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":118,"column":3},"generated":{"line":109,"column":36}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":119,"column":0},"generated":{"line":110,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":112,"column":0}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":112,"column":9}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":112,"column":23}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":113,"column":1}},{"source":"../../../src/internal/observable/race.ts","name":null,"original":{"line":66,"column":39},"generated":{"line":113,"column":34}}],"sources":{"../../../src/internal/observable/race.ts":"import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { fromArray } from './fromArray';\nimport { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { TeardownLogic } from '../types';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\n\n/**\n * Returns an Observable that mirrors the first source Observable to emit an item.\n *\n * ## Example\n * ### Subscribes to the observable that was the first to start emitting.\n *\n * ```javascript\n * const obs1 = interval(1000).pipe(mapTo('fast one'));\n * const obs2 = interval(3000).pipe(mapTo('medium one'));\n * const obs3 = interval(5000).pipe(mapTo('slow one'));\n *\n * race(obs3, obs1, obs2)\n * .subscribe(\n * winner => console.log(winner)\n * );\n *\n * // result:\n * // a series of 'fast one'\n * ```\n *\n * @param {...Observables} ...observables sources used to race for which Observable emits first.\n * @return {Observable} an Observable that mirrors the output of the first Observable to emit an item.\n * @static true\n * @name race\n * @owner Observable\n */\nexport function race<T>(observables: Array<Observable<T>>): Observable<T>;\nexport function race<T>(observables: Array<Observable<any>>): Observable<T>;\nexport function race<T>(...observables: Array<Observable<T> | Array<Observable<T>>>): Observable<T>;\nexport function race<T>(...observables: Array<Observable<any> | Array<Observable<any>>>): Observable<T> {\n // if the only argument is an array, it was most likely called with\n // `race([obs1, obs2, ...])`\n if (observables.length === 1) {\n if (isArray(observables[0])) {\n observables = <Array<Observable<any>>>observables[0];\n } else {\n return <Observable<any>>observables[0];\n }\n }\n\n return fromArray(observables, undefined).lift(new RaceOperator<T>());\n}\n\nexport class RaceOperator<T> implements Operator<T, T> {\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new RaceSubscriber(subscriber));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class RaceSubscriber<T> extends OuterSubscriber<T, T> {\n private hasFirst: boolean = false;\n private observables: Observable<any>[] = [];\n private subscriptions: Subscription[] = [];\n\n constructor(destination: Subscriber<T>) {\n super(destination);\n }\n\n protected _next(observable: any): void {\n this.observables.push(observable);\n }\n\n protected _complete() {\n const observables = this.observables;\n const len = observables.length;\n\n if (len === 0) {\n this.destination.complete();\n } else {\n for (let i = 0; i < len && !this.hasFirst; i++) {\n let observable = observables[i];\n let subscription = subscribeToResult(this, observable, observable as any, i);\n\n if (this.subscriptions) {\n this.subscriptions.push(subscription);\n }\n this.add(subscription);\n }\n this.observables = null;\n }\n }\n\n notifyNext(outerValue: T, innerValue: T,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber<T, T>): void {\n if (!this.hasFirst) {\n this.hasFirst = true;\n\n for (let i = 0; i < this.subscriptions.length; i++) {\n if (i !== outerIndex) {\n let subscription = this.subscriptions[i];\n\n subscription.unsubscribe();\n this.remove(subscription);\n }\n }\n\n this.subscriptions = null;\n }\n\n this.destination.next(innerValue);\n }\n}\n"},"lineCount":null}},"hash":"ff470e3fe8aab99840928b48ba1db3a0","cacheData":{"env":{}}}