decord/source/modules/messages/WebViewWebmSupportTest.native.tsx

44 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4319
2026-07-27 11:26:19 +00:00
// Function ID: 37852
2026-07-20 16:05:17 +00:00
// Name: isIOSWithWebM
2026-07-25 08:10:48 +00:00
// Dependencies: [477, 4111, 2]
2026-07-20 16:05:17 +00:00
// Exports: isIOSWithWebM
2026-07-25 08:10:48 +00:00
// Module 4319 (isIOSWithWebM)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/messages/WebViewWebmSupportTest.native.tsx");
2026-07-20 16:05:17 +00:00
export const isIOSWithWebM = function isIOSWithWebM() {
if (obj.isIOS()) {
2026-07-25 08:10:48 +00:00
const str = require(4111) /* getSystemVersion */.getSocName();
2026-07-20 16:05:17 +00:00
let tmp4 = null == str;
if (!tmp4) {
tmp4 = !str.startsWith("ARM64_");
}
if (!tmp4) {
const str3 = str.substring(6);
let tmp5 = "T" !== str3[0];
if (tmp5) {
tmp5 = "S" !== str3[0];
}
if (!tmp5) {
const substr = str3.substring(1);
let tmp7 = "7" !== substr[0];
if (tmp7) {
let tmp8 = "8" !== substr[0];
if (!tmp8) {
const _parseInt = parseInt;
tmp8 = parseInt(substr, 10) >= 8101;
}
tmp7 = tmp8;
}
tmp5 = tmp7;
}
tmp4 = tmp5;
}
return tmp4;
} else {
return false;
}
2026-07-23 10:11:24 +00:00
obj = require(477) /* set */;
2026-07-20 16:05:17 +00:00
};