decord/source/modules/media_keyboard/native/MediaKeyboardButtonIcon.tsx

61 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 11346
// Function ID: 88217
2026-07-20 16:05:17 +00:00
// Name: MediaKeyboardButtonIcon
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 33, 3996, 1324, 3991, 1555, 4131, 4134, 10197, 2]
2026-07-20 16:05:17 +00:00
// Exports: MediaKeyboardButtonIcon
2026-07-23 10:11:24 +00:00
// Module 11346 (MediaKeyboardButtonIcon)
import "result";
import { jsx } from "jsxProd";
const require = arg1;
2026-07-20 16:05:17 +00:00
let closure_4 = { code: "function MediaKeyboardButtonIconTsx1(){const{keyboard,KeyboardTypes,chatInputFloating,withTiming,timingStandard}=this.__closure;const isActive=keyboard===KeyboardTypes.MEDIA||chatInputFloating&&keyboard===KeyboardTypes.APP_LAUNCHER;return{transform:[{rotate:withTiming(isActive?'45deg':'0deg',timingStandard)}]};}" };
2026-07-23 10:11:24 +00:00
const result = require("getKeyboardContextForType").fileFinishedImporting("modules/media_keyboard/native/MediaKeyboardButtonIcon.tsx");
2026-07-20 16:05:17 +00:00
export const MediaKeyboardButtonIcon = function MediaKeyboardButtonIcon(arg0) {
if (arg0 == null) {
HermesBuiltin.throwTypeError("Cannot destructure 'undefined' or 'null'.");
throw undefined;
} else {
2026-07-23 10:11:24 +00:00
let _require;
let chatInputFloating;
2026-07-20 16:05:17 +00:00
const merged = Object.assign(arg0, undefined);
2026-07-23 10:11:24 +00:00
const tmp7 = chatInputFloating(3996)();
_require = tmp7;
let obj = _require(1324);
2026-07-20 16:05:17 +00:00
obj = { location: "MediaKeyboardButtonIcon" };
2026-07-23 10:11:24 +00:00
chatInputFloating = obj.useMobileVisualRefreshConfig(obj).chatInputFloating;
let obj2 = _require(3991);
2026-07-20 16:05:17 +00:00
const fn = function s() {
2026-07-23 10:11:24 +00:00
let tmp = _undefined === _undefined(outer1_2[5]).KeyboardTypes.MEDIA;
2026-07-20 16:05:17 +00:00
if (!tmp) {
let tmp2 = chatInputFloating;
if (chatInputFloating) {
2026-07-23 10:11:24 +00:00
tmp2 = _undefined === _undefined(outer1_2[5]).KeyboardTypes.APP_LAUNCHER;
2026-07-20 16:05:17 +00:00
}
tmp = tmp2;
}
let obj = {};
obj = {};
let str = "0deg";
if (tmp) {
str = "45deg";
}
2026-07-23 10:11:24 +00:00
obj.rotate = _undefined(outer1_2[6]).withTiming(str, _undefined(outer1_2[7]).timingStandard);
2026-07-20 16:05:17 +00:00
const items = [obj];
obj.transform = items;
return obj;
};
2026-07-23 10:11:24 +00:00
obj = { keyboard: tmp7, KeyboardTypes: _require(1555).KeyboardTypes, chatInputFloating, withTiming: _require(4131).withTiming, timingStandard: _require(4134).timingStandard };
2026-07-20 16:05:17 +00:00
fn.__closure = obj;
fn.__workletHash = 12686941860647;
fn.__initData = closure_4;
const animatedStyle = obj2.useAnimatedStyle(fn);
const obj1 = { style: animatedStyle };
obj2 = {};
const merged1 = Object.assign(merged);
2026-07-23 10:11:24 +00:00
obj1.children = jsx(_require(10197).PlusLargeIcon, {});
return jsx(chatInputFloating(3991).View, { style: animatedStyle });
2026-07-20 16:05:17 +00:00
}
};