2026-08-08 06:10:11 +00:00
// Module ID: 11911
// Function ID: 11912
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupsBoostInfo
2026-08-08 06:10:11 +00:00
// Dependencies: [17, 4191, 21, 4303, 712, 11912, 7695, 4299, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 11911 (GuildPowerupsBoostInfo)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator" ;
import { BoostInfoType } from "BoostedGuildTiers" ;
import jsxProd from "jsxProd" ;
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey" ;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c5 ;
2026-07-23 10:11:24 +00:00
let closure_6 ;
2026-07-29 08:29:29 +00:00
( { jsx : c5 , jsxs : closure_6 } = jsxProd ) ;
let obj = { container : null , headerContainer : null } ;
obj = { flex : 1 , alignItems : "center" , justifyContent : "center" , paddingVertical : require ( "Themes" ) . space . PX_12 } ;
obj [ 0 ] = obj ;
obj [ 1 ] = { flexDirection : "row" , alignItems : "center" , justifyContent : "center" , display : "flex" } ;
let closure_7 = createCacheKey . createStyles ( obj ) ;
2026-07-23 10:11:24 +00:00
const result = require ( "jsxProd" ) . fileFinishedImporting ( "modules/premium/powerups/native/GuildPowerupsBoostInfo.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default function GuildPowerupsBoostInfo ( arg0 ) {
let count ;
let type ;
( { count , type } = arg0 ) ;
2026-07-29 08:29:29 +00:00
const tmp = callback ( ) ;
2026-08-08 06:10:11 +00:00
let obj = require ( 11912 ) /* getGuildPowerupsBoostInfoText */ ;
2026-07-20 16:05:17 +00:00
const guildPowerupsBoostInfoText = obj . getGuildPowerupsBoostInfoText ( count , type ) ;
2026-07-29 08:29:29 +00:00
obj = { style : tmp.container , accessible : true , accessibilityLabel : "" + count + ", " + guildPowerupsBoostInfoText , children : null } ;
obj = { style : tmp.headerContainer , importantForAccessibility : "no-hide-descendants" , accessible : false , children : null } ;
2026-07-20 16:05:17 +00:00
if ( type === BoostInfoType . AVAILABLE ) {
2026-07-29 08:29:29 +00:00
let TEXT_MUTED = importDefault ( 712 ) . unsafe_rawColors . GUILD_BOOSTING_PINK ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
TEXT_MUTED = importDefault ( 712 ) . colors . TEXT_MUTED ;
2026-07-20 16:05:17 +00:00
}
2026-08-08 06:10:11 +00:00
const items = [ closure_5 ( require ( 7695 ) /* BoostGemIcon */ . BoostGemIcon , { size : "sm" , color : TEXT_MUTED } ) , ] ;
2026-07-20 16:05:17 +00:00
let str = "text-subtle" ;
if ( type === BoostInfoType . AVAILABLE ) {
str = "text-strong" ;
}
2026-08-08 06:10:11 +00:00
items [ 1 ] = closure_5 ( require ( 4299 ) /* Text */ . Text , { variant : "text-lg/medium" , color : str , importantForAccessibility : "no-hide-descendants" , children : count } ) ;
2026-07-29 08:29:29 +00:00
obj [ 3 ] = items ;
2026-08-08 06:10:11 +00:00
const items1 = [ closure_6 ( View , obj ) , closure_5 ( require ( 4299 ) /* Text */ . Text , { variant : "text-md/normal" , color : "text-subtle" , importantForAccessibility : "no-hide-descendants" , children : guildPowerupsBoostInfoText } ) ] ;
2026-07-29 08:29:29 +00:00
obj [ 3 ] = items1 ;
2026-07-20 16:05:17 +00:00
return closure_6 ( View , obj ) ;
} ;