This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,171 +1,176 @@
/* Metro module 6527; source: modules/autocompleter/record/InAppNavigationRecord.tsx; dependencies: [6, 7, 15, 17, 18, 1886, 661, 6528, 670, 6537, 2] */
import ClassCallCheck from '../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from '../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from '../../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from '../../../by-id/module-00017.js'; /* Metro dependency 17 */
import Inherits from '../../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
import Record from '../../../lib/Record.tsx'; /* Metro dependency 1886 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as UserSettingsConstantsModule from '../../user_settings/UserSettingsConstants.tsx'; /* Metro dependency 670 */
import * as QuestConstantsModule from '../../quests/QuestConstants.tsx'; /* Metro dependency 6528 */
function _fun51392(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51392, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:6, offset: 0x01233a67, size: 366 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
let value = importDefault(1886) /* metro dependency 1886: Record */;
const env0_7 = (require(661) /* metro dependency 661: Constants */).Routes;
const env0_8 = (require(6528) /* metro dependency 6528: QuestConstants */).RewardFilterTypes;
const env0_9 = (require(670) /* metro dependency 670: UserSettingsConstants */).UserSettingsPath;
let value = Record;
value = _fun51396(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/record/InAppNavigationRecord.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/autocompleter/record/InAppNavigationRecord.tsx');
exports.default = value;
exports.InAppNavigationRecord = value;
exports.InAppNavigationType = {SHOP: 'SHOP', SHOP_ORBS_TAB: 'SHOP_ORBS_TAB', NITRO_HOME: 'NITRO_HOME',
QUEST_HOME: 'QUEST_HOME', QUEST_ORBS: 'QUEST_ORBS', APPS_HOME: 'APPS_HOME', SETTINGS: 'SETTINGS',
PLAYGROUND: 'PLAYGROUND'};
}
function _isNativeReflectConstruct_51393() { // fn#51393, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:230, offset: 0x01233bd5, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_51393_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun51396(a0) { // fn#51396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:656, offset: 0x01233c33, size: 73 bytes, params: 2, frame: 16
const closure = InAppNavigationRecord;
env0_6(closure, a0);
return env0_3(closure, null, [{key: 'fromType', value: value_51398}]);
}
function InAppNavigationRecord(a0) { // fn#51397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:668, offset: 0x01233c7c, size: 232 bytes, params: 2, frame: 20
let value = environment.__proto__;
env1_2(this, InAppNavigationRecord);
const value3 = env1_5(InAppNavigationRecord);
value = env1_4(this, _isNativeReflectConstruct_51393() ? global.Reflect.construct(value3, [],
env1_5(this).constructor) : value3.apply(this, undefined));
value.id = a0.collectionId != null ? '' + a0.type + '_' + a0.collectionId : a0.type;
value.path = a0.path;
value.type = a0.type;
value.label = a0.label;
value.collectionId = a0.collectionId;
const IconComponent = a0.IconComponent;
value.IconComponent = IconComponent;
return value;
}
function value_51398(a0, a1, a2, a3, a4) { // fn#51398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:1164, offset: 0x01233d64, size: 796 bytes, params: 6, frame: 20
var r4;
var object2;
var inAppNavigationRecord;
let value = a1;
const SHOP = env1_10.SHOP;
if (SHOP === a0) {
object2 = {};
object2.path = Routes.COLLECTIBLES_SHOP;
object2.type = env1_10.SHOP;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
let NITRO_HOME = env1_10.NITRO_HOME;
if (NITRO_HOME === a0) {
object2 = {};
NITRO_HOME = Routes.NITRO_HOME;
object2.path = NITRO_HOME;
NITRO_HOME = env1_10.NITRO_HOME;
object2.type = NITRO_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
let QUEST_HOME = env1_10.QUEST_HOME;
if (QUEST_HOME === a0) {
object2 = {};
QUEST_HOME = Routes.QUEST_HOME;
object2.path = QUEST_HOME;
QUEST_HOME = env1_10.QUEST_HOME;
object2.type = QUEST_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const APPS_HOME = env1_10.APPS_HOME;
if (APPS_HOME === a0) {
object2 = {};
object2.path = Routes.GLOBAL_DISCOVERY_APPS;
object2.type = env1_10.APPS_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const SETTINGS = env1_10.SETTINGS;
if (SETTINGS === a0) {
object2 = {};
if (value != null) {
r4 = value;
} else {
value = require(6537) /* metro dependency 6537: UserSettingsURLUtils */;
value = value.settingsPathToRoute(UserSettingsPath.ACCOUNT);
r4 = value;
function _isNativeReflectConstruct_51393() { // fn#51393, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:230, offset: 0x01233bd5, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
object2.path = r4;
object2.label = a2;
object2.type = env1_10.SETTINGS;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
return (_isNativeReflectConstruct_51393_isNativeReflectConstruct = function() {
return !!result;
})();
}
const PLAYGROUND = env1_10.PLAYGROUND;
if (PLAYGROUND === a0) {
object2 = {};
object2.path = value ?? Routes.APP;
object2.type = env1_10.PLAYGROUND;
object2.label = a2;
object2.collectionId = a3;
object2.IconComponent = a4;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
function _fun51396(a0) { // fn#51396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:656, offset: 0x01233c33, size: 73 bytes, params: 2, frame: 16
const InAppNavigationRecord2 = InAppNavigationRecord;
Inherits(InAppNavigationRecord2, a0);
return CreateClass(InAppNavigationRecord2, null, [{key: 'fromType', value: value_51398}]);
function InAppNavigationRecord(a0) { // fn#51397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:668, offset: 0x01233c7c, size: 232 bytes, params: 2, frame: 20
let value = environment.__proto__;
env1_2(this, InAppNavigationRecord);
const value3 = env1_5(InAppNavigationRecord);
value = env1_4(this, _isNativeReflectConstruct_51393() ? global.Reflect.construct(value3, [],
env1_5(this).constructor) : value3.apply(this, undefined));
value.id = a0.collectionId != null ? '' + a0.type + '_' + a0.collectionId : a0.type;
value.path = a0.path;
value.type = a0.type;
value.label = a0.label;
value.collectionId = a0.collectionId;
const IconComponent = a0.IconComponent;
value.IconComponent = IconComponent;
return value;
}
function value_51398(a0, a1, a2, a3, a4) { // fn#51398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6705:1164, offset: 0x01233d64, size: 796 bytes, params: 6, frame: 20
var r4;
var object;
var inAppNavigationRecord;
let value = a1;
const SHOP = env1_10.SHOP;
if (SHOP === a0) {
object = {};
object.path = Routes.COLLECTIBLES_SHOP;
object.type = env1_10.SHOP;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
let NITRO_HOME = env1_10.NITRO_HOME;
if (NITRO_HOME === a0) {
object = {};
NITRO_HOME = Routes.NITRO_HOME;
object.path = NITRO_HOME;
NITRO_HOME = env1_10.NITRO_HOME;
object.type = NITRO_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
let QUEST_HOME = env1_10.QUEST_HOME;
if (QUEST_HOME === a0) {
object = {};
QUEST_HOME = Routes.QUEST_HOME;
object.path = QUEST_HOME;
QUEST_HOME = env1_10.QUEST_HOME;
object.type = QUEST_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const APPS_HOME = env1_10.APPS_HOME;
if (APPS_HOME === a0) {
object = {};
object.path = Routes.GLOBAL_DISCOVERY_APPS;
object.type = env1_10.APPS_HOME;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const SETTINGS = env1_10.SETTINGS;
if (SETTINGS === a0) {
object = {};
if (value != null) {
r4 = value;
} else {
value = require(6537) /* metro dependency 6537: UserSettingsURLUtils */;
value = value.settingsPathToRoute(UserSettingsPath.ACCOUNT);
r4 = value;
}
object.path = r4;
object.label = a2;
object.type = env1_10.SETTINGS;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const PLAYGROUND = env1_10.PLAYGROUND;
if (PLAYGROUND === a0) {
object = {};
object.path = value ?? Routes.APP;
object.type = env1_10.PLAYGROUND;
object.label = a2;
object.collectionId = a3;
object.IconComponent = a4;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const SHOP_ORBS_TAB = env1_10.SHOP_ORBS_TAB;
if (SHOP_ORBS_TAB === a0) {
object = {};
object.path = Routes.COLLECTIBLES_SHOP;
object.type = env1_10.SHOP_ORBS_TAB;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const QUEST_ORBS = env1_10.QUEST_ORBS;
if (QUEST_ORBS === a0) {
object = {};
object.path = '' + Routes.QUEST_HOME + '?filter=' + RewardFilterTypes.VIRTUAL_CURRENCY;
object.type = env1_10.QUEST_ORBS;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const Error = global.Error;
throw new Error('Unhandled InAppNavigationType');
}
}
const SHOP_ORBS_TAB = env1_10.SHOP_ORBS_TAB;
if (SHOP_ORBS_TAB === a0) {
object2 = {};
object2.path = Routes.COLLECTIBLES_SHOP;
object2.type = env1_10.SHOP_ORBS_TAB;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const QUEST_ORBS = env1_10.QUEST_ORBS;
if (QUEST_ORBS === a0) {
object2 = {};
object2.path = '' + Routes.QUEST_HOME + '?filter=' + RewardFilterTypes.VIRTUAL_CURRENCY;
object2.type = env1_10.QUEST_ORBS;
value = Object.create(InAppNavigationRecord.prototype, {constructor: {value: InAppNavigationRecord}});
inAppNavigationRecord = new InAppNavigationRecord();
return inAppNavigationRecord instanceof Object ? inAppNavigationRecord : value;
}
const Error = global.Error;
throw new Error('Unhandled InAppNavigationType');
}
global.__d(_fun51392, 6527, [6, 7, 15, 17, 18, 1886, 661, 6528, 670, 6537,
2]) /* metro module 6527, dependencies: [6, 7, 15, 17, 18, 1886, 661, 6528, 670, 6537, 2] */;