mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 21:31:02 +00:00
1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"dependencies":[{"name":"invariant","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}}],"key":"4HPAaDQ25ZwZ2dzTLatXuUucZUM=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/NativeEventEmitter","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"eTF52IbKshB2LvkGjXImGpuTZc0=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/Platform","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"dV3bI3NOD8bfMzaIniMaFGy/nn8=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"LegacyEventEmitter\", {\n enumerable: true,\n get: function () {\n return LegacyEventEmitter;\n }\n });\n var _invariant = require(_dependencyMap[0], \"invariant\");\n var invariant = _interopDefault(_invariant);\n var _reactNativeWebDistExportsNativeEventEmitter = require(_dependencyMap[1], \"react-native-web/dist/exports/NativeEventEmitter\");\n var NativeEventEmitter = _interopDefault(_reactNativeWebDistExportsNativeEventEmitter);\n var _reactNativeWebDistExportsPlatform = require(_dependencyMap[2], \"react-native-web/dist/exports/Platform\");\n var Platform = _interopDefault(_reactNativeWebDistExportsPlatform);\n const nativeEmitterSubscriptionKey = '@@nativeEmitterSubscription@@';\n /**\n * @deprecated Deprecated in favor of `EventEmitter`.\n */\n class LegacyEventEmitter {\n _listenerCount = 0;\n\n // @ts-expect-error\n\n // @ts-expect-error\n\n constructor(nativeModule) {\n // If the native module is a new module, just return it back as it's already an event emitter.\n // This is for backwards compatibility until we stop using this legacy class in other packages.\n if (nativeModule.__expo_module_name__) {\n // @ts-expect-error\n return nativeModule;\n }\n this._nativeModule = nativeModule;\n this._eventEmitter = new NativeEventEmitter.default(nativeModule);\n }\n addListener(eventName, listener) {\n if (!this._listenerCount && Platform.default.OS !== 'ios' && this._nativeModule.startObserving) {\n this._nativeModule.startObserving();\n }\n this._listenerCount++;\n const nativeEmitterSubscription = this._eventEmitter.addListener(eventName, listener);\n const subscription = {\n [nativeEmitterSubscriptionKey]: nativeEmitterSubscription,\n remove: () => {\n this.removeSubscription(subscription);\n }\n };\n return subscription;\n }\n removeAllListeners(eventName) {\n // @ts-ignore: the EventEmitter interface has been changed in react-native@0.64.0\n const removedListenerCount = this._eventEmitter.listenerCount ?\n // @ts-ignore: this is available since 0.64\n this._eventEmitter.listenerCount(eventName) :\n // @ts-ignore: this is available in older versions\n this._eventEmitter.listeners(eventName).length;\n this._eventEmitter.removeAllListeners(eventName);\n this._listenerCount -= removedListenerCount;\n (0, invariant.default)(this._listenerCount >= 0, `EventEmitter must have a non-negative number of listeners`);\n if (!this._listenerCount && Platform.default.OS !== 'ios' && this._nativeModule.stopObserving) {\n this._nativeModule.stopObserving();\n }\n }\n removeSubscription(subscription) {\n const state = subscription;\n const nativeEmitterSubscription = state[nativeEmitterSubscriptionKey];\n if (!nativeEmitterSubscription) {\n return;\n }\n if ('remove' in nativeEmitterSubscription) {\n nativeEmitterSubscription.remove?.();\n }\n this._listenerCount--;\n\n // Ensure that the emitter's internal state remains correct even if `removeSubscription` is\n // called again with the same subscription\n delete state[nativeEmitterSubscriptionKey];\n\n // Release closed-over references to the emitter\n subscription.remove = () => {};\n if (!this._listenerCount && Platform.default.OS !== 'ios' && this._nativeModule.stopObserving) {\n this._nativeModule.stopObserving();\n }\n }\n emit(eventName, ...params) {\n this._eventEmitter.emit(eventName, ...params);\n }\n }\n});","lineCount":98,"map":[[12,2,29,0,"Object"],[12,8,29,0],[12,9,29,0,"defineProperty"],[12,23,29,0],[12,24,29,0,"exports"],[12,31,29,0],[13,4,29,0,"enumerable"],[13,14,29,0],[14,4,29,0,"get"],[14,7,29,0],[14,18,29,0,"get"],[14,19,29,0],[15,6,29,0],[15,13,29,0,"LegacyEventEmitter"],[15,31,29,0],[16,4,29,0],[17,2,29,0],[18,2,1,0],[18,6,1,0,"_invariant"],[18,16,1,0],[18,19,1,0,"require"],[18,26,1,0],[18,27,1,0,"_dependencyMap"],[18,41,1,0],[19,2,1,0],[19,6,1,0,"invariant"],[19,15,1,0],[19,18,1,0,"_interopDefault"],[19,33,1,0],[19,34,1,0,"_invariant"],[19,44,1,0],[20,2,1,34],[20,6,1,34,"_reactNativeWebDistExportsNativeEventEmitter"],[20,50,1,34],[20,53,1,34,"require"],[20,60,1,34],[20,61,1,34,"_dependencyMap"],[20,75,1,34],[21,2,1,34],[21,6,1,34,"NativeEventEmitter"],[21,24,1,34],[21,27,1,34,"_interopDefault"],[21,42,1,34],[21,43,1,34,"_reactNativeWebDistExportsNativeEventEmitter"],[21,87,1,34],[22,2,1,34],[22,6,1,34,"_reactNativeWebDistExportsPlatform"],[22,40,1,34],[22,43,1,34,"require"],[22,50,1,34],[22,51,1,34,"_dependencyMap"],[22,65,1,34],[23,2,1,34],[23,6,1,34,"Platform"],[23,14,1,34],[23,17,1,34,"_interopDefault"],[23,32,1,34],[23,33,1,34,"_reactNativeWebDistExportsPlatform"],[23,67,1,34],[24,2,6,0],[24,8,6,6,"nativeEmitterSubscriptionKey"],[24,36,6,34],[24,39,6,37],[24,70,6,77],[25,2,26,0],[26,0,27,0],[27,0,28,0],[28,2,29,7],[28,8,29,13,"LegacyEventEmitter"],[28,26,29,31],[28,27,29,32],[29,4,30,2,"_listenerCount"],[29,18,30,16],[29,21,30,19],[29,22,30,20],[31,4,32,2],[33,4,35,2],[35,4,38,2,"constructor"],[35,15,38,13,"constructor"],[35,16,38,14,"nativeModule"],[35,28,38,40],[35,30,38,42],[36,6,39,4],[37,6,40,4],[38,6,41,4],[38,10,41,8,"nativeModule"],[38,22,41,20],[38,23,41,21,"__expo_module_name__"],[38,43,41,41],[38,45,41,43],[39,8,42,6],[40,8,43,6],[40,15,43,13,"nativeModule"],[40,27,43,25],[41,6,44,4],[42,6,45,4],[42,10,45,8],[42,11,45,9,"_nativeModule"],[42,24,45,22],[42,27,45,25,"nativeModule"],[42,39,45,37],[43,6,46,4],[43,10,46,8],[43,11,46,9,"_eventEmitter"],[43,24,46,22],[43,27,46,25],[43,31,46,29,"NativeEventEmitter"],[43,49,46,47],[43,50,46,47,"default"],[43,57,46,47],[43,58,46,48,"nativeModule"],[43,70,46,67],[43,71,46,68],[44,4,47,2],[45,4,49,2,"addListener"],[45,15,49,13,"addListener"],[45,16,49,17,"eventName"],[45,25,49,34],[45,27,49,36,"listener"],[45,35,49,64],[45,37,49,85],[46,6,50,4],[46,10,50,8],[46,11,50,9],[46,15,50,13],[46,16,50,14,"_listenerCount"],[46,30,50,28],[46,34,50,32,"Platform"],[46,42,50,40],[46,43,50,40,"default"],[46,50,50,40],[46,51,50,41,"OS"],[46,53,50,43],[46,58,50,48],[46,63,50,53],[46,67,50,57],[46,71,50,61],[46,72,50,62,"_nativeModule"],[46,85,50,75],[46,86,50,76,"startObserving"],[46,100,50,90],[46,102,50,92],[47,8,51,6],[47,12,51,10],[47,13,51,11,"_nativeModule"],[47,26,51,24],[47,27,51,25,"startObserving"],[47,41,51,39],[47,42,51,40],[47,43,51,41],[48,6,52,4],[49,6,54,4],[49,10,54,8],[49,11,54,9,"_listenerCount"],[49,25,54,23],[49,27,54,25],[50,6,55,4],[50,12,55,10,"nativeEmitterSubscription"],[50,37,55,35],[50,40,55,38],[50,44,55,42],[50,45,55,43,"_eventEmitter"],[50,58,55,56],[50,59,55,57,"addListener"],[50,70,55,68],[50,71,55,69,"eventName"],[50,80,55,78],[50,82,55,80,"listener"],[50,90,55,88],[50,91,55,89],[51,6,56,4],[51,12,56,10,"subscription"],[51,24,56,41],[51,27,56,44],[52,8,57,6],[52,9,57,7,"nativeEmitterSubscriptionKey"],[52,37,57,35],[52,40,57,38,"nativeEmitterSubscription"],[52,65,57,63],[53,8,58,6,"remove"],[53,14,58,12],[53,16,58,14,"remove"],[53,17,58,14],[53,22,58,20],[54,10,59,8],[54,14,59,12],[54,15,59,13,"removeSubscription"],[54,33,59,31],[54,34,59,32,"subscription"],[54,46,59,44],[54,47,59,45],[55,8,60,6],[56,6,61,4],[56,7,61,5],[57,6,62,4],[57,13,62,11,"subscription"],[57,25,62,23],[58,4,63,2],[59,4,65,2,"removeAllListeners"],[59,22,65,20,"removeAllListeners"],[59,23,65,21,"eventName"],[59,32,65,38],[59,34,65,46],[60,6,66,4],[61,6,67,4],[61,12,67,10,"removedListenerCount"],[61,32,67,30],[61,35,67,33],[61,39,67,37],[61,40,67,38,"_eventEmitter"],[61,53,67,51],[61,54,67,52,"listenerCount"],[61,67,67,65],[62,6,68,8],[63,6,69,8],[63,10,69,12],[63,11,69,13,"_eventEmitter"],[63,24,69,26],[63,25,69,27,"listenerCount"],[63,38,69,40],[63,39,69,41,"eventName"],[63,48,69,50],[63,49,69,51],[64,6,70,8],[65,6,71,8],[65,10,71,12],[65,11,71,13,"_eventEmitter"],[65,24,71,26],[65,25,71,27,"listeners"],[65,34,71,36],[65,35,71,37,"eventName"],[65,44,71,46],[65,45,71,47],[65,46,71,48,"length"],[65,52,71,54],[66,6,72,4],[66,10,72,8],[66,11,72,9,"_eventEmitter"],[66,24,72,22],[66,25,72,23,"removeAllListeners"],[66,43,72,41],[66,44,72,42,"eventName"],[66,53,72,51],[66,54,72,52],[67,6,73,4],[67,10,73,8],[67,11,73,9,"_listenerCount"],[67,25,73,23],[67,29,73,27,"removedListenerCount"],[67,49,73,47],[68,6,74,4],[68,10,74,4,"invariant"],[68,19,74,13],[68,20,74,13,"default"],[68,27,74,13],[68,29,75,6],[68,33,75,10],[68,34,75,11,"_listenerCount"],[68,48,75,25],[68,52,75,29],[68,53,75,30],[68,55,76,6],[68,114,77,4],[68,115,77,5],[69,6,79,4],[69,10,79,8],[69,11,79,9],[69,15,79,13],[69,16,79,14,"_listenerCount"],[69,30,79,28],[69,34,79,32,"Platform"],[69,42,79,40],[69,43,79,40,"default"],[69,50,79,40],[69,51,79,41,"OS"],[69,53,79,43],[69,58,79,48],[69,63,79,53],[69,67,79,57],[69,71,79,61],[69,72,79,62,"_nativeModule"],[69,85,79,75],[69,86,79,76,"stopObserving"],[69,99,79,89],[69,101,79,91],[70,8,80,6],[70,12,80,10],[70,13,80,11,"_nativeModule"],[70,26,80,24],[70,27,80,25,"stopObserving"],[70,40,80,38],[70,41,80,39],[70,42,80,40],[71,6,81,4],[72,4,82,2],[73,4,84,2,"removeSubscription"],[73,22,84,20,"removeSubscription"],[73,23,84,21,"subscription"],[73,35,84,52],[73,37,84,60],[74,6,85,4],[74,12,85,10,"state"],[74,17,85,15],[74,20,85,18,"subscription"],[74,32,85,51],[75,6,86,4],[75,12,86,10,"nativeEmitterSubscription"],[75,37,86,35],[75,40,86,38,"state"],[75,45,86,43],[75,46,86,44,"nativeEmitterSubscriptionKey"],[75,74,86,72],[75,75,86,73],[76,6,87,4],[76,10,87,8],[76,11,87,9,"nativeEmitterSubscription"],[76,36,87,34],[76,38,87,36],[77,8,88,6],[78,6,89,4],[79,6,91,4],[79,10,91,8],[79,18,91,16],[79,22,91,20,"nativeEmitterSubscription"],[79,47,91,45],[79,49,91,47],[80,8,92,6,"nativeEmitterSubscription"],[80,33,92,31],[80,34,92,32,"remove"],[80,40,92,38],[80,43,92,41],[80,44,92,42],[81,6,93,4],[82,6,94,4],[82,10,94,8],[82,11,94,9,"_listenerCount"],[82,25,94,23],[82,27,94,25],[84,6,96,4],[85,6,97,4],[86,6,98,4],[86,13,98,11,"state"],[86,18,98,16],[86,19,98,17,"nativeEmitterSubscriptionKey"],[86,47,98,45],[86,48,98,46],[88,6,100,4],[89,6,101,4,"subscription"],[89,18,101,16],[89,19,101,17,"remove"],[89,25,101,23],[89,28,101,26],[89,34,101,32],[89,35,101,33],[89,36,101,34],[90,6,103,4],[90,10,103,8],[90,11,103,9],[90,15,103,13],[90,16,103,14,"_listenerCount"],[90,30,103,28],[90,34,103,32,"Platform"],[90,42,103,40],[90,43,103,40,"default"],[90,50,103,40],[90,51,103,41,"OS"],[90,53,103,43],[90,58,103,48],[90,63,103,53],[90,67,103,57],[90,71,103,61],[90,72,103,62,"_nativeModule"],[90,85,103,75],[90,86,103,76,"stopObserving"],[90,99,103,89],[90,101,103,91],[91,8,104,6],[91,12,104,10],[91,13,104,11,"_nativeModule"],[91,26,104,24],[91,27,104,25,"stopObserving"],[91,40,104,38],[91,41,104,39],[91,42,104,40],[92,6,105,4],[93,4,106,2],[94,4,108,2,"emit"],[94,8,108,6,"emit"],[94,9,108,7,"eventName"],[94,18,108,24],[94,20,108,26],[94,23,108,29,"params"],[94,29,108,42],[94,31,108,50],[95,6,109,4],[95,10,109,8],[95,11,109,9,"_eventEmitter"],[95,24,109,22],[95,25,109,23,"emit"],[95,29,109,27],[95,30,109,28,"eventName"],[95,39,109,37],[95,41,109,39],[95,44,109,42,"params"],[95,50,109,48],[95,51,109,49],[96,4,110,2],[97,2,111,0],[98,0,111,1],[98,3]],"functionMap":{"names":["<global>","LegacyEventEmitter","constructor","addListener","subscription.remove","removeAllListeners","removeSubscription","emit"],"mappings":"AAA;OC4B;ECS;GDS;EEE;cCS;ODE;GFG;EIE;GJiB;EKE;0BFiB,QE;GLK;EME;GNE;CDC"},"hasCjsExports":false},"type":"js/module"}]} |