Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
36 lines
1 KiB
TypeScript
36 lines
1 KiB
TypeScript
// Module ID: 11255
|
|
// Function ID: 11256
|
|
// Name: getRandomCustomStatusPrompt
|
|
// Dependencies: [11254, 1115, 2]
|
|
// Exports: default
|
|
|
|
// Module 11255 (getRandomCustomStatusPrompt)
|
|
import Constants from "Constants" /* 11254 */;
|
|
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(1115).intl;
|
|
return intl.string(size(1115).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;
|
|
};
|