// Module ID: 11683 // Function ID: 11684 // Name: useKeyboardStateSharedValue // Dependencies: [1481, 4566, 6057, 1879, 4703, 11065, 2] // Exports: default, getKeyboardStateWorklet // Module 11683 (useKeyboardStateSharedValue) import updateSharedValueIfChangedDefault from "updateSharedValueIfChanged" /* 11065 */; import subscribeToKeyboardUIStore from "subscribeToKeyboardUIStore" /* 1481 */; const ReanimatedRexport = fn(4566); const obj2 = { customKeyboardHeight: null, keyboardHeight: null, keyboardType: null }; const useCustomKeyboardHeight = fn(6057); obj2.customKeyboardHeight = useCustomKeyboardHeight.getCustomKeyboardHeight(); const useSystemKeyboardHeight = fn(1879); obj2.keyboardHeight = useSystemKeyboardHeight.getSystemKeyboardHeight(); const useKeyboardType = fn(4703); obj2.keyboardType = useKeyboardType.getKeyboardType(); const mutable = ReanimatedRexport.makeMutable(obj2); subscribeToKeyboardUIStore((arg0) => { ({ customKeyboardHeight, keyboardHeight, keyboardType } = arg0); updateSharedValueIfChangedDefault(mutable, { customKeyboardHeight, keyboardHeight, keyboardType }); }); function getKeyboardStateWorklet() { return mutable.get(); } getKeyboardStateWorklet.__closure = { keyboardStateSharedValue: mutable }; getKeyboardStateWorklet.__workletHash = 1081829024717; getKeyboardStateWorklet.__initData = { code: "function getKeyboardStateWorklet_useKeyboardStateSharedValueNativeTsx1(){const{keyboardStateSharedValue}=this.__closure;return keyboardStateSharedValue.get();}" }; const size = fn(2); const result = size.fileFinishedImporting("modules/keyboard/native/useKeyboardStateSharedValue.native.tsx"); export default function useKeyboardStateSharedValue() { return mutable; }; export { getKeyboardStateWorklet };