decord/alpha/source/modules/rtc/SecureFramesDeeplinkExperiment.tsx

50 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 8819
// Function ID: 8820
// Name: SecureFramesDeeplinkExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [4976, 558, 576, 2]
2026-10-03 08:58:59 +00:00
// Exports: getSecureFramesDeeplinkExperiment
2026-07-20 16:05:17 +00:00
2026-10-09 10:00:15 +00:00
// Module 8819 (SecureFramesDeeplinkExperiment)
2026-10-03 08:58:59 +00:00
import react from "react" /* 576 */;
2026-10-09 10:00:15 +00:00
import createExperimentDefault from "createExperiment" /* 4976 */;
2026-10-03 08:58:59 +00:00
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-10-03 08:58:59 +00:00
let items;
let obj = { kind: "user", id: "2024-09_secure_frames_deeplink", label: "Secure Frames Deeplinks", defaultConfig: { enabled: false }, treatments: items };
items = [{ id: 1, label: "Enabled.", config: { enabled: true } }];
let closure_2 = createExperimentDefault(obj);
2026-10-08 09:57:35 +00:00
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function useSecureFramesDeeplinkExperiment(location) {
2026-10-03 08:58:59 +00:00
let tmp2;
let tmp3;
const obj = react;
const cResult = obj.c(3);
const _location = location.location;
if (cResult[0] !== _location) {
const obj2 = { location: _location };
cResult[0] = _location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
if (cResult[2] === Symbol.for("react.memo_cache_sentinel")) {
const obj3 = { autoTrackExposure: true };
cResult[2] = obj3;
tmp3 = obj3;
} else {
tmp3 = cResult[2];
}
return closure_2.useExperiment(tmp2, tmp3);
2026-10-08 09:57:35 +00:00
}) : (function useSecureFramesDeeplinkExperiment(location) {
2026-10-03 08:58:59 +00:00
const obj = { location: location.location };
return closure_2.useExperiment(obj, { autoTrackExposure: true });
});
const result = size.fileFinishedImporting("modules/rtc/SecureFramesDeeplinkExperiment.tsx");
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
export const useSecureFramesDeeplinkExperiment = tmp2;
2026-07-20 16:05:17 +00:00
export const getSecureFramesDeeplinkExperiment = function getSecureFramesDeeplinkExperiment(location) {
2026-10-03 08:58:59 +00:00
const obj = { location: location.location };
return closure_2.getCurrentConfig(obj, { autoTrackExposure: true });
2026-07-20 16:05:17 +00:00
};