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
@@ -87,6 +87,8 @@ regenerate: true
|
|
87
87
|
"use strict";
|
88
88
|
j1.adapter.analytics = ((j1, window) => {
|
89
89
|
|
90
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
91
|
+
|
90
92
|
{% comment %} Set global variables
|
91
93
|
------------------------------------------------------------------------------ {% endcomment %}
|
92
94
|
var url = new liteURL(window.location.href);
|
@@ -176,15 +178,15 @@ j1.adapter.analytics = ((j1, window) => {
|
|
176
178
|
startTimeModule = Date.now();
|
177
179
|
|
178
180
|
_this.setState('started');
|
179
|
-
logger.debug('
|
180
|
-
logger.info('
|
181
|
+
logger.debug('state: ' + _this.getState());
|
182
|
+
logger.info('module initializing: started');
|
181
183
|
|
182
184
|
// remove cookies on invalid GA config or left from a previous
|
183
185
|
// session/page view if they exists
|
184
186
|
// -----------------------------------------------------------------
|
185
187
|
gaCookies = j1.findCookie('_ga');
|
186
188
|
gaCookies.forEach((item) => {
|
187
|
-
logger.debug('
|
189
|
+
logger.debug('delete cookie created by Google Analytics: ' + item);
|
188
190
|
j1.removeCookie({ name: item });
|
189
191
|
});
|
190
192
|
|
@@ -194,14 +196,14 @@ j1.adapter.analytics = ((j1, window) => {
|
|
194
196
|
|
195
197
|
user_consent = j1.readCookie(cookie_names.user_consent);
|
196
198
|
if (user_consent.analysis && skipHost && validProviderID) {
|
197
|
-
logger.debug('
|
199
|
+
logger.debug('Google Analytics skipped for: ' + hostname);
|
198
200
|
}
|
199
201
|
|
200
202
|
if (!gaExists && !skipHost) {
|
201
203
|
// add ga api dynamically in the head section
|
202
204
|
// ---------------------------------------------------------------
|
203
|
-
logger.info('
|
204
|
-
logger.info('
|
205
|
+
logger.info('Google Analytics added for: ' + hostname);
|
206
|
+
logger.info('Google Analytics API added in section: head');
|
205
207
|
gaScript.async = true;
|
206
208
|
gaScript.id = 'google-tag-manager';
|
207
209
|
gaScript.src = '//www.googletagmanager.com/gtag/js?id=' + providerID;
|
@@ -211,26 +213,26 @@ j1.adapter.analytics = ((j1, window) => {
|
|
211
213
|
user_consent = j1.readCookie(cookie_names.user_consent);
|
212
214
|
if (user_consent.analysis && !skipHost ) {
|
213
215
|
if (validProviderID) {
|
214
|
-
logger.info('
|
215
|
-
logger.info('
|
216
|
+
logger.info('user consent on analytics: ' + user_consent.analysis);
|
217
|
+
logger.info('enable Google Analytics on ID: ' + providerID);
|
216
218
|
GTagOptIn.register(providerID);
|
217
219
|
GTagOptIn.optIn();
|
218
220
|
} else {
|
219
|
-
logger.debug('
|
221
|
+
logger.debug('invalid trackig id detected for Google Analytics: ' + providerID);
|
220
222
|
}
|
221
223
|
} else {
|
222
|
-
logger.info('
|
223
|
-
logger.debug('
|
224
|
+
logger.info('user consent on analytics: ' + user_consent.analysis);
|
225
|
+
logger.debug('disable Google Analytics on ID: ' + providerID);
|
224
226
|
GTagOptIn.register(providerID);
|
225
227
|
GTagOptIn.optOut();
|
226
228
|
}
|
227
229
|
|
228
230
|
_this.setState('finished');
|
229
|
-
logger.debug('
|
230
|
-
logger.info('
|
231
|
+
logger.debug('state: ' + _this.getState());
|
232
|
+
logger.info('module initializing: finished');
|
231
233
|
|
232
234
|
endTimeModule = Date.now();
|
233
|
-
logger.info('
|
235
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
234
236
|
|
235
237
|
clearInterval(dependencies_met_page_ready);
|
236
238
|
{% when "custom" %}
|
@@ -239,7 +241,7 @@ j1.adapter.analytics = ((j1, window) => {
|
|
239
241
|
// [INFO ] [j1.adapter.analytics ] [ end processing ]
|
240
242
|
{% else %}
|
241
243
|
logger = log4javascript.getLogger('j1.adapter.analytics');
|
242
|
-
logger.info('
|
244
|
+
logger.info('Google Analytics: disabled');
|
243
245
|
|
244
246
|
clearInterval(dependencies_met_page_ready);
|
245
247
|
{% endif %}
|
@@ -256,7 +258,7 @@ j1.adapter.analytics = ((j1, window) => {
|
|
256
258
|
messageHandler: (sender, message) => {
|
257
259
|
var json_message = JSON.stringify(message, undefined, 2);
|
258
260
|
|
259
|
-
logText = '
|
261
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
260
262
|
logger.debug(logText);
|
261
263
|
|
262
264
|
// -----------------------------------------------------------------------
|
@@ -268,7 +270,7 @@ j1.adapter.analytics = ((j1, window) => {
|
|
268
270
|
// Place handling of command|action here
|
269
271
|
//
|
270
272
|
|
271
|
-
logger.info(
|
273
|
+
logger.info(message.text);
|
272
274
|
}
|
273
275
|
|
274
276
|
//
|
@@ -62,6 +62,8 @@ regenerate: true
|
|
62
62
|
"use strict";
|
63
63
|
j1.adapter.asciidoctor = ((j1, window) => {
|
64
64
|
|
65
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
66
|
+
|
65
67
|
{% comment %} Set global variables
|
66
68
|
------------------------------------------------------------------------------ {% endcomment %}
|
67
69
|
var environment = '{{environment}}';
|
@@ -117,17 +119,17 @@ j1.adapter.asciidoctor = ((j1, window) => {
|
|
117
119
|
startTimeModule = Date.now();
|
118
120
|
|
119
121
|
_this.setState('started');
|
120
|
-
logger.debug('
|
121
|
-
logger.info('
|
122
|
+
logger.debug('state: ' + _this.getState());
|
123
|
+
logger.info('module is being initialized');
|
122
124
|
|
123
|
-
j1.
|
125
|
+
j1.api.asciidoctor.init();
|
124
126
|
|
125
127
|
_this.setState('finished');
|
126
|
-
logger.debug('
|
127
|
-
logger.info('
|
128
|
+
logger.debug('state: ' + _this.getState());
|
129
|
+
logger.info('initializing module: finished');
|
128
130
|
|
129
131
|
endTimeModule = Date.now();
|
130
|
-
logger.info('
|
132
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
131
133
|
|
132
134
|
clearInterval(dependencies_met_j1_finished);
|
133
135
|
} // END dependencies_met_j1_finished
|
@@ -142,7 +144,7 @@ j1.adapter.asciidoctor = ((j1, window) => {
|
|
142
144
|
messageHandler: (sender, message) => {
|
143
145
|
var json_message = JSON.stringify(message, undefined, 2);
|
144
146
|
|
145
|
-
logText = '
|
147
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
146
148
|
logger.debug(logText);
|
147
149
|
|
148
150
|
// -----------------------------------------------------------------------
|
@@ -154,7 +156,7 @@ j1.adapter.asciidoctor = ((j1, window) => {
|
|
154
156
|
// Place handling of command|action here
|
155
157
|
//
|
156
158
|
|
157
|
-
logger.info(
|
159
|
+
logger.info(message.text);
|
158
160
|
}
|
159
161
|
|
160
162
|
//
|
@@ -85,6 +85,8 @@ regenerate: true
|
|
85
85
|
"use strict";
|
86
86
|
j1.adapter.attic = ((j1, window) => {
|
87
87
|
|
88
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
89
|
+
|
88
90
|
{% comment %} Set global variables
|
89
91
|
------------------------------------------------------------------------------ {% endcomment %}
|
90
92
|
var environment = '{{environment}}';
|
@@ -158,25 +160,25 @@ j1.adapter.attic = ((j1, window) => {
|
|
158
160
|
startTimeModule = Date.now();
|
159
161
|
|
160
162
|
_this.setState('started');
|
161
|
-
logger.debug('
|
162
|
-
logger.info('
|
163
|
+
isDev && logger.debug('state: ' + _this.getState());
|
164
|
+
logger.info('module is being initialized');
|
163
165
|
|
164
166
|
{% if attic_options.enabled %}
|
165
|
-
logger.info('
|
167
|
+
logger.info('module initializaton: started');
|
166
168
|
|
167
169
|
if (atticOptions.hide_page_oninit) {
|
168
170
|
// hide whole page while attic is being created
|
169
171
|
// jadams, 2023-05-12: page visible while loading the attic
|
170
172
|
// cause high numbers for cumulative layout shift (CLS)
|
171
173
|
//
|
172
|
-
// logger.debug('
|
174
|
+
// isDev && logger.debug('hide attic on initialization');
|
173
175
|
// $('#no_flicker').css('display', 'none');
|
174
176
|
}
|
175
177
|
|
176
178
|
_this.createAllAttics();
|
177
179
|
clearInterval(dependencies_met_page_ready);
|
178
180
|
{% else %}
|
179
|
-
logger.warn('
|
181
|
+
isDev && logger.warn('found module attics disabled');
|
180
182
|
// add additional top space if attics are disabled
|
181
183
|
$('#no_flicker').addClass('mt-5');
|
182
184
|
clearInterval(dependencies_met_page_ready);
|
@@ -250,7 +252,7 @@ j1.adapter.attic = ((j1, window) => {
|
|
250
252
|
mute: atticOptions.mute
|
251
253
|
});
|
252
254
|
} else {
|
253
|
-
logger.warn('
|
255
|
+
isDev && logger.warn('no attic container found on id: {{attic_id}}');
|
254
256
|
}
|
255
257
|
|
256
258
|
{% comment %} Add a spinner if configured
|
@@ -427,12 +429,12 @@ j1.adapter.attic = ((j1, window) => {
|
|
427
429
|
$('#{{attic_id}}').backstretch('resize');
|
428
430
|
|
429
431
|
_this.setState('finished');
|
430
|
-
logger.debug('
|
431
|
-
logger.info('
|
432
|
-
logger.info('
|
432
|
+
isDev && logger.debug('state: ' + _this.getState());
|
433
|
+
logger.info('initialize attic on id {{attic_id}}: finished');
|
434
|
+
logger.info('module initializaton: finished');
|
433
435
|
|
434
436
|
endTimeModule = Date.now();
|
435
|
-
logger.info('
|
437
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
436
438
|
}); // END callback backstretch.after
|
437
439
|
} // END if attic_id exists
|
438
440
|
|
@@ -660,21 +662,21 @@ j1.adapter.attic = ((j1, window) => {
|
|
660
662
|
$('head').append(backstretch_opacity);
|
661
663
|
|
662
664
|
_this.setState('initialized');
|
663
|
-
logger.debug('
|
665
|
+
isDev && logger.debug('state: ' + _this.getState());
|
664
666
|
|
665
667
|
// start RUNNER on page 'ready'|module state 'initialized'
|
666
668
|
//
|
667
669
|
// $(() => {
|
668
670
|
// var dependencies_met_attic_ready = setInterval (() => {
|
669
671
|
// if (_this.getState() === 'initialized') {
|
670
|
-
// logger.info('
|
672
|
+
// logger.info('initialize attic on id {{attic_id}}: started');
|
671
673
|
// {{attic_id}}_runner (atticOptions);
|
672
674
|
// clearInterval(dependencies_met_attic_ready);
|
673
675
|
// }
|
674
676
|
// }, 10);
|
675
677
|
// });
|
676
678
|
|
677
|
-
logger.info('
|
679
|
+
logger.info('initialize attic on id {{attic_id}}: started');
|
678
680
|
{{attic_id}}_runner (atticOptions);
|
679
681
|
|
680
682
|
} // END apply CSS styles|start ATTIC RUNNER
|
@@ -682,15 +684,15 @@ j1.adapter.attic = ((j1, window) => {
|
|
682
684
|
{% else %}
|
683
685
|
{% assign attic_id = item.attic.id %}
|
684
686
|
_this.setState('finished');
|
685
|
-
logger.debug('
|
686
|
-
logger.info('
|
687
|
-
logger.info('
|
687
|
+
isDev && logger.debug('state: ' + _this.getState());
|
688
|
+
logger.info('initialize attic on id {{attic_id}}: finished');
|
689
|
+
logger.info('module initializaton: finished');
|
688
690
|
|
689
691
|
// add additional top space if attic disabled
|
690
692
|
//
|
691
693
|
$('#no_flicker').addClass('mt-3');
|
692
694
|
|
693
|
-
logger.warn('
|
695
|
+
isDev && logger.warn('attic on id {{attic_id}}: disabled');
|
694
696
|
$('#no_flicker').css('display', 'block');
|
695
697
|
{% endif %} // END if header enabled
|
696
698
|
{% endfor %} // END for item in header_config.attics
|
@@ -698,8 +700,8 @@ j1.adapter.attic = ((j1, window) => {
|
|
698
700
|
// NO header found in page
|
699
701
|
// if ($('#no_header').length) {
|
700
702
|
// _this.setState('completed');
|
701
|
-
// logger.debug('
|
702
|
-
// logger.warn('
|
703
|
+
// isDev && logger.debug('state: ' + _this.getState());
|
704
|
+
// isDev && logger.warn('no header configured or found in page');
|
703
705
|
// }
|
704
706
|
|
705
707
|
return true;
|
@@ -713,8 +715,8 @@ j1.adapter.attic = ((j1, window) => {
|
|
713
715
|
messageHandler: (sender, message) => {
|
714
716
|
var json_message = JSON.stringify(message, undefined, 2);
|
715
717
|
|
716
|
-
logText = '
|
717
|
-
logger.debug(logText);
|
718
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
719
|
+
isDev && logger.debug(logText);
|
718
720
|
|
719
721
|
// -----------------------------------------------------------------------
|
720
722
|
// process commands|actions
|
@@ -725,7 +727,7 @@ j1.adapter.attic = ((j1, window) => {
|
|
725
727
|
// place handling of command|action here
|
726
728
|
//
|
727
729
|
|
728
|
-
logger.info(
|
730
|
+
logger.info(message.text);
|
729
731
|
}
|
730
732
|
|
731
733
|
//
|
@@ -62,6 +62,8 @@ regenerate: false
|
|
62
62
|
"use strict";
|
63
63
|
j1.adapter.bmd = ((j1, window) => {
|
64
64
|
|
65
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
66
|
+
|
65
67
|
{% comment %} Set global variables
|
66
68
|
------------------------------------------------------------------------------ {% endcomment %}
|
67
69
|
var environment = '{{environment}}';
|
@@ -119,19 +121,19 @@ j1.adapter.bmd = ((j1, window) => {
|
|
119
121
|
startTimeModule = Date.now();
|
120
122
|
|
121
123
|
_this.setState('started');
|
122
|
-
logger.debug('
|
123
|
-
logger.info('
|
124
|
+
logger.debug('state: ' + _this.getState());
|
125
|
+
logger.info('module is being initialized');
|
124
126
|
|
125
127
|
// BMD initializer
|
126
|
-
logger.info('
|
128
|
+
logger.info('setup bmd resources');
|
127
129
|
$('body').bmd();
|
128
130
|
|
129
131
|
_this.setState('finished');
|
130
|
-
logger.debug('
|
131
|
-
logger.info('
|
132
|
+
logger.debug('state: ' + _this.getState());
|
133
|
+
logger.info('initializing module finished');
|
132
134
|
|
133
135
|
endTimeModule = Date.now();
|
134
|
-
logger.info('
|
136
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
135
137
|
|
136
138
|
clearInterval(dependency_met_page_ready);
|
137
139
|
} // END if pageVisible
|
@@ -145,7 +147,7 @@ j1.adapter.bmd = ((j1, window) => {
|
|
145
147
|
messageHandler: (sender, message) => {
|
146
148
|
var json_message = JSON.stringify(message, undefined, 2);
|
147
149
|
|
148
|
-
logText = '
|
150
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
149
151
|
logger.debug(logText);
|
150
152
|
|
151
153
|
// -----------------------------------------------------------------------
|
@@ -157,7 +159,7 @@ j1.adapter.bmd = ((j1, window) => {
|
|
157
159
|
// place handling of command|action here
|
158
160
|
//
|
159
161
|
|
160
|
-
logger.info(
|
162
|
+
logger.info(message.text);
|
161
163
|
}
|
162
164
|
|
163
165
|
//
|
@@ -87,6 +87,9 @@ regenerate: true
|
|
87
87
|
// -----------------------------------------------------------------------------
|
88
88
|
"use strict";
|
89
89
|
j1.adapter.carousel = ((j1, window) => {
|
90
|
+
|
91
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
92
|
+
|
90
93
|
var environment = '{{environment}}';
|
91
94
|
var dragging = false;
|
92
95
|
var state = 'not_started';
|
@@ -153,8 +156,8 @@ j1.adapter.carousel = ((j1, window) => {
|
|
153
156
|
startTimeModule = Date.now();
|
154
157
|
|
155
158
|
_this.setState('started');
|
156
|
-
logger.debug('
|
157
|
-
logger.info('
|
159
|
+
logger.debug('state: ' + _this.getState());
|
160
|
+
logger.info('module is being initialized');
|
158
161
|
|
159
162
|
{% for item in carousel_options.carousel %}
|
160
163
|
|
@@ -175,7 +178,7 @@ j1.adapter.carousel = ((j1, window) => {
|
|
175
178
|
// create an Carousel INSTANCE if slider on id: {{slider_id}} exists
|
176
179
|
if ($('#{{slider_id}}').length) {
|
177
180
|
|
178
|
-
logText = '
|
181
|
+
logText = 'slider is being processed on id: #{{slider_id}}';
|
179
182
|
logger.info(logText);
|
180
183
|
_this.setState('processing');
|
181
184
|
|
@@ -377,7 +380,7 @@ j1.adapter.carousel = ((j1, window) => {
|
|
377
380
|
// );
|
378
381
|
|
379
382
|
_this.setState('processed');
|
380
|
-
logger.debug('
|
383
|
+
logger.debug('processing slider finished on id: {{slider_id}}');
|
381
384
|
} // END customDataSuccess_{{forloop.index}}
|
382
385
|
} // END if carousel exists
|
383
386
|
{% endif %}
|
@@ -391,11 +394,11 @@ j1.adapter.carousel = ((j1, window) => {
|
|
391
394
|
if (slidersProcessed) {
|
392
395
|
|
393
396
|
_this.setState('finished');
|
394
|
-
logger.debug('
|
395
|
-
logger.info('
|
397
|
+
logger.debug('state: ' + _this.getState());
|
398
|
+
logger.info('initializing module finished');
|
396
399
|
|
397
400
|
endTimeModule = Date.now();
|
398
|
-
logger.info('
|
401
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
399
402
|
|
400
403
|
clearInterval(dependencies_met_sliders_processed);
|
401
404
|
}
|
@@ -736,7 +739,7 @@ j1.adapter.carousel = ((j1, window) => {
|
|
736
739
|
messageHandler: (sender, message) => {
|
737
740
|
var json_message = JSON.stringify(message, undefined, 2);
|
738
741
|
|
739
|
-
logText = '
|
742
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
740
743
|
logger.debug(logText);
|
741
744
|
|
742
745
|
// -----------------------------------------------------------------------
|
@@ -748,7 +751,7 @@ j1.adapter.carousel = ((j1, window) => {
|
|
748
751
|
// place handling of command|action here
|
749
752
|
//
|
750
753
|
|
751
|
-
logger.info(
|
754
|
+
logger.info(message.text);
|
752
755
|
}
|
753
756
|
|
754
757
|
//
|