Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/* Metro module 5086; source: modules/webauthn/WebAuthnUtils.tsx; dependencies: [2] */
|
||||
function _fun44166(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#44166, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5264:6, offset: 0x0116987e, size: 85 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/webauthn/WebAuthnUtils.tsx');
|
||||
exports.encodeUserIdForWebAuthn = encodeUserIdForWebAuthn;
|
||||
}
|
||||
|
||||
function encodeUserIdForWebAuthn(a0) { // fn#44167, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5264:186, offset: 0x011698d3, size: 297 bytes, params: 2, frame: 18
|
||||
const Uint8Array = global.Uint8Array;
|
||||
let uint8Array = new Uint8Array(16);
|
||||
const DataView = global.DataView;
|
||||
const dataView = new DataView(uint8Array.buffer);
|
||||
dataView.setUint32(0, 821232635);
|
||||
dataView.setUint16(4, 35878);
|
||||
dataView.setUint16(6, 20307);
|
||||
const setBigUint64 = dataView.setBigUint64;
|
||||
const BigInt = global.BigInt;
|
||||
Reflect.apply(setBigUint64, dataView, [8, BigInt(a0)]);
|
||||
const String = global.String;
|
||||
const fromCharCode = String.fromCharCode;
|
||||
const items2 = [];
|
||||
arraySpread(items2, uint8Array, 0, dataView);
|
||||
uint8Array = apply(fromCharCode, items2, String, dataView);
|
||||
uint8Array = global.btoa(uint8Array);
|
||||
uint8Array = uint8Array.replace(RegExp('\\+', 'g'), '-');
|
||||
uint8Array = uint8Array.replace(RegExp('\\/', 'g'), '_');
|
||||
return uint8Array.replace(RegExp('=', 'g'), '');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user