GT2/Ejectable/node_modules/react-native-safe-area-context/lib/commonjs/InitialWindow.native.js.map

1 line
1019 B
Plaintext

{"version":3,"sources":["InitialWindow.native.ts"],"names":["RNCSafeAreaProviderConfig","UIManager","getViewManagerConfig","initialWindowMetrics","Constants","initialWindowSafeAreaInsets","insets"],"mappings":";;;;;;;AAAA;;AAGA,MAAMA,yBAAyB,GAAGC,uBAAUC,oBAAV,CAChC,qBADgC,CAAlC;;AAIO,MAAMC,oBAAoB,GAAIH,yBAAyB,IAAI,IAA7B,IACrCA,yBAAyB,CAACI,SAA1B,IAAuC,IADF,GAEjCJ,yBAAyB,CAACI,SAA1B,CAAoCD,oBAFH,GAGjC,IAHG;AAKP;;;;;AAGO,MAAME,2BAA2B,GAAGF,oBAAH,aAAGA,oBAAH,uBAAGA,oBAAoB,CAAEG,MAA1D","sourcesContent":["import { UIManager } from 'react-native';\nimport { Metrics } from './SafeArea.types';\n\nconst RNCSafeAreaProviderConfig = UIManager.getViewManagerConfig(\n 'RNCSafeAreaProvider',\n) as any;\n\nexport const initialWindowMetrics = (RNCSafeAreaProviderConfig != null &&\nRNCSafeAreaProviderConfig.Constants != null\n ? RNCSafeAreaProviderConfig.Constants.initialWindowMetrics\n : null) as Metrics | null;\n\n/**\n * @deprecated\n */\nexport const initialWindowSafeAreaInsets = initialWindowMetrics?.insets;\n"]}