<div>
    @isset($this->activity)
        <span>Activity: {{ $this->activity?->id }}</span>
        <span>Status: {{ $this->activity?->properties->get('status') }}</span>
        <pre class="flex flex-col-reverse w-full overflow-y-scroll"
            @if ($isPollingActive) wire:poll.750ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($this->activity) }}</pre>
    @endisset
</div>