This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+107
View File
@@ -0,0 +1,107 @@
// Metro module 10038 (f10039).
import * as _PlatformUtils from "../../utils/PlatformUtils";
let c6674_0 = {
DISMISSED: "dismissed",
PIP: "pip",
PANEL: "panel"
};
const r14 = {
mass: 0.5,
damping: 80,
stiffness: 200
};
const r13 = {
...r14,
overshootClamping: true
};
const r12 = {
...r14,
overshootClamping: true
};
const r11 = {
...r14,
mass: 0.3
};
const r10 = {
USER: "USER",
STREAM: "STREAM",
ACTIVITY: "ACTIVIY"
};
const r9 = {
NO_VIDEO_PARTICIPANTS: "no_video_participants",
CALLER_DISCONNECTED: "caller_disconnected"
};
const r8 = {};
r8[r9.NO_VIDEO_PARTICIPANTS] = {
width: 2,
height: 1
};
const set = new Set(Object.keys(r8));
const r48 = {
PARTICIPANT: "participant",
CTA: "cta"
};
const isAndroid = _PlatformUtils.isAndroid();
const isIOS = _PlatformUtils.isIOS();
export { c6674_0 as VoicePanelModes };
export function getAnalyticsNameForVoicePanelMode(a0) {
if (c6674_0.DISMISSED === a0) {
return "dismissed";
}
if (c6674_0.PIP === a0) {
return "pip";
}
if (c6674_0.PANEL === a0) {
return "grid";
}
}
export const VOICE_PANEL_CHUNK_DIVISOR = 3;
export const DEFAULT_BORDER_RADIUS = 24;
export const DEFAULT_BORDER_RADIUS_PIP = 24;
export const DRAWER_SPRING_PHYSICS = {
mass: 0.2,
damping: 10,
stiffness: 200
};
export const LAYOUT_PHYSICS = {
mass: 0.3,
damping: 25,
stiffness: 150
};
export const UI_SHOW_HIDE_PHYSICS = {
mass: 0.4,
damping: 60,
stiffness: 150
};
export { r14 as MODE_CHANGE_PHYSICS };
export { r13 as MODE_CHANGE_PHYSICS_CLAMPED };
export { r12 as BORDER_RADIUS_PHYSICS };
export { r11 as PANEL_CONTROLS_HEIGHT_PHYSICS };
export const SPEAKING_PHYSICS = {
mass: 0.32,
damping: 10,
stiffness: 300,
restDisplacementThreshold: 0.001,
restSpeedThreshold: 0.001,
overshootClamping: true
};
export const PUSH_TO_TALK_PIP_PHYSICS = {
damping: 20,
mass: 0.1,
stiffness: 100
};
export const DRAWER_SPRING_PHYSICS_GESTURE_ACTIVE = {
mass: 0.1,
damping: 20,
stiffness: 500
};
export { r10 as GridItemTypes };
export const BASE_TARGET_CARD_SIZE = 165;
export { r9 as VoicePanelCTACard };
export { r8 as VoicePanelCTACardDimensions };
export { set as VoicePanelCTACardDimensionKeys };
export { r48 as VoicePanelCardItemType };
export { isAndroid as IS_ANDROID };
export { isIOS as IS_IOS };
export const SECONDARY_PIP_TOP_MARGIN = 8;
export const VOICE_PANEL_DRAWER_MAX_WIDTH = 540;