@if(data_get($titleStyle, 'visible', true))
{{ str_replace(["\r\n","\n"], ' ', ($activity->name ?? 'KARTU PESERTA')) }}
@endif
@if(data_get($cardSetting, 'name.visible', false))
{{ $userParticipant->name ?? '-' }}
@endif
@if($photoBase64 && data_get($photoStyle, 'visible', true))
@endif
@if(data_get($cardSetting, 'email.visible', false))
{{ $userParticipant->email ?? '-' }}
@endif
@if(data_get($cardSetting, 'no_hp.visible', false))
{{ $profileParticipant->no_hp ?? '-' }}
@endif
@if(data_get($cardSetting, 'jenis_kelamin.visible', false))
{{ $profileParticipant->jenis_kelamin ?? '-' }}
@endif
@if(data_get($cardSetting, 'pekerjaan.visible', false))
{{ $profileParticipant->pekerjaan ?? '-' }}
@endif
@if(data_get($cardSetting, 'jabatan.visible', false))
{{ $profileParticipant->jabatan ?? '-' }}
@endif
@if(data_get($cardSetting, 'alamat.visible', false))
{{ $profileParticipant->alamat ?? '-' }}
@endif
@if(data_get($cardSetting, 'province.visible', false))
{{ $provinceParticipant ?? '-' }}
@endif
@if(data_get($cardSetting, 'regency.visible', false))
{{ $regencyParticipant ?? '-' }}
@endif
@if(data_get($cardSetting, 'district.visible', false))
{{ $districtParticipant ?? '-' }}
@endif
@if(data_get($qrStyle, 'visible', true))
@php
$qrData = $userParticipant->id ?? 0;
$qrSvg = \SimpleSoftwareIO\QrCode\Facades\QrCode::size($qrSize)->generate($qrData);
$qrBase64 = base64_encode($qrSvg);
@endphp
@endif