This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,83 +1,72 @@
/* Metro module 14622; source: modules/premium/powerups/native/GuildPowerupsNotificationContainer.tsx; dependencies: [27, 33, 4501, 697, 4573, 14623, 14624, 1244, 2256, 14627, 2] */
import UseGuildPowerupTier3OverrideConfig from '../hooks/useGuildPowerupTier3OverrideConfig.tsx'; /* Metro dependency 14623 */
import UseGuildPowerupExpiringNotificationsConfig from '../hooks/useGuildPowerupExpiringNotificationsConfig.tsx'; /* Metro dependency 14624 */
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 JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
function _fun110548(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14819:6, offset: 0x0237ccc3, size: 369 bytes, params: 8, frame: 23
var object4;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(27) /* metro dependency 27 */).View;
let value = require(33) /* metro dependency 33 */;
let value = JsxRuntimeModule;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {};
const object5 = {};
object = {};
const object2 = {};
let PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object5.gap = PX_12;
object2.gap = PX_12;
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
object5.margin = PX_16;
object4.container = object5;
const object6 = {};
object2.margin = PX_16;
object.container = object2;
const object3 = {};
PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object6.padding = PX_12;
object3.padding = PX_12;
const BACKGROUND_MOD_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
object6.backgroundColor = BACKGROUND_MOD_SUBTLE;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md;
object6.borderWidth = 1;
object6.borderStyle = 'solid';
object3.backgroundColor = BACKGROUND_MOD_SUBTLE;
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.md;
object3.borderWidth = 1;
object3.borderStyle = 'solid';
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object6.borderColor = BORDER_SUBTLE;
object4.staffContainer = object6;
const env0_6 = Reflect.apply(createStyles, value, [object4]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/powerups/native/GuildPowerupsNotificationContainer.tsx');
object3.borderColor = BORDER_SUBTLE;
object.staffContainer = object3;
const env0_6 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/premium/powerups/native/GuildPowerupsNotificationContainer.tsx');
exports.default = GuildPowerupsNotificationContainer;
}
function Tier3OverrideNotice({text}) { // fn#110549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14819:430, offset: 0x0237ce34, size: 104 bytes, params: 2, frame: 18
const styles = useStyles();
const Text = (TextModule).Text;
return (
<View style={styles.staffContainer}>
<Text variant="text-sm/medium">
{text}
</Text>
</View>
);
}
function Tier3OverrideNotice({text}) { // fn#110549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14819:430, offset: 0x0237ce34, size: 104 bytes, params: 2, frame: 18
const styles = useStyles();
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<View style={styles.staffContainer}>
<Text variant="text-sm/medium">
{text}
</Text>
</View>
);
}
function GuildPowerupsNotificationContainer({guildId}) { // fn#110550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14819:694, offset: 0x0237ce9c, size: 338 bytes, params: 2, frame: 26
var r6;
var r0;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var items2;
var value;
const styles = useStyles();
const value2 = (importDefault(14623) /* metro dependency 14623: useGuildPowerupTier3OverrideConfig */)(guildId);
const value3 = (importDefault(14624) /* metro dependency 14624: useGuildPowerupExpiringNotificationsConfig */)(guildId);
let shouldShow = value2.shouldShow;
if (shouldShow) {
var viewBindingProps = {style: styles.container};
items2 = [<Text variant="eyebrow" color="text-subtle">{intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */)['3FRirU'])}</Text>];
shouldShow = value2.shouldShow;
r6 = shouldShow && <Tier3OverrideNotice text={value2.text} />;
items2[1] = r6;
shouldShow = value3.shouldShow;
if (shouldShow) {
value = importDefault(14627) /* metro dependency 14627: GuildPowerupsWarning */;
value = ((Component) => <Component guildId={guildId} powerupNames={value3.expiringPowerupNames} warnings={value3.warnings} />)(value);
r6 = value;
} else {
r6 = shouldShow;
}
items2[2] = r6;
value = <View {...viewBindingProps}>{items2}</View>;
r0 = value;
} else {
shouldShow = value3.shouldShow;
function GuildPowerupsNotificationContainer({guildId}) { // fn#110550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14819:694, offset: 0x0237ce9c, size: 338 bytes, params: 2, frame: 26
var r6;
var r0;
const Text = (TextModule).Text;
const intl = (IndexNativeModule).intl;
var items2;
var value;
const styles = useStyles();
const value2 = (UseGuildPowerupTier3OverrideConfig)(guildId);
const value3 = (UseGuildPowerupExpiringNotificationsConfig)(guildId);
let shouldShow = value2.shouldShow;
if (shouldShow) {
var viewBindingProps = {style: styles.container};
items2 = [<Text variant="eyebrow" color="text-subtle">{intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */)['3FRirU'])}</Text>];
items2 = [
<Text variant="eyebrow" color="text-subtle">
{intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */)['3FRirU'])}
</Text>,
];
shouldShow = value2.shouldShow;
r6 = shouldShow && <Tier3OverrideNotice text={value2.text} />;
items2[1] = r6;
@@ -90,12 +79,47 @@ function GuildPowerupsNotificationContainer({guildId}) { // fn#110550, source: /
r6 = shouldShow;
}
items2[2] = r6;
value = <View {...viewBindingProps}>{items2}</View>;
value = (
<View {...viewBindingProps}>
{items2}
</View>
);
r0 = value;
} else {
r0 = null;
shouldShow = value3.shouldShow;
if (shouldShow) {
var viewBindingProps = {style: styles.container};
items2 = [
<Text variant="eyebrow" color="text-subtle">
{intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */)['3FRirU'])}
</Text>,
];
shouldShow = value2.shouldShow;
r6 = shouldShow && <Tier3OverrideNotice text={value2.text} />;
items2[1] = r6;
shouldShow = value3.shouldShow;
if (shouldShow) {
value = importDefault(14627) /* metro dependency 14627: GuildPowerupsWarning */;
value = ((Component) => <Component guildId={guildId} powerupNames={value3.expiringPowerupNames} warnings={value3.warnings} />)(value);
r6 = value;
} else {
r6 = shouldShow;
}
items2[2] = r6;
value = (
<View {...viewBindingProps}>
{items2}
</View>
);
r0 = value;
} else {
r0 = null;
}
}
return r0;
}
return r0;
}
global.__d(_fun110548, 14622, [27, 33, 4501, 697, 4573, 14623, 14624, 1244, 2256, 14627,
2]) /* metro module 14622, dependencies: [27, 33, 4501, 697, 4573, 14623, 14624, 1244, 2256, 14627, 2] */;