59 lines
2.8 KiB
TypeScript
59 lines
2.8 KiB
TypeScript
// Module ID: 15834
|
|
// Function ID: 15835
|
|
// Name: PersonalizationDisclaimerActionSheet
|
|
// Dependencies: [19, 1074, 21, 4560, 576, 4255, 2024, 7150, 4556, 1114, 5433, 4975, 8583, 4527, 2]
|
|
// Exports: default
|
|
|
|
// Module 15834 (PersonalizationDisclaimerActionSheet)
|
|
import ThemesDefault from "Themes" /* 576 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
import Text from "Text" /* 4556 */;
|
|
import Button from "Button" /* 4975 */;
|
|
import ButtonGroup from "ButtonGroup" /* 5433 */;
|
|
import Background from "Background" /* 7150 */;
|
|
import LinkExternalSmallIcon from "LinkExternalSmallIcon" /* 8583 */;
|
|
import closure_3 from "noop" /* 19 */;
|
|
import { HelpdeskArticles } from "ME" /* 1074 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4560 */;
|
|
|
|
require = arg1;
|
|
({ jsx: c5, jsxs: closure_6 } = jsxProd);
|
|
createCacheKey = { container: null, header: null };
|
|
createCacheKey = { paddingHorizontal: ThemesDefault.space.PX_16 };
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey[1] = { paddingVertical: ThemesDefault.space.PX_8, alignSelf: "center", textAlign: "center" };
|
|
let closure_7 = createCacheKey.createStyles(createCacheKey);
|
|
let obj1 = { paddingVertical: ThemesDefault.space.PX_8, alignSelf: "center", textAlign: "center" };
|
|
const result = require("set").fileFinishedImporting("modules/collectibles/native/PersonalizationDisclaimerActionSheet.tsx");
|
|
|
|
export default function PersonalizationDisclaimerActionSheet() {
|
|
const tmp = callback3();
|
|
const callback = React.useCallback(() => {
|
|
const obj = callback(4255);
|
|
obj.openURL(callback(2024).getArticleURL(constants.DATA_USED_FOR_RECOMMENDED));
|
|
}, []);
|
|
let obj = { contentStyles: tmp.container, children: null };
|
|
obj = { variant: "heading-md/medium", color: "mobile-text-heading-primary", accessibilityRole: "header", style: tmp.header, children: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[4] = intl.string(getSystemLocale.t.euks4U);
|
|
const items = [callback(Text.Text, obj), ];
|
|
obj = { children: null };
|
|
obj1 = { size: "lg", text: null, onPress: null, icon: null, iconPosition: "end" };
|
|
const intl2 = getSystemLocale.intl;
|
|
obj1[1] = intl2.string(getSystemLocale.t.hvVgAZ);
|
|
obj1[2] = callback;
|
|
obj1[3] = callback(LinkExternalSmallIcon.LinkExternalSmallIcon, { color: ThemesDefault.colors.WHITE });
|
|
const items1 = [callback(Button.Button, obj1), ];
|
|
const obj3 = { variant: "tertiary", size: "lg", text: null, onPress: null };
|
|
const intl3 = getSystemLocale.intl;
|
|
obj3[2] = intl3.string(getSystemLocale.t.WAI6xu);
|
|
obj3[3] = function onPress() {
|
|
return callback(4527).hideActionSheet();
|
|
};
|
|
items1[1] = callback(Button.Button, obj3);
|
|
obj[0] = items1;
|
|
items[1] = callback2(ButtonGroup.ButtonGroup, obj);
|
|
obj[1] = items;
|
|
return callback2(Background.BottomSheet, obj);
|
|
};
|