@micromag/screen-keypad 0.4.86 → 0.4.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +801 -815
- package/package.json +18 -18
package/es/index.js
CHANGED
|
@@ -54,7 +54,7 @@ const placeholderPopupBoxStyles = {
|
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
function KeypadScreen(t0) {
|
|
57
|
-
const $ = c(
|
|
57
|
+
const $ = c(350);
|
|
58
58
|
const {
|
|
59
59
|
items: t1,
|
|
60
60
|
title: t2,
|
|
@@ -296,7 +296,7 @@ function KeypadScreen(t0) {
|
|
|
296
296
|
isCurrent: t52
|
|
297
297
|
} = usePlaybackMediaRef(current, video === null, video !== null ? "popup" : null);
|
|
298
298
|
const isCurrentMedia = t52 === undefined ? false : t52;
|
|
299
|
-
const videoPlaying = current && (isView || isEdit) && playing && (isCurrentMedia || !isView);
|
|
299
|
+
const videoPlaying = current && (isView || isEdit) && playing && (isCurrentMedia || !isView) && showPopup;
|
|
300
300
|
const backgroundPlaying = current && (isView || isEdit) && (isCurrentMedia || !isView);
|
|
301
301
|
const mediaShouldLoad = !isPlaceholder && (current || preload);
|
|
302
302
|
const isInteractivePreview = isEdit && screenState === null;
|
|
@@ -409,9 +409,9 @@ function KeypadScreen(t0) {
|
|
|
409
409
|
const popupButtonBoxStyle = t74 === undefined ? null : t74;
|
|
410
410
|
let t75;
|
|
411
411
|
let t76;
|
|
412
|
-
if ($[40] !== color || $[41] !== current || $[42] !== progressColor || $[43] !== setControls || $[44] !== setControlsTheme || $[45] !==
|
|
412
|
+
if ($[40] !== color || $[41] !== current || $[42] !== progressColor || $[43] !== setControls || $[44] !== setControlsTheme || $[45] !== showPopup || $[46] !== video || $[47] !== withControls || $[48] !== withSeekBar) {
|
|
413
413
|
t75 = () => {
|
|
414
|
-
if (!current || video === null) {
|
|
414
|
+
if (!current || video === null || !showPopup) {
|
|
415
415
|
return _temp;
|
|
416
416
|
}
|
|
417
417
|
setControlsTheme({
|
|
@@ -430,45 +430,46 @@ function KeypadScreen(t0) {
|
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
};
|
|
433
|
-
t76 = [video, current, withControls, setControls, setControlsTheme, withSeekBar, color, progressColor];
|
|
433
|
+
t76 = [showPopup, video, current, withControls, setControls, setControlsTheme, withSeekBar, color, progressColor];
|
|
434
434
|
$[40] = color;
|
|
435
435
|
$[41] = current;
|
|
436
436
|
$[42] = progressColor;
|
|
437
437
|
$[43] = setControls;
|
|
438
438
|
$[44] = setControlsTheme;
|
|
439
|
-
$[45] =
|
|
440
|
-
$[46] =
|
|
441
|
-
$[47] =
|
|
442
|
-
$[48] =
|
|
443
|
-
$[49] =
|
|
439
|
+
$[45] = showPopup;
|
|
440
|
+
$[46] = video;
|
|
441
|
+
$[47] = withControls;
|
|
442
|
+
$[48] = withSeekBar;
|
|
443
|
+
$[49] = t75;
|
|
444
|
+
$[50] = t76;
|
|
444
445
|
} else {
|
|
445
|
-
t75 = $[
|
|
446
|
-
t76 = $[
|
|
446
|
+
t75 = $[49];
|
|
447
|
+
t76 = $[50];
|
|
447
448
|
}
|
|
448
449
|
useEffect(t75, t76);
|
|
449
450
|
let t77;
|
|
450
451
|
let t78;
|
|
451
|
-
if ($[
|
|
452
|
+
if ($[51] !== autoPlay || $[52] !== current || $[53] !== setPlaying || $[54] !== video) {
|
|
452
453
|
t77 = () => {
|
|
453
454
|
if (current && autoPlay && video !== null) {
|
|
454
455
|
setPlaying(true);
|
|
455
456
|
}
|
|
456
457
|
};
|
|
457
458
|
t78 = [current, autoPlay, video, setPlaying];
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
459
|
+
$[51] = autoPlay;
|
|
460
|
+
$[52] = current;
|
|
461
|
+
$[53] = setPlaying;
|
|
462
|
+
$[54] = video;
|
|
463
|
+
$[55] = t77;
|
|
464
|
+
$[56] = t78;
|
|
464
465
|
} else {
|
|
465
|
-
t77 = $[
|
|
466
|
-
t78 = $[
|
|
466
|
+
t77 = $[55];
|
|
467
|
+
t78 = $[56];
|
|
467
468
|
}
|
|
468
469
|
useEffect(t77, t78);
|
|
469
470
|
const activityDetected = useViewerActivityDetected();
|
|
470
471
|
let t79;
|
|
471
|
-
if ($[
|
|
472
|
+
if ($[57] !== activityDetected || $[58] !== hideControls || $[59] !== showControls) {
|
|
472
473
|
t79 = () => {
|
|
473
474
|
if (activityDetected) {
|
|
474
475
|
showControls();
|
|
@@ -476,81 +477,62 @@ function KeypadScreen(t0) {
|
|
|
476
477
|
hideControls();
|
|
477
478
|
}
|
|
478
479
|
};
|
|
479
|
-
$[
|
|
480
|
-
$[
|
|
481
|
-
$[
|
|
482
|
-
$[
|
|
480
|
+
$[57] = activityDetected;
|
|
481
|
+
$[58] = hideControls;
|
|
482
|
+
$[59] = showControls;
|
|
483
|
+
$[60] = t79;
|
|
483
484
|
} else {
|
|
484
|
-
t79 = $[
|
|
485
|
+
t79 = $[60];
|
|
485
486
|
}
|
|
486
487
|
const toggleControlsVisibility = t79;
|
|
487
488
|
useDebounce(video !== null && current ? toggleControlsVisibility : null, activityDetected, 1000);
|
|
488
|
-
const [showNextPopup, setShowNextPopup] = useState(false);
|
|
489
489
|
let t80;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
t80 = () => {
|
|
493
|
-
if (showNextPopup) {
|
|
494
|
-
setShowNextPopup(false);
|
|
495
|
-
setShowPopup(true);
|
|
496
|
-
}
|
|
497
|
-
};
|
|
498
|
-
t81 = [showNextPopup, setShowPopup, setShowNextPopup];
|
|
499
|
-
$[60] = showNextPopup;
|
|
500
|
-
$[61] = t80;
|
|
501
|
-
$[62] = t81;
|
|
502
|
-
} else {
|
|
503
|
-
t80 = $[61];
|
|
504
|
-
t81 = $[62];
|
|
505
|
-
}
|
|
506
|
-
useEffect(t80, t81);
|
|
507
|
-
let t82;
|
|
508
|
-
if ($[63] !== isNotInteractive || $[64] !== openWebView || $[65] !== trackScreenEvent) {
|
|
509
|
-
t82 = (e, item, index) => {
|
|
490
|
+
if ($[61] !== isNotInteractive || $[62] !== openWebView || $[63] !== trackScreenEvent) {
|
|
491
|
+
t80 = (e, item, index) => {
|
|
510
492
|
e.stopPropagation();
|
|
511
493
|
if (isNotInteractive) {
|
|
512
494
|
return;
|
|
513
495
|
}
|
|
514
496
|
const {
|
|
515
|
-
label:
|
|
516
|
-
heading:
|
|
517
|
-
inWebView:
|
|
518
|
-
url:
|
|
497
|
+
label: t81,
|
|
498
|
+
heading: t82,
|
|
499
|
+
inWebView: t83,
|
|
500
|
+
url: t84
|
|
519
501
|
} = item || {};
|
|
520
|
-
const itemLabel =
|
|
521
|
-
const heading =
|
|
522
|
-
const inWebView =
|
|
523
|
-
const url =
|
|
502
|
+
const itemLabel = t81 === undefined ? null : t81;
|
|
503
|
+
const heading = t82 === undefined ? null : t82;
|
|
504
|
+
const inWebView = t83 === undefined ? false : t83;
|
|
505
|
+
const url = t84 === undefined ? null : t84;
|
|
524
506
|
if (inWebView && url !== null) {
|
|
525
507
|
openWebView({
|
|
526
508
|
url
|
|
527
509
|
});
|
|
528
510
|
} else {
|
|
529
511
|
setPopup(item);
|
|
530
|
-
|
|
512
|
+
setShowPopup(true);
|
|
531
513
|
}
|
|
532
514
|
const {
|
|
533
|
-
body:
|
|
515
|
+
body: t85
|
|
534
516
|
} = heading || {};
|
|
535
|
-
const headingBody =
|
|
517
|
+
const headingBody = t85 === undefined ? null : t85;
|
|
536
518
|
const finalLabel = isString(itemLabel) ? itemLabel : (itemLabel || {}).body || null;
|
|
537
519
|
trackScreenEvent("click_item", [`#${index + 1}`, finalLabel || headingBody || ""].filter(_temp2).join(" "), {
|
|
538
520
|
linkType: "keypad_item",
|
|
539
521
|
linkUrl: url || null
|
|
540
522
|
});
|
|
541
523
|
};
|
|
542
|
-
$[
|
|
543
|
-
$[
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
524
|
+
$[61] = isNotInteractive;
|
|
525
|
+
$[62] = openWebView;
|
|
526
|
+
$[63] = trackScreenEvent;
|
|
527
|
+
$[64] = t80;
|
|
546
528
|
} else {
|
|
547
|
-
|
|
529
|
+
t80 = $[64];
|
|
548
530
|
}
|
|
549
|
-
const onItemClick =
|
|
550
|
-
let
|
|
551
|
-
if ($[
|
|
552
|
-
|
|
553
|
-
const isShowPopup =
|
|
531
|
+
const onItemClick = t80;
|
|
532
|
+
let t81;
|
|
533
|
+
if ($[65] !== isNotInteractive || $[66] !== trackScreenEvent) {
|
|
534
|
+
t81 = t82 => {
|
|
535
|
+
const isShowPopup = t82 === undefined ? false : t82;
|
|
554
536
|
if (isNotInteractive) {
|
|
555
537
|
return;
|
|
556
538
|
}
|
|
@@ -560,16 +542,16 @@ function KeypadScreen(t0) {
|
|
|
560
542
|
setShowPopup(false);
|
|
561
543
|
setPopupDragDisabled(false);
|
|
562
544
|
};
|
|
563
|
-
$[
|
|
564
|
-
$[
|
|
565
|
-
$[
|
|
545
|
+
$[65] = isNotInteractive;
|
|
546
|
+
$[66] = trackScreenEvent;
|
|
547
|
+
$[67] = t81;
|
|
566
548
|
} else {
|
|
567
|
-
|
|
549
|
+
t81 = $[67];
|
|
568
550
|
}
|
|
569
|
-
const onCloseModal =
|
|
570
|
-
let
|
|
571
|
-
if ($[
|
|
572
|
-
|
|
551
|
+
const onCloseModal = t81;
|
|
552
|
+
let t82;
|
|
553
|
+
if ($[68] !== isNotInteractive || $[69] !== onCloseModal || $[70] !== showPopup) {
|
|
554
|
+
t82 = e_0 => {
|
|
573
555
|
if (isNotInteractive) {
|
|
574
556
|
return;
|
|
575
557
|
}
|
|
@@ -577,48 +559,48 @@ function KeypadScreen(t0) {
|
|
|
577
559
|
e_0.stopPropagation();
|
|
578
560
|
onCloseModal(showPopup);
|
|
579
561
|
};
|
|
580
|
-
$[
|
|
581
|
-
$[
|
|
582
|
-
$[
|
|
583
|
-
$[
|
|
562
|
+
$[68] = isNotInteractive;
|
|
563
|
+
$[69] = onCloseModal;
|
|
564
|
+
$[70] = showPopup;
|
|
565
|
+
$[71] = t82;
|
|
584
566
|
} else {
|
|
585
|
-
|
|
567
|
+
t82 = $[71];
|
|
586
568
|
}
|
|
587
|
-
const onClickClose =
|
|
569
|
+
const onClickClose = t82;
|
|
588
570
|
const onClickCta = _temp3;
|
|
589
571
|
const [popupDragDirection, setPopupDragDirection] = useState(null);
|
|
590
|
-
let
|
|
591
|
-
if ($[
|
|
592
|
-
|
|
572
|
+
let t83;
|
|
573
|
+
if ($[72] !== height) {
|
|
574
|
+
t83 = t84 => {
|
|
593
575
|
const {
|
|
594
|
-
scrolleeHeight:
|
|
595
|
-
} =
|
|
596
|
-
const scrolleeHeight =
|
|
576
|
+
scrolleeHeight: t85
|
|
577
|
+
} = t84;
|
|
578
|
+
const scrolleeHeight = t85 === undefined ? 0 : t85;
|
|
597
579
|
if (Math.floor(scrolleeHeight) >= Math.floor(height)) {
|
|
598
580
|
setPopupDragDirection("top");
|
|
599
581
|
} else {
|
|
600
582
|
setPopupDragDirection("bottom");
|
|
601
583
|
}
|
|
602
584
|
};
|
|
603
|
-
$[
|
|
604
|
-
$[
|
|
585
|
+
$[72] = height;
|
|
586
|
+
$[73] = t83;
|
|
605
587
|
} else {
|
|
606
|
-
|
|
588
|
+
t83 = $[73];
|
|
607
589
|
}
|
|
608
|
-
const onPopupScrollHeightChange =
|
|
609
|
-
let
|
|
610
|
-
if ($[
|
|
611
|
-
|
|
590
|
+
const onPopupScrollHeightChange = t83;
|
|
591
|
+
let t84;
|
|
592
|
+
if ($[74] !== onCloseModal || $[75] !== popupDragDirection) {
|
|
593
|
+
t84 = t85 => {
|
|
612
594
|
const {
|
|
613
|
-
active:
|
|
614
|
-
movement:
|
|
615
|
-
velocity:
|
|
616
|
-
} =
|
|
617
|
-
const dragActive =
|
|
618
|
-
const [,
|
|
619
|
-
const my =
|
|
620
|
-
const [,
|
|
621
|
-
const vy =
|
|
595
|
+
active: t86,
|
|
596
|
+
movement: t87,
|
|
597
|
+
velocity: t88
|
|
598
|
+
} = t85;
|
|
599
|
+
const dragActive = t86 === undefined ? false : t86;
|
|
600
|
+
const [, t89] = t87;
|
|
601
|
+
const my = t89 === undefined ? null : t89;
|
|
602
|
+
const [, t90] = t88;
|
|
603
|
+
const vy = t90 === undefined ? null : t90;
|
|
622
604
|
const windowHeight = typeof window !== "undefined" ? window.innerHeight : 0;
|
|
623
605
|
const delta = windowHeight > 0 && my !== null ? Math.abs(my) / windowHeight : 0;
|
|
624
606
|
const reachedThreshold = vy !== null ? vy > 1 || delta > 0.3 : false;
|
|
@@ -639,37 +621,41 @@ function KeypadScreen(t0) {
|
|
|
639
621
|
}
|
|
640
622
|
return progress;
|
|
641
623
|
};
|
|
642
|
-
$[
|
|
643
|
-
$[
|
|
644
|
-
$[
|
|
624
|
+
$[74] = onCloseModal;
|
|
625
|
+
$[75] = popupDragDirection;
|
|
626
|
+
$[76] = t84;
|
|
645
627
|
} else {
|
|
646
|
-
|
|
628
|
+
t84 = $[76];
|
|
647
629
|
}
|
|
648
|
-
const computePopupProgress =
|
|
649
|
-
let
|
|
650
|
-
let
|
|
651
|
-
if ($[
|
|
652
|
-
|
|
630
|
+
const computePopupProgress = t84;
|
|
631
|
+
let t85;
|
|
632
|
+
let t86;
|
|
633
|
+
if ($[77] !== current || $[78] !== disableInteraction || $[79] !== enableInteraction || $[80] !== showPopup) {
|
|
634
|
+
t85 = () => {
|
|
635
|
+
if (!current) {
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
653
638
|
if (showPopup) {
|
|
654
639
|
disableInteraction();
|
|
655
640
|
} else {
|
|
656
641
|
enableInteraction();
|
|
657
642
|
}
|
|
658
643
|
};
|
|
659
|
-
|
|
660
|
-
$[
|
|
661
|
-
$[
|
|
662
|
-
$[
|
|
663
|
-
$[
|
|
664
|
-
$[
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
644
|
+
t86 = [current, showPopup, enableInteraction, disableInteraction];
|
|
645
|
+
$[77] = current;
|
|
646
|
+
$[78] = disableInteraction;
|
|
647
|
+
$[79] = enableInteraction;
|
|
648
|
+
$[80] = showPopup;
|
|
649
|
+
$[81] = t85;
|
|
650
|
+
$[82] = t86;
|
|
651
|
+
} else {
|
|
652
|
+
t85 = $[81];
|
|
653
|
+
t86 = $[82];
|
|
654
|
+
}
|
|
655
|
+
useEffect(t85, t86);
|
|
656
|
+
let t87;
|
|
657
|
+
if ($[83] !== current || $[84] !== isEdit || $[85] !== isInteractivePreview || $[86] !== isView || $[87] !== onCloseModal || $[88] !== showPopup) {
|
|
658
|
+
t87 = () => {
|
|
673
659
|
const handleClickOutside = function handleClickOutside(e_2) {
|
|
674
660
|
if (!current && isView || popupInnerRef.current && !popupInnerRef.current.contains(e_2.target) && containerRef.current && containerRef.current.contains(e_2.target) && !isInteractivePreview && !isEdit && showPopup) {
|
|
675
661
|
e_2.preventDefault();
|
|
@@ -682,52 +668,52 @@ function KeypadScreen(t0) {
|
|
|
682
668
|
document.removeEventListener("mouseup", handleClickOutside);
|
|
683
669
|
};
|
|
684
670
|
};
|
|
685
|
-
$[
|
|
686
|
-
$[
|
|
687
|
-
$[
|
|
688
|
-
$[
|
|
689
|
-
$[
|
|
690
|
-
$[
|
|
691
|
-
$[
|
|
671
|
+
$[83] = current;
|
|
672
|
+
$[84] = isEdit;
|
|
673
|
+
$[85] = isInteractivePreview;
|
|
674
|
+
$[86] = isView;
|
|
675
|
+
$[87] = onCloseModal;
|
|
676
|
+
$[88] = showPopup;
|
|
677
|
+
$[89] = t87;
|
|
692
678
|
} else {
|
|
693
|
-
|
|
679
|
+
t87 = $[89];
|
|
694
680
|
}
|
|
695
|
-
let
|
|
696
|
-
if ($[
|
|
697
|
-
|
|
698
|
-
$[
|
|
699
|
-
$[
|
|
700
|
-
$[
|
|
701
|
-
$[
|
|
702
|
-
$[
|
|
681
|
+
let t88;
|
|
682
|
+
if ($[90] !== current || $[91] !== isEdit || $[92] !== isInteractivePreview || $[93] !== showPopup) {
|
|
683
|
+
t88 = [current, popupInnerRef, containerRef, isInteractivePreview, isEdit, showPopup];
|
|
684
|
+
$[90] = current;
|
|
685
|
+
$[91] = isEdit;
|
|
686
|
+
$[92] = isInteractivePreview;
|
|
687
|
+
$[93] = showPopup;
|
|
688
|
+
$[94] = t88;
|
|
703
689
|
} else {
|
|
704
|
-
|
|
690
|
+
t88 = $[94];
|
|
705
691
|
}
|
|
706
|
-
useEffect(
|
|
707
|
-
let
|
|
708
|
-
if ($[
|
|
709
|
-
|
|
692
|
+
useEffect(t87, t88);
|
|
693
|
+
let t89;
|
|
694
|
+
if ($[95] === Symbol.for("react.memo_cache_sentinel")) {
|
|
695
|
+
t89 = () => {
|
|
710
696
|
setPopupDragDisabled(false);
|
|
711
697
|
};
|
|
712
|
-
$[
|
|
698
|
+
$[95] = t89;
|
|
713
699
|
} else {
|
|
714
|
-
|
|
700
|
+
t89 = $[95];
|
|
715
701
|
}
|
|
716
|
-
const onPopupScrollBottom =
|
|
717
|
-
let
|
|
718
|
-
if ($[
|
|
719
|
-
|
|
702
|
+
const onPopupScrollBottom = t89;
|
|
703
|
+
let t90;
|
|
704
|
+
if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
|
|
705
|
+
t90 = () => {
|
|
720
706
|
setPopupDragDisabled(true);
|
|
721
707
|
};
|
|
722
|
-
$[
|
|
708
|
+
$[96] = t90;
|
|
723
709
|
} else {
|
|
724
|
-
|
|
710
|
+
t90 = $[96];
|
|
725
711
|
}
|
|
726
|
-
const onPopupScrollNotBottom =
|
|
727
|
-
let
|
|
728
|
-
if ($[
|
|
729
|
-
|
|
730
|
-
const trigger =
|
|
712
|
+
const onPopupScrollNotBottom = t90;
|
|
713
|
+
let t91;
|
|
714
|
+
if ($[97] !== trackScreenEvent) {
|
|
715
|
+
t91 = t92 => {
|
|
716
|
+
const trigger = t92 === undefined ? null : t92;
|
|
731
717
|
if (trigger !== null) {
|
|
732
718
|
const scrollPercent = Math.round(trigger * 100);
|
|
733
719
|
trackScreenEvent("scroll", scrollPercent, {
|
|
@@ -735,73 +721,73 @@ function KeypadScreen(t0) {
|
|
|
735
721
|
});
|
|
736
722
|
}
|
|
737
723
|
};
|
|
738
|
-
$[
|
|
739
|
-
$[
|
|
724
|
+
$[97] = trackScreenEvent;
|
|
725
|
+
$[98] = t91;
|
|
740
726
|
} else {
|
|
741
|
-
|
|
727
|
+
t91 = $[98];
|
|
742
728
|
}
|
|
743
|
-
const onScrolledTrigger =
|
|
744
|
-
let
|
|
745
|
-
if ($[
|
|
746
|
-
|
|
729
|
+
const onScrolledTrigger = t91;
|
|
730
|
+
let t92;
|
|
731
|
+
if ($[99] !== onCloseModal || $[100] !== showPopup) {
|
|
732
|
+
t92 = () => {
|
|
747
733
|
onCloseModal(showPopup);
|
|
748
734
|
};
|
|
749
|
-
$[
|
|
750
|
-
$[
|
|
751
|
-
$[
|
|
735
|
+
$[99] = onCloseModal;
|
|
736
|
+
$[100] = showPopup;
|
|
737
|
+
$[101] = t92;
|
|
752
738
|
} else {
|
|
753
|
-
|
|
739
|
+
t92 = $[101];
|
|
754
740
|
}
|
|
755
|
-
const onTap =
|
|
741
|
+
const onTap = t92;
|
|
756
742
|
const onResolve = _temp4;
|
|
757
|
-
const
|
|
758
|
-
let
|
|
759
|
-
let
|
|
760
|
-
if ($[
|
|
761
|
-
|
|
743
|
+
const t93 = showPopup ? 0 : 1;
|
|
744
|
+
let t94;
|
|
745
|
+
let t95;
|
|
746
|
+
if ($[102] === Symbol.for("react.memo_cache_sentinel")) {
|
|
747
|
+
t94 = {
|
|
762
748
|
config: {
|
|
763
749
|
tension: 300,
|
|
764
750
|
friction: 30
|
|
765
751
|
}
|
|
766
752
|
};
|
|
767
|
-
|
|
753
|
+
t95 = {
|
|
768
754
|
filterTaps: true,
|
|
769
755
|
preventDefault: true,
|
|
770
756
|
stopPropagation: true
|
|
771
757
|
};
|
|
772
|
-
$[
|
|
773
|
-
$[
|
|
758
|
+
$[102] = t94;
|
|
759
|
+
$[103] = t95;
|
|
774
760
|
} else {
|
|
775
|
-
|
|
776
|
-
|
|
761
|
+
t94 = $[102];
|
|
762
|
+
t95 = $[103];
|
|
777
763
|
}
|
|
778
|
-
let
|
|
779
|
-
if ($[
|
|
780
|
-
|
|
764
|
+
let t96;
|
|
765
|
+
if ($[104] !== computePopupProgress || $[105] !== onTap || $[106] !== t93) {
|
|
766
|
+
t96 = {
|
|
781
767
|
disabled: true,
|
|
782
|
-
progress:
|
|
768
|
+
progress: t93,
|
|
783
769
|
computeProgress: computePopupProgress,
|
|
784
770
|
onResolve,
|
|
785
|
-
springParams:
|
|
786
|
-
dragOptions:
|
|
771
|
+
springParams: t94,
|
|
772
|
+
dragOptions: t95,
|
|
787
773
|
onTap
|
|
788
774
|
};
|
|
789
|
-
$[
|
|
790
|
-
$[
|
|
791
|
-
$[
|
|
792
|
-
$[
|
|
775
|
+
$[104] = computePopupProgress;
|
|
776
|
+
$[105] = onTap;
|
|
777
|
+
$[106] = t93;
|
|
778
|
+
$[107] = t96;
|
|
793
779
|
} else {
|
|
794
|
-
|
|
780
|
+
t96 = $[107];
|
|
795
781
|
}
|
|
796
782
|
const {
|
|
797
783
|
bind: bindPopupDrag,
|
|
798
784
|
progress: popupSpring,
|
|
799
785
|
transitioning: popupTransitioning
|
|
800
|
-
} = useDragProgress(
|
|
801
|
-
let
|
|
802
|
-
let
|
|
803
|
-
if ($[
|
|
804
|
-
|
|
786
|
+
} = useDragProgress(t96);
|
|
787
|
+
let t97;
|
|
788
|
+
let t98;
|
|
789
|
+
if ($[108] !== onCloseModal || $[109] !== showPopup) {
|
|
790
|
+
t97 = () => {
|
|
805
791
|
const keyup = e_3 => {
|
|
806
792
|
if (e_3.key === "Escape") {
|
|
807
793
|
if (showPopup) {
|
|
@@ -814,66 +800,66 @@ function KeypadScreen(t0) {
|
|
|
814
800
|
document.removeEventListener("keyup", keyup);
|
|
815
801
|
};
|
|
816
802
|
};
|
|
817
|
-
|
|
818
|
-
$[
|
|
819
|
-
$[
|
|
820
|
-
$[
|
|
821
|
-
$[
|
|
803
|
+
t98 = [showPopup, onCloseModal];
|
|
804
|
+
$[108] = onCloseModal;
|
|
805
|
+
$[109] = showPopup;
|
|
806
|
+
$[110] = t97;
|
|
807
|
+
$[111] = t98;
|
|
822
808
|
} else {
|
|
823
|
-
|
|
824
|
-
|
|
809
|
+
t97 = $[110];
|
|
810
|
+
t98 = $[111];
|
|
825
811
|
}
|
|
826
|
-
useEffect(
|
|
827
|
-
const
|
|
828
|
-
let
|
|
829
|
-
if ($[
|
|
830
|
-
let
|
|
831
|
-
if ($[
|
|
832
|
-
|
|
812
|
+
useEffect(t97, t98);
|
|
813
|
+
const t99 = items === null || items.length === 0 ? placeholders : items;
|
|
814
|
+
let t100;
|
|
815
|
+
if ($[112] !== buttonBoxStyle || $[113] !== buttonLabelBoxStyle || $[114] !== buttonLayout || $[115] !== buttonTextStyle || $[116] !== buttonVisualWidth || $[117] !== current || $[118] !== onItemClick || $[119] !== resolution || $[120] !== t99) {
|
|
816
|
+
let t101;
|
|
817
|
+
if ($[122] !== buttonBoxStyle || $[123] !== buttonLabelBoxStyle || $[124] !== buttonLayout || $[125] !== buttonTextStyle || $[126] !== buttonVisualWidth || $[127] !== current || $[128] !== onItemClick || $[129] !== resolution) {
|
|
818
|
+
t101 = (item_0, index_0) => {
|
|
833
819
|
const {
|
|
834
|
-
id:
|
|
835
|
-
label:
|
|
836
|
-
visual:
|
|
837
|
-
boxStyle:
|
|
838
|
-
heading:
|
|
839
|
-
content:
|
|
840
|
-
url:
|
|
841
|
-
inWebView:
|
|
842
|
-
largeVisual:
|
|
820
|
+
id: t102,
|
|
821
|
+
label: t103,
|
|
822
|
+
visual: t104,
|
|
823
|
+
boxStyle: t105,
|
|
824
|
+
heading: t106,
|
|
825
|
+
content: t107,
|
|
826
|
+
url: t108,
|
|
827
|
+
inWebView: t109,
|
|
828
|
+
largeVisual: t110,
|
|
843
829
|
video: itemVideo
|
|
844
830
|
} = item_0 || {};
|
|
845
|
-
const id =
|
|
846
|
-
const itemLabel_0 =
|
|
847
|
-
const visual =
|
|
848
|
-
const boxStyle =
|
|
849
|
-
const heading_0 =
|
|
850
|
-
const content =
|
|
851
|
-
const url_0 =
|
|
852
|
-
const inWebView_0 =
|
|
853
|
-
const itemLargeVisual =
|
|
831
|
+
const id = t102 === undefined ? null : t102;
|
|
832
|
+
const itemLabel_0 = t103 === undefined ? null : t103;
|
|
833
|
+
const visual = t104 === undefined ? null : t104;
|
|
834
|
+
const boxStyle = t105 === undefined ? null : t105;
|
|
835
|
+
const heading_0 = t106 === undefined ? null : t106;
|
|
836
|
+
const content = t107 === undefined ? null : t107;
|
|
837
|
+
const url_0 = t108 === undefined ? null : t108;
|
|
838
|
+
const inWebView_0 = t109 === undefined ? false : t109;
|
|
839
|
+
const itemLargeVisual = t110 === undefined ? null : t110;
|
|
854
840
|
const {
|
|
855
|
-
url:
|
|
841
|
+
url: t111
|
|
856
842
|
} = visual || {};
|
|
857
|
-
const visualUrl =
|
|
843
|
+
const visualUrl = t111 === undefined ? null : t111;
|
|
858
844
|
const {
|
|
859
|
-
body:
|
|
845
|
+
body: t112
|
|
860
846
|
} = heading_0 || {};
|
|
861
|
-
const headingBody_0 =
|
|
847
|
+
const headingBody_0 = t112 === undefined ? null : t112;
|
|
862
848
|
const {
|
|
863
|
-
body:
|
|
849
|
+
body: t113
|
|
864
850
|
} = content || {};
|
|
865
|
-
const contentBody =
|
|
851
|
+
const contentBody = t113 === undefined ? null : t113;
|
|
866
852
|
const finalLabel_0 = isString(itemLabel_0) ? {
|
|
867
853
|
body: itemLabel_0
|
|
868
854
|
} : itemLabel_0 || {};
|
|
869
855
|
const {
|
|
870
|
-
textStyle:
|
|
856
|
+
textStyle: t114
|
|
871
857
|
} = finalLabel_0 || {};
|
|
872
|
-
const finalLabelTextStyle =
|
|
858
|
+
const finalLabelTextStyle = t114 === undefined ? null : t114;
|
|
873
859
|
const {
|
|
874
|
-
body:
|
|
860
|
+
body: t115
|
|
875
861
|
} = finalLabel_0 || {};
|
|
876
|
-
const finalBody =
|
|
862
|
+
const finalBody = t115 === undefined ? null : t115;
|
|
877
863
|
const key = finalBody || visualUrl || id;
|
|
878
864
|
const itemIsEmpty = finalBody === null && visual === null;
|
|
879
865
|
const isExternalLink = url_0 !== null && !inWebView_0;
|
|
@@ -908,36 +894,36 @@ function KeypadScreen(t0) {
|
|
|
908
894
|
})
|
|
909
895
|
}, key);
|
|
910
896
|
};
|
|
911
|
-
$[
|
|
912
|
-
$[
|
|
913
|
-
$[
|
|
914
|
-
$[
|
|
915
|
-
$[
|
|
916
|
-
$[
|
|
917
|
-
$[
|
|
918
|
-
$[
|
|
919
|
-
$[
|
|
897
|
+
$[122] = buttonBoxStyle;
|
|
898
|
+
$[123] = buttonLabelBoxStyle;
|
|
899
|
+
$[124] = buttonLayout;
|
|
900
|
+
$[125] = buttonTextStyle;
|
|
901
|
+
$[126] = buttonVisualWidth;
|
|
902
|
+
$[127] = current;
|
|
903
|
+
$[128] = onItemClick;
|
|
904
|
+
$[129] = resolution;
|
|
905
|
+
$[130] = t101;
|
|
920
906
|
} else {
|
|
921
|
-
|
|
907
|
+
t101 = $[130];
|
|
922
908
|
}
|
|
923
|
-
|
|
924
|
-
$[
|
|
925
|
-
$[
|
|
926
|
-
$[
|
|
927
|
-
$[
|
|
928
|
-
$[
|
|
929
|
-
$[
|
|
930
|
-
$[
|
|
931
|
-
$[
|
|
932
|
-
$[
|
|
933
|
-
$[
|
|
934
|
-
} else {
|
|
935
|
-
|
|
936
|
-
}
|
|
937
|
-
const gridItems =
|
|
938
|
-
let
|
|
939
|
-
if ($[
|
|
940
|
-
|
|
909
|
+
t100 = t99.map(t101);
|
|
910
|
+
$[112] = buttonBoxStyle;
|
|
911
|
+
$[113] = buttonLabelBoxStyle;
|
|
912
|
+
$[114] = buttonLayout;
|
|
913
|
+
$[115] = buttonTextStyle;
|
|
914
|
+
$[116] = buttonVisualWidth;
|
|
915
|
+
$[117] = current;
|
|
916
|
+
$[118] = onItemClick;
|
|
917
|
+
$[119] = resolution;
|
|
918
|
+
$[120] = t99;
|
|
919
|
+
$[121] = t100;
|
|
920
|
+
} else {
|
|
921
|
+
t100 = $[121];
|
|
922
|
+
}
|
|
923
|
+
const gridItems = t100;
|
|
924
|
+
let t101;
|
|
925
|
+
if ($[131] !== isPlaceholder || $[132] !== isView || $[133] !== items || $[134] !== screenState) {
|
|
926
|
+
t101 = () => {
|
|
941
927
|
if (screenState === "popup" && isPlaceholder) {
|
|
942
928
|
setPopup(placeholderPopupBoxStyles);
|
|
943
929
|
setShowPopup(true);
|
|
@@ -957,52 +943,52 @@ function KeypadScreen(t0) {
|
|
|
957
943
|
setShowPopup(false);
|
|
958
944
|
}
|
|
959
945
|
};
|
|
960
|
-
$[
|
|
961
|
-
$[
|
|
962
|
-
$[
|
|
963
|
-
$[
|
|
964
|
-
$[
|
|
946
|
+
$[131] = isPlaceholder;
|
|
947
|
+
$[132] = isView;
|
|
948
|
+
$[133] = items;
|
|
949
|
+
$[134] = screenState;
|
|
950
|
+
$[135] = t101;
|
|
965
951
|
} else {
|
|
966
|
-
|
|
952
|
+
t101 = $[135];
|
|
967
953
|
}
|
|
968
|
-
let
|
|
969
|
-
if ($[
|
|
970
|
-
|
|
971
|
-
$[
|
|
972
|
-
$[
|
|
973
|
-
$[
|
|
974
|
-
$[
|
|
954
|
+
let t102;
|
|
955
|
+
if ($[136] !== isView || $[137] !== items || $[138] !== screenState) {
|
|
956
|
+
t102 = [screenState, items, isView];
|
|
957
|
+
$[136] = isView;
|
|
958
|
+
$[137] = items;
|
|
959
|
+
$[138] = screenState;
|
|
960
|
+
$[139] = t102;
|
|
975
961
|
} else {
|
|
976
|
-
|
|
962
|
+
t102 = $[139];
|
|
977
963
|
}
|
|
978
|
-
useEffect(
|
|
979
|
-
let
|
|
980
|
-
let
|
|
981
|
-
if ($[
|
|
982
|
-
|
|
964
|
+
useEffect(t101, t102);
|
|
965
|
+
let t103;
|
|
966
|
+
let t104;
|
|
967
|
+
if ($[140] !== isView || $[141] !== popupTransitioning || $[142] !== screenState || $[143] !== showPopup) {
|
|
968
|
+
t103 = () => {
|
|
983
969
|
if (isView && screenState === null && !showPopup && !popupTransitioning) {
|
|
984
970
|
setPopup(null);
|
|
985
971
|
}
|
|
986
972
|
};
|
|
987
|
-
|
|
988
|
-
$[
|
|
989
|
-
$[
|
|
990
|
-
$[
|
|
991
|
-
$[
|
|
992
|
-
$[
|
|
993
|
-
$[
|
|
994
|
-
} else {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
}
|
|
998
|
-
useEffect(
|
|
999
|
-
const
|
|
973
|
+
t104 = [isView, screenState, showPopup, popupTransitioning];
|
|
974
|
+
$[140] = isView;
|
|
975
|
+
$[141] = popupTransitioning;
|
|
976
|
+
$[142] = screenState;
|
|
977
|
+
$[143] = showPopup;
|
|
978
|
+
$[144] = t103;
|
|
979
|
+
$[145] = t104;
|
|
980
|
+
} else {
|
|
981
|
+
t103 = $[144];
|
|
982
|
+
t104 = $[145];
|
|
983
|
+
}
|
|
984
|
+
useEffect(t103, t104);
|
|
985
|
+
const t105 = classNames([styles.container, className, {
|
|
1000
986
|
[styles.isPlaceholder]: isPlaceholder,
|
|
1001
987
|
[styles.withSquareItems]: withSquareItems
|
|
1002
988
|
}]);
|
|
1003
|
-
let
|
|
1004
|
-
if ($[
|
|
1005
|
-
|
|
989
|
+
let t106;
|
|
990
|
+
if ($[146] !== background || $[147] !== backgroundPlaying || $[148] !== customMediaRef || $[149] !== height || $[150] !== isPlaceholder || $[151] !== mediaRef || $[152] !== mediaShouldLoad || $[153] !== muted || $[154] !== resolution || $[155] !== video || $[156] !== width) {
|
|
991
|
+
t106 = !isPlaceholder ? /*#__PURE__*/jsx(Background, {
|
|
1006
992
|
background: background,
|
|
1007
993
|
width: width,
|
|
1008
994
|
height: height,
|
|
@@ -1013,24 +999,24 @@ function KeypadScreen(t0) {
|
|
|
1013
999
|
mediaRef: mergeRefs(video === null ? mediaRef : null, customMediaRef),
|
|
1014
1000
|
className: styles.background
|
|
1015
1001
|
}) : null;
|
|
1016
|
-
$[
|
|
1017
|
-
$[
|
|
1018
|
-
$[
|
|
1019
|
-
$[
|
|
1020
|
-
$[
|
|
1021
|
-
$[
|
|
1022
|
-
$[
|
|
1023
|
-
$[
|
|
1024
|
-
$[
|
|
1025
|
-
$[
|
|
1026
|
-
$[
|
|
1027
|
-
$[
|
|
1028
|
-
} else {
|
|
1029
|
-
|
|
1030
|
-
}
|
|
1031
|
-
let
|
|
1032
|
-
if ($[
|
|
1033
|
-
|
|
1002
|
+
$[146] = background;
|
|
1003
|
+
$[147] = backgroundPlaying;
|
|
1004
|
+
$[148] = customMediaRef;
|
|
1005
|
+
$[149] = height;
|
|
1006
|
+
$[150] = isPlaceholder;
|
|
1007
|
+
$[151] = mediaRef;
|
|
1008
|
+
$[152] = mediaShouldLoad;
|
|
1009
|
+
$[153] = muted;
|
|
1010
|
+
$[154] = resolution;
|
|
1011
|
+
$[155] = video;
|
|
1012
|
+
$[156] = width;
|
|
1013
|
+
$[157] = t106;
|
|
1014
|
+
} else {
|
|
1015
|
+
t106 = $[157];
|
|
1016
|
+
}
|
|
1017
|
+
let t107;
|
|
1018
|
+
if ($[158] !== isPlaceholder || $[159] !== isPreview || $[160] !== isView || $[161] !== onClickClose || $[162] !== showPopup || $[163] !== withoutCloseButton) {
|
|
1019
|
+
t107 = isView && !isPlaceholder && !withoutCloseButton ? /*#__PURE__*/jsx(animated.div, {
|
|
1034
1020
|
className: classNames([styles.fixedHeader, {
|
|
1035
1021
|
[styles.open]: showPopup
|
|
1036
1022
|
}]),
|
|
@@ -1048,44 +1034,44 @@ function KeypadScreen(t0) {
|
|
|
1048
1034
|
})
|
|
1049
1035
|
})
|
|
1050
1036
|
}) : null;
|
|
1051
|
-
$[
|
|
1052
|
-
$[
|
|
1053
|
-
$[
|
|
1054
|
-
$[
|
|
1055
|
-
$[
|
|
1056
|
-
$[
|
|
1057
|
-
$[
|
|
1058
|
-
} else {
|
|
1059
|
-
|
|
1060
|
-
}
|
|
1061
|
-
const
|
|
1062
|
-
const
|
|
1063
|
-
const
|
|
1064
|
-
let
|
|
1065
|
-
if ($[
|
|
1066
|
-
|
|
1037
|
+
$[158] = isPlaceholder;
|
|
1038
|
+
$[159] = isPreview;
|
|
1039
|
+
$[160] = isView;
|
|
1040
|
+
$[161] = onClickClose;
|
|
1041
|
+
$[162] = showPopup;
|
|
1042
|
+
$[163] = withoutCloseButton;
|
|
1043
|
+
$[164] = t107;
|
|
1044
|
+
} else {
|
|
1045
|
+
t107 = $[164];
|
|
1046
|
+
}
|
|
1047
|
+
const t108 = !showPopup;
|
|
1048
|
+
const t109 = !showPopup;
|
|
1049
|
+
const t110 = isPreview || isPlaceholder || showPopup;
|
|
1050
|
+
let t111;
|
|
1051
|
+
if ($[165] !== current || $[166] !== footerHeight || $[167] !== hasFooter || $[168] !== hasHeader || $[169] !== headerHeight || $[170] !== isPlaceholder || $[171] !== isPreview || $[172] !== spacing || $[173] !== viewerBottomHeight || $[174] !== viewerTopHeight) {
|
|
1052
|
+
t111 = !isPlaceholder ? {
|
|
1067
1053
|
paddingLeft: spacing,
|
|
1068
1054
|
paddingRight: spacing,
|
|
1069
1055
|
paddingTop: (hasHeader ? headerHeight : spacing) + (current && !isPreview ? viewerTopHeight : 0),
|
|
1070
1056
|
paddingBottom: (hasFooter ? footerHeight : spacing) + (current && !isPreview ? viewerBottomHeight : 0)
|
|
1071
1057
|
} : null;
|
|
1072
|
-
$[
|
|
1073
|
-
$[
|
|
1074
|
-
$[
|
|
1075
|
-
$[
|
|
1076
|
-
$[
|
|
1077
|
-
$[
|
|
1078
|
-
$[
|
|
1079
|
-
$[
|
|
1080
|
-
$[
|
|
1081
|
-
$[
|
|
1082
|
-
$[
|
|
1083
|
-
} else {
|
|
1084
|
-
|
|
1085
|
-
}
|
|
1086
|
-
let
|
|
1087
|
-
if ($[
|
|
1088
|
-
|
|
1058
|
+
$[165] = current;
|
|
1059
|
+
$[166] = footerHeight;
|
|
1060
|
+
$[167] = hasFooter;
|
|
1061
|
+
$[168] = hasHeader;
|
|
1062
|
+
$[169] = headerHeight;
|
|
1063
|
+
$[170] = isPlaceholder;
|
|
1064
|
+
$[171] = isPreview;
|
|
1065
|
+
$[172] = spacing;
|
|
1066
|
+
$[173] = viewerBottomHeight;
|
|
1067
|
+
$[174] = viewerTopHeight;
|
|
1068
|
+
$[175] = t111;
|
|
1069
|
+
} else {
|
|
1070
|
+
t111 = $[175];
|
|
1071
|
+
}
|
|
1072
|
+
let t112;
|
|
1073
|
+
if ($[176] !== hasHeader || $[177] !== header || $[178] !== headerRef || $[179] !== isPlaceholder || $[180] !== isPreview || $[181] !== spacing || $[182] !== viewerTopHeight) {
|
|
1074
|
+
t112 = !isPlaceholder && hasHeader ? /*#__PURE__*/jsx("div", {
|
|
1089
1075
|
ref: headerRef,
|
|
1090
1076
|
className: styles.header,
|
|
1091
1077
|
style: {
|
|
@@ -1099,286 +1085,286 @@ function KeypadScreen(t0) {
|
|
|
1099
1085
|
...header
|
|
1100
1086
|
})
|
|
1101
1087
|
}) : null;
|
|
1102
|
-
$[
|
|
1103
|
-
$[
|
|
1104
|
-
$[
|
|
1105
|
-
$[
|
|
1106
|
-
$[
|
|
1107
|
-
$[
|
|
1108
|
-
$[
|
|
1109
|
-
$[
|
|
1110
|
-
} else {
|
|
1111
|
-
|
|
1112
|
-
}
|
|
1113
|
-
let
|
|
1114
|
-
let
|
|
1115
|
-
if ($[
|
|
1116
|
-
|
|
1088
|
+
$[176] = hasHeader;
|
|
1089
|
+
$[177] = header;
|
|
1090
|
+
$[178] = headerRef;
|
|
1091
|
+
$[179] = isPlaceholder;
|
|
1092
|
+
$[180] = isPreview;
|
|
1093
|
+
$[181] = spacing;
|
|
1094
|
+
$[182] = viewerTopHeight;
|
|
1095
|
+
$[183] = t112;
|
|
1096
|
+
} else {
|
|
1097
|
+
t112 = $[183];
|
|
1098
|
+
}
|
|
1099
|
+
let t113;
|
|
1100
|
+
let t114;
|
|
1101
|
+
if ($[184] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1102
|
+
t113 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1117
1103
|
id: "BSTWf8",
|
|
1118
1104
|
defaultMessage: "Title"
|
|
1119
1105
|
});
|
|
1120
|
-
|
|
1121
|
-
$[
|
|
1122
|
-
$[
|
|
1106
|
+
t114 = classNames([styles.empty, styles.emptyHeading]);
|
|
1107
|
+
$[184] = t113;
|
|
1108
|
+
$[185] = t114;
|
|
1123
1109
|
} else {
|
|
1124
|
-
|
|
1125
|
-
|
|
1110
|
+
t113 = $[184];
|
|
1111
|
+
t114 = $[185];
|
|
1126
1112
|
}
|
|
1127
|
-
const
|
|
1128
|
-
let
|
|
1129
|
-
if ($[
|
|
1130
|
-
|
|
1113
|
+
const t115 = !hasTitle;
|
|
1114
|
+
let t116;
|
|
1115
|
+
if ($[186] !== hasTitle || $[187] !== title || $[188] !== titleTextStyle) {
|
|
1116
|
+
t116 = hasTitle ? /*#__PURE__*/jsx(Heading, {
|
|
1131
1117
|
className: styles.title,
|
|
1132
1118
|
...title,
|
|
1133
1119
|
textStyle: titleTextStyle
|
|
1134
1120
|
}) : null;
|
|
1135
|
-
$[
|
|
1136
|
-
$[
|
|
1137
|
-
$[
|
|
1138
|
-
$[
|
|
1121
|
+
$[186] = hasTitle;
|
|
1122
|
+
$[187] = title;
|
|
1123
|
+
$[188] = titleTextStyle;
|
|
1124
|
+
$[189] = t116;
|
|
1139
1125
|
} else {
|
|
1140
|
-
|
|
1126
|
+
t116 = $[189];
|
|
1141
1127
|
}
|
|
1142
|
-
let
|
|
1143
|
-
if ($[
|
|
1144
|
-
|
|
1128
|
+
let t117;
|
|
1129
|
+
if ($[190] !== t115 || $[191] !== t116) {
|
|
1130
|
+
t117 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1145
1131
|
placeholder: "Title",
|
|
1146
|
-
emptyLabel:
|
|
1147
|
-
emptyClassName:
|
|
1148
|
-
isEmpty:
|
|
1149
|
-
children:
|
|
1132
|
+
emptyLabel: t113,
|
|
1133
|
+
emptyClassName: t114,
|
|
1134
|
+
isEmpty: t115,
|
|
1135
|
+
children: t116
|
|
1150
1136
|
});
|
|
1151
|
-
$[
|
|
1152
|
-
$[
|
|
1153
|
-
$[
|
|
1137
|
+
$[190] = t115;
|
|
1138
|
+
$[191] = t116;
|
|
1139
|
+
$[192] = t117;
|
|
1154
1140
|
} else {
|
|
1155
|
-
|
|
1141
|
+
t117 = $[192];
|
|
1156
1142
|
}
|
|
1157
|
-
let
|
|
1158
|
-
let
|
|
1159
|
-
if ($[
|
|
1160
|
-
|
|
1143
|
+
let t118;
|
|
1144
|
+
let t119;
|
|
1145
|
+
if ($[193] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1146
|
+
t118 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1161
1147
|
id: "ZG8/oK",
|
|
1162
1148
|
defaultMessage: "Subtitle"
|
|
1163
1149
|
});
|
|
1164
|
-
|
|
1165
|
-
$[
|
|
1166
|
-
$[
|
|
1150
|
+
t119 = classNames([styles.empty, styles.emptyHeading]);
|
|
1151
|
+
$[193] = t118;
|
|
1152
|
+
$[194] = t119;
|
|
1167
1153
|
} else {
|
|
1168
|
-
|
|
1169
|
-
|
|
1154
|
+
t118 = $[193];
|
|
1155
|
+
t119 = $[194];
|
|
1170
1156
|
}
|
|
1171
|
-
const
|
|
1172
|
-
let
|
|
1173
|
-
if ($[
|
|
1174
|
-
|
|
1157
|
+
const t120 = !hasSubtitle;
|
|
1158
|
+
let t121;
|
|
1159
|
+
if ($[195] !== hasSubtitle || $[196] !== subtitle) {
|
|
1160
|
+
t121 = hasSubtitle ? /*#__PURE__*/jsx(Text, {
|
|
1175
1161
|
className: styles.subtitle,
|
|
1176
1162
|
...subtitle
|
|
1177
1163
|
}) : null;
|
|
1178
|
-
$[
|
|
1179
|
-
$[
|
|
1180
|
-
$[
|
|
1164
|
+
$[195] = hasSubtitle;
|
|
1165
|
+
$[196] = subtitle;
|
|
1166
|
+
$[197] = t121;
|
|
1181
1167
|
} else {
|
|
1182
|
-
|
|
1168
|
+
t121 = $[197];
|
|
1183
1169
|
}
|
|
1184
|
-
let
|
|
1185
|
-
if ($[
|
|
1186
|
-
|
|
1170
|
+
let t122;
|
|
1171
|
+
if ($[198] !== t120 || $[199] !== t121) {
|
|
1172
|
+
t122 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1187
1173
|
placeholder: "Subtitle",
|
|
1188
|
-
emptyLabel:
|
|
1189
|
-
emptyClassName:
|
|
1190
|
-
isEmpty:
|
|
1191
|
-
children:
|
|
1174
|
+
emptyLabel: t118,
|
|
1175
|
+
emptyClassName: t119,
|
|
1176
|
+
isEmpty: t120,
|
|
1177
|
+
children: t121
|
|
1192
1178
|
});
|
|
1193
|
-
$[
|
|
1194
|
-
$[
|
|
1195
|
-
$[
|
|
1179
|
+
$[198] = t120;
|
|
1180
|
+
$[199] = t121;
|
|
1181
|
+
$[200] = t122;
|
|
1196
1182
|
} else {
|
|
1197
|
-
|
|
1183
|
+
t122 = $[200];
|
|
1198
1184
|
}
|
|
1199
|
-
let
|
|
1200
|
-
if ($[
|
|
1201
|
-
|
|
1185
|
+
let t123;
|
|
1186
|
+
if ($[201] !== isPlaceholder) {
|
|
1187
|
+
t123 = classNames([styles.grid, {
|
|
1202
1188
|
[styles.gridPlaceholder]: isPlaceholder
|
|
1203
1189
|
}]);
|
|
1204
|
-
$[
|
|
1205
|
-
$[
|
|
1190
|
+
$[201] = isPlaceholder;
|
|
1191
|
+
$[202] = t123;
|
|
1206
1192
|
} else {
|
|
1207
|
-
|
|
1193
|
+
t123 = $[202];
|
|
1208
1194
|
}
|
|
1209
|
-
const
|
|
1210
|
-
const
|
|
1211
|
-
let
|
|
1212
|
-
if ($[
|
|
1213
|
-
|
|
1214
|
-
className:
|
|
1195
|
+
const t124 = isPlaceholder ? 3 : columns;
|
|
1196
|
+
const t125 = isPlaceholder ? 2 : columnSpacing;
|
|
1197
|
+
let t126;
|
|
1198
|
+
if ($[203] !== columnAlign || $[204] !== gridItems || $[205] !== t123 || $[206] !== t124 || $[207] !== t125) {
|
|
1199
|
+
t126 = /*#__PURE__*/jsx(Keypad, {
|
|
1200
|
+
className: t123,
|
|
1215
1201
|
align: columnAlign,
|
|
1216
|
-
columns:
|
|
1217
|
-
spacing:
|
|
1202
|
+
columns: t124,
|
|
1203
|
+
spacing: t125,
|
|
1218
1204
|
items: gridItems
|
|
1219
1205
|
});
|
|
1220
|
-
$[
|
|
1221
|
-
$[
|
|
1222
|
-
$[
|
|
1223
|
-
$[
|
|
1224
|
-
$[
|
|
1225
|
-
$[
|
|
1226
|
-
} else {
|
|
1227
|
-
|
|
1228
|
-
}
|
|
1229
|
-
let
|
|
1230
|
-
if ($[
|
|
1231
|
-
|
|
1206
|
+
$[203] = columnAlign;
|
|
1207
|
+
$[204] = gridItems;
|
|
1208
|
+
$[205] = t123;
|
|
1209
|
+
$[206] = t124;
|
|
1210
|
+
$[207] = t125;
|
|
1211
|
+
$[208] = t126;
|
|
1212
|
+
} else {
|
|
1213
|
+
t126 = $[208];
|
|
1214
|
+
}
|
|
1215
|
+
let t127;
|
|
1216
|
+
if ($[209] !== layout || $[210] !== t111 || $[211] !== t112 || $[212] !== t117 || $[213] !== t122 || $[214] !== t126 || $[215] !== width) {
|
|
1217
|
+
t127 = /*#__PURE__*/jsxs(Layout, {
|
|
1232
1218
|
className: styles.layout,
|
|
1233
1219
|
verticalAlign: layout,
|
|
1234
1220
|
width: width,
|
|
1235
|
-
style:
|
|
1236
|
-
children: [
|
|
1221
|
+
style: t111,
|
|
1222
|
+
children: [t112, t117, t122, t126]
|
|
1237
1223
|
});
|
|
1238
|
-
$[
|
|
1239
|
-
$[
|
|
1240
|
-
$[
|
|
1241
|
-
$[
|
|
1242
|
-
$[
|
|
1243
|
-
$[
|
|
1244
|
-
$[
|
|
1245
|
-
$[
|
|
1224
|
+
$[209] = layout;
|
|
1225
|
+
$[210] = t111;
|
|
1226
|
+
$[211] = t112;
|
|
1227
|
+
$[212] = t117;
|
|
1228
|
+
$[213] = t122;
|
|
1229
|
+
$[214] = t126;
|
|
1230
|
+
$[215] = width;
|
|
1231
|
+
$[216] = t127;
|
|
1246
1232
|
} else {
|
|
1247
|
-
|
|
1233
|
+
t127 = $[216];
|
|
1248
1234
|
}
|
|
1249
|
-
let
|
|
1250
|
-
if ($[
|
|
1251
|
-
|
|
1252
|
-
$[
|
|
1235
|
+
let t128;
|
|
1236
|
+
if ($[217] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1237
|
+
t128 = classNames([styles.popupBackdrop]);
|
|
1238
|
+
$[217] = t128;
|
|
1253
1239
|
} else {
|
|
1254
|
-
|
|
1240
|
+
t128 = $[217];
|
|
1255
1241
|
}
|
|
1256
|
-
let
|
|
1257
|
-
if ($[
|
|
1258
|
-
|
|
1259
|
-
$[
|
|
1260
|
-
$[
|
|
1242
|
+
let t129;
|
|
1243
|
+
if ($[218] !== popupSpring) {
|
|
1244
|
+
t129 = popupSpring.to(_temp5);
|
|
1245
|
+
$[218] = popupSpring;
|
|
1246
|
+
$[219] = t129;
|
|
1261
1247
|
} else {
|
|
1262
|
-
|
|
1248
|
+
t129 = $[219];
|
|
1263
1249
|
}
|
|
1264
|
-
let
|
|
1265
|
-
if ($[
|
|
1266
|
-
|
|
1267
|
-
className:
|
|
1250
|
+
let t130;
|
|
1251
|
+
if ($[220] !== t129) {
|
|
1252
|
+
t130 = /*#__PURE__*/jsx(animated.div, {
|
|
1253
|
+
className: t128,
|
|
1268
1254
|
style: {
|
|
1269
|
-
opacity:
|
|
1255
|
+
opacity: t129
|
|
1270
1256
|
}
|
|
1271
1257
|
});
|
|
1272
|
-
$[
|
|
1273
|
-
$[
|
|
1258
|
+
$[220] = t129;
|
|
1259
|
+
$[221] = t130;
|
|
1260
|
+
} else {
|
|
1261
|
+
t130 = $[221];
|
|
1262
|
+
}
|
|
1263
|
+
let t131;
|
|
1264
|
+
if ($[222] !== popupSpring) {
|
|
1265
|
+
t131 = popupSpring.to(_temp6);
|
|
1266
|
+
$[222] = popupSpring;
|
|
1267
|
+
$[223] = t131;
|
|
1274
1268
|
} else {
|
|
1275
|
-
|
|
1269
|
+
t131 = $[223];
|
|
1270
|
+
}
|
|
1271
|
+
let t132;
|
|
1272
|
+
if ($[224] !== popupSpring) {
|
|
1273
|
+
t132 = popupSpring.to(_temp7);
|
|
1274
|
+
$[224] = popupSpring;
|
|
1275
|
+
$[225] = t132;
|
|
1276
|
+
} else {
|
|
1277
|
+
t132 = $[225];
|
|
1276
1278
|
}
|
|
1277
1279
|
let t133;
|
|
1278
|
-
if ($[
|
|
1279
|
-
t133 =
|
|
1280
|
-
|
|
1281
|
-
|
|
1280
|
+
if ($[226] !== t131 || $[227] !== t132) {
|
|
1281
|
+
t133 = {
|
|
1282
|
+
transform: t131,
|
|
1283
|
+
pointerEvents: t132
|
|
1284
|
+
};
|
|
1285
|
+
$[226] = t131;
|
|
1286
|
+
$[227] = t132;
|
|
1287
|
+
$[228] = t133;
|
|
1282
1288
|
} else {
|
|
1283
|
-
t133 = $[
|
|
1289
|
+
t133 = $[228];
|
|
1284
1290
|
}
|
|
1285
1291
|
let t134;
|
|
1286
|
-
if ($[
|
|
1287
|
-
t134 =
|
|
1288
|
-
$[
|
|
1289
|
-
$[
|
|
1290
|
-
} else {
|
|
1291
|
-
t134 = $[
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1292
|
+
if ($[229] !== bindPopupDrag) {
|
|
1293
|
+
t134 = bindPopupDrag();
|
|
1294
|
+
$[229] = bindPopupDrag;
|
|
1295
|
+
$[230] = t134;
|
|
1296
|
+
} else {
|
|
1297
|
+
t134 = $[230];
|
|
1298
|
+
}
|
|
1299
|
+
const t135 = isPreview || isPlaceholder;
|
|
1300
|
+
const t136 = !showPopup ? 1 : null;
|
|
1301
|
+
const t137 = styles[popupLayoutClassName];
|
|
1302
|
+
const t138 = popupBoxStyle === null;
|
|
1303
|
+
let t139;
|
|
1304
|
+
if ($[231] !== t137 || $[232] !== t138) {
|
|
1305
|
+
t139 = classNames([styles.popupInner, t137, {
|
|
1306
|
+
[styles.withShadow]: t138
|
|
1307
|
+
}]);
|
|
1308
|
+
$[231] = t137;
|
|
1309
|
+
$[232] = t138;
|
|
1310
|
+
$[233] = t139;
|
|
1302
1311
|
} else {
|
|
1303
|
-
|
|
1312
|
+
t139 = $[233];
|
|
1304
1313
|
}
|
|
1305
|
-
let
|
|
1306
|
-
if ($[
|
|
1307
|
-
|
|
1308
|
-
$[
|
|
1309
|
-
$[231] = t136;
|
|
1314
|
+
let t140;
|
|
1315
|
+
if ($[234] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1316
|
+
t140 = getStyleFromBox(placeholderPopupBoxStyles);
|
|
1317
|
+
$[234] = t140;
|
|
1310
1318
|
} else {
|
|
1311
|
-
|
|
1319
|
+
t140 = $[234];
|
|
1312
1320
|
}
|
|
1313
|
-
const t137 = isPreview || isPlaceholder;
|
|
1314
|
-
const t138 = !showPopup ? 1 : null;
|
|
1315
|
-
const t139 = styles[popupLayoutClassName];
|
|
1316
|
-
const t140 = popupBoxStyle === null;
|
|
1317
1321
|
let t141;
|
|
1318
|
-
if ($[
|
|
1319
|
-
t141 =
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
$[232] = t139;
|
|
1323
|
-
$[233] = t140;
|
|
1324
|
-
$[234] = t141;
|
|
1322
|
+
if ($[235] !== popupBoxStyle) {
|
|
1323
|
+
t141 = getStyleFromBox(popupBoxStyle);
|
|
1324
|
+
$[235] = popupBoxStyle;
|
|
1325
|
+
$[236] = t141;
|
|
1325
1326
|
} else {
|
|
1326
|
-
t141 = $[
|
|
1327
|
+
t141 = $[236];
|
|
1327
1328
|
}
|
|
1328
1329
|
let t142;
|
|
1329
|
-
if ($[
|
|
1330
|
-
t142 = getStyleFromBox(
|
|
1331
|
-
$[
|
|
1330
|
+
if ($[237] !== singlePopupBoxStyle) {
|
|
1331
|
+
t142 = getStyleFromBox(singlePopupBoxStyle);
|
|
1332
|
+
$[237] = singlePopupBoxStyle;
|
|
1333
|
+
$[238] = t142;
|
|
1332
1334
|
} else {
|
|
1333
|
-
t142 = $[
|
|
1335
|
+
t142 = $[238];
|
|
1334
1336
|
}
|
|
1335
1337
|
let t143;
|
|
1336
|
-
if ($[
|
|
1337
|
-
t143 =
|
|
1338
|
-
|
|
1339
|
-
|
|
1338
|
+
if ($[239] !== t141 || $[240] !== t142) {
|
|
1339
|
+
t143 = {
|
|
1340
|
+
...t140,
|
|
1341
|
+
...t141,
|
|
1342
|
+
...t142
|
|
1343
|
+
};
|
|
1344
|
+
$[239] = t141;
|
|
1345
|
+
$[240] = t142;
|
|
1346
|
+
$[241] = t143;
|
|
1340
1347
|
} else {
|
|
1341
|
-
t143 = $[
|
|
1348
|
+
t143 = $[241];
|
|
1342
1349
|
}
|
|
1343
1350
|
let t144;
|
|
1344
|
-
if ($[238] !== singlePopupBoxStyle) {
|
|
1345
|
-
t144 = getStyleFromBox(singlePopupBoxStyle);
|
|
1346
|
-
$[238] = singlePopupBoxStyle;
|
|
1347
|
-
$[239] = t144;
|
|
1348
|
-
} else {
|
|
1349
|
-
t144 = $[239];
|
|
1350
|
-
}
|
|
1351
1351
|
let t145;
|
|
1352
|
-
if ($[
|
|
1353
|
-
|
|
1354
|
-
...t142,
|
|
1355
|
-
...t143,
|
|
1356
|
-
...t144
|
|
1357
|
-
};
|
|
1358
|
-
$[240] = t143;
|
|
1359
|
-
$[241] = t144;
|
|
1360
|
-
$[242] = t145;
|
|
1361
|
-
} else {
|
|
1362
|
-
t145 = $[242];
|
|
1363
|
-
}
|
|
1364
|
-
let t146;
|
|
1365
|
-
let t147;
|
|
1366
|
-
if ($[243] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1367
|
-
t146 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1352
|
+
if ($[242] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1353
|
+
t144 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1368
1354
|
id: "uT+qYH",
|
|
1369
1355
|
defaultMessage: "Video"
|
|
1370
1356
|
});
|
|
1371
|
-
|
|
1372
|
-
$[
|
|
1373
|
-
$[
|
|
1357
|
+
t145 = classNames([styles.empty, styles.emptyVisual]);
|
|
1358
|
+
$[242] = t144;
|
|
1359
|
+
$[243] = t145;
|
|
1374
1360
|
} else {
|
|
1375
|
-
|
|
1376
|
-
|
|
1361
|
+
t144 = $[242];
|
|
1362
|
+
t145 = $[243];
|
|
1377
1363
|
}
|
|
1378
|
-
const
|
|
1379
|
-
let
|
|
1380
|
-
if ($[
|
|
1381
|
-
|
|
1364
|
+
const t146 = video === null;
|
|
1365
|
+
let t147;
|
|
1366
|
+
if ($[244] !== customMediaRef || $[245] !== mediaRef || $[246] !== muted || $[247] !== resolution || $[248] !== video || $[249] !== videoPlaying) {
|
|
1367
|
+
t147 = video !== null ? /*#__PURE__*/jsx("div", {
|
|
1382
1368
|
className: styles.popupVideoWrapper,
|
|
1383
1369
|
children: /*#__PURE__*/jsx(Video, {
|
|
1384
1370
|
...video,
|
|
@@ -1389,49 +1375,49 @@ function KeypadScreen(t0) {
|
|
|
1389
1375
|
mediaRef: mergeRefs(mediaRef, customMediaRef)
|
|
1390
1376
|
})
|
|
1391
1377
|
}) : null;
|
|
1392
|
-
$[
|
|
1393
|
-
$[
|
|
1394
|
-
$[
|
|
1395
|
-
$[
|
|
1396
|
-
$[
|
|
1397
|
-
$[
|
|
1398
|
-
$[
|
|
1399
|
-
} else {
|
|
1400
|
-
|
|
1401
|
-
}
|
|
1402
|
-
let
|
|
1403
|
-
if ($[
|
|
1404
|
-
|
|
1378
|
+
$[244] = customMediaRef;
|
|
1379
|
+
$[245] = mediaRef;
|
|
1380
|
+
$[246] = muted;
|
|
1381
|
+
$[247] = resolution;
|
|
1382
|
+
$[248] = video;
|
|
1383
|
+
$[249] = videoPlaying;
|
|
1384
|
+
$[250] = t147;
|
|
1385
|
+
} else {
|
|
1386
|
+
t147 = $[250];
|
|
1387
|
+
}
|
|
1388
|
+
let t148;
|
|
1389
|
+
if ($[251] !== t146 || $[252] !== t147) {
|
|
1390
|
+
t148 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1405
1391
|
placeholder: "video",
|
|
1406
|
-
emptyLabel:
|
|
1407
|
-
emptyClassName:
|
|
1408
|
-
isEmpty:
|
|
1409
|
-
children:
|
|
1392
|
+
emptyLabel: t144,
|
|
1393
|
+
emptyClassName: t145,
|
|
1394
|
+
isEmpty: t146,
|
|
1395
|
+
children: t147
|
|
1410
1396
|
});
|
|
1411
|
-
$[
|
|
1412
|
-
$[
|
|
1413
|
-
$[
|
|
1397
|
+
$[251] = t146;
|
|
1398
|
+
$[252] = t147;
|
|
1399
|
+
$[253] = t148;
|
|
1414
1400
|
} else {
|
|
1415
|
-
|
|
1401
|
+
t148 = $[253];
|
|
1416
1402
|
}
|
|
1417
|
-
let
|
|
1418
|
-
let
|
|
1419
|
-
if ($[
|
|
1420
|
-
|
|
1403
|
+
let t149;
|
|
1404
|
+
let t150;
|
|
1405
|
+
if ($[254] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1406
|
+
t149 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1421
1407
|
id: "IE7U/Q",
|
|
1422
1408
|
defaultMessage: "Heading"
|
|
1423
1409
|
});
|
|
1424
|
-
|
|
1425
|
-
$[
|
|
1426
|
-
$[
|
|
1410
|
+
t150 = classNames([styles.empty, styles.emptyHeading]);
|
|
1411
|
+
$[254] = t149;
|
|
1412
|
+
$[255] = t150;
|
|
1427
1413
|
} else {
|
|
1428
|
-
|
|
1429
|
-
|
|
1414
|
+
t149 = $[254];
|
|
1415
|
+
t150 = $[255];
|
|
1430
1416
|
}
|
|
1431
|
-
const
|
|
1432
|
-
let
|
|
1433
|
-
if ($[
|
|
1434
|
-
|
|
1417
|
+
const t151 = !hasPopupHeading;
|
|
1418
|
+
let t152;
|
|
1419
|
+
if ($[256] !== hasPopupHeading || $[257] !== headingTextStyle || $[258] !== popupHeading || $[259] !== popupHeadingTextStyle) {
|
|
1420
|
+
t152 = hasPopupHeading ? /*#__PURE__*/jsx(Heading, {
|
|
1435
1421
|
className: styles.popupHeading,
|
|
1436
1422
|
...popupHeading,
|
|
1437
1423
|
textStyle: {
|
|
@@ -1439,46 +1425,46 @@ function KeypadScreen(t0) {
|
|
|
1439
1425
|
...popupHeadingTextStyle
|
|
1440
1426
|
}
|
|
1441
1427
|
}) : null;
|
|
1442
|
-
$[
|
|
1443
|
-
$[
|
|
1444
|
-
$[
|
|
1445
|
-
$[
|
|
1446
|
-
$[
|
|
1447
|
-
} else {
|
|
1448
|
-
|
|
1449
|
-
}
|
|
1450
|
-
let
|
|
1451
|
-
if ($[
|
|
1452
|
-
|
|
1453
|
-
emptyLabel:
|
|
1454
|
-
emptyClassName:
|
|
1455
|
-
isEmpty:
|
|
1456
|
-
children:
|
|
1428
|
+
$[256] = hasPopupHeading;
|
|
1429
|
+
$[257] = headingTextStyle;
|
|
1430
|
+
$[258] = popupHeading;
|
|
1431
|
+
$[259] = popupHeadingTextStyle;
|
|
1432
|
+
$[260] = t152;
|
|
1433
|
+
} else {
|
|
1434
|
+
t152 = $[260];
|
|
1435
|
+
}
|
|
1436
|
+
let t153;
|
|
1437
|
+
if ($[261] !== t151 || $[262] !== t152) {
|
|
1438
|
+
t153 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1439
|
+
emptyLabel: t149,
|
|
1440
|
+
emptyClassName: t150,
|
|
1441
|
+
isEmpty: t151,
|
|
1442
|
+
children: t152
|
|
1457
1443
|
});
|
|
1458
|
-
$[
|
|
1459
|
-
$[
|
|
1460
|
-
$[
|
|
1444
|
+
$[261] = t151;
|
|
1445
|
+
$[262] = t152;
|
|
1446
|
+
$[263] = t153;
|
|
1461
1447
|
} else {
|
|
1462
|
-
|
|
1448
|
+
t153 = $[263];
|
|
1463
1449
|
}
|
|
1464
|
-
let
|
|
1465
|
-
let
|
|
1466
|
-
if ($[
|
|
1467
|
-
|
|
1450
|
+
let t154;
|
|
1451
|
+
let t155;
|
|
1452
|
+
if ($[264] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1453
|
+
t154 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1468
1454
|
id: "JRZoe6",
|
|
1469
1455
|
defaultMessage: "Content"
|
|
1470
1456
|
});
|
|
1471
|
-
|
|
1472
|
-
$[
|
|
1473
|
-
$[
|
|
1457
|
+
t155 = classNames([styles.empty, styles.emptyContent]);
|
|
1458
|
+
$[264] = t154;
|
|
1459
|
+
$[265] = t155;
|
|
1474
1460
|
} else {
|
|
1475
|
-
|
|
1476
|
-
|
|
1461
|
+
t154 = $[264];
|
|
1462
|
+
t155 = $[265];
|
|
1477
1463
|
}
|
|
1478
|
-
const
|
|
1479
|
-
let
|
|
1480
|
-
if ($[
|
|
1481
|
-
|
|
1464
|
+
const t156 = !hasPopupContent;
|
|
1465
|
+
let t157;
|
|
1466
|
+
if ($[266] !== contentTextStyle || $[267] !== hasPopupContent || $[268] !== popupContent || $[269] !== popupContentTextStyle) {
|
|
1467
|
+
t157 = hasPopupContent ? /*#__PURE__*/jsx(Text, {
|
|
1482
1468
|
className: styles.popupContent,
|
|
1483
1469
|
...popupContent,
|
|
1484
1470
|
textStyle: {
|
|
@@ -1486,47 +1472,47 @@ function KeypadScreen(t0) {
|
|
|
1486
1472
|
...popupContentTextStyle
|
|
1487
1473
|
}
|
|
1488
1474
|
}) : null;
|
|
1489
|
-
$[
|
|
1490
|
-
$[
|
|
1491
|
-
$[
|
|
1492
|
-
$[
|
|
1493
|
-
$[
|
|
1475
|
+
$[266] = contentTextStyle;
|
|
1476
|
+
$[267] = hasPopupContent;
|
|
1477
|
+
$[268] = popupContent;
|
|
1478
|
+
$[269] = popupContentTextStyle;
|
|
1479
|
+
$[270] = t157;
|
|
1494
1480
|
} else {
|
|
1495
|
-
|
|
1481
|
+
t157 = $[270];
|
|
1496
1482
|
}
|
|
1497
|
-
let
|
|
1498
|
-
if ($[
|
|
1499
|
-
|
|
1483
|
+
let t158;
|
|
1484
|
+
if ($[271] !== t156 || $[272] !== t157) {
|
|
1485
|
+
t158 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1500
1486
|
placeholder: "popupContent",
|
|
1501
|
-
emptyLabel:
|
|
1502
|
-
emptyClassName:
|
|
1503
|
-
isEmpty:
|
|
1504
|
-
children:
|
|
1487
|
+
emptyLabel: t154,
|
|
1488
|
+
emptyClassName: t155,
|
|
1489
|
+
isEmpty: t156,
|
|
1490
|
+
children: t157
|
|
1505
1491
|
});
|
|
1506
|
-
$[
|
|
1507
|
-
$[
|
|
1508
|
-
$[
|
|
1492
|
+
$[271] = t156;
|
|
1493
|
+
$[272] = t157;
|
|
1494
|
+
$[273] = t158;
|
|
1509
1495
|
} else {
|
|
1510
|
-
|
|
1496
|
+
t158 = $[273];
|
|
1511
1497
|
}
|
|
1512
|
-
let
|
|
1513
|
-
let
|
|
1514
|
-
if ($[
|
|
1515
|
-
|
|
1498
|
+
let t159;
|
|
1499
|
+
let t160;
|
|
1500
|
+
if ($[274] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1501
|
+
t159 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1516
1502
|
id: "z4Pr+g",
|
|
1517
1503
|
defaultMessage: "Visual (Image or Video)"
|
|
1518
1504
|
});
|
|
1519
|
-
|
|
1520
|
-
$[
|
|
1521
|
-
$[
|
|
1505
|
+
t160 = classNames([styles.empty, styles.emptyVisual]);
|
|
1506
|
+
$[274] = t159;
|
|
1507
|
+
$[275] = t160;
|
|
1522
1508
|
} else {
|
|
1523
|
-
|
|
1524
|
-
|
|
1509
|
+
t159 = $[274];
|
|
1510
|
+
t160 = $[275];
|
|
1525
1511
|
}
|
|
1526
|
-
const
|
|
1527
|
-
let
|
|
1528
|
-
if ($[
|
|
1529
|
-
|
|
1512
|
+
const t161 = largeVisual === null;
|
|
1513
|
+
let t162;
|
|
1514
|
+
if ($[276] !== largeVisual || $[277] !== largeVisualRatio || $[278] !== resolution) {
|
|
1515
|
+
t162 = largeVisual !== null ? /*#__PURE__*/jsx(Visual, {
|
|
1530
1516
|
className: styles.popupVisual,
|
|
1531
1517
|
imageClassName: styles.popupVisualImage,
|
|
1532
1518
|
videoClassName: styles.popupVisualVideo,
|
|
@@ -1536,46 +1522,46 @@ function KeypadScreen(t0) {
|
|
|
1536
1522
|
width: "100%",
|
|
1537
1523
|
height: "auto"
|
|
1538
1524
|
}) : null;
|
|
1539
|
-
$[
|
|
1540
|
-
$[
|
|
1541
|
-
$[
|
|
1542
|
-
$[
|
|
1525
|
+
$[276] = largeVisual;
|
|
1526
|
+
$[277] = largeVisualRatio;
|
|
1527
|
+
$[278] = resolution;
|
|
1528
|
+
$[279] = t162;
|
|
1543
1529
|
} else {
|
|
1544
|
-
|
|
1530
|
+
t162 = $[279];
|
|
1545
1531
|
}
|
|
1546
|
-
let
|
|
1547
|
-
if ($[
|
|
1548
|
-
|
|
1532
|
+
let t163;
|
|
1533
|
+
if ($[280] !== t161 || $[281] !== t162) {
|
|
1534
|
+
t163 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1549
1535
|
placeholder: "image",
|
|
1550
|
-
emptyLabel:
|
|
1551
|
-
emptyClassName:
|
|
1552
|
-
isEmpty:
|
|
1553
|
-
children:
|
|
1536
|
+
emptyLabel: t159,
|
|
1537
|
+
emptyClassName: t160,
|
|
1538
|
+
isEmpty: t161,
|
|
1539
|
+
children: t162
|
|
1554
1540
|
});
|
|
1555
|
-
$[
|
|
1556
|
-
$[
|
|
1557
|
-
$[
|
|
1541
|
+
$[280] = t161;
|
|
1542
|
+
$[281] = t162;
|
|
1543
|
+
$[282] = t163;
|
|
1558
1544
|
} else {
|
|
1559
|
-
|
|
1545
|
+
t163 = $[282];
|
|
1560
1546
|
}
|
|
1561
|
-
let
|
|
1562
|
-
let
|
|
1563
|
-
if ($[
|
|
1564
|
-
|
|
1547
|
+
let t164;
|
|
1548
|
+
let t165;
|
|
1549
|
+
if ($[283] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1550
|
+
t164 = /*#__PURE__*/jsx(FormattedMessage, {
|
|
1565
1551
|
id: "N7Kj8z",
|
|
1566
1552
|
defaultMessage: "Button"
|
|
1567
1553
|
});
|
|
1568
|
-
|
|
1569
|
-
$[
|
|
1570
|
-
$[
|
|
1554
|
+
t165 = classNames([styles.empty, styles.emptyCTA]);
|
|
1555
|
+
$[283] = t164;
|
|
1556
|
+
$[284] = t165;
|
|
1571
1557
|
} else {
|
|
1572
|
-
|
|
1573
|
-
|
|
1558
|
+
t164 = $[283];
|
|
1559
|
+
t165 = $[284];
|
|
1574
1560
|
}
|
|
1575
|
-
const
|
|
1576
|
-
let
|
|
1577
|
-
if ($[
|
|
1578
|
-
|
|
1561
|
+
const t166 = popupButton === null;
|
|
1562
|
+
let t167;
|
|
1563
|
+
if ($[285] !== buttonLabel || $[286] !== buttonUrl || $[287] !== onClickCta || $[288] !== openWebView || $[289] !== popupButton || $[290] !== popupButtonBoxStyle || $[291] !== popupButtonsBoxStyle || $[292] !== popupButtonsTextStyle || $[293] !== popupInWebView) {
|
|
1564
|
+
t167 = popupButton !== null ? /*#__PURE__*/jsx(CallToAction, {
|
|
1579
1565
|
className: styles.popupCTA,
|
|
1580
1566
|
label: {
|
|
1581
1567
|
...popupButtonsTextStyle,
|
|
@@ -1591,131 +1577,131 @@ function KeypadScreen(t0) {
|
|
|
1591
1577
|
...popupButtonBoxStyle
|
|
1592
1578
|
}
|
|
1593
1579
|
}) : null;
|
|
1594
|
-
$[
|
|
1595
|
-
$[
|
|
1596
|
-
$[
|
|
1597
|
-
$[
|
|
1598
|
-
$[
|
|
1599
|
-
$[
|
|
1600
|
-
$[
|
|
1601
|
-
$[
|
|
1602
|
-
$[
|
|
1603
|
-
$[
|
|
1604
|
-
} else {
|
|
1605
|
-
|
|
1606
|
-
}
|
|
1607
|
-
let
|
|
1608
|
-
if ($[
|
|
1609
|
-
|
|
1580
|
+
$[285] = buttonLabel;
|
|
1581
|
+
$[286] = buttonUrl;
|
|
1582
|
+
$[287] = onClickCta;
|
|
1583
|
+
$[288] = openWebView;
|
|
1584
|
+
$[289] = popupButton;
|
|
1585
|
+
$[290] = popupButtonBoxStyle;
|
|
1586
|
+
$[291] = popupButtonsBoxStyle;
|
|
1587
|
+
$[292] = popupButtonsTextStyle;
|
|
1588
|
+
$[293] = popupInWebView;
|
|
1589
|
+
$[294] = t167;
|
|
1590
|
+
} else {
|
|
1591
|
+
t167 = $[294];
|
|
1592
|
+
}
|
|
1593
|
+
let t168;
|
|
1594
|
+
if ($[295] !== t166 || $[296] !== t167) {
|
|
1595
|
+
t168 = /*#__PURE__*/jsx(ScreenElement, {
|
|
1610
1596
|
placeholder: "button",
|
|
1611
|
-
emptyLabel:
|
|
1612
|
-
emptyClassName:
|
|
1613
|
-
isEmpty:
|
|
1614
|
-
children:
|
|
1597
|
+
emptyLabel: t164,
|
|
1598
|
+
emptyClassName: t165,
|
|
1599
|
+
isEmpty: t166,
|
|
1600
|
+
children: t167
|
|
1615
1601
|
});
|
|
1616
|
-
$[
|
|
1617
|
-
$[
|
|
1618
|
-
$[
|
|
1602
|
+
$[295] = t166;
|
|
1603
|
+
$[296] = t167;
|
|
1604
|
+
$[297] = t168;
|
|
1619
1605
|
} else {
|
|
1620
|
-
|
|
1606
|
+
t168 = $[297];
|
|
1621
1607
|
}
|
|
1622
|
-
let
|
|
1623
|
-
if ($[
|
|
1624
|
-
|
|
1608
|
+
let t169;
|
|
1609
|
+
if ($[298] !== t139 || $[299] !== t143 || $[300] !== t148 || $[301] !== t153 || $[302] !== t158 || $[303] !== t163 || $[304] !== t168) {
|
|
1610
|
+
t169 = /*#__PURE__*/jsxs("div", {
|
|
1625
1611
|
ref: popupInnerRef,
|
|
1626
|
-
className:
|
|
1627
|
-
style:
|
|
1628
|
-
children: [
|
|
1612
|
+
className: t139,
|
|
1613
|
+
style: t143,
|
|
1614
|
+
children: [t148, t153, t158, t163, t168]
|
|
1629
1615
|
});
|
|
1630
|
-
$[
|
|
1631
|
-
$[
|
|
1632
|
-
$[
|
|
1633
|
-
$[
|
|
1634
|
-
$[
|
|
1635
|
-
$[
|
|
1636
|
-
$[
|
|
1637
|
-
$[
|
|
1616
|
+
$[298] = t139;
|
|
1617
|
+
$[299] = t143;
|
|
1618
|
+
$[300] = t148;
|
|
1619
|
+
$[301] = t153;
|
|
1620
|
+
$[302] = t158;
|
|
1621
|
+
$[303] = t163;
|
|
1622
|
+
$[304] = t168;
|
|
1623
|
+
$[305] = t169;
|
|
1638
1624
|
} else {
|
|
1639
|
-
|
|
1625
|
+
t169 = $[305];
|
|
1640
1626
|
}
|
|
1641
|
-
let
|
|
1642
|
-
if ($[
|
|
1643
|
-
|
|
1644
|
-
disabled:
|
|
1627
|
+
let t170;
|
|
1628
|
+
if ($[306] !== onPopupScrollBottom || $[307] !== onPopupScrollHeightChange || $[308] !== onPopupScrollNotBottom || $[309] !== t135 || $[310] !== t136 || $[311] !== t169) {
|
|
1629
|
+
t170 = /*#__PURE__*/jsx(Scroll, {
|
|
1630
|
+
disabled: t135,
|
|
1645
1631
|
verticalAlign: "middle",
|
|
1646
1632
|
withArrow: false,
|
|
1647
|
-
scrollPosition:
|
|
1633
|
+
scrollPosition: t136,
|
|
1648
1634
|
onScrolledBottom: onPopupScrollBottom,
|
|
1649
1635
|
onScrolledNotBottom: onPopupScrollNotBottom,
|
|
1650
1636
|
onScrollHeightChange: onPopupScrollHeightChange,
|
|
1651
1637
|
className: styles.popupScroll,
|
|
1652
1638
|
withShadow: true,
|
|
1653
|
-
children:
|
|
1639
|
+
children: t169
|
|
1654
1640
|
});
|
|
1655
|
-
$[
|
|
1656
|
-
$[
|
|
1657
|
-
$[
|
|
1658
|
-
$[
|
|
1659
|
-
$[
|
|
1660
|
-
$[
|
|
1661
|
-
$[
|
|
1641
|
+
$[306] = onPopupScrollBottom;
|
|
1642
|
+
$[307] = onPopupScrollHeightChange;
|
|
1643
|
+
$[308] = onPopupScrollNotBottom;
|
|
1644
|
+
$[309] = t135;
|
|
1645
|
+
$[310] = t136;
|
|
1646
|
+
$[311] = t169;
|
|
1647
|
+
$[312] = t170;
|
|
1662
1648
|
} else {
|
|
1663
|
-
|
|
1649
|
+
t170 = $[312];
|
|
1664
1650
|
}
|
|
1665
|
-
let
|
|
1666
|
-
if ($[
|
|
1667
|
-
|
|
1651
|
+
let t171;
|
|
1652
|
+
if ($[313] !== t133 || $[314] !== t134 || $[315] !== t170) {
|
|
1653
|
+
t171 = /*#__PURE__*/jsx(animated.div, {
|
|
1668
1654
|
className: styles.popup,
|
|
1669
|
-
style:
|
|
1670
|
-
...
|
|
1671
|
-
children:
|
|
1655
|
+
style: t133,
|
|
1656
|
+
...t134,
|
|
1657
|
+
children: t170
|
|
1672
1658
|
});
|
|
1673
|
-
$[
|
|
1674
|
-
$[
|
|
1675
|
-
$[
|
|
1676
|
-
$[
|
|
1659
|
+
$[313] = t133;
|
|
1660
|
+
$[314] = t134;
|
|
1661
|
+
$[315] = t170;
|
|
1662
|
+
$[316] = t171;
|
|
1677
1663
|
} else {
|
|
1678
|
-
|
|
1664
|
+
t171 = $[316];
|
|
1679
1665
|
}
|
|
1680
|
-
let
|
|
1681
|
-
if ($[
|
|
1682
|
-
|
|
1683
|
-
children: [
|
|
1666
|
+
let t172;
|
|
1667
|
+
if ($[317] !== t130 || $[318] !== t171) {
|
|
1668
|
+
t172 = /*#__PURE__*/jsxs(Fragment, {
|
|
1669
|
+
children: [t130, t171]
|
|
1684
1670
|
});
|
|
1685
|
-
$[
|
|
1686
|
-
$[
|
|
1687
|
-
$[
|
|
1671
|
+
$[317] = t130;
|
|
1672
|
+
$[318] = t171;
|
|
1673
|
+
$[319] = t172;
|
|
1688
1674
|
} else {
|
|
1689
|
-
|
|
1675
|
+
t172 = $[319];
|
|
1690
1676
|
}
|
|
1691
|
-
let
|
|
1692
|
-
if ($[
|
|
1693
|
-
|
|
1677
|
+
let t173;
|
|
1678
|
+
if ($[320] !== height || $[321] !== layout || $[322] !== onScrolledTrigger || $[323] !== t108 || $[324] !== t109 || $[325] !== t110 || $[326] !== t127 || $[327] !== t172 || $[328] !== width) {
|
|
1679
|
+
t173 = /*#__PURE__*/jsxs(Scroll, {
|
|
1694
1680
|
width: width,
|
|
1695
1681
|
height: height,
|
|
1696
1682
|
verticalAlign: layout,
|
|
1697
|
-
withArrow:
|
|
1698
|
-
withShadow:
|
|
1699
|
-
disabled:
|
|
1683
|
+
withArrow: t108,
|
|
1684
|
+
withShadow: t109,
|
|
1685
|
+
disabled: t110,
|
|
1700
1686
|
onScrolledTrigger: onScrolledTrigger,
|
|
1701
|
-
children: [
|
|
1687
|
+
children: [t127, t172]
|
|
1702
1688
|
});
|
|
1703
|
-
$[
|
|
1704
|
-
$[
|
|
1705
|
-
$[
|
|
1706
|
-
$[
|
|
1707
|
-
$[
|
|
1708
|
-
$[
|
|
1709
|
-
$[
|
|
1710
|
-
$[
|
|
1711
|
-
$[
|
|
1712
|
-
$[
|
|
1713
|
-
} else {
|
|
1714
|
-
|
|
1689
|
+
$[320] = height;
|
|
1690
|
+
$[321] = layout;
|
|
1691
|
+
$[322] = onScrolledTrigger;
|
|
1692
|
+
$[323] = t108;
|
|
1693
|
+
$[324] = t109;
|
|
1694
|
+
$[325] = t110;
|
|
1695
|
+
$[326] = t127;
|
|
1696
|
+
$[327] = t172;
|
|
1697
|
+
$[328] = width;
|
|
1698
|
+
$[329] = t173;
|
|
1699
|
+
} else {
|
|
1700
|
+
t173 = $[329];
|
|
1715
1701
|
}
|
|
1716
|
-
let
|
|
1717
|
-
if ($[
|
|
1718
|
-
|
|
1702
|
+
let t174;
|
|
1703
|
+
if ($[330] !== current || $[331] !== footerProps || $[332] !== footerRef || $[333] !== hasFooter || $[334] !== isPlaceholder || $[335] !== isPreview || $[336] !== spacing || $[337] !== viewerBottomHeight || $[338] !== viewerBottomSidesWidth) {
|
|
1704
|
+
t174 = !isPlaceholder && hasFooter ? /*#__PURE__*/jsx("div", {
|
|
1719
1705
|
ref: footerRef,
|
|
1720
1706
|
className: styles.footer,
|
|
1721
1707
|
style: {
|
|
@@ -1729,52 +1715,52 @@ function KeypadScreen(t0) {
|
|
|
1729
1715
|
...footerProps
|
|
1730
1716
|
})
|
|
1731
1717
|
}) : null;
|
|
1732
|
-
$[
|
|
1733
|
-
$[
|
|
1734
|
-
$[
|
|
1735
|
-
$[
|
|
1736
|
-
$[
|
|
1737
|
-
$[
|
|
1738
|
-
$[
|
|
1739
|
-
$[
|
|
1740
|
-
$[
|
|
1741
|
-
$[
|
|
1742
|
-
} else {
|
|
1743
|
-
|
|
1744
|
-
}
|
|
1745
|
-
let
|
|
1746
|
-
if ($[
|
|
1747
|
-
|
|
1718
|
+
$[330] = current;
|
|
1719
|
+
$[331] = footerProps;
|
|
1720
|
+
$[332] = footerRef;
|
|
1721
|
+
$[333] = hasFooter;
|
|
1722
|
+
$[334] = isPlaceholder;
|
|
1723
|
+
$[335] = isPreview;
|
|
1724
|
+
$[336] = spacing;
|
|
1725
|
+
$[337] = viewerBottomHeight;
|
|
1726
|
+
$[338] = viewerBottomSidesWidth;
|
|
1727
|
+
$[339] = t174;
|
|
1728
|
+
} else {
|
|
1729
|
+
t174 = $[339];
|
|
1730
|
+
}
|
|
1731
|
+
let t175;
|
|
1732
|
+
if ($[340] !== height || $[341] !== t173 || $[342] !== t174 || $[343] !== width) {
|
|
1733
|
+
t175 = /*#__PURE__*/jsxs(Container, {
|
|
1748
1734
|
width: width,
|
|
1749
1735
|
height: height,
|
|
1750
1736
|
className: styles.inner,
|
|
1751
|
-
children: [
|
|
1737
|
+
children: [t173, t174]
|
|
1752
1738
|
});
|
|
1753
|
-
$[
|
|
1754
|
-
$[
|
|
1755
|
-
$[
|
|
1756
|
-
$[
|
|
1757
|
-
$[
|
|
1739
|
+
$[340] = height;
|
|
1740
|
+
$[341] = t173;
|
|
1741
|
+
$[342] = t174;
|
|
1742
|
+
$[343] = width;
|
|
1743
|
+
$[344] = t175;
|
|
1758
1744
|
} else {
|
|
1759
|
-
|
|
1745
|
+
t175 = $[344];
|
|
1760
1746
|
}
|
|
1761
|
-
let
|
|
1762
|
-
if ($[
|
|
1763
|
-
|
|
1747
|
+
let t176;
|
|
1748
|
+
if ($[345] !== t105 || $[346] !== t106 || $[347] !== t107 || $[348] !== t175) {
|
|
1749
|
+
t176 = /*#__PURE__*/jsxs("div", {
|
|
1764
1750
|
ref: containerRef,
|
|
1765
|
-
className:
|
|
1751
|
+
className: t105,
|
|
1766
1752
|
"data-screen-ready": true,
|
|
1767
|
-
children: [
|
|
1753
|
+
children: [t106, t107, t175]
|
|
1768
1754
|
});
|
|
1769
|
-
$[
|
|
1770
|
-
$[
|
|
1771
|
-
$[
|
|
1772
|
-
$[
|
|
1773
|
-
$[
|
|
1755
|
+
$[345] = t105;
|
|
1756
|
+
$[346] = t106;
|
|
1757
|
+
$[347] = t107;
|
|
1758
|
+
$[348] = t175;
|
|
1759
|
+
$[349] = t176;
|
|
1774
1760
|
} else {
|
|
1775
|
-
|
|
1761
|
+
t176 = $[349];
|
|
1776
1762
|
}
|
|
1777
|
-
return
|
|
1763
|
+
return t176;
|
|
1778
1764
|
}
|
|
1779
1765
|
function _temp7(p_1) {
|
|
1780
1766
|
return Math.abs(p_1) > 0.5 ? "none" : "auto";
|