-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
1005 lines (912 loc) · 50.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
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
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xml:lang="en-US" lang="en-US">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-133296718-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-133296718-1');
</script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="icon" href="images/webpage/icon.png">
<link rel="manifest" href="manifest.json">
<title>Princess Connect! Re:Dive - Quest Helper | priconne-quest-helper</title>
<meta name="title" content="Princess Connect! Re:Dive - Quest Helper | priconne-quest-helper"/>
<!-- META DATA -->
<meta name="description" content="Quest Choosing Assistance and Project Management for the Game 'Princess Connect! Re:Dive' (プリンセスコネクト! Re:Dive).">
<meta name="author" content="S'pugn">
<meta name="keywords" content="Princess Connect Re:Dive, プリンセスコネクト! Re:Dive, Quest Helper, S'pugn, 公主连结">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- OPEN GRAPH / FACEBOOK META DATA -->
<meta property="og:title" content="Princess Connect! Re:Dive - Quest Helper | priconne-quest-helper"/>
<meta property="og:description" content="Quest Choosing Assistance and Project Management for the Game 'Princess Connect! Re:Dive' (プリンセスコネクト! Re:Dive)."/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="https://raw.githubusercontent.com/Expugn/priconne-quest-helper/master/images/webpage/icon.png"/>
<meta property="og:image:width" content="64"/>
<meta property="og:image:height" content="64"/>
<meta property="og:url" content="https://expugn.github.io/priconne-quest-helper/"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:locale:alternate" content="ja_JP"/>
<meta property="og:locale:alternate" content="ko_KR"/>
<meta property="og:locale:alternate" content="zh_CN"/>
<!-- TWITTER META DATA -->
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="@eSpugn"/>
<meta name="twitter:creator" content="@eSpugn"/>
<meta name="twitter:title" content="Princess Connect! Re:Dive - Quest Helper | priconne-quest-helper"/>
<meta name="twitter:description" content="Quest Choosing Assistance and Project Management for the Game 'Princess Connect! Re:Dive' (プリンセスコネクト! Re:Dive)."/>
<!-- SCRIPTS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script src="vendor/modernizr/modernizr-custom.js"></script> <!-- WEBP CHECK -->
<script src="scripts/priconne-data.js"></script>
<script src="scripts/priconne-quest-helper.js"></script>
<!-- CSS STYLE SHEETS -->
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="vendor/toastr/toastr.css">
<link rel="stylesheet" href="css/webpage.css">
<link rel="stylesheet" href="css/spritesheet.css">
<link rel="stylesheet" href="css/data.css">
<!-- PRELOAD -->
<link rel="preload" href="images/webpage/adv_mask_C.png" as="image">
</head>
<body class="fancy-body no-js">
<div id="page-loading">
<div id="page-cover"></div>
<div id="loading-div" class="center-div">
<i id="miyako"></i>
<div id="loading-text">Miyako is coming for your pudding.<br>Please wait.</div>
</div>
<script>
// REMOVE .no-js AS AN INDICATOR THAT JAVASCRIPT IS SUPPORTED
$("body").toggleClass("no-js");
// MAKE MIYAKO RUN
setTimeout(function () {
document.getElementById("miyako").classList.add("run");
}, 750);
</script>
</div>
<noscript>
<h4 id="javascript-warning">
<span style="color: orangered;">Pudding doesn't taste good without JavaScript...</span>
<br>
<span style="color: #e3cfcb;">Princess Connect Re:Dive Quest Helper</span> cannot function without JavaScript.
<br>
<span style="color: #ffdf73;">Please enable JavaScript in your browser to continue.</span>
</h4>
</noscript>
<!-- TITLE ( PRINCESS CONNECT RE:DIVE - QUEST HELPER ) -->
<div id="title-div" class="title-background" onclick="">
<div id="title-text-div">
<h1 class="title main_title">
<translate text="system.title">
Princess Connect! Re:Dive
</translate>
</h1>
<h2 id="sub-title" class="title sub_title">
<translate text="system.subtitle">
Quest Helper
</translate>
</h2>
</div>
</div>
<!-- NAVIGATION BAR -->
<div id="navigation-bar">
<button id="navigation-items" class="is-open" type="button" onclick="webpage.navigation.items()">
<i class="webpage webpage-items navigation-bar-image"></i>
<translate class="navigation-bar-text" text="items_tab.tab_title">
Items
</translate>
</button>
<button id="navigation-presets" type="button" onclick="webpage.navigation.presets()">
<i class="webpage webpage-presets navigation-bar-image"></i>
<translate class="navigation-bar-text" text="presets_tab.tab_title">
Presets
</translate>
</button>
<button id="navigation-projects" type="button" onclick="webpage.navigation.projects()">
<i class="webpage webpage-projects navigation-bar-image"></i>
<translate class="navigation-bar-text" text="projects_tab.tab_title">
Projects
</translate>
</button>
<button id="navigation-settings" type="button" onclick="webpage.navigation.settings()">
<i class="webpage webpage-settings navigation-bar-image"></i>
<translate class="navigation-bar-text" text="settings_tab.tab_title">
Settings
</translate>
</button>
<button id="navigation-other" type="button" onclick="webpage.navigation.other()">
<i class="webpage webpage-other navigation-bar-image"></i>
<translate class="navigation-bar-text" text="other_tab.tab_title">
Other
</translate>
</button>
<select id="language-option" onchange="webpage.language.load()" disabled>
<option value="en-US">English</option>
<option value="ja-JP">日本語</option>
<option value="ko-KR">한국어</option>
<option value="zh-CN">简体中文</option>
</select>
</div>
<!-- ITEMS TAB -->
<div id="items-container">
<div id="common-div">
<h2 class="text-color_common rarity-button collapsible">
<translate text="items_tab.common_title">Common</translate>
</h2>
<div id="common-item-content" class="collapsible-content">
<!-- COMMON ITEMS GET ADDED BELOW -->
<div id="common-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="copper-div">
<h2 class="text-color_copper rarity-button collapsible">
<translate text="items_tab.copper_title">Copper</translate>
</h2>
<div id="copper-item-content" class="collapsible-content">
<!-- COPPER ITEMS GET ADDED BELOW -->
<div id="copper-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="silver-div">
<h2 class="text-color_silver rarity-button collapsible">
<translate text="items_tab.silver_title">Silver</translate>
</h2>
<div id="silver-item-content" class="collapsible-content">
<!-- SILVER ITEMS GET ADDED BELOW -->
<div id="silver-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="gold-div">
<h2 class="text-color_gold rarity-button collapsible">
<translate text="items_tab.gold_title">Gold</translate>
</h2>
<div id="gold-item-content" class="collapsible-content">
<!-- GOLD ITEMS GET ADDED BELOW -->
<div id="gold-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="purple-div">
<h2 class="text-color_purple rarity-button collapsible">
<translate text="items_tab.purple_title">Purple</translate>
</h2>
<div id="purple-item-content" class="collapsible-content">
<!-- PURPLE ITEMS GET ADDED BELOW -->
<div id="purple-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="red-div">
<h2 class="text-color_red rarity-button collapsible">
<translate text="items_tab.red_title">Red</translate>
</h2>
<div id="red-item-content" class="collapsible-content">
<!-- RED ITEMS GET ADDED BELOW -->
<div id="red-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="green-div">
<h2 class="text-color_green rarity-button collapsible">
<translate text="items_tab.green_title">Green</translate>
</h2>
<div id="green-item-content" class="collapsible-content">
<!-- GREEN ITEMS GET ADDED BELOW -->
<div id="green-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="orange-div">
<h2 class="text-color_orange rarity-button collapsible">
<translate text="items_tab.orange_title">Orange</translate>
</h2>
<div id="orange-item-content" class="collapsible-content">
<!-- ORANGE ITEMS GET ADDED BELOW -->
<div id="orange-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="lightblue-div">
<h2 class="text-color_lightblue rarity-button collapsible">
<translate text="items_tab.lightblue_title">Light Blue</translate>
</h2>
<div id="lightblue-item-content" class="collapsible-content">
<!-- LIGHT BLUE ITEMS GET ADDED BELOW -->
<div id="lightblue-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="misc-div">
<h2 class="text-color_misc rarity-button collapsible">
<translate text="items_tab.miscellaneous_title">Misc.</translate>
</h2>
<div id="misc-item-content" class="collapsible-content">
<!-- MEMORY PIECE / MISC ITEMS GET ADDED BELOW -->
<div id="misc-item-table" class="center-div item-table_div"></div>
</div>
</div>
<div id="requested-div">
<h2 class="item-table_category-title">
<translate text="items_tab.requested_items_title">Requested Items</translate>
</h2>
<div class="request-info">
<!-- REQUESTED ITEMS (FULL EQUIPMENT) GETS ADDED BELOW -->
<div id="requested-item-table" class="center-div">
<!-- STARTING TIP FOR REQUESTED ITEMS -->
<h4 class="tip center-div">
<span style="color: navajowhite"><translate text="items_tab.requested_items_help_1">
The items and amount you selected from the categories above will be displayed here.
</translate></span>
<br><br>
<translate text="items_tab.requested_items_help_2">
Clicking on the category title will open or close a table of all the items in that rarity class.
</translate>
</h4>
</div>
</div>
</div>
</div>
<!-- PRESETS TAB -->
<div id="presets-container" hidden>
<div id="character-preset-div">
<h2 class="category-title">
<translate text="presets_tab.character_presets">Character Presets</translate>
</h2>
<div id="character-preset-settings">
<!-- BULK MODE BUTTON -->
<div class="center-div">
<button id="preset-bulk-mode-button" onclick="presets.toggle_bulk_mode()"><translate text="presets_tab.bulk_mode">Bulk Mode</translate></button>
</div>
<!-- SELECT LIST OF CHARACTERS FOUND IN data/character_data.json -->
<div class="center-div">
<select id="character-preset-list-select" onchange="presets.update_details()"></select>
<button id="preset-search-button" onclick="presets.toggle_grid_display()">
<img-webp id="preset-lens-image" image_folder="webpage" file_name="lens" src_prefix=""></img-webp>
</button>
</div>
<br>
<!-- SELECTED CHARACTER IMAGE AND NAME -->
<div class="center-div">
<img-webp id="preset-character-image" class="presets_unit-icon" image_folder="unit_icon" file_name="Placeholder" src_prefix=""></img-webp><br>
<label id="preset-character-name-label" class="presets_unit-info"></label>
</div>
<div id="preset-bulk-settings">
<!-- MIN RANK TO MAX RANK OPTIONS -->
<div class="center-div">
<div>
<translate id="presets-min-rank-text" text="presets_tab.minimum_rank">Min Rank</translate><br>
<input
id="preset-character-min-rank-input"
class="item-input"
type="number"
min="1"
max="1"
value="1"
disabled
onchange="presets.change_min_rank()">
</div>
<translate id="presets-to-text" text="presets_tab.to">to</translate>
<div>
<translate id="presets-max-rank-text" text="presets_tab.maximum_rank">Max Rank</translate><br>
<input
id="preset-character-max-rank-input"
class="item-input"
type="number"
min="1"
max="1"
value="1"
disabled
onchange="presets.change_max_rank()">
</div>
</div>
<br>
<!-- LOAD PRESET BUTTON AND LOAD PRESET AND SAVE PROJECT BUTTON -->
<div class="center-div">
<button id="preset-character-load-button" type="button" disabled onclick="presets.load()"><translate text="presets_tab.load_items_button">Load Items</translate></button><br><br>
<button id="preset-character-load-and-create-project-button" type="button" disabled onclick="presets.load_and_save()"><translate text="presets_tab.load_items_and_create_project_button">Load Items and Create Project</translate></button>
</div>
<!-- ITEM TABLE OVERWRITE WARNING -->
<h3 class="category-title presets_overwrite-warning">
<translate text="presets_tab.overwrite_warning">
Currently selected items will be replaced<br>
when the <span style="color: lightpink">Load Item</span> button is pressed.
</translate>
</h3>
</div>
<div id="preset-single-settings" hidden>
<div id="preset-items-div" class="center-div grayscale">
<div>
<button id="preset-item-1" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
<button id="preset-item-2" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
</div>
<div>
<button id="preset-item-3" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
<button id="preset-item-4" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
</div>
<div>
<button id="preset-item-5" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
<button id="preset-item-6" class="item-sprite_button preset-item-button item-sprite" onclick="presets.add_preset_item(this.title);">
<img-webp class="preset-plus-img" style="opacity: 0;" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
</div>
</div>
<div id="preset-item-settings" class="center-div">
<span id="preset-items-rank-label" class="grayscale text-color_common" onclick="presets.open_rank_select()">Rank 1</span>
<select id="preset-items-rank-select" onchange="presets.close_rank_select()" hidden></select>
<br><br>
<div id="preset-items-rank-buttons">
<button id="preset-items-previous-rank-button" onclick="presets.previous_rank()" disabled>
<span class="preset-item-rank-button-text">« Rank</span>
</button>
<button id="preset-items-next-rank-button" onclick="presets.next_rank()" disabled>
<span class="preset-item-rank-button-text">Rank »</span>
</button>
</div>
</div>
</div>
</div>
<div id="character-preset-grid" hidden>
<div class="center-div">
<button class="pointer-cursor" onclick="presets.toggle_grid_display()"><translate text="presets_tab.cancel">Cancel</translate></button>
<br><br>
<div id="preset-grid-display" class="center-div"></div>
</div>
</div>
<br>
</div>
</div>
<!-- PROJECTS TAB -->
<div id="projects-container" hidden>
<div id="local-storage-warning" class="center-div" hidden>
<!-- LOCAL STORAGE WARNING ; DISPLAYS IF LOCAL STORAGE ISN'T AVAILABLE -->
<br>
<label style="color: red; font-weight: bolder;">
<translate text="projects_tab.localstorage_warning">
Your browser does not support LocalStorage.<br>
Projects, Blacklist, Data Importing/Exporting, and Settings Saving have been disabled.
</translate>
</label>
</div>
<!-- PROJECT SELECT AND OPTIONS -->
<div id="projects-div">
<br>
<!-- PROJECT SAVING | PROJECT NAME INPUT ; SAVE BUTTON -->
<div>
<label for="project-name-input"><translate text="projects_tab.project_name_label">Project Name:</translate> </label>
<input id="project-name-input" type="text" name="project-name">
<button id="project-save-button" type="button" onclick="projects.save()"><translate text="projects_tab.save_project_button">Save Project</translate></button>
</div>
<br>
<!-- PROJECT OPTIONS | SAVED PROJECT SELECT ; LOAD ; ADD/SUB ITEMS ; PRIORITIZE ; DELETE ; COMPLETE ; CLEAR ITEM TABLES -->
<div>
<label for="saved-projects-select">
<translate text="projects_tab.select_saved_project_label">Select Saved Project:</translate>
</label>
<!-- SAVED PROJECTS ARE ADDED BELOW -->
<select id="saved-projects-select" onchange="projects.update()">
<option value="[All Projects...]">
<translate text="projects_tab.all_projects_select_option">[All Projects...]</translate>
</option>
</select>
<br>
<button id="project-load-button" type="button" onclick="projects.load()">
<translate text="projects_tab.load_project_button">Load Project</translate>
</button>
<button id="project-add-button" disabled type="button" onclick="projects.add()">
<translate text="projects_tab.add_project_items_button">Add Project Items</translate>
</button>
<button id="project-sub-button" disabled type="button" onclick="projects.sub()">
<translate text="projects_tab.subtract_project_items_button">Subtract Project Items</translate>
</button>
<button id="prioritize-project-button" disabled type="button" onclick="projects.prioritize(true)">
<translate text="projects_tab.prioritize_project_button">Prioritize Project</translate>
</button>
<button id="deprioritize-project-button" disabled hidden type="button" onclick="projects.prioritize(false)">
<translate text="projects_tab.deprioritize_project_button">Deprioritize Project</translate>
</button>
<br><br>
<br>
<button id="project-delete-button" type="button" onclick="projects.remove()">
<translate text="projects_tab.delete_project_button">Delete Project</translate>
</button>
<button id="project-complete-button" disabled type="button" onclick="projects.complete()">
<translate text="projects_tab.complete_project_button">Complete Project</translate>
</button>
<br><br><br>
<button type="button" onclick="data_display.item_table.clear(); data_display.build();">
<translate text="projects_tab.clear_item_tables_button">Clear Item Tables</translate>
</button>
</div>
<br><br>
<!-- BLACKLIST OPTIONS | SAVE ; LOAD ; CLEAR ; DELETE -->
<div>
<button id="blacklist-save-button" type="button" onclick="projects.blacklist.save()">
<translate text="projects_tab.save_blacklist_button">Save Blacklist</translate>
</button>
<button id="blacklist-load-button" type="button" onclick="projects.blacklist.init()" title="There is no saved blacklist.">
<translate text="projects_tab.load_saved_blacklist_button">Load Saved Blacklist</translate>
</button>
<button id="blacklist-clear-button" type="button" onclick="projects.blacklist.clear()">
<translate text="projects_tab.clear_blacklist_button">Clear Blacklist</translate>
</button>
<button id="blacklist-delete-button" type="button" onclick="projects.blacklist.remove()">
<translate text="projects_tab.delete_blacklist_button">Delete Blacklist</translate>
</button>
</div>
</div>
<br>
</div>
<!-- SETTINGS TAB -->
<div id="settings-container" hidden>
<!-- SETTINGS -->
<div id="settings-div">
<br>
<label for="quest-shown-amt">
<translate text="settings_tab.amount_of_quests_shown">Amount of Quests Shown (10 - 999):</translate>
</label>
<input id="quest-shown-amt"
class="item-input"
type="number"
min="10"
max="999"
value="10"
onchange="settings.change_quest_shown_amt()">
<br><br>
<label for="sort-ascending-quest-list">
<translate text="settings_tab.sort_by_ascending_quest_list">Sort by Ascending: Quest List (Chapter 1 -> Chapter 2 -> ...)</translate>
</label>
<input id="sort-ascending-quest-list"
type="checkbox"
name="ascending_sort: quest_list"
value="ascending_sort_quest_list"
checked
onchange="settings.toggle_ascending_sort_quest_list()">
<br>
<label for="sort-ascending-quest-score">
<translate text="settings_tab.sort_by_ascending_quest_score">Sort by Ascending: Quest Score (0.5 -> 0.75 -> ...)</translate>
</label>
<input id="sort-ascending-quest-score"
type="checkbox"
name="ascending_sort: quest_score"
value="ascending_sort_quest_score"
onchange="settings.toggle_ascending_sort_quest_score()">
<br><br>
<label for="hide-quest-score">
<translate text="settings_tab.hide_quest_score">Hide Quest Score</translate>
</label>
<input id="hide-quest-score"
type="checkbox"
name="hide quest score"
value="hide_quest_score"
checked
onchange="settings.toggle_hide_quest_score()">
<br><br>
<label for="min-quest-chapter">
<translate text="settings_tab.lowest_quest_chapter_displayed">Lowest Quest Chapter Displayed:</translate>
</label>
<input id="min-quest-chapter"
type="number"
min="1"
max="1"
value="1"
onchange="settings.change_min_quest_chapter()">
<br>
<label for="max-quest-chapter">
<translate text="settings_tab.highest_quest_chapter_displayed">Highest Quest Chapter Displayed:</translate>
</label>
<input id="max-quest-chapter"
type="number"
min="1"
max="1"
value="1"
onchange="settings.change_max_quest_chapter()">
<div style="display: inline-block;">
<label for="auto-max-quest-chapter">
<translate text="settings_tab.max" style="margin-left: 25px;">Max</translate>
</label>
<input id="auto-max-quest-chapter"
type="checkbox"
onchange="settings.toggle_auto_max_quest_chapter()">
</div>
<br><br>
<label for="filter-all-quests">
<translate text="settings_tab.show_all_quests">Show All Quests</translate>
</label>
<input id="filter-all-quests" type="radio" name="filter-option" value="all-quests" onclick="settings.change_quest_filter()" checked>
<br>
<label for="filter-normal-quests">
<translate text="settings_tab.show_normal_quests">Show Normal Quests</translate>
</label>
<input id="filter-normal-quests" type="radio" name="filter-option" value="normal-quests" onclick="settings.change_quest_filter()">
<br>
<label for="filter-hard-quests">
<translate text="settings_tab.show_hard_quests">Show Hard Quests</translate>
</label>
<input id="filter-hard-quests" type="radio" name="filter-option" value="hard-quests" onclick="settings.change_quest_filter()">
<br>
<label for="filter-very-hard-quests">
<translate text="settings_tab.show_very_hard_quests">Show Very Hard Quests</translate>
</label>
<input id="filter-very-hard-quests" type="radio" name="filter-option" value="very-hard-quests" onclick="settings.change_quest_filter()">
<br><br>
<label>
<translate text="settings_tab.ignore_item_rarity_in_recipe">Ignore Item Rarity in Recipe:</translate>
</label><br>
<button id="ignore-button-common" class="item-sprite_button webpage webpage-Placeholder_Common" onclick="settings.toggle_ignored_rarity('common')"></button>
<button id="ignore-button-copper" class="item-sprite_button webpage webpage-Placeholder_Copper" onclick="settings.toggle_ignored_rarity('copper')"></button>
<button id="ignore-button-silver" class="item-sprite_button webpage webpage-Placeholder_Silver" onclick="settings.toggle_ignored_rarity('silver')"></button>
<button id="ignore-button-gold" class="item-sprite_button webpage webpage-Placeholder_Gold" onclick="settings.toggle_ignored_rarity('gold')"></button>
<button id="ignore-button-purple" class="item-sprite_button webpage webpage-Placeholder_Purple" onclick="settings.toggle_ignored_rarity('purple')"></button>
<button id="ignore-button-red" class="item-sprite_button webpage webpage-Placeholder_Red" onclick="settings.toggle_ignored_rarity('red')"></button>
<button id="ignore-button-green" class="item-sprite_button webpage webpage-Placeholder_Green" onclick="settings.toggle_ignored_rarity('green')"></button>
<button id="ignore-button-orange" class="item-sprite_button webpage webpage-Placeholder_Orange" onclick="settings.toggle_ignored_rarity('orange')"></button>
<button id="ignore-button-lightblue" class="item-sprite_button webpage webpage-Placeholder_LightBlue" onclick="settings.toggle_ignored_rarity('lightblue')"></button>
<br><br>
<label for="display-drop-percent">
<translate text="settings_tab.display_drop_percent">Display Drop Percent</translate>
</label>
<input id="display-drop-percent" type="radio" name="display-option" value="drop-percent" onclick="settings.change_display_option()" checked>
<br>
<label for="display-amount-required">
<translate text="settings_tab.display_amount_required">Display Amount Required</translate>
</label>
<input id="display-amount-required" type="radio" name="display-option" value="amount-required" onclick="settings.change_display_option()">
<br>
<label for="subtract-amount-from-inventory">
<translate text="settings_tab.subtract_amount_from_inventory">Subtract Amount From Inventory</translate>
</label>
<input id="subtract-amount-from-inventory" type="checkbox" onclick="settings.toggle_subtract_amount_from_inventory()">
<br>
<label for="display-priority-item-amount">
<translate text="settings_tab.display_priority_item_amount">Display Priority Item Amount</translate>
</label>
<input id="display-priority-item-amount" type="checkbox" onclick="settings.toggle_display_priority_item_amount()">
<br><br>
<label for="show-priority-items-first">
<translate text="settings_tab.show_priority_items_first">Show Priority Items First</translate>
</label>
<input id="show-priority-items-first" type="checkbox" onclick="settings.toggle_show_priority_items_first()">
<br><br>
<label for="normal-quest-drop-event">
<translate text="settings_tab.normal-quest-drop-event">Normal Quests Drop Buff:</translate>
</label>
<select id="normal-quest-drop-event" onchange="settings.change_normal_quest_drop_event()">
<option id="normal-quest-drop-event-no-buff-option" value="1">Normal Drop Amounts (No Event)</option>
<option id="normal-quest-drop-event-double-buff-option" value="2">Double Drop Amounts (2x Event)</option>
<option id="normal-quest-drop-event-triple-buff-option" value="3">Triple Drop Amounts (3x Event)</option>
</select>
<br>
<label for="hard-quest-drop-event">
<translate text="settings_tab.hard-quest-drop-event">Hard Quests Drop Buff:</translate>
</label>
<select id="hard-quest-drop-event" onchange="settings.change_hard_quest_drop_event()">
<option id="hard-quest-drop-event-no-buff-option" value="1">Normal Drop Amounts (No Event)</option>
<option id="hard-quest-drop-event-double-buff-option" value="2">Double Drop Amounts (2x Event)</option>
<option id="hard-quest-drop-event-triple-buff-option" value="3">Triple Drop Amounts (3x Event)</option>
</select>
<br>
<label for="very-hard-quest-drop-event">
<translate text="settings_tab.very-hard-quest-drop-event">Very Hard Quests Drop Buff:</translate>
</label>
<select id="very-hard-quest-drop-event" onchange="settings.change_very_hard_quest_drop_event()">
<option id="very-hard-quest-drop-event-no-buff-option" value="1">Normal Drop Amounts (No Event)</option>
<option id="very-hard-quest-drop-event-double-buff-option" value="2">Double Drop Amounts (2x Event)</option>
<option id="very-hard-quest-drop-event-triple-buff-option" value="3">Triple Drop Amounts (3x Event)</option>
</select>
<br><br>
<label for="equipment-data-type">
<translate text="settings_tab.equipment_data_type_label">Equipment Data Type:</translate>
</label>
<select id="equipment-data-type" onchange="settings.change_equipment_data()">
<option id="equipment-data-type-current-option" value="equipment-data-current">Current Equipment Data - Japan Server (JP)</option>
<option id="equipment-data-type-cn-option" value="equipment-data-cn">Current Equipment Data - China Server (CN)</option>
<option id="equipment-data-type-en-option" value="equipment-data-en">Current Equipment Data - English Server (EN)</option>
<option id="equipment-data-type-kr-option" value="equipment-data-kr">Current Equipment Data - Korea Server (KR)</option>
<option id="equipment-data-type-tw-option" value="equipment-data-tw">Current Equipment Data - Taiwan Server (TW)</option>
<option id="equipment-data-type-legacy-option" value="equipment-data-legacy">Legacy Equipment Data (Before 2019.08.31)</option>
<option id="equipment-data-type-legacy-2-option" value="equipment-data-legacy-2">Legacy Equipment Data 2 (Before 2022.02.28)</option>
</select>
<br><br>
<div id="setting-saving-div">
<button id="save-settings-button" type="button" onclick="settings.save_settings()">
<translate text="settings_tab.save_settings_button">Save Settings</translate>
</button><br><br>
<button id="delete-settings-button" type="button" onclick="settings.delete_settings()">
<translate text="settings_tab.delete_settings_button">Delete Settings</translate>
</button><br><br>
<button id="reset-settings-button" type="button" onclick="settings.reset_settings()">
<translate text="settings_tab.reset_settings_button">Reset Settings</translate>
</button><br><br>
<button id="read-settings-button" type="button" onclick="settings.print_settings()">
<translate text="settings_tab.display_saved_settings_button">Read Saved Settings</translate>
</button><br><br>
</div>
</div>
</div>
<!-- OTHER TAB -->
<div id="other-container" hidden>
<div id="data-div">
<!-- OTHER PAGE HYPERLINKS -->
<h4>
<translate text="other_tab.other_pages_title">Other Pages</translate>
</h4>
<!-- pages/quest-data/ -->
<a href="pages/quest-data/" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-quest_data"></i>
<translate class="hyperlink-text" text="other_tab.quest_data">Quest Data</translate>
</div>
</a>
<!-- pages/recipe-data/ -->
<a href="pages/recipe-data/" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-recipe_data"></i>
<translate class="hyperlink-text" text="other_tab.recipe_data">Recipe Data</translate>
</div>
</a><br>
<!-- pages/character-data/ -->
<a href="pages/character-data/" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-character_data"></i>
<translate class="hyperlink-text" text="other_tab.character_data">Character Data</translate>
</div>
</a>
<!-- pages/statistics/ -->
<a href="pages/statistics/" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-statistics"></i>
<translate class="hyperlink-text" text="other_tab.statistics">Statistics</translate>
</div>
</a><br>
<!-- CHANGELOG -->
<a href="https://github.com/Expugn/priconne-quest-helper/blob/master/CHANGELOG.md" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-changelog"></i>
<translate class="hyperlink-text" text="other_tab.changelog">Changelog</translate>
</div>
</a>
<!-- WIKI -->
<a href="https://github.com/Expugn/priconne-quest-helper/wiki" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-wiki"></i>
<translate class="hyperlink-text" text="other_tab.help">Help (Wiki)</translate>
</div>
</a><br>
<!-- SIMPLE MODE / FANCY MODE | ONE LINK HIDDEN DEPENDING ON THE CURRENT MODE -->
<a id="simple-page-link" href="../priconne-quest-helper/#simple" onclick="window.location.hash = '#simple'; window.location.reload();" style="display: inline;">
<div class="hyperlink-image">
<i class="webpage webpage-simple_mode"></i>
<translate class="hyperlink-text" text="other_tab.simple_mode">Simple Mode</translate>
</div>
</a>
<a id="fancy-page-link" href="../priconne-quest-helper/" onclick="window.location.hash = ''; window.location.reload();" style="display: inline;">
<div class="hyperlink-image">
<i class="webpage webpage-fancy_mode"></i>
<translate class="hyperlink-text" text="other_tab.fancy_mode">Fancy Mode</translate>
</div>
</a><br>
<br><br>
<!-- HYPERLINKS TO OTHER TOOLS -->
<!-- priconne-shiritori -->
<a href="https://expugn.github.io/priconne-shiritori/" target="_blank">
<div class="hyperlink-image">
<i class="webpage webpage-priconne-shiritori_icon"></i>
<span class="hyperlink-text app-hyperlink_text">priconne<br>shiritori<br>( JP )</span>
</div>
</a>
<!-- priconne-quest-helper 3.1 -->
<a href="https://spugn.github.io/priconne-quest-helper/" target="_blank">
<div class="hyperlink-image">
<img style="position: absolute; top: -10px; right: -10px;" src='images/webpage/Notification_Icon.png' alt='priconne-quest-helper 3.1 notification' />
<img height='64' style="border-radius: 5px;" src='https://raw.githubusercontent.com/Spugn/priconne-quest-helper/master/static/logo128.png' alt='priconne-quest-helper 3.1' />
<span class="hyperlink-text app-hyperlink_text" style="padding-top: 3px;">pqh v3.1</span>
</div>
</a>
<br><br>
</div>
<br>
<!-- DATA MANAGEMENT -->
<div id="data-management-div">
<h4>
<translate text="other_tab.data_management_title">Data Management</translate>
</h4>
<input id="export-data-button" type="button" onclick="location.href='pages/export-data/';" target="_blank" value="Export Saved Data"/><br>
</div>
<br>
<div id="title-background-div">
<h4>
<translate text="other_tab.title_background_title">Title Background</translate>
</h4>
<select id="title-background-select" onchange="title_background.change_background()"></select><br>
<div id="custom-title-input" hidden>
<label for="custom-title-url-input"><translate text="other_tab.custom_title_background_url">Image URL: </translate></label>
<input id="custom-title-url-input" type="text" name="custom-title-url" onchange="title_background.change_background()">
</div>
<label>
<translate text="other_tab.disable_title_background_hover">Disable Title Background Hover</translate>
<input id="title-hover-disable" type="checkbox" onchange="title_background.save_background_data()">
</label>
</div>
</div>
<!-- REQUIRED INGREDIENTS (EQUIPMENT FRAGMENTS) -->
<div id="required-div">
<h2 class="item-table_category-title">
<translate text="system.required_ingredients_title">Required Ingredients</translate>
</h2>
<button id="inventory_open-button" onclick="inventory.toggle_inventory_modal()" hidden>
<img-webp id="inventory_crate-img" image_folder="webpage" file_name="Inventory_Crate" src_prefix=""></img-webp>
</button>
<div class="request-info">
<!-- REQUIRED INGREDIENTS FROM REQUESTED ITEMS DISPLAYED BELOW -->
<div id="required-ingredient-table" class="center-div">
<!-- STARTING TIP FOR REQUIRED INGREDIENTS -->
<h4 class="tip center-div">
<translate style="color: navajowhite" text="system.required_ingredients_help_1">
The items and amount you need to create your requested items will be displayed here.
</translate>
<br><br>
<translate text="system.required_ingredients_help_2">
Tapping on an item displayed in here will toggle if it is <span style="color: darkorange">disabled</span> or not.
</translate>
<br><br>
<translate text="system.required_ingredients_help_3">
<span style="color: orange">Disabled</span> items will <span style="color: salmon; font-style: italic">not</span> appear in the <span style="color: yellow">Recommended Quest</span> list.
</translate>
</h4>
</div>
</div>
</div>
<!-- RECOMMENDED QUESTS -->
<div id="recommended-div">
<h2 class="item-table_category-title">
<translate text="system.recommended_quest_title">Recommended Quests</translate>
</h2>
<!-- RECOMMENDED QUESTS DISPLAY -->
<div id="recommended-quest-div" class="request-info">
<!-- RECOMMENDED QUESTS FOUND FROM REQUIRED INGREDIENTS DISPLAYED BELOW -->
<div id="recommended-quest-table" class="center-div">
<!-- STARTING TIP FOR RECOMMENDED QUESTS -->
<h4 class="tip center-div">
<translate style="color: navajowhite" text="system.recommended_quest_help_1">
Suggested quests to complete will be shown here once you start selecting items.
</translate>
<br><br>
<translate text="system.recommended_quest_help_2">
Quests are sorted by <span style="color: yellow">the amount of items you can collect from the quest</span> that you need, starting from chapter 1.
</translate>
<br><br>
<translate text="system.recommended_quest_help_3">
Up to <span style="color: #6DFF7F">ten</span> quests will be shown at a time by default.
</translate>
</h4>
</div>
</div>
</div>
<!-- FOCUSED ITEM POPUP -->
<div id="focused-item-popup" hidden>
<i id="focused-item-image"></i><br>
<img-webp id="lens-image" image_folder="webpage" file_name="lens" src_prefix=""></img-webp>
</div>
<!-- PROJECT COMPLETE MODAL -->
<div id="project-modal" class="noselect" hidden>
<div id="project-modal_close-button">
<div class="text">×</div>
</div>
<div id="project-modal_dialog">
<div>
<translate id="project-modal_title" text="projects_tab.complete_project_button">Complete Project</translate>
<span class="project-name"></span>
</div>
<div style="text-align: center">
Click on a requested item to partially complete this project.
</div>
<span><translate text="items_tab.requested_items_title">Requested Items</translate></span>
<div class="project-contents"></div>
<span><translate text="system.required_ingredients_title">Required Ingredients</translate></span>
<div class="inventory-requirements"></div>
<button><translate text="projects_tab.complete_project_button">Complete Project</translate></button>
</div>
</div>
<!-- INVENTORY MODAL -->
<div id="inventory_modal" hidden>
<div id="inventory_modal_close-button">
<div id="inventory_modal_close-button-text">×</div>
</div>
<div id="inventory_modal-dialog">
<div id="inventory_modal_toolbar">
<translate id="inventory_title" text="inventory.title">Inventory</translate>
<div style="display: inline-block;">
<button id="inventory_toolbar-button_list" class="inventory_modal_toolbar-button is-open" onclick="inventory.switch_mode(this.id);">
<img-webp class="inventory_modal_toolbar-button-img" image_folder="webpage" file_name="Inventory_Crate" src_prefix=""></img-webp>
</button>
<button id="inventory_toolbar-button_add" class="inventory_modal_toolbar-button" onclick="inventory.switch_mode(this.id);">
<img-webp class="inventory_modal_toolbar-button-img" image_folder="webpage" file_name="Inventory_Crate" src_prefix=""></img-webp>
<img-webp id="inventory_modal_toolbar-button-plus-img" image_folder="webpage" file_name="plus" src_prefix=""></img-webp>
</button>
<button id="inventory_toolbar-button_remove" class="inventory_modal_toolbar-button" onclick="inventory.switch_mode(this.id);">
<img-webp class="inventory_modal_toolbar-button-img" image_folder="webpage" file_name="Inventory_Crate" src_prefix=""></img-webp>
<img-webp id="inventory_modal_toolbar-button-remove-img" image_folder="webpage" file_name="minus" src_prefix=""></img-webp>
</button>
<button id="inventory_toolbar-button_delete" class="inventory_modal_toolbar-button" onclick="inventory.delete_all_button()">
<img-webp class="inventory_modal_toolbar-button-img" image_folder="webpage" file_name="Inventory_Crate" src_prefix=""></img-webp>
<img-webp id="inventory_modal_toolbar-button-delete-img" image_folder="webpage" file_name="red_x" src_prefix=""></img-webp>
</button>
</div>
<div id="inventory_sorting_options" style="padding-top: 5px;">
<select id="inventory_sorting-options-list" onchange="inventory.build_list()">
<option id="inventory_sort-none" value="no_sort" selected>No Sorting</option>
<option id="inventory_sort-quantity-ascending" value="quantity_ascending">Quantity: Ascending</option>
<option id="inventory_sort-quantity-descending" value="quantity_descending">Quantity: Descending</option>
</select>
</div>
</div>
<div id="inventory_content_list" class="center-div"></div>
<div id="inventory_catalog" class="center-div" hidden></div>
<div id="inventory_catalog-add-prompt" class="center-div" hidden>
<div id="inventory_add-prompt_options" style="margin-top: 30px; margin-bottom: 10px;">
<i id="inventory_add-prompt_fragment-option" style="cursor:pointer; margin-right: 50px;" class="item-sprite" title="" onclick="inventory.catalog_prompt_option_toggle(this)"></i>
<i id="inventory_add-prompt_equipment-option" style="cursor: pointer;" class="item-sprite" title="" onclick="inventory.catalog_prompt_option_toggle(this)"></i>
</div>
<div style="background: rgba(0, 0, 0, 0.50); border-radius: 7px;">
<div id="inventory_catalog_add-fragment">
<i id="inventory_add-fragment_main" class="inventory_catalog_add_main-item item-sprite" title=""></i>
</div>
<div id="inventory_catalog_add-equipment">
<i id="inventory_add-equipment_main" class="inventory_catalog_add_main-item item-sprite" title=""></i>
<div id="inventory_catalog_add-equipment_arrow">↓</div>
<div id="inventory_catalog_add-equipment_sub-items"></div>
</div>
</div>
<label for="inventory_catalog_input" style="font-weight: bold; font-size: 30px; position: relative; top: 4px;">
×
</label>
<input id="inventory_catalog_input" value="0" type="number">
<br>
<button id="inventory_catalog_add-button" onclick="inventory.catalog_prompt_add()">
<translate text="inventory.add_item">Add Item</translate>
</button>
<br>
<button id="inventory_catalog_cancel-button" onclick="inventory.catalog_prompt_cancel()">
<translate text="presets_tab.cancel">Cancel</translate>
</button>
</div>
</div>
</div>
</body>
<footer>
<!-- AUTHOR CREDITS -->
<p class="footer notranslate">
Made with <span style="color:#ff4d4d">❤</span> by S'pugn
<i class="webpage webpage-HAhaa footer"></i>
</p>
<!-- TRANSLATOR CREDITS (APPEARS ONLY ON NON-ENGLISH LANGUAGES) -->
<p class="footer">
<span id="translator-footer" class="notranslate"></span>
</p>
<!-- LAST QUEST UPDATE TEXT ; DETERMINED BY SETTING IN scripts/language.js -->
<p class="footer">
<translate text="system.last_quest_update">
Last Quest Update: <span id="update-date-span" style="color: #6DFF7F;">...</span>
</translate>
</p>
<!-- SOCIAL MEDIA LINKS -->
<p class="footer">
<a href='https://ko-fi.com/E1E21KEV4' target='_blank'><img height='36' style='border:0;height:36px;position: relative;top:2px;right:5px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
<a href="https://github.com/Expugn/priconne-quest-helper" target="_blank">
<i class="webpage webpage-GitHub-Mark"></i>
</a>
</p>
</footer>