2026-09-24 16:03:38 +00:00
|
|
|
// Module ID: 15809
|
|
|
|
|
// Function ID: 15810
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: LabFeatureActions
|
2026-09-24 16:03:38 +00:00
|
|
|
// Dependencies: [8661, 577, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: toggleLabFeature
|
|
|
|
|
|
2026-09-24 16:03:38 +00:00
|
|
|
// Module 15809 (LabFeatureActions)
|
2026-09-21 19:31:18 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 577 */;
|
2026-09-24 16:03:38 +00:00
|
|
|
import LabFeatureStore from "LabFeatureStore" /* 8661 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
let closure_3 = {};
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/labs/LabFeatureActions.tsx");
|
|
|
|
|
|
|
|
|
|
export const toggleLabFeature = function toggleLabFeature(ICYMI_LAB_FEATURE, arg1) {
|
|
|
|
|
let tmp = arg1;
|
|
|
|
|
if (arg1 === undefined) {
|
|
|
|
|
tmp = closure_3;
|
|
|
|
|
}
|
|
|
|
|
let enabled = tmp.enabled;
|
|
|
|
|
if (enabled === undefined) {
|
|
|
|
|
enabled = !LabFeatureStore.get(ICYMI_LAB_FEATURE);
|
|
|
|
|
}
|
|
|
|
|
DispatcherDefault.dispatch({ type: "LAB_FEATURE_TOGGLE", labFeature: ICYMI_LAB_FEATURE, enabled });
|
|
|
|
|
};
|