export const stageOptions = [ ["novice", "新手阶段"], ["normal", "正常阶段"], ["advanced", "高阶阶段"], ]; export const rewardSourceOptions = [ ["base_rtp", "基础 RTP"], ["activity_subsidy", "活动补贴"], ["presentation_only", "表现奖励"], ]; export const broadcastLevelOptions = [ ["none", "不广播"], ["room", "房间"], ["region", "区域"], ["global", "全站"], ]; export const drawStatusOptions = [ ["pending", "发放中"], ["granted", "已发放"], ["failed", "发放失败"], ]; export function optionLabel(options, value) { return options.find(([optionValue]) => optionValue === value)?.[1] || value || "-"; }