55 lines
3.5 KiB
TypeScript
55 lines
3.5 KiB
TypeScript
/* Metro module 14404; source: modules/guild/native/InvitesDisabledBadge.tsx; dependencies: [31, 27, 33, 4501, 697, 1305, 10544, 2] */
|
|
import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
|
|
import Module10544 from '../../../by-id/module-10544.js'; /* Metro dependency 10544 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as NativeModule from '../../../design/void/native.tsx'; /* Metro dependency 1305 */
|
|
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
|
|
function _fun109053(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14601:6, offset: 0x0233b8e9, size: 420 bytes, params: 8, frame: 25
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactModule;
|
|
const createStyles = CreateStylesModule.createStyles;
|
|
object = {pause: {'alignContent': 'center', 'justifyContent': 'center', 'width': 10, 'height': 10}};
|
|
const object2 = {'borderRadius': 20, 'backgroundColor': null, 'padding': null, 'height': 16, 'width': 16,
|
|
'alignContent': 'center', 'justifyContent': 'center'};
|
|
const BACKGROUND_MOD_STRONG = (Native).colors.BACKGROUND_MOD_STRONG;
|
|
object2.backgroundColor = BACKGROUND_MOD_STRONG;
|
|
const BADGE_PADDING = (NativeModule).BADGE_PADDING;
|
|
object2.padding = BADGE_PADDING;
|
|
object.pauseBackground = object2;
|
|
const BACKGROUND_BASE_LOWEST = (Native).colors.BACKGROUND_BASE_LOWEST;
|
|
object.pauseRing = {'borderRadius': 20, 'backgroundColor': null, 'position': 'absolute',
|
|
backgroundColor: BACKGROUND_BASE_LOWEST, bottom: -BADGE_PADDING, right: -BADGE_PADDING, padding: BADGE_PADDING,
|
|
height: 22, width: 22, alignContent: 'center', justifyContent: 'center'};
|
|
const env0_5 = Reflect.apply(createStyles, CreateStylesModule, [object]);
|
|
value = value.memo(InvitesDisabledBadge);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild/native/InvitesDisabledBadge.tsx');
|
|
exports.default = value;
|
|
function InvitesDisabledBadge({style}) { // fn#109054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14601:686, offset: 0x0233ba8d, size: 179 bytes, params: 2, frame: 19
|
|
const styles = useStyles();
|
|
const items2 = [styles.pauseRing, style];
|
|
const ThemedIcon = (NativeModule).ThemedIcon;
|
|
const INTERACTIVE_TEXT_ACTIVE = (Native).colors.INTERACTIVE_TEXT_ACTIVE;
|
|
return (
|
|
<View style={items2}>
|
|
<View style={styles.pauseBackground}>
|
|
<ThemedIcon
|
|
style={styles.pause}
|
|
themedColor={INTERACTIVE_TEXT_ACTIVE}
|
|
source={Module10544}
|
|
/>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun109053, 14404, [31, 27, 33, 4501, 697, 1305, 10544,
|
|
2]) /* metro module 14404, dependencies: [31, 27, 33, 4501, 697, 1305, 10544, 2] */;
|