-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
377 lines (359 loc) · 19.2 KB
/
Copy pathindex.html
File metadata and controls
377 lines (359 loc) · 19.2 KB
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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Voice Room - Lord Of Heroes</title>
<link rel="icon" href="fabicon.png" type="image/png">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="stars"></div>
<div id="introOverlay" class="intro-overlay">
<div class="intro-container">
<img class="intro-logo" src="lord%20of%20heros.png" alt="Lord of Heroes">
<div class="intro-text">내가 원하는 것은 그대다</div>
<div class="intro-text">touch for your memories</div>
</div>
</div>
<div class="music-bar">
<div class="left-group">
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yMusic" aria-label="배경음악과 음성 컨텐츠 안내" aria-describedby="a11yTipMusic">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<path d="M10 4v9.1A3.9 3.9 0 0 0 8 13c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V8h6V4h-7z"></path>
</svg>
</button>
<div class="a11y-info-tooltip" id="a11yTipMusic" role="tooltip">
<p>배경음악과 음성 컨텐츠를 포함하고 있습니다.</p>
</div>
</div>
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yAlt" aria-label="ALT 대체 텍스트 안내" aria-describedby="a11yTipAlt">
<span class="icon-a11y" aria-hidden="true"></span>
</button>
<div class="a11y-info-tooltip" id="a11yTipAlt" role="tooltip">
<p>ALT 대체 텍스트를 지원합니다.</p>
</div>
</div>
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yContext" aria-label="마우스 우클릭 제한 안내" aria-describedby="a11yTipContext">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="8" fill="none" stroke="#cfe6f9" stroke-width="1.8"></circle>
<line x1="8" y1="8" x2="16" y2="16" stroke="#cfe6f9" stroke-width="1.8" stroke-linecap="round"></line>
</svg>
</button>
<div class="a11y-info-tooltip" id="a11yTipContext" role="tooltip">
<p>마우스 우클릭이 금지됩니다. 드래그, 복사는 가능합니다.</p>
</div>
</div>
</div>
<div class="center-group">
<button class="mb-btn" id="mbPlay" aria-label="Play/Pause">
<svg class="icon icon-play" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>
<svg class="icon icon-pause" viewBox="0 0 24 24"><path d="M6 5h4v14H6zm8 0h4v14h-4z"/></svg>
</button>
<button class="mb-btn" id="mbShuffle" aria-label="Shuffle">
<svg class="icon" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M0 3.5A.5.5 0 0 1 .5 3H1c2.202 0 3.827 1.24 4.874 2.418.49.552.865 1.102 1.126 1.532.26-.43.636-.98 1.126-1.532C9.173 4.24 10.798 3 13 3v1c-1.798 0-3.173 1.01-4.126 2.082A9.6 9.6 0 0 0 7.556 8a9.6 9.6 0 0 0 1.317 1.918C9.828 10.99 11.204 12 13 12v1c-2.202 0-3.827-1.24-4.874-2.418A10.6 10.6 0 0 1 7 9.05c-.26.43-.636.98-1.126 1.532C4.827 11.76 3.202 13 1 13H.5a.5.5 0 0 1 0-1H1c1.798 0 3.173-1.01 4.126-2.082A9.6 9.6 0 0 0 6.444 8a9.6 9.6 0 0 0-1.317-1.918C4.172 5.01 2.796 4 1 4H.5a.5.5 0 0 1-.5-.5"/>
<path d="M13 5.466V1.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192m0 9v-3.932a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384l-2.36 1.966a.25.25 0 0 1-.41-.192"/>
</svg>
</button>
<div class="mb-title" id="mbTitle">재생할 곡을 선택하세요</div>
<div class="mb-time" id="mbTime">00:00 / 00:00</div>
<div class="mb-progress-wrap" id="mbProgressWrap">
<div class="mb-progress" id="mbProgress"></div>
</div>
</div>
<div class="right-group">
<button class="mb-btn" id="mbPatch" aria-label="Patch Notes">
<svg class="icon" viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="2" rx="1"></rect>
<rect x="4" y="11" width="16" height="2" rx="1"></rect>
<rect x="4" y="16" width="16" height="2" rx="1"></rect>
</svg>
</button>
<button class="mb-btn" id="mbList" aria-label="Toggle List">
<svg class="icon" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>
</button>
</div>
</div>
<button class="mobile-hero-search-btn" id="mbHeroSearch" aria-label="영웅 검색">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M15.5 14h-.79l-.28-.28A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.22-1.57l.28.28v.79L19 20.5 20.5 19 15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
</button>
<div class="mobile-hero-search-bar" id="mbHeroSearchBar">
<input
type="text"
id="heroSearchInputMobile"
class="hero-search-input"
placeholder="영웅 이름 검색"
autocomplete="off"
>
</div>
<div class="music-accordion" id="mbAccordion">
<div class="music-list" id="mbListBody"></div>
</div>
<div class="app-container">
<img class="brand-logo" src="lord%20of%20heros.png" alt="Lord of Heroes">
<div class="a11y-mobile-bar">
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yMusicMobile" aria-label="배경음악과 음성 컨텐츠 안내" aria-describedby="a11yTipMusicMobile">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<path d="M10 4v9.1A3.9 3.9 0 0 0 8 13c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V8h6V4h-7z"></path>
</svg>
</button>
<div class="a11y-info-tooltip" id="a11yTipMusicMobile" role="tooltip">
<p>배경음악과 음성 컨텐츠를 포함하고 있습니다.</p>
</div>
</div>
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yAltMobile" aria-label="ALT 대체 텍스트 안내" aria-describedby="a11yTipAltMobile">
<span class="icon-a11y" aria-hidden="true"></span>
</button>
<div class="a11y-info-tooltip" id="a11yTipAltMobile" role="tooltip">
<p>ALT 대체 텍스트를 지원합니다.</p>
</div>
</div>
<div class="a11y-info-wrapper">
<button class="mb-btn" id="mbA11yContextMobile" aria-label="마우스 우클릭 제한 안내" aria-describedby="a11yTipContextMobile">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="8" fill="none" stroke="#cfe6f9" stroke-width="1.8"></circle>
<line x1="8" y1="8" x2="16" y2="16" stroke="#cfe6f9" stroke-width="1.8" stroke-linecap="round"></line>
</svg>
</button>
<div class="a11y-info-tooltip" id="a11yTipContextMobile" role="tooltip">
<p>마우스 우클릭이 금지됩니다. 드래그, 복사는 가능합니다.</p>
</div>
</div>
</div>
<!-- Left: Hero Selection -->
<aside class="hero-list">
<button class="hero-arrow hero-arrow-left" aria-label="왼쪽으로 이동">
<svg viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>
</button>
<button class="hero-arrow hero-arrow-right" aria-label="오른쪽으로 이동">
<svg viewBox="0 0 24 24"><path d="M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z"/></svg>
</button>
<div class="hero-search">
<div class="hero-search-inner">
<svg class="hero-search-icon" viewBox="0 0 24 24" aria-hidden="true">
<path d="M15.5 14h-.79l-.28-.28A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.22-1.57l.28.28v.79L19 20.5 20.5 19 15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
</svg>
<input
type="text"
id="heroSearchInput"
class="hero-search-input"
placeholder="영웅 이름 검색"
autocomplete="off"
>
</div>
</div>
</aside>
<div class="voice-column">
<!-- Middle: Voice List -->
<section class="voice-list-section">
<div class="voice-list-inner">
<!-- Dynamic Content will be loaded here via app.js -->
</div>
</section>
<div class="voice-bottom-actions">
<button class="receipt-toggle-btn" id="receiptToggle" type="button" aria-label="영웅 대사 영수증 열기/닫기">
🧾 Entry Permit
</button>
<button id="moviesToggleBtn" class="receipt-toggle-btn" aria-label="음악 감상실 열기">
음악 감상실
</button>
</div>
</div>
<div class="v-divider"></div>
<!-- Right: Transcript -->
<section class="transcript-section">
<!-- Dynamic Content will be loaded here via app.js -->
</section>
<div class="receipt-shell">
<div class="receipt-widget hidden" id="receiptWidget" role="group" aria-label="로드오브히어로즈 영웅 대사 영수증">
<div class="receipt-paper">
<div class="receipt-title">entry permit</div>
<div class="receipt-divider"></div>
<div class="receipt-label">The Hero said… :</div>
<div class="receipt-quote" id="receiptQuote"></div>
<div class="receipt-hero-meta" id="receiptHeroMeta"></div>
<div class="receipt-divider"></div>
<div class="receipt-section-heading">ingredients</div>
<div class="receipt-daily-value">Daily Value ∞</div>
<div class="receipt-ingredients-container" id="receiptIngredients"></div>
<div class="receipt-divider"></div>
<p class="receipt-barcode" id="receiptBarcode"></p>
<div class="receipt-serial" id="receiptSerial"></div>
<div class="receipt-footer">"로드! 또 와 줄 거지?"</div>
</div>
<button id="receiptDownloadBtn" type="button" style="margin-top: 20px; padding: 8px 16px; border-radius: 4px; border: 1px solid #cbd5f5; background: #0f172a; color: #e2e8f0; font-size: 11px; cursor: pointer;">DOWNLOAD</button>
</div>
</div>
<div class="footer-spacer">
<div class="bottom-footer">
<div id="mobileProgress" class="upload-progress">
<div class="upload-progress-text"></div>
<div class="upload-progress-bar">
<div class="upload-progress-bar-fill"></div>
</div>
</div>
<div class="bottom-twitter">
<a href="https://x.com/lohvoice" target="_blank" rel="noopener noreferrer" aria-label="Twitter 바로가기">
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<path d="M23.643 4.937c-.835.37-1.732.62-2.675.733a4.657 4.657 0 0 0 2.048-2.57 9.294 9.294 0 0 1-2.946 1.133 4.64 4.64 0 0 0-7.9 4.235 13.162 13.162 0 0 1-9.563-4.848 4.637 4.637 0 0 0 1.435 6.187 4.623 4.623 0 0 1-2.1-.58v.06a4.642 4.642 0 0 0 3.72 4.55 4.676 4.676 0 0 1-2.094.08 4.645 4.645 0 0 0 4.333 3.22A9.304 9.304 0 0 1 1.11 19.29a13.128 13.128 0 0 0 7.115 2.086c8.543 0 13.213-7.077 13.213-13.213 0-.2-.005-.402-.014-.602a9.34 9.34 0 0 0 2.319-2.384z"></path>
</svg>
</a>
</div>
<div class="bottom-credit">made by. @lohvoice (@gaesaryeo)</div>
</div>
</div>
</div>
<!-- Flaticon Attribution -->
<a href="https://www.flaticon.com/kr/free-icons/" title="접근성 아이콘" style="display:none">접근성 아이콘 제작자: Flaticon</a>
<!-- Patch Notes Modal -->
<div class="patch-modal-overlay" id="patchModal" aria-hidden="true">
<div class="patch-modal" id="patchSheet" role="dialog" aria-modal="true" aria-labelledby="patchTitle">
<div class="patch-header">
<div class="patch-title" id="patchTitle">Patch Notes</div>
<button class="patch-close" id="patchClose" aria-label="Close">
<svg class="icon" viewBox="0 0 24 24">
<line x1="6" y1="6" x2="18" y2="18" stroke="#cfe6f9" stroke-width="2" stroke-linecap="round"></line>
<line x1="18" y1="6" x2="6" y2="18" stroke="#cfe6f9" stroke-width="2" stroke-linecap="round"></line>
</svg>
</button>
</div>
<div class="patch-content" id="patchContent"></div>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-database.js"></script>
<script>
var firebaseConfig = {
apiKey: "AIzaSyDX-MxKbl4rWE_ICXiEj-LkE71L_PXMtF8",
authDomain: "receipt-counter-e69ab.firebaseapp.com",
databaseURL: "https://receipt-counter-e69ab-default-rtdb.firebaseio.com",
projectId: "receipt-counter-e69ab",
storageBucket: "receipt-counter-e69ab.firebasestorage.app",
messagingSenderId: "95724125160",
appId: "1:95724125160:web:dd69aa000e3a9368dc025d"
};
if (typeof firebase === "object" && firebase && typeof firebase.initializeApp === "function") {
if (!firebase.apps || !firebase.apps.length) {
firebase.initializeApp(firebaseConfig);
}
}
</script>
<!-- Music Room Modal Overlay -->
<div id="moviesModal" class="movies-modal-overlay" aria-hidden="true" style="display:none;">
<div class="movies-modal-container">
<button id="moviesCloseBtn" class="movies-close-btn" aria-label="음악 감상실 닫기">
<svg class="icon" viewBox="0 0 24 24">
<line x1="6" y1="6" x2="18" y2="18" stroke="currentColor" stroke-width="2" stroke-linecap="round"></line>
<line x1="18" y1="6" x2="6" y2="18" stroke="currentColor" stroke-width="2" stroke-linecap="round"></line>
</svg>
</button>
<iframe id="moviesFrame" class="movies-iframe" src="" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
</div>
<style>
.movies-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.95);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
cursor: url('cursor/커서/감동란님%20기본.ani'), url('cursor/원본%20파일/감동란님%20기본.png'), auto;
}
.movies-modal-container {
width: 100%;
height: 100%;
position: relative;
}
.movies-close-btn {
position: absolute;
top: 25px;
right: 25px;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
color: #fff;
cursor: url('cursor/커서/감동란님%20선택.ani'), url('cursor/원본%20파일/감동란님%20선택.png'), pointer;
z-index: 10001;
padding: 8px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
backdrop-filter: blur(2px);
}
.movies-close-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: #fff;
transform: scale(1.1);
}
.movies-close-btn svg {
width: 18px;
height: 18px;
stroke-width: 2;
}
.movies-iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', () => {
const moviesBtn = document.getElementById('moviesToggleBtn');
const moviesModal = document.getElementById('moviesModal');
const moviesCloseBtn = document.getElementById('moviesCloseBtn');
const moviesFrame = document.getElementById('moviesFrame');
if (moviesBtn && moviesModal && moviesCloseBtn) {
// Open
moviesBtn.addEventListener('click', () => {
window.location.href = 'music_room';
});
// Close
moviesCloseBtn.addEventListener('click', () => {
moviesModal.style.display = 'none';
moviesModal.setAttribute('aria-hidden', 'true');
document.body.style.overflow = ''; // Unlock background scroll
// Stop video/audio by clearing src
moviesFrame.setAttribute('src', '');
});
}
});
</script>
<!-- Data & Scripts -->
<script src="asset/fram/fram.js"></script>
<script src="asset/johan/johan.js"></script>
<script src="asset/johan/jp/jp-johan.js"></script>
<script src="asset/sharlotte/sharlotte.js"></script>
<script src="asset/mikhail/mikhail.js"></script>
<script src="asset/lyn/lyn.js"></script>
<script src="asset/ruin/ruin.js"></script>
<script src="asset/lucilica/lucilica.js"></script>
<script src="asset/rosanna/rosanna.js"></script>
<script src="asset/joshua/joshua.js"></script>
<script src="asset/syphfride/syphfride.js"></script>
<script src="asset/ondal/ondal.js"></script>
<script src="asset/brandon/brandon.js"></script>
<script src="asset/raligon/raligon.js"></script>
<script src="asset/knight_helga/knight_helga.js"></script>
<script src="asset/miriande/miriande.js"></script>
<script src="asset/kartis/kartis.js"></script>
<script src="asset/scalene/scalene.js"></script>
<script src="visualizer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
<script src="app.js"></script>
</html>