2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 1877
|
|
|
|
|
// Function ID: 1878
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useSystemKeyboardHeight
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1480, 1481, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, getSystemKeyboardHeight
|
|
|
|
|
|
2026-09-05 10:56:28 +00:00
|
|
|
// Module 1877 (useSystemKeyboardHeight)
|
2026-09-10 05:38:07 +00:00
|
|
|
import AppEntryKeyContext from "AppEntryKeyContext" /* 1480 */;
|
|
|
|
|
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1481 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
let closure_3 = { excludeSafeAreaInsets: false };
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/useSystemKeyboardHeight.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useSystemKeyboardHeight() {
|
|
|
|
|
let tmp = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
|
|
|
|
tmp = closure_3;
|
|
|
|
|
}
|
|
|
|
|
let flag = tmp.excludeSafeAreaInsets;
|
|
|
|
|
if (flag === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
closure_1 = AppEntryKeyContext.useAppEntryKey();
|
|
|
|
|
return KeyboardUIStoreDefault((arg0) => flag ? arg0.byAppEntry[closure_1].keyboardHeightExcludingSafeAreaInsets : arg0.byAppEntry[closure_1].keyboardHeight);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-07-29 08:29:29 +00:00
|
|
|
export const getSystemKeyboardHeight = function getSystemKeyboardHeight(arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
|
|
|
|
tmp = closure_3;
|
|
|
|
|
}
|
|
|
|
|
let flag = tmp.excludeSafeAreaInsets;
|
|
|
|
|
if (flag === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
let DEFAULT_APP_ENTRY_KEY = tmp.appEntryKey;
|
|
|
|
|
if (DEFAULT_APP_ENTRY_KEY === undefined) {
|
2026-09-10 05:38:07 +00:00
|
|
|
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp4 = KeyboardUIStoreDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY];
|
2026-07-20 16:05:17 +00:00
|
|
|
return flag ? tmp4.keyboardHeightExcludingSafeAreaInsets : tmp4.keyboardHeight;
|
|
|
|
|
};
|