@penwin/discord-components-core 4.3.8 → 4.3.9-dev-32918495512.0
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/CHANGELOG.md +826 -826
- package/LICENSE.md +20 -0
- package/README.md +673 -673
- package/custom-elements.json +1803 -1708
- package/dist/bundle/index.mjs +1976 -1976
- package/dist/bundle/index.mjs.map +1 -1
- package/dist/bundle/styles/base.css +1 -2
- package/dist/components/_private/BaseDiscordSelectMenuOption.js +72 -72
- package/dist/components/_private/DiscordMediaAttachmentStyles.js +114 -114
- package/dist/components/_private/DiscordPlaybackControlStyles.js +153 -153
- package/dist/components/_private/DiscordVolumeControlStyles.js +158 -158
- package/dist/components/_private/DiscordWhiteSpace.js +4 -4
- package/dist/components/discord-action-row/DiscordActionRow.js +6 -6
- package/dist/components/discord-attachments/DiscordAttachments.js +18 -18
- package/dist/components/discord-audio-attachment/DiscordAudioAttachment.js +202 -202
- package/dist/components/discord-author-info/DiscordAuthorInfo.d.ts.map +1 -1
- package/dist/components/discord-author-info/DiscordAuthorInfo.js +156 -156
- package/dist/components/discord-author-info/DiscordAuthorInfo.js.map +1 -1
- package/dist/components/discord-bold/DiscordBold.js +4 -4
- package/dist/components/discord-button/DiscordButton.d.ts.map +1 -1
- package/dist/components/discord-button/DiscordButton.js +131 -128
- package/dist/components/discord-button/DiscordButton.js.map +1 -1
- package/dist/components/discord-channel-select-menu-option/DiscordChannelSelectMenuOption.js +131 -131
- package/dist/components/discord-code/DiscordCode.js +64 -64
- package/dist/components/discord-code-block/DiscordCodeBlock.js +2 -2
- package/dist/components/discord-command/DiscordCommand.js +109 -109
- package/dist/components/discord-components-column/DiscordComponentsColumn.js +18 -18
- package/dist/components/discord-container/DiscordContainer.js +47 -47
- package/dist/components/discord-custom-emoji/DiscordCustomEmoji.js +36 -36
- package/dist/components/discord-embed/DiscordEmbed.d.ts.map +1 -1
- package/dist/components/discord-embed/DiscordEmbed.js +285 -285
- package/dist/components/discord-embed/DiscordEmbed.js.map +1 -1
- package/dist/components/discord-embed-description/DiscordEmbedDescription.js +25 -25
- package/dist/components/discord-embed-field/DiscordEmbedField.js +40 -40
- package/dist/components/discord-embed-fields/DiscordEmbedFields.js +19 -19
- package/dist/components/discord-embed-footer/DiscordEmbedFooter.js +36 -36
- package/dist/components/discord-file-attachment/DiscordFileAttachment.js +191 -191
- package/dist/components/discord-forwarded-message/DiscordForwardedMessage.js +126 -126
- package/dist/components/discord-header/DiscordHeader.js +27 -27
- package/dist/components/discord-image-attachment/DiscordImageAttachment.js +38 -38
- package/dist/components/discord-input-text/DiscordInputText.js +284 -284
- package/dist/components/discord-invite/DiscordInvite.js +225 -225
- package/dist/components/discord-italic/DiscordItalic.js +4 -4
- package/dist/components/discord-link/DiscordLink.js +19 -19
- package/dist/components/discord-list-item/DiscordListItem.d.ts.map +1 -1
- package/dist/components/discord-list-item/DiscordListItem.js +8 -5
- package/dist/components/discord-list-item/DiscordListItem.js.map +1 -1
- package/dist/components/discord-media-fullscreen-previewer/DiscordMediaFullscreenPreviewer.js +463 -463
- package/dist/components/discord-media-gallery/DiscordMediaGallery.js +219 -219
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.d.ts.map +1 -1
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js +102 -99
- package/dist/components/discord-media-gallery-item/DiscordMediaGalleryItem.js.map +1 -1
- package/dist/components/discord-media-spoileable-cover/DiscordMediaSpoileableCover.js +65 -65
- package/dist/components/discord-mention/DiscordMention.js +66 -66
- package/dist/components/discord-message/DiscordMessage.d.ts.map +1 -1
- package/dist/components/discord-message/DiscordMessage.js +338 -335
- package/dist/components/discord-message/DiscordMessage.js.map +1 -1
- package/dist/components/discord-messages/DiscordMessages.js +77 -77
- package/dist/components/discord-modal/DiscordModal.js +465 -465
- package/dist/components/discord-ordered-list/DiscordOrderedList.d.ts.map +1 -1
- package/dist/components/discord-ordered-list/DiscordOrderedList.js +20 -14
- package/dist/components/discord-ordered-list/DiscordOrderedList.js.map +1 -1
- package/dist/components/discord-poll/DiscordPoll.js +157 -157
- package/dist/components/discord-poll-answer/DiscordPollAnswer.js +227 -227
- package/dist/components/discord-pre/DiscordPre.js +18 -18
- package/dist/components/discord-quote/DiscordQuote.js +31 -31
- package/dist/components/discord-reaction/DiscordReaction.js +73 -73
- package/dist/components/discord-reactions/DiscordReactions.js +9 -9
- package/dist/components/discord-reply/DiscordReply.d.ts.map +1 -1
- package/dist/components/discord-reply/DiscordReply.js +246 -246
- package/dist/components/discord-reply/DiscordReply.js.map +1 -1
- package/dist/components/discord-role-select-menu-option/DiscordRoleSelectMenuOption.js +75 -75
- package/dist/components/discord-section/DiscordSection.js +6 -6
- package/dist/components/discord-section-components/DiscordSectionComponents.js +14 -14
- package/dist/components/discord-select-menu-portal/DiscordSelectMenuPortal.js +30 -30
- package/dist/components/discord-separator/DiscordSeparator.js +9 -9
- package/dist/components/discord-spoiler/DiscordSpoiler.js +31 -31
- package/dist/components/discord-string-select-menu/DiscordStringSelectMenu.js +192 -192
- package/dist/components/discord-string-select-menu-option/DiscordStringSelectMenuOption.js +45 -45
- package/dist/components/discord-subscript/DiscordSubscript.js +15 -15
- package/dist/components/discord-system-message/DiscordSystemMessage.d.ts.map +1 -1
- package/dist/components/discord-system-message/DiscordSystemMessage.js +134 -131
- package/dist/components/discord-system-message/DiscordSystemMessage.js.map +1 -1
- package/dist/components/discord-tenor-video/DiscordTenorVideo.js +76 -76
- package/dist/components/discord-text-display/DiscordTextDisplay.js +10 -10
- package/dist/components/discord-text-file-attachment-previewer/DiscordTextFileAttachmentPreviewer.js +55 -55
- package/dist/components/discord-thread/DiscordThread.js +81 -81
- package/dist/components/discord-thread-message/DiscordThreadMessage.js +90 -90
- package/dist/components/discord-thumbnail/DiscordThumbnail.js +20 -20
- package/dist/components/discord-time/DiscordTime.js +7 -7
- package/dist/components/discord-transcript-header/DiscordTranscriptHeader.js +51 -51
- package/dist/components/discord-unordered-list/DiscordUnorderedList.d.ts.map +1 -1
- package/dist/components/discord-unordered-list/DiscordUnorderedList.js +18 -15
- package/dist/components/discord-unordered-list/DiscordUnorderedList.js.map +1 -1
- package/dist/components/discord-user-select-menu-option/DiscordUserSelectMenuOption.js +58 -58
- package/dist/components/discord-verified-author-tag/DiscordVerifiedAuthorTag.js +36 -36
- package/dist/components/discord-video-attachment/DiscordVideoAttachment.js +494 -494
- package/dist/components/discord-voice-message/DiscordVoiceMessage.js +255 -255
- package/dist/components/svgs/AttachmentDownloadButton.js +67 -67
- package/dist/components/svgs/AttachmentReply.js +5 -5
- package/dist/components/svgs/Boost.js +3 -3
- package/dist/components/svgs/ChannelForum.js +19 -19
- package/dist/components/svgs/ChannelIcon.js +17 -17
- package/dist/components/svgs/ChannelThread.js +15 -15
- package/dist/components/svgs/ChannelsAndRoles.js +23 -23
- package/dist/components/svgs/CommandIcon.js +4 -4
- package/dist/components/svgs/CommandIconName.js +5 -5
- package/dist/components/svgs/CommandReply.js +9 -9
- package/dist/components/svgs/CustomizeCommunity.js +17 -17
- package/dist/components/svgs/DMCall.js +6 -6
- package/dist/components/svgs/DMEdit.js +8 -8
- package/dist/components/svgs/DMMissedCall.js +8 -8
- package/dist/components/svgs/Ephemeral.js +21 -21
- package/dist/components/svgs/ExpandMore.js +4 -4
- package/dist/components/svgs/FileAttachment.js +10 -10
- package/dist/components/svgs/GuildBadge.js +8 -8
- package/dist/components/svgs/LaunchIcon.js +9 -9
- package/dist/components/svgs/LockedVoiceChannel.js +17 -17
- package/dist/components/svgs/MediaPauseIcon.js +2 -2
- package/dist/components/svgs/MediaPlayIcon.js +2 -2
- package/dist/components/svgs/MediaRestartIcon.js +2 -2
- package/dist/components/svgs/MediaVolumeAbove50PercentIcon.js +3 -3
- package/dist/components/svgs/MediaVolumeBelow50PercentIcon.js +2 -2
- package/dist/components/svgs/MediaVolumeMutedIcon.js +2 -2
- package/dist/components/svgs/MessageIcon.js +3 -3
- package/dist/components/svgs/ModalClose.js +4 -4
- package/dist/components/svgs/ModalWarning.js +5 -5
- package/dist/components/svgs/PartnerBadgeOverlay.js +11 -11
- package/dist/components/svgs/Pin.js +5 -5
- package/dist/components/svgs/PremiumIcon.js +6 -6
- package/dist/components/svgs/ReplyIcon.js +5 -5
- package/dist/components/svgs/ServerGuide.js +17 -17
- package/dist/components/svgs/ServerUpgrade.js +7 -7
- package/dist/components/svgs/SystemAlert.js +7 -7
- package/dist/components/svgs/SystemError.js +6 -6
- package/dist/components/svgs/Thread.js +9 -9
- package/dist/components/svgs/UserJoin.js +5 -5
- package/dist/components/svgs/UserLeave.js +5 -5
- package/dist/components/svgs/VerifiedBadgeOverlay.js +4 -4
- package/dist/components/svgs/VerifiedTick.js +13 -13
- package/dist/components/svgs/VideoFullScreenIcon.js +8 -8
- package/dist/components/svgs/VideoPausePopIcon.js +2 -2
- package/dist/components/svgs/VideoPlayPopIcon.js +2 -2
- package/dist/components/svgs/VoiceChannel.js +19 -19
- package/dist/components/svgs/clan-icons/Crystal.js +27 -27
- package/dist/components/svgs/clan-icons/Diamond.js +35 -35
- package/dist/components/svgs/clan-icons/Explosion.js +30 -30
- package/dist/components/svgs/clan-icons/Flame.js +23 -23
- package/dist/components/svgs/clan-icons/Flower.js +18 -18
- package/dist/components/svgs/clan-icons/Heart.js +19 -19
- package/dist/components/svgs/clan-icons/Key.js +32 -32
- package/dist/components/svgs/clan-icons/Leaf.js +23 -23
- package/dist/components/svgs/clan-icons/Lightning.js +25 -25
- package/dist/components/svgs/clan-icons/Magic.js +34 -34
- package/dist/components/svgs/clan-icons/Moon.js +21 -21
- package/dist/components/svgs/clan-icons/Mushroom.js +33 -33
- package/dist/components/svgs/clan-icons/Mythical.js +32 -32
- package/dist/components/svgs/clan-icons/Ornament.js +48 -48
- package/dist/components/svgs/clan-icons/Plasma.js +23 -23
- package/dist/components/svgs/clan-icons/Rock.js +20 -20
- package/dist/components/svgs/clan-icons/Shell.js +29 -29
- package/dist/components/svgs/clan-icons/Skull.js +28 -28
- package/dist/components/svgs/clan-icons/Sun.js +36 -36
- package/dist/components/svgs/clan-icons/Sword.js +27 -27
- package/dist/components/svgs/clan-icons/Water.js +20 -20
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +9 -3
- package/dist/config.js.map +1 -1
- package/dist/hydrate/index.d.ts +40 -0
- package/dist/hydrate/index.d.ts.map +1 -0
- package/dist/hydrate/index.js +48 -0
- package/dist/hydrate/index.js.map +1 -0
- package/package.json +222 -219
- package/dist/bundle/styles/base.css.map +0 -1
- package/dist/components/discord-container copy/DiscordContainer.d.ts +0 -22
- package/dist/components/discord-container copy/DiscordContainer.d.ts.map +0 -1
- package/dist/components/discord-container copy/DiscordContainer.js +0 -159
- package/dist/components/discord-container copy/DiscordContainer.js.map +0 -1
- package/dist/components/discord-media-fullscreen-previewer/context.d.ts +0 -10
- package/dist/components/discord-media-fullscreen-previewer/context.d.ts.map +0 -1
- package/dist/components/discord-media-fullscreen-previewer/context.js +0 -3
- package/dist/components/discord-media-fullscreen-previewer/context.js.map +0 -1
- package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts +0 -26
- package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.d.ts.map +0 -1
- package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js +0 -183
- package/dist/components/discord-media-gallery-tem/DiscordMediaGalleryItem.js.map +0 -1
- package/dist/components/discord-section/DiscordContainer.d.ts +0 -22
- package/dist/components/discord-section/DiscordContainer.d.ts.map +0 -1
- package/dist/components/discord-section/DiscordContainer.js +0 -159
- package/dist/components/discord-section/DiscordContainer.js.map +0 -1
- package/dist/components/discord-section copy/DiscordSection.d.ts +0 -15
- package/dist/components/discord-section copy/DiscordSection.d.ts.map +0 -1
- package/dist/components/discord-section copy/DiscordSection.js +0 -77
- package/dist/components/discord-section copy/DiscordSection.js.map +0 -1
- package/dist/components/discord-section-components/DiscordSection.d.ts +0 -15
- package/dist/components/discord-section-components/DiscordSection.d.ts.map +0 -1
- package/dist/components/discord-section-components/DiscordSection.js +0 -77
- package/dist/components/discord-section-components/DiscordSection.js.map +0 -1
- package/dist/components/discord-text-display/DiscordSection.d.ts +0 -15
- package/dist/components/discord-text-display/DiscordSection.d.ts.map +0 -1
- package/dist/components/discord-text-display/DiscordSection.js +0 -79
- package/dist/components/discord-text-display/DiscordSection.js.map +0 -1
- package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts +0 -71
- package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.d.ts.map +0 -1
- package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js +0 -238
- package/dist/components/discord-text-file-attachment-preview/DiscordTextFileAttachmentPreviewer.js.map +0 -1
|
@@ -27,89 +27,89 @@ let DiscordThread = class DiscordThread extends LitElement {
|
|
|
27
27
|
/**
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
|
-
static { this.styles = css `
|
|
31
|
-
:host {
|
|
32
|
-
border-radius: 4px;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
margin-top: 8px;
|
|
35
|
-
max-width: 480px;
|
|
36
|
-
min-width: 0;
|
|
37
|
-
padding: 8px;
|
|
38
|
-
display: inline-flex;
|
|
39
|
-
width: fit-content;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
background-color: var(--background, #393a41);
|
|
42
|
-
border: 1px solid var(--border, #44454c);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host([light-theme]) {
|
|
46
|
-
--background: color-mix(in oklab, hsl(0 calc(1 * 0%) 100% /1) 100%, #000 0%);
|
|
47
|
-
--border: color-mix(in oklab, hsl(240 calc(1 * 4%) 60.784% /0.2784313725490196) 100%, hsl(0 0% 0% /0.2784313725490196) 0%);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
:host .discord-thread-top {
|
|
51
|
-
display: flex;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
:host .discord-thread-bottom {
|
|
55
|
-
font-size: 0.875rem;
|
|
56
|
-
line-height: 1.125rem;
|
|
57
|
-
align-items: center;
|
|
58
|
-
color: #b9bbbe;
|
|
59
|
-
display: flex;
|
|
60
|
-
margin-top: 2px;
|
|
61
|
-
white-space: nowrap;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
:host([light-theme]) .discord-thread-bottom {
|
|
65
|
-
color: #4f5660;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host .discord-thread-name {
|
|
69
|
-
font-size: 0.875rem;
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
line-height: 1.125rem;
|
|
72
|
-
color: white;
|
|
73
|
-
margin-right: 8px;
|
|
74
|
-
overflow: hidden;
|
|
75
|
-
text-overflow: ellipsis;
|
|
76
|
-
white-space: nowrap;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:host .discord-thread-cta {
|
|
80
|
-
color: var(--color, color-mix(in oklab, hsl(213.934 calc(1 * 85.915%) 72.157% /1) 100%, #000 0%));
|
|
81
|
-
flex-shrink: 0;
|
|
82
|
-
font-size: 0.875rem;
|
|
83
|
-
font-weight: 600;
|
|
84
|
-
line-height: 1.125rem;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
:host([light-theme]) {
|
|
88
|
-
.discord-thread-name {
|
|
89
|
-
color: #060607;
|
|
90
|
-
}
|
|
91
|
-
.discord-thread-cta {
|
|
92
|
-
--color: #0074e3;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
:host .discord-thread-cta:hover {
|
|
97
|
-
text-decoration: underline;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.discord-thread:hover .discord-thread-cta {
|
|
101
|
-
text-decoration: underline;
|
|
102
|
-
}
|
|
30
|
+
static { this.styles = css `
|
|
31
|
+
:host {
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
margin-top: 8px;
|
|
35
|
+
max-width: 480px;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
padding: 8px;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
width: fit-content;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
background-color: var(--background, #393a41);
|
|
42
|
+
border: 1px solid var(--border, #44454c);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([light-theme]) {
|
|
46
|
+
--background: color-mix(in oklab, hsl(0 calc(1 * 0%) 100% /1) 100%, #000 0%);
|
|
47
|
+
--border: color-mix(in oklab, hsl(240 calc(1 * 4%) 60.784% /0.2784313725490196) 100%, hsl(0 0% 0% /0.2784313725490196) 0%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host .discord-thread-top {
|
|
51
|
+
display: flex;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host .discord-thread-bottom {
|
|
55
|
+
font-size: 0.875rem;
|
|
56
|
+
line-height: 1.125rem;
|
|
57
|
+
align-items: center;
|
|
58
|
+
color: #b9bbbe;
|
|
59
|
+
display: flex;
|
|
60
|
+
margin-top: 2px;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([light-theme]) .discord-thread-bottom {
|
|
65
|
+
color: #4f5660;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host .discord-thread-name {
|
|
69
|
+
font-size: 0.875rem;
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
line-height: 1.125rem;
|
|
72
|
+
color: white;
|
|
73
|
+
margin-right: 8px;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host .discord-thread-cta {
|
|
80
|
+
color: var(--color, color-mix(in oklab, hsl(213.934 calc(1 * 85.915%) 72.157% /1) 100%, #000 0%));
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
font-size: 0.875rem;
|
|
83
|
+
font-weight: 600;
|
|
84
|
+
line-height: 1.125rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([light-theme]) {
|
|
88
|
+
.discord-thread-name {
|
|
89
|
+
color: #060607;
|
|
90
|
+
}
|
|
91
|
+
.discord-thread-cta {
|
|
92
|
+
--color: #0074e3;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host .discord-thread-cta:hover {
|
|
97
|
+
text-decoration: underline;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.discord-thread:hover .discord-thread-cta {
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
}
|
|
103
103
|
`; }
|
|
104
104
|
render() {
|
|
105
|
-
return html `
|
|
106
|
-
<div class="discord-thread-top">
|
|
107
|
-
<span class="discord-thread-name">${this.name}</span>
|
|
108
|
-
<span class="discord-thread-cta" aria-hidden="true"> ${this.cta} › </span>
|
|
109
|
-
</div>
|
|
110
|
-
<span class="discord-thread-bottom">
|
|
111
|
-
<slot></slot>
|
|
112
|
-
</span>
|
|
105
|
+
return html `
|
|
106
|
+
<div class="discord-thread-top">
|
|
107
|
+
<span class="discord-thread-name">${this.name}</span>
|
|
108
|
+
<span class="discord-thread-cta" aria-hidden="true"> ${this.cta} › </span>
|
|
109
|
+
</div>
|
|
110
|
+
<span class="discord-thread-bottom">
|
|
111
|
+
<slot></slot>
|
|
112
|
+
</span>
|
|
113
113
|
`;
|
|
114
114
|
}
|
|
115
115
|
};
|
|
@@ -53,88 +53,88 @@ let DiscordThreadMessage = class DiscordThreadMessage extends LitElement {
|
|
|
53
53
|
/**
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
|
-
static { this.styles = css `
|
|
57
|
-
:host {
|
|
58
|
-
height: 18px;
|
|
59
|
-
min-width: 0;
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
font-size: 0.875rem;
|
|
63
|
-
line-height: 1.125rem;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:host .discord-thread-message-avatar {
|
|
67
|
-
margin-right: 8px;
|
|
68
|
-
flex: 0 0 auto;
|
|
69
|
-
width: 16px;
|
|
70
|
-
height: 16px;
|
|
71
|
-
border-radius: 50%;
|
|
72
|
-
user-select: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host .discord-thread-message-username {
|
|
76
|
-
flex-shrink: 0;
|
|
77
|
-
font-size: inherit;
|
|
78
|
-
line-height: inherit;
|
|
79
|
-
margin-right: 0.25rem;
|
|
80
|
-
opacity: 0.64;
|
|
81
|
-
color: white;
|
|
82
|
-
display: inline;
|
|
83
|
-
vertical-align: baseline;
|
|
84
|
-
position: relative;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:host([light-theme]) .discord-thread-message-username {
|
|
89
|
-
color: #060607;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
:host .discord-application-tag {
|
|
93
|
-
background-color: #5865f2;
|
|
94
|
-
color: #fff;
|
|
95
|
-
font-size: 0.65em;
|
|
96
|
-
margin-right: 5px;
|
|
97
|
-
border-radius: 3px;
|
|
98
|
-
line-height: 100%;
|
|
99
|
-
text-transform: uppercase;
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
height: 0.9375rem;
|
|
103
|
-
padding: 0 0.275rem;
|
|
104
|
-
margin-top: 0.075em;
|
|
105
|
-
border-radius: 0.1875rem;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
:host .discord-application-tag-verified {
|
|
109
|
-
display: inline-block;
|
|
110
|
-
width: 0.9375rem;
|
|
111
|
-
height: 0.9375rem;
|
|
112
|
-
margin-left: -0.25rem;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
:host .discord-thread-message-content {
|
|
116
|
-
display: flex;
|
|
117
|
-
align-items: baseline;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
:host .discord-message-edited {
|
|
121
|
-
color: #abacb2;
|
|
122
|
-
font-size: 10px;
|
|
123
|
-
margin-left: 5px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
:host .discord-thread-message-timestamp {
|
|
127
|
-
color: #abacb2;
|
|
128
|
-
flex-shrink: 0;
|
|
129
|
-
margin-left: 8px;
|
|
130
|
-
font-size: 0.875rem;
|
|
131
|
-
line-height: 1.125rem;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
:host([light-theme]) .discord-thread-message-timestamp,
|
|
135
|
-
:host([light-theme]) .discord-message-edited {
|
|
136
|
-
color: #747f8d;
|
|
137
|
-
}
|
|
56
|
+
static { this.styles = css `
|
|
57
|
+
:host {
|
|
58
|
+
height: 18px;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
font-size: 0.875rem;
|
|
63
|
+
line-height: 1.125rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:host .discord-thread-message-avatar {
|
|
67
|
+
margin-right: 8px;
|
|
68
|
+
flex: 0 0 auto;
|
|
69
|
+
width: 16px;
|
|
70
|
+
height: 16px;
|
|
71
|
+
border-radius: 50%;
|
|
72
|
+
user-select: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host .discord-thread-message-username {
|
|
76
|
+
flex-shrink: 0;
|
|
77
|
+
font-size: inherit;
|
|
78
|
+
line-height: inherit;
|
|
79
|
+
margin-right: 0.25rem;
|
|
80
|
+
opacity: 0.64;
|
|
81
|
+
color: white;
|
|
82
|
+
display: inline;
|
|
83
|
+
vertical-align: baseline;
|
|
84
|
+
position: relative;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([light-theme]) .discord-thread-message-username {
|
|
89
|
+
color: #060607;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host .discord-application-tag {
|
|
93
|
+
background-color: #5865f2;
|
|
94
|
+
color: #fff;
|
|
95
|
+
font-size: 0.65em;
|
|
96
|
+
margin-right: 5px;
|
|
97
|
+
border-radius: 3px;
|
|
98
|
+
line-height: 100%;
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
height: 0.9375rem;
|
|
103
|
+
padding: 0 0.275rem;
|
|
104
|
+
margin-top: 0.075em;
|
|
105
|
+
border-radius: 0.1875rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host .discord-application-tag-verified {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
width: 0.9375rem;
|
|
111
|
+
height: 0.9375rem;
|
|
112
|
+
margin-left: -0.25rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host .discord-thread-message-content {
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: baseline;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:host .discord-message-edited {
|
|
121
|
+
color: #abacb2;
|
|
122
|
+
font-size: 10px;
|
|
123
|
+
margin-left: 5px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host .discord-thread-message-timestamp {
|
|
127
|
+
color: #abacb2;
|
|
128
|
+
flex-shrink: 0;
|
|
129
|
+
margin-left: 8px;
|
|
130
|
+
font-size: 0.875rem;
|
|
131
|
+
line-height: 1.125rem;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host([light-theme]) .discord-thread-message-timestamp,
|
|
135
|
+
:host([light-theme]) .discord-message-edited {
|
|
136
|
+
color: #747f8d;
|
|
137
|
+
}
|
|
138
138
|
`; }
|
|
139
139
|
resolveAvatar(avatar) {
|
|
140
140
|
return avatars[avatar] ?? avatar ?? avatars.default;
|
|
@@ -143,14 +143,14 @@ let DiscordThreadMessage = class DiscordThreadMessage extends LitElement {
|
|
|
143
143
|
const defaultData = { author: this.author, bot: this.bot, verified: this.verified, server: this.server, roleColor: this.roleColor };
|
|
144
144
|
const profileData = Reflect.get(profiles, this.profile) ?? {};
|
|
145
145
|
const profile = { ...defaultData, ...profileData, avatar: this.resolveAvatar(profileData.avatar ?? this.avatar) };
|
|
146
|
-
return html `<img src=${ifDefined(profile.avatar)} class="discord-thread-message-avatar" alt=${ifDefined(profile.author)} />
|
|
147
|
-
${when(profile.bot && !profile.server, () => html `<span class="discord-application-tag"> ${profile.verified ? VerifiedTick() : null} App </span>`)}
|
|
148
|
-
${when(profile.server && !profile.bot, () => html `<span class="discord-application-tag">Server</span>`)}
|
|
149
|
-
<span class="discord-thread-message-username" style=${styleMap({ color: profile.roleColor })}> ${profile.author} </span>
|
|
150
|
-
<div class="discord-thread-message-content">
|
|
151
|
-
<slot></slot>
|
|
152
|
-
${when(this.edited, () => html `<span class="discord-message-edited">(edited)</span>`)}
|
|
153
|
-
</div>
|
|
146
|
+
return html `<img src=${ifDefined(profile.avatar)} class="discord-thread-message-avatar" alt=${ifDefined(profile.author)} />
|
|
147
|
+
${when(profile.bot && !profile.server, () => html `<span class="discord-application-tag"> ${profile.verified ? VerifiedTick() : null} App </span>`)}
|
|
148
|
+
${when(profile.server && !profile.bot, () => html `<span class="discord-application-tag">Server</span>`)}
|
|
149
|
+
<span class="discord-thread-message-username" style=${styleMap({ color: profile.roleColor })}> ${profile.author} </span>
|
|
150
|
+
<div class="discord-thread-message-content">
|
|
151
|
+
<slot></slot>
|
|
152
|
+
${when(this.edited, () => html `<span class="discord-message-edited">(edited)</span>`)}
|
|
153
|
+
</div>
|
|
154
154
|
<span class="discord-thread-message-timestamp">${this.relativeTimestamp}</span>`;
|
|
155
155
|
}
|
|
156
156
|
};
|
|
@@ -22,30 +22,30 @@ let DiscordThumbnail = class DiscordThumbnail extends LitElement {
|
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
24
|
static { this.styles = [
|
|
25
|
-
css `
|
|
26
|
-
:host {
|
|
27
|
-
display: inline-block;
|
|
28
|
-
width: 85px;
|
|
29
|
-
height: 85px;
|
|
30
|
-
border-radius: 8px;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
}
|
|
33
|
-
img {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
}
|
|
25
|
+
css `
|
|
26
|
+
:host {
|
|
27
|
+
display: inline-block;
|
|
28
|
+
width: 85px;
|
|
29
|
+
height: 85px;
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
img {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
36
|
`,
|
|
37
37
|
DiscordMediaSpoileableCover.hostStyles
|
|
38
38
|
]; }
|
|
39
39
|
render() {
|
|
40
|
-
return html `
|
|
41
|
-
${DiscordMediaSpoileableCover.inject(this.spoiler)}
|
|
42
|
-
<img src=${this.media} alt="Thumbnail" width="85" height="85" draggable="false" @click=${() => (this.isOpen = true)} />
|
|
43
|
-
<discord-media-fullscreen-previewer
|
|
44
|
-
@close-full-screen=${() => (this.isOpen = false)}
|
|
45
|
-
.currentSlot=${0}
|
|
46
|
-
.isOpen=${this.isOpen}
|
|
47
|
-
.mediaItems=${[{ height: 85, media: this.media, mimeType: 'image', width: 85 }]}
|
|
48
|
-
></discord-media-fullscreen-previewer>
|
|
40
|
+
return html `
|
|
41
|
+
${DiscordMediaSpoileableCover.inject(this.spoiler)}
|
|
42
|
+
<img src=${this.media} alt="Thumbnail" width="85" height="85" draggable="false" @click=${() => (this.isOpen = true)} />
|
|
43
|
+
<discord-media-fullscreen-previewer
|
|
44
|
+
@close-full-screen=${() => (this.isOpen = false)}
|
|
45
|
+
.currentSlot=${0}
|
|
46
|
+
.isOpen=${this.isOpen}
|
|
47
|
+
.mediaItems=${[{ height: 85, media: this.media, mimeType: 'image', width: 85 }]}
|
|
48
|
+
></discord-media-fullscreen-previewer>
|
|
49
49
|
`;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
@@ -43,13 +43,13 @@ let DiscordTime = class DiscordTime extends LitElement {
|
|
|
43
43
|
/**
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
46
|
-
static { this.styles = css `
|
|
47
|
-
:host {
|
|
48
|
-
white-space: nowrap;
|
|
49
|
-
background-color: #ffffff0f;
|
|
50
|
-
border-radius: 3px;
|
|
51
|
-
padding: 0 2px;
|
|
52
|
-
}
|
|
46
|
+
static { this.styles = css `
|
|
47
|
+
:host {
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
background-color: #ffffff0f;
|
|
50
|
+
border-radius: 3px;
|
|
51
|
+
padding: 0 2px;
|
|
52
|
+
}
|
|
53
53
|
`; }
|
|
54
54
|
/**
|
|
55
55
|
* Generates a string for the time.
|
|
@@ -18,63 +18,63 @@ let DiscordTranscriptHeader = class DiscordTranscriptHeader extends LitElement {
|
|
|
18
18
|
/**
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
static { this.styles = css `
|
|
22
|
-
:host {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
max-height: 5rem;
|
|
26
|
-
padding: 0.5rem;
|
|
27
|
-
gap: 0.5rem;
|
|
28
|
-
border-bottom: 1px solid rgba(79, 84, 92, 0.48);
|
|
29
|
-
padding-bottom: 1rem !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.discord-header-icon {
|
|
33
|
-
float: left;
|
|
34
|
-
width: 5rem;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.discord-header-icon > div {
|
|
38
|
-
background-color: rgb(79, 84, 92);
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
width: 5rem;
|
|
41
|
-
height: 5rem;
|
|
42
|
-
text-align: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
display: flex;
|
|
46
|
-
font-size: xx-large;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.discord-header-icon > img {
|
|
50
|
-
border-radius: 50%;
|
|
51
|
-
width: auto;
|
|
52
|
-
height: 100%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.discord-header-text {
|
|
56
|
-
flex-grow: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.discord-header-text-guild {
|
|
60
|
-
font-size: 1.5rem;
|
|
61
|
-
font-weight: bold;
|
|
62
|
-
}
|
|
21
|
+
static { this.styles = css `
|
|
22
|
+
:host {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
max-height: 5rem;
|
|
26
|
+
padding: 0.5rem;
|
|
27
|
+
gap: 0.5rem;
|
|
28
|
+
border-bottom: 1px solid rgba(79, 84, 92, 0.48);
|
|
29
|
+
padding-bottom: 1rem !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.discord-header-icon {
|
|
33
|
+
float: left;
|
|
34
|
+
width: 5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.discord-header-icon > div {
|
|
38
|
+
background-color: rgb(79, 84, 92);
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
width: 5rem;
|
|
41
|
+
height: 5rem;
|
|
42
|
+
text-align: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
display: flex;
|
|
46
|
+
font-size: xx-large;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.discord-header-icon > img {
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
width: auto;
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.discord-header-text {
|
|
56
|
+
flex-grow: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.discord-header-text-guild {
|
|
60
|
+
font-size: 1.5rem;
|
|
61
|
+
font-weight: bold;
|
|
62
|
+
}
|
|
63
63
|
`; }
|
|
64
64
|
getLettersName() {
|
|
65
65
|
const split = this.guild.split(' ');
|
|
66
66
|
return split.length > 1 ? split[0][0] + split[1][0] : split[0][0];
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return html `<div class="discord-header-icon">
|
|
70
|
-
${when(this.icon, () => html `<img src="${this.icon}" alt="guild icon" />`, () => html `<div>
|
|
71
|
-
<span> ${this.getLettersName()} </span>
|
|
72
|
-
</div>`)}
|
|
73
|
-
</div>
|
|
74
|
-
<div class="discord-header-text">
|
|
75
|
-
<div class="discord-header-text-guild">${this.guild}</div>
|
|
76
|
-
<div class="discord-header-text-channel">#${this.channel}</div>
|
|
77
|
-
<slot></slot>
|
|
69
|
+
return html `<div class="discord-header-icon">
|
|
70
|
+
${when(this.icon, () => html `<img src="${this.icon}" alt="guild icon" />`, () => html `<div>
|
|
71
|
+
<span> ${this.getLettersName()} </span>
|
|
72
|
+
</div>`)}
|
|
73
|
+
</div>
|
|
74
|
+
<div class="discord-header-text">
|
|
75
|
+
<div class="discord-header-text-guild">${this.guild}</div>
|
|
76
|
+
<div class="discord-header-text-channel">#${this.channel}</div>
|
|
77
|
+
<slot></slot>
|
|
78
78
|
</div>`;
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscordUnorderedList.d.ts","sourceRoot":"","sources":["../../../src/components/discord-unordered-list/DiscordUnorderedList.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DiscordUnorderedList.d.ts","sourceRoot":"","sources":["../../../src/components/discord-unordered-list/DiscordUnorderedList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,UAAU,EAAE,MAAM,KAAK,CAAC;AAItD,qBACa,oBAAqB,SAAQ,UAAU;IACnD;;OAEG;IACH,gBAAgC,MAAM,0BAYpC;IAEF;;;;;;;OAOG;IAEI,MAAM,UAAS;IAEf,aAAa;IAoBpB;;;OAGG;cACgB,UAAU,IAAI,IAAI;cASlB,MAAM;CASzB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,wBAAwB,EAAE,oBAAoB,CAAC;KAC/C;CACD"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { css, html, LitElement } from 'lit';
|
|
10
|
+
import { css, html, isServer, LitElement } from 'lit';
|
|
11
11
|
import { customElement, property } from 'lit/decorators.js';
|
|
12
12
|
import { DiscordComponentsError } from '../../util.js';
|
|
13
13
|
let DiscordUnorderedList = class DiscordUnorderedList extends LitElement {
|
|
@@ -26,20 +26,23 @@ let DiscordUnorderedList = class DiscordUnorderedList extends LitElement {
|
|
|
26
26
|
/**
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
|
-
static { this.styles = css `
|
|
30
|
-
:host > ul {
|
|
31
|
-
list-style-image: initial;
|
|
32
|
-
list-style: disc;
|
|
33
|
-
list-style-position: outside;
|
|
34
|
-
margin: 4px 0 0 16px;
|
|
35
|
-
padding: 0px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([nested]) > ul {
|
|
39
|
-
list-style: circle;
|
|
40
|
-
}
|
|
29
|
+
static { this.styles = css `
|
|
30
|
+
:host > ul {
|
|
31
|
+
list-style-image: initial;
|
|
32
|
+
list-style: disc;
|
|
33
|
+
list-style-position: outside;
|
|
34
|
+
margin: 4px 0 0 16px;
|
|
35
|
+
padding: 0px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host([nested]) > ul {
|
|
39
|
+
list-style: circle;
|
|
40
|
+
}
|
|
41
41
|
`; }
|
|
42
42
|
checkChildren() {
|
|
43
|
+
// children are only inspectable on the client; skip the validation during SSR.
|
|
44
|
+
if (isServer)
|
|
45
|
+
return;
|
|
43
46
|
const allChildrenAreListItems = Array.from(this.children).every((child) => {
|
|
44
47
|
const tagNameLowerCase = child.tagName.toLowerCase();
|
|
45
48
|
return (tagNameLowerCase === 'discord-list-item' ||
|
|
@@ -64,8 +67,8 @@ let DiscordUnorderedList = class DiscordUnorderedList extends LitElement {
|
|
|
64
67
|
this.checkChildren();
|
|
65
68
|
// We disable the eslint rule here because users should use the <discord-list-item> component inside of this component.
|
|
66
69
|
// eslint-disable-next-line lit-a11y/list
|
|
67
|
-
return html `<ul>
|
|
68
|
-
<slot></slot>
|
|
70
|
+
return html `<ul>
|
|
71
|
+
<slot></slot>
|
|
69
72
|
</ul>`;
|
|
70
73
|
}
|
|
71
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiscordUnorderedList.js","sourceRoot":"","sources":["../../../src/components/discord-unordered-list/DiscordUnorderedList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"DiscordUnorderedList.js","sourceRoot":"","sources":["../../../src/components/discord-unordered-list/DiscordUnorderedList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAGhD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU;IAA7C;;QAkBN;;;;;;;WAOG;QAEI,WAAM,GAAG,KAAK,CAAC;IA4CvB,CAAC;IAtEA;;OAEG;aAC6B,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;EAY3C,AAZqC,CAYpC;IAaK,aAAa;QACnB,+EAA+E;QAC/E,IAAI,QAAQ;YAAE,OAAO;QAErB,MAAM,uBAAuB,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;YACzE,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YACrD,OAAO,CACN,gBAAgB,KAAK,mBAAmB;gBACxC,gBAAgB,KAAK,wBAAwB;gBAC7C,gBAAgB,KAAK,sBAAsB,CAC3C,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,uBAAuB,EAAE,CAAC;YAC9B,MAAM,IAAI,sBAAsB,CAC/B,8JAA8J,CAC9J,CAAC;QACH,CAAC;IACF,CAAC;IAED;;;OAGG;IACgB,UAAU;QAC5B,IACC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,EAAE,KAAK,wBAAwB;YACtE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,EAAE,KAAK,sBAAsB,EACnE,CAAC;YACF,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACpB,CAAC;IACF,CAAC;IAEkB,MAAM;QACxB,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,uHAAuH;QACvH,yCAAyC;QACzC,OAAO,IAAI,CAAA;;QAEL,CAAC;IACR,CAAC;;AA3CM;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;oDACrB;AA3BV,oBAAoB;IADhC,aAAa,CAAC,wBAAwB,CAAC;GAC3B,oBAAoB,CAuEhC"}
|