55 lines
1.9 KiB
TypeScript
55 lines
1.9 KiB
TypeScript
// Module ID: 17682
|
|
// Function ID: 17683
|
|
// Name: Suppressed
|
|
// Dependencies: [19, 14041, 21, 17683, 1126, 17684, 17685, 5398, 2]
|
|
|
|
// Module 17682 (Suppressed)
|
|
import Fragment from "Fragment" /* 21 */;
|
|
import intl4 from "intl" /* 1126 */;
|
|
import PermissionActionCreatorsDefault from "PermissionActionCreators" /* 17683 */;
|
|
import AssetRegistryDefault from "AssetRegistry" /* 17684 */;
|
|
import AssetRegistryDefault2 from "AssetRegistry" /* 17685 */;
|
|
import react from "react" /* 19 */;
|
|
import PermissionSpeakStore from "PermissionSpeakStore" /* 14041 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const jsx = Fragment.jsx;
|
|
const Component = react.Component;
|
|
class Suppressed extends Component {
|
|
constructor() {
|
|
const applyArgumentsResult = HermesBuiltin.applyArguments(this, new.target);
|
|
applyArgumentsResult.close = function close() {
|
|
const obj = PermissionActionCreatorsDefault;
|
|
obj.clearSuppressWarning();
|
|
};
|
|
return applyArgumentsResult;
|
|
}
|
|
render() {
|
|
let stringResult;
|
|
let stringResult1;
|
|
let tmp6;
|
|
let tmp7;
|
|
const isAFKChannelResult = PermissionSpeakStore.isAFKChannel();
|
|
const intl = intl4.intl;
|
|
const string = intl.string;
|
|
const t = intl4.t;
|
|
if (isAFKChannelResult) {
|
|
stringResult = string(t.KuYcnU);
|
|
const intl3 = tmp2(1126).intl;
|
|
stringResult1 = intl3.string(tmp2(1126).t["RaFZ3+"]);
|
|
tmp7 = AssetRegistryDefault;
|
|
tmp6 = importDefault;
|
|
} else {
|
|
stringResult = string(t.FJSZVM);
|
|
const intl2 = tmp2(1126).intl;
|
|
stringResult1 = intl2.string(tmp2(1126).t.etJjgW);
|
|
tmp6 = importDefault;
|
|
tmp7 = AssetRegistryDefault2;
|
|
}
|
|
return jsx(tmp6(5398), { title: stringResult, body: stringResult1, iconSource: tmp7, onConfirm: this.close });
|
|
}
|
|
}
|
|
const prototype = Suppressed.prototype;
|
|
const result = size.fileFinishedImporting("components_native/warnings/Suppressed.tsx");
|
|
|
|
export default Suppressed;
|