GT2/Ejectable/node_modules/@expo/configure-splash-screen/build/ios/Contents.json.js.map

1 line
2.8 KiB
Plaintext
Raw Normal View History

2021-08-16 00:14:59 +00:00
{"version":3,"file":"Contents.json.js","sourceRoot":"","sources":["../../src/ios/Contents.json.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA0B;AAEnB,KAAK,UAAU,qBAAqB,CACzC,oBAA4B,EAC5B,QAAgB,EAChB,gBAAyB;IAEzB,MAAM,MAAM,GAQN;QACJ;YACE,KAAK,EAAE,WAAoB;YAC3B,QAAQ;YACR,KAAK,EAAE,IAAa;SACrB;QACD;YACE,WAAW,EAAE;gBACX;oBACE,UAAU,EAAE,YAAqB;oBACjC,KAAK,EAAE,MAAe;iBACvB;aACF;YACD,KAAK,EAAE,WAAoB;YAC3B,QAAQ,EAAE,gBAAgB;YAC1B,KAAK,EAAE,IAAa;SACrB;QACD;YACE,KAAK,EAAE,WAAoB;YAC3B,KAAK,EAAE,IAAa;SACrB;QACD;YACE,WAAW,EAAE;gBACX;oBACE,UAAU,EAAE,YAAqB;oBACjC,KAAK,EAAE,MAAe;iBACvB;aACF;YACD,KAAK,EAAE,WAAoB;YAC3B,KAAK,EAAE,IAAa;SACrB;QACD;YACE,KAAK,EAAE,WAAoB;YAC3B,KAAK,EAAE,IAAa;SACrB;QACD;YACE,WAAW,EAAE;gBACX;oBACE,UAAU,EAAE,YAAqB;oBACjC,KAAK,EAAE,MAAe;iBACvB;aACF;YACD,KAAK,EAAE,WAAoB;YAC3B,KAAK,EAAE,IAAa;SACrB;KACF,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,eAAC,OAAA,CAAC,aAAA,EAAE,CAAC,WAAW,0CAAG,CAAC,2CAAG,KAAK,MAAK,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA,EAAA,CAAC,CAAC;IAE3F,MAAM,YAAY,GAAG;QACnB,MAAM;QACN,IAAI,EAAE;YACJ,OAAO,EAAE,CAAC;YACV,MAAM,EAAE,OAAO;SAChB;KACF,CAAC;IAEF,MAAM,kBAAE,CAAC,SAAS,CAAC,oBAAoB,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAClF,CAAC;AArED,sDAqEC","sourcesContent":["import fs from 'fs-extra';\n\nexport async function writeContentsJsonFile(\n contentsJsonFilePath: string,\n filename: string,\n darkModeFilename?: string\n) {\n const images: {\n idiom: 'universal';\n filename?: string;\n scale: '1x' | '2x' | '3x';\n appearances?: {\n appearance: 'luminosity';\n value: 'dark';\n }[];\n }[] = [\n {\n idiom: 'universal' as const,\n filename,\n scale: '1x' as const,\n },\n {\n appearances: [\n {\n appearance: 'luminosity' as const,\n value: 'dark' as const,\n },\n ],\n idiom: 'universal' as const,\n filename: darkModeFilename,\n scale: '1x' as const,\n },\n {\n idiom: 'universal' as const,\n scale: '2x' as const,\n },\n {\n appearances: [\n {\n appearance: 'luminosity' as const,\n value: 'dark' as const,\n },\n ],\n idiom: 'universal' as const,\n scale: '2x' as const,\n },\n {\n idiom: 'universal' as const,\n scale: '3x' as const,\n },\n {\n appearances: [\n {\n appearance: 'luminosity' as const,\n value: 'dark' as const,\n },\n ],\n idiom: 'universal' as const,\n scale: '3x' as const,\n },\n ].filter(el => (el.appearances?.[0]?.value === 'dark' ? Boolean(darkModeFilename) : true));\n\n const contentsJson = {\n images,\n info: {\n version: 1,\n author: 'xcode',\n },\n };\n\n await fs.writeFile(contentsJsonFilePath, JSON.stringify(contentsJson, null, 2));\n}\n"]}