Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
31 lines
959 B
TypeScript
31 lines
959 B
TypeScript
// Module ID: 5364
|
|
// Function ID: 5365
|
|
// Name: ReleaseChannelUtils
|
|
// Dependencies: [1363, 1364, 2]
|
|
|
|
// Module 5364 (ReleaseChannelUtils)
|
|
import ClientInfoUtils from "ClientInfoUtils" /* 1363 */;
|
|
|
|
const ReleaseChannel = ClientInfoUtils.getConstants().ReleaseChannel;
|
|
let PlatformUtils = fn(1364);
|
|
PlatformUtils = PlatformUtils.isAndroid();
|
|
if (PlatformUtils) {
|
|
PlatformUtils = -1 === ReleaseChannel.indexOf("canary");
|
|
}
|
|
if (PlatformUtils) {
|
|
PlatformUtils = -1 === ReleaseChannel.indexOf("beta");
|
|
}
|
|
let tmp3 = -1 !== ReleaseChannel.indexOf("debug");
|
|
if (!tmp3) {
|
|
tmp3 = -1 !== ReleaseChannel.indexOf("developer");
|
|
}
|
|
let tmp4 = !tmp3;
|
|
if (!tmp3) {
|
|
tmp4 = "stable" === ReleaseChannel || PlatformUtils;
|
|
const tmp5 = "stable" === ReleaseChannel || PlatformUtils;
|
|
}
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("utils/ReleaseChannelUtils.native.tsx");
|
|
|
|
export const isStable = tmp4;
|
|
export const CurrentReleaseChannel = ReleaseChannel;
|