{ if (e.detail === false) { onClose(); } }} >
{#if Object.keys(tools).length > 0}
{#each Object.keys(tools) as toolId} {/each}

{/if} { if (fileUploadEnabled) { if (!detectMobile()) { screenCaptureHandler(); } else { const cameraInputElement = document.getElementById('camera-input'); if (cameraInputElement) { cameraInputElement.click(); } } } }} >
{$i18n.t('Capture')}
{ if (fileUploadEnabled) { uploadFilesHandler(); } }} >
{$i18n.t('Upload Files')}
{#if $config?.features?.enable_google_drive_integration} { uploadGoogleDriveHandler(); }} >
{$i18n.t('Google Drive')}
{/if}