Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,89 @@
|
||||
/* Metro module 13114; source: modules/keyboard/native/AnimatedKeyboardProviderController.tsx; dependencies: [31, 33, 4017, 1599, 2] */
|
||||
function _fun100217(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:6, offset: 0x021e177c, size: 298 bytes, params: 8, frame: 20
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const value = importAll(31) /* metro dependency 31 */;
|
||||
const value2 = require(33) /* metro dependency 33 */;
|
||||
const env0_2 = value2.jsx;
|
||||
const env0_3 = value2.jsxs;
|
||||
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
let makeMutable = reanimatedRexportModule.makeMutable;
|
||||
const mutable = Reflect.apply(makeMutable, reanimatedRexportModule, [0]);
|
||||
const value4 = reanimatedRexportModule;
|
||||
makeMutable = value4.makeMutable;
|
||||
const KeyboardState = reanimatedRexportModule.KeyboardState;
|
||||
const UNKNOWN = KeyboardState.UNKNOWN;
|
||||
const mutable2 = Reflect.apply(makeMutable, value4, [UNKNOWN]);
|
||||
object2 = {code: 'function AnimatedKeyboardProviderControllerTsx1(e){const{animatedKeyboardState,KeyboardState}=this.__closure;animatedKeyboardState.set(e.height===0?KeyboardState.CLOSED:KeyboardState.OPEN);}'};
|
||||
object2 = {code: 'function AnimatedKeyboardProviderControllerTsx2(e){const{animatedKeyboardHeight}=this.__closure;animatedKeyboardHeight.set(e.height);}'};
|
||||
object2 = {code: 'function AnimatedKeyboardProviderControllerTsx3(e){const{animatedKeyboardState,KeyboardState,animatedKeyboardHeight}=this.__closure;animatedKeyboardState.set(e.height===0?KeyboardState.CLOSED:KeyboardState.OPEN);animatedKeyboardHeight.set(e.height);}'};
|
||||
const env0_9 = value.memo(_fun100218);
|
||||
object2 = {Component: Component_100222, animatedKeyboardHeight: mutable, animatedKeyboardState: mutable2};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/keyboard/native/AnimatedKeyboardProviderController.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function _fun100218() { // fn#100218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:837, offset: 0x021e18a6, size: 258 bytes, params: 1, frame: 23
|
||||
const moduleValue = require(1599) /* metro dependency 1599 */;
|
||||
const useKeyboardHandler = moduleValue.useKeyboardHandler;
|
||||
const object3 = {};
|
||||
let closure = onStart_100219;
|
||||
const object4 = {};
|
||||
const binding = env0_5;
|
||||
object4.animatedKeyboardState = binding;
|
||||
const KeyboardState = (require(4017) /* metro dependency 4017: ReanimatedRexport */).KeyboardState;
|
||||
object4.KeyboardState = KeyboardState;
|
||||
closure.__closure = object4;
|
||||
closure.__workletHash = 12130162639136;
|
||||
closure.__initData = env0_6;
|
||||
object3.onStart = closure;
|
||||
closure = onMove_100220;
|
||||
const binding2 = env0_4;
|
||||
closure.__closure = {animatedKeyboardHeight: binding2};
|
||||
closure.__workletHash = 1398293011995;
|
||||
closure.__initData = env0_7;
|
||||
object3.onMove = closure;
|
||||
closure = onEnd_100221;
|
||||
closure.__closure = {animatedKeyboardState: binding, KeyboardState: KeyboardState, animatedKeyboardHeight: binding2};
|
||||
closure.__workletHash = 10688534401196;
|
||||
closure.__initData = env0_8;
|
||||
object3.onEnd = closure;
|
||||
Reflect.apply(useKeyboardHandler, moduleValue, [object3, []]);
|
||||
return null;
|
||||
}
|
||||
|
||||
function Component_100222({children}) { // fn#100222, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:1528, offset: 0x021e1aaa, size: 97 bytes, params: 2, frame: 17
|
||||
const KeyboardProvider = (require(1599) /* metro dependency 1599 */).KeyboardProvider;
|
||||
return (
|
||||
<KeyboardProvider
|
||||
enabled
|
||||
navigationBarTranslucent
|
||||
preserveEdgeToEdge
|
||||
statusBarTranslucent
|
||||
>
|
||||
{children}
|
||||
{((Component) => <Component />)(env0_9)}
|
||||
</KeyboardProvider>
|
||||
);
|
||||
}
|
||||
|
||||
function onStart_100219({height}) { // fn#100219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:904, offset: 0x021e19a8, size: 105 bytes, params: 2, frame: 14
|
||||
const KeyboardState = (require(4017) /* metro dependency 4017: ReanimatedRexport */).KeyboardState;
|
||||
const binding = env1_5;
|
||||
binding.set(height === 0 ? KeyboardState.CLOSED : KeyboardState.OPEN);
|
||||
}
|
||||
|
||||
function onMove_100220({height}) { // fn#100220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:1125, offset: 0x021e1a11, size: 29 bytes, params: 2, frame: 11
|
||||
env1_4.set(height);
|
||||
}
|
||||
|
||||
function onEnd_100221(a0) { // fn#100221, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13304:1250, offset: 0x021e1a2e, size: 124 bytes, params: 2, frame: 16
|
||||
const KeyboardState = (require(4017) /* metro dependency 4017: ReanimatedRexport */).KeyboardState;
|
||||
let binding = env1_5;
|
||||
binding.set(a0.height === 0 ? KeyboardState.CLOSED : KeyboardState.OPEN);
|
||||
binding = env1_4;
|
||||
binding.set(a0.height);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user