2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 683
|
2026-07-24 07:16:23 +00:00
|
|
|
// Function ID: 8408
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: _isNativeReflectConstruct
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [6, 7, 15, 17, 18, 653, 561, 664, 507, 684, 685, 587, 1184, 566, 686, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 683 (_isNativeReflectConstruct)
|
2026-07-23 10:11:24 +00:00
|
|
|
import Backoff from "Backoff";
|
|
|
|
|
import set from "set";
|
|
|
|
|
import closure_6 from "set";
|
|
|
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
|
|
|
import _inherits from "_inherits";
|
|
|
|
|
import { UserFlags } from "ME";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
function _isNativeReflectConstruct() {
|
|
|
|
|
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
|
|
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
function _isNativeReflectConstruct() {
|
|
|
|
|
return closure_0;
|
|
|
|
|
}
|
|
|
|
|
const result = _isNativeReflectConstruct();
|
|
|
|
|
}
|
|
|
|
|
function setOptions(arg0) {
|
|
|
|
|
const obj = {};
|
|
|
|
|
const merged = Object.assign(obj);
|
|
|
|
|
const merged1 = Object.assign(obj);
|
|
|
|
|
const merged2 = Object.assign(arg0);
|
|
|
|
|
const result = store.set(obj.sourceMapsEnabled);
|
2026-07-23 10:11:24 +00:00
|
|
|
const Storage = require(587) /* Storage */.Storage;
|
|
|
|
|
const result1 = Storage.set(DeveloperOptionsStore, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
function setRoutingKeyTags(arg0) {
|
|
|
|
|
let closure_15 = arg0;
|
2026-07-23 10:11:24 +00:00
|
|
|
const Storage = require(587) /* Storage */.Storage;
|
|
|
|
|
const result = Storage.set(DeveloperOptionsRoutingKey, closure_15);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_10 = (() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
function refreshSourceMapCookie() {
|
|
|
|
|
const HTTP = callback(refreshSourceMapCookie[8]).HTTP;
|
|
|
|
|
let obj = { url: callback };
|
|
|
|
|
obj = { Authorization: tmp(refreshSourceMapCookie[9]).getToken() };
|
|
|
|
|
obj.headers = obj;
|
|
|
|
|
obj.oldFormErrors = true;
|
|
|
|
|
obj.rejectWithError = true;
|
|
|
|
|
const obj3 = tmp(refreshSourceMapCookie[9]);
|
|
|
|
|
HTTP.put(obj).then((status) => {
|
|
|
|
|
if (401 !== status.status) {
|
|
|
|
|
if (403 !== status.status) {
|
|
|
|
|
if (200 !== status.status) {
|
|
|
|
|
const _setTimeout2 = setTimeout;
|
2026-07-23 10:11:24 +00:00
|
|
|
let outer1_1 = setTimeout(outer1_3, outer1_2.fail());
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_2.succeed();
|
2026-07-20 16:05:17 +00:00
|
|
|
const _setTimeout = setTimeout;
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_1 = setTimeout(outer1_3, status.body.sourceMapCookieTTLSeconds * callback2(refreshSourceMapCookie[7]).Millis.SECOND * 0.75);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_1 = null;
|
|
|
|
|
const result = callback(refreshSourceMapCookie[10]).setDeveloperOptionSettings({ sourceMapsEnabled: false });
|
2026-07-20 16:05:17 +00:00
|
|
|
}, () => {
|
2026-07-23 10:11:24 +00:00
|
|
|
const outer1_1 = setTimeout(outer1_3, outer1_2.fail());
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
let closure_0 = "" + location.protocol + "//" + location.host + "/__development/source_maps";
|
|
|
|
|
const importDefault = null;
|
|
|
|
|
let tmp = importDefault(refreshSourceMapCookie[6]);
|
2026-07-23 10:11:24 +00:00
|
|
|
let result = 5 * importDefault(refreshSourceMapCookie[7]).Millis.SECOND;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp = new tmp(result, importDefault(refreshSourceMapCookie[7]).Millis.MINUTE, true);
|
|
|
|
|
const importAll = tmp;
|
|
|
|
|
return {
|
|
|
|
|
set(arg0) {
|
|
|
|
|
if (arg0 !== null != timeout) {
|
|
|
|
|
if (arg0) {
|
|
|
|
|
const _setTimeout = setTimeout;
|
2026-07-23 10:11:24 +00:00
|
|
|
timeout = setTimeout(refreshSourceMapCookie, 0);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
const _clearTimeout = clearTimeout;
|
|
|
|
|
clearTimeout(timeout);
|
|
|
|
|
timeout = null;
|
|
|
|
|
const HTTP = callback(refreshSourceMapCookie[8]).HTTP;
|
|
|
|
|
let obj = { url: callback };
|
|
|
|
|
obj = { Authorization: timeout(refreshSourceMapCookie[9]).getToken() };
|
|
|
|
|
obj.headers = obj;
|
|
|
|
|
obj.oldFormErrors = true;
|
|
|
|
|
obj.rejectWithError = true;
|
|
|
|
|
HTTP.del(obj);
|
|
|
|
|
const obj3 = timeout(refreshSourceMapCookie[9]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
})();
|
|
|
|
|
const DeveloperOptionsStore = "DeveloperOptionsStore";
|
|
|
|
|
let obj = { trace: false, canary: false, logGatewayEvents: false, logOverlayEvents: false, logAnalyticsEvents: false, sourceMapsEnabled: false, axeEnabled: false, cssDebuggingEnabled: false, layoutDebuggingEnabled: false, bugReporterEnabled: true, idleStatusIndicatorEnabled: false, onlyShowPreviewAppCollections: false, disableAppCollectionsCache: false, isStreamInfoOverlayEnabled: false, preventPopoutClose: false, logKeyboardMismatches: false, alertStartupMetrics: false, logQuestEvents: false };
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
let merged = Object.assign(obj);
|
|
|
|
|
const DeveloperOptionsRoutingKey = "DeveloperOptionsRoutingKey";
|
2026-07-20 16:05:17 +00:00
|
|
|
let closure_15 = [];
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp3 = ((Store) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
class DeveloperOptionsStore {
|
|
|
|
|
constructor() {
|
|
|
|
|
self = this;
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp = outer1_4(this, DeveloperOptionsStore);
|
|
|
|
|
obj = outer1_7(DeveloperOptionsStore);
|
|
|
|
|
tmp2 = outer1_6;
|
|
|
|
|
if (outer1_16()) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp6 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp7 = outer1_7;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp8 = arguments;
|
2026-07-23 10:11:24 +00:00
|
|
|
constructResult = Reflect.construct(obj, arguments, outer1_7(self).constructor);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
tmp3 = arguments;
|
|
|
|
|
tmp4 = arguments;
|
|
|
|
|
constructResult = obj(...arguments);
|
|
|
|
|
}
|
|
|
|
|
return tmp2(self, constructResult);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
callback2(DeveloperOptionsStore, Store);
|
|
|
|
|
let obj = {
|
|
|
|
|
key: "initialize",
|
|
|
|
|
value: function initialize() {
|
2026-07-23 10:11:24 +00:00
|
|
|
const Storage = DeveloperOptionsStore(outer1_3[11]).Storage;
|
|
|
|
|
let value = Storage.get(outer1_11);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null != value) {
|
|
|
|
|
const obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const merged = Object.assign(outer1_12);
|
2026-07-20 16:05:17 +00:00
|
|
|
const merged1 = Object.assign(value);
|
2026-07-23 10:11:24 +00:00
|
|
|
const outer1_13 = obj;
|
|
|
|
|
}
|
|
|
|
|
const Storage2 = DeveloperOptionsStore(outer1_3[11]).Storage;
|
|
|
|
|
value = Storage2.get(outer1_14);
|
|
|
|
|
if (null != value) {
|
|
|
|
|
const outer1_15 = value;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [obj, , , , , , , , , , , , , , , , , , , , , ];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "isTracingRequests",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.trace;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {
|
|
|
|
|
key: "isForcedCanary",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.canary;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[2] = obj;
|
|
|
|
|
items[3] = {
|
|
|
|
|
key: "isLoggingGatewayEvents",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.logGatewayEvents;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[4] = {
|
|
|
|
|
key: "isLoggingOverlayEvents",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.logOverlayEvents;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[5] = {
|
|
|
|
|
key: "isLoggingAnalyticsEvents",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.logAnalyticsEvents;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[6] = {
|
|
|
|
|
key: "isAxeEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.axeEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[7] = {
|
|
|
|
|
key: "cssDebuggingEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.cssDebuggingEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[8] = {
|
|
|
|
|
key: "layoutDebuggingEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.layoutDebuggingEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[9] = {
|
|
|
|
|
key: "sourceMapsEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.sourceMapsEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[10] = {
|
|
|
|
|
key: "isBugReporterEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.bugReporterEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[11] = {
|
|
|
|
|
key: "isIdleStatusIndicatorEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.idleStatusIndicatorEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[12] = {
|
|
|
|
|
key: "onlyShowPreviewAppCollections",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.onlyShowPreviewAppCollections;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[13] = {
|
|
|
|
|
key: "disableAppCollectionsCache",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.disableAppCollectionsCache;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[14] = {
|
|
|
|
|
key: "isStreamInfoOverlayEnabled",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.isStreamInfoOverlayEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[15] = {
|
|
|
|
|
key: "preventPopoutClose",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.preventPopoutClose;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[16] = {
|
|
|
|
|
key: "logKeyboardMismatches",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.logKeyboardMismatches;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[17] = {
|
|
|
|
|
key: "alertStartupMetrics",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.alertStartupMetrics;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[18] = {
|
|
|
|
|
key: "isLoggingQuestEvents",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_13.logQuestEvents;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[19] = {
|
|
|
|
|
key: "getDebugOptionsHeaderValue",
|
|
|
|
|
value: function getDebugOptionsHeaderValue() {
|
2026-07-23 10:11:24 +00:00
|
|
|
const keys = Object.keys(outer1_13);
|
|
|
|
|
const mapped = keys.map((arg0) => outer2_13[arg0]);
|
|
|
|
|
const keys1 = Object.keys(outer1_13);
|
|
|
|
|
const found = keys1.filter((arg0) => outer2_13[arg0]);
|
2026-07-20 16:05:17 +00:00
|
|
|
return found.join(",");
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[20] = {
|
|
|
|
|
key: "routingKeyTags",
|
|
|
|
|
get() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_15;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[21] = {
|
|
|
|
|
key: "getRoutingKeyHeaderValue",
|
|
|
|
|
value: function getRoutingKeyHeaderValue() {
|
|
|
|
|
let joined = null;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (0 !== outer1_15.length) {
|
|
|
|
|
joined = outer1_15.join(",");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return joined;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return callback(DeveloperOptionsStore, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
})(require("initialize").Store);
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp3.displayName = "DeveloperOptionsStore";
|
|
|
|
|
obj = {
|
|
|
|
|
LOGOUT: function handleLogout(arg0) {
|
|
|
|
|
setOptions(obj);
|
|
|
|
|
setRoutingKeyTags([]);
|
|
|
|
|
},
|
|
|
|
|
CONNECTION_OPEN: function handleConnectionOpen(user) {
|
|
|
|
|
const flags = user.user.flags;
|
|
|
|
|
let num = 0;
|
|
|
|
|
if (null != flags) {
|
|
|
|
|
num = flags;
|
|
|
|
|
}
|
|
|
|
|
let str = tmp;
|
|
|
|
|
if ((num & UserFlags.STAFF) !== UserFlags.STAFF) {
|
|
|
|
|
str = null != user.user.personal_connection_id;
|
|
|
|
|
}
|
|
|
|
|
if ((num & UserFlags.STAFF) === UserFlags.STAFF) {
|
|
|
|
|
const result = store.set(obj.sourceMapsEnabled);
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = importDefault(1184);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { isStaff: str.toString() };
|
|
|
|
|
obj.setTags(obj);
|
|
|
|
|
},
|
|
|
|
|
DEVELOPER_OPTIONS_UPDATE_SETTINGS: function handleUpdateSettings(settings) {
|
|
|
|
|
setOptions(settings.settings);
|
|
|
|
|
},
|
|
|
|
|
DEVELOPER_OPTIONS_SET_ROUTING_KEY: function handleSetRoutingKey(tags) {
|
|
|
|
|
setRoutingKeyTags(tags.tags);
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp3 = new tmp3(require("dispatcher"), obj);
|
|
|
|
|
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/DeveloperOptionsStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default tmp3;
|