@articles-media/articles-dev-box 1.0.31 → 1.0.32

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.
Files changed (51) hide show
  1. package/README.md +11 -3
  2. package/dist/Ad-BsG4C_lR.js +668 -0
  3. package/dist/Ad.js +2 -2
  4. package/dist/AdConfirmExitModal-heFPJNdX.js +55 -0
  5. package/dist/AdDetailsModal-D2-4lh9e.js +107 -0
  6. package/dist/ArticlesAd.js +15 -10
  7. package/dist/Button-DvEZjsVV.js +32 -0
  8. package/dist/CreditsModal.js +51 -35
  9. package/dist/DarkModeHandler.js +21 -13
  10. package/dist/FriendsList.js +49 -47
  11. package/dist/GameMenu-BD1HSDJ-.js +84 -0
  12. package/dist/GameMenu.js +2 -0
  13. package/dist/GameScoreboard-DVoXXDnM.js +174 -0
  14. package/dist/GameScoreboard.js +2 -2
  15. package/dist/GlobalBody.js +58 -23
  16. package/dist/GlobalHead.js +5 -5
  17. package/dist/Link-CguWJy6y.js +16 -0
  18. package/dist/ReturnToLauncherButton.js +26 -22
  19. package/dist/SessionButton.js +62 -38
  20. package/dist/SettingsModal-yU_TsVYh.js +430 -0
  21. package/dist/SettingsModal.js +2 -2
  22. package/dist/SignInButton.js +21 -17
  23. package/dist/SocketServerUrlHandler.js +14 -10
  24. package/dist/StatusModal-BXRbJQ10.js +84 -0
  25. package/dist/ToontownModeHandler.js +13 -10
  26. package/dist/ViewUserModal-Dgo1C4sR.js +1798 -0
  27. package/dist/ViewUserModal.js +2 -2
  28. package/dist/articles-dev-box.css +498 -2
  29. package/dist/classnames-No-mjhw1.js +66 -0
  30. package/dist/index.js +23 -22
  31. package/dist/numberWithCommas-B0B9bjWC.js +2198 -0
  32. package/dist/typicalZustandStoreExcludes.js +4 -3
  33. package/dist/typicalZustandStoreStateSlice.js +53 -49
  34. package/dist/useAuthSiteStatus-ZK1GbPBV.js +34 -0
  35. package/dist/useFullscreen.js +38 -18
  36. package/dist/useUserDetails.js +17 -16
  37. package/dist/useUserFriends.js +23 -21
  38. package/dist/useUserToken.js +12 -11
  39. package/package.json +2 -1
  40. package/dist/Ad-CFuDgQYL.js +0 -504
  41. package/dist/AdConfirmExitModal-skW9lp88.js +0 -55
  42. package/dist/AdDetailsModal-CdTR2Y9l.js +0 -107
  43. package/dist/Button-sSB4xpOw.js +0 -31
  44. package/dist/GameScoreboard-9GYlLx72.js +0 -165
  45. package/dist/Link-8nSDV4sI.js +0 -16
  46. package/dist/SettingsModal-CiLvMoLW.js +0 -303
  47. package/dist/StatusModal-PG3i9NKf.js +0 -75
  48. package/dist/ViewUserModal-C5gjfuJ5.js +0 -1549
  49. package/dist/classnames-DCsil9eG.js +0 -39
  50. package/dist/numberWithCommas-DSRplpBy.js +0 -1170
  51. package/dist/useAuthSiteStatus-Cj9IjMj7.js +0 -29
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as e } from "./ViewUserModal-C5gjfuJ5.js";
3
- export { e as default };
2
+ import { t as ViewUserModal } from "./ViewUserModal-Dgo1C4sR.js";
3
+ export { ViewUserModal as default };
@@ -1,2 +1,498 @@
1
- .ad-wrap{z-index:1;--card-background:#f9edcd;--bs-body-color:#000;width:100%;max-width:312px;margin:0 auto 1rem}.ad-wrap.active-member .ad .main-panel{height:310px}.ad-wrap .ad{z-index:2;align-self:flex-start;width:100%;font-family:brandon-grotesque,sans-serif;font-size:14px;position:relative;box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}@media (width<=768px){.ad-wrap .ad{width:100%;font-size:16px}}.ad-wrap .ad .main-panel{background-color:var(--articles-ad-background-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));flex-direction:column;height:400px;display:flex}.ad-wrap .ad .main-panel .ad-warning{border-bottom:1px solid var(--articles-ad-border-color,var(--card-background));padding:.1rem .75rem;font-family:brandon-grotesque,sans-serif;font-size:1rem;font-weight:900}.ad-wrap .ad .main-panel .content-wrap{flex-direction:column;align-items:center;display:flex}@media (width>=992px){.ad-wrap .ad .main-panel .content-wrap{flex-direction:column}}.ad-wrap .ad .main-panel .photo-banner{border-bottom:1px solid #000;flex-shrink:0;align-items:center;width:100%;height:125px;margin-left:0;padding-left:1rem;display:flex;position:relative}.ad-wrap .ad .main-panel .photo-banner .logo{object-fit:cover;z-index:1}.ad-wrap .ad .main-panel .photo-banner .logo img{object-fit:contain;width:75px;height:75px}.ad-wrap .ad .main-panel .photo-banner .splash{color:#000;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%)translateY(-50%)}.ad-wrap .ad .main-panel .photo-banner .splash i{margin-right:1rem;font-size:3rem}.ad-wrap .ad .main-panel .photo-banner .splash .text{flex-direction:column;align-items:start;line-height:1;display:flex}.ad-wrap .ad .main-panel .photo-banner .splash .text .label{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .splash .text .count{font-size:2rem;font-weight:700}.ad-wrap .ad .main-panel .photo-banner .splash .text .count .fa-spinner{font-size:1.5rem}.ad-wrap .ad .main-panel .photo-banner .member-since{color:#fff;background-color:#00000080;border-top-right-radius:5px;padding:.25rem .5rem;font-size:.75rem;position:absolute;bottom:0;left:0}.ad-wrap .ad .main-panel .photo-banner .photo{object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0}.ad-wrap .ad .main-panel .details-wrap{width:100%}.ad-wrap .ad .main-panel .links-list{flex-direction:column;display:flex}.ad-wrap .ad .main-panel .links-list .link-item{color:#000}.ad-wrap .ad .main-panel .links-list .link-item:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.ad-wrap .ad .main-panel .details,.ad-wrap .ad .main-panel .detail-title{grid-gap:5px 5px;grid-template-columns:repeat(2,1fr);padding:.75rem .75rem 0;display:grid}.ad-wrap .ad .main-panel .details .detail .icon,.ad-wrap .ad .main-panel .detail-title .detail .icon{width:1.5rem;display:inline-block}.ad-wrap .ad .main-panel .details .detail .icon i,.ad-wrap .ad .main-panel .detail-title .detail .icon i{justify-content:flex-start;display:flex}.ad-wrap .ad .main-panel .short-description{min-height:50px;max-height:125px;padding:.25rem .75rem 0;overflow-y:auto}.ad-wrap .ad .main-panel .detail-title{justify-content:space-between;align-items:center;display:flex}.ad-wrap .ad .main-panel .action-wrap{border-top:1px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .ad .main-panel .action-wrap .action{border:1px solid var(--articles-ad-border-color,var(--card-background));color:var(--articles-ad-font-color,var(--bs-body-color));cursor:pointer;border-radius:10px;justify-content:center;align-items:center;margin-left:auto;margin-right:auto;padding:.25rem;transition-duration:.2s;display:flex}.ad-wrap .ad .main-panel .action-wrap .action:hover{color:#000;background-color:#fff}.ad-wrap .ad .main-panel .action-wrap .action:active{background-color:gray}.ad-wrap .advertise-with-us{background-color:var(--articles-ad-background-color,var(--card-background));border-top:2px solid var(--articles-ad-border-color,var(--card-background))}.ad-wrap .advertise-with-us a{color:var(--articles-ad-font-color,var(--bs-body-color))!important}.ad-wrap .advertise-with-us a:hover{-webkit-text-decoration:underline red;text-decoration:underline red}.view-user-modal-badge-wrap{cursor:pointer;align-items:stretch;display:flex}.view-user-modal-badge-wrap.large .view-user-modal-badge{height:30px;position:relative}.view-user-modal-badge-wrap.large .view-user-modal-badge .membership-badge{font-size:1rem!important}.view-user-modal-badge-wrap.large .view-user-modal-badge .profile-photo-wrap{margin-right:.5rem;width:22px!important;height:22px!important}.view-user-modal-badge-wrap.large .view-user-modal-badge img{margin-right:.5rem}.view-user-modal-badge-wrap .badge-membership{position:relative}.view-user-modal-badge-wrap .verification-user-badge{align-items:center;display:flex}.profile-photo-wrap{position:relative}.profile-photo-wrap .online-status{z-index:1;background-color:gray;border:2px solid #000;width:10px;height:10px;position:absolute;bottom:1px;right:1px}.profile-photo-wrap .online-status.status-online{background-color:green;border:2px solid #009b22}:root{--articles-theme-primary:#f9edcd}.bg-articles{background-color:var(--articles-theme-primary);color:#000!important}.shadow-articles{box-shadow:0 0 0 1px #00000040,0 2px 3px #0003}.text-center{text-align:center}.d-flex{display:flex}.flex-header{justify-content:space-between;align-items:center;display:flex}.scoreboard{width:100%;max-width:300px;margin-top:1rem;margin-bottom:1rem}@media (width>=992px){.scoreboard{margin-top:0;margin-bottom:0;display:block;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}}.articles-game-scoreboard{color:#222;z-index:1;border:1px solid #ced4da;border-radius:8px;flex-direction:column;width:100%;max-width:350px;margin:0 1rem;display:flex;position:fixed;bottom:50%;left:8px;overflow:hidden;transform:translateY(50%);box-shadow:0 2px 8px #00000012}.articles-settings-modal input[type=range]::-webkit-slider-runnable-track{background:#000;border-radius:5px;height:.5rem}.articles-settings-modal input[type=range]::-webkit-slider-thumb{appearance:none;background-color:var(--articles-secondary-color);border:1px solid #000;border-radius:50%;width:1rem;height:1rem;margin-top:-4px}
2
- /*$vite$:1*/
1
+ :root {
2
+ --articles-theme-primary: #f9edcd;
3
+ }
4
+
5
+ .bg-articles {
6
+ background-color: var(--articles-theme-primary);
7
+ color: black !important;
8
+ }
9
+
10
+ .shadow-articles {
11
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
12
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
13
+ }
14
+
15
+ .text-center {
16
+ text-align: center;
17
+ }
18
+
19
+ .d-flex {
20
+ display: flex;
21
+ }
22
+
23
+ .flex-header {
24
+ display: flex;
25
+ justify-content: space-between;
26
+ align-items: center;
27
+ }
28
+
29
+ .ad-wrap {
30
+ z-index: 1;
31
+ margin: 0 auto;
32
+ margin-bottom: 1rem;
33
+ max-width: 312px;
34
+ width: 100%;
35
+ --card-background: #f9edcd;
36
+ --bs-body-color: #000000;
37
+ }
38
+ .ad-wrap.active-member .ad .main-panel {
39
+ height: 310px;
40
+ }
41
+ .ad-wrap .ad {
42
+ position: relative;
43
+ align-self: flex-start;
44
+ width: 100%;
45
+ z-index: 2;
46
+ font-family: brandon-grotesque, sans-serif;
47
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
48
+ font-size: 14px;
49
+ }
50
+ @media (max-width: 768px) {
51
+ .ad-wrap .ad {
52
+ font-size: 16px;
53
+ width: 100%;
54
+ }
55
+ }
56
+ .ad-wrap .ad .main-panel {
57
+ background-color: var(--articles-ad-background-color, var(--card-background));
58
+ color: var(--articles-ad-font-color, var(--bs-body-color));
59
+ height: 400px;
60
+ display: flex;
61
+ flex-direction: column;
62
+ }
63
+ .ad-wrap .ad .main-panel .ad-warning {
64
+ padding: 0.1rem 0.75rem;
65
+ font-family: brandon-grotesque, sans-serif;
66
+ font-weight: 900;
67
+ font-size: 1rem;
68
+ border-bottom: 1px solid var(--articles-ad-border-color, var(--card-background));
69
+ }
70
+ .ad-wrap .ad .main-panel .content-wrap {
71
+ display: flex;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ }
75
+ @media (min-width: 992px) {
76
+ .ad-wrap .ad .main-panel .content-wrap {
77
+ flex-direction: column;
78
+ }
79
+ }
80
+ .ad-wrap .ad .main-panel .photo-banner {
81
+ position: relative;
82
+ height: 100px;
83
+ width: 100px;
84
+ flex-shrink: 0;
85
+ display: flex;
86
+ align-items: center;
87
+ padding-left: 1rem;
88
+ margin-left: 0.75rem;
89
+ margin-left: 0rem;
90
+ height: 125px;
91
+ width: 100%;
92
+ border-bottom: 1px solid black;
93
+ }
94
+ .ad-wrap .ad .main-panel .photo-banner .logo {
95
+ object-fit: cover;
96
+ z-index: 1;
97
+ }
98
+ .ad-wrap .ad .main-panel .photo-banner .logo img {
99
+ width: 75px;
100
+ height: 75px;
101
+ object-fit: contain;
102
+ }
103
+ .ad-wrap .ad .main-panel .photo-banner .splash {
104
+ display: none;
105
+ position: absolute;
106
+ top: 50%;
107
+ left: 50%;
108
+ transform: translateX(-50%) translateY(-50%);
109
+ width: 100%;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ color: black;
114
+ }
115
+ .ad-wrap .ad .main-panel .photo-banner .splash i {
116
+ font-size: 3rem;
117
+ margin-right: 1rem;
118
+ }
119
+ .ad-wrap .ad .main-panel .photo-banner .splash .text {
120
+ display: flex;
121
+ flex-direction: column;
122
+ line-height: 1;
123
+ align-items: start;
124
+ }
125
+ .ad-wrap .ad .main-panel .photo-banner .splash .text .label {
126
+ font-size: 1.5rem;
127
+ }
128
+ .ad-wrap .ad .main-panel .photo-banner .splash .text .count {
129
+ font-weight: bold;
130
+ font-size: 2rem;
131
+ }
132
+ .ad-wrap .ad .main-panel .photo-banner .splash .text .count .fa-spinner {
133
+ font-size: 1.5rem;
134
+ }
135
+ .ad-wrap .ad .main-panel .photo-banner .member-since {
136
+ position: absolute;
137
+ bottom: 0;
138
+ left: 0;
139
+ padding: 0.25rem 0.5rem;
140
+ background-color: rgba(0, 0, 0, 0.5);
141
+ color: white;
142
+ font-size: 0.75rem;
143
+ border-top-right-radius: 5px;
144
+ }
145
+ .ad-wrap .ad .main-panel .photo-banner .photo {
146
+ position: absolute;
147
+ left: 0;
148
+ top: 0;
149
+ width: 100%;
150
+ height: 100%;
151
+ object-fit: cover;
152
+ }
153
+ .ad-wrap .ad .main-panel .details-wrap {
154
+ width: 100%;
155
+ }
156
+ .ad-wrap .ad .main-panel .links-list {
157
+ display: flex;
158
+ flex-direction: column;
159
+ }
160
+ .ad-wrap .ad .main-panel .links-list .link-item {
161
+ color: black;
162
+ }
163
+ .ad-wrap .ad .main-panel .links-list .link-item:hover {
164
+ text-decoration: underline;
165
+ text-decoration-color: red;
166
+ }
167
+ .ad-wrap .ad .main-panel .details,
168
+ .ad-wrap .ad .main-panel .detail-title {
169
+ padding: 0.75rem;
170
+ display: grid;
171
+ grid-gap: 5px 5px;
172
+ grid-template-columns: repeat(2, 1fr);
173
+ padding-bottom: 0rem;
174
+ }
175
+ .ad-wrap .ad .main-panel .details .detail .icon,
176
+ .ad-wrap .ad .main-panel .detail-title .detail .icon {
177
+ display: inline-block;
178
+ width: 1.5rem;
179
+ }
180
+ .ad-wrap .ad .main-panel .details .detail .icon i,
181
+ .ad-wrap .ad .main-panel .detail-title .detail .icon i {
182
+ justify-content: flex-start;
183
+ display: flex;
184
+ }
185
+ .ad-wrap .ad .main-panel .short-description {
186
+ padding: 0.75rem;
187
+ padding-top: 0.25rem;
188
+ padding-bottom: 0rem;
189
+ min-height: 50px;
190
+ overflow-y: auto;
191
+ max-height: 125px;
192
+ }
193
+ .ad-wrap .ad .main-panel .detail-title {
194
+ display: flex;
195
+ justify-content: space-between;
196
+ align-items: center;
197
+ }
198
+ .ad-wrap .ad .main-panel .action-wrap {
199
+ border-top: 1px solid var(--articles-ad-border-color, var(--card-background));
200
+ }
201
+ .ad-wrap .ad .main-panel .action-wrap .action {
202
+ padding: 0.25rem;
203
+ display: flex;
204
+ justify-content: center;
205
+ align-items: center;
206
+ border: 1px solid var(--articles-ad-border-color, var(--card-background));
207
+ color: var(--articles-ad-font-color, var(--bs-body-color));
208
+ border-radius: 10px;
209
+ margin-left: auto;
210
+ margin-right: auto;
211
+ cursor: pointer;
212
+ transition-duration: 200ms;
213
+ }
214
+ .ad-wrap .ad .main-panel .action-wrap .action:hover {
215
+ background-color: white;
216
+ color: black;
217
+ }
218
+ .ad-wrap .ad .main-panel .action-wrap .action:active {
219
+ background-color: gray;
220
+ }
221
+ .ad-wrap .advertise-with-us {
222
+ background-color: var(--articles-ad-background-color, var(--card-background));
223
+ border-top: 2px solid var(--articles-ad-border-color, var(--card-background));
224
+ }
225
+ .ad-wrap .advertise-with-us a {
226
+ color: var(--articles-ad-font-color, var(--bs-body-color)) !important;
227
+ }
228
+ .ad-wrap .advertise-with-us a:hover {
229
+ text-decoration: underline;
230
+ text-decoration-color: red;
231
+ }:root {
232
+ --articles-theme-primary: #f9edcd;
233
+ }
234
+
235
+ .bg-articles {
236
+ background-color: var(--articles-theme-primary);
237
+ color: black !important;
238
+ }
239
+
240
+ .shadow-articles {
241
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
242
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
243
+ }
244
+
245
+ .text-center {
246
+ text-align: center;
247
+ }
248
+
249
+ .d-flex {
250
+ display: flex;
251
+ }
252
+
253
+ .flex-header {
254
+ display: flex;
255
+ justify-content: space-between;
256
+ align-items: center;
257
+ }
258
+
259
+ @media (min-width: 992px) {
260
+ .show-sidebar .menu-bar {
261
+ display: none;
262
+ }
263
+ .show-sidebar .panel-left {
264
+ display: flex;
265
+ }
266
+ }
267
+ .menu-bar {
268
+ border-radius: 0;
269
+ }
270
+ .menu-bar.Bar {
271
+ position: fixed;
272
+ bottom: 0;
273
+ left: 0;
274
+ width: 100%;
275
+ height: 50px;
276
+ z-index: 3;
277
+ }
278
+ .menu-bar.Bar .btn {
279
+ display: flex;
280
+ align-items: center;
281
+ justify-content: center;
282
+ }
283
+ .menu-bar.Corner_Button {
284
+ position: fixed;
285
+ bottom: 0;
286
+ left: 0;
287
+ width: 50px;
288
+ height: 50px;
289
+ z-index: 3;
290
+ }
291
+ .menu-bar.Corner_Button .btn {
292
+ position: absolute;
293
+ width: 100%;
294
+ height: 100%;
295
+ border-radius: 0;
296
+ bottom: 0;
297
+ display: flex;
298
+ align-items: center;
299
+ justify-content: center;
300
+ flex-direction: column;
301
+ }
302
+ .menu-bar.Corner_Button .btn i {
303
+ margin-right: 0;
304
+ font-size: 1.25rem;
305
+ }
306
+
307
+ .mobile-menu {
308
+ position: fixed;
309
+ left: 0;
310
+ width: 100%;
311
+ top: 0px;
312
+ z-index: 2;
313
+ background-color: rgba(0, 0, 0, 0.75);
314
+ transform: translateY(calc(100% + 50px));
315
+ transition-duration: 200ms;
316
+ padding: 1rem;
317
+ display: flex;
318
+ align-items: flex-end;
319
+ justify-content: center;
320
+ }
321
+ .mobile-menu.Bar {
322
+ position: fixed;
323
+ bottom: 0;
324
+ left: 0;
325
+ width: 100%;
326
+ height: 50px;
327
+ z-index: 3;
328
+ }
329
+ .mobile-menu.show {
330
+ transform: translateY(0);
331
+ }
332
+
333
+ .panel-left,
334
+ .panel-right {
335
+ width: 300px;
336
+ height: calc(100vh - 0px);
337
+ flex-shrink: 0;
338
+ }
339
+
340
+ .panel-left {
341
+ display: none;
342
+ }
343
+
344
+ .panel-right {
345
+ display: flex;
346
+ justify-content: center;
347
+ align-items: center;
348
+ }:root {
349
+ --articles-theme-primary: #f9edcd;
350
+ }
351
+
352
+ .bg-articles {
353
+ background-color: var(--articles-theme-primary);
354
+ color: black !important;
355
+ }
356
+
357
+ .shadow-articles {
358
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
359
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
360
+ }
361
+
362
+ .text-center {
363
+ text-align: center;
364
+ }
365
+
366
+ .d-flex {
367
+ display: flex;
368
+ }
369
+
370
+ .flex-header {
371
+ display: flex;
372
+ justify-content: space-between;
373
+ align-items: center;
374
+ }
375
+
376
+ .view-user-modal-badge-wrap {
377
+ display: flex;
378
+ align-items: stretch;
379
+ cursor: pointer;
380
+ }
381
+ .view-user-modal-badge-wrap.large .view-user-modal-badge {
382
+ position: relative;
383
+ height: 30px;
384
+ }
385
+ .view-user-modal-badge-wrap.large .view-user-modal-badge .membership-badge {
386
+ font-size: 1rem !important;
387
+ }
388
+ .view-user-modal-badge-wrap.large .view-user-modal-badge .profile-photo-wrap {
389
+ height: 22px !important;
390
+ width: 22px !important;
391
+ margin-right: 0.5rem;
392
+ }
393
+ .view-user-modal-badge-wrap.large .view-user-modal-badge img {
394
+ margin-right: 0.5rem;
395
+ }
396
+ .view-user-modal-badge-wrap .badge-membership {
397
+ position: relative;
398
+ }
399
+ .view-user-modal-badge-wrap .verification-user-badge {
400
+ display: flex;
401
+ align-items: center;
402
+ }
403
+
404
+ .profile-photo-wrap {
405
+ position: relative;
406
+ }
407
+ .profile-photo-wrap .online-status {
408
+ position: absolute;
409
+ width: 10px;
410
+ height: 10px;
411
+ background-color: gray;
412
+ bottom: 1px;
413
+ right: 1px;
414
+ border: 2px solid #000;
415
+ z-index: 1;
416
+ }
417
+ .profile-photo-wrap .online-status.status-online {
418
+ background-color: green;
419
+ border: 2px solid #009b22;
420
+ }:root {
421
+ --articles-theme-primary: #f9edcd;
422
+ }
423
+
424
+ .bg-articles {
425
+ background-color: var(--articles-theme-primary);
426
+ color: black !important;
427
+ }
428
+
429
+ .shadow-articles {
430
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
431
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.2);
432
+ }
433
+
434
+ .text-center {
435
+ text-align: center;
436
+ }
437
+
438
+ .d-flex {
439
+ display: flex;
440
+ }
441
+
442
+ .flex-header {
443
+ display: flex;
444
+ justify-content: space-between;
445
+ align-items: center;
446
+ }
447
+
448
+ .scoreboard {
449
+ margin-top: 1rem;
450
+ max-width: 300px;
451
+ width: 100%;
452
+ margin-bottom: 1rem;
453
+ }
454
+ @media (min-width: 992px) {
455
+ .scoreboard {
456
+ margin-top: 0rem;
457
+ margin-bottom: 0rem;
458
+ display: block;
459
+ position: absolute;
460
+ left: 1rem;
461
+ top: 50%;
462
+ transform: translateY(-50%);
463
+ }
464
+ }
465
+
466
+ .articles-game-scoreboard {
467
+ border: 1px solid rgb(206, 212, 218);
468
+ border-radius: 8px;
469
+ box-shadow: rgba(0, 0, 0, 0.07) 0px 2px 8px;
470
+ color: rgb(34, 34, 34);
471
+ width: 100%;
472
+ max-width: 350px;
473
+ margin: 0px 1rem;
474
+ overflow: hidden;
475
+ display: flex;
476
+ flex-direction: column;
477
+ z-index: 1;
478
+ position: fixed;
479
+ bottom: 50%;
480
+ transform: translateY(50%);
481
+ left: 8px;
482
+ }.articles-settings-modal input[type=range]::-webkit-slider-runnable-track {
483
+ background: #000;
484
+ height: 0.5rem;
485
+ border-radius: 5px;
486
+ }
487
+ .articles-settings-modal input[type=range]::-webkit-slider-thumb {
488
+ -webkit-appearance: none;
489
+ /* Critical override */
490
+ appearance: none;
491
+ margin-top: -4px;
492
+ /* Centers thumb on the track */
493
+ background-color: var(--articles-secondary-color);
494
+ height: 1rem;
495
+ width: 1rem;
496
+ border: 1px solid #000;
497
+ border-radius: 50%;
498
+ }/*$vite$:1*/
@@ -0,0 +1,66 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ //#endregion
24
+ //#region node_modules/classnames/index.js
25
+ var require_classnames = /* @__PURE__ */ __commonJSMin(((exports, module) => {
26
+ /*!
27
+ Copyright (c) 2018 Jed Watson.
28
+ Licensed under the MIT License (MIT), see
29
+ http://jedwatson.github.io/classnames
30
+ */
31
+ (function() {
32
+ "use strict";
33
+ var hasOwn = {}.hasOwnProperty;
34
+ function classNames() {
35
+ var classes = "";
36
+ for (var i = 0; i < arguments.length; i++) {
37
+ var arg = arguments[i];
38
+ if (arg) classes = appendClass(classes, parseValue(arg));
39
+ }
40
+ return classes;
41
+ }
42
+ function parseValue(arg) {
43
+ if (typeof arg === "string" || typeof arg === "number") return arg;
44
+ if (typeof arg !== "object") return "";
45
+ if (Array.isArray(arg)) return classNames.apply(null, arg);
46
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) return arg.toString();
47
+ var classes = "";
48
+ for (var key in arg) if (hasOwn.call(arg, key) && arg[key]) classes = appendClass(classes, key);
49
+ return classes;
50
+ }
51
+ function appendClass(value, newClass) {
52
+ if (!newClass) return value;
53
+ if (value) return value + " " + newClass;
54
+ return value + newClass;
55
+ }
56
+ if (typeof module !== "undefined" && module.exports) {
57
+ classNames.default = classNames;
58
+ module.exports = classNames;
59
+ } else if (typeof define === "function" && typeof define.amd === "object" && define.amd) define("classnames", [], function() {
60
+ return classNames;
61
+ });
62
+ else window.classNames = classNames;
63
+ })();
64
+ }));
65
+ //#endregion
66
+ export { __toESM as n, require_classnames as t };
package/dist/index.js CHANGED
@@ -1,22 +1,23 @@
1
- import e from "./ReturnToLauncherButton.js";
2
- import t from "./SignInButton.js";
3
- import n from "./useUserDetails.js";
4
- import r from "./useUserToken.js";
5
- import { t as i } from "./ViewUserModal-C5gjfuJ5.js";
6
- import { t as a } from "./Ad-CFuDgQYL.js";
7
- import o from "./SessionButton.js";
8
- import s from "./ArticlesAd.js";
9
- import { t as c } from "./GameScoreboard-9GYlLx72.js";
10
- import l from "./GlobalHead.js";
11
- import u from "./GlobalBody.js";
12
- import { t as d } from "./SettingsModal-CiLvMoLW.js";
13
- import f from "./CreditsModal.js";
14
- import p from "./DarkModeHandler.js";
15
- import m from "./ToontownModeHandler.js";
16
- import h from "./SocketServerUrlHandler.js";
17
- import g from "./useUserFriends.js";
18
- import _ from "./FriendsList.js";
19
- import v from "./useFullscreen.js";
20
- import y from "./typicalZustandStoreExcludes.js";
21
- import b from "./typicalZustandStoreStateSlice.js";
22
- export { a as Ad, s as ArticlesAd, f as CreditsModal, p as DarkModeHandler, _ as FriendsList, c as GameScoreboard, u as GlobalBody, l as GlobalHead, e as ReturnToLauncherButton, o as SessionButton, d as SettingsModal, t as SignInButton, h as SocketServerUrlHandler, m as ToontownModeHandler, i as ViewUserModal, y as typicalZustandStoreExcludes, b as typicalZustandStoreStateSlice, v as useFullscreen, n as useUserDetails, g as useUserFriends, r as useUserToken };
1
+ import ReturnToLauncherButton from "./ReturnToLauncherButton.js";
2
+ import SignInButton from "./SignInButton.js";
3
+ import useUserDetails from "./useUserDetails.js";
4
+ import useUserToken from "./useUserToken.js";
5
+ import { t as ViewUserModal } from "./ViewUserModal-Dgo1C4sR.js";
6
+ import { t as Ad_default } from "./Ad-BsG4C_lR.js";
7
+ import useUserFriends from "./useUserFriends.js";
8
+ import FriendsList from "./FriendsList.js";
9
+ import SessionButton from "./SessionButton.js";
10
+ import ArticlesAd from "./ArticlesAd.js";
11
+ import { t as GameMenu } from "./GameMenu-BD1HSDJ-.js";
12
+ import { t as GameScoreboard } from "./GameScoreboard-DVoXXDnM.js";
13
+ import GlobalHead from "./GlobalHead.js";
14
+ import GlobalBody_default from "./GlobalBody.js";
15
+ import { t as SettingsModal } from "./SettingsModal-yU_TsVYh.js";
16
+ import CreditsModal from "./CreditsModal.js";
17
+ import DarkModeHandler from "./DarkModeHandler.js";
18
+ import ToontownModeHandler from "./ToontownModeHandler.js";
19
+ import SocketServerUrlHandler from "./SocketServerUrlHandler.js";
20
+ import useFullscreen from "./useFullscreen.js";
21
+ import typicalZustandStoreExcludes from "./typicalZustandStoreExcludes.js";
22
+ import typicalZustandStoreStateSlice from "./typicalZustandStoreStateSlice.js";
23
+ export { Ad_default as Ad, ArticlesAd, CreditsModal, DarkModeHandler, FriendsList, GameMenu, GameScoreboard, GlobalBody_default as GlobalBody, GlobalHead, ReturnToLauncherButton, SessionButton, SettingsModal, SignInButton, SocketServerUrlHandler, ToontownModeHandler, ViewUserModal, typicalZustandStoreExcludes, typicalZustandStoreStateSlice, useFullscreen, useUserDetails, useUserFriends, useUserToken };