// Module ID: 10587 // Function ID: 82544 // Name: ConfirmActivityGateContent // Dependencies: [31, 27, 33, 4131, 689, 10588, 4127, 1212, 4471, 1273, 2] // Exports: confirmActivityAgeGateAlert // Module 10587 (ConfirmActivityGateContent) import "result"; import { View } from "get ActivityIndicator"; import jsxProd from "jsxProd"; import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose"; let closure_4; let closure_5; const require = arg1; function ConfirmActivityGateContent(children) { const tmp = _createForOfIteratorHelperLoose(); let obj = { style: tmp.alertContainer }; const items = [callback(importDefault(10588), {}), ]; obj = { style: tmp.alertBodyText, variant: "text-md/normal", children: children.description }; items[1] = callback(require(4127) /* Text */.Text, obj); obj.children = items; return callback2(View, obj); } ({ jsx: closure_4, jsxs: closure_5 } = jsxProd); _createForOfIteratorHelperLoose = { alertContainer: { display: "flex", alignItems: "center", padding: 8 } }; _createForOfIteratorHelperLoose = { fontSize: 16, lineHeight: 24, color: require("_createForOfIteratorHelperLoose").colors.INTERACTIVE_TEXT_DEFAULT, textAlign: "center" }; _createForOfIteratorHelperLoose.alertBodyText = _createForOfIteratorHelperLoose; _createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose); const result = require("jsxProd").fileFinishedImporting("modules/activities/confirmActivityAgeGateAlert.native.tsx"); export const confirmActivityAgeGateAlert = function confirmActivityAgeGateAlert(arg0) { let application; let onAgree; let onDisagree; ({ application, onAgree, onDisagree } = arg0); const intl = require(1212) /* getSystemLocale */.intl; let obj = { applicationName: application.name }; const formatToPlainStringResult = intl.formatToPlainString(require(1212) /* getSystemLocale */.t.OgmIqy, obj); obj = {}; const intl2 = require(1212) /* getSystemLocale */.intl; obj.title = intl2.string(require(1212) /* getSystemLocale */.t.SSDPOF); obj.children = callback(ConfirmActivityGateContent, { description: formatToPlainStringResult }); const intl3 = require(1212) /* getSystemLocale */.intl; obj.cancelText = intl3.string(require(1212) /* getSystemLocale */.t.hg1uxn); const intl4 = require(1212) /* getSystemLocale */.intl; obj.confirmText = intl4.string(require(1212) /* getSystemLocale */.t.wVq7uo); obj.onConfirm = onAgree; obj.onCancel = onDisagree; obj.confirmColor = require(1273) /* Button */.ButtonColors.RED; return Promise.resolve(importDefault(4471).show(obj)); };