-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
420 lines (368 loc) · 30.4 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Roboto+Mono:wght@600&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="index.css" />
<title>Movie Collection Visualizer</title>
</head>
<body>
<div class="background">
<div class="search_div">
<div class="search_container">
<input type="text" class="search_input" id="movie_search_input"
placeholder="Search movie, genre, actor, director..." />
<button class="search_button" id="movie_search_button">🔎︎</button>
</div>
</div>
<div class="middle_bar">
<div class="filter_div" id="filter_div">
<label class="filter">
<input class="filter_box" type="checkbox">
<span class="filter_text">Filter</span>
</label>
</div>
<div class="sort_div">
<svg class="sort_icon" fill="rgb(150, 150, 150)" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z" />
</svg>
<div class="sort_dropdown" id="sort_dropdown">
<div class="sort_element" id="alphabetically">
<svg class="sort_element_logo" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m80-280 150-400h86l150 400h-82l-34-96H196l-32 96H80Zm140-164h104l-48-150h-6l-50 150Zm328 164v-76l202-252H556v-72h282v76L638-352h202v72H548ZM360-760l120-120 120 120H360ZM480-80 360-200h240L480-80Z" />
</svg>
<h4 class="sort_element_text">Sort Alphabetically</h4>
<svg class="sort_element_sorting_type " fill="#969696" height="24" viewBox="0 -960 960 960"
width="24">
<path
d="m 448.38627,-732.90979 v 384.89708 l -177.03685,-177.03685 -44.25921,45.04955 252.90978,252.90979 252.90979,-252.90979 -44.25921,-45.04955 -177.03685,177.03685 v -384.89708 z"
id="path1" style="stroke-width:0.790343" />
</svg>
</div>
<span class="divider"></span>
<div class="sort_element" id="imdb_rating">
<svg class="sort_element_logo" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<g id="g1" transform="matrix(9.3024584,0,0,9.3024584,-115.35734,-1075.3573)">
<g transform="matrix(2,0,0,2,16,46)" id="g3">
<polygon points="0,0 0,18 5,18 5,0 " id="polygon1" />
<path
d="M 15.672518,0 14.553483,8.4084693 13.858201,3.8350243 C 13.65661,2.3700926 13.463247,1.0917512 13.278113,0 H 7 v 18 h 4.241635 L 11.258091,6.1138068 13.043609,18 h 3.019748 L 17.758365,5.8517865 17.770708,18 H 22 V 0 Z"
id="path1" />
<path
d="M 24,18 V 0 h 7.804559 C 33.569352,0 35,1.4199441 35,3.1766042 V 14.823396 C 35,16.577786 33.571662,18 31.804559,18 Z M 29.832248,3.2395236 C 29.633922,3.1323335 29.254516,3.0807234 28.702652,3.0807234 V 14.891486 c 0.728633,0 1.177022,-0.13101 1.345167,-0.40494 0.168146,-0.26996 0.254375,-1.000441 0.254375,-2.199382 V 5.3078959 c 0,-0.8138509 -0.03018,-1.3339215 -0.08623,-1.5641817 -0.05605,-0.2302603 -0.18108,-0.3970005 -0.383717,-0.5041906 z"
id="path2" />
<path
d="m 44.429908,4.5068582 h 0.31961 C 46.54471,4.5068582 48,5.9126759 48,7.6448676 V 14.861991 C 48,16.595065 46.545182,18 44.749518,18 h -0.31961 c -1.098446,0 -2.069633,-0.526338 -2.658038,-1.331726 l -0.287974,1.100504 H 37 V 0 h 4.784326 v 5.7805356 c 0.618172,-0.7703782 1.570825,-1.2736774 2.645582,-1.2736774 z m -1.02434,8.7773578 V 9.0190781 c 0,-0.7047386 -0.04524,-1.1672234 -0.139493,-1.3801133 -0.09425,-0.2128898 -0.470487,-0.3495732 -0.734393,-0.3495732 -0.263906,0 -0.670889,0.1110822 -0.75006,0.2982784 v 7.219809 c 0.09048,0.205549 0.478614,0.319927 0.75006,0.319927 0.271446,0 0.666531,-0.110708 0.749473,-0.319927 0.08294,-0.20922 0.124413,-0.719421 0.124413,-1.523263 z"
id="path3" />
</g>
</g>
</svg>
<h4 class="sort_element_text">Sort by IMDB Rating</h4>
<svg class="sort_element_sorting_type sort_element_hidden" fill="#969696" height="24"
viewBox="0 -960 960 960" width="24">
<path
d="m 448.38627,-732.90979 v 384.89708 l -177.03685,-177.03685 -44.25921,45.04955 252.90978,252.90979 252.90979,-252.90979 -44.25921,-45.04955 -177.03685,177.03685 v -384.89708 z"
id="path1" style="stroke-width:0.790343" />
</svg>
</div>
<span class="divider"></span>
<div class="sort_element" id="release_date">
<svg class="sort_element_logo" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m 203.81191,-61.013316 q -42.66851,0 -72.93683,-30.94986 -30.26731,-30.949254 -30.26731,-72.255454 v -565.68185 q 0,-42.93605 30.26731,-73.39461 30.26832,-30.45914 72.93683,-30.45914 h 43.16505 v -65.23245 h 87.9512 v 65.23245 h 289.49423 v -65.23245 h 87.95121 v 65.23245 h 43.16505 q 42.93629,0 73.39444,30.45914 30.45914,30.45856 30.45914,73.39461 v 565.68185 q 0,41.3062 -30.45914,72.255454 -30.45815,30.94986 -73.39444,30.94986 z m 0,-103.205314 H 755.53865 V -565.35569 H 203.81191 Z m 0,-467.34276 h 551.72674 v -98.33909 H 203.81191 Z m 0,0 v -98.33909 z m 276.28496,236.26748 q -19.0024,0 -32.42978,-13.28833 -13.42834,-13.28776 -13.42834,-32.00021 0,-18.71245 13.48481,-32.14859 13.48483,-13.43614 32.48723,-13.43614 19.00239,0 31.95172,13.28834 12.94931,13.28834 12.94931,32.00021 0,18.71245 -13.00676,32.14859 -13.0058,13.43613 -32.00819,13.43613 z m -156.0549,0 q -18.71226,0 -32.14839,-13.28833 -13.43614,-13.28776 -13.43614,-32.00021 0,-18.71245 13.28815,-32.14859 13.28813,-13.43614 32.00039,-13.43614 18.71227,0 32.1484,13.28834 13.43614,13.28834 13.43614,32.00021 0,18.71245 -13.28815,32.14859 -13.28815,13.43613 -32.0004,13.43613 z m 310.87913,0 q -17.63931,0 -31.27016,-13.28833 -13.63089,-13.28776 -13.63089,-32.00021 0,-18.71245 13.68831,-32.14859 13.68734,-13.43614 31.81344,-13.43614 18.12617,0 31.74826,13.28834 13.62307,13.28834 13.62307,32.00021 0,18.71245 -13.4848,32.14859 -13.48485,13.43613 -32.48723,13.43613 z m -154.82423,155.7815 q -19.0024,0 -32.42978,-13.6885 -13.42834,-13.68733 -13.42834,-31.81326 0,-18.12653 13.48481,-31.74844 13.48483,-13.62307 32.48723,-13.62307 19.00239,0 31.95172,13.48463 12.94931,13.48521 12.94931,32.48741 0,17.63932 -13.00676,31.26998 -13.0058,13.63125 -32.00819,13.63125 z m -156.0549,0 q -18.71226,0 -32.14839,-13.6885 -13.43614,-13.68733 -13.43614,-31.81326 0,-18.12653 13.28815,-31.74844 13.28813,-13.62307 32.00039,-13.62307 18.71227,0 32.1484,13.48463 13.43614,13.48521 13.43614,32.48741 0,17.63932 -13.28815,31.26998 -13.28815,13.63125 -32.0004,13.63125 z m 310.87913,0 q -17.63931,0 -31.27016,-13.6885 -13.63089,-13.68733 -13.63089,-31.81326 0,-18.12653 13.68831,-31.74844 13.68734,-13.62307 31.81344,-13.62307 18.12617,0 31.74826,13.48463 13.62307,13.48521 13.62307,32.48741 0,17.63932 -13.4848,31.26998 -13.48485,13.63125 -32.48723,13.63125 z"
id="path1-9" style="stroke-width:0.973636" />
</svg>
<h4 class="sort_element_text">Sort by Release Date</h4>
<svg class="sort_element_sorting_type sort_element_hidden" fill="#969696" height="24"
viewBox="0 -960 960 960" width="24">
<path
d="m 448.38627,-732.90979 v 384.89708 l -177.03685,-177.03685 -44.25921,45.04955 252.90978,252.90979 252.90979,-252.90979 -44.25921,-45.04955 -177.03685,177.03685 v -384.89708 z"
id="path1" style="stroke-width:0.790343" />
</svg>
</div>
<span class="divider"></span>
<div class="sort_element" id="duration">
<svg class="sort_element_logo" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m 479.92023,-212.46185 q 111.66442,0 189.56194,-77.89629 77.89647,-77.89751 77.89647,-189.56213 0,-111.66461 -77.89647,-189.56211 -77.89752,-77.89629 -189.56194,-77.89629 v 267.4584 l -184.54606,190.56469 q 36.44082,37.11001 84.41578,57.00186 47.97596,19.89187 100.13028,19.89187 z m 0.0221,140.444765 q -84.19915,0 -158.61133,-32.053845 -74.41319,-32.05325 -129.81011,-87.45016 -55.39691,-55.39692 -87.44975,-129.78784 -32.05385,-74.39093 -32.05385,-158.58907 0,-84.86732 32.05385,-159.28051 32.05284,-74.41319 87.42467,-129.48394 55.37185,-55.07136 129.77401,-87.19501 74.40315,-32.12546 158.61534,-32.12546 84.88016,0 159.31241,32.11222 74.43124,32.11282 129.49013,87.16311 55.05993,55.0485 87.17696,129.46891 32.11805,74.41921 32.11805,159.31841 0,84.22101 -32.12509,158.6312 -32.12402,74.41017 -87.19502,129.78724 -55.07092,55.37765 -129.46203,87.4309 -74.39113,32.053845 -159.25824,32.053845 z m -0.0221,-75.979025 q 138.78765,0 235.35642,-96.80243 96.56775,-96.80123 96.56775,-235.12173 0,-138.78746 -96.56775,-235.35642 -96.56877,-96.56774 -235.43665,-96.56774 -138.19892,0 -235.02143,96.56774 -96.82249,96.56896 -96.82249,235.43645 0,138.19895 96.80244,235.02185 96.80142,96.82228 235.12171,96.82228 z m 0,-331.92416 z"
id="path1" style="stroke-width:1.00297" />
</svg>
<h4 class="sort_element_text">Sort by Runtime</h4>
<svg class="sort_element_sorting_type sort_element_hidden" fill="#969696" height="24"
viewBox="0 -960 960 960" width="24">
<path
d="m 448.38627,-732.90979 v 384.89708 l -177.03685,-177.03685 -44.25921,45.04955 252.90978,252.90979 252.90979,-252.90979 -44.25921,-45.04955 -177.03685,177.03685 v -384.89708 z"
id="path1" style="stroke-width:0.790343" />
</svg>
</div>
<span class="divider"></span>
<div class="sort_element" id="shuffle">
<svg class="sort_element_logo" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m 591.33268,-73.381551 v -90.294779 h 139.11309 l -193.0526,-192.22388 64.0373,-64.56987 194.3977,192.24105 V -367.24258 H 886.6187 V -73.381551 Z M 136.50899,-73.480824 73.381302,-137.93348 732.10569,-795.82792 H 591.33268 v -90.79053 H 886.6187 v 294.35752 H 795.82817 V -731.57312 Z M 359.14693,-537.52753 73.381302,-822.16579 l 63.957658,-64.45266 286.36043,284.83611 z"
id="path1-7" style="stroke-width:1.24434" />
</svg>
<h4 class="sort_element_text">Shuffle</h4>
<svg class="sort_element_sorting_type sort_element_hidden" fill="#969696" height="24"
viewBox="0 -960 960 960" width="24">
<path
d="m 480,-414.85561 c 18.03266,0 33.36043,-6.31142 45.98331,-18.9343 12.62287,-12.62287 18.93429,-27.95064 18.93429,-45.9833 0,-18.03266 -6.31142,-33.36043 -18.93429,-45.98327 -12.62288,-12.62287 -27.95065,-18.93429 -45.98331,-18.93429 -18.03266,0 -33.36043,6.31142 -45.9833,18.93429 -12.62284,12.62284 -18.9343,27.95061 -18.9343,45.98327 0,18.03266 6.31146,33.36043 18.9343,45.9833 12.62287,12.62288 27.95064,18.9343 45.9833,18.9343 z m 0,108.19597 c 48.32755,0 89.26168,-16.77034 122.80244,-50.3111 33.54075,-33.54076 50.31113,-74.47492 50.31113,-122.80247 0,-48.32751 -16.77038,-89.26168 -50.31113,-122.80244 -67.68585,-67.68588 -177.91821,-67.68666 -245.60488,0 -33.54075,33.54076 -50.31113,74.47493 -50.31113,122.80244 0,48.32755 16.77038,89.26171 50.31113,122.80247 33.54076,33.54076 74.4749,50.3111 122.80244,50.3111 z"
id="path1-6" style="stroke-width:0.540979" />
</svg>
</div>
</div>
</div>
</div>
<div class="movies_div" id="movies_div"></div>
</div>
<div class="popup omdb_api_div hide_popup" id="omdb_api_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" fill="white" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M280-400q-33 0-56.5-23.5T200-480q0-33 23.5-56.5T280-560q33 0 56.5 23.5T360-480q0 33-23.5 56.5T280-400Zm0 160q-100 0-170-70T40-480q0-100 70-170t170-70q67 0 121.5 33t86.5 87h352l120 120-180 180-80-60-80 60-85-60h-47q-32 54-86.5 87T280-240Zm0-80q56 0 98.5-34t56.5-86h125l58 41 82-61 71 55 75-75-40-40H435q-14-52-56.5-86T280-640q-66 0-113 47t-47 113q0 66 47 113t113 47Z" />
</svg>
</div>
<h1 class="popup_header">OMDB API Key Required.</h1>
<p class="popup_paragraph">To access the full functionality of this program, you'll need an OMDB API key. You
can obtain a free API key by visiting the official OMDB website. Once acquired, please enter the key in the
provided section here.</p>
<div class="search_container">
<input type="text" class="search_input" id="omdb_api_input" placeholder="Enter key here." />
<button class="search_button" id="omdb_api_button">➔</button>
</div>
</div>
<div class="popup import_movies_div hide_popup" id="import_movies_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" fill="white" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z" />
</svg>
</div>
<h1 class="popup_header">Import Your Movies</h1>
<div class="import_movies_options_div">
<div class="import_movies_option_div" id="import_movies_options_dir">
<div>
<svg class="import_movie_option_svg" fill="#fafafa" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z" />
</svg>
</div>
<div>
<h2 class="movie_import_option_header">Import From Folder Names</h2>
<p class="import_movies_option_paragraph">Retrieve your movie names by searching through your
collection folder. The folder names should be the movie titles.</p>
</div>
</div>
<div class="import_movies_option_div" id="import_movies_options_tor">
<div>
<svg class="import_movie_option_svg" fill="#fafafa" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m160-800 80 160h120l-80-160h80l80 160h120l-80-160h80l80 160h120l-80-160h120q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800Zm0 240v320h640v-320H160Zm0 0v320-320Z" />
</svg>
</div>
<div>
<h2 class="movie_import_option_header">Import From Media Names</h2>
<p class="import_movies_option_paragraph">Retrieve movie titles from file names with extensions such
as .mp4, .mkv, etc. We can extract movie names from torrent file names!</p>
</div>
</div>
<div class="import_movies_option_div" id="import_movies_options_txt">
<div>
<svg class="import_movie_option_svg" fill="#fafafa" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h440l200 200v440q0 33-23.5 56.5T760-120H200Zm0-80h560v-400H600v-160H200v560Zm80-80h400v-80H280v80Zm0-320h200v-80H280v80Zm0 160h400v-80H280v80Zm-80-320v160-160 560-560Z" />
</svg>
</div>
<div>
<h2 class="movie_import_option_header">Import From TXT File</h2>
<p class="import_movies_option_paragraph">If you possess a list of movie names stored in a .txt
file, we can retrieve movie titles from it.</p>
</div>
</div>
</div>
</div>
<div class="popup create_movies_library_div hide_popup" id="create_movies_library_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" height="24" fill="white" viewBox="0 -960 960 960" width="24">
<path
d="M480-120q-151 0-255.5-46.5T120-280v-400q0-66 105.5-113T480-840q149 0 254.5 47T840-680v400q0 67-104.5 113.5T480-120Zm0-479q89 0 179-25.5T760-679q-11-29-100.5-55T480-760q-91 0-178.5 25.5T200-679q14 30 101.5 55T480-599Zm0 199q42 0 81-4t74.5-11.5q35.5-7.5 67-18.5t57.5-25v-120q-26 14-57.5 25t-67 18.5Q600-528 561-524t-81 4q-42 0-82-4t-75.5-11.5Q287-543 256-554t-56-25v120q25 14 56 25t66.5 18.5Q358-408 398-404t82 4Zm0 200q46 0 93.5-7t87.5-18.5q40-11.5 67-26t32-29.5v-98q-26 14-57.5 25t-67 18.5Q600-328 561-324t-81 4q-42 0-82-4t-75.5-11.5Q287-343 256-354t-56-25v99q5 15 31.5 29t66.5 25.5q40 11.5 88 18.5t94 7Z" />
</svg>
</div>
<h1 class="popup_header">A Database is Being Generated From Your Movie Collection</h1>
<p class="popup_paragraph">We are currently constructing your movie database, integrating key features such as
posters, ratings, genres, duration, and more through the OMDB API. Your patience is appreciated as we
diligently work on creating this database tailored for your future enjoyment.</p>
<h2 class="popup_header_2" id="db_remaining" style="margin-bottom: 0;">Time remaining: calculating...</h2>
<h2 class="popup_header_2" id="db_status" style="margin-top: 5px;">./.</h2>
<div class="loading_div">
<div class="loaded_amount_div" id="loaded_amount_div"></div>
</div>
</div>
<div class="popup wrong_movie_poster_div hide_popup" id="wrong_movie_poster_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" fill="white" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m840-234-80-80v-446H314l-80-80h526q33 0 56.5 23.5T840-760v526ZM792-56l-64-64H200q-33 0-56.5-23.5T120-200v-528l-64-64 56-56 736 736-56 56ZM240-280l120-160 90 120 33-44-283-283v447h447l-80-80H240Zm297-257ZM424-424Z" />
</svg>
</div>
<h1 class="popup_header">Wrong Poster or Movie?</h1>
<p class="popup_paragraph">Spot a movie name or poster that seems off? No worries! If you think there's a
mistake, just type in the correct movie name below. It's a good idea to cross-check the movie name on IMDb
for accuracy.</p>
<div class="wrong_right_movie_div">
<div class="wrong_right_movie_inner_div">
<img class="wrong_right_movie_poster" id="wrong_movie_poster" src="" alt="">
<h2 class="wrong_movie_name" id="wrong_movie_name">.</h2>
<span id="wrong_movie_id" style="display: none;"></span>
</div>
<div class="wrong_right_movie_inner_div">
<img class="wrong_right_movie_poster" id="right_movie_poster" src="" alt="">
<div class="right_movie_input_div">
<input type="text" class="simple_search_input" id="right_movie_search_input"
placeholder="Movie Name..." />
<button class="simple_search_button" id="right_movie_search_button">🔎︎</button>
<span id="right_movie_id" style="display: none;"></span>
</div>
</div>
</div>
<div class="choose_right_movie_div">
<h2 class="choose_right_movie_txt">Is that the right movie?</h2>
<button class="popup_button" id="choose_right_movie_button">Choose This Movie</button>
</div>
</div>
<div class="popup movie_information_div hide_popup" id="movie_information_div">
<div class="popup_close_button">✖</div>
<h1 class="popup_header movie_header" id="movie_header">-</h1>
<div class="movie_infos_div">
<div class="movie_left_div">
<img class="movie_info_poster" id="movie_info_poster" src="" alt="">
</div>
<div class="movie_right_div">
<h3 class="movie_info_duration" id="movie_duration">-</h3>
<div class="movie_info_genres" id="movie_genres"></div>
<div class="movie_info_additionals" id="movie_info_additionals"></div>
</div>
</div>
<h2 class="movie_info_story_header">Story</h2>
<p class="popup_paragraph" id="movie_story_paragraph">-</p>
</div>
<div class="popup first_time_div hide_popup" id="first_time_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" fill="white" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M120-160q-33 0-56.5-23.5T40-240v-480q0-33 23.5-56.5T120-800h720q33 0 56.5 23.5T920-720v480q0 33-23.5 56.5T840-160H120Zm0-80h720v-480H120v480Zm20-120h50v-140l102 140h48v-240h-50v140L190-600h-50v240Zm240 0h160v-50H440v-44h100v-50H440v-46h100v-50H380v240Zm240 0h160q17 0 28.5-11.5T820-400v-200h-50v180h-44v-140h-50v140h-46v-180h-50v200q0 17 11.5 28.5T620-360ZM120-240v-480 480Z" />
</svg>
</div>
<h1 class="popup_header">First Time? Dont Worry.</h1>
<p class="popup_paragraph">Welcome to our app! If this is your first time, rest assured we've got you covered.
Simply follow these straightforward steps, and you'll be ready to make the most of our app.</p>
<div class="steps">
<div class="step" id="step_1">
<span class="step_number">Step 1</span>
<div class="check_circle_div">
<svg class="step_logo_svg" fill="rgb(0, 200, 0)" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
<svg class="step_logo_svg" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
</div>
<div>
<p class="step_paragraph">To get started, head over to the OMDB API settings by clicking [Settings >
OMDB Api] from top left corner and then set up your OMDB API key.</p>
</div>
</div>
<div class="step" id="step_2">
<span class="step_number">Step 2</span>
<div class="check_circle_div">
<svg class="step_logo_svg" fill="rgb(0, 200, 0)" height="24" viewBox="0 -960 960 960" width="24">
<path
d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
<svg class="step_logo_svg" fill="#969696" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
</div>
<div>
<p class="step_paragraph">To start the movie import process, click [File > Import Movies]. You have
the flexibility to import your movie list from a TXT file or directly from your local files.</p>
</div>
</div>
</div>
</div>
<div class="popup want_to_contribute_div hide_popup" id="want_to_contribute_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" aria-hidden="true" fill="white" height="24" viewBox="0 0 24 24" version="1.1"
width="24" data-view-component="true">
<path
d="M16 19.25a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-14.5 0a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm0-14.5a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM4.75 3a1.75 1.75 0 1 0 .001 3.501A1.75 1.75 0 0 0 4.75 3Zm0 14.5a1.75 1.75 0 1 0 .001 3.501A1.75 1.75 0 0 0 4.75 17.5Zm14.5 0a1.75 1.75 0 1 0 .001 3.501 1.75 1.75 0 0 0-.001-3.501Z">
</path>
<path
d="M13.405 1.72a.75.75 0 0 1 0 1.06L12.185 4h4.065A3.75 3.75 0 0 1 20 7.75v8.75a.75.75 0 0 1-1.5 0V7.75a2.25 2.25 0 0 0-2.25-2.25h-4.064l1.22 1.22a.75.75 0 0 1-1.061 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0ZM4.75 7.25A.75.75 0 0 1 5.5 8v8A.75.75 0 0 1 4 16V8a.75.75 0 0 1 .75-.75Z">
</path>
</svg>
</div>
<h1 class="popup_header">Want to Contribute?</h1>
<p class="popup_paragraph">We encourage and appreciate your input! If you have innovative ideas, feature
suggestions, or encounter any bugs, please don't hesitate to submit an issue on our official GitHub
repository. Your insights are valuable to us, and we welcome your contributions to help enhance and improve
our project. Thank you for being a part of our community!</p>
<br>
<button class="popup_button" id="import_from_file_system_button"
onclick="openBrowser('https://github.com/ISO53/Movie-Collection-Visualizer/blob/master/CONTRIBUTING.md')">Visit
our Github Repository</button>
</div>
<div class="popup check_updates_div hide_popup" id="check_updates_div">
<div class="popup_close_button">✖</div>
<div class="popup_logo_div">
<svg class="popup_logo" fill="white" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M480-120q-75 0-140.5-28.5t-114-77q-48.5-48.5-77-114T120-480q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-840q82 0 155.5 35T760-706v-94h80v240H600v-80h110q-41-56-101-88t-129-32q-117 0-198.5 81.5T200-480q0 117 81.5 198.5T480-200q105 0 183.5-68T756-440h82q-15 137-117.5 228.5T480-120Zm112-192L440-464v-216h80v184l128 128-56 56Z" />
</svg>
</div>
<h1 class="popup_header">Check Updates</h1>
<p class="popup_paragraph" id="last_version_or_not"></p>
<div class="new_features no_display" id="new_features">
<p class="new_features_paragraph" id="new_features_paragraph"></p>
<button class="popup_button" id="import_from_file_system_button"
onclick="openBrowser('https://github.com/ISO53/Movie-Collection-Visualizer/releases/latest', '_blank');">Download
Latest Update</button>
</div>
</div>
<div class="popup movie_stats_div hide_popup" id="movie_stats_div">
<div class="popup_close_button">✖</div>
<h1 class="popup_header">Your Movie Statistics</h1>
<div class="pie_charts_div">
<h2>Movie Counts Based on Years</h2>
<canvas class="chart" id="year_chart" width="400" height="400"></canvas>
<h2>Movie Counts Based on Genres</h2>
<canvas class="chart" id="genre_chart" width="400" height="400"></canvas>
<h2>Movie Counts Based on Directors</h2>
<canvas class="chart" id="director_chart" width="400" height="400"></canvas>
<h2>Movie Counts Based on Actors</h2>
<canvas class="chart" id="actor_chart" width="400" height="400"></canvas>
</div>
</div>
<div class="blur_background" id="blur_background"></div>
<div class="alert_messages" id="alert_messages"></div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="renderer.js"></script>
</body>
</html>