Files
discord-decomp/sources/modules/unique_usernames/UniqueUsernamesActionCreators.tsx
T
2026-07-27 16:20:00 +03:00

4253 lines
200 KiB
TypeScript

/* Metro module 13286; source: modules/unique_usernames/UniqueUsernamesActionCreators.tsx; dependencies: [5, 661, 1244, 694, 507, 683, 5046, 480, 4131, 2] */
function _fun101301(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#101301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:6, offset: 0x0220fdb2, size: 183 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const constantsModule = require(661) /* metro dependency 661: Constants */;
const env0_4 = constantsModule.AnalyticEvents;
const env0_5 = constantsModule.Endpoints;
object2 = {resetSuggestions: resetSuggestions, fetchSuggestionsRegistration: fetchSuggestionsRegistration,
attemptUsername: attemptUsername};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/unique_usernames/UniqueUsernamesActionCreators.tsx');
exports.default = object2;
}
function resetSuggestions() { // fn#101302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:175, offset: 0x0220fe69, size: 49 bytes, params: 1, frame: 12
return (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'UNIQUE_USERNAME_SUGGESTIONS_RESET'});
}
function fetchSuggestionsRegistration(a0) { // fn#101303, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:269, offset: 0x0220fe9a, size: 53 bytes, params: 2, frame: 12
const value = a1;
const env0_0 = a0;
const env0_1 = value !== undefined ? value : 1500;
return env0_3(_fun101305)();
}
function attemptUsername(a0) { // fn#101306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:723, offset: 0x02210000, size: 77 bytes, params: 2, frame: 14
const value = a1;
const value2 = a2;
const value3 = a3;
const env0_0 = a0;
const env0_1 = value !== undefined ? value : 'modal';
const env0_2 = value2 !== undefined ? value2 : false;
return (value3 !== undefined ? value3 : false)(_fun101308)();
}
function* _fun101305() { // fn#101305, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:284, offset: 0x0220feda, size: 294 bytes, params: 1, frame: 22
var object4;
var r11;
var username;
var binding2;
var property;
var value5;
var HTTP;
var get;
var POMELO_SUGGESTIONS_UNAUTHED;
var value7;
var object3;
var value8;
var value9;
var value10;
var ok;
var body;
var value11;
var value12;
var binding3;
var value13;
var value14;
var error;
if (false) {
return undefined;
}
value = undefined;
let binding = env2_1;
binding(env2_2[3]).dispatch({type: 'UNIQUE_USERNAME_SUGGESTIONS_RESET'});
reducibleJoin3: while (true) {
reduciblePort58: while (true) {
exceptionLanding57: while (true) {
try {
binding = env2_0;
} catch (error) {
break exceptionLanding57;
}
break reducibleJoin3;
}
break reduciblePort58;
}
return value;
}
try {
binding2 = env2_2;
} catch (error) {
break exceptionLanding57;
}
try {
property = binding2[4];
} catch (error) {
break exceptionLanding57;
}
try {
value5 = binding(property);
} catch (error) {
break exceptionLanding57;
}
try {
HTTP = value5.HTTP;
} catch (error) {
break exceptionLanding57;
}
try {
get = HTTP.get;
} catch (error) {
break exceptionLanding57;
}
try {
object4 = {};
} catch (error) {
break exceptionLanding57;
}
try {
binding = env2_5;
} catch (error) {
break exceptionLanding57;
}
try {
POMELO_SUGGESTIONS_UNAUTHED = binding.POMELO_SUGGESTIONS_UNAUTHED;
} catch (error) {
break exceptionLanding57;
}
try {
object4.url = POMELO_SUGGESTIONS_UNAUTHED;
} catch (error) {
break exceptionLanding57;
}
try {
} catch (error) {
break exceptionLanding57;
}
try {
value7 = require == null;
} catch (error) {
break exceptionLanding57;
}
reducibleJoin22: while (true) {
if (value7) {
r11 = value;
break reducibleJoin22;
}
try {
object3 = {};
} catch (error) {
break exceptionLanding57;
}
try {
} catch (error) {
break exceptionLanding57;
}
try {
object3.global_name = require;
} catch (error) {
break exceptionLanding57;
}
r11 = object3;
break reducibleJoin22;
}
try {
object4.query = r11;
} catch (error) {
break exceptionLanding57;
}
try {
} catch (error) {
break exceptionLanding57;
}
try {
object4.timeout = importDefault;
} catch (error) {
break exceptionLanding57;
}
try {
object4.rejectWithError = true;
} catch (error) {
break exceptionLanding57;
}
try {
object4.failImmediatelyWhenRateLimited = true;
} catch (error) {
break exceptionLanding57;
}
try {
value8 = Reflect.apply(get, HTTP, [object4]);
} catch (error) {
break exceptionLanding57;
}
yield value8;
try {
value9 = undefined;
value10 = false;
} catch (error) {
break exceptionLanding57;
}
if (value10) {
return value9;
}
try {
ok = value9.ok;
} catch (error) {
break exceptionLanding57;
}
if (ok) {
try {
body = value9.body;
} catch (error) {
break exceptionLanding57;
}
try {
value11 = body == null;
} catch (error) {
break exceptionLanding57;
}
reducibleJoin41: while (true) {
if (value11) {
username = value;
break reducibleJoin41;
}
try {
username = body.username;
} catch (error) {
break exceptionLanding57;
}
break reducibleJoin41;
}
try {
value12 = username != null;
} catch (error) {
break exceptionLanding57;
}
reducibleJoin58: while (true) {
if (value12) {
try {
binding = env2_1;
} catch (error) {
break exceptionLanding57;
}
try {
binding3 = env2_2;
} catch (error) {
break exceptionLanding57;
}
try {
property = binding3[3];
} catch (error) {
break exceptionLanding57;
}
try {
value13 = binding(property);
} catch (error) {
break exceptionLanding57;
}
try {
dispatch = value13.dispatch;
} catch (error) {
break exceptionLanding57;
}
try {
object4 = {};
} catch (error) {
break exceptionLanding57;
}
try {
object4.type = 'UNIQUE_USERNAME_REGISTRATION_SUGGESTIONS_SUCCESS';
} catch (error) {
break exceptionLanding57;
}
try {
body = value9.body;
} catch (error) {
break exceptionLanding57;
}
try {
object4.suggestion = body;
} catch (error) {
break exceptionLanding57;
}
try {
} catch (error) {
break exceptionLanding57;
}
try {
object4.source = require;
} catch (error) {
break exceptionLanding57;
}
try {
value14 = Reflect.apply(dispatch, value13, [object4]);
} catch (error) {
break exceptionLanding57;
}
return value14;
}
break reducibleJoin58;
}
}
return value;
}
function* _fun101308() { // fn#101308, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13476:751, offset: 0x02210058, size: 1049 bytes, params: 1, frame: 28
var r4;
var r14;
var r13;
var r8;
var value5;
var binding;
var binding2;
var intl;
var value7;
var binding3;
var value9;
var binding4;
var binding5;
var property;
var value12;
var post;
var object5;
var POMELO_ATTEMPT;
var POMELO_ATTEMPT_UNAUTHED;
var object6;
var object7;
var binding6;
var value13;
var NetworkActionNames;
var object8;
var value14;
var value15;
var value16;
var body;
var taken;
var binding7;
var value17;
var track;
var POMELO_ERRORS;
var binding8;
var value18;
var dispatch;
var error;
var APIError;
var prototype;
var value19;
var aPIError;
var value20;
var anyErrorMessage;
var binding9;
var value22;
var value23;
var status;
var retryAfter;
var value24;
var binding10;
var value25;
if (false) {
return undefined;
}
if (RegExp('^[A-Za-z0-9_.]*$', '').test(require) === false) {
value9 = environment.__proto__.__proto__;
binding = env2_0;
binding4 = env2_2;
intl = binding(binding4[2]).intl;
r4 = intl.string(binding(binding4[2]).t.z7c4bP);
} else if (require.includes('..')) {
value7 = environment.__proto__.__proto__;
binding = env2_0;
binding3 = env2_2;
intl = binding(binding3[2]).intl;
r4 = intl.string(binding(binding3[2]).t['C7G+gr']);
} else if (require.length < 2) {
value5 = environment.__proto__.__proto__;
binding = env2_0;
binding2 = env2_2;
intl = binding(binding2[2]).intl;
r4 = intl.formatToPlainString(binding(binding2[2]).t.IpijXA, {'maxNum': 32, 'minNum': 2});
} else if (require.length > 32) {
value5 = environment.__proto__.__proto__;
binding = env2_0;
binding2 = env2_2;
intl = binding(binding2[2]).intl;
r4 = intl.formatToPlainString(binding(binding2[2]).t.IpijXA, {'maxNum': 32, 'minNum': 2});
} else {
r4 = undefined;
}
if (r4 != null) {
value24 = environment.__proto__.__proto__;
binding = env2_1;
binding10 = env2_2;
value25 = binding(binding10[5]);
value25.track(env2_4.POMELO_ERRORS, {reason: r4, username_error: true, location: importDefault,
one_click_flow: env1_3});
return binding(binding10[3]).dispatch({type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', username: require, error: r4});
}
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding5 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding5[6];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value12 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
post = value12.post;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_5;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
if (dependencyMap) {
try {
POMELO_ATTEMPT_UNAUTHED = binding.POMELO_ATTEMPT_UNAUTHED;
r14 = POMELO_ATTEMPT_UNAUTHED;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.url = r14;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object6 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object6.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.body = object6;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding6 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding6[7];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value13 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
NetworkActionNames = value13.NetworkActionNames;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
POMELO_ATTEMPT = NetworkActionNames.POMELO_ATTEMPT;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7.event = POMELO_ATTEMPT;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object8 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object8.requested_username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7.properties = object8;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.trackedActionData = object7;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value14 = Reflect.apply(post, value12, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
yield value14;
try {
value15 = undefined;
value16 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
if (value16) {
return value15;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
if (taken) {
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding7 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding7[5];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value17 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
track = value17.track;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
POMELO_ERRORS = binding.POMELO_ERRORS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {'reason': 'already_taken', 'username_error': true};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.location = importDefault;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env1_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.one_click_flow = binding;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(track, value17, [POMELO_ERRORS, object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding8 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding8[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value18 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
dispatch = value18.dispatch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.type = 'UNIQUE_USERNAME_ATTEMPT_SUCCESS';
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.taken = taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(dispatch, value18, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
}
} else {
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding8 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding8[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value18 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
dispatch = value18.dispatch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.type = 'UNIQUE_USERNAME_ATTEMPT_SUCCESS';
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.taken = taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(dispatch, value18, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
}
}
} else {
try {
POMELO_ATTEMPT = binding.POMELO_ATTEMPT;
r14 = POMELO_ATTEMPT;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.url = r14;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object6 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object6.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.body = object6;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding6 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding6[7];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value13 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
NetworkActionNames = value13.NetworkActionNames;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
POMELO_ATTEMPT = NetworkActionNames.POMELO_ATTEMPT;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7.event = POMELO_ATTEMPT;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object8 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object8.requested_username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object7.properties = object8;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.trackedActionData = object7;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value14 = Reflect.apply(post, value12, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
yield value14;
try {
value15 = undefined;
value16 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
if (value16) {
return value15;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true, location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE', error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
if (taken) {
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding7 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding7[5];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value17 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
track = value17.track;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
POMELO_ERRORS = binding.POMELO_ERRORS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {'reason': 'already_taken', 'username_error': true};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.location = importDefault;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env1_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.one_click_flow = binding;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(track, value17, [POMELO_ERRORS, object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding8 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding8[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value18 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
dispatch = value18.dispatch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.type = 'UNIQUE_USERNAME_ATTEMPT_SUCCESS';
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.taken = taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(dispatch, value18, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
}
} else {
try {
binding = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
binding8 = env2_2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
property = binding8[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
value18 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
dispatch = value18.dispatch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.type = 'UNIQUE_USERNAME_ATTEMPT_SUCCESS';
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.username = require;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
body = value15.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
taken = body.taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
object5.taken = taken;
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
return value;
}
try {
Reflect.apply(dispatch, value18, [object5]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_2[8]).APIError;
prototype = APIError.prototype;
value19 = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value20 = aPIError instanceof Object ? aPIError : value19;
anyErrorMessage = value20.getAnyErrorMessage();
r13 = anyErrorMessage ?? value;
binding = env2_1;
binding9 = env2_2;
value22 = binding(binding9[5]);
track = value22.track;
POMELO_ERRORS = env2_4.POMELO_ERRORS;
Reflect.apply(track, value22, [POMELO_ERRORS, {reason: r13, username_error: true,
location: importDefault,
one_click_flow: env1_3}]);
value23 = binding(binding9[3]);
dispatch = value23.dispatch;
status = value20.status;
r8 = status != null && value20.status < 500 ? value20.status === 401 ? value : r13 : value;
status = value20.status;
retryAfter = value20.retryAfter;
Reflect.apply(dispatch, value23, [{username: require, type: 'UNIQUE_USERNAME_ATTEMPT_FAILURE',
error: r8,
statusCode: status, retryAfter: retryAfter}]);
}
}
}
return value;
}