18, 'height' => 18, 'class' => 'rooster-mark-nav__icon' ] ) : '';
$tone = AIEO_Engine_Blocks::is_tone( (string) ( $cells[3] ?? '' ) ) ? AIEO_Engine_Blocks::tone_classes( (string) $cells[3], true ) : '';
$pill = $glyph . esc_html( $cells[0] );
$pills .= '
'
. ( '' !== $href ? '' . $pill . '' : '' . $pill . '' )
. '';
}
if ( '' === $pills ) {
return;
}
$label = trim( (string) ( $attributes['label'] ?? '' ) );
$wrapper = AIEO_Engine_Blocks::wrapper( $library, [ 'class' => 'rooster-mark-nav', 'aria-label' => '' !== $label ? $label : __( 'On this page', 'ai-eshop-optimizer' ), 'data-rooster-ui' => 'rooster-one/mark' ] );
AIEO_Engine_Blocks::out( sprintf( '', $wrapper, $pills ) );