Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/* Metro module 6826; source: modules/hotspot/Constants.tsx; dependencies: [2] */
|
||||
function _fun53660(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53660, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7004:6, offset: 0x013527f3, size: 546 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/hotspot/Constants.tsx');
|
||||
exports.HotspotLocations = {REPORT_PROBLEM_POST_STREAM: 'REPORT_PROBLEM_POST_STREAM',
|
||||
VIDEO_BACKGROUND_FEEDBACK: 'VIDEO_BACKGROUND_FEEDBACK', VOICE_CALL_FEEDBACK: 'VOICE_CALL_FEEDBACK',
|
||||
GUILD_ANALYTICS_GUILD_SETTINGS_MENU: 'GUILD_ANALYTICS_GUILD_SETTINGS_MENU',
|
||||
NOW_PLAYING_CONSENT_CARD: 'NOW_PLAYING_CONSENT_CARD', IOS_GUILD_NAV_EDUCATION: 'IOS_GUILD_NAV_EDUCATION',
|
||||
VOICE_PANEL_INTRODUCTION: 'VOICE_PANEL_INTRODUCTION',
|
||||
GUILD_SETTINGS_COMMUNITY_GUILD_UPSELL: 'GUILD_SETTINGS_COMMUNITY_GUILD_UPSELL',
|
||||
FAVORITE_EMOJI_TOOLTIP: 'FAVORITE_EMOJI_TOOLTIP', POST_ACTIVITY_FEEDBACK: 'POST_ACTIVITY_FEEDBACK',
|
||||
GUILD_DELETE_FEEDBACK: 'GUILD_DELETE_FEEDBACK', GUILD_LEAVE_FEEDBACK: 'GUILD_LEAVE_FEEDBACK',
|
||||
APPLICATION_COMMAND_TOOLTIP: 'APPLICATION_COMMAND_TOOLTIP', GUILD_CAP_INLINE_UPSELL: 'GUILD_CAP_INLINE_UPSELL',
|
||||
STAGE_CHANNEL_UPSELL: 'STAGE_CHANNEL_UPSELL', HUB_WAITLIST_UPSELL: 'HUB_WAITLIST_UPSELL', HUB_NEW: 'HUB_NEW',
|
||||
HUB_SECOND_EMAIL_CONNECTION_UPSELL: 'HUB_SECOND_EMAIL_CONNECTION_UPSELL',
|
||||
LIVE_STAGE_NOTIFICATION_BADGE: 'LIVE_STAGE_NOTIFICATION_BADGE', GUILD_EVENT_UPSELL: 'GUILD_EVENT_UPSELL',
|
||||
HUB_LINK_CHANNEL_NOTICE: 'HUB_LINK_CHANNEL_NOTICE',
|
||||
PREMIUM_PROGRESS_BAR_GUILD_HEADER_TOOLTIP: 'PREMIUM_PROGRESS_BAR_GUILD_HEADER_TOOLTIP',
|
||||
ANIMATED_GUILD_BANNER_GUILD_HEADER_TOOLTIP: 'ANIMATED_GUILD_BANNER_GUILD_HEADER_TOOLTIP',
|
||||
ANIMATED_GUILD_BANNER_SETTINGS_NEW_PILL: 'ANIMATED_GUILD_BANNER_SETTINGS_NEW_PILL',
|
||||
MULTI_ACCOUNT_TOOLTIP: 'MULTI_ACCOUNT_TOOLTIP', HUB_STUDY_ROOM_NOTICE: 'HUB_STUDY_ROOM_NOTICE',
|
||||
CHANNEL_BANNER_MEMBER_LIST_NOTICE: 'CHANNEL_BANNER_MEMBER_LIST_NOTICE',
|
||||
ACTIVITY_BEB_TUTORIAL: 'ACTIVITY_BEB_TUTORIAL',
|
||||
APP_DIRECTORY_SETTINGS_NEW_PILL: 'APP_DIRECTORY_SETTINGS_NEW_PILL',
|
||||
INVITE_SPLASH_GUILD_HEADER_TOOLTIP: 'INVITE_SPLASH_GUILD_HEADER_TOOLTIP',
|
||||
ANIMATED_VIDEO_BG_CAPERNITE_DAY_NEW: 'ANIMATED_VIDEO_BG_CAPERNITE_DAY_NEW',
|
||||
ANIMATED_VIDEO_BG_CAPERNITE_NIGHT_NEW: 'ANIMATED_VIDEO_BG_CAPERNITE_NIGHT_NEW',
|
||||
ANIMATED_VIDEO_BG_HACKER_DEN_NEW: 'ANIMATED_VIDEO_BG_HACKER_DEN_NEW',
|
||||
ANIMATED_VIDEO_BG_WUMPICE_NEW: 'ANIMATED_VIDEO_BG_WUMPICE_NEW',
|
||||
ANIMATED_VIDEO_BG_CUSTOM_TOOLTIP_NEW: 'ANIMATED_VIDEO_BG_CUSTOM_TOOLTIP_NEW',
|
||||
ANIMATED_VIDEO_BG_BIRTHDAY_1_NEW: 'ANIMATED_VIDEO_BG_BIRTHDAY_1_NEW',
|
||||
SOUNDBOARD_WHEEL_EDUCATION_MODAL: 'SOUNDBOARD_WHEEL_EDUCATION_MODAL',
|
||||
IN_APP_REPORTS_FEEDBACK: 'IN_APP_REPORTS_FEEDBACK', SEARCH_RESULTS_FEEDBACK: 'SEARCH_RESULTS_FEEDBACK'};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
/* Metro module 6827; source: modules/hotspot/HotspotActionCreators.tsx; dependencies: [661, 683, 694, 2] */
|
||||
function _fun53661(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:6, offset: 0x01352a15, size: 144 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/hotspot/HotspotActionCreators.tsx');
|
||||
exports.hideHotspot = hideHotspot;
|
||||
exports.setHotspotOverride = setHotspotOverride;
|
||||
exports.clearHotspotOverride = clearHotspotOverride;
|
||||
}
|
||||
|
||||
function hideHotspot(a0) { // fn#53662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:210, offset: 0x01352aa5, size: 94 bytes, params: 2, frame: 18
|
||||
const env0_0 = a0;
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const HOTSPOT_HIDDEN = AnalyticEvents.HOTSPOT_HIDDEN;
|
||||
Reflect.apply(track, defaultImport, [HOTSPOT_HIDDEN, {hotspot_location: a0}]);
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).wait(_fun53663);
|
||||
}
|
||||
|
||||
function setHotspotOverride(a0, a1) { // fn#53664, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:382, offset: 0x01352b3f, size: 63 bytes, params: 3, frame: 13
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'HOTSPOT_OVERRIDE_SET', location: a0,
|
||||
enabled: a1});
|
||||
}
|
||||
|
||||
function clearHotspotOverride(a0) { // fn#53665, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:508, offset: 0x01352b7e, size: 56 bytes, params: 2, frame: 13
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'HOTSPOT_OVERRIDE_CLEAR', location: a0});
|
||||
}
|
||||
|
||||
function _fun53663() { // fn#53663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:301, offset: 0x01352b03, size: 60 bytes, params: 1, frame: 13
|
||||
const value = environment.__proto__;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'HOTSPOT_HIDE', location: env0_0});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
/* Metro module 6825; source: modules/hotspot/HotspotStore.tsx; dependencies: [6, 7, 15, 17, 18, 668, 4664, 566, 694, 2] */
|
||||
function _fun53644(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53644, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:6, offset: 0x013523b6, size: 390 bytes, params: 8, frame: 20
|
||||
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 */;
|
||||
const env0_7 = (require(668) /* metro dependency 668: ConferenceModeConstants */).CONFERENCE_MODE_ENABLED;
|
||||
let Set = global.Set;
|
||||
let set = new Set();
|
||||
const env0_9 = {};
|
||||
const PersistedStore = (importDefault(566) /* metro dependency 566: flux */).PersistedStore;
|
||||
set = _fun53648(PersistedStore);
|
||||
set.displayName = 'HotspotStore';
|
||||
set.persistKey = 'hotspots';
|
||||
set.migrations = [function(a0) {
|
||||
return {hiddenHotspots: a0 ?? [], hotspotOverrides: {}};
|
||||
}];
|
||||
set = new set(importDefault(694) /* metro dependency 694: Dispatcher */,
|
||||
{OVERLAY_INITIALIZE: function({hiddenHotspots}) {
|
||||
var Set = global.Set;
|
||||
env0_8 = new Set(hiddenHotspots);
|
||||
}, HOTSPOT_HIDE: HOTSPOT_HIDE, HOTSPOT_OVERRIDE_SET: HOTSPOT_OVERRIDE_SET,
|
||||
HOTSPOT_OVERRIDE_CLEAR: HOTSPOT_OVERRIDE_CLEAR});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/hotspot/HotspotStore.tsx');
|
||||
exports.default = set;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_53645() { // fn#53645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:182, offset: 0x0135253c, 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_53645_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun53648(a0) { // fn#53648, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:400, offset: 0x0135259a, size: 162 bytes, params: 2, frame: 16
|
||||
const closure = HotspotStore;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'initialize', value: value_53650}, {key: 'hasHotspot', value: value_53651},
|
||||
{key: 'hasHiddenHotspot', value: value_53652}, {key: 'getHotspotOverride', value: value_53653},
|
||||
{key: 'getState', value: value_53654}]);
|
||||
}
|
||||
|
||||
function HOTSPOT_HIDE({location}) { // fn#53657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:1423, offset: 0x0135277c, size: 50 bytes, params: 2, frame: 12
|
||||
const binding = env0_8;
|
||||
if (binding.has(location)) {
|
||||
return false;
|
||||
}
|
||||
env0_8.add(location);
|
||||
}
|
||||
|
||||
function HOTSPOT_OVERRIDE_SET({location, enabled}) { // fn#53658, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:1516, offset: 0x013527ae, size: 28 bytes, params: 2, frame: 3
|
||||
env0_9[location] = enabled;
|
||||
}
|
||||
|
||||
function HOTSPOT_OVERRIDE_CLEAR({location}) { // fn#53659, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:1605, offset: 0x013527ca, size: 41 bytes, params: 2, frame: 4
|
||||
if (env0_9[location] == null) {
|
||||
return false;
|
||||
}
|
||||
delete env0_9[location];
|
||||
}
|
||||
|
||||
function value_53650(a0) { // fn#53650, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:690, offset: 0x0135263c, size: 102 bytes, params: 2, frame: 14
|
||||
var Array;
|
||||
var isArray;
|
||||
var hiddenHotspots;
|
||||
var Set;
|
||||
var value;
|
||||
var set;
|
||||
var value2;
|
||||
var hotspotOverrides;
|
||||
if (a0 != null) {
|
||||
Array = global.Array;
|
||||
isArray = Array.isArray;
|
||||
hiddenHotspots = a0.hiddenHotspots;
|
||||
if (Reflect.apply(isArray, Array, [hiddenHotspots])) {
|
||||
Set = global.Set;
|
||||
hiddenHotspots = a0.hiddenHotspots;
|
||||
set = new Set();
|
||||
value2 = environment.__proto__;
|
||||
}
|
||||
hotspotOverrides = a0.hotspotOverrides;
|
||||
if (hotspotOverrides != null) {
|
||||
hotspotOverrides = a0.hotspotOverrides;
|
||||
value = environment.__proto__;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function value_53651(a0) { // fn#53651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:851, offset: 0x013526a2, size: 116 bytes, params: 2, frame: 16
|
||||
let value = a1;
|
||||
const r2 = !(value !== undefined ? value : false) && env1_9[a0];
|
||||
value = environment.__proto__;
|
||||
return !CONFERENCE_MODE_ENABLED && (!(require(4664) /* metro dependency 4664: ProcessArgs */).ProcessArgs.isDisallowPopupsSet() && (!r2 ? !env1_8.has(a0) : r2));
|
||||
}
|
||||
|
||||
function value_53654() { // fn#53654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7003:1096, offset: 0x01352716, size: 25 bytes, params: 1, frame: 3
|
||||
return {hiddenHotspots: env1_8, hotspotOverrides: env1_9};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/* Metro module 6824; source: modules/hotspot/index.tsx; dependencies: [6825, 2, 6826, 6827] */
|
||||
function _fun53643(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53643, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7002:6, offset: 0x013522f9, size: 189 bytes, params: 8, frame: 23
|
||||
var propertyName;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const hotspotStore = importDefault(6825) /* metro dependency 6825: HotspotStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/hotspot/index.tsx');
|
||||
const constantsModule = require(6826) /* metro dependency 6826: Constants */;
|
||||
for (propertyName in constantsModule) {
|
||||
exports[propertyName] = constantsModule[propertyName];
|
||||
}
|
||||
for (propertyName in require(6827) /* metro dependency 6827: HotspotActionCreators */) {
|
||||
exports[propertyName] = (require(6827) /* metro dependency 6827: HotspotActionCreators */)[propertyName];
|
||||
}
|
||||
exports.HotspotStore = hotspotStore;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user