26 lines
1.3 KiB
TypeScript
26 lines
1.3 KiB
TypeScript
/* Metro module 4245; source: modules/remote_auth/QRLoginUtils.tsx; dependencies: [1471, 2] */
|
|
function _fun35274(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4417:6, offset: 0x0106d514, size: 115 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = RegExp('^\\/ra\\/([\\w-]+)$', '');
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/remote_auth/QRLoginUtils.tsx');
|
|
exports.findRemoteAuthFingerprint = findRemoteAuthFingerprint;
|
|
}
|
|
|
|
function findRemoteAuthFingerprint(a0, a1) { // fn#35275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4417:215, offset: 0x0106d587, size: 89 bytes, params: 3, frame: 15
|
|
var value3;
|
|
const value = null;
|
|
if (value != a0) {
|
|
if (value == a1) {
|
|
return value;
|
|
}
|
|
var defaultImport = importDefault(1471) /* metro dependency 1471: URLUtils */;
|
|
if (defaultImport.isDiscordHostname(a0)) {
|
|
value3 = a1.match(env0_2);
|
|
return value != value3 ? value3[1] : value;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
|