components([ TextEntry::make('product_id'), TextEntry::make('purchase_token')->copyable()->columnSpanFull(), TextEntry::make('status')->badge(), IconEntry::make('is_consumed')->boolean(), TextEntry::make('purchased_at')->dateTime(), TextEntry::make('validated_at')->dateTime(), TextEntry::make('bazaar_response')->formatStateUsing(fn (?array $state): string => json_encode($state, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE))->columnSpanFull(), ]); } }