Files
discord-decomp/sources/modules/parent_tools/hooks/useFamilyCenterActions.tsx
T
2026-07-28 01:06:53 +03:00

2002 lines
89 KiB
TypeScript

/* Metro module 12624; source: modules/parent_tools/hooks/useFamilyCenterActions.tsx; dependencies: [5, 57, 31, 5116, 5117, 5118, 4131, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import FamilyCenterStore from '../FamilyCenterStore.tsx'; /* Metro dependency 5116 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as FamilyCenterConstantsModule from '../FamilyCenterConstants.tsx'; /* Metro dependency 5117 */
function _fun96861(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:6, offset: 0x02169e4f, size: 191 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/hooks/useFamilyCenterActions.tsx');
exports.useFamilyCenterActions = useFamilyCenterActions;
function useFamilyCenterActions(a0) { // fn#96862, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:276, offset: 0x02169f0e, size: 728 bytes, params: 2, frame: 32
const {onError, onSuccess} = a0 ?? ({});
let binding = env0_5;
let useState = binding.useState;
const value2 = Reflect.apply(useState, binding, [false]);
const binding2 = env0_4;
const value3 = binding2(value2, 2);
const property = value3[0];
const env0_2 = value3[1];
useState = binding.useState;
const value4 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property2 = value4[0];
const env0_3 = value4[1];
useState = binding.useState;
const value5 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property3 = value5[0];
var env0_4 = value5[1];
useState = binding.useState;
const value6 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property4 = value6[0];
var env0_5 = value6[1];
useState = binding.useState;
const value7 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property5 = value7[0];
const env0_7 = value7[1];
useState = binding.useState;
const value8 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property6 = value8[0];
const env0_9 = value8[1];
useState = binding.useState;
const value9 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property7 = value9[0];
const env0_11 = value9[1];
useState = binding.useState;
const value10 = binding2(Reflect.apply(useState, binding, [false]), 2);
const property8 = value10[0];
const env0_13 = value10[1];
let r17 = property || property2;
r17 = !r17 ? property3 : r17;
r17 = !r17 ? property4 : r17;
r17 = !r17 ? property6 : r17;
r17 = !r17 ? property8 : r17;
binding = env0_5;
let useCallback = binding.useCallback;
const value12 = Reflect.apply(useCallback, binding, [_fun96863(), [r17, onError, onSuccess]]);
const value14 = binding.useCallback(_fun96867(), [r17, onError, onSuccess]);
const value16 = binding.useCallback(_fun96871(), [r17, onError, onSuccess]);
const value18 = binding.useCallback(_fun96875(), [r17, onError, onSuccess]);
useCallback = binding.useCallback;
value = env0_3(_fun96880);
value = Reflect.apply(useCallback, binding, [value, [property5, onError, onSuccess]]);
const value20 = binding.useCallback(_fun96881(), [property7, onError, onSuccess]);
const value22 = binding.useCallback(_fun96885(), [property6, onError, onSuccess]);
useCallback = binding.useCallback;
return {acceptLinkRequest: value12, declineLinkRequest: value14, disconnectLinkRequest: value16,
cancelLinkRequest: value18, selectTeenUser: value20, getLinkCode: value, requestLink: value22,
loadMore: Reflect.apply(useCallback, binding, [_fun96889(), [property8, onError]]), isAcceptLoading: property,
isDeclineLoading: property2, isDisconnectLoading: property3, isCancelLoading: property4,
isGetLinkCodeLoading: property5, isSelectTeenUserLoading: property7, isRequestingLink: property6,
isMoreLoading: property8};
function _fun96863() { // fn#96863, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:711, offset: 0x0216a1e6, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96865);
return _fun96866;
function* _fun96865(a0) { // fn#96865, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:731, offset: 0x0216a215, size: 237 bytes, params: 2, frame: 18
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var updateLinkForUserId;
var ACTIVE;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding42: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_14) {
dependencyMap(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort41: while (true) {
exceptionLanding23: while (true) {
try {
try {
binding = env3_0;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding42;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding42;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding42;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding42;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding42;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding42;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding42;
}
reducibleJoin41: while (true) {
if (value12) {
break reducibleJoin41;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
require(value11);
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin41;
}
break reduciblePort41;
}
dependencyMap(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
updateLinkForUserId = value4.updateLinkForUserId;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
binding = env3_7;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
ACTIVE = binding.ACTIVE;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value5 = Reflect.apply(updateLinkForUserId, value4, [a0, ACTIVE]);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
if (value7) {
dependencyMap(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
reducibleJoin21: while (true) {
if (value8) {
break reducibleJoin21;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin21;
}
dependencyMap(false);
}
return undefined;
}
dependencyMap(false);
throw error;
}
function _fun96866() { // fn#96866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:900, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun96867() { // fn#96867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:971, offset: 0x0216a302, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96869);
return _fun96870;
function* _fun96869(a0) { // fn#96869, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:991, offset: 0x0216a331, size: 237 bytes, params: 2, frame: 18
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var updateLinkForUserId;
var DECLINED;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding42: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_14) {
env2_3(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort41: while (true) {
exceptionLanding23: while (true) {
try {
try {
binding = env3_0;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding42;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding42;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding42;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding42;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding42;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding42;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding42;
}
reducibleJoin41: while (true) {
if (value12) {
break reducibleJoin41;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
require(value11);
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin41;
}
break reduciblePort41;
}
env2_3(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
updateLinkForUserId = value4.updateLinkForUserId;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
binding = env3_7;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
DECLINED = binding.DECLINED;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value5 = Reflect.apply(updateLinkForUserId, value4, [a0, DECLINED]);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
if (value7) {
env2_3(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
reducibleJoin21: while (true) {
if (value8) {
break reducibleJoin21;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin21;
}
env2_3(false);
}
return undefined;
}
env2_3(false);
throw error;
}
function _fun96870() { // fn#96870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1162, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun96871() { // fn#96871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1233, offset: 0x0216a41e, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96873);
return _fun96874;
function* _fun96873(a0) { // fn#96873, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1253, offset: 0x0216a44d, size: 237 bytes, params: 2, frame: 18
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var updateLinkForUserId;
var INACTIVE;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding42: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_14) {
env2_4(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort41: while (true) {
exceptionLanding23: while (true) {
try {
try {
binding = env3_0;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding42;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding42;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding42;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding42;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding42;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding42;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding42;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding42;
}
reducibleJoin41: while (true) {
if (value12) {
break reducibleJoin41;
}
try {
} catch (error) {
break exceptionLanding42;
}
try {
require(value11);
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin41;
}
break reduciblePort41;
}
env2_4(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
updateLinkForUserId = value4.updateLinkForUserId;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
binding = env3_7;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
INACTIVE = binding.INACTIVE;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value5 = Reflect.apply(updateLinkForUserId, value4, [a0, INACTIVE]);
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
if (value7) {
env2_4(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
reducibleJoin21: while (true) {
if (value8) {
break reducibleJoin21;
}
try {
try {
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding23;
}
} catch (error) {
break exceptionLanding42;
}
break reducibleJoin21;
}
env2_4(false);
}
return undefined;
}
env2_4(false);
throw error;
}
function _fun96874() { // fn#96874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1424, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun96875() { // fn#96875, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1495, offset: 0x0216a53a, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96877);
return _fun96878;
function* _fun96877(a0) { // fn#96877, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1515, offset: 0x0216a569, size: 226 bytes, params: 2, frame: 16
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var removeLinkForUserId;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding40: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_14) {
env2_5(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort39: while (true) {
exceptionLanding21: while (true) {
try {
try {
binding = env3_0;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding40;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding40;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding40;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding40;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding40;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding40;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding40;
}
reducibleJoin39: while (true) {
if (value12) {
break reducibleJoin39;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
require(value11);
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin39;
}
break reduciblePort39;
}
env2_5(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
removeLinkForUserId = value4.removeLinkForUserId;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value5 = Reflect.apply(removeLinkForUserId, value4, [a0]);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
if (value7) {
env2_5(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
reducibleJoin19: while (true) {
if (value8) {
break reducibleJoin19;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin19;
}
env2_5(false);
}
return undefined;
}
env2_5(false);
throw error;
}
function _fun96878() { // fn#96878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1675, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function* _fun96880() { // fn#96880, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1749, offset: 0x0216a656, size: 222 bytes, params: 1, frame: 16
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var getLinkCodeForCurrentUser;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding40: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__;
if (!FamilyCenterStore) {
UserLinkStatus(true);
value3 = environment.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort39: while (true) {
exceptionLanding21: while (true) {
try {
try {
binding = env2_0;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin5;
}
try {
binding = env2_0;
} catch (error) {
break exceptionLanding40;
}
try {
binding3 = env2_2;
} catch (error) {
break exceptionLanding40;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding40;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding40;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding40;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding40;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding40;
}
reducibleJoin39: while (true) {
if (value12) {
break reducibleJoin39;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
require(value11);
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin39;
}
break reduciblePort39;
}
UserLinkStatus(false);
return undefined;
}
try {
try {
binding2 = env2_2;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
getLinkCodeForCurrentUser = value4.getLinkCodeForCurrentUser;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value5 = Reflect.apply(getLinkCodeForCurrentUser, value4, []);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
if (value7) {
UserLinkStatus(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
reducibleJoin19: while (true) {
if (value8) {
break reducibleJoin19;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin19;
}
UserLinkStatus(false);
}
return undefined;
}
UserLinkStatus(false);
throw error;
}
function _fun96881() { // fn#96881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1931, offset: 0x0216a734, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96883);
return _fun96884;
function* _fun96883(a0) { // fn#96883, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:1951, offset: 0x0216a763, size: 226 bytes, params: 2, frame: 16
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var fetchTeenActivity;
var teenActivity;
var value5;
var value6;
var value7;
var error;
var binding3;
var value8;
var APIError;
var prototype;
var aPIError;
var value10;
var value11;
exceptionLanding40: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_10) {
env2_11(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort39: while (true) {
exceptionLanding21: while (true) {
try {
try {
binding = env3_1;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding40;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding40;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding40;
}
try {
value8 = binding(property);
} catch (error) {
break exceptionLanding40;
}
try {
APIError = value8.APIError;
} catch (error) {
break exceptionLanding40;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding40;
}
try {
value10 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
value11 = require == null;
} catch (error) {
break exceptionLanding40;
}
reducibleJoin39: while (true) {
if (value11) {
break reducibleJoin39;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
require(value10);
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin39;
}
break reduciblePort39;
}
env2_11(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
fetchTeenActivity = value4.fetchTeenActivity;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
teenActivity = Reflect.apply(fetchTeenActivity, value4, [a0]);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
yield teenActivity;
try {
try {
value5 = undefined;
value6 = false;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
if (value6) {
env2_11(false);
return value5;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value7 = importDefault == null;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
reducibleJoin19: while (true) {
if (value7) {
break reducibleJoin19;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin19;
}
env2_11(false);
}
return undefined;
}
env2_11(false);
throw error;
}
function _fun96884() { // fn#96884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2109, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun96885() { // fn#96885, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2181, offset: 0x0216a845, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96887);
return _fun96888;
function* _fun96887(a0, a1) { // fn#96887, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2201, offset: 0x0216a874, size: 230 bytes, params: 3, frame: 18
var value;
var value2;
var value3;
var binding;
var binding2;
var property;
var value4;
var requestLink;
var value5;
var value6;
var value7;
var value8;
var error;
var binding3;
var value9;
var APIError;
var prototype;
var aPIError;
var value11;
var value12;
exceptionLanding40: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__;
if (!env2_8) {
env2_9(true);
value3 = environment.__proto__.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort39: while (true) {
exceptionLanding21: while (true) {
try {
try {
binding = env3_1;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin5;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding40;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding40;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding40;
}
try {
value9 = binding(property);
} catch (error) {
break exceptionLanding40;
}
try {
APIError = value9.APIError;
} catch (error) {
break exceptionLanding40;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding40;
}
try {
value11 = aPIError instanceof Object ? aPIError : undefined;
} catch (error) {
break exceptionLanding40;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
value12 = require == null;
} catch (error) {
break exceptionLanding40;
}
reducibleJoin39: while (true) {
if (value12) {
break reducibleJoin39;
}
try {
} catch (error) {
break exceptionLanding40;
}
try {
require(value11);
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin39;
}
break reduciblePort39;
}
env2_9(false);
return undefined;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
property = binding2[5];
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
requestLink = value4.requestLink;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value5 = Reflect.apply(requestLink, value4, [a0, a1]);
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
yield value5;
try {
try {
value6 = undefined;
value7 = false;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
if (value7) {
env2_9(false);
return value6;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
value8 = importDefault == null;
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
reducibleJoin19: while (true) {
if (value8) {
break reducibleJoin19;
}
try {
try {
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
try {
try {
importDefault();
} catch (error) {
break exceptionLanding21;
}
} catch (error) {
break exceptionLanding40;
}
break reducibleJoin19;
}
env2_9(false);
}
return undefined;
}
env2_9(false);
throw error;
}
function _fun96888() { // fn#96888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2357, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun96889() { // fn#96889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2429, offset: 0x0216a95a, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun96891);
return _fun96892;
function* _fun96891(a0) { // fn#96891, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2449, offset: 0x0216a989, size: 304 bytes, params: 2, frame: 24
var value;
var value2;
var binding;
var getActionsForDisplayType;
var value3;
var length;
var property;
var getStartId;
var value4;
var getSelectedTeenId;
var value5;
var value6;
var binding2;
var property2;
var value7;
var fetchMoreTeenActivity;
var event_id;
var moreTeenActivity;
var value8;
var value9;
var error;
var binding3;
var APIError;
var prototype;
var aPIError;
var value10;
exceptionLanding37: while (true) {
value = undefined;
value2 = false;
if (value2) {
return value;
}
value = environment.__proto__.__proto__.__proto__;
binding = env3_6;
getActionsForDisplayType = binding.getActionsForDisplayType;
value3 = Reflect.apply(getActionsForDisplayType, binding, [a0]);
length = value3.length;
property = value3[length - 1];
getStartId = binding.getStartId;
value4 = Reflect.apply(getStartId, binding, []);
getSelectedTeenId = binding.getSelectedTeenId;
value5 = Reflect.apply(getSelectedTeenId, binding, []);
value6 = environment.__proto__.__proto__;
if (!env2_12) {
reducibleJoin38: while (true) {
if (value4 == null) {
break reducibleJoin38;
}
if (value5 == null) {
break reducibleJoin38;
}
env2_13(true);
reducibleJoin6: while (true) {
reduciblePort36: while (true) {
exceptionLanding20: while (true) {
try {
try {
binding = env3_1;
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
break reducibleJoin6;
}
try {
binding = env3_0;
} catch (error) {
break exceptionLanding37;
}
try {
binding3 = env3_2;
} catch (error) {
break exceptionLanding37;
}
try {
property = binding3[6];
} catch (error) {
break exceptionLanding37;
}
try {
value = binding(property);
} catch (error) {
break exceptionLanding37;
}
try {
APIError = value.APIError;
} catch (error) {
break exceptionLanding37;
}
try {
prototype = APIError.prototype;
} catch (error) {
break exceptionLanding37;
}
try {
} catch (error) {
break exceptionLanding37;
}
try {
aPIError = new APIError();
} catch (error) {
break exceptionLanding37;
}
try {
value = aPIError instanceof Object ? aPIError : value;
} catch (error) {
break exceptionLanding37;
}
try {
} catch (error) {
break exceptionLanding37;
}
try {
value10 = require == null;
} catch (error) {
break exceptionLanding37;
}
reducibleJoin36: while (true) {
if (value10) {
break reducibleJoin36;
}
try {
} catch (error) {
break exceptionLanding37;
}
try {
require(value);
} catch (error) {
break exceptionLanding37;
}
break reducibleJoin36;
}
break reduciblePort36;
}
env2_13(false);
break reducibleJoin38;
}
try {
try {
binding2 = env3_2;
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
try {
try {
property2 = binding2[5];
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
try {
try {
value7 = binding(property2);
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
try {
try {
fetchMoreTeenActivity = value7.fetchMoreTeenActivity;
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
try {
try {
event_id = property.event_id;
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
try {
try {
moreTeenActivity = Reflect.apply(fetchMoreTeenActivity, value7, [value5, a0, value4, event_id]);
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
yield moreTeenActivity;
try {
try {
value8 = undefined;
value9 = false;
} catch (error) {
break exceptionLanding20;
}
} catch (error) {
break exceptionLanding37;
}
if (value9) {
env2_13(false);
return value8;
}
env2_13(false);
break reducibleJoin38;
}
}
return undefined;
}
env2_13(false);
throw error;
}
function _fun96892() { // fn#96892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12814:2724, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
}
}
global.__d(_fun96861, 12624, [5, 57, 31, 5116, 5117, 5118, 4131,
2]) /* metro module 12624, dependencies: [5, 57, 31, 5116, 5117, 5118, 4131, 2] */;