@extends('layouts.user_type.auth') @section('profile') @php $pfInitials = strtoupper(collect(preg_split('/\s+/', trim($user->name ?: '?')))->filter()->take(2)->map(fn ($p) => mb_substr($p, 0, 1))->implode('')); @endphp