decord/stable/source/modules/design/RiveAppStatePlaybackExperiment.tsx
2026-10-06 22:12:49 +00:00

37 lines
1.2 KiB
TypeScript

// Module ID: 15565
// Function ID: 15566
// Name: RiveAppStatePlaybackExperiment
// Dependencies: [1441, 558, 576, 2]
// Module 15565 (RiveAppStatePlaybackExperiment)
import react from "react" /* 576 */;
import ApexExperiment from "ApexExperiment" /* 1441 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let obj2;
let obj = { name: "2026-06-rive-app-state-playback", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
let tmp2;
const obj = react;
const cResult = obj.c(2);
if (cResult[0] !== location) {
const obj2 = { location };
cResult[0] = location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return apexExperiment.useConfig(tmp2).enabled;
}) : ((location) => {
const obj = { location };
return apexExperiment.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/design/RiveAppStatePlaybackExperiment.tsx");
export default apexExperiment;
export const useRiveAppStatePlaybackExperiment = tmp3;