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

61 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 11376
// Function ID: 88237
2026-07-20 16:05:17 +00:00
// Name: MediaKeyboardButtonIcon
2026-07-28 08:39:19 +00:00
// Dependencies: [31, 33, 4031, 1324, 4026, 1555, 4166, 4169, 10190, 2]
2026-07-20 16:05:17 +00:00
// Exports: MediaKeyboardButtonIcon
2026-07-28 08:39:19 +00:00
// Module 11376 (MediaKeyboardButtonIcon)
2026-07-23 10:11:24 +00:00
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-28 08:39:19 +00:00
const tmp7 = chatInputFloating(4031)();
2026-07-23 10:11:24 +00:00
_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;
2026-07-28 08:39:19 +00:00
let obj2 = _require(4026);
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-28 08:39:19 +00:00
obj = { keyboard: tmp7, KeyboardTypes: _require(1555).KeyboardTypes, chatInputFloating, withTiming: _require(4166).withTiming, timingStandard: _require(4169).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-28 08:39:19 +00:00
obj1.children = jsx(_require(10190).PlusLargeIcon, {});
return jsx(chatInputFloating(4026).View, { style: animatedStyle });
2026-07-20 16:05:17 +00:00
}
};