60 lines
2.9 KiB
TypeScript
60 lines
2.9 KiB
TypeScript
// Module ID: 8620
|
|
// Function ID: 68320
|
|
// Name: ObscuredSurface
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 8620 (ObscuredSurface)
|
|
importAll(dependencyMap[0]);
|
|
const View = arg1(dependencyMap[1]).View;
|
|
({ jsx: closure_4, jsxs: closure_5 } = arg1(dependencyMap[2]));
|
|
let obj = arg1(dependencyMap[3]);
|
|
obj = { container: {}, content: { -982096681: true, 1230100473: true } };
|
|
obj = { <string:1365860823>: "Text", <string:3881927783>: "keys", <string:1638716497>: "HTTP", backgroundColor: importDefault(dependencyMap[4]).colors.SPOILER_HIDDEN_BACKGROUND };
|
|
obj.cover = obj;
|
|
const tmp3 = arg1(dependencyMap[2]);
|
|
obj.warning = { gap: importDefault(dependencyMap[4]).space.PX_8, paddingHorizontal: importDefault(dependencyMap[4]).space.PX_12, paddingVertical: importDefault(dependencyMap[4]).space.PX_8 };
|
|
let closure_6 = obj.createStyles(obj);
|
|
const obj1 = { gap: importDefault(dependencyMap[4]).space.PX_8, paddingHorizontal: importDefault(dependencyMap[4]).space.PX_12, paddingVertical: importDefault(dependencyMap[4]).space.PX_8 };
|
|
const result = arg1(dependencyMap[9]).fileFinishedImporting("modules/safety_common/native/ObscuredSurface.tsx");
|
|
|
|
export default function ObscuredSurface(obscured) {
|
|
let children;
|
|
let description;
|
|
let heading;
|
|
({ heading, description, children } = obscured);
|
|
const tmp = callback2();
|
|
let tmp3Result = children;
|
|
if (obscured.obscured) {
|
|
let obj = { value: arg1(dependencyMap[5]).OBSCURED_VALUE };
|
|
obj = { style: tmp.container };
|
|
obj = { isNewWebImplementationEnabled: "<string:2252538112>", WIDGET_ENABLED: "<string:2231370395>", EMOJI_PICKER_EMOJI_CLICKED: "<string:2617246363>", marginVertical: "<string:1090519507>", idleStatusIndicatorEnabled: "State Machine 1", style: tmp.content, children };
|
|
const items = [callback(View, obj), , ];
|
|
const obj1 = { style: tmp.cover };
|
|
items[1] = callback(View, obj1);
|
|
const obj2 = { style: tmp.warning };
|
|
const obj3 = { size: "lg", color: importDefault(dependencyMap[4]).colors.TEXT_DEFAULT };
|
|
const items1 = [callback(arg1(dependencyMap[6]).ImageWarningIcon, obj3), , ];
|
|
const obj4 = {};
|
|
if (null == heading) {
|
|
const intl = arg1(dependencyMap[8]).intl;
|
|
heading = intl.string(arg1(dependencyMap[8]).t.xC8Saf);
|
|
}
|
|
obj4.children = heading;
|
|
items1[1] = callback(arg1(dependencyMap[7]).Text, obj4);
|
|
const obj5 = { cachedAt: 400, edpbxy: 20 };
|
|
if (null == description) {
|
|
const intl2 = arg1(dependencyMap[8]).intl;
|
|
description = intl2.string(arg1(dependencyMap[8]).t.0fc/DG);
|
|
}
|
|
obj5.children = description;
|
|
items1[2] = callback(arg1(dependencyMap[7]).Text, obj5);
|
|
obj2.children = items1;
|
|
items[2] = closure_5(View, obj2);
|
|
obj.children = items;
|
|
obj.children = closure_5(View, obj);
|
|
tmp3Result = tmp3(arg1(dependencyMap[5]).ObscuredSurfaceContext.Provider, obj);
|
|
const tmp12 = callback;
|
|
}
|
|
return tmp3Result;
|
|
};
|