@auth
@can('chat.index')
@php
$sysSettings = getSettings();
$firebaseSettings = $sysSettings['firebase'] ?? [];
$adminId = (string) getAdminId();
@endphp
@pushonce('scripts', 'firebase-app-script')
@endpushonce
@pushonce('scripts', 'firebase-firestore-script')
@endpushonce
@push('scripts')
@endpush
@endcan
@endauth