27 lines
514 B
TypeScript
27 lines
514 B
TypeScript
// Metro module 1896 (f1897).
|
|
export function parseStoreCountry(a0) {
|
|
let r1 = a0;
|
|
if (a0 != null) {
|
|
let set_at = a0.set_at;
|
|
if (set_at == null) {
|
|
set_at = a0.setAt;
|
|
}
|
|
if (set_at == null) {
|
|
set_at = null;
|
|
}
|
|
let is_locked = a0.is_locked;
|
|
if (is_locked == null) {
|
|
is_locked = a0.isLocked;
|
|
}
|
|
if (is_locked == null) {
|
|
is_locked = false;
|
|
}
|
|
r1 = {
|
|
country: a0.country,
|
|
setAt: set_at,
|
|
isLocked: is_locked
|
|
};
|
|
}
|
|
return r1;
|
|
}
|