{"id":"../node_modules/rxjs/_esm5/internal/operators/mapTo.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/mapTo.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/mapTo.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mapTo = mapTo;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\nfunction mapTo(value) {\n return function (source) {\n return source.lift(new MapToOperator(value));\n };\n}\n\nvar MapToOperator =\n/*@__PURE__*/\nfunction () {\n function MapToOperator(value) {\n this.value = value;\n }\n\n MapToOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new MapToSubscriber(subscriber, this.value));\n };\n\n return MapToOperator;\n}();\n\nvar MapToSubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(MapToSubscriber, _super);\n\n function MapToSubscriber(destination, value) {\n var _this = _super.call(this, destination) || this;\n\n _this.value = value;\n return _this;\n }\n\n MapToSubscriber.prototype._next = function (x) {\n this.destination.next(this.value);\n };\n\n return MapToSubscriber;\n}(_Subscriber.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":2},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":9},"generated":{"line":15,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":2},"generated":{"line":15,"column":14}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":10},"generated":{"line":15,"column":15}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":2},"generated":{"line":15,"column":20}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":36,"column":31},"generated":{"line":15,"column":22}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":16,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":16,"column":19}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":16,"column":25}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":16,"column":27}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":11}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":17}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":18}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":22}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":23}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":27}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":40}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":41}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":46}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":47}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":17,"column":48}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":37,"column":1},"generated":{"line":18,"column":3}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":39,"column":0},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":21,"column":4}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":21,"column":17}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":23,"column":12}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":24,"column":11}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":23},"generated":{"line":24,"column":25}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":44,"column":23},"generated":{"line":24,"column":32}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":25,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":25,"column":14}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":25,"column":17}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":45,"column":3},"generated":{"line":25,"column":22}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":47,"column":2},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":28,"column":15}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":11},"generated":{"line":28,"column":16}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":18},"generated":{"line":28,"column":26}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":28},"generated":{"line":28,"column":33}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":32},"generated":{"line":28,"column":43}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":28},"generated":{"line":28,"column":53}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":48},"generated":{"line":28,"column":55}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":28},"generated":{"line":28,"column":61}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":48,"column":60},"generated":{"line":28,"column":63}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":11}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":17}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":27}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":28}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":32}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":47}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":48}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":58}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":60}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":65}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":70}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":71}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":49,"column":3},"generated":{"line":29,"column":72}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":50,"column":0},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":39,"column":0},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":50,"column":1},"generated":{"line":32,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":39,"column":0},"generated":{"line":32,"column":22}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":0},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":43,"column":22},"generated":{"line":33,"column":1}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":35,"column":4}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":35,"column":19}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":37,"column":10}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":37,"column":16}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":49},"generated":{"line":37,"column":18}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":2}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":10}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":19}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":20}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":35}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":14},"generated":{"line":38,"column":37}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":38,"column":43}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":61,"column":2},"generated":{"line":40,"column":11}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":62,"column":4},"generated":{"line":40,"column":27}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":62,"column":10},"generated":{"line":40,"column":40}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":62,"column":21},"generated":{"line":40,"column":47}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":41,"column":8}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":9},"generated":{"line":41,"column":13}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":14},"generated":{"line":41,"column":16}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":17},"generated":{"line":41,"column":22}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":22},"generated":{"line":41,"column":23}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":14},"generated":{"line":41,"column":27}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":41,"column":28}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":14},"generated":{"line":41,"column":32}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":41,"column":34}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":14},"generated":{"line":41,"column":45}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":23},"generated":{"line":41,"column":50}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":63,"column":4},"generated":{"line":41,"column":54}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":44,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":44,"column":11}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":64,"column":3},"generated":{"line":44,"column":16}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":66,"column":12},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":9},"generated":{"line":47,"column":17}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":9},"generated":{"line":47,"column":18}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":26},"generated":{"line":47,"column":28}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":31},"generated":{"line":47,"column":36}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":38},"generated":{"line":47,"column":46}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":31},"generated":{"line":47,"column":47}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":67,"column":38},"generated":{"line":47,"column":49}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":20}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":21}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":25}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":26}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":31}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":68,"column":3},"generated":{"line":48,"column":36}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":69,"column":0},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":51,"column":9}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":51,"column":24}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":52,"column":1}},{"source":"../../../src/internal/operators/mapTo.ts","name":null,"original":{"line":57,"column":36},"generated":{"line":52,"column":24}}],"sources":{"../../../src/internal/operators/mapTo.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\nimport { OperatorFunction } from '../types';\n\n/**\n * Emits the given constant value on the output Observable every time the source\n * Observable emits a value.\n *\n * Like {@link map}, but it maps every source value to\n * the same output value every time.\n *\n * ![](mapTo.png)\n *\n * Takes a constant `value` as argument, and emits that whenever the source\n * Observable emits a value. In other words, ignores the actual source value,\n * and simply uses the emission moment to know when to emit the given `value`.\n *\n * ## Example\n * Map every click to the string 'Hi'\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const greetings = clicks.pipe(mapTo('Hi'));\n * greetings.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link map}\n *\n * @param {any} value The value to map each source value to.\n * @return {Observable} An Observable that emits the given `value` every time\n * the source Observable emits something.\n * @method mapTo\n * @owner Observable\n */\nexport function mapTo(value: R): OperatorFunction {\n return (source: Observable) => source.lift(new MapToOperator(value));\n}\n\nclass MapToOperator implements Operator {\n\n value: R;\n\n constructor(value: R) {\n this.value = value;\n }\n\n call(subscriber: Subscriber, source: any): any {\n return source.subscribe(new MapToSubscriber(subscriber, this.value));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass MapToSubscriber extends Subscriber {\n\n value: R;\n\n constructor(destination: Subscriber, value: R) {\n super(destination);\n this.value = value;\n }\n\n protected _next(x: T) {\n this.destination.next(this.value);\n }\n}\n"},"lineCount":null}},"hash":"9f51a7c9ee9e595e1dc8a962c8d695c4","cacheData":{"env":{}}}