{isValid ?
:
}
{!isGlobal && (
{totalChars}/{totalAllowedChars}
)}
{isGlobal && globalDisplayLimit !== null && (
{totalChars}/{globalDisplayLimit}
)}
{((isGlobal && selectedIntegrations.length) || !isValid) && (
)}
{((isGlobal && selectedIntegrations.length) || !isValid) && (
{!isPicture && !totalChars && (
{t('your_post_should_have_at_least_one_character_or_one_image', 'Your post should have at least one character or one image.')}
)}
{isGlobal && (
{selectedIntegrations.map((p, index) => (
(chars?.[p.integration.id] || 0)
? 'text-[#FF3F3F]'
: ''
)}
>
{p.integration.name} (
{capitalize(p.integration.identifier.split('-')[0])}):
(chars?.[p.integration.id] || 0)
? 'text-[#FF3F3F]'
: ''
)}
>
{isInternal?.[index]
? t('internal_edit', 'Internal Edit')
: `${totalChars}/${chars?.[p.integration.id] || 0}`}
))}
)}
{showStripLinkWarning && (
{t('links_will_be_removed_from', 'Links will be removed from')}:{' '}
{stripLinkNames.join(', ')}
)}
)}
);
};