j1-template 2024.3.21 → 2024.3.23
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.
- checksums.yaml +4 -4
- data/assets/data/amplitude_app.html +60 -51
- data/assets/data/{galeries.html → gallery_app.html} +4 -4
- data/assets/theme/bla +0 -0
- data/assets/theme/j1/adapter/js/advertising.js +40 -38
- data/assets/theme/j1/adapter/js/algolia.js +13 -11
- data/assets/theme/j1/adapter/js/amplitude.js +628 -380
- data/assets/theme/j1/adapter/js/analytics.js +19 -17
- data/assets/theme/j1/adapter/js/asciidoctor.js +10 -8
- data/assets/theme/j1/adapter/js/attic.js +24 -22
- data/assets/theme/j1/adapter/js/bmd.js +10 -8
- data/assets/theme/j1/adapter/js/carousel.js +12 -9
- data/assets/theme/j1/adapter/js/chatbot.js +106 -104
- data/assets/theme/j1/adapter/js/clipboard.js +16 -14
- data/assets/theme/j1/adapter/js/comments.js +24 -22
- data/assets/theme/j1/adapter/js/cookieConsent.js +5 -1
- data/assets/theme/j1/adapter/js/customFunctions.js +12 -10
- data/assets/theme/j1/adapter/js/customModule.js +10 -8
- data/assets/theme/j1/adapter/js/docsearch.js +33 -31
- data/assets/theme/j1/adapter/js/dropdowns.js +16 -14
- data/assets/theme/j1/adapter/js/fab.js +34 -32
- data/assets/theme/j1/adapter/js/gallery.js +22 -20
- data/assets/theme/j1/adapter/js/gemini.js +66 -64
- data/assets/theme/j1/adapter/js/iconPicker.js +31 -29
- data/assets/theme/j1/adapter/js/iconPickerPage.js +11 -9
- data/assets/theme/j1/adapter/js/iframer.js +17 -15
- data/assets/theme/j1/adapter/js/j1.js +146 -143
- data/assets/theme/j1/adapter/js/lazyLoader.js +33 -31
- data/assets/theme/j1/adapter/js/lightbox.js +9 -7
- data/assets/theme/j1/adapter/js/logger.js +11 -9
- data/assets/theme/j1/adapter/js/lunr.js +37 -35
- data/assets/theme/j1/adapter/js/masonry.js +23 -21
- data/assets/theme/j1/adapter/js/masterslider.js +31 -29
- data/assets/theme/j1/adapter/js/mmenu.js +25 -23
- data/assets/theme/j1/adapter/js/navigator.js +43 -41
- data/assets/theme/j1/adapter/js/particles.js +12 -10
- data/assets/theme/j1/adapter/js/rangeSlider.js +21 -19
- data/assets/theme/j1/adapter/js/rouge.js +10 -8
- data/assets/theme/j1/adapter/js/rtable.js +14 -12
- data/assets/theme/j1/adapter/js/rtextResizer.js +10 -8
- data/assets/theme/j1/adapter/js/scroller.js +15 -13
- data/assets/theme/j1/adapter/js/slick.js +18 -16
- data/assets/theme/j1/adapter/js/slimSelect.js +30 -28
- data/assets/theme/j1/adapter/js/speak2me.js +25 -23
- data/assets/theme/j1/adapter/js/swiper.js +13 -11
- data/assets/theme/j1/adapter/js/themeToggler.js +11 -9
- data/assets/theme/j1/adapter/js/themes.js +60 -86
- data/assets/theme/j1/adapter/js/toccer.js +13 -11
- data/assets/theme/j1/adapter/js/translator.js +19 -16
- data/assets/theme/j1/adapter/js/videojs.js +9 -7
- data/assets/theme/j1/adapter/js/waves.js +18 -16
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +19 -52
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/js/template.js +11180 -10968
- data/assets/theme/j1/core/js/template.min.js +13 -18
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +10 -4
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +15 -8
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +2 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +35 -14
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +817 -695
- data/assets/theme/j1/modules/backstretch/js/backstretch.js +2 -2
- data/assets/theme/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.js +11 -11
- data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -1
- data/assets/theme/j1/modules/dropdowns/js/dropdowns.js +2 -2
- data/assets/theme/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
- data/assets/theme/j1/modules/fab/js/fab.js +2 -2
- data/assets/theme/j1/modules/fab/js/fab.min.js +1 -1
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +984 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +1627 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +25 -0
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.css +1 -1
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.min.css +1 -1
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +54 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +2782 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +44 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +37 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +890 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +8 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +585 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +275 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +230 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +160 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +223 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +157 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +164 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +299 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +244 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +509 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +909 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +207 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +999 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.css +3 -126
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.min.css +3 -10
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.css +70 -237
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.min.css +4 -10
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/animation-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/customize-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/dynamic-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/facebook-icon.svg +10 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/googleplus-icon.svg +30 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/html5-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/linked-in.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/module-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button-hover.svg +94 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.svg +93 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/responsive-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/thumb-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/touch-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter-icon.svg +15 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/video1-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +276 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +17 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +163 -120
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +495 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +513 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +553 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +914 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.min.js +5 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +179 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.min.js +32 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.min.js +6 -7
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +27 -20
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +77 -125
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +11 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +5 -5
- data/assets/theme/j1/modules/lunr/js/j1.js +1 -1
- data/assets/theme/j1/modules/lunr/js/j1.min.js +2 -1
- data/assets/theme/j1/modules/rtable/js/rtable.js +2 -2
- data/assets/theme/j1/modules/rtable/js/rtable.min.js +2 -1
- data/assets/theme/j1/modules/scroller/js/scroller.js +31 -29
- data/assets/theme/j1/modules/scroller/js/scroller.min.js +2 -1
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +38 -37
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.min.js +2 -1
- data/assets/theme/j1/modules/translator/js/translator.js +17 -17
- data/assets/theme/j1/modules/translator/js/translator.min.js +1 -1
- data/assets/theme/j1/modules/videoPlayer/tiktoc/README.md +1 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +151 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +150 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +147 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +113 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +166 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +72 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +311 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +19 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +1686 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +13 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +65226 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +55 -0
- data/assets/theme/j1/modules/videojs/assets/README.md +1 -0
- data/assets/theme/j1/modules/videojs/assets/icons/speedometer-medium.svg +35 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.ttf +0 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.woff +0 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +157 -22
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +674 -316
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +4 -3
- data/assets/theme/j1/modules/videojs/js/video.js +15893 -12288
- data/assets/theme/j1/modules/videojs/js/video.min.js +22 -23
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +31 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/README.md +69 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.min.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.js +339 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.min.js +2 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.js +0 -5
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +29 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/README.md +90 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.js +120 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.min.js +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +37 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/README.md +61 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.js +94 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.min.js +20 -0
- data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/skipbuttons/README.md +25 -11
- data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/zoom/css}/zoom.css +7 -6
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +22 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.js +11 -9
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.min.js +19 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.0.js +521 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.1.js +605 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.3.js +643 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.4.js +583 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.5.js +665 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.6.js +642 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.7.js +673 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.min.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm → plugins/players/vm/js}/vimeo.js +13 -12
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.0.js +395 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.1.js +401 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.js +13 -11
- data/assets/theme/j1/modules/videojs/plugins/players/wt/js/wistia.min.js +21 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.js +10 -8
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +21 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/amplitude_playlists.yml +140 -80
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +5 -3
- data/lib/starter_web/_data/modules/defaults/gallery.yml +3 -3
- data/lib/starter_web/_data/modules/gallery.yml +83 -87
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/resources.yml +16 -12
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +50 -22
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +37 -16
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/audio/album/emancipator/Alligator.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/DabCity.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/SeaToSky.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/TimeForSpace.mp3 +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/alligator.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/anthem.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/dab-city.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/safe-in-the-steep-cliffs.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/sea-to-sky.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/soon-it-will-be-cold-enough.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/tine-for-space.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/fall_2011.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +282 -0
- data/lib/starter_web/pages/public/tour/audio_data.adoc +11 -6
- data/lib/starter_web/pages/public/tour/video_data.adoc +1 -0
- metadata +238 -115
- data/assets/data/swiper_app.2.html +0 -757
- data/assets/data/swiper_app.4.html +0 -769
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +0 -32
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +0 -31
- data/assets/theme/j1/modules/videojs/css/plugins/controls/zoom.min.css +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +0 -19
- data/assets/theme/j1/modules/videojs/js/plugins/players/vm/vimeo.min.js +0 -16
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/api/src/WistiaPlayer.ts +0 -1617
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/wistia.min.js +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +0 -21
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/anthem.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/from-dusk-to-dawn.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/safe-in-the-steep-cliffs.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/soon-it-will-be-cold-enough.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/stay_colorful.jpg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/animation-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/customize-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/dynamic-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/facebook-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/googleplus-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/html5-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/linked-in.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/module-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button-hover.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/responsive-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/thumb-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/touch-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/video1-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.js +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.min.js +0 -0
- /data/assets/theme/j1/modules/videoPlayer/dailymotion/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/tiktoc/{js/player.min.js → player.min.js} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/vimeo/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/wistia/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{css → !v8.12.0/css}/font/video-js-cdn.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys/examples → plugins/controls/hotkeys/!examples}/example.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.css +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.min.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/styles.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/doc → plugins/players/dm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/api/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api/doc → plugins/players/dm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/icon/scalable/dailymotion.svg +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/player/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/doc → plugins/players/vm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api/doc → plugins/players/vm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.uno.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/doc → plugins/players/wt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api/doc/Readme.txt → plugins/players/wt/api/README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api → plugins/players/wt/api/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-list.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/yt/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/doc → plugins/players/yt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/api → plugins/players/yt/api/js}/youtube.min.js +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn → !info}/!sound.links.txt +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/Anthem.mp3 → Anthem.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/DuskToDawn.mp3 → DuskToDawn.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/FirstSnow.mp3 → FirstSnow.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/SafeInTheSteepCliffs.mp3 → SafeInTheSteepCliffs.mp3} +0 -0
@@ -107,6 +107,8 @@ regenerate: true
|
|
107
107
|
"use strict";
|
108
108
|
j1.adapter.themes = (function (j1, window) {
|
109
109
|
|
110
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
111
|
+
|
110
112
|
{% comment %} Set global variables
|
111
113
|
------------------------------------------------------------------------------ {% endcomment %}
|
112
114
|
var environment = '{{environment}}';
|
@@ -256,52 +258,14 @@ j1.adapter.themes = (function (j1, window) {
|
|
256
258
|
user_consent = j1.readCookie(cookie_names.user_consent);
|
257
259
|
|
258
260
|
_this.setState('started');
|
259
|
-
logger.debug('
|
260
|
-
logger.info('
|
261
|
+
logger.debug('state: ' + _this.getState());
|
262
|
+
logger.info('module is being initialized');
|
261
263
|
|
262
264
|
// hide page until 'theme' is loaded
|
263
|
-
logger.info('
|
265
|
+
logger.info('hide page until theme is loaded');
|
264
266
|
$('#no_flicker').hide();
|
265
267
|
|
266
|
-
logger.info('
|
267
|
-
|
268
|
-
// load previously selected theme from cookie (preferred)
|
269
|
-
// if (user_state.theme_css !== '') {
|
270
|
-
// user_state.theme_name = default_theme_name;
|
271
|
-
// user_state.theme_css = default_theme_css;
|
272
|
-
// user_state.theme_author = default_theme_author;
|
273
|
-
// user_state.theme_author_url = default_theme_author_url;
|
274
|
-
|
275
|
-
// cookie_written = j1.writeCookie({
|
276
|
-
// name: cookie_names.user_state,
|
277
|
-
// data: user_state,
|
278
|
-
// secure: secure,
|
279
|
-
// expires: 365
|
280
|
-
// });
|
281
|
-
|
282
|
-
// if (!cookie_written) {
|
283
|
-
// logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
|
284
|
-
// }
|
285
|
-
// } // END load previously selected theme
|
286
|
-
|
287
|
-
// load default theme (j1_config and NO theme given with (user_state) cookie
|
288
|
-
// if (user_state.theme_css === '' && default_theme_css.theme_css !== '') {
|
289
|
-
// user_state.theme_name = default_theme_name;
|
290
|
-
// user_state.theme_css = default_theme_css;
|
291
|
-
// user_state.theme_author = default_theme_author;
|
292
|
-
// user_state.theme_author_url = default_theme_author_url;
|
293
|
-
|
294
|
-
// cookie_written = j1.writeCookie({
|
295
|
-
// name: cookie_names.user_state,
|
296
|
-
// data: user_state,
|
297
|
-
// secure: secure,
|
298
|
-
// expires: 365
|
299
|
-
// });
|
300
|
-
|
301
|
-
// if (!cookie_written) {
|
302
|
-
// logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
|
303
|
-
// }
|
304
|
-
// } // END load default theme
|
268
|
+
logger.info('cookie ' + cookie_names.user_state + ' successfully loaded after: ' + interval_count * 25 + ' ms');
|
305
269
|
|
306
270
|
// load default theme if NO theme given with (user_state) cookie
|
307
271
|
if (user_state.theme_css === '') {
|
@@ -318,43 +282,53 @@ j1.adapter.themes = (function (j1, window) {
|
|
318
282
|
});
|
319
283
|
|
320
284
|
if (!cookie_written) {
|
321
|
-
logger.error('
|
285
|
+
logger.error('failed to write cookie: ' + cookie_names.user_consent);
|
322
286
|
}
|
323
|
-
} // END
|
287
|
+
} // END load default theme
|
324
288
|
|
325
289
|
// set the theme switcher state
|
326
290
|
user_state.theme_switcher = themesOptions.enabled;
|
327
291
|
if (themesOptions.enabled) {
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
292
|
+
// enable BS ThemeSwitcher
|
293
|
+
logger.info('themes detected as: ' + themesOptions.enabled);
|
294
|
+
logger.info('remote themes are being initialized');
|
295
|
+
|
296
|
+
// validate if theme api json can be loaded
|
297
|
+
var bootswatchApiJson = `${themesOptions.bootswatchApiUrl}/${themesOptions.bootswatchApiVersion}.json`;
|
298
|
+
urlExists(bootswatchApiJson, function(success) {
|
299
|
+
// load theme
|
300
|
+
if (success) {
|
301
|
+
logger.debug('LOAD remote themes from: ' + bootswatchApiJson);
|
302
|
+
// continue processing if ap json is available
|
303
|
+
/* eslint-disable */
|
304
|
+
// load list of remote themes (api json file)
|
305
|
+
$('#remote_themes').ThemeSwitcher.defaults = {
|
306
|
+
debug: themesOptions.debug,
|
307
|
+
saveToCookie: themesOptions.saveToCookie,
|
308
|
+
cssThemeLink: themesOptions.cssThemeLink,
|
309
|
+
cookieThemeName: themesOptions.cookieThemeName,
|
310
|
+
cookieDefaultThemeName: themesOptions.cookieDefaultThemeName,
|
311
|
+
cookieThemeCss: themesOptions.cookieThemeCss,
|
312
|
+
cookieThemeExtensionCss: themesOptions.cookieThemeExtensionCss,
|
313
|
+
cookieExpiration: themesOptions.cookieExpiration,
|
314
|
+
cookiePath: themesOptions.cookiePath,
|
315
|
+
defaultCssFile: themesOptions.defaultCssFile,
|
316
|
+
bootswatchApiUrl: themesOptions.bootswatchApiUrl,
|
317
|
+
bootswatchApiVersion: themesOptions.bootswatchApiVersion,
|
318
|
+
loadFromBootswatch: themesOptions.loadFromBootswatch,
|
319
|
+
localFeed: themesOptions.localThemes,
|
320
|
+
excludeBootswatch: themesOptions.excludeBootswatch,
|
321
|
+
includeBootswatch: themesOptions.includeBootswatch,
|
322
|
+
skipIncludeBootswatch: themesOptions.skipIncludeBootswatch
|
323
|
+
};
|
324
|
+
/* eslint-enable */
|
325
|
+
} else {
|
326
|
+
// failed to load oad list of remote themes (api json file)
|
327
|
+
// TODO: create fallback strategy
|
328
|
+
logger.error('failed to LOAD remote themes from: ' + bootswatchApiJson);
|
329
|
+
} // END if success
|
330
|
+
}); // END urlExists
|
331
|
+
} // END if themesOptions.enabled
|
358
332
|
|
359
333
|
// validate theme to be loaded
|
360
334
|
urlExists(user_state.theme_css, function(success) {
|
@@ -370,12 +344,12 @@ j1.adapter.themes = (function (j1, window) {
|
|
370
344
|
}, 10); // END dependencies_met_theme_loaded
|
371
345
|
} else {
|
372
346
|
// invalid theme, fallback on default
|
373
|
-
logger.warn('
|
347
|
+
logger.warn('themes CSS invalid: ' + user_state.theme_css);
|
374
348
|
|
375
349
|
theme_css_html = '<link rel="stylesheet" id="' + id + '" href="' + default_theme_css + '" type="text/css">';
|
376
350
|
|
377
|
-
logger.debug('
|
378
|
-
logger.debug('
|
351
|
+
logger.debug('set default theme :' + default_theme_name);
|
352
|
+
logger.debug('theme CSS loaded: ' + default_theme_css);
|
379
353
|
|
380
354
|
|
381
355
|
$('head').append(theme_css_html);
|
@@ -394,7 +368,7 @@ j1.adapter.themes = (function (j1, window) {
|
|
394
368
|
});
|
395
369
|
|
396
370
|
if (!cookie_written) {
|
397
|
-
logger.error('
|
371
|
+
logger.error('failed to write cookie: ' + cookie_names.user_consent);
|
398
372
|
}
|
399
373
|
|
400
374
|
// reload page using the default thme
|
@@ -413,17 +387,17 @@ j1.adapter.themes = (function (j1, window) {
|
|
413
387
|
|
414
388
|
if (styleLoaded) {
|
415
389
|
// show page (theme is loaded)
|
416
|
-
logger.info('
|
417
|
-
logger.debug('
|
418
|
-
logger.info('
|
390
|
+
logger.info('theme loaded successfully: ' + user_state.theme_name);
|
391
|
+
logger.debug('theme CSS loaded: ' + user_state.theme_css);
|
392
|
+
logger.info('show page on theme loaded');
|
419
393
|
$('#no_flicker').show();
|
420
394
|
|
421
395
|
_this.setState('finished');
|
422
|
-
logger.debug('
|
423
|
-
logger.info('
|
396
|
+
logger.debug('state: ' + _this.getState());
|
397
|
+
logger.info('initializing module finished');
|
424
398
|
|
425
399
|
endTimeModule = Date.now();
|
426
|
-
logger.info('
|
400
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
427
401
|
|
428
402
|
clearInterval(dependencies_met_theme_applied);
|
429
403
|
} // ENF if styleLoaded
|
@@ -438,7 +412,7 @@ j1.adapter.themes = (function (j1, window) {
|
|
438
412
|
messageHandler: (sender, message) => {
|
439
413
|
var json_message = JSON.stringify(message, undefined, 2);
|
440
414
|
|
441
|
-
logText = '
|
415
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
442
416
|
logger.debug(logText);
|
443
417
|
|
444
418
|
// -----------------------------------------------------------------------
|
@@ -450,7 +424,7 @@ j1.adapter.themes = (function (j1, window) {
|
|
450
424
|
// place handling of command|action here
|
451
425
|
//
|
452
426
|
|
453
|
-
logger.info(
|
427
|
+
logger.info(message.text);
|
454
428
|
}
|
455
429
|
|
456
430
|
//
|
@@ -98,6 +98,8 @@ regenerate: true
|
|
98
98
|
"use strict";
|
99
99
|
j1.adapter.toccer = (() => {
|
100
100
|
|
101
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
102
|
+
|
101
103
|
{% comment %} Set global variables
|
102
104
|
------------------------------------------------------------------------------ {% endcomment %}
|
103
105
|
var environment = '{{environment}}';
|
@@ -165,8 +167,8 @@ j1.adapter.toccer = (() => {
|
|
165
167
|
|
166
168
|
// initialize state flag
|
167
169
|
// _this.setState('started');
|
168
|
-
// logger.debug('
|
169
|
-
// logger.info('
|
170
|
+
// logger.debug('state: ' + _this.getState());
|
171
|
+
// logger.info('module is being initialized');
|
170
172
|
|
171
173
|
// -----------------------------------------------------------------------
|
172
174
|
// module initializer
|
@@ -181,8 +183,8 @@ j1.adapter.toccer = (() => {
|
|
181
183
|
startTimeModule = Date.now();
|
182
184
|
|
183
185
|
_this.setState('started');
|
184
|
-
logger.debug('
|
185
|
-
logger.info('
|
186
|
+
logger.debug('state: ' + _this.getState());
|
187
|
+
logger.info('module is being initialized');
|
186
188
|
|
187
189
|
_this.initToccerCore(toccerOptions);
|
188
190
|
|
@@ -190,11 +192,11 @@ j1.adapter.toccer = (() => {
|
|
190
192
|
_this['moduleOptions'] = toccerOptions;
|
191
193
|
|
192
194
|
_this.setState('finished');
|
193
|
-
logger.debug('
|
194
|
-
logger.info('
|
195
|
+
logger.debug('state: ' + _this.getState());
|
196
|
+
logger.info('initializing module finished');
|
195
197
|
|
196
198
|
endTimeModule = Date.now();
|
197
|
-
logger.info('
|
199
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
198
200
|
|
199
201
|
clearInterval(dependencies_met_toccer);
|
200
202
|
} // END
|
@@ -209,7 +211,7 @@ j1.adapter.toccer = (() => {
|
|
209
211
|
var scrollOffset = j1.getScrollOffset(scrollOffsetCorrection) + scrollOffsetCorrection;
|
210
212
|
|
211
213
|
_this.setState('running');
|
212
|
-
logger.debug('
|
214
|
+
logger.debug('state: ' + _this.getState());
|
213
215
|
|
214
216
|
// tocbot get fired if HTML portion is loaded (AJAX load finished)
|
215
217
|
var dependencies_met_ajax_load_finished = setInterval (() => {
|
@@ -260,7 +262,7 @@ j1.adapter.toccer = (() => {
|
|
260
262
|
});
|
261
263
|
/* eslint-enable */
|
262
264
|
|
263
|
-
logger.debug('
|
265
|
+
logger.debug('met dependencies for: loadHTML');
|
264
266
|
clearInterval(dependencies_met_ajax_load_finished);
|
265
267
|
} // END AJAX load finished
|
266
268
|
}, 10); // END dependencies_met_ajax_load_finished
|
@@ -274,7 +276,7 @@ j1.adapter.toccer = (() => {
|
|
274
276
|
messageHandler: (sender, message) => {
|
275
277
|
var json_message = JSON.stringify(message, undefined, 2);
|
276
278
|
|
277
|
-
logText = '
|
279
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
278
280
|
logger.debug(logText);
|
279
281
|
|
280
282
|
// -----------------------------------------------------------------------
|
@@ -286,7 +288,7 @@ j1.adapter.toccer = (() => {
|
|
286
288
|
// place handling of command|action here
|
287
289
|
//
|
288
290
|
|
289
|
-
logger.info(
|
291
|
+
logger.info(message.text);
|
290
292
|
}
|
291
293
|
|
292
294
|
//
|
@@ -87,6 +87,9 @@ regenerate: true
|
|
87
87
|
"use strict";
|
88
88
|
|
89
89
|
j1.adapter.translator = (function (j1, window) {
|
90
|
+
|
91
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
92
|
+
|
90
93
|
var environment = '{{environment}}';
|
91
94
|
var state = 'not_started';
|
92
95
|
var user_translate = {};
|
@@ -221,15 +224,15 @@ j1.adapter.translator = (function (j1, window) {
|
|
221
224
|
}
|
222
225
|
|
223
226
|
_this.setState('started');
|
224
|
-
logger.debug('
|
225
|
-
logger.info('
|
227
|
+
logger.debug('state: ' + _this.getState ());
|
228
|
+
logger.info('module is being initialized');
|
226
229
|
|
227
230
|
// load|initialize user translate cookie
|
228
231
|
//
|
229
232
|
if (j1.existsCookie(cookie_names.user_translate)) {
|
230
233
|
user_translate = j1.readCookie(cookie_names.user_translate);
|
231
234
|
} else {
|
232
|
-
logger.debug ('
|
235
|
+
logger.debug ('write to cookie : ' + cookie_names.user_translate);
|
233
236
|
cookie_written = j1.writeCookie({
|
234
237
|
name: cookie_names.user_translate,
|
235
238
|
data: user_translate,
|
@@ -252,7 +255,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
252
255
|
// disable google translate button if visible
|
253
256
|
//
|
254
257
|
if ($('#quickLinksTranslateButton').css('display') === 'block') {
|
255
|
-
logger.info('
|
258
|
+
logger.info('disable quickLinksTranslateButton');
|
256
259
|
$('#quickLinksTranslateButton').css('display', 'none');
|
257
260
|
}
|
258
261
|
}
|
@@ -260,7 +263,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
260
263
|
// enable google translate button if NOT visible
|
261
264
|
//
|
262
265
|
if ($('#quickLinksTranslateButton').css('display') === 'none') {
|
263
|
-
logger.info('
|
266
|
+
logger.info('enable quickLinksTranslateButton');
|
264
267
|
$('#quickLinksTranslateButton').css('display', 'block');
|
265
268
|
}
|
266
269
|
}
|
@@ -282,7 +285,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
282
285
|
//
|
283
286
|
j1.expireCookie({ name: cookie_names.user_translate });
|
284
287
|
} else {
|
285
|
-
logger.debug('
|
288
|
+
logger.debug('write to cookie : ' + cookie_names.user_translate);
|
286
289
|
cookie_written = j1.writeCookie({
|
287
290
|
name: cookie_names.user_translate,
|
288
291
|
data: user_translate,
|
@@ -330,7 +333,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
330
333
|
// enable|disable translation (after callback)
|
331
334
|
if (user_translate.analysis && user_translate.personalization && user_translate.translationEnabled) {
|
332
335
|
if (translatorOptions.translatorName === 'google') {
|
333
|
-
logger.info('
|
336
|
+
logger.info('append Google Translate Script: ' + gtTranslateScript.id);
|
334
337
|
head.appendChild(gtTranslateScript);
|
335
338
|
if ($('google_translate_element')) {
|
336
339
|
$('google_translate_element').hide();
|
@@ -338,8 +341,8 @@ j1.adapter.translator = (function (j1, window) {
|
|
338
341
|
}
|
339
342
|
} else {
|
340
343
|
if (translatorOptions.translatorName === 'google') {
|
341
|
-
logger.info('
|
342
|
-
logger.info('
|
344
|
+
logger.info('translation disabled');
|
345
|
+
logger.info('remove existing Google Translate cookies');
|
343
346
|
|
344
347
|
// remove all googtrans cookies that POTENTIALLY exists
|
345
348
|
//
|
@@ -355,8 +358,8 @@ j1.adapter.translator = (function (j1, window) {
|
|
355
358
|
// -------------------------------------------------------------------
|
356
359
|
|
357
360
|
_this.setState('finished');
|
358
|
-
logger.debug('
|
359
|
-
logger.info('
|
361
|
+
logger.debug('state: ' + _this.getState());
|
362
|
+
logger.info('module initialized successfully');
|
360
363
|
|
361
364
|
clearInterval(dependencies_met_page_ready);
|
362
365
|
}
|
@@ -370,8 +373,8 @@ j1.adapter.translator = (function (j1, window) {
|
|
370
373
|
// -------------------------------------------------------------------------
|
371
374
|
postTranslateElementInit: function (response) {
|
372
375
|
// code for post processing
|
373
|
-
logger.info('
|
374
|
-
logger.info(
|
376
|
+
logger.info('postTranslateElementInit entered');
|
377
|
+
logger.info(response.T.Dh);
|
375
378
|
|
376
379
|
return;
|
377
380
|
}, // END postTranslateElementInit
|
@@ -411,7 +414,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
411
414
|
}
|
412
415
|
|
413
416
|
selectedTranslationLanguage = msDropdown.value;
|
414
|
-
logger.info('
|
417
|
+
logger.info('selected translation language: ' + selectedTranslationLanguage);
|
415
418
|
|
416
419
|
// set content language
|
417
420
|
//
|
@@ -485,7 +488,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
485
488
|
messageHandler: function (sender, message) {
|
486
489
|
var json_message = JSON.stringify(message, undefined, 2);
|
487
490
|
|
488
|
-
logText = '
|
491
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
489
492
|
logger.debug(logText);
|
490
493
|
|
491
494
|
// -----------------------------------------------------------------------
|
@@ -497,7 +500,7 @@ j1.adapter.translator = (function (j1, window) {
|
|
497
500
|
// Place handling of command|action here
|
498
501
|
//
|
499
502
|
|
500
|
-
logger.info(
|
503
|
+
logger.info(message.text);
|
501
504
|
}
|
502
505
|
|
503
506
|
//
|
@@ -73,6 +73,8 @@ regenerate: true
|
|
73
73
|
"use strict";
|
74
74
|
j1.adapter.videojs = ((j1, window) => {
|
75
75
|
|
76
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
77
|
+
|
76
78
|
{% comment %} Set global variables
|
77
79
|
------------------------------------------------------------------------------ {% endcomment %}
|
78
80
|
var vjsDefaults;
|
@@ -132,19 +134,19 @@ j1.adapter.videojs = ((j1, window) => {
|
|
132
134
|
startTimeModule = Date.now();
|
133
135
|
|
134
136
|
_this.setState('started');
|
135
|
-
logger.debug('
|
136
|
-
logger.info('
|
137
|
+
logger.debug('state: ' + _this.getState());
|
138
|
+
logger.info('module is being initialized');
|
137
139
|
|
138
140
|
// save vjsOptions for later access
|
139
141
|
j1.modules.videojs = {};
|
140
142
|
j1.modules.videojs.options = vjsOptions || {};
|
141
143
|
|
142
144
|
_this.setState('finished');
|
143
|
-
logger.debug('
|
144
|
-
logger.info('
|
145
|
+
logger.debug('state: ' + _this.getState());
|
146
|
+
logger.info('initializing module finished');
|
145
147
|
|
146
148
|
endTimeModule = Date.now();
|
147
|
-
logger.info('
|
149
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
148
150
|
|
149
151
|
clearInterval(dependencies_met_page_ready);
|
150
152
|
} // END pageVisible
|
@@ -159,7 +161,7 @@ j1.adapter.videojs = ((j1, window) => {
|
|
159
161
|
messageHandler: (sender, message) => {
|
160
162
|
var json_message = JSON.stringify(message, undefined, 2);
|
161
163
|
|
162
|
-
logText = '
|
164
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
163
165
|
logger.debug(logText);
|
164
166
|
|
165
167
|
// -----------------------------------------------------------------------
|
@@ -171,7 +173,7 @@ j1.adapter.videojs = ((j1, window) => {
|
|
171
173
|
// place handling of command|action here
|
172
174
|
//
|
173
175
|
|
174
|
-
logger.info(
|
176
|
+
logger.info(message.text);
|
175
177
|
}
|
176
178
|
|
177
179
|
//
|
@@ -86,6 +86,8 @@ regenerate: true
|
|
86
86
|
"use strict";
|
87
87
|
j1.adapter.waves = ((j1, window) => {
|
88
88
|
|
89
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
90
|
+
|
89
91
|
{% comment %} Set global variables
|
90
92
|
------------------------------------------------------------------------------ {% endcomment %}
|
91
93
|
var environment = '{{environment}}';
|
@@ -166,40 +168,40 @@ j1.adapter.waves = ((j1, window) => {
|
|
166
168
|
theme_enabled = waveOptions.themes.indexOf(theme) > -1 ? true : false;
|
167
169
|
|
168
170
|
_this.setState('started');
|
169
|
-
logger.debug('
|
170
|
-
logger.info('
|
171
|
+
logger.debug('state: ' + _this.getState());
|
172
|
+
logger.info('module is being initialized');
|
171
173
|
|
172
|
-
logger.debug('
|
173
|
-
logger.debug('
|
174
|
+
logger.debug('themes allowd: ' + themes_allowed);
|
175
|
+
logger.debug('theme detected: ' + theme);
|
174
176
|
|
175
177
|
// TODO: Check why a timeout is required to enable|disable the wave elements
|
176
178
|
if (themes_allowed === 'all') {
|
177
|
-
logger.info('
|
179
|
+
logger.info('activate waves for theme: ' + 'all' );
|
178
180
|
setTimeout(() => {
|
179
181
|
$('.wave').show();
|
180
|
-
logger.info('
|
182
|
+
logger.info('initializing module finished');
|
181
183
|
}, {{template_config.page_on_load_timeout}} );
|
182
184
|
} else if (theme_enabled) {
|
183
|
-
logger.info('
|
185
|
+
logger.info('activate waves for theme: ' + theme );
|
184
186
|
setTimeout(() => {
|
185
187
|
$('.wave').show();
|
186
|
-
logger.info('
|
188
|
+
logger.info('initializing module finished');
|
187
189
|
}, {{template_config.page_on_load_timeout}} );
|
188
190
|
} else {
|
189
|
-
logger.warn('
|
190
|
-
logger.warn('
|
191
|
+
logger.warn('no valid theme/s found');
|
192
|
+
logger.warn('deactivate (hide) waves');
|
191
193
|
setTimeout(() => {
|
192
194
|
$('.wave').hide();
|
193
|
-
logger.info('
|
195
|
+
logger.info('initializing module finished');
|
194
196
|
}, {{template_config.page_on_load_timeout}} );
|
195
197
|
}
|
196
198
|
|
197
199
|
_this.setState('finished');
|
198
|
-
logger.debug('
|
199
|
-
logger.info('
|
200
|
+
logger.debug('state: ' + _this.getState());
|
201
|
+
logger.info('initializing module finished');
|
200
202
|
|
201
203
|
endTimeModule = Date.now();
|
202
|
-
logger.info('
|
204
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
203
205
|
|
204
206
|
clearInterval(dependencies_met_page_ready);
|
205
207
|
} // END pageVisible
|
@@ -213,7 +215,7 @@ j1.adapter.waves = ((j1, window) => {
|
|
213
215
|
messageHandler: (sender, message) => {
|
214
216
|
var json_message = JSON.stringify(message, undefined, 2);
|
215
217
|
|
216
|
-
logText = '
|
218
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
217
219
|
logger.debug(logText);
|
218
220
|
|
219
221
|
// -----------------------------------------------------------------------
|
@@ -225,7 +227,7 @@ j1.adapter.waves = ((j1, window) => {
|
|
225
227
|
// place handling of command|action here
|
226
228
|
//
|
227
229
|
|
228
|
-
logger.info(
|
230
|
+
logger.info(message.text);
|
229
231
|
}
|
230
232
|
|
231
233
|
//
|