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,MAAM,IAAK;EAC3E,OAAO,IAAAC,+BAAc,EAACD,MAAM,EAAGA,MAAM,IAAK;IAAA;IACxC,MAAME,kBAAkB,+CAAGF,MAAM,CAACG,OAAO,oDAAd,gBAAgBD,kBAAkB,yEAAIF,MAAM,CAACE,kBAAkB;IAC1F,IAAIA,kBAAkB,EAAE;MACtBE,kCAAiB,CAACC,iBAAiB,CACjC,oBAAoB;MACpB;MACA,gEAAgE,CACjE;IACH;IAEA,OAAOL,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAAC"}