Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/* Metro module 12384; source: modules/clips/isClientClipsCapable.tsx; dependencies: [4291, 12383, 477, 2] */
|
||||
function _fun94346(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12570:6, offset: 0x021147d5, size: 124 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(4291) /* metro dependency 4291: Constants */).Features;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/clips/isClientClipsCapable.tsx');
|
||||
exports.default = isClientClipsCapable;
|
||||
}
|
||||
|
||||
function isClientClipsCapable(a0) { // fn#94347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12570:197, offset: 0x02114851, size: 135 bytes, params: 2, frame: 15
|
||||
var r1;
|
||||
var r0;
|
||||
var isDesktop2;
|
||||
var mediaEngine;
|
||||
const ClipsExperiment = (require(12383) /* metro dependency 12383: ClipsExperiment */).ClipsExperiment;
|
||||
const getConfig = ClipsExperiment.getConfig;
|
||||
const ignorePlatformRestriction = Reflect.apply(getConfig, ClipsExperiment,
|
||||
[{location: 'isClipsClientCapable'}]).ignorePlatformRestriction;
|
||||
if (ignorePlatformRestriction) {
|
||||
r0 = ignorePlatformRestriction;
|
||||
} else {
|
||||
isDesktop2 = (importAll(477) /* metro dependency 477: PlatformUtils */).isDesktop();
|
||||
if (isDesktop2) {
|
||||
mediaEngine = a0.getMediaEngine();
|
||||
r1 = mediaEngine.supports(Features.CLIPS);
|
||||
} else {
|
||||
r1 = isDesktop2;
|
||||
}
|
||||
r0 = r1;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user