decord/source/5432_StateMachineEvent.js
2026-08-05 07:35:12 +00:00

41 lines
1.3 KiB
JavaScript

// Module ID: 5432
// Function ID: 5433
// Name: StateMachineEvent
// Dependencies: [17]
// Exports: getStatesConfig
// Module 5432 (StateMachineEvent)
import { Platform } from "get ActivityIndicator";
let obj = { NATIVE_BEGIN: "nativeBegin", NATIVE_START: "nativeStart", FINALIZE: "finalize", LONG_PRESS_TOUCHES_DOWN: "longPressTouchesDown", CANCEL: "cancel" };
export const StateMachineEvent = obj;
export const getStatesConfig = function getStatesConfig(closure_28, closure_29, isScreenReaderEnabled) {
if (isScreenReaderEnabled) {
let obj = { eventName: null, callback: null };
obj[0] = obj.LONG_PRESS_TOUCHES_DOWN;
obj[1] = closure_28;
const items = [obj, , ];
obj = { eventName: null };
obj[0] = obj.NATIVE_BEGIN;
items[1] = obj;
const obj1 = { eventName: null, callback: null };
obj1[0] = obj.FINALIZE;
obj1[1] = closure_29;
items[2] = obj1;
let items1 = items;
} else {
obj = { eventName: null };
obj[0] = obj.NATIVE_BEGIN;
items1 = [obj, , ];
const obj2 = { eventName: null, callback: null };
obj2[0] = obj.LONG_PRESS_TOUCHES_DOWN;
obj2[1] = closure_28;
items1[1] = obj2;
const obj3 = { eventName: null, callback: null };
obj3[0] = obj.FINALIZE;
obj3[1] = closure_29;
items1[2] = obj3;
}
return items1;
};