-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGuguTown_ThemePack.user.js
2189 lines (2154 loc) · 157 KB
/
GuguTown_ThemePack.user.js
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
// ==UserScript==
// @name GuguTown ThemePack Manager
// @name:zh-CN 咕咕镇主题包管理器
// @name:zh-TW 咕咕鎮主題包管理器
// @name:ja 咕咕镇テーマパックマネージャー
// @namespace https://github.com/HazukiKaguya/GuguTown_ThemePack
// @homepage https://github.com/HazukiKaguya/GuguTown_ThemePack
// @version 3.10.2
// @description WebGame GuguTown ThemePack Manager.
// @description:zh-CN 气人页游 咕咕镇 主题包管理器。
// @description:zh-TW 氣人頁遊 咕咕鎮 主題包管理器。
// @description:ja オンラインゲーム 咕咕镇 テーマパック マネージャー
// @icon https://sticker.inari.site/favicon.ico
// @author Hazuki Kaguya
// @copyright 2022- Hazukikaguya
// @match https://*.guguzhen.com/*
// @match https://*.momozhen.com/*
// @run-at document-end
// @require https://greasyfork.org/scripts/450822-spine-webgl/code/spine-webgl.js?version=1098282
// @require https://cdn.jsdelivr.net/npm/[email protected]/crypto-js.js
// @require https://cdn.jsdelivr.net/npm/[email protected]/src/lzma_worker.js
// @license MIT License
// @downloadURL https://github.com/HazukiKaguya/GuguTown_ThemePack/raw/main/GuguTown_ThemePack.user.js
// @updateURL https://github.com/HazukiKaguya/GuguTown_ThemePack/raw/main/GuguTown_ThemePack.user.js
// @grant none
// ==/UserScript==
/* eslint-env jquery */
'use strict';
let unlogfix=document.getElementsByClassName("row").length;
if(window.location.href.indexOf('php') == -1){console.log("This is a static resource."); return;}
else if(unlogfix==0){console.log("Invalid login status or Game Server is currently under maintenance,Themepack Manager Loading stopped.");return;};
/*日间&夜间模式切换*/
console.log(window.matchMedia('(prefers-color-scheme: dark)').matches);
window.matchMedia('(prefers-color-scheme: dark)')
.addEventListener('change', event => {
if (event.matches) {
/*夜间模式*/
} else {
/*日间模式*/
}
});
/**
* Settings.
*/
let timeCheck=new Date().getTime();
const defaultConf = {
"language":"zh",
"ThemePack":"classic",
"iconSize":"50px",
"kanbansize":"100",
"useOldNames":false,"useThemeName":false,"nightmode":false,
"showKanban":false,"showCG":false,"voiceO":false,"ver":false,
"yourcard":"舞"
}
,level=["普通","幸运","稀有","史诗","传奇"]
,Language = {
"zh": {
"initUFG":"此自定义主题包立绘功能不可用!",
"initUVO":"此自定义主题包语音功能不可用!",
"initUSP":"此自定义主题包Spine看板娘功能不可用!",
"initUOT":"自定义主题包数据非JSON格式,请及时更新!主题包未启用!",
"initUNU":"自定义主题包数据不存在,主题包未启用!",
"cuuid":"生成引继码",
"vuuid":"输入引继码",
"puuid":"请复制引继码,或者自行输入8位小写字母+数字后按确定",
"menuTheme":"主题包",
"menuUser":"写入自定义主题",
"menuIcon":"图标大小",
"menuKanban":"看板大小",
"menuOldEQ":"旧版装备名",
"menuThemeEQ":"主题装备名",
"menuSCG":"立绘功能",
"menuSVO":"语音功能",
"menuSKB":"看板功能",
"themeSW":"按【确定】选择主题包,按【取消】恢复默认主题包。",
"themeSA":"输入1使用【测试用主题包】;输入2使用【自定义主题包】;\n输入0不启用主题更改;输入其他使用【旧版风格主题包】;\n【测试用主题包】中的主题装备名称版权归Cygames所有。",
"themeDF":"按【确定】恢复默认主题包,按【取消】则不操作。",
"iconUA":"请输入图标大小,格式应为32-128间的数字+px\n示例:50px",
"kanbanUA":"请输入看板大小,数字为百分比。",
"menuUA":"请输入自定义主题包的json数据,访问以下链接以查看完整的json格式。",
"cloudPass":"请 输入/设置 云同步密码",
"dessertlevel":["稀有","史诗","传奇"],
"dessertname":["星铜苹果护身符","蓝银葡萄护身符","紫晶樱桃护身符"],
"itemsname":["体能刺激药水","锻造材料箱","灵魂药水","随机装备箱","宝石原石","光环天赋石","苹果核","蓝锻造石","绿锻造石","金锻造石"],
"equip":["探险者之剑","探险者短弓","探险者短杖","狂信者的荣誉之刃","反叛者的刺杀弓","幽梦匕首","光辉法杖","荆棘盾剑","荆棘剑盾","陨铁重剑","饮血魔剑","饮血长枪","探险者手环","探险者手套","命师的传承手环","秃鹫手环",
"秃鹫手套","探险者铁甲","探险者皮甲","探险者布甲","旅法师的灵光袍","战线支撑者的荆棘重甲","复苏战衣","复苏木甲","挑战斗篷","探险者耳环","探险者头巾","占星师的耳饰","占星师的发饰","萌爪耳钉","天使缎带","海星戒指","噬魔戒指","彩金长剑","猎魔耳环"]
},
"zht":{
"initUFG":"此自定義主題包立繪功能不可用!",
"initUVO":"此自定義主題包語音功能不可用!",
"initUSP":"此自定義主題包Spine看板娘功能不可用!",
"initUOT":"自定義主題包數據非JSON格式,請及時更新!主題包未啟用!",
"initUNU":"自定義主題包數據不存在,主題包未啟用!",
"cuuid":"生成引繼碼",
"vuuid":"輸入引繼碼",
"puuid":"請復製引繼碼,或者自行輸入8位小寫字母+數字後按確定",
"menuTheme":"主題包",
"menuUser":"寫入自定義主題",
"menuIcon":"圖標大小",
"menuKanban":"看板大小",
"menuOldEQ":"舊的裝備名",
"menuThemeEQ":"主題裝備名",
"menuSCG":"立繪機能",
"menuSVO":"語音機能",
"menuSKB":"看板機能",
"themeSW":"按【確定】選擇主題包,按【取消】恢複默認主題包。",
"themeSA":"輸入1使用【測試用主題包】;輸入2使用【自定義主題包】;\n輸入0不啟用主題更改;輸入其他使用【舊版風格主題包】;\n【測試用主題包】中的主題裝備名稱版權歸Cygames所有。",
"themeDF":"按【確定】恢複默認主題包,按【取消】則不操作。",
"iconUA":"請輸入圖標大小,格式應為32-128間的數字+px\n示例:50px",
"kanbanUA":"請輸入看板大小,數字為百分比。",
"menuUA":"請輸入自定義主題包的json數據,訪問以下連結以查看完整的json格式。",
"cloudPass":"請 輸入/设置 云同步密码",
"dessertlevel":["稀有","史詩","傳奇"],
"dessertname":["星銅蘋果護身符","藍銀葡萄護身符","紫晶櫻桃護身符"],
"itemsname":["體能刺激藥水","鍛造材料箱","靈魂藥水","隨機裝備箱","寶石原石","光環天賦石","蘋果核","藍鍛造石","綠鍛造石","金鍛造石"],
"equip":["探險者之劍","探險者短弓","探險者短杖","狂信者的榮譽之刃","反叛者的刺殺弓","幽夢匕首","光輝法杖","荊棘盾劍","荊棘劍盾","隕鐵重劍","飲血魔劍","飲血長槍","探險者手環","探險者手套","命師的傳承手環","禿鹫手環",
"禿鹫手套","探險者鐵甲","探險者皮甲","探險者布甲","旅法師的靈光袍","戰線支撐者的荊棘重甲","複蘇戰衣","複蘇木甲","挑戰鬥篷","探險者耳環","探險者頭巾","占星師的耳飾","占星師的發飾","萌爪耳釘","天使緞帶","海星戒指","噬魔戒指","彩金長劍","猎魔耳環"]
},
"ja": {
"initUFG":"このユーザー テーマパックの立ち絵機能は使用できません!",
"initUVO":"このユーザー テーマパックのボイス機能は使用できません!",
"initUSP":"このユーザー テーマパックのSpine看板娘機能は使用できません!",
"initUOT":"このユーザー テーマパックの形式はJSONではありません!このテーマパックをできるだけ早く更新してください!テーマパックが有効になっていません!",
"initUNU":"このユーザー テーマパックのDataは存在しません!テーマパックが有効になっていません!",
"cuuid":"引継号作成",
"vuuid":"引継号入力",
"puuid":"引継号をコピーしてください、または、自分で8つの小文字の英字または数字を入力して、[OK]を押します",
"menuTheme":"テーマパック",
"menuUser":"テーマ入力",
"menuIcon":"アイコン大小",
"menuKanban":"看板大小",
"menuOldEQ":"旧装備名",
"menuThemeEQ":"テーマ装備名",
"menuSCG":"立ち絵",
"menuSVO":"ボイス",
"menuSKB":"看板娘",
"themeSW":"【OK】をクリックしてテーマパックを切り替えます; \n【キャンセル】をクリックするとデフォルトのテーマパックが使用されます。",
"themeSA":"1 を入力して【テスト テーマパック】を使用;2 を入力して【ユーザー テーマパック】を使用;\n0 を入力して【オリジナル テーマパック】を使用;その他のテキストを入力して【クラシック テーマパック】を使用;\n【テスト テーマパック】テーマ装備名の著作権は cygames に帰属します。",
"themeDF":"【OK】をクリックして【クラシック テーマパック】を使用します;\nキャンセルする場合は【キャンセル】をクリックしてください。",
"iconUA":"アイコンのサイズを入力してください。32 ~ 128 の数値で px を使用する必要があります。\n 例: 50px",
"kanbanUA":"看板のサイズを入力してください。%を除いた数値である必要があります。\n 例: 100",
"menuUA":"カスタマイズ テーマパックの JSON データを入力してください。完全な JSON 形式を表示するには、以下のリンクにアクセスしてください。",
"cloudPass":"クラウド同期用のパスワードを入力/設定してください",
"dessertlevel":["レア","大作","伝説"],
"dessertname":["星銅林檎お守り","藍銀葡萄お守り","紫水晶桜ん坊お守り"],
"itemsname":["身体刺激剤","鍛造用材料箱","魂の薬","ランダム装備箱","宝石原石","光輪天賦石","リンゴ核","青鍛造石","緑鍛造石","金鍛造石"],
"equip":["探検家の剣","探検家の弓","探検家の杖","狂信者の栄光刃","反逆者の暗殺弓","ダークドリーム匕首","輝く杖","いばら盾剣","いばら剣盾","流星鉄のエペの剣","血に飢えた魔剣","血に飢えた槍","探検家の腕輪","探検家の手袋",
"命の師匠の継承腕輪","ハゲタカ腕輪","ハゲタカ手袋","探検家の鎧","探検家の革","探検家の衣","旅法師のローブ","フロントサポーターのトゲアーマー","蘇るスーツ","蘇るウッドアーマー","挑戦者のマント",
"探検家のイヤリング","探検家のマフラー","占星術師のイヤリング","占星術師の髪飾り","萌え猫爪のイヤリング","天使のリボン","海星指輪","デビル・デバウラー指輪","彩金長剣","猎魔耳環"]
},
"en": {
"initUFG":"The CG Function in this User ThemePack is unavailable!",
"initUVO":"The Voice Function in this User ThemePack is unavailable!",
"initUOT":"The Data of this User ThemePack is not JSON! Please Update This ThemePack ASAP! ThemePack not activated!",
"initUNU":"The Data of this User ThemePack is non-existent! ThemePack not activated!",
"cuuid":"Create Code",
"vuuid":"Input Code",
"puuid":"Please Copy The Code, or self input 8 length [a-z]+[0-9],then press ok",
"menuTheme":"ThemePack",
"menuUser":"UserTheme",
"menuIcon":"IconSize",
"menuKanban":"KanbanSize",
"menuOldEQ":"Old EqName",
"menuThemeEQ":"Theme EqName",
"menuSCG":"CGimg",
"menuSVO":"Voice",
"menuSKB":"Kanban",
"themeSW":"click【ok】 to switch ThemePack; click【cancel】 to use default ThemePack.",
"themeSA":"input 1 to use 【Test ThemePack】;\ninput 2 to use【User ThemePack】;\ninput 0 to use 【origin ThemePack】;\ninput any other text to use 【classic ThemePack】;\nThe copyright of ThemeEquipName in 【Test ThemePack】 belongs to cygames.",
"themeDF":"click【ok】to use 【origin ThemePack】; click【cancel】to cancel.",
"iconUA":"Please input the size of Icons, it should be a num in 32-128 with px\n example: 50px",
"kanbanUA":"Please input the size of kanban, it should be a num without %\n example: 100",
"menuUA":"Please input The JSON data of UserThemePack,\n Access the link below to see the complete JSON format.",
"cloudPass":"Please input/set cloud sync password",
"dessertlevel":["Rare ","Epic ","Legend "],
"dessertname":["star copper apple amulet","blue silver grape amulet","amethyst cherry amulet"],
"itemsname":["Stamina Stimulant Potion","Forge Material Box","Soul potion","Random Equipment Chest","Original Gem Stone","Halo Talent Stone","Fruit Core","Blue Forge Stone","Green Forge Stone","Gold Forge Stone"],
"equip":["Explorer's Sword","Explorer's Bow","Explorer's Staff","Honor Blade of crazy believer","Rebel's assassination Bow","Faint Dream Dagger","Shining Staff","Thorny shield Sword","Thorny sword Shield","Meteoric iron Epee Sword","Bloodthirsty demon Sword",
"Bloodthirsty Lance","Explorer's Bracelet","Explorer's Glove","命's Bracelet from her Shifu","Vulture Bracelet","Vulture Glove","Explorer's Armor","Explorer's Leather","Explorer's Cloth","Magician's aura Robe","Thorny Armor of the front supporter",
"Recovery suit","Revived wood armour","Challenger's Cloak","Explorer's Earrings","Explorer's Scarf","Astrologer's Earrings","Astrologer's hair ornament","Neko Claw Earrings","Angel's Ribbon","Starfish Ring","Devil Devourer Ring","Lottery Gold Sword","Hunt Devil Earrings"]
}
}
,sampleTheme ={
"url":"ys/icon/",
"iurl":"ys/icon/",
"old":"1","ext":".gif",
"background":"normal",
"kanbanbg":"https://sticker.inari.site/api/null.gif",
"backsize":"background-size:80% 80%;",
"wqbacksize":"background-size:100% 100%;",
"nofgimg":false,"nospine":false,"novoice":false,
"nothemeEqName":false,"nothemeAmName":false,"nothemeItName":false,
"equip-zh":["探险者之剑","探险者短弓","探险者短杖","狂信者的荣誉之刃","反叛者的刺杀弓","幽梦匕首","光辉法杖","荆棘盾剑","荆棘剑盾","陨铁重剑","饮血魔剑","饮血长枪","探险者手环","探险者手套","命师的传承手环","秃鹫手环",
"秃鹫手套","探险者铁甲","探险者皮甲","探险者布甲","旅法师的灵光袍","战线支撑者的荆棘重甲","复苏战衣","复苏木甲","挑战斗篷","探险者耳环","探险者头巾","占星师的耳饰","占星师的发饰","萌爪耳钉","天使缎带","海星戒指","噬魔戒指","猎魔耳环"],
"equip-zht":["探險者之劍","探險者短弓","探險者短杖","狂信者的榮譽之刃","反叛者的刺殺弓","幽夢匕首","光輝法杖","荊棘盾劍","荊棘劍盾","隕鐵重劍","飲血魔劍","飲血長槍","探險者手環","探險者手套","命師的傳承手環","禿鹫手環",
"禿鹫手套","探險者鐵甲","探險者皮甲","探險者布甲","旅法師的靈光袍","戰線支撐者的荊棘重甲","複蘇戰衣","複蘇木甲","挑戰鬥篷","探險者耳環","探險者頭巾","占星師的耳飾","占星師的發飾","萌爪耳釘","天使緞帶","海星戒指","噬魔戒指","猎魔耳环"],
"equip-ja":["探検家の剣","探検家の弓","探検家の杖","狂信者の栄光刃","反逆者の暗殺弓","ダークドリーム匕首","輝く杖","いばら盾剣","いばら剣盾","流星鉄のエペの剣","血に飢えた魔剣","血に飢えた槍","探検家の腕輪","探検家の手袋",
"命の師匠の継承腕輪","ハゲタカ腕輪","ハゲタカ手袋","探検家の鎧","探検家の革","探検家の衣","旅法師のローブ","フロントサポーターのトゲアーマー","蘇るスーツ","蘇るウッドアーマー","挑戦者のマント",
"探検家のイヤリング","探検家のマフラー","占星術師のイヤリング","占星術師の髪飾り","萌え猫爪のイヤリング","天使のリボン","海星指輪","デビル・デバウラー指輪","猎魔耳飾り"],
"equip-en":["Explorer's Sword","Explorer's Bow","Explorer's Staff","Honor Blade of crazy believer","Rebel's assassination Bow","Faint Dream Dagger","Shining Staff","Thorny shield Sword","Thorny sword Shield","Meteoric iron Epee Sword","Bloodthirsty demon Sword",
"Bloodthirsty Lance","Explorer's Bracelet","Explorer's Glove","命's Bracelet from her Shifu","Vulture Bracelet","Vulture Glove","Explorer's Armor","Explorer's Leather","Explorer's Cloth","Magician's aura Robe","Thorny Armor of the front supporter",
"Recovery suit","Revived wood armour","Challenger's Cloak","Explorer's Earrings","Explorer's Scarf","Astrologer's Earrings","Astrologer's hair ornament","Neko Claw Earrings","Angel's Ribbon","Starfish Ring","Devil Devourer Ring","Heaven Hell Earrings"],
"dessertlevel-zh":["稀有","史诗","传奇"],
"dessertlevel-zht":["稀有","史詩","傳奇"],
"dessertlevel-ja":["レア","大作","伝説"],
"dessertlevel-en":["Rare ","Epic ","Legend "],
"dessertname-zh":["苹果护身符","葡萄护身符","樱桃护身符"],
"dessertname-zht":["蘋果護身符","葡萄護身符","櫻桃護身符"],
"dessertname-ja":["林檎お守り","葡萄お守り","桜ん坊お守り"],
"dessertname-en":["apple amulet","grape amulet","cherry amulet"],
"itemsname-zh":["体能刺激药水","锻造材料箱","灵魂药水","随机装备箱","宝石原石","光环天赋石","苹果核","蓝锻造石","绿锻造石","金锻造石"],
"itemsname-zht":["體能刺激藥水","鍛造材料箱","靈魂藥水","隨機裝備箱","寶石原石","光環天賦石","蘋果核","藍鍛造石","綠鍛造石","金鍛造石"],
"itemsname-ja":["身体刺激剤","鍛造用材料箱","魂の薬","ランダム装備箱","宝石原石","光輪天賦石","リンゴ核","青鍛造石","緑鍛造石","金鍛造石"],
"itemsname-en":["Stamina Stimulant Potion","Forge Material Box","Soul potion","Random Equipment Chest","Original Gem Stone","Halo Talent Stone","Fruit Core","Blue Forge Stone","Green Forge Stone","Gold Forge Stone"],
"dessert":["z/z903","z/z902","z/z901"],
"items":["i/it001","i/it002","i/it003","i/it004","/i/it005","i/it310","i/it309","i/it301","i/it302","i/it303"],
"魔灯之灵(野怪":"https://sticker.inari.site/null.gif",
"六眼飞鱼(野怪":"https://sticker.inari.site/null.gif",
"铁皮木人(野怪":"https://sticker.inari.site/null.gif",
"迅捷魔蛛(野怪":"https://sticker.inari.site/null.gif",
"食铁兽(野怪" :"https://sticker.inari.site/null.gif",
"晶刺豪猪(野怪":"https://sticker.inari.site/null.gif",
"六边形战士(野怪":"https://sticker.inari.site/null.gif",
"舞":["3000","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"默":["3001","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"琳":["3002","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"艾":["3003","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"梦":["3004","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"薇":["3005","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"伊":["3006","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"冥":["3007","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"命":["3008","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"希":["3009","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"霞":["3010","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif","https://sticker.inari.site/null.gif"],
"voice":["on.mp3","off.mp3"],
"舞voice":["/vo/",".mp3"],
"默voice":["/vo/",".mp3"],
"琳voice":["/vo/",".mp3"],
"艾voice":["/vo/",".mp3"],
"梦voice":["/vo/",".mp3"],
"薇voice":["/vo/",".mp3"],
"伊voice":["/vo/",".mp3"],
"冥voice":["/vo/",".mp3"],
"命voice":["/vo/",".mp3"],
"希voice":["/vo/",".mp3"],
"spinert":["https://","https://"],
"舞spine":{"name":"/unit/wuu/","type":"6","hasRarity6":true,"wi":-330,"hi":-42,"re":0.8},
"默spine":{"name":"/unit/mo/","type":"7","hasRarity6":true,"wi":-350,"hi":-42,"re":0.8},
"琳spine":{"name":"/unit/lin/","type":"5","hasRarity6":true,"wi":-330,"hi":-42,"re":0.8},
"艾spine":{"name":"/unit/ai/","type":"8","hasRarity6":true,"wi":-320,"hi":-64,"re":0.8},
"梦spine":{"name":"/unit/meng/","type":"4","hasRarity6":false,"wi":-320,"hi":-42,"re":0.8},
"薇spine":{"name":"/unit/wei/","type":"1","hasRarity6":true,"wi":-360,"hi":-42,"re":0.8},
"伊spine":{"name":"/unit/yi/","type":"8","hasRarity6":false,"wi":-380,"hi":-92,"re":0.8},
"冥spine":{"name":"/unit/min/","type":"3","hasRarity6":true,"wi":-350,"hi":-48,"re":0.8},
"命spine":{"name":"/unit/life/","type":"1","hasRarity6":false,"wi":-360,"hi":-36,"re":1.0},
"希spine":{"name":"/unit/xii/","type":"10","hasRarity6":false,"wi":-370,"hi":-64,"re":0.8},
"霞spine":{"name":"/unit/xia/","type":"7","hasRarity6":false,"wi":-370,"hi":-64,"re":0.8},
"a1":["z2101","z1","探险者之剑","探险者之剑","z/z2101_"],
"a2":["z2102","z2","探险者短弓","探险者短弓","z/z2102_"],
"a3":["z2103","z3","探险者短杖","探险者短杖","z/z2103_"],
"a4":["z2104","z4","狂信者的荣誉之刃","狂信者的荣誉之刃","z/z2104_"],
"a5":["z2105","z2","反叛者的刺杀弓","反叛者的刺杀弓","z/z2105_"],
"a6":["z2106","z4","幽梦匕首","幽梦匕首","z/z2106_"],
"a7":["z2107","z3","光辉法杖","光辉法杖","z/z2107_"],
"a8":["z2108","z1","荆棘盾剑","荆棘盾剑","z/z2108_"],
"ao8":["z2108","z1","荆棘剑盾","荆棘剑盾","z/z2108_"],
"a9":["z2109","z1","陨铁重剑","陨铁重剑","z/z2109_"],
"a10":["z2110","z2110","饮血魔剑","饮血魔剑","z/z2110_"],
"ao10":["z2110","z2110","饮血长枪","饮血长枪","z/z2110_"],
"a11":["z2111","z2111","彩金长剑","彩金长剑","z/z2111_"],
"w1":["z2201","z5","探险者手环","探险者手环","z/z2201_"],
"wo1":["z2201","z5","探险者手套","探险者手套","z/z2201_"],
"w2":["z2202","z8","命师的传承手环","命师的传承手环","z/z2202_"],
"w3":["z2203","z5","秃鹫手环","秃鹫手环","z/z2203_"],
"wo3":["z2203","z5","秃鹫手套","秃鹫手套","z/z2203_"],
"w4":["z2204","z2204","海星戒指","海星戒指","z/z2204_"],
"w5":["z2205","z2205","噬魔戒指","噬魔戒指","z/z2205_"],
"c1":["z2301","z9","探险者铁甲","探险者铁甲","z/z2301_"],
"c2":["z2302","z10","探险者皮甲","探险者皮甲","z/z2302_"],
"c3":["z2303","z10","探险者布甲","探险者布甲","z/z2303_"],
"c4":["z2304","z11","旅法师的灵光袍","旅法师的灵光袍","z/z2304_"],
"c5":["z2305","z9","战线支撑者的荆棘重甲","战线支撑者的荆棘重甲","z/z2305_"],
"c6":["z2306","z2306","复苏战衣","复苏战衣","z/z2306_"],
"co6":["z2306","z2306","复苏木甲","复苏木甲","z/z2306_"],
"c7":["z2307","z2307","挑战斗篷","挑战斗篷","z/z2307_"],
"h1":["z2401","z7","探险者耳环","探险者耳环","z/z2401_"],
"ho1":["z2401","z7","探险者头巾","探险者头巾","z/z2401_"],
"h2":["z2402","z7","占星师的耳饰","占星师的耳饰","z/z2402_"],
"ho2":["z2402","z7","占星师的发饰","占星师的发饰","z/z2402_"],
"h3":["z2403","z7","萌爪耳钉","萌爪耳钉","z/z2403_"],
"ho3":["z2403","z7","天使缎带","天使缎带","z/z2403_"],
"h4":["z2404","z7","猎魔耳环","猎魔耳环","z/z2404_"]
}
,originTheme = {
"url":"ys/icon/",
"iurl":"ys/icon/",
"old":"1","ext":".gif",
"background":"normal",
"kanbanbg":"https://sticker.inari.site/api/null.gif",
"backsize":"background-size:80% 80%;",
"wqbacksize":"background-size:100% 100%;",
"dessert":["z/z903","z/z902","z/z901"],
"items":["i/it001","i/it002","i/it003","i/it004","/i/it005","i/it310","i/it309","i/it301","i/it302","i/it303"],
"nothemeAmName":true,"nothemeEqName":true,"nothemeItName":true,
"nofgimg":true,"novoice":true,"nospine":true,
"a1":["z2101","z1","探险者之剑","探险者之剑","z/z2101_"],
"a2":["z2102","z2","探险者短弓","探险者短弓","z/z2102_"],
"a3":["z2103","z3","探险者短杖","探险者短杖","z/z2103_"],
"a4":["z2104","z4","狂信者的荣誉之刃","狂信者的荣誉之刃","z/z2104_"],
"a5":["z2105","z2","反叛者的刺杀弓","反叛者的刺杀弓","z/z2105_"],
"a6":["z2106","z4","幽梦匕首","幽梦匕首","z/z2106_"],
"a7":["z2107","z3","光辉法杖","光辉法杖","z/z2107_"],
"a8":["z2108","z1","荆棘盾剑","荆棘盾剑","z/z2108_"],
"ao8":["z2108","z1","荆棘剑盾","荆棘剑盾","z/z2108_"],
"a9":["z2109","z1","陨铁重剑","陨铁重剑","z/z2109_"],
"a10":["z2110","z2110","饮血魔剑","饮血魔剑","z/z2110_"],
"ao10":["z2110","z2110","饮血长枪","饮血长枪","z/z2110_"],
"a11":["z2111","z2111","彩金长剑","彩金长剑","z/z2111_"],
"w1":["z2201","z5","探险者手环","探险者手环","z/z2201_"],
"wo1":["z2201","z5","探险者手套","探险者手套","z/z2201_"],
"w2":["z2202","z8","命师的传承手环","命师的传承手环","z/z2202_"],
"w3":["z2203","z5","秃鹫手环","秃鹫手环","z/z2203_"],
"wo3":["z2203","z5","秃鹫手套","秃鹫手套","z/z2203_"],
"w4":["z2204","z2204","海星戒指","海星戒指","z/z2204_"],
"w5":["z2205","z2205","噬魔戒指","噬魔戒指","z/z2205_"],
"c1":["z2301","z9","探险者铁甲","探险者铁甲","z/z2301_"],
"c2":["z2302","z10","探险者皮甲","探险者皮甲","z/z2302_"],
"c3":["z2303","z10","探险者布甲","探险者布甲","z/z2303_"],
"c4":["z2304","z11","旅法师的灵光袍","旅法师的灵光袍","z/z2304_"],
"c5":["z2305","z9","战线支撑者的荆棘重甲","战线支撑者的荆棘重甲","z/z2305_"],
"c6":["z2306","z2306","复苏战衣","复苏战衣","z/z2306_"],
"co6":["z2306","z2306","复苏木甲","复苏木甲","z/z2306_"],
"c7":["z2307","z2307","挑战斗篷","挑战斗篷","z/z2307_"],
"h1":["z2401","z7","探险者耳环","探险者耳环","z/z2401_"],
"ho1":["z2401","z7","探险者头巾","探险者头巾","z/z2401_"],
"h2":["z2402","z7","占星师的耳饰","占星师的耳饰","z/z2402_"],
"ho2":["z2402","z7","占星师的发饰","占星师的发饰","z/z2402_"],
"h3":["z2403","z7","萌爪耳钉","萌爪耳钉","z/z2403_"],
"ho3":["z2403","z7","天使缎带","天使缎带","z/z2403_"],
"h4":["z2404","z7","猎魔耳环","猎魔耳环","z/z2404_"]
}
,classicTheme = {
"url":"https://p.inari.site/guguicons/old/",
"iurl":"https://p.inari.site/guguicons/old/",
"old":"", "ext":".gif",
"background":"overlay",
"backsize":"background-size:80% 80%;",
"wqbacksize":"background-size:80% 80%;",
"nofgimg":true,"novoice":true,"nospine":true,
"nothemeEqName":true,"nothemeAmName":false,"nothemeItName":true,
"dessertlevel-zh":["稀有","史诗","传奇"],
"dessertlevel-zht":["稀有","史詩","傳奇"],
"dessertlevel-ja":["レア","大作","伝説"],
"dessertlevel-en":["Rare ","Epic ","Legend "],
"dessertname-zh":["苹果护身符","葡萄护身符","樱桃护身符"],
"dessertname-zht":["蘋果護身符","葡萄護身符","櫻桃護身符"],
"dessertname-ja":["林檎お守り","葡萄お守り","桜ん坊お守り"],
"dessertname-en":["apple amulet","grape amulet","cherry amulet"],
"dessert":["apple","grape","cherry"],
"items":["powerdrug","forgebox","soul","eqchest","gem","halo","fruitcore","loforge","miforge","hiforge"],
"a1":["z2101","z1","探险者之剑","探险者之剑","sword_"],
"a2":["z2102","z2","探险者短弓","探险者短弓","bow_"],
"a3":["z2103","z3","探险者短杖","探险者短杖","staff_"],
"a4":["z2104","z4","狂信者的荣誉之刃","狂信者的荣誉之刃","knife_"],
"a5":["z2105","z2","反叛者的刺杀弓","反叛者的刺杀弓","bow_"],
"a6":["z2106","z4","幽梦匕首","幽梦匕首","knife_"],
"a7":["z2107","z3","光辉法杖","光辉法杖","staff_"],
"a8":["z2108","z1","荆棘盾剑","荆棘盾剑","sword_"],
"ao8":["z2108","z1","荆棘剑盾","荆棘剑盾","sword_"],
"a9":["z2109","z1","陨铁重剑","陨铁重剑","sword_"],
"a10":["z2110","z2110","饮血魔剑","饮血魔剑","sword_"],
"ao10":["z2110","z2110","饮血长枪","饮血长枪","spear_"],
"a11":["z2111","z2111","彩金长剑","彩金长剑","sword_"],
"w1":["z2201","z5","探险者手环","探险者手环","bracelet_"],
"wo1":["z2201","z5","探险者手套","探险者手套","gloves_"],
"w2":["z2202","z8","命师的传承手环","命师的传承手环","bracelet_"],
"w3":["z2203","z5","秃鹫手环","秃鹫手环","bracelet_"],
"wo3":["z2203","z5","秃鹫手套","秃鹫手套","gloves_"],
"w4":["z2204","z2204","海星戒指","海星戒指","bracelet_"],
"w5":["z2205","z2205","噬魔戒指","噬魔戒指","bracelet_"],
"c1":["z2301","z9","探险者铁甲","探险者铁甲","armour_"],
"c2":["z2302","z10","探险者皮甲","探险者皮甲","clothes_"],
"c3":["z2303","z10","探险者布甲","探险者布甲","clothes_"],
"c4":["z2304","z11","旅法师的灵光袍","旅法师的灵光袍","gown_"],
"c5":["z2305","z9","战线支撑者的荆棘重甲","战线支撑者的荆棘重甲","armour_"],
"c6":["z2306","z2306","复苏战衣","复苏战衣","gown_"],
"co6":["z2306","z2306","复苏木甲","复苏木甲","gown_"],
"c7":["z2307","z2307","挑战斗篷","挑战斗篷","clothes_"],
"h1":["z2401","z7","探险者耳环","探险者耳环","earring_"],
"ho1":["z2401","z7","探险者头巾","探险者头巾","swirl_"],
"h2":["z2402","z7","占星师的耳饰","占星师的耳饰","earring_"],
"ho2":["z2402","z7","占星师的发饰","占星师的发饰","swirl_"],
"h3":["z2403","z7","萌爪耳钉","萌爪耳钉","neko_"],
"ho3":["z2403","z7","天使缎带","天使缎带","swirl_"],
"h4":["z2404","z7","猎魔耳环","猎魔耳环","earring_"]
}
,testTheme = {
"url":"https://p.inari.site/guguicons/test/eq/",
"iurl":"https://p.inari.site/guguicons/test/eq/",
"old":"0",
"ext":".gif",
"background":"normal",
"kanbanbg":"https://sticker.inari.site/api/bg.jpg",
"backsize":"background-size:100% 100%;",
"wqbacksize":"background-size:100% 100%;",
"level":["普通","幸运","稀有","史诗","传奇"],
"nofgimg":false,"nospine":false,"novoice":false,
"nothemeEqName":false,"nothemeAmName":false,"nothemeItName":false,
"equip-zh":["旅人剑","猎人弓","香木法杖","妖刀血鸦","深渊之弓","黑曜石天黑剑","棒棒糖手杖","盖亚之斧","盖亚之斧","勇气星核剑","混沌之刃","毁灭之伤冥神枪","旅者手镯","旅者拳套","睿智手镯","朋克手镯","深红爪","重金属护甲","皮革工作服","旅者长袍",
"魔导师的长袍","霸王树之棘针铠","翠绿灵衣","翠绿灵衣","黑玛瑙之祈装衣","旅者耳环","旅者头巾","海神耳饰","桜花の月夜簪","精灵王护石","细冰姬的蝴蝶结","永恒绿戒","深结晶变异水晶","辉光剑征服者","狱天耳环"],
"equip-zht":["旅人劍","獵人弓","檀香之杖","妖刀血鴉","深淵之弓","天黑劍奧比修斯","棒棒糖手杖","蓋亞之斧","蓋亞之斧","星核劍艾爾茲修奈德","渾沌之劍","冥神槍毀滅苦痛","旅者手镯","旅者拳套","睿智手镯","龐克棘刺手環","深紅之爪","重金屬盔甲","皮革工作服",
"旅行長袍","魔導師的長袍","霸王樹之棘針鎧","翠綠靈衣","翠綠靈衣","黑瑪瑙祈裝衣","旅者耳環","旅者頭巾","海神耳飾","櫻花月夜簪","精靈王護石","細冰姬的蝴蝶結","常青之綠戒","深結晶變異水晶","輝光劍雅德瑪斯","獄天耳飾"],
"equip-ja":["旅立ちの剣","狩人の弓","香木の杖","妖刀血鴉","アビスボウ","天黒剣オブシウス","ロリポップステッキ","ガイアアクス","ガイアアクス","星核剣エルツシュナイド","カオスブレード","冥神槍ドゥームペイン","旅立ちのミサンガ","旅立ちのパンチ",
"ソフォスブレスレット","パンクニードルバングル","クリムゾンクロー","ヘビーメタルアーマー","革のサロペット","旅立ちのローブ","魔導師のローブ","覇王樹の棘針鎧","翠緑の霊衣","翠緑の霊衣","黒瑪瑙の祈装衣","旅立ちの耳環","旅立ちの頭巾",
"海神の耳飾り","桜花の月夜簪","精霊王の護石","細氷姫の結び紐","常盤の緑環","深結晶ゼノクリスタル","輝光剣アダマス","獄天の耳飾り"],
"equip-en":["Iron Blade","Hunter's Bow","Fragrant Wood Wand","Blood Raven Demon Blade","Abyss Bow","Heavenly Black Obsidian Sword","Lolipop Stick","Gaia Axe","Gaia Axe","Star Core Sword - Erst Schneide","Chaos Blade","Nether God Spear, Doom Pain",
"Journey Bracelet","Journey Punches","Sophos Bracelet","Punk Bangle","Crimson Claw","Heavy Metal Armor","Leather Overalls","Journey Robe","Magician's Robe","Thorn of the Great Tree Armor","Viridian Spiritual Dress","Viridian Spiritual Dress",
"Black Agate Prayer Dress","Journey Earrings","Journey Hood","Ocean God's Earrings","Moonlight Blossom Hairpin","Fairy King's Guardian Stone","Ice Princess Ribbon","Evergreen Ring","Deep Crystalized Xenocrystal","Brilliant Sword - Adamas","Heaven Hell Earrings"],
"dessert":["apple","grape","melon"],
"dessertlevel-zh":["普通的","成熟的","优质的"],
"dessertlevel-zht":["普通的","成熟的","優質的"],
"dessertlevel-ja":["普通の","熟した","上質な"],
"dessertlevel-en":["Common ","Mature ","Superior "],
"dessertname-zh":["苹果","葡萄","西瓜"],
"dessertname-zht":["蘋果","葡萄","西瓜"],
"dessertname-ja":["林檎","ぶどう","スイカ"],
"dessertname-en":["Apple","Grape","Watermelon"],
"items":["powerdrug","forgebox","souldrug","eqchest","gemchest","halostone","fruitcore","loforge","miforge","hiforge"],
"itemsname-zh":["体力药剂","自选锻造材料","经验药水","随机装备箱","自选概率宝石箱","光环天赋石","玛娜","低级锻造石","中级锻造石","高级锻造石"],
"itemsname-zht":["體力藥劑","自選鍛造材料","經驗藥水","隨機裝備箱","自選概率寶石箱","光環天賦石","瑪娜","低級鍛造石","中級鍛造石","高級鍛造石"],
"itemsname-ja":["体力薬剤","自選鍛造材料","経験薬","ランダム装備箱","自選確率宝石箱","光輪の天賦向上","マナ","下級鍛造石","中級鍛造石","上級鍛造石"],
"itemsname-en":["Stamina Potion","Optional Forging Material","Experience potion","Random Equipment Chest","Optional Probability Gem Chest","Halo Talent Stone","Mana","Primary Forge Stone","Intermediate Forge Stone","Superior Forge Stone"],
"魔灯之灵(野怪":"https://p.inari.site/guguicons/test/mob/deng.png",
"六眼飞鱼(野怪":"https://p.inari.site/guguicons/test/mob/fish.png",
"铁皮木人(野怪":"https://p.inari.site/guguicons/test/mob/mu.png",
"迅捷魔蛛(野怪":"https://p.inari.site/guguicons/test/mob/zhu.png",
"食铁兽(野怪" :"https://p.inari.site/guguicons/test/mob/shou.png",
"晶刺豪猪(野怪":"https://p.inari.site/guguicons/test/mob/nzhu.png",
"六边形战士(野怪":"https://p.inari.site/guguicons/test/mob/liu.png",
"舞":["3000","https://p.inari.site/guguicons/test/cg/wuu/1.png","https://p.inari.site/guguicons/test/cg/wuu/2.png","https://p.inari.site/guguicons/test/cg/wuu/3.png","https://p.inari.site/guguicons/test/cg/wuu/4.png",
"https://p.inari.site/guguicons/test/cg/wuu/5.png","https://p.inari.site/guguicons/test/cg/wuu/3.png","https://p.inari.site/guguicons/test/cg/wuu/0.png","https://p.inari.site/guguicons/test/cg/wuu/0.png"],
"默":["3001","https://p.inari.site/guguicons/test/cg/mo/1.png","https://p.inari.site/guguicons/test/cg/mo/2.png","https://p.inari.site/guguicons/test/cg/mo/3.png","https://p.inari.site/guguicons/test/cg/mo/4.png",
"https://p.inari.site/guguicons/test/cg/mo/5.png","https://p.inari.site/guguicons/test/cg/mo/3.png","https://p.inari.site/guguicons/test/cg/mo/0.png","https://p.inari.site/guguicons/test/cg/mo/0.png"],
"琳":["3002","https://p.inari.site/guguicons/test/cg/lin/1.png","https://p.inari.site/guguicons/test/cg/lin/2.png","https://p.inari.site/guguicons/test/cg/lin/3.png","https://p.inari.site/guguicons/test/cg/lin/4.png",
"https://p.inari.site/guguicons/test/cg/lin/5.png","https://p.inari.site/guguicons/test/cg/lin/3.png","https://p.inari.site/guguicons/test/cg/lin/0.png","https://p.inari.site/guguicons/test/cg/lin/0.png"],
"艾":["3003","https://p.inari.site/guguicons/test/cg/ai/1.png","https://p.inari.site/guguicons/test/cg/ai/2.png","https://p.inari.site/guguicons/test/cg/ai/3.png","https://p.inari.site/guguicons/test/cg/ai/4.png",
"https://p.inari.site/guguicons/test/cg/ai/5.png","https://p.inari.site/guguicons/test/cg/ai/3.png","https://p.inari.site/guguicons/test/cg/ai/0.png","https://p.inari.site/guguicons/test/cg/ai/0.png"],
"梦":["3004","https://p.inari.site/guguicons/test/cg/meng/1.png","https://p.inari.site/guguicons/test/cg/meng/2.png","https://p.inari.site/guguicons/test/cg/meng/3.png","https://p.inari.site/guguicons/test/cg/meng/4.png",
"https://p.inari.site/guguicons/test/cg/meng/5.png","https://p.inari.site/guguicons/test/cg/meng/3.png","https://p.inari.site/guguicons/test/cg/meng/0.png","https://p.inari.site/guguicons/test/cg/meng/0.png"],
"薇":["3005","https://p.inari.site/guguicons/test/cg/wei/1.png","https://p.inari.site/guguicons/test/cg/wei/2.png","https://p.inari.site/guguicons/test/cg/wei/3.png","https://p.inari.site/guguicons/test/cg/wei/4.png",
"https://p.inari.site/guguicons/test/cg/wei/5.png","https://p.inari.site/guguicons/test/cg/wei/3.png","https://p.inari.site/guguicons/test/cg/wei/0.png","https://p.inari.site/guguicons/test/cg/wei/0.png"],
"伊":["3006","https://p.inari.site/guguicons/test/cg/yi/1.png","https://p.inari.site/guguicons/test/cg/yi/2.png","https://p.inari.site/guguicons/test/cg/yi/3.png","https://p.inari.site/guguicons/test/cg/yi/4.png",
"https://p.inari.site/guguicons/test/cg/yi/5.png","https://p.inari.site/guguicons/test/cg/yi/3.png","https://p.inari.site/guguicons/test/cg/yi/0.png","https://p.inari.site/guguicons/test/cg/yi/0.png"],
"冥":["3007","https://p.inari.site/guguicons/test/cg/ming/1.png","https://p.inari.site/guguicons/test/cg/ming/2.png","https://p.inari.site/guguicons/test/cg/ming/3.png","https://p.inari.site/guguicons/test/cg/ming/4.png",
"https://p.inari.site/guguicons/test/cg/ming/5.png","https://p.inari.site/guguicons/test/cg/ming/3.png","https://p.inari.site/guguicons/test/cg/ming/0.png","https://p.inari.site/guguicons/test/cg/ming/0.png"],
"命":["3008","https://p.inari.site/guguicons/test/cg/life/1.png","https://p.inari.site/guguicons/test/cg/life/2.png","https://p.inari.site/guguicons/test/cg/life/3.png","https://p.inari.site/guguicons/test/cg/life/4.png",
"https://p.inari.site/guguicons/test/cg/life/5.png","https://p.inari.site/guguicons/test/cg/life/3.png","https://p.inari.site/guguicons/test/cg/life/0.png","https://p.inari.site/guguicons/test/cg/life/0.png"],
"希":["3009","https://p.inari.site/guguicons/test/cg/xii/1.png","https://p.inari.site/guguicons/test/cg/xii/2.png","https://p.inari.site/guguicons/test/cg/xii/3.png","https://p.inari.site/guguicons/test/cg/xii/4.png",
"https://p.inari.site/guguicons/test/cg/xii/5.png","https://p.inari.site/guguicons/test/cg/xii/3.png","https://p.inari.site/guguicons/test/cg/xii/0.png","https://p.inari.site/guguicons/test/cg/xii/0.png"],
"霞":["3010","https://p.inari.site/guguicons/test/cg/xia/1.png","https://p.inari.site/guguicons/test/cg/xia/2.png","https://p.inari.site/guguicons/test/cg/xia/3.png","https://p.inari.site/guguicons/test/cg/xia/4.png",
"https://p.inari.site/guguicons/test/cg/xia/5.png","https://p.inari.site/guguicons/test/cg/xia/3.png","https://p.inari.site/guguicons/test/cg/xia/0.png","https://p.inari.site/guguicons/test/cg/xia/0.png"],
"voice":["https://p.inari.site/guguicons/test/vo/on.mp3","https://p.inari.site/guguicons/test/vo/off.mp3"],
"舞voice":["https://p.inari.site/guguicons/test/vo/wuu/",".mp3"],
"默voice":["https://p.inari.site/guguicons/test/vo/mo/",".mp3"],
"琳voice":["https://p.inari.site/guguicons/test/vo/lin/",".mp3"],
"艾voice":["https://p.inari.site/guguicons/test/vo/ai/",".mp3"],
"梦voice":["https://p.inari.site/guguicons/test/vo/meng/",".mp3"],
"薇voice":["https://p.inari.site/guguicons/test/vo/wei/",".mp3"],
"伊voice":["https://p.inari.site/guguicons/test/vo/yi/",".mp3"],
"冥voice":["https://p.inari.site/guguicons/test/vo/ming/",".mp3"],
"命voice":["https://p.inari.site/guguicons/test/vo/life/",".mp3"],
"希voice":["https://p.inari.site/guguicons/test/vo/xii/",".mp3"],
"霞voice":["https://p.inari.site/guguicons/test/vo/xia/",".mp3"],
"spinert":["https://sticker.inari.site/api/common/","https://"],
"舞spine":{"name":"sticker.inari.site/api/unit/wuu/","type":"6","hasRarity6":true,"wi":-330,"hi":-42,"re":0.8},
"默spine":{"name":"sticker.inari.site/api/unit/mo/","type":"7","hasRarity6":true,"wi":-350,"hi":-42,"re":0.8},
"琳spine":{"name":"sticker.inari.site/api/unit/lin/","type":"5","hasRarity6":true,"wi":-330,"hi":-42,"re":0.8},
"艾spine":{"name":"sticker.inari.site/api/unit/ai/","type":"8","hasRarity6":true,"wi":-320,"hi":-64,"re":0.8},
"梦spine":{"name":"sticker.inari.site/api/unit/meng/","type":"4","hasRarity6":false,"wi":-320,"hi":-42,"re":0.8},
"薇spine":{"name":"sticker.inari.site/api/unit/wei/","type":"1","hasRarity6":true,"wi":-360,"hi":-42,"re":0.8},
"伊spine":{"name":"sticker.inari.site/api/unit/yi/","type":"8","hasRarity6":false,"wi":-380,"hi":-92,"re":0.8},
"冥spine":{"name":"sticker.inari.site/api/unit/min/","type":"3","hasRarity6":true,"wi":-350,"hi":-48,"re":0.8},
"命spine":{"name":"sticker.inari.site/api/unit/life/","type":"1","hasRarity6":false,"wi":-360,"hi":-36,"re":1.0},
"希spine":{"name":"sticker.inari.site/api/unit/xii/","type":"10","hasRarity6":false,"wi":-370,"hi":-64,"re":0.8},
"霞spine":{"name":"sticker.inari.site/api/unit/xia/","type":"7","hasRarity6":false,"wi":-370,"hi":-64,"re":0.8},
"a1":["z2101","z1","探险者之剑","旅人剑","探险者之剑/"],
"a2":["z2102","z2","探险者短弓","猎人弓","探险者短弓/"],
"a3":["z2103","z3","探险者短杖","香木法杖","探险者短杖/"],
"a4":["z2104","z4","狂信者的荣誉之刃","妖刀血鸦","狂信者的荣誉之刃/"],
"a5":["z2105","z2","反叛者的刺杀弓","深渊之弓","反叛者的刺杀弓/"],
"a6":["z2106","z4","幽梦匕首","黑曜石天黑剑","幽梦匕首/"],
"a7":["z2107","z3","光辉法杖","棒棒糖手杖","光辉法杖/"],
"a8":["z2108","z1","荆棘盾剑","盖亚之斧","荆棘盾剑/"],
"ao8":["z2108","z1","荆棘剑盾","盖亚之斧","荆棘盾剑/"],
"a9":["z2109","z1","陨铁重剑","勇气星核剑","陨铁重剑/"],
"a10":["z2110","z2110","饮血魔剑","混沌之刃","饮血魔剑/"],
"ao10":["z2110","z2110","饮血长枪","毁灭之伤冥神枪","饮血长枪/"],
"a11":["z2111","z2111","彩金长剑","辉光剑雅德玛斯","彩金长剑/"],
"w1":["z2201","z5","探险者手环","旅者手镯","探险者手环/"],
"wo1":["z2201","z5","探险者手套","旅者拳套","探险者手套/"],
"w2":["z2202","z8","命师的传承手环","睿智手镯","命师的传承手环/"],
"w3":["z2203","z5","秃鹫手环","朋克手镯","秃鹫手环/"],
"wo3":["z2203","z5","秃鹫手套","深红爪","秃鹫手套/"],
"w4":["z2204","z2204","海星戒指","永恒绿戒","海星戒指/"],
"w5":["z2205","z2205","噬魔戒指","深结晶变异水晶","噬魔戒指/"],
"c1":["z2301","z9","探险者铁甲","重金属护甲","探险者铁甲/"],
"c2":["z2302","z10","探险者皮甲","皮革工作服","探险者皮甲/"],
"c3":["z2303","z10","探险者布甲","旅者长袍","探险者布甲/"],
"c4":["z2304","z11","旅法师的灵光袍","魔导师的长袍","旅法师的灵光袍/"],
"c5":["z2305","z9","战线支撑者的荆棘重甲","霸王树之棘针铠","战线支撑者的荆棘重甲/"],
"c6":["z2306","z2306","复苏战衣","翠绿灵衣","复苏战衣/"],
"co6":["z2306","z2306","复苏木甲","翠绿灵衣","复苏战衣/"],
"c7":["z2307","z2307","挑战斗篷","黑玛瑙之祈装衣","挑战斗篷/"],
"h1":["z2401","z7","探险者耳环","旅者耳环","探险者耳环/"],
"ho1":["z2401","z7","探险者头巾","旅者头巾","探险者头巾/"],
"h2":["z2402","z7","占星师的耳饰","海神耳饰","占星师的耳饰/"],
"ho2":["z2402","z7","占星师的发饰","樱花的月夜簪","占星师的发饰/"],
"h3":["z2403","z7","萌爪耳钉","精灵王护石","萌爪耳钉/"],
"ho3":["z2403","z7","天使缎带","细冰姬的蝴蝶结","天使缎带/"],
"h4":["z2404","z7","猎魔耳环","狱天耳环","猎魔耳环/"]
}
,ygcheck = ["魔灯之灵(野怪","六眼飞鱼(野怪","铁皮木人(野怪","迅捷魔蛛(野怪","食铁兽(野怪","晶刺豪猪(野怪","六边形战士(野怪"]
,nullimg = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='
,api='https://api.inari.site/?s=App.User_User.'
,cards=['舞','默','琳','艾','梦','薇','伊','冥','命','希',"霞"];
let ww=window.innerWidth||document.body.clientWidth,wh=window.innerHeight||document.body.clientHeight,momoConf={},
User=$("button[class*='btn btn-lg'][onclick*='fyg_index.php']")[0].innerText,momoUser = "momo_"+User,uuid,nowTheme
,custom,tempca,tpkanban,kanban,kanbanimg,ext='.gif',old,purl,iurl,dessert,items,dessertlevel,dessertname,itemsname,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,w1,w2,w3,w4,w5,c1,c2,c3,c4,c5,c6,c7,h1,h2,h3,h4,spinert,spineJson,tch,yourcard,cardvo,iconsize,equipName,kbw,kbh,shapes
,canvas,gl,shader,batcher,skeletonRenderer,loadingSkeleton,currentSkeletonBuffer,animationState,forceNoLoop,currentTexture,soundonce=0,sucheck=0,facheck=0,battlecheck=0,collecheck=0,pagetype=24,speedFactor=1,tempvo=false,ccard=false,loading = false
,timeout = null,useOldNamesCheck='',useThemeNameCheck='',Multilingual='',tpkanbanHTML='',showCGCheck='',voiceOCheck='',kanbanCheck='',activeSkeleton="",pendingAnimation='',generalAdditionAnimations={},userTheme={},generalBattleSkeletonData={},lang="zh"
,animationQueue=[],currentClass='1',imgmove=[0,0.6],lastFrameTime=Date.now()/1000,bgColor=[0,0,0,0],additionAnimations=['DEAR','NO_WEAPON','POSING','RACE','RUN_JUMP','SMILE'],currentClassAnimData={type:0,data:{}},currentCharaAnimData={id:0,data:{}}
,nowEquip = localStorage.nowEquip || "0",mvp=new spine.webgl.Matrix4();
/**
* Functions.
*/
/* Core */
function initConf(){
if (localStorage.ThemePackConf) {
custom = JSON.parse(localStorage.ThemePackConf);
}
else{
custom =defaultConf; localStorage.setItem('ThemePackConf',JSON.stringify(defaultConf));
};
if (!custom.yourcard ) { custom.yourcard="舞"; update();};
if (!custom.kanbansize){ custom.kanbansize=defaultConf.kanbansize;update();};
if (!custom.language ) { custom.language=defaultConf.language;update();};lang=Language[custom.language];
if (custom.showCG == true) { showCGCheck = 'checked'; };
if (custom.voiceO == true) { voiceOCheck = 'checked'; };
if (custom.useThemeName==true){ useThemeNameCheck='checked';};
if(custom.ThemePack=="classic"){ nowTheme=classicTheme;sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme));}
else if(custom.ThemePack=="test"||custom.ThemePack=="pcr"){ nowTheme=testTheme;sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme));}
else if(custom.ThemePack=="user"){
if(localStorage.userTheme&&custom.ver!="ver1.0"){ usTheme(localStorage.userTheme,true); }
else{
if(localStorage.userTheme&&custom.ver=="ver1.0"){ nowTheme=JSON.parse(localStorage.userTheme); }
else{ custom.ThemePack="classic"; nowTheme=classicTheme; alert('code:init-004\n'+lang.initUNU); };
sessionStorage.setItem('ThemePack',JSON.stringify(nowTheme));
};
}
else{ nowTheme=originTheme; sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme)); };
yourcard=custom.yourcard; cardvo=nowTheme[yourcard+"voice"]; iconsize=custom.iconSize; kanbanimg=nullimg;
if(custom.showKanban==true){ kanbanCheck='checked'; };
Multilingual='checked'; equipName=Language[custom.language].equip;
if(custom.useOldNames&&!custom.useThemeName){
nowTheme.dessertlevel=classicTheme["dessertlevel-"+custom.language];
nowTheme.dessertname=classicTheme["dessertname-"+custom.language];
nowTheme.itemsname=Language[custom.language].itemsname;
}
else if(custom.useThemeName&&!nowTheme.nothemeAmName&&!nowTheme.nothemeItName){
nowTheme.dessertlevel=nowTheme["dessertlevel-"+custom.language];
nowTheme.dessertname=nowTheme["dessertname-"+custom.language];
nowTheme.itemsname=nowTheme["itemsname-"+custom.language];
}
else if(custom.useThemeName&&!nowTheme.nothemeAmName&&nowTheme.nothemeItName){
nowTheme.dessertlevel=nowTheme["dessertlevel-"+custom.language];
nowTheme.dessertname=nowTheme["dessertname-"+custom.language];
nowTheme.itemsname =Language[custom.language].itemsname;
}
else{
nowTheme.dessertlevel=Language[custom.language].dessertlevel;
nowTheme.dessertname =Language[custom.language].dessertname;
nowTheme.itemsname =Language[custom.language].itemsname;
};
if(!nowTheme.nothemeEqName&&custom.useThemeName){ equipName=nowTheme["equip-"+custom.language]; };
nowTheme.a1[3]=equipName[0];nowTheme.a2[3]=equipName[1];nowTheme.a3[3]=equipName[2];nowTheme.a4[3]=equipName[3];nowTheme.a5[3]=equipName[4];nowTheme.a6[3]=equipName[5];
nowTheme.a7[3]=equipName[6];nowTheme.a8[3]=equipName[7];nowTheme.ao8[3]=equipName[8];nowTheme.a9[3]=equipName[9];nowTheme.a10[3]=equipName[10];nowTheme.ao10[3]=equipName[11];
nowTheme.a11[3]=equipName[33];
nowTheme.w1[3]=equipName[12];nowTheme.wo1[3]=equipName[13];nowTheme.w2[3]=equipName[14];nowTheme.w3[3]=equipName[15];nowTheme.wo3[3]=equipName[16];nowTheme.w4[3]=equipName[31];nowTheme.w5[3]=equipName[32];
nowTheme.c1[3]=equipName[17];nowTheme.c2[3]=equipName[18];nowTheme.c3[3]=equipName[19];nowTheme.c4[3]=equipName[20];nowTheme.c5[3]=equipName[21];nowTheme.c6[3]=equipName[22];nowTheme.co6[3]=equipName[23];nowTheme.c7[3]=equipName[24];
nowTheme.h1[3]=equipName[25];nowTheme.ho1[3]=equipName[26];nowTheme.h2[3]=equipName[27];nowTheme.ho2[3]=equipName[28];nowTheme.h3[3]=equipName[29];nowTheme.ho3[3]=equipName[30];nowTheme.h4[3]=equipName[34];
sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme));
ext=nowTheme.ext;purl=nowTheme.url;iurl=nowTheme.iurl;dessert=nowTheme.dessert;items=nowTheme.items;old=nowTheme.old;dessertlevel=nowTheme.dessertlevel;dessertname=nowTheme.dessertname;itemsname=nowTheme.itemsname;
a1=nowTheme.a1;a2=nowTheme.a2;a3=nowTheme.a3;a4=nowTheme.a4;a5=nowTheme.a5;a6=nowTheme.a6;a7=nowTheme.a7;a8=nowTheme.a8;a9=nowTheme.a9;a10=nowTheme.a10;a11=nowTheme.a11;
w1=nowTheme.w1;w2=nowTheme.w2;w3=nowTheme.w3;w4=nowTheme.w4;w5=nowTheme.w5;
c1=nowTheme.c1;c2=nowTheme.c2;c3=nowTheme.c3;c4=nowTheme.c4;c5=nowTheme.c5;c6=nowTheme.c6;c7=nowTheme.c7;
h1=nowTheme.h1;h2=nowTheme.h2;h3=nowTheme.h3;h4=nowTheme.h4;
if(custom.useOldNames==true){ useOldNamesCheck='checked'; a8=nowTheme.ao8;a10=nowTheme.ao10;w1=nowTheme.wo1;w3=nowTheme.wo3;c6=nowTheme.co6;h1=nowTheme.ho1;h2=nowTheme.ho2;h3=nowTheme.ho3; };
nowEquip = localStorage.nowEquip || "0";
if (window.location.href.indexOf('pk.php') > -1||window.location.href.indexOf('equip.php') > -1) { pagetype=nowEquip; };
};
function insertHTML(){
if($('.themepack-ls').length==0){
let TheMenuHtml=`<p></p><span><b>${lang.vuuid}:</b> <input type="text" class="themepack-uuid" style="width:65px" value="">
<input type="button" class="themepack-cuuid" value="${lang.cuuid}">
<input type="button" class="themepack-ls" value="${lang.menuTheme}">
<input type="button" class="themepack-usr" value="${lang.menuUser}">
<input type="button" class="icons-size" value="${lang.menuIcon}">
<input type="button" class="kanban-size" value="${lang.menuKanban}">
<input type="checkbox" class="iconpack-switch" ${useOldNamesCheck}><span class="thememenu">${lang.menuOldEQ}</span>
<input type="checkbox" class="themepack-equip" ${useThemeNameCheck}><span class="thememenu">${lang.menuThemeEQ}</span>
<input type="checkbox" class="themepack-showCG" ${showCGCheck}><span class="thememenu">${lang.menuSCG}</span>
<input type="checkbox" class="themepack-voiceO" ${voiceOCheck}><span class="thememenu">${lang.menuSVO}</span>
<input type="checkbox" class="themepack-showKB" ${kanbanCheck}><span class="thememenu">${lang.menuSKB}</span>
<input type="button" class="themelang" value="文A">
<input type="checkbox" class="themepack-switch" ${Multilingual} style="display:none">
<audio id="themeSoundPlay" controls src="${nullimg}" type="audio/mp3" style="display:none"></audio>
</span>`;
if($("button[class*='btn btn-lg'][onclick*='fyg_']").length==7){ $(TheMenuHtml).insertAfter($("button[class*='btn btn-lg'][onclick*='fyg_shop']"));}
else if($("button[class*='btn btn-lg'][onclick*='fyg_']").length==6) { $(TheMenuHtml).insertAfter($("button[class*='btn btn-lg'][onclick*='fyg_gem']"));}
else {$(TheMenuHtml).insertBefore($("button[class*='btn btn-lg'][onclick*='fyg_']")[0]);};}
};
function addCSS(){
$('head').append(`<style>
div[style='width:1200px;margin: 0 auto;'] { width: 80% !important;max-width:1200px;}
.btn.fyg_mp3 { width: ${Math.floor(parseInt(iconsize))}px !important; height: ${Math.floor(parseInt(iconsize))}px !important;line-height: ${Math.floor(parseInt(iconsize)*3.1/5)-1}px;${nowTheme.backsize}}
.btn.fyg_tr.fyg_mp3{ width: 263px !important; height: 40px !important;}
.btn.fyg_tl.fyg_mp3{ width: 263px !important; height: 40px !important;}
.btn.fyg_tc.fyg_mp3{ width: 536px !important; height: 40px !important;}
.btn.fyg_colpzbg.fyg_mp3 { width: ${Math.floor(parseInt(iconsize))}px !important; height: ${Math.floor(parseInt(iconsize))}px !important; ${nowTheme.wqbacksize}}
.img-rounded { width: 50px; height:50px;}
.btn.fyg_colpzbg.fyg_colpz01.fyg_mp3.fyg_tc,.btn.fyg_colpzbg.fyg_colpz02.fyg_mp3.fyg_tc,.btn.fyg_colpzbg.fyg_colpz03.fyg_mp3.fyg_tc,.btn.fyg_colpzbg.fyg_colpz04.fyg_mp3.fyg_tc,.btn.fyg_colpzbg.fyg_colpz05.fyg_mp3.fyg_tc { width: 60px !important; height: 100px !important;line-height:24px;}
.smallcardimg {height:50px;width:50px;}
.tool {position: fixed;top: 0;width: 100%;z-index: 1;cursor: default}
.themepack-uuid,input[type='button'] { border: 1px solid #e5e5e5;color:#3280fc;display: inline-block; text-align: center; margin: 0px;}
input[type='button']{ cursor: pointer; }
.tool>span {white-space: nowrap}
</style>`);
if(nowTheme.spinert){$('head').append(`<style>#divkanban:hover{background:url(${nowTheme.kanbanbg});background-size:cover;}</style>`);};
if(navigator.userAgent.indexOf('Android') > -1||navigator.userAgent.indexOf('Phone') > -1){
$('head').append(`<style>
select,body,h4,h5,i,.fyg_f14,h3,button,input,span,.panel-body,.col-sm-8 {font-size:28px !important;}
h2,.panel-heading,.fyg_f18,.col-sm-2.fyg_lh60{font-size:32px !important;}
.col-sm-2.fyg_lh60[style='text-align: left;']{width:180px;white-space: pre-wrap;}
.text-info.fyg_f24.fyg_lh60>span,.text-info.fyg_f24,.col-sm-2.fyg_lh60[style='text-align: left;']>span{font-size:48px !important;}
.progress{height:24px !important;}
div[class*='progress-bar']{font-size:26px !important;line-height:24px;}
p{font-size:26px !important;}
div[class='btn'],div[class='btn btn-primary'],.with-padding.bg-special.fyg_f14,.icon.icon-diamond{font-size:24px !important;}
.btn.btn-block.dropdown-toggle.fyg_lh30{font-size:18px !important;}
button[onclick*='b_forcbs(']{white-space: pre-wrap;}
.img-rounded,.smallcardimg {height:100px;width:100px;}
.btn.fyg_mp3{width:${Math.floor(parseInt(iconsize)*2)}px !important;height: ${Math.floor(parseInt(iconsize)*2)}px !important;line-height: ${Math.floor(parseInt(iconsize)*1.2)-1}px;}
.btn.fyg_colpzbg.fyg_mp3{width:${Math.floor(parseInt(iconsize)*2)}px !important;height: ${Math.floor(parseInt(iconsize)*2)}px !important;}
.fyg_tc>.btn.fyg_colpzbg.fyg_mp3.fyg_tc{width:120px !important;height: 160px !important;line-height:42px;}
.btn.btn-primary.btn-group.dropup {height:160px !important;}
</style>`);};
};
function finalInit(){
initConf(); insertHTML(); addCSS();
let loadTime=new Date().getTime()-timeCheck;
console.log("Load Finish! Takes "+loadTime+"ms");
showKanban();
if(localStorage.reload=="true"){localStorage.removeItem('reload');update();};
if(window.location.href.indexOf('fyg_index.php') > -1){console.log("hi"); };
};
function update(){
localStorage.setItem('ThemePackConf', JSON.stringify(custom));
beforeCloud("Gupdater");
};
/* Theme Core */
function usTheme(UserJSON,act){
if(isJSON(UserJSON)){
let tempTheme=JSON.parse(UserJSON);userTheme = {};
if(!custom.ver){ update00(); }
/*
else if(custom.ver=="ver1.0"){ update10();}
/*
else if(custom.ver=="ver1.1"){ update11(); }
else if(custom.ver=="ver1.2"){ update12(); }
*/
else{ update00(); };
function update00(){
if(tempTheme.url){ userTheme.url=tempTheme.url; }else{ userTheme.url=sampleTheme.url; };
if(tempTheme.old){ userTheme.old=tempTheme.old; }else{ userTheme.old=sampleTheme.old; };
if(tempTheme.ext){ userTheme.ext=tempTheme.ext; }else{ userTheme.ext=sampleTheme.ext; };
if(tempTheme.background){ userTheme.background=tempTheme.background; }else{ userTheme.background=sampleTheme.background; };
if(tempTheme.kanbanbg){ userTheme.kanbanbg=tempTheme.kanbanbg; }else{ userTheme.kanbanbg=sampleTheme.kanbanbg; };
if(tempTheme.backsize){ userTheme.backsize=tempTheme.backsize; }else{ userTheme.backsize=sampleTheme.backsize; };
if(tempTheme.wqbacksize){ userTheme.wqbacksize=tempTheme.wqbacksize; }else{ userTheme.wqbacksize=sampleTheme.wqbacksize; };
if(tempTheme.iurl&&tempTheme.dessert&&tempTheme.items){
userTheme.iurl=tempTheme.iurl;userTheme.dessert=tempTheme.dessert;userTheme.items=tempTheme.items;
}else{
userTheme.iurl=sampleTheme.iurl;userTheme.dessert=sampleTheme.dessert;userTheme.items=sampleTheme.items;
};
if(tempTheme.nothemeAmName){ userTheme.nothemeAmName=true; }else{
if(tempTheme['dessertlevel-zh']||tempTheme['dessertlevel-zht']||tempTheme['dessertlevel-ja']||tempTheme['dessertlevel-en']||
tempTheme['dessertname-zh']||tempTheme['dessertname-zht']||tempTheme['dessertname-ja']||tempTheme['dessertname-en']||
tempTheme['itemsname-zh']||tempTheme['itemsname-zht']||tempTheme['itemsname-ja']||tempTheme['itemsname-en']){
if(tempTheme['dessertlevel-zh']){ userTheme['dessertlevel-zh']=tempTheme.dessertlevel-zh; }else{ userTheme['dessertlevel-zh']=Language.zh.dessertlevel; };
if(tempTheme['dessertlevel-zht']){ userTheme['dessertlevel-zht']=tempTheme['dessertlevel-zht']; }else{ userTheme['dessertlevel-zht']=Language.zht.dessertlevel; };
if(tempTheme['dessertlevel-ja']){ userTheme['dessertlevel-ja']=tempTheme['dessertlevel-ja']; }else{ userTheme['dessertlevel-ja']=Language.ja.dessertlevel; };
if(tempTheme['dessertlevel-en']){ userTheme['dessertlevel-en']=tempTheme['dessertlevel-en']; }else{ userTheme['dessertlevel-en']=Language.en.dessertlevel; };
if(tempTheme['dessertname-zh']){ userTheme['dessertname-zh']=tempTheme['dessertname-zh']; }else{ userTheme['dessertname-zh']=Language.zh.dessertname; };
if(tempTheme['dessertname-zht']){ userTheme['dessertname-zht']=tempTheme['dessertname-zht']; }else{ userTheme['dessertname-zht']=Language.zht.dessertname; };
if(tempTheme['dessertname-ja']){ userTheme['dessertname-ja']=tempTheme['dessertname-ja']; }else{ userTheme['dessertname-ja']=Language.ja.dessertname; };
if(tempTheme['dessertname-en']){ userTheme['dessertname-en']=tempTheme['dessertname-en']; }else{ userTheme['dessertname-en']=Language.en.dessertname; };
userTheme.nothemeAmName=false;
}else{ userTheme.nothemeAmName=true; };
};
if(tempTheme.nofgimg){ userTheme.nofgimg=true; alert('code:userTheme-001\n'+lang.initUFG); custom.showCG=false; }else{
if(tempTheme.舞||tempTheme.默||tempTheme.琳||tempTheme.艾||tempTheme.梦||tempTheme.薇||tempTheme.伊||tempTheme.冥||tempTheme.命||tempTheme.希||tempTheme.霞){
if(tempTheme.舞){ userTheme.舞=tempTheme.舞; }else{ userTheme.舞=sampleTheme.舞; };
if(tempTheme.默){ userTheme.默=tempTheme.默; }else{ userTheme.默=sampleTheme.默; };
if(tempTheme.琳){ userTheme.琳=tempTheme.琳; }else{ userTheme.琳=sampleTheme.琳; };
if(tempTheme.艾){ userTheme.艾=tempTheme.艾; }else{ userTheme.艾=sampleTheme.艾; };
if(tempTheme.梦){ userTheme.梦=tempTheme.梦; }else{ userTheme.梦=sampleTheme.梦; };
if(tempTheme.薇){ userTheme.薇=tempTheme.薇; }else{ userTheme.薇=sampleTheme.薇; };
if(tempTheme.伊){ userTheme.伊=tempTheme.伊; }else{ userTheme.伊=sampleTheme.伊; };
if(tempTheme.冥){ userTheme.冥=tempTheme.冥; }else{ userTheme.冥=sampleTheme.冥; };
if(tempTheme.命){ userTheme.命=tempTheme.命; }else{ userTheme.命=sampleTheme.命; };
if(tempTheme.希){ userTheme.希=tempTheme.希; }else{ userTheme.希=sampleTheme.希; };
if(tempTheme.霞){ userTheme.霞=tempTheme.霞; }else{ userTheme.霞=sampleTheme.霞; };
if(tempTheme['魔灯之灵(野怪']){ userTheme['魔灯之灵(野怪']=tempTheme['魔灯之灵(野怪']; }else{ userTheme['魔灯之灵(野怪']=sampleTheme['魔灯之灵(野怪']; };
if(tempTheme['六眼飞鱼(野怪']){ userTheme['六眼飞鱼(野怪']=tempTheme['六眼飞鱼(野怪']; }else{ userTheme['六眼飞鱼(野怪']=sampleTheme['六眼飞鱼(野怪']; };
if(tempTheme['铁皮木人(野怪']){ userTheme['铁皮木人(野怪']=tempTheme['铁皮木人(野怪']; }else{ userTheme['铁皮木人(野怪']=sampleTheme['铁皮木人(野怪']; };
if(tempTheme['迅捷魔蛛(野怪']){ userTheme['迅捷魔蛛(野怪']=tempTheme['迅捷魔蛛(野怪']; }else{ userTheme['迅捷魔蛛(野怪']=sampleTheme['迅捷魔蛛(野怪']; };
if(tempTheme['晶刺豪猪(野怪']){ userTheme['晶刺豪猪(野怪']=tempTheme['晶刺豪猪(野怪']; }else{ userTheme['晶刺豪猪(野怪']=sampleTheme['晶刺豪猪(野怪']; };
if(tempTheme['食铁兽(野怪']){ userTheme['食铁兽(野怪']=tempTheme['食铁兽(野怪']; }else{ userTheme['食铁兽(野怪']=sampleTheme['食铁兽(野怪']; };
if(tempTheme['六边形战士(野怪']){ userTheme['六边形战士(野怪']=tempTheme['六边形战士(野怪']; }else{ userTheme['六边形战士(野怪']=sampleTheme['六边形战士(野怪']; };
userTheme.nofgimg=false;
}else{ userTheme.nofgimg=true; alert('code:updt-001\n'+lang.initUFG);custom.showKanban=false; };
};
if(tempTheme.nospine){ userTheme.nospine=true; alert('code:userTheme-002\n'+lang.initUSP); }else{
let thespine;thespine=tempTheme.舞spine||tempTheme.默spine||tempTheme.琳spine||tempTheme.艾spine||tempTheme.梦spine||tempTheme.薇spine||tempTheme.伊spine||tempTheme.冥spine||tempTheme.命spine||tempTheme.希spine||false;
if(tempTheme.spinert&&thespine!=false){
if(tempTheme.舞spine){ userTheme.舞spine=tempTheme.舞spine; }else{ userTheme.舞spine=thespine; };
if(tempTheme.默spine){ userTheme.默spine=tempTheme.默spine; }else{ userTheme.默spine=thespine; };
if(tempTheme.琳spine){ userTheme.琳spine=tempTheme.琳spine; }else{ userTheme.琳spine=thespine; };
if(tempTheme.艾spine){ userTheme.艾spine=tempTheme.艾spine; }else{ userTheme.艾spine=thespine; };
if(tempTheme.梦spine){ userTheme.梦spine=tempTheme.梦spine; }else{ userTheme.梦spine=thespine; };
if(tempTheme.薇spine){ userTheme.薇spine=tempTheme.薇spine; }else{ userTheme.薇spine=thespine; };
if(tempTheme.伊spine){ userTheme.伊spine=tempTheme.伊spine; }else{ userTheme.伊spine=thespine; };
if(tempTheme.冥spine){ userTheme.冥spine=tempTheme.冥spine; }else{ userTheme.冥spine=thespine; };
if(tempTheme.命spine){ userTheme.命spine=tempTheme.命spine; }else{ userTheme.命spine=thespine; };
if(tempTheme.希spine){ userTheme.希spine=tempTheme.希spine; }else{ userTheme.希spine=thespine; };
if(tempTheme.霞spine){ userTheme.霞spine=tempTheme.霞spine; }else{ userTheme.霞spine=thespine; };
userTheme.nospine=false;
}
else{ userTheme.nospine=true; alert('code:updt-002\n'+lang.initUSP); };
};
if(userTheme.nofgimg&&userTheme.nospine){ custom.showKanban=false; };
if(tempTheme.novoice){ userTheme.novoice=true; alert('code:userTheme-003\n'+lang.initUVO);custom.voiceO=false; }else{
let thevoice;thevoice=tempTheme.舞voice||tempTheme.默voice||tempTheme.琳voice||tempTheme.艾voice||tempTheme.梦voice||tempTheme.薇voice||tempTheme.伊voice||tempTheme.冥voice||tempTheme.命voice||tempTheme.希voice||false;
if(tempTheme.voice&&thevoice!=false){
if(tempTheme.舞voice){ userTheme.舞voice=tempTheme.舞voice; }else{ userTheme.舞voice=thevoice; };
if(tempTheme.默voice){ userTheme.默voice=tempTheme.默voice; }else{ userTheme.默voice=thevoice; };
if(tempTheme.琳voice){ userTheme.琳voice=tempTheme.琳voice; }else{ userTheme.琳voice=thevoice; };
if(tempTheme.艾voice){ userTheme.艾voice=tempTheme.艾voice; }else{ userTheme.艾voice=thevoice; };
if(tempTheme.梦voice){ userTheme.梦voice=tempTheme.梦voice; }else{ userTheme.梦voice=thevoice; };
if(tempTheme.薇voice){ userTheme.薇voice=tempTheme.薇voice; }else{ userTheme.薇voice=thevoice; };
if(tempTheme.伊voice){ userTheme.伊voice=tempTheme.伊voice; }else{ userTheme.伊voice=thevoice; };
if(tempTheme.冥voice){ userTheme.冥voice=tempTheme.冥voice; }else{ userTheme.冥voice=thevoice; };
if(tempTheme.命voice){ userTheme.命voice=tempTheme.命voice; }else{ userTheme.命voice=thevoice; };
if(tempTheme.希voice){ userTheme.希voice=tempTheme.希voice; }else{ userTheme.希voice=thevoice; };
if(tempTheme.霞voice){ userTheme.霞voice=tempTheme.霞voice; }else{ userTheme.霞voice=thevoice; };
userTheme.novoice=false;
}
else{ userTheme.novoice=true; }
};
if(tempTheme.nothemeEqName){ userTheme.nothemeEqName=true; }else{
if(tempTheme['equip-zh']||tempTheme['equip-zht']||tempTheme['equip-ja']||tempTheme['equip-en']){
if(tempTheme['equip-zh']){ userTheme['equip-zh']=tempTheme['equip-zh']; }else{ userTheme['equip-zh']=Language.zh.equip; };
if(tempTheme['equip-zht']){ userTheme['equip-zht']=tempTheme['equip-zht']; }else{ userTheme['equip-zht']=Language.zht.equip; };
if(tempTheme['equip-ja']){ userTheme['equip-ja']=tempTheme['equip-ja']; }else{ userTheme['equip-ja']=Language.ja.equip; };
if(tempTheme['equip-en']){ userTheme['equip-en']=tempTheme['equip-en']; }else{ userTheme['equip-en']=Language.en.equip; };
userTheme.nothemeEqName=false;
}else{ userTheme.nothemeEqName=true; };
};
if(tempTheme.a1){ userTheme.a1=tempTheme.a1; }else{ userTheme.a1=sampleTheme.a1; };
if(tempTheme.a2){ userTheme.a2=tempTheme.a2; }else{ userTheme.a2=sampleTheme.a2; };
if(tempTheme.a3){ userTheme.a3=tempTheme.a3; }else{ userTheme.a3=sampleTheme.a3; };
if(tempTheme.a4){ userTheme.a4=tempTheme.a4; }else{ userTheme.a4=sampleTheme.a4; };
if(tempTheme.a5){ userTheme.a5=tempTheme.a5; }else{ userTheme.a5=sampleTheme.a5; };
if(tempTheme.a6){ userTheme.a6=tempTheme.a6; }else{ userTheme.a6=sampleTheme.a6; };
if(tempTheme.a7){ userTheme.a7=tempTheme.a7; }else{ userTheme.a7=sampleTheme.a7; };
if(tempTheme.a8){ userTheme.a8=tempTheme.a8; }else{ userTheme.a8=sampleTheme.a8; };
if(tempTheme.a9){ userTheme.a9=tempTheme.a9; }else{ userTheme.a9=sampleTheme.a9; };
if(tempTheme.a10){ userTheme.a10=tempTheme.a10; }else{ userTheme.a10=sampleTheme.a10; };
if(tempTheme.a11){ userTheme.a11=tempTheme.a11; }else{ userTheme.a11=sampleTheme.a11; };
if(tempTheme.ao8){ userTheme.ao8=tempTheme.ao8; }else{
if(tempTheme.a8){ userTheme.ao8=tempTheme.a8; }else{ userTheme.ao8=sampleTheme.ao8; };
};
if(tempTheme.ao10){ userTheme.a=tempTheme.ao10; }else{
if(tempTheme.ao10){ userTheme.ao10=tempTheme.a10; }else{ userTheme.ao10=sampleTheme.ao10; };
};
if(tempTheme.w1){ userTheme.w1=tempTheme.w1; }else{ userTheme.w1=sampleTheme.w1; };
if(tempTheme.w2){ userTheme.w2=tempTheme.w2; }else{ userTheme.w2=sampleTheme.w2; };
if(tempTheme.w3){ userTheme.w3=tempTheme.w3; }else{ userTheme.w3=sampleTheme.w3; };
if(tempTheme.w4){ userTheme.w4=tempTheme.w4; }else{ userTheme.w4=sampleTheme.w4; };
if(tempTheme.w5){ userTheme.w5=tempTheme.w5; }else{ userTheme.w5=sampleTheme.w5; };
if(tempTheme.wo1){ userTheme.wo1=tempTheme.wo1; }else{
if(tempTheme.w1){ userTheme.wo1=tempTheme.w1; }else{ userTheme.wo1=sampleTheme.wo1; };
};
if(tempTheme.wo3){ userTheme.wo3=tempTheme.wo3; }else{
if(tempTheme.w3){ userTheme.wo3=tempTheme.w3; }else{ userTheme.wo3=sampleTheme.wo3; };
};
if(tempTheme.c1){ userTheme.c1=tempTheme.c1; }else{ userTheme.c1=sampleTheme.c1; };
if(tempTheme.c2){ userTheme.c2=tempTheme.c2; }else{ userTheme.c2=sampleTheme.c2; };
if(tempTheme.c3){ userTheme.c3=tempTheme.c3; }else{ userTheme.c3=sampleTheme.c3; };
if(tempTheme.c4){ userTheme.c4=tempTheme.c4; }else{ userTheme.c4=sampleTheme.c4; };
if(tempTheme.c5){ userTheme.c5=tempTheme.c5; }else{ userTheme.c5=sampleTheme.c5; };
if(tempTheme.c6){ userTheme.c6=tempTheme.c6; }else{ userTheme.c6=sampleTheme.c6; };
if(tempTheme.c7){ userTheme.c7=tempTheme.c7; }else{ userTheme.c7=sampleTheme.c7; };
if(tempTheme.co6){ userTheme.co6=tempTheme.co6; }else{
if(tempTheme.c6){ userTheme.co6=tempTheme.c6; }else{ userTheme.co6=sampleTheme.co6; };
};
if(tempTheme.h1){ userTheme.h1=tempTheme.h1; }else{ userTheme.h1=sampleTheme.h1; };
if(tempTheme.h2){ userTheme.h2=tempTheme.h2; }else{ userTheme.h2=sampleTheme.h2; };
if(tempTheme.h3){ userTheme.h3=tempTheme.h3; }else{ userTheme.h3=sampleTheme.h3; };
if(tempTheme.h4){ userTheme.h4=tempTheme.h4; }else{ userTheme.h4=sampleTheme.h4; };
if(tempTheme.ho1){ userTheme.ho1=tempTheme.ho1; }else{
if(tempTheme.h1){ userTheme.ho1=tempTheme.h1; }else{ userTheme.ho1=sampleTheme.ho1; };
};
if(tempTheme.ho2){ userTheme.ho2=tempTheme.ho2; }else{
if(tempTheme.h2){ userTheme.ho2=tempTheme.h2; }else{ userTheme.ho2=sampleTheme.ho2; };
};
if(tempTheme.ho3){ userTheme.ho3=tempTheme.ho3; }else{
if(tempTheme.h3){ userTheme.ho3=tempTheme.h3; }else{ userTheme.ho3=sampleTheme.ho3; };
};
userTheme.nothemeItName=true;
sessionStorage.setItem('userTheme', JSON.stringify(userTheme)); custom.ver="ver1.1"; update();
if(act){ nowTheme=userTheme; sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme)); };
};
function update10(){
if(tempTheme.nothemeAmName){ userTheme.nothemeAmName=true; }else{
if(tempTheme['itemsname-zh']||tempTheme['itemsname-zht']||tempTheme['itemsname-ja']||tempTheme['itemsname-en']){
if(tempTheme['itemsname-zh']&&tempTheme['itemsname-zh'].length==9){ userTheme['itemsname-zh']=tempTheme['itemsname-zh']; }
else if(tempTheme['itemsname-zh']&&tempTheme['itemsname-zh'].length!=9){
//userTheme['itemsname-zh']=tempTheme['itemsname-zh'];
}else{ userTheme['itemsname-zh']=Language.zh.itemsname; };
if(tempTheme['itemsname-zht']&&tempTheme['itemsname-zht'].length==9){ userTheme['itemsname-zht']=tempTheme['itemsname-zht']; }
else if(tempTheme['itemsname-zht']&&tempTheme['itemsname-zht'].length!=9){
//userTheme['itemsname-zht']=tempTheme['itemsname-zht'];
}else{ userTheme['itemsname-zht']=Language.zht.itemsname; };
if(tempTheme['itemsname-ja']&&tempTheme['itemsname-ja'].length==9){ userTheme['itemsname-ja']=tempTheme['itemsname-ja']; }
else if(tempTheme['itemsname-ja']&&tempTheme['itemsname-ja'].length!=9){
//userTheme['itemsname-ja']=tempTheme['itemsname-ja'];
}else{ userTheme['itemsname-ja']=Language.ja.itemsname; };
if(tempTheme['itemsname-en']&&tempTheme['itemsname-en'].length==9){ userTheme['itemsname-en']=tempTheme['itemsname-en']; }
else if(tempTheme['itemsname-en']&&tempTheme['itemsname-en'].length==9){
//userTheme['itemsname-en']=tempTheme['itemsname-en'];
}else{ userTheme['itemsname-en']=Language.en.itemsname; };
userTheme.nothemeAmName=false;
}else{ userTheme.nothemeAmName=true; };
};
if(!tempTheme.nofgimg){
if(tempTheme.霞){
if(tempTheme.霞){ userTheme.霞=tempTheme.霞; }else{ userTheme.霞=sampleTheme.霞; };
if(tempTheme['六边形战士(野怪']){ userTheme['六边形战士(野怪']=tempTheme['六边形战士(野怪']; }else{ userTheme['六边形战士(野怪']=sampleTheme['六边形战士(野怪']; };
};
};
if(tempTheme.nospine){ userTheme.nospine=true; alert('code:userTheme-002\n'+lang.initUSP); }else{
let thespine;thespine=tempTheme.舞spine||tempTheme.默spine||tempTheme.琳spine||tempTheme.艾spine||tempTheme.梦spine||tempTheme.薇spine||tempTheme.伊spine||tempTheme.冥spine||tempTheme.命spine||tempTheme.希spine||false;
if(tempTheme.spinert&&thespine!=false){
if(tempTheme.舞spine){ userTheme.舞spine=tempTheme.舞spine; }else{ userTheme.舞spine=thespine; };
if(tempTheme.默spine){ userTheme.默spine=tempTheme.默spine; }else{ userTheme.默spine=thespine; };
if(tempTheme.琳spine){ userTheme.琳spine=tempTheme.琳spine; }else{ userTheme.琳spine=thespine; };
if(tempTheme.艾spine){ userTheme.艾spine=tempTheme.艾spine; }else{ userTheme.艾spine=thespine; };
if(tempTheme.梦spine){ userTheme.梦spine=tempTheme.梦spine; }else{ userTheme.梦spine=thespine; };
if(tempTheme.薇spine){ userTheme.薇spine=tempTheme.薇spine; }else{ userTheme.薇spine=thespine; };
if(tempTheme.伊spine){ userTheme.伊spine=tempTheme.伊spine; }else{ userTheme.伊spine=thespine; };
if(tempTheme.冥spine){ userTheme.冥spine=tempTheme.冥spine; }else{ userTheme.冥spine=thespine; };
if(tempTheme.命spine){ userTheme.命spine=tempTheme.命spine; }else{ userTheme.命spine=thespine; };
if(tempTheme.希spine){ userTheme.希spine=tempTheme.希spine; }else{ userTheme.希spine=thespine; };
if(tempTheme.霞spine){ userTheme.霞spine=tempTheme.霞spine; }else{ userTheme.霞spine=thespine; };
userTheme.nospine=false;
}
else{ userTheme.nospine=true; alert('code:updt-002\n'+lang.initUSP); };
};
if(userTheme.nofgimg&&userTheme.nospine){ custom.showKanban=false; };
if(tempTheme.novoice){ userTheme.novoice=true; alert('code:userTheme-003\n'+lang.initUVO);custom.voiceO=false; }else{
let thevoice;thevoice=tempTheme.舞voice||tempTheme.默voice||tempTheme.琳voice||tempTheme.艾voice||tempTheme.梦voice||tempTheme.薇voice||tempTheme.伊voice||tempTheme.冥voice||tempTheme.命voice||tempTheme.希voice||false;
if(tempTheme.voice&&thevoice!=false){
if(tempTheme.舞voice){ userTheme.舞voice=tempTheme.舞voice; }else{ userTheme.舞voice=thevoice; };
if(tempTheme.默voice){ userTheme.默voice=tempTheme.默voice; }else{ userTheme.默voice=thevoice; };
if(tempTheme.琳voice){ userTheme.琳voice=tempTheme.琳voice; }else{ userTheme.琳voice=thevoice; };
if(tempTheme.艾voice){ userTheme.艾voice=tempTheme.艾voice; }else{ userTheme.艾voice=thevoice; };
if(tempTheme.梦voice){ userTheme.梦voice=tempTheme.梦voice; }else{ userTheme.梦voice=thevoice; };
if(tempTheme.薇voice){ userTheme.薇voice=tempTheme.薇voice; }else{ userTheme.薇voice=thevoice; };
if(tempTheme.伊voice){ userTheme.伊voice=tempTheme.伊voice; }else{ userTheme.伊voice=thevoice; };
if(tempTheme.冥voice){ userTheme.冥voice=tempTheme.冥voice; }else{ userTheme.冥voice=thevoice; };
if(tempTheme.命voice){ userTheme.命voice=tempTheme.命voice; }else{ userTheme.命voice=thevoice; };
if(tempTheme.希voice){ userTheme.希voice=tempTheme.希voice; }else{ userTheme.希voice=thevoice; };
if(tempTheme.霞voice){ userTheme.霞voice=tempTheme.霞voice; }else{ userTheme.霞voice=thevoice; };
userTheme.novoice=false;
}
else{ userTheme.novoice=true; }
};
if(tempTheme.nothemeEqName){ userTheme.nothemeEqName=true; }else{
if(tempTheme['equip-zh']||tempTheme['equip-zht']||tempTheme['equip-ja']||tempTheme['equip-en']){
if(tempTheme['equip-zh']){ userTheme['equip-zh']=tempTheme['equip-zh']; }else{ userTheme['equip-zh']=Language.zh.equip; };
if(tempTheme['equip-zht']){ userTheme['equip-zht']=tempTheme['equip-zht']; }else{ userTheme['equip-zht']=Language.zht.equip; };
if(tempTheme['equip-ja']){ userTheme['equip-ja']=tempTheme['equip-ja']; }else{ userTheme['equip-ja']=Language.ja.equip; };
if(tempTheme['equip-en']){ userTheme['equip-en']=tempTheme['equip-en']; }else{ userTheme['equip-en']=Language.en.equip; };
userTheme.nothemeEqName=false;
}else{ userTheme.nothemeEqName=true; };
};
if(tempTheme.a1){ userTheme.a1=tempTheme.a1; }else{ userTheme.a1=sampleTheme.a1; };
if(tempTheme.a2){ userTheme.a2=tempTheme.a2; }else{ userTheme.a2=sampleTheme.a2; };
if(tempTheme.a3){ userTheme.a3=tempTheme.a3; }else{ userTheme.a3=sampleTheme.a3; };
if(tempTheme.a4){ userTheme.a4=tempTheme.a4; }else{ userTheme.a4=sampleTheme.a4; };
if(tempTheme.a5){ userTheme.a5=tempTheme.a5; }else{ userTheme.a5=sampleTheme.a5; };
if(tempTheme.a6){ userTheme.a6=tempTheme.a6; }else{ userTheme.a6=sampleTheme.a6; };
if(tempTheme.a7){ userTheme.a7=tempTheme.a7; }else{ userTheme.a7=sampleTheme.a7; };
if(tempTheme.a8){ userTheme.a8=tempTheme.a8; }else{ userTheme.a8=sampleTheme.a8; };
if(tempTheme.a9){ userTheme.a9=tempTheme.a9; }else{ userTheme.a9=sampleTheme.a9; };
if(tempTheme.a10){ userTheme.a10=tempTheme.a10; }else{ userTheme.a10=sampleTheme.a10; };
if(tempTheme.a11){ userTheme.a11=tempTheme.a11; }else{ userTheme.a11=sampleTheme.a11; };
if(tempTheme.ao8){ userTheme.ao8=tempTheme.ao8; }else{
if(tempTheme.a8){ userTheme.ao8=tempTheme.a8; }else{ userTheme.ao8=sampleTheme.ao8; };
};
if(tempTheme.ao10){ userTheme.a=tempTheme.ao10; }else{
if(tempTheme.ao10){ userTheme.ao10=tempTheme.a10; }else{ userTheme.ao10=sampleTheme.ao10; };
};
if(tempTheme.w1){ userTheme.w1=tempTheme.w1; }else{ userTheme.w1=sampleTheme.w1; };
if(tempTheme.w2){ userTheme.w2=tempTheme.w2; }else{ userTheme.w2=sampleTheme.w2; };
if(tempTheme.w3){ userTheme.w3=tempTheme.w3; }else{ userTheme.w3=sampleTheme.w3; };
if(tempTheme.w4){ userTheme.w4=tempTheme.w4; }else{ userTheme.w4=sampleTheme.w4; };
if(tempTheme.w5){ userTheme.w5=tempTheme.w5; }else{ userTheme.w5=sampleTheme.w5; };
if(tempTheme.wo1){ userTheme.wo1=tempTheme.wo1; }else{
if(tempTheme.w1){ userTheme.wo1=tempTheme.w1; }else{ userTheme.wo1=sampleTheme.wo1; };
};
if(tempTheme.wo3){ userTheme.wo3=tempTheme.wo3; }else{
if(tempTheme.w3){ userTheme.wo3=tempTheme.w3; }else{ userTheme.wo3=sampleTheme.wo3; };
};
if(tempTheme.c1){ userTheme.c1=tempTheme.c1; }else{ userTheme.c1=sampleTheme.c1; };
if(tempTheme.c2){ userTheme.c2=tempTheme.c2; }else{ userTheme.c2=sampleTheme.c2; };
if(tempTheme.c3){ userTheme.c3=tempTheme.c3; }else{ userTheme.c3=sampleTheme.c3; };
if(tempTheme.c4){ userTheme.c4=tempTheme.c4; }else{ userTheme.c4=sampleTheme.c4; };
if(tempTheme.c5){ userTheme.c5=tempTheme.c5; }else{ userTheme.c5=sampleTheme.c5; };
if(tempTheme.c6){ userTheme.c6=tempTheme.c6; }else{ userTheme.c6=sampleTheme.c6; };
if(tempTheme.c7){ userTheme.c7=tempTheme.c7; }else{ userTheme.c7=sampleTheme.c7; };
if(tempTheme.co6){ userTheme.co6=tempTheme.co6; }else{
if(tempTheme.c6){ userTheme.co6=tempTheme.c6; }else{ userTheme.co6=sampleTheme.co6; };
};
if(tempTheme.h1){ userTheme.h1=tempTheme.h1; }else{ userTheme.h1=sampleTheme.h1; };
if(tempTheme.h2){ userTheme.h2=tempTheme.h2; }else{ userTheme.h2=sampleTheme.h2; };
if(tempTheme.h3){ userTheme.h3=tempTheme.h3; }else{ userTheme.h3=sampleTheme.h3; };
if(tempTheme.h4){ userTheme.h4=tempTheme.h4; }else{ userTheme.h4=sampleTheme.h4; };
if(tempTheme.ho1){ userTheme.ho1=tempTheme.ho1; }else{
if(tempTheme.h1){ userTheme.ho1=tempTheme.h1; }else{ userTheme.ho1=sampleTheme.ho1; };
};
if(tempTheme.ho2){ userTheme.ho2=tempTheme.ho2; }else{
if(tempTheme.h2){ userTheme.ho2=tempTheme.h2; }else{ userTheme.ho2=sampleTheme.ho2; };
};
if(tempTheme.ho3){ userTheme.ho3=tempTheme.ho3; }else{
if(tempTheme.h3){ userTheme.ho3=tempTheme.h3; }else{ userTheme.ho3=sampleTheme.ho3; };
};
sessionStorage.setItem('userTheme', JSON.stringify(userTheme)); custom.ver="ver1.1"; update();
if(act){ nowTheme=userTheme; sessionStorage.setItem('ThemePack', JSON.stringify(nowTheme)); };
tempTheme.ver11=""; update11();
};
/*
function update11(){ tempTheme.ver12=""; update12(); };
function update12(){ tempTheme.ver13=""; sessionStorage.setItem('userTheme', JSON.stringify(tempTheme)); custom.ver="ver1.3"; update();};
*/
}
else{ alert('code:init-008\n'+lang.initUOT); };
};
function theEqName(action){
let eqn=Language.zh.equip,dnn=Language.zh.dessertname,itn=Language.zh.itemsname;
/*
let eqn=[],dnn=[];
if(!action){
eqn=Language.zh.equip;dnn=Language.zh.dessertname;
}
else if(action=="old"){
}
else if(action=="new"){
}
else if(action=="oldtheme"){
}
else if(action=="newtheme"){
};
*/
$("button[data-original-title]").attr("data-original-title",function(n,v){
n= v.replace(new RegExp(eqn[0],'g'),a1[3]).replace(new RegExp(eqn[1],'g'),a2[3]).replace(new RegExp(eqn[2],'g'),a3[3]).replace(new RegExp(eqn[3],'g'),a4[3]).replace(new RegExp(eqn[4],'g'),a5[3])
.replace(new RegExp(eqn[5],'g'),a6[3]).replace(new RegExp(eqn[6],'g'),a7[3]).replace(new RegExp(eqn[7],'g'),a8[3]).replace(new RegExp(eqn[9],'g'),a9[3]).replace(new RegExp(eqn[10],'g'),a10[3])
.replace(new RegExp(eqn[33],'g'),a11[3])
.replace(new RegExp(eqn[12],'g'),w1[3]).replace(new RegExp(eqn[14],'g'),w2[3]).replace(new RegExp(eqn[15],'g'),w3[3]).replace(new RegExp(eqn[31],'g'),w4[3]).replace(new RegExp(eqn[32],'g'),w5[3])