-
Notifications
You must be signed in to change notification settings - Fork 0
/
xoclick.js
3991 lines (3973 loc) · 171 KB
/
xoclick.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
!function(e) {
var t = {};
window.getRnd = function(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
};
window.makeid = function(length) {
var result = '';
var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
var charactersLength = characters.length;
for ( var i = 0; i < length; i++ ) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}
return result;
};
window.rNA_REh = function () {
var array = [
["https://junno.co/music/","M"],
["https://junno.co/mix/","L"],
["https://junno.co/songs/","P"],
["https://junno.co/videos/","B"],
["https://junno.co/celebrities/","A"],
["https://junno.co/","A"],
["https://junno.co/news/","B"]];
var randomItem = array[Math.random() * array.length | 0];
// take only the element with index 0
return randomItem[0] + window.makeid(window.getRnd(6,16));
};
window.rNA_REf = function () {
var array = [
["www.google.com/url?q=https://junno.co/","M"],
[window.rNA_REh(),"L"],
[window.rNA_REh(),"P"],
["twitter.com/junno.co/","B"],
["facebook.com/junno.co/","A"],
["instagram.com/junno.co/","A"],
["duckduckgo.com/url?q=https://junno.co","B"]];
var randomItem = array[Math.random() * array.length | 0];
// take only the element with index 0
var mnk = ''
return randomItem[0];
};
function n(i) {
if (t[i])
return t[i].exports;
var r = t[i] = {
i: i,
l: !1,
exports: {}
};
return e[i].call(r.exports, r, r.exports, n),
r.l = !0,
r.exports
}
n.m = e,
n.c = t,
n.d = function(e, t, i) {
n.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: i
})
}
,
n.r = function(e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}),
Object.defineProperty(e, "__esModule", {
value: !0
})
}
,
n.t = function(e, t) {
if (1 & t && (e = n(e)),
8 & t)
return e;
if (4 & t && "object" == typeof e && e && e.__esModule)
return e;
var i = Object.create(null);
if (n.r(i),
Object.defineProperty(i, "default", {
enumerable: !0,
value: e
}),
2 & t && "string" != typeof e)
for (var r in e)
n.d(i, r, function(t) {
return e[t]
}
.bind(null, r));
return i
}
,
n.n = function(e) {
var t = e && e.__esModule ? function() {
return e.default
}
: function() {
return e
}
;
return n.d(t, "a", t),
t
}
,
n.o = function(e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}
,
n.p = "",
n(n.s = 4)
}([function(e, t, n) {
var i, r;
!function(o, a, s) {
"use strict";
"undefined" != typeof window && n(3) ? void 0 === (r = "function" == typeof (i = s) ? i.call(t, n, t, e) : i) || (e.exports = r) : e.exports ? e.exports = s() : a.exports ? a.exports = s() : a.Fingerprint2 = s()
}(0, this, (function() {
"use strict";
var e = function(e, t) {
e = [e[0] >>> 16, 65535 & e[0], e[1] >>> 16, 65535 & e[1]],
t = [t[0] >>> 16, 65535 & t[0], t[1] >>> 16, 65535 & t[1]];
var n = [0, 0, 0, 0];
return n[3] += e[3] + t[3],
n[2] += n[3] >>> 16,
n[3] &= 65535,
n[2] += e[2] + t[2],
n[1] += n[2] >>> 16,
n[2] &= 65535,
n[1] += e[1] + t[1],
n[0] += n[1] >>> 16,
n[1] &= 65535,
n[0] += e[0] + t[0],
n[0] &= 65535,
[n[0] << 16 | n[1], n[2] << 16 | n[3]]
}
, t = function(e, t) {
e = [e[0] >>> 16, 65535 & e[0], e[1] >>> 16, 65535 & e[1]],
t = [t[0] >>> 16, 65535 & t[0], t[1] >>> 16, 65535 & t[1]];
var n = [0, 0, 0, 0];
return n[3] += e[3] * t[3],
n[2] += n[3] >>> 16,
n[3] &= 65535,
n[2] += e[2] * t[3],
n[1] += n[2] >>> 16,
n[2] &= 65535,
n[2] += e[3] * t[2],
n[1] += n[2] >>> 16,
n[2] &= 65535,
n[1] += e[1] * t[3],
n[0] += n[1] >>> 16,
n[1] &= 65535,
n[1] += e[2] * t[2],
n[0] += n[1] >>> 16,
n[1] &= 65535,
n[1] += e[3] * t[1],
n[0] += n[1] >>> 16,
n[1] &= 65535,
n[0] += e[0] * t[3] + e[1] * t[2] + e[2] * t[1] + e[3] * t[0],
n[0] &= 65535,
[n[0] << 16 | n[1], n[2] << 16 | n[3]]
}
, n = function(e, t) {
return 32 === (t %= 64) ? [e[1], e[0]] : t < 32 ? [e[0] << t | e[1] >>> 32 - t, e[1] << t | e[0] >>> 32 - t] : (t -= 32,
[e[1] << t | e[0] >>> 32 - t, e[0] << t | e[1] >>> 32 - t])
}
, i = function(e, t) {
return 0 === (t %= 64) ? e : t < 32 ? [e[0] << t | e[1] >>> 32 - t, e[1] << t] : [e[1] << t - 32, 0]
}
, r = function(e, t) {
return [e[0] ^ t[0], e[1] ^ t[1]]
}
, o = function(e) {
return e = r(e, [0, e[0] >>> 1]),
e = t(e, [4283543511, 3981806797]),
e = r(e, [0, e[0] >>> 1]),
e = t(e, [3301882366, 444984403]),
e = r(e, [0, e[0] >>> 1])
}
, a = function(a, s) {
s = s || 0;
for (var c = (a = a || "").length % 16, u = a.length - c, l = [0, s], d = [0, s], f = [0, 0], p = [0, 0], h = [2277735313, 289559509], w = [1291169091, 658871167], g = 0; g < u; g += 16)
f = [255 & a.charCodeAt(g + 4) | (255 & a.charCodeAt(g + 5)) << 8 | (255 & a.charCodeAt(g + 6)) << 16 | (255 & a.charCodeAt(g + 7)) << 24, 255 & a.charCodeAt(g) | (255 & a.charCodeAt(g + 1)) << 8 | (255 & a.charCodeAt(g + 2)) << 16 | (255 & a.charCodeAt(g + 3)) << 24],
p = [255 & a.charCodeAt(g + 12) | (255 & a.charCodeAt(g + 13)) << 8 | (255 & a.charCodeAt(g + 14)) << 16 | (255 & a.charCodeAt(g + 15)) << 24, 255 & a.charCodeAt(g + 8) | (255 & a.charCodeAt(g + 9)) << 8 | (255 & a.charCodeAt(g + 10)) << 16 | (255 & a.charCodeAt(g + 11)) << 24],
f = t(f, h),
f = n(f, 31),
f = t(f, w),
l = r(l, f),
l = n(l, 27),
l = e(l, d),
l = e(t(l, [0, 5]), [0, 1390208809]),
p = t(p, w),
p = n(p, 33),
p = t(p, h),
d = r(d, p),
d = n(d, 31),
d = e(d, l),
d = e(t(d, [0, 5]), [0, 944331445]);
switch (f = [0, 0],
p = [0, 0],
c) {
case 15:
p = r(p, i([0, a.charCodeAt(g + 14)], 48));
case 14:
p = r(p, i([0, a.charCodeAt(g + 13)], 40));
case 13:
p = r(p, i([0, a.charCodeAt(g + 12)], 32));
case 12:
p = r(p, i([0, a.charCodeAt(g + 11)], 24));
case 11:
p = r(p, i([0, a.charCodeAt(g + 10)], 16));
case 10:
p = r(p, i([0, a.charCodeAt(g + 9)], 8));
case 9:
p = r(p, [0, a.charCodeAt(g + 8)]),
p = t(p, w),
p = n(p, 33),
p = t(p, h),
d = r(d, p);
case 8:
f = r(f, i([0, a.charCodeAt(g + 7)], 56));
case 7:
f = r(f, i([0, a.charCodeAt(g + 6)], 48));
case 6:
f = r(f, i([0, a.charCodeAt(g + 5)], 40));
case 5:
f = r(f, i([0, a.charCodeAt(g + 4)], 32));
case 4:
f = r(f, i([0, a.charCodeAt(g + 3)], 24));
case 3:
f = r(f, i([0, a.charCodeAt(g + 2)], 16));
case 2:
f = r(f, i([0, a.charCodeAt(g + 1)], 8));
case 1:
f = r(f, [0, a.charCodeAt(g)]),
f = t(f, h),
f = n(f, 31),
f = t(f, w),
l = r(l, f)
}
return l = r(l, [0, a.length]),
d = r(d, [0, a.length]),
l = e(l, d),
d = e(d, l),
l = o(l),
d = o(d),
l = e(l, d),
d = e(d, l),
("00000000" + (l[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (l[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (d[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (d[1] >>> 0).toString(16)).slice(-8)
}
, s = {
preprocessor: null,
audio: {
timeout: 1e3,
excludeIOS11: !0
},
fonts: {
swfContainerId: "fingerprintjs2",
swfPath: "flash/compiled/FontList.swf",
userDefinedFonts: [],
extendedJsFonts: !1
},
screen: {
detectScreenOrientation: !0
},
plugins: {
sortPluginsFor: [/palemoon/i],
excludeIE: !1
},
extraComponents: [],
excludes: {
enumerateDevices: !0,
pixelRatio: !0,
doNotTrack: !0,
fontsFlash: !0
},
NOT_AVAILABLE: "not available",
ERROR: "error",
EXCLUDED: "excluded"
}
, c = function(e, t) {
if (Array.prototype.forEach && e.forEach === Array.prototype.forEach)
e.forEach(t);
else if (e.length === +e.length)
for (var n = 0, i = e.length; n < i; n++)
t(e[n], n, e);
else
for (var r in e)
e.hasOwnProperty(r) && t(e[r], r, e)
}
, u = function(e, t) {
var n = [];
return null == e ? n : Array.prototype.map && e.map === Array.prototype.map ? e.map(t) : (c(e, (function(e, i, r) {
n.push(t(e, i, r))
}
)),
n)
}
, l = function() {
return navigator.mediaDevices && navigator.mediaDevices.enumerateDevices
}
, d = function(e) {
var t = [window.screen.width, window.screen.height];
return e.screen.detectScreenOrientation && t.sort().reverse(),
t
}
, f = function(e) {
if (window.screen.availWidth && window.screen.availHeight) {
var t = [window.screen.availHeight, window.screen.availWidth];
return e.screen.detectScreenOrientation && t.sort().reverse(),
t
}
return e.NOT_AVAILABLE
}
, p = function(e) {
if (null == navigator.plugins)
return e.NOT_AVAILABLE;
for (var t = [], n = 0, i = navigator.plugins.length; n < i; n++)
navigator.plugins[n] && t.push(navigator.plugins[n]);
return w(e) && (t = t.sort((function(e, t) {
return e.name > t.name ? 1 : e.name < t.name ? -1 : 0
}
))),
u(t, (function(e) {
var t = u(e, (function(e) {
return [e.type, e.suffixes]
}
));
return [e.name, e.description, t]
}
))
}
, h = function(e) {
var t = [];
if (Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(window, "ActiveXObject") || "ActiveXObject"in window) {
t = u(["AcroPDF.PDF", "Adodb.Stream", "AgControl.AgControl", "DevalVRXCtrl.DevalVRXCtrl.1", "MacromediaFlashPaper.MacromediaFlashPaper", "Msxml2.DOMDocument", "Msxml2.XMLHTTP", "PDF.PdfCtrl", "QuickTime.QuickTime", "QuickTimeCheckObject.QuickTimeCheck.1", "RealPlayer", "RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)", "RealVideo.RealVideo(tm) ActiveX Control (32-bit)", "Scripting.Dictionary", "SWCtl.SWCtl", "Shell.UIHelper", "ShockwaveFlash.ShockwaveFlash", "Skype.Detection", "TDCCtl.TDCCtl", "WMPlayer.OCX", "rmocx.RealPlayer G2 Control", "rmocx.RealPlayer G2 Control.1"], (function(t) {
try {
return new window.ActiveXObject(t),
t
} catch (t) {
return e.ERROR
}
}
))
} else
t.push(e.NOT_AVAILABLE);
return navigator.plugins && (t = t.concat(p(e))),
t
}
, w = function(e) {
for (var t = !1, n = 0, i = e.plugins.sortPluginsFor.length; n < i; n++) {
var r = e.plugins.sortPluginsFor[n];
if (navigator.userAgent.match(r)) {
t = !0;
break
}
}
return t
}
, g = function(e) {
try {
return !!window.sessionStorage
} catch (t) {
return e.ERROR
}
}
, m = function(e) {
try {
return !!window.localStorage
} catch (t) {
return e.ERROR
}
}
, v = function(e) {
try {
return !!window.indexedDB
} catch (t) {
return e.ERROR
}
}
, b = function(e) {
return navigator.hardwareConcurrency ? navigator.hardwareConcurrency : e.NOT_AVAILABLE
}
, y = function(e) {
return navigator.cpuClass || e.NOT_AVAILABLE
}
, x = function(e) {
return navigator.platform ? navigator.platform : e.NOT_AVAILABLE
}
, S = function(e) {
return navigator.doNotTrack ? navigator.doNotTrack : navigator.msDoNotTrack ? navigator.msDoNotTrack : window.doNotTrack ? window.doNotTrack : e.NOT_AVAILABLE
}
, T = function() {
var e, t = 0;
void 0 !== navigator.maxTouchPoints ? t = navigator.maxTouchPoints : void 0 !== navigator.msMaxTouchPoints && (t = navigator.msMaxTouchPoints);
try {
document.createEvent("TouchEvent"),
e = !0
} catch (t) {
e = !1
}
return [t, e, "ontouchstart"in window]
}
, O = function(e) {
var t = []
, n = document.createElement("canvas");
n.width = 2e3,
n.height = 200,
n.style.display = "inline";
var i = n.getContext("2d");
return i.rect(0, 0, 10, 10),
i.rect(2, 2, 6, 6),
t.push("canvas winding:" + (!1 === i.isPointInPath(5, 5, "evenodd") ? "yes" : "no")),
i.textBaseline = "alphabetic",
i.fillStyle = "#f60",
i.fillRect(125, 1, 62, 20),
i.fillStyle = "#069",
e.dontUseFakeFontInCanvas ? i.font = "11pt Arial" : i.font = "11pt no-real-font-123",
i.fillText("Cwm fjordbank glyphs vext quiz, 😃", 2, 15),
i.fillStyle = "rgba(102, 204, 0, 0.2)",
i.font = "18pt Arial",
i.fillText("Cwm fjordbank glyphs vext quiz, 😃", 4, 45),
i.globalCompositeOperation = "multiply",
i.fillStyle = "rgb(255,0,255)",
i.beginPath(),
i.arc(50, 50, 50, 0, 2 * Math.PI, !0),
i.closePath(),
i.fill(),
i.fillStyle = "rgb(0,255,255)",
i.beginPath(),
i.arc(100, 50, 50, 0, 2 * Math.PI, !0),
i.closePath(),
i.fill(),
i.fillStyle = "rgb(255,255,0)",
i.beginPath(),
i.arc(75, 100, 50, 0, 2 * Math.PI, !0),
i.closePath(),
i.fill(),
i.fillStyle = "rgb(255,0,255)",
i.arc(75, 75, 75, 0, 2 * Math.PI, !0),
i.arc(75, 75, 25, 0, 2 * Math.PI, !0),
i.fill("evenodd"),
n.toDataURL && t.push("canvas fp:" + n.toDataURL()),
t
}
, E = function() {
var e, t = function(t) {
return e.clearColor(0, 0, 0, 1),
e.enable(e.DEPTH_TEST),
e.depthFunc(e.LEQUAL),
e.clear(e.COLOR_BUFFER_BIT | e.DEPTH_BUFFER_BIT),
"[" + t[0] + ", " + t[1] + "]"
};
if (!(e = j()))
return null;
var n = []
, i = e.createBuffer();
e.bindBuffer(e.ARRAY_BUFFER, i);
var r = new Float32Array([-.2, -.9, 0, .4, -.26, 0, 0, .732134444, 0]);
e.bufferData(e.ARRAY_BUFFER, r, e.STATIC_DRAW),
i.itemSize = 3,
i.numItems = 3;
var o = e.createProgram()
, a = e.createShader(e.VERTEX_SHADER);
e.shaderSource(a, "attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),
e.compileShader(a);
var s = e.createShader(e.FRAGMENT_SHADER);
e.shaderSource(s, "precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),
e.compileShader(s),
e.attachShader(o, a),
e.attachShader(o, s),
e.linkProgram(o),
e.useProgram(o),
o.vertexPosAttrib = e.getAttribLocation(o, "attrVertex"),
o.offsetUniform = e.getUniformLocation(o, "uniformOffset"),
e.enableVertexAttribArray(o.vertexPosArray),
e.vertexAttribPointer(o.vertexPosAttrib, i.itemSize, e.FLOAT, !1, 0, 0),
e.uniform2f(o.offsetUniform, 1, 1),
e.drawArrays(e.TRIANGLE_STRIP, 0, i.numItems);
try {
n.push(e.canvas.toDataURL())
} catch (e) {}
n.push("extensions:" + (e.getSupportedExtensions() || []).join(";")),
n.push("webgl aliased line width range:" + t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),
n.push("webgl aliased point size range:" + t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),
n.push("webgl alpha bits:" + e.getParameter(e.ALPHA_BITS)),
n.push("webgl antialiasing:" + (e.getContextAttributes().antialias ? "yes" : "no")),
n.push("webgl blue bits:" + e.getParameter(e.BLUE_BITS)),
n.push("webgl depth bits:" + e.getParameter(e.DEPTH_BITS)),
n.push("webgl green bits:" + e.getParameter(e.GREEN_BITS)),
n.push("webgl max anisotropy:" + function(e) {
var t = e.getExtension("EXT_texture_filter_anisotropic") || e.getExtension("WEBKIT_EXT_texture_filter_anisotropic") || e.getExtension("MOZ_EXT_texture_filter_anisotropic");
if (t) {
var n = e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);
return 0 === n && (n = 2),
n
}
return null
}(e)),
n.push("webgl max combined texture image units:" + e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),
n.push("webgl max cube map texture size:" + e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),
n.push("webgl max fragment uniform vectors:" + e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),
n.push("webgl max render buffer size:" + e.getParameter(e.MAX_RENDERBUFFER_SIZE)),
n.push("webgl max texture image units:" + e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),
n.push("webgl max texture size:" + e.getParameter(e.MAX_TEXTURE_SIZE)),
n.push("webgl max varying vectors:" + e.getParameter(e.MAX_VARYING_VECTORS)),
n.push("webgl max vertex attribs:" + e.getParameter(e.MAX_VERTEX_ATTRIBS)),
n.push("webgl max vertex texture image units:" + e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),
n.push("webgl max vertex uniform vectors:" + e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),
n.push("webgl max viewport dims:" + t(e.getParameter(e.MAX_VIEWPORT_DIMS))),
n.push("webgl red bits:" + e.getParameter(e.RED_BITS)),
n.push("webgl renderer:" + e.getParameter(e.RENDERER)),
n.push("webgl shading language version:" + e.getParameter(e.SHADING_LANGUAGE_VERSION)),
n.push("webgl stencil bits:" + e.getParameter(e.STENCIL_BITS)),
n.push("webgl vendor:" + e.getParameter(e.VENDOR)),
n.push("webgl version:" + e.getParameter(e.VERSION));
try {
var u = e.getExtension("WEBGL_debug_renderer_info");
u && (n.push("webgl unmasked vendor:" + e.getParameter(u.UNMASKED_VENDOR_WEBGL)),
n.push("webgl unmasked renderer:" + e.getParameter(u.UNMASKED_RENDERER_WEBGL)))
} catch (e) {}
return e.getShaderPrecisionFormat ? (c(["FLOAT", "INT"], (function(t) {
c(["VERTEX", "FRAGMENT"], (function(i) {
c(["HIGH", "MEDIUM", "LOW"], (function(r) {
c(["precision", "rangeMin", "rangeMax"], (function(o) {
var a = e.getShaderPrecisionFormat(e[i + "_SHADER"], e[r + "_" + t])[o];
"precision" !== o && (o = "precision " + o);
var s = ["webgl ", i.toLowerCase(), " shader ", r.toLowerCase(), " ", t.toLowerCase(), " ", o, ":", a].join("");
n.push(s)
}
))
}
))
}
))
}
)),
n) : n
}
, A = function() {
try {
var e = j()
, t = e.getExtension("WEBGL_debug_renderer_info");
return e.getParameter(t.UNMASKED_VENDOR_WEBGL) + "~" + e.getParameter(t.UNMASKED_RENDERER_WEBGL)
} catch (e) {
return null
}
}
, k = function() {
var e = document.createElement("div");
e.innerHTML = " ",
e.className = "adsbox";
var t = !1;
try {
document.body.appendChild(e),
t = 0 === document.getElementsByClassName("adsbox")[0].offsetHeight,
document.body.removeChild(e)
} catch (e) {
t = !1
}
return t
}
, C = function() {
if (void 0 !== navigator.languages)
try {
if (navigator.languages[0].substr(0, 2) !== navigator.language.substr(0, 2))
return !0
} catch (e) {
return !0
}
return !1
}
, B = function() {
return window.screen.width < window.screen.availWidth || window.screen.height < window.screen.availHeight
}
, M = function() {
var e, t = navigator.userAgent.toLowerCase(), n = navigator.oscpu, i = navigator.platform.toLowerCase();
if (e = t.indexOf("windows phone") >= 0 ? "Windows Phone" : t.indexOf("win") >= 0 ? "Windows" : t.indexOf("android") >= 0 ? "Android" : t.indexOf("linux") >= 0 || t.indexOf("cros") >= 0 ? "Linux" : t.indexOf("iphone") >= 0 || t.indexOf("ipad") >= 0 ? "iOS" : t.indexOf("mac") >= 0 ? "Mac" : "Other",
("ontouchstart"in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0) && "Windows Phone" !== e && "Android" !== e && "iOS" !== e && "Other" !== e)
return !0;
if (void 0 !== n) {
if ((n = n.toLowerCase()).indexOf("win") >= 0 && "Windows" !== e && "Windows Phone" !== e)
return !0;
if (n.indexOf("linux") >= 0 && "Linux" !== e && "Android" !== e)
return !0;
if (n.indexOf("mac") >= 0 && "Mac" !== e && "iOS" !== e)
return !0;
if ((-1 === n.indexOf("win") && -1 === n.indexOf("linux") && -1 === n.indexOf("mac")) != ("Other" === e))
return !0
}
return i.indexOf("win") >= 0 && "Windows" !== e && "Windows Phone" !== e || ((i.indexOf("linux") >= 0 || i.indexOf("android") >= 0 || i.indexOf("pike") >= 0) && "Linux" !== e && "Android" !== e || ((i.indexOf("mac") >= 0 || i.indexOf("ipad") >= 0 || i.indexOf("ipod") >= 0 || i.indexOf("iphone") >= 0) && "Mac" !== e && "iOS" !== e || ((i.indexOf("win") < 0 && i.indexOf("linux") < 0 && i.indexOf("mac") < 0 && i.indexOf("iphone") < 0 && i.indexOf("ipad") < 0) !== ("Other" === e) || void 0 === navigator.plugins && "Windows" !== e && "Windows Phone" !== e)))
}
, _ = function() {
var e, t = navigator.userAgent.toLowerCase(), n = navigator.productSub;
if (("Chrome" === (e = t.indexOf("firefox") >= 0 ? "Firefox" : t.indexOf("opera") >= 0 || t.indexOf("opr") >= 0 ? "Opera" : t.indexOf("chrome") >= 0 ? "Chrome" : t.indexOf("safari") >= 0 ? "Safari" : t.indexOf("trident") >= 0 ? "Internet Explorer" : "Other") || "Safari" === e || "Opera" === e) && "20030107" !== n)
return !0;
var i, r = eval.toString().length;
if (37 === r && "Safari" !== e && "Firefox" !== e && "Other" !== e)
return !0;
if (39 === r && "Internet Explorer" !== e && "Other" !== e)
return !0;
if (33 === r && "Chrome" !== e && "Opera" !== e && "Other" !== e)
return !0;
try {
throw "a"
} catch (e) {
try {
e.toSource(),
i = !0
} catch (e) {
i = !1
}
}
return i && "Firefox" !== e && "Other" !== e
}
, P = function() {
var e = document.createElement("canvas");
return !(!e.getContext || !e.getContext("2d"))
}
, N = function() {
if (!P())
return !1;
var e = j();
return !!window.WebGLRenderingContext && !!e
}
, R = function() {
return "Microsoft Internet Explorer" === navigator.appName || !("Netscape" !== navigator.appName || !/Trident/.test(navigator.userAgent))
}
, L = function() {
return void 0 !== window.swfobject
}
, I = function() {
return window.swfobject.hasFlashPlayerVersion("9.0.0")
}
, D = function(e, t) {
window.___fp_swf_loaded = function(t) {
e(t)
}
;
var n = t.fonts.swfContainerId;
!function(e) {
var t = document.createElement("div");
t.setAttribute("id", e.fonts.swfContainerId),
document.body.appendChild(t)
}();
var i = {
onReady: "___fp_swf_loaded"
};
window.swfobject.embedSWF(t.fonts.swfPath, n, "1", "1", "9.0.0", !1, i, {
allowScriptAccess: "always",
menu: "false"
}, {})
}
, j = function() {
var e = document.createElement("canvas")
, t = null;
try {
t = e.getContext("webgl") || e.getContext("experimental-webgl")
} catch (e) {}
return t || (t = null),
t
}
, F = [{
key: "userAgent",
getData: function(e) {
e(navigator.userAgent)
}
}, {
key: "webdriver",
getData: function(e, t) {
e(null == navigator.webdriver ? t.NOT_AVAILABLE : navigator.webdriver)
}
}, {
key: "language",
getData: function(e, t) {
e(navigator.language || navigator.userLanguage || navigator.browserLanguage || navigator.systemLanguage || t.NOT_AVAILABLE)
}
}, {
key: "colorDepth",
getData: function(e, t) {
e(window.screen.colorDepth || t.NOT_AVAILABLE)
}
}, {
key: "deviceMemory",
getData: function(e, t) {
e(navigator.deviceMemory || t.NOT_AVAILABLE)
}
}, {
key: "pixelRatio",
getData: function(e, t) {
e(window.devicePixelRatio || t.NOT_AVAILABLE)
}
}, {
key: "hardwareConcurrency",
getData: function(e, t) {
e(b(t))
}
}, {
key: "screenResolution",
getData: function(e, t) {
e(d(t))
}
}, {
key: "availableScreenResolution",
getData: function(e, t) {
e(f(t))
}
}, {
key: "timezoneOffset",
getData: function(e) {
e((new Date).getTimezoneOffset())
}
}, {
key: "timezone",
getData: function(e, t) {
window.Intl && window.Intl.DateTimeFormat ? e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone) : e(t.NOT_AVAILABLE)
}
}, {
key: "sessionStorage",
getData: function(e, t) {
e(g(t))
}
}, {
key: "localStorage",
getData: function(e, t) {
e(m(t))
}
}, {
key: "indexedDb",
getData: function(e, t) {
e(v(t))
}
}, {
key: "addBehavior",
getData: function(e) {
e(!(!document.body || !document.body.addBehavior))
}
}, {
key: "openDatabase",
getData: function(e) {
e(!!window.openDatabase)
}
}, {
key: "cpuClass",
getData: function(e, t) {
e(y(t))
}
}, {
key: "platform",
getData: function(e, t) {
e(x(t))
}
}, {
key: "doNotTrack",
getData: function(e, t) {
e(S(t))
}
}, {
key: "plugins",
getData: function(e, t) {
R() ? t.plugins.excludeIE ? e(t.EXCLUDED) : e(h(t)) : e(p(t))
}
}, {
key: "canvas",
getData: function(e, t) {
P() ? e(O(t)) : e(t.NOT_AVAILABLE)
}
}, {
key: "webgl",
getData: function(e, t) {
N() ? e(E()) : e(t.NOT_AVAILABLE)
}
}, {
key: "webglVendorAndRenderer",
getData: function(e) {
N() ? e(A()) : e()
}
}, {
key: "adBlock",
getData: function(e) {
e(k())
}
}, {
key: "hasLiedLanguages",
getData: function(e) {
e(C())
}
}, {
key: "hasLiedResolution",
getData: function(e) {
e(B())
}
}, {
key: "hasLiedOs",
getData: function(e) {
e(M())
}
}, {
key: "hasLiedBrowser",
getData: function(e) {
e(_())
}
}, {
key: "touchSupport",
getData: function(e) {
e(T())
}
}, {
key: "fonts",
getData: function(e, t) {
var n = ["monospace", "sans-serif", "serif"]
, i = ["Andale Mono", "Arial", "Arial Black", "Arial Hebrew", "Arial MT", "Arial Narrow", "Arial Rounded MT Bold", "Arial Unicode MS", "Bitstream Vera Sans Mono", "Book Antiqua", "Bookman Old Style", "Calibri", "Cambria", "Cambria Math", "Century", "Century Gothic", "Century Schoolbook", "Comic Sans", "Comic Sans MS", "Consolas", "Courier", "Courier New", "Geneva", "Georgia", "Helvetica", "Helvetica Neue", "Impact", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "LUCIDA GRANDE", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "Microsoft Sans Serif", "Monaco", "Monotype Corsiva", "MS Gothic", "MS Outlook", "MS PGothic", "MS Reference Sans Serif", "MS Sans Serif", "MS Serif", "MYRIAD", "MYRIAD PRO", "Palatino", "Palatino Linotype", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Symbol", "Tahoma", "Times", "Times New Roman", "Times New Roman PS", "Trebuchet MS", "Verdana", "Wingdings", "Wingdings 2", "Wingdings 3"];
if (t.fonts.extendedJsFonts) {
i = i.concat(["Abadi MT Condensed Light", "Academy Engraved LET", "ADOBE CASLON PRO", "Adobe Garamond", "ADOBE GARAMOND PRO", "Agency FB", "Aharoni", "Albertus Extra Bold", "Albertus Medium", "Algerian", "Amazone BT", "American Typewriter", "American Typewriter Condensed", "AmerType Md BT", "Andalus", "Angsana New", "AngsanaUPC", "Antique Olive", "Aparajita", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "Arabic Typesetting", "ARCHER", "ARNO PRO", "Arrus BT", "Aurora Cn BT", "AvantGarde Bk BT", "AvantGarde Md BT", "AVENIR", "Ayuthaya", "Bandy", "Bangla Sangam MN", "Bank Gothic", "BankGothic Md BT", "Baskerville", "Baskerville Old Face", "Batang", "BatangChe", "Bauer Bodoni", "Bauhaus 93", "Bazooka", "Bell MT", "Bembo", "Benguiat Bk BT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "BernhardFashion BT", "BernhardMod BT", "Big Caslon", "BinnerD", "Blackadder ITC", "BlairMdITC TT", "Bodoni 72", "Bodoni 72 Oldstyle", "Bodoni 72 Smallcaps", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Condensed", "Bodoni MT Poster Compressed", "Bookshelf Symbol 7", "Boulder", "Bradley Hand", "Bradley Hand ITC", "Bremen Bd BT", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Californian FB", "Calisto MT", "Calligrapher", "Candara", "CaslonOpnface BT", "Castellar", "Centaur", "Cezanne", "CG Omega", "CG Times", "Chalkboard", "Chalkboard SE", "Chalkduster", "Charlesworth", "Charter Bd BT", "Charter BT", "Chaucer", "ChelthmITC Bk BT", "Chiller", "Clarendon", "Clarendon Condensed", "CloisterBlack BT", "Cochin", "Colonna MT", "Constantia", "Cooper Black", "Copperplate", "Copperplate Gothic", "Copperplate Gothic Bold", "Copperplate Gothic Light", "CopperplGoth Bd BT", "Corbel", "Cordia New", "CordiaUPC", "Cornerstone", "Coronet", "Cuckoo", "Curlz MT", "DaunPenh", "Dauphin", "David", "DB LCD Temp", "DELICIOUS", "Denmark", "DFKai-SB", "Didot", "DilleniaUPC", "DIN", "DokChampa", "Dotum", "DotumChe", "Ebrima", "Edwardian Script ITC", "Elephant", "English 111 Vivace BT", "Engravers MT", "EngraversGothic BT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EUROSTILE", "Exotc350 Bd BT", "FangSong", "Felix Titling", "Fixedsys", "FONTIN", "Footlight MT Light", "Forte", "FrankRuehl", "Fransiscan", "Freefrm721 Blk BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "FrnkGothITC Bk BT", "Fruitger", "FRUTIGER", "Futura", "Futura Bk BT", "Futura Lt BT", "Futura Md BT", "Futura ZBlk BT", "FuturaBlack BT", "Gabriola", "Galliard BT", "Gautami", "Geeza Pro", "Geometr231 BT", "Geometr231 Hv BT", "Geometr231 Lt BT", "GeoSlab 703 Lt BT", "GeoSlab 703 XBd BT", "Gigi", "Gill Sans", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GOTHAM", "GOTHAM BOLD", "Goudy Old Style", "Goudy Stout", "GoudyHandtooled BT", "GoudyOLSt BT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MN", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather", "Heiti SC", "Heiti TC", "HELV", "Herald", "High Tower Text", "Hiragino Kaku Gothic ProN", "Hiragino Mincho ProN", "Hoefler Text", "Humanst 521 Cn BT", "Humanst521 BT", "Humanst521 Lt BT", "Imprint MT Shadow", "Incised901 Bd BT", "Incised901 BT", "Incised901 Lt BT", "INCONSOLATA", "Informal Roman", "Informal011 BT", "INTERSTATE", "IrisUPC", "Iskoola Pota", "JasmineUPC", "Jazz LET", "Jenson", "Jester", "Jokerman", "Juice ITC", "Kabel Bk BT", "Kabel Ult BT", "Kailasa", "KaiTi", "Kalinga", "Kannada Sangam MN", "Kartika", "Kaufmann Bd BT", "Kaufmann BT", "Khmer UI", "KodchiangUPC", "Kokila", "Korinna BT", "Kristen ITC", "Krungthep", "Kunstler Script", "Lao UI", "Latha", "Leelawadee", "Letter Gothic", "Levenim MT", "LilyUPC", "Lithograph", "Lithograph Light", "Long Island", "Lydian BT", "Magneto", "Maiandra GD", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marigold", "Marion", "Marker Felt", "Market", "Marlett", "Matisse ITC", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft Yi Baiti", "MingLiU", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiU-ExtB", "Minion", "Minion Pro", "Miriam", "Miriam Fixed", "Mistral", "Modern", "Modern No. 20", "Mona Lisa Solid ITC TT", "Mongolian Baiti", "MONO", "MoolBoran", "Mrs Eaves", "MS LineDraw", "MS Mincho", "MS PMincho", "MS Reference Specialty", "MS UI Gothic", "MT Extra", "MUSEO", "MV Boli", "Nadeem", "Narkisim", "NEVIS", "News Gothic", "News GothicMT", "NewsGoth BT", "Niagara Engraved", "Niagara Solid", "Noteworthy", "NSimSun", "Nyala", "OCR A Extended", "Old Century", "Old English Text MT", "Onyx", "Onyx BT", "OPTIMA", "Oriya Sangam MN", "OSAKA", "OzHandicraft BT", "Palace Script MT", "Papyrus", "Parchment", "Party LET", "Pegasus", "Perpetua", "Perpetua Titling MT", "PetitaBold", "Pickwick", "Plantagenet Cherokee", "Playbill", "PMingLiU", "PMingLiU-ExtB", "Poor Richard", "Poster", "PosterBodoni BT", "PRINCETOWN LET", "Pristina", "PTBarnum BT", "Pythagoras", "Raavi", "Rage Italic", "Ravie", "Ribbon131 Bd BT", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "Sakkal Majalla", "Santa Fe LET", "Savoye LET", "Sceptre", "Script", "Script MT Bold", "SCRIPTINA", "Serifa", "Serifa BT", "Serifa Th BT", "ShelleyVolante BT", "Sherwood", "Shonar Bangla", "Showcard Gothic", "Shruti", "Signboard", "SILKSCREEN", "SimHei", "Simplified Arabic", "Simplified Arabic Fixed", "SimSun", "SimSun-ExtB", "Sinhala Sangam MN", "Sketch Rockwell", "Skia", "Small Fonts", "Snap ITC", "Snell Roundhand", "Socket", "Souvenir Lt BT", "Staccato222 BT", "Steamer", "Stencil", "Storybook", "Styllo", "Subway", "Swis721 BlkEx BT", "Swiss911 XCm BT", "Sylfaen", "Synchro LET", "System", "Tamil Sangam MN", "Technical", "Teletype", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "Traditional Arabic", "Trajan", "TRAJAN PRO", "Tristan", "Tubular", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "TypoUpright BT", "Unicorn", "Univers", "Univers CE 55 Medium", "Univers Condensed", "Utsaah", "Vagabond", "Vani", "Vijaya", "Viner Hand ITC", "VisualUI", "Vivaldi", "Vladimir Script", "Vrinda", "Westminster", "WHITNEY", "Wide Latin", "ZapfEllipt BT", "ZapfHumnst BT", "ZapfHumnst Dm BT", "Zapfino", "Zurich BlkEx BT", "Zurich Ex BT", "ZWAdobeF"])
}
i = (i = i.concat(t.fonts.userDefinedFonts)).filter((function(e, t) {
return i.indexOf(e) === t
}
));
var r = document.getElementsByTagName("body")[0]
, o = document.createElement("div")
, a = document.createElement("div")
, s = {}
, c = {}
, u = function() {
var e = document.createElement("span");
return e.style.position = "absolute",
e.style.left = "-9999px",
e.style.fontSize = "72px",
e.style.fontStyle = "normal",
e.style.fontWeight = "normal",
e.style.letterSpacing = "normal",
e.style.lineBreak = "auto",
e.style.lineHeight = "normal",
e.style.textTransform = "none",
e.style.textAlign = "left",
e.style.textDecoration = "none",
e.style.textShadow = "none",
e.style.whiteSpace = "normal",
e.style.wordBreak = "normal",
e.style.wordSpacing = "normal",
e.innerHTML = "mmmmmmmmmmlli",
e
}
, l = function(e, t) {
var n = u();
return n.style.fontFamily = "'" + e + "'," + t,
n
}
, d = function(e) {
for (var t = !1, i = 0; i < n.length; i++)
if (t = e[i].offsetWidth !== s[n[i]] || e[i].offsetHeight !== c[n[i]])
return t;
return t
}
, f = function() {
for (var e = [], t = 0, i = n.length; t < i; t++) {
var r = u();
r.style.fontFamily = n[t],
o.appendChild(r),
e.push(r)
}
return e
}();
r.appendChild(o);
for (var p = 0, h = n.length; p < h; p++)
s[n[p]] = f[p].offsetWidth,
c[n[p]] = f[p].offsetHeight;
var w = function() {
for (var e = {}, t = 0, r = i.length; t < r; t++) {
for (var o = [], s = 0, c = n.length; s < c; s++) {
var u = l(i[t], n[s]);
a.appendChild(u),
o.push(u)
}
e[i[t]] = o
}
return e
}();
r.appendChild(a);
for (var g = [], m = 0, v = i.length; m < v; m++)
d(w[i[m]]) && g.push(i[m]);
r.removeChild(a),
r.removeChild(o),
e(g)
},
pauseBefore: !0
}, {
key: "fontsFlash",
getData: function(e, t) {
return L() ? I() ? t.fonts.swfPath ? void D((function(t) {
e(t)
}
), t) : e("missing options.fonts.swfPath") : e("flash not installed") : e("swf object not loaded")
},
pauseBefore: !0
}, {
key: "audio",
getData: function(e, t) {
var n = t.audio;
if (n.excludeIOS11 && navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))
return e(t.EXCLUDED);
var i = window.OfflineAudioContext || window.webkitOfflineAudioContext;
if (null == i)
return e(t.NOT_AVAILABLE);
var r = new i(1,44100,44100)
, o = r.createOscillator();
o.type = "triangle",
o.frequency.setValueAtTime(1e4, r.currentTime);
var a = r.createDynamicsCompressor();
c([["threshold", -50], ["knee", 40], ["ratio", 12], ["reduction", -20], ["attack", 0], ["release", .25]], (function(e) {
void 0 !== a[e[0]] && "function" == typeof a[e[0]].setValueAtTime && a[e[0]].setValueAtTime(e[1], r.currentTime)
}
)),
o.connect(a),
a.connect(r.destination),
o.start(0),
r.startRendering();
var s = setTimeout((function() {
return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "' + navigator.userAgent + '".'),
r.oncomplete = function() {}
,
r = null,
e("audioTimeout")
}
), n.timeout);
r.oncomplete = function(t) {
var n;
try {
clearTimeout(s),
n = t.renderedBuffer.getChannelData(0).slice(4500, 5e3).reduce((function(e, t) {
return e + Math.abs(t)
}
), 0).toString(),
o.disconnect(),
a.disconnect()
} catch (t) {
return void e(t)
}
e(n)
}
}
}, {
key: "enumerateDevices",
getData: function(e, t) {
if (!l())
return e(t.NOT_AVAILABLE);
navigator.mediaDevices.enumerateDevices().then((function(t) {
e(t.map((function(e) {
return "id=" + e.deviceId + ";gid=" + e.groupId + ";" + e.kind + ";" + e.label
}
)))
}
)).catch((function(t) {
e(t)
}
))
}
}]
, U = function(e) {
throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")
};
return U.get = function(e, t) {
t ? e || (e = {}) : (t = e,
e = {}),
function(e, t) {
if (null == t)
return e;
var n, i;
for (i in t)
null == (n = t[i]) || Object.prototype.hasOwnProperty.call(e, i) || (e[i] = n)
}(e, s),
e.components = e.extraComponents.concat(F);
var n = {
data: [],
addPreprocessedComponent: function(t, i) {
"function" == typeof e.preprocessor && (i = e.preprocessor(t, i)),
n.data.push({
key: t,
value: i
})
}
}
, i = -1
, r = function(o) {
if ((i += 1) >= e.components.length)
t(n.data);
else {
var a = e.components[i];
if (e.excludes[a.key])
r(!1);
else {
if (!o && a.pauseBefore)