Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,39 @@
|
||||
/* Metro module 15441; source: modules/external_pip/useExternalPipAspectRatioUpdater.native.tsx; dependencies: [31, 10684, 2] */
|
||||
function _fun118147(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15638:6, offset: 0x024cdc00, size: 117 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importAll(31) /* metro dependency 31 */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/external_pip/useExternalPipAspectRatioUpdater.native.tsx');
|
||||
exports.default = useExternalPipAspectRatioUpdater;
|
||||
}
|
||||
|
||||
function useExternalPipAspectRatioUpdater(a0, a1, a2) { // fn#118148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15638:214, offset: 0x024cdc75, size: 85 bytes, params: 4, frame: 14
|
||||
const env0_0 = a1;
|
||||
const env0_1 = a2;
|
||||
const binding = env0_2;
|
||||
var env0_2 = binding.useRef(a2);
|
||||
binding.useInsertionEffect(_fun118149);
|
||||
binding.useEffect(_fun118150, [a1]);
|
||||
}
|
||||
|
||||
function _fun118150() { // fn#118150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15638:336, offset: 0x024cdcca, size: 100 bytes, params: 1, frame: 15
|
||||
const targetDimensions = require.getTargetDimensions(env0_2.current);
|
||||
const defaultImport = importDefault(10684) /* metro dependency 10684: ExternalPipAndroid */;
|
||||
defaultImport.setPipAspectRatio(targetDimensions.width, targetDimensions.height);
|
||||
return require.subscribeFromItem(_fun118151);
|
||||
}
|
||||
|
||||
function _fun118151() { // fn#118151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15638:452, offset: 0x024cdd2e, size: 127 bytes, params: 1, frame: 14
|
||||
var object;
|
||||
let value = environment.__proto__;
|
||||
value = require.getTargetDimensions(env1_2.current);
|
||||
const width = value.width;
|
||||
const height = value.height;
|
||||
if (!(width === env0_0.width && height === env0_0.height)) {
|
||||
object = {width: width, height: height};
|
||||
value = environment.__proto__.__proto__;
|
||||
value = importDefault(10684) /* metro dependency 10684: ExternalPipAndroid */;
|
||||
value.setPipAspectRatio(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user