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

1 line
19 KiB
JSON

{"id":"doo6","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":1545395749058},{"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\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.startWith=c;var e=require(\"../observable/fromArray\"),r=require(\"../observable/scalar\"),t=require(\"../observable/empty\"),a=require(\"../observable/concat\"),o=require(\"../util/isScheduler\");function c(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return function(l){var u=c[c.length-1];(0,o.isScheduler)(u)?c.pop():u=null;var n=c.length;return 1!==n||u?n>0?(0,a.concat)((0,e.fromArray)(c,u),l):(0,a.concat)((0,t.empty)(u),l):(0,a.concat)((0,r.scalar)(c[0]),l)}}","map":{"mappings":[{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":86}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":92}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":102}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":129}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":131}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":139}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":163}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":165}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":173}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":196}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":198}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":206}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":230}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":232}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":0},"generated":{"line":1,"column":240}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":263}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":272}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":276}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":280}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":284}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":286}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":291}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":293}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":32},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":1,"column":305}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":52,"column":66},"generated":{"line":1,"column":312}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":316}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":318}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":321}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":70,"column":1},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":334}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":4},"generated":{"line":1,"column":341}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":54,"column":17},"generated":{"line":1,"column":350}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":1,"column":353}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":8},"generated":{"line":1,"column":357}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":1,"column":359}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":20},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":32},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":55,"column":32},"generated":{"line":1,"column":370}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":1,"column":374}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":376}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":378}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":391}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":1,"column":394}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":1,"column":396}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":1,"column":402}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":59,"column":5},"generated":{"line":1,"column":404}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":8},"generated":{"line":1,"column":409}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":8},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":11},"generated":{"line":1,"column":415}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":62,"column":17},"generated":{"line":1,"column":417}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":1,"column":424}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":13},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":6},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":63,"column":13},"generated":{"line":1,"column":438}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":6},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":65,"column":13},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":447}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":449}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":458}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":460}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":462}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":473}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":475}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":66,"column":5},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":482}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":484}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":486}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":495}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":497}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":499}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":506}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":68,"column":5},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":513}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":517}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":526}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":528}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":538}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":540}},{"source":"../../../src/internal/operators/startWith.ts","name":null,"original":{"line":64,"column":5},"generated":{"line":1,"column":544}}],"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":"ee0a7590d792601d7b51e89c60d2db2a","cacheData":{"env":{}}}