2026-10-13 12:43:34 +00:00
|
|
|
// Module ID: 11776
|
|
|
|
|
// Function ID: 11777
|
2026-10-09 10:00:15 +00:00
|
|
|
// Name: useConjureDebugAccess
|
2026-10-12 06:59:38 +00:00
|
|
|
// Dependencies: [558, 2041, 2]
|
|
|
|
|
// Exports: useConjureTraceTabEnabled
|
2026-10-09 10:00:15 +00:00
|
|
|
|
2026-10-13 12:43:34 +00:00
|
|
|
// Module 11776 (useConjureDebugAccess)
|
2026-10-09 10:00:15 +00:00
|
|
|
import UserSettings from "UserSettings" /* 2041 */;
|
|
|
|
|
import ReactCompilerGating_mod from "ReactCompilerGating" /* 558 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-10-12 06:59:38 +00:00
|
|
|
let c2 = false;
|
2026-10-09 10:00:15 +00:00
|
|
|
let ReactCompilerGating = ReactCompilerGating_mod;
|
|
|
|
|
ReactCompilerGating.isReactCompilerEnabled();
|
|
|
|
|
function useConjureDebugPaneEnabled() {
|
|
|
|
|
const DeveloperMode = UserSettings.DeveloperMode;
|
2026-10-12 06:59:38 +00:00
|
|
|
const tmp = DeveloperMode.useSetting() || c2;
|
2026-10-09 10:00:15 +00:00
|
|
|
return tmp;
|
|
|
|
|
}
|
2026-10-12 06:59:38 +00:00
|
|
|
ReactCompilerGating = ReactCompilerGating_mod;
|
|
|
|
|
ReactCompilerGating = ReactCompilerGating.isReactCompilerEnabled();
|
|
|
|
|
const result2 = size.fileFinishedImporting("modules/conjure/debug/useConjureDebugAccess.tsx");
|
2026-10-09 10:00:15 +00:00
|
|
|
|
|
|
|
|
export { useConjureDebugPaneEnabled };
|
2026-10-12 06:59:38 +00:00
|
|
|
export const useConjureTraceTabEnabled = function useConjureTraceTabEnabled() {
|
|
|
|
|
if (typeof useConjureDebugPaneEnabled === "function") {
|
|
|
|
|
const DeveloperMode = UserSettings.DeveloperMode;
|
|
|
|
|
const tmp3 = DeveloperMode.useSetting() || c2;
|
|
|
|
|
return tmp3;
|
|
|
|
|
} else {
|
|
|
|
|
throw new TypeError("Trying to call a non-function");
|
|
|
|
|
}
|
|
|
|
|
};
|