Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,132 @@
|
||||
/* Metro module 13243; source: modules/webauthn/WebAuthnStore.tsx; dependencies: [6, 7, 15, 17, 18, 1909, 566, 694, 2] */
|
||||
function _fun101003(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#101003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:6, offset: 0x02204c9c, size: 371 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_4 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_5 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_6 = importDefault(18) /* metro dependency 18 */;
|
||||
let env0_8 = [];
|
||||
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
||||
let value = _fun101007(Store);
|
||||
value.displayName = 'WebAuthnStore';
|
||||
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {LOGOUT: function() {
|
||||
env0_8 = [];
|
||||
env0_7 = false;
|
||||
env0_9 = false;
|
||||
}, MFA_WEBAUTHN_CREDENTIALS_LOADED: MFA_WEBAUTHN_CREDENTIALS_LOADED, AUTHENTICATOR_CREATE: AUTHENTICATOR_CREATE,
|
||||
AUTHENTICATOR_UPDATE: AUTHENTICATOR_UPDATE, AUTHENTICATOR_DELETE: AUTHENTICATOR_DELETE,
|
||||
WEBAUTHN_TRIGGER_REGISTER: WEBAUTHN_TRIGGER_REGISTER,
|
||||
WEBAUTHN_CLEAR_REGISTER_TRIGGER: WEBAUTHN_CLEAR_REGISTER_TRIGGER});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/webauthn/WebAuthnStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_101004() { // fn#101004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:148, offset: 0x02204e0f, size: 98 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_101004_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun101007(a0) { // fn#101007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:366, offset: 0x02204e71, size: 149 bytes, params: 2, frame: 16
|
||||
const closure = WebAuthnStore;
|
||||
env0_6(closure, a0);
|
||||
return env0_3(closure, [{key: 'hasFetchedCredentials', value: value_101009}, {key: 'hasCredentials',
|
||||
get: get_101010}, {key: 'getCredentials', value: value_101011}, {key: 'hasPendingRegisterTrigger',
|
||||
value: value_101012}]);
|
||||
}
|
||||
|
||||
function MFA_WEBAUTHN_CREDENTIALS_LOADED({credentials}) { // fn#101014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:1009, offset: 0x02204f33, size: 45 bytes, params: 2, frame: 4
|
||||
let r0 = !(env0_8 === credentials) && true;
|
||||
r0 = !env0_7 || r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
function AUTHENTICATOR_CREATE({credential}) { // fn#101015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:1140, offset: 0x02204f60, size: 126 bytes, params: 2, frame: 17
|
||||
const type = credential.type;
|
||||
const AuthenticatorType = (require(1909) /* metro dependency 1909: Server */).AuthenticatorType;
|
||||
const WEBAUTHN = AuthenticatorType.WEBAUTHN;
|
||||
if (type !== WEBAUTHN) {
|
||||
return false;
|
||||
}
|
||||
let binding = env0_8;
|
||||
if (binding.find(function({id}) {
|
||||
return id === credential.id;
|
||||
}) !== undefined) {
|
||||
return false;
|
||||
}
|
||||
binding = env0_8;
|
||||
const items2 = [];
|
||||
const value2 = arraySpread(items2, binding, 0, require);
|
||||
items2[value2] = credential;
|
||||
value2 + 1;
|
||||
}
|
||||
|
||||
function AUTHENTICATOR_UPDATE({credential}) { // fn#101017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:1315, offset: 0x02204fde, size: 92 bytes, params: 2, frame: 14
|
||||
const type = credential.type;
|
||||
const AuthenticatorType = (require(1909) /* metro dependency 1909: Server */).AuthenticatorType;
|
||||
const WEBAUTHN = AuthenticatorType.WEBAUTHN;
|
||||
if (type !== WEBAUTHN) {
|
||||
return false;
|
||||
}
|
||||
env0_8 = env0_8.map(function(a0) {
|
||||
var value = a0;
|
||||
return value.id !== credential.id ? value : credential;
|
||||
});
|
||||
}
|
||||
|
||||
function AUTHENTICATOR_DELETE({credential}) { // fn#101019, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:1474, offset: 0x02205058, size: 92 bytes, params: 2, frame: 14
|
||||
const type = credential.type;
|
||||
const AuthenticatorType = (require(1909) /* metro dependency 1909: Server */).AuthenticatorType;
|
||||
const WEBAUTHN = AuthenticatorType.WEBAUTHN;
|
||||
if (type !== WEBAUTHN) {
|
||||
return false;
|
||||
}
|
||||
env0_8 = env0_8.filter(function({id}) {
|
||||
return id !== credential.id;
|
||||
});
|
||||
}
|
||||
|
||||
function WEBAUTHN_TRIGGER_REGISTER() { // fn#101021, offset: 0x022050b4, size: 24 bytes, params: 1, frame: 2
|
||||
if (env0_9) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function WEBAUTHN_CLEAR_REGISTER_TRIGGER() { // fn#101022, offset: 0x022050cc, size: 22 bytes, params: 1, frame: 3
|
||||
if (env0_9) {
|
||||
return undefined;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function get_101010() { // fn#101010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13433:720, offset: 0x02204f06, size: 20 bytes, params: 1, frame: 2
|
||||
return env1_8.length > 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user