// Module ID: 9675 // Function ID: 9676 // Name: AppChannelApplicationActionSheet // Dependencies: [19, 21, 9672, 4448, 7138, 7089, 1233, 5640, 5643, 9676, 9674, 2] // Exports: default // Module 9675 (AppChannelApplicationActionSheet) import closure_3 from "noop" /* 19 */; import { jsx } from "jsxProd" /* 21 */; const require = arg1; const result = require("set").fileFinishedImporting("modules/app_channels/native/AppChannelApplicationActionSheet.tsx"); export default function AppChannelApplicationActionSheet(arg0) { ({ selectedApplicationId, onChange } = arg0); ({ guildId, channelId } = arg0); let obj = onChange(9672); const options = obj.useAppChannelApplicationOptions(guildId, channelId, selectedApplicationId).options; const items = [onChange]; const callback = React.useCallback((arg0) => { onChange(arg0); closure_1_1(closure_1_2[3]).hideActionSheet(); }, items); obj = { header: null, children: null }; obj = { title: null }; const intl = onChange(1233).intl; obj[0] = intl.string(onChange(1233).t.F2FMFR); obj[0] = jsx(onChange(7089).BottomSheetTitleHeader, { title: null }); obj1 = { accessibilityLabel: null, value: null, onChange: null, hasIcons: true, children: null }; const intl2 = onChange(1233).intl; obj1[0] = intl2.string(onChange(1233).t.F2FMFR); if (selectedApplicationId == null) { selectedApplicationId = ""; } obj1[1] = selectedApplicationId; obj1[2] = callback; obj1[4] = options.map((arg0) => { ({ application, status } = arg0); return callback2(onChange(5643).TableRadioRow, { value: application.id, label: application.name, subLabel: callback(9676)(status), disabled: !status.supported, icon: callback2(callback(9674), { application }) }, application.id); }); obj[1] = jsx(onChange(5640).TableRadioGroup, { accessibilityLabel: null, value: null, onChange: null, hasIcons: true, children: null }); return jsx(onChange(7138).ActionSheet, { title: null }); }; export const APP_CHANNEL_APPLICATION_ACTION_SHEET_KEY = "AppChannelApplicationActionSheet";