-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
u.html
586 lines (459 loc) · 32.8 KB
/
u.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TransSocial</title>
<link rel="stylesheet" href="/assets/css/mainSite.css">
<link rel="shortcut icon" href="/assets/imgs/favicon.png" type="image/png">
<link rel="manifest" href="/manifest.json">
<script src="https://kit.fontawesome.com/be7c331826.js" crossorigin="anonymous"></script>
<script src="/assets/js/twemoji.js" crossorigin="anonymous"></script>
<script src="https://js.stripe.com/v3/"></script>
<meta name="robots" content="nofollow, noai, noimageai">
<meta name="og:type" content="website">
<meta name="og:url" content="https://transs.social/">
<meta name="og:title" content="TransSocial">
<meta name="og:site_name" content="transs.social">
<meta name="og:description" content="TransSocial - a safe place for everyone.">
<meta name="description" content="TransSocial - a safe place for everyone.">
<meta property="og:image" content="https://transs.social/assets/imgs/favicon.png">
<meta name="theme-color" content="#ff869a">
</head>
<body onload="loadEverything()">
<!-- This loads the website -->
<div class="loader" id="loader">
<p style="position: fixed; left: 0; top: 0; color: var(--text-semi-transparent); transform: translateY(0px);">© Katniny Studios 2024</p>
<p style="position: fixed; left: 0; top: 17px; color: var(--text-semi-transparent); transform: translateY(0px);">Katniny Online Services</p>
<p style="position: fixed; left: 0; top: 35px; color: var(--text-semi-transparent); transform: translateY(0px);" class="loaderVersion">TransSocial v</p>
<img src="/assets/imgs/favicon.png" alt="TransSocial logo" draggable="false" />
<p><strong>Did you know?</strong></p>
<p id="loaderQuote" style="position: absolute; margin-top: 40px;">
<!-- If someone tries to use TransSocial with JavaScript -->
<noscript>
<div class="noJavaScript">
TransSocial requires JavaScript to run
</div>
</noscript>
</p>
<div class="transSocialLoadLong" id="transSocialLoadLong">
<p>TransSocial not loading?</p>
<a href="https://twitter.com/transs_ocial" target="_blank" style="position: absolute; top: 100px; left: 30px; color: var(--main-color); text-decoration: none;"><i class="fa-brands fa-twitter" style="color: var(--main-color); margin-right: 3px;"></i> Let us know</a>
</div>
</div>
<!-- Header -->
<!-- Header -->
<div class="header" id="header">
<div class="left">
<button id="hamburgerMenu"><i class="fa-solid fa-bars"></i></button> <a href="/home"><img class="headerLogo" id="transsocialHeaderLogo" src="/assets/imgs/All_transparent.png" draggable="false" /></a>
</div>
<div class="center">
<input id="searchBar" placeholder="Search TransSocial" />
</div>
<div class="right">
<a href="/download"><button style="margin-right: 20px; transform: translateY(-23px);" id="headerGetApp">Get App</button></a> <a href="/notifications"><i class="fa-solid fa-bell fa-lg"></i></a> <a href="/achievements"><i class="fa-solid fa-trophy fa-lg" style="margin-right: 0px;"></i></a> <img src="" alt="Your profile picture" draggable="false" id="userPfp-header" onclick="accountManager()" />
</div>
<div class="accountManager" id="accountManager" style="display: none;">
<h3 id="greetingManager">Hello, {user}</h3>
<a href="/settings"><button><i class="fa-solid fa-gear"></i> Settings</button></a>
<a href="/achievements"><button><i class="fa-solid fa-award"></i> Achievements</button></a>
</div>
</div>
<!-- Bottom Nav (mobile) -->
<!--<div class="mobileBottomNav" id="mobileBottomNav">
<div class="nav">
<a href="/home" style="margin-left: 20px;"><i class="fa-solid fa-house fa-xl"></i></a> <a href="/notifications"><i class="fa-solid fa-bell fa-xl"></i></a> <a href="/settings"><i class="fa-solid fa-gear fa-xl"></i></a> <a href="javascript:void();" onclick="createNotePopup()"><i class="fa-solid fa-pen-to-square fa-xl"></i></a>
</div>
</div>-->
<!-- Sidebar -->
<header class="sidebar" id="sidebar">
<!-- Navigation Buttons -->
<a href="/home"><button style="margin-top: 15px;"><i class="fa-solid fa-house"></i> Home</button></a>
<a href="/notifications" id="notificationsSidebar"><button><i class="fa-solid fa-bell"></i> Notifications</button></a> <a href="/notifications"><p id="notificationsCount">0</p></a>
<a href="/search"><button><i class="fa-solid fa-magnifying-glass"></i> Explore</button></a>
<a href="/messages" id="messagesSidebar"><button><i class="fa-solid fa-envelope"></i> Messages (0)</button></a>
<a href="/settings?tab=subscription" id="enchantedSidebar"><button><i class="fa-solid fa-heart"></i> Get Katniny+</button></a>
<a href="/updates"><button id="updatesBtn"><i class="fa-solid fa-wrench"></i> Updates</button></a>
<a href="/u" id="linkToAcc"><button id="profileSidebar"><i class="fa-solid fa-user"></i> Your Profile</button></a>
<a href="javascript:void(0);"><button id="showMoreContent"><i class="fa-solid fa-ellipsis"></i> More</button></a>
<button onclick="createNotePopup()" class="createNote-sidebar" id="createNote-sidebar"><i class="fa-solid fa-pen-to-square"></i> Create</button>
<div id="moreContent" class="moreContent" style="display: none;">
<a href="/settings" id="settingsSidebar"><button class="settings"><i class="fa-solid fa-gear"></i> Settings</button></a>
<a href="/contributors"><button><i class="fa-solid fa-face-smile-beam"></i> Contributors</button></a>
<a href="/achievements" id="achievementsSidebar"><button><i class="fa-solid fa-award"></i> Achievements</button></a>
<a href="/favorites" id="favoritesSidebar"><button><i class="fa-solid fa-bookmark"></i> Favorites</button></a>
</div>
<br />
<br />
<br />
<br />
<div class="sidebarPolicies">
<a href="/policies/terms">Terms of Service</a>, <a href="/policies/privacy">Privacy Policy</a>, <a href="/policies/child-safety">Child Safety</a>, <a href="/policies/cookies">Cookies</a>, <a href="/policies/copyright">Copyright</a>, <a href="/policies/guidelines">Community Guidelines</a>
</div>
<!-- Social Icons & Links -->
<div class="bottom">
<!-- Socials -->
<a href="https://discord.gg/SmhATjRxvc" target="_blank"><i class="fa-brands fa-discord fa-lg"></i></a>
<a href="https://twitter.com/transs_ocial" target="_blank"><i class="fa-brands fa-twitter fa-lg"></i></a>
<a href="https://tiktok.com/@transs_ocial" target="_blank"><i class="fa-brands fa-tiktok fa-lg"></i></a>
<a href="https://github.com/katniny/transsocial" target="_blank"><i class="fa-brands fa-github fa-lg"></i></a>
<!-- Profile -->
<div class="profileContainer" >
<div class="profile" id="profile" style="display: none;">
<a href="/settings"><button><i class="fa-solid fa-gear"></i> Settings</button></a>
<button onclick="signOut()"><i class="fa-solid fa-arrow-right-from-bracket"></i> Sign Out</button>
</div>
<strong><p id="notSignedIn">Create an account to explore!</p></strong>
<img class="userPfp-sidebar" id="userPfp-sidebar" src="" draggable="false" /><p id="displayName-sidebar">Display Name</p>
<p id="username-pronouns-sidebar">@username</p>
</div>
</div>
</header>
<!-- Note successfully sent -->
<div id="successfullySent" style="display: none;"><p>Note successfully sent!</p></div>
<div class="transsocialAccounts">
<h3>TransSocial Accounts</h3>
<p>Follow accounts associated with TransSocial.</p>
<div class="katniny">
<!-- Me :3 -->
<div class="katniny">
<img class="recommendAcc-pfp" src="" id="katninyPfp" draggable="false" /> <p id="katninyDisplay"></p>
<br /> <a href="/u" id="followBtn-1"><button class="followBtn">Follow</button></a>
<p id="katninyUser-pronouns"></p>
</div>
<br />
<!-- TransSocial -->
<div class="transsocial">
<img class="recommendAcc-pfp" src="" id="transsocialPfp" draggable="false" /> <p id="transsocialDisplay"></p>
<br /> <a href="/u" id="followBtn-2"><button class="followBtn">Follow</button></a>
<p id="transsocialUser-pronouns"></p>
</div>
<br />
<!-- Katniny Studios -->
<div class="katninystudios">
<img class="recommendAcc-pfp" src="" id="katninystudiosPfp" draggable="false" /> <p id="katninystudiosDisplay"></p>
<br /> <a href="/u" id="followBtn-3"><button class="followBtn">Follow</button></a>
<p id="katninystudiosUser-pronouns"></p>
</div>
</div>
</div>
<div class="policies">
<a href="/policies/terms">Terms of Service</a>, <a href="/policies/privacy">Privacy Policy</a>, <a href="/policies/child-safety">Child Safety</a>, <a href="/policies/cookies">Cookies</a>, <a href="/policies/copyright">Copyright</a>, <a href="/policies/guidelines">Community Guidelines</a>
</div>
<!-- User Not Found -->
<!-- Only show this if the user was unable to be found. -->
<!-- User not found -->
<div class="userNotFound" id="userNotFound" style="transform: translateY(75px)">
<h1>User not found.</h1>
<p>TransSocial was unable to find the user you were looking for.</p>
<p class="usage">Usage: https://transs.social/u?id=username</p>
<a href="/home"><button>Go Home</button></a>
</div>
<!-- User found -->
<div class="melissa" id="melissa" style="display: none;">
<div class="info">
<img class="userImage-banner" id="userImage-banner" draggable="false" src="/assets/imgs/Transparency.png" />
<img class="userImage-profile" id="userImage-profile" draggable="false" /> <h1 id="display-profile"></h1>
<h2 id="username-profile"></h2>
<h2 id="pronouns-profile"></h2>
<p id="bio-profile" class="bio-profile"></p>
<br />
<p class="followers-following"><b><span id="followers">0 </span></b>Followers <span id="following" style="margin-left: 10px;"><b>0</b> </span> Following</p>
<span><button onclick="followUser()" class="followButton" id="followButton">Follow</button> <button onclick="userActions()" class="userActions" id="userActions"><i class="fa-solid fa-caret-down"></i> More</button></span>
<div class="divider"></div>
<div class="filters"><button class="active" id="filterNotes" onclick="notesFilter()">Notes</button> <button onclick="achievementsFilter()" id="filterAchievements">Achievements</button></div>
<div class="notes" id="notes" style="max-width: 100%; margin-left: 0px; transform: translateY(5px);">
<div id="ifUserBlocked_Current" style="display: none;">
<div class="content">
<h2 id="whoIsBlocked"> is blocked</h2>
<p id="whoIsBlocked_desc"> is blocked. Would you like to view their notes anyway or unblock them?</p>
<span><button onclick="document.getElementById('ifUserBlocked_Current').style.display = 'none'" id="showNotesButton">Show Notes</button> <button onclick="unblockUser()" id="unblockUserButton">Unblock</button></span>
</div>
</div>
<div class="newNotesAdded" id="newNotesAdded">
<!-- Notes go here. This content is user-generated, no default HTML should be here. -->
</div>
<!-- Please Donate -->
<!--<div class="pleaseDonate" id="pleaseDonate">
<p>Hey, please don't skip this read. We need your support to keep TransSocial thriving. <a href="https://patreon.com/katniny" target="_blank">My Patreon</a> is the heartbeat of TransSocial, and right now, TransSocial is running on passion but could use some funds (aka funds). Join the Patreon for perks, behind the scenes content, and most importantly - helping TransSocial. Let's make TransSocial better together - your contribution makes a huge difference!</p>
<a href="https://patreon.com/katniny" target="_blank"><button>Help TransSocial</button></a>
<button onclick="closeHelpPrompt()">Maybe Later</button>
</div>-->
<div></div>
</div>
<div class="notes" id="achievementsContent" style="max-width: 100%; margin-left: 0px; transform: translateY(5px); display: none;">
<div class="note locked" id="firstStepsAchievement">
<h3><i class="fa-solid fa-pencil"></i> First Steps</h3>
<p id="unlockDescription_fs">@ hasn't unlocked this achievement yet.</p>
<p id="unlockDate_fs" style="font-size: 14px; color: var(--text-semi-transparent);"></p>
</div>
<div class="note locked" id="expressYourselfAchievement">
<h3><i class="fa-solid fa-bullhorn"></i> Express Yourself</h3>
<p id="unlockDescription_ey">@ hasn't unlocked this achievement yet.</p>
<p id="unlockDate_ey" style="font-size: 14px; color: var(--text-semi-transparent);"></p>
</div>
<div class="note locked" id="theSocialButterflyAchievement">
<h3><i class="fa-solid fa-user-plus"></i> The Social Butterfly</h3>
<p id="unlockDescription_tsb">@ hasn't unlocked this achievement yet.</p>
<p id="unlockDate_tsb" style="font-size: 14px; color: var(--text-semi-transparent);"></p>
</div>
<div class="note locked" id="chatterboxAchievement">
<h3><i class="fa-solid fa-comments"></i> Chatterbox</h3>
<p id="unlockDescription_cb">@ hasn't unlocked this achievement yet.</p>
<p id="unlockDate_cb" style="font-size: 14px; color: var(--text-semi-transparent);"></p>
</div>
</div>
</div>
</div>
<div id="notSignedIn-banner">
<p>Join the fun on TransSocial!</p>
<a href="/auth/login"><button>Login</button></a>
<a href="/auth/register"><button>Create an account</button></a>
</div>
<!-- Achievement Unlock -->
<div id="achievementUnlock" class="achievementUnlock" style="display: none;">
<div id="achievementIcon"><i class="fa-solid fa-pencil"></i></div> <p id="achievementName">Achievement Name</p>
</div>
<dialog id="showAchievementUnlock">
<h2 id="titleAndIcon">title and stuff</h2>
<p id="unlockReason">because you did</p>
<p id="unlockDate">m/d/y (the objectively correct way)</p>
<button onclick="document.getElementById('showAchievementUnlock').close();">Okay!</button>
</dialog>
<!-- Modals -->
<dialog id="createNote-popup">
<div class="creatingStuff">
<!-- Display above everything else when a note is sending -->
<div class="coverCreateANote" id="coverCreateANote" style="display: none;"></div>
<!-- Main Tab -->
<div class="mainTab-noteCreation" id="mainTab-noteCreation">
<h2 style="float: right; opacity: 0; cursor: default;" id="replyingOrCreating">Create a Note!</h2> <i class="fa-regular fa-circle-xmark fa-lg" style="float: left; margin-top: 10px;" onclick="closeCreateNotePopup()"></i>
<textarea rows="0" placeholder="What's on your mind?" id="noteContent-textarea"></textarea>
<p id="characterLimit_note" style="color: var(--text-semi-transparent)">0/1,250</p>
<br />
<p id="uploadingImage" style="color: var(--success-color); display: none;">Uploading image...</p>
<button onclick="publishNote()" class="publishNoteBtn"><i class="fa-solid fa-pen-to-square"></i> Create!</button>
<br />
<img id="imgToBeUploaded" draggable="false" />
<video id="vidToBeUploaded" draggable="false" autoplay="true" muted="true" controls style="display: none;"></video>
<br />
<div id="quotingNote">
<div class="quoteContainer">
<img src="" alt="Quote user pfp" class="quotePfp" id="notePopupQuotePfp">
<div class="quoteContent">
<div class="quoteHeader">
<span class="quoteDisplay" id="notePopupQuoteDisplay"></span>
<span class="quoteUsername" id="notePopupQuoteUsername"></span>
</div>
<span class="quoteText" id="notePopupQuoteText"></span>
</div>
</div>
</div>
<p style="font-size: small; color: var(--text-semi-transparent); display: none; transform: translateY(-10px);" id="hasntBeenUploadedNotice">Image hasn't been uploaded to TransSocial's server yet. This is just a preview.</p>
<a href="javascript:void(0);" style="display: none; float: left; max-width: auto; transform: translateY(-10px);" id="removeUploadedImage" onclick="removeImage()">Remove Image</a> <a href="javascript:void(0);" style="display: none; float: left; max-width: auto; transform: translateY(-10px); margin-left: 7px;" id="addAltTextToImage" onclick="addAltText()">Add Alt Text</a>
<p id="noteError"></p>
</div>
<!-- Settings Tab -->
<div class="settingsStuff hidden" id="settingStuff">
<i class="fa-solid fa-arrow-left fa-lg" style="float: left; margin-top: 10px;" onclick="swapNoteTab('note')"></i>
<br />
<h2 style="margin-top: 10px;">Add a content warning</h2>
<p style="font-size: 14px; color: var(--text-semi-transparent);">Add a content warning to this note by selecting a category. This helps people see only the content they want to on TransSocial.</p>
<!-- NSFW Checkbox -->
<input type="checkbox" id="isNsfw" /> <span class="noteContainsNsfwContent">Note contains NSFW content.</span>
<p class="optionAlt">This may include nudity, intercourse, intense violence, etc.</p>
<!-- Content Warning Checkbox -->
<input type="checkbox" id="isSensitive" /> Note contains sensitive content.
<p class="optionAlt">Select this if your note has potentionally triggering content.</p>
<!-- Political Checkbox -->
<input type="checkbox" id="isPolitical" /> Note contains political content.
<p class="optionAlt">Select this if your note has political content.</p>
<br />
</div>
<!-- music tab, lets gooooo -->
<div class="hidden" id="musicTab">
<i class="fa-solid fa-arrow-left fa-lg" style="float: left; margin-top: 10px;" onclick="swapNoteTab('note')"></i>
<br />
<h2 style="margin-top: 10px;">Add music to your note</h2>
<p style="font-size: 14px; color: var(--text-semi-transparent);">Suggest music to people, or just make your note feel more lively!</p>
<input type="text" placeholder="Search for a song" id="songQuery" />
<button onclick="displayTracks(document.getElementById('songQuery').value)">Search</button>
<br />
<div id="spotifyPlayer">
<p>Try searching for a song!</p>
</div>
<br />
</div>
<!-- Settings -->
<div class="settingsIcons-noteCreation">
<div class="icons">
<i class="fa-solid fa-flag fa-lg" onclick="swapNoteTab('note')"></i> <i class="fa-solid fa-image fa-lg" onclick="uploadImage()"><input type="file" id="imageUploadInput" accept="image/png, image/jpeg, image/webp, video/mp4, image/gif" style="display: none;"></i> <i class="fa-solid fa-music fa-lg" onclick="swapNoteTab('music')"></i>
</div>
</div>
</div>
</dialog>
<dialog id="signInPrompt">
<img src="/assets/imgs/All_transparent.png" draggable="false" style="width: 450px; height: 100px; margin-left: 17%; margin-right: 15%;" />
<h2>You must be signed in.</h2>
<p>To perform this action, you need to be signed into TransSocial!</p>
<br />
<a href="/auth/login"><button>Login</button></a>
<div style="margin-top: 5px;"></div>
<a href="/auth/register"><button>Register</button></a>
</dialog>
<dialog id="openLink">
<h2>Leaving TransSocial</h2>
<p>This link is taking you to the following website:</p>
<br />
<p style="text-align: center;" id="linkyLink">https://link.com/</p>
<br />
<a href="link" id="externalLink" target="_blank"><button onclick="document.getElementById('openLink').close()">Visit Site</button></a> <a href="javascript:void(1);" onclick="document.getElementById('openLink').close()" style="color: var(--main-color); font-size: 14px;">Go Back</a>
</dialog>
<dialog id="openLink">
<h2>Leaving TransSocial</h2>
<p>This link is taking you to the following website:</p>
<br />
<p style="text-align: center;" id="linkyLink">https://link.com/</p>
<br />
<a href="link" id="externalLink" target="_blank"><button onclick="document.getElementById('openLink').close()">Visit Site</button></a> <a href="javascript:void(1);" onclick="document.getElementById('openLink').close()" style="color: var(--main-color); font-size: 14px;">Go Back</a>
</dialog>
<dialog id="addAltText">
<h2>Add Alt Text</h2>
<p>Help those with visual impairments or low vision understand what your note is.</p>
<textarea id="altText_input" placeholder="A fluffy orange cat sitting on a windowsill, licking its paw and grooming itself"></textarea>
<br />
<button onclick="addAltText_finish()">Finish</button>
</dialog>
<dialog id="verifyEmail">
<h2><i class="fa-solid fa-envelope-circle-check"></i> Please verify your email</h2>
<p>We need to ensure your account is using an actual email address. This is for your security and to help us drive away bots.</p>
<p style="font-size: 14px; color: var(--text-semi-transparent);">If you're seeing this, you have not verified your email address yet. You will need to be able to verify your email when creating new accounts.</p>
<br />
<button onclick="getVerificationEmail()" style="width: 100%;"><i class="fa-solid fa-check-to-slot"></i> Verify Email</button>
</dialog>
<dialog id="emailSent_emailVer">
<h2><i class="fa-solid fa-envelope-circle-check"></i> Email sent!</h2>
<p>Once you verify your email, please click the button below to verify, then we won't bug you again!</p>
<p style="font-size: 14px; color: var(--text-semi-transparent);">If you're seeing this, you have not verified your email address yet. You will need to be able to verify your email when creating new accounts.</p>
<br />
<button onclick="window.location.reload()">Check Verification Status</button>
</dialog>
<dialog id="editWhatPartofNote">
<h2>Note Settings</h2>
<p>Typo? Need to delete this note? Here's your own personal control panel!</p>
<br />
<button onclick="editNoteContent()" style="width: 100%;"><i class="fa-solid fa-pen"></i> Edit Note Content</button>
<button onclick="deleteNote()" style="width: 100%;"><i class="fa-solid fa-trash"></i> Delete Note</button>
<br />
<br />
<button onclick="document.getElementById('editWhatPartofNote').close()">Nevermind</button>
</dialog>
<dialog id="checkIfNoteDeletion">
<h2>Delete this note?</h2>
<p>Are you sure? This action can't be reverted!</p>
<br />
<button onclick="deleteNote_fully()" style="width: 100%;"><i class="fa-solid fa-trash"></i> Yes, delete</button>
<button onclick="deleteNote_nevermind()" style="width: 100%;"><i class="fa-solid fa-xmark"></i> Nevermind, I change my mind</button>
</dialog>
<dialog id="noteDeleted">
<h2>Note Deleted</h2>
<p>Note was successfully deleted.</p>
<br />
<button onclick="window.location.reload()">Okay</button>
</dialog>
<dialog id="editNoteContent">
<!-- Display above everything else when a note is updating -->
<div class="coverUpdatingNote" id="coverUpdatingNote" style="display: none;"></div>
<h2>Edit Note Content</h2>
<p>Removing images is currently not supported at this time.</p>
<textarea id="newTextContent" placeholder="What do you want your note to say now?"></textarea>
<p id="newTextContent-characterLimit" style="color: var(--text-semi-transparent)">0/1,250</p>
<br />
<br />
<button onclick="applyEdits()">Apply</button> <button onclick="dontApplyEdits()">Nevermind</button>
</dialog>
<dialog id="noteUpdated">
<h2>Note Updated</h2>
<p>Note was successfully updated.</p>
<br />
<button onclick="window.location.reload()">Okay</button>
</dialog>
<dialog id="accountWarning">
<h2>Account Warning</h2>
<p>Your behavior on TransSocial has been in violation of our <a href="/policies/terms" style="color: var(--main-color);">Terms of Service</a>, therefore has received a warning. Repeat offenses can result in account suspension or other account related punishments.</p>
<br />
<p style="color: var(--text-semi-transparent);">Reason: <span id="warningReason"></span></p>
<br />
<p>Please abide by TransSocial's <a href="/policies/guidelines" style="color: var(--main-color);">Community Guidelines</a> so TransSocial remains a safe place for everyone.</p>
<p>You can continue using TransSocial after agreeing to our Terms of Service.</p>
<input type="checkbox" id="warningAgreeToTerms" style="width: 15px;"> I agree
<p style="color: var(--error-text); display: none;" id="warningAcknowledge">Please agree to the Terms before continuing.</p>
<br />
<button onclick="acknowledgeWarning()">Continue using TransSocial</button>
</dialog>
<dialog id="userActions-dialog">
<h2 id="interactingWithWho"></h2>
<p id="interactingWithWho_desc">Would you like to block this user or report them?</p>
<br />
<a href="/settings" id="editProfile"><button style="width: 100%;"><i class="fa-solid fa-user-pen"></i> Edit Profile</button></a>
<button id="blockUser" onclick="blockUser()" style="width: 100%;"><i class="fa-solid fa-ban"></i> Block User</button>
<button id="unblockUser" onclick="unblockUser()" style="width: 100%; display: none;"><i class="fa-solid fa-ban"></i> Unblock User</button>
<button onclick="reportUser()" style="width: 100%;"><i class="fa-solid fa-flag"></i> Report User</button>
<br />
<br />
<button onclick="document.getElementById('userActions-dialog').close()">Nevermind</button>
</dialog>
<dialog id="youAreBlocked">
<h2>This user blocked you.</h2>
<p>You can't follow this user. You may still interact with their notes, but they will likely not see it.</p>
<br />
<button onclick="document.getElementById('youAreBlocked').close()">Okay</button>
</dialog>
<dialog id="reportUser">
<h2>Report User</h2>
<p>Please ensure that you are reporting someone for good reason.</p>
<br />
<button onclick="reportType_harassmentBullying()" style="width: 100%;"><i class="fa-solid fa-person-harassing"></i> Harrassment/Bullying</button>
<button onclick="reportType_hateSpeech()" style="width: 100%;"><i class="fa-solid fa-comment-slash"></i> Hate Speech</button>
<button onclick="reportType_spam()" style="width: 100%;"><i class="fa-solid fa-inbox"></i> Spam</button>
<button onclick="reportType_harmfulImpersonation()" style="width: 100%;"><i class="fa-solid fa-masks-theater"></i> Harmful Impersonation</button>
<button onclick="reportType_childPornOrEndangerment()" style="width: 100%;"><i class="fa-solid fa-child"></i> Child Pornography/Endangerment</button>
<button onclick="reportType_privacyViolations()" style="width: 100%;"><i class="fa-solid fa-unlock"></i> Privacy Violations</button>
<button onclick="reportType_scams()" style="width: 100%;"><i class="fa-solid fa-wallet"></i> Scams</button>
<button onclick="reportType_copyrightInfringement()" style="width: 100%;"><i class="fa-solid fa-copyright"></i> Copyright Infringement</button>
<button onclick="reportType_other()" style="width: 100%;"><i class="fa-solid fa-feather-pointed"></i> Other</button>
<br />
<br />
<button onclick="document.getElementById('reportUser').close()">Nevermind</button>
</dialog>
<dialog id="reportReceived">
<h2>Report received!</h2>
<p id="changeBasedOnReportReason">Thank you for letting us know about a user on TransSocial that may harm other experiences! We'll look into it and update you.</p>
<br />
<h3>Report Information:</h3>
<p><span style="color: var(--text-semi-transparent);">Reason:</span> <span id="reportReason"></span></p>
<p><span style="color: var(--text-semi-transparent);">Reported:</span> <span id="reportUsername"></span></p>
<br />
<button onclick="document.getElementById('reportReceived').close()">Okay</button>
</dialog>
<dialog id="reportReason_other">
<h2>Report: Other</h2>
<p id="changeBasedOnReportReason">Reason not listed?</p>
<br />
<textarea id="reportReason_txt" placeholder="List your report reason"></textarea>
<br />
<br />
<button onclick="reportType_other_finish()">Report</button>
</dialog>
</body>
<!-- Core Firebase Scripts (MUST BE FIRST) -->
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-storage.js"></script>
<!-- Scripts -->
<script src="/assets/js/ts_fas_acih.js"></script>
<script src="/assets/js/pageLoader.js"></script>
<script src="/assets/js/sidebarOpen.js"></script>
<script src="/assets/js/twemoji.js"></script>
</html>