decord/alpha/source/modules/intl/overrides/getDeviceSpecificString.tsx
2026-10-09 10:00:15 +00:00

30 lines
767 B
TypeScript

// Module ID: 7947
// Function ID: 7948
// Name: getDeviceSpecificString
// Dependencies: [1126, 1628, 2]
// Exports: getDeviceSpecificString
// Module 7947 (getDeviceSpecificString)
import MetaQuestUtils from "MetaQuestUtils" /* 1628 */;
import size from "module_2" /* 2 */;
let tmp;
const intl2 = tmp(1126);
const result = size.fileFinishedImporting("modules/intl/overrides/getDeviceSpecificString.tsx");
export const getDeviceSpecificString = function getDeviceSpecificString(arg0, _2Yp7dF) {
let str = null;
const obj = MetaQuestUtils;
if (obj.isMetaQuest()) {
str = "quest";
}
let tmp3 = null;
if (null != str) {
tmp3 = arg0[str];
}
if (tmp3 == null) {
tmp3 = _2Yp7dF;
}
const intl = intl2.intl;
return intl.string(tmp3);
};