@foreach ($sectionChanges as $change)
@php
$changeKey = (string) data_get($change, 'key');
$expandable = data_get($change, 'expandable', false);
$oldDisplay = (string) data_get($change, 'old_display_value');
$newDisplay = (string) data_get($change, 'new_display_value');
$oldFull = data_get($change, 'old_full_value') ?? $oldDisplay;
$newFull = data_get($change, 'new_full_value') ?? $newDisplay;
$label = (string) data_get($change, 'label');
$labelTruncated = mb_strlen($label) > 24;
$rowExpandable = $expandable || $labelTruncated;
@endphp
@if ($rowExpandable)
@else
{{ $label }}
@endif
@if ($expandable)
@else
{{ $oldDisplay }}
@endif
@if ($expandable)
@else
{{ $newDisplay }}
@endif
@if ($rowExpandable)
@endif