decord/source/modules/app_channels/getCannotSwapApplicationText.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

27 lines
1 KiB
TypeScript

// Module ID: 16819
// Function ID: 16820
// Name: getCannotSwapApplicationText
// Dependencies: [2025, 4199, 4206, 1114, 9253, 2]
// Exports: default
// Module 16819 (getCannotSwapApplicationText)
import closure_2 from "_getSystemLocale" /* 2025 */;
import closure_3 from "getUncachedChannelPermissions" /* 4199 */;
const require = arg1;
const result = require("set").fileFinishedImporting("modules/app_channels/getCannotSwapApplicationText.tsx");
export default function getCannotSwapApplicationText(arg0) {
const _require = arg0;
const prop = _require(4206).SWAP_APP_CHANNEL_APPLICATION_PERMISSION_LIST;
const found = prop.filter((arg0) => !closure_1_3.can(arg0, closure_0));
if (0 !== found.length) {
const _Intl = Intl;
const listFormat = new Intl.ListFormat(locale.locale);
const intl = tmp(1114).intl;
const obj = { permissions: null, count: null };
obj[0] = listFormat.format(found.map(tmp(9253).getPermissionName));
obj[1] = found.length;
return intl.formatToPlainString(tmp(1114).t.na1rJc, obj);
}
};