{"dependencies":[{"name":"react-native","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"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.shouldFallbackToLegacyNativeModule = shouldFallbackToLegacyNativeModule;\n  var _reactNative = require(_dependencyMap[0], \"react-native\");\n  function shouldFallbackToLegacyNativeModule() {\n    var expoConstants = _reactNative.NativeModules[\"NativeUnimoduleProxy\"]?.modulesConstants?.ExponentConstants;\n    if (expoConstants) {\n      /**\n       * In SDK <= 39, appOwnership is defined in managed apps but executionEnvironment is not.\n       * In bare React Native apps using expo-constants, appOwnership is never defined, so\n       * isLegacySdkVersion will be false in that context.\n       */\n      var isLegacySdkVersion = expoConstants.appOwnership && !expoConstants.executionEnvironment;\n\n      /**\n       * Expo managed apps don't include the @react-native-async-storage/async-storage\n       * native modules yet, but the API interface is the same, so we can use the version\n       * exported from React Native still.\n       *\n       * If in future releases (eg: @react-native-async-storage/async-storage >= 2.0.0) this\n       * will likely not be valid anymore, and the package will need to be included in the Expo SDK\n       * to continue to work.\n       */\n      if (isLegacySdkVersion || [\"storeClient\", \"standalone\"].includes(expoConstants.executionEnvironment)) {\n        return true;\n      }\n    }\n    return false;\n  }\n});","lineCount":34,"map":[[7,2,3,0,"exports"],[7,9,3,0],[7,10,3,0,"shouldFallbackToLegacyNativeModule"],[7,44,3,0],[7,47,3,0,"shouldFallbackToLegacyNativeModule"],[7,81,3,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,7],[9,11,3,16,"shouldFallbackToLegacyNativeModule"],[9,45,3,50,"shouldFallbackToLegacyNativeModule"],[9,46,3,50],[9,48,3,62],[10,4,4,2],[10,8,4,8,"expoConstants"],[10,21,4,21],[10,24,5,4,"NativeModules"],[10,36,5,17],[10,37,5,17,"NativeModules"],[10,50,5,17],[10,51,5,18],[10,73,5,40],[10,74,5,41],[10,76,5,43,"modulesConstants"],[10,92,5,59],[10,94,5,61,"ExponentConstants"],[10,111,5,78],[11,4,7,2],[11,8,7,6,"expoConstants"],[11,21,7,19],[11,23,7,21],[12,6,8,4],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,6,13,4],[17,10,13,10,"isLegacySdkVersion"],[17,28,13,28],[17,31,14,6,"expoConstants"],[17,44,14,19],[17,45,14,20,"appOwnership"],[17,57,14,32],[17,61,14,36],[17,62,14,37,"expoConstants"],[17,75,14,50],[17,76,14,51,"executionEnvironment"],[17,96,14,71],[19,6,16,4],[20,0,17,0],[21,0,18,0],[22,0,19,0],[23,0,20,0],[24,0,21,0],[25,0,22,0],[26,0,23,0],[27,0,24,0],[28,6,25,4],[28,10,26,6,"isLegacySdkVersion"],[28,28,26,24],[28,32,27,6],[28,33,27,7],[28,46,27,20],[28,48,27,22],[28,60,27,34],[28,61,27,35],[28,62,27,36,"includes"],[28,70,27,44],[28,71,27,45,"expoConstants"],[28,84,27,58],[28,85,27,59,"executionEnvironment"],[28,105,27,79],[28,106,27,80],[28,108,28,6],[29,8,29,6],[29,15,29,13],[29,19,29,17],[30,6,30,4],[31,4,31,2],[32,4,33,2],[32,11,33,9],[32,16,33,14],[33,2,34,0],[34,0,34,1],[34,3]],"functionMap":{"names":["<global>","shouldFallbackToLegacyNativeModule"],"mappings":"AAA;OCE;CD+B"},"hasCjsExports":false},"type":"js/module"}]}