GT2/Ejectable/node_modules/@expo/configure-splash-screen/build/cli-command.js.map

1 line
9.7 KiB
Plaintext
Raw Normal View History

2021-08-16 00:14:59 +00:00
{"version":3,"file":"cli-command.js","sourceRoot":"","sources":["../src/cli-command.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoC;AAGpC,wDAAyC;AACzC,2CAKqB;AACrB,gDAAiC;AACjC,6CAAiD;AAuBjD,KAAK,UAAU,MAAM,CAAC,aAA4B;IAChD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,aAAa,CAAC;IACjD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAC9B,QAAQ,QAAQ,EAAE;QAChB,KAAK,oBAAQ,CAAC,OAAO;YACnB,MAAM,iBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YACzC,MAAM;QACR,KAAK,oBAAQ,CAAC,GAAG;YACf,MAAM,aAAY,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;YACjC,MAAM;QACR,KAAK,oBAAQ,CAAC,GAAG,CAAC;QAClB;YACE,MAAM,iBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YACzC,MAAM,aAAY,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;YACjC,MAAM;KACT;AACH,CAAC;AAED,SAAS,wBAAwB,CAAC,EAChC,QAAQ,EACR,eAAe,EACf,eAAe,EACf,SAAS,EACT,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,gCAAgC,GAClB;IACd,IAAI,gBAAgB,GAAiB,oBAAQ,CAAC,GAAG,CAAC;IAClD,IAAI;QACF,gBAAgB,GAAG,CAAC,QAAQ,IAAI,8BAAiB,CAAC,QAAQ,EAAE,oBAAQ,CAAC,CAAC,IAAI,oBAAQ,CAAC,GAAG,CAAC;KACxF;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,IAAI,K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AI,CAAC,GAAG,CAAC;SAClB,IAAI,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC;AAED,kBAAe,GAAG,EAAE,CAClB,IAAI,mBAAO,EAAE;KACV,WAAW,CACV,wNAAwN,CACzN;KACA,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC;KAC3C,kBAAkB,CAAC,KAAK,CAAC;KACzB,mBAAmB,CAAC,KAAK,CAAC;KAC1B,MAAM,CACL,2BAA2B,EAC3B,qDAAqD,mBAAmB,CACtE,oBAAQ,CACT,eAAe,oBAAQ,CAAC,GAAG,KAAK,CAClC;KACA,MAAM,CACL,gCAAgC,EAChC,oNAAoN,CACrN;KACA,MAAM,CACL,yBAAyB,EACzB,uEAAuE,CACxE;KACA,MAAM,CACL,sCAAsC,EACtC,6HAA6H,mBAAmB,CAC9I,uCAA2B,CAC5B,yDACC,uCAA2B,CAAC,OAC9B,KAAK,CACN;KACA,MAAM,CACL,sCAAsC,EACtC,gMAAgM,CACjM;KACA,MAAM,CACL,+BAA+B,EAC/B,6JAA6J,CAC9J;KACA,MAAM,CACL,4BAA4B,EAC5B,mEAAmE,mBAAmB,CACpF,sCAA0B,CAC3B,eAAe,sCAA0B,CAAC,OAAO,KAAK,CACxD;KACA,MAAM,CAAC,qBAAqB,EAAE,uBAAuB,CAAC;KACtD,MAAM,CACL,uCAAuC,EACvC,kJAAkJ,CACnJ;KACA,MAAM,CACL,0BAA0B,EAC1B,2GAA2G,CAC5G;KACA,MAAM,CACL,sCAAsC,EACtC,wLAAwL,CACzL;KACA,MAAM,CACL,iDAAiD,EACjD,uMAAuM,CACxM;KACA,MAAM,CAAC,KAAK,EAAE,OAAsB,EAAE,EAAE;IACvC,MAAM,aAAa,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACxD,MAAM,MAAM,CAAC,aAAa,CAAC,CAAC;AAC9B,CAAC,CAAC,CAAC","sourcesContent":["import { Command } from 'commander';\n\nimport { AndroidSplashScreenConfigJSON, IosSplashScreenConfigJSON } from './SplashScreenConfig';\nimport configureAndroid from './android';\nimport {\n SplashScreenImageResizeMode,\n SplashScreenStatusBarStyle,\n Platform,\n PlatformType,\n} from './constants';\nimport configureIos from './ios';\nimport { validateEnumValue } from './validators';\n\ntype RawCLIOptions = Partial<{\n imageResizeMode: string;\n platform: string;\n backgroundColor: string;\n imagePath: string;\n darkModeBackgroundColor: string;\n darkModeImagePath: string;\n statusBarHidden: boolean;\n statusBarStyle: string;\n darkModeStatusBarStyle: string;\n statusBarTranslucent: boolean;\n statusBarBackgroundColor: string;\n darkModeStatusBarBackgroundColor: string;\n}>;\n\ninterface Configuration {\n platform: PlatformType;\n android: AndroidSplashScreenConfigJSON;\n ios: IosSplashScreenConfigJSON;\n}\n\nasync functio