1 line
64 KiB
JSON
1 line
64 KiB
JSON
{"id":"lxDK","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/bindCallback.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","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../AsyncSubject","loc":{"line":3,"column":29},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/AsyncSubject.js"},{"name":"../operators/map","loc":{"line":4,"column":20},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/map.js"},{"name":"../util/canReportError","loc":{"line":5,"column":31},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/canReportError.js"},{"name":"../util/isArray","loc":{"line":6,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"../util/isScheduler","loc":{"line":7,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/bindCallback.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.bindCallback=a;var r=require(\"../Observable\"),e=require(\"../AsyncSubject\"),t=require(\"../operators/map\"),c=require(\"../util/canReportError\"),n=require(\"../util/isArray\"),u=require(\"../util/isScheduler\");function a(s,o,l){if(o){if(!(0,u.isScheduler)(o))return function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return a(s,l).apply(void 0,r).pipe((0,t.map)(function(r){return(0,n.isArray)(r)?o.apply(void 0,r):o(r)}))};l=o}return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var u,a=this,o={context:a,subject:u,callbackFunc:s,scheduler:l};return new r.Observable(function(r){if(l){var n={args:t,subscriber:r,params:o};return l.schedule(i,0,n)}if(!u){u=new e.AsyncSubject;try{s.apply(a,t.concat([function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];u.next(r.length<=1?r[0]:r),u.complete()}]))}catch(b){(0,c.canReportError)(u)?u.error(b):console.warn(b)}}return u.subscribe(r)})}}function i(r){var t=this,c=r.args,n=r.subscriber,u=r.params,a=u.callbackFunc,i=u.context,o=u.scheduler,l=u.subject;if(!l){l=u.subject=new e.AsyncSubject;try{a.apply(i,c.concat([function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var c=r.length<=1?r[0]:r;t.add(o.schedule(s,0,{value:c,subject:l}))}]))}catch(b){l.error(b)}}this.add(l.subscribe(n))}function s(r){var e=r.value,t=r.subject;t.next(e),t.complete()}function o(r){var e=r.err;r.subject.error(e)}","map":{"mappings":[{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":89}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":91}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":122}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":124}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":1,"column":132}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":151}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":153}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":1,"column":161}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":181}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":217}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":219}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":8,"column":0},"generated":{"line":1,"column":227}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":171,"column":0},"generated":{"line":1,"column":246}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":171,"column":0},"generated":{"line":1,"column":248}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":171,"column":0},"generated":{"line":1,"column":256}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":176,"column":2},"generated":{"line":1,"column":279}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":176,"column":6},"generated":{"line":1,"column":288}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":176,"column":22},"generated":{"line":1,"column":290}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":176,"column":22},"generated":{"line":1,"column":292}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":176,"column":22},"generated":{"line":1,"column":294}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":177,"column":4},"generated":{"line":1,"column":297}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":177,"column":4},"generated":{"line":1,"column":300}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":177,"column":20},"generated":{"line":1,"column":302}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":178,"column":6},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":178,"column":6},"generated":{"line":1,"column":308}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":178,"column":18},"generated":{"line":1,"column":310}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":178,"column":18},"generated":{"line":1,"column":312}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":178,"column":18},"generated":{"line":1,"column":325}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":328}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":335}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":346}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":350}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":354}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":356}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":359}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":361}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":363}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":14},"generated":{"line":1,"column":365}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":28},"generated":{"line":1,"column":375}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":181,"column":28},"generated":{"line":1,"column":382}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":386}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":388}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":391}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":401}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":404}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":411}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":413}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":415}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":418}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":429}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":431}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":434}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":444}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":449}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":458}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":461}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":468}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":470}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":472}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":481}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":484}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":486}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":497}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":499}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":502}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":183,"column":8},"generated":{"line":1,"column":504}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":179,"column":5},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":179,"column":5},"generated":{"line":1,"column":513}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":515}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":522}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":533}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":541}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":543}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":546}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":548}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":550}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":30},"generated":{"line":1,"column":552}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":44},"generated":{"line":1,"column":562}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":187,"column":44},"generated":{"line":1,"column":569}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":573}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":575}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":578}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":588}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":189,"column":8},"generated":{"line":1,"column":591}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":190,"column":10},"generated":{"line":1,"column":595}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":189,"column":8},"generated":{"line":1,"column":597}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":189,"column":33},"generated":{"line":1,"column":599}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":191,"column":6},"generated":{"line":1,"column":604}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":191,"column":13},"generated":{"line":1,"column":606}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":192,"column":6},"generated":{"line":1,"column":607}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":192,"column":13},"generated":{"line":1,"column":615}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":193,"column":6},"generated":{"line":1,"column":617}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":193,"column":6},"generated":{"line":1,"column":625}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":194,"column":6},"generated":{"line":1,"column":627}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":194,"column":15},"generated":{"line":1,"column":640}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":195,"column":6},"generated":{"line":1,"column":642}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":195,"column":6},"generated":{"line":1,"column":652}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":6},"generated":{"line":1,"column":655}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":6},"generated":{"line":1,"column":662}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":11},"generated":{"line":1,"column":666}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":6},"generated":{"line":1,"column":668}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":22},"generated":{"line":1,"column":679}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":197,"column":22},"generated":{"line":1,"column":688}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":198,"column":8},"generated":{"line":1,"column":691}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":198,"column":8},"generated":{"line":1,"column":694}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":217,"column":8},"generated":{"line":1,"column":696}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":218,"column":10},"generated":{"line":1,"column":697}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":218,"column":10},"generated":{"line":1,"column":701}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":218,"column":14},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":704}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":709}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":711}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":722}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":724}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":219,"column":10},"generated":{"line":1,"column":731}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":734}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":741}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":743}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":752}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":754}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":221,"column":7},"generated":{"line":1,"column":756}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":199,"column":10},"generated":{"line":1,"column":759}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":199,"column":10},"generated":{"line":1,"column":763}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":199,"column":20},"generated":{"line":1,"column":765}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":10},"generated":{"line":1,"column":766}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":16},"generated":{"line":1,"column":768}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":26},"generated":{"line":1,"column":772}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":16},"generated":{"line":1,"column":774}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":206,"column":12},"generated":{"line":1,"column":787}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":791}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":793}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":799}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":801}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":803}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":207,"column":11},"generated":{"line":1,"column":810}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":811}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":822}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":826}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":830}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":46},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":835}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":837}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":839}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":841}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":27},"generated":{"line":1,"column":851}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":200,"column":46},"generated":{"line":1,"column":858}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":862}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":864}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":867}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":877}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":12},"generated":{"line":1,"column":880}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":20},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":20},"generated":{"line":1,"column":887}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":889}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":897}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":899}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":901}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":202,"column":31},"generated":{"line":1,"column":904}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":203,"column":12},"generated":{"line":1,"column":907}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":203,"column":12},"generated":{"line":1,"column":909}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":208,"column":12},"generated":{"line":1,"column":924}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":208,"column":12},"generated":{"line":1,"column":930}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":209,"column":14},"generated":{"line":1,"column":934}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":209,"column":28},"generated":{"line":1,"column":936}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":209,"column":28},"generated":{"line":1,"column":938}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":209,"column":28},"generated":{"line":1,"column":954}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":210,"column":13},"generated":{"line":1,"column":957}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":210,"column":13},"generated":{"line":1,"column":959}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":210,"column":13},"generated":{"line":1,"column":965}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":968}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":976}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":212,"column":13},"generated":{"line":1,"column":981}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":216,"column":7},"generated":{"line":1,"column":985}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":216,"column":7},"generated":{"line":1,"column":992}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":216,"column":7},"generated":{"line":1,"column":994}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":216,"column":7},"generated":{"line":1,"column":1004}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":239,"column":0},"generated":{"line":1,"column":1010}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":239,"column":0},"generated":{"line":1,"column":1019}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":239,"column":0},"generated":{"line":1,"column":1021}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":240,"column":8},"generated":{"line":1,"column":1024}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":240,"column":8},"generated":{"line":1,"column":1028}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":240,"column":15},"generated":{"line":1,"column":1030}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":10},"generated":{"line":1,"column":1035}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":10},"generated":{"line":1,"column":1037}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":10},"generated":{"line":1,"column":1039}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":10},"generated":{"line":1,"column":1044}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":10},"generated":{"line":1,"column":1046}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":24},"generated":{"line":1,"column":1048}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":24},"generated":{"line":1,"column":1059}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":24},"generated":{"line":1,"column":1061}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":242,"column":33},"generated":{"line":1,"column":1063}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":8},"generated":{"line":1,"column":1070}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":8},"generated":{"line":1,"column":1072}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":8},"generated":{"line":1,"column":1074}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1087}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1089}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1091}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1099}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1101}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":243,"column":27},"generated":{"line":1,"column":1103}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":244,"column":6},"generated":{"line":1,"column":1113}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":244,"column":16},"generated":{"line":1,"column":1115}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":244,"column":16},"generated":{"line":1,"column":1117}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":245,"column":4},"generated":{"line":1,"column":1125}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":245,"column":4},"generated":{"line":1,"column":1129}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":245,"column":14},"generated":{"line":1,"column":1131}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":4},"generated":{"line":1,"column":1132}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":10},"generated":{"line":1,"column":1134}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":20},"generated":{"line":1,"column":1136}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":20},"generated":{"line":1,"column":1144}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":20},"generated":{"line":1,"column":1148}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":20},"generated":{"line":1,"column":1150}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":253,"column":6},"generated":{"line":1,"column":1163}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1167}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1169}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1175}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1177}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1179}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":254,"column":5},"generated":{"line":1,"column":1186}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1187}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1198}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1202}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1206}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":40},"generated":{"line":1,"column":1208}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1211}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1213}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1215}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1217}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":21},"generated":{"line":1,"column":1227}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":247,"column":40},"generated":{"line":1,"column":1234}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1238}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1240}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1243}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1253}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":6},"generated":{"line":1,"column":1256}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":6},"generated":{"line":1,"column":1260}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":15},"generated":{"line":1,"column":1262}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":25},"generated":{"line":1,"column":1264}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":48},"generated":{"line":1,"column":1272}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":48},"generated":{"line":1,"column":1274}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":65},"generated":{"line":1,"column":1276}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":249,"column":67},"generated":{"line":1,"column":1279}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1281}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1283}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1287}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1289}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1298}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1300}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1302}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1303}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1309}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1311}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":250,"column":6},"generated":{"line":1,"column":1319}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":255,"column":6},"generated":{"line":1,"column":1328}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":255,"column":6},"generated":{"line":1,"column":1334}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":256,"column":5},"generated":{"line":1,"column":1337}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":256,"column":5},"generated":{"line":1,"column":1339}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":256,"column":5},"generated":{"line":1,"column":1345}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":260,"column":1},"generated":{"line":1,"column":1349}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":260,"column":1},"generated":{"line":1,"column":1354}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":260,"column":1},"generated":{"line":1,"column":1358}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":260,"column":1},"generated":{"line":1,"column":1360}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":260,"column":1},"generated":{"line":1,"column":1370}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":268,"column":10},"generated":{"line":1,"column":1374}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":268,"column":10},"generated":{"line":1,"column":1383}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":268,"column":10},"generated":{"line":1,"column":1385}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":2},"generated":{"line":1,"column":1388}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":2},"generated":{"line":1,"column":1392}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":14},"generated":{"line":1,"column":1394}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":20},"generated":{"line":1,"column":1396}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":22},"generated":{"line":1,"column":1402}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":22},"generated":{"line":1,"column":1404}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":269,"column":22},"generated":{"line":1,"column":1406}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":270,"column":2},"generated":{"line":1,"column":1414}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":270,"column":10},"generated":{"line":1,"column":1416}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":270,"column":10},"generated":{"line":1,"column":1421}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":271,"column":1},"generated":{"line":1,"column":1424}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":271,"column":1},"generated":{"line":1,"column":1426}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":279,"column":10},"generated":{"line":1,"column":1437}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":279,"column":10},"generated":{"line":1,"column":1446}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":279,"column":13},"generated":{"line":1,"column":1448}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":2},"generated":{"line":1,"column":1451}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":2},"generated":{"line":1,"column":1455}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":10},"generated":{"line":1,"column":1457}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":16},"generated":{"line":1,"column":1459}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":21},"generated":{"line":1,"column":1463}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":280,"column":21},"generated":{"line":1,"column":1465}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1473}},{"source":"../../../src/internal/observable/bindCallback.ts","name":null,"original":{"line":281,"column":1},"generated":{"line":1,"column":1479}}],"sources":{"../../../src/internal/observable/bindCallback.ts":"import { SchedulerLike, SchedulerAction } from '../types';\nimport { Observable } from '../Observable';\nimport { AsyncSubject } from '../AsyncSubject';\nimport { Subscriber } from '../Subscriber';\nimport { map } from '../operators/map';\nimport { canReportError } from '../util/canReportError';\nimport { isArray } from '../util/isArray';\nimport { isScheduler } from '../util/isScheduler';\n\n// tslint:disable:max-line-length\n/** @deprecated resultSelector is no longer supported, use a mapping function. */\nexport function bindCallback(callbackFunc: Function, resultSelector: Function, scheduler?: SchedulerLike): (...args: any[]) => Observable<any>;\n\nexport function bindCallback<R1, R2, R3, R4>(callbackFunc: (callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): () => Observable<any[]>;\nexport function bindCallback<R1, R2, R3>(callbackFunc: (callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): () => Observable<[R1, R2, R3]>;\nexport function bindCallback<R1, R2>(callbackFunc: (callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): () => Observable<[R1, R2]>;\nexport function bindCallback<R1>(callbackFunc: (callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): () => Observable<R1>;\nexport function bindCallback(callbackFunc: (callback: () => any) => any, scheduler?: SchedulerLike): () => Observable<void>;\n\nexport function bindCallback<A1, R1, R2, R3, R4>(callbackFunc: (arg1: A1, callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): (arg1: A1) => Observable<any[]>;\nexport function bindCallback<A1, R1, R2, R3>(callbackFunc: (arg1: A1, callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): (arg1: A1) => Observable<[R1, R2, R3]>;\nexport function bindCallback<A1, R1, R2>(callbackFunc: (arg1: A1, callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): (arg1: A1) => Observable<[R1, R2]>;\nexport function bindCallback<A1, R1>(callbackFunc: (arg1: A1, callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): (arg1: A1) => Observable<R1>;\nexport function bindCallback<A1>(callbackFunc: (arg1: A1, callback: () => any) => any, scheduler?: SchedulerLike): (arg1: A1) => Observable<void>;\n\nexport function bindCallback<A1, A2, R1, R2, R3, R4>(callbackFunc: (arg1: A1, arg2: A2, callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2) => Observable<any[]>;\nexport function bindCallback<A1, A2, R1, R2, R3>(callbackFunc: (arg1: A1, arg2: A2, callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2) => Observable<[R1, R2, R3]>;\nexport function bindCallback<A1, A2, R1, R2>(callbackFunc: (arg1: A1, arg2: A2, callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2) => Observable<[R1, R2]>;\nexport function bindCallback<A1, A2, R1>(callbackFunc: (arg1: A1, arg2: A2, callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2) => Observable<R1>;\nexport function bindCallback<A1, A2>(callbackFunc: (arg1: A1, arg2: A2, callback: () => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2) => Observable<void>;\n\nexport function bindCallback<A1, A2, A3, R1, R2, R3, R4>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3) => Observable<any[]>;\nexport function bindCallback<A1, A2, A3, R1, R2, R3>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3) => Observable<[R1, R2, R3]>;\nexport function bindCallback<A1, A2, A3, R1, R2>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3) => Observable<[R1, R2]>;\nexport function bindCallback<A1, A2, A3, R1>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3) => Observable<R1>;\nexport function bindCallback<A1, A2, A3>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, callback: () => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3) => Observable<void>;\n\nexport function bindCallback<A1, A2, A3, A4, R1, R2, R3, R4>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Observable<any[]>;\nexport function bindCallback<A1, A2, A3, A4, R1, R2, R3>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Observable<[R1, R2, R3]>;\nexport function bindCallback<A1, A2, A3, A4, R1, R2>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Observable<[R1, R2]>;\nexport function bindCallback<A1, A2, A3, A4, R1>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Observable<R1>;\nexport function bindCallback<A1, A2, A3, A4>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, callback: () => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4) => Observable<void>;\n\nexport function bindCallback<A1, A2, A3, A4, A5, R1, R2, R3, R4>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5, callback: (res1: R1, res2: R2, res3: R3, res4: R4, ...args: any[]) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Observable<any[]>;\nexport function bindCallback<A1, A2, A3, A4, A5, R1, R2, R3>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5, callback: (res1: R1, res2: R2, res3: R3) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Observable<[R1, R2, R3]>;\nexport function bindCallback<A1, A2, A3, A4, A5, R1, R2>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5, callback: (res1: R1, res2: R2) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Observable<[R1, R2]>;\nexport function bindCallback<A1, A2, A3, A4, A5, R1>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5, callback: (res1: R1) => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Observable<R1>;\nexport function bindCallback<A1, A2, A3, A4, A5>(callbackFunc: (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5, callback: () => any) => any, scheduler?: SchedulerLike): (arg1: A1, arg2: A2, arg3: A3, arg4: A4, arg5: A5) => Observable<void>;\n\nexport function bindCallback<A, R>(callbackFunc: (...args: Array<A | ((result: R) => any)>) => any, scheduler?: SchedulerLike): (...args: A[]) => Observable<R>;\nexport function bindCallback<A, R>(callbackFunc: (...args: Array<A | ((...results: R[]) => any)>) => any, scheduler?: SchedulerLike): (...args: A[]) => Observable<R[]>;\n\nexport function bindCallback(callbackFunc: Function, scheduler?: SchedulerLike): (...args: any[]) => Observable<any>;\n\n// tslint:enable:max-line-length\n\n/**\n * Converts a callback API to a function that returns an Observable.\n *\n * <span class=\"informal\">Give it a function `f` of type `f(x, callback)` and\n * it will return a function `g` that when called as `g(x)` will output an\n * Observable.</span>\n *\n * `bindCallback` is not an operator because its input and output are not\n * Observables. The input is a function `func` with some parameters. The\n * last parameter must be a callback function that `func` calls when it is\n * done.\n *\n * The output of `bindCallback` is a function that takes the same parameters\n * as `func`, except the last one (the callback). When the output function\n * is called with arguments it will return an Observable. If function `func`\n * calls its callback with one argument, the Observable will emit that value.\n * If on the other hand the callback is called with multiple values the resulting\n * Observable will emit an array with said values as arguments.\n *\n * It is **very important** to remember that input function `func` is not called\n * when the output function is, but rather when the Observable returned by the output\n * function is subscribed. This means if `func` makes an AJAX request, that request\n * will be made every time someone subscribes to the resulting Observable, but not before.\n *\n * The last optional parameter - `scheduler` - can be used to control when the call\n * to `func` happens after someone subscribes to Observable, as well as when results\n * passed to callback will be emitted. By default, the subscription to an Observable calls `func`\n * synchronously, but using {@link asyncScheduler} as the last parameter will defer the call to `func`,\n * just like wrapping the call in `setTimeout` with a timeout of `0` would. If you were to use the async Scheduler\n * and call `subscribe` on the output Observable, all function calls that are currently executing\n * will end before `func` is invoked.\n *\n * By default, results passed to the callback are emitted immediately after `func` invokes the callback.\n * In particular, if the callback is called synchronously, then the subscription of the resulting Observable\n * will call the `next` function synchronously as well. If you want to defer that call,\n * you may use {@link asyncScheduler} just as before. This means that by using `Scheduler.async` you can\n * ensure that `func` always calls its callback asynchronously, thus avoiding terrifying Zalgo.\n *\n * Note that the Observable created by the output function will always emit a single value\n * and then complete immediately. If `func` calls the callback multiple times, values from subsequent\n * calls will not appear in the stream. If you need to listen for multiple calls,\n * you probably want to use {@link fromEvent} or {@link fromEventPattern} instead.\n *\n * If `func` depends on some context (`this` property) and is not already bound, the context of `func`\n * will be the context that the output function has at call time. In particular, if `func`\n * is called as a method of some objec and if `func` is not already bound, in order to preserve the context\n * it is recommended that the context of the output function is set to that object as well.\n *\n * If the input function calls its callback in the \"node style\" (i.e. first argument to callback is\n * optional error parameter signaling whether the call failed or not), {@link bindNodeCallback}\n * provides convenient error handling and probably is a better choice.\n * `bindCallback` will treat such functions the same as any other and error parameters\n * (whether passed or not) will always be interpreted as regular callback argument.\n *\n * ## Examples\n *\n * ### Convert jQuery's getJSON to an Observable API\n * ```javascript\n * // Suppose we have jQuery.getJSON('/my/url', callback)\n * const getJSONAsObservable = bindCallback(jQuery.getJSON);\n * const result = getJSONAsObservable('/my/url');\n * result.subscribe(x => console.log(x), e => console.error(e));\n * ```\n *\n * ### Receive an array of arguments passed to a callback\n * ```javascript\n * someFunction((a, b, c) => {\n * console.log(a); // 5\n * console.log(b); // 'some string'\n * console.log(c); // {someProperty: 'someValue'}\n * });\n *\n * const boundSomeFunction = bindCallback(someFunction);\n * boundSomeFunction().subscribe(values => {\n * console.log(values) // [5, 'some string', {someProperty: 'someValue'}]\n * });\n * ```\n *\n * ### Compare behaviour with and without async Scheduler\n * ```javascript\n * function iCallMyCallbackSynchronously(cb) {\n * cb();\n * }\n *\n * const boundSyncFn = bindCallback(iCallMyCallbackSynchronously);\n * const boundAsyncFn = bindCallback(iCallMyCallbackSynchronously, null, Rx.Scheduler.async);\n *\n * boundSyncFn().subscribe(() => console.log('I was sync!'));\n * boundAsyncFn().subscribe(() => console.log('I was async!'));\n * console.log('This happened...');\n *\n * // Logs:\n * // I was sync!\n * // This happened...\n * // I was async!\n * ```\n *\n * ### Use bindCallback on an object method\n * ```javascript\n * const boundMethod = bindCallback(someObject.methodWithCallback);\n * boundMethod.call(someObject) // make sure methodWithCallback has access to someObject\n * .subscribe(subscriber);\n * ```\n *\n * @see {@link bindNodeCallback}\n * @see {@link from}\n *\n * @param {function} func A function with a callback as the last parameter.\n * @param {SchedulerLike} [scheduler] The scheduler on which to schedule the\n * callbacks.\n * @return {function(...params: *): Observable} A function which returns the\n * Observable that delivers the same values the callback would deliver.\n * @name bindCallback\n */\nexport function bindCallback<T>(\n callbackFunc: Function,\n resultSelector?: Function|SchedulerLike,\n scheduler?: SchedulerLike\n): (...args: any[]) => Observable<T> {\n if (resultSelector) {\n if (isScheduler(resultSelector)) {\n scheduler = resultSelector;\n } else {\n // DEPRECATED PATH\n return (...args: any[]) => bindCallback(callbackFunc, scheduler)(...args).pipe(\n map((args) => isArray(args) ? resultSelector(...args) : resultSelector(args)),\n );\n }\n }\n\n return function (this: any, ...args: any[]): Observable<T> {\n const context = this;\n let subject: AsyncSubject<T>;\n const params = {\n context,\n subject,\n callbackFunc,\n scheduler,\n };\n return new Observable<T>(subscriber => {\n if (!scheduler) {\n if (!subject) {\n subject = new AsyncSubject<T>();\n const handler = (...innerArgs: any[]) => {\n subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs);\n subject.complete();\n };\n\n try {\n callbackFunc.apply(context, [...args, handler]);\n } catch (err) {\n if (canReportError(subject)) {\n subject.error(err);\n } else {\n console.warn(err);\n }\n }\n }\n return subject.subscribe(subscriber);\n } else {\n const state: DispatchState<T> = {\n args, subscriber, params,\n };\n return scheduler.schedule<DispatchState<T>>(dispatch, 0, state);\n }\n });\n };\n}\n\ninterface DispatchState<T> {\n args: any[];\n subscriber: Subscriber<T>;\n params: ParamsContext<T>;\n}\n\ninterface ParamsContext<T> {\n callbackFunc: Function;\n scheduler: SchedulerLike;\n context: any;\n subject: AsyncSubject<T>;\n}\n\nfunction dispatch<T>(this: SchedulerAction<DispatchState<T>>, state: DispatchState<T>) {\n const self = this;\n const { args, subscriber, params } = state;\n const { callbackFunc, context, scheduler } = params;\n let { subject } = params;\n if (!subject) {\n subject = params.subject = new AsyncSubject<T>();\n\n const handler = (...innerArgs: any[]) => {\n const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs;\n this.add(scheduler.schedule<NextState<T>>(dispatchNext, 0, { value, subject }));\n };\n\n try {\n callbackFunc.apply(context, [...args, handler]);\n } catch (err) {\n subject.error(err);\n }\n }\n\n this.add(subject.subscribe(subscriber));\n}\n\ninterface NextState<T> {\n subject: AsyncSubject<T>;\n value: T;\n}\n\nfunction dispatchNext<T>(this: SchedulerAction<NextState<T>>, state: NextState<T>) {\n const { value, subject } = state;\n subject.next(value);\n subject.complete();\n}\n\ninterface ErrorState<T> {\n subject: AsyncSubject<T>;\n err: any;\n}\n\nfunction dispatchError<T>(this: SchedulerAction<ErrorState<T>>, state: ErrorState<T>) {\n const { err, subject } = state;\n subject.error(err);\n}\n"},"lineCount":null}},"hash":"de209d75a4334812778974e682378247","cacheData":{"env":{}}} |