@micromag/viewer 0.4.101 → 0.4.110
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/assets/css/styles.css +7 -7
- package/es/index.d.ts +2 -1
- package/es/index.js +420 -420
- package/es/styles.css +7 -7
- package/package.json +11 -11
package/es/index.js
CHANGED
|
@@ -2158,7 +2158,7 @@ function ViewerMenuScreen(t0) {
|
|
|
2158
2158
|
screenWidth: screenWidth,
|
|
2159
2159
|
screenHeight: screenHeight,
|
|
2160
2160
|
screen: screen,
|
|
2161
|
-
focusable:
|
|
2161
|
+
focusable: false,
|
|
2162
2162
|
active: focusable,
|
|
2163
2163
|
withSize: true
|
|
2164
2164
|
}) : null;
|
|
@@ -2872,7 +2872,7 @@ function _temp$3(item) {
|
|
|
2872
2872
|
return current;
|
|
2873
2873
|
}
|
|
2874
2874
|
|
|
2875
|
-
var styles$7 = {"container":"micromag-viewer-container","landscape":"micromag-viewer-landscape","screensFrame":"micromag-viewer-screensFrame","hideMenu":"micromag-viewer-hideMenu","menuNavContainer":"micromag-viewer-menuNavContainer","menuTopContainer":"micromag-viewer-menuTopContainer","dots":"micromag-viewer-dots","disableMenu":"micromag-viewer-disableMenu","content":"micromag-viewer-content","withoutGestures":"micromag-viewer-withoutGestures","ariaAnnouncement":"micromag-viewer-ariaAnnouncement","accessibilityLinks":"micromag-viewer-accessibilityLinks","accessibilityButton":"micromag-viewer-accessibilityButton","disabled":"micromag-viewer-disabled","tooltip":"micromag-viewer-tooltip","fadeMenu":"micromag-viewer-fadeMenu","withShadow":"micromag-viewer-withShadow","isOpened":"micromag-viewer-isOpened","menuItem":"micromag-viewer-menuItem","menuButton":"micromag-viewer-menuButton","slidingButton":"micromag-viewer-slidingButton","screensMenuButtonToggled":"micromag-viewer-screensMenuButtonToggled","menuContainer":"micromag-viewer-menuContainer","menuShare":"micromag-viewer-menuShare","menuPreview":"micromag-viewer-menuPreview","navButton":"micromag-viewer-navButton","previous":"micromag-viewer-previous","next":"micromag-viewer-next","screenContainer":"micromag-viewer-screenContainer","screen":"micromag-viewer-screen","preload":"micromag-viewer-preload","visible":"micromag-viewer-visible","current":"micromag-viewer-current","playbackControls":"micromag-viewer-playbackControls","navigationHint":"micromag-viewer-navigationHint","webView":"micromag-viewer-webView","shareIncentiveContainer":"micromag-viewer-shareIncentiveContainer","shareIncentive":"micromag-viewer-shareIncentive","shareIncentiveVisible":"micromag-viewer-shareIncentiveVisible"};
|
|
2875
|
+
var styles$7 = {"container":"micromag-viewer-container","landscape":"micromag-viewer-landscape","screensFrame":"micromag-viewer-screensFrame","hideMenu":"micromag-viewer-hideMenu","menuNavContainer":"micromag-viewer-menuNavContainer","menuTopContainer":"micromag-viewer-menuTopContainer","dots":"micromag-viewer-dots","disableMenu":"micromag-viewer-disableMenu","content":"micromag-viewer-content","withoutGestures":"micromag-viewer-withoutGestures","ariaAnnouncement":"micromag-viewer-ariaAnnouncement","accessibilityLinks":"micromag-viewer-accessibilityLinks","accessibilityLink":"micromag-viewer-accessibilityLink","accessibilityButton":"micromag-viewer-accessibilityButton","disabled":"micromag-viewer-disabled","tooltip":"micromag-viewer-tooltip","fadeMenu":"micromag-viewer-fadeMenu","withShadow":"micromag-viewer-withShadow","isOpened":"micromag-viewer-isOpened","menuItem":"micromag-viewer-menuItem","menuButton":"micromag-viewer-menuButton","slidingButton":"micromag-viewer-slidingButton","screensMenuButtonToggled":"micromag-viewer-screensMenuButtonToggled","menuContainer":"micromag-viewer-menuContainer","menuShare":"micromag-viewer-menuShare","menuPreview":"micromag-viewer-menuPreview","navButton":"micromag-viewer-navButton","previous":"micromag-viewer-previous","next":"micromag-viewer-next","screenContainer":"micromag-viewer-screenContainer","screen":"micromag-viewer-screen","preload":"micromag-viewer-preload","visible":"micromag-viewer-visible","current":"micromag-viewer-current","playbackControls":"micromag-viewer-playbackControls","navigationHint":"micromag-viewer-navigationHint","webView":"micromag-viewer-webView","shareIncentiveContainer":"micromag-viewer-shareIncentiveContainer","shareIncentive":"micromag-viewer-shareIncentive","shareIncentiveVisible":"micromag-viewer-shareIncentiveVisible"};
|
|
2876
2876
|
|
|
2877
2877
|
const defaultMenuItems$1 = ['share', 'main'];
|
|
2878
2878
|
function ViewerMenu(t0) {
|
|
@@ -5246,7 +5246,7 @@ function updateMediaPlaying(currentMedia, lastMedia, playing) {
|
|
|
5246
5246
|
const defaultMenuItems = ['share', 'main'];
|
|
5247
5247
|
const defaultDeviceScreens = getDeviceScreens();
|
|
5248
5248
|
function Viewer(t0) {
|
|
5249
|
-
const $ = c(
|
|
5249
|
+
const $ = c(125);
|
|
5250
5250
|
const {
|
|
5251
5251
|
story: t1,
|
|
5252
5252
|
basePath: t2,
|
|
@@ -5287,24 +5287,25 @@ function Viewer(t0) {
|
|
|
5287
5287
|
withoutMenu: t37,
|
|
5288
5288
|
withoutScreensMenu: t38,
|
|
5289
5289
|
withoutShareMenu: t39,
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5290
|
+
withoutSkipLinks: t40,
|
|
5291
|
+
withoutMenuShadow: t41,
|
|
5292
|
+
withoutNavigationArrow: t42,
|
|
5293
|
+
withoutTransitions: t43,
|
|
5294
|
+
withNeighborScreens: t44,
|
|
5295
|
+
withFullscreenWebView: t45,
|
|
5296
|
+
withNavigationHint: t46,
|
|
5297
|
+
withoutPlaybackControls: t47,
|
|
5298
|
+
withoutAutoUnmute: t48,
|
|
5299
|
+
onClose: t49,
|
|
5300
|
+
onInteraction: t50,
|
|
5301
|
+
onEnd: t51,
|
|
5302
|
+
onScreenChange: t52,
|
|
5303
|
+
onViewModeChange: t53,
|
|
5304
|
+
onMenuChange: t54,
|
|
5305
|
+
currentScreenMedia: t55,
|
|
5306
|
+
screensMedias: t56,
|
|
5307
|
+
screenSizeOptions: t57,
|
|
5308
|
+
className: t58
|
|
5308
5309
|
} = t0;
|
|
5309
5310
|
const story = t1 === undefined ? null : t1;
|
|
5310
5311
|
const basePath = t2 === undefined ? null : t2;
|
|
@@ -5345,49 +5346,50 @@ function Viewer(t0) {
|
|
|
5345
5346
|
const withoutMenu = t37 === undefined ? false : t37;
|
|
5346
5347
|
const withoutScreensMenu = t38 === undefined ? false : t38;
|
|
5347
5348
|
const withoutShareMenu = t39 === undefined ? false : t39;
|
|
5348
|
-
const
|
|
5349
|
-
const
|
|
5350
|
-
const
|
|
5351
|
-
const
|
|
5352
|
-
const
|
|
5353
|
-
const
|
|
5354
|
-
const
|
|
5355
|
-
const
|
|
5356
|
-
const
|
|
5357
|
-
const
|
|
5358
|
-
const
|
|
5359
|
-
const
|
|
5360
|
-
const
|
|
5361
|
-
const
|
|
5362
|
-
const
|
|
5363
|
-
const
|
|
5364
|
-
const
|
|
5365
|
-
const
|
|
5349
|
+
const withoutSkipLinks = t40 === undefined ? false : t40;
|
|
5350
|
+
const withoutMenuShadow = t41 === undefined ? false : t41;
|
|
5351
|
+
const withoutNavigationArrow = t42 === undefined ? false : t42;
|
|
5352
|
+
const withoutTransitions = t43 === undefined ? false : t43;
|
|
5353
|
+
const withNeighborScreens = t44 === undefined ? false : t44;
|
|
5354
|
+
const withFullscreenWebView = t45 === undefined ? false : t45;
|
|
5355
|
+
const withNavigationHint = t46 === undefined ? "hand" : t46;
|
|
5356
|
+
const withoutPlaybackControls = t47 === undefined ? false : t47;
|
|
5357
|
+
const withoutAutoUnmute = t48 === undefined ? false : t48;
|
|
5358
|
+
const onCloseViewer = t49 === undefined ? null : t49;
|
|
5359
|
+
const onInteraction = t50 === undefined ? null : t50;
|
|
5360
|
+
const onEnd = t51 === undefined ? null : t51;
|
|
5361
|
+
const onScreenChange = t52 === undefined ? null : t52;
|
|
5362
|
+
const onViewModeChange = t53 === undefined ? null : t53;
|
|
5363
|
+
const onMenuChange = t54 === undefined ? null : t54;
|
|
5364
|
+
const currentScreenMedia = t55 === undefined ? null : t55;
|
|
5365
|
+
const screensMedias = t56 === undefined ? null : t56;
|
|
5366
|
+
const screenSizeOptions = t57 === undefined ? null : t57;
|
|
5367
|
+
const className = t58 === undefined ? null : t58;
|
|
5366
5368
|
const intl = useIntl();
|
|
5367
5369
|
const parsedStory = useParsedStory(story, {
|
|
5368
5370
|
disabled: storyIsParsed
|
|
5369
5371
|
}) || {};
|
|
5370
5372
|
const {
|
|
5371
|
-
components:
|
|
5372
|
-
title:
|
|
5373
|
-
metadata:
|
|
5374
|
-
fonts:
|
|
5373
|
+
components: t59,
|
|
5374
|
+
title: t60,
|
|
5375
|
+
metadata: t61,
|
|
5376
|
+
fonts: t62
|
|
5375
5377
|
} = parsedStory;
|
|
5376
|
-
const screens =
|
|
5377
|
-
const title =
|
|
5378
|
-
const metadata =
|
|
5379
|
-
const fonts =
|
|
5378
|
+
const screens = t59 === undefined ? [] : t59;
|
|
5379
|
+
const title = t60 === undefined ? null : t60;
|
|
5380
|
+
const metadata = t61 === undefined ? null : t61;
|
|
5381
|
+
const fonts = t62 === undefined ? null : t62;
|
|
5380
5382
|
const screensCount = screens.length;
|
|
5381
5383
|
const [eventsManager] = useState(_temp$1);
|
|
5382
|
-
let
|
|
5384
|
+
let t63;
|
|
5383
5385
|
if ($[0] !== screenId) {
|
|
5384
|
-
|
|
5386
|
+
t63 = it => `${it.id}` === `${screenId}`;
|
|
5385
5387
|
$[0] = screenId;
|
|
5386
|
-
$[1] =
|
|
5388
|
+
$[1] = t63;
|
|
5387
5389
|
} else {
|
|
5388
|
-
|
|
5390
|
+
t63 = $[1];
|
|
5389
5391
|
}
|
|
5390
|
-
const screenIndex = Math.max(0, screens.findIndex(
|
|
5392
|
+
const screenIndex = Math.max(0, screens.findIndex(t63));
|
|
5391
5393
|
const currentScreen = screens[screenIndex] || null;
|
|
5392
5394
|
const {
|
|
5393
5395
|
parameters: screenParameters
|
|
@@ -5396,64 +5398,64 @@ function Viewer(t0) {
|
|
|
5396
5398
|
metadata: screenMetadata
|
|
5397
5399
|
} = screenParameters || {};
|
|
5398
5400
|
const {
|
|
5399
|
-
title:
|
|
5400
|
-
description:
|
|
5401
|
+
title: t64,
|
|
5402
|
+
description: t65
|
|
5401
5403
|
} = screenMetadata || {};
|
|
5402
|
-
const screenTitle =
|
|
5403
|
-
const screenDescription =
|
|
5404
|
+
const screenTitle = t64 === undefined ? null : t64;
|
|
5405
|
+
const screenDescription = t65 === undefined ? null : t65;
|
|
5404
5406
|
const finalTitle = screenTitle !== null ? screenTitle : title;
|
|
5405
5407
|
const finalMetadata = screenDescription !== null ? {
|
|
5406
5408
|
...metadata,
|
|
5407
5409
|
description: screenDescription
|
|
5408
5410
|
} : metadata;
|
|
5409
|
-
let
|
|
5411
|
+
let t66;
|
|
5410
5412
|
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5411
|
-
|
|
5412
|
-
$[2] =
|
|
5413
|
+
t66 = [];
|
|
5414
|
+
$[2] = t66;
|
|
5413
5415
|
} else {
|
|
5414
|
-
|
|
5416
|
+
t66 = $[2];
|
|
5415
5417
|
}
|
|
5416
|
-
const screensMediasRef = useRef(
|
|
5417
|
-
let t66;
|
|
5418
|
+
const screensMediasRef = useRef(t66);
|
|
5418
5419
|
let t67;
|
|
5420
|
+
let t68;
|
|
5419
5421
|
if ($[3] !== screenIndex) {
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
+
t67 = () => screensMediasRef.current[screenIndex] || null;
|
|
5423
|
+
t68 = [screenIndex];
|
|
5422
5424
|
$[3] = screenIndex;
|
|
5423
|
-
$[4] =
|
|
5424
|
-
$[5] =
|
|
5425
|
+
$[4] = t67;
|
|
5426
|
+
$[5] = t68;
|
|
5425
5427
|
} else {
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
+
t67 = $[4];
|
|
5429
|
+
t68 = $[5];
|
|
5428
5430
|
}
|
|
5429
|
-
useImperativeHandle(currentScreenMedia,
|
|
5430
|
-
let
|
|
5431
|
+
useImperativeHandle(currentScreenMedia, t67, t68);
|
|
5432
|
+
let t69;
|
|
5431
5433
|
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5432
|
-
|
|
5433
|
-
$[6] =
|
|
5434
|
+
t69 = () => screensMediasRef.current;
|
|
5435
|
+
$[6] = t69;
|
|
5434
5436
|
} else {
|
|
5435
|
-
|
|
5437
|
+
t69 = $[6];
|
|
5436
5438
|
}
|
|
5437
|
-
useImperativeHandle(screensMedias,
|
|
5439
|
+
useImperativeHandle(screensMedias, t69, [story, screens, screenIndex]);
|
|
5438
5440
|
const {
|
|
5439
5441
|
textStyles,
|
|
5440
5442
|
colors
|
|
5441
5443
|
} = viewerTheme || {};
|
|
5442
5444
|
const {
|
|
5443
|
-
primary:
|
|
5444
|
-
focus:
|
|
5445
|
+
primary: t70,
|
|
5446
|
+
focus: t71
|
|
5445
5447
|
} = colors || {};
|
|
5446
|
-
const primaryColor =
|
|
5447
|
-
const focusColor =
|
|
5448
|
+
const primaryColor = t70 === undefined ? null : t70;
|
|
5449
|
+
const focusColor = t71 === undefined ? null : t71;
|
|
5448
5450
|
const finalFocusColor = getColorAsString(focusColor || primaryColor);
|
|
5449
5451
|
const {
|
|
5450
|
-
title:
|
|
5452
|
+
title: t72
|
|
5451
5453
|
} = textStyles || {};
|
|
5452
|
-
const themeTextStyle =
|
|
5454
|
+
const themeTextStyle = t72 === undefined ? null : t72;
|
|
5453
5455
|
const {
|
|
5454
|
-
fontFamily:
|
|
5456
|
+
fontFamily: t73
|
|
5455
5457
|
} = themeTextStyle || {};
|
|
5456
|
-
const themeFont =
|
|
5458
|
+
const themeFont = t73 === undefined ? null : t73;
|
|
5457
5459
|
const finalFonts = [...(fonts || []), themeFont].filter(_temp2$1);
|
|
5458
5460
|
useLoadedFonts(finalFonts);
|
|
5459
5461
|
const isView = renderContext === "view";
|
|
@@ -5464,30 +5466,30 @@ function Viewer(t0) {
|
|
|
5464
5466
|
const {
|
|
5465
5467
|
playing,
|
|
5466
5468
|
setPlaying,
|
|
5467
|
-
controls:
|
|
5468
|
-
controlsVisible:
|
|
5469
|
-
media:
|
|
5470
|
-
completed:
|
|
5471
|
-
isBackground:
|
|
5472
|
-
setMuted:
|
|
5469
|
+
controls: t74,
|
|
5470
|
+
controlsVisible: t75,
|
|
5471
|
+
media: t76,
|
|
5472
|
+
completed: t77,
|
|
5473
|
+
isBackground: t78,
|
|
5474
|
+
setMuted: t79
|
|
5473
5475
|
} = usePlaybackContext();
|
|
5474
|
-
const playbackControls =
|
|
5475
|
-
const playbackControlsVisible =
|
|
5476
|
-
const playbackMedia =
|
|
5477
|
-
const mediaCompleted =
|
|
5478
|
-
const isBackgroundVideo =
|
|
5479
|
-
const setMuted =
|
|
5476
|
+
const playbackControls = t74 === undefined ? false : t74;
|
|
5477
|
+
const playbackControlsVisible = t75 === undefined ? false : t75;
|
|
5478
|
+
const playbackMedia = t76 === undefined ? null : t76;
|
|
5479
|
+
const mediaCompleted = t77 === undefined ? false : t77;
|
|
5480
|
+
const isBackgroundVideo = t78 === undefined ? false : t78;
|
|
5481
|
+
const setMuted = t79 === undefined ? null : t79;
|
|
5480
5482
|
const playbackHelpVisible = playbackControls && playbackControlsVisible;
|
|
5481
5483
|
const {
|
|
5482
5484
|
ref: playbackControlsContainerRef,
|
|
5483
|
-
height:
|
|
5485
|
+
height: t80
|
|
5484
5486
|
} = useDimensionObserver();
|
|
5485
|
-
const playbackControlsContainerHeight =
|
|
5487
|
+
const playbackControlsContainerHeight = t80 === undefined ? 0 : t80;
|
|
5486
5488
|
const trackScreenView = useTrackScreenView();
|
|
5487
5489
|
const containerRef = useRef(null);
|
|
5488
|
-
let
|
|
5490
|
+
let t81;
|
|
5489
5491
|
if ($[7] !== deviceScreens || $[8] !== height || $[9] !== screenSizeOptions || $[10] !== width) {
|
|
5490
|
-
|
|
5492
|
+
t81 = {
|
|
5491
5493
|
width,
|
|
5492
5494
|
height,
|
|
5493
5495
|
screens: deviceScreens,
|
|
@@ -5497,9 +5499,9 @@ function Viewer(t0) {
|
|
|
5497
5499
|
$[8] = height;
|
|
5498
5500
|
$[9] = screenSizeOptions;
|
|
5499
5501
|
$[10] = width;
|
|
5500
|
-
$[11] =
|
|
5502
|
+
$[11] = t81;
|
|
5501
5503
|
} else {
|
|
5502
|
-
|
|
5504
|
+
t81 = $[11];
|
|
5503
5505
|
}
|
|
5504
5506
|
const {
|
|
5505
5507
|
ref: screenSizeRef,
|
|
@@ -5507,17 +5509,17 @@ function Viewer(t0) {
|
|
|
5507
5509
|
fullHeight: viewerHeight,
|
|
5508
5510
|
screenSize,
|
|
5509
5511
|
scale: screenScale
|
|
5510
|
-
} = useScreenSizeFromElement(
|
|
5512
|
+
} = useScreenSizeFromElement(t81);
|
|
5511
5513
|
const {
|
|
5512
|
-
width:
|
|
5513
|
-
height:
|
|
5514
|
-
landscape:
|
|
5515
|
-
menuOverScreen:
|
|
5514
|
+
width: t82,
|
|
5515
|
+
height: t83,
|
|
5516
|
+
landscape: t84,
|
|
5517
|
+
menuOverScreen: t85
|
|
5516
5518
|
} = screenSize || {};
|
|
5517
|
-
const screenWidth =
|
|
5518
|
-
const screenHeight =
|
|
5519
|
-
const landscape =
|
|
5520
|
-
const menuOverScreen =
|
|
5519
|
+
const screenWidth = t82 === undefined ? null : t82;
|
|
5520
|
+
const screenHeight = t83 === undefined ? null : t83;
|
|
5521
|
+
const landscape = t84 === undefined ? false : t84;
|
|
5522
|
+
const menuOverScreen = t85 === undefined ? false : t85;
|
|
5521
5523
|
const screenContainerWidth = screenScale !== null && screenWidth !== null ? screenWidth * screenScale : screenWidth;
|
|
5522
5524
|
const screenContainerHeight = screenScale !== null && screenHeight !== null ? screenHeight * screenScale : screenHeight;
|
|
5523
5525
|
const hasSize = screenWidth > 0 && screenHeight > 0;
|
|
@@ -5560,13 +5562,13 @@ function Viewer(t0) {
|
|
|
5560
5562
|
onScreenChange(screens[index], index);
|
|
5561
5563
|
}
|
|
5562
5564
|
};
|
|
5563
|
-
const onScreenNavigate =
|
|
5565
|
+
const onScreenNavigate = t86 => {
|
|
5564
5566
|
const {
|
|
5565
5567
|
index: index_0,
|
|
5566
5568
|
newIndex,
|
|
5567
5569
|
end,
|
|
5568
5570
|
direction
|
|
5569
|
-
} =
|
|
5571
|
+
} = t86;
|
|
5570
5572
|
if (end && onEnd !== null) {
|
|
5571
5573
|
onEnd();
|
|
5572
5574
|
}
|
|
@@ -5591,13 +5593,13 @@ function Viewer(t0) {
|
|
|
5591
5593
|
};
|
|
5592
5594
|
const [hasInteracted, setHasInteracted] = useState(false);
|
|
5593
5595
|
const [wasUnmuted, setWasUnmuted] = useState(false);
|
|
5594
|
-
let
|
|
5596
|
+
let t87;
|
|
5595
5597
|
if ($[12] !== hasInteracted || $[13] !== onInteraction || $[14] !== setMuted || $[15] !== wasUnmuted || $[16] !== withoutAutoUnmute) {
|
|
5596
|
-
|
|
5598
|
+
t87 = t88 => {
|
|
5597
5599
|
const {
|
|
5598
|
-
target:
|
|
5599
|
-
} =
|
|
5600
|
-
const target =
|
|
5600
|
+
target: t89
|
|
5601
|
+
} = t88 === undefined ? {} : t88;
|
|
5602
|
+
const target = t89 === undefined ? null : t89;
|
|
5601
5603
|
if (onInteraction !== null) {
|
|
5602
5604
|
onInteraction();
|
|
5603
5605
|
}
|
|
@@ -5614,11 +5616,11 @@ function Viewer(t0) {
|
|
|
5614
5616
|
$[14] = setMuted;
|
|
5615
5617
|
$[15] = wasUnmuted;
|
|
5616
5618
|
$[16] = withoutAutoUnmute;
|
|
5617
|
-
$[17] =
|
|
5619
|
+
$[17] = t87;
|
|
5618
5620
|
} else {
|
|
5619
|
-
|
|
5621
|
+
t87 = $[17];
|
|
5620
5622
|
}
|
|
5621
|
-
const onInteractionPrivate =
|
|
5623
|
+
const onInteractionPrivate = t87;
|
|
5622
5624
|
const {
|
|
5623
5625
|
interact: interactWithScreen,
|
|
5624
5626
|
currentScreenInteractionEnabled,
|
|
@@ -5644,10 +5646,10 @@ function Viewer(t0) {
|
|
|
5644
5646
|
setPointerDownTime(null);
|
|
5645
5647
|
}
|
|
5646
5648
|
}
|
|
5647
|
-
let t87;
|
|
5648
5649
|
let t88;
|
|
5650
|
+
let t89;
|
|
5649
5651
|
if ($[18] !== longPressPauseDelay || $[19] !== playbackMedia || $[20] !== playing || $[21] !== pointerDownTime || $[22] !== screenIndex || $[23] !== setPlaying) {
|
|
5650
|
-
|
|
5652
|
+
t88 = () => {
|
|
5651
5653
|
const {
|
|
5652
5654
|
tagName: mediaTagName
|
|
5653
5655
|
} = playbackMedia || {};
|
|
@@ -5662,23 +5664,23 @@ function Viewer(t0) {
|
|
|
5662
5664
|
}, longPressPauseDelay);
|
|
5663
5665
|
return () => clearTimeout(interval);
|
|
5664
5666
|
};
|
|
5665
|
-
|
|
5667
|
+
t89 = [playing, pointerDownTime, longPressPauseDelay, playbackMedia, setPlaying, screenIndex];
|
|
5666
5668
|
$[18] = longPressPauseDelay;
|
|
5667
5669
|
$[19] = playbackMedia;
|
|
5668
5670
|
$[20] = playing;
|
|
5669
5671
|
$[21] = pointerDownTime;
|
|
5670
5672
|
$[22] = screenIndex;
|
|
5671
5673
|
$[23] = setPlaying;
|
|
5672
|
-
$[24] =
|
|
5673
|
-
$[25] =
|
|
5674
|
+
$[24] = t88;
|
|
5675
|
+
$[25] = t89;
|
|
5674
5676
|
} else {
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
+
t88 = $[24];
|
|
5678
|
+
t89 = $[25];
|
|
5677
5679
|
}
|
|
5678
|
-
useEffect(
|
|
5679
|
-
let
|
|
5680
|
+
useEffect(t88, t89);
|
|
5681
|
+
let t90;
|
|
5680
5682
|
if ($[26] !== screenIndex) {
|
|
5681
|
-
|
|
5683
|
+
t90 = e => {
|
|
5682
5684
|
if (checkClickable(e.target)) {
|
|
5683
5685
|
return;
|
|
5684
5686
|
}
|
|
@@ -5686,31 +5688,31 @@ function Viewer(t0) {
|
|
|
5686
5688
|
setLongPressScreenIndex(screenIndex);
|
|
5687
5689
|
};
|
|
5688
5690
|
$[26] = screenIndex;
|
|
5689
|
-
$[27] =
|
|
5691
|
+
$[27] = t90;
|
|
5690
5692
|
} else {
|
|
5691
|
-
|
|
5693
|
+
t90 = $[27];
|
|
5692
5694
|
}
|
|
5693
|
-
const onPointerDown =
|
|
5694
|
-
let
|
|
5695
|
+
const onPointerDown = t90;
|
|
5696
|
+
let t91;
|
|
5695
5697
|
if ($[28] !== interactWithScreen || $[29] !== screenIndex || $[30] !== setPlaying || $[31] !== tapMaximumDuration) {
|
|
5696
|
-
|
|
5698
|
+
t91 = t92 => {
|
|
5697
5699
|
const {
|
|
5698
5700
|
currentTarget,
|
|
5699
5701
|
event,
|
|
5700
5702
|
target: target_0,
|
|
5701
|
-
xy:
|
|
5703
|
+
xy: t93,
|
|
5702
5704
|
elapsedTime,
|
|
5703
|
-
args:
|
|
5704
|
-
} =
|
|
5705
|
-
const [x, y] =
|
|
5706
|
-
const [bindState] =
|
|
5705
|
+
args: t94
|
|
5706
|
+
} = t92;
|
|
5707
|
+
const [x, y] = t93;
|
|
5708
|
+
const [bindState] = t94;
|
|
5707
5709
|
setPointerDownTime(null);
|
|
5708
5710
|
const {
|
|
5709
|
-
playing:
|
|
5710
|
-
longPressPaused:
|
|
5711
|
+
playing: t95,
|
|
5712
|
+
longPressPaused: t96
|
|
5711
5713
|
} = bindState || {};
|
|
5712
|
-
const currentPlaying =
|
|
5713
|
-
const currentLongPressPaused =
|
|
5714
|
+
const currentPlaying = t95 === undefined ? false : t95;
|
|
5715
|
+
const currentLongPressPaused = t96 === undefined ? false : t96;
|
|
5714
5716
|
if (!currentPlaying && currentLongPressPaused) {
|
|
5715
5717
|
setPlaying(true);
|
|
5716
5718
|
setLongPressPaused(false);
|
|
@@ -5733,19 +5735,19 @@ function Viewer(t0) {
|
|
|
5733
5735
|
$[29] = screenIndex;
|
|
5734
5736
|
$[30] = setPlaying;
|
|
5735
5737
|
$[31] = tapMaximumDuration;
|
|
5736
|
-
$[32] =
|
|
5738
|
+
$[32] = t91;
|
|
5737
5739
|
} else {
|
|
5738
|
-
|
|
5740
|
+
t91 = $[32];
|
|
5739
5741
|
}
|
|
5740
|
-
const onTap =
|
|
5741
|
-
const computeScreenProgress =
|
|
5742
|
+
const onTap = t91;
|
|
5743
|
+
const computeScreenProgress = t92 => {
|
|
5742
5744
|
const {
|
|
5743
5745
|
active,
|
|
5744
|
-
movement:
|
|
5745
|
-
velocity:
|
|
5746
|
-
} =
|
|
5747
|
-
const [mx] =
|
|
5748
|
-
const [vx] =
|
|
5746
|
+
movement: t93,
|
|
5747
|
+
velocity: t94
|
|
5748
|
+
} = t92;
|
|
5749
|
+
const [mx] = t93;
|
|
5750
|
+
const [vx] = t94;
|
|
5749
5751
|
const p = mx / screenContainerWidth;
|
|
5750
5752
|
const forwards = mx < 0;
|
|
5751
5753
|
const newIndex_0 = !forwards ? screenIndex - 1 : screenIndex + 1;
|
|
@@ -5758,18 +5760,18 @@ function Viewer(t0) {
|
|
|
5758
5760
|
}
|
|
5759
5761
|
return screenIndex - progress;
|
|
5760
5762
|
};
|
|
5761
|
-
const onScreenProgress = (progress_0,
|
|
5763
|
+
const onScreenProgress = (progress_0, t95) => {
|
|
5762
5764
|
const {
|
|
5763
5765
|
active: active_0,
|
|
5764
|
-
args:
|
|
5765
|
-
} =
|
|
5766
|
-
const [bindState_0] =
|
|
5766
|
+
args: t96
|
|
5767
|
+
} = t95;
|
|
5768
|
+
const [bindState_0] = t96;
|
|
5767
5769
|
const {
|
|
5768
|
-
playing:
|
|
5769
|
-
longPressPaused:
|
|
5770
|
+
playing: t97,
|
|
5771
|
+
longPressPaused: t98
|
|
5770
5772
|
} = bindState_0 || {};
|
|
5771
|
-
const currentPlaying_0 =
|
|
5772
|
-
const currentLongPressPaused_0 =
|
|
5773
|
+
const currentPlaying_0 = t97 === undefined ? false : t97;
|
|
5774
|
+
const currentLongPressPaused_0 = t98 === undefined ? false : t98;
|
|
5773
5775
|
if (!active_0 && !currentPlaying_0 && currentLongPressPaused_0) {
|
|
5774
5776
|
setPlaying(true);
|
|
5775
5777
|
setLongPressPaused(false);
|
|
@@ -5812,23 +5814,23 @@ function Viewer(t0) {
|
|
|
5812
5814
|
}
|
|
5813
5815
|
}
|
|
5814
5816
|
});
|
|
5815
|
-
let
|
|
5817
|
+
let t99;
|
|
5816
5818
|
if ($[33] !== dragContentBind || $[34] !== longPressPaused || $[35] !== playing) {
|
|
5817
|
-
|
|
5819
|
+
t99 = dragContentBind({
|
|
5818
5820
|
playing,
|
|
5819
5821
|
longPressPaused
|
|
5820
5822
|
});
|
|
5821
5823
|
$[33] = dragContentBind;
|
|
5822
5824
|
$[34] = longPressPaused;
|
|
5823
5825
|
$[35] = playing;
|
|
5824
|
-
$[36] =
|
|
5826
|
+
$[36] = t99;
|
|
5825
5827
|
} else {
|
|
5826
|
-
|
|
5828
|
+
t99 = $[36];
|
|
5827
5829
|
}
|
|
5828
|
-
const originalDragBindings =
|
|
5829
|
-
let
|
|
5830
|
+
const originalDragBindings = t99;
|
|
5831
|
+
let t100;
|
|
5830
5832
|
if ($[37] !== originalDragBindings) {
|
|
5831
|
-
|
|
5833
|
+
t100 = {
|
|
5832
5834
|
onClickCapture: e_0 => !checkClickable(e_0.target) ? originalDragBindings?.onClickCapture?.(e_0) : null,
|
|
5833
5835
|
onLostPointerCapture: e_1 => !checkClickable(e_1.target) ? originalDragBindings?.onLostPointerCapture?.(e_1) : null,
|
|
5834
5836
|
onPointerCancel: e_2 => !checkClickable(e_2.target) ? originalDragBindings?.onPointerCancel?.(e_2) : null,
|
|
@@ -5838,14 +5840,14 @@ function Viewer(t0) {
|
|
|
5838
5840
|
onScroll: e_6 => !checkClickable(e_6.target) ? originalDragBindings?.onScroll?.(e_6) : null
|
|
5839
5841
|
};
|
|
5840
5842
|
$[37] = originalDragBindings;
|
|
5841
|
-
$[38] =
|
|
5843
|
+
$[38] = t100;
|
|
5842
5844
|
} else {
|
|
5843
|
-
|
|
5845
|
+
t100 = $[38];
|
|
5844
5846
|
}
|
|
5845
|
-
const dragBindings =
|
|
5846
|
-
let
|
|
5847
|
+
const dragBindings = t100;
|
|
5848
|
+
let t101;
|
|
5847
5849
|
if ($[39] !== neighborScreenOffset || $[40] !== neighborScreenScale || $[41] !== neighborScreensActive || $[42] !== screensCount || $[43] !== transitionType) {
|
|
5848
|
-
|
|
5850
|
+
t101 = (index_1, spring) => {
|
|
5849
5851
|
if (transitionType === "stack") {
|
|
5850
5852
|
return {
|
|
5851
5853
|
zIndex: index_1,
|
|
@@ -5901,11 +5903,11 @@ function Viewer(t0) {
|
|
|
5901
5903
|
$[41] = neighborScreensActive;
|
|
5902
5904
|
$[42] = screensCount;
|
|
5903
5905
|
$[43] = transitionType;
|
|
5904
|
-
$[44] =
|
|
5906
|
+
$[44] = t101;
|
|
5905
5907
|
} else {
|
|
5906
|
-
|
|
5908
|
+
t101 = $[44];
|
|
5907
5909
|
}
|
|
5908
|
-
const getScreenStylesByIndex =
|
|
5910
|
+
const getScreenStylesByIndex = t101;
|
|
5909
5911
|
const {
|
|
5910
5912
|
ref: fullscreenRef,
|
|
5911
5913
|
toggle: toggleFullscreen,
|
|
@@ -5914,18 +5916,18 @@ function Viewer(t0) {
|
|
|
5914
5916
|
} = useFullscreen();
|
|
5915
5917
|
const {
|
|
5916
5918
|
ref: menuDotsContainerRef,
|
|
5917
|
-
height:
|
|
5919
|
+
height: t102
|
|
5918
5920
|
} = useDimensionObserver();
|
|
5919
|
-
const menuDotsContainerHeight =
|
|
5920
|
-
const onClickScreen =
|
|
5921
|
+
const menuDotsContainerHeight = t102 === undefined ? 0 : t102;
|
|
5922
|
+
const onClickScreen = t103 => {
|
|
5921
5923
|
const {
|
|
5922
5924
|
screenId: itemScreenId
|
|
5923
|
-
} =
|
|
5925
|
+
} = t103;
|
|
5924
5926
|
onInteractionPrivate();
|
|
5925
|
-
const index_2 = screens.findIndex(
|
|
5927
|
+
const index_2 = screens.findIndex(t104 => {
|
|
5926
5928
|
const {
|
|
5927
5929
|
id
|
|
5928
|
-
} =
|
|
5930
|
+
} = t104;
|
|
5929
5931
|
return id === itemScreenId;
|
|
5930
5932
|
});
|
|
5931
5933
|
changeIndex(index_2);
|
|
@@ -5937,9 +5939,9 @@ function Viewer(t0) {
|
|
|
5937
5939
|
}
|
|
5938
5940
|
return true;
|
|
5939
5941
|
};
|
|
5940
|
-
let
|
|
5942
|
+
let t105;
|
|
5941
5943
|
if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
|
|
5942
|
-
|
|
5944
|
+
t105 = /*#__PURE__*/jsx("style", {
|
|
5943
5945
|
type: "text/css",
|
|
5944
5946
|
href: "data-viewer-overscroll",
|
|
5945
5947
|
precedence: "medium",
|
|
@@ -5947,32 +5949,32 @@ function Viewer(t0) {
|
|
|
5947
5949
|
__html: "body { overscroll-behavior: contain; }"
|
|
5948
5950
|
}
|
|
5949
5951
|
});
|
|
5950
|
-
$[45] =
|
|
5952
|
+
$[45] = t105;
|
|
5951
5953
|
} else {
|
|
5952
|
-
|
|
5954
|
+
t105 = $[45];
|
|
5953
5955
|
}
|
|
5954
|
-
const overscrollStyle =
|
|
5955
|
-
let
|
|
5956
|
+
const overscrollStyle = t105;
|
|
5957
|
+
let t106;
|
|
5956
5958
|
if ($[46] !== toggleFullscreen) {
|
|
5957
|
-
|
|
5959
|
+
t106 = () => toggleFullscreen();
|
|
5958
5960
|
$[46] = toggleFullscreen;
|
|
5959
|
-
$[47] =
|
|
5961
|
+
$[47] = t106;
|
|
5960
5962
|
} else {
|
|
5961
|
-
|
|
5963
|
+
t106 = $[47];
|
|
5962
5964
|
}
|
|
5963
|
-
const
|
|
5964
|
-
let
|
|
5965
|
-
if ($[48] !==
|
|
5966
|
-
|
|
5967
|
-
disabled:
|
|
5965
|
+
const t107 = renderContext !== "view";
|
|
5966
|
+
let t108;
|
|
5967
|
+
if ($[48] !== t107) {
|
|
5968
|
+
t108 = {
|
|
5969
|
+
disabled: t107
|
|
5968
5970
|
};
|
|
5969
|
-
$[48] =
|
|
5970
|
-
$[49] =
|
|
5971
|
+
$[48] = t107;
|
|
5972
|
+
$[49] = t108;
|
|
5971
5973
|
} else {
|
|
5972
|
-
|
|
5974
|
+
t108 = $[49];
|
|
5973
5975
|
}
|
|
5974
5976
|
useKeyboardShortcuts({
|
|
5975
|
-
f:
|
|
5977
|
+
f: t106,
|
|
5976
5978
|
arrowleft: () => {
|
|
5977
5979
|
if (!checkDraggable(document.activeElement)) {
|
|
5978
5980
|
gotoPreviousScreen();
|
|
@@ -5983,44 +5985,44 @@ function Viewer(t0) {
|
|
|
5983
5985
|
gotoNextScreen();
|
|
5984
5986
|
}
|
|
5985
5987
|
}
|
|
5986
|
-
},
|
|
5988
|
+
}, t108);
|
|
5987
5989
|
const onClickSkipToPlaybackControls = _temp5;
|
|
5988
5990
|
const [currentShareIncentive, setCurrentShareIncentive] = useState(null);
|
|
5989
5991
|
const [shareIncentiveVisible, setShareIncentiveVisible] = useState(false);
|
|
5990
5992
|
const {
|
|
5991
|
-
header:
|
|
5993
|
+
header: t109
|
|
5992
5994
|
} = currentScreen || {};
|
|
5993
|
-
const header =
|
|
5995
|
+
const header = t109 === undefined ? null : t109;
|
|
5994
5996
|
const {
|
|
5995
|
-
shareIncentive:
|
|
5997
|
+
shareIncentive: t110
|
|
5996
5998
|
} = header || {};
|
|
5997
|
-
const shareIncentive =
|
|
5999
|
+
const shareIncentive = t110 === undefined ? null : t110;
|
|
5998
6000
|
const {
|
|
5999
|
-
active:
|
|
6000
|
-
label:
|
|
6001
|
+
active: t111,
|
|
6002
|
+
label: t112
|
|
6001
6003
|
} = shareIncentive || {};
|
|
6002
|
-
const hasShareIncentive =
|
|
6003
|
-
const shareIncentiveLabel =
|
|
6004
|
+
const hasShareIncentive = t111 === undefined ? false : t111;
|
|
6005
|
+
const shareIncentiveLabel = t112 === undefined ? null : t112;
|
|
6004
6006
|
const {
|
|
6005
|
-
label:
|
|
6007
|
+
label: t113
|
|
6006
6008
|
} = currentShareIncentive || {};
|
|
6007
|
-
const currentShareIncentiveLabel =
|
|
6009
|
+
const currentShareIncentiveLabel = t113 === undefined ? null : t113;
|
|
6008
6010
|
const {
|
|
6009
|
-
body:
|
|
6011
|
+
body: t114
|
|
6010
6012
|
} = shareIncentiveLabel || {};
|
|
6011
|
-
const incentiveLabel =
|
|
6013
|
+
const incentiveLabel = t114 === undefined ? null : t114;
|
|
6012
6014
|
const {
|
|
6013
|
-
body:
|
|
6015
|
+
body: t115
|
|
6014
6016
|
} = currentShareIncentiveLabel || {};
|
|
6015
|
-
const currentIncentiveLabel =
|
|
6017
|
+
const currentIncentiveLabel = t115 === undefined ? null : t115;
|
|
6016
6018
|
if (hasShareIncentive && incentiveLabel !== currentIncentiveLabel) {
|
|
6017
6019
|
setCurrentShareIncentive(shareIncentive);
|
|
6018
6020
|
setShareIncentiveVisible(true);
|
|
6019
6021
|
}
|
|
6020
|
-
let t115;
|
|
6021
6022
|
let t116;
|
|
6023
|
+
let t117;
|
|
6022
6024
|
if ($[50] !== isView || $[51] !== shareIncentiveVisible) {
|
|
6023
|
-
|
|
6025
|
+
t116 = () => {
|
|
6024
6026
|
if (!shareIncentiveVisible || !isView) {
|
|
6025
6027
|
return _temp6;
|
|
6026
6028
|
}
|
|
@@ -6031,20 +6033,20 @@ function Viewer(t0) {
|
|
|
6031
6033
|
clearTimeout(timeout);
|
|
6032
6034
|
};
|
|
6033
6035
|
};
|
|
6034
|
-
|
|
6036
|
+
t117 = [shareIncentiveVisible, isView];
|
|
6035
6037
|
$[50] = isView;
|
|
6036
6038
|
$[51] = shareIncentiveVisible;
|
|
6037
|
-
$[52] =
|
|
6038
|
-
$[53] =
|
|
6039
|
+
$[52] = t116;
|
|
6040
|
+
$[53] = t117;
|
|
6039
6041
|
} else {
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
+
t116 = $[52];
|
|
6043
|
+
t117 = $[53];
|
|
6042
6044
|
}
|
|
6043
|
-
useEffect(
|
|
6044
|
-
let t117;
|
|
6045
|
+
useEffect(t116, t117);
|
|
6045
6046
|
let t118;
|
|
6047
|
+
let t119;
|
|
6046
6048
|
if ($[54] !== neighborPreloadDelay || $[55] !== preloadNeighbors) {
|
|
6047
|
-
|
|
6049
|
+
t118 = () => {
|
|
6048
6050
|
if (preloadNeighbors) {
|
|
6049
6051
|
return _temp7;
|
|
6050
6052
|
}
|
|
@@ -6055,16 +6057,16 @@ function Viewer(t0) {
|
|
|
6055
6057
|
clearTimeout(timeout_0);
|
|
6056
6058
|
};
|
|
6057
6059
|
};
|
|
6058
|
-
|
|
6060
|
+
t119 = [preloadNeighbors, neighborPreloadDelay];
|
|
6059
6061
|
$[54] = neighborPreloadDelay;
|
|
6060
6062
|
$[55] = preloadNeighbors;
|
|
6061
|
-
$[56] =
|
|
6062
|
-
$[57] =
|
|
6063
|
+
$[56] = t118;
|
|
6064
|
+
$[57] = t119;
|
|
6063
6065
|
} else {
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
+
t118 = $[56];
|
|
6067
|
+
t119 = $[57];
|
|
6066
6068
|
}
|
|
6067
|
-
useEffect(
|
|
6069
|
+
useEffect(t118, t119);
|
|
6068
6070
|
let topHeight = 0;
|
|
6069
6071
|
if (topSafezoneHeight !== null) {
|
|
6070
6072
|
topHeight = topSafezoneHeight / screenScale;
|
|
@@ -6082,22 +6084,22 @@ function Viewer(t0) {
|
|
|
6082
6084
|
}
|
|
6083
6085
|
}
|
|
6084
6086
|
const NavigationHint = withNavigationHint === "hand" ? HandTap : ArrowHint;
|
|
6085
|
-
const
|
|
6086
|
-
let
|
|
6087
|
-
if ($[58] !==
|
|
6088
|
-
|
|
6089
|
-
disabled:
|
|
6087
|
+
const t120 = !isView;
|
|
6088
|
+
let t121;
|
|
6089
|
+
if ($[58] !== t120) {
|
|
6090
|
+
t121 = {
|
|
6091
|
+
disabled: t120,
|
|
6090
6092
|
timeout: 2000
|
|
6091
6093
|
};
|
|
6092
|
-
$[58] =
|
|
6093
|
-
$[59] =
|
|
6094
|
+
$[58] = t120;
|
|
6095
|
+
$[59] = t121;
|
|
6094
6096
|
} else {
|
|
6095
|
-
|
|
6097
|
+
t121 = $[59];
|
|
6096
6098
|
}
|
|
6097
6099
|
const {
|
|
6098
6100
|
ref: activityRef,
|
|
6099
6101
|
detected: activityDetected
|
|
6100
|
-
} = useActivityDetector(
|
|
6102
|
+
} = useActivityDetector(t121);
|
|
6101
6103
|
const hasMediaCompleted = playbackMedia !== null && !isBackgroundVideo ? mediaCompleted : true;
|
|
6102
6104
|
const shouldStartBackToFirstScreenTimeout = backToFirstScreenTimeout !== null && isView && screensCount > 1 && screenIndex !== 0 && hasMediaCompleted && !isDragging && !activityDetected;
|
|
6103
6105
|
useEffect(() => {
|
|
@@ -6114,25 +6116,25 @@ function Viewer(t0) {
|
|
|
6114
6116
|
const T0 = StoryProvider;
|
|
6115
6117
|
const T1 = ScreenSizeProvider;
|
|
6116
6118
|
const T2 = ViewerProvider;
|
|
6117
|
-
const
|
|
6118
|
-
const
|
|
6119
|
-
const
|
|
6120
|
-
const
|
|
6119
|
+
const t122 = topHeight;
|
|
6120
|
+
const t123 = bottomHeight;
|
|
6121
|
+
const t124 = (playbackControlsVisible || !playing || playbackMedia !== null) && currentScreenInteractionEnabled ? 60 / screenScale : 0;
|
|
6122
|
+
const t125 = withMetadata ? /*#__PURE__*/jsx(Meta, {
|
|
6121
6123
|
title: finalTitle,
|
|
6122
6124
|
metadata: finalMetadata,
|
|
6123
6125
|
children: overscrollStyle
|
|
6124
6126
|
}) : overscrollStyle;
|
|
6125
|
-
let
|
|
6127
|
+
let t126;
|
|
6126
6128
|
if ($[60] !== finalFonts) {
|
|
6127
|
-
|
|
6129
|
+
t126 = /*#__PURE__*/jsx(FontFaces, {
|
|
6128
6130
|
fonts: finalFonts
|
|
6129
6131
|
});
|
|
6130
6132
|
$[60] = finalFonts;
|
|
6131
|
-
$[61] =
|
|
6133
|
+
$[61] = t126;
|
|
6132
6134
|
} else {
|
|
6133
|
-
|
|
6135
|
+
t126 = $[61];
|
|
6134
6136
|
}
|
|
6135
|
-
const
|
|
6137
|
+
const t127 = classNames([styles$7.container, screenSize.screens.map(_temp9), className, {
|
|
6136
6138
|
[styles$7.landscape]: landscape,
|
|
6137
6139
|
[styles$7.withoutGestures]: withoutGestures,
|
|
6138
6140
|
[styles$7.hideMenu]: !menuVisible,
|
|
@@ -6142,21 +6144,21 @@ function Viewer(t0) {
|
|
|
6142
6144
|
[styles$7.hasInteracted]: hasInteracted,
|
|
6143
6145
|
[styles$7.isDragging]: isDragging
|
|
6144
6146
|
}]);
|
|
6145
|
-
let
|
|
6147
|
+
let t128;
|
|
6146
6148
|
if ($[62] !== activityRef || $[63] !== containerRef || $[64] !== fullscreenRef || $[65] !== screenSizeRef) {
|
|
6147
|
-
|
|
6149
|
+
t128 = mergeRefs(containerRef, fullscreenRef, activityRef, screenSizeRef);
|
|
6148
6150
|
$[62] = activityRef;
|
|
6149
6151
|
$[63] = containerRef;
|
|
6150
6152
|
$[64] = fullscreenRef;
|
|
6151
6153
|
$[65] = screenSizeRef;
|
|
6152
|
-
$[66] =
|
|
6154
|
+
$[66] = t128;
|
|
6153
6155
|
} else {
|
|
6154
|
-
|
|
6156
|
+
t128 = $[66];
|
|
6155
6157
|
}
|
|
6156
|
-
const
|
|
6157
|
-
let
|
|
6158
|
-
if ($[67] !== screens || $[68] !==
|
|
6159
|
-
|
|
6158
|
+
const t129 = screenIndex + 1;
|
|
6159
|
+
let t130;
|
|
6160
|
+
if ($[67] !== screens || $[68] !== t129) {
|
|
6161
|
+
t130 = /*#__PURE__*/jsx("div", {
|
|
6160
6162
|
className: styles$7.ariaAnnouncement,
|
|
6161
6163
|
id: "announce",
|
|
6162
6164
|
"aria-live": "polite",
|
|
@@ -6164,76 +6166,68 @@ function Viewer(t0) {
|
|
|
6164
6166
|
id: "AIr8rM",
|
|
6165
6167
|
defaultMessage: "Screen {current} of {length}",
|
|
6166
6168
|
values: {
|
|
6167
|
-
current:
|
|
6169
|
+
current: t129,
|
|
6168
6170
|
length: screens.length
|
|
6169
6171
|
}
|
|
6170
6172
|
})
|
|
6171
6173
|
});
|
|
6172
6174
|
$[67] = screens;
|
|
6173
|
-
$[68] =
|
|
6174
|
-
$[69] =
|
|
6175
|
-
} else {
|
|
6176
|
-
t129 = $[69];
|
|
6177
|
-
}
|
|
6178
|
-
let t130;
|
|
6179
|
-
if ($[70] !== intl) {
|
|
6180
|
-
t130 = intl.formatMessage({
|
|
6181
|
-
id: "gfZs4J",
|
|
6182
|
-
defaultMessage: "Skip Links"
|
|
6183
|
-
});
|
|
6184
|
-
$[70] = intl;
|
|
6185
|
-
$[71] = t130;
|
|
6175
|
+
$[68] = t129;
|
|
6176
|
+
$[69] = t130;
|
|
6186
6177
|
} else {
|
|
6187
|
-
t130 = $[
|
|
6178
|
+
t130 = $[69];
|
|
6188
6179
|
}
|
|
6189
6180
|
let t131;
|
|
6190
|
-
if ($[
|
|
6191
|
-
t131 =
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6181
|
+
if ($[70] !== intl || $[71] !== playbackControlsVisible || $[72] !== playbackHelpVisible || $[73] !== withoutPlaybackControls || $[74] !== withoutSkipLinks) {
|
|
6182
|
+
t131 = !withoutSkipLinks ? /*#__PURE__*/jsxs("nav", {
|
|
6183
|
+
"aria-label": intl.formatMessage({
|
|
6184
|
+
id: "gfZs4J",
|
|
6185
|
+
defaultMessage: "Skip Links"
|
|
6186
|
+
}),
|
|
6187
|
+
className: styles$7.accessibilityLinks,
|
|
6188
|
+
children: [/*#__PURE__*/jsx("a", {
|
|
6189
|
+
href: "#content",
|
|
6190
|
+
className: classNames([styles$7.accessibilityLink, "skip-link"]),
|
|
6199
6191
|
children: /*#__PURE__*/jsx(FormattedMessage, {
|
|
6200
|
-
id: "
|
|
6201
|
-
defaultMessage: "Skip to
|
|
6192
|
+
id: "5gQz1q",
|
|
6193
|
+
defaultMessage: "Skip to content"
|
|
6202
6194
|
})
|
|
6203
|
-
}),
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
className: styles$7.
|
|
6195
|
+
}), playbackHelpVisible ? /*#__PURE__*/jsxs(Fragment, {
|
|
6196
|
+
children: [/*#__PURE__*/jsx(Button, {
|
|
6197
|
+
onClick: onClickSkipToPlaybackControls,
|
|
6198
|
+
"aria-disabled": withoutPlaybackControls || !playbackControlsVisible,
|
|
6199
|
+
"aria-describedby": "disabledReason",
|
|
6200
|
+
className: classNames([styles$7.accessibilityButton, {
|
|
6201
|
+
[styles$7.disabled]: withoutPlaybackControls || !playbackControlsVisible
|
|
6202
|
+
}]),
|
|
6209
6203
|
children: /*#__PURE__*/jsx(FormattedMessage, {
|
|
6210
|
-
id: "
|
|
6211
|
-
defaultMessage: "
|
|
6204
|
+
id: "CnVj9r",
|
|
6205
|
+
defaultMessage: "Skip to controls"
|
|
6212
6206
|
})
|
|
6213
|
-
})
|
|
6207
|
+
}), withoutPlaybackControls || !playbackControlsVisible ? /*#__PURE__*/jsx("div", {
|
|
6208
|
+
role: "tooltip",
|
|
6209
|
+
className: styles$7.tooltipBox,
|
|
6210
|
+
id: "disabledReason",
|
|
6211
|
+
children: /*#__PURE__*/jsx("span", {
|
|
6212
|
+
className: styles$7.tooltip,
|
|
6213
|
+
children: /*#__PURE__*/jsx(FormattedMessage, {
|
|
6214
|
+
id: "YXhRxW",
|
|
6215
|
+
defaultMessage: "No controls available"
|
|
6216
|
+
})
|
|
6217
|
+
})
|
|
6218
|
+
}) : null]
|
|
6214
6219
|
}) : null]
|
|
6215
6220
|
}) : null;
|
|
6216
|
-
$[
|
|
6217
|
-
$[
|
|
6218
|
-
$[
|
|
6221
|
+
$[70] = intl;
|
|
6222
|
+
$[71] = playbackControlsVisible;
|
|
6223
|
+
$[72] = playbackHelpVisible;
|
|
6224
|
+
$[73] = withoutPlaybackControls;
|
|
6225
|
+
$[74] = withoutSkipLinks;
|
|
6219
6226
|
$[75] = t131;
|
|
6220
6227
|
} else {
|
|
6221
6228
|
t131 = $[75];
|
|
6222
6229
|
}
|
|
6223
|
-
|
|
6224
|
-
if ($[76] !== t130 || $[77] !== t131) {
|
|
6225
|
-
t132 = /*#__PURE__*/jsx("nav", {
|
|
6226
|
-
"aria-label": t130,
|
|
6227
|
-
className: styles$7.accessibilityLinks,
|
|
6228
|
-
children: t131
|
|
6229
|
-
});
|
|
6230
|
-
$[76] = t130;
|
|
6231
|
-
$[77] = t131;
|
|
6232
|
-
$[78] = t132;
|
|
6233
|
-
} else {
|
|
6234
|
-
t132 = $[78];
|
|
6235
|
-
}
|
|
6236
|
-
const t133 = !withoutMenu ? /*#__PURE__*/jsx(ViewerMenu, {
|
|
6230
|
+
const t132 = !withoutMenu ? /*#__PURE__*/jsx(ViewerMenu, {
|
|
6237
6231
|
story: parsedStory,
|
|
6238
6232
|
currentScreenIndex: screenIndex,
|
|
6239
6233
|
withShadow: menuOverScreen && !withoutMenuShadow,
|
|
@@ -6262,7 +6256,7 @@ function Viewer(t0) {
|
|
|
6262
6256
|
withMicromagBranding: withMicromagBranding,
|
|
6263
6257
|
refDots: menuDotsContainerRef
|
|
6264
6258
|
}) : null;
|
|
6265
|
-
const
|
|
6259
|
+
const t133 = ready || withoutScreensTransforms ? /*#__PURE__*/jsxs("div", {
|
|
6266
6260
|
className: styles$7.content,
|
|
6267
6261
|
...dragBindings,
|
|
6268
6262
|
children: [!withoutNavigationArrow && !withNeighborScreens && !navigationDisabled && screenIndex > 0 && screens.length > 1 ? /*#__PURE__*/jsx(NavigationButton, {
|
|
@@ -6273,7 +6267,7 @@ function Viewer(t0) {
|
|
|
6273
6267
|
id: "zYH/31",
|
|
6274
6268
|
defaultMessage: "Go to previous screen"
|
|
6275
6269
|
})
|
|
6276
|
-
}) : null, /*#__PURE__*/jsx("
|
|
6270
|
+
}) : null, /*#__PURE__*/jsx("main", {
|
|
6277
6271
|
className: styles$7.screensFrame,
|
|
6278
6272
|
style: {
|
|
6279
6273
|
width: screenContainerWidth,
|
|
@@ -6293,11 +6287,17 @@ function Viewer(t0) {
|
|
|
6293
6287
|
const preload = current || preloadNeighbors && (isAfter && isInPreloadRange || neighborPreloadBackward && isBefore && isInPreloadRange) || isNext;
|
|
6294
6288
|
const screenStyles = getScreenStylesByIndex(i, progressSpring);
|
|
6295
6289
|
const isVisible = current || isDragging && isNext || transitionDirection !== 0 && !isDragging && i === screenIndex - transitionDirection || withNeighborScreens && active_1;
|
|
6296
|
-
return /*#__PURE__*/jsx(animated.
|
|
6290
|
+
return /*#__PURE__*/jsx(animated.section, {
|
|
6297
6291
|
id: current ? "content" : null,
|
|
6298
6292
|
"aria-hidden": !current,
|
|
6299
6293
|
style: screenStyles,
|
|
6300
6294
|
tabIndex: current ? 0 : -1,
|
|
6295
|
+
"aria-label": intl.formatMessage({
|
|
6296
|
+
id: "+pZ9oW",
|
|
6297
|
+
defaultMessage: "Content of screen {index}"
|
|
6298
|
+
}, {
|
|
6299
|
+
index: i + 1
|
|
6300
|
+
}),
|
|
6301
6301
|
className: classNames([styles$7.screenContainer, {
|
|
6302
6302
|
[styles$7.visible]: isVisible,
|
|
6303
6303
|
[styles$7.preload]: preload,
|
|
@@ -6344,156 +6344,156 @@ function Viewer(t0) {
|
|
|
6344
6344
|
withoutShadow: withoutMenuShadow
|
|
6345
6345
|
}) : null]
|
|
6346
6346
|
}) : null;
|
|
6347
|
-
const
|
|
6347
|
+
const t134 = classNames([styles$7.shareIncentiveContainer, {
|
|
6348
6348
|
[styles$7.shareIncentiveVisible]: hasShareIncentive && shareIncentiveVisible
|
|
6349
6349
|
}]);
|
|
6350
|
-
const
|
|
6351
|
-
let
|
|
6352
|
-
if ($[
|
|
6353
|
-
|
|
6354
|
-
top:
|
|
6350
|
+
const t135 = isEditor ? 10 : menuDotsContainerHeight - 10;
|
|
6351
|
+
let t136;
|
|
6352
|
+
if ($[76] !== t135) {
|
|
6353
|
+
t136 = {
|
|
6354
|
+
top: t135
|
|
6355
6355
|
};
|
|
6356
|
-
$[
|
|
6357
|
-
$[
|
|
6356
|
+
$[76] = t135;
|
|
6357
|
+
$[77] = t136;
|
|
6358
6358
|
} else {
|
|
6359
|
-
|
|
6359
|
+
t136 = $[77];
|
|
6360
6360
|
}
|
|
6361
|
-
let
|
|
6362
|
-
if ($[
|
|
6363
|
-
|
|
6361
|
+
let t137;
|
|
6362
|
+
if ($[78] !== currentShareIncentive) {
|
|
6363
|
+
t137 = /*#__PURE__*/jsx(ShareIncentive, {
|
|
6364
6364
|
className: styles$7.shareIncentive,
|
|
6365
6365
|
...currentShareIncentive
|
|
6366
6366
|
});
|
|
6367
|
-
$[
|
|
6368
|
-
$[
|
|
6367
|
+
$[78] = currentShareIncentive;
|
|
6368
|
+
$[79] = t137;
|
|
6369
6369
|
} else {
|
|
6370
|
-
|
|
6370
|
+
t137 = $[79];
|
|
6371
6371
|
}
|
|
6372
|
-
let
|
|
6373
|
-
if ($[
|
|
6374
|
-
|
|
6375
|
-
className:
|
|
6376
|
-
style:
|
|
6377
|
-
children:
|
|
6378
|
-
});
|
|
6379
|
-
$[
|
|
6380
|
-
$[
|
|
6381
|
-
$[
|
|
6382
|
-
$[
|
|
6372
|
+
let t138;
|
|
6373
|
+
if ($[80] !== t134 || $[81] !== t136 || $[82] !== t137) {
|
|
6374
|
+
t138 = /*#__PURE__*/jsx("div", {
|
|
6375
|
+
className: t134,
|
|
6376
|
+
style: t136,
|
|
6377
|
+
children: t137
|
|
6378
|
+
});
|
|
6379
|
+
$[80] = t134;
|
|
6380
|
+
$[81] = t136;
|
|
6381
|
+
$[82] = t137;
|
|
6382
|
+
$[83] = t138;
|
|
6383
|
+
} else {
|
|
6384
|
+
t138 = $[83];
|
|
6385
|
+
}
|
|
6386
|
+
const t139 = withFullscreenWebView ? null : Math.max(screenContainerWidth, 600);
|
|
6387
|
+
let t140;
|
|
6388
|
+
if ($[84] !== t139) {
|
|
6389
|
+
t140 = {
|
|
6390
|
+
maxWidth: t139
|
|
6391
|
+
};
|
|
6392
|
+
$[84] = t139;
|
|
6393
|
+
$[85] = t140;
|
|
6383
6394
|
} else {
|
|
6384
|
-
|
|
6395
|
+
t140 = $[85];
|
|
6385
6396
|
}
|
|
6386
|
-
const t140 = withFullscreenWebView ? null : Math.max(screenContainerWidth, 600);
|
|
6387
6397
|
let t141;
|
|
6388
|
-
if ($[87] !==
|
|
6389
|
-
t141 = {
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6398
|
+
if ($[86] !== t140 || $[87] !== trackingEnabled) {
|
|
6399
|
+
t141 = /*#__PURE__*/jsx(WebViewContainer, {
|
|
6400
|
+
className: styles$7.webView,
|
|
6401
|
+
trackingEnabled: trackingEnabled,
|
|
6402
|
+
style: t140
|
|
6403
|
+
});
|
|
6404
|
+
$[86] = t140;
|
|
6405
|
+
$[87] = trackingEnabled;
|
|
6393
6406
|
$[88] = t141;
|
|
6394
6407
|
} else {
|
|
6395
6408
|
t141 = $[88];
|
|
6396
6409
|
}
|
|
6397
6410
|
let t142;
|
|
6398
|
-
if ($[89] !==
|
|
6399
|
-
t142 = /*#__PURE__*/
|
|
6400
|
-
className:
|
|
6401
|
-
|
|
6402
|
-
|
|
6411
|
+
if ($[89] !== onContextMenu || $[90] !== t127 || $[91] !== t128 || $[92] !== t130 || $[93] !== t131 || $[94] !== t132 || $[95] !== t133 || $[96] !== t138 || $[97] !== t141) {
|
|
6412
|
+
t142 = /*#__PURE__*/jsxs("div", {
|
|
6413
|
+
className: t127,
|
|
6414
|
+
ref: t128,
|
|
6415
|
+
onContextMenu: onContextMenu,
|
|
6416
|
+
children: [t130, t131, t132, t133, t138, t141]
|
|
6403
6417
|
});
|
|
6404
|
-
$[89] =
|
|
6405
|
-
$[90] =
|
|
6406
|
-
$[91] =
|
|
6418
|
+
$[89] = onContextMenu;
|
|
6419
|
+
$[90] = t127;
|
|
6420
|
+
$[91] = t128;
|
|
6421
|
+
$[92] = t130;
|
|
6422
|
+
$[93] = t131;
|
|
6423
|
+
$[94] = t132;
|
|
6424
|
+
$[95] = t133;
|
|
6425
|
+
$[96] = t138;
|
|
6426
|
+
$[97] = t141;
|
|
6427
|
+
$[98] = t142;
|
|
6407
6428
|
} else {
|
|
6408
|
-
t142 = $[
|
|
6429
|
+
t142 = $[98];
|
|
6409
6430
|
}
|
|
6410
6431
|
let t143;
|
|
6411
|
-
if ($[
|
|
6412
|
-
t143 = /*#__PURE__*/jsxs(
|
|
6413
|
-
className: t126,
|
|
6414
|
-
ref: t127,
|
|
6415
|
-
onContextMenu: onContextMenu,
|
|
6416
|
-
children: [t129, t132, t133, t134, t139, t142]
|
|
6417
|
-
});
|
|
6418
|
-
$[92] = onContextMenu;
|
|
6419
|
-
$[93] = t126;
|
|
6420
|
-
$[94] = t127;
|
|
6421
|
-
$[95] = t129;
|
|
6422
|
-
$[96] = t132;
|
|
6423
|
-
$[97] = t133;
|
|
6424
|
-
$[98] = t134;
|
|
6425
|
-
$[99] = t139;
|
|
6426
|
-
$[100] = t142;
|
|
6427
|
-
$[101] = t143;
|
|
6428
|
-
} else {
|
|
6429
|
-
t143 = $[101];
|
|
6430
|
-
}
|
|
6431
|
-
let t144;
|
|
6432
|
-
if ($[102] !== T2 || $[103] !== activityDetected || $[104] !== bottomHeight || $[105] !== disableInteraction || $[106] !== enableInteraction || $[107] !== eventsManager || $[108] !== gotoNextScreen || $[109] !== gotoPreviousScreen || $[110] !== menuOverScreen || $[111] !== menuVisible || $[112] !== t123 || $[113] !== t124 || $[114] !== t125 || $[115] !== t143 || $[116] !== topHeight || $[117] !== viewerHeight || $[118] !== viewerWidth) {
|
|
6433
|
-
t144 = /*#__PURE__*/jsxs(T2, {
|
|
6432
|
+
if ($[99] !== T2 || $[100] !== activityDetected || $[101] !== bottomHeight || $[102] !== disableInteraction || $[103] !== enableInteraction || $[104] !== eventsManager || $[105] !== gotoNextScreen || $[106] !== gotoPreviousScreen || $[107] !== menuOverScreen || $[108] !== menuVisible || $[109] !== t124 || $[110] !== t125 || $[111] !== t126 || $[112] !== t142 || $[113] !== topHeight || $[114] !== viewerHeight || $[115] !== viewerWidth) {
|
|
6433
|
+
t143 = /*#__PURE__*/jsxs(T2, {
|
|
6434
6434
|
events: eventsManager,
|
|
6435
6435
|
menuVisible: menuVisible,
|
|
6436
6436
|
menuOverScreen: menuOverScreen,
|
|
6437
6437
|
width: viewerWidth,
|
|
6438
6438
|
height: viewerHeight,
|
|
6439
|
-
topHeight:
|
|
6440
|
-
bottomHeight:
|
|
6439
|
+
topHeight: t122,
|
|
6440
|
+
bottomHeight: t123,
|
|
6441
6441
|
activityDetected: activityDetected,
|
|
6442
|
-
bottomSidesWidth:
|
|
6442
|
+
bottomSidesWidth: t124,
|
|
6443
6443
|
gotoPreviousScreen: gotoPreviousScreen,
|
|
6444
6444
|
gotoNextScreen: gotoNextScreen,
|
|
6445
6445
|
disableInteraction: disableInteraction,
|
|
6446
6446
|
enableInteraction: enableInteraction,
|
|
6447
|
-
children: [
|
|
6448
|
-
});
|
|
6449
|
-
$[
|
|
6450
|
-
$[
|
|
6451
|
-
$[
|
|
6452
|
-
$[
|
|
6453
|
-
$[
|
|
6454
|
-
$[
|
|
6455
|
-
$[
|
|
6456
|
-
$[
|
|
6457
|
-
$[
|
|
6458
|
-
$[
|
|
6459
|
-
$[
|
|
6460
|
-
$[
|
|
6461
|
-
$[
|
|
6462
|
-
$[
|
|
6463
|
-
$[
|
|
6464
|
-
$[
|
|
6465
|
-
$[
|
|
6466
|
-
$[
|
|
6467
|
-
} else {
|
|
6468
|
-
|
|
6447
|
+
children: [t125, t126, t142]
|
|
6448
|
+
});
|
|
6449
|
+
$[99] = T2;
|
|
6450
|
+
$[100] = activityDetected;
|
|
6451
|
+
$[101] = bottomHeight;
|
|
6452
|
+
$[102] = disableInteraction;
|
|
6453
|
+
$[103] = enableInteraction;
|
|
6454
|
+
$[104] = eventsManager;
|
|
6455
|
+
$[105] = gotoNextScreen;
|
|
6456
|
+
$[106] = gotoPreviousScreen;
|
|
6457
|
+
$[107] = menuOverScreen;
|
|
6458
|
+
$[108] = menuVisible;
|
|
6459
|
+
$[109] = t124;
|
|
6460
|
+
$[110] = t125;
|
|
6461
|
+
$[111] = t126;
|
|
6462
|
+
$[112] = t142;
|
|
6463
|
+
$[113] = topHeight;
|
|
6464
|
+
$[114] = viewerHeight;
|
|
6465
|
+
$[115] = viewerWidth;
|
|
6466
|
+
$[116] = t143;
|
|
6467
|
+
} else {
|
|
6468
|
+
t143 = $[116];
|
|
6469
6469
|
}
|
|
6470
|
-
let
|
|
6471
|
-
if ($[
|
|
6472
|
-
|
|
6470
|
+
let t144;
|
|
6471
|
+
if ($[117] !== T1 || $[118] !== screenSize || $[119] !== t143) {
|
|
6472
|
+
t144 = /*#__PURE__*/jsx(T1, {
|
|
6473
6473
|
size: screenSize,
|
|
6474
|
-
children:
|
|
6474
|
+
children: t143
|
|
6475
6475
|
});
|
|
6476
|
-
$[
|
|
6477
|
-
$[
|
|
6478
|
-
$[
|
|
6479
|
-
$[
|
|
6476
|
+
$[117] = T1;
|
|
6477
|
+
$[118] = screenSize;
|
|
6478
|
+
$[119] = t143;
|
|
6479
|
+
$[120] = t144;
|
|
6480
6480
|
} else {
|
|
6481
|
-
|
|
6481
|
+
t144 = $[120];
|
|
6482
6482
|
}
|
|
6483
|
-
let
|
|
6484
|
-
if ($[
|
|
6485
|
-
|
|
6483
|
+
let t145;
|
|
6484
|
+
if ($[121] !== T0 || $[122] !== parsedStory || $[123] !== t144) {
|
|
6485
|
+
t145 = /*#__PURE__*/jsx(T0, {
|
|
6486
6486
|
story: parsedStory,
|
|
6487
|
-
children:
|
|
6487
|
+
children: t144
|
|
6488
6488
|
});
|
|
6489
|
-
$[
|
|
6490
|
-
$[
|
|
6491
|
-
$[
|
|
6492
|
-
$[
|
|
6489
|
+
$[121] = T0;
|
|
6490
|
+
$[122] = parsedStory;
|
|
6491
|
+
$[123] = t144;
|
|
6492
|
+
$[124] = t145;
|
|
6493
6493
|
} else {
|
|
6494
|
-
|
|
6494
|
+
t145 = $[124];
|
|
6495
6495
|
}
|
|
6496
|
-
return
|
|
6496
|
+
return t145;
|
|
6497
6497
|
}
|
|
6498
6498
|
function _temp9(screenName) {
|
|
6499
6499
|
return `story-screen-${screenName}`;
|