Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,186 @@
|
||||
/* Metro module 1152; source: unknown; dependencies: [77, 1032, 826] */
|
||||
function _fun12760(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12760, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:6, offset: 0x00dd4a46, size: 102 bytes, params: 8, frame: 18
|
||||
let env0_0 = require;
|
||||
const normalizeTransactionName = function(a0, a1, a2, a3) {
|
||||
var env0_0 = a3;
|
||||
var env0_1 = a1.pathname;
|
||||
a2({location: a1, routes: a0}, _fun12762);
|
||||
};
|
||||
const env0_2 = require(77) /* metro dependency 77 */;
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
exports.reactRouterV3BrowserTracingIntegration = reactRouterV3BrowserTracingIntegration;
|
||||
}
|
||||
|
||||
function normalizeTransactionName(a0, a1, a2, a3) { // fn#12761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:44, offset: 0x00dd4aac, size: 54 bytes, params: 5, frame: 13
|
||||
const env0_0 = a3;
|
||||
const env0_1 = a1.pathname;
|
||||
a2({location: a1, routes: a0}, _fun12762);
|
||||
}
|
||||
|
||||
function reactRouterV3BrowserTracingIntegration(a0) { // fn#12766, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:661, offset: 0x00dd4c5f, size: 181 bytes, params: 2, frame: 20
|
||||
var value;
|
||||
const browserTracingIntegration = (require(1032) /* metro dependency 1032 */).browserTracingIntegration;
|
||||
let Object = global.Object;
|
||||
value = Reflect.apply(browserTracingIntegration, value, [Object.assign({}, a0, {'instrumentPageLoad': false,
|
||||
'instrumentNavigation': false})]);
|
||||
const env0_1 = a0.history;
|
||||
const env0_2 = a0.routes;
|
||||
const env0_3 = a0.match;
|
||||
const instrumentPageLoad = a0.instrumentPageLoad;
|
||||
const env0_4 = instrumentPageLoad === undefined || instrumentPageLoad;
|
||||
const instrumentNavigation = a0.instrumentNavigation;
|
||||
const env0_5 = instrumentNavigation === undefined || instrumentNavigation;
|
||||
Object = global.Object;
|
||||
return Object.assign({}, value, {afterAllSetup: afterAllSetup});
|
||||
}
|
||||
|
||||
function _fun12762(a0, a1, a2) { // fn#12762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:129, offset: 0x00dd4ae2, size: 121 bytes, params: 4, frame: 13
|
||||
var r0;
|
||||
var value;
|
||||
if (!a0) {
|
||||
if (a2) {
|
||||
value = getRouteStringFromRoutes(a2.routes || []);
|
||||
if (value.length === 0) {
|
||||
r0 = importAll(pathname);
|
||||
} else if (value === '/*') {
|
||||
r0 = importAll(pathname);
|
||||
} else {
|
||||
value = importAll(value, 'route');
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
}
|
||||
return importAll(pathname);
|
||||
}
|
||||
|
||||
function reactRouterV3BrowserTracingIntegrationAfterAllSetup(a0) { // fn#12767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:975, owner: reactRouterV3BrowserTracingIntegration.afterAllSetup, offset: 0x00dd4d14, size: 179 bytes, params: 2, frame: 19
|
||||
var environment;
|
||||
const WINDOW = (require(1032) /* metro dependency 1032 */).WINDOW;
|
||||
var value3;
|
||||
a0.afterAllSetup(a0);
|
||||
if (env0_4 && WINDOW.location) {
|
||||
value3 = environment.__proto__;
|
||||
normalizeTransactionName(routes, WINDOW.location, match, _fun12768);
|
||||
}
|
||||
if (env0_5 && history.listen) {
|
||||
history.listen(_fun12769);
|
||||
}
|
||||
}
|
||||
|
||||
function getRouteStringFromRoutes(a0) { // fn#12763, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:172, offset: 0x00dd4b5b, size: 166 bytes, params: 2, frame: 19
|
||||
var r6;
|
||||
var r2;
|
||||
var length;
|
||||
var filter;
|
||||
var value;
|
||||
var value2;
|
||||
var value3;
|
||||
var path;
|
||||
var startsWith;
|
||||
var value4;
|
||||
var slice;
|
||||
var reduce;
|
||||
const Array = global.Array;
|
||||
if (Array.isArray(a0)) {
|
||||
length = a0.length;
|
||||
reducibleJoin7: while (true) {
|
||||
if (length !== 0) {
|
||||
filter = a0.filter;
|
||||
value = Reflect.apply(filter, a0, [function(a0) {
|
||||
return !!a0.path;
|
||||
}]);
|
||||
length = value.length;
|
||||
value2 = length - 1;
|
||||
value3 = -1;
|
||||
if (value2 >= 0) {
|
||||
r6 = value2;
|
||||
reducibleLoop3: while (true) {
|
||||
path = value[r6].path;
|
||||
if (path != null) {
|
||||
startsWith = path.startsWith;
|
||||
reducibleJoin5: while (true) {
|
||||
if (Reflect.apply(startsWith, path, ['/'])) {
|
||||
r2 = r6;
|
||||
break reducibleLoop3;
|
||||
}
|
||||
break reducibleJoin5;
|
||||
}
|
||||
}
|
||||
value4 = typeof r6 === 'bigint' ? r6 - 1n : +r6 - 1;
|
||||
if (value4 >= 0) {
|
||||
r6 = value4;
|
||||
continue reducibleLoop3;
|
||||
}
|
||||
r2 = value3;
|
||||
break reducibleLoop3;
|
||||
}
|
||||
} else {
|
||||
r2 = value3;
|
||||
}
|
||||
slice = value.slice;
|
||||
value = Reflect.apply(slice, value, [r2]);
|
||||
reduce = value.reduce;
|
||||
return Reflect.apply(reduce, value, [_fun12765, '']);
|
||||
}
|
||||
break reducibleJoin7;
|
||||
}
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
function _fun12768(a0) { // fn#12768, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:1102, offset: 0x00dd4dc7, size: 181 bytes, params: 2, frame: 23
|
||||
let value = 'url';
|
||||
const r8 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
||||
value = environment.__proto__.__proto__;
|
||||
const moduleValue = require(1032) /* metro dependency 1032 */;
|
||||
const startBrowserTracingPageLoadSpan = moduleValue.startBrowserTracingPageLoadSpan;
|
||||
const binding = env0_0;
|
||||
const object2 = {name: a0};
|
||||
const binding2 = env2_2;
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_OP = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_OP;
|
||||
value = binding2({}, SEMANTIC_ATTRIBUTE_SENTRY_OP, 'pageload');
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;
|
||||
value = binding2(value, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.pageload.react.reactrouter_v3');
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_SOURCE;
|
||||
object2.attributes = binding2(value, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, r8);
|
||||
Reflect.apply(startBrowserTracingPageLoadSpan, moduleValue, [binding, object2]);
|
||||
}
|
||||
|
||||
function _fun12769(a0) { // fn#12769, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:1451, offset: 0x00dd4e7c, size: 73 bytes, params: 2, frame: 17
|
||||
var environment;
|
||||
var normalizeTransactionNameBinding;
|
||||
let value = a0.action !== 'PUSH';
|
||||
if (!(value && a0.action !== 'POP')) {
|
||||
value = environment.__proto__.__proto__;
|
||||
normalizeTransactionNameBinding = normalizeTransactionName;
|
||||
value = environment.__proto__;
|
||||
normalizeTransactionNameBinding(routes, a0, match, _fun12770);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun12765(a0, {path}) { // fn#12765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:417, offset: 0x00dd4c12, size: 77 bytes, params: 3, frame: 14
|
||||
return '' + a0 + (a0 === '/' || a0 === '' ? path : '/' + path);
|
||||
}
|
||||
|
||||
function _fun12770(a0) { // fn#12770, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1279:1532, offset: 0x00dd4ec5, size: 179 bytes, params: 2, frame: 23
|
||||
let value = 'url';
|
||||
const r8 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
||||
value = environment.__proto__.__proto__.__proto__;
|
||||
const moduleValue = require(1032) /* metro dependency 1032 */;
|
||||
const startBrowserTracingNavigationSpan = moduleValue.startBrowserTracingNavigationSpan;
|
||||
const binding = env1_0;
|
||||
const object2 = {name: a0};
|
||||
const binding2 = env3_2;
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_OP = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_OP;
|
||||
value = binding2({}, SEMANTIC_ATTRIBUTE_SENTRY_OP, 'navigation');
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;
|
||||
value = binding2(value, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.navigation.react.reactrouter_v3');
|
||||
const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_SOURCE;
|
||||
object2.attributes = binding2(value, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, r8);
|
||||
Reflect.apply(startBrowserTracingNavigationSpan, moduleValue, [binding, object2]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user