@if (isset($targetLoading))
<div wire:loading wire:target="{{ $targetLoading }}">
@else
<div wire:loading>
@endif
    <div class="loading-screen">
        <div class="spinner">
            <div class="rect1"></div>
            <div class="rect2"></div>
            <div class="rect3"></div>
            <div class="rect4"></div>
            <div class="rect5"></div>
        </div>
    </div>
</div>
