1 |
|
2 | (function (QUnit, sinon, videojs) {
|
3 | 'use strict';
|
4 |
|
5 | QUnit = QUnit && QUnit.hasOwnProperty('default') ? QUnit['default'] : QUnit;
|
6 | sinon = sinon && sinon.hasOwnProperty('default') ? sinon['default'] : sinon;
|
7 | videojs = videojs && videojs.hasOwnProperty('default') ? videojs['default'] : videojs;
|
8 |
|
9 | var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
10 |
|
11 | var minDoc = {};
|
12 |
|
13 | var topLevel = typeof commonjsGlobal !== 'undefined' ? commonjsGlobal :
|
14 | typeof window !== 'undefined' ? window : {};
|
15 |
|
16 |
|
17 | var doccy;
|
18 |
|
19 | if (typeof document !== 'undefined') {
|
20 | doccy = document;
|
21 | } else {
|
22 | doccy = topLevel['__GLOBAL_DOCUMENT_CACHE@4'];
|
23 |
|
24 | if (!doccy) {
|
25 | doccy = topLevel['__GLOBAL_DOCUMENT_CACHE@4'] = minDoc;
|
26 | }
|
27 | }
|
28 |
|
29 | var document_1 = doccy;
|
30 |
|
31 | function _inheritsLoose(subClass, superClass) {
|
32 | subClass.prototype = Object.create(superClass.prototype);
|
33 | subClass.prototype.constructor = subClass;
|
34 | subClass.__proto__ = superClass;
|
35 | }
|
36 |
|
37 | function _assertThisInitialized(self) {
|
38 | if (self === void 0) {
|
39 | throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
40 | }
|
41 |
|
42 | return self;
|
43 | }
|
44 |
|
45 | var cov_d98odl54w = function () {
|
46 | var path = '/home/runner/work/videojs-max-quality-selector/videojs-max-quality-selector/src/pluginButton.js',
|
47 | hash = '277e24e18523106383922c76266ea101d49288b4',
|
48 | Function = function () {}.constructor,
|
49 | global = new Function('return this')(),
|
50 | gcv = '__coverage__',
|
51 | coverageData = {
|
52 | path: '/home/runner/work/videojs-max-quality-selector/videojs-max-quality-selector/src/pluginButton.js',
|
53 | statementMap: {
|
54 | '0': {
|
55 | start: {
|
56 | line: 3,
|
57 | column: 19
|
58 | },
|
59 | end: {
|
60 | line: 3,
|
61 | column: 53
|
62 | }
|
63 | },
|
64 | '1': {
|
65 | start: {
|
66 | line: 4,
|
67 | column: 17
|
68 | },
|
69 | end: {
|
70 | line: 4,
|
71 | column: 49
|
72 | }
|
73 | },
|
74 | '2': {
|
75 | start: {
|
76 | line: 5,
|
77 | column: 13
|
78 | },
|
79 | end: {
|
80 | line: 5,
|
81 | column: 41
|
82 | }
|
83 | },
|
84 | '3': {
|
85 | start: {
|
86 | line: 6,
|
87 | column: 12
|
88 | },
|
89 | end: {
|
90 | line: 6,
|
91 | column: 23
|
92 | }
|
93 | },
|
94 | '4': {
|
95 | start: {
|
96 | line: 9,
|
97 | column: 17
|
98 | },
|
99 | end: {
|
100 | line: 11,
|
101 | column: 1
|
102 | }
|
103 | },
|
104 | '5': {
|
105 | start: {
|
106 | line: 23,
|
107 | column: 4
|
108 | },
|
109 | end: {
|
110 | line: 23,
|
111 | column: 27
|
112 | }
|
113 | },
|
114 | '6': {
|
115 | start: {
|
116 | line: 25,
|
117 | column: 4
|
118 | },
|
119 | end: {
|
120 | line: 25,
|
121 | column: 59
|
122 | }
|
123 | },
|
124 | '7': {
|
125 | start: {
|
126 | line: 27,
|
127 | column: 4
|
128 | },
|
129 | end: {
|
130 | line: 27,
|
131 | column: 38
|
132 | }
|
133 | },
|
134 | '8': {
|
135 | start: {
|
136 | line: 29,
|
137 | column: 4
|
138 | },
|
139 | end: {
|
140 | line: 29,
|
141 | column: 20
|
142 | }
|
143 | },
|
144 | '9': {
|
145 | start: {
|
146 | line: 31,
|
147 | column: 4
|
148 | },
|
149 | end: {
|
150 | line: 31,
|
151 | column: 53
|
152 | }
|
153 | },
|
154 | '10': {
|
155 | start: {
|
156 | line: 35,
|
157 | column: 26
|
158 | },
|
159 | end: {
|
160 | line: 35,
|
161 | column: 66
|
162 | }
|
163 | },
|
164 | '11': {
|
165 | start: {
|
166 | line: 37,
|
167 | column: 4
|
168 | },
|
169 | end: {
|
170 | line: 37,
|
171 | column: 43
|
172 | }
|
173 | },
|
174 | '12': {
|
175 | start: {
|
176 | line: 41,
|
177 | column: 4
|
178 | },
|
179 | end: {
|
180 | line: 43,
|
181 | column: 5
|
182 | }
|
183 | },
|
184 | '13': {
|
185 | start: {
|
186 | line: 42,
|
187 | column: 6
|
188 | },
|
189 | end: {
|
190 | line: 42,
|
191 | column: 13
|
192 | }
|
193 | },
|
194 | '14': {
|
195 | start: {
|
196 | line: 45,
|
197 | column: 26
|
198 | },
|
199 | end: {
|
200 | line: 45,
|
201 | column: 66
|
202 | }
|
203 | },
|
204 | '15': {
|
205 | start: {
|
206 | line: 47,
|
207 | column: 4
|
208 | },
|
209 | end: {
|
210 | line: 47,
|
211 | column: 43
|
212 | }
|
213 | },
|
214 | '16': {
|
215 | start: {
|
216 | line: 51,
|
217 | column: 21
|
218 | },
|
219 | end: {
|
220 | line: 57,
|
221 | column: 6
|
222 | }
|
223 | },
|
224 | '17': {
|
225 | start: {
|
226 | line: 59,
|
227 | column: 21
|
228 | },
|
229 | end: {
|
230 | line: 59,
|
231 | column: 65
|
232 | }
|
233 | },
|
234 | '18': {
|
235 | start: {
|
236 | line: 61,
|
237 | column: 4
|
238 | },
|
239 | end: {
|
240 | line: 61,
|
241 | column: 62
|
242 | }
|
243 | },
|
244 | '19': {
|
245 | start: {
|
246 | line: 63,
|
247 | column: 4
|
248 | },
|
249 | end: {
|
250 | line: 63,
|
251 | column: 27
|
252 | }
|
253 | },
|
254 | '20': {
|
255 | start: {
|
256 | line: 67,
|
257 | column: 17
|
258 | },
|
259 | end: {
|
260 | line: 67,
|
261 | column: 61
|
262 | }
|
263 | },
|
264 | '21': {
|
265 | start: {
|
266 | line: 68,
|
267 | column: 26
|
268 | },
|
269 | end: {
|
270 | line: 68,
|
271 | column: 28
|
272 | }
|
273 | },
|
274 | '22': {
|
275 | start: {
|
276 | line: 69,
|
277 | column: 26
|
278 | },
|
279 | end: {
|
280 | line: 69,
|
281 | column: 28
|
282 | }
|
283 | },
|
284 | '23': {
|
285 | start: {
|
286 | line: 71,
|
287 | column: 4
|
288 | },
|
289 | end: {
|
290 | line: 101,
|
291 | column: 5
|
292 | }
|
293 | },
|
294 | '24': {
|
295 | start: {
|
296 | line: 72,
|
297 | column: 6
|
298 | },
|
299 | end: {
|
300 | line: 74,
|
301 | column: 7
|
302 | }
|
303 | },
|
304 | '25': {
|
305 | start: {
|
306 | line: 73,
|
307 | column: 8
|
308 | },
|
309 | end: {
|
310 | line: 73,
|
311 | column: 84
|
312 | }
|
313 | },
|
314 | '26': {
|
315 | start: {
|
316 | line: 76,
|
317 | column: 6
|
318 | },
|
319 | end: {
|
320 | line: 96,
|
321 | column: 7
|
322 | }
|
323 | },
|
324 | '27': {
|
325 | start: {
|
326 | line: 77,
|
327 | column: 24
|
328 | },
|
329 | end: {
|
330 | line: 77,
|
331 | column: 37
|
332 | }
|
333 | },
|
334 | '28': {
|
335 | start: {
|
336 | line: 79,
|
337 | column: 8
|
338 | },
|
339 | end: {
|
340 | line: 83,
|
341 | column: 9
|
342 | }
|
343 | },
|
344 | '29': {
|
345 | start: {
|
346 | line: 80,
|
347 | column: 10
|
348 | },
|
349 | end: {
|
350 | line: 80,
|
351 | column: 19
|
352 | }
|
353 | },
|
354 | '30': {
|
355 | start: {
|
356 | line: 82,
|
357 | column: 10
|
358 | },
|
359 | end: {
|
360 | line: 82,
|
361 | column: 47
|
362 | }
|
363 | },
|
364 | '31': {
|
365 | start: {
|
366 | line: 85,
|
367 | column: 8
|
368 | },
|
369 | end: {
|
370 | line: 89,
|
371 | column: 9
|
372 | }
|
373 | },
|
374 | '32': {
|
375 | start: {
|
376 | line: 86,
|
377 | column: 10
|
378 | },
|
379 | end: {
|
380 | line: 86,
|
381 | column: 19
|
382 | }
|
383 | },
|
384 | '33': {
|
385 | start: {
|
386 | line: 88,
|
387 | column: 10
|
388 | },
|
389 | end: {
|
390 | line: 88,
|
391 | column: 45
|
392 | }
|
393 | },
|
394 | '34': {
|
395 | start: {
|
396 | line: 91,
|
397 | column: 22
|
398 | },
|
399 | end: {
|
400 | line: 91,
|
401 | column: 37
|
402 | }
|
403 | },
|
404 | '35': {
|
405 | start: {
|
406 | line: 93,
|
407 | column: 8
|
408 | },
|
409 | end: {
|
410 | line: 93,
|
411 | column: 60
|
412 | }
|
413 | },
|
414 | '36': {
|
415 | start: {
|
416 | line: 95,
|
417 | column: 8
|
418 | },
|
419 | end: {
|
420 | line: 95,
|
421 | column: 99
|
422 | }
|
423 | },
|
424 | '37': {
|
425 | start: {
|
426 | line: 98,
|
427 | column: 6
|
428 | },
|
429 | end: {
|
430 | line: 100,
|
431 | column: 7
|
432 | }
|
433 | },
|
434 | '38': {
|
435 | start: {
|
436 | line: 99,
|
437 | column: 8
|
438 | },
|
439 | end: {
|
440 | line: 99,
|
441 | column: 60
|
442 | }
|
443 | },
|
444 | '39': {
|
445 | start: {
|
446 | line: 103,
|
447 | column: 4
|
448 | },
|
449 | end: {
|
450 | line: 103,
|
451 | column: 16
|
452 | }
|
453 | },
|
454 | '40': {
|
455 | start: {
|
456 | line: 107,
|
457 | column: 0
|
458 | },
|
459 | end: {
|
460 | line: 107,
|
461 | column: 64
|
462 | }
|
463 | }
|
464 | },
|
465 | fnMap: {
|
466 | '0': {
|
467 | name: '(anonymous_0)',
|
468 | decl: {
|
469 | start: {
|
470 | line: 21,
|
471 | column: 2
|
472 | },
|
473 | end: {
|
474 | line: 21,
|
475 | column: 3
|
476 | }
|
477 | },
|
478 | loc: {
|
479 | start: {
|
480 | line: 21,
|
481 | column: 31
|
482 | },
|
483 | end: {
|
484 | line: 32,
|
485 | column: 3
|
486 | }
|
487 | },
|
488 | line: 21
|
489 | },
|
490 | '1': {
|
491 | name: '(anonymous_1)',
|
492 | decl: {
|
493 | start: {
|
494 | line: 34,
|
495 | column: 2
|
496 | },
|
497 | end: {
|
498 | line: 34,
|
499 | column: 3
|
500 | }
|
501 | },
|
502 | loc: {
|
503 | start: {
|
504 | line: 34,
|
505 | column: 25
|
506 | },
|
507 | end: {
|
508 | line: 38,
|
509 | column: 3
|
510 | }
|
511 | },
|
512 | line: 34
|
513 | },
|
514 | '2': {
|
515 | name: '(anonymous_2)',
|
516 | decl: {
|
517 | start: {
|
518 | line: 40,
|
519 | column: 2
|
520 | },
|
521 | end: {
|
522 | line: 40,
|
523 | column: 3
|
524 | }
|
525 | },
|
526 | loc: {
|
527 | start: {
|
528 | line: 40,
|
529 | column: 27
|
530 | },
|
531 | end: {
|
532 | line: 48,
|
533 | column: 3
|
534 | }
|
535 | },
|
536 | line: 40
|
537 | },
|
538 | '3': {
|
539 | name: '(anonymous_3)',
|
540 | decl: {
|
541 | start: {
|
542 | line: 50,
|
543 | column: 2
|
544 | },
|
545 | end: {
|
546 | line: 50,
|
547 | column: 3
|
548 | }
|
549 | },
|
550 | loc: {
|
551 | start: {
|
552 | line: 50,
|
553 | column: 41
|
554 | },
|
555 | end: {
|
556 | line: 64,
|
557 | column: 3
|
558 | }
|
559 | },
|
560 | line: 50
|
561 | },
|
562 | '4': {
|
563 | name: '(anonymous_4)',
|
564 | decl: {
|
565 | start: {
|
566 | line: 66,
|
567 | column: 2
|
568 | },
|
569 | end: {
|
570 | line: 66,
|
571 | column: 3
|
572 | }
|
573 | },
|
574 | loc: {
|
575 | start: {
|
576 | line: 66,
|
577 | column: 15
|
578 | },
|
579 | end: {
|
580 | line: 104,
|
581 | column: 3
|
582 | }
|
583 | },
|
584 | line: 66
|
585 | }
|
586 | },
|
587 | branchMap: {
|
588 | '0': {
|
589 | loc: {
|
590 | start: {
|
591 | line: 41,
|
592 | column: 4
|
593 | },
|
594 | end: {
|
595 | line: 43,
|
596 | column: 5
|
597 | }
|
598 | },
|
599 | type: 'if',
|
600 | locations: [{
|
601 | start: {
|
602 | line: 41,
|
603 | column: 4
|
604 | },
|
605 | end: {
|
606 | line: 43,
|
607 | column: 5
|
608 | }
|
609 | }, {
|
610 | start: {
|
611 | line: 41,
|
612 | column: 4
|
613 | },
|
614 | end: {
|
615 | line: 43,
|
616 | column: 5
|
617 | }
|
618 | }],
|
619 | line: 41
|
620 | },
|
621 | '1': {
|
622 | loc: {
|
623 | start: {
|
624 | line: 71,
|
625 | column: 4
|
626 | },
|
627 | end: {
|
628 | line: 101,
|
629 | column: 5
|
630 | }
|
631 | },
|
632 | type: 'if',
|
633 | locations: [{
|
634 | start: {
|
635 | line: 71,
|
636 | column: 4
|
637 | },
|
638 | end: {
|
639 | line: 101,
|
640 | column: 5
|
641 | }
|
642 | }, {
|
643 | start: {
|
644 | line: 71,
|
645 | column: 4
|
646 | },
|
647 | end: {
|
648 | line: 101,
|
649 | column: 5
|
650 | }
|
651 | }],
|
652 | line: 71
|
653 | },
|
654 | '2': {
|
655 | loc: {
|
656 | start: {
|
657 | line: 72,
|
658 | column: 6
|
659 | },
|
660 | end: {
|
661 | line: 74,
|
662 | column: 7
|
663 | }
|
664 | },
|
665 | type: 'if',
|
666 | locations: [{
|
667 | start: {
|
668 | line: 72,
|
669 | column: 6
|
670 | },
|
671 | end: {
|
672 | line: 74,
|
673 | column: 7
|
674 | }
|
675 | }, {
|
676 | start: {
|
677 | line: 72,
|
678 | column: 6
|
679 | },
|
680 | end: {
|
681 | line: 74,
|
682 | column: 7
|
683 | }
|
684 | }],
|
685 | line: 72
|
686 | },
|
687 | '3': {
|
688 | loc: {
|
689 | start: {
|
690 | line: 72,
|
691 | column: 10
|
692 | },
|
693 | end: {
|
694 | line: 72,
|
695 | column: 67
|
696 | }
|
697 | },
|
698 | type: 'binary-expr',
|
699 | locations: [{
|
700 | start: {
|
701 | line: 72,
|
702 | column: 10
|
703 | },
|
704 | end: {
|
705 | line: 72,
|
706 | column: 31
|
707 | }
|
708 | }, {
|
709 | start: {
|
710 | line: 72,
|
711 | column: 35
|
712 | },
|
713 | end: {
|
714 | line: 72,
|
715 | column: 67
|
716 | }
|
717 | }],
|
718 | line: 72
|
719 | },
|
720 | '4': {
|
721 | loc: {
|
722 | start: {
|
723 | line: 79,
|
724 | column: 8
|
725 | },
|
726 | end: {
|
727 | line: 83,
|
728 | column: 9
|
729 | }
|
730 | },
|
731 | type: 'if',
|
732 | locations: [{
|
733 | start: {
|
734 | line: 79,
|
735 | column: 8
|
736 | },
|
737 | end: {
|
738 | line: 83,
|
739 | column: 9
|
740 | }
|
741 | }, {
|
742 | start: {
|
743 | line: 79,
|
744 | column: 8
|
745 | },
|
746 | end: {
|
747 | line: 83,
|
748 | column: 9
|
749 | }
|
750 | }],
|
751 | line: 79
|
752 | },
|
753 | '5': {
|
754 | loc: {
|
755 | start: {
|
756 | line: 79,
|
757 | column: 12
|
758 | },
|
759 | end: {
|
760 | line: 79,
|
761 | column: 92
|
762 | }
|
763 | },
|
764 | type: 'binary-expr',
|
765 | locations: [{
|
766 | start: {
|
767 | line: 79,
|
768 | column: 12
|
769 | },
|
770 | end: {
|
771 | line: 79,
|
772 | column: 48
|
773 | }
|
774 | }, {
|
775 | start: {
|
776 | line: 79,
|
777 | column: 52
|
778 | },
|
779 | end: {
|
780 | line: 79,
|
781 | column: 92
|
782 | }
|
783 | }],
|
784 | line: 79
|
785 | },
|
786 | '6': {
|
787 | loc: {
|
788 | start: {
|
789 | line: 85,
|
790 | column: 8
|
791 | },
|
792 | end: {
|
793 | line: 89,
|
794 | column: 9
|
795 | }
|
796 | },
|
797 | type: 'if',
|
798 | locations: [{
|
799 | start: {
|
800 | line: 85,
|
801 | column: 8
|
802 | },
|
803 | end: {
|
804 | line: 89,
|
805 | column: 9
|
806 | }
|
807 | }, {
|
808 | start: {
|
809 | line: 85,
|
810 | column: 8
|
811 | },
|
812 | end: {
|
813 | line: 89,
|
814 | column: 9
|
815 | }
|
816 | }],
|
817 | line: 85
|
818 | },
|
819 | '7': {
|
820 | loc: {
|
821 | start: {
|
822 | line: 85,
|
823 | column: 12
|
824 | },
|
825 | end: {
|
826 | line: 85,
|
827 | column: 96
|
828 | }
|
829 | },
|
830 | type: 'binary-expr',
|
831 | locations: [{
|
832 | start: {
|
833 | line: 85,
|
834 | column: 12
|
835 | },
|
836 | end: {
|
837 | line: 85,
|
838 | column: 54
|
839 | }
|
840 | }, {
|
841 | start: {
|
842 | line: 85,
|
843 | column: 58
|
844 | },
|
845 | end: {
|
846 | line: 85,
|
847 | column: 96
|
848 | }
|
849 | }],
|
850 | line: 85
|
851 | },
|
852 | '8': {
|
853 | loc: {
|
854 | start: {
|
855 | line: 93,
|
856 | column: 19
|
857 | },
|
858 | end: {
|
859 | line: 93,
|
860 | column: 59
|
861 | }
|
862 | },
|
863 | type: 'cond-expr',
|
864 | locations: [{
|
865 | start: {
|
866 | line: 93,
|
867 | column: 39
|
868 | },
|
869 | end: {
|
870 | line: 93,
|
871 | column: 54
|
872 | }
|
873 | }, {
|
874 | start: {
|
875 | line: 93,
|
876 | column: 57
|
877 | },
|
878 | end: {
|
879 | line: 93,
|
880 | column: 59
|
881 | }
|
882 | }],
|
883 | line: 93
|
884 | },
|
885 | '9': {
|
886 | loc: {
|
887 | start: {
|
888 | line: 98,
|
889 | column: 6
|
890 | },
|
891 | end: {
|
892 | line: 100,
|
893 | column: 7
|
894 | }
|
895 | },
|
896 | type: 'if',
|
897 | locations: [{
|
898 | start: {
|
899 | line: 98,
|
900 | column: 6
|
901 | },
|
902 | end: {
|
903 | line: 100,
|
904 | column: 7
|
905 | }
|
906 | }, {
|
907 | start: {
|
908 | line: 98,
|
909 | column: 6
|
910 | },
|
911 | end: {
|
912 | line: 100,
|
913 | column: 7
|
914 | }
|
915 | }],
|
916 | line: 98
|
917 | },
|
918 | '10': {
|
919 | loc: {
|
920 | start: {
|
921 | line: 98,
|
922 | column: 10
|
923 | },
|
924 | end: {
|
925 | line: 98,
|
926 | column: 80
|
927 | }
|
928 | },
|
929 | type: 'binary-expr',
|
930 | locations: [{
|
931 | start: {
|
932 | line: 98,
|
933 | column: 10
|
934 | },
|
935 | end: {
|
936 | line: 98,
|
937 | column: 49
|
938 | }
|
939 | }, {
|
940 | start: {
|
941 | line: 98,
|
942 | column: 53
|
943 | },
|
944 | end: {
|
945 | line: 98,
|
946 | column: 80
|
947 | }
|
948 | }],
|
949 | line: 98
|
950 | }
|
951 | },
|
952 | s: {
|
953 | '0': 0,
|
954 | '1': 0,
|
955 | '2': 0,
|
956 | '3': 0,
|
957 | '4': 0,
|
958 | '5': 0,
|
959 | '6': 0,
|
960 | '7': 0,
|
961 | '8': 0,
|
962 | '9': 0,
|
963 | '10': 0,
|
964 | '11': 0,
|
965 | '12': 0,
|
966 | '13': 0,
|
967 | '14': 0,
|
968 | '15': 0,
|
969 | '16': 0,
|
970 | '17': 0,
|
971 | '18': 0,
|
972 | '19': 0,
|
973 | '20': 0,
|
974 | '21': 0,
|
975 | '22': 0,
|
976 | '23': 0,
|
977 | '24': 0,
|
978 | '25': 0,
|
979 | '26': 0,
|
980 | '27': 0,
|
981 | '28': 0,
|
982 | '29': 0,
|
983 | '30': 0,
|
984 | '31': 0,
|
985 | '32': 0,
|
986 | '33': 0,
|
987 | '34': 0,
|
988 | '35': 0,
|
989 | '36': 0,
|
990 | '37': 0,
|
991 | '38': 0,
|
992 | '39': 0,
|
993 | '40': 0
|
994 | },
|
995 | f: {
|
996 | '0': 0,
|
997 | '1': 0,
|
998 | '2': 0,
|
999 | '3': 0,
|
1000 | '4': 0
|
1001 | },
|
1002 | b: {
|
1003 | '0': [0, 0],
|
1004 | '1': [0, 0],
|
1005 | '2': [0, 0],
|
1006 | '3': [0, 0],
|
1007 | '4': [0, 0],
|
1008 | '5': [0, 0],
|
1009 | '6': [0, 0],
|
1010 | '7': [0, 0],
|
1011 | '8': [0, 0],
|
1012 | '9': [0, 0],
|
1013 | '10': [0, 0]
|
1014 | },
|
1015 | _coverageSchema: '332fd63041d2c1bcb487cc26dd0d5f7d97098a6c'
|
1016 | },
|
1017 | coverage = global[gcv] || (global[gcv] = {});
|
1018 |
|
1019 | if (coverage[path] && coverage[path].hash === hash) {
|
1020 | return coverage[path];
|
1021 | }
|
1022 |
|
1023 | coverageData.hash = hash;
|
1024 | return coverage[path] = coverageData;
|
1025 | }();
|
1026 | var MenuButton = (cov_d98odl54w.s[0]++, videojs.getComponent('MenuButton'));
|
1027 | var MenuItem = (cov_d98odl54w.s[1]++, videojs.getComponent('MenuItem'));
|
1028 | var Menu = (cov_d98odl54w.s[2]++, videojs.getComponent('Menu'));
|
1029 | var Dom = (cov_d98odl54w.s[3]++, videojs.dom);
|
1030 | var defaults = (cov_d98odl54w.s[4]++, {
|
1031 | parent: null
|
1032 | });
|
1033 |
|
1034 | var MaxQualityButton =
|
1035 |
|
1036 | function (_MenuButton) {
|
1037 | _inheritsLoose(MaxQualityButton, _MenuButton);
|
1038 |
|
1039 | function MaxQualityButton(player, options) {
|
1040 | var _this;
|
1041 |
|
1042 | cov_d98odl54w.f[0]++;
|
1043 | cov_d98odl54w.s[5]++;
|
1044 | _this = _MenuButton.call(this, player, options) || this;
|
1045 | cov_d98odl54w.s[6]++;
|
1046 | _this.options = videojs.mergeOptions(defaults, options);
|
1047 | cov_d98odl54w.s[7]++;
|
1048 | _this.parent = _this.options.parent;
|
1049 | cov_d98odl54w.s[8]++;
|
1050 | _this.items = [];
|
1051 | cov_d98odl54w.s[9]++;
|
1052 |
|
1053 | _this.addClass('vjs-max-quality-selector-button');
|
1054 |
|
1055 | return _this;
|
1056 | }
|
1057 |
|
1058 | var _proto = MaxQualityButton.prototype;
|
1059 |
|
1060 | _proto.handleMenuItemClick = function handleMenuItemClick(e) {
|
1061 | cov_d98odl54w.f[1]++;
|
1062 | var selectedIndex = (cov_d98odl54w.s[10]++, parseInt(e.currentTarget.dataset.id, 10));
|
1063 | cov_d98odl54w.s[11]++;
|
1064 | this.parent.changeLevel(selectedIndex);
|
1065 | };
|
1066 |
|
1067 | _proto.handleSubmenuKeyPress = function handleSubmenuKeyPress(e) {
|
1068 | cov_d98odl54w.f[2]++;
|
1069 | cov_d98odl54w.s[12]++;
|
1070 |
|
1071 | if (e.currentTarget.dataset.id === undefined) {
|
1072 | cov_d98odl54w.b[0][0]++;
|
1073 | cov_d98odl54w.s[13]++;
|
1074 | return;
|
1075 | } else {
|
1076 | cov_d98odl54w.b[0][1]++;
|
1077 | }
|
1078 |
|
1079 | var selectedIndex = (cov_d98odl54w.s[14]++, parseInt(e.currentTarget.dataset.id, 10));
|
1080 | cov_d98odl54w.s[15]++;
|
1081 | this.parent.changeLevel(selectedIndex);
|
1082 | };
|
1083 |
|
1084 | _proto.createButton = function createButton(menu, cssClass, text, id) {
|
1085 | cov_d98odl54w.f[3]++;
|
1086 | var buttonEl = (cov_d98odl54w.s[16]++, Dom.createEl('li', {
|
1087 | className: cssClass,
|
1088 | innerHTML: text,
|
1089 | tabIndex: -1
|
1090 | }, {
|
1091 | 'data-id': id
|
1092 | }));
|
1093 | var menuItem = (cov_d98odl54w.s[17]++, new MenuItem(this.player_, {
|
1094 | el: buttonEl
|
1095 | }));
|
1096 | cov_d98odl54w.s[18]++;
|
1097 | menuItem.on('click', this.handleMenuItemClick.bind(this));
|
1098 | cov_d98odl54w.s[19]++;
|
1099 | menu.addItem(menuItem);
|
1100 | };
|
1101 |
|
1102 | _proto.createMenu = function createMenu() {
|
1103 | cov_d98odl54w.f[4]++;
|
1104 | var menu = (cov_d98odl54w.s[20]++, new Menu(this.player_, {
|
1105 | menuButton: this
|
1106 | }));
|
1107 | var uniqueEntries = (cov_d98odl54w.s[21]++, []);
|
1108 | var uniqueHeights = (cov_d98odl54w.s[22]++, []);
|
1109 | cov_d98odl54w.s[23]++;
|
1110 |
|
1111 | if (this.items) {
|
1112 | cov_d98odl54w.b[1][0]++;
|
1113 | cov_d98odl54w.s[24]++;
|
1114 |
|
1115 | if ((cov_d98odl54w.b[3][0]++, !this.parent.autoMode) && (cov_d98odl54w.b[3][1]++, !this.parent.options.disableAuto)) {
|
1116 | cov_d98odl54w.b[2][0]++;
|
1117 | cov_d98odl54w.s[25]++;
|
1118 | this.createButton(menu, 'vjs-menu-item', this.parent.options.autoLabel, -1);
|
1119 | } else {
|
1120 | cov_d98odl54w.b[2][1]++;
|
1121 | }
|
1122 |
|
1123 | cov_d98odl54w.s[26]++;
|
1124 |
|
1125 | for (var i = 0; i < this.items.length; i++) {
|
1126 | var quality = (cov_d98odl54w.s[27]++, this.items[i]);
|
1127 | cov_d98odl54w.s[28]++;
|
1128 |
|
1129 | if ((cov_d98odl54w.b[5][0]++, this.parent.options.filterDuplicates) && (cov_d98odl54w.b[5][1]++, uniqueEntries.includes(quality.uniqueId))) {
|
1130 | cov_d98odl54w.b[4][0]++;
|
1131 | cov_d98odl54w.s[29]++;
|
1132 | continue;
|
1133 | } else {
|
1134 | cov_d98odl54w.b[4][1]++;
|
1135 | cov_d98odl54w.s[30]++;
|
1136 | uniqueEntries.push(quality.uniqueId);
|
1137 | }
|
1138 |
|
1139 | cov_d98odl54w.s[31]++;
|
1140 |
|
1141 | if ((cov_d98odl54w.b[7][0]++, this.parent.options.filterDuplicateHeights) && (cov_d98odl54w.b[7][1]++, uniqueHeights.includes(quality.height))) {
|
1142 | cov_d98odl54w.b[6][0]++;
|
1143 | cov_d98odl54w.s[32]++;
|
1144 | continue;
|
1145 | } else {
|
1146 | cov_d98odl54w.b[6][1]++;
|
1147 | cov_d98odl54w.s[33]++;
|
1148 | uniqueHeights.push(quality.height);
|
1149 | }
|
1150 |
|
1151 | var elClass = (cov_d98odl54w.s[34]++, 'vjs-menu-item');
|
1152 | cov_d98odl54w.s[35]++;
|
1153 | elClass += quality.isCurrent ? (cov_d98odl54w.b[8][0]++, ' vjs-selected') : (cov_d98odl54w.b[8][1]++, '');
|
1154 | cov_d98odl54w.s[36]++;
|
1155 | this.createButton(menu, elClass, this.parent.getQualityDisplayString(quality), quality.id);
|
1156 | }
|
1157 |
|
1158 | cov_d98odl54w.s[37]++;
|
1159 |
|
1160 | if ((cov_d98odl54w.b[10][0]++, !this.parent.options.showSingleItemMenu) && (cov_d98odl54w.b[10][1]++, menu.children_.length === 1)) {
|
1161 | cov_d98odl54w.b[9][0]++;
|
1162 | cov_d98odl54w.s[38]++;
|
1163 | return new Menu(this.player_, {
|
1164 | menuButton: this
|
1165 | });
|
1166 | } else {
|
1167 | cov_d98odl54w.b[9][1]++;
|
1168 | }
|
1169 | } else {
|
1170 | cov_d98odl54w.b[1][1]++;
|
1171 | }
|
1172 |
|
1173 | cov_d98odl54w.s[39]++;
|
1174 | return menu;
|
1175 | };
|
1176 |
|
1177 | return MaxQualityButton;
|
1178 | }(MenuButton);
|
1179 |
|
1180 | cov_d98odl54w.s[40]++;
|
1181 | videojs.registerComponent('MaxQualityButton', MaxQualityButton);
|
1182 |
|
1183 | var version = "0.9.1";
|
1184 |
|
1185 | var cov_2aa72mhyaz = function () {
|
1186 | var path = '/home/runner/work/videojs-max-quality-selector/videojs-max-quality-selector/src/plugin.js',
|
1187 | hash = 'e81c61589335b8f07cff0173a9a24ba46af873a1',
|
1188 | Function = function () {}.constructor,
|
1189 | global = new Function('return this')(),
|
1190 | gcv = '__coverage__',
|
1191 | coverageData = {
|
1192 | path: '/home/runner/work/videojs-max-quality-selector/videojs-max-quality-selector/src/plugin.js',
|
1193 | statementMap: {
|
1194 | '0': {
|
1195 | start: {
|
1196 | line: 5,
|
1197 | column: 15
|
1198 | },
|
1199 | end: {
|
1200 | line: 5,
|
1201 | column: 42
|
1202 | }
|
1203 | },
|
1204 | '1': {
|
1205 | start: {
|
1206 | line: 12,
|
1207 | column: 17
|
1208 | },
|
1209 | end: {
|
1210 | line: 233,
|
1211 | column: 1
|
1212 | }
|
1213 | },
|
1214 | '2': {
|
1215 | start: {
|
1216 | line: 254,
|
1217 | column: 4
|
1218 | },
|
1219 | end: {
|
1220 | line: 254,
|
1221 | column: 18
|
1222 | }
|
1223 | },
|
1224 | '3': {
|
1225 | start: {
|
1226 | line: 256,
|
1227 | column: 4
|
1228 | },
|
1229 | end: {
|
1230 | line: 256,
|
1231 | column: 29
|
1232 | }
|
1233 | },
|
1234 | '4': {
|
1235 | start: {
|
1236 | line: 257,
|
1237 | column: 4
|
1238 | },
|
1239 | end: {
|
1240 | line: 257,
|
1241 | column: 59
|
1242 | }
|
1243 | },
|
1244 | '5': {
|
1245 | start: {
|
1246 | line: 259,
|
1247 | column: 4
|
1248 | },
|
1249 | end: {
|
1250 | line: 259,
|
1251 | column: 62
|
1252 | }
|
1253 | },
|
1254 | '6': {
|
1255 | start: {
|
1256 | line: 261,
|
1257 | column: 4
|
1258 | },
|
1259 | end: {
|
1260 | line: 261,
|
1261 | column: 25
|
1262 | }
|
1263 | },
|
1264 | '7': {
|
1265 | start: {
|
1266 | line: 262,
|
1267 | column: 4
|
1268 | },
|
1269 | end: {
|
1270 | line: 262,
|
1271 | column: 28
|
1272 | }
|
1273 | },
|
1274 | '8': {
|
1275 | start: {
|
1276 | line: 264,
|
1277 | column: 4
|
1278 | },
|
1279 | end: {
|
1280 | line: 264,
|
1281 | column: 67
|
1282 | }
|
1283 | },
|
1284 | '9': {
|
1285 | start: {
|
1286 | line: 266,
|
1287 | column: 4
|
1288 | },
|
1289 | end: {
|
1290 | line: 275,
|
1291 | column: 5
|
1292 | }
|
1293 | },
|
1294 | '10': {
|
1295 | start: {
|
1296 | line: 267,
|
1297 | column: 6
|
1298 | },
|
1299 | end: {
|
1300 | line: 267,
|
1301 | column: 52
|
1302 | }
|
1303 | },
|
1304 | '11': {
|
1305 | start: {
|
1306 | line: 269,
|
1307 | column: 6
|
1308 | },
|
1309 | end: {
|
1310 | line: 269,
|
1311 | column: 80
|
1312 | }
|
1313 | },
|
1314 | '12': {
|
1315 | start: {
|
1316 | line: 270,
|
1317 | column: 6
|
1318 | },
|
1319 | end: {
|
1320 | line: 270,
|
1321 | column: 65
|
1322 | }
|
1323 | },
|
1324 | '13': {
|
1325 | start: {
|
1326 | line: 272,
|
1327 | column: 26
|
1328 | },
|
1329 | end: {
|
1330 | line: 272,
|
1331 | column: 128
|
1332 | }
|
1333 | },
|
1334 | '14': {
|
1335 | start: {
|
1336 | line: 274,
|
1337 | column: 6
|
1338 | },
|
1339 | end: {
|
1340 | line: 274,
|
1341 | column: 98
|
1342 | }
|
1343 | },
|
1344 | '15': {
|
1345 | start: {
|
1346 | line: 277,
|
1347 | column: 4
|
1348 | },
|
1349 | end: {
|
1350 | line: 279,
|
1351 | column: 7
|
1352 | }
|
1353 | },
|
1354 | '16': {
|
1355 | start: {
|
1356 | line: 278,
|
1357 | column: 6
|
1358 | },
|
1359 | end: {
|
1360 | line: 278,
|
1361 | column: 55
|
1362 | }
|
1363 | },
|
1364 | '17': {
|
1365 | start: {
|
1366 | line: 286,
|
1367 | column: 17
|
1368 | },
|
1369 | end: {
|
1370 | line: 286,
|
1371 | column: 21
|
1372 | }
|
1373 | },
|
1374 | '18': {
|
1375 | start: {
|
1376 | line: 288,
|
1377 | column: 26
|
1378 | },
|
1379 | end: {
|
1380 | line: 288,
|
1381 | column: 28
|
1382 | }
|
1383 | },
|
1384 | '19': {
|
1385 | start: {
|
1386 | line: 290,
|
1387 | column: 4
|
1388 | },
|
1389 | end: {
|
1390 | line: 295,
|
1391 | column: 7
|
1392 | }
|
1393 | },
|
1394 | '20': {
|
1395 | start: {
|
1396 | line: 291,
|
1397 | column: 6
|
1398 | },
|
1399 | end: {
|
1400 | line: 291,
|
1401 | column: 28
|
1402 | }
|
1403 | },
|
1404 | '21': {
|
1405 | start: {
|
1406 | line: 292,
|
1407 | column: 6
|
1408 | },
|
1409 | end: {
|
1410 | line: 294,
|
1411 | column: 7
|
1412 | }
|
1413 | },
|
1414 | '22': {
|
1415 | start: {
|
1416 | line: 293,
|
1417 | column: 8
|
1418 | },
|
1419 | end: {
|
1420 | line: 293,
|
1421 | column: 35
|
1422 | }
|
1423 | },
|
1424 | '23': {
|
1425 | start: {
|
1426 | line: 297,
|
1427 | column: 4
|
1428 | },
|
1429 | end: {
|
1430 | line: 297,
|
1431 | column: 71
|
1432 | }
|
1433 | },
|
1434 | '24': {
|
1435 | start: {
|
1436 | line: 299,
|
1437 | column: 23
|
1438 | },
|
1439 | end: {
|
1440 | line: 301,
|
1441 | column: 6
|
1442 | }
|
1443 | },
|
1444 | '25': {
|
1445 | start: {
|
1446 | line: 300,
|
1447 | column: 6
|
1448 | },
|
1449 | end: {
|
1450 | line: 300,
|
1451 | column: 45
|
1452 | }
|
1453 | },
|
1454 | '26': {
|
1455 | start: {
|
1456 | line: 303,
|
1457 | column: 4
|
1458 | },
|
1459 | end: {
|
1460 | line: 306,
|
1461 | column: 5
|
1462 | }
|
1463 | },
|
1464 | '27': {
|
1465 | start: {
|
1466 | line: 304,
|
1467 | column: 6
|
1468 | },
|
1469 | end: {
|
1470 | line: 304,
|
1471 | column: 25
|
1472 | }
|
1473 | },
|
1474 | '28': {
|
1475 | start: {
|
1476 | line: 305,
|
1477 | column: 6
|
1478 | },
|
1479 | end: {
|
1480 | line: 305,
|
1481 | column: 13
|
1482 | }
|
1483 | },
|
1484 | '29': {
|
1485 | start: {
|
1486 | line: 308,
|
1487 | column: 4
|
1488 | },
|
1489 | end: {
|
1490 | line: 311,
|
1491 | column: 5
|
1492 | }
|
1493 | },
|
1494 | '30': {
|
1495 | start: {
|
1496 | line: 309,
|
1497 | column: 6
|
1498 | },
|
1499 | end: {
|
1500 | line: 309,
|
1501 | column: 28
|
1502 | }
|
1503 | },
|
1504 | '31': {
|
1505 | start: {
|
1506 | line: 310,
|
1507 | column: 6
|
1508 | },
|
1509 | end: {
|
1510 | line: 310,
|
1511 | column: 38
|
1512 | }
|
1513 | },
|
1514 | '32': {
|
1515 | start: {
|
1516 | line: 313,
|
1517 | column: 4
|
1518 | },
|
1519 | end: {
|
1520 | line: 313,
|
1521 | column: 32
|
1522 | }
|
1523 | },
|
1524 | '33': {
|
1525 | start: {
|
1526 | line: 315,
|
1527 | column: 4
|
1528 | },
|
1529 | end: {
|
1530 | line: 321,
|
1531 | column: 5
|
1532 | }
|
1533 | },
|
1534 | '34': {
|
1535 | start: {
|
1536 | line: 316,
|
1537 | column: 6
|
1538 | },
|
1539 | end: {
|
1540 | line: 320,
|
1541 | column: 9
|
1542 | }
|
1543 | },
|
1544 | '35': {
|
1545 | start: {
|
1546 | line: 317,
|
1547 | column: 8
|
1548 | },
|
1549 | end: {
|
1550 | line: 319,
|
1551 | column: 9
|
1552 | }
|
1553 | },
|
1554 | '36': {
|
1555 | start: {
|
1556 | line: 318,
|
1557 | column: 10
|
1558 | },
|
1559 | end: {
|
1560 | line: 318,
|
1561 | column: 31
|
1562 | }
|
1563 | },
|
1564 | '37': {
|
1565 | start: {
|
1566 | line: 323,
|
1567 | column: 4
|
1568 | },
|
1569 | end: {
|
1570 | line: 329,
|
1571 | column: 5
|
1572 | }
|
1573 | },
|
1574 | '38': {
|
1575 | start: {
|
1576 | line: 324,
|
1577 | column: 6
|
1578 | },
|
1579 | end: {
|
1580 | line: 328,
|
1581 | column: 9
|
1582 | }
|
1583 | },
|
1584 | '39': {
|
1585 | start: {
|
1586 | line: 325,
|
1587 | column: 8
|
1588 | },
|
1589 | end: {
|
1590 | line: 327,
|
1591 | column: 9
|
1592 | }
|
1593 | },
|
1594 | '40': {
|
1595 | start: {
|
1596 | line: 326,
|
1597 | column: 10
|
1598 | },
|
1599 | end: {
|
1600 | line: 326,
|
1601 | column: 31
|
1602 | }
|
1603 | },
|
1604 | '41': {
|
1605 | start: {
|
1606 | line: 331,
|
1607 | column: 4
|
1608 | },
|
1609 | end: {
|
1610 | line: 331,
|
1611 | column: 96
|
1612 | }
|
1613 | },
|
1614 | '42': {
|
1615 | start: {
|
1616 | line: 333,
|
1617 | column: 4
|
1618 | },
|
1619 | end: {
|
1620 | line: 333,
|
1621 | column: 23
|
1622 | }
|
1623 | },
|
1624 | '43': {
|
1625 | start: {
|
1626 | line: 335,
|
1627 | column: 23
|
1628 | },
|
1629 | end: {
|
1630 | line: 335,
|
1631 | column: 41
|
1632 | }
|
1633 | },
|
1634 | '44': {
|
1635 | start: {
|
1636 | line: 337,
|
1637 | column: 4
|
1638 | },
|
1639 | end: {
|
1640 | line: 351,
|
1641 | column: 5
|
1642 | }
|
1643 | },
|
1644 | '45': {
|
1645 | start: {
|
1646 | line: 338,
|
1647 | column: 6
|
1648 | },
|
1649 | end: {
|
1650 | line: 346,
|
1651 | column: 7
|
1652 | }
|
1653 | },
|
1654 | '46': {
|
1655 | start: {
|
1656 | line: 339,
|
1657 | column: 8
|
1658 | },
|
1659 | end: {
|
1660 | line: 341,
|
1661 | column: 11
|
1662 | }
|
1663 | },
|
1664 | '47': {
|
1665 | start: {
|
1666 | line: 340,
|
1667 | column: 10
|
1668 | },
|
1669 | end: {
|
1670 | line: 340,
|
1671 | column: 41
|
1672 | }
|
1673 | },
|
1674 | '48': {
|
1675 | start: {
|
1676 | line: 343,
|
1677 | column: 8
|
1678 | },
|
1679 | end: {
|
1680 | line: 345,
|
1681 | column: 11
|
1682 | }
|
1683 | },
|
1684 | '49': {
|
1685 | start: {
|
1686 | line: 344,
|
1687 | column: 10
|
1688 | },
|
1689 | end: {
|
1690 | line: 344,
|
1691 | column: 41
|
1692 | }
|
1693 | },
|
1694 | '50': {
|
1695 | start: {
|
1696 | line: 348,
|
1697 | column: 6
|
1698 | },
|
1699 | end: {
|
1700 | line: 350,
|
1701 | column: 9
|
1702 | }
|
1703 | },
|
1704 | '51': {
|
1705 | start: {
|
1706 | line: 349,
|
1707 | column: 8
|
1708 | },
|
1709 | end: {
|
1710 | line: 349,
|
1711 | column: 27
|
1712 | }
|
1713 | },
|
1714 | '52': {
|
1715 | start: {
|
1716 | line: 353,
|
1717 | column: 4
|
1718 | },
|
1719 | end: {
|
1720 | line: 353,
|
1721 | column: 37
|
1722 | }
|
1723 | },
|
1724 | '53': {
|
1725 | start: {
|
1726 | line: 354,
|
1727 | column: 4
|
1728 | },
|
1729 | end: {
|
1730 | line: 354,
|
1731 | column: 25
|
1732 | }
|
1733 | },
|
1734 | '54': {
|
1735 | start: {
|
1736 | line: 363,
|
1737 | column: 17
|
1738 | },
|
1739 | end: {
|
1740 | line: 363,
|
1741 | column: 21
|
1742 | }
|
1743 | },
|
1744 | '55': {
|
1745 | start: {
|
1746 | line: 365,
|
1747 | column: 4
|
1748 | },
|
1749 | end: {
|
1750 | line: 375,
|
1751 | column: 5
|
1752 | }
|
1753 | },
|
1754 | '56': {
|
1755 | start: {
|
1756 | line: 366,
|
1757 | column: 6
|
1758 | },
|
1759 | end: {
|
1760 | line: 372,
|
1761 | column: 9
|
1762 | }
|
1763 | },
|
1764 | '57': {
|
1765 | start: {
|
1766 | line: 367,
|
1767 | column: 8
|
1768 | },
|
1769 | end: {
|
1770 | line: 371,
|
1771 | column: 9
|
1772 | }
|
1773 | },
|
1774 | '58': {
|
1775 | start: {
|
1776 | line: 368,
|
1777 | column: 10
|
1778 | },
|
1779 | end: {
|
1780 | line: 368,
|
1781 | column: 29
|
1782 | }
|
1783 | },
|
1784 | '59': {
|
1785 | start: {
|
1786 | line: 370,
|
1787 | column: 10
|
1788 | },
|
1789 | end: {
|
1790 | line: 370,
|
1791 | column: 29
|
1792 | }
|
1793 | },
|
1794 | '60': {
|
1795 | start: {
|
1796 | line: 373,
|
1797 | column: 6
|
1798 | },
|
1799 | end: {
|
1800 | line: 373,
|
1801 | column: 20
|
1802 | }
|
1803 | },
|
1804 | '61': {
|
1805 | start: {
|
1806 | line: 374,
|
1807 | column: 6
|
1808 | },
|
1809 | end: {
|
1810 | line: 374,
|
1811 | column: 13
|
1812 | }
|
1813 | },
|
1814 | '62': {
|
1815 | start: {
|
1816 | line: 377,
|
1817 | column: 28
|
1818 | },
|
1819 | end: {
|
1820 | line: 377,
|
1821 | column: 77
|
1822 | }
|
1823 | },
|
1824 | '63': {
|
1825 | start: {
|
1826 | line: 377,
|
1827 | column: 57
|
1828 | },
|
1829 | end: {
|
1830 | line: 377,
|
1831 | column: 76
|
1832 | }
|
1833 | },
|
1834 | '64': {
|
1835 | start: {
|
1836 | line: 379,
|
1837 | column: 4
|
1838 | },
|
1839 | end: {
|
1840 | line: 387,
|
1841 | column: 7
|
1842 | }
|
1843 | },
|
1844 | '65': {
|
1845 | start: {
|
1846 | line: 380,
|
1847 | column: 19
|
1848 | },
|
1849 | end: {
|
1850 | line: 380,
|
1851 | column: 61
|
1852 | }
|
1853 | },
|
1854 | '66': {
|
1855 | start: {
|
1856 | line: 380,
|
1857 | column: 48
|
1858 | },
|
1859 | end: {
|
1860 | line: 380,
|
1861 | column: 60
|
1862 | }
|
1863 | },
|
1864 | '67': {
|
1865 | start: {
|
1866 | line: 382,
|
1867 | column: 6
|
1868 | },
|
1869 | end: {
|
1870 | line: 386,
|
1871 | column: 7
|
1872 | }
|
1873 | },
|
1874 | '68': {
|
1875 | start: {
|
1876 | line: 383,
|
1877 | column: 8
|
1878 | },
|
1879 | end: {
|
1880 | line: 385,
|
1881 | column: 90
|
1882 | }
|
1883 | },
|
1884 | '69': {
|
1885 | start: {
|
1886 | line: 388,
|
1887 | column: 4
|
1888 | },
|
1889 | end: {
|
1890 | line: 390,
|
1891 | column: 5
|
1892 | }
|
1893 | },
|
1894 | '70': {
|
1895 | start: {
|
1896 | line: 389,
|
1897 | column: 6
|
1898 | },
|
1899 | end: {
|
1900 | line: 389,
|
1901 | column: 20
|
1902 | }
|
1903 | },
|
1904 | '71': {
|
1905 | start: {
|
1906 | line: 399,
|
1907 | column: 4
|
1908 | },
|
1909 | end: {
|
1910 | line: 399,
|
1911 | column: 91
|
1912 | }
|
1913 | },
|
1914 | '72': {
|
1915 | start: {
|
1916 | line: 400,
|
1917 | column: 4
|
1918 | },
|
1919 | end: {
|
1920 | line: 400,
|
1921 | column: 28
|
1922 | }
|
1923 | },
|
1924 | '73': {
|
1925 | start: {
|
1926 | line: 401,
|
1927 | column: 4
|
1928 | },
|
1929 | end: {
|
1930 | line: 401,
|
1931 | column: 18
|
1932 | }
|
1933 | },
|
1934 | '74': {
|
1935 | start: {
|
1936 | line: 402,
|
1937 | column: 4
|
1938 | },
|
1939 | end: {
|
1940 | line: 404,
|
1941 | column: 5
|
1942 | }
|
1943 | },
|
1944 | '75': {
|
1945 | start: {
|
1946 | line: 403,
|
1947 | column: 6
|
1948 | },
|
1949 | end: {
|
1950 | line: 403,
|
1951 | column: 27
|
1952 | }
|
1953 | },
|
1954 | '76': {
|
1955 | start: {
|
1956 | line: 413,
|
1957 | column: 4
|
1958 | },
|
1959 | end: {
|
1960 | line: 413,
|
1961 | column: 66
|
1962 | }
|
1963 | },
|
1964 | '77': {
|
1965 | start: {
|
1966 | line: 414,
|
1967 | column: 4
|
1968 | },
|
1969 | end: {
|
1970 | line: 438,
|
1971 | column: 5
|
1972 | }
|
1973 | },
|
1974 | '78': {
|
1975 | start: {
|
1976 | line: 415,
|
1977 | column: 6
|
1978 | },
|
1979 | end: {
|
1980 | line: 415,
|
1981 | column: 28
|
1982 | }
|
1983 | },
|
1984 | '79': {
|
1985 | start: {
|
1986 | line: 416,
|
1987 | column: 24
|
1988 | },
|
1989 | end: {
|
1990 | line: 416,
|
1991 | column: 51
|
1992 | }
|
1993 | },
|
1994 | '80': {
|
1995 | start: {
|
1996 | line: 418,
|
1997 | column: 6
|
1998 | },
|
1999 | end: {
|
2000 | line: 434,
|
2001 | column: 7
|
2002 | }
|
2003 | },
|
2004 | '81': {
|
2005 | start: {
|
2006 | line: 419,
|
2007 | column: 24
|
2008 | },
|
2009 | end: {
|
2010 | line: 421,
|
2011 | column: 10
|
2012 | }
|
2013 | },
|
2014 | '82': {
|
2015 | start: {
|
2016 | line: 420,
|
2017 | column: 10
|
2018 | },
|
2019 | end: {
|
2020 | line: 420,
|
2021 | column: 59
|
2022 | }
|
2023 | },
|
2024 | '83': {
|
2025 | start: {
|
2026 | line: 423,
|
2027 | column: 8
|
2028 | },
|
2029 | end: {
|
2030 | line: 423,
|
2031 | column: 40
|
2032 | }
|
2033 | },
|
2034 | '84': {
|
2035 | start: {
|
2036 | line: 424,
|
2037 | column: 8
|
2038 | },
|
2039 | end: {
|
2040 | line: 424,
|
2041 | column: 37
|
2042 | }
|
2043 | },
|
2044 | '85': {
|
2045 | start: {
|
2046 | line: 425,
|
2047 | column: 8
|
2048 | },
|
2049 | end: {
|
2050 | line: 425,
|
2051 | column: 22
|
2052 | }
|
2053 | },
|
2054 | '86': {
|
2055 | start: {
|
2056 | line: 427,
|
2057 | column: 24
|
2058 | },
|
2059 | end: {
|
2060 | line: 429,
|
2061 | column: 10
|
2062 | }
|
2063 | },
|
2064 | '87': {
|
2065 | start: {
|
2066 | line: 428,
|
2067 | column: 10
|
2068 | },
|
2069 | end: {
|
2070 | line: 428,
|
2071 | column: 59
|
2072 | }
|
2073 | },
|
2074 | '88': {
|
2075 | start: {
|
2076 | line: 431,
|
2077 | column: 8
|
2078 | },
|
2079 | end: {
|
2080 | line: 431,
|
2081 | column: 40
|
2082 | }
|
2083 | },
|
2084 | '89': {
|
2085 | start: {
|
2086 | line: 432,
|
2087 | column: 8
|
2088 | },
|
2089 | end: {
|
2090 | line: 432,
|
2091 | column: 37
|
2092 | }
|
2093 | },
|
2094 | '90': {
|
2095 | start: {
|
2096 | line: 433,
|
2097 | column: 8
|
2098 | },
|
2099 | end: {
|
2100 | line: 433,
|
2101 | column: 22
|
2102 | }
|
2103 | },
|
2104 | '91': {
|
2105 | start: {
|
2106 | line: 436,
|
2107 | column: 6
|
2108 | },
|
2109 | end: {
|
2110 | line: 436,
|
2111 | column: 43
|
2112 | }
|
2113 | },
|
2114 | '92': {
|
2115 | start: {
|
2116 | line: 437,
|
2117 | column: 6
|
2118 | },
|
2119 | end: {
|
2120 | line: 437,
|
2121 | column: 20
|
2122 | }
|
2123 | },
|
2124 | '93': {
|
2125 | start: {
|
2126 | line: 447,
|
2127 | column: 15
|
2128 | },
|
2129 | end: {
|
2130 | line: 447,
|
2131 | column: 29
|
2132 | }
|
2133 | },
|
2134 | '94': {
|
2135 | start: {
|
2136 | line: 449,
|
2137 | column: 4
|
2138 | },
|
2139 | end: {
|
2140 | line: 451,
|
2141 | column: 5
|
2142 | }
|
2143 | },
|
2144 | '95': {
|
2145 | start: {
|
2146 | line: 450,
|
2147 | column: 6
|
2148 | },
|
2149 | end: {
|
2150 | line: 450,
|
2151 | column: 13
|
2152 | }
|
2153 | },
|
2154 | '96': {
|
2155 | start: {
|
2156 | line: 453,
|
2157 | column: 4
|
2158 | },
|
2159 | end: {
|
2160 | line: 456,
|
2161 | column: 5
|
2162 | }
|
2163 | },
|
2164 | '97': {
|
2165 | start: {
|
2166 | line: 454,
|
2167 | column: 6
|
2168 | },
|
2169 | end: {
|
2170 | line: 454,
|
2171 | column: 25
|
2172 | }
|
2173 | },
|
2174 | '98': {
|
2175 | start: {
|
2176 | line: 455,
|
2177 | column: 6
|
2178 | },
|
2179 | end: {
|
2180 | line: 455,
|
2181 | column: 13
|
2182 | }
|
2183 | },
|
2184 | '99': {
|
2185 | start: {
|
2186 | line: 458,
|
2187 | column: 21
|
2188 | },
|
2189 | end: {
|
2190 | line: 458,
|
2191 | column: 54
|
2192 | }
|
2193 | },
|
2194 | '100': {
|
2195 | start: {
|
2196 | line: 460,
|
2197 | column: 20
|
2198 | },
|
2199 | end: {
|
2200 | line: 471,
|
2201 | column: 5
|
2202 | }
|
2203 | },
|
2204 | '101': {
|
2205 | start: {
|
2206 | line: 473,
|
2207 | column: 4
|
2208 | },
|
2209 | end: {
|
2210 | line: 473,
|
2211 | column: 37
|
2212 | }
|
2213 | },
|
2214 | '102': {
|
2215 | start: {
|
2216 | line: 484,
|
2217 | column: 23
|
2218 | },
|
2219 | end: {
|
2220 | line: 484,
|
2221 | column: 25
|
2222 | }
|
2223 | },
|
2224 | '103': {
|
2225 | start: {
|
2226 | line: 486,
|
2227 | column: 4
|
2228 | },
|
2229 | end: {
|
2230 | line: 488,
|
2231 | column: 7
|
2232 | }
|
2233 | },
|
2234 | '104': {
|
2235 | start: {
|
2236 | line: 487,
|
2237 | column: 6
|
2238 | },
|
2239 | end: {
|
2240 | line: 487,
|
2241 | column: 59
|
2242 | }
|
2243 | },
|
2244 | '105': {
|
2245 | start: {
|
2246 | line: 490,
|
2247 | column: 4
|
2248 | },
|
2249 | end: {
|
2250 | line: 490,
|
2251 | column: 22
|
2252 | }
|
2253 | },
|
2254 | '106': {
|
2255 | start: {
|
2256 | line: 502,
|
2257 | column: 19
|
2258 | },
|
2259 | end: {
|
2260 | line: 502,
|
2261 | column: 38
|
2262 | }
|
2263 | },
|
2264 | '107': {
|
2265 | start: {
|
2266 | line: 504,
|
2267 | column: 4
|
2268 | },
|
2269 | end: {
|
2270 | line: 506,
|
2271 | column: 5
|
2272 | }
|
2273 | },
|
2274 | '108': {
|
2275 | start: {
|
2276 | line: 505,
|
2277 | column: 6
|
2278 | },
|
2279 | end: {
|
2280 | line: 505,
|
2281 | column: 35
|
2282 | }
|
2283 | },
|
2284 | '109': {
|
2285 | start: {
|
2286 | line: 508,
|
2287 | column: 4
|
2288 | },
|
2289 | end: {
|
2290 | line: 508,
|
2291 | column: 24
|
2292 | }
|
2293 | },
|
2294 | '110': {
|
2295 | start: {
|
2296 | line: 520,
|
2297 | column: 4
|
2298 | },
|
2299 | end: {
|
2300 | line: 543,
|
2301 | column: 5
|
2302 | }
|
2303 | },
|
2304 | '111': {
|
2305 | start: {
|
2306 | line: 527,
|
2307 | column: 6
|
2308 | },
|
2309 | end: {
|
2310 | line: 527,
|
2311 | column: 19
|
2312 | }
|
2313 | },
|
2314 | '112': {
|
2315 | start: {
|
2316 | line: 529,
|
2317 | column: 6
|
2318 | },
|
2319 | end: {
|
2320 | line: 529,
|
2321 | column: 18
|
2322 | }
|
2323 | },
|
2324 | '113': {
|
2325 | start: {
|
2326 | line: 533,
|
2327 | column: 6
|
2328 | },
|
2329 | end: {
|
2330 | line: 533,
|
2331 | column: 18
|
2332 | }
|
2333 | },
|
2334 | '114': {
|
2335 | start: {
|
2336 | line: 535,
|
2337 | column: 6
|
2338 | },
|
2339 | end: {
|
2340 | line: 535,
|
2341 | column: 18
|
2342 | }
|
2343 | },
|
2344 | '115': {
|
2345 | start: {
|
2346 | line: 537,
|
2347 | column: 6
|
2348 | },
|
2349 | end: {
|
2350 | line: 537,
|
2351 | column: 19
|
2352 | }
|
2353 | },
|
2354 | '116': {
|
2355 | start: {
|
2356 | line: 539,
|
2357 | column: 6
|
2358 | },
|
2359 | end: {
|
2360 | line: 539,
|
2361 | column: 19
|
2362 | }
|
2363 | },
|
2364 | '117': {
|
2365 | start: {
|
2366 | line: 542,
|
2367 | column: 6
|
2368 | },
|
2369 | end: {
|
2370 | line: 542,
|
2371 | column: 19
|
2372 | }
|
2373 | },
|
2374 | '118': {
|
2375 | start: {
|
2376 | line: 544,
|
2377 | column: 4
|
2378 | },
|
2379 | end: {
|
2380 | line: 544,
|
2381 | column: 17
|
2382 | }
|
2383 | },
|
2384 | '119': {
|
2385 | start: {
|
2386 | line: 556,
|
2387 | column: 4
|
2388 | },
|
2389 | end: {
|
2390 | line: 561,
|
2391 | column: 5
|
2392 | }
|
2393 | },
|
2394 | '120': {
|
2395 | start: {
|
2396 | line: 558,
|
2397 | column: 6
|
2398 | },
|
2399 | end: {
|
2400 | line: 558,
|
2401 | column: 18
|
2402 | }
|
2403 | },
|
2404 | '121': {
|
2405 | start: {
|
2406 | line: 560,
|
2407 | column: 6
|
2408 | },
|
2409 | end: {
|
2410 | line: 560,
|
2411 | column: 23
|
2412 | }
|
2413 | },
|
2414 | '122': {
|
2415 | start: {
|
2416 | line: 562,
|
2417 | column: 4
|
2418 | },
|
2419 | end: {
|
2420 | line: 562,
|
2421 | column: 24
|
2422 | }
|
2423 | },
|
2424 | '123': {
|
2425 | start: {
|
2426 | line: 573,
|
2427 | column: 22
|
2428 | },
|
2429 | end: {
|
2430 | line: 573,
|
2431 | column: 51
|
2432 | }
|
2433 | },
|
2434 | '124': {
|
2435 | start: {
|
2436 | line: 574,
|
2437 | column: 12
|
2438 | },
|
2439 | end: {
|
2440 | line: 574,
|
2441 | column: 14
|
2442 | }
|
2443 | },
|
2444 | '125': {
|
2445 | start: {
|
2446 | line: 576,
|
2447 | column: 4
|
2448 | },
|
2449 | end: {
|
2450 | line: 579,
|
2451 | column: 29
|
2452 | }
|
2453 | },
|
2454 | '126': {
|
2455 | start: {
|
2456 | line: 577,
|
2457 | column: 6
|
2458 | },
|
2459 | end: {
|
2460 | line: 577,
|
2461 | column: 31
|
2462 | }
|
2463 | },
|
2464 | '127': {
|
2465 | start: {
|
2466 | line: 578,
|
2467 | column: 6
|
2468 | },
|
2469 | end: {
|
2470 | line: 578,
|
2471 | column: 10
|
2472 | }
|
2473 | },
|
2474 | '128': {
|
2475 | start: {
|
2476 | line: 581,
|
2477 | column: 19
|
2478 | },
|
2479 | end: {
|
2480 | line: 581,
|
2481 | column: 52
|
2482 | }
|
2483 | },
|
2484 | '129': {
|
2485 | start: {
|
2486 | line: 583,
|
2487 | column: 4
|
2488 | },
|
2489 | end: {
|
2490 | line: 583,
|
2491 | column: 33
|
2492 | }
|
2493 | },
|
2494 | '130': {
|
2495 | start: {
|
2496 | line: 594,
|
2497 | column: 4
|
2498 | },
|
2499 | end: {
|
2500 | line: 596,
|
2501 | column: 5
|
2502 | }
|
2503 | },
|
2504 | '131': {
|
2505 | start: {
|
2506 | line: 595,
|
2507 | column: 6
|
2508 | },
|
2509 | end: {
|
2510 | line: 595,
|
2511 | column: 16
|
2512 | }
|
2513 | },
|
2514 | '132': {
|
2515 | start: {
|
2516 | line: 598,
|
2517 | column: 24
|
2518 | },
|
2519 | end: {
|
2520 | line: 598,
|
2521 | column: 26
|
2522 | }
|
2523 | },
|
2524 | '133': {
|
2525 | start: {
|
2526 | line: 600,
|
2527 | column: 4
|
2528 | },
|
2529 | end: {
|
2530 | line: 606,
|
2531 | column: 5
|
2532 | }
|
2533 | },
|
2534 | '134': {
|
2535 | start: {
|
2536 | line: 601,
|
2537 | column: 6
|
2538 | },
|
2539 | end: {
|
2540 | line: 601,
|
2541 | column: 58
|
2542 | }
|
2543 | },
|
2544 | '135': {
|
2545 | start: {
|
2546 | line: 602,
|
2547 | column: 11
|
2548 | },
|
2549 | end: {
|
2550 | line: 606,
|
2551 | column: 5
|
2552 | }
|
2553 | },
|
2554 | '136': {
|
2555 | start: {
|
2556 | line: 603,
|
2557 | column: 6
|
2558 | },
|
2559 | end: {
|
2560 | line: 603,
|
2561 | column: 56
|
2562 | }
|
2563 | },
|
2564 | '137': {
|
2565 | start: {
|
2566 | line: 605,
|
2567 | column: 6
|
2568 | },
|
2569 | end: {
|
2570 | line: 605,
|
2571 | column: 115
|
2572 | }
|
2573 | },
|
2574 | '138': {
|
2575 | start: {
|
2576 | line: 608,
|
2577 | column: 4
|
2578 | },
|
2579 | end: {
|
2580 | line: 610,
|
2581 | column: 5
|
2582 | }
|
2583 | },
|
2584 | '139': {
|
2585 | start: {
|
2586 | line: 609,
|
2587 | column: 6
|
2588 | },
|
2589 | end: {
|
2590 | line: 609,
|
2591 | column: 68
|
2592 | }
|
2593 | },
|
2594 | '140': {
|
2595 | start: {
|
2596 | line: 612,
|
2597 | column: 4
|
2598 | },
|
2599 | end: {
|
2600 | line: 614,
|
2601 | column: 5
|
2602 | }
|
2603 | },
|
2604 | '141': {
|
2605 | start: {
|
2606 | line: 613,
|
2607 | column: 6
|
2608 | },
|
2609 | end: {
|
2610 | line: 613,
|
2611 | column: 61
|
2612 | }
|
2613 | },
|
2614 | '142': {
|
2615 | start: {
|
2616 | line: 616,
|
2617 | column: 4
|
2618 | },
|
2619 | end: {
|
2620 | line: 616,
|
2621 | column: 61
|
2622 | }
|
2623 | },
|
2624 | '143': {
|
2625 | start: {
|
2626 | line: 621,
|
2627 | column: 0
|
2628 | },
|
2629 | end: {
|
2630 | line: 621,
|
2631 | column: 37
|
2632 | }
|
2633 | },
|
2634 | '144': {
|
2635 | start: {
|
2636 | line: 624,
|
2637 | column: 0
|
2638 | },
|
2639 | end: {
|
2640 | line: 624,
|
2641 | column: 37
|
2642 | }
|
2643 | },
|
2644 | '145': {
|
2645 | start: {
|
2646 | line: 627,
|
2647 | column: 0
|
2648 | },
|
2649 | end: {
|
2650 | line: 627,
|
2651 | column: 65
|
2652 | }
|
2653 | }
|
2654 | },
|
2655 | fnMap: {
|
2656 | '0': {
|
2657 | name: '(anonymous_0)',
|
2658 | decl: {
|
2659 | start: {
|
2660 | line: 252,
|
2661 | column: 2
|
2662 | },
|
2663 | end: {
|
2664 | line: 252,
|
2665 | column: 3
|
2666 | }
|
2667 | },
|
2668 | loc: {
|
2669 | start: {
|
2670 | line: 252,
|
2671 | column: 31
|
2672 | },
|
2673 | end: {
|
2674 | line: 280,
|
2675 | column: 3
|
2676 | }
|
2677 | },
|
2678 | line: 252
|
2679 | },
|
2680 | '1': {
|
2681 | name: '(anonymous_1)',
|
2682 | decl: {
|
2683 | start: {
|
2684 | line: 277,
|
2685 | column: 22
|
2686 | },
|
2687 | end: {
|
2688 | line: 277,
|
2689 | column: 23
|
2690 | }
|
2691 | },
|
2692 | loc: {
|
2693 | start: {
|
2694 | line: 277,
|
2695 | column: 28
|
2696 | },
|
2697 | end: {
|
2698 | line: 279,
|
2699 | column: 5
|
2700 | }
|
2701 | },
|
2702 | line: 277
|
2703 | },
|
2704 | '2': {
|
2705 | name: '(anonymous_2)',
|
2706 | decl: {
|
2707 | start: {
|
2708 | line: 285,
|
2709 | column: 2
|
2710 | },
|
2711 | end: {
|
2712 | line: 285,
|
2713 | column: 3
|
2714 | }
|
2715 | },
|
2716 | loc: {
|
2717 | start: {
|
2718 | line: 285,
|
2719 | column: 11
|
2720 | },
|
2721 | end: {
|
2722 | line: 355,
|
2723 | column: 3
|
2724 | }
|
2725 | },
|
2726 | line: 285
|
2727 | },
|
2728 | '3': {
|
2729 | name: '(anonymous_3)',
|
2730 | decl: {
|
2731 | start: {
|
2732 | line: 290,
|
2733 | column: 31
|
2734 | },
|
2735 | end: {
|
2736 | line: 290,
|
2737 | column: 32
|
2738 | }
|
2739 | },
|
2740 | loc: {
|
2741 | start: {
|
2742 | line: 290,
|
2743 | column: 50
|
2744 | },
|
2745 | end: {
|
2746 | line: 295,
|
2747 | column: 5
|
2748 | }
|
2749 | },
|
2750 | line: 290
|
2751 | },
|
2752 | '4': {
|
2753 | name: '(anonymous_4)',
|
2754 | decl: {
|
2755 | start: {
|
2756 | line: 299,
|
2757 | column: 47
|
2758 | },
|
2759 | end: {
|
2760 | line: 299,
|
2761 | column: 48
|
2762 | }
|
2763 | },
|
2764 | loc: {
|
2765 | start: {
|
2766 | line: 299,
|
2767 | column: 63
|
2768 | },
|
2769 | end: {
|
2770 | line: 301,
|
2771 | column: 5
|
2772 | }
|
2773 | },
|
2774 | line: 299
|
2775 | },
|
2776 | '5': {
|
2777 | name: '(anonymous_5)',
|
2778 | decl: {
|
2779 | start: {
|
2780 | line: 316,
|
2781 | column: 33
|
2782 | },
|
2783 | end: {
|
2784 | line: 316,
|
2785 | column: 34
|
2786 | }
|
2787 | },
|
2788 | loc: {
|
2789 | start: {
|
2790 | line: 316,
|
2791 | column: 52
|
2792 | },
|
2793 | end: {
|
2794 | line: 320,
|
2795 | column: 7
|
2796 | }
|
2797 | },
|
2798 | line: 316
|
2799 | },
|
2800 | '6': {
|
2801 | name: '(anonymous_6)',
|
2802 | decl: {
|
2803 | start: {
|
2804 | line: 324,
|
2805 | column: 33
|
2806 | },
|
2807 | end: {
|
2808 | line: 324,
|
2809 | column: 34
|
2810 | }
|
2811 | },
|
2812 | loc: {
|
2813 | start: {
|
2814 | line: 324,
|
2815 | column: 52
|
2816 | },
|
2817 | end: {
|
2818 | line: 328,
|
2819 | column: 7
|
2820 | }
|
2821 | },
|
2822 | line: 324
|
2823 | },
|
2824 | '7': {
|
2825 | name: '(anonymous_7)',
|
2826 | decl: {
|
2827 | start: {
|
2828 | line: 339,
|
2829 | column: 47
|
2830 | },
|
2831 | end: {
|
2832 | line: 339,
|
2833 | column: 48
|
2834 | }
|
2835 | },
|
2836 | loc: {
|
2837 | start: {
|
2838 | line: 339,
|
2839 | column: 62
|
2840 | },
|
2841 | end: {
|
2842 | line: 341,
|
2843 | column: 9
|
2844 | }
|
2845 | },
|
2846 | line: 339
|
2847 | },
|
2848 | '8': {
|
2849 | name: '(anonymous_8)',
|
2850 | decl: {
|
2851 | start: {
|
2852 | line: 343,
|
2853 | column: 47
|
2854 | },
|
2855 | end: {
|
2856 | line: 343,
|
2857 | column: 48
|
2858 | }
|
2859 | },
|
2860 | loc: {
|
2861 | start: {
|
2862 | line: 343,
|
2863 | column: 62
|
2864 | },
|
2865 | end: {
|
2866 | line: 345,
|
2867 | column: 9
|
2868 | }
|
2869 | },
|
2870 | line: 343
|
2871 | },
|
2872 | '9': {
|
2873 | name: '(anonymous_9)',
|
2874 | decl: {
|
2875 | start: {
|
2876 | line: 348,
|
2877 | column: 45
|
2878 | },
|
2879 | end: {
|
2880 | line: 348,
|
2881 | column: 46
|
2882 | }
|
2883 | },
|
2884 | loc: {
|
2885 | start: {
|
2886 | line: 348,
|
2887 | column: 60
|
2888 | },
|
2889 | end: {
|
2890 | line: 350,
|
2891 | column: 7
|
2892 | }
|
2893 | },
|
2894 | line: 348
|
2895 | },
|
2896 | '10': {
|
2897 | name: '(anonymous_10)',
|
2898 | decl: {
|
2899 | start: {
|
2900 | line: 362,
|
2901 | column: 2
|
2902 | },
|
2903 | end: {
|
2904 | line: 362,
|
2905 | column: 3
|
2906 | }
|
2907 | },
|
2908 | loc: {
|
2909 | start: {
|
2910 | line: 362,
|
2911 | column: 26
|
2912 | },
|
2913 | end: {
|
2914 | line: 391,
|
2915 | column: 3
|
2916 | }
|
2917 | },
|
2918 | line: 362
|
2919 | },
|
2920 | '11': {
|
2921 | name: '(anonymous_11)',
|
2922 | decl: {
|
2923 | start: {
|
2924 | line: 366,
|
2925 | column: 38
|
2926 | },
|
2927 | end: {
|
2928 | line: 366,
|
2929 | column: 39
|
2930 | }
|
2931 | },
|
2932 | loc: {
|
2933 | start: {
|
2934 | line: 366,
|
2935 | column: 57
|
2936 | },
|
2937 | end: {
|
2938 | line: 372,
|
2939 | column: 7
|
2940 | }
|
2941 | },
|
2942 | line: 366
|
2943 | },
|
2944 | '12': {
|
2945 | name: '(anonymous_12)',
|
2946 | decl: {
|
2947 | start: {
|
2948 | line: 377,
|
2949 | column: 52
|
2950 | },
|
2951 | end: {
|
2952 | line: 377,
|
2953 | column: 53
|
2954 | }
|
2955 | },
|
2956 | loc: {
|
2957 | start: {
|
2958 | line: 377,
|
2959 | column: 57
|
2960 | },
|
2961 | end: {
|
2962 | line: 377,
|
2963 | column: 76
|
2964 | }
|
2965 | },
|
2966 | line: 377
|
2967 | },
|
2968 | '13': {
|
2969 | name: '(anonymous_13)',
|
2970 | decl: {
|
2971 | start: {
|
2972 | line: 379,
|
2973 | column: 36
|
2974 | },
|
2975 | end: {
|
2976 | line: 379,
|
2977 | column: 37
|
2978 | }
|
2979 | },
|
2980 | loc: {
|
2981 | start: {
|
2982 | line: 379,
|
2983 | column: 55
|
2984 | },
|
2985 | end: {
|
2986 | line: 387,
|
2987 | column: 5
|
2988 | }
|
2989 | },
|
2990 | line: 379
|
2991 | },
|
2992 | '14': {
|
2993 | name: '(anonymous_14)',
|
2994 | decl: {
|
2995 | start: {
|
2996 | line: 380,
|
2997 | column: 43
|
2998 | },
|
2999 | end: {
|
3000 | line: 380,
|
3001 | column: 44
|
3002 | }
|
3003 | },
|
3004 | loc: {
|
3005 | start: {
|
3006 | line: 380,
|
3007 | column: 48
|
3008 | },
|
3009 | end: {
|
3010 | line: 380,
|
3011 | column: 60
|
3012 | }
|
3013 | },
|
3014 | line: 380
|
3015 | },
|
3016 | '15': {
|
3017 | name: '(anonymous_15)',
|
3018 | decl: {
|
3019 | start: {
|
3020 | line: 398,
|
3021 | column: 2
|
3022 | },
|
3023 | end: {
|
3024 | line: 398,
|
3025 | column: 3
|
3026 | }
|
3027 | },
|
3028 | loc: {
|
3029 | start: {
|
3030 | line: 398,
|
3031 | column: 23
|
3032 | },
|
3033 | end: {
|
3034 | line: 405,
|
3035 | column: 3
|
3036 | }
|
3037 | },
|
3038 | line: 398
|
3039 | },
|
3040 | '16': {
|
3041 | name: '(anonymous_16)',
|
3042 | decl: {
|
3043 | start: {
|
3044 | line: 412,
|
3045 | column: 2
|
3046 | },
|
3047 | end: {
|
3048 | line: 412,
|
3049 | column: 3
|
3050 | }
|
3051 | },
|
3052 | loc: {
|
3053 | start: {
|
3054 | line: 412,
|
3055 | column: 18
|
3056 | },
|
3057 | end: {
|
3058 | line: 439,
|
3059 | column: 3
|
3060 | }
|
3061 | },
|
3062 | line: 412
|
3063 | },
|
3064 | '17': {
|
3065 | name: '(anonymous_17)',
|
3066 | decl: {
|
3067 | start: {
|
3068 | line: 419,
|
3069 | column: 50
|
3070 | },
|
3071 | end: {
|
3072 | line: 419,
|
3073 | column: 51
|
3074 | }
|
3075 | },
|
3076 | loc: {
|
3077 | start: {
|
3078 | line: 419,
|
3079 | column: 69
|
3080 | },
|
3081 | end: {
|
3082 | line: 421,
|
3083 | column: 9
|
3084 | }
|
3085 | },
|
3086 | line: 419
|
3087 | },
|
3088 | '18': {
|
3089 | name: '(anonymous_18)',
|
3090 | decl: {
|
3091 | start: {
|
3092 | line: 427,
|
3093 | column: 50
|
3094 | },
|
3095 | end: {
|
3096 | line: 427,
|
3097 | column: 51
|
3098 | }
|
3099 | },
|
3100 | loc: {
|
3101 | start: {
|
3102 | line: 427,
|
3103 | column: 69
|
3104 | },
|
3105 | end: {
|
3106 | line: 429,
|
3107 | column: 9
|
3108 | }
|
3109 | },
|
3110 | line: 427
|
3111 | },
|
3112 | '19': {
|
3113 | name: '(anonymous_19)',
|
3114 | decl: {
|
3115 | start: {
|
3116 | line: 446,
|
3117 | column: 2
|
3118 | },
|
3119 | end: {
|
3120 | line: 446,
|
3121 | column: 3
|
3122 | }
|
3123 | },
|
3124 | loc: {
|
3125 | start: {
|
3126 | line: 446,
|
3127 | column: 24
|
3128 | },
|
3129 | end: {
|
3130 | line: 474,
|
3131 | column: 3
|
3132 | }
|
3133 | },
|
3134 | line: 446
|
3135 | },
|
3136 | '20': {
|
3137 | name: '(anonymous_20)',
|
3138 | decl: {
|
3139 | start: {
|
3140 | line: 483,
|
3141 | column: 2
|
3142 | },
|
3143 | end: {
|
3144 | line: 483,
|
3145 | column: 3
|
3146 | }
|
3147 | },
|
3148 | loc: {
|
3149 | start: {
|
3150 | line: 483,
|
3151 | column: 18
|
3152 | },
|
3153 | end: {
|
3154 | line: 491,
|
3155 | column: 3
|
3156 | }
|
3157 | },
|
3158 | line: 483
|
3159 | },
|
3160 | '21': {
|
3161 | name: '(anonymous_21)',
|
3162 | decl: {
|
3163 | start: {
|
3164 | line: 486,
|
3165 | column: 31
|
3166 | },
|
3167 | end: {
|
3168 | line: 486,
|
3169 | column: 32
|
3170 | }
|
3171 | },
|
3172 | loc: {
|
3173 | start: {
|
3174 | line: 486,
|
3175 | column: 40
|
3176 | },
|
3177 | end: {
|
3178 | line: 488,
|
3179 | column: 5
|
3180 | }
|
3181 | },
|
3182 | line: 486
|
3183 | },
|
3184 | '22': {
|
3185 | name: '(anonymous_22)',
|
3186 | decl: {
|
3187 | start: {
|
3188 | line: 501,
|
3189 | column: 2
|
3190 | },
|
3191 | end: {
|
3192 | line: 501,
|
3193 | column: 3
|
3194 | }
|
3195 | },
|
3196 | loc: {
|
3197 | start: {
|
3198 | line: 501,
|
3199 | column: 33
|
3200 | },
|
3201 | end: {
|
3202 | line: 509,
|
3203 | column: 3
|
3204 | }
|
3205 | },
|
3206 | line: 501
|
3207 | },
|
3208 | '23': {
|
3209 | name: '(anonymous_23)',
|
3210 | decl: {
|
3211 | start: {
|
3212 | line: 519,
|
3213 | column: 2
|
3214 | },
|
3215 | end: {
|
3216 | line: 519,
|
3217 | column: 3
|
3218 | }
|
3219 | },
|
3220 | loc: {
|
3221 | start: {
|
3222 | line: 519,
|
3223 | column: 41
|
3224 | },
|
3225 | end: {
|
3226 | line: 545,
|
3227 | column: 3
|
3228 | }
|
3229 | },
|
3230 | line: 519
|
3231 | },
|
3232 | '24': {
|
3233 | name: '(anonymous_24)',
|
3234 | decl: {
|
3235 | start: {
|
3236 | line: 555,
|
3237 | column: 2
|
3238 | },
|
3239 | end: {
|
3240 | line: 555,
|
3241 | column: 3
|
3242 | }
|
3243 | },
|
3244 | loc: {
|
3245 | start: {
|
3246 | line: 555,
|
3247 | column: 43
|
3248 | },
|
3249 | end: {
|
3250 | line: 563,
|
3251 | column: 3
|
3252 | }
|
3253 | },
|
3254 | line: 555
|
3255 | },
|
3256 | '25': {
|
3257 | name: '(anonymous_25)',
|
3258 | decl: {
|
3259 | start: {
|
3260 | line: 572,
|
3261 | column: 2
|
3262 | },
|
3263 | end: {
|
3264 | line: 572,
|
3265 | column: 3
|
3266 | }
|
3267 | },
|
3268 | loc: {
|
3269 | start: {
|
3270 | line: 572,
|
3271 | column: 36
|
3272 | },
|
3273 | end: {
|
3274 | line: 584,
|
3275 | column: 3
|
3276 | }
|
3277 | },
|
3278 | line: 572
|
3279 | },
|
3280 | '26': {
|
3281 | name: '(anonymous_26)',
|
3282 | decl: {
|
3283 | start: {
|
3284 | line: 593,
|
3285 | column: 2
|
3286 | },
|
3287 | end: {
|
3288 | line: 593,
|
3289 | column: 3
|
3290 | }
|
3291 | },
|
3292 | loc: {
|
3293 | start: {
|
3294 | line: 593,
|
3295 | column: 40
|
3296 | },
|
3297 | end: {
|
3298 | line: 617,
|
3299 | column: 3
|
3300 | }
|
3301 | },
|
3302 | line: 593
|
3303 | }
|
3304 | },
|
3305 | branchMap: {
|
3306 | '0': {
|
3307 | loc: {
|
3308 | start: {
|
3309 | line: 266,
|
3310 | column: 4
|
3311 | },
|
3312 | end: {
|
3313 | line: 275,
|
3314 | column: 5
|
3315 | }
|
3316 | },
|
3317 | type: 'if',
|
3318 | locations: [{
|
3319 | start: {
|
3320 | line: 266,
|
3321 | column: 4
|
3322 | },
|
3323 | end: {
|
3324 | line: 275,
|
3325 | column: 5
|
3326 | }
|
3327 | }, {
|
3328 | start: {
|
3329 | line: 266,
|
3330 | column: 4
|
3331 | },
|
3332 | end: {
|
3333 | line: 275,
|
3334 | column: 5
|
3335 | }
|
3336 | }],
|
3337 | line: 266
|
3338 | },
|
3339 | '1': {
|
3340 | loc: {
|
3341 | start: {
|
3342 | line: 272,
|
3343 | column: 26
|
3344 | },
|
3345 | end: {
|
3346 | line: 272,
|
3347 | column: 128
|
3348 | }
|
3349 | },
|
3350 | type: 'cond-expr',
|
3351 | locations: [{
|
3352 | start: {
|
3353 | line: 272,
|
3354 | column: 51
|
3355 | },
|
3356 | end: {
|
3357 | line: 272,
|
3358 | column: 107
|
3359 | }
|
3360 | }, {
|
3361 | start: {
|
3362 | line: 272,
|
3363 | column: 110
|
3364 | },
|
3365 | end: {
|
3366 | line: 272,
|
3367 | column: 128
|
3368 | }
|
3369 | }],
|
3370 | line: 272
|
3371 | },
|
3372 | '2': {
|
3373 | loc: {
|
3374 | start: {
|
3375 | line: 292,
|
3376 | column: 6
|
3377 | },
|
3378 | end: {
|
3379 | line: 294,
|
3380 | column: 7
|
3381 | }
|
3382 | },
|
3383 | type: 'if',
|
3384 | locations: [{
|
3385 | start: {
|
3386 | line: 292,
|
3387 | column: 6
|
3388 | },
|
3389 | end: {
|
3390 | line: 294,
|
3391 | column: 7
|
3392 | }
|
3393 | }, {
|
3394 | start: {
|
3395 | line: 292,
|
3396 | column: 6
|
3397 | },
|
3398 | end: {
|
3399 | line: 294,
|
3400 | column: 7
|
3401 | }
|
3402 | }],
|
3403 | line: 292
|
3404 | },
|
3405 | '3': {
|
3406 | loc: {
|
3407 | start: {
|
3408 | line: 303,
|
3409 | column: 4
|
3410 | },
|
3411 | end: {
|
3412 | line: 306,
|
3413 | column: 5
|
3414 | }
|
3415 | },
|
3416 | type: 'if',
|
3417 | locations: [{
|
3418 | start: {
|
3419 | line: 303,
|
3420 | column: 4
|
3421 | },
|
3422 | end: {
|
3423 | line: 306,
|
3424 | column: 5
|
3425 | }
|
3426 | }, {
|
3427 | start: {
|
3428 | line: 303,
|
3429 | column: 4
|
3430 | },
|
3431 | end: {
|
3432 | line: 306,
|
3433 | column: 5
|
3434 | }
|
3435 | }],
|
3436 | line: 303
|
3437 | },
|
3438 | '4': {
|
3439 | loc: {
|
3440 | start: {
|
3441 | line: 308,
|
3442 | column: 4
|
3443 | },
|
3444 | end: {
|
3445 | line: 311,
|
3446 | column: 5
|
3447 | }
|
3448 | },
|
3449 | type: 'if',
|
3450 | locations: [{
|
3451 | start: {
|
3452 | line: 308,
|
3453 | column: 4
|
3454 | },
|
3455 | end: {
|
3456 | line: 311,
|
3457 | column: 5
|
3458 | }
|
3459 | }, {
|
3460 | start: {
|
3461 | line: 308,
|
3462 | column: 4
|
3463 | },
|
3464 | end: {
|
3465 | line: 311,
|
3466 | column: 5
|
3467 | }
|
3468 | }],
|
3469 | line: 308
|
3470 | },
|
3471 | '5': {
|
3472 | loc: {
|
3473 | start: {
|
3474 | line: 308,
|
3475 | column: 8
|
3476 | },
|
3477 | end: {
|
3478 | line: 308,
|
3479 | column: 49
|
3480 | }
|
3481 | },
|
3482 | type: 'binary-expr',
|
3483 | locations: [{
|
3484 | start: {
|
3485 | line: 308,
|
3486 | column: 8
|
3487 | },
|
3488 | end: {
|
3489 | line: 308,
|
3490 | column: 21
|
3491 | }
|
3492 | }, {
|
3493 | start: {
|
3494 | line: 308,
|
3495 | column: 25
|
3496 | },
|
3497 | end: {
|
3498 | line: 308,
|
3499 | column: 49
|
3500 | }
|
3501 | }],
|
3502 | line: 308
|
3503 | },
|
3504 | '6': {
|
3505 | loc: {
|
3506 | start: {
|
3507 | line: 315,
|
3508 | column: 4
|
3509 | },
|
3510 | end: {
|
3511 | line: 321,
|
3512 | column: 5
|
3513 | }
|
3514 | },
|
3515 | type: 'if',
|
3516 | locations: [{
|
3517 | start: {
|
3518 | line: 315,
|
3519 | column: 4
|
3520 | },
|
3521 | end: {
|
3522 | line: 321,
|
3523 | column: 5
|
3524 | }
|
3525 | }, {
|
3526 | start: {
|
3527 | line: 315,
|
3528 | column: 4
|
3529 | },
|
3530 | end: {
|
3531 | line: 321,
|
3532 | column: 5
|
3533 | }
|
3534 | }],
|
3535 | line: 315
|
3536 | },
|
3537 | '7': {
|
3538 | loc: {
|
3539 | start: {
|
3540 | line: 317,
|
3541 | column: 8
|
3542 | },
|
3543 | end: {
|
3544 | line: 319,
|
3545 | column: 9
|
3546 | }
|
3547 | },
|
3548 | type: 'if',
|
3549 | locations: [{
|
3550 | start: {
|
3551 | line: 317,
|
3552 | column: 8
|
3553 | },
|
3554 | end: {
|
3555 | line: 319,
|
3556 | column: 9
|
3557 | }
|
3558 | }, {
|
3559 | start: {
|
3560 | line: 317,
|
3561 | column: 8
|
3562 | },
|
3563 | end: {
|
3564 | line: 319,
|
3565 | column: 9
|
3566 | }
|
3567 | }],
|
3568 | line: 317
|
3569 | },
|
3570 | '8': {
|
3571 | loc: {
|
3572 | start: {
|
3573 | line: 323,
|
3574 | column: 4
|
3575 | },
|
3576 | end: {
|
3577 | line: 329,
|
3578 | column: 5
|
3579 | }
|
3580 | },
|
3581 | type: 'if',
|
3582 | locations: [{
|
3583 | start: {
|
3584 | line: 323,
|
3585 | column: 4
|
3586 | },
|
3587 | end: {
|
3588 | line: 329,
|
3589 | column: 5
|
3590 | }
|
3591 | }, {
|
3592 | start: {
|
3593 | line: 323,
|
3594 | column: 4
|
3595 | },
|
3596 | end: {
|
3597 | line: 329,
|
3598 | column: 5
|
3599 | }
|
3600 | }],
|
3601 | line: 323
|
3602 | },
|
3603 | '9': {
|
3604 | loc: {
|
3605 | start: {
|
3606 | line: 325,
|
3607 | column: 8
|
3608 | },
|
3609 | end: {
|
3610 | line: 327,
|
3611 | column: 9
|
3612 | }
|
3613 | },
|
3614 | type: 'if',
|
3615 | locations: [{
|
3616 | start: {
|
3617 | line: 325,
|
3618 | column: 8
|
3619 | },
|
3620 | end: {
|
3621 | line: 327,
|
3622 | column: 9
|
3623 | }
|
3624 | }, {
|
3625 | start: {
|
3626 | line: 325,
|
3627 | column: 8
|
3628 | },
|
3629 | end: {
|
3630 | line: 327,
|
3631 | column: 9
|
3632 | }
|
3633 | }],
|
3634 | line: 325
|
3635 | },
|
3636 | '10': {
|
3637 | loc: {
|
3638 | start: {
|
3639 | line: 337,
|
3640 | column: 4
|
3641 | },
|
3642 | end: {
|
3643 | line: 351,
|
3644 | column: 5
|
3645 | }
|
3646 | },
|
3647 | type: 'if',
|
3648 | locations: [{
|
3649 | start: {
|
3650 | line: 337,
|
3651 | column: 4
|
3652 | },
|
3653 | end: {
|
3654 | line: 351,
|
3655 | column: 5
|
3656 | }
|
3657 | }, {
|
3658 | start: {
|
3659 | line: 337,
|
3660 | column: 4
|
3661 | },
|
3662 | end: {
|
3663 | line: 351,
|
3664 | column: 5
|
3665 | }
|
3666 | }],
|
3667 | line: 337
|
3668 | },
|
3669 | '11': {
|
3670 | loc: {
|
3671 | start: {
|
3672 | line: 338,
|
3673 | column: 6
|
3674 | },
|
3675 | end: {
|
3676 | line: 346,
|
3677 | column: 7
|
3678 | }
|
3679 | },
|
3680 | type: 'if',
|
3681 | locations: [{
|
3682 | start: {
|
3683 | line: 338,
|
3684 | column: 6
|
3685 | },
|
3686 | end: {
|
3687 | line: 346,
|
3688 | column: 7
|
3689 | }
|
3690 | }, {
|
3691 | start: {
|
3692 | line: 338,
|
3693 | column: 6
|
3694 | },
|
3695 | end: {
|
3696 | line: 346,
|
3697 | column: 7
|
3698 | }
|
3699 | }],
|
3700 | line: 338
|
3701 | },
|
3702 | '12': {
|
3703 | loc: {
|
3704 | start: {
|
3705 | line: 365,
|
3706 | column: 4
|
3707 | },
|
3708 | end: {
|
3709 | line: 375,
|
3710 | column: 5
|
3711 | }
|
3712 | },
|
3713 | type: 'if',
|
3714 | locations: [{
|
3715 | start: {
|
3716 | line: 365,
|
3717 | column: 4
|
3718 | },
|
3719 | end: {
|
3720 | line: 375,
|
3721 | column: 5
|
3722 | }
|
3723 | }, {
|
3724 | start: {
|
3725 | line: 365,
|
3726 | column: 4
|
3727 | },
|
3728 | end: {
|
3729 | line: 375,
|
3730 | column: 5
|
3731 | }
|
3732 | }],
|
3733 | line: 365
|
3734 | },
|
3735 | '13': {
|
3736 | loc: {
|
3737 | start: {
|
3738 | line: 367,
|
3739 | column: 8
|
3740 | },
|
3741 | end: {
|
3742 | line: 371,
|
3743 | column: 9
|
3744 | }
|
3745 | },
|
3746 | type: 'if',
|
3747 | locations: [{
|
3748 | start: {
|
3749 | line: 367,
|
3750 | column: 8
|
3751 | },
|
3752 | end: {
|
3753 | line: 371,
|
3754 | column: 9
|
3755 | }
|
3756 | }, {
|
3757 | start: {
|
3758 | line: 367,
|
3759 | column: 8
|
3760 | },
|
3761 | end: {
|
3762 | line: 371,
|
3763 | column: 9
|
3764 | }
|
3765 | }],
|
3766 | line: 367
|
3767 | },
|
3768 | '14': {
|
3769 | loc: {
|
3770 | start: {
|
3771 | line: 367,
|
3772 | column: 12
|
3773 | },
|
3774 | end: {
|
3775 | line: 367,
|
3776 | column: 152
|
3777 | }
|
3778 | },
|
3779 | type: 'binary-expr',
|
3780 | locations: [{
|
3781 | start: {
|
3782 | line: 367,
|
3783 | column: 12
|
3784 | },
|
3785 | end: {
|
3786 | line: 367,
|
3787 | column: 40
|
3788 | }
|
3789 | }, {
|
3790 | start: {
|
3791 | line: 367,
|
3792 | column: 44
|
3793 | },
|
3794 | end: {
|
3795 | line: 367,
|
3796 | column: 80
|
3797 | }
|
3798 | }, {
|
3799 | start: {
|
3800 | line: 367,
|
3801 | column: 84
|
3802 | },
|
3803 | end: {
|
3804 | line: 367,
|
3805 | column: 112
|
3806 | }
|
3807 | }, {
|
3808 | start: {
|
3809 | line: 367,
|
3810 | column: 116
|
3811 | },
|
3812 | end: {
|
3813 | line: 367,
|
3814 | column: 152
|
3815 | }
|
3816 | }],
|
3817 | line: 367
|
3818 | },
|
3819 | '15': {
|
3820 | loc: {
|
3821 | start: {
|
3822 | line: 382,
|
3823 | column: 6
|
3824 | },
|
3825 | end: {
|
3826 | line: 386,
|
3827 | column: 7
|
3828 | }
|
3829 | },
|
3830 | type: 'if',
|
3831 | locations: [{
|
3832 | start: {
|
3833 | line: 382,
|
3834 | column: 6
|
3835 | },
|
3836 | end: {
|
3837 | line: 386,
|
3838 | column: 7
|
3839 | }
|
3840 | }, {
|
3841 | start: {
|
3842 | line: 382,
|
3843 | column: 6
|
3844 | },
|
3845 | end: {
|
3846 | line: 386,
|
3847 | column: 7
|
3848 | }
|
3849 | }],
|
3850 | line: 382
|
3851 | },
|
3852 | '16': {
|
3853 | loc: {
|
3854 | start: {
|
3855 | line: 383,
|
3856 | column: 22
|
3857 | },
|
3858 | end: {
|
3859 | line: 385,
|
3860 | column: 89
|
3861 | }
|
3862 | },
|
3863 | type: 'binary-expr',
|
3864 | locations: [{
|
3865 | start: {
|
3866 | line: 383,
|
3867 | column: 22
|
3868 | },
|
3869 | end: {
|
3870 | line: 383,
|
3871 | column: 40
|
3872 | }
|
3873 | }, {
|
3874 | start: {
|
3875 | line: 384,
|
3876 | column: 11
|
3877 | },
|
3878 | end: {
|
3879 | line: 384,
|
3880 | column: 40
|
3881 | }
|
3882 | }, {
|
3883 | start: {
|
3884 | line: 384,
|
3885 | column: 44
|
3886 | },
|
3887 | end: {
|
3888 | line: 384,
|
3889 | column: 86
|
3890 | }
|
3891 | }, {
|
3892 | start: {
|
3893 | line: 385,
|
3894 | column: 11
|
3895 | },
|
3896 | end: {
|
3897 | line: 385,
|
3898 | column: 46
|
3899 | }
|
3900 | }, {
|
3901 | start: {
|
3902 | line: 385,
|
3903 | column: 50
|
3904 | },
|
3905 | end: {
|
3906 | line: 385,
|
3907 | column: 88
|
3908 | }
|
3909 | }],
|
3910 | line: 383
|
3911 | },
|
3912 | '17': {
|
3913 | loc: {
|
3914 | start: {
|
3915 | line: 388,
|
3916 | column: 4
|
3917 | },
|
3918 | end: {
|
3919 | line: 390,
|
3920 | column: 5
|
3921 | }
|
3922 | },
|
3923 | type: 'if',
|
3924 | locations: [{
|
3925 | start: {
|
3926 | line: 388,
|
3927 | column: 4
|
3928 | },
|
3929 | end: {
|
3930 | line: 390,
|
3931 | column: 5
|
3932 | }
|
3933 | }, {
|
3934 | start: {
|
3935 | line: 388,
|
3936 | column: 4
|
3937 | },
|
3938 | end: {
|
3939 | line: 390,
|
3940 | column: 5
|
3941 | }
|
3942 | }],
|
3943 | line: 388
|
3944 | },
|
3945 | '18': {
|
3946 | loc: {
|
3947 | start: {
|
3948 | line: 402,
|
3949 | column: 4
|
3950 | },
|
3951 | end: {
|
3952 | line: 404,
|
3953 | column: 5
|
3954 | }
|
3955 | },
|
3956 | type: 'if',
|
3957 | locations: [{
|
3958 | start: {
|
3959 | line: 402,
|
3960 | column: 4
|
3961 | },
|
3962 | end: {
|
3963 | line: 404,
|
3964 | column: 5
|
3965 | }
|
3966 | }, {
|
3967 | start: {
|
3968 | line: 402,
|
3969 | column: 4
|
3970 | },
|
3971 | end: {
|
3972 | line: 404,
|
3973 | column: 5
|
3974 | }
|
3975 | }],
|
3976 | line: 402
|
3977 | },
|
3978 | '19': {
|
3979 | loc: {
|
3980 | start: {
|
3981 | line: 414,
|
3982 | column: 4
|
3983 | },
|
3984 | end: {
|
3985 | line: 438,
|
3986 | column: 5
|
3987 | }
|
3988 | },
|
3989 | type: 'if',
|
3990 | locations: [{
|
3991 | start: {
|
3992 | line: 414,
|
3993 | column: 4
|
3994 | },
|
3995 | end: {
|
3996 | line: 438,
|
3997 | column: 5
|
3998 | }
|
3999 | }, {
|
4000 | start: {
|
4001 | line: 414,
|
4002 | column: 4
|
4003 | },
|
4004 | end: {
|
4005 | line: 438,
|
4006 | column: 5
|
4007 | }
|
4008 | }],
|
4009 | line: 414
|
4010 | },
|
4011 | '20': {
|
4012 | loc: {
|
4013 | start: {
|
4014 | line: 414,
|
4015 | column: 8
|
4016 | },
|
4017 | end: {
|
4018 | line: 414,
|
4019 | column: 58
|
4020 | }
|
4021 | },
|
4022 | type: 'binary-expr',
|
4023 | locations: [{
|
4024 | start: {
|
4025 | line: 414,
|
4026 | column: 8
|
4027 | },
|
4028 | end: {
|
4029 | line: 414,
|
4030 | column: 21
|
4031 | }
|
4032 | }, {
|
4033 | start: {
|
4034 | line: 414,
|
4035 | column: 25
|
4036 | },
|
4037 | end: {
|
4038 | line: 414,
|
4039 | column: 58
|
4040 | }
|
4041 | }],
|
4042 | line: 414
|
4043 | },
|
4044 | '21': {
|
4045 | loc: {
|
4046 | start: {
|
4047 | line: 418,
|
4048 | column: 6
|
4049 | },
|
4050 | end: {
|
4051 | line: 434,
|
4052 | column: 7
|
4053 | }
|
4054 | },
|
4055 | type: 'if',
|
4056 | locations: [{
|
4057 | start: {
|
4058 | line: 418,
|
4059 | column: 6
|
4060 | },
|
4061 | end: {
|
4062 | line: 434,
|
4063 | column: 7
|
4064 | }
|
4065 | }, {
|
4066 | start: {
|
4067 | line: 418,
|
4068 | column: 6
|
4069 | },
|
4070 | end: {
|
4071 | line: 434,
|
4072 | column: 7
|
4073 | }
|
4074 | }],
|
4075 | line: 418
|
4076 | },
|
4077 | '22': {
|
4078 | loc: {
|
4079 | start: {
|
4080 | line: 420,
|
4081 | column: 17
|
4082 | },
|
4083 | end: {
|
4084 | line: 420,
|
4085 | column: 58
|
4086 | }
|
4087 | },
|
4088 | type: 'cond-expr',
|
4089 | locations: [{
|
4090 | start: {
|
4091 | line: 420,
|
4092 | column: 49
|
4093 | },
|
4094 | end: {
|
4095 | line: 420,
|
4096 | column: 52
|
4097 | }
|
4098 | }, {
|
4099 | start: {
|
4100 | line: 420,
|
4101 | column: 55
|
4102 | },
|
4103 | end: {
|
4104 | line: 420,
|
4105 | column: 58
|
4106 | }
|
4107 | }],
|
4108 | line: 420
|
4109 | },
|
4110 | '23': {
|
4111 | loc: {
|
4112 | start: {
|
4113 | line: 428,
|
4114 | column: 17
|
4115 | },
|
4116 | end: {
|
4117 | line: 428,
|
4118 | column: 58
|
4119 | }
|
4120 | },
|
4121 | type: 'cond-expr',
|
4122 | locations: [{
|
4123 | start: {
|
4124 | line: 428,
|
4125 | column: 49
|
4126 | },
|
4127 | end: {
|
4128 | line: 428,
|
4129 | column: 52
|
4130 | }
|
4131 | }, {
|
4132 | start: {
|
4133 | line: 428,
|
4134 | column: 55
|
4135 | },
|
4136 | end: {
|
4137 | line: 428,
|
4138 | column: 58
|
4139 | }
|
4140 | }],
|
4141 | line: 428
|
4142 | },
|
4143 | '24': {
|
4144 | loc: {
|
4145 | start: {
|
4146 | line: 449,
|
4147 | column: 4
|
4148 | },
|
4149 | end: {
|
4150 | line: 451,
|
4151 | column: 5
|
4152 | }
|
4153 | },
|
4154 | type: 'if',
|
4155 | locations: [{
|
4156 | start: {
|
4157 | line: 449,
|
4158 | column: 4
|
4159 | },
|
4160 | end: {
|
4161 | line: 451,
|
4162 | column: 5
|
4163 | }
|
4164 | }, {
|
4165 | start: {
|
4166 | line: 449,
|
4167 | column: 4
|
4168 | },
|
4169 | end: {
|
4170 | line: 451,
|
4171 | column: 5
|
4172 | }
|
4173 | }],
|
4174 | line: 449
|
4175 | },
|
4176 | '25': {
|
4177 | loc: {
|
4178 | start: {
|
4179 | line: 449,
|
4180 | column: 8
|
4181 | },
|
4182 | end: {
|
4183 | line: 449,
|
4184 | column: 85
|
4185 | }
|
4186 | },
|
4187 | type: 'binary-expr',
|
4188 | locations: [{
|
4189 | start: {
|
4190 | line: 449,
|
4191 | column: 8
|
4192 | },
|
4193 | end: {
|
4194 | line: 449,
|
4195 | column: 30
|
4196 | }
|
4197 | }, {
|
4198 | start: {
|
4199 | line: 449,
|
4200 | column: 34
|
4201 | },
|
4202 | end: {
|
4203 | line: 449,
|
4204 | column: 57
|
4205 | }
|
4206 | }, {
|
4207 | start: {
|
4208 | line: 449,
|
4209 | column: 61
|
4210 | },
|
4211 | end: {
|
4212 | line: 449,
|
4213 | column: 85
|
4214 | }
|
4215 | }],
|
4216 | line: 449
|
4217 | },
|
4218 | '26': {
|
4219 | loc: {
|
4220 | start: {
|
4221 | line: 453,
|
4222 | column: 4
|
4223 | },
|
4224 | end: {
|
4225 | line: 456,
|
4226 | column: 5
|
4227 | }
|
4228 | },
|
4229 | type: 'if',
|
4230 | locations: [{
|
4231 | start: {
|
4232 | line: 453,
|
4233 | column: 4
|
4234 | },
|
4235 | end: {
|
4236 | line: 456,
|
4237 | column: 5
|
4238 | }
|
4239 | }, {
|
4240 | start: {
|
4241 | line: 453,
|
4242 | column: 4
|
4243 | },
|
4244 | end: {
|
4245 | line: 456,
|
4246 | column: 5
|
4247 | }
|
4248 | }],
|
4249 | line: 453
|
4250 | },
|
4251 | '27': {
|
4252 | loc: {
|
4253 | start: {
|
4254 | line: 453,
|
4255 | column: 8
|
4256 | },
|
4257 | end: {
|
4258 | line: 453,
|
4259 | column: 144
|
4260 | }
|
4261 | },
|
4262 | type: 'binary-expr',
|
4263 | locations: [{
|
4264 | start: {
|
4265 | line: 453,
|
4266 | column: 8
|
4267 | },
|
4268 | end: {
|
4269 | line: 453,
|
4270 | column: 36
|
4271 | }
|
4272 | }, {
|
4273 | start: {
|
4274 | line: 453,
|
4275 | column: 40
|
4276 | },
|
4277 | end: {
|
4278 | line: 453,
|
4279 | column: 74
|
4280 | }
|
4281 | }, {
|
4282 | start: {
|
4283 | line: 453,
|
4284 | column: 78
|
4285 | },
|
4286 | end: {
|
4287 | line: 453,
|
4288 | column: 106
|
4289 | }
|
4290 | }, {
|
4291 | start: {
|
4292 | line: 453,
|
4293 | column: 110
|
4294 | },
|
4295 | end: {
|
4296 | line: 453,
|
4297 | column: 144
|
4298 | }
|
4299 | }],
|
4300 | line: 453
|
4301 | },
|
4302 | '28': {
|
4303 | loc: {
|
4304 | start: {
|
4305 | line: 504,
|
4306 | column: 4
|
4307 | },
|
4308 | end: {
|
4309 | line: 506,
|
4310 | column: 5
|
4311 | }
|
4312 | },
|
4313 | type: 'if',
|
4314 | locations: [{
|
4315 | start: {
|
4316 | line: 504,
|
4317 | column: 4
|
4318 | },
|
4319 | end: {
|
4320 | line: 506,
|
4321 | column: 5
|
4322 | }
|
4323 | }, {
|
4324 | start: {
|
4325 | line: 504,
|
4326 | column: 4
|
4327 | },
|
4328 | end: {
|
4329 | line: 506,
|
4330 | column: 5
|
4331 | }
|
4332 | }],
|
4333 | line: 504
|
4334 | },
|
4335 | '29': {
|
4336 | loc: {
|
4337 | start: {
|
4338 | line: 520,
|
4339 | column: 4
|
4340 | },
|
4341 | end: {
|
4342 | line: 543,
|
4343 | column: 5
|
4344 | }
|
4345 | },
|
4346 | type: 'switch',
|
4347 | locations: [{
|
4348 | start: {
|
4349 | line: 521,
|
4350 | column: 4
|
4351 | },
|
4352 | end: {
|
4353 | line: 521,
|
4354 | column: 13
|
4355 | }
|
4356 | }, {
|
4357 | start: {
|
4358 | line: 522,
|
4359 | column: 4
|
4360 | },
|
4361 | end: {
|
4362 | line: 522,
|
4363 | column: 13
|
4364 | }
|
4365 | }, {
|
4366 | start: {
|
4367 | line: 523,
|
4368 | column: 4
|
4369 | },
|
4370 | end: {
|
4371 | line: 523,
|
4372 | column: 13
|
4373 | }
|
4374 | }, {
|
4375 | start: {
|
4376 | line: 524,
|
4377 | column: 4
|
4378 | },
|
4379 | end: {
|
4380 | line: 524,
|
4381 | column: 13
|
4382 | }
|
4383 | }, {
|
4384 | start: {
|
4385 | line: 525,
|
4386 | column: 4
|
4387 | },
|
4388 | end: {
|
4389 | line: 525,
|
4390 | column: 13
|
4391 | }
|
4392 | }, {
|
4393 | start: {
|
4394 | line: 526,
|
4395 | column: 4
|
4396 | },
|
4397 | end: {
|
4398 | line: 527,
|
4399 | column: 19
|
4400 | }
|
4401 | }, {
|
4402 | start: {
|
4403 | line: 528,
|
4404 | column: 4
|
4405 | },
|
4406 | end: {
|
4407 | line: 529,
|
4408 | column: 18
|
4409 | }
|
4410 | }, {
|
4411 | start: {
|
4412 | line: 530,
|
4413 | column: 4
|
4414 | },
|
4415 | end: {
|
4416 | line: 530,
|
4417 | column: 13
|
4418 | }
|
4419 | }, {
|
4420 | start: {
|
4421 | line: 531,
|
4422 | column: 4
|
4423 | },
|
4424 | end: {
|
4425 | line: 531,
|
4426 | column: 13
|
4427 | }
|
4428 | }, {
|
4429 | start: {
|
4430 | line: 532,
|
4431 | column: 4
|
4432 | },
|
4433 | end: {
|
4434 | line: 533,
|
4435 | column: 18
|
4436 | }
|
4437 | }, {
|
4438 | start: {
|
4439 | line: 534,
|
4440 | column: 4
|
4441 | },
|
4442 | end: {
|
4443 | line: 535,
|
4444 | column: 18
|
4445 | }
|
4446 | }, {
|
4447 | start: {
|
4448 | line: 536,
|
4449 | column: 4
|
4450 | },
|
4451 | end: {
|
4452 | line: 537,
|
4453 | column: 19
|
4454 | }
|
4455 | }, {
|
4456 | start: {
|
4457 | line: 538,
|
4458 | column: 4
|
4459 | },
|
4460 | end: {
|
4461 | line: 539,
|
4462 | column: 19
|
4463 | }
|
4464 | }, {
|
4465 | start: {
|
4466 | line: 540,
|
4467 | column: 4
|
4468 | },
|
4469 | end: {
|
4470 | line: 540,
|
4471 | column: 14
|
4472 | }
|
4473 | }, {
|
4474 | start: {
|
4475 | line: 541,
|
4476 | column: 4
|
4477 | },
|
4478 | end: {
|
4479 | line: 542,
|
4480 | column: 19
|
4481 | }
|
4482 | }],
|
4483 | line: 520
|
4484 | },
|
4485 | '30': {
|
4486 | loc: {
|
4487 | start: {
|
4488 | line: 556,
|
4489 | column: 4
|
4490 | },
|
4491 | end: {
|
4492 | line: 561,
|
4493 | column: 5
|
4494 | }
|
4495 | },
|
4496 | type: 'switch',
|
4497 | locations: [{
|
4498 | start: {
|
4499 | line: 557,
|
4500 | column: 4
|
4501 | },
|
4502 | end: {
|
4503 | line: 558,
|
4504 | column: 18
|
4505 | }
|
4506 | }, {
|
4507 | start: {
|
4508 | line: 559,
|
4509 | column: 4
|
4510 | },
|
4511 | end: {
|
4512 | line: 560,
|
4513 | column: 23
|
4514 | }
|
4515 | }],
|
4516 | line: 556
|
4517 | },
|
4518 | '31': {
|
4519 | loc: {
|
4520 | start: {
|
4521 | line: 594,
|
4522 | column: 4
|
4523 | },
|
4524 | end: {
|
4525 | line: 596,
|
4526 | column: 5
|
4527 | }
|
4528 | },
|
4529 | type: 'if',
|
4530 | locations: [{
|
4531 | start: {
|
4532 | line: 594,
|
4533 | column: 4
|
4534 | },
|
4535 | end: {
|
4536 | line: 596,
|
4537 | column: 5
|
4538 | }
|
4539 | }, {
|
4540 | start: {
|
4541 | line: 594,
|
4542 | column: 4
|
4543 | },
|
4544 | end: {
|
4545 | line: 596,
|
4546 | column: 5
|
4547 | }
|
4548 | }],
|
4549 | line: 594
|
4550 | },
|
4551 | '32': {
|
4552 | loc: {
|
4553 | start: {
|
4554 | line: 600,
|
4555 | column: 4
|
4556 | },
|
4557 | end: {
|
4558 | line: 606,
|
4559 | column: 5
|
4560 | }
|
4561 | },
|
4562 | type: 'if',
|
4563 | locations: [{
|
4564 | start: {
|
4565 | line: 600,
|
4566 | column: 4
|
4567 | },
|
4568 | end: {
|
4569 | line: 606,
|
4570 | column: 5
|
4571 | }
|
4572 | }, {
|
4573 | start: {
|
4574 | line: 600,
|
4575 | column: 4
|
4576 | },
|
4577 | end: {
|
4578 | line: 606,
|
4579 | column: 5
|
4580 | }
|
4581 | }],
|
4582 | line: 600
|
4583 | },
|
4584 | '33': {
|
4585 | loc: {
|
4586 | start: {
|
4587 | line: 602,
|
4588 | column: 11
|
4589 | },
|
4590 | end: {
|
4591 | line: 606,
|
4592 | column: 5
|
4593 | }
|
4594 | },
|
4595 | type: 'if',
|
4596 | locations: [{
|
4597 | start: {
|
4598 | line: 602,
|
4599 | column: 11
|
4600 | },
|
4601 | end: {
|
4602 | line: 606,
|
4603 | column: 5
|
4604 | }
|
4605 | }, {
|
4606 | start: {
|
4607 | line: 602,
|
4608 | column: 11
|
4609 | },
|
4610 | end: {
|
4611 | line: 606,
|
4612 | column: 5
|
4613 | }
|
4614 | }],
|
4615 | line: 602
|
4616 | },
|
4617 | '34': {
|
4618 | loc: {
|
4619 | start: {
|
4620 | line: 608,
|
4621 | column: 4
|
4622 | },
|
4623 | end: {
|
4624 | line: 610,
|
4625 | column: 5
|
4626 | }
|
4627 | },
|
4628 | type: 'if',
|
4629 | locations: [{
|
4630 | start: {
|
4631 | line: 608,
|
4632 | column: 4
|
4633 | },
|
4634 | end: {
|
4635 | line: 610,
|
4636 | column: 5
|
4637 | }
|
4638 | }, {
|
4639 | start: {
|
4640 | line: 608,
|
4641 | column: 4
|
4642 | },
|
4643 | end: {
|
4644 | line: 610,
|
4645 | column: 5
|
4646 | }
|
4647 | }],
|
4648 | line: 608
|
4649 | },
|
4650 | '35': {
|
4651 | loc: {
|
4652 | start: {
|
4653 | line: 608,
|
4654 | column: 8
|
4655 | },
|
4656 | end: {
|
4657 | line: 608,
|
4658 | column: 47
|
4659 | }
|
4660 | },
|
4661 | type: 'binary-expr',
|
4662 | locations: [{
|
4663 | start: {
|
4664 | line: 608,
|
4665 | column: 8
|
4666 | },
|
4667 | end: {
|
4668 | line: 608,
|
4669 | column: 21
|
4670 | }
|
4671 | }, {
|
4672 | start: {
|
4673 | line: 608,
|
4674 | column: 25
|
4675 | },
|
4676 | end: {
|
4677 | line: 608,
|
4678 | column: 47
|
4679 | }
|
4680 | }],
|
4681 | line: 608
|
4682 | },
|
4683 | '36': {
|
4684 | loc: {
|
4685 | start: {
|
4686 | line: 612,
|
4687 | column: 4
|
4688 | },
|
4689 | end: {
|
4690 | line: 614,
|
4691 | column: 5
|
4692 | }
|
4693 | },
|
4694 | type: 'if',
|
4695 | locations: [{
|
4696 | start: {
|
4697 | line: 612,
|
4698 | column: 4
|
4699 | },
|
4700 | end: {
|
4701 | line: 614,
|
4702 | column: 5
|
4703 | }
|
4704 | }, {
|
4705 | start: {
|
4706 | line: 612,
|
4707 | column: 4
|
4708 | },
|
4709 | end: {
|
4710 | line: 614,
|
4711 | column: 5
|
4712 | }
|
4713 | }],
|
4714 | line: 612
|
4715 | }
|
4716 | },
|
4717 | s: {
|
4718 | '0': 0,
|
4719 | '1': 0,
|
4720 | '2': 0,
|
4721 | '3': 0,
|
4722 | '4': 0,
|
4723 | '5': 0,
|
4724 | '6': 0,
|
4725 | '7': 0,
|
4726 | '8': 0,
|
4727 | '9': 0,
|
4728 | '10': 0,
|
4729 | '11': 0,
|
4730 | '12': 0,
|
4731 | '13': 0,
|
4732 | '14': 0,
|
4733 | '15': 0,
|
4734 | '16': 0,
|
4735 | '17': 0,
|
4736 | '18': 0,
|
4737 | '19': 0,
|
4738 | '20': 0,
|
4739 | '21': 0,
|
4740 | '22': 0,
|
4741 | '23': 0,
|
4742 | '24': 0,
|
4743 | '25': 0,
|
4744 | '26': 0,
|
4745 | '27': 0,
|
4746 | '28': 0,
|
4747 | '29': 0,
|
4748 | '30': 0,
|
4749 | '31': 0,
|
4750 | '32': 0,
|
4751 | '33': 0,
|
4752 | '34': 0,
|
4753 | '35': 0,
|
4754 | '36': 0,
|
4755 | '37': 0,
|
4756 | '38': 0,
|
4757 | '39': 0,
|
4758 | '40': 0,
|
4759 | '41': 0,
|
4760 | '42': 0,
|
4761 | '43': 0,
|
4762 | '44': 0,
|
4763 | '45': 0,
|
4764 | '46': 0,
|
4765 | '47': 0,
|
4766 | '48': 0,
|
4767 | '49': 0,
|
4768 | '50': 0,
|
4769 | '51': 0,
|
4770 | '52': 0,
|
4771 | '53': 0,
|
4772 | '54': 0,
|
4773 | '55': 0,
|
4774 | '56': 0,
|
4775 | '57': 0,
|
4776 | '58': 0,
|
4777 | '59': 0,
|
4778 | '60': 0,
|
4779 | '61': 0,
|
4780 | '62': 0,
|
4781 | '63': 0,
|
4782 | '64': 0,
|
4783 | '65': 0,
|
4784 | '66': 0,
|
4785 | '67': 0,
|
4786 | '68': 0,
|
4787 | '69': 0,
|
4788 | '70': 0,
|
4789 | '71': 0,
|
4790 | '72': 0,
|
4791 | '73': 0,
|
4792 | '74': 0,
|
4793 | '75': 0,
|
4794 | '76': 0,
|
4795 | '77': 0,
|
4796 | '78': 0,
|
4797 | '79': 0,
|
4798 | '80': 0,
|
4799 | '81': 0,
|
4800 | '82': 0,
|
4801 | '83': 0,
|
4802 | '84': 0,
|
4803 | '85': 0,
|
4804 | '86': 0,
|
4805 | '87': 0,
|
4806 | '88': 0,
|
4807 | '89': 0,
|
4808 | '90': 0,
|
4809 | '91': 0,
|
4810 | '92': 0,
|
4811 | '93': 0,
|
4812 | '94': 0,
|
4813 | '95': 0,
|
4814 | '96': 0,
|
4815 | '97': 0,
|
4816 | '98': 0,
|
4817 | '99': 0,
|
4818 | '100': 0,
|
4819 | '101': 0,
|
4820 | '102': 0,
|
4821 | '103': 0,
|
4822 | '104': 0,
|
4823 | '105': 0,
|
4824 | '106': 0,
|
4825 | '107': 0,
|
4826 | '108': 0,
|
4827 | '109': 0,
|
4828 | '110': 0,
|
4829 | '111': 0,
|
4830 | '112': 0,
|
4831 | '113': 0,
|
4832 | '114': 0,
|
4833 | '115': 0,
|
4834 | '116': 0,
|
4835 | '117': 0,
|
4836 | '118': 0,
|
4837 | '119': 0,
|
4838 | '120': 0,
|
4839 | '121': 0,
|
4840 | '122': 0,
|
4841 | '123': 0,
|
4842 | '124': 0,
|
4843 | '125': 0,
|
4844 | '126': 0,
|
4845 | '127': 0,
|
4846 | '128': 0,
|
4847 | '129': 0,
|
4848 | '130': 0,
|
4849 | '131': 0,
|
4850 | '132': 0,
|
4851 | '133': 0,
|
4852 | '134': 0,
|
4853 | '135': 0,
|
4854 | '136': 0,
|
4855 | '137': 0,
|
4856 | '138': 0,
|
4857 | '139': 0,
|
4858 | '140': 0,
|
4859 | '141': 0,
|
4860 | '142': 0,
|
4861 | '143': 0,
|
4862 | '144': 0,
|
4863 | '145': 0
|
4864 | },
|
4865 | f: {
|
4866 | '0': 0,
|
4867 | '1': 0,
|
4868 | '2': 0,
|
4869 | '3': 0,
|
4870 | '4': 0,
|
4871 | '5': 0,
|
4872 | '6': 0,
|
4873 | '7': 0,
|
4874 | '8': 0,
|
4875 | '9': 0,
|
4876 | '10': 0,
|
4877 | '11': 0,
|
4878 | '12': 0,
|
4879 | '13': 0,
|
4880 | '14': 0,
|
4881 | '15': 0,
|
4882 | '16': 0,
|
4883 | '17': 0,
|
4884 | '18': 0,
|
4885 | '19': 0,
|
4886 | '20': 0,
|
4887 | '21': 0,
|
4888 | '22': 0,
|
4889 | '23': 0,
|
4890 | '24': 0,
|
4891 | '25': 0,
|
4892 | '26': 0
|
4893 | },
|
4894 | b: {
|
4895 | '0': [0, 0],
|
4896 | '1': [0, 0],
|
4897 | '2': [0, 0],
|
4898 | '3': [0, 0],
|
4899 | '4': [0, 0],
|
4900 | '5': [0, 0],
|
4901 | '6': [0, 0],
|
4902 | '7': [0, 0],
|
4903 | '8': [0, 0],
|
4904 | '9': [0, 0],
|
4905 | '10': [0, 0],
|
4906 | '11': [0, 0],
|
4907 | '12': [0, 0],
|
4908 | '13': [0, 0],
|
4909 | '14': [0, 0, 0, 0],
|
4910 | '15': [0, 0],
|
4911 | '16': [0, 0, 0, 0, 0],
|
4912 | '17': [0, 0],
|
4913 | '18': [0, 0],
|
4914 | '19': [0, 0],
|
4915 | '20': [0, 0],
|
4916 | '21': [0, 0],
|
4917 | '22': [0, 0],
|
4918 | '23': [0, 0],
|
4919 | '24': [0, 0],
|
4920 | '25': [0, 0, 0],
|
4921 | '26': [0, 0],
|
4922 | '27': [0, 0, 0, 0],
|
4923 | '28': [0, 0],
|
4924 | '29': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
4925 | '30': [0, 0],
|
4926 | '31': [0, 0],
|
4927 | '32': [0, 0],
|
4928 | '33': [0, 0],
|
4929 | '34': [0, 0],
|
4930 | '35': [0, 0],
|
4931 | '36': [0, 0]
|
4932 | },
|
4933 | _coverageSchema: '332fd63041d2c1bcb487cc26dd0d5f7d97098a6c'
|
4934 | },
|
4935 | coverage = global[gcv] || (global[gcv] = {});
|
4936 |
|
4937 | if (coverage[path] && coverage[path].hash === hash) {
|
4938 | return coverage[path];
|
4939 | }
|
4940 |
|
4941 | coverageData.hash = hash;
|
4942 | return coverage[path] = coverageData;
|
4943 | }();
|
4944 | var Plugin = (cov_2aa72mhyaz.s[0]++, videojs.getPlugin('plugin'));
|
4945 | var defaults$1 = (cov_2aa72mhyaz.s[1]++, {
|
4946 | index: -1,
|
4947 | autoLabel: 'Auto',
|
4948 | defaultQuality: 0,
|
4949 | displayMode: 0,
|
4950 | minHeight: 0,
|
4951 | maxHeight: 0,
|
4952 | labels: [],
|
4953 | disableAuto: false,
|
4954 | filterDuplicates: true,
|
4955 | filterDuplicateHeights: true,
|
4956 | showSingleItemMenu: false,
|
4957 | showBitrates: false,
|
4958 | sortEnabled: true,
|
4959 | sort: 0
|
4960 | });
|
4961 |
|
4962 | var MaxQualitySelector =
|
4963 |
|
4964 | function (_Plugin) {
|
4965 | _inheritsLoose(MaxQualitySelector, _Plugin);
|
4966 |
|
4967 | function MaxQualitySelector(player, options) {
|
4968 | var _this;
|
4969 |
|
4970 | cov_2aa72mhyaz.f[0]++;
|
4971 | cov_2aa72mhyaz.s[2]++;
|
4972 | _this = _Plugin.call(this, player) || this;
|
4973 | cov_2aa72mhyaz.s[3]++;
|
4974 | _this.defaults = defaults$1;
|
4975 | cov_2aa72mhyaz.s[4]++;
|
4976 | _this.options = videojs.mergeOptions(defaults$1, options);
|
4977 | cov_2aa72mhyaz.s[5]++;
|
4978 | _this.log = videojs.log.createLogger('MaxQualitySelector');
|
4979 | cov_2aa72mhyaz.s[6]++;
|
4980 | _this.autoMode = true;
|
4981 | cov_2aa72mhyaz.s[7]++;
|
4982 | _this.qualityLevels = [];
|
4983 | cov_2aa72mhyaz.s[8]++;
|
4984 |
|
4985 | _this.player.on('loadstart', _this.handleMediaChange.bind(_assertThisInitialized(_this)));
|
4986 |
|
4987 | cov_2aa72mhyaz.s[9]++;
|
4988 |
|
4989 | if (_this.player.qualityLevels !== undefined) {
|
4990 | cov_2aa72mhyaz.b[0][0]++;
|
4991 | cov_2aa72mhyaz.s[10]++;
|
4992 | _this.qlInternal = _this.player.qualityLevels();
|
4993 | cov_2aa72mhyaz.s[11]++;
|
4994 |
|
4995 | _this.qlInternal.on('addqualitylevel', _this.handleQualityLevel.bind(_assertThisInitialized(_this)));
|
4996 |
|
4997 | cov_2aa72mhyaz.s[12]++;
|
4998 |
|
4999 | _this.qlInternal.on('change', _this.handleChange.bind(_assertThisInitialized(_this)));
|
5000 |
|
5001 | var buttonIndex = (cov_2aa72mhyaz.s[13]++, _this.options.index < 0 ? (cov_2aa72mhyaz.b[1][0]++, player.controlBar.children().length + _this.options.index) : (cov_2aa72mhyaz.b[1][1]++, _this.options.index));
|
5002 | cov_2aa72mhyaz.s[14]++;
|
5003 | _this.button = player.controlBar.addChild('MaxQualityButton', {
|
5004 | parent: _assertThisInitialized(_this)
|
5005 | }, buttonIndex);
|
5006 | } else {
|
5007 | cov_2aa72mhyaz.b[0][1]++;
|
5008 | }
|
5009 |
|
5010 | cov_2aa72mhyaz.s[15]++;
|
5011 |
|
5012 | _this.player.ready(function () {
|
5013 | cov_2aa72mhyaz.f[1]++;
|
5014 | cov_2aa72mhyaz.s[16]++;
|
5015 |
|
5016 | _this.player.addClass('vjs-max-quality-selector');
|
5017 | });
|
5018 |
|
5019 | return _this;
|
5020 | }
|
5021 |
|
5022 | var _proto = MaxQualitySelector.prototype;
|
5023 |
|
5024 | _proto.update = function update() {
|
5025 | cov_2aa72mhyaz.f[2]++;
|
5026 | var self = (cov_2aa72mhyaz.s[17]++, this);
|
5027 | var enabledLevels = (cov_2aa72mhyaz.s[18]++, []);
|
5028 | cov_2aa72mhyaz.s[19]++;
|
5029 | this.qualityLevels.forEach(function (obj, idx) {
|
5030 | cov_2aa72mhyaz.f[3]++;
|
5031 | cov_2aa72mhyaz.s[20]++;
|
5032 | obj.isCurrent = false;
|
5033 | cov_2aa72mhyaz.s[21]++;
|
5034 |
|
5035 | if (self.qlInternal.levels_[obj.id].enabled) {
|
5036 | cov_2aa72mhyaz.b[2][0]++;
|
5037 | cov_2aa72mhyaz.s[22]++;
|
5038 | enabledLevels.push(obj.id);
|
5039 | } else {
|
5040 | cov_2aa72mhyaz.b[2][1]++;
|
5041 | }
|
5042 | });
|
5043 | cov_2aa72mhyaz.s[23]++;
|
5044 | this.autoMode = enabledLevels.length === this.qualityLevels.length;
|
5045 | var selQuality = (cov_2aa72mhyaz.s[24]++, this.qualityLevels.find(function (level) {
|
5046 | cov_2aa72mhyaz.f[4]++;
|
5047 | cov_2aa72mhyaz.s[25]++;
|
5048 | return level.id === self.selectedIndex;
|
5049 | }));
|
5050 | cov_2aa72mhyaz.s[26]++;
|
5051 |
|
5052 | if (selQuality === undefined) {
|
5053 | cov_2aa72mhyaz.b[3][0]++;
|
5054 | cov_2aa72mhyaz.s[27]++;
|
5055 | this.button.hide();
|
5056 | cov_2aa72mhyaz.s[28]++;
|
5057 | return;
|
5058 | } else {
|
5059 | cov_2aa72mhyaz.b[3][1]++;
|
5060 | }
|
5061 |
|
5062 | cov_2aa72mhyaz.s[29]++;
|
5063 |
|
5064 | if ((cov_2aa72mhyaz.b[5][0]++, this.autoMode) && (cov_2aa72mhyaz.b[5][1]++, this.options.disableAuto)) {
|
5065 | cov_2aa72mhyaz.b[4][0]++;
|
5066 | cov_2aa72mhyaz.s[30]++;
|
5067 | this.autoMode = false;
|
5068 | cov_2aa72mhyaz.s[31]++;
|
5069 | this.changeLevel(selQuality.id);
|
5070 | } else {
|
5071 | cov_2aa72mhyaz.b[4][1]++;
|
5072 | }
|
5073 |
|
5074 | cov_2aa72mhyaz.s[32]++;
|
5075 | selQuality.isCurrent = true;
|
5076 | cov_2aa72mhyaz.s[33]++;
|
5077 |
|
5078 | if (this.options.filterDuplicates) {
|
5079 | cov_2aa72mhyaz.b[6][0]++;
|
5080 | cov_2aa72mhyaz.s[34]++;
|
5081 | this.qualityLevels.forEach(function (obj, idx) {
|
5082 | cov_2aa72mhyaz.f[5]++;
|
5083 | cov_2aa72mhyaz.s[35]++;
|
5084 |
|
5085 | if (obj.uniqueId === selQuality.uniqueId) {
|
5086 | cov_2aa72mhyaz.b[7][0]++;
|
5087 | cov_2aa72mhyaz.s[36]++;
|
5088 | obj.isCurrent = true;
|
5089 | } else {
|
5090 | cov_2aa72mhyaz.b[7][1]++;
|
5091 | }
|
5092 | });
|
5093 | } else {
|
5094 | cov_2aa72mhyaz.b[6][1]++;
|
5095 | }
|
5096 |
|
5097 | cov_2aa72mhyaz.s[37]++;
|
5098 |
|
5099 | if (this.options.filterDuplicateHeights) {
|
5100 | cov_2aa72mhyaz.b[8][0]++;
|
5101 | cov_2aa72mhyaz.s[38]++;
|
5102 | this.qualityLevels.forEach(function (obj, idx) {
|
5103 | cov_2aa72mhyaz.f[6]++;
|
5104 | cov_2aa72mhyaz.s[39]++;
|
5105 |
|
5106 | if (obj.height === selQuality.height) {
|
5107 | cov_2aa72mhyaz.b[9][0]++;
|
5108 | cov_2aa72mhyaz.s[40]++;
|
5109 | obj.isCurrent = true;
|
5110 | } else {
|
5111 | cov_2aa72mhyaz.b[9][1]++;
|
5112 | }
|
5113 | });
|
5114 | } else {
|
5115 | cov_2aa72mhyaz.b[8][1]++;
|
5116 | }
|
5117 |
|
5118 | cov_2aa72mhyaz.s[41]++;
|
5119 | this.button.$('.vjs-icon-placeholder').innerHTML = this.getQualityDisplayString(selQuality);
|
5120 | cov_2aa72mhyaz.s[42]++;
|
5121 | this.button.show();
|
5122 | var qualityItems = (cov_2aa72mhyaz.s[43]++, this.qualityLevels);
|
5123 | cov_2aa72mhyaz.s[44]++;
|
5124 |
|
5125 | if (this.options.sortEnabled) {
|
5126 | cov_2aa72mhyaz.b[10][0]++;
|
5127 | cov_2aa72mhyaz.s[45]++;
|
5128 |
|
5129 | if (this.options.sort === 0) {
|
5130 | cov_2aa72mhyaz.b[11][0]++;
|
5131 | cov_2aa72mhyaz.s[46]++;
|
5132 | qualityItems = this.qualityLevels.sort(function (a, b) {
|
5133 | cov_2aa72mhyaz.f[7]++;
|
5134 | cov_2aa72mhyaz.s[47]++;
|
5135 | return b.uniqueId - a.uniqueId;
|
5136 | });
|
5137 | } else {
|
5138 | cov_2aa72mhyaz.b[11][1]++;
|
5139 | cov_2aa72mhyaz.s[48]++;
|
5140 | qualityItems = this.qualityLevels.sort(function (a, b) {
|
5141 | cov_2aa72mhyaz.f[8]++;
|
5142 | cov_2aa72mhyaz.s[49]++;
|
5143 | return a.uniqueId - b.uniqueId;
|
5144 | });
|
5145 | }
|
5146 | } else {
|
5147 | cov_2aa72mhyaz.b[10][1]++;
|
5148 | cov_2aa72mhyaz.s[50]++;
|
5149 | qualityItems = this.qualityLevels.sort(function (a, b) {
|
5150 | cov_2aa72mhyaz.f[9]++;
|
5151 | cov_2aa72mhyaz.s[51]++;
|
5152 | return a.id - b.id;
|
5153 | });
|
5154 | }
|
5155 |
|
5156 | cov_2aa72mhyaz.s[52]++;
|
5157 | this.button.items = qualityItems;
|
5158 | cov_2aa72mhyaz.s[53]++;
|
5159 | this.button.update();
|
5160 | };
|
5161 |
|
5162 | _proto.changeLevel = function changeLevel(levelIndex) {
|
5163 | cov_2aa72mhyaz.f[10]++;
|
5164 | var self = (cov_2aa72mhyaz.s[54]++, this);
|
5165 | cov_2aa72mhyaz.s[55]++;
|
5166 |
|
5167 | if (levelIndex < 0) {
|
5168 | cov_2aa72mhyaz.b[12][0]++;
|
5169 | cov_2aa72mhyaz.s[56]++;
|
5170 | this.qlInternal.levels_.forEach(function (obj, idx) {
|
5171 | cov_2aa72mhyaz.f[11]++;
|
5172 | cov_2aa72mhyaz.s[57]++;
|
5173 |
|
5174 | if ((cov_2aa72mhyaz.b[14][0]++, self.options.minHeight !== 0) && (cov_2aa72mhyaz.b[14][1]++, obj.height >= self.options.minHeight) || (cov_2aa72mhyaz.b[14][2]++, self.options.maxHeight !== 0) && (cov_2aa72mhyaz.b[14][3]++, obj.height <= self.options.maxHeight)) {
|
5175 | cov_2aa72mhyaz.b[13][0]++;
|
5176 | cov_2aa72mhyaz.s[58]++;
|
5177 | obj.enabled = true;
|
5178 | } else {
|
5179 | cov_2aa72mhyaz.b[13][1]++;
|
5180 | cov_2aa72mhyaz.s[59]++;
|
5181 | obj.enabled = true;
|
5182 | }
|
5183 | });
|
5184 | cov_2aa72mhyaz.s[60]++;
|
5185 | this.update();
|
5186 | cov_2aa72mhyaz.s[61]++;
|
5187 | return;
|
5188 | } else {
|
5189 | cov_2aa72mhyaz.b[12][1]++;
|
5190 | }
|
5191 |
|
5192 | var selectedQuality = (cov_2aa72mhyaz.s[62]++, this.qualityLevels.find(function (x) {
|
5193 | cov_2aa72mhyaz.f[12]++;
|
5194 | cov_2aa72mhyaz.s[63]++;
|
5195 | return x.id === levelIndex;
|
5196 | }));
|
5197 | cov_2aa72mhyaz.s[64]++;
|
5198 | this.qlInternal.levels_.forEach(function (obj, idx) {
|
5199 | cov_2aa72mhyaz.f[13]++;
|
5200 | var qual = (cov_2aa72mhyaz.s[65]++, self.qualityLevels.find(function (x) {
|
5201 | cov_2aa72mhyaz.f[14]++;
|
5202 | cov_2aa72mhyaz.s[66]++;
|
5203 | return x.id === idx;
|
5204 | }));
|
5205 | cov_2aa72mhyaz.s[67]++;
|
5206 |
|
5207 | if (qual !== undefined) {
|
5208 | cov_2aa72mhyaz.b[15][0]++;
|
5209 | cov_2aa72mhyaz.s[68]++;
|
5210 | obj.enabled = (cov_2aa72mhyaz.b[16][0]++, idx === levelIndex) || (cov_2aa72mhyaz.b[16][1]++, self.options.filterDuplicates) && (cov_2aa72mhyaz.b[16][2]++, qual.uniqueId === selectedQuality.uniqueId) || (cov_2aa72mhyaz.b[16][3]++, self.options.filterDuplicateHeights) && (cov_2aa72mhyaz.b[16][4]++, qual.height === selectedQuality.height);
|
5211 | } else {
|
5212 | cov_2aa72mhyaz.b[15][1]++;
|
5213 | }
|
5214 | });
|
5215 | cov_2aa72mhyaz.s[69]++;
|
5216 |
|
5217 | if (this.autoMode) {
|
5218 | cov_2aa72mhyaz.b[17][0]++;
|
5219 | cov_2aa72mhyaz.s[70]++;
|
5220 | this.update();
|
5221 | } else {
|
5222 | cov_2aa72mhyaz.b[17][1]++;
|
5223 | }
|
5224 | };
|
5225 |
|
5226 | _proto.handleMediaChange = function handleMediaChange(e) {
|
5227 | cov_2aa72mhyaz.f[15]++;
|
5228 | cov_2aa72mhyaz.s[71]++;
|
5229 | this.log.debug('Handling media change:', this.player.src(), this.player.currentType());
|
5230 | cov_2aa72mhyaz.s[72]++;
|
5231 | this.qualityLevels = [];
|
5232 | cov_2aa72mhyaz.s[73]++;
|
5233 | this.update();
|
5234 | cov_2aa72mhyaz.s[74]++;
|
5235 |
|
5236 | if (this.options.defaultQuality !== 0) {
|
5237 | cov_2aa72mhyaz.b[18][0]++;
|
5238 | cov_2aa72mhyaz.s[75]++;
|
5239 | this.firstRun = true;
|
5240 | } else {
|
5241 | cov_2aa72mhyaz.b[18][1]++;
|
5242 | }
|
5243 | };
|
5244 |
|
5245 | _proto.handleChange = function handleChange(e) {
|
5246 | cov_2aa72mhyaz.f[16]++;
|
5247 | cov_2aa72mhyaz.s[76]++;
|
5248 | this.log.debug("Handling quality change: " + e.selectedIndex);
|
5249 | cov_2aa72mhyaz.s[77]++;
|
5250 |
|
5251 | if ((cov_2aa72mhyaz.b[20][0]++, this.firstRun) && (cov_2aa72mhyaz.b[20][1]++, this.options.defaultQuality !== 0)) {
|
5252 | cov_2aa72mhyaz.b[19][0]++;
|
5253 | cov_2aa72mhyaz.s[78]++;
|
5254 | this.firstRun = false;
|
5255 | var levelPref = (cov_2aa72mhyaz.s[79]++, this.options.defaultQuality);
|
5256 | cov_2aa72mhyaz.s[80]++;
|
5257 |
|
5258 | if (levelPref === 1) {
|
5259 | cov_2aa72mhyaz.b[21][0]++;
|
5260 | var quality = (cov_2aa72mhyaz.s[81]++, this.qualityLevels.reduce(function (res, obj) {
|
5261 | cov_2aa72mhyaz.f[17]++;
|
5262 | cov_2aa72mhyaz.s[82]++;
|
5263 | return obj.uniqueId < res.uniqueId ? (cov_2aa72mhyaz.b[22][0]++, obj) : (cov_2aa72mhyaz.b[22][1]++, res);
|
5264 | }));
|
5265 | cov_2aa72mhyaz.s[83]++;
|
5266 | this.selectedIndex = quality.id;
|
5267 | cov_2aa72mhyaz.s[84]++;
|
5268 | this.changeLevel(quality.id);
|
5269 | cov_2aa72mhyaz.s[85]++;
|
5270 | this.update();
|
5271 | } else {
|
5272 | cov_2aa72mhyaz.b[21][1]++;
|
5273 |
|
5274 | var _quality = (cov_2aa72mhyaz.s[86]++, this.qualityLevels.reduce(function (res, obj) {
|
5275 | cov_2aa72mhyaz.f[18]++;
|
5276 | cov_2aa72mhyaz.s[87]++;
|
5277 | return obj.uniqueId > res.uniqueId ? (cov_2aa72mhyaz.b[23][0]++, obj) : (cov_2aa72mhyaz.b[23][1]++, res);
|
5278 | }));
|
5279 |
|
5280 | cov_2aa72mhyaz.s[88]++;
|
5281 | this.selectedIndex = _quality.id;
|
5282 | cov_2aa72mhyaz.s[89]++;
|
5283 | this.changeLevel(_quality.id);
|
5284 | cov_2aa72mhyaz.s[90]++;
|
5285 | this.update();
|
5286 | }
|
5287 | } else {
|
5288 | cov_2aa72mhyaz.b[19][1]++;
|
5289 | cov_2aa72mhyaz.s[91]++;
|
5290 | this.selectedIndex = e.selectedIndex;
|
5291 | cov_2aa72mhyaz.s[92]++;
|
5292 | this.update();
|
5293 | }
|
5294 | };
|
5295 |
|
5296 | _proto.handleQualityLevel = function handleQualityLevel(e) {
|
5297 | cov_2aa72mhyaz.f[19]++;
|
5298 | var ql = (cov_2aa72mhyaz.s[93]++, e.qualityLevel);
|
5299 | cov_2aa72mhyaz.s[94]++;
|
5300 |
|
5301 | if ((cov_2aa72mhyaz.b[25][0]++, ql.width === undefined) || (cov_2aa72mhyaz.b[25][1]++, ql.height === undefined) || (cov_2aa72mhyaz.b[25][2]++, ql.bitrate === undefined)) {
|
5302 | cov_2aa72mhyaz.b[24][0]++;
|
5303 | cov_2aa72mhyaz.s[95]++;
|
5304 | return;
|
5305 | } else {
|
5306 | cov_2aa72mhyaz.b[24][1]++;
|
5307 | }
|
5308 |
|
5309 | cov_2aa72mhyaz.s[96]++;
|
5310 |
|
5311 | if ((cov_2aa72mhyaz.b[27][0]++, this.options.minHeight !== 0) && (cov_2aa72mhyaz.b[27][1]++, ql.height < this.options.minHeight) || (cov_2aa72mhyaz.b[27][2]++, this.options.maxHeight !== 0) && (cov_2aa72mhyaz.b[27][3]++, ql.height > this.options.maxHeight)) {
|
5312 | cov_2aa72mhyaz.b[26][0]++;
|
5313 | cov_2aa72mhyaz.s[97]++;
|
5314 | ql.enabled = false;
|
5315 | cov_2aa72mhyaz.s[98]++;
|
5316 | return;
|
5317 | } else {
|
5318 | cov_2aa72mhyaz.b[26][1]++;
|
5319 | }
|
5320 |
|
5321 | var uniqueId = (cov_2aa72mhyaz.s[99]++, ql.width + ql.height + ql.bitrate);
|
5322 | var quality = (cov_2aa72mhyaz.s[100]++, {
|
5323 | id: this.qlInternal.levels_.indexOf(ql),
|
5324 | uniqueId: uniqueId,
|
5325 | width: ql.width,
|
5326 | height: ql.height,
|
5327 | dimension: ql.width + 'x' + ql.height,
|
5328 | dimensionEnglishName: this.getDimensionEnglishName(ql.width, ql.height),
|
5329 | dimensionMarketingName: this.getDimensionMarketingName(ql.width, ql.height),
|
5330 | bitrate: ql.bitrate,
|
5331 | bitrateName: this.getReadableBitrateString(ql.bitrate),
|
5332 | isCurrent: false
|
5333 | });
|
5334 | cov_2aa72mhyaz.s[101]++;
|
5335 | this.qualityLevels.push(quality);
|
5336 | };
|
5337 |
|
5338 | _proto.getLevelNames = function getLevelNames() {
|
5339 | var _this2 = this;
|
5340 |
|
5341 | cov_2aa72mhyaz.f[20]++;
|
5342 | var levelNames = (cov_2aa72mhyaz.s[102]++, []);
|
5343 | cov_2aa72mhyaz.s[103]++;
|
5344 | this.qualityLevels.forEach(function (level) {
|
5345 | cov_2aa72mhyaz.f[21]++;
|
5346 | cov_2aa72mhyaz.s[104]++;
|
5347 | levelNames.push(_this2.getQualityDisplayString(level));
|
5348 | });
|
5349 | cov_2aa72mhyaz.s[105]++;
|
5350 | return levelNames;
|
5351 | };
|
5352 |
|
5353 | _proto.getLevelName = function getLevelName(id, originalName) {
|
5354 | cov_2aa72mhyaz.f[22]++;
|
5355 | var labels = (cov_2aa72mhyaz.s[106]++, this.options.labels);
|
5356 | cov_2aa72mhyaz.s[107]++;
|
5357 |
|
5358 | if (labels[id] !== undefined) {
|
5359 | cov_2aa72mhyaz.b[28][0]++;
|
5360 | cov_2aa72mhyaz.s[108]++;
|
5361 | return labels[id].toString();
|
5362 | } else {
|
5363 | cov_2aa72mhyaz.b[28][1]++;
|
5364 | }
|
5365 |
|
5366 | cov_2aa72mhyaz.s[109]++;
|
5367 | return originalName;
|
5368 | };
|
5369 |
|
5370 | _proto.getDimensionEnglishName = function getDimensionEnglishName(width, height) {
|
5371 | cov_2aa72mhyaz.f[23]++;
|
5372 | cov_2aa72mhyaz.s[110]++;
|
5373 |
|
5374 | switch (height) {
|
5375 | case 108:
|
5376 | cov_2aa72mhyaz.b[29][0]++;
|
5377 |
|
5378 | case 180:
|
5379 | cov_2aa72mhyaz.b[29][1]++;
|
5380 |
|
5381 | case 144:
|
5382 | cov_2aa72mhyaz.b[29][2]++;
|
5383 |
|
5384 | case 234:
|
5385 | cov_2aa72mhyaz.b[29][3]++;
|
5386 |
|
5387 | case 240:
|
5388 | cov_2aa72mhyaz.b[29][4]++;
|
5389 |
|
5390 | case 252:
|
5391 | cov_2aa72mhyaz.b[29][5]++;
|
5392 | cov_2aa72mhyaz.s[111]++;
|
5393 | return 'VLQ';
|
5394 |
|
5395 | case 360:
|
5396 | cov_2aa72mhyaz.b[29][6]++;
|
5397 | cov_2aa72mhyaz.s[112]++;
|
5398 | return 'LQ';
|
5399 |
|
5400 | case 480:
|
5401 | cov_2aa72mhyaz.b[29][7]++;
|
5402 |
|
5403 | case 486:
|
5404 | cov_2aa72mhyaz.b[29][8]++;
|
5405 |
|
5406 | case 540:
|
5407 | cov_2aa72mhyaz.b[29][9]++;
|
5408 | cov_2aa72mhyaz.s[113]++;
|
5409 | return 'SD';
|
5410 |
|
5411 | case 720:
|
5412 | cov_2aa72mhyaz.b[29][10]++;
|
5413 | cov_2aa72mhyaz.s[114]++;
|
5414 | return 'HD';
|
5415 |
|
5416 | case 1080:
|
5417 | cov_2aa72mhyaz.b[29][11]++;
|
5418 | cov_2aa72mhyaz.s[115]++;
|
5419 | return 'FHD';
|
5420 |
|
5421 | case 1440:
|
5422 | cov_2aa72mhyaz.b[29][12]++;
|
5423 | cov_2aa72mhyaz.s[116]++;
|
5424 | return 'QHD';
|
5425 |
|
5426 | case 2160:
|
5427 | cov_2aa72mhyaz.b[29][13]++;
|
5428 |
|
5429 | case 2304:
|
5430 | cov_2aa72mhyaz.b[29][14]++;
|
5431 | cov_2aa72mhyaz.s[117]++;
|
5432 | return 'UHD';
|
5433 | }
|
5434 |
|
5435 | cov_2aa72mhyaz.s[118]++;
|
5436 | return 'N/A';
|
5437 | };
|
5438 |
|
5439 | _proto.getDimensionMarketingName = function getDimensionMarketingName(width, height) {
|
5440 | cov_2aa72mhyaz.f[24]++;
|
5441 | cov_2aa72mhyaz.s[119]++;
|
5442 |
|
5443 | switch (height) {
|
5444 | case 2160:
|
5445 | cov_2aa72mhyaz.b[30][0]++;
|
5446 | cov_2aa72mhyaz.s[120]++;
|
5447 | return '4k';
|
5448 |
|
5449 | case 2304:
|
5450 | cov_2aa72mhyaz.b[30][1]++;
|
5451 | cov_2aa72mhyaz.s[121]++;
|
5452 | return 'True 4k';
|
5453 | }
|
5454 |
|
5455 | cov_2aa72mhyaz.s[122]++;
|
5456 | return height + 'p';
|
5457 | };
|
5458 |
|
5459 | _proto.getReadableBitrateString = function getReadableBitrateString(bitrate) {
|
5460 | cov_2aa72mhyaz.f[25]++;
|
5461 | var byteUnits = (cov_2aa72mhyaz.s[123]++, [' Kbps', ' Mbps', ' Gbps']);
|
5462 | var i = (cov_2aa72mhyaz.s[124]++, -1);
|
5463 | cov_2aa72mhyaz.s[125]++;
|
5464 |
|
5465 | do {
|
5466 | cov_2aa72mhyaz.s[126]++;
|
5467 | bitrate = bitrate / 1024;
|
5468 | cov_2aa72mhyaz.s[127]++;
|
5469 | i++;
|
5470 | } while (bitrate > 1024);
|
5471 |
|
5472 | var output = (cov_2aa72mhyaz.s[128]++, Math.max(bitrate, 0.1).toFixed(1));
|
5473 | cov_2aa72mhyaz.s[129]++;
|
5474 | return output + byteUnits[i];
|
5475 | };
|
5476 |
|
5477 | _proto.getQualityDisplayString = function getQualityDisplayString(qualityLevel) {
|
5478 | cov_2aa72mhyaz.f[26]++;
|
5479 | cov_2aa72mhyaz.s[130]++;
|
5480 |
|
5481 | if (!qualityLevel) {
|
5482 | cov_2aa72mhyaz.b[31][0]++;
|
5483 | cov_2aa72mhyaz.s[131]++;
|
5484 | return '';
|
5485 | } else {
|
5486 | cov_2aa72mhyaz.b[31][1]++;
|
5487 | }
|
5488 |
|
5489 | var displayString = (cov_2aa72mhyaz.s[132]++, '');
|
5490 | cov_2aa72mhyaz.s[133]++;
|
5491 |
|
5492 | if (this.options.displayMode === 1) {
|
5493 | cov_2aa72mhyaz.b[32][0]++;
|
5494 | cov_2aa72mhyaz.s[134]++;
|
5495 | displayString = qualityLevel.dimensionMarketingName;
|
5496 | } else {
|
5497 | cov_2aa72mhyaz.b[32][1]++;
|
5498 | cov_2aa72mhyaz.s[135]++;
|
5499 |
|
5500 | if (this.options.displayMode === 2) {
|
5501 | cov_2aa72mhyaz.b[33][0]++;
|
5502 | cov_2aa72mhyaz.s[136]++;
|
5503 | displayString = qualityLevel.dimensionEnglishName;
|
5504 | } else {
|
5505 | cov_2aa72mhyaz.b[33][1]++;
|
5506 | cov_2aa72mhyaz.s[137]++;
|
5507 | displayString = qualityLevel.dimensionMarketingName + '<sup>' + qualityLevel.dimensionEnglishName + '</sup>';
|
5508 | }
|
5509 | }
|
5510 |
|
5511 | cov_2aa72mhyaz.s[138]++;
|
5512 |
|
5513 | if ((cov_2aa72mhyaz.b[35][0]++, this.autoMode) && (cov_2aa72mhyaz.b[35][1]++, qualityLevel.isCurrent)) {
|
5514 | cov_2aa72mhyaz.b[34][0]++;
|
5515 | cov_2aa72mhyaz.s[139]++;
|
5516 | displayString = this.options.autoLabel + "(" + displayString + ")";
|
5517 | } else {
|
5518 | cov_2aa72mhyaz.b[34][1]++;
|
5519 | }
|
5520 |
|
5521 | cov_2aa72mhyaz.s[140]++;
|
5522 |
|
5523 | if (this.options.showBitrates) {
|
5524 | cov_2aa72mhyaz.b[36][0]++;
|
5525 | cov_2aa72mhyaz.s[141]++;
|
5526 | displayString += ' (' + qualityLevel.bitrateName + ')';
|
5527 | } else {
|
5528 | cov_2aa72mhyaz.b[36][1]++;
|
5529 | }
|
5530 |
|
5531 | cov_2aa72mhyaz.s[142]++;
|
5532 | return this.getLevelName(qualityLevel.id, displayString);
|
5533 | };
|
5534 |
|
5535 | return MaxQualitySelector;
|
5536 | }(Plugin);
|
5537 |
|
5538 | cov_2aa72mhyaz.s[143]++;
|
5539 | MaxQualitySelector.defaultState = {};
|
5540 | cov_2aa72mhyaz.s[144]++;
|
5541 | MaxQualitySelector.VERSION = version;
|
5542 | cov_2aa72mhyaz.s[145]++;
|
5543 | videojs.registerPlugin('maxQualitySelector', MaxQualitySelector);
|
5544 |
|
5545 | var Player = videojs.getComponent('Player');
|
5546 | QUnit.test('the environment is sane', function (assert) {
|
5547 | assert.strictEqual(typeof Array.isArray, 'function', 'es5 exists');
|
5548 | assert.strictEqual(typeof sinon, 'object', 'sinon exists');
|
5549 | assert.strictEqual(typeof videojs, 'function', 'videojs exists');
|
5550 | assert.strictEqual(typeof MaxQualitySelector, 'function', 'plugin is a function');
|
5551 | });
|
5552 | QUnit.module('videojs-max-quality-selector', {
|
5553 | beforeEach: function beforeEach() {
|
5554 |
|
5555 |
|
5556 |
|
5557 |
|
5558 | this.clock = sinon.useFakeTimers();
|
5559 | this.fixture = document_1.getElementById('qunit-fixture');
|
5560 | this.video = document_1.createElement('video');
|
5561 | this.fixture.appendChild(this.video);
|
5562 | this.player = videojs(this.video);
|
5563 | },
|
5564 | afterEach: function afterEach() {
|
5565 | this.player.dispose();
|
5566 | this.clock.restore();
|
5567 | }
|
5568 | });
|
5569 | QUnit.test('registers itself with video.js', function (assert) {
|
5570 | assert.expect(2);
|
5571 | assert.strictEqual(typeof Player.prototype.maxQualitySelector, 'function', 'videojs-max-quality-selector plugin was registered');
|
5572 | this.player.maxQualitySelector();
|
5573 |
|
5574 | this.clock.tick(1);
|
5575 | assert.ok(this.player.hasClass('vjs-max-quality-selector'), 'the plugin adds a class to the player');
|
5576 | });
|
5577 |
|
5578 | }(QUnit, sinon, videojs));
|