Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
+71
@@ -0,0 +1,71 @@
|
||||
/* Metro module 9115; source: modules/guild_settings/server_monetization/boost_perks/GuildSettingsVanityURLActionCreators.tsx; dependencies: [661, 507, 694, 2] */
|
||||
function _fun71417(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:6, offset: 0x01d1f4a2, size: 167 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(661) /* metro dependency 661: Constants */).Endpoints;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/boost_perks/GuildSettingsVanityURLActionCreators.tsx');
|
||||
exports.fetchVanityUrl = fetchVanityUrl;
|
||||
exports.resetCode = resetCode;
|
||||
exports.setCode = setCode;
|
||||
exports.saveCode = saveCode;
|
||||
}
|
||||
|
||||
function fetchVanityUrl(a0) { // fn#71418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:262, offset: 0x01d1f549, size: 95 bytes, params: 2, frame: 14
|
||||
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
||||
const get = HTTP.get;
|
||||
const object2 = {'url': null, 'oldFormErrors': true, 'rejectWithError': true};
|
||||
object2.url = Endpoints.GUILD_VANITY_URL(a0);
|
||||
return Reflect.apply(get, HTTP, [object2]).then(_fun71419);
|
||||
}
|
||||
|
||||
function resetCode() { // fn#71420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:514, offset: 0x01d1f5fe, size: 49 bytes, params: 1, frame: 13
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_SETTINGS_VANITY_URL_RESET'});
|
||||
}
|
||||
|
||||
function setCode(a0) { // fn#71421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:605, offset: 0x01d1f62f, size: 56 bytes, params: 2, frame: 13
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_SETTINGS_VANITY_URL_SET',
|
||||
code: a0});
|
||||
}
|
||||
|
||||
function saveCode(a0, a1, a2) { // fn#71422, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:701, offset: 0x01d1f667, size: 127 bytes, params: 4, frame: 16
|
||||
const env0_0 = a2;
|
||||
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
||||
const patch = HTTP.patch;
|
||||
const object2 = {};
|
||||
object2.url = Endpoints.GUILD_VANITY_URL(a0);
|
||||
object2.body = {code: a1};
|
||||
object2.oldFormErrors = true;
|
||||
object2.rejectWithError = false;
|
||||
return Reflect.apply(patch, HTTP, [object2]).then(_fun71423, _fun71424);
|
||||
}
|
||||
|
||||
function _fun71419({body}) { // fn#71419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:384, offset: 0x01d1f5a8, size: 86 bytes, params: 2, frame: 16
|
||||
const code = body.code;
|
||||
const uses = body.uses;
|
||||
const error = body.error;
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(694) /* metro dependency 694: Dispatcher */;
|
||||
value.dispatch({type: 'GUILD_SETTINGS_SET_VANITY_URL', code: code, uses: uses, error: error});
|
||||
}
|
||||
|
||||
function _fun71423({body}) { // fn#71423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:837, offset: 0x01d1f6e6, size: 77 bytes, params: 2, frame: 15
|
||||
const code = body.code;
|
||||
const uses = body.uses;
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(694) /* metro dependency 694: Dispatcher */;
|
||||
value.dispatch({type: 'GUILD_SETTINGS_SET_VANITY_URL', code: code, uses: uses});
|
||||
}
|
||||
|
||||
function _fun71424(a0) { // fn#71424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9300:938, offset: 0x01d1f733, size: 89 bytes, params: 2, frame: 13
|
||||
const value = environment.__proto__;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_SETTINGS_VANITY_URL_ERROR',
|
||||
error: a0.body});
|
||||
if (importDefault != null) {
|
||||
if (importDefault.throwErr) {
|
||||
throw a0;
|
||||
}
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
/* Metro module 15865; source: modules/guild_settings/server_monetization/boost_perks/GuildSettingsVanityURLUtils.tsx; dependencies: [661, 1244, 2] */
|
||||
function _fun122091(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16073:6, offset: 0x0255999f, size: 140 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_2 = constantsModule.AbortCodes;
|
||||
const env0_3 = constantsModule.GuildFeatures;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/boost_perks/GuildSettingsVanityURLUtils.tsx');
|
||||
exports.getErrorMessageFromErrorCode = getErrorMessageFromErrorCode;
|
||||
exports.canSeeVanityUrlSettings = canSeeVanityUrlSettings;
|
||||
}
|
||||
|
||||
function getErrorMessageFromErrorCode(a0) { // fn#122092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16073:290, offset: 0x02559a2b, size: 532 bytes, params: 2, frame: 15
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
const UNKNOWN_CHANNEL = AbortCodes.UNKNOWN_CHANNEL;
|
||||
if (UNKNOWN_CHANNEL === a0) {
|
||||
return intl.string(t.ETCmRa);
|
||||
}
|
||||
const INVALID_PERMISSIONS = AbortCodes.INVALID_PERMISSIONS;
|
||||
if (INVALID_PERMISSIONS === a0) {
|
||||
return intl.string(t.lXtut1);
|
||||
}
|
||||
const INVALID_ACCESS = AbortCodes.INVALID_ACCESS;
|
||||
if (INVALID_ACCESS === a0) {
|
||||
return intl.string(t.TAXOKw);
|
||||
}
|
||||
const VANITY_URL_REQUIRED_FOR_PUBLISHED_GUILDS = AbortCodes.VANITY_URL_REQUIRED_FOR_PUBLISHED_GUILDS;
|
||||
if (VANITY_URL_REQUIRED_FOR_PUBLISHED_GUILDS === a0) {
|
||||
return intl.string(t.ZpuxVs);
|
||||
}
|
||||
const VANITY_URL_EMPLOYEE_ONLY_GUILD_DISABLED = AbortCodes.VANITY_URL_EMPLOYEE_ONLY_GUILD_DISABLED;
|
||||
if (VANITY_URL_EMPLOYEE_ONLY_GUILD_DISABLED === a0) {
|
||||
return intl.string(t.tSBmIv);
|
||||
}
|
||||
const VANITY_URL_REQUIREMENTS_NOT_MET = AbortCodes.VANITY_URL_REQUIREMENTS_NOT_MET;
|
||||
if (VANITY_URL_REQUIREMENTS_NOT_MET === a0) {
|
||||
return intl.string(t['w+yGQT']);
|
||||
}
|
||||
return intl.string(t.ckQidX);
|
||||
}
|
||||
|
||||
function canSeeVanityUrlSettings(a0) { // fn#122093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16073:901, offset: 0x02559c3f, size: 81 bytes, params: 2, frame: 13
|
||||
const features = a0.features;
|
||||
const has = features.has;
|
||||
const VANITY_URL = GuildFeatures.VANITY_URL;
|
||||
return Reflect.apply(has, features,
|
||||
[VANITY_URL]) || a0.features.has(GuildFeatures.GUILD_WEB_PAGE_VANITY_URL) && a0.vanityURLCode != null;
|
||||
}
|
||||
|
||||
+296
@@ -0,0 +1,296 @@
|
||||
/* Metro module 15979; source: modules/guild_settings/server_monetization/boost_perks/native/GuildSettingsModalVanityURL.tsx; dependencies: [6, 7, 15, 17, 18, 31, 27, 15980, 1867, 9113, 661, 33, 4501, 697, 15981, 5282, 5277, 1244, 7147, 4573, 15865, 7981, 15982, 1484, 566, 5462, 2] */
|
||||
function _fun123585(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:6, offset: 0x02594708, size: 569 bytes, params: 8, frame: 23
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_5 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_6 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
||||
const value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_8 = value2.View;
|
||||
const env0_9 = value2.Image;
|
||||
const changeVanityURLModalStore = importDefault(15980) /* metro dependency 15980: ChangeVanityURLModalStore */;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const guildSettingsStore = importDefault(9113) /* metro dependency 9113: GuildSettingsStore */;
|
||||
const env0_13 = (require(661) /* metro dependency 661: Constants */).GuildFeatures;
|
||||
const value3 = require(33) /* metro dependency 33 */;
|
||||
const env0_14 = value3.jsx;
|
||||
const env0_15 = value3.jsxs;
|
||||
const env0_16 = value3.Fragment;
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
object2 = {};
|
||||
const PX_32 = (importDefault(697) /* metro dependency 697: native */).space.PX_32;
|
||||
object2.wrapper = {'flex': 1, 'justifyContent': 'space-between', paddingTop: PX_32};
|
||||
const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
|
||||
object2.section = {paddingHorizontal: PX_12};
|
||||
const object3 = {};
|
||||
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
object3.marginTop = PX_8;
|
||||
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
|
||||
object3.gap = PX_4;
|
||||
object2.hints = object3;
|
||||
object2.center = {'alignItems': 'center', 'flexDirection': 'column'};
|
||||
object2.image = {'width': 135, 'height': 183, 'marginBottom': 27};
|
||||
const env0_17 = Reflect.apply(createStyles, createStylesModule, [object2]);
|
||||
const PureComponent = value.PureComponent;
|
||||
const env0_18 = _fun123589(PureComponent);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/boost_perks/native/GuildSettingsModalVanityURL.tsx');
|
||||
exports.default = ConnectedGuildSettingsModalVanityURL;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_123586() { // fn#123586, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:283, offset: 0x02594941, size: 98 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_123586_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun123589(a0) { // fn#123589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:797, offset: 0x025949a3, size: 172 bytes, params: 2, frame: 16
|
||||
const closure = GuildSettingsModalVanityURL;
|
||||
env0_7(closure, a0);
|
||||
return env0_4(closure, [{key: 'componentDidMount', value: function() {
|
||||
this.updateNavigator(undefined, this.state);
|
||||
}}, {key: 'componentDidUpdate', value: function(a0, a1) {
|
||||
if (this.props.vanityURLCode !== a0.vanityURLCode) {
|
||||
this.setState({vanityURLCode: this.props.vanityURLCode ?? ''});
|
||||
}
|
||||
this.updateNavigator(a0, a1);
|
||||
}}, {key: 'updateNavigator', value: value_123598}, {key: 'componentWillUnmount', value: value_123603},
|
||||
{key: 'render', value: value_123604}]);
|
||||
}
|
||||
|
||||
function ConnectedGuildSettingsModalVanityURL({guildId, contentContainerStyle}) { // fn#123605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:3997, offset: 0x0259533b, size: 323 bytes, params: 2, frame: 25
|
||||
const styles = useStyles();
|
||||
const value2 = (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation();
|
||||
const guild = (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildStore], function() {
|
||||
return GuildStore.getGuild(guildId);
|
||||
});
|
||||
const vanityURLCode = (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildSettingsStore],
|
||||
function() {
|
||||
return GuildSettingsStore.getProps().vanityURLCode;
|
||||
});
|
||||
const {submitting,
|
||||
errorDetails} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([ChangeVanityURLModalStore],
|
||||
_fun123608);
|
||||
return guild != null ? <>{((Component) => <Component guild={guild} vanityURLCode={vanityURLCode} submitting={submitting} errorDetails={errorDetails} navigation={value2} styles={styles} contentContainerStyle={contentContainerStyle} />)(env0_18)}{((NavScrim) => <NavScrim />)((require(5462) /* metro dependency 5462: NavScrimAndroid */).NavScrim)}</> : null;
|
||||
}
|
||||
|
||||
function GuildSettingsModalVanityURL(a0) { // fn#123590, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:809, offset: 0x02594a4f, size: 231 bytes, params: 2, frame: 20
|
||||
var environment;
|
||||
var r0;
|
||||
var Reflect;
|
||||
let value = copyRestArgs(0, undefined);
|
||||
let value2 = environment.__proto__;
|
||||
let binding = env1_3;
|
||||
binding(this, GuildSettingsModalVanityURL);
|
||||
const items = [];
|
||||
arraySpread(items, value, 0, items);
|
||||
value = env1_6(GuildSettingsModalVanityURL);
|
||||
binding = env1_5;
|
||||
if (_isNativeReflectConstruct_123586()) {
|
||||
Reflect = global.Reflect;
|
||||
value = Reflect.construct(value, items, env1_6(this).constructor);
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.apply(this, items);
|
||||
r0 = value;
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.state = {isEditing: false, vanityURLCode: value.props.vanityURLCode ?? ''};
|
||||
value.handleStartEditing = handleStartEditing;
|
||||
value.handleChange = handleChange_123592;
|
||||
value.handleCancel = function() {
|
||||
var Promise = global.Promise;
|
||||
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
var value2 = new Promise(_fun123594);
|
||||
return value2 instanceof Object ? value2 : value;
|
||||
};
|
||||
value.handleSave = handleSave;
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_123598(a0, a1) { // fn#123598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1901, offset: 0x02594cf2, size: 195 bytes, params: 3, frame: 20
|
||||
var environment;
|
||||
var r6;
|
||||
var setOptions;
|
||||
var value2;
|
||||
const {submitting, navigation} = this.props;
|
||||
const isEditing = this.state.isEditing;
|
||||
let value = a0 != null;
|
||||
if (!(value && submitting === a0.submitting && isEditing === a1.isEditing)) {
|
||||
setOptions = navigation.setOptions;
|
||||
if (submitting) {
|
||||
r6 = function() {
|
||||
return null;
|
||||
};
|
||||
} else {
|
||||
value = undefined;
|
||||
if (isEditing) {
|
||||
value2 = environment.__proto__;
|
||||
value = require(5282) /* metro dependency 5282: NavigatorHeaderNative */;
|
||||
value = value.getHeaderConditionalBackButton(this.handleCancel);
|
||||
r6 = value;
|
||||
} else {
|
||||
r6 = value;
|
||||
}
|
||||
}
|
||||
Reflect.apply(setOptions, navigation, [{headerLeft: r6,
|
||||
headerRight: submitting ? _fun123600 : isEditing ? _fun123601 : _fun123602}]);
|
||||
}
|
||||
}
|
||||
|
||||
function value_123603() { // fn#123603, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:2455, offset: 0x02594ec4, size: 37 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__;
|
||||
(importDefault(15981) /* metro dependency 15981: ChangeVanityURLActionCreators */).closeModal();
|
||||
}
|
||||
|
||||
function value_123604() { // fn#123604, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:2510, offset: 0x02594ee9, size: 1106 bytes, params: 1, frame: 31
|
||||
var r7;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
var value8;
|
||||
var moduleValue;
|
||||
const {errorDetails, guild, styles} = this.props;
|
||||
const {isEditing, vanityURLCode} = this.state;
|
||||
const value = undefined;
|
||||
const r8 = vanityURLCode != null ? vanityURLCode === '' ? value : <Text variant="text-sm/medium" color="text-muted">{intl.format((require(1244) /* metro dependency 1244: indexNative */).t.FcGpNU,
|
||||
{url: (importDefault(7147) /* metro dependency 7147: getInviteURL */)(vanityURLCode)})}</Text> : value;
|
||||
const r14 = isEditing ? vanityURLCode : vanityURLCode !== '' ? 'discord.gg/' + vanityURLCode : intl.string((require(1244) /* metro dependency 1244: indexNative */).t['FaXGO/']);
|
||||
if (errorDetails != null) {
|
||||
value8 = environment.__proto__;
|
||||
moduleValue = require(15865) /* metro dependency 15865: GuildSettingsVanityURLUtils */;
|
||||
r7 = moduleValue.getErrorMessageFromErrorCode(errorDetails.code);
|
||||
} else {
|
||||
r7 = value;
|
||||
}
|
||||
let r9 = (guild == null ? value : guild.features.has(GuildFeatures.GUILD_WEB_PAGE_VANITY_URL)) === true && (guild == null ? value : guild.features.has(GuildFeatures.VANITY_URL)) !== true;
|
||||
const items2 = [styles.wrapper];
|
||||
items2[1] = this.props.contentContainerStyle;
|
||||
const TextInput = (require(7981) /* metro dependency 7981: TextInputNative */).TextInput;
|
||||
const textInput = <TextInput isDisabled={!isEditing} value={r14} onChange={this.handleChange} autoFocus={isEditing} errorMessage={r7} />;
|
||||
const string = intl.string;
|
||||
const IhWDcu = (require(1244) /* metro dependency 1244: indexNative */).t.IhWDcu;
|
||||
const items3 = [<Text variant="text-sm/medium" color="text-muted">{Reflect.apply(string, intl, [IhWDcu])}</Text>];
|
||||
items3[1] = <Text variant="text-sm/medium" color="text-muted">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['1mRkFr'])}</Text>;
|
||||
items3[2] = <Text variant="text-sm/medium" color="text-muted">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['eH/HMz'])}</Text>;
|
||||
r9 = r9 && <Text variant="text-sm/medium" color="text-muted">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.o3kmm3)}</Text>;
|
||||
items3[3] = r9;
|
||||
items3[4] = r8;
|
||||
return (
|
||||
<View style={items2}>
|
||||
<View style={styles.section}>
|
||||
{textInput}
|
||||
<View style={styles.hints}>
|
||||
{items3}
|
||||
</View>
|
||||
</View>
|
||||
<View style={styles.center}>
|
||||
<Image
|
||||
source={importDefault(15982) /* metro dependency 15982 */}
|
||||
style={styles.image}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun123608() { // fn#123608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:4281, offset: 0x02595497, size: 43 bytes, params: 1, frame: 10
|
||||
let value = environment.__proto__;
|
||||
value = ChangeVanityURLModalStore.getProps();
|
||||
return {submitting: value.submitting, errorDetails: value.errorDetails};
|
||||
}
|
||||
|
||||
function handleStartEditing() { // fn#123591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1173, owner: GuildSettingsModalVanityURL.handleStartEditing, offset: 0x02594b36, size: 92 bytes, params: 1, frame: 15
|
||||
let value = environment.__proto__.__proto__;
|
||||
value = importDefault(15981) /* metro dependency 15981: ChangeVanityURLActionCreators */;
|
||||
const openModal = value.openModal;
|
||||
const binding = env0_0;
|
||||
Reflect.apply(openModal, value, [binding.props.guild.id, binding.state.vanityURLCode]);
|
||||
binding.setState({isEditing: true});
|
||||
}
|
||||
|
||||
function GuildSettingsModalVanityURLHandleChange(a0) { // fn#123592, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1280, owner: GuildSettingsModalVanityURL.handleChange, offset: 0x02594b92, size: 32 bytes, params: 2, frame: 12
|
||||
env0_0.setState({vanityURLCode: a0});
|
||||
}
|
||||
|
||||
function GuildSettingsModalVanityURLHandleCancel() { // fn#123593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1330, owner: GuildSettingsModalVanityURL.handleCancel, offset: 0x02594bb2, size: 39 bytes, params: 1, frame: 11
|
||||
const Promise = global.Promise;
|
||||
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
const promise = new Promise(_fun123594);
|
||||
return promise instanceof Object ? promise : value;
|
||||
}
|
||||
|
||||
function GuildSettingsModalVanityURLHandleSave() { // fn#123595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1422, owner: GuildSettingsModalVanityURL.handleSave, offset: 0x02594c23, size: 92 bytes, params: 1, frame: 14
|
||||
const binding = env0_0;
|
||||
binding.setState({isEditing: false});
|
||||
let value = environment.__proto__.__proto__;
|
||||
value = importDefault(15981) /* metro dependency 15981: ChangeVanityURLActionCreators */;
|
||||
value.changeVanityURL(binding.props.guild.id, binding.state.vanityURLCode);
|
||||
}
|
||||
|
||||
function _fun123600() { // fn#123600, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:2147, offset: 0x02594db5, size: 45 bytes, params: 1, frame: 13
|
||||
const HeaderSubmittingIndicator = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).HeaderSubmittingIndicator;
|
||||
return <HeaderSubmittingIndicator />;
|
||||
}
|
||||
|
||||
function _fun123601() { // fn#123601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:2194, offset: 0x02594de2, size: 113 bytes, params: 1, frame: 18
|
||||
const HeaderActionButton = (require(5277) /* metro dependency 5277: HeaderActionButtonNative */).HeaderActionButton;
|
||||
const handleSave = env0_0.handleSave;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
return (
|
||||
<HeaderActionButton
|
||||
onPress={handleSave}
|
||||
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['R3BPH+'])}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun123602() { // fn#123602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:2303, offset: 0x02594e53, size: 113 bytes, params: 1, frame: 18
|
||||
const HeaderActionButton = (require(5277) /* metro dependency 5277: HeaderActionButtonNative */).HeaderActionButton;
|
||||
const handleStartEditing = env0_0.handleStartEditing;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
return (
|
||||
<HeaderActionButton
|
||||
onPress={handleStartEditing}
|
||||
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.bt75uw)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun123594(a0) { // fn#123594, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16187:1347, offset: 0x02594bd9, size: 74 bytes, params: 2, frame: 13
|
||||
let value = environment.__proto__.__proto__.__proto__;
|
||||
(importDefault(15981) /* metro dependency 15981: ChangeVanityURLActionCreators */).closeModal();
|
||||
value = environment.__proto__;
|
||||
env1_0.setState({isEditing: false});
|
||||
a0(true);
|
||||
}
|
||||
|
||||
+289
@@ -0,0 +1,289 @@
|
||||
/* Metro module 2192; source: modules/guild_settings/server_monetization/guild_theme/web/GuildSettingsGuildTheme.messages.js; dependencies: [1247, 2193, 2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220, 2221, 2222, 2223, 1282, 2] */
|
||||
function _fun22540(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#22540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:6, offset: 0x00f031de, size: 453 bytes, params: 8, frame: 19
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object2 = {bg: bg_22541, cs: cs_22543, da: da_22545, de: de_22547, el: el_22549};
|
||||
object2['en-GB'] = _fun22551;
|
||||
object2['es-419'] = _fun22553;
|
||||
object2['es-ES'] = _fun22555;
|
||||
object2.fi = fi_22557;
|
||||
object2.fr = fr_22559;
|
||||
object2.hi = hi_22561;
|
||||
object2.hr = hr_22563;
|
||||
object2.hu = hu_22565;
|
||||
object2.it = it_22567;
|
||||
object2.ja = ja_22569;
|
||||
object2.ko = ko_22571;
|
||||
object2.lt = lt_22573;
|
||||
object2.nl = nl_22575;
|
||||
object2.no = no_22577;
|
||||
object2.pl = pl_22579;
|
||||
object2['pt-BR'] = _fun22581;
|
||||
object2.ro = ro_22583;
|
||||
object2.ru = ru_22585;
|
||||
object2['sv-SE'] = _fun22587;
|
||||
object2.th = th_22589;
|
||||
object2.tr = tr_22591;
|
||||
object2.uk = uk_22593;
|
||||
object2.vi = vi_22595;
|
||||
object2['zh-CN'] = _fun22597;
|
||||
object2['zh-TW'] = _fun22599;
|
||||
object2['en-US'] = _fun22601;
|
||||
let value = require(1282) /* metro dependency 1282 */;
|
||||
value = value.createLoader(object2, 'en-US');
|
||||
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/guild_theme/web/GuildSettingsGuildTheme.messages.js');
|
||||
exports.default = messagesProxy;
|
||||
exports.messagesLoader = value;
|
||||
}
|
||||
|
||||
function bg_22541() { // fn#22541, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:102, offset: 0x00f033a3, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2193) /* metro dependency 2193 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function cs_22543() { // fn#22543, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:165, offset: 0x00f033e4, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2194) /* metro dependency 2194 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function da_22545() { // fn#22545, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:228, offset: 0x00f03425, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2195) /* metro dependency 2195 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function de_22547() { // fn#22547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:291, offset: 0x00f03466, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2196) /* metro dependency 2196 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function el_22549() { // fn#22549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:354, offset: 0x00f034a7, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2197) /* metro dependency 2197 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22551() { // fn#22551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:422, offset: 0x00f034e8, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2198) /* metro dependency 2198 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22553() { // fn#22553, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:491, offset: 0x00f03529, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2199) /* metro dependency 2199 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22555() { // fn#22555, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:559, offset: 0x00f0356a, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2200) /* metro dependency 2200 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function fi_22557() { // fn#22557, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:622, offset: 0x00f035ab, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2201) /* metro dependency 2201 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function fr_22559() { // fn#22559, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:685, offset: 0x00f035ec, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2202) /* metro dependency 2202 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hi_22561() { // fn#22561, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:749, offset: 0x00f0362d, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2203) /* metro dependency 2203 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hr_22563() { // fn#22563, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:813, offset: 0x00f0366e, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2204) /* metro dependency 2204 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hu_22565() { // fn#22565, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:877, offset: 0x00f036af, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2205) /* metro dependency 2205 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function it_22567() { // fn#22567, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:941, offset: 0x00f036f0, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2206) /* metro dependency 2206 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ja_22569() { // fn#22569, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1005, offset: 0x00f03731, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2207) /* metro dependency 2207 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ko_22571() { // fn#22571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1069, offset: 0x00f03772, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2208) /* metro dependency 2208 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function lt_22573() { // fn#22573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1133, offset: 0x00f037b3, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2209) /* metro dependency 2209 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function nl_22575() { // fn#22575, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1197, offset: 0x00f037f4, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2210) /* metro dependency 2210 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function no_22577() { // fn#22577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1261, offset: 0x00f03835, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2211) /* metro dependency 2211 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function pl_22579() { // fn#22579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1325, offset: 0x00f03876, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2212) /* metro dependency 2212 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22581() { // fn#22581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1394, offset: 0x00f038b7, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2213) /* metro dependency 2213 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ro_22583() { // fn#22583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1458, offset: 0x00f038f8, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2214) /* metro dependency 2214 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ru_22585() { // fn#22585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1522, offset: 0x00f03939, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2215) /* metro dependency 2215 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22587() { // fn#22587, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1591, offset: 0x00f0397a, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2216) /* metro dependency 2216 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function th_22589() { // fn#22589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1655, offset: 0x00f039bb, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2217) /* metro dependency 2217 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function tr_22591() { // fn#22591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1719, offset: 0x00f039fc, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2218) /* metro dependency 2218 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function uk_22593() { // fn#22593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1783, offset: 0x00f03a3d, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2219) /* metro dependency 2219 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function vi_22595() { // fn#22595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1847, offset: 0x00f03a7e, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2220) /* metro dependency 2220 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22597() { // fn#22597, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1916, offset: 0x00f03abf, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2221) /* metro dependency 2221 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22599() { // fn#22599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:1985, offset: 0x00f03b00, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2222) /* metro dependency 2222 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22601() { // fn#22601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2319:2054, offset: 0x00f03b41, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2223) /* metro dependency 2223 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
+352
@@ -0,0 +1,352 @@
|
||||
/* Metro module 15926; source: modules/guild_settings/server_monetization/stickers/native/GuildSettingsModalStickerInfoActionSheet.tsx; dependencies: [5, 57, 31, 27, 6583, 33, 566, 11050, 3857, 7684, 1244, 6275, 6758, 697, 6231, 6238, 9646, 15919, 4071, 2] */
|
||||
function _fun122829(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122829, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:6, offset: 0x02576f1f, size: 240 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_4 = importDefault(57) /* metro dependency 57 */;
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_6 = value2.ActivityIndicator;
|
||||
const env0_7 = value2.View;
|
||||
const stickersStore = importDefault(6583) /* metro dependency 6583: StickersStore */;
|
||||
const value3 = require(33) /* metro dependency 33 */;
|
||||
const env0_9 = value3.jsx;
|
||||
const env0_10 = value3.jsxs;
|
||||
value = value.memo(GuildSettingsModalStickerInfoActionSheet);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/GuildSettingsModalStickerInfoActionSheet.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function GuildSettingsModalStickerInfoActionSheet({guildId, stickerId, hideActionSheet}) { // fn#122830, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:218, offset: 0x0257700f, size: 696 bytes, params: 2, frame: 33
|
||||
var r0;
|
||||
var BottomSheet;
|
||||
var object;
|
||||
var object2;
|
||||
var space;
|
||||
var TableRowGroup;
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
var items2;
|
||||
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([StickersStore], _fun122831);
|
||||
const binding = env0_5;
|
||||
const [property, env0_4] = env0_4Binding(binding.useState(false), 2);
|
||||
const value5 = _fun122833();
|
||||
binding.useEffect(_fun122837, [hideActionSheet, value2]);
|
||||
if (value2 == null) {
|
||||
r0 = null;
|
||||
} else {
|
||||
BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
|
||||
var bottomSheetProps = {header: ((BottomSheetTitleHeader) => <BottomSheetTitleHeader title={value2.name} subtitle={value2.description} />)((require(6758) /* metro dependency 6758: BottomSheetTitleHeaderNative */).BottomSheetTitleHeader)};
|
||||
object = {};
|
||||
object2 = {};
|
||||
space = (importDefault(697) /* metro dependency 697: native */).space;
|
||||
object2.paddingHorizontal = space.PX_12;
|
||||
space = (importDefault(697) /* metro dependency 697: native */).space;
|
||||
object2.paddingBottom = space.PX_16;
|
||||
object.style = object2;
|
||||
TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
||||
items2 = [<TableRow icon={((PencilIcon) => <PencilIcon />)((require(9646) /* metro dependency 9646: PencilIcon */).PencilIcon)} label={intl.string(t.tdhW5b)} onPress={onPress_122838} />];
|
||||
items2[1] = <TableRow icon={((TrashIcon) => <TrashIcon color="text-feedback-critical" />)((require(4071) /* metro dependency 4071: TrashIcon */).TrashIcon)} trailing={property ? <ActivityIndicator /> : null} label={intl.string(t['+ZhGOk'])} variant="danger" disabled={property} onPress={value5} />;
|
||||
r0 = <BottomSheet {...bottomSheetProps}><View {...object}><TableRowGroup hasIcons>{items2}</TableRowGroup></View></BottomSheet>;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun122831() { // fn#122831, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:349, offset: 0x025772c7, size: 58 bytes, params: 1, frame: 12
|
||||
var environment;
|
||||
var r0;
|
||||
let value = environment.__proto__;
|
||||
value = StickersStore.getStickersByGuildId(guildId);
|
||||
if (value == null) {
|
||||
r0 = undefined;
|
||||
} else {
|
||||
value = value.find(function({id}) {
|
||||
return id === stickerId;
|
||||
});
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun122833() { // fn#122833, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:479, offset: 0x02577301, size: 36 bytes, params: 1, frame: 12
|
||||
const env0_0 = env1_3(_fun122835);
|
||||
return _fun122836;
|
||||
}
|
||||
|
||||
function _fun122837() { // fn#122837, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:804, offset: 0x02577441, size: 27 bytes, params: 1, frame: 10
|
||||
if (env0_3 == null) {
|
||||
hideActionSheet();
|
||||
}
|
||||
}
|
||||
|
||||
function GuildSettingsModalStickerInfoActionSheetOnPress() { // fn#122838, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:1207, owner: GuildSettingsModalStickerInfoActionSheet.onPress, offset: 0x0257745c, size: 54 bytes, params: 1, frame: 13
|
||||
const value = environment.__proto__;
|
||||
(importDefault(15919) /* metro dependency 15919: showGuildSettingsStickerCreateModal */)({guildId: guildId,
|
||||
stickerId: stickerId});
|
||||
}
|
||||
|
||||
function* _fun122835() { // fn#122835, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16134:499, offset: 0x02577330, size: 273 bytes, params: 1, frame: 19
|
||||
var value;
|
||||
var value2;
|
||||
var value3;
|
||||
var binding;
|
||||
var binding2;
|
||||
var property;
|
||||
var value4;
|
||||
var deleteGuildSticker;
|
||||
var value5;
|
||||
var value6;
|
||||
var value7;
|
||||
var error;
|
||||
var binding3;
|
||||
var value8;
|
||||
var open;
|
||||
var object2;
|
||||
var value9;
|
||||
var CircleErrorIcon;
|
||||
var value10;
|
||||
var intl;
|
||||
var string;
|
||||
var value11;
|
||||
var t;
|
||||
var value12;
|
||||
exceptionLanding50: while (true) {
|
||||
value = undefined;
|
||||
value2 = false;
|
||||
if (value2) {
|
||||
return value;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
if (env2_3 != null) {
|
||||
env2_4(true);
|
||||
value3 = environment.__proto__.__proto__.__proto__;
|
||||
reducibleJoin5: while (true) {
|
||||
reduciblePort48: while (true) {
|
||||
exceptionLanding19: while (true) {
|
||||
try {
|
||||
try {
|
||||
binding = env3_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
break reducibleJoin5;
|
||||
}
|
||||
try {
|
||||
binding = env3_1;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
binding3 = env3_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
property = binding3[8];
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
value8 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
open = value8.open;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
object2.key = 'IMAGE_PICKER_ERROR';
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
binding = env3_0;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
property = binding3[9];
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
value9 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
CircleErrorIcon = value9.CircleErrorIcon;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
object2.IconComponent = CircleErrorIcon;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
property = binding3[10];
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
value10 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
intl = value10.intl;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
string = intl.string;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
property = binding3[10];
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
value11 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
t = value11.t;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
property = t['5NMPSS'];
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
value12 = Reflect.apply(string, intl, [property]);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
object2.content = value12;
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
Reflect.apply(open, value8, [object2]);
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
break reduciblePort48;
|
||||
}
|
||||
env2_4(false);
|
||||
return undefined;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding2 = env3_2;
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
property = binding2[7];
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
value4 = binding(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
deleteGuildSticker = value4.deleteGuildSticker;
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
binding = env2_3;
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
value5 = Reflect.apply(deleteGuildSticker, value4, [binding]);
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
yield value5;
|
||||
try {
|
||||
try {
|
||||
value6 = undefined;
|
||||
value7 = false;
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
if (value7) {
|
||||
env2_4(false);
|
||||
return value6;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
try {
|
||||
try {
|
||||
dependencyMap();
|
||||
} catch (error) {
|
||||
break exceptionLanding19;
|
||||
}
|
||||
} catch (error) {
|
||||
break exceptionLanding50;
|
||||
}
|
||||
env2_4(false);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
env2_4(false);
|
||||
throw error;
|
||||
}
|
||||
|
||||
+248
@@ -0,0 +1,248 @@
|
||||
/* Metro module 15915; source: modules/guild_settings/server_monetization/stickers/native/GuildSettingsModalStickers.tsx; dependencies: [31, 27, 1867, 3784, 1878, 661, 3832, 33, 1244, 15916, 7958, 12252, 4501, 697, 1585, 566, 9077, 15918, 5460, 8249, 4573, 4136, 4578, 15919, 7972, 4572, 6231, 6238, 6705, 10970, 1305, 3995, 6243, 15925, 2] */
|
||||
function _fun122777(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122777, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:6, offset: 0x0257441e, size: 676 bytes, params: 8, frame: 23
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(27) /* metro dependency 27 */;
|
||||
const env0_3 = value2.ScrollView;
|
||||
const env0_4 = value2.View;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_8 = constantsModule.AppliedGuildBoostsRequiredForBoostedGuildTier;
|
||||
const BoostedGuildTiers = constantsModule.BoostedGuildTiers;
|
||||
const env0_10 = constantsModule.GuildFeatures;
|
||||
const env0_11 = (require(3832) /* metro dependency 3832: StickersConstants */).MAX_STICKER_FILE_SIZE;
|
||||
const value4 = require(33) /* metro dependency 33 */;
|
||||
const env0_12 = value4.jsx;
|
||||
const env0_13 = value4.jsxs;
|
||||
object2 = {};
|
||||
const NONE = BoostedGuildTiers.NONE;
|
||||
object2.tier = NONE;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
object2.title = Reflect.apply(string, intl, [t.tfVXhP]);
|
||||
object2.IconComponent = undefined;
|
||||
const items2 = [object2];
|
||||
object2 = {};
|
||||
const TIER_1 = BoostedGuildTiers.TIER_1;
|
||||
object2.tier = TIER_1;
|
||||
object2.title = intl.string(t.nzXtaS);
|
||||
const BoostGemOutlineIcon = (require(15916) /* metro dependency 15916: BoostGemOutlineIcon */).BoostGemOutlineIcon;
|
||||
object2.IconComponent = BoostGemOutlineIcon;
|
||||
items2[1] = object2;
|
||||
object2 = {};
|
||||
const TIER_2 = BoostedGuildTiers.TIER_2;
|
||||
object2.tier = TIER_2;
|
||||
object2.title = intl.string(t['h33/uW']);
|
||||
const BoostGemIcon = (require(7958) /* metro dependency 7958: BoostGemIcon */).BoostGemIcon;
|
||||
object2.IconComponent = BoostGemIcon;
|
||||
items2[2] = object2;
|
||||
object2 = {};
|
||||
const TIER_3 = BoostedGuildTiers.TIER_3;
|
||||
object2.tier = TIER_3;
|
||||
string = intl.string;
|
||||
const BfF6ED = t.BfF6ED;
|
||||
object2.title = Reflect.apply(string, intl, [BfF6ED]);
|
||||
const BoostTier3Icon = (require(12252) /* metro dependency 12252: BoostTier3Icon */).BoostTier3Icon;
|
||||
object2.IconComponent = BoostTier3Icon;
|
||||
items2[3] = object2;
|
||||
const env0_15 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun122778);
|
||||
value = value.memo(GuildSettingsModalStickers);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/GuildSettingsModalStickers.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _fun122778(a0) { // fn#122778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:736, offset: 0x025746c2, size: 330 bytes, params: 2, frame: 16
|
||||
const object3 = {};
|
||||
const object6 = {};
|
||||
let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object6.padding = PX_16;
|
||||
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object6.paddingBottom = PX_16 + a0;
|
||||
object3.container = object6;
|
||||
let PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
object3.label = {marginBottom: PX_8};
|
||||
const object7 = {};
|
||||
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object7.marginTop = PX_16;
|
||||
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
object7.marginBottom = PX_16;
|
||||
object3.divider = object7;
|
||||
const object8 = {};
|
||||
const BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST;
|
||||
object8.backgroundColor = BACKGROUND_BASE_LOWEST;
|
||||
object8.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
|
||||
let PX_64 = (importDefault(697) /* metro dependency 697: native */).space.PX_64;
|
||||
object8.width = PX_64;
|
||||
PX_64 = (importDefault(697) /* metro dependency 697: native */).space.PX_64;
|
||||
object8.height = PX_64;
|
||||
object8.overflow = 'hidden';
|
||||
object8.alignItems = 'center';
|
||||
object8.justifyContent = 'center';
|
||||
object3.stickerSlot = object8;
|
||||
PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
object3.userRow = {'gap': null, 'flexDirection': 'row', 'alignItems': 'center', gap: PX_8};
|
||||
return object3;
|
||||
}
|
||||
|
||||
function GuildSettingsModalStickers({guildId}) { // fn#122779, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:1244, offset: 0x0257480c, size: 872 bytes, params: 2, frame: 35
|
||||
const styles = useStyles((importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().bottom);
|
||||
let value3 = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([GuildStore], function() {
|
||||
var r0;
|
||||
var r1;
|
||||
var value3 = GuildStore.getGuild(guildId);
|
||||
var value4 = undefined;
|
||||
if ((value3 == null ? value4 : value3.features.has(GuildFeatures.MORE_STICKERS)) !== true) {
|
||||
r0 = value3 == null ? value4 : value3.premiumTier;
|
||||
r0 = r0 ?? BoostedGuildTiers.NONE;
|
||||
r1 = r0;
|
||||
} else {
|
||||
r1 = BoostedGuildTiers.TIER_3;
|
||||
}
|
||||
return {guild: value3, guildTier: r1};
|
||||
}, [guildId]);
|
||||
const guild = value3.guild;
|
||||
const env0_3 = value3.guildTier;
|
||||
const manageResourcePermissions = (require(9077) /* metro dependency 9077: useManageResourcePermissions */).getManageResourcePermissions(guild,
|
||||
PermissionStore, UserStore);
|
||||
const canCreateExpressions = manageResourcePermissions.canCreateExpressions;
|
||||
const env0_4 = manageResourcePermissions.canManageGuildExpression;
|
||||
const value5 = (importDefault(15918) /* metro dependency 15918: useLoadGuildStickerWithCreator */)(guildId);
|
||||
if (value5.status !== 'success') {
|
||||
const SceneLoadingIndicator = (require(5460) /* metro dependency 5460: SceneLoadingIndicatorNative */).SceneLoadingIndicator;
|
||||
return <SceneLoadingIndicator />;
|
||||
}
|
||||
const r10 = canCreateExpressions && value5.stickers.length < env0_14.reduce(_fun122781, 0);
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
let label = styles.label;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
const items2 = [<Text variant="heading-md/semibold" style={label}>{Reflect.apply(string, intl, [t.yxVsBJ])}</Text>];
|
||||
label = styles.label;
|
||||
const format = intl.format;
|
||||
const kpcMft = (require(1244) /* metro dependency 1244: indexNative */).t.kpcMft;
|
||||
const fileSizeUtilsModule = require(4136) /* metro dependency 4136: FileSizeUtils */;
|
||||
items2[1] = <Text variant="text-sm/medium" color="text-muted" style={label}>{Reflect.apply(format, intl, [kpcMft,
|
||||
{fileSize: fileSizeUtilsModule.formatKbSize(MAX_STICKER_FILE_SIZE, {useKibibytes: true})}])}</Text>;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
string = intl.string;
|
||||
items2[2] = <Button text={r10 ? Reflect.apply(string, intl, [t['3DzNjU']]) : Reflect.apply(string, intl,
|
||||
[t['IuvV5+']])} onPress={onPress_122782} disabled={!r10} />;
|
||||
const FormDivider = (require(7972) /* metro dependency 7972: native */).FormDivider;
|
||||
items2[3] = <FormDivider outer style={styles.divider} />;
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
|
||||
items2[4] = <Stack spacing={PX_16}>{env0_14.map(_fun122783)}</Stack>;
|
||||
return (
|
||||
<ScrollView contentContainerStyle={styles.container}>
|
||||
{items2}
|
||||
</ScrollView>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun122781(a0, {tier}) { // fn#122781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:1781, offset: 0x02574bf1, size: 73 bytes, params: 3, frame: 16
|
||||
var r0;
|
||||
var value3;
|
||||
var moduleValue;
|
||||
let value = a0;
|
||||
if (guildTier >= tier) {
|
||||
value3 = environment.__proto__;
|
||||
moduleValue = require(8249) /* metro dependency 8249: GuildBoostingUtils */;
|
||||
value += moduleValue.getTotalStickerCountForTier(tier, guild);
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function GuildSettingsModalStickersOnPress() { // fn#122782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:2329, owner: GuildSettingsModalStickers.onPress, offset: 0x02574c3a, size: 45 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__;
|
||||
(importDefault(15919) /* metro dependency 15919: showGuildSettingsStickerCreateModal */)({guildId: guildId});
|
||||
}
|
||||
|
||||
function _fun122783({tier, title, IconComponent}) { // fn#122783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:2485, offset: 0x02574c67, size: 446 bytes, params: 2, frame: 30
|
||||
const value2 = guildTier < tier;
|
||||
const incrementalStickerCountForTier = (require(8249) /* metro dependency 8249: GuildBoostingUtils */).getIncrementalStickerCountForTier(tier);
|
||||
let value = (require(8249) /* metro dependency 8249: GuildBoostingUtils */).getAvailableStickerSlotCount(stickers,
|
||||
tier);
|
||||
const property = AppliedGuildBoostsRequiredForBoostedGuildTier[tier];
|
||||
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
const tableRowProps = {icon: IconComponent != null ? <IconComponent color={value2 ? 'icon-muted' : 'premium-nitro-pink-text'} /> : undefined,
|
||||
label: title};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const format = intl.format;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
tableRowProps.subLabel = value2 ? Reflect.apply(format, intl, [t.t2Wbo1, {required: property,
|
||||
decorator: ''}]) : Reflect.apply(format, intl, [t.ZLoNtm, {numTotal: incrementalStickerCountForTier,
|
||||
numAvailable: value}]);
|
||||
tableRowProps.trailing = value2 ? ((LockIcon) => <LockIcon color="icon-muted" />)((require(6705) /* metro dependency 6705: LockIcon */).LockIcon) : undefined;
|
||||
const items2 = [<TableRow {...tableRowProps} />];
|
||||
const Array = global.Array;
|
||||
value = Array.from({length: incrementalStickerCountForTier});
|
||||
items2[1] = value.map(_fun122784);
|
||||
return (
|
||||
<TableRowGroup hasIcons key={tier}>
|
||||
{items2}
|
||||
</TableRowGroup>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun122784(a0, a1) { // fn#122784, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:3021, offset: 0x02574e25, size: 551 bytes, params: 3, frame: 36
|
||||
var environment;
|
||||
var r12;
|
||||
var items2;
|
||||
let value = environment.__proto__;
|
||||
const stickersBinding = stickers;
|
||||
const binding = env1_6;
|
||||
const value2 = typeof binding === 'bigint' ? binding : +binding;
|
||||
env1_6 = typeof value2 === 'bigint' ? value2 + 1n : +value2 + 1;
|
||||
const property = stickersBinding[value2];
|
||||
const value3 = null;
|
||||
if (value3 == property) {
|
||||
return value3;
|
||||
}
|
||||
const canManageGuildExpressionBinding = canManageGuildExpression;
|
||||
const value4 = undefined;
|
||||
const canManageGuildExpression2 = canManageGuildExpressionBinding(property);
|
||||
const user = property.user;
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
const object2 = {};
|
||||
const stylesBinding = styles;
|
||||
const stickerSlot = stylesBinding.stickerSlot;
|
||||
const Sticker = importDefault(10970) /* metro dependency 10970: Sticker */;
|
||||
const PX_48 = (importDefault(697) /* metro dependency 697: native */).space.PX_48;
|
||||
object2.icon = <View style={stickerSlot}><Sticker sticker={property} size={PX_48} animated /></View>;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const text = <Text variant="heading-sm/semibold" color="text-strong" style={stylesBinding.label}>{property.name}</Text>;
|
||||
if (value3 != user) {
|
||||
var viewBinding2Props = {style: styles.userRow};
|
||||
const Avatar = (require(1305) /* metro dependency 1305: native */).Avatar;
|
||||
value = <Avatar user={user} size={(require(1305) /* metro dependency 1305: native */).AvatarSizes.XSMALL_20} guildId={guildId} />;
|
||||
items2 = [value];
|
||||
value = importDefault(3995) /* metro dependency 3995: UserUtils */;
|
||||
items2[1] = <Text variant="text-sm/medium" color="text-subtle">{value.getName(user)}</Text>;
|
||||
value = <View {...viewBinding2Props}>{items2}</View>;
|
||||
r12 = value;
|
||||
} else {
|
||||
r12 = value3;
|
||||
}
|
||||
object2.label = <View>{text}{r12}</View>;
|
||||
object2.trailing = canManageGuildExpression2 ? ((TableRowArrow) => <TableRowArrow />)((require(6243) /* metro dependency 6243: TableRowArrowNative */).TableRowArrow) : value4;
|
||||
object2.onPress = canManageGuildExpression2 ? _fun122785 : value4;
|
||||
return <TableRow {...object2} key={a1} />;
|
||||
}
|
||||
|
||||
function _fun122785() { // fn#122785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16123:3610, offset: 0x0257504c, size: 68 bytes, params: 1, frame: 13
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
(require(15925) /* metro dependency 15925: showGuildSettingsModalStickerInfoActionSheet */).showGuildSettingsModalStickerInfoActionSheet({guildId: guildId,
|
||||
stickerId: env0_0.id});
|
||||
}
|
||||
|
||||
+1084
File diff suppressed because it is too large.
Load diff
+31
@@ -0,0 +1,31 @@
|
||||
/* Metro module 15920; source: modules/guild_settings/server_monetization/stickers/native/GuildSettingsStickerCreateModal.tsx; dependencies: [31, 33, 9881, 9883, 1244, 15921, 2] */
|
||||
function _fun122801(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122801, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16128:6, offset: 0x02575527, size: 138 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/GuildSettingsStickerCreateModal.tsx');
|
||||
exports.default = GuildSettingsStickerCreateModal;
|
||||
}
|
||||
|
||||
function GuildSettingsStickerCreateModal({guildId, stickerId}) { // fn#122802, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16128:124, offset: 0x025755b1, size: 220 bytes, params: 2, frame: 20
|
||||
const value2 = (importDefault(9881) /* metro dependency 9881: useNavigatorConfirmChangesOnBack */)();
|
||||
const env0_2 = value2.onGoBack;
|
||||
const env0_3 = value2.ref;
|
||||
const ModalStackNavigator = importDefault(9883) /* metro dependency 9883: ModalStackNavigator */;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
return (
|
||||
<ModalStackNavigator
|
||||
screenKey="guild-settings-sticker-create"
|
||||
title={intl.string(stickerId != null ? (require(1244) /* metro dependency 1244: indexNative */).t.tdhW5b : (require(1244) /* metro dependency 1244: indexNative */).t['3DzNjU'])}
|
||||
render={render_122803}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function GuildSettingsStickerCreateModalRender() { // fn#122803, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16128:366, owner: GuildSettingsStickerCreateModal.render, offset: 0x0257568d, size: 76 bytes, params: 1, frame: 15
|
||||
const value = environment.__proto__;
|
||||
return ((Component) => <Component ref={ref} guildId={guildId} stickerId={stickerId} onFinish={onGoBack} />)(importDefault(15921) /* metro dependency 15921: GuildSettingsStickerCreate */);
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/* Metro module 15922; source: modules/guild_settings/server_monetization/stickers/native/guildSettingsStickerToasts.tsx; dependencies: [3857, 7684, 1244, 4068, 2] */
|
||||
function _fun122820(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122820, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16130:6, offset: 0x02576bd7, size: 116 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/guildSettingsStickerToasts.tsx');
|
||||
exports.showGuildSettingsStickerError = function() {
|
||||
var defaultImport = importDefault(dependencyMap[0]);
|
||||
var object = {key: 'GUILD_SETTINGS_STICKER_ERROR'};
|
||||
object.IconComponent = require(dependencyMap[1]).CircleErrorIcon;
|
||||
object.content = require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t['5NMPSS']);
|
||||
defaultImport.open(object);
|
||||
};
|
||||
exports.showGuildSettingsStickerSuccess = function() {
|
||||
var defaultImport = importDefault(dependencyMap[0]);
|
||||
var object = {key: 'GUILD_SETTINGS_STICKER_SUCCESS'};
|
||||
object.IconComponent = require(dependencyMap[3]).CircleInformationIcon;
|
||||
object.content = require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t['+c5xtT']);
|
||||
defaultImport.open(object);
|
||||
};
|
||||
}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
/* Metro module 15925; source: modules/guild_settings/server_monetization/stickers/native/showGuildSettingsModalStickerInfoActionSheet.tsx; dependencies: [4080, 15926, 1962, 2] */
|
||||
function _fun122826(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122826, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16133:6, offset: 0x02576e17, size: 103 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/showGuildSettingsModalStickerInfoActionSheet.tsx');
|
||||
exports.showGuildSettingsModalStickerInfoActionSheet = showGuildSettingsModalStickerInfoActionSheet;
|
||||
}
|
||||
|
||||
function showGuildSettingsModalStickerInfoActionSheet({guildId, stickerId}) { // fn#122827, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16133:329, offset: 0x02576e7e, size: 118 bytes, params: 2, frame: 18
|
||||
const defaultImport = importDefault(dependencyMap[0]);
|
||||
const openLazy = defaultImport.openLazy;
|
||||
let value = require(dependencyMap[2]);
|
||||
value = value(dependencyMap[1], dependencyMap.paths);
|
||||
Reflect.apply(openLazy, defaultImport, [value, 'GuildSettingsModalStickerInfoActionSheet', {guildId: guildId,
|
||||
stickerId: stickerId, hideActionSheet: hideActionSheet_122828}]);
|
||||
}
|
||||
|
||||
function showGuildSettingsModalStickerInfoActionSheetHideActionSheet() { // fn#122828, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16133:472, owner: showGuildSettingsModalStickerInfoActionSheet.hideActionSheet, offset: 0x02576ef4, size: 43 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__;
|
||||
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet('GuildSettingsModalStickerInfoActionSheet');
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
/* Metro module 15919; source: modules/guild_settings/server_monetization/stickers/native/showGuildSettingsStickerCreateModal.tsx; dependencies: [4080, 5080, 15920, 1962, 2] */
|
||||
function _fun122799(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#122799, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16127:6, offset: 0x0257544a, size: 103 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/stickers/native/showGuildSettingsStickerCreateModal.tsx');
|
||||
exports.default = showGuildSettingsStickerCreateModal;
|
||||
}
|
||||
|
||||
function showGuildSettingsStickerCreateModal(a0) { // fn#122800, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16127:234, offset: 0x025754b1, size: 118 bytes, params: 2, frame: 18
|
||||
importDefault(dependencyMap[0]).hideActionSheet();
|
||||
const defaultImport2 = importDefault(dependencyMap[1]);
|
||||
const pushLazy = defaultImport2.pushLazy;
|
||||
let value = require(dependencyMap[3]);
|
||||
value = value(dependencyMap[2], dependencyMap.paths);
|
||||
Reflect.apply(pushLazy, defaultImport2, [value, a0, 'guild-settings-sticker-create', {presentation: 'modal'}]);
|
||||
}
|
||||
|
||||
+289
@@ -0,0 +1,289 @@
|
||||
/* Metro module 2160; source: modules/guild_settings/server_monetization/tags/web/GuildSettingsTags.messages.js; dependencies: [1247, 2161, 2162, 2163, 2164, 2165, 2166, 2167, 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 1282, 2] */
|
||||
function _fun22446(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#22446, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:6, offset: 0x00f01fd4, size: 453 bytes, params: 8, frame: 19
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object2 = {bg: bg_22447, cs: cs_22449, da: da_22451, de: de_22453, el: el_22455};
|
||||
object2['en-GB'] = _fun22457;
|
||||
object2['es-419'] = _fun22459;
|
||||
object2['es-ES'] = _fun22461;
|
||||
object2.fi = fi_22463;
|
||||
object2.fr = fr_22465;
|
||||
object2.hi = hi_22467;
|
||||
object2.hr = hr_22469;
|
||||
object2.hu = hu_22471;
|
||||
object2.it = it_22473;
|
||||
object2.ja = ja_22475;
|
||||
object2.ko = ko_22477;
|
||||
object2.lt = lt_22479;
|
||||
object2.nl = nl_22481;
|
||||
object2.no = no_22483;
|
||||
object2.pl = pl_22485;
|
||||
object2['pt-BR'] = _fun22487;
|
||||
object2.ro = ro_22489;
|
||||
object2.ru = ru_22491;
|
||||
object2['sv-SE'] = _fun22493;
|
||||
object2.th = th_22495;
|
||||
object2.tr = tr_22497;
|
||||
object2.uk = uk_22499;
|
||||
object2.vi = vi_22501;
|
||||
object2['zh-CN'] = _fun22503;
|
||||
object2['zh-TW'] = _fun22505;
|
||||
object2['en-US'] = _fun22507;
|
||||
let value = require(1282) /* metro dependency 1282 */;
|
||||
value = value.createLoader(object2, 'en-US');
|
||||
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/server_monetization/tags/web/GuildSettingsTags.messages.js');
|
||||
exports.default = messagesProxy;
|
||||
exports.messagesLoader = value;
|
||||
}
|
||||
|
||||
function bg_22447() { // fn#22447, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:102, offset: 0x00f02199, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2161) /* metro dependency 2161 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function cs_22449() { // fn#22449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:165, offset: 0x00f021da, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2162) /* metro dependency 2162 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function da_22451() { // fn#22451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:228, offset: 0x00f0221b, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2163) /* metro dependency 2163 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function de_22453() { // fn#22453, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:291, offset: 0x00f0225c, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2164) /* metro dependency 2164 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function el_22455() { // fn#22455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:354, offset: 0x00f0229d, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2165) /* metro dependency 2165 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22457() { // fn#22457, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:422, offset: 0x00f022de, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2166) /* metro dependency 2166 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22459() { // fn#22459, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:491, offset: 0x00f0231f, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2167) /* metro dependency 2167 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22461() { // fn#22461, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:559, offset: 0x00f02360, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2168) /* metro dependency 2168 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function fi_22463() { // fn#22463, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:622, offset: 0x00f023a1, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2169) /* metro dependency 2169 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function fr_22465() { // fn#22465, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:685, offset: 0x00f023e2, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2170) /* metro dependency 2170 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hi_22467() { // fn#22467, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:749, offset: 0x00f02423, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2171) /* metro dependency 2171 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hr_22469() { // fn#22469, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:813, offset: 0x00f02464, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2172) /* metro dependency 2172 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function hu_22471() { // fn#22471, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:877, offset: 0x00f024a5, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2173) /* metro dependency 2173 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function it_22473() { // fn#22473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:941, offset: 0x00f024e6, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2174) /* metro dependency 2174 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ja_22475() { // fn#22475, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1005, offset: 0x00f02527, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2175) /* metro dependency 2175 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ko_22477() { // fn#22477, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1069, offset: 0x00f02568, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2176) /* metro dependency 2176 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function lt_22479() { // fn#22479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1133, offset: 0x00f025a9, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2177) /* metro dependency 2177 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function nl_22481() { // fn#22481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1197, offset: 0x00f025ea, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2178) /* metro dependency 2178 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function no_22483() { // fn#22483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1261, offset: 0x00f0262b, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2179) /* metro dependency 2179 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function pl_22485() { // fn#22485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1325, offset: 0x00f0266c, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2180) /* metro dependency 2180 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22487() { // fn#22487, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1394, offset: 0x00f026ad, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2181) /* metro dependency 2181 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ro_22489() { // fn#22489, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1458, offset: 0x00f026ee, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2182) /* metro dependency 2182 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function ru_22491() { // fn#22491, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1522, offset: 0x00f0272f, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2183) /* metro dependency 2183 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22493() { // fn#22493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1591, offset: 0x00f02770, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2184) /* metro dependency 2184 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function th_22495() { // fn#22495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1655, offset: 0x00f027b1, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2185) /* metro dependency 2185 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function tr_22497() { // fn#22497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1719, offset: 0x00f027f2, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2186) /* metro dependency 2186 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function uk_22499() { // fn#22499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1783, offset: 0x00f02833, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2187) /* metro dependency 2187 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function vi_22501() { // fn#22501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1847, offset: 0x00f02874, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2188) /* metro dependency 2188 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22503() { // fn#22503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1916, offset: 0x00f028b5, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2189) /* metro dependency 2189 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22505() { // fn#22505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:1985, offset: 0x00f028f6, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2190) /* metro dependency 2190 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
function _fun22507() { // fn#22507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2287:2054, offset: 0x00f02937, size: 65 bytes, params: 1, frame: 14
|
||||
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
|
||||
value = value.loadJsonAsset(require(2191) /* metro dependency 2191 */);
|
||||
return value.then(function(a0) {
|
||||
return {default: a0};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user