{"ast":null,"code":"import 'expo/build/Expo.fx';\nimport AppRegistry from \"react-native-web/dist/exports/AppRegistry\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nexport default function registerRootComponent(component) {\n if (process.env.NODE_ENV === 'production') {\n AppRegistry.registerComponent('main', function () {\n return component;\n });\n } else {\n var _require = require(\"./withDevTools\"),\n withDevTools = _require.withDevTools;\n AppRegistry.registerComponent('main', function () {\n return withDevTools(component);\n });\n }\n if (Platform.OS === 'web') {\n var _document$getElementB;\n var rootTag = (_document$getElementB = document.getElementById('root')) != null ? _document$getElementB : document.getElementById('main');\n AppRegistry.runApplication('main', {\n rootTag: rootTag\n });\n }\n}","map":{"version":3,"mappings":"AAAA,OAAO,oBAAoB;AAAC;AAAA;AAgB5B,eAAc,SAAUA,qBAAqB,CAC3CC,SAAiC;EAEjC,IAAIC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;IACzCC,WAAW,CAACC,iBAAiB,CAAC,MAAM,EAAE;MAAA,OAAML,SAAS;IAAA,EAAC;GACvD,MAAM;IACL,eAAyBM,OAAO,kBAAqD;MAA7EC,YAAY,YAAZA,YAAY;IACpBH,WAAW,CAACC,iBAAiB,CAAC,MAAM,EAAE;MAAA,OAAME,YAAY,CAACP,SAAS,CAAC;IAAA,EAAC;;EAGtE,IAAIQ,QAAQ,CAACC,EAAE,KAAK,KAAK,EAAE;IAAA;IACzB,IAAMC,OAAO,4BAAGC,QAAQ,CAACC,cAAc,CAAC,MAAM,CAAC,oCAAID,QAAQ,CAACC,cAAc,CAAC,MAAM,CAAC;IAClFR,WAAW,CAACS,cAAc,CAAC,MAAM,EAAE;MAAEH,OAAO,EAAPA;IAAO,CAAE,CAAC;;AAEnD","names":["registerRootComponent","component","process","env","NODE_ENV","AppRegistry","registerComponent","require","withDevTools","Platform","OS","rootTag","document","getElementById","runApplication"],"sources":["/Users/mathildejean/Documents/BUT/LaSuperMeteo/LaSuperMeteo/iut-expo-starter/node_modules/expo/src/launch/registerRootComponent.tsx"],"sourcesContent":["import 'expo/build/Expo.fx';\n\nimport * as React from 'react';\nimport { AppRegistry, Platform } from 'react-native';\n\ntype InitialProps = {\n exp: {\n notification?: any;\n manifestString?: string;\n [key: string]: any;\n };\n shell?: boolean;\n shellManifestUrl?: string;\n [key: string]: any;\n};\n\nexport default function registerRootComponent
(\n component: React.ComponentType
\n): void {\n if (process.env.NODE_ENV === 'production') {\n AppRegistry.registerComponent('main', () => component);\n } else {\n const { withDevTools } = require('./withDevTools') as typeof import('./withDevTools');\n AppRegistry.registerComponent('main', () => withDevTools(component));\n }\n\n if (Platform.OS === 'web') {\n const rootTag = document.getElementById('root') ?? document.getElementById('main');\n AppRegistry.runApplication('main', { rootTag });\n }\n}\n"]},"metadata":{},"sourceType":"module","externalDependencies":[]}