104 lines
6.3 KiB
TypeScript
104 lines
6.3 KiB
TypeScript
/* Metro module 1847; source: modules/keyboard/KeyboardStateDebugging.tsx; dependencies: [3, 478, 2] */
|
|
function _fun19989(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:6, offset: 0x00ebbcb4, size: 237 bytes, params: 8, frame: 18
|
|
var object2;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = importDefault(3) /* metro dependency 3: Logger */;
|
|
value = new value('KeyboardStateDebugging');
|
|
object2 = {channelSafeAreaBottomLayoutHeightChanged: channelSafeAreaBottomLayoutHeightChanged,
|
|
channelSafeAreaBottomLayoutHeightMismatch: channelSafeAreaBottomLayoutHeightMismatch,
|
|
keyboardControllerKeyboardWillShow: keyboardControllerKeyboardWillShow,
|
|
keyboardControllerKeyboardDidShow: keyboardControllerKeyboardDidShow,
|
|
keyboardControllerWorkletEvent: keyboardControllerWorkletEvent,
|
|
keyboardControllerKeyboardWillHide: keyboardControllerKeyboardWillHide,
|
|
keyboardControllerKeyboardDidHide: keyboardControllerKeyboardDidHide,
|
|
reactNativeKeyboardDidShow: reactNativeKeyboardDidShow, reactNativeKeyboardDidHide: reactNativeKeyboardDidHide,
|
|
markPotentialBadState: markPotentialBadState};
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/keyboard/KeyboardStateDebugging.tsx');
|
|
exports.default = object2;
|
|
}
|
|
|
|
function channelSafeAreaBottomLayoutHeightChanged(a0) { // fn#19990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:140, offset: 0x00ebbda1, size: 72 bytes, params: 2, frame: 14
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.info('ChannelSafeAreaBottom layout height changed.', {layoutHeight: a0});
|
|
}
|
|
}
|
|
|
|
function channelSafeAreaBottomLayoutHeightMismatch(a0, a1) { // fn#19991, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:274, offset: 0x00ebbde9, size: 81 bytes, params: 3, frame: 14
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.warn('ChannelSafeAreaBottom layout height mismatch.', {layoutHeight: a0, reportedKeyboardHeight: a1});
|
|
}
|
|
}
|
|
|
|
function keyboardControllerKeyboardWillShow(a0) { // fn#19992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:437, offset: 0x00ebbe3a, size: 71 bytes, params: 2, frame: 14
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.info('KeyboardController keyboardWillShow.', {height: a0});
|
|
}
|
|
}
|
|
|
|
function keyboardControllerKeyboardDidShow(a0) { // fn#19993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:551, offset: 0x00ebbe81, size: 85 bytes, params: 2, frame: 15
|
|
var binding;
|
|
const value = a1;
|
|
const r1 = value !== undefined ? value : false;
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
binding = env0_2;
|
|
binding.info('KeyboardController keyboardDidShow.', {height: a0, rootProvider: r1});
|
|
}
|
|
}
|
|
|
|
function keyboardControllerWorkletEvent(a0, a1) { // fn#19994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:683, offset: 0x00ebbed6, size: 111 bytes, params: 3, frame: 17
|
|
var binding;
|
|
const value = a2;
|
|
const r5 = value !== undefined ? value : false;
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
binding = env0_2;
|
|
binding.info('KeyboardController worklet ' + a0 + '.', {height: a1, rootProvider: r5});
|
|
}
|
|
}
|
|
|
|
function keyboardControllerKeyboardWillHide() { // fn#19995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:811, offset: 0x00ebbf45, size: 61 bytes, params: 1, frame: 12
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.info('KeyboardController keyboardWillHide.');
|
|
}
|
|
}
|
|
|
|
function keyboardControllerKeyboardDidHide() { // fn#19996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:913, offset: 0x00ebbf82, size: 78 bytes, params: 1, frame: 15
|
|
var binding;
|
|
const value = a0;
|
|
const r1 = value !== undefined ? value : false;
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
binding = env0_2;
|
|
binding.info('KeyboardController keyboardDidHide.', {rootProvider: r1});
|
|
}
|
|
}
|
|
|
|
function reactNativeKeyboardDidShow(a0, a1) { // fn#19997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1034, offset: 0x00ebbfd0, size: 78 bytes, params: 3, frame: 14
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.info('ReactNativeKeyboard didShow.', {height: a0, location: a1});
|
|
}
|
|
}
|
|
|
|
function reactNativeKeyboardDidHide(a0) { // fn#19998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1145, offset: 0x00ebc01e, size: 71 bytes, params: 2, frame: 14
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.info('ReactNativeKeyboard didHide.', {location: a0});
|
|
}
|
|
}
|
|
|
|
function markPotentialBadState() { // fn#19999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1974:1245, offset: 0x00ebc065, size: 60 bytes, params: 1, frame: 12
|
|
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
|
if (!platformUtilsModule.isIOS()) {
|
|
env0_2.warn('Marking potential bad state from user, check logs above.');
|
|
}
|
|
}
|
|
|