2023-12-30 07:03:48 +00:00
|
|
|
<script lang="ts">
|
2024-01-18 01:43:45 +00:00
|
|
|
import dayjs from 'dayjs';
|
|
|
|
|
2024-03-02 20:38:51 +00:00
|
|
|
import { tick, createEventDispatcher, getContext } from 'svelte';
|
2023-12-30 07:03:48 +00:00
|
|
|
import Name from './Name.svelte';
|
|
|
|
import ProfileImage from './ProfileImage.svelte';
|
2024-05-25 05:40:36 +00:00
|
|
|
import { models, settings } from '$lib/stores';
|
2024-03-06 19:26:39 +00:00
|
|
|
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
2023-12-30 07:03:48 +00:00
|
|
|
|
2024-05-18 21:19:48 +00:00
|
|
|
import { user as _user } from '$lib/stores';
|
2024-06-18 21:33:44 +00:00
|
|
|
import { getFileContentById } from '$lib/apis/files';
|
2024-07-17 09:39:37 +00:00
|
|
|
import FileItem from '$lib/components/common/FileItem.svelte';
|
2024-08-15 13:41:02 +00:00
|
|
|
import { marked } from 'marked';
|
|
|
|
import { processResponseContent, replaceTokens } from '$lib/utils';
|
2024-08-18 16:28:58 +00:00
|
|
|
import MarkdownTokens from './Markdown/MarkdownTokens.svelte';
|
2024-08-18 18:59:59 +00:00
|
|
|
import Markdown from './Markdown.svelte';
|
2024-05-18 21:19:48 +00:00
|
|
|
|
2024-03-02 20:38:51 +00:00
|
|
|
const i18n = getContext('i18n');
|
|
|
|
|
2024-02-20 21:24:22 +00:00
|
|
|
const dispatch = createEventDispatcher();
|
|
|
|
|
2023-12-30 07:03:48 +00:00
|
|
|
export let user;
|
|
|
|
export let message;
|
|
|
|
export let siblings;
|
2024-02-19 01:03:40 +00:00
|
|
|
export let isFirstMessage: boolean;
|
2024-03-31 21:03:28 +00:00
|
|
|
export let readOnly: boolean;
|
2023-12-30 07:03:48 +00:00
|
|
|
|
|
|
|
export let confirmEditMessage: Function;
|
|
|
|
export let showPreviousMessage: Function;
|
|
|
|
export let showNextMessage: Function;
|
|
|
|
export let copyToClipboard: Function;
|
|
|
|
|
|
|
|
let edit = false;
|
|
|
|
let editedContent = '';
|
2024-03-03 22:40:18 +00:00
|
|
|
let messageEditTextAreaElement: HTMLTextAreaElement;
|
2023-12-30 07:03:48 +00:00
|
|
|
const editMessageHandler = async () => {
|
|
|
|
edit = true;
|
|
|
|
editedContent = message.content;
|
|
|
|
|
|
|
|
await tick();
|
|
|
|
|
2024-03-03 22:40:18 +00:00
|
|
|
messageEditTextAreaElement.style.height = '';
|
|
|
|
messageEditTextAreaElement.style.height = `${messageEditTextAreaElement.scrollHeight}px`;
|
2024-01-01 18:57:27 +00:00
|
|
|
|
2024-03-03 22:40:18 +00:00
|
|
|
messageEditTextAreaElement?.focus();
|
2023-12-30 07:03:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
const editMessageConfirmHandler = async () => {
|
|
|
|
confirmEditMessage(message.id, editedContent);
|
|
|
|
|
|
|
|
edit = false;
|
|
|
|
editedContent = '';
|
|
|
|
};
|
|
|
|
|
|
|
|
const cancelEditMessage = () => {
|
|
|
|
edit = false;
|
|
|
|
editedContent = '';
|
|
|
|
};
|
2024-02-20 23:12:06 +00:00
|
|
|
|
|
|
|
const deleteMessageHandler = async () => {
|
|
|
|
dispatch('delete', message.id);
|
|
|
|
};
|
2023-12-30 07:03:48 +00:00
|
|
|
</script>
|
|
|
|
|
2024-05-18 21:04:35 +00:00
|
|
|
<div class=" flex w-full user-message" dir={$settings.chatDirection}>
|
2024-05-15 22:39:41 +00:00
|
|
|
{#if !($settings?.chatBubble ?? true)}
|
|
|
|
<ProfileImage
|
|
|
|
src={message.user
|
2024-08-13 10:12:35 +00:00
|
|
|
? ($models.find((m) => m.id === message.user)?.info?.meta?.profile_image_url ?? '/user.png')
|
|
|
|
: (user?.profile_image_url ?? '/user.png')}
|
2024-05-15 22:39:41 +00:00
|
|
|
/>
|
|
|
|
{/if}
|
2024-05-19 07:14:23 +00:00
|
|
|
<div class="w-full overflow-hidden pl-1">
|
2024-05-15 22:39:41 +00:00
|
|
|
{#if !($settings?.chatBubble ?? true)}
|
|
|
|
<div>
|
|
|
|
<Name>
|
|
|
|
{#if message.user}
|
2024-05-25 05:40:36 +00:00
|
|
|
{$i18n.t('You')}
|
|
|
|
<span class=" text-gray-500 text-sm font-medium">{message?.user ?? ''}</span>
|
2024-05-18 21:19:48 +00:00
|
|
|
{:else if $settings.showUsername || $_user.name !== user.name}
|
2024-05-15 22:39:41 +00:00
|
|
|
{user.name}
|
2024-01-10 06:47:31 +00:00
|
|
|
{:else}
|
2024-03-05 13:06:27 +00:00
|
|
|
{$i18n.t('You')}
|
2024-01-10 06:47:31 +00:00
|
|
|
{/if}
|
2024-05-15 22:39:41 +00:00
|
|
|
|
|
|
|
{#if message.timestamp}
|
2024-05-15 22:42:43 +00:00
|
|
|
<span
|
2024-08-18 15:40:26 +00:00
|
|
|
class=" invisible group-hover:visible text-gray-400 text-xs font-medium uppercase ml-0.5 -mt-0.5"
|
2024-05-15 22:42:43 +00:00
|
|
|
>
|
|
|
|
{dayjs(message.timestamp * 1000).format($i18n.t('h:mm a'))}
|
2024-05-15 22:39:41 +00:00
|
|
|
</span>
|
|
|
|
{/if}
|
|
|
|
</Name>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2023-12-30 07:03:48 +00:00
|
|
|
|
2024-08-18 18:59:59 +00:00
|
|
|
<div class="chat-{message.role} w-full min-w-full markdown-prose">
|
2023-12-30 07:03:48 +00:00
|
|
|
{#if message.files}
|
2024-05-15 18:13:14 +00:00
|
|
|
<div class="mt-2.5 mb-1 w-full flex flex-col justify-end overflow-x-auto gap-1 flex-wrap">
|
2023-12-30 07:03:48 +00:00
|
|
|
{#each message.files as file}
|
2024-08-13 10:12:35 +00:00
|
|
|
<div class={($settings?.chatBubble ?? true) ? 'self-end' : ''}>
|
2023-12-30 07:03:48 +00:00
|
|
|
{#if file.type === 'image'}
|
|
|
|
<img src={file.url} alt="input" class=" max-h-96 rounded-lg" draggable="false" />
|
2024-07-17 14:56:11 +00:00
|
|
|
{:else}
|
2024-07-17 20:01:32 +00:00
|
|
|
<FileItem
|
|
|
|
url={file.url}
|
|
|
|
name={file.name}
|
|
|
|
type={file.type}
|
2024-08-02 01:46:16 +00:00
|
|
|
size={file?.size}
|
2024-07-17 20:01:32 +00:00
|
|
|
colorClassName="bg-white dark:bg-gray-850 "
|
|
|
|
/>
|
2023-12-30 07:03:48 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/each}
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{#if edit === true}
|
2024-05-15 09:50:50 +00:00
|
|
|
<div class=" w-full bg-gray-50 dark:bg-gray-800 rounded-3xl px-5 py-3 mb-2">
|
2023-12-30 07:03:48 +00:00
|
|
|
<textarea
|
|
|
|
id="message-edit-{message.id}"
|
2024-03-03 22:40:18 +00:00
|
|
|
bind:this={messageEditTextAreaElement}
|
2023-12-30 07:03:48 +00:00
|
|
|
class=" bg-transparent outline-none w-full resize-none"
|
|
|
|
bind:value={editedContent}
|
|
|
|
on:input={(e) => {
|
2024-03-06 19:09:04 +00:00
|
|
|
e.target.style.height = '';
|
|
|
|
e.target.style.height = `${e.target.scrollHeight}px`;
|
2023-12-30 07:03:48 +00:00
|
|
|
}}
|
2024-04-20 19:24:19 +00:00
|
|
|
on:keydown={(e) => {
|
2024-04-20 19:26:27 +00:00
|
|
|
if (e.key === 'Escape') {
|
|
|
|
document.getElementById('close-edit-message-button')?.click();
|
|
|
|
}
|
2024-04-20 19:24:19 +00:00
|
|
|
|
2024-04-20 19:26:27 +00:00
|
|
|
const isCmdOrCtrlPressed = e.metaKey || e.ctrlKey;
|
2024-04-20 19:24:19 +00:00
|
|
|
const isEnterPressed = e.key === 'Enter';
|
|
|
|
|
|
|
|
if (isCmdOrCtrlPressed && isEnterPressed) {
|
|
|
|
document.getElementById('save-edit-message-button')?.click();
|
|
|
|
}
|
|
|
|
}}
|
2023-12-30 07:03:48 +00:00
|
|
|
/>
|
|
|
|
|
2024-05-15 09:45:27 +00:00
|
|
|
<div class=" mt-2 mb-1 flex justify-end space-x-1.5 text-sm font-medium">
|
2023-12-30 07:03:48 +00:00
|
|
|
<button
|
2024-05-15 09:45:27 +00:00
|
|
|
id="close-edit-message-button"
|
2024-06-02 21:04:37 +00:00
|
|
|
class="px-4 py-2 bg-white dark:bg-gray-900 hover:bg-gray-100 text-gray-800 dark:text-gray-100 transition rounded-3xl"
|
2023-12-30 07:03:48 +00:00
|
|
|
on:click={() => {
|
2024-05-15 09:45:27 +00:00
|
|
|
cancelEditMessage();
|
2023-12-30 07:03:48 +00:00
|
|
|
}}
|
|
|
|
>
|
2024-05-15 09:45:27 +00:00
|
|
|
{$i18n.t('Cancel')}
|
2023-12-30 07:03:48 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<button
|
2024-05-15 09:45:27 +00:00
|
|
|
id="save-edit-message-button"
|
2024-06-02 21:04:37 +00:00
|
|
|
class=" px-4 py-2 bg-gray-900 dark:bg-white hover:bg-gray-850 text-gray-100 dark:text-gray-800 transition rounded-3xl"
|
2023-12-30 07:03:48 +00:00
|
|
|
on:click={() => {
|
2024-05-15 09:45:27 +00:00
|
|
|
editMessageConfirmHandler();
|
2023-12-30 07:03:48 +00:00
|
|
|
}}
|
|
|
|
>
|
2024-05-15 09:45:27 +00:00
|
|
|
{$i18n.t('Send')}
|
2023-12-30 07:03:48 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{:else}
|
|
|
|
<div class="w-full">
|
2024-08-15 22:21:57 +00:00
|
|
|
<div class="flex {($settings?.chatBubble ?? true) ? 'justify-end pb-1' : 'w-full'}">
|
2024-05-15 09:45:27 +00:00
|
|
|
<div
|
2024-08-13 10:12:35 +00:00
|
|
|
class="rounded-3xl {($settings?.chatBubble ?? true)
|
2024-05-15 22:39:41 +00:00
|
|
|
? `max-w-[90%] px-5 py-2 bg-gray-50 dark:bg-gray-850 ${
|
|
|
|
message.files ? 'rounded-tr-lg' : ''
|
2024-08-13 10:12:35 +00:00
|
|
|
}`
|
2024-08-15 22:21:57 +00:00
|
|
|
: ' w-full'}"
|
2024-05-15 09:45:27 +00:00
|
|
|
>
|
2024-08-15 13:41:02 +00:00
|
|
|
{#if message.content}
|
2024-08-18 18:59:59 +00:00
|
|
|
<Markdown id={message.id} content={message.content} />
|
2024-08-15 13:41:02 +00:00
|
|
|
{/if}
|
2024-05-15 09:45:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-12-30 07:03:48 +00:00
|
|
|
|
2024-05-15 22:39:41 +00:00
|
|
|
<div
|
2024-08-13 10:12:35 +00:00
|
|
|
class=" flex {($settings?.chatBubble ?? true)
|
2024-05-15 22:39:41 +00:00
|
|
|
? 'justify-end'
|
2024-05-16 02:42:55 +00:00
|
|
|
: ''} text-gray-600 dark:text-gray-500"
|
2024-05-15 22:39:41 +00:00
|
|
|
>
|
|
|
|
{#if !($settings?.chatBubble ?? true)}
|
|
|
|
{#if siblings.length > 1}
|
2024-05-18 21:04:35 +00:00
|
|
|
<div class="flex self-center" dir="ltr">
|
2024-05-15 22:39:41 +00:00
|
|
|
<button
|
|
|
|
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
|
|
|
|
on:click={() => {
|
|
|
|
showPreviousMessage(message);
|
|
|
|
}}
|
2023-12-30 07:03:48 +00:00
|
|
|
>
|
2024-05-15 22:39:41 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
stroke="currentColor"
|
|
|
|
stroke-width="2.5"
|
|
|
|
class="size-3.5"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="M15.75 19.5 8.25 12l7.5-7.5"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
2023-12-30 07:03:48 +00:00
|
|
|
|
2024-05-15 22:39:41 +00:00
|
|
|
<div class="text-sm tracking-widest font-semibold self-center dark:text-gray-100">
|
|
|
|
{siblings.indexOf(message.id) + 1}/{siblings.length}
|
|
|
|
</div>
|
2023-12-30 07:03:48 +00:00
|
|
|
|
2024-05-15 22:39:41 +00:00
|
|
|
<button
|
|
|
|
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
|
|
|
|
on:click={() => {
|
|
|
|
showNextMessage(message);
|
|
|
|
}}
|
2023-12-30 07:03:48 +00:00
|
|
|
>
|
2024-05-15 22:39:41 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
stroke="currentColor"
|
|
|
|
stroke-width="2.5"
|
|
|
|
class="size-3.5"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2023-12-30 07:03:48 +00:00
|
|
|
{/if}
|
2024-03-31 21:03:28 +00:00
|
|
|
{#if !readOnly}
|
2024-04-28 12:39:06 +00:00
|
|
|
<Tooltip content={$i18n.t('Edit')} placement="bottom">
|
2024-03-31 21:03:28 +00:00
|
|
|
<button
|
2024-05-16 02:42:55 +00:00
|
|
|
class="invisible group-hover:visible p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition edit-user-message-button"
|
2024-03-31 21:03:28 +00:00
|
|
|
on:click={() => {
|
|
|
|
editMessageHandler();
|
|
|
|
}}
|
2024-03-06 19:26:39 +00:00
|
|
|
>
|
2024-03-31 21:03:28 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
2024-05-16 02:42:55 +00:00
|
|
|
stroke-width="2.3"
|
2024-03-31 21:03:28 +00:00
|
|
|
stroke="currentColor"
|
|
|
|
class="w-4 h-4"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</Tooltip>
|
|
|
|
{/if}
|
2024-02-18 22:56:31 +00:00
|
|
|
|
2024-04-28 12:39:06 +00:00
|
|
|
<Tooltip content={$i18n.t('Copy')} placement="bottom">
|
2024-02-21 02:03:23 +00:00
|
|
|
<button
|
2024-05-16 02:42:55 +00:00
|
|
|
class="invisible group-hover:visible p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition"
|
2024-02-21 02:03:23 +00:00
|
|
|
on:click={() => {
|
2024-03-06 19:26:39 +00:00
|
|
|
copyToClipboard(message.content);
|
2024-02-21 02:03:23 +00:00
|
|
|
}}
|
2024-02-18 22:56:31 +00:00
|
|
|
>
|
2024-02-21 02:03:23 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
2024-05-16 02:42:55 +00:00
|
|
|
stroke-width="2.3"
|
2024-02-21 02:03:23 +00:00
|
|
|
stroke="currentColor"
|
|
|
|
class="w-4 h-4"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
2024-03-06 19:26:39 +00:00
|
|
|
d="M15.666 3.888A2.25 2.25 0 0013.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 01-.75.75H9a.75.75 0 01-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 01-2.25 2.25H6.75A2.25 2.25 0 014.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 011.927-.184"
|
2024-02-21 02:03:23 +00:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
2024-03-06 19:26:39 +00:00
|
|
|
</Tooltip>
|
|
|
|
|
2024-03-31 21:03:28 +00:00
|
|
|
{#if !isFirstMessage && !readOnly}
|
2024-04-28 12:39:06 +00:00
|
|
|
<Tooltip content={$i18n.t('Delete')} placement="bottom">
|
2024-03-06 19:26:39 +00:00
|
|
|
<button
|
|
|
|
class="invisible group-hover:visible p-1 rounded dark:hover:text-white hover:text-black transition"
|
|
|
|
on:click={() => {
|
|
|
|
deleteMessageHandler();
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
2024-03-08 22:22:23 +00:00
|
|
|
stroke-width="2"
|
2024-03-06 19:26:39 +00:00
|
|
|
stroke="currentColor"
|
|
|
|
class="w-4 h-4"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</Tooltip>
|
2024-02-21 02:03:23 +00:00
|
|
|
{/if}
|
2024-05-15 22:39:41 +00:00
|
|
|
|
|
|
|
{#if $settings?.chatBubble ?? true}
|
|
|
|
{#if siblings.length > 1}
|
2024-05-18 21:04:35 +00:00
|
|
|
<div class="flex self-center" dir="ltr">
|
2024-05-15 22:39:41 +00:00
|
|
|
<button
|
|
|
|
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
|
|
|
|
on:click={() => {
|
|
|
|
showPreviousMessage(message);
|
|
|
|
}}
|
2024-05-15 09:45:27 +00:00
|
|
|
>
|
2024-05-15 22:39:41 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
stroke="currentColor"
|
|
|
|
stroke-width="2.5"
|
|
|
|
class="size-3.5"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="M15.75 19.5 8.25 12l7.5-7.5"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
2024-05-15 09:45:27 +00:00
|
|
|
|
2024-05-15 22:39:41 +00:00
|
|
|
<div class="text-sm tracking-widest font-semibold self-center dark:text-gray-100">
|
|
|
|
{siblings.indexOf(message.id) + 1}/{siblings.length}
|
|
|
|
</div>
|
2024-05-15 09:45:27 +00:00
|
|
|
|
2024-05-15 22:39:41 +00:00
|
|
|
<button
|
|
|
|
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
|
|
|
|
on:click={() => {
|
|
|
|
showNextMessage(message);
|
|
|
|
}}
|
2024-05-15 09:45:27 +00:00
|
|
|
>
|
2024-05-15 22:39:41 +00:00
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
fill="none"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
stroke="currentColor"
|
|
|
|
stroke-width="2.5"
|
|
|
|
class="size-3.5"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
|
|
|
d="m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{/if}
|
2024-05-15 09:45:27 +00:00
|
|
|
{/if}
|
2023-12-30 07:03:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|