2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 14640
|
|
|
|
|
// Function ID: 14641
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: GatewayAltEndpointExperiment
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [1433, 2, 14641]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useShouldUseAltGateway
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 14640 (GatewayAltEndpointExperiment)
|
|
|
|
|
import GatewayAltEndpointCache from "GatewayAltEndpointCache" /* 14641 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1433 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: null };
|
|
|
|
|
const obj2 = { 1: null, 2: { enableAltGateway: false } };
|
|
|
|
|
obj2[2] = { enableAltGateway: true };
|
|
|
|
|
obj.variations = obj2;
|
|
|
|
|
let closure_0 = ApexExperiment.createApexExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const USE_ALT_GATEWAY_KEY = GatewayAltEndpointCache.USE_ALT_GATEWAY_KEY;
|
2026-07-20 16:05:17 +00:00
|
|
|
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
|
|
|
|
|
return closure_0.useConfig({ location: App }).enableAltGateway;
|
|
|
|
|
};
|