1{"version":3,"file":"withAndroidUserInterfaceStyle.js","names":["withAndroidUserInterfaceStyle","config","withStringsXml","userInterfaceStyle","android","WarningAggregator","addWarningAndroid"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/withAndroidUserInterfaceStyle.ts"],"sourcesContent":["import { ConfigPlugin, WarningAggregator, withStringsXml } from '@expo/config-plugins';\n\nexport const withAndroidUserInterfaceStyle: ConfigPlugin<void> = (config) => {\n  return withStringsXml(config, (config) => {\n    const userInterfaceStyle = config.android?.userInterfaceStyle ?? config.userInterfaceStyle;\n    if (userInterfaceStyle) {\n      WarningAggregator.addWarningAndroid(\n        'userInterfaceStyle',\n        // TODO: Maybe warn that they need a certain version of React Native as well?\n        'Install expo-system-ui in your project to enable this feature.'\n      );\n    }\n\n    return config;\n  });\n};\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,6BAAiD,GAAIC,MAAD,IAAY;EAC3E,OAAO,IAAAC,+BAAA,EAAeD,MAAf,EAAwBA,MAAD,IAAY;IAAA;;IACxC,MAAME,kBAAkB,+CAAGF,MAAM,CAACG,OAAV,oDAAG,gBAAgBD,kBAAnB,yEAAyCF,MAAM,CAACE,kBAAxE;;IACA,IAAIA,kBAAJ,EAAwB;MACtBE,kCAAA,CAAkBC,iBAAlB,CACE,oBADF,EAEE;MACA,gEAHF;IAKD;;IAED,OAAOL,MAAP;EACD,CAXM,CAAP;AAYD,CAbM"}