Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
73 lines
3.3 KiB
TypeScript
73 lines
3.3 KiB
TypeScript
// Module ID: 14663
|
|
// Function ID: 14664
|
|
// Name: AnimatedKeyboardProviderController
|
|
// Dependencies: [19, 21, 4373, 1625, 2]
|
|
|
|
// Module 14663 (AnimatedKeyboardProviderController)
|
|
import KeyboardChatScrollView from "KeyboardChatScrollView" /* 1625 */;
|
|
import ReanimatedRexport2 from "ReanimatedRexport" /* 4373 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsxProd = fn(21);
|
|
({ jsx: c2, jsxs: c3 } = jsxProd);
|
|
let ReanimatedRexport = fn(4373);
|
|
const mutable = ReanimatedRexport.makeMutable(0);
|
|
ReanimatedRexport = fn(4373);
|
|
const mutable1 = ReanimatedRexport.makeMutable(fn(4373).KeyboardState.UNKNOWN);
|
|
const __initData = { code: "function AnimatedKeyboardProviderControllerTsx1(e){const{animatedKeyboardState,KeyboardState}=this.__closure;animatedKeyboardState.set(e.height===0?KeyboardState.CLOSED:KeyboardState.OPEN);}" };
|
|
const __initData2 = { code: "function AnimatedKeyboardProviderControllerTsx2(e){const{animatedKeyboardHeight}=this.__closure;animatedKeyboardHeight.set(e.height);}" };
|
|
const __initData3 = { code: "function AnimatedKeyboardProviderControllerTsx3(e){const{animatedKeyboardState,KeyboardState,animatedKeyboardHeight}=this.__closure;animatedKeyboardState.set(e.height===0?KeyboardState.CLOSED:KeyboardState.OPEN);animatedKeyboardHeight.set(e.height);}" };
|
|
let closure_9 = noop.memo(() => {
|
|
const obj2 = { onStart: null, onMove: null, onEnd: null };
|
|
const fn = function o(height) {
|
|
if (0 === height.height) {
|
|
let OPEN = ReanimatedRexport2.KeyboardState.CLOSED;
|
|
} else {
|
|
OPEN = ReanimatedRexport2.KeyboardState.OPEN;
|
|
}
|
|
const result = mutable1.set(OPEN);
|
|
};
|
|
const obj = KeyboardChatScrollView;
|
|
fn.__closure = { animatedKeyboardState: mutable1, KeyboardState: ReanimatedRexport2.KeyboardState };
|
|
fn.__workletHash = 12130162639136;
|
|
fn.__initData = __initData;
|
|
obj2.onStart = fn;
|
|
const fn2 = function t(height) {
|
|
const result = mutable.set(height.height);
|
|
};
|
|
fn2.__closure = { animatedKeyboardHeight: mutable };
|
|
fn2.__workletHash = 1398293011995;
|
|
fn2.__initData = __initData2;
|
|
obj2.onMove = fn2;
|
|
const fn3 = function e(height) {
|
|
if (0 === height.height) {
|
|
let OPEN = ReanimatedRexport2.KeyboardState.CLOSED;
|
|
} else {
|
|
OPEN = ReanimatedRexport2.KeyboardState.OPEN;
|
|
}
|
|
const result = mutable1.set(OPEN);
|
|
const result1 = mutable.set(height.height);
|
|
};
|
|
const obj3 = { animatedKeyboardState: mutable1, KeyboardState: ReanimatedRexport2.KeyboardState };
|
|
const obj4 = { animatedKeyboardHeight: mutable };
|
|
fn3.__closure = { animatedKeyboardState: mutable1, KeyboardState: ReanimatedRexport2.KeyboardState, animatedKeyboardHeight: mutable };
|
|
fn3.__workletHash = 10688534401196;
|
|
fn3.__initData = __initData3;
|
|
obj2.onEnd = fn3;
|
|
obj.useKeyboardHandler(obj2, []);
|
|
return null;
|
|
});
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/keyboard/native/AnimatedKeyboardProviderController.tsx");
|
|
|
|
export default {
|
|
Component(children) {
|
|
const obj = { enabled: true, navigationBarTranslucent: true, preserveEdgeToEdge: true, statusBarTranslucent: true, children: null };
|
|
const items = [children.children, React2(closure_9, {})];
|
|
obj.children = items;
|
|
return React3(KeyboardChatScrollView.KeyboardProvider, obj);
|
|
},
|
|
animatedKeyboardHeight: mutable,
|
|
animatedKeyboardState: mutable1
|
|
};
|