1 line
30 KiB
JSON
1 line
30 KiB
JSON
{"id":"ZwCH","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/materialize.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/materialize.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":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/materialize.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/materialize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../Notification","loc":{"line":4,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/materialize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Notification.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.materialize=i;var t=n(require(\"tslib\")),e=require(\"../Subscriber\"),r=require(\"../Notification\");function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}function i(){return function(t){return t.lift(new o)}}var o=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new c(t))},t}(),c=function(e){function n(t){return e.call(this,t)||this}return t.__extends(n,e),n.prototype._next=function(t){this.destination.next(r.Notification.createNext(t))},n.prototype._error=function(t){var e=this.destination;e.next(r.Notification.createError(t)),e.complete()},n.prototype._complete=function(){var t=this.destination;t.next(r.Notification.createComplete()),t.complete()},n}(e.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":88}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":90}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":94}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":96}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":98}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":106}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":116}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":118}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":126}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":54,"column":0},"generated":{"line":1,"column":143}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":54,"column":0},"generated":{"line":1,"column":145}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":54,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":172}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":181}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":186}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":189}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":192}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":194}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":205}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":212}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":218}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":220}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":223}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":226}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":232}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":234}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":238}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":242}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":247}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":252}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":259}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":269}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":284}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":289}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":291}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":294}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":295}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":299}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":301}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":308}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":324}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":331}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":356}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":388}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":390}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":393}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":396}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":398}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":403}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":409}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":416}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":433}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":438}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":443}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":448}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":455}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":457}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":465}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":467}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":55,"column":2},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":55,"column":9},"generated":{"line":1,"column":478}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":482}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":489}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":56,"column":27},"generated":{"line":1,"column":498}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":501}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":508}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":510}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":57,"column":4},"generated":{"line":1,"column":519}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":523}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":527}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":529}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":540}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":549}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":554}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":18},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":18},"generated":{"line":1,"column":563}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":28},"generated":{"line":1,"column":573}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":32},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":32},"generated":{"line":1,"column":587}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":62,"column":54},"generated":{"line":1,"column":589}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":592}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":601}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":611}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":63,"column":3},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":64,"column":1},"generated":{"line":1,"column":622}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":60,"column":0},"generated":{"line":1,"column":624}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":629}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":52},"generated":{"line":1,"column":638}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":641}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":650}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":73,"column":10},"generated":{"line":1,"column":652}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":655}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":662}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":664}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":669}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":674}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":678}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":683}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":690}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":692}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":72,"column":2},"generated":{"line":1,"column":702}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":72,"column":14},"generated":{"line":1,"column":704}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":77,"column":21},"generated":{"line":1,"column":707}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":77,"column":21},"generated":{"line":1,"column":709}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":77,"column":26},"generated":{"line":1,"column":719}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":77,"column":39},"generated":{"line":1,"column":725}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":77,"column":50},"generated":{"line":1,"column":734}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":737}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":742}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":754}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":759}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":761}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":78,"column":3},"generated":{"line":1,"column":785}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":81,"column":21},"generated":{"line":1,"column":790}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":81,"column":24},"generated":{"line":1,"column":792}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":81,"column":29},"generated":{"line":1,"column":802}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":81,"column":41},"generated":{"line":1,"column":809}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":81,"column":41},"generated":{"line":1,"column":818}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":1,"column":821}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":82,"column":4},"generated":{"line":1,"column":825}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":82,"column":21},"generated":{"line":1,"column":827}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":82,"column":21},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":4},"generated":{"line":1,"column":844}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":16},"generated":{"line":1,"column":846}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":16},"generated":{"line":1,"column":851}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":1,"column":853}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":1,"column":866}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":83,"column":27},"generated":{"line":1,"column":878}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":84,"column":3},"generated":{"line":1,"column":884}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":87,"column":21},"generated":{"line":1,"column":896}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":87,"column":24},"generated":{"line":1,"column":898}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":87,"column":29},"generated":{"line":1,"column":908}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":87,"column":41},"generated":{"line":1,"column":918}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":1,"column":929}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":88,"column":4},"generated":{"line":1,"column":933}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":88,"column":21},"generated":{"line":1,"column":935}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":88,"column":21},"generated":{"line":1,"column":940}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":89,"column":4},"generated":{"line":1,"column":952}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":89,"column":16},"generated":{"line":1,"column":954}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":89,"column":16},"generated":{"line":1,"column":959}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":89,"column":27},"generated":{"line":1,"column":961}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":89,"column":27},"generated":{"line":1,"column":974}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":90,"column":3},"generated":{"line":1,"column":992}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":90,"column":3},"generated":{"line":1,"column":994}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":1006}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":1008}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":1009}},{"source":"../../../src/internal/operators/materialize.ts","name":null,"original":{"line":71,"column":39},"generated":{"line":1,"column":1011}}],"sources":{"../../../src/internal/operators/materialize.ts":"import { Operator } from '../Operator';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nimport { OperatorFunction } from '../types';\n\n/**\n * Represents all of the notifications from the source Observable as `next`\n * emissions marked with their original types within {@link Notification}\n * objects.\n *\n * <span class=\"informal\">Wraps `next`, `error` and `complete` emissions in\n * {@link Notification} objects, emitted as `next` on the output Observable.\n * </span>\n *\n * ![](materialize.png)\n *\n * `materialize` returns an Observable that emits a `next` notification for each\n * `next`, `error`, or `complete` emission of the source Observable. When the\n * source Observable emits `complete`, the output Observable will emit `next` as\n * a Notification of type \"complete\", and then it will emit `complete` as well.\n * When the source Observable emits `error`, the output will emit `next` as a\n * Notification of type \"error\", and then `complete`.\n *\n * This operator is useful for producing metadata of the source Observable, to\n * be consumed as `next` emissions. Use it in conjunction with\n * {@link dematerialize}.\n *\n * ## Example\n * Convert a faulty Observable to an Observable of Notifications\n * ```javascript\n * const letters = of('a', 'b', 13, 'd');\n * const upperCase = letters.pipe(map(x => x.toUpperCase()));\n * const materialized = upperCase.pipe(materialize());\n * materialized.subscribe(x => console.log(x));\n *\n * // Results in the following:\n * // - Notification {kind: \"N\", value: \"A\", error: undefined, hasValue: true}\n * // - Notification {kind: \"N\", value: \"B\", error: undefined, hasValue: true}\n * // - Notification {kind: \"E\", value: undefined, error: TypeError:\n * // x.toUpperCase is not a function at MapSubscriber.letters.map.x\n * // [as project] (http://1…, hasValue: false}\n * ```\n *\n * @see {@link Notification}\n * @see {@link dematerialize}\n *\n * @return {Observable<Notification<T>>} An Observable that emits\n * {@link Notification} objects that wrap the original emissions from the source\n * Observable with metadata.\n * @method materialize\n * @owner Observable\n */\nexport function materialize<T>(): OperatorFunction<T, Notification<T>> {\n return function materializeOperatorFunction(source: Observable<T>) {\n return source.lift(new MaterializeOperator());\n };\n}\n\nclass MaterializeOperator<T> implements Operator<T, Notification<T>> {\n call(subscriber: Subscriber<Notification<T>>, source: any): any {\n return source.subscribe(new MaterializeSubscriber(subscriber));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass MaterializeSubscriber<T> extends Subscriber<T> {\n constructor(destination: Subscriber<Notification<T>>) {\n super(destination);\n }\n\n protected _next(value: T) {\n this.destination.next(Notification.createNext(value));\n }\n\n protected _error(err: any) {\n const destination = this.destination;\n destination.next(Notification.createError(err));\n destination.complete();\n }\n\n protected _complete() {\n const destination = this.destination;\n destination.next(Notification.createComplete());\n destination.complete();\n }\n}\n"},"lineCount":null}},"hash":"35e28c9df8d02ad65c7ba30cc6e3ae23","cacheData":{"env":{}}} |