isometrik-plugin-chat-sdk 1.0.8 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/attachment-preview_22.cjs.entry.js +10 -9
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/audio-bubble_4.cjs.entry.js +1 -1
- package/dist/cjs/chat-assets-e32e80c0.js +73 -0
- package/dist/cjs/chat-assets-e32e80c0.js.map +1 -0
- package/dist/cjs/chat-tile_3.cjs.entry.js +1 -1
- package/dist/cjs/forward-memebers.cjs.entry.js +1 -1
- package/dist/cjs/isometrik-webchat.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/login-page_3.cjs.entry.js +23 -13
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/cjs/member-add.cjs.entry.js +1 -1
- package/dist/cjs/new-chat-sidebar.cjs.entry.js +1 -1
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +6 -7
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js +12 -12
- package/dist/collection/components/ChatUIComponent/WebChatBody/WebChatBody.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js +39 -6
- package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +4 -2
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/components/theme-provider.js +9 -9
- package/dist/collection/components/theme-provider.js.map +1 -1
- package/dist/collection/constants/chat-assets.js +39 -123
- package/dist/components/ChatSidebar.js +2 -2
- package/dist/components/ChatSidebar.js.map +1 -1
- package/dist/components/WebChat.js +15 -4
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/WebChatBody.js +9 -8
- package/dist/components/WebChatBody.js.map +1 -1
- package/dist/components/chat-assets.js +34 -82
- package/dist/components/chat-assets.js.map +1 -1
- package/dist/components/theme-provider2.js +9 -9
- package/dist/components/theme-provider2.js.map +1 -1
- package/dist/esm/attachment-preview_22.entry.js +10 -9
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/audio-bubble_4.entry.js +1 -1
- package/dist/esm/chat-assets-4dfb1106.js +38 -0
- package/dist/esm/chat-assets-4dfb1106.js.map +1 -0
- package/dist/esm/chat-tile_3.entry.js +1 -1
- package/dist/esm/forward-memebers.entry.js +1 -1
- package/dist/esm/isometrik-webchat.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/login-page_3.entry.js +23 -13
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/esm/member-add.entry.js +1 -1
- package/dist/esm/new-chat-sidebar.entry.js +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.css +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js.map +1 -1
- package/dist/isometrik-webchat/{p-188b2631.entry.js → p-0085b397.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-ab5e1e85.entry.js → p-1ad1127f.entry.js} +2 -2
- package/dist/isometrik-webchat/p-6d9f8cec.entry.js +2 -0
- package/dist/isometrik-webchat/p-6d9f8cec.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-b44f0bd1.entry.js → p-6ec350aa.entry.js} +2 -2
- package/dist/isometrik-webchat/p-6ffeb379.entry.js +2 -0
- package/dist/isometrik-webchat/p-6ffeb379.entry.js.map +1 -0
- package/dist/isometrik-webchat/{p-e589ff24.entry.js → p-71cc96a3.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-ff8f6bd2.entry.js → p-b8cef5e4.entry.js} +2 -2
- package/dist/isometrik-webchat/p-d424871c.js +2 -0
- package/dist/isometrik-webchat/p-d424871c.js.map +1 -0
- package/dist/types/components/ChatUIComponent/ChatSidebar/ChatSidebar.d.ts +2 -1
- package/dist/types/components/ChatUIComponent/WebChatBody/WebChatBody.d.ts +2 -2
- package/dist/types/components/theme-provider.d.ts +3 -2
- package/dist/types/components.d.ts +26 -8
- package/package.json +53 -10
- package/readme.md +428 -0
- package/dist/cjs/chat-assets-ff067e4d.js +0 -121
- package/dist/cjs/chat-assets-ff067e4d.js.map +0 -1
- package/dist/collection/assets/ExcelDocument.js +0 -2
- package/dist/collection/assets/IsometrikLogo.js +0 -38
- package/dist/collection/assets/Moon.svg +0 -1
- package/dist/collection/assets/New-Chat.svg +0 -5
- package/dist/collection/assets/NoChatPlaceholder.js +0 -16
- package/dist/collection/assets/NoContactsPlaceholder.js +0 -9
- package/dist/collection/assets/NoMessagePlaceholder.svg +0 -13
- package/dist/collection/assets/PdfDocument.js +0 -2
- package/dist/collection/assets/ProfilePlaceholder.js +0 -1
- package/dist/collection/assets/SelectChatPlaceholder.js +0 -13
- package/dist/collection/assets/Sun.svg +0 -1
- package/dist/collection/assets/add-user.svg +0 -6
- package/dist/collection/assets/attachment.svg +0 -4
- package/dist/collection/assets/avatar.svg +0 -1
- package/dist/collection/assets/block-user.svg +0 -4
- package/dist/collection/assets/camera-add.svg +0 -4
- package/dist/collection/assets/camera.svg +0 -17
- package/dist/collection/assets/cancel.svg +0 -12
- package/dist/collection/assets/chatBG.png +0 -0
- package/dist/collection/assets/chatdefaultbg.svg +0 -6140
- package/dist/collection/assets/clear-chat.svg +0 -4
- package/dist/collection/assets/close.svg +0 -4
- package/dist/collection/assets/dark-theme.svg +0 -12
- package/dist/collection/assets/delete.svg +0 -8
- package/dist/collection/assets/doc.png +0 -0
- package/dist/collection/assets/documents.svg +0 -15
- package/dist/collection/assets/doublecheck.svg +0 -1
- package/dist/collection/assets/download.svg +0 -4
- package/dist/collection/assets/drop-down.svg +0 -5
- package/dist/collection/assets/edit.svg +0 -4
- package/dist/collection/assets/equalizer.svg +0 -1
- package/dist/collection/assets/excel.svg +0 -2
- package/dist/collection/assets/forward.svg +0 -4
- package/dist/collection/assets/group-cast.svg +0 -1
- package/dist/collection/assets/group.svg +0 -13
- package/dist/collection/assets/imagePlaceholder.png +0 -0
- package/dist/collection/assets/imagePlaceholder.svg +0 -2
- package/dist/collection/assets/info.svg +0 -4
- package/dist/collection/assets/left-arrow.svg +0 -4
- package/dist/collection/assets/link.svg +0 -1
- package/dist/collection/assets/login.svg +0 -3051
- package/dist/collection/assets/logout.svg +0 -5
- package/dist/collection/assets/message-outline.svg +0 -5
- package/dist/collection/assets/message.svg +0 -1
- package/dist/collection/assets/microphone.svg +0 -2
- package/dist/collection/assets/new_group.svg +0 -9
- package/dist/collection/assets/odt-file.png +0 -0
- package/dist/collection/assets/onboarding.webp +0 -0
- package/dist/collection/assets/paper.svg +0 -5
- package/dist/collection/assets/pause.svg +0 -4
- package/dist/collection/assets/pdf.svg +0 -11
- package/dist/collection/assets/photos.svg +0 -4
- package/dist/collection/assets/play.svg +0 -19
- package/dist/collection/assets/profilePlaceholderImage.png +0 -0
- package/dist/collection/assets/reply.svg +0 -4
- package/dist/collection/assets/rtf.png +0 -0
- package/dist/collection/assets/search.svg +0 -4
- package/dist/collection/assets/send.svg +0 -4
- package/dist/collection/assets/singlecheck.svg +0 -1
- package/dist/collection/assets/smile.svg +0 -2
- package/dist/collection/assets/three-dots.svg +0 -5
- package/dist/collection/assets/txt.png +0 -0
- package/dist/collection/assets/videoPlaceholder.svg +0 -4
- package/dist/collection/assets/videoThumbnail.svg +0 -1
- package/dist/collection/components/ChatUIComponent/AudioBubble.js +0 -315
- package/dist/collection/components/ChatUIComponent/BlockChatList.js +0 -177
- package/dist/collection/components/ChatUIComponent/ForwardMessageList.js +0 -152
- package/dist/collection/components/ChatUIComponent/GroupCast.js +0 -461
- package/dist/collection/components/ChatUIComponent/shared/attachment-preview.js +0 -230
- package/dist/collection/components/ChatUIComponent/shared/chat-loading-placeholder.js +0 -70
- package/dist/collection/components/ChatUIComponent/shared/confirm-dialog.js +0 -51
- package/dist/collection/components/ChatUIComponent/shared/contact-info.js +0 -255
- package/dist/collection/components/ChatUIComponent/shared/context-menu.js +0 -112
- package/dist/collection/components/ChatUIComponent/shared/delete-message.js +0 -49
- package/dist/collection/components/ChatUIComponent/shared/document-message.js +0 -161
- package/dist/collection/components/ChatUIComponent/shared/forward-message.js +0 -139
- package/dist/collection/components/ChatUIComponent/shared/group-chat-contacts.js +0 -201
- package/dist/collection/components/ChatUIComponent/shared/group-info.js +0 -170
- package/dist/collection/components/ChatUIComponent/shared/image-message.js +0 -156
- package/dist/collection/components/ChatUIComponent/shared/incoming-text-message-bubble.js +0 -98
- package/dist/collection/components/ChatUIComponent/shared/link-preview.js +0 -125
- package/dist/collection/components/ChatUIComponent/shared/media-gallery.js +0 -152
- package/dist/collection/components/ChatUIComponent/shared/message-body-render.js +0 -19
- package/dist/collection/components/ChatUIComponent/shared/message-bubble.js +0 -189
- package/dist/collection/components/ChatUIComponent/shared/message-date-pill.js +0 -86
- package/dist/collection/components/ChatUIComponent/shared/message-info.js +0 -188
- package/dist/collection/components/ChatUIComponent/shared/message-search.js +0 -125
- package/dist/collection/components/ChatUIComponent/shared/new-chat-sidebar.js +0 -181
- package/dist/collection/components/ChatUIComponent/shared/outgoing-text-message-bubble.js +0 -98
- package/dist/collection/components/ChatUIComponent/shared/profile-avatar.js +0 -136
- package/dist/collection/components/ChatUIComponent/shared/profile-info.js +0 -220
- package/dist/collection/components/ChatUIComponent/shared/reply-block.js +0 -162
- package/dist/collection/components/ChatUIComponent/shared/reply-message-container.js +0 -193
- package/dist/collection/components/ChatUIComponent/shared/share-popup.js +0 -69
- package/dist/collection/components/ChatUIComponent/shared/spinner-loader.js +0 -74
- package/dist/collection/components/ChatUIComponent/shared/toast-notification.js +0 -106
- package/dist/collection/components/ChatUIComponent/shared/video-message.js +0 -165
- package/dist/collection/components/my-component/my-component.e2e.js +0 -25
- package/dist/collection/components/my-component/my-component.spec.js +0 -34
- package/dist/collection/components/my-component/web-chat/web-chat-split.spec.js +0 -40
- package/dist/collection/lib/chat/chat.spec.js +0 -28
- package/dist/collection/lib/custom-ui/custom-ui.spec.js +0 -49
- package/dist/collection/lib/message-body-segments.spec.js +0 -21
- package/dist/collection/lib/message-dedup.spec.js +0 -17
- package/dist/collection/lib/mqtt/mqtt.spec.js +0 -39
- package/dist/collection/utils/utils.spec.js +0 -15
- package/dist/esm/chat-assets-95633770.js +0 -86
- package/dist/esm/chat-assets-95633770.js.map +0 -1
- package/dist/isometrik-webchat/assets/ExcelDocument.js +0 -2
- package/dist/isometrik-webchat/assets/IsometrikLogo.js +0 -38
- package/dist/isometrik-webchat/assets/Moon.svg +0 -1
- package/dist/isometrik-webchat/assets/New-Chat.svg +0 -5
- package/dist/isometrik-webchat/assets/NoChatPlaceholder.js +0 -16
- package/dist/isometrik-webchat/assets/NoContactsPlaceholder.js +0 -9
- package/dist/isometrik-webchat/assets/NoMessagePlaceholder.svg +0 -13
- package/dist/isometrik-webchat/assets/PdfDocument.js +0 -2
- package/dist/isometrik-webchat/assets/ProfilePlaceholder.js +0 -1
- package/dist/isometrik-webchat/assets/SelectChatPlaceholder.js +0 -13
- package/dist/isometrik-webchat/assets/Sun.svg +0 -1
- package/dist/isometrik-webchat/assets/add-user.svg +0 -6
- package/dist/isometrik-webchat/assets/attachment.svg +0 -4
- package/dist/isometrik-webchat/assets/avatar.svg +0 -1
- package/dist/isometrik-webchat/assets/block-user.svg +0 -4
- package/dist/isometrik-webchat/assets/camera-add.svg +0 -4
- package/dist/isometrik-webchat/assets/camera.svg +0 -17
- package/dist/isometrik-webchat/assets/cancel.svg +0 -12
- package/dist/isometrik-webchat/assets/chatBG.png +0 -0
- package/dist/isometrik-webchat/assets/chatdefaultbg.svg +0 -6140
- package/dist/isometrik-webchat/assets/clear-chat.svg +0 -4
- package/dist/isometrik-webchat/assets/close.svg +0 -4
- package/dist/isometrik-webchat/assets/dark-theme.svg +0 -12
- package/dist/isometrik-webchat/assets/delete.svg +0 -8
- package/dist/isometrik-webchat/assets/doc.png +0 -0
- package/dist/isometrik-webchat/assets/documents.svg +0 -15
- package/dist/isometrik-webchat/assets/doublecheck.svg +0 -1
- package/dist/isometrik-webchat/assets/download.svg +0 -4
- package/dist/isometrik-webchat/assets/drop-down.svg +0 -5
- package/dist/isometrik-webchat/assets/edit.svg +0 -4
- package/dist/isometrik-webchat/assets/equalizer.svg +0 -1
- package/dist/isometrik-webchat/assets/excel.svg +0 -2
- package/dist/isometrik-webchat/assets/forward.svg +0 -4
- package/dist/isometrik-webchat/assets/group-cast.svg +0 -1
- package/dist/isometrik-webchat/assets/group.svg +0 -13
- package/dist/isometrik-webchat/assets/imagePlaceholder.png +0 -0
- package/dist/isometrik-webchat/assets/imagePlaceholder.svg +0 -2
- package/dist/isometrik-webchat/assets/info.svg +0 -4
- package/dist/isometrik-webchat/assets/left-arrow.svg +0 -4
- package/dist/isometrik-webchat/assets/link.svg +0 -1
- package/dist/isometrik-webchat/assets/login.svg +0 -3051
- package/dist/isometrik-webchat/assets/logout.svg +0 -5
- package/dist/isometrik-webchat/assets/message-outline.svg +0 -5
- package/dist/isometrik-webchat/assets/message.svg +0 -1
- package/dist/isometrik-webchat/assets/microphone.svg +0 -2
- package/dist/isometrik-webchat/assets/new_group.svg +0 -9
- package/dist/isometrik-webchat/assets/odt-file.png +0 -0
- package/dist/isometrik-webchat/assets/onboarding.webp +0 -0
- package/dist/isometrik-webchat/assets/paper.svg +0 -5
- package/dist/isometrik-webchat/assets/pause.svg +0 -4
- package/dist/isometrik-webchat/assets/pdf.svg +0 -11
- package/dist/isometrik-webchat/assets/photos.svg +0 -4
- package/dist/isometrik-webchat/assets/play.svg +0 -19
- package/dist/isometrik-webchat/assets/profilePlaceholderImage.png +0 -0
- package/dist/isometrik-webchat/assets/reply.svg +0 -4
- package/dist/isometrik-webchat/assets/rtf.png +0 -0
- package/dist/isometrik-webchat/assets/search.svg +0 -4
- package/dist/isometrik-webchat/assets/send.svg +0 -4
- package/dist/isometrik-webchat/assets/singlecheck.svg +0 -1
- package/dist/isometrik-webchat/assets/smile.svg +0 -2
- package/dist/isometrik-webchat/assets/three-dots.svg +0 -5
- package/dist/isometrik-webchat/assets/txt.png +0 -0
- package/dist/isometrik-webchat/assets/videoPlaceholder.svg +0 -4
- package/dist/isometrik-webchat/assets/videoThumbnail.svg +0 -1
- package/dist/isometrik-webchat/p-4bad6da9.entry.js +0 -2
- package/dist/isometrik-webchat/p-4bad6da9.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-8c73a5d5.entry.js +0 -2
- package/dist/isometrik-webchat/p-8c73a5d5.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-d6f0838c.js +0 -2
- package/dist/isometrik-webchat/p-d6f0838c.js.map +0 -1
- /package/dist/isometrik-webchat/{p-188b2631.entry.js.map → p-0085b397.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-ab5e1e85.entry.js.map → p-1ad1127f.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-b44f0bd1.entry.js.map → p-6ec350aa.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-e589ff24.entry.js.map → p-71cc96a3.entry.js.map} +0 -0
- /package/dist/isometrik-webchat/{p-ff8f6bd2.entry.js.map → p-b8cef5e4.entry.js.map} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none">
|
|
2
|
-
<path d="M10 4H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
3
|
-
<path d="M14 12h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
4
|
-
<path d="M18 8l4 4-4 4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="31" height="31" viewBox="0 0 31 31" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M15.1602 29.4383C14.2977 29.4383 13.4852 29.0008 12.9102 28.2383L11.0352 25.7383C10.9977 25.6883 10.8477 25.6258 10.7852 25.6133H10.1602C4.94766 25.6133 1.72266 24.2008 1.72266 17.1758V10.9258C1.72266 5.40078 4.63516 2.48828 10.1602 2.48828H20.1602C25.6852 2.48828 28.5977 5.40078 28.5977 10.9258V17.1758C28.5977 22.7008 25.6852 25.6133 20.1602 25.6133H19.5352C19.4352 25.6133 19.3477 25.6633 19.2852 25.7383L17.4102 28.2383C16.8352 29.0008 16.0227 29.4383 15.1602 29.4383ZM10.1602 4.36328C5.68516 4.36328 3.59766 6.45078 3.59766 10.9258V17.1758C3.59766 22.8258 5.53516 23.7383 10.1602 23.7383H10.7852C11.4227 23.7383 12.1477 24.1008 12.5352 24.6133L14.4102 27.1133C14.8477 27.6883 15.4727 27.6883 15.9102 27.1133L17.7852 24.6133C18.1977 24.0633 18.8477 23.7383 19.5352 23.7383H20.1602C24.6352 23.7383 26.7227 21.6508 26.7227 17.1758V10.9258C26.7227 6.45078 24.6352 4.36328 20.1602 4.36328H10.1602Z" fill="#9EA4C3"/>
|
|
3
|
-
<path d="M21.4102 11.8633H8.91016C8.39766 11.8633 7.97266 11.4383 7.97266 10.9258C7.97266 10.4133 8.39766 9.98828 8.91016 9.98828H21.4102C21.9227 9.98828 22.3477 10.4133 22.3477 10.9258C22.3477 11.4383 21.9227 11.8633 21.4102 11.8633Z" fill="#9EA4C3"/>
|
|
4
|
-
<path d="M16.4102 18.1133H8.91016C8.39766 18.1133 7.97266 17.6883 7.97266 17.1758C7.97266 16.6633 8.39766 16.2383 8.91016 16.2383H16.4102C16.9227 16.2383 17.3477 16.6633 17.3477 17.1758C17.3477 17.6883 16.9227 18.1133 16.4102 18.1133Z" fill="#9EA4C3"/>
|
|
5
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentColor"><path d="M240-400h320v-80H240v80Zm0-120h480v-80H240v80Zm0-120h480v-80H240v80ZM80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"/></svg>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg fill="#2563eb" width="800px" height="800px" viewBox="-3 0 19 19" xmlns="http://www.w3.org/2000/svg" class="cf-icon-svg"><path d="M11.665 7.915v1.31a5.257 5.257 0 0 1-1.514 3.694 5.174 5.174 0 0 1-1.641 1.126 5.04 5.04 0 0 1-1.456.384v1.899h2.312a.554.554 0 0 1 0 1.108H3.634a.554.554 0 0 1 0-1.108h2.312v-1.899a5.045 5.045 0 0 1-1.456-.384 5.174 5.174 0 0 1-1.641-1.126 5.257 5.257 0 0 1-1.514-3.695v-1.31a.554.554 0 1 1 1.109 0v1.31a4.131 4.131 0 0 0 1.195 2.917 3.989 3.989 0 0 0 5.722 0 4.133 4.133 0 0 0 1.195-2.917v-1.31a.554.554 0 1 1 1.109 0zM3.77 10.37a2.875 2.875 0 0 1-.233-1.146V4.738A2.905 2.905 0 0 1 3.77 3.58a3 3 0 0 1 1.59-1.59 2.902 2.902 0 0 1 1.158-.233 2.865 2.865 0 0 1 1.152.233 2.977 2.977 0 0 1 1.793 2.748l-.012 4.487a2.958 2.958 0 0 1-.856 2.09 3.025 3.025 0 0 1-.937.634 2.865 2.865 0 0 1-1.152.233 2.905 2.905 0 0 1-1.158-.233A2.957 2.957 0 0 1 3.77 10.37z"/></svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Generator: visioncortex VTracer 0.6.4 -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512">
|
|
4
|
-
<path d="M0 0 C0.8 -0.01 1.59 -0.01 2.41 -0.02 C4.09 -0.03 5.77 -0.03 7.45 -0.04 C9.97 -0.05 12.48 -0.08 14.99 -0.11 C48.42 -0.33 78.79 12.99 102.57 36.2 C103.28 36.86 104 37.51 104.74 38.19 C117.83 50.44 127.2 67.43 132.94 84.27 C133.17 84.92 133.39 85.58 133.63 86.26 C142.97 115.6 138.57 145.28 138.57 176.2 C54.09 176.2 -30.39 176.2 -117.43 176.2 C-117.43 73.07 -117.43 73.07 -81.43 36.2 C-80.78 35.49 -80.12 34.77 -79.45 34.03 C-59.98 13.23 -28.24 0.16 0 0 Z " fill="currentColor" transform="translate(165.43359375,239.796875)"/>
|
|
5
|
-
<path d="M0 0 C1.07 0.47 2.14 0.95 3.24 1.44 C19.75 9.52 30.61 22.83 37 40 C41.3 53.91 41.1 71.68 35 85 C34.53 86.07 34.05 87.14 33.56 88.24 C25.54 104.63 12.17 115.82 -5 122 C-22.42 127.06 -41.59 125.04 -57.42 116.46 C-72.86 107.52 -82.87 93.37 -88.11 76.4 C-91.2 63.39 -90.58 47.19 -85 35 C-84.29 33.4 -84.29 33.4 -83.56 31.76 C-76.02 16.35 -63.76 4.82 -47.5 -0.94 C-32.63 -5.88 -14.47 -6.63 0 0 Z " fill="currentColor" transform="translate(201,84)"/>
|
|
6
|
-
<path d="M0 0 C22.63 -0.96 48.86 12.79 65.33 27.57 C67.94 30 70.47 32.49 73 35 C73.74 35.68 74.47 36.35 75.23 37.05 C88.3 49.26 97.65 66.27 103.38 83.06 C103.6 83.72 103.83 84.38 104.06 85.06 C108.18 97.99 109.45 110.74 109.29 124.22 C109.29 125.7 109.28 127.18 109.28 128.66 C109.27 132.49 109.24 136.32 109.21 140.16 C109.17 144.79 109.16 149.42 109.14 154.05 C109.11 161.04 109.05 168.02 109 175 C93.16 175 77.32 175 61 175 C60.62 151.06 60.62 151.06 60.52 143.68 C60.34 132.6 59.95 121.56 59.1 110.5 C58.99 109.01 58.99 109.01 58.88 107.49 C56.2 75.52 41.87 45.07 21 21 C20.28 20.15 19.56 19.29 18.82 18.41 C14.05 12.9 8.94 8.29 3.19 3.81 C1 2 1 2 0 0 Z " fill="currentColor" transform="translate(275,241)"/>
|
|
7
|
-
<path d="M0 0 C10.56 0 21.12 0 32 0 C32 15.84 32 31.68 32 48 C47.84 48 63.68 48 80 48 C80 58.56 80 69.12 80 80 C64.16 80 48.32 80 32 80 C32 95.84 32 111.68 32 128 C21.44 128 10.88 128 0 128 C0 112.16 0 96.32 0 80 C-15.84 80 -31.68 80 -48 80 C-48 69.44 -48 58.88 -48 48 C-32.16 48 -16.32 48 0 48 C0 32.16 0 16.32 0 0 Z " fill="currentColor" transform="translate(400,144)"/>
|
|
8
|
-
<path d="M0 0 C20.09 -0.72 36.87 2.35 52.38 16.25 C63.59 26.79 71.72 42.05 72.34 57.57 C72.65 78.84 72.65 78.84 68 89 C67.53 90.07 67.05 91.14 66.56 92.24 C58.54 108.63 45.17 119.82 28 126 C21.6 127.86 15.58 128.26 8.94 128.12 C8.07 128.12 7.21 128.11 6.31 128.1 C4.21 128.07 2.1 128.04 0 128 C1.19 124.75 2.41 122.27 4.62 119.62 C20.27 99.16 24.66 73.55 21.68 48.32 C18.91 31.88 11.52 16.46 1.07 3.52 C0 2 0 2 0 0 Z " fill="currentColor" transform="translate(248,80)"/>
|
|
9
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Generator: visioncortex VTracer 0.6.4 -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512">
|
|
4
|
-
<path d="M0 0 C2.05 -0.01 4.11 -0.02 6.16 -0.03 C11.7 -0.05 17.24 -0.05 22.79 -0.05 C27.42 -0.05 32.05 -0.06 36.69 -0.07 C47.61 -0.08 58.53 -0.09 69.46 -0.08 C80.73 -0.07 91.99 -0.1 103.26 -0.13 C112.95 -0.17 122.64 -0.18 132.32 -0.17 C138.1 -0.17 143.88 -0.18 149.66 -0.2 C155.09 -0.22 160.52 -0.22 165.95 -0.2 C167.94 -0.2 169.93 -0.2 171.93 -0.22 C174.64 -0.23 177.36 -0.22 180.08 -0.2 C180.87 -0.21 181.66 -0.23 182.47 -0.24 C186.47 -0.17 188.27 0.21 191.4 2.79 C192.1 3.66 192.81 4.53 193.53 5.42 C194.38 6.32 195.23 7.22 196.11 8.15 C201.37 13.86 206.41 19.65 211.29 25.71 C213.62 28.53 216.05 31.23 218.53 33.92 C222.63 38.37 226.46 42.97 230.25 47.67 C232.6 50.5 235.04 53.21 237.53 55.92 C241.63 60.37 245.46 64.97 249.25 69.67 C252.39 73.46 255.73 77.05 259.07 80.67 C261.46 83.34 263.72 86.07 265.97 88.86 C269.19 92.85 272.54 96.67 276.03 100.42 C280.32 105.03 284.34 109.8 288.29 114.71 C290.62 117.53 293.05 120.23 295.53 122.92 C299.63 127.37 303.46 131.97 307.25 136.67 C310.38 140.44 313.71 144.02 317.03 147.63 C320.43 151.42 323.62 155.34 326.82 159.3 C328.36 161.28 328.36 161.28 329.53 162.42 C329.63 163.95 329.66 165.48 329.67 167.01 C329.67 168.01 329.67 169.01 329.68 170.04 C329.68 171.71 329.68 171.71 329.68 173.41 C329.68 174.58 329.69 175.75 329.69 176.96 C329.7 180.22 329.7 183.49 329.71 186.75 C329.71 190.26 329.72 193.78 329.73 197.29 C329.75 205.79 329.76 214.3 329.77 222.8 C329.77 226.8 329.78 230.81 329.78 234.81 C329.8 248.13 329.81 261.45 329.82 274.77 C329.82 278.23 329.82 281.69 329.83 285.15 C329.83 286.01 329.83 286.87 329.83 287.75 C329.84 301.65 329.86 315.56 329.89 329.46 C329.93 343.74 329.95 358.02 329.95 372.3 C329.95 380.31 329.96 388.33 329.98 396.34 C330.01 403.18 330.01 410.01 330.01 416.84 C330 420.32 330 423.8 330.02 427.28 C330.15 454.2 330.15 454.2 325.53 466.42 C325.25 467.17 324.97 467.92 324.68 468.69 C321.3 476.85 316.42 483.89 310.53 490.42 C309.98 491.05 309.43 491.69 308.86 492.34 C298.31 503.72 281.93 511.27 266.55 512.7 C263.42 512.81 260.31 512.82 257.18 512.81 C256 512.81 254.81 512.82 253.59 512.82 C250.34 512.84 247.09 512.83 243.84 512.83 C240.32 512.82 236.8 512.83 233.28 512.84 C226.4 512.86 219.52 512.86 212.64 512.86 C207.04 512.85 201.44 512.85 195.84 512.86 C194.65 512.86 194.65 512.86 193.42 512.86 C191.8 512.86 190.18 512.87 188.55 512.87 C173.35 512.88 158.15 512.88 142.95 512.86 C129.07 512.85 115.19 512.87 101.32 512.89 C87.04 512.92 72.75 512.92 58.47 512.92 C50.47 512.91 42.46 512.92 34.46 512.93 C27.64 512.95 20.83 512.95 14.01 512.93 C10.54 512.92 7.07 512.92 3.6 512.94 C-19.99 513.02 -40.52 510.71 -58.32 493.76 C-73.5 478.58 -80.83 460.99 -80.87 439.59 C-80.86 438.11 -80.86 436.62 -80.85 435.14 C-80.85 433.53 -80.86 431.92 -80.86 430.31 C-80.88 425.91 -80.87 421.52 -80.86 417.13 C-80.85 412.38 -80.86 407.63 -80.87 402.88 C-80.89 393.59 -80.88 384.3 -80.87 375 C-80.87 367.45 -80.87 359.9 -80.87 352.34 C-80.87 351.26 -80.87 350.19 -80.87 349.08 C-80.87 346.89 -80.87 344.7 -80.87 342.51 C-80.88 322.02 -80.87 301.52 -80.86 281.03 C-80.84 263.45 -80.85 245.88 -80.86 228.31 C-80.88 207.89 -80.88 187.46 -80.87 167.04 C-80.87 164.86 -80.87 162.68 -80.87 160.5 C-80.87 159.43 -80.87 158.35 -80.87 157.25 C-80.87 149.71 -80.87 142.17 -80.88 134.62 C-80.89 125.43 -80.88 116.23 -80.87 107.04 C-80.86 102.35 -80.86 97.66 -80.87 92.97 C-80.88 88.67 -80.87 84.37 -80.85 80.08 C-80.85 78.53 -80.85 76.98 -80.86 75.43 C-80.91 63.03 -79.66 51.33 -73.78 40.23 C-73.26 39.22 -73.26 39.22 -72.73 38.2 C-69.63 32.37 -65.93 27.3 -61.47 22.42 C-60.92 21.79 -60.37 21.16 -59.8 20.51 C-43.82 3.24 -22.19 -0.04 0 0 Z M-51.11 36.28 C-59.02 46.18 -63.58 57.33 -63.6 70.03 C-63.61 70.68 -63.61 71.33 -63.61 72.01 C-63.62 74.2 -63.62 76.39 -63.62 78.59 C-63.62 80.17 -63.62 81.76 -63.63 83.35 C-63.64 87.71 -63.64 92.08 -63.64 96.44 C-63.65 101.15 -63.66 105.86 -63.67 110.56 C-63.69 121.93 -63.7 133.3 -63.7 144.67 C-63.71 150.02 -63.71 155.38 -63.72 160.73 C-63.74 178.53 -63.75 196.34 -63.76 214.14 C-63.76 218.76 -63.76 223.38 -63.76 228 C-63.76 229.15 -63.76 230.3 -63.77 231.48 C-63.77 250.07 -63.8 268.67 -63.83 287.26 C-63.86 306.36 -63.88 325.46 -63.89 344.55 C-63.89 355.27 -63.9 365.99 -63.92 376.71 C-63.94 385.84 -63.95 394.97 -63.94 404.1 C-63.94 408.76 -63.94 413.41 -63.96 418.07 C-63.98 422.34 -63.98 426.61 -63.96 430.88 C-63.96 432.41 -63.96 433.95 -63.97 435.49 C-64.1 453.5 -59.14 468.44 -46.47 481.42 C-28.08 497.34 -6.61 496.72 16.4 496.68 C19.02 496.68 21.64 496.68 24.27 496.69 C30.62 496.7 36.98 496.7 43.33 496.69 C48.5 496.69 53.67 496.69 58.84 496.69 C59.58 496.69 60.32 496.69 61.08 496.69 C62.58 496.69 64.08 496.69 65.58 496.69 C79.62 496.7 93.66 496.69 107.7 496.68 C119.72 496.67 131.74 496.67 143.76 496.68 C157.75 496.69 171.75 496.7 185.74 496.69 C187.23 496.69 188.73 496.69 190.22 496.69 C190.95 496.69 191.69 496.69 192.45 496.69 C197.61 496.68 202.76 496.69 207.92 496.69 C214.88 496.7 221.83 496.69 228.78 496.68 C231.33 496.68 233.87 496.68 236.42 496.69 C259.26 496.72 280.17 496.17 297.53 479.42 C308.28 467.39 312.86 453.95 312.77 438.06 C312.77 436.93 312.78 435.8 312.78 434.64 C312.78 430.88 312.77 427.12 312.76 423.36 C312.76 420.66 312.76 417.96 312.76 415.26 C312.76 409.45 312.75 403.64 312.74 397.83 C312.73 389.43 312.72 381.03 312.72 372.63 C312.71 359.01 312.7 345.38 312.68 331.75 C312.66 318.52 312.65 305.28 312.64 292.05 C312.64 291.23 312.64 290.41 312.64 289.57 C312.64 285.48 312.63 281.38 312.63 277.29 C312.61 243.33 312.58 209.38 312.53 175.42 C311.69 175.41 310.85 175.41 309.98 175.4 C301.98 175.34 293.98 175.27 285.98 175.18 C281.87 175.14 277.76 175.1 273.65 175.07 C269.66 175.05 265.68 175.01 261.7 174.96 C260.2 174.94 258.69 174.93 257.19 174.92 C234.96 174.82 214.32 170.01 197.5 154.47 C178.77 134.96 176.1 111.73 176.02 85.85 C176 83.84 175.98 81.82 175.97 79.81 C175.92 74.56 175.89 69.31 175.86 64.07 C175.83 58.69 175.79 53.31 175.74 47.94 C175.65 37.43 175.59 26.93 175.53 16.42 C151.64 16.37 127.74 16.34 103.84 16.32 C92.75 16.31 81.65 16.29 70.55 16.27 C60.88 16.25 51.2 16.24 41.53 16.23 C36.41 16.23 31.29 16.22 26.17 16.21 C21.34 16.19 16.51 16.19 11.69 16.19 C9.92 16.19 8.16 16.19 6.4 16.18 C-15.92 16.09 -35.39 19.25 -51.11 36.28 Z M192.53 31.42 C192.46 40.96 192.41 50.49 192.38 60.03 C192.36 64.46 192.34 68.89 192.31 73.32 C192.27 77.61 192.25 81.89 192.25 86.18 C192.24 87.8 192.23 89.43 192.21 91.05 C192.03 110.46 195.21 127.82 209.29 142.31 C223.25 155.47 238.83 158.77 257.51 158.62 C258.81 158.61 260.1 158.61 261.43 158.61 C264.83 158.6 268.24 158.58 271.64 158.56 C275.12 158.54 278.61 158.53 282.1 158.52 C288.91 158.5 295.72 158.46 302.53 158.42 C301.58 157.14 300.63 155.87 299.69 154.59 C299.16 153.88 298.63 153.17 298.08 152.44 C296.1 149.86 293.95 147.48 291.72 145.11 C288.38 141.49 285.18 137.82 282.09 133.98 C278.87 129.99 275.52 126.17 272.03 122.42 C267.74 117.81 263.73 113.04 259.78 108.13 C257.44 105.31 255.01 102.61 252.53 99.92 C248.44 95.47 244.61 90.87 240.81 86.17 C237.67 82.38 234.33 78.79 231 75.17 C228.6 72.5 226.34 69.77 224.09 66.98 C220.87 62.99 217.52 59.17 214.03 55.42 C208.94 49.95 204.22 44.23 199.53 38.42 C197.57 36.05 195.58 33.72 193.53 31.42 C193.2 31.42 192.87 31.42 192.53 31.42 Z " fill="currentColor" transform="translate(131.468505859375,-0.419921875)"/>
|
|
5
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg fill="currentColor" width="800px" height="800px" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M46.677 64.652c0-9.362 7.132-17.387 16.447-17.394 9.315-.007 24.677.007 34.55.007 9.875 0 17.138 7.594 17.138 16.998 0 9.403-.083 119.094-.083 127.82 0 8.726-7.58 16.895-16.554 16.837-8.975-.058-25.349.115-34.963.058-9.614-.058-16.646-7.74-16.646-17.254 0-9.515.11-117.71.11-127.072zm14.759.818s-.09 118.144-.09 123.691c0 5.547 3.124 5.315 6.481 5.832 3.358.518 21.454.47 24.402.47 2.947 0 7.085-1.658 7.167-6.14.08-4.483-.082-119.507-.082-123.249 0-3.742-4.299-4.264-7.085-4.66-2.787-.395-25.796 0-25.796 0l-4.997 4.056zm76.664-.793c.027-9.804 7.518-17.541 17.125-17.689 9.606-.147 25.283.148 35.004.148 9.72 0 17.397 8.52 17.397 17.77s-.178 117.809-.178 127c0 9.192-7.664 17.12-16.323 17.072-8.66-.05-26.354 0-34.991.048-8.638.05-17.98-8.582-18.007-17.783-.027-9.201-.055-116.763-.027-126.566zm16.917.554s-.089 118.145-.089 123.692c0 5.547 3.123 5.314 6.48 5.832 3.359.518 21.455.47 24.402.47 2.948 0 7.086-1.659 7.167-6.141.081-4.482-.08-119.506-.08-123.248 0-3.742-4.3-4.265-7.087-4.66-2.786-.396-25.796 0-25.796 0l-4.997 4.055z" fill-rule="evenodd"/>
|
|
4
|
-
</svg>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Generator: visioncortex VTracer 0.6.4 -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512">
|
|
4
|
-
<path d="M0 0 C1.8 -0.03 3.6 -0.05 5.4 -0.08 C11.25 -0.17 17.1 -0.22 22.96 -0.26 C24.98 -0.28 27.01 -0.3 29.04 -0.32 C37.48 -0.39 45.92 -0.45 54.37 -0.49 C66.4 -0.53 78.44 -0.64 90.47 -0.83 C98.97 -0.96 107.47 -1.02 115.98 -1.04 C121.04 -1.05 126.1 -1.09 131.16 -1.2 C165.96 -1.91 165.96 -1.91 174.97 6.68 C177.42 9.56 179.51 12.5 181.44 15.75 C183.2 18.55 185.3 20.57 187.72 22.82 C188.4 23.5 189.08 24.17 189.79 24.87 C190.43 25.5 191.08 26.13 191.74 26.79 C195.62 30.59 199.43 34.37 202.96 38.5 C207.73 44.04 212.99 49.1 218.18 54.22 C223.91 59.88 229.58 65.5 234.81 71.63 C239.04 76.37 243.66 80.76 248.18 85.22 C253.91 90.88 259.58 96.5 264.81 102.63 C269.04 107.37 273.66 111.76 278.18 116.22 C290.39 128.27 290.39 128.27 294.51 133.42 C296.32 135.35 297.91 136.65 300.04 138.16 C306.42 143.01 310.76 147.68 311.97 155.82 C312.55 162.82 312.48 169.82 312.35 176.84 C312.3 180.54 312.32 184.23 312.34 187.92 C312.36 195.14 312.31 202.35 312.23 209.57 C312.14 217.98 312.13 226.4 312.12 234.82 C312.1 249.84 312.02 264.87 311.9 279.89 C311.79 294.45 311.71 309 311.68 323.55 C311.68 324.45 311.67 325.35 311.67 326.27 C311.66 329.87 311.66 333.48 311.65 337.08 C311.62 351.83 311.56 366.58 311.49 381.33 C311.47 384.68 311.46 388.03 311.45 391.38 C311.41 400.19 311.37 409 311.3 417.8 C311.27 421.44 311.24 425.08 311.23 428.72 C311.21 432.68 311.18 436.64 311.14 440.59 C311.14 441.73 311.14 442.86 311.13 444.03 C310.98 455.09 309.27 466.14 303.99 475.97 C303.65 476.64 303.3 477.31 302.94 478 C294.48 493.77 281.02 505.05 264.08 510.81 C252.7 513.97 240.92 513.29 229.19 513.26 C226.52 513.26 223.84 513.27 221.17 513.28 C214.68 513.3 208.2 513.3 201.71 513.3 C196.43 513.29 191.16 513.29 185.88 513.3 C185.13 513.3 184.37 513.3 183.59 513.3 C182.06 513.3 180.53 513.3 179 513.31 C164.66 513.32 150.33 513.31 135.99 513.3 C122.91 513.28 109.83 513.3 96.74 513.33 C83.27 513.36 69.8 513.37 56.33 513.36 C54.81 513.36 53.28 513.35 51.75 513.35 C51 513.35 50.25 513.35 49.48 513.35 C44.21 513.35 38.95 513.36 33.69 513.37 C27.26 513.39 20.84 513.39 14.41 513.37 C11.14 513.36 7.87 513.36 4.6 513.37 C-18.86 513.48 -37.21 510.14 -54.85 493.32 C-69.94 477.46 -73.8 458.35 -73.7 437.18 C-73.7 435.55 -73.71 433.92 -73.71 432.29 C-73.73 427.86 -73.72 423.43 -73.71 418.99 C-73.7 414.2 -73.71 409.4 -73.72 404.61 C-73.74 395.22 -73.73 385.84 -73.72 376.46 C-73.72 368.84 -73.72 361.21 -73.72 353.58 C-73.72 352.49 -73.72 351.41 -73.72 350.29 C-73.72 348.08 -73.72 345.87 -73.72 343.66 C-73.73 322.96 -73.72 302.26 -73.71 281.57 C-73.69 263.83 -73.7 246.09 -73.71 228.35 C-73.73 207.72 -73.73 187.1 -73.72 166.47 C-73.72 164.27 -73.72 162.07 -73.72 159.87 C-73.72 158.78 -73.72 157.7 -73.72 156.59 C-73.72 148.97 -73.72 141.36 -73.73 133.74 C-73.74 124.46 -73.73 115.17 -73.72 105.89 C-73.71 101.16 -73.71 96.42 -73.72 91.69 C-73.72 87.35 -73.72 83.01 -73.7 78.67 C-73.7 77.11 -73.7 75.55 -73.71 73.98 C-73.76 61.28 -72.74 48.86 -66.63 37.47 C-66.28 36.81 -65.94 36.14 -65.58 35.45 C-57.05 19.55 -43.43 8.09 -26.2 2.65 C-17.47 0.22 -9.02 0.06 0 0 Z " fill="#E5252A" transform="translate(137.31787109375,-0.723876953125)"/>
|
|
5
|
-
<path d="M0 0 C3.32 1.66 4.56 2.33 6.86 4.88 C7.65 5.75 7.65 5.75 8.47 6.65 C9.03 7.28 9.6 7.91 10.19 8.56 C16.29 15.24 22.6 21.67 29.05 28.01 C32.25 31.18 35.36 34.36 38.29 37.79 C43.05 43.32 48.31 48.38 53.5 53.5 C59.23 59.15 64.9 64.78 70.13 70.9 C74.36 75.64 78.98 80.04 83.5 84.5 C89.23 90.15 94.9 95.78 100.13 101.9 C104.36 106.64 108.98 111.04 113.5 115.5 C119.31 121.23 125.07 126.94 130.38 133.15 C133.24 136.41 136.34 139.41 139.44 142.44 C140.69 143.66 141.94 144.89 143.18 146.12 C143.73 146.65 144.27 147.18 144.83 147.73 C146 149 146 149 146 150 C97.82 150 49.64 150 0 150 C0 100.5 0 51 0 0 Z " fill="#ED686B" transform="translate(302,0)"/>
|
|
6
|
-
<path d="M0 0 C56.46 0 56.46 0 70.8 13.72 C79.88 23.61 82.59 36.17 82.29 49.29 C81.45 60.16 77.89 72.11 70 80 C49.31 97.2 26.8 93 0 93 C0 62.31 0 31.62 0 0 Z " fill="#FEFDFD" transform="translate(221,289)"/>
|
|
7
|
-
<path d="M0 0 C7.88 -0.08 15.76 -0.17 23.88 -0.25 C26.34 -0.29 28.81 -0.32 31.35 -0.36 C33.34 -0.37 35.32 -0.38 37.3 -0.39 C38.81 -0.42 38.81 -0.42 40.36 -0.45 C49.54 -0.46 57.62 1.86 64.46 8.22 C70.9 15.67 72.37 23.02 72.28 32.61 C71.65 40.23 68.53 46.71 63 52 C56.2 56.7 51.22 59.14 42.92 59.1 C41.88 59.1 40.83 59.09 39.75 59.09 C37.77 59.08 37.77 59.08 35.75 59.06 C31.54 59.04 27.34 59.02 23 59 C23 70.22 23 81.44 23 93 C15.41 93 7.82 93 0 93 C0 62.31 0 31.62 0 0 Z " fill="#FEFDFD" transform="translate(139,289)"/>
|
|
8
|
-
<path d="M0 0 C21.78 0 43.56 0 66 0 C66 6.6 66 13.2 66 20 C52.14 20 38.28 20 24 20 C24 24.95 24 29.9 24 35 C35.22 35 46.44 35 58 35 C58 41.6 58 48.2 58 55 C46.78 55 35.56 55 24 55 C24 67.54 24 80.08 24 93 C16.08 93 8.16 93 0 93 C0 62.31 0 31.62 0 0 Z " fill="#FEFDFD" transform="translate(315,289)"/>
|
|
9
|
-
<path d="M0 0 C20.2 0 20.2 0 28 6.5 C28.66 7.32 29.32 8.15 30 9 C30.56 9.64 31.11 10.28 31.69 10.94 C35.97 17.67 35.67 25.31 35 33 C33.63 39.14 31.19 43.95 26.1 47.75 C17.36 52.96 10.54 53 0 53 C0 35.51 0 18.02 0 0 Z " fill="#E5272C" transform="translate(244,309)"/>
|
|
10
|
-
<path d="M0 0 C2.87 -0.08 5.73 -0.17 8.69 -0.25 C9.58 -0.29 10.48 -0.32 11.4 -0.36 C15.45 -0.42 17.5 -0.31 21.02 1.89 C23.06 4.07 23.97 5.04 24.05 8.02 C24 8.8 23.94 9.58 23.88 10.38 C23.83 11.15 23.79 11.92 23.74 12.71 C22.62 16.19 21.16 17.2 18 19 C14.87 19.47 11.84 19.38 8.69 19.25 C4.39 19.13 4.39 19.13 0 19 C0 12.73 0 6.46 0 0 Z " fill="#E5272C" transform="translate(163,309)"/>
|
|
11
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg width="800px" height="800px" viewBox="0 -0.5 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill="currentColor" fill-rule="evenodd" d="M474.188327,259.775909 L480.842912,259.775909 L477.549999,256.482996 L474.375904,259.65709 C474.321124,259.71187 474.256777,259.751373 474.188327,259.775909 Z M474,258.618781 L474,247.775909 L486,247.775909 L486,254.968826 L483.657827,252.626653 C483.470927,252.439753 483.148791,252.4342 482.953529,252.629462 C482.940375,252.642616 482.928101,252.656403 482.916711,252.670736 C482.913161,252.674075 482.909651,252.677479 482.906183,252.680947 L479.034173,256.552957 L477.918719,255.437503 C477.808988,255.327771 477.655516,255.279359 477.507786,255.29536 C477.387162,255.302309 477.267535,255.351246 477.17513,255.44365 L474,258.618781 Z M482.257125,259.775909 L486,259.775909 L486,256.377007 L485.996984,256.380023 L483.309152,253.692192 L479.74128,257.260064 L482.257125,259.775909 Z M487,259.406871 L487.960593,259.541874 C488.51207,259.619379 489.020377,259.235606 489.097766,258.684953 L490.765938,246.815293 C490.843443,246.263816 490.459671,245.75551 489.909017,245.678121 L478.039358,244.009949 C477.487881,243.932444 476.979574,244.316216 476.902185,244.86687 L476.633887,246.775909 L474.006845,246.775909 C473.449949,246.775909 473,247.226689 473,247.782754 L473,259.769063 C473,260.32596 473.45078,260.775909 474.006845,260.775909 L485.993155,260.775909 C486.550051,260.775909 487,260.325128 487,259.769063 L487,259.406871 Z M487,258.397037 L488.10657,258.552556 L489.776647,246.669339 L477.89343,244.999262 L477.643739,246.775909 L485.993155,246.775909 C486.54922,246.775909 487,247.225857 487,247.782754 L487,258.397037 Z" transform="translate(-473 -244)"/>
|
|
4
|
-
</svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
-
<svg width="800px" height="800px" viewBox="-1 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
4
|
-
|
|
5
|
-
<title>play [#1000]</title>
|
|
6
|
-
<desc>Created with Sketch.</desc>
|
|
7
|
-
<defs>
|
|
8
|
-
|
|
9
|
-
</defs>
|
|
10
|
-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
-
<g id="Dribbble-Light-Preview" transform="translate(-65.000000, -3803.000000)" fill="currentColor">
|
|
12
|
-
<g id="icons" transform="translate(56.000000, 160.000000)">
|
|
13
|
-
<path d="M18.074,3650.7335 L12.308,3654.6315 C10.903,3655.5815 9,3654.5835 9,3652.8985 L9,3645.1015 C9,3643.4155 10.903,3642.4185 12.308,3643.3685 L18.074,3647.2665 C19.306,3648.0995 19.306,3649.9005 18.074,3650.7335" id="play-[#1000]">
|
|
14
|
-
|
|
15
|
-
</path>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</svg>
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg fill="currentColor" width="800px" height="800px" viewBox="0 0 1920 1920" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816" fill-rule="evenodd"/>
|
|
4
|
-
</svg>
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none">
|
|
2
|
-
<circle cx="11" cy="11" r="6.5" stroke="currentColor" stroke-width="1.5"/>
|
|
3
|
-
<path d="M16.5 16.5L20.5 20.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
4
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="M11.5003 12H5.41872M5.24634 12.7972L4.24158 15.7986C3.69128 17.4424 3.41613 18.2643 3.61359 18.7704C3.78506 19.21 4.15335 19.5432 4.6078 19.6701C5.13111 19.8161 5.92151 19.4604 7.50231 18.7491L17.6367 14.1886C19.1797 13.4942 19.9512 13.1471 20.1896 12.6648C20.3968 12.2458 20.3968 11.7541 20.1896 11.3351C19.9512 10.8529 19.1797 10.5057 17.6367 9.81135L7.48483 5.24303C5.90879 4.53382 5.12078 4.17921 4.59799 4.32468C4.14397 4.45101 3.77572 4.78336 3.60365 5.22209C3.40551 5.72728 3.67772 6.54741 4.22215 8.18767L5.24829 11.2793C5.34179 11.561 5.38855 11.7019 5.407 11.8459C5.42338 11.9738 5.42321 12.1032 5.40651 12.231C5.38768 12.375 5.34057 12.5157 5.24634 12.7972Z" stroke="#2563eb" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.00004 16.2929L18.6465 6.64645L19.3536 7.35356L9.35359 17.3536C9.25982 17.4473 9.13265 17.5 9.00004 17.5C8.86743 17.5 8.74025 17.4473 8.64648 17.3536L4.64648 13.3536L5.35359 12.6465L9.00004 16.2929Z" fill="currentColor"/></svg>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg fill="#2563eb" width="800px" height="800px" viewBox="-8 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"/></svg>
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
-
<svg width="800px" height="800px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M16 2H0V14H16V2ZM6.5 5V11H7.5L11 8L7.5 5H6.5Z" fill="#000000"/>
|
|
4
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><style>.cls-1{fill:#141f38;}</style></defs><title>video-glyph</title><path class="cls-1" d="M326.4,268.8H185.6a6.41,6.41,0,0,0-6.4,6.4V390.4a6.41,6.41,0,0,0,6.4,6.4H326.4a6.41,6.41,0,0,0,6.4-6.4V275.2A6.41,6.41,0,0,0,326.4,268.8Zm-48.09,69.33L239,357.76a6,6,0,0,1-8.63-5.33V313.17a6,6,0,0,1,8.63-5.33l39.28,19.63A6,6,0,0,1,278.31,338.13ZM307.34,0H115.2a64,64,0,0,0-64,64V448a64,64,0,0,0,64,64H396.8a64,64,0,0,0,64-64V153.6ZM358.4,390.4a32,32,0,0,1-32,32H185.6a32,32,0,0,1-32-32V275.2a32,32,0,0,1,32-32H326.4a32,32,0,0,1,32,32Zm0-224a64,64,0,0,1-64-64V25.6L435.2,166.4Z"/></svg>
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Component, h, State, Prop, Element, Watch } from '@stencil/core';
|
|
8
|
-
import WaveSurfer from 'wavesurfer.js';
|
|
9
|
-
import { convertSecondsToMinutes } from '../../lib/helpers';
|
|
10
|
-
let AudioBubble = class AudioBubble {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.audioWaveColor = '#C5C5C5';
|
|
13
|
-
this.audioProgressColor = '#4A76FD';
|
|
14
|
-
this.textColor = '#4A76FD';
|
|
15
|
-
this.isSelf = false;
|
|
16
|
-
this.borderRadius = '';
|
|
17
|
-
this.bgColor = '';
|
|
18
|
-
this.time = '';
|
|
19
|
-
this.isRead = false;
|
|
20
|
-
this.isDelivered = false;
|
|
21
|
-
this.showFooter = false;
|
|
22
|
-
this.messageId = '';
|
|
23
|
-
this.timeColor = '';
|
|
24
|
-
this.reactions = {};
|
|
25
|
-
this.isPlaying = false;
|
|
26
|
-
this.audioDuration = '0:00';
|
|
27
|
-
this.currentAudioId = null;
|
|
28
|
-
this.waveformContainerReady = false;
|
|
29
|
-
this.wavesurfer = null;
|
|
30
|
-
this.waveformContainer = null;
|
|
31
|
-
this.loadAbortController = null;
|
|
32
|
-
this.currentLoadingUrl = null;
|
|
33
|
-
this.initializationAttempts = 0;
|
|
34
|
-
this.initializationInterval = null;
|
|
35
|
-
this.pauseAudioHandler = () => {
|
|
36
|
-
console.log('Pause requested, wavesurfer exists:', !!this.wavesurfer);
|
|
37
|
-
if (!this.wavesurfer)
|
|
38
|
-
return;
|
|
39
|
-
this.isPlaying = false;
|
|
40
|
-
this.wavesurfer.pause();
|
|
41
|
-
};
|
|
42
|
-
this.playAudioHandler = () => {
|
|
43
|
-
if (!this.wavesurfer) {
|
|
44
|
-
const success = this.initWaveSurfer();
|
|
45
|
-
if (success) {
|
|
46
|
-
// Wait for the 'ready' event before playing
|
|
47
|
-
this.wavesurfer.once('ready', () => {
|
|
48
|
-
this.isPlaying = true;
|
|
49
|
-
this.wavesurfer.play();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
this.isPlaying = true;
|
|
55
|
-
this.wavesurfer.play();
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
componentWillLoad() {
|
|
59
|
-
if (typeof WaveSurfer !== 'function') {
|
|
60
|
-
console.error('WaveSurfer is not available as a function. Import may be failing.');
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
componentDidLoad() {
|
|
64
|
-
if (this.initializationInterval) {
|
|
65
|
-
clearInterval(this.initializationInterval);
|
|
66
|
-
}
|
|
67
|
-
this.initializationInterval = setInterval(() => {
|
|
68
|
-
this.initializationAttempts++;
|
|
69
|
-
if (this.waveformContainer && this.audioUrl) {
|
|
70
|
-
this.initWaveSurfer();
|
|
71
|
-
if (this.wavesurfer) {
|
|
72
|
-
clearInterval(this.initializationInterval);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
if (this.initializationAttempts >= 10) {
|
|
76
|
-
clearInterval(this.initializationInterval);
|
|
77
|
-
}
|
|
78
|
-
}, 500);
|
|
79
|
-
}
|
|
80
|
-
initWaveSurfer() {
|
|
81
|
-
if (!this.waveformContainer) {
|
|
82
|
-
console.error('Waveform container reference is missing');
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
if (!this.waveformContainer.isConnected) {
|
|
86
|
-
console.error('Waveform container is not connected to DOM');
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
if (!this.audioUrl) {
|
|
90
|
-
console.error('Audio URL is missing');
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
try {
|
|
94
|
-
// Abort any ongoing loads before destroying
|
|
95
|
-
this.abortCurrentLoad();
|
|
96
|
-
// Destroy existing instance if any
|
|
97
|
-
if (this.wavesurfer) {
|
|
98
|
-
this.wavesurfer.destroy();
|
|
99
|
-
this.wavesurfer = null;
|
|
100
|
-
}
|
|
101
|
-
// Create a new abort controller for this load operation
|
|
102
|
-
this.loadAbortController = new AbortController();
|
|
103
|
-
this.currentLoadingUrl = this.audioUrl;
|
|
104
|
-
// Create a new instance with more basic settings first
|
|
105
|
-
this.wavesurfer = WaveSurfer.create({
|
|
106
|
-
container: this.waveformContainer,
|
|
107
|
-
waveColor: this.isSelf ? '#000000' : this.audioWaveColor,
|
|
108
|
-
progressColor: this.audioProgressColor,
|
|
109
|
-
height: 40,
|
|
110
|
-
barHeight: 1,
|
|
111
|
-
barWidth: 4,
|
|
112
|
-
barRadius: 3,
|
|
113
|
-
barGap: 4,
|
|
114
|
-
normalize: true,
|
|
115
|
-
sampleRate: 60000,
|
|
116
|
-
fetchParams: {
|
|
117
|
-
signal: this.loadAbortController.signal
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
if (!this.wavesurfer) {
|
|
121
|
-
console.error('Failed to create WaveSurfer instance');
|
|
122
|
-
return false;
|
|
123
|
-
}
|
|
124
|
-
this.wavesurfer.load(this.audioUrl);
|
|
125
|
-
this.wavesurfer.on('ready', () => {
|
|
126
|
-
// Only update if this is still the current URL
|
|
127
|
-
if (this.currentLoadingUrl === this.audioUrl) {
|
|
128
|
-
const totalDuration = this.wavesurfer.getDuration();
|
|
129
|
-
const getSortedTime = convertSecondsToMinutes(Math.round(totalDuration));
|
|
130
|
-
this.audioDuration = getSortedTime;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
this.wavesurfer.on('audioprocess', () => {
|
|
134
|
-
const totalDuration = this.wavesurfer.getCurrentTime();
|
|
135
|
-
const getSortedTime = convertSecondsToMinutes(Math.round(totalDuration));
|
|
136
|
-
this.audioDuration = getSortedTime;
|
|
137
|
-
});
|
|
138
|
-
this.wavesurfer.on('finish', () => {
|
|
139
|
-
this.isPlaying = false;
|
|
140
|
-
this.wavesurfer.seekTo(0);
|
|
141
|
-
// Add a small delay to ensure seekTo completes before setting audioDuration
|
|
142
|
-
setTimeout(() => {
|
|
143
|
-
const totalDuration = this.wavesurfer.getDuration();
|
|
144
|
-
const getSortedTime = convertSecondsToMinutes(Math.round(totalDuration));
|
|
145
|
-
this.audioDuration = getSortedTime;
|
|
146
|
-
}, 50);
|
|
147
|
-
});
|
|
148
|
-
this.wavesurfer.on('error', err => {
|
|
149
|
-
// Only log if it's not an abort error (which we expect when changing URLs)
|
|
150
|
-
if (err.name !== 'AbortError') {
|
|
151
|
-
console.error('WaveSurfer error:', err);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
return true;
|
|
155
|
-
}
|
|
156
|
-
catch (error) {
|
|
157
|
-
console.error('Error initializing WaveSurfer:', error);
|
|
158
|
-
return false;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
abortCurrentLoad() {
|
|
162
|
-
// Abort any ongoing fetch operations
|
|
163
|
-
if (this.loadAbortController) {
|
|
164
|
-
this.loadAbortController.abort();
|
|
165
|
-
this.loadAbortController = null;
|
|
166
|
-
}
|
|
167
|
-
this.currentLoadingUrl = null;
|
|
168
|
-
}
|
|
169
|
-
disconnectedCallback() {
|
|
170
|
-
this.abortCurrentLoad();
|
|
171
|
-
if (this.wavesurfer) {
|
|
172
|
-
this.wavesurfer.destroy();
|
|
173
|
-
this.wavesurfer = null;
|
|
174
|
-
}
|
|
175
|
-
this.isPlaying = false;
|
|
176
|
-
if (this.initializationInterval) {
|
|
177
|
-
clearInterval(this.initializationInterval);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
chatChanged(newAudioUrl, oldAudioUrl) {
|
|
181
|
-
// Only reinitialize if the URL actually changed
|
|
182
|
-
if (newAudioUrl !== oldAudioUrl) {
|
|
183
|
-
// Stop playback before changing URL
|
|
184
|
-
if (this.wavesurfer && this.isPlaying) {
|
|
185
|
-
this.wavesurfer.pause();
|
|
186
|
-
this.isPlaying = false;
|
|
187
|
-
}
|
|
188
|
-
// Reset to default duration display
|
|
189
|
-
this.audioDuration = '0:00';
|
|
190
|
-
// Short delay to ensure clean state before reinitializing
|
|
191
|
-
setTimeout(() => {
|
|
192
|
-
if (this.waveformContainer && newAudioUrl) {
|
|
193
|
-
this.initWaveSurfer();
|
|
194
|
-
}
|
|
195
|
-
}, 100);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
render() {
|
|
199
|
-
return (h("div", { style: {
|
|
200
|
-
background: this.bgColor || (this.isSelf ? 'var(--bg-outgoing-message)' : 'var(--bg-incoming-message)'),
|
|
201
|
-
borderRadius: this.borderRadius || '7.5px',
|
|
202
|
-
color: this.textColor || 'inherit',
|
|
203
|
-
padding: '10px',
|
|
204
|
-
width: '336px',
|
|
205
|
-
maxWidth: '100%',
|
|
206
|
-
boxSizing: 'border-box',
|
|
207
|
-
} },
|
|
208
|
-
h("div", { style: { display: 'flex', alignItems: 'center', gap: '10px', width: '100%' } },
|
|
209
|
-
h("button", { type: "button", "aria-label": this.isPlaying ? 'Pause' : 'Play', style: {
|
|
210
|
-
border: 'none',
|
|
211
|
-
background: 'transparent',
|
|
212
|
-
cursor: 'pointer',
|
|
213
|
-
fontSize: '18px',
|
|
214
|
-
color: 'inherit',
|
|
215
|
-
}, onClick: () => (this.isPlaying ? this.pauseAudioHandler() : this.playAudioHandler()) }, this.isPlaying ? '❚❚' : '▶'),
|
|
216
|
-
h("div", { ref: el => {
|
|
217
|
-
this.waveformContainer = el;
|
|
218
|
-
}, style: { flex: '1', height: '40px', minHeight: '40px' } })),
|
|
219
|
-
h("div", { style: { display: 'flex', justifyContent: 'space-between', fontSize: '10px', marginTop: '4px' } },
|
|
220
|
-
h("span", null, this.audioDuration),
|
|
221
|
-
this.showFooter ? (h("span", { style: { color: this.timeColor } },
|
|
222
|
-
this.time
|
|
223
|
-
? (() => {
|
|
224
|
-
try {
|
|
225
|
-
const d = new Date(Number(this.time));
|
|
226
|
-
if (Number.isNaN(d.getTime()))
|
|
227
|
-
return this.time;
|
|
228
|
-
return new Intl.DateTimeFormat('en-US', {
|
|
229
|
-
hour: '2-digit',
|
|
230
|
-
minute: '2-digit',
|
|
231
|
-
hour12: true,
|
|
232
|
-
}).format(d);
|
|
233
|
-
}
|
|
234
|
-
catch (_a) {
|
|
235
|
-
return this.time;
|
|
236
|
-
}
|
|
237
|
-
})()
|
|
238
|
-
: '',
|
|
239
|
-
this.isSelf ? (this.isRead ? ' ✓✓' : this.isDelivered ? ' ✓✓' : ' ✓') : '')) : null)));
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
__decorate([
|
|
243
|
-
Prop()
|
|
244
|
-
], AudioBubble.prototype, "audioUrl", void 0);
|
|
245
|
-
__decorate([
|
|
246
|
-
Prop()
|
|
247
|
-
], AudioBubble.prototype, "audioWaveColor", void 0);
|
|
248
|
-
__decorate([
|
|
249
|
-
Prop()
|
|
250
|
-
], AudioBubble.prototype, "audioProgressColor", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
Prop()
|
|
253
|
-
], AudioBubble.prototype, "textColor", void 0);
|
|
254
|
-
__decorate([
|
|
255
|
-
Prop()
|
|
256
|
-
], AudioBubble.prototype, "isSelf", void 0);
|
|
257
|
-
__decorate([
|
|
258
|
-
Prop()
|
|
259
|
-
], AudioBubble.prototype, "borderRadius", void 0);
|
|
260
|
-
__decorate([
|
|
261
|
-
Prop()
|
|
262
|
-
], AudioBubble.prototype, "bgColor", void 0);
|
|
263
|
-
__decorate([
|
|
264
|
-
Prop()
|
|
265
|
-
], AudioBubble.prototype, "time", void 0);
|
|
266
|
-
__decorate([
|
|
267
|
-
Prop()
|
|
268
|
-
], AudioBubble.prototype, "isRead", void 0);
|
|
269
|
-
__decorate([
|
|
270
|
-
Prop()
|
|
271
|
-
], AudioBubble.prototype, "isDelivered", void 0);
|
|
272
|
-
__decorate([
|
|
273
|
-
Prop()
|
|
274
|
-
], AudioBubble.prototype, "showFooter", void 0);
|
|
275
|
-
__decorate([
|
|
276
|
-
Prop()
|
|
277
|
-
], AudioBubble.prototype, "messageId", void 0);
|
|
278
|
-
__decorate([
|
|
279
|
-
Prop()
|
|
280
|
-
], AudioBubble.prototype, "timeColor", void 0);
|
|
281
|
-
__decorate([
|
|
282
|
-
Prop()
|
|
283
|
-
], AudioBubble.prototype, "reactions", void 0);
|
|
284
|
-
__decorate([
|
|
285
|
-
Prop()
|
|
286
|
-
], AudioBubble.prototype, "messageType", void 0);
|
|
287
|
-
__decorate([
|
|
288
|
-
State()
|
|
289
|
-
], AudioBubble.prototype, "isPlaying", void 0);
|
|
290
|
-
__decorate([
|
|
291
|
-
State()
|
|
292
|
-
], AudioBubble.prototype, "audioDuration", void 0);
|
|
293
|
-
__decorate([
|
|
294
|
-
State()
|
|
295
|
-
], AudioBubble.prototype, "currentAudioId", void 0);
|
|
296
|
-
__decorate([
|
|
297
|
-
State()
|
|
298
|
-
], AudioBubble.prototype, "waveformContainerReady", void 0);
|
|
299
|
-
__decorate([
|
|
300
|
-
Element()
|
|
301
|
-
], AudioBubble.prototype, "el", void 0);
|
|
302
|
-
__decorate([
|
|
303
|
-
State()
|
|
304
|
-
], AudioBubble.prototype, "initializationAttempts", void 0);
|
|
305
|
-
__decorate([
|
|
306
|
-
Watch('audioUrl')
|
|
307
|
-
], AudioBubble.prototype, "chatChanged", null);
|
|
308
|
-
AudioBubble = __decorate([
|
|
309
|
-
Component({
|
|
310
|
-
tag: 'audio-bubble',
|
|
311
|
-
styleUrl: '',
|
|
312
|
-
shadow: true,
|
|
313
|
-
})
|
|
314
|
-
], AudioBubble);
|
|
315
|
-
export { AudioBubble };
|