generated from usf-cs360-spring2020/template-bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.html
748 lines (640 loc) · 28.9 KB
/
data.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
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- TODO: Change title -->
<title>CS 360 Final Project</title>
<!-- Load Bulma from CDN (consider saving it to repository instead) -->
<!-- https://bulma.io/ -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<!-- Load Font Awesome 5 (free) icons -->
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<!-- include d3.js v5 -->
<script src="https://d3js.org/d3.v5.min.js"></script>
<!-- include d3.js modules -->
<script src="https://d3js.org/d3-array.v2.min.js"></script>
<script src="https://d3js.org/d3-fetch.v1.min.js"></script>
<script src="https://d3js.org/d3-time.v1.min.js"></script>
<script src="https://d3js.org/d3-time-format.v2.min.js"></script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Page navigation -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<!-- TODO: Change link to repository homepage if needed -->
<!-- TODO: Change which navbar-item is-active if needed -->
<a class="navbar-item is-active" href="index.html">
<span class="icon"><i class="fas fa-home"></i></span>
<span>Home</span>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="main-menu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="main-menu" class="navbar-menu has-text-weight-medium">
<!-- Left navbar items -->
<div class="navbar-start">
<a class="navbar-item" href="data.html" title="Data">
<span class="icon"><i class="fas fa-table"></i></span>
<span>Data</span>
</a>
<!-- TODO: Modify or remove dropdown -->
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Visualizations
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="alpha.html">
<span class="icon"><i class="fas fa-chart-line"></i></span>
<span>Alpha Release Prototype</span>
</a>
<a class="navbar-item" href="beta.html">
<span class="icon"><i class="fas fa-chart-area"></i></span>
<span>Beta Release Prototype</span>
</a>
<hr class="navbar-divider">
<a class="navbar-item" href="final.html">
<span class="icon"><i class="fas fa-chart-bar"></i></span>
<span>Final Implementation</span>
</a>
</div>
</div>
</div>
<!-- Right navbar items -->
<div class="navbar-end">
<!-- TODO: Update as needed -->
<a class="navbar-item" href="grade.html" title="About">
<span class="icon"><i class="fas fa-tasks"></i></span>
<span>Grade</span>
</a>
<a class="navbar-item" href="about.html" title="About">
<span class="icon"><i class="fas fa-info-circle"></i></span>
<span>About</span>
</a>
</div>
</div>
</div>
</nav>
<!-- End page navigation -->
<section class="section">
<div class="container" >
<!-- Begin page content -->
<section>
<div style="background-image:url('assets/header2.jpg'); background-size: cover">
<div class="hero-body">
<div class="container">
<h1 class="title" style="color: white; text-shadow: 3px 3px 0px black">
Anime Dataset with Review - MyAnimeList
</h1>
<h2 class="subtitle" style="color: white; text-shadow: 3px 3px 0px black">
Anime Dataset from myanimelist.net (animes, profile, reviews) as 2020
</h2>
</div>
</div>
</div>
</section>
<br/>
<nav class="tabs is-boxed">
<div class="container">
<ul>
<li class="tab is-active" onclick="openTab(event, 'description')">
<a>
<span class="icon is-small"><i class="far fa-file-alt" aria-hidden="true"></i></span>
<span>Description</span>
</a>
</li>
<li class="tab" onclick="openTab(event, 'columns')">
<a>
<span class="icon is-small"><i class="fas fa-columns" aria-hidden="true"></i></span>
<span>Columns</span>
</a>
</li>
<!-- <li class="tab" onclick="openTab(event, 'data')">
<a>
<span class="icon is-small"><i class="fas fa-database" aria-hidden="true"></i></span>
<span>Data</span>
</a>
</li> -->
<li class="tab" onclick="openTab(event, 'wrangling')">
<a>
<span class="icon is-small"><i class="fas fa-code" aria-hidden="true"></i></span>
<span>Wrangling</span>
</a>
</li>
</ul>
</div>
</nav>
<div class="content" style="margin: 50px">
<div class="content-tab" id="description">
<p class="title">Context</p>
<p style="font-size: 20px; line-height: 35px">
This dataset contains information about Anime (16k), Reviews(130k) and Profiles(47k) crawled from MyAnimeList.net on 05/01/20.<br/><br/>
Contains three files:
</p>
<ul style="font-size: 18px; line-height: 28px; margin-top: 5px">
<li><p>animes.csv contains list of anime, with title, title synonyms, genre, duration, rank, populatiry, score, airing date, episodes and many other important data about individual anime providing sufficient information about trends in time about important aspects of anime. Rank is in float format in csv, but it contains only integer value. This is due to NaN values and their representation in pandas.</p></li>
<li><p>profiles.csv contains information about users who watch anime, namely username, birth date, gender, and favorite animes list.</p></li>
<li><p>reviews.csv contains information about reviews users x animes, with text review and scores.</p></li>
</ul>
<blockquote style="font-size: 15px">
<p>
"This data is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: <a href="https://creativecommons.org/publicdomain/zero/1.0/">www.creativecommons.org/publicdomain/zero/1.0/</a>"
</p>
<cite>
Marlesson.(2020). Anime Dataset with Reviews - MyAnimeList [CSV File]. Retrieved from <a href="https://www.kaggle.com/marlesson/myanimelist-dataset-animes-profiles-reviews#animes.csv">https://www.kaggle.com/marlesson/myanimelist-dataset-animes-profiles-reviews#animes.csv</a>
</cite>
</blockquote><br/>
</div>
<div class="content-tab" id="columns" style="display: none">
<!-- <p class="subtitle">Files Utilized from this Dataset</p> -->
<div class="columns">
<div class="column is-one-third" style="padding: 40px">
<p class="title" id="animes.csv">animes.csv</p>
<p class="subtitle">
Contains list of anime, with title, title synonyms, genre, duration, rank, populatiry, score, airing date, episodes and many other important data about individual anime providing sufficient information about trends in time about important aspects of anime. Rank is in float format in csv, but it contains only integer value. This is due to NaN values and their representation in pandas.
</p>
<div class="level">
<div class="level-left">
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Rows</span>
<span class="tag is-primary">16k</span>
</div>
</div>
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Columns</span>
<span class="tag is-primary">12</span>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="table is-bordered">
<table class="table" style="font-size: 20px; font-family: 'Georgia'">
<thead>
<tr>
<th>Columns</th>
<th>Description</th>
</tr>
</thead>
<tbody class="subtitle" style="font-size: 18px">
<tr class="is-selected">
<td>uid</td>
<td>ID of anime e.g., 28891.</td>
</tr>
<tr class="is-selected">
<td>title</td>
<td>Title of anime in English e.g., Haikyuu!! Second Season.</td>
</tr>
<tr class="is-selected">
<td>synopsis</td>
<td>Synopsis or summary about the plot of the anime e.g., Following their participation at the Inter-High, the Karasuno High School volleyball team...</td>
</tr>
<tr class="is-selected">
<td>genre</td>
<td>Array of genres of anime e.g, ['Comedy', 'Sports', 'Drama', 'School', 'Shounen'].</td>
</tr>
<tr class="is-selected">
<td>aired</td>
<td>String of date when anime aired to when it ended e.g., Oct 4, 2015 to Mar 27, 2016.</td>
</tr>
<tr class="is-selected">
<td>episodes</td>
<td>Number of episodes in the series e.g., 25.0. </td>
</tr>
<tr class="is-selected">
<td>members</td>
<td>Number of members who added this anime to their list e.g., 489888.</td>
</tr>
<tr class="is-selected">
<td>popularity</td>
<td>Ranking regarding number of members e.g., 141.</td>
</tr>
<tr class="is-selected">
<td>ranked</td>
<td>Ranking regarding the aggregate rating e.g., 25.0.</td>
</tr>
<tr class="is-selected">
<td>score</td>
<td>Number based on average rating e.g., 8.82.</td>
</tr>
<tr class="is-selected">
<td>img_url</td>
<td>Link to shows cover image e.g., https://cdn.myanimelist.net/images/anime/9/76662.jpg.</td>
</tr>
<tr>
<td>link</td>
<td>URL to myanimelist page e.g.,https://myanimelist.net/anime/28891/Haikyuu_Second_Season.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<div class="columns">
<div class="column is-one-third" style="padding: 40px">
<p class="title" id="profiles.csv">profiles.csv</p>
<p class="subtitle">
Contains information about users who watch anime, namely username, birth date, gender, and favorite animes list.
</p>
<div class="level">
<div class="level-left">
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Rows</span>
<span class="tag is-primary">47k</span>
</div>
</div>
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Columns</span>
<span class="tag is-primary">5</span>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="table is-bordered">
<table class="table" style="font-size: 20px; font-family: 'Georgia'">
<thead>
<tr>
<th>Columns</th>
<th>Descriptions</th>
</tr>
</thead>
<tbody style="font-size: 18px">
<tr class="is-selected">
<td>profile</td>
<td>ID of user profile e.g., DesolatePsyche.</td>
</tr>
<tr class="is-selected">
<td>gender</td>
<td>Gender user identifies as e.g., Male.</td>
</tr>
<tr class="is-selected">
<td>birthday</td>
<td>Birthday of user e.g., Oct 2, 1994.</td>
</tr>
<tr class="is-selected">
<td>favorites_animes</td>
<td>Array of IDs of favorites animes, references of animes.csv->uid.</td>
</tr>
<tr>
<td>link</td>
<td>URL of user's profile e.g., https://myanimelist.net/profile/DesolatePsyche.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<div class="columns">
<div class="column is-one-third" style="padding: 40px">
<p class="title" id="reviews.csv">reviews.csv</p>
<p class="subtitle">
Contains information about reviews users x animes, with text review and scores.
</p>
<div class="level">
<div class="level-left">
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Rows</span>
<span class="tag is-primary">130k</span>
</div>
</div>
<div class="level-item">
<div class="tags has-addons">
<span class="tag">Columns</span>
<span class="tag is-primary">7</span>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="table is-bordered">
<table class="table" style="font-size: 20px; font-family: 'Georgia'">
<thead>
<tr>
<th>Columns</th>
<th>Descriptions</th>
</tr>
</thead>
<tbody style="font-size: 18px">
<tr>
<td>uid</td>
<td>ID of review e.g., 255938.</td>
</tr>
<tr class="is-selected">
<td>profile</td>
<td>ID of user who posted this review profile, reference of profile.csv->profile.</td>
</tr>
<tr class="is-selected">
<td>anime_uid</td>
<td>ID of reviewed anime, reference of animes.csv->uid.</td>
</tr>
<tr>
<td>text</td>
<td>Text of review.</td>
</tr>
<tr>
<td>score</td>
<td>Overall score e.g., 8.</td>
</tr>
<tr class="is-selected">
<td>scores</td>
<td>Array of overall scores e.g., {'Overall': '8', 'Story': '8', 'Animation': '8', 'Sound': '10', 'Character': '9', 'Enjoyment': '8'}.</td>
</tr>
<tr>
<td>link</td>
<td>URL of review e.g., https://myanimelist.net/reviews.php?id=255938</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- <div class="content-tab" id="data" style="display: none">
<div id="list">
<p><iframe src="jsonform.txt" frameborder="0" height="400"
width="95%"></iframe></p>
</div>
</div> -->
<div class="content-tab" id="wrangling" style="display: none">
<div class="columns">
<div class="column is-one-quarter">
<aside class="menu">
<p class="menu-label">
Python
</p>
<ul class="menu-list" style="list-style: none; padding: none; margin: none">
<li><a href="#add">Creating New Columns</a></li>
<li><a href="#remove">Filtering & Removing Columns</a></li>
<li><a href="#no-dups">Removing Duplicates from CSV</a></li>
</ul>
<p class="menu-label">
Java
</p>
<ul class="menu-list" style="list-style: none">
<li><a href="#json">Converting to JSON</a></li>
<li><a href="#duplicates">Removing Duplicate JSON Objects</a></li>
</ul>
</aside>
</div>
<div class="column">
<p class="subtitle" id="add">Python</p>
<p class="title">Adding New Columns to CSV<sup><a href="#fn1">1</a></sup></p>
<pre style="font-family: 'Courier'; font-size: 12px; width: 80%">
def years(input):
resultsYears = []
with open(input) as csvfile:
csv = reader(csvfile) # change contents to floats
for row in csv: # each row is a list
year = re.search(r"\d{4}",row[4])
if year:
resultsYears.append(year.group())
else:
resultsYears.append(0)
return resultsYears
def genres(input):
resultsGenre = []
with open(input) as csvfile:
csv = reader(csvfile) # change contents to floats
for row in csv: # each row is a list
genre = re.search(r"[a-zA-Z, ,-]+",row[3])
if genre:
resultsGenre.append(genre.group())
else:
resultsGenre.append('none')
return resultsGenre
def add_column_in_csv(input_file, output_file, column1, column2):
""" Append a column in existing csv using csv.reader / csv.writer classes"""
# Open the input_file in read mode and output_file in write mode
count = 0
with open(input_file, 'r') as read_obj, \
open(output_file, 'w') as write_obj:
# Create a csv.reader object from the input file object
csv_reader = reader(read_obj)
# Create a csv.writer object from the output file object
csv_writer = writer(write_obj)
# Read each row of the input csv file as list
for row in csv_reader:
# Pass the list / row in the transform function to add column text for this row
row.append(column1[count])
row.append(column2[count])
count += 1
# Write the updated row / list to the output file
csv_writer.writerow(row)
</pre>
<br id="remove"/>
<br/>
<br/>
<br/>
<p class="title">Filtering & Removing Columns<sup><a href="#fn2">2</a></sup></p>
<pre style="font-family: 'Courier'; font-size: 12px; width: 80%">
with open('C:\\Users\\cilla\\fout.csv', 'r') as fin, open('reviews.csv', 'w', newline='') as fout:
# define reader and writer objects
csv_reader = reader(fin, skipinitialspace=True)
csv_writer = writer(fout, delimiter=',')
# write headers
csv_writer.writerow(next(csv_reader))
# iterate and write rows based on condition
for i in csv_reader:
if i[-4] == 'Male' or i[-4] == 'Female':
csv_reader.writerow(i)
if i[-3] != '':
str = re.search(r'\d{4}', i[-3])
if str:
i[-3] = 2020 - int(str.group())
csv_writer.writerow(i)
if i[-2] != '[]':
csv_writer.writerow(i)
f = pd.read_csv("fout7.csv")
keep_col = ['profile','gender','birthday','favorites_anime']
new_f = f[keep_col]
new_f.to_csv("newFile.csv", index=False)
</pre>
<br id="no-dups"/>
<br/>
<br/>
<br/>
<p class="title">Removing Duplicates from CSV<sup><a href="#fn3">3</a></sup></p>
<pre style="font-family: 'Courier'; font-size: 12px; width: 80%">
rows = reader(open("reviews-greater86.csv", "r", encoding="utf8"))
newrows = []
for row in rows:
if row not in newrows:
newrows.append(row)
csv_writer = writer(open("reviewss-greater86-nodups.csv", "w", newline='', encoding="utf8"))
csv_writer.writerows(newrows)
</pre>
<br id="json"/>
<br/>
<br/>
<br/>
<p class="subtitle">JavaScript</p>
<p class="title" >Converting to Nested JSON Hierarchy<sup><a href="#fn4">4</a></sup></p>
<pre style="font-family: 'Courier'; font-size: 12px; width: 80%">
function buildHierarchy(csv){
years = [...new Set(csv.map(d => d.year))].sort();
main_genre = [...new Set(csv.map(d => d.genre + "#" +d.year))]
other_genres = [...new Set(csv.map(d => d.genres + "#" + d.genre + "#" + d.year))]
years.forEach( e => {
var year = {
name: e,
id: e,
parent: "Anime Database"
};
data.push(year);
});
csv.forEach(row => {
anime = {
name: row.title,
id: row.title,
uid: row.uid,
synopsis: row.synopsis,
genres: row.genres,
aired: row.aired,
episodes: row.episodes,
members: row.members,
popularity: row.popularity,
rank: row.ranked,
score: row.score,
img: row.img_url,
genre: row.genre,
parent: row.year
}
data.push(anime);
});
root = d3.stratify()
.id(function(row) { return row.name; })
.parentId(function(row) {
return row.parent;
})
(data);
root.count()
root.each(function(node) {
node.data.leaves = node.value;
})
root.sum(row => row.size)
root.each(function(node) {
node.data.total = node.value;
})
buildForce(root);
}
</pre>
<br id="duplicates"/>
<br/>
<br/>
<br/>
<p class="title">Removing Duplicates JSON Objects<sup><a href="#fn5">5</a></sup></p>
<pre style="font-family: 'Courier'; font-size: 12px; width: 80%">
function removeDuplicates(data) {
// Create an array of objects
// Declare a new array
var newArray = [];
// Declare an empty object
var uniqueObject = {};
// Loop for the array elements
for (var i in data) {
// Extract the title
objTitle = data[i]['uid'];
// Use the title as the index
uniqueObject[objTitle] = data[i];
}
// Loop to push unique object into array
for (i in uniqueObject) {
newArray.push(uniqueObject[i]);
}
}
removeDuplicates(data);
</pre>
<br/>
<br/>
<hr style="width: 80%"></hr>
<p class="subtitle" style="font-family: 'Georgia'; width: 80%">1. thispoint.com -
<a id="fn1" href="https://thispointer.com/python-add-a-column-to-an-existing-csv-file/">Add a list as a colmun to an exisitng csv file</a><br/>
2. Stack Overflow - <a id="fn2" href=https://stackoverflow.com/questions/7588934/how-to-delete-columns-in-a-csv-file">How to delete columns in a CSV file?</a> & <a href="https://stackoverflow.com/questions/50623009/delete-rows-in-csv-based-on-specific-column-value-python"> delete rows in csv based specific column value python</a><br/>
3. Bytes - <a id="fn3" href="https://bytes.com/topic/python/answers/738404-removing-duplicate-entries-csv-file-using-python-script">Removing duplicate entries in a csv file using a python script, KaezarRex</a>
4. Observable - <a id="fn4" href="https://observablehq.com/@sjengle/java-11-api-hierarchy-data-wrangling">Java 11 API Hierarchy - Data Wrangling</a><br/>
5. GeeksforGeeks - <a id="fn5" href="https://www.geeksforgeeks.org/how-to-remove-duplicates-from-an-array-of-objects-using-javascript/">How to remove duplicates from an array of objects using JavaScript?</a>
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Page footer -->
<!-- https://bulma.io/documentation/layout/footer/ -->
<footer class="footer">
<div class="content has-text-centered is-size-7">
<p>
<a href="#top">
<span class="fas fa-arrow-up"></span>
<span class="has-text-weight-medium">Back to Top</span>
</a>
</p>
<p>
<!-- TODO: Change to link to your Github repository -->
<a href="https://github.com/usf-cs360-spring2020/template-bulma" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-github-alt"></i> <strong>Github</strong>
</a>
<a href="https://fontawesome.com/" class="button is-small" style="padding-left: 1em; padding-right: 1em;">
<i class="fab fa-font-awesome"></i> <strong>FontAwesome</strong>
</a>
<a href="https://bulma.io" class="button is-small">
<img src="https://bulma.io/images/made-with-bulma--semiblack.png" alt="Made with Bulma" width="128" height="24">
</a>
</p>
</div>
</footer>
<!-- End page footer -->
<!-- Mobile menu responsiveness -->
<!-- https://bulma.io/documentation/components/navbar/ -->
<script>
function openTab(evt, tabName) {
var i, x, tablinks;
x = document.getElementsByClassName("content-tab");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tab");
for (i = 0; i < x.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" is-active", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " is-active";
}
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
<!-- End mobile menu responsiveness -->
</body>
</html>