@php
    $payload = array_key_exists('payload', get_defined_vars())
        ? $payload
        : (isset($getState) ? $getState() : null);
@endphp

@include('filament.partials.json-viewer', ['value' => $payload])
