2481 lines
118 KiB
TypeScript
2481 lines
118 KiB
TypeScript
/* Metro module 7627; source: modules/guild_identity/GuildIdentityActionCreators.tsx; dependencies: [5, 661, 694, 507, 7618, 7615, 2] */
|
|
import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun61114(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:6, offset: 0x0171ab74, size: 215 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_identity/GuildIdentityActionCreators.tsx');
|
|
exports.saveGuildIdentityChanges = function() {
|
|
return _saveGuildIdentityChanges.apply(this, arguments);
|
|
};
|
|
exports.setCurrentGuild = setCurrentGuild;
|
|
exports.initGuildIdentitySettings = initGuildIdentitySettings;
|
|
exports.resetPendingMemberChanges = resetPendingMemberChanges;
|
|
exports.resetPendingProfileChanges = resetPendingProfileChanges_61122;
|
|
exports.resetAllPending = resetAllPending_61123;
|
|
exports.clearErrors = clearErrors_61124;
|
|
function _saveGuildIdentityChanges() { // fn#61115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:126, offset: 0x0171ac4b, size: 48 bytes, params: 1, frame: 14
|
|
return Module00005(_fun61117).apply(this, arguments);
|
|
async function _fun61117(a0, {nick, avatar, avatarDescription, avatarId, avatarDecoration, nameplate, displayNameStyles, avatarOriginalMd5}) { // fn#61117, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:199, offset: 0x0171ac8d, size: 797 bytes, params: 3, frame: 31
|
|
var object4;
|
|
var r11;
|
|
var username;
|
|
var binding2;
|
|
var property;
|
|
var value9;
|
|
var HTTP;
|
|
var patch;
|
|
var object;
|
|
var binding3;
|
|
var SET_GUILD_MEMBER;
|
|
var value10;
|
|
var binding4;
|
|
var value11;
|
|
var buildHeadersForMd5;
|
|
var value12;
|
|
var SafetyScannedUploadSurface;
|
|
var USER_GUILD_PROFILE_AVATAR;
|
|
var headersForMd5;
|
|
var value13;
|
|
var value14;
|
|
var value15;
|
|
var body;
|
|
var binding5;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var binding6;
|
|
var value20;
|
|
var error;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
await undefined;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
if (a0 == null) {
|
|
throw new global.Error('Need guildId');
|
|
}
|
|
let binding = env2_1;
|
|
binding(env2_2[2]).dispatch({type: 'USER_PROFILE_SETTINGS_SUBMIT', guildId: a0});
|
|
object4 = {nick: nick, avatar: avatar, avatar_description: avatarDescription, avatar_id: avatarId};
|
|
object4.avatar_decoration_sku_id = value === avatarDecoration ? value : (avatarDecoration == null ? value : avatarDecoration.skuId) ?? null;
|
|
object4.collectibles = value === nameplate ? value : {nameplate: nameplate === null ? null : {sku_id: nameplate.skuId}};
|
|
const value8 = value !== displayNameStyles;
|
|
object4.display_name_font_id = value8 ? displayNameStyles === null ? null : displayNameStyles.fontId : value;
|
|
object4.display_name_effect_id = value8 ? displayNameStyles === null ? null : displayNameStyles.effectId : value;
|
|
object4.display_name_colors = value8 ? displayNameStyles === null ? null : displayNameStyles.colors : value;
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding2[3];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value9 = binding(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
HTTP = value9.HTTP;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
patch = HTTP.patch;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object = {};
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding3 = env2_4;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
SET_GUILD_MEMBER = binding3.SET_GUILD_MEMBER;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value10 = Reflect.apply(SET_GUILD_MEMBER, binding3, [a0]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object.url = value10;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object.body = object4;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding4 = env2_1;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding2[4];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value11 = binding4(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
buildHeadersForMd5 = value11.buildHeadersForMd5;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding2[5];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value12 = binding(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
SafetyScannedUploadSurface = value12.SafetyScannedUploadSurface;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
USER_GUILD_PROFILE_AVATAR = SafetyScannedUploadSurface.USER_GUILD_PROFILE_AVATAR;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4[USER_GUILD_PROFILE_AVATAR] = avatarOriginalMd5;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
headersForMd5 = Reflect.apply(buildHeadersForMd5, value11, [object4]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object.headers = headersForMd5;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object.oldFormErrors = true;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object.rejectWithError = false;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value13 = Reflect.apply(patch, HTTP, [object]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
await value13;
|
|
try {
|
|
value14 = undefined;
|
|
value15 = false;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
if (!value15) {
|
|
try {
|
|
body = value14.body;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding5 = env2_2;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding5[2];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value16 = binding(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
dispatch = value16.dispatch;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.type = 'USER_PROFILE_SETTINGS_SUBMIT_SUCCESS';
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.guildId = a0;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value16, [object4]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding5[2];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value17 = binding(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
dispatch = value17.dispatch;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.type = 'GUILD_MEMBER_PROFILE_UPDATE';
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.guildMember = body;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.guildId = a0;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value17, [object4]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value18 = avatar == null;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
|
|
return error;
|
|
}
|
|
if (value18) {
|
|
try {
|
|
value19 = avatarId == null;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
r11 = value19;
|
|
} else {
|
|
r11 = value18;
|
|
}
|
|
if (!r11) {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
binding6 = env2_2;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
property = binding6[2];
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
value20 = binding(property);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
dispatch = value20.dispatch;
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4 = {};
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
object4.type = 'RECENT_AVATARS_UPDATE';
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
try {
|
|
Reflect.apply(dispatch, value20, [object4]);
|
|
} catch (error) {
|
|
body = error.body;
|
|
if (body == null) {
|
|
username = value;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
if (username == null) {
|
|
value = env2_1(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
username = body.username;
|
|
body.nick = username;
|
|
delete body.username;
|
|
binding = env2_1;
|
|
value = binding(env2_2[2]);
|
|
dispatch = value.dispatch;
|
|
body = error.body;
|
|
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
|
|
errors: body}]);
|
|
return error;
|
|
}
|
|
}
|
|
}
|
|
return value14;
|
|
}
|
|
|
|
}
|
|
|
|
function setCurrentGuild(a0) { // fn#61119, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1742, offset: 0x0171afaa, size: 56 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_SET_GUILD',
|
|
guildId: a0});
|
|
}
|
|
|
|
function initGuildIdentitySettings(a0) { // fn#61120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1868, offset: 0x0171afe2, size: 56 bytes, params: 2, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_INIT',
|
|
guildId: a0});
|
|
}
|
|
|
|
function resetPendingMemberChanges() { // fn#61121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1999, offset: 0x0171b01a, size: 49 bytes, params: 1, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_ACCOUNT_CHANGES'});
|
|
}
|
|
|
|
function resetPendingProfileChanges_61122() { // fn#61122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2145, offset: 0x0171b04b, size: 49 bytes, params: 1, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_PROFILE_CHANGES'});
|
|
}
|
|
|
|
function resetAllPending_61123() { // fn#61123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2281, offset: 0x0171b07c, size: 49 bytes, params: 1, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_CHANGES'});
|
|
}
|
|
|
|
function clearErrors_61124() { // fn#61124, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2394, offset: 0x0171b0ad, size: 49 bytes, params: 1, frame: 13
|
|
(Dispatcher).dispatch({type: 'USER_PROFILE_SETTINGS_CLEAR_ERRORS'});
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun61114, 7627, [5, 661, 694, 507, 7618, 7615,
|
|
2]) /* metro module 7627, dependencies: [5, 661, 694, 507, 7618, 7615, 2] */;
|