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

1 line
70 KiB
JSON

{"id":"../node_modules/rxjs/_esm5/internal/observable/fromEvent.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromEvent.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/observable/fromEvent.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../Observable","loc":{"line":2,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromEvent.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Observable.js"},{"name":"../util/isArray","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromEvent.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"../util/isFunction","loc":{"line":4,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromEvent.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/util/isFunction.js"},{"name":"../operators/map","loc":{"line":5,"column":20},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/observable/fromEvent.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/map.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.fromEvent = fromEvent;\n\nvar _Observable = require(\"../Observable\");\n\nvar _isArray = require(\"../util/isArray\");\n\nvar _isFunction = require(\"../util/isFunction\");\n\nvar _map = require(\"../operators/map\");\n\n/** PURE_IMPORTS_START _Observable,_util_isArray,_util_isFunction,_operators_map PURE_IMPORTS_END */\nvar toString = Object.prototype.toString;\n\nfunction fromEvent(target, eventName, options, resultSelector) {\n if ((0, _isFunction.isFunction)(options)) {\n resultSelector = options;\n options = undefined;\n }\n\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe((0, _map.map)(function (args) {\n return (0, _isArray.isArray)(args) ? resultSelector.apply(void 0, args) : resultSelector(args);\n }));\n }\n\n return new _Observable.Observable(function (subscriber) {\n function handler(e) {\n if (arguments.length > 1) {\n subscriber.next(Array.prototype.slice.call(arguments));\n } else {\n subscriber.next(e);\n }\n }\n\n setupSubscription(target, eventName, handler, subscriber, options);\n });\n}\n\nfunction setupSubscription(sourceObj, eventName, handler, subscriber, options) {\n var unsubscribe;\n\n if (isEventTarget(sourceObj)) {\n var source_1 = sourceObj;\n sourceObj.addEventListener(eventName, handler, options);\n\n unsubscribe = function () {\n return source_1.removeEventListener(eventName, handler, options);\n };\n } else if (isJQueryStyleEventEmitter(sourceObj)) {\n var source_2 = sourceObj;\n sourceObj.on(eventName, handler);\n\n unsubscribe = function () {\n return source_2.off(eventName, handler);\n };\n } else if (isNodeStyleEventEmitter(sourceObj)) {\n var source_3 = sourceObj;\n sourceObj.addListener(eventName, handler);\n\n unsubscribe = function () {\n return source_3.removeListener(eventName, handler);\n };\n } else if (sourceObj && sourceObj.length) {\n for (var i = 0, len = sourceObj.length; i < len; i++) {\n setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n }\n } else {\n throw new TypeError('Invalid event target');\n }\n\n subscriber.add(unsubscribe);\n}\n\nfunction isNodeStyleEventEmitter(sourceObj) {\n return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\n\nfunction isJQueryStyleEventEmitter(sourceObj) {\n return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\n\nfunction isEventTarget(sourceObj) {\n return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}","map":{"mappings":[{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":5,"column":0},"generated":{"line":12,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":7,"column":0},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":0},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":0},"generated":{"line":17,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":6},"generated":{"line":17,"column":12}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":6},"generated":{"line":17,"column":15}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":16},"generated":{"line":17,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":16},"generated":{"line":17,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":6},"generated":{"line":17,"column":31}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":174,"column":28},"generated":{"line":17,"column":32}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":173,"column":0},"generated":{"line":17,"column":40}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":6},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":24},"generated":{"line":19,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":25}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":27},"generated":{"line":19,"column":27}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":27},"generated":{"line":19,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":45}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":27},"generated":{"line":19,"column":47}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":2},"generated":{"line":19,"column":61}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":180,"column":27},"generated":{"line":19,"column":63}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":182,"column":4},"generated":{"line":20,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":182,"column":4},"generated":{"line":20,"column":34}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":182,"column":4},"generated":{"line":20,"column":41}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":182,"column":21},"generated":{"line":20,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":183,"column":4},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":183,"column":4},"generated":{"line":21,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":183,"column":14},"generated":{"line":21,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":183,"column":14},"generated":{"line":21,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":183,"column":4},"generated":{"line":21,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":184,"column":3},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":184,"column":3},"generated":{"line":22,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":184,"column":3},"generated":{"line":22,"column":11}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":184,"column":3},"generated":{"line":22,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":184,"column":3},"generated":{"line":22,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":185,"column":2},"generated":{"line":23,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":187,"column":4},"generated":{"line":25,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":187,"column":20},"generated":{"line":25,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":11}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":20}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":27}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":40}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":47}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":48}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":53}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":54}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":68}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":78}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":82}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":26,"column":84}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":43}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":57}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":63}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":64}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":69}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":72}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":76}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":77}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":80}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":94}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":95}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":99}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":27,"column":100}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":28,"column":5}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":28,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":190,"column":3},"generated":{"line":28,"column":7}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":192,"column":2},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":4},"generated":{"line":31,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":4},"generated":{"line":31,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":4},"generated":{"line":31,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":31,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":31,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":31,"column":56}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":25},"generated":{"line":31,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":194,"column":10},"generated":{"line":32,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":194,"column":19},"generated":{"line":32,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":194,"column":20},"generated":{"line":32,"column":24}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":8},"generated":{"line":33,"column":10}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":8},"generated":{"line":33,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":18},"generated":{"line":33,"column":20}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":8},"generated":{"line":33,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":24},"generated":{"line":33,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":195,"column":30},"generated":{"line":33,"column":32}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":8}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":24}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":40}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":45}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":50}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":51}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":60}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":196,"column":7},"generated":{"line":34,"column":61}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":197,"column":8},"generated":{"line":35,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":8}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":24}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":198,"column":7},"generated":{"line":36,"column":25}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":199,"column":5},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":200,"column":4},"generated":{"line":38,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":41}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":48}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":50}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":60}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":62}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":69}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":201,"column":5},"generated":{"line":40,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":202,"column":1},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":193,"column":4},"generated":{"line":41,"column":3}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":204,"column":0},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":6},"generated":{"line":44,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":27}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":207,"column":30},"generated":{"line":44,"column":79}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":208,"column":2},"generated":{"line":45,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":208,"column":6},"generated":{"line":45,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":208,"column":2},"generated":{"line":45,"column":17}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":209,"column":4},"generated":{"line":47,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":209,"column":16},"generated":{"line":47,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":209,"column":16},"generated":{"line":47,"column":20}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":209,"column":16},"generated":{"line":47,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":209,"column":29},"generated":{"line":47,"column":32}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":210,"column":4},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":210,"column":4},"generated":{"line":48,"column":8}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":210,"column":14},"generated":{"line":48,"column":16}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":210,"column":14},"generated":{"line":48,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":210,"column":4},"generated":{"line":48,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":18},"generated":{"line":49,"column":31}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":40}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":24},"generated":{"line":49,"column":42}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":31},"generated":{"line":49,"column":51}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":211,"column":4},"generated":{"line":49,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":51,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":51,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":51,"column":15}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":51,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":51,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":41}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":42}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":51}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":53}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":60}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":62}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":69}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":52,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":53,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":212,"column":3},"generated":{"line":53,"column":5}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":4},"generated":{"line":54,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":10},"generated":{"line":54,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":29},"generated":{"line":54,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":29},"generated":{"line":54,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":29},"generated":{"line":54,"column":48}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":4},"generated":{"line":54,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":29},"generated":{"line":54,"column":51}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":214,"column":4},"generated":{"line":55,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":214,"column":4},"generated":{"line":55,"column":8}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":214,"column":16},"generated":{"line":55,"column":16}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":214,"column":17},"generated":{"line":55,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":214,"column":4},"generated":{"line":55,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":16}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":15},"generated":{"line":56,"column":17}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":18},"generated":{"line":56,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":215,"column":4},"generated":{"line":56,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":58,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":58,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":58,"column":15}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":58,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":58,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":25}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":37}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":59,"column":45}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":216,"column":3},"generated":{"line":60,"column":5}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":213,"column":4},"generated":{"line":61,"column":3}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":4},"generated":{"line":61,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":10},"generated":{"line":61,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":29},"generated":{"line":61,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":29},"generated":{"line":61,"column":37}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":29},"generated":{"line":61,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":4},"generated":{"line":61,"column":47}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":29},"generated":{"line":61,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":218,"column":4},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":218,"column":4},"generated":{"line":62,"column":8}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":218,"column":14},"generated":{"line":62,"column":16}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":218,"column":14},"generated":{"line":62,"column":19}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":218,"column":4},"generated":{"line":62,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":25}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":18},"generated":{"line":63,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":24},"generated":{"line":63,"column":37}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":219,"column":4},"generated":{"line":63,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":65,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":65,"column":4}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":65,"column":15}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":65,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":65,"column":30}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":21}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":37}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":48}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":55}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":66,"column":56}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":67,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":220,"column":3},"generated":{"line":67,"column":5}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":217,"column":4},"generated":{"line":68,"column":3}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":4},"generated":{"line":68,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":9},"generated":{"line":68,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":18},"generated":{"line":68,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":20},"generated":{"line":68,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":27},"generated":{"line":68,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":27},"generated":{"line":68,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":4},"generated":{"line":68,"column":42}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":45},"generated":{"line":68,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":17}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":20}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":6},"generated":{"line":69,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":24},"generated":{"line":69,"column":26}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":33},"generated":{"line":69,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":34},"generated":{"line":69,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":38},"generated":{"line":69,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":38},"generated":{"line":69,"column":45}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":38},"generated":{"line":69,"column":48}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":49},"generated":{"line":69,"column":53}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":49},"generated":{"line":69,"column":54}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":222,"column":56},"generated":{"line":69,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":6}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":24}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":33}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":34}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":36}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":47}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":49}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":56}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":58}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":68}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":77}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":223,"column":5},"generated":{"line":70,"column":78}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":224,"column":3},"generated":{"line":71,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":221,"column":4},"generated":{"line":72,"column":3}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":225,"column":4},"generated":{"line":72,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":10}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":14}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":24}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":226,"column":3},"generated":{"line":73,"column":47}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":228,"column":2},"generated":{"line":74,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":2}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":12}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":13}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":16}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":17}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":229,"column":1},"generated":{"line":76,"column":28}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":231,"column":0},"generated":{"line":77,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":232,"column":2},"generated":{"line":79,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":232,"column":29},"generated":{"line":79,"column":33}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":232,"column":39},"generated":{"line":79,"column":44}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":50}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":55}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":65}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":69}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":76}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":85}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":86}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":100}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":105}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":233,"column":1},"generated":{"line":80,"column":115}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":235,"column":0},"generated":{"line":81,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":236,"column":2},"generated":{"line":83,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":236,"column":29},"generated":{"line":83,"column":35}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":236,"column":41},"generated":{"line":83,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":41}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":46}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":56}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":60}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":67}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":76}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":77}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":80}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":85}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":237,"column":1},"generated":{"line":84,"column":95}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":239,"column":0},"generated":{"line":85,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":240,"column":2},"generated":{"line":87,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":240,"column":18},"generated":{"line":87,"column":23}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":240,"column":29},"generated":{"line":87,"column":34}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":0}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":9}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":18}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":22}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":29}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":38}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":39}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":55}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":60}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":70}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":74}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":81}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":90}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":91}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":110}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":115}},{"source":"../../../src/internal/observable/fromEvent.ts","name":null,"original":{"line":241,"column":1},"generated":{"line":88,"column":125}}],"sources":{"../../../src/internal/observable/fromEvent.ts":"import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { isFunction } from '../util/isFunction';\nimport { Subscriber } from '../Subscriber';\nimport { map } from '../operators/map';\n\nconst toString: Function = Object.prototype.toString;\n\nexport interface NodeStyleEventEmitter {\n addListener: (eventName: string | symbol, handler: NodeEventHandler) => this;\n removeListener: (eventName: string | symbol, handler: NodeEventHandler) => this;\n}\n\nexport type NodeEventHandler = (...args: any[]) => void;\n\n// For APIs that implement `addListener` and `removeListener` methods that may\n// not use the same arguments or return EventEmitter values\n// such as React Native\nexport interface NodeCompatibleEventEmitter {\n addListener: (eventName: string, handler: NodeEventHandler) => void | {};\n removeListener: (eventName: string, handler: NodeEventHandler) => void | {};\n}\n\nexport interface JQueryStyleEventEmitter {\n on: (eventName: string, handler: Function) => void;\n off: (eventName: string, handler: Function) => void;\n}\n\nexport interface HasEventTargetAddRemove<E> {\n addEventListener(type: string, listener: ((evt: E) => void) | null, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: string, listener?: ((evt: E) => void) | null, options?: EventListenerOptions | boolean): void;\n}\n\nexport type EventTargetLike<T> = HasEventTargetAddRemove<T> | NodeStyleEventEmitter | NodeCompatibleEventEmitter | JQueryStyleEventEmitter;\n\nexport type FromEventTarget<T> = EventTargetLike<T> | ArrayLike<EventTargetLike<T>>;\n\nexport interface EventListenerOptions {\n capture?: boolean;\n passive?: boolean;\n once?: boolean;\n}\n\nexport interface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\n/* tslint:disable:max-line-length */\nexport function fromEvent<T>(target: FromEventTarget<T>, eventName: string): Observable<T>;\n/** @deprecated resultSelector no longer supported, pipe to map instead */\nexport function fromEvent<T>(target: FromEventTarget<T>, eventName: string, resultSelector: (...args: any[]) => T): Observable<T>;\nexport function fromEvent<T>(target: FromEventTarget<T>, eventName: string, options: EventListenerOptions): Observable<T>;\n/** @deprecated resultSelector no longer supported, pipe to map instead */\nexport function fromEvent<T>(target: FromEventTarget<T>, eventName: string, options: EventListenerOptions, resultSelector: (...args: any[]) => T): Observable<T>;\n/* tslint:enable:max-line-length */\n\n/**\n * Creates an Observable that emits events of a specific type coming from the\n * given event target.\n *\n * <span class=\"informal\">Creates an Observable from DOM events, or Node.js\n * EventEmitter events or others.</span>\n *\n * ![](fromEvent.png)\n *\n * `fromEvent` accepts as a first argument event target, which is an object with methods\n * for registering event handler functions. As a second argument it takes string that indicates\n * type of event we want to listen for. `fromEvent` supports selected types of event targets,\n * which are described in detail below. If your event target does not match any of the ones listed,\n * you should use {@link fromEventPattern}, which can be used on arbitrary APIs.\n * When it comes to APIs supported by `fromEvent`, their methods for adding and removing event\n * handler functions have different names, but they all accept a string describing event type\n * and function itself, which will be called whenever said event happens.\n *\n * Every time resulting Observable is subscribed, event handler function will be registered\n * to event target on given event type. When that event fires, value\n * passed as a first argument to registered function will be emitted by output Observable.\n * When Observable is unsubscribed, function will be unregistered from event target.\n *\n * Note that if event target calls registered function with more than one argument, second\n * and following arguments will not appear in resulting stream. In order to get access to them,\n * you can pass to `fromEvent` optional project function, which will be called with all arguments\n * passed to event handler. Output Observable will then emit value returned by project function,\n * instead of the usual value.\n *\n * Remember that event targets listed below are checked via duck typing. It means that\n * no matter what kind of object you have and no matter what environment you work in,\n * you can safely use `fromEvent` on that object if it exposes described methods (provided\n * of course they behave as was described above). So for example if Node.js library exposes\n * event target which has the same method names as DOM EventTarget, `fromEvent` is still\n * a good choice.\n *\n * If the API you use is more callback then event handler oriented (subscribed\n * callback function fires only once and thus there is no need to manually\n * unregister it), you should use {@link bindCallback} or {@link bindNodeCallback}\n * instead.\n *\n * `fromEvent` supports following types of event targets:\n *\n * **DOM EventTarget**\n *\n * This is an object with `addEventListener` and `removeEventListener` methods.\n *\n * In the browser, `addEventListener` accepts - apart from event type string and event\n * handler function arguments - optional third parameter, which is either an object or boolean,\n * both used for additional configuration how and when passed function will be called. When\n * `fromEvent` is used with event target of that type, you can provide this values\n * as third parameter as well.\n *\n * **Node.js EventEmitter**\n *\n * An object with `addListener` and `removeListener` methods.\n *\n * **JQuery-style event target**\n *\n * An object with `on` and `off` methods\n *\n * **DOM NodeList**\n *\n * List of DOM Nodes, returned for example by `document.querySelectorAll` or `Node.childNodes`.\n *\n * Although this collection is not event target in itself, `fromEvent` will iterate over all Nodes\n * it contains and install event handler function in every of them. When returned Observable\n * is unsubscribed, function will be removed from all Nodes.\n *\n * **DOM HtmlCollection**\n *\n * Just as in case of NodeList it is a collection of DOM nodes. Here as well event handler function is\n * installed and removed in each of elements.\n *\n *\n * ## Examples\n * ### Emits clicks happening on the DOM document\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * clicks.subscribe(x => console.log(x));\n *\n * // Results in:\n * // MouseEvent object logged to console every time a click\n * // occurs on the document.\n * ```\n *\n * ### Use addEventListener with capture option\n * ```javascript\n * const clicksInDocument = fromEvent(document, 'click', true); // note optional configuration parameter\n * // which will be passed to addEventListener\n * const clicksInDiv = fromEvent(someDivInDocument, 'click');\n *\n * clicksInDocument.subscribe(() => console.log('document'));\n * clicksInDiv.subscribe(() => console.log('div'));\n *\n * // By default events bubble UP in DOM tree, so normally\n * // when we would click on div in document\n * // \"div\" would be logged first and then \"document\".\n * // Since we specified optional `capture` option, document\n * // will catch event when it goes DOWN DOM tree, so console\n * // will log \"document\" and then \"div\".\n * ```\n *\n * @see {@link bindCallback}\n * @see {@link bindNodeCallback}\n * @see {@link fromEventPattern}\n *\n * @param {FromEventTarget<T>} target The DOM EventTarget, Node.js\n * EventEmitter, JQuery-like event target, NodeList or HTMLCollection to attach the event handler to.\n * @param {string} eventName The event name of interest, being emitted by the\n * `target`.\n * @param {EventListenerOptions} [options] Options to pass through to addEventListener\n * @return {Observable<T>}\n * @name fromEvent\n */\nexport function fromEvent<T>(\n target: FromEventTarget<T>,\n eventName: string,\n options?: EventListenerOptions | ((...args: any[]) => T),\n resultSelector?: ((...args: any[]) => T)\n): Observable<T> {\n\n if (isFunction(options)) {\n // DEPRECATED PATH\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n // DEPRECATED PATH\n return fromEvent<T>(target, eventName, <EventListenerOptions | undefined>options).pipe(\n map(args => isArray(args) ? resultSelector(...args) : resultSelector(args))\n );\n }\n\n return new Observable<T>(subscriber => {\n function handler(e: T) {\n if (arguments.length > 1) {\n subscriber.next(Array.prototype.slice.call(arguments));\n } else {\n subscriber.next(e);\n }\n }\n setupSubscription(target, eventName, handler, subscriber, options as EventListenerOptions);\n });\n}\n\nfunction setupSubscription<T>(sourceObj: FromEventTarget<T>, eventName: string,\n handler: (...args: any[]) => void, subscriber: Subscriber<T>,\n options?: EventListenerOptions) {\n let unsubscribe: () => void;\n if (isEventTarget(sourceObj)) {\n const source = sourceObj;\n sourceObj.addEventListener(eventName, handler, options);\n unsubscribe = () => source.removeEventListener(eventName, handler, options);\n } else if (isJQueryStyleEventEmitter(sourceObj)) {\n const source = sourceObj;\n sourceObj.on(eventName, handler);\n unsubscribe = () => source.off(eventName, handler);\n } else if (isNodeStyleEventEmitter(sourceObj)) {\n const source = sourceObj;\n sourceObj.addListener(eventName, handler as NodeEventHandler);\n unsubscribe = () => source.removeListener(eventName, handler as NodeEventHandler);\n } else if (sourceObj && (sourceObj as any).length) {\n for (let i = 0, len = (sourceObj as any).length; i < len; i++) {\n setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n }\n } else {\n throw new TypeError('Invalid event target');\n }\n\n subscriber.add(unsubscribe);\n}\n\nfunction isNodeStyleEventEmitter(sourceObj: any): sourceObj is NodeStyleEventEmitter {\n return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\n\nfunction isJQueryStyleEventEmitter(sourceObj: any): sourceObj is JQueryStyleEventEmitter {\n return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\n\nfunction isEventTarget(sourceObj: any): sourceObj is HasEventTargetAddRemove<any> {\n return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}\n"},"lineCount":null}},"hash":"005b89be4319154f56f353e0aa450acd","cacheData":{"env":{}}}