Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,27 @@
/* Metro module 11683; source: modules/app_dms/useShowTryItOutButtonInAppLauncher.tsx; dependencies: [10657, 8869, 8045, 2] */
function _fun89539(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#89539, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11869:6, offset: 0x02012b1a, size: 103 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_dms/useShowTryItOutButtonInAppLauncher.tsx');
exports.default = useShowTryItOutButtonInAppLauncher;
}
function useShowTryItOutButtonInAppLauncher({context, application, botUserId}) { // fn#89540, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11869:190, offset: 0x02012b81, size: 172 bytes, params: 2, frame: 18
var r1;
var r0;
const value3 = (require(10657) /* metro dependency 10657: getPrimaryAppCommand */).useIsPrimaryAppCommandUsableInAppDM({context: context,
applicationId: application.id, botUserId: botUserId});
const value4 = (importDefault(8869) /* metro dependency 8869: useIsAppDM */)(context.type !== 'channel' ? undefined : context.channel);
let value = require(8045) /* metro dependency 8045: canLaunchFrame */;
value = value.canLaunchFrame(application);
if (value) {
r0 = !value;
} else {
r1 = value3 && botUserId != null;
r1 = r1 && !value4;
r0 = r1;
}
return r0;
}