2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 5460
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 46669
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ConnectionCard
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [31, 5060, 33, 5461, 5478, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 5460 (ConnectionCard)
|
2026-07-23 10:11:24 +00:00
|
|
|
import "result";
|
|
|
|
|
import { OnboardingConnectionType } from "_createForOfIteratorHelperLoose";
|
|
|
|
|
import { jsx } from "jsxProd";
|
|
|
|
|
|
|
|
|
|
const result = require("jsxProd").fileFinishedImporting("modules/guild_onboarding/native/ConnectionCard.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ConnectionCard(arg0) {
|
|
|
|
|
let _location;
|
|
|
|
|
let connection;
|
|
|
|
|
let guildId;
|
|
|
|
|
({ connection, guildId, location: _location } = arg0);
|
|
|
|
|
const connection_type = connection.connection_type;
|
|
|
|
|
if (OnboardingConnectionType.APPLICATION === connection_type) {
|
|
|
|
|
let obj = { connection, guildId, location: _location };
|
2026-07-24 07:16:23 +00:00
|
|
|
return jsx(importDefault(5461), { connection, guildId, location: _location });
|
2026-07-20 16:05:17 +00:00
|
|
|
} else if (OnboardingConnectionType.PROVIDER_CONNECTED_ACCOUNT === connection_type) {
|
|
|
|
|
obj = { connection, guildId, location: _location };
|
2026-07-24 07:16:23 +00:00
|
|
|
return jsx(importDefault(5478), { connection, guildId, location: _location });
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
const connection_type2 = connection.connection_type;
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|