decord/source/modules/soundpacks/SoundpackActions.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

21 lines
844 B
TypeScript

// Module ID: 17388
// Function ID: 17389
// Name: setSoundpack
// Dependencies: [9908, 1074, 1242, 573, 2]
// Exports: setSoundpack
// Module 17388 (setSoundpack)
import dispatcherDefault from "dispatcher" /* 573 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import closure_2 from "Soundpacks" /* 9908 */;
import { AnalyticEvents } from "ME" /* 1074 */;
const result = require("set").fileFinishedImporting("modules/soundpacks/SoundpackActions.tsx");
export const setSoundpack = function setSoundpack(CLASSIC, name) {
let obj = expandEventPropertiesDefault;
obj = { soundpack: CLASSIC, previous_soundpack: soundpack.getSoundpack() };
obj.track(AnalyticEvents.SOUNDPACK_UPDATED, obj);
obj = { type: "SET_SOUNDPACK", soundpack: CLASSIC, forExperimentId: name };
dispatcherDefault.dispatch(obj);
};