decord/source/modules/spoiler_channels/native/VoicePanelSpoilerAlert.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

54 lines
1.8 KiB
TypeScript

// Module ID: 12937
// Function ID: 12938
// Name: VoicePanelSpoilerAlert
// Dependencies: [19, 21, 4910, 4910, 1114, 5520, 5411, 2]
// Exports: default
// Module 12937 (VoicePanelSpoilerAlert)
import noopAll from "noop" /* 19 */;
import jsxProd from "jsxProd" /* 21 */;
const require = arg1;
noopAll;
({ jsx: c3, jsxs: c4 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/spoiler_channels/native/VoicePanelSpoilerAlert.tsx");
export default function VoicePanelSpoilerAlert(channelId) {
channelId = channelId.channelId;
closure_1 = undefined;
let obj = channelId(4910);
closure_1 = obj.useDismissModalCallback();
obj = { title: null, content: null, actions: null };
const intl = channelId(1114).intl;
obj[0] = intl.string(channelId(1114).t["q38/ae"]);
const intl2 = channelId(1114).intl;
obj[1] = intl2.string(channelId(1114).t["2fDWXK"]);
obj = { children: null };
obj1 = {
variant: "primary",
onPress() {
callback(closure_1_2[5]).spoilerAgree(channelId);
const obj = callback(closure_1_2[5]);
const voiceChannel = callback(closure_1_2[6]).selectVoiceChannel(channelId);
callback();
},
text: null
};
const intl3 = channelId(1114).intl;
obj1[2] = intl3.string(channelId(1114).t.p89ACt);
const items = [callback(channelId(4910).AlertActionButton, obj1, "confirm"), ];
const obj2 = {
variant: "secondary",
onPress() {
callback();
},
text: null
};
const intl4 = channelId(1114).intl;
obj2[2] = intl4.string(channelId(1114).t["/g10LC"]);
items[1] = callback(channelId(4910).AlertActionButton, obj2, "cancel");
obj[0] = items;
obj[2] = callback2(channelId(4910).AlertActions, obj);
return callback(channelId(4910).AlertModal, obj);
};
export const VOICE_PANEL_SPOILER_KEY = "voice-panel-spoiler";