{"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n  subClass.prototype = Object.create(superClass.prototype);\n  subClass.prototype.constructor = subClass;\n  subClass.__proto__ = superClass;\n}\n\nimport EventSubscription from \"./EventSubscription\";\n\nvar EmitterSubscription = function (_EventSubscription) {\n  _inheritsLoose(EmitterSubscription, _EventSubscription);\n\n  function EmitterSubscription(emitter, subscriber, listener, context) {\n    var _this;\n\n    _this = _EventSubscription.call(this, subscriber) || this;\n    _this.emitter = emitter;\n    _this.listener = listener;\n    _this.context = context;\n    return _this;\n  }\n\n  var _proto = EmitterSubscription.prototype;\n\n  _proto.remove = function remove() {\n    this.emitter.removeSubscription(this);\n  };\n\n  return EmitterSubscription;\n}(EventSubscription);\n\nexport default EmitterSubscription;","map":{"version":3,"sources":["/Users/nishan/Desktop/oss/responsive-breakpoints/example/node_modules/react-native-web/dist/vendor/react-native/emitter/EmitterSubscription.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","EventSubscription","EmitterSubscription","_EventSubscription","emitter","subscriber","listener","context","_this","call","_proto","remove","removeSubscription"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;AAAED,EAAAA,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;AAA0DF,EAAAA,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;AAA2CA,EAAAA,QAAQ,CAACM,SAAT,GAAqBL,UAArB;AAAkC;;AAEvL,OAAOM,iBAAP;;AAKA,IAAIC,mBAAmB,GAEvB,UAAUC,kBAAV,EAA8B;AAC5BV,EAAAA,cAAc,CAACS,mBAAD,EAAsBC,kBAAtB,CAAd;;AAYA,WAASD,mBAAT,CAA6BE,OAA7B,EAAsCC,UAAtC,EAAkDC,QAAlD,EAA4DC,OAA5D,EAAqE;AACnE,QAAIC,KAAJ;;AAEAA,IAAAA,KAAK,GAAGL,kBAAkB,CAACM,IAAnB,CAAwB,IAAxB,EAA8BJ,UAA9B,KAA6C,IAArD;AACAG,IAAAA,KAAK,CAACJ,OAAN,GAAgBA,OAAhB;AACAI,IAAAA,KAAK,CAACF,QAAN,GAAiBA,QAAjB;AACAE,IAAAA,KAAK,CAACD,OAAN,GAAgBA,OAAhB;AACA,WAAOC,KAAP;AACD;;AASD,MAAIE,MAAM,GAAGR,mBAAmB,CAACN,SAAjC;;AAEAc,EAAAA,MAAM,CAACC,MAAP,GAAgB,SAASA,MAAT,GAAkB;AAChC,SAAKP,OAAL,CAAaQ,kBAAb,CAAgC,IAAhC;AACD,GAFD;;AAIA,SAAOV,mBAAP;AACD,CArCD,CAqCED,iBArCF,CAFA;;AAyCA,eAAeC,mBAAf","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport EventSubscription from './EventSubscription';\n\n/**\n * EmitterSubscription represents a subscription with listener and context data.\n */\nvar EmitterSubscription =\n/*#__PURE__*/\nfunction (_EventSubscription) {\n  _inheritsLoose(EmitterSubscription, _EventSubscription);\n\n  /**\n   * @param {EventEmitter} emitter - The event emitter that registered this\n   *   subscription\n   * @param {EventSubscriptionVendor} subscriber - The subscriber that controls\n   *   this subscription\n   * @param {function} listener - Function to invoke when the specified event is\n   *   emitted\n   * @param {*} context - Optional context object to use when invoking the\n   *   listener\n   */\n  function EmitterSubscription(emitter, subscriber, listener, context) {\n    var _this;\n\n    _this = _EventSubscription.call(this, subscriber) || this;\n    _this.emitter = emitter;\n    _this.listener = listener;\n    _this.context = context;\n    return _this;\n  }\n  /**\n   * Removes this subscription from the emitter that registered it.\n   * Note: we're overriding the `remove()` method of EventSubscription here\n   * but deliberately not calling `super.remove()` as the responsibility\n   * for removing the subscription lies with the EventEmitter.\n   */\n\n\n  var _proto = EmitterSubscription.prototype;\n\n  _proto.remove = function remove() {\n    this.emitter.removeSubscription(this);\n  };\n\n  return EmitterSubscription;\n}(EventSubscription);\n\nexport default EmitterSubscription;"]},"metadata":{},"sourceType":"module"}