{# Unsplash tab content rendered inside the unified attachments picker dialog. Contains a search input that htmx-loads the results grid into #unsplash-results-target. Card-click mechanism: clicking a `.unsplash-card` button POSTs to /select, which creates (or deduplicates) an Attachment row and returns JSON {attachment_id, storage_key, filename, alt_text, deduped}. The JS then synthesises a hidden `.picker-card` button with the matching data-* attributes and programmatically clicks it so the host picker (either `_image_picker_field.html` or the TipTap editor) wires it up exactly as for a library pick. Both host pickers listen for clicks on `.picker-card` inside the picker dialog and read `data-attachment-id`, `data-storage-key`, `data-filename`, `data-alt-text`. Synthesising that button keeps the Unsplash tab compatible with both surfaces without duplicating their selection logic. #}