decord/source/modules/safety_hub/hooks/useAccountStandingStatusLabel.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

38 lines
1.5 KiB
TypeScript

// Module ID: 14767
// Function ID: 14768
// Name: useAccountStandingStatusLabel
// Dependencies: [11887, 11915, 14768, 1114, 14769, 2]
// Exports: useAccountStandingStatusLabel
// Module 14767 (useAccountStandingStatusLabel)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import useSafetyHubAccountStanding from "useSafetyHubAccountStanding" /* 11887 */;
import useSafetyHubInitialized from "useSafetyHubInitialized" /* 11915 */;
import useSafetyHubFetchError from "useSafetyHubFetchError" /* 14768 */;
const result = set.fileFinishedImporting("modules/safety_hub/hooks/useAccountStandingStatusLabel.tsx");
export const useAccountStandingStatusLabel = function useAccountStandingStatusLabel() {
let obj = useSafetyHubAccountStanding;
const safetyHubAccountStanding = obj.useSafetyHubAccountStanding();
const safetyHubInitialized = useSafetyHubInitialized.useSafetyHubInitialized();
const obj2 = useSafetyHubInitialized;
const safetyHubFetchError = useSafetyHubFetchError.useSafetyHubFetchError();
const intl = getSystemLocale.intl;
if (safetyHubInitialized) {
obj = { hook: null };
obj[0] = function hook(arg0) {
return arg0;
};
let formatToPlainStringResult = intl.formatToPlainString(tmp(14769).ACCOUNT_STANDING_SHORT_STATUS[safetyHubAccountStanding.state], obj);
} else {
if (null != safetyHubFetchError) {
let ZTNur7 = tmp(1114).t.TDRvqs;
} else {
ZTNur7 = tmp(1114).t.ZTNur7;
}
formatToPlainStringResult = intl.string(ZTNur7);
}
return formatToPlainStringResult;
};