// Metro module 15997 (f15998). import { PlatformTypes } from "../../../Constants"; import { intl, t } from "../../../intl/index.native"; export function getConsoleConnectingText(a0, a1, a2) { let r19; let r7 = a1?.type; if (r7 == null) { r7 = a0 == null ? void 0 : a0.clientInfo.os; } L22: { const r15 = a1 != null; if (r7 === PlatformTypes.XBOX) { r19 = a2 ? intl.format(t["ynEs/Y"], {}) : r15 ? intl.string(t.UjA4HX) : "Xbox"; } else { if (r7 !== PlatformTypes.PLAYSTATION) { const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING; r19 = void 0; if (r7 !== PLAYSTATION_STAGING) { break L22; } } r19 = a2 ? intl.format(t.TZ17Bg, {}) : r15 ? intl.string(t.QCw1oW) : "PS5"; } } return r19; }