{"id":"../node_modules/rxjs/_esm5/internal/util/subscribeTo.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/util/subscribeTo.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":"../Observable","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"./subscribeToArray","loc":{"line":3,"column":33},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToArray.js"},{"name":"./subscribeToPromise","loc":{"line":4,"column":35},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToPromise.js"},{"name":"./subscribeToIterable","loc":{"line":5,"column":36},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToIterable.js"},{"name":"./subscribeToObservable","loc":{"line":6,"column":38},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeToObservable.js"},{"name":"./isArrayLike","loc":{"line":7,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArrayLike.js"},{"name":"./isPromise","loc":{"line":8,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isPromise.js"},{"name":"./isObject","loc":{"line":9,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isObject.js"},{"name":"../symbol/iterator","loc":{"line":10,"column":44},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/iterator.js"},{"name":"../symbol/observable","loc":{"line":11,"column":48},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/subscribeTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/symbol/observable.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.subscribeTo = void 0;\n\nvar _Observable = require(\"../Observable\");\n\nvar _subscribeToArray = require(\"./subscribeToArray\");\n\nvar _subscribeToPromise = require(\"./subscribeToPromise\");\n\nvar _subscribeToIterable = require(\"./subscribeToIterable\");\n\nvar _subscribeToObservable = require(\"./subscribeToObservable\");\n\nvar _isArrayLike = require(\"./isArrayLike\");\n\nvar _isPromise = require(\"./isPromise\");\n\nvar _isObject = require(\"./isObject\");\n\nvar _iterator = require(\"../symbol/iterator\");\n\nvar _observable = require(\"../symbol/observable\");\n\n/** PURE_IMPORTS_START _Observable,_subscribeToArray,_subscribeToPromise,_subscribeToIterable,_subscribeToObservable,_isArrayLike,_isPromise,_isObject,_symbol_iterator,_symbol_observable PURE_IMPORTS_END */\nvar subscribeTo = function (result) {\n if (result instanceof _Observable.Observable) {\n return function (subscriber) {\n if (result._isScalar) {\n subscriber.next(result.value);\n subscriber.complete();\n return undefined;\n } else {\n return result.subscribe(subscriber);\n }\n };\n } else if (result && typeof result[_observable.observable] === 'function') {\n return (0, _subscribeToObservable.subscribeToObservable)(result);\n } else if ((0, _isArrayLike.isArrayLike)(result)) {\n return (0, _subscribeToArray.subscribeToArray)(result);\n } else if ((0, _isPromise.isPromise)(result)) {\n return (0, _subscribeToPromise.subscribeToPromise)(result);\n } else if (result && typeof result[_iterator.iterator] === 'function') {\n return (0, _subscribeToIterable.subscribeToIterable)(result);\n } else {\n var value = (0, _isObject.isObject)(result) ? 'an invalid object' : \"'\" + result + \"'\";\n var msg = \"You provided \" + value + \" where a stream was expected.\" + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n\nexports.subscribeTo = subscribeTo;","map":{"mappings":[{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":10,"column":0},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":11,"column":0},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":14,"column":0},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":2},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":6},"generated":{"line":29,"column":4}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":12},"generated":{"line":29,"column":15}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":12},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":24},"generated":{"line":29,"column":28}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":12},"generated":{"line":29,"column":34}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":36},"generated":{"line":29,"column":36}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":30,"column":6}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":16,"column":4},"generated":{"line":30,"column":12}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":16,"column":12},"generated":{"line":30,"column":24}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":16,"column":37},"generated":{"line":30,"column":48}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":31,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":17,"column":19},"generated":{"line":31,"column":21}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":31,"column":31}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":17,"column":30},"generated":{"line":31,"column":33}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":32,"column":10}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":32,"column":16}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":32,"column":17}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":18,"column":25},"generated":{"line":32,"column":28}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":33,"column":8}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":18},"generated":{"line":33,"column":18}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":33,"column":19}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":33,"column":23}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":19},"generated":{"line":33,"column":24}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":30},"generated":{"line":33,"column":30}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":30},"generated":{"line":33,"column":31}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":19,"column":8},"generated":{"line":33,"column":36}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":34,"column":8}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":20,"column":15},"generated":{"line":34,"column":18}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":20,"column":15},"generated":{"line":34,"column":19}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":20,"column":8},"generated":{"line":34,"column":27}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":21,"column":7},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":21,"column":7},"generated":{"line":35,"column":15}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":21,"column":7},"generated":{"line":35,"column":24}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":36,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":15}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":21}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":22}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":31}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":32}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":42}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":23,"column":7},"generated":{"line":37,"column":43}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":40,"column":9}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":40,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":40,"column":19}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":40,"column":23}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":40,"column":30}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":32},"generated":{"line":40,"column":36}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":33},"generated":{"line":40,"column":37}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":32},"generated":{"line":40,"column":59}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":11},"generated":{"line":40,"column":60}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":48},"generated":{"line":40,"column":65}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":40,"column":75}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":48},"generated":{"line":40,"column":77}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":27,"column":3},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":27,"column":3},"generated":{"line":41,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":27,"column":3},"generated":{"line":41,"column":61}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":27,"column":3},"generated":{"line":41,"column":67}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":27,"column":3},"generated":{"line":41,"column":68}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":26,"column":4},"generated":{"line":42,"column":3}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":42,"column":9}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":42,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":11},"generated":{"line":42,"column":43}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":42,"column":49}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":42,"column":50}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":28},"generated":{"line":42,"column":52}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":29,"column":3},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":29,"column":3},"generated":{"line":43,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":29,"column":3},"generated":{"line":43,"column":51}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":29,"column":3},"generated":{"line":43,"column":57}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":29,"column":3},"generated":{"line":43,"column":58}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":28,"column":4},"generated":{"line":44,"column":3}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":44,"column":9}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":44,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":44,"column":39}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":44,"column":45}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":44,"column":46}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":11},"generated":{"line":44,"column":48}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":31,"column":3},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":31,"column":3},"generated":{"line":45,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":31,"column":3},"generated":{"line":45,"column":55}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":31,"column":3},"generated":{"line":45,"column":61}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":31,"column":3},"generated":{"line":45,"column":62}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":46,"column":3}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":4},"generated":{"line":46,"column":9}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":4},"generated":{"line":46,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":11},"generated":{"line":46,"column":19}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":11},"generated":{"line":46,"column":23}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":11},"generated":{"line":46,"column":30}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":31},"generated":{"line":46,"column":36}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":31},"generated":{"line":46,"column":37}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":31},"generated":{"line":46,"column":55}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":11},"generated":{"line":46,"column":56}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":46},"generated":{"line":46,"column":61}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":4},"generated":{"line":46,"column":71}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":46},"generated":{"line":46,"column":73}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":47,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":47,"column":57}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":47,"column":63}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":47,"column":64}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":32,"column":4},"generated":{"line":48,"column":3}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":34,"column":4},"generated":{"line":48,"column":9}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":49,"column":8}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":13},"generated":{"line":49,"column":13}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":49,"column":16}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":49,"column":40}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":49,"column":46}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":32},"generated":{"line":49,"column":50}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":16},"generated":{"line":49,"column":69}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":49,"column":72}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":49,"column":78}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":37},"generated":{"line":49,"column":84}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":68},"generated":{"line":49,"column":87}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":49,"column":90}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":11}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":14}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":32}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":37}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":40}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":36,"column":8},"generated":{"line":50,"column":71}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":37,"column":10},"generated":{"line":50,"column":74}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":10}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":14}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":23}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":24}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":27}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":38,"column":3},"generated":{"line":51,"column":28}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":39,"column":2},"generated":{"line":52,"column":0}},{"source":"../../../src/internal/util/subscribeTo.ts","name":null,"original":{"line":15,"column":2},"generated":{"line":53,"column":1}}],"sources":{"../../../src/internal/util/subscribeTo.ts":"import { Observable } from '../Observable';\nimport { ObservableInput } from '../types';\nimport { subscribeToArray } from './subscribeToArray';\nimport { subscribeToPromise } from './subscribeToPromise';\nimport { subscribeToIterable } from './subscribeToIterable';\nimport { subscribeToObservable } from './subscribeToObservable';\nimport { isArrayLike } from './isArrayLike';\nimport { isPromise } from './isPromise';\nimport { isObject } from './isObject';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { observable as Symbol_observable } from '../symbol/observable';\nimport { Subscriber } from '../Subscriber';\n\nexport const subscribeTo = (result: ObservableInput) => {\n if (result instanceof Observable) {\n return (subscriber: Subscriber) => {\n if (result._isScalar) {\n subscriber.next((result as any).value);\n subscriber.complete();\n return undefined;\n } else {\n return result.subscribe(subscriber);\n }\n };\n } else if (result && typeof result[Symbol_observable] === 'function') {\n return subscribeToObservable(result as any);\n } else if (isArrayLike(result)) {\n return subscribeToArray(result);\n } else if (isPromise(result)) {\n return subscribeToPromise(result as Promise);\n } else if (result && typeof result[Symbol_iterator] === 'function') {\n return subscribeToIterable(result as any);\n } else {\n const value = isObject(result) ? 'an invalid object' : `'${result}'`;\n const msg = `You provided ${value} where a stream was expected.`\n + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n"},"lineCount":null}},"hash":"1f7d53102959f4406200bb59c6e66737","cacheData":{"env":{}}}