decord/alpha/source/modules/checkpoint/CheckpointStore.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

47 lines
1.3 KiB
TypeScript

// Module ID: 16046
// Function ID: 16047
// Name: CheckpointStore
// Dependencies: [504, 573, 2]
// Module 16046 (CheckpointStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
let obj = { isMuted: false };
let merged = Object.assign(obj);
obj = {};
const PersistedStore = initializeDefault.PersistedStore;
class CheckpointStore extends PersistedStore {
}
const prototype = CheckpointStore.prototype;
prototype["getState"] = function getState() {
return obj;
};
prototype["initialize"] = function initialize(arg0) {
if (null != arg0) {
obj = {};
const merged = Object.assign(obj);
const merged1 = Object.assign(arg0);
}
};
Object.defineProperty(prototype, "isMuted", {
get: function isMuted() {
return obj.isMuted;
},
set: undefined
});
CheckpointStore.displayName = "Checkpoint2026Store";
CheckpointStore.persistKey = "Checkpoint2026Store";
const checkpointStore = new CheckpointStore(DispatcherDefault, {
CHECKPOINT_TOGGLE_MUTE: function handleToggleMute() {
obj.isMuted = !obj.isMuted;
},
LOGOUT: function handleLogout() {
obj = {};
const merged = Object.assign(obj);
}
});
const size = fn(2);
const result = size.fileFinishedImporting("modules/checkpoint/CheckpointStore.tsx");
export default checkpointStore;