// Module ID: 16355 // Function ID: 16356 // Name: VibegrationsSettingsRequestCard // Dependencies: [19, 17, 21, 4829, 576, 4796, 16236, 4825, 1115, 3714, 5274, 2] // Exports: default // Module 16355 (VibegrationsSettingsRequestCard) import nativeDefault from "native" /* 576 */; import ActionSheetActionCreators from "ActionSheetActionCreators" /* 4796 */; import VibegrationsSettingsSheet from "VibegrationsSettingsSheet" /* 16236 */; import noop from "module_19" /* 19 */; const VibegrationsSettingsSheetDefault = VibegrationsSettingsSheet; require = fn; const View = fn(17).View; const jsxProd = fn(21); ({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd); const createStyles = fn(4829); let obj2 = { card: { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_SUBTLE, borderWidth: 1, borderColor: nativeDefault.colors.BORDER_SUBTLE, borderRadius: nativeDefault.radii.md, padding: nativeDefault.space.PX_12, marginTop: nativeDefault.space.PX_8, gap: nativeDefault.space.PX_8 } }; let closure_7 = createStyles.createStyles(obj2); const size = fn(2); const result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsSettingsRequestCard.tsx"); export default function VibegrationsSettingsRequestCard(projectId) { projectId = projectId.projectId; const request = projectId.request; const items = [projectId, request]; const obj = { style: closure_7().card, children: null }; const callback = noop.useCallback(() => { const obj2 = { content: hasOwnProperty(VibegrationsSettingsSheetDefault, { projectId, scopeKeys: request.keys, note: request.note, notifyAgent: true, isPreview: true }), key: VibegrationsSettingsSheet.VIBEGRATIONS_SETTINGS_SHEET_KEY }; ActionSheetActionCreators.showActionSheet(obj2); }, items); let obj2 = { variant: "text-xs/semibold", color: "text-muted", children: null }; const intl = projectId(1115).intl; obj2.children = intl.string(request(3714).wgDhiQ); const items1 = [closure_5(projectId(4825).Text, obj2), , ]; if (null != request.note) { if ("" !== request.note) { let note = request.note; } const obj3 = { variant: "text-sm/normal", color: "text-default", children: note }; items1[1] = tmp5(tmp9, obj3); const obj4 = { variant: "secondary", size: "sm", onPress: callback, text: null }; const intl3 = tmp6(1115).intl; obj4.text = intl3.string(tmp8(3714)["KO2xN+"]); items1[2] = tmp5(tmp6(5274).Button, obj4); obj.children = items1; return closure_6(View, obj); } const intl2 = tmp6(1115).intl; note = intl2.string(tmp8(3714)["V+DBhs"]); };