{"dependencies":[{"name":"react-native","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}}],"key":"KyzuX10g6ixS9UfynhmjlvCIG3g=","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  exports.ensureNativeModulesAreInstalled = ensureNativeModulesAreInstalled;\n  var _reactNative = require(_dependencyMap[0], \"react-native\");\n  /**\n   * Ensures that the native modules are installed in the current runtime.\n   * Otherwise, it synchronously calls a native function that installs them.\n   */\n  function ensureNativeModulesAreInstalled() {\n    if (globalThis.expo) {\n      return;\n    }\n    try {\n      // TODO: ExpoModulesCore shouldn't be optional here,\n      // but to keep backwards compatibility let's just ignore it in SDK 50.\n      // In most cases the modules were already installed from the native side.\n      _reactNative.TurboModuleRegistry.get('ExpoModulesCore')?.installModules();\n    } catch (error) {\n      console.error(`Unable to install Expo modules: ${error}`);\n    }\n  }\n});","lineCount":26,"map":[[7,2,7,0,"exports"],[7,9,7,0],[7,10,7,0,"ensureNativeModulesAreInstalled"],[7,41,7,0],[7,44,7,0,"ensureNativeModulesAreInstalled"],[7,75,7,0],[8,2,1,0],[8,6,1,0,"_reactNative"],[8,18,1,0],[8,21,1,0,"require"],[8,28,1,0],[8,29,1,0,"_dependencyMap"],[8,43,1,0],[9,2,3,0],[10,0,4,0],[11,0,5,0],[12,0,6,0],[13,2,7,7],[13,11,7,16,"ensureNativeModulesAreInstalled"],[13,42,7,47,"ensureNativeModulesAreInstalled"],[13,43,7,47],[13,45,7,56],[14,4,8,2],[14,8,8,6,"globalThis"],[14,18,8,16],[14,19,8,17,"expo"],[14,23,8,21],[14,25,8,23],[15,6,9,4],[16,4,10,2],[17,4,12,2],[17,8,12,6],[18,6,13,4],[19,6,14,4],[20,6,15,4],[21,6,17,6,"TurboModuleRegistry"],[21,18,17,25],[21,19,17,25,"TurboModuleRegistry"],[21,38,17,25],[21,39,17,26,"get"],[21,42,17,29],[21,43,17,30],[21,60,17,47],[21,61,17,48],[21,63,18,7,"installModules"],[21,77,18,21],[21,78,18,22],[21,79,18,23],[22,4,19,2],[22,5,19,3],[22,6,19,4],[22,13,19,11,"error"],[22,18,19,16],[22,20,19,18],[23,6,20,4,"console"],[23,13,20,11],[23,14,20,12,"error"],[23,19,20,17],[23,20,20,18],[23,55,20,53,"error"],[23,60,20,58],[23,62,20,60],[23,63,20,61],[24,4,21,2],[25,2,22,0],[26,0,22,1],[26,3]],"functionMap":{"names":["<global>","ensureNativeModulesAreInstalled"],"mappings":"AAA;OCM;CDe"},"hasCjsExports":false},"type":"js/module"}]}