pageflow 16.1.0 → 16.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +70 -194
- data/README.md +6 -5
- data/app/assets/images/pageflow/admin/icons/published_with_noindex.svg +4 -0
- data/app/assets/javascripts/pageflow/dist/ui.js +1 -0
- data/app/assets/stylesheets/pageflow/admin/active_admin_patches.scss +1 -1
- data/app/assets/stylesheets/pageflow/admin/entries.scss +4 -0
- data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +4 -0
- data/app/assets/stylesheets/pageflow/editor/base.scss +0 -1
- data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +55 -6
- data/app/assets/stylesheets/pageflow/editor/file_meta_data.scss +12 -1
- data/app/assets/stylesheets/pageflow/ui/forms.scss +3 -3
- data/app/assets/stylesheets/pageflow/{editor/wysihtml5.scss → ui/input/text_area_input.scss} +13 -1
- data/app/assets/stylesheets/pageflow/ui.scss +1 -0
- data/app/controllers/pageflow/editor/entry_publications_controller.rb +5 -1
- data/app/controllers/pageflow/editor/file_import_controller.rb +1 -1
- data/app/controllers/pageflow/entries_controller.rb +2 -2
- data/app/helpers/pageflow/entries_helper.rb +2 -0
- data/app/helpers/pageflow/meta_tags_helper.rb +2 -1
- data/app/helpers/pageflow/page_types_helper.rb +4 -4
- data/app/helpers/pageflow/revision_file_helper.rb +3 -3
- data/app/helpers/pageflow/social_share_helper.rb +2 -2
- data/app/models/concerns/pageflow/entry_publication_states.rb +9 -0
- data/app/models/concerns/pageflow/uploadable_file.rb +5 -0
- data/app/models/pageflow/account.rb +2 -2
- data/app/models/pageflow/entry.rb +7 -5
- data/app/models/pageflow/entry_at_revision.rb +2 -0
- data/app/models/pageflow/image_file.rb +20 -5
- data/app/models/pageflow/image_file_url_templates.rb +7 -1
- data/app/models/pageflow/revision.rb +6 -4
- data/app/models/pageflow/site.rb +2 -2
- data/app/models/pageflow/sitemaps.rb +1 -0
- data/app/models/pageflow/used_file.rb +8 -0
- data/app/views/components/pageflow/admin/extensible_attributes_table.rb +1 -7
- data/app/views/components/pageflow/admin/revisions_tab.rb +8 -0
- data/app/views/pageflow/editor/config/_seeds.json.jbuilder +1 -0
- data/app/views/pageflow/editor/entries/_entry.json.jbuilder +1 -0
- data/app/views/pageflow/editor/entry_publications/check.json.jbuilder +1 -0
- data/app/views/pageflow/image_files/_image_file.json.jbuilder +1 -0
- data/app/views/pageflow/meta_tags/_entry.html.erb +1 -0
- data/config/initializers/features.rb +2 -0
- data/config/initializers/paperclip.rb +4 -0
- data/config/locales/de.yml +50 -0
- data/config/locales/en.yml +49 -0
- data/db/migrate/20231024062501_add_output_presences_to_image_files.rb +5 -0
- data/db/migrate/20231128124523_add_noindex_to_revisions.rb +5 -0
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +266 -151
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +8 -2
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-client.js +1 -1
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-server.js +1 -1
- data/entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb +1 -1
- data/entry_types/paged/lib/pageflow_paged/engine.rb +7 -11
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +9 -3
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +6 -6
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/packs_helper.rb +21 -37
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +1 -3
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +1 -6
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +17 -17
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +4 -0
- data/entry_types/scrolled/config/locales/de.yml +47 -11
- data/entry_types/scrolled/config/locales/en.yml +42 -10
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +22 -89
- data/entry_types/scrolled/lib/pageflow_scrolled/additional_packs.rb +2 -1
- data/entry_types/scrolled/lib/pageflow_scrolled/engine.rb +8 -12
- data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +6 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/web_app_manifest.rb +1 -1
- data/entry_types/scrolled/lib/tasks/pageflow_scrolled/dummy.rake +1 -1
- data/entry_types/scrolled/package/config/webpack.js +26 -0
- data/entry_types/scrolled/package/contentElements-editor.js +36 -23
- data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
- data/entry_types/scrolled/package/contentElements-frontend.js +250 -94
- data/entry_types/scrolled/package/editor.js +331 -147
- data/entry_types/scrolled/package/frontend/{EditableInlineText.module-fa9e3aff.js → EditableInlineText.module-6ee0e024.js} +463 -275
- data/entry_types/scrolled/package/frontend/{PhonePlatformContext-10a1d600.js → PhonePlatformContext-b28d991a.js} +1 -1
- data/entry_types/scrolled/package/frontend/{ToggleFullscreenCornerButton-727cce0d.js → ToggleFullscreenCornerButton-8242f213.js} +1 -1
- data/entry_types/scrolled/package/frontend/{Viewer-169e14ca.js → Viewer-32cd1ac1.js} +4 -4
- data/entry_types/scrolled/package/frontend/{Viewer-ee1aa590.js → Viewer-6e4d14ed.js} +4 -4
- data/entry_types/scrolled/package/frontend/{arrowRight-92a34ccc.js → arrowRight-e42e6011.js} +2 -2
- data/entry_types/scrolled/package/frontend/{components-4a09bfa3.js → components-24363f97.js} +7 -6
- data/entry_types/scrolled/package/frontend/{i18n-ddd92820.js → i18n-71c39823.js} +84 -46
- data/entry_types/scrolled/package/frontend/{index-02378634.js → index-fc4b13e6.js} +3 -3
- data/entry_types/scrolled/package/frontend/index.css +1 -1
- data/entry_types/scrolled/package/frontend/index.js +90 -66
- data/entry_types/scrolled/package/frontend/{useContentElementEditorState-63045393.js → useContentElementEditorState-245f1986.js} +1 -1
- data/entry_types/scrolled/package/package.json +4 -3
- data/entry_types/scrolled/package/testHelpers.js +4 -2
- data/entry_types/scrolled/package/widgets/defaultNavigation.css +2 -2
- data/entry_types/scrolled/package/widgets/defaultNavigation.js +39 -4
- data/entry_types/scrolled/package/widgets/iconInlineFileRights.css +1 -0
- data/entry_types/scrolled/package/widgets/iconInlineFileRights.js +49 -0
- data/entry_types/scrolled/package/widgets/textInlineFileRights.css +1 -0
- data/entry_types/scrolled/package/widgets/textInlineFileRights.js +37 -0
- data/lib/generators/pageflow/resque/templates/resque.rake +1 -1
- data/lib/generators/pageflow/resque/templates/resque.rb +1 -1
- data/lib/generators/pageflow/routes/routes_generator.rb +1 -1
- data/lib/pageflow/configuration.rb +8 -1
- data/lib/pageflow/engine.rb +15 -58
- data/lib/pageflow/page_type.rb +1 -1
- data/lib/pageflow/paperclip_processors/webp.rb +63 -0
- data/lib/pageflow/rails_version.rb +2 -2
- data/lib/pageflow/user_mixin.rb +1 -1
- data/lib/pageflow/version.rb +1 -1
- data/package/config/jest/index.js +3 -1
- data/package/editor.js +272 -154
- data/package/frontend.js +8 -2
- data/package/ui.js +1 -0
- data/spec/factories/entries.rb +17 -0
- metadata +78 -56
@@ -1,6 +1,6 @@
|
|
1
1
|
import 'regenerator-runtime';
|
2
|
-
import { E as EventContextDataProvider, C as ConnectedSection, u as usePrevious, g as getEventObject, w as withInlineEditingDecorator, a as useCurrentSectionIndexState, b as usePostMessageListener, c as contentStyles, A as AtmoProvider, S as ScrollToSectionContext,
|
3
|
-
export {
|
2
|
+
import { E as EventContextDataProvider, C as ConnectedSection, u as usePrevious, g as getEventObject, w as withInlineEditingDecorator, a as useCurrentSectionIndexState, b as usePostMessageListener, c as contentStyles, A as AtmoProvider, S as ScrollToSectionContext, W as Widget, _ as _asyncToGenerator, d as _regeneratorRuntime, e as withInlineEditingAlternative, f as useDarkBackground, i as isBlankEditableTextValue, h as EditableText, j as useContentElementConfigurationUpdate, k as useContentElementAttributes, l as widths, I as InlineFileRights, m as useTextTracks, n as useMediaMuted, o as useFocusOutlineVisible, p as useVideoQualitySetting, q as useIsomorphicLayoutEffect, r as frontendStyles, s as useFullscreenDimensions, t as information, v as camelize, x as isBlank, y as presence, z as styles$a, R as RootProviders, B as registerVendors, D as api, F as loadInlineEditingComponents } from './EditableInlineText.module-6ee0e024.js';
|
3
|
+
export { a8 as Atmo, a9 as AtmoContext, A as AtmoProvider, a6 as AudioPlayer, h as EditableText, $ as Image, I as InlineFileRights, a1 as MediaPlayer, O as PhonePlatformProvider, P as PlayerEventContextDataProvider, R as RootProviders, ad as SectionThumbnail, ac as StandaloneSectionThumbnail, a0 as Text, Q as ThirdPartyOptIn, T as ThirdPartyOptOutInfo, a5 as VideoPlayer, W as Widget, Z as contentElementWidthName, l as contentElementWidths, D as frontend, X as getAvailableTransitionNames, a2 as getInitialPlayerState, V as getTransitionNames, Y as paletteColor, a3 as playerStateReducer, a7 as processSources, B as registerConsentVendors, aa as useAtmo, G as useAudioFocus, U as useConsentRequested, j as useContentElementConfigurationUpdate, H as useContentElementEditorCommandSubscription, J as useContentElementLifecycle, K as useCurrentChapter, f as useDarkBackground, L as useIsStaticPreview, n as useMediaMuted, ab as useOnScreen, M as useOnUnmuteMedia, a4 as usePlayerState, N as usePortraitOrientation } from './EditableInlineText.module-6ee0e024.js';
|
4
4
|
import 'core-js/modules/es.symbol';
|
5
5
|
import 'core-js/modules/es.symbol.description';
|
6
6
|
import 'core-js/modules/es.symbol.async-iterator';
|
@@ -76,25 +76,25 @@ import 'regenerator-runtime/runtime.js';
|
|
76
76
|
import { browser, events, consent, features } from 'pageflow/frontend';
|
77
77
|
import React, { useRef, useState, useEffect, useCallback, useMemo, Suspense, useContext } from 'react';
|
78
78
|
import ReactDOM from 'react-dom';
|
79
|
-
import { _ as _slicedToArray,
|
80
|
-
export { L as LocaleProvider,
|
79
|
+
import { _ as _slicedToArray, l as useSectionsWithChapter, r as useEntryStructure, s as getFileUrlTemplateHost, u as useI18n, b as _defineProperty, a as _objectSpread2, e as _objectWithoutProperties, g as useTheme, n as _toConsumableArray, t as useAvailableQualities, v as setupI18n } from './i18n-71c39823.js';
|
80
|
+
export { L as LocaleProvider, v as setupI18n, k as useAdditionalSeedData, w as useChapters, x as useCredits, p as useEntryStateDispatch, i as useFile, y as useFileRights, h as useFileWithInlineRights, u as useI18n, z as useLegalInfo, C as useLocale, A as useShareProviders, B as useShareUrl, g as useTheme } from './i18n-71c39823.js';
|
81
81
|
import classNames from 'classnames';
|
82
|
-
import { a as useContentElementEditorState } from './useContentElementEditorState-
|
83
|
-
export { a as useContentElementEditorState } from './useContentElementEditorState-
|
82
|
+
import { a as useContentElementEditorState } from './useContentElementEditorState-245f1986.js';
|
83
|
+
export { a as useContentElementEditorState } from './useContentElementEditorState-245f1986.js';
|
84
|
+
import './createSuper-d0f30da3.js';
|
85
|
+
import 'backbone-events-standalone';
|
84
86
|
import 'use-context-selector';
|
85
87
|
import 'reselect';
|
86
88
|
import 'slugify';
|
87
|
-
import './createSuper-d0f30da3.js';
|
88
|
-
import 'backbone-events-standalone';
|
89
89
|
import 'i18n-js';
|
90
|
-
import '
|
91
|
-
import stripTags from 'striptags';
|
90
|
+
import 'striptags';
|
92
91
|
import Measure from 'react-measure';
|
92
|
+
import './PhonePlatformContext-b28d991a.js';
|
93
93
|
import { DraggableCore } from 'react-draggable';
|
94
|
-
export { T as ToggleFullscreenCornerButton } from './ToggleFullscreenCornerButton-
|
95
|
-
export { F as FullscreenViewer } from './index-
|
96
|
-
import { A as ArrowRightIcon, a as ArrowLeftIcon } from './arrowRight-
|
97
|
-
export { u as usePhonePlatform } from './arrowRight-
|
94
|
+
export { T as ToggleFullscreenCornerButton } from './ToggleFullscreenCornerButton-8242f213.js';
|
95
|
+
export { F as FullscreenViewer } from './index-fc4b13e6.js';
|
96
|
+
import { A as ArrowRightIcon, a as ArrowLeftIcon } from './arrowRight-e42e6011.js';
|
97
|
+
export { u as usePhonePlatform } from './arrowRight-e42e6011.js';
|
98
98
|
import invert from 'invert-color';
|
99
99
|
|
100
100
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
@@ -119,6 +119,8 @@ require('intersection-observer'); // Make sure we're in a Browser-like environme
|
|
119
119
|
|
120
120
|
if (typeof window !== 'undefined') {
|
121
121
|
require('whatwg-fetch');
|
122
|
+
|
123
|
+
require('scroll-timeline');
|
122
124
|
}
|
123
125
|
|
124
126
|
function Chapter(props) {
|
@@ -313,23 +315,6 @@ function renderChapters(entryStructure, currentSectionIndex, setCurrentSection,
|
|
313
315
|
});
|
314
316
|
}
|
315
317
|
|
316
|
-
function Widget(_ref) {
|
317
|
-
var role = _ref.role,
|
318
|
-
props = _ref.props;
|
319
|
-
var widget = useWidget({
|
320
|
-
role: role
|
321
|
-
});
|
322
|
-
|
323
|
-
if (!widget) {
|
324
|
-
return null;
|
325
|
-
}
|
326
|
-
|
327
|
-
var Component = api.widgetTypes.getComponent(widget.typeName);
|
328
|
-
return /*#__PURE__*/React.createElement(Component, Object.assign({
|
329
|
-
configuration: widget.configuration
|
330
|
-
}, props));
|
331
|
-
}
|
332
|
-
|
333
318
|
function Entry() {
|
334
319
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Widget, {
|
335
320
|
role: "consent"
|
@@ -385,18 +370,6 @@ var ActionButton = withInlineEditingAlternative('ActionButton', function ActionB
|
|
385
370
|
return null;
|
386
371
|
});
|
387
372
|
|
388
|
-
function isBlank(html) {
|
389
|
-
return !!stripTags(html).match(/^\s*$/);
|
390
|
-
}
|
391
|
-
function presence(html) {
|
392
|
-
return isBlank(html) ? null : html;
|
393
|
-
}
|
394
|
-
function isBlankEditableTextValue(value) {
|
395
|
-
var _value$0$children$;
|
396
|
-
|
397
|
-
return !value || value.length === 0 || value.length === 1 && value[0].children.length <= 1 && !((_value$0$children$ = value[0].children[0]) === null || _value$0$children$ === void 0 ? void 0 : _value$0$children$.text);
|
398
|
-
}
|
399
|
-
|
400
373
|
var styles = {"darkContentSurfaceColor":"var(--theme-dark-content-surface-color, #101010)","lightContentSurfaceColor":"var(--theme-light-content-surface-color, #fff)","darkContentTextColor":"var(--theme-dark-content-text-color, #222)","lightContentTextColor":"var(--theme-light-content-text-color, #fff)","contentColorScope":"colors-module_contentColorScope__2Zizr","contentLinkColor":"var(--content-link-color)","root":"Figure-module_root__3FC-x colors-module_contentColorScope__2Zizr","invert":"Figure-module_invert___0BJP"};
|
401
374
|
|
402
375
|
/**
|
@@ -586,7 +559,7 @@ function RemotePeakData(_ref) {
|
|
586
559
|
}
|
587
560
|
}
|
588
561
|
|
589
|
-
var styles$2 = {"container":"Waveform-module_container__1Dxdv","clickMask":"Waveform-module_clickMask__3LYAT","menuBar":"Waveform-module_menuBar__342n-","timeDisplay":"Waveform-module_timeDisplay__1v4Tl","playControl":"Waveform-module_playControl__QWTsJ","waveWrapper":"Waveform-module_waveWrapper__3gamc"};
|
562
|
+
var styles$2 = {"container":"Waveform-module_container__1Dxdv","clickMask":"Waveform-module_clickMask__3LYAT","menuBar":"Waveform-module_menuBar__342n-","menuBarInner":"Waveform-module_menuBarInner__3wjQs","timeDisplay":"Waveform-module_timeDisplay__1v4Tl","playControl":"Waveform-module_playControl__QWTsJ","waveWrapper":"Waveform-module_waveWrapper__3gamc"};
|
590
563
|
|
591
564
|
var waveColor = '#828282ed';
|
592
565
|
var waveColorInverted = 'rgba(0, 0, 0, 0.5)';
|
@@ -683,7 +656,7 @@ function TimeDisplay(props) {
|
|
683
656
|
}, formatTime(props.duration)));
|
684
657
|
}
|
685
658
|
|
686
|
-
var styles$4 = {"button":"MenuBarButton-module_button__2sY0F ControlBar-module_button___4aXE utils-module_unstyledButton__3rgne","icon":"MenuBarButton-module_icon__2h8__","subMenuItemAnnotation":"MenuBarButton-module_subMenuItemAnnotation__32Quc","subMenu":"MenuBarButton-module_subMenu__f-E-X","subMenuExpanded":"MenuBarButton-module_subMenuExpanded__2UvkJ","subMenuItem":"MenuBarButton-module_subMenuItem__1pyn_","subMenuItemIcon":"MenuBarButton-module_subMenuItemIcon__3iaB-","subMenuItemButton":"MenuBarButton-module_subMenuItemButton__2QnUz utils-module_unstyledButton__3rgne"};
|
659
|
+
var styles$4 = {"wrapper":"MenuBarButton-module_wrapper__2lFoI","button":"MenuBarButton-module_button__2sY0F ControlBar-module_button___4aXE utils-module_unstyledButton__3rgne","icon":"MenuBarButton-module_icon__2h8__","subMenuItemAnnotation":"MenuBarButton-module_subMenuItemAnnotation__32Quc","subMenu":"MenuBarButton-module_subMenu__f-E-X","subMenuExpanded":"MenuBarButton-module_subMenuExpanded__2UvkJ","subMenuItem":"MenuBarButton-module_subMenuItem__1pyn_","subMenuItemIcon":"MenuBarButton-module_subMenuItemIcon__3iaB-","subMenuItemButton":"MenuBarButton-module_subMenuItemButton__2QnUz utils-module_unstyledButton__3rgne"};
|
687
660
|
|
688
661
|
function _extends() {
|
689
662
|
_extends = Object.assign || function (target) {
|
@@ -872,7 +845,7 @@ TextTracksMenu.defaultProps = {
|
|
872
845
|
items: []
|
873
846
|
};
|
874
847
|
|
875
|
-
var styles$5 = {"container":"ControlBar-module_container__1GH64","
|
848
|
+
var styles$5 = {"container":"ControlBar-module_container__1GH64","lightBackground":"ControlBar-module_lightBackground__3-tGf","darkBackground":"ControlBar-module_darkBackground__31Wv7","controlBarContainer":"ControlBar-module_controlBarContainer__1cxRO","inset":"ControlBar-module_inset__JvBh9","controlBarInner":"ControlBar-module_controlBarInner__39fE9","transparent":"ControlBar-module_transparent__eS4af","button":"ControlBar-module_button___4aXE utils-module_unstyledButton__3rgne","playControl":"ControlBar-module_playControl__Vg5et ControlBar-module_button___4aXE utils-module_unstyledButton__3rgne"};
|
876
849
|
|
877
850
|
function _extends$2() {
|
878
851
|
_extends$2 = Object.assign || function (target) {
|
@@ -994,12 +967,19 @@ function WaveformPlayerControls(props) {
|
|
994
967
|
pause: props.pause
|
995
968
|
})), /*#__PURE__*/React.createElement("div", {
|
996
969
|
className: classNames(styles$2.menuBar, darkBackground ? styles$5.darkBackground : styles$5.lightBackground, _defineProperty({}, styles$5.inset, !props.standAlone))
|
970
|
+
}, /*#__PURE__*/React.createElement("div", {
|
971
|
+
className: styles$2.menuBarInner
|
997
972
|
}, /*#__PURE__*/React.createElement(TimeDisplay, {
|
998
973
|
currentTime: props.currentTime,
|
999
974
|
duration: props.duration
|
1000
975
|
}), /*#__PURE__*/React.createElement(TextTracksMenu, {
|
1001
976
|
items: props.textTracksMenuItems,
|
1002
977
|
onItemClick: props.onTextTracksMenuItemClick
|
978
|
+
})), /*#__PURE__*/React.createElement(InlineFileRights, {
|
979
|
+
items: props.inlineFileRightsItems,
|
980
|
+
context: "playerControls",
|
981
|
+
playerControlsTransparent: false,
|
982
|
+
playerControlsStandAlone: props.standAlone
|
1003
983
|
})));
|
1004
984
|
}
|
1005
985
|
|
@@ -1201,6 +1181,8 @@ function renderControlBar(props, darkBackground, transparent) {
|
|
1201
1181
|
onMouseEnter: props.onMouseEnter,
|
1202
1182
|
onMouseLeave: props.onMouseLeave,
|
1203
1183
|
className: classNames(styles$5.controlBarContainer, darkBackground ? styles$5.darkBackground : styles$5.lightBackground, (_classNames = {}, _defineProperty(_classNames, styles$5.inset, !props.standAlone), _defineProperty(_classNames, styles$5.transparent, transparent), _classNames))
|
1184
|
+
}, /*#__PURE__*/React.createElement("div", {
|
1185
|
+
className: styles$5.controlBarInner
|
1204
1186
|
}, /*#__PURE__*/React.createElement(PlayPauseButton, {
|
1205
1187
|
isPlaying: props.isPlaying,
|
1206
1188
|
play: props.play,
|
@@ -1221,6 +1203,11 @@ function renderControlBar(props, darkBackground, transparent) {
|
|
1221
1203
|
items: props.qualityMenuItems,
|
1222
1204
|
onItemClick: props.onQualityMenuItemClick,
|
1223
1205
|
subMenuExpanded: props.qualityMenuExpanded
|
1206
|
+
})), /*#__PURE__*/React.createElement(InlineFileRights, {
|
1207
|
+
items: props.inlineFileRightsItems,
|
1208
|
+
context: "playerControls",
|
1209
|
+
playerControlsTransparent: transparent,
|
1210
|
+
playerControlsStandAlone: props.standAlone
|
1224
1211
|
}));
|
1225
1212
|
}
|
1226
1213
|
|
@@ -1352,7 +1339,7 @@ function AudioPlayerControls(_ref) {
|
|
1352
1339
|
}
|
1353
1340
|
|
1354
1341
|
var Viewer = React.lazy(function () {
|
1355
|
-
return import('./Viewer-
|
1342
|
+
return import('./Viewer-6e4d14ed.js');
|
1356
1343
|
});
|
1357
1344
|
function Panorama(props) {
|
1358
1345
|
return /*#__PURE__*/React.createElement(Suspense, {
|
@@ -1361,7 +1348,7 @@ function Panorama(props) {
|
|
1361
1348
|
}
|
1362
1349
|
|
1363
1350
|
var Viewer$1 = React.lazy(function () {
|
1364
|
-
return import('./Viewer-
|
1351
|
+
return import('./Viewer-32cd1ac1.js');
|
1365
1352
|
});
|
1366
1353
|
function ExpandableImage(_ref) {
|
1367
1354
|
var enabled = _ref.enabled,
|
@@ -1759,15 +1746,22 @@ function _extends$9() {
|
|
1759
1746
|
|
1760
1747
|
return _extends$9.apply(this, arguments);
|
1761
1748
|
}
|
1762
|
-
var
|
1749
|
+
var copyright = (function (_ref) {
|
1763
1750
|
var _ref$styles = _ref.styles,
|
1764
1751
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1765
1752
|
|
1766
1753
|
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
1767
1754
|
xmlns: "http://www.w3.org/2000/svg",
|
1768
|
-
|
1755
|
+
width: "800",
|
1756
|
+
height: "800",
|
1757
|
+
viewBox: "0 0 24 24",
|
1758
|
+
fill: "none"
|
1769
1759
|
}, props), /*#__PURE__*/React.createElement("path", {
|
1770
|
-
d: "
|
1760
|
+
d: "M14 9c-.48-.6-1.07-1-2-1-1.923 0-3 1.143-3 4s1.077 4 3 4c.93 0 1.52-.4 2-1m-2 6a9 9 0 100-18 9 9 0 000 18z",
|
1761
|
+
stroke: "currentColor",
|
1762
|
+
strokeWidth: "2",
|
1763
|
+
strokeLinecap: "round",
|
1764
|
+
strokeLinejoin: "round"
|
1771
1765
|
}));
|
1772
1766
|
});
|
1773
1767
|
|
@@ -1788,15 +1782,15 @@ function _extends$a() {
|
|
1788
1782
|
|
1789
1783
|
return _extends$a.apply(this, arguments);
|
1790
1784
|
}
|
1791
|
-
var
|
1785
|
+
var email = (function (_ref) {
|
1792
1786
|
var _ref$styles = _ref.styles,
|
1793
1787
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1794
1788
|
|
1795
1789
|
return /*#__PURE__*/React.createElement("svg", _extends$a({
|
1796
1790
|
xmlns: "http://www.w3.org/2000/svg",
|
1797
|
-
viewBox: "0 0
|
1791
|
+
viewBox: "0 0 612 612"
|
1798
1792
|
}, props), /*#__PURE__*/React.createElement("path", {
|
1799
|
-
d: "
|
1793
|
+
d: "M573.75 57.375H38.25C17.136 57.375 0 74.511 0 95.625v420.75c0 21.133 17.136 38.25 38.25 38.25h535.5c21.133 0 38.25-17.117 38.25-38.25V95.625c0-21.114-17.117-38.25-38.25-38.25zM554.625 497.25H57.375V204.657l224.03 187.999c7.134 5.967 15.874 8.97 24.595 8.97 8.74 0 17.461-3.003 24.595-8.97l224.03-187.999V497.25zm0-367.487L306 338.379 57.375 129.763V114.75h497.25v15.013z"
|
1800
1794
|
}));
|
1801
1795
|
});
|
1802
1796
|
|
@@ -1817,15 +1811,15 @@ function _extends$b() {
|
|
1817
1811
|
|
1818
1812
|
return _extends$b.apply(this, arguments);
|
1819
1813
|
}
|
1820
|
-
var
|
1814
|
+
var facebook = (function (_ref) {
|
1821
1815
|
var _ref$styles = _ref.styles,
|
1822
1816
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1823
1817
|
|
1824
1818
|
return /*#__PURE__*/React.createElement("svg", _extends$b({
|
1825
1819
|
xmlns: "http://www.w3.org/2000/svg",
|
1826
|
-
viewBox: "0 0 430.
|
1820
|
+
viewBox: "0 0 430.113 430.114"
|
1827
1821
|
}, props), /*#__PURE__*/React.createElement("path", {
|
1828
|
-
d: "
|
1822
|
+
d: "M158.081 83.3v59.218h-43.385v72.412h43.385v215.183h89.122V214.936h59.805s5.601-34.721 8.316-72.685H247.54V92.74c0-7.4 9.717-17.354 19.321-17.354h48.557V.001h-66.021C155.878-.004 158.081 72.48 158.081 83.3z"
|
1829
1823
|
}));
|
1830
1824
|
});
|
1831
1825
|
|
@@ -1846,15 +1840,15 @@ function _extends$c() {
|
|
1846
1840
|
|
1847
1841
|
return _extends$c.apply(this, arguments);
|
1848
1842
|
}
|
1849
|
-
var
|
1843
|
+
var linkedIn = (function (_ref) {
|
1850
1844
|
var _ref$styles = _ref.styles,
|
1851
1845
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1852
1846
|
|
1853
1847
|
return /*#__PURE__*/React.createElement("svg", _extends$c({
|
1854
1848
|
xmlns: "http://www.w3.org/2000/svg",
|
1855
|
-
viewBox: "0 0
|
1849
|
+
viewBox: "0 0 430.117 430.117"
|
1856
1850
|
}, props), /*#__PURE__*/React.createElement("path", {
|
1857
|
-
d: "
|
1851
|
+
d: "M430.117 261.543V420.56h-92.188V272.193c0-37.271-13.334-62.707-46.703-62.707-25.473 0-40.632 17.142-47.301 33.724-2.432 5.928-3.058 14.179-3.058 22.477V420.56h-92.219s1.242-251.285 0-277.32h92.21v39.309c-.187.294-.43.611-.606.896h.606v-.896c12.251-18.869 34.13-45.824 83.102-45.824 60.673-.001 106.157 39.636 106.157 124.818zM52.183 9.558C20.635 9.558 0 30.251 0 57.463c0 26.619 20.038 47.94 50.959 47.94h.616c32.159 0 52.159-21.317 52.159-47.94-.606-27.212-20-47.905-51.551-47.905zM5.477 420.56h92.184V143.24H5.477v277.32z"
|
1858
1852
|
}));
|
1859
1853
|
});
|
1860
1854
|
|
@@ -1875,15 +1869,15 @@ function _extends$d() {
|
|
1875
1869
|
|
1876
1870
|
return _extends$d.apply(this, arguments);
|
1877
1871
|
}
|
1878
|
-
var
|
1872
|
+
var telegram = (function (_ref) {
|
1879
1873
|
var _ref$styles = _ref.styles,
|
1880
1874
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1881
1875
|
|
1882
1876
|
return /*#__PURE__*/React.createElement("svg", _extends$d({
|
1883
1877
|
xmlns: "http://www.w3.org/2000/svg",
|
1884
|
-
viewBox: "0 0
|
1878
|
+
viewBox: "0 0 512.004 512.004"
|
1885
1879
|
}, props), /*#__PURE__*/React.createElement("path", {
|
1886
|
-
d: "
|
1880
|
+
d: "M508.194 20.517c-4.43-4.96-11.42-6.29-17.21-3.76l-482 211a15.01 15.01 0 00-8.98 13.41 15.005 15.005 0 008.38 13.79l115.09 56.6 28.68 172.06c.93 6.53 6.06 11.78 12.74 12.73 4.8.69 9.57-1 12.87-4.4l90.86-90.86 129.66 92.62a15.02 15.02 0 0014.24 1.74 15.01 15.01 0 009.19-11.01l90-451c.89-4.47-.26-9.26-3.52-12.92zm-372.84 263.45l-84.75-41.68 334.82-146.57-250.07 188.25zm46.94 44.59l-13.95 69.75-15.05-90.3 183.97-138.49-150.88 151.39c-2.12 2.12-3.53 4.88-4.09 7.65zm9.13 107.3l15.74-78.67 36.71 26.22-52.45 52.45zm205.41 19.94l-176.73-126.23 252.47-253.31-75.74 379.54z"
|
1887
1881
|
}));
|
1888
1882
|
});
|
1889
1883
|
|
@@ -1904,11 +1898,40 @@ function _extends$e() {
|
|
1904
1898
|
|
1905
1899
|
return _extends$e.apply(this, arguments);
|
1906
1900
|
}
|
1907
|
-
var
|
1901
|
+
var twitter = (function (_ref) {
|
1908
1902
|
var _ref$styles = _ref.styles,
|
1909
1903
|
props = _objectWithoutProperties(_ref, ["styles"]);
|
1910
1904
|
|
1911
1905
|
return /*#__PURE__*/React.createElement("svg", _extends$e({
|
1906
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1907
|
+
viewBox: "0 0 612 612"
|
1908
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
1909
|
+
d: "M612 116.258a250.714 250.714 0 01-72.088 19.772c25.929-15.527 45.777-40.155 55.184-69.411-24.322 14.379-51.169 24.82-79.775 30.48-22.907-24.437-55.49-39.658-91.63-39.658-69.334 0-125.551 56.217-125.551 125.513 0 9.828 1.109 19.427 3.251 28.606-104.326-5.24-196.835-55.223-258.75-131.174-10.823 18.51-16.98 40.078-16.98 63.101 0 43.559 22.181 81.993 55.835 104.479a125.556 125.556 0 01-56.867-15.756v1.568c0 60.806 43.291 111.554 100.693 123.104-10.517 2.83-21.607 4.398-33.08 4.398-8.107 0-15.947-.803-23.634-2.333 15.985 49.907 62.336 86.199 117.253 87.194-42.947 33.654-97.099 53.655-155.916 53.655-10.134 0-20.116-.612-29.944-1.721 55.567 35.681 121.536 56.485 192.438 56.485 230.948 0 357.188-191.291 357.188-357.188l-.421-16.253c24.666-17.593 46.005-39.697 62.794-64.861z"
|
1910
|
+
}));
|
1911
|
+
});
|
1912
|
+
|
1913
|
+
function _extends$f() {
|
1914
|
+
_extends$f = Object.assign || function (target) {
|
1915
|
+
for (var i = 1; i < arguments.length; i++) {
|
1916
|
+
var source = arguments[i];
|
1917
|
+
|
1918
|
+
for (var key in source) {
|
1919
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
1920
|
+
target[key] = source[key];
|
1921
|
+
}
|
1922
|
+
}
|
1923
|
+
}
|
1924
|
+
|
1925
|
+
return target;
|
1926
|
+
};
|
1927
|
+
|
1928
|
+
return _extends$f.apply(this, arguments);
|
1929
|
+
}
|
1930
|
+
var whatsApp = (function (_ref) {
|
1931
|
+
var _ref$styles = _ref.styles,
|
1932
|
+
props = _objectWithoutProperties(_ref, ["styles"]);
|
1933
|
+
|
1934
|
+
return /*#__PURE__*/React.createElement("svg", _extends$f({
|
1912
1935
|
xmlns: "http://www.w3.org/2000/svg",
|
1913
1936
|
viewBox: "0 0 90 90"
|
1914
1937
|
}, props), /*#__PURE__*/React.createElement("path", {
|
@@ -1923,6 +1946,7 @@ var icons = {
|
|
1923
1946
|
share: share,
|
1924
1947
|
unmuted: unmuted,
|
1925
1948
|
gear: gear,
|
1949
|
+
copyright: copyright,
|
1926
1950
|
email: email,
|
1927
1951
|
facebook: facebook,
|
1928
1952
|
linkedIn: linkedIn,
|
@@ -1937,7 +1961,7 @@ var icons = {
|
|
1937
1961
|
*
|
1938
1962
|
* @param {Object} props
|
1939
1963
|
* @param {string} props.name -
|
1940
|
-
* Either: expand, gear, information, muted, share, unmuted,
|
1964
|
+
* Either: copyright, expand, gear, information, muted, share, unmuted,
|
1941
1965
|
* email, facebook, linkedIn, telegram, twitter, whatsApp,
|
1942
1966
|
* arrowLeft, arrowRight,
|
1943
1967
|
* @params {number} [props.width] - Image width.
|
@@ -2074,4 +2098,4 @@ function Root(_ref2) {
|
|
2074
2098
|
}, /*#__PURE__*/React.createElement(Entry, null));
|
2075
2099
|
}
|
2076
2100
|
|
2077
|
-
export { AudioPlayerControls, ClassicPlayerControls, ContentElementBox, ContentElementFigure, EditableInlineText, Entry, ExpandableImage, Figure, FitViewport, MediaInteractionTracking, MediaPlayerControls, Panorama, PlayerControls, Root, ThemeIcon, Tooltip, VideoPlayerControls, WaveformPlayerControls,
|
2101
|
+
export { AudioPlayerControls, ClassicPlayerControls, ContentElementBox, ContentElementFigure, EditableInlineText, Entry, ExpandableImage, Figure, FitViewport, MediaInteractionTracking, MediaPlayerControls, Panorama, PlayerControls, Root, ThemeIcon, Tooltip, VideoPlayerControls, WaveformPlayerControls, registerTemplateWidgetType, textColorForBackgroundColor, useScrollPosition, utils, withShadowClassName };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useState, useRef, useEffect, createContext, useContext } from 'react';
|
2
|
-
import { _ as _slicedToArray } from './i18n-
|
2
|
+
import { _ as _slicedToArray } from './i18n-71c39823.js';
|
3
3
|
|
4
4
|
function useDelayedBoolean(value, _ref) {
|
5
5
|
var fromFalseToTrue = _ref.fromFalseToTrue,
|
@@ -26,6 +26,7 @@
|
|
26
26
|
"react_ujs": "^2.6.1",
|
27
27
|
"reselect": "^4.0.0",
|
28
28
|
"screenfull": "^5.1.0",
|
29
|
+
"scroll-timeline": "https://github.com/tf/scroll-timeline#pageflow-scrolled-1",
|
29
30
|
"slate": "^0.57.3",
|
30
31
|
"slate-react": "^0.57.3",
|
31
32
|
"slugify": "^1.4.6",
|
@@ -77,8 +78,8 @@
|
|
77
78
|
"scripts": {
|
78
79
|
"test": "jest",
|
79
80
|
"lint": "eslint .",
|
80
|
-
"start-storybook": "start-storybook -s .storybook/static",
|
81
|
-
"build-storybook": "build-storybook -s .storybook/static -o .storybook/out",
|
82
|
-
"snapshot": "build-storybook --quiet -s .storybook/static -o .storybook/out && PERCY_TOKEN=${PERCY_TOKEN:-$PT} percy-storybook --widths=1280 --build_dir=.storybook/out"
|
81
|
+
"start-storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -s .storybook/static",
|
82
|
+
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook -s .storybook/static -o .storybook/out",
|
83
|
+
"snapshot": "NODE_OPTIONS=--openssl-legacy-provider build-storybook --quiet -s .storybook/static -o .storybook/out && PERCY_TOKEN=${PERCY_TOKEN:-$PT} percy-storybook --widths=1280 --build_dir=.storybook/out"
|
83
84
|
}
|
84
85
|
}
|
@@ -101,7 +101,8 @@ function normalizeSeed() {
|
|
101
101
|
widgets = _ref.widgets,
|
102
102
|
additionalSeedData = _ref.additionalSeedData,
|
103
103
|
consentVendors = _ref.consentVendors,
|
104
|
-
contentElementConsentVendors = _ref.contentElementConsentVendors
|
104
|
+
contentElementConsentVendors = _ref.contentElementConsentVendors,
|
105
|
+
fileLicenses = _ref.fileLicenses;
|
105
106
|
|
106
107
|
var entries = entry ? [entry] : [{}];
|
107
108
|
var normalizedEntries = normalizeCollection(entries);
|
@@ -137,7 +138,8 @@ function normalizeSeed() {
|
|
137
138
|
frontendVersion: 1
|
138
139
|
},
|
139
140
|
consentVendors: consentVendors || [],
|
140
|
-
contentElementConsentVendors: contentElementConsentVendors || {}
|
141
|
+
contentElementConsentVendors: contentElementConsentVendors || {},
|
142
|
+
fileLicenses: fileLicenses || {}
|
141
143
|
},
|
142
144
|
collections: {
|
143
145
|
entries: normalizedEntries,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.DefaultNavigation-module_navigationBar__2RK0h{--default-navigation-bar-height:var(--theme-default-navigation-bar-height,50px);--default-navigation-scroller-top:var(--theme-default-navigation-scroller-top,0);--default-navigation-scroll-button-top:var(--theme-default-navigation-scroll-button-top,5px);--default-navigation-chapter-link-height:var(--theme-default-navigation-chapter-link-height,50px);--default-navigation-progress-bar-height:var(--theme-default-navigation-progress-bar-height,8px);--default-navigation-separator-color:var(--theme-default-navigation-separator-color,#e9e9e9);font-family:var(--theme-widget-font-family);position:fixed;top:calc(
|
1
|
+
.DefaultNavigation-module_navigationBar__2RK0h{--default-navigation-bar-height:var(--theme-default-navigation-bar-height,50px);--default-navigation-scroller-top:var(--theme-default-navigation-scroller-top,0);--default-navigation-scroll-button-top:var(--theme-default-navigation-scroll-button-top,5px);--default-navigation-chapter-link-height:var(--theme-default-navigation-chapter-link-height,50px);--default-navigation-progress-bar-height:var(--theme-default-navigation-progress-bar-height,8px);--default-navigation-separator-color:var(--theme-default-navigation-separator-color,#e9e9e9);font-family:var(--theme-widget-font-family);position:fixed;top:calc(var(--default-navigation-bar-height)*-1);transition:top .15s;z-index:10000;width:100%;text-align:center;height:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DefaultNavigation-module_navigationBarExpanded__C3sLq{top:0}.DefaultNavigation-module_navigationBarContentWrapper__3narH{position:relative;z-index:2;background-color:var(--theme-widget-surface-color);color:var(--theme-widget-on-surface-color);height:var(--default-navigation-bar-height);box-sizing:border-box;padding-top:var(--default-navigation-scroller-top)}.DefaultNavigation-module_menuIcon__2bb8s{position:absolute;top:0;left:12px;height:var(--default-navigation-bar-height)}.DefaultNavigation-module_contextIcons__2e65s{position:absolute;top:0;right:12px;display:flex}.DefaultNavigation-module_contextIcons__2e65s>*{pointer-events:auto}.DefaultNavigation-module_contextIcon__ELsqa{cursor:pointer;width:40px;height:var(--default-navigation-bar-height);color:var(--theme-widget-secondary-color);fill:currentcolor;stroke:currentColor}.DefaultNavigation-module_contextIcon__ELsqa svg{width:35px;height:35px;margin:7px 2px}.DefaultNavigation-module_contextIcon__ELsqa:hover,div:focus-within>.DefaultNavigation-module_contextIcon__ELsqa{color:var(--theme-widget-primary-color)}.DefaultNavigation-module_logo__3gUbx{top:0;left:15px;height:100%;max-width:15%}.DefaultNavigation-module_logo__3gUbx img{height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.DefaultNavigation-module_chapterList__3VoXX{padding:0;margin:0;list-style:none;display:flex}.DefaultNavigation-module_chapterListItem__1YF5e{position:relative;padding:0 5px;border-right:1px solid var(--default-navigation-separator-color)}.DefaultNavigation-module_chapterListItem__1YF5e:last-of-type{border-right:none}.DefaultNavigation-module_navigationTooltip__26Fvn{opacity:1!important;box-shadow:0 0 .3125rem rgba(0,0,0,.2)}.DefaultNavigation-module_progressBar__1jvov{position:relative;background-color:var(--theme-default-navigation-progress-bar-background-color,hsla(0,0%,76.1%,.8));height:var(--default-navigation-progress-bar-height);width:100%}.DefaultNavigation-module_progressIndicator__2d_e3{position:absolute;top:0;left:0;width:0;height:100%;background-color:var(--theme-default-navigation-progress-bar-indicator-color,var(--theme-accent-color))}@media screen and (max-width:767px){.DefaultNavigation-module_navigationBar__2RK0h{--default-navigation-progress-bar-height:var(--theme-default-navigation-progress-bar-height,10px)}.DefaultNavigation-module_logo__3gUbx{max-width:30%}.DefaultNavigation-module_hasChapters__3ab-r .DefaultNavigation-module_logo__3gUbx{left:65px}.DefaultNavigation-module_navigationChapters__3M6zh{display:block;position:fixed;top:calc(var(--default-navigation-bar-height) + var(--default-navigation-progress-bar-height));left:0;background:var(--theme-widget-background-color);width:100vw;bottom:0;-ms-scroll-chaining:none;overscroll-behavior:contain;overflow:scroll}.DefaultNavigation-module_navigationChaptersHidden__2TrUo{display:none}.DefaultNavigation-module_chapterList__3VoXX{display:block;padding-top:var(--default-navigation-bar-height);box-sizing:border-box;min-height:101%}.DefaultNavigation-module_chapterListItem__1YF5e{padding:1rem;margin:0 1.5rem;border-right:none;border-bottom:1px solid var(--default-navigation-separator-color)}.DefaultNavigation-module_chapterListItem__1YF5e:last-child{border-bottom:none}.DefaultNavigation-module_chapterListItem__1YF5e p{margin-top:0}}@media print{.DefaultNavigation-module_navigationBar__2RK0h{position:relative;top:0;height:auto}.DefaultNavigation-module_logo__3gUbx{left:0}.DefaultNavigation-module_chapterList__3VoXX,.DefaultNavigation-module_contextIcons__2e65s,.DefaultNavigation-module_progressBar__1jvov{display:none}}@media (min-width:768px){.HamburgerIcon-module_burgerMenuIconContainer__3aBkk{display:none}}.HamburgerIcon-module_burgerMenuIcon__1WUV0{outline:none}.HamburgerIcon-module_small__asAkY{--hamburger-icon-transform:scale(0.7);--hamburger-icon-line-width:3px}
|
2
2
|
|
3
3
|
/*!
|
4
4
|
* Hamburgers
|
@@ -6,4 +6,4 @@
|
|
6
6
|
* @author Jonathan Suh @jonsuh
|
7
7
|
* @site https://jonsuh.com/hamburgers
|
8
8
|
* @link https://github.com/jonsuh/hamburgers
|
9
|
-
*/.HamburgerIcons-module_hamburger__SOreS{display:inline-block;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible}.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn,.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{background-color:var(--theme-accent-color)}.HamburgerIcons-module_hamburger-box__10MR1{width:40px;height:24px;display:inline-block;position:relative;vertical-align:top;transform:var(--hamburger-icon-transform)}.HamburgerIcons-module_hamburger-inner__Wv7Dn{display:block;top:50%;margin-top:-2px}.HamburgerIcons-module_hamburger-inner__Wv7Dn,.HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{width:30px;height:var(--hamburger-icon-line-width,4px);background-color:var(--theme-widget-primary-color);border-radius:4px;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{content:"";display:block}.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{top:-10px}.HamburgerIcons-module_hamburger-inner__Wv7Dn:after{bottom:-10px}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn{top:auto;bottom:0;transition-duration:.13s;transition-delay:.13s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn:after{top:-20px;transition:top .2s cubic-bezier(.33333,.66667,.66667,1) .2s,opacity .1s linear}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{transition:top .12s cubic-bezier(.33333,.66667,.66667,1) .2s,transform .13s cubic-bezier(.55,.055,.675,.19)}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:.22s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:after{top:0;opacity:0;transition:top .2s cubic-bezier(.33333,0,.66667,.33333),opacity .1s linear .22s}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{top:0;transform:rotate(-90deg);transition:top .1s cubic-bezier(.33333,0,.66667,.33333) .16s,transform .13s cubic-bezier(.215,.61,.355,1) .25s}.ChapterLink-module_chapterLink__3YspQ{line-height:42px;color:var(--theme-widget-primary-color);text-decoration:none;position:relative;display:block;font-family:inherit;font-weight:700;font-size:1rem;height:42px;white-space:nowrap;padding:0 10px;margin:4px 0}.ChapterLink-module_chapterLink__3YspQ:hover,.ChapterLink-module_chapterLinkActive__9i8SL{color:var(--theme-accent-color)}.ChapterLink-module_summary__2ZfRU{color:var(--theme-widget-on-background-color)}.ChapterLink-module_tooltipBubble__3VRUO{display:none}@media (min-width:768px){.ChapterLink-module_summary__2ZfRU{display:none}.ChapterLink-module_tooltipBubble__3VRUO{display:block}}.LegalInfoMenu-module_legalInfoTooltip__Qmf8u{text-align:left}.LegalInfoMenu-module_scroller__3NPW_{overflow:auto;max-height:40vh;scrollbar-width:thin;margin-right:-5px;padding-right:5px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar{width:3px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar-thumb{background-color:var(--theme-widget-secondary-color);border-radius:2px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar-track{background-color:var(--theme-widget-surface-color)}.LegalInfoMenu-module_links__1kpsd{position:relative;padding-top:5px;padding-bottom:5px}.LegalInfoMenu-
|
9
|
+
*/.HamburgerIcons-module_hamburger__SOreS{display:inline-block;cursor:pointer;transition-property:opacity,filter;transition-duration:.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible}.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn,.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger__SOreS.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{background-color:var(--theme-accent-color)}.HamburgerIcons-module_hamburger-box__10MR1{width:40px;height:24px;display:inline-block;position:relative;vertical-align:top;transform:var(--hamburger-icon-transform)}.HamburgerIcons-module_hamburger-inner__Wv7Dn{display:block;top:50%;margin-top:-2px}.HamburgerIcons-module_hamburger-inner__Wv7Dn,.HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{width:30px;height:var(--hamburger-icon-line-width,4px);background-color:var(--theme-widget-primary-color);border-radius:4px;position:absolute;transition-property:transform;transition-duration:.15s;transition-timing-function:ease}.HamburgerIcons-module_hamburger-inner__Wv7Dn:after,.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{content:"";display:block}.HamburgerIcons-module_hamburger-inner__Wv7Dn:before{top:-10px}.HamburgerIcons-module_hamburger-inner__Wv7Dn:after{bottom:-10px}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn{top:auto;bottom:0;transition-duration:.13s;transition-delay:.13s;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn:after{top:-20px;transition:top .2s cubic-bezier(.33333,.66667,.66667,1) .2s,opacity .1s linear}.HamburgerIcons-module_hamburger--collapse__1xOkf .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{transition:top .12s cubic-bezier(.33333,.66667,.66667,1) .2s,transform .13s cubic-bezier(.55,.055,.675,.19)}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:.22s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:after{top:0;opacity:0;transition:top .2s cubic-bezier(.33333,0,.66667,.33333),opacity .1s linear .22s}.HamburgerIcons-module_hamburger--collapse__1xOkf.HamburgerIcons-module_is-active__2jpzX .HamburgerIcons-module_hamburger-inner__Wv7Dn:before{top:0;transform:rotate(-90deg);transition:top .1s cubic-bezier(.33333,0,.66667,.33333) .16s,transform .13s cubic-bezier(.215,.61,.355,1) .25s}.ChapterLink-module_chapterLink__3YspQ{line-height:42px;color:var(--theme-widget-primary-color);text-decoration:none;position:relative;display:block;font-family:inherit;font-weight:700;font-size:1rem;height:42px;white-space:nowrap;padding:0 10px;margin:4px 0}.ChapterLink-module_chapterLink__3YspQ:hover,.ChapterLink-module_chapterLinkActive__9i8SL{color:var(--theme-accent-color)}.ChapterLink-module_summary__2ZfRU{color:var(--theme-widget-on-background-color)}.ChapterLink-module_tooltipBubble__3VRUO{display:none}@media (min-width:768px){.ChapterLink-module_summary__2ZfRU{display:none}.ChapterLink-module_tooltipBubble__3VRUO{display:block}}.LegalInfoMenu-module_legalInfoTooltip__Qmf8u{text-align:left;line-height:1.4}.LegalInfoMenu-module_scroller__3NPW_{overflow:auto;max-height:40vh;scrollbar-width:thin;margin-right:-5px;padding-right:5px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar{width:3px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar-thumb{background-color:var(--theme-widget-secondary-color);border-radius:2px}.LegalInfoMenu-module_scroller__3NPW_::-webkit-scrollbar-track{background-color:var(--theme-widget-surface-color)}.LegalInfoMenu-module_links__1kpsd{position:relative;padding-top:5px;padding-bottom:5px}.LegalInfoMenu-module_separator__3mmjA:before{content:"";position:absolute;top:0;left:-5px;right:-5px;border-top:1px solid var(--theme-widget-primary-color);opacity:.1}.LegalInfoMenu-module_legalInfoTooltip__Qmf8u:after{left:90%!important}.LegalInfoMenu-module_legalInfoTooltip__Qmf8u .LegalInfoMenu-module_section__1bLWD{margin:0 0 1.4em}.LegalInfoMenu-module_legalInfoTooltip__Qmf8u a{color:var(--theme-accent-color)}.LegalInfoMenu-module_legalInfoLink__gkXaF{display:block;margin-top:5px}.LegalInfoMenu-module_rights__-XGYO,.LegalInfoMenu-module_rights__-XGYO li{margin:0;padding:0;list-style:none}.LegalInfoMenu-module_rights__-XGYO li{display:inline}header .share svg{fill:var(--theme-widget-primary-color)}header .share:hover svg{fill:var(--theme-accent-color)}.SharingMenu-module_sharingTooltip__2Tyev{width:160px;padding:0!important}.SharingMenu-module_sharingTooltip__2Tyev:after{left:90%!important}.SharingMenu-module_shareLinkContainer__3-3W6{display:inline-block;width:80px;height:60px;cursor:pointer;color:transparent;text-align:center}.SharingMenu-module_shareLink__3PdRE{position:relative;color:var(--theme-widget-primary-color);text-decoration:none}.SharingMenu-module_shareLink__3PdRE:hover{color:var(--theme-accent-color)}.SharingMenu-module_shareLink__3PdRE svg{width:80px;height:25px;margin-top:5px;margin-bottom:3px}.ToggleMuteButton-module_button__1ACmo{color:var(--theme-widget-primary-color)}.ToggleMuteButton-module_animate__pd1yK{position:relative}.ToggleMuteButton-module_animate__pd1yK:before{content:"";display:block;position:absolute;top:50%;left:50%;margin:-5px;z-index:-1;width:10px;height:10px;background-color:#ddd;border-radius:5px;-webkit-animation:ToggleMuteButton-module_pulse__2UN7Q .5s ease .2s 1;animation:ToggleMuteButton-module_pulse__2UN7Q .5s ease .2s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;pointer-events:none}@-webkit-keyframes ToggleMuteButton-module_pulse__2UN7Q{0%{opacity:.8}to{transform:scale(40);opacity:0}}@keyframes ToggleMuteButton-module_pulse__2UN7Q{0%{opacity:.8}to{transform:scale(40);opacity:0}}.SkipLinks-module_link__HMj9l{position:absolute;z-index:10000;top:-1000em;left:-1000em;display:block;border:1px solid #eee;border-radius:5px;padding:5px;background:#00375a;text-align:center;line-height:25px;color:#fff}.SkipLinks-module_link__HMj9l:focus{left:13.8%;top:13%}.utils-module_clip__34eot{-webkit-clip-path:polygon(0 0,100% 0,100% 110%,0 110%);clip-path:polygon(0 0,100% 0,100% 110%,0 110%)}.utils-module_unstyledButton__3rgne{border:0;padding:0;background-color:transparent;text-align:initial}.ScrollButton-module_button__1GKRF{position:absolute;top:var(--default-navigation-scroll-button-top);height:40px;width:20px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;z-index:1}.ScrollButton-module_button__1GKRF svg{width:18px;height:18px;color:var(--theme-widget-primary-color)}.ScrollButton-module_visible__29yco{opacity:1;visibility:visible}.ScrollButton-module_start__1XPra{right:80%}.ScrollButton-module_end__3PxQt{left:79%}@media screen and (min-width:768px){.Scroller-module_scroller__139cK{overflow:hidden;scroll-behavior:smooth;padding-bottom:90vh;pointer-events:none;margin:0 auto;width:58%}.Scroller-module_scroller__139cK>*{pointer-events:auto}@supports ((-webkit-clip-path:polygon(0 0)) or (clip-path:polygon(0 0))){.Scroller-module_scroller__139cK{width:auto;-webkit-clip-path:polygon(20% 0,79% 0,79% var(--default-navigation-chapter-link-height),100% var(--default-navigation-chapter-link-height),100% 400%,0 400%,0 var(--default-navigation-chapter-link-height),20% var(--default-navigation-chapter-link-height));clip-path:polygon(20% 0,79% 0,79% var(--default-navigation-chapter-link-height),100% var(--default-navigation-chapter-link-height),100% 400%,0 400%,0 var(--default-navigation-chapter-link-height),20% var(--default-navigation-chapter-link-height));-webkit-mask:linear-gradient(90deg,transparent 0,transparent 20%,#000 22%,#000 77%,transparent 79%,transparent) top,linear-gradient(90deg,#000 0,#000) bottom;mask:linear-gradient(90deg,transparent 0,transparent 20%,#000 22%,#000 77%,transparent 79%,transparent) top,linear-gradient(90deg,#000 0,#000) bottom;-webkit-mask-size:100% var(--default-navigation-chapter-link-height),100% calc(100% - var(--default-navigation-chapter-link-height));mask-size:100% var(--default-navigation-chapter-link-height),100% calc(100% - var(--default-navigation-chapter-link-height));-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.Scroller-module_inner__3dhuM{display:inline-block;margin:0 22%}}}
|
@@ -143,7 +143,7 @@ function ChapterLink(props) {
|
|
143
143
|
}, item);
|
144
144
|
}
|
145
145
|
|
146
|
-
var styles$3 = {"legalInfoTooltip":"LegalInfoMenu-module_legalInfoTooltip__Qmf8u","scroller":"LegalInfoMenu-module_scroller__3NPW_","links":"LegalInfoMenu-module_links__1kpsd","legalInfoLink":"LegalInfoMenu-module_legalInfoLink__gkXaF"};
|
146
|
+
var styles$3 = {"legalInfoTooltip":"LegalInfoMenu-module_legalInfoTooltip__Qmf8u","scroller":"LegalInfoMenu-module_scroller__3NPW_","links":"LegalInfoMenu-module_links__1kpsd","separator":"LegalInfoMenu-module_separator__3mmjA","section":"LegalInfoMenu-module_section__1bLWD","legalInfoLink":"LegalInfoMenu-module_legalInfoLink__gkXaF","rights":"LegalInfoMenu-module_rights__-XGYO"};
|
147
147
|
|
148
148
|
function LegalInfoLink(props) {
|
149
149
|
return /*#__PURE__*/React.createElement("div", null, props.label && props.url && /*#__PURE__*/React.createElement("a", {
|
@@ -170,11 +170,14 @@ function LegalInfoMenu(props) {
|
|
170
170
|
}, /*#__PURE__*/React.createElement("div", {
|
171
171
|
className: styles$3.scroller
|
172
172
|
}, credits && /*#__PURE__*/React.createElement("p", {
|
173
|
+
className: styles$3.section,
|
173
174
|
dangerouslySetInnerHTML: {
|
174
175
|
__html: credits
|
175
176
|
}
|
176
|
-
}), fileRights
|
177
|
-
className: styles$3.
|
177
|
+
}), fileRights.length > 0 && /*#__PURE__*/React.createElement("div", {
|
178
|
+
className: styles$3.section
|
179
|
+
}, /*#__PURE__*/React.createElement("strong", null, t('pageflow_scrolled.public.media')), " ", renderFileRights(fileRights))), /*#__PURE__*/React.createElement("div", {
|
180
|
+
className: classNames(styles$3.links, _defineProperty({}, styles$3.separator, credits || fileRights.length > 0))
|
178
181
|
}, /*#__PURE__*/React.createElement(LegalInfoLink, legalInfo.imprint), /*#__PURE__*/React.createElement(LegalInfoLink, legalInfo.copyright), /*#__PURE__*/React.createElement(LegalInfoLink, legalInfo.privacy)), /*#__PURE__*/React.createElement(Widget, {
|
179
182
|
role: "creditsBoxFooter"
|
180
183
|
}));
|
@@ -191,6 +194,37 @@ function LegalInfoMenu(props) {
|
|
191
194
|
})));
|
192
195
|
}
|
193
196
|
|
197
|
+
function renderFileRights(items) {
|
198
|
+
return /*#__PURE__*/React.createElement("ul", {
|
199
|
+
className: styles$3.rights
|
200
|
+
}, items.map(function (item, index) {
|
201
|
+
return /*#__PURE__*/React.createElement("li", {
|
202
|
+
key: index
|
203
|
+
}, index > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, "\xA0| "), renderFileRightsText(item));
|
204
|
+
}));
|
205
|
+
}
|
206
|
+
|
207
|
+
function renderFileRightsText(item) {
|
208
|
+
if (item.urls.length > 1) {
|
209
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, item.text, " (", item.urls.flatMap(function (url, index) {
|
210
|
+
return [index > 0 && ', ', /*#__PURE__*/React.createElement("a", {
|
211
|
+
href: url,
|
212
|
+
target: "_blank",
|
213
|
+
rel: "noopener noreferrer",
|
214
|
+
key: index
|
215
|
+
}, index + 1)];
|
216
|
+
}), ")");
|
217
|
+
} else if (item.urls.length === 1) {
|
218
|
+
return /*#__PURE__*/React.createElement("a", {
|
219
|
+
href: item.urls[0],
|
220
|
+
target: "_blank",
|
221
|
+
rel: "noopener noreferrer"
|
222
|
+
}, item.text);
|
223
|
+
} else {
|
224
|
+
return item.text;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
194
228
|
var styles$4 = {"sharingTooltip":"SharingMenu-module_sharingTooltip__2Tyev","shareLinkContainer":"SharingMenu-module_shareLinkContainer__3-3W6","shareLink":"SharingMenu-module_shareLink__3PdRE"};
|
195
229
|
|
196
230
|
function SharingMenu(_ref) {
|
@@ -521,6 +555,7 @@ function DefaultNavigation(_ref) {
|
|
521
555
|
var shareProviders = useShareProviders({
|
522
556
|
isPhonePlatform: isPhonePlatform
|
523
557
|
});
|
558
|
+
var theme = useTheme();
|
524
559
|
useScrollPosition(function (_ref2) {
|
525
560
|
var prevPos = _ref2.prevPos,
|
526
561
|
currPos = _ref2.currPos;
|
@@ -596,7 +631,7 @@ function DefaultNavigation(_ref) {
|
|
596
631
|
mobileNavHidden: mobileNavHidden
|
597
632
|
}), /*#__PURE__*/React.createElement(SkipLinks, null), /*#__PURE__*/React.createElement(Logo, null), renderNav(), /*#__PURE__*/React.createElement("div", {
|
598
633
|
className: classNames(styles.contextIcons)
|
599
|
-
}, !configuration.hideToggleMuteButton && /*#__PURE__*/React.createElement(ToggleMuteButton, null), /*#__PURE__*/React.createElement(LegalInfoMenu, {
|
634
|
+
}, !configuration.hideToggleMuteButton && /*#__PURE__*/React.createElement(ToggleMuteButton, null), !theme.options.hideLegalInfoButton && /*#__PURE__*/React.createElement(LegalInfoMenu, {
|
600
635
|
tooltipOffset: hideSharingButton ? -40 : 0
|
601
636
|
}), !hideSharingButton && /*#__PURE__*/React.createElement(SharingMenu, {
|
602
637
|
shareProviders: shareProviders
|
@@ -0,0 +1 @@
|
|
1
|
+
.IconInlineFileRights-module_standAlone__15788{color:#fff;position:absolute;right:0;bottom:0;left:0;display:flex;justify-content:flex-end;pointer-events:none}.IconInlineFileRights-module_standAlone__15788>*{pointer-events:auto}.IconInlineFileRights-module_button__o5ZmR{border:0;padding:0;background-color:transparent;width:44px;height:40px;margin:0;display:flex;align-items:center;justify-content:center;color:currentColor;cursor:pointer;position:relative}.IconInlineFileRights-module_button__o5ZmR,.IconInlineFileRights-module_tooltip__2e1u8{transition:opacity .2s,visibility .2s}.IconInlineFileRights-module_transparent__2dVaA .IconInlineFileRights-module_button__o5ZmR{opacity:.6}.IconInlineFileRights-module_wrapper__2kQK_:active .IconInlineFileRights-module_button__o5ZmR,.IconInlineFileRights-module_wrapper__2kQK_:focus .IconInlineFileRights-module_button__o5ZmR,.IconInlineFileRights-module_wrapper__2kQK_:hover .IconInlineFileRights-module_button__o5ZmR{opacity:1}.IconInlineFileRights-module_button__o5ZmR svg{width:23px;height:23px}.IconInlineFileRights-module_standAlone__15788 .IconInlineFileRights-module_button__o5ZmR svg{filter:drop-shadow(0 1px 4px #000)}.IconInlineFileRights-module_tooltip__2e1u8{font-size:13.5555px;font-family:sans-serif;line-height:1.4;position:absolute;bottom:38px;right:5px;background-color:rgba(17,17,17,.9);border-radius:3px;color:#fff;padding:8px;visibility:hidden;opacity:0;text-align:right;margin-left:10px;box-sizing:border-box;max-width:95%;z-index:1}.IconInlineFileRights-module_tooltip__2e1u8:after{content:"";display:block;border:5px solid transparent;border-top-color:rgba(17,17,17,.9);position:absolute;right:11px;top:100%}.IconInlineFileRights-module_tooltip__2e1u8 a{color:#fff;-webkit-text-decoration-color:hsla(0,0%,100%,.3);text-decoration-color:hsla(0,0%,100%,.3)}.IconInlineFileRights-module_tooltip__2e1u8 span{color:hsla(0,0%,100%,.7)}.IconInlineFileRights-module_wrapper__2kQK_:focus-within .IconInlineFileRights-module_tooltip__2e1u8,.IconInlineFileRights-module_wrapper__2kQK_:hover .IconInlineFileRights-module_tooltip__2e1u8{visibility:visible;opacity:1}.IconInlineFileRights-module_scroller__1hT8t{overflow:auto;overflow-y:hidden;scrollbar-width:thin}.IconInlineFileRights-module_scroller__1hT8t::-webkit-scrollbar{height:12px}.IconInlineFileRights-module_scroller__1hT8t::-webkit-scrollbar-thumb{background-color:hsla(0,0%,100%,.9);border-radius:20px;border:3px solid rgba(17,17,17,.9)}
|