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

1 line
22 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/startWith.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/startWith.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/fromArray","loc":{"line":2,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"../observable/scalar","loc":{"line":3,"column":23},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/scalar.js"},{"name":"../observable/empty","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/empty.js"},{"name":"../observable/concat","loc":{"line":5,"column":39},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/concat.js"},{"name":"../util/isScheduler","loc":{"line":6,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/startWith.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isScheduler.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.startWith = startWith;\n\nvar _fromArray = require(\"../observable/fromArray\");\n\nvar _scalar = require(\"../observable/scalar\");\n\nvar _empty = require(\"../observable/empty\");\n\nvar _concat = require(\"../observable/concat\");\n\nvar _isScheduler = require(\"../util/isScheduler\");\n\n/** PURE_IMPORTS_START _observable_fromArray,_observable_scalar,_observable_empty,_observable_concat,_util_isScheduler PURE_IMPORTS_END */\nfunction startWith() {\n var array = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i] = arguments[_i];\n }\n\n return function (source) {\n var scheduler = array[array.length - 1];\n\n if ((0, _isScheduler.isScheduler)(scheduler)) {\n array.pop();\n } else {\n scheduler = null;\n }\n\n var len = array.length;\n\n if (len === 1 && !scheduler) {\n return (0, _concat.concat)((0, _scalar.scalar)(array[0]), source);\n } else if (len > 0) {\n return (0, _concat.concat)((0, _fromArray.fromArray)(array, scheduler), source);\n } else {\n return (0, _concat.concat)((0, _empty.empty)(scheduler), source);\n }\n };\n}","map":{"mappings":[{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":19,"column":21}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":20,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":20,"column":14}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":7}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":13}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":16}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":19}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":21}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":22,"column":24}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":22,"column":33}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":22,"column":34}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":22,"column":42}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":22,"column":44}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":22,"column":48}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":53,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":26,"column":9}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":17},"generated":{"line":26,"column":19}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":26,"column":25}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":40},"generated":{"line":26,"column":27}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":4},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":27,"column":8}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":27,"column":17}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":27,"column":20}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":27,"column":25}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":27,"column":26}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":30},"generated":{"line":27,"column":31}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":32},"generated":{"line":27,"column":32}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":27,"column":38}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":32},"generated":{"line":27,"column":41}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":27,"column":42}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":4},"generated":{"line":27,"column":43}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":29,"column":8}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":29,"column":38}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":29,"column":47}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":29,"column":50}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":30,"column":6}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":30,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":30,"column":12}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":30,"column":15}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":58,"column":6},"generated":{"line":31,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":32,"column":6}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":32,"column":15}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":32,"column":18}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":32,"column":22}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":61,"column":4},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":4},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":8},"generated":{"line":35,"column":8}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":35,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":35,"column":14}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":17},"generated":{"line":35,"column":19}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":17},"generated":{"line":35,"column":20}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":4},"generated":{"line":35,"column":26}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":37,"column":8}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":37,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":13},"generated":{"line":37,"column":16}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":37,"column":17}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":13},"generated":{"line":37,"column":21}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":13},"generated":{"line":37,"column":22}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":26},"generated":{"line":37,"column":33}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":13}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":33}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":53}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":58}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":59}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":60}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":61}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":62}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":64}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":70}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":38,"column":71}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":39,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":39,"column":15}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":13},"generated":{"line":39,"column":18}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":13},"generated":{"line":39,"column":21}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":39,"column":22}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":13},"generated":{"line":39,"column":24}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":13}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":33}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":59}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":64}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":66}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":75}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":76}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":78}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":84}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":40,"column":85}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":41,"column":5}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":67,"column":6},"generated":{"line":41,"column":11}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":13}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":33}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":51}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":60}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":61}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":63}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":69}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":42,"column":70}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":69,"column":4},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":44,"column":0}}],"sources":{"../../../src/internal/operators/startWith.ts":"import { Observable } from '../Observable';\nimport { fromArray } from '../observable/fromArray';\nimport { scalar } from '../observable/scalar';\nimport { empty } from '../observable/empty';\nimport { concat as concatStatic } from '../observable/concat';\nimport { isScheduler } from '../util/isScheduler';\nimport { MonoTypeOperatorFunction, OperatorFunction, SchedulerLike } from '../types';\n\n/* tslint:disable:max-line-length */\nexport function startWith<T>(scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;\nexport function startWith<T, D = T>(v1: D, scheduler?: SchedulerLike): OperatorFunction<T, T | D>;\nexport function startWith<T, D = T, E = T>(v1: D, v2: E, scheduler?: SchedulerLike): OperatorFunction<T, T | D | E>;\nexport function startWith<T, D = T, E = T, F = T>(v1: D, v2: E, v3: F, scheduler?: SchedulerLike): OperatorFunction<T, T | D | E | F>;\nexport function startWith<T, D = T, E = T, F = T, G = T>(v1: D, v2: E, v3: F, v4: G, scheduler?: SchedulerLike): OperatorFunction<T, T | D | E | F | G>;\nexport function startWith<T, D = T, E = T, F = T, G = T, H = T>(v1: D, v2: E, v3: F, v4: G, v5: H, scheduler?: SchedulerLike): OperatorFunction<T, T | D | E | F | G | H>;\nexport function startWith<T, D = T, E = T, F = T, G = T, H = T, I = T>(v1: D, v2: E, v3: F, v4: G, v5: H, v6: I, scheduler?: SchedulerLike): OperatorFunction<T, T | D | E | F | G | H | I>;\nexport function startWith<T, D = T>(...array: Array<D | SchedulerLike>): OperatorFunction<T, T | D>;\n/* tslint:enable:max-line-length */\n\n/**\n * Returns an Observable that emits the items you specify as arguments before it begins to emit\n * items emitted by the source Observable.\n *\n * <span class=\"informal\">First emits its arguments in order, and then any\n * emissions from the source.</span>\n *\n * ![](startWith.png)\n *\n * ## Examples\n *\n * Start the chain of emissions with `\"first\"`, `\"second\"`\n *\n * ```javascript\n * of(\"from source\")\n * .pipe(startWith(\"first\", \"second\"))\n * .subscribe(x => console.log(x));\n *\n * // results:\n * // \"first\"\n * // \"second\"\n * // \"from source\"\n * ```\n *\n * @param {...T} values - Items you want the modified Observable to emit first.\n * @param {SchedulerLike} [scheduler] - A {@link SchedulerLike} to use for scheduling\n * the emissions of the `next` notifications.\n * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items\n * emitted by the source Observable.\n * @method startWith\n * @owner Observable\n */\nexport function startWith<T, D>(...array: Array<T | SchedulerLike>): OperatorFunction<T, T | D> {\n return (source: Observable<T>) => {\n let scheduler = <SchedulerLike>array[array.length - 1];\n if (isScheduler(scheduler)) {\n array.pop();\n } else {\n scheduler = null;\n }\n\n const len = array.length;\n if (len === 1 && !scheduler) {\n return concatStatic(scalar(array[0] as T), source);\n } else if (len > 0) {\n return concatStatic(fromArray(array as T[], scheduler), source);\n } else {\n return concatStatic<T>(empty(scheduler) as any, source);\n }\n };\n}\n"},"lineCount":null}},"hash":"15479977984c5bce555f407c45f8bf80","cacheData":{"env":{}}}