@php($ai = (array) (Auth::user()->settings['ai'] ?? [])) @php($traits = (array) old('ai.traits', $ai['traits'] ?? []))