48 lines
3.0 KiB
TypeScript
48 lines
3.0 KiB
TypeScript
/* Metro module 14404; source: modules/guild/native/InvitesDisabledBadge.tsx; dependencies: [31, 27, 33, 4501, 697, 1305, 10544, 2] */
|
|
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
|
|
var object3;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = importAll(31) /* metro dependency 31 */;
|
|
const env0_3 = (require(27) /* metro dependency 27 */).View;
|
|
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
|
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = createStylesModule.createStyles;
|
|
object3 = {pause: {'alignContent': 'center', 'justifyContent': 'center', 'width': 10, 'height': 10}};
|
|
const object4 = {'borderRadius': 20, 'backgroundColor': null, 'padding': null, 'height': 16, 'width': 16,
|
|
'alignContent': 'center', 'justifyContent': 'center'};
|
|
const BACKGROUND_MOD_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_STRONG;
|
|
object4.backgroundColor = BACKGROUND_MOD_STRONG;
|
|
const BADGE_PADDING = (require(1305) /* metro dependency 1305: native */).BADGE_PADDING;
|
|
object4.padding = BADGE_PADDING;
|
|
object3.pauseBackground = object4;
|
|
const BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST;
|
|
object3.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, [object3]);
|
|
value = value.memo(InvitesDisabledBadge);
|
|
(require(2) /* metro dependency 2 */).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 = (require(1305) /* metro dependency 1305: native */).ThemedIcon;
|
|
const INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
|
|
return (
|
|
<View style={items2}>
|
|
<View style={styles.pauseBackground}>
|
|
<ThemedIcon
|
|
style={styles.pause}
|
|
themedColor={INTERACTIVE_TEXT_ACTIVE}
|
|
source={importDefault(10544) /* metro dependency 10544 */}
|
|
/>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|