{{-- The page a recipient opens. No anchored components (menus, tooltips) on it: it has to work on iOS before Safari 18.4, which cannot position them. --}} {{-- Each state is one card under the page's h1: the card holds everything the recipient acts on, and it is the shape SealShare has always shown them. --}} @if (! $authenticated) @else {{-- A download link does not render the page again: the download limit's note switches on the first press here, and the server draws the open window on the next visit. --}} @foreach ($share->files as $file) {{ Number::fileSize($file->file_size) }} @endforeach @if ($share->expires_at)

{{ __('Expires') }}: {{ $share->expires_at->diffForHumans() }}

@endif @if ($share->max_downloads) @if ($downloadWindowEndsAt)

{{ __('You can download these files for another :time.', ['time' => $downloadWindowEndsAt->diffForHumans(syntax: \Carbon\CarbonInterface::DIFF_ABSOLUTE)]) }}

@elseif ($remainingDownloads > 0)

{{ trans_choice('{1} Downloading uses the last remaining download. You then have :window to download the files.|[2,*] Downloading uses 1 of :count remaining downloads. You then have :window to download the files.', $remainingDownloads, ['window' => $downloadWindow]) }}

{{ __('You have :window to download the files.', ['window' => $downloadWindow]) }}

@endif @endif
@if ($share->files->count() > 1) @else @endif
@endif