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

1 line
20 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/operators/finalize.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/finalize.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/finalize.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/finalize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../Subscription","loc":{"line":4,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/finalize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscription.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.finalize = finalize;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\n\nvar _Subscription = require(\"../Subscription\");\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,_Subscription PURE_IMPORTS_END */\nfunction finalize(callback) {\n return function (source) {\n return source.lift(new FinallyOperator(callback));\n };\n}\n\nvar FinallyOperator =\n/*@__PURE__*/\nfunction () {\n function FinallyOperator(callback) {\n this.callback = callback;\n }\n\n FinallyOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n };\n\n return FinallyOperator;\n}();\n\nvar FinallySubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(FinallySubscriber, _super);\n\n function FinallySubscriber(destination, callback) {\n var _this = _super.call(this, destination) || this;\n\n _this.add(new _Subscription.Subscription(callback));\n\n return _this;\n }\n\n return FinallySubscriber;\n}(_Subscriber.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":15,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":17,"column":17}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":10},"generated":{"line":17,"column":18}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":17,"column":26}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":16,"column":36},"generated":{"line":17,"column":28}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":18,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":18,"column":19}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":18,"column":25}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":18,"column":27}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":11}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":17}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":22}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":42}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":43}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":51}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":52}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":19,"column":53}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":17,"column":1},"generated":{"line":20,"column":3}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":19,"column":0},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":23,"column":4}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":23,"column":19}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":24,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":25,"column":12}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":22},"generated":{"line":26,"column":11}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":22},"generated":{"line":26,"column":27}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":26,"column":37}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":27,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":27,"column":17}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":27,"column":20}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":21,"column":3},"generated":{"line":27,"column":28}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":23,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":11},"generated":{"line":30,"column":17}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":11},"generated":{"line":30,"column":18}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":18},"generated":{"line":30,"column":28}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":30,"column":35}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":30,"column":45}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":30,"column":55}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":50},"generated":{"line":30,"column":57}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":32},"generated":{"line":30,"column":63}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":24,"column":62},"generated":{"line":30,"column":65}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":11}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":17}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":18}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":27}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":28}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":32}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":49}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":50}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":60}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":62}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":67}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":75}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":76}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":25,"column":3},"generated":{"line":31,"column":77}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":26,"column":0},"generated":{"line":32,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":19,"column":0},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":26,"column":1},"generated":{"line":34,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":19,"column":0},"generated":{"line":34,"column":24}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":0},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":20,"column":42},"generated":{"line":35,"column":1}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":37,"column":4}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":37,"column":21}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":39,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":48},"generated":{"line":39,"column":10}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":39,"column":16}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":48},"generated":{"line":39,"column":18}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":2}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":10}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":19}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":20}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":37}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":14},"generated":{"line":40,"column":39}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":40,"column":45}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":34,"column":2},"generated":{"line":42,"column":11}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":35,"column":4},"generated":{"line":42,"column":29}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":42,"column":42}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":35,"column":22},"generated":{"line":42,"column":52}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":43,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":43,"column":8}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":12},"generated":{"line":43,"column":13}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":43,"column":16}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":17},"generated":{"line":43,"column":22}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":17},"generated":{"line":43,"column":23}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":43,"column":27}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":17},"generated":{"line":43,"column":28}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":43,"column":32}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":30},"generated":{"line":43,"column":34}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":43,"column":45}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":41},"generated":{"line":43,"column":50}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":36,"column":4},"generated":{"line":43,"column":54}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":47,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":47,"column":11}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":37,"column":3},"generated":{"line":47,"column":16}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":38,"column":0},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":50,"column":9}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":50,"column":26}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":51,"column":1}},{"source":"../../../src/internal/operators/finalize.ts","name":null,"original":{"line":33,"column":35},"generated":{"line":51,"column":24}}],"sources":{"../../../src/internal/operators/finalize.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { Observable } from '../Observable';\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/**\n * Returns an Observable that mirrors the source Observable, but will call a specified function when\n * the source terminates on complete or error.\n * @param {function} callback Function to be called when source terminates.\n * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination.\n * @method finally\n * @owner Observable\n */\nexport function finalize<T>(callback: () => void): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new FinallyOperator(callback));\n}\n\nclass FinallyOperator<T> implements Operator<T, T> {\n constructor(private callback: () => void) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass FinallySubscriber<T> extends Subscriber<T> {\n constructor(destination: Subscriber<T>, callback: () => void) {\n super(destination);\n this.add(new Subscription(callback));\n }\n}\n"},"lineCount":null}},"hash":"914556e49244f90ddcd8736cdb4a889c","cacheData":{"env":{}}}