This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// Metro module 10273 (f10274).
const r8 = {
CLASSIC: "classic",
RETRO: "retro",
BUBBLE: "bop",
DUCKY: "ducky",
LOFI: "lofi",
ASMR: "asmr",
DISCODO: "discodo",
HALLOWEEN: "halloween",
WINTER_HOLIDAY: "winter_holiday"
};
export { r8 as Soundpacks };
export const CUSTOM_NOTIFICATION_SOUNDS_DISCODO_STORAGE_KEY = "custom_notification_sounds_discodo";
+16
View File
@@ -0,0 +1,16 @@
// Metro module 16212 (f16213).
import SoundpackStore from "./SoundpackStore";
import { AnalyticEvents } from "../../Constants";
import AnalyticsUtils from "../../utils/AnalyticsUtils";
import Dispatcher from "../../Dispatcher";
export function setSoundpack(a0, a1) {
AnalyticsUtils.track(AnalyticEvents.SOUNDPACK_UPDATED, {
soundpack: a0,
previous_soundpack: SoundpackStore.getSoundpack()
});
Dispatcher.dispatch({
type: "SET_SOUNDPACK",
soundpack: a0,
forExperimentId: a1
});
}
+38
View File
@@ -0,0 +1,38 @@
// Metro module 10272 (f10273).
import { Soundpacks } from "./Constants";
import Module589 from "../../_bundle/Module589";
import Dispatcher from "../../Dispatcher";
let c6857_1 = {
soundpack: Soundpacks.CLASSIC,
lastSoundpackExperimentId: null
};
class SoundpackStore extends Module589.PersistedStore {
static displayName = "SoundpackStore";
static persistKey = "SoundpackStore";
initialize(a0) {
if (a0 != null) {
c6857_1 = a0;
if (!Object.values(Soundpacks).includes(c6857_1.soundpack)) {
c6857_1.soundpack = Soundpacks.CLASSIC;
}
}
}
getState() {
return c6857_1;
}
getSoundpack() {
return c6857_1.soundpack;
}
getLastSoundpackExperimentId() {
return c6857_1.lastSoundpackExperimentId;
}
}
const soundpackStore = new SoundpackStore(Dispatcher, {
SET_SOUNDPACK: function handleSetSoundpack({ soundpack, forExperimentId = c6857_1.lastSoundpackExperimentId }) {
c6857_1 = {
soundpack,
lastSoundpackExperimentId: forExperimentId
};
}
});
export default soundpackStore;
+74
View File
@@ -0,0 +1,74 @@
// Metro module 10274 (f10275).
import { Soundpacks } from "./Constants";
const r14 = {};
r14[Soundpacks.CLASSIC] = {
discodo: "discodo",
message1: "message1",
deafen: "deafen",
undeafen: "undeafen",
mute: "mute",
unmute: "unmute",
disconnect: "disconnect",
ptt_start: "ptt_start",
ptt_stop: "ptt_stop",
user_join: "user_join",
user_leave: "user_leave",
user_moved: "user_moved",
call_calling: "call_calling",
call_ringing: "call_ringing",
stream_started: "stream_started",
stream_ended: "stream_ended",
stream_user_joined: "stream_user_joined",
stream_user_left: "stream_user_left",
poggermode_enabled: "poggermode_enabled",
poggermode_applause: "poggermode_applause",
poggermode_achievement_unlock: "poggermode_achievement_unlock",
stage_waiting: "stage_waiting",
camera_off: "camera_off",
camera_on: "camera_on"
};
r14[Soundpacks.RETRO] = {
message1: "bit_message1"
};
r14[Soundpacks.BUBBLE] = {
message1: "bop_message1"
};
r14[Soundpacks.DUCKY] = {
message1: "ducky_message1"
};
r14[Soundpacks.LOFI] = {
message1: "lofi_message1"
};
r14[Soundpacks.ASMR] = {
message1: "asmr_message1"
};
r14[Soundpacks.DISCODO] = {
message1: "discodo"
};
r14[Soundpacks.HALLOWEEN] = {
call_calling: "halloween_call_calling",
call_ringing: "halloween_call_ringing",
message1: "halloween_message1",
deafen: "halloween_deafen",
undeafen: "halloween_undeafen",
mute: "halloween_mute",
unmute: "halloween_unmute",
disconnect: "halloween_disconnect",
user_join: "halloween_user_join",
user_leave: "halloween_user_leave"
};
r14[Soundpacks.WINTER_HOLIDAY] = {
call_calling: "winter_call_calling",
call_ringing: "winter_call_ringing",
deafen: "winter_deafen",
undeafen: "winter_undeafen",
mute: "winter_mute",
unmute: "winter_unmute",
disconnect: "winter_disconnect",
user_join: "winter_user_join",
user_leave: "winter_user_leave"
};
let c6858_0 = r14;
export default function getSoundPack(a0) {
return c6858_0[a0];
};