// Module ID: 15188 // Function ID: 15189 // Name: PromotionalEmailCheckBox // Dependencies: [19, 17, 5868, 21, 4342, 4073, 1236, 8014, 4338, 2] // Exports: default // Module 15188 (PromotionalEmailCheckBox) import "noop"; import get_ActivityIndicator from "get ActivityIndicator"; import setPromoEmailConsentState from "setPromoEmailConsentState"; import jsxProd from "jsxProd"; import createCacheKey from "createCacheKey"; let c3; let c4; let c5; let closure_6; let error; let obj1; const require = arg1; ({ View: obj1, Pressable: c3 } = get_ActivityIndicator); ({ usePromoEmailConsentStore: c4, setPromoEmailConsentChecked: c5 } = setPromoEmailConsentState); ({ jsx: closure_6, jsxs: error } = jsxProd); let closure_8 = createCacheKey.createStyles({ checkboxRow: { flexDirection: "row", alignItems: "flex-start", gap: 8 }, checkboxLabel: { flex: 1 } }); const result = require("setPromoEmailConsentState").fileFinishedImporting("modules/auth/native/components/PromotionalEmailCheckBox.tsx"); export default function PromotionalEmailCheckBox(style) { let _require; const tmp = callback4(); const tmp3 = callback((checked) => checked.checked); _require = tmp3; let obj = _require(4073); const checkboxA11yNative = obj.useCheckboxA11yNative({ checked: tmp3 }); let tmp9 = null; if (tmp2) { obj = { style: null, children: null }; obj[0] = style.style; obj = { accessibilityRole: null, accessibilityLabel: null, accessibilityState: null, onPress: null, style: null, children: null }; obj[0] = tmp7; const intl = tmp4(1236).intl; obj[1] = intl.string(tmp4(1236).t.ylFCLt); obj[2] = tmp8; obj[3] = function onPress() { return outer1_5(!c0); }; obj[4] = tmp.checkboxRow; const obj1 = { checked: null }; obj1[0] = tmp3; const items = [callback2(tmp4(8014).FormCheckbox, obj1), ]; const obj2 = { variant: "text-xs/medium", color: "text-muted", style: null, children: null }; obj2[2] = tmp.checkboxLabel; const intl2 = tmp4(1236).intl; obj2[3] = intl2.string(tmp4(1236).t.ylFCLt); items[1] = callback2(tmp4(4338).Text, obj2); obj[5] = items; obj[1] = callback3(closure_3, obj); tmp9 = callback2(closure_2, obj); } return tmp9; };