decord/source/modules/billing/utils/StoreCountryUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

35 lines
873 B
TypeScript

// Module ID: 1395
// Function ID: 1396
// Name: parseStoreCountry
// Dependencies: [2]
// Exports: parseStoreCountry
// Module 1395 (parseStoreCountry)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/billing/utils/StoreCountryUtils.tsx");
export const parseStoreCountry = function parseStoreCountry(storeCountry) {
let tmp = storeCountry;
if (null != storeCountry) {
const obj = { country: null, setAt: null, isLocked: null };
({ country: obj[0], set_at } = storeCountry);
if (set_at == null) {
set_at = storeCountry.setAt;
}
if (set_at == null) {
set_at = null;
}
obj[1] = set_at;
let flag = storeCountry.is_locked;
if (flag == null) {
flag = storeCountry.isLocked;
}
if (flag == null) {
flag = false;
}
obj[2] = flag;
tmp = obj;
}
return tmp;
};