decord/source/modules/custom_status/utils/getRandomCustomStatusPrompt.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

36 lines
1 KiB
TypeScript

// Module ID: 11251
// Function ID: 11252
// Name: getRandomCustomStatusPrompt
// Dependencies: [11250, 1114, 2]
// Exports: default
// Module 11251 (getRandomCustomStatusPrompt)
import Constants from "Constants" /* 11250 */;
import size from "module_2" /* 2 */;
({ CustomStatusPrompts: c2, CustomStatusPromptValues: c3 } = Constants);
const result = size.fileFinishedImporting("modules/custom_status/utils/getRandomCustomStatusPrompt.tsx");
export default function getRandomCustomStatusPrompt(size) {
if (null != size) {
if (size.size > 0) {
let found = closure_2.filter((value) => !size.has(value.value));
}
if (0 === found.length) {
const obj = {
value: constants.ADD_STATUS,
label() {
const intl = size(1114).intl;
return intl.string(size(1114).t.Vq4UmS);
}
};
let tmp3 = obj;
} else {
const _Math = Math;
const _Math2 = Math;
tmp3 = found[Math.floor(Math, Math.random(Math) * found.length)];
}
return tmp3;
}
found = closure_2;
};