j1-template 2024.3.23 → 2024.3.25
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/apps/amplitudehtml +1147 -0
- data/assets/data/apps/gallery.html +342 -0
- data/assets/data/{masonry.html → apps/masonry.html} +22 -9
- data/assets/data/apps/swiper.html +901 -0
- data/assets/data/gallery_app.html +102 -14
- data/assets/data/masonry_app.html +521 -0
- data/assets/theme/j1/adapter/js/gallery.js +13 -2
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +29 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/vendor.css +1 -1
- data/assets/theme/j1/core/css/vendor.min.css +1 -1
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +21 -13
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +1 -2
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +48 -28
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +1 -8
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +463 -298
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -8
- data/assets/theme/j1/modules/rtable/css/theme/uno/rtable.css +11 -1
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +53 -31
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +2 -3
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +4 -9
- data/assets/theme/j1/modules/videojs/plugins/controls/hotkeys/!examples/example.html +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +3 -7
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +3 -8
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.css +55 -55
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +2 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.js +590 -382
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/js/zoom.min.js +1 -1
- data/assets/theme/j1/modules/videojs/plugins/j1_core/template.min.js +31 -0
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/index.html +32 -0
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.0.js +647 -0
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.1.js +653 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/{player → iframe_api}/index.html +6 -6
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/videojs_api/index.html +38 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.js +3562 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/v2.21.0/vimeo.min.js +36 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.js +451 -1849
- data/assets/theme/j1/modules/videojs/plugins/players/vm/api/js/vimeo.min.js +2 -14
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/LICENSE +21 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/README.md +54 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.js +666 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/old/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.js +2318 -548
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +12 -18
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/index.html +31 -0
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.js +12 -5
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -3
- data/lib/starter_web/_data/j1_config.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +11 -0
- data/lib/starter_web/_data/modules/authentication.yml +1 -2
- data/lib/starter_web/_data/modules/carousel.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masonry.yml +116 -23
- data/lib/starter_web/_data/modules/gallery.yml +197 -238
- data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/masonry.yml +36 -14
- data/lib/starter_web/_data/modules/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +12 -8
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +7 -0
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +206 -24
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/admin-dashboard-bootstrap.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-shatov.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexey-ruban.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bootstrap-modal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bp-miller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/build-with-gemini.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/isaac-davis.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-launch.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-mockup.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/martin-sanchez.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/material_symbols.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/milad-fakurian.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/mohammad-rahmani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg +0 -0
- data/lib/starter_web/assets/image/page/tour/bootswatch-themes.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +2 -2
- data/lib/starter_web/config.ru +1 -1
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/index.html +8 -7
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/features.adoc +5 -5
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +5 -5
- data/lib/starter_web/pages/public/about/site.adoc +14 -10
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/viewer_all_books.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -3
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +3 -3
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +6 -6
- data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +122 -34
- data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +1 -2
- data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +1 -1
- data/lib/starter_web/pages/public/tour/_includes/documents/themes_bootstrap.asciidoc +1 -1
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +7 -3
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +62 -7
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +4 -8
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +2 -2
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +21 -15
- data/lib/starter_web/pages/public/tour/typography.adoc +5 -5
- data/lib/starter_web/pages/public/tour/video_data.adoc +51 -26
- metadata +34 -149
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +0 -984
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +0 -1627
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +0 -25
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/animation-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/customize-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/dynamic-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/facebook-icon.svg +0 -10
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/googleplus-icon.svg +0 -30
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/html5-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/linked-in.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/module-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button-hover.svg +0 -94
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/play-button.svg +0 -93
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/responsive-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/thumb-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/touch-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter-icon.svg +0 -15
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/twitter.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/video1-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/icons/zoom.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.css +0 -140
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/themes/uno/uno.min.css +0 -19
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +0 -54
- 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 +0 -2782
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +0 -44
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +0 -37
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +0 -890
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +0 -8
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.js +0 -402
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/j1-video.min.js +0 -7
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +0 -585
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +0 -275
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +0 -230
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +0 -160
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +0 -223
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +0 -27
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +0 -157
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +0 -164
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +0 -299
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +0 -244
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +0 -27
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +0 -509
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +0 -909
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +0 -207
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +0 -999
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +0 -26
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +0 -495
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +0 -513
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +0 -553
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +0 -585
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +0 -914
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +0 -151
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +0 -150
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/video-js-cdn.css +0 -2012
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +0 -147
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +0 -113
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +0 -166
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +0 -72
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +0 -5
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +0 -311
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +0 -19
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +0 -1686
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +0 -13
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +0 -65226
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +0 -55
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-controls.html +0 -18
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-javascript.html +0 -28
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/dailymotion-playlist.html +0 -19
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/global-parameters.html +0 -30
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/simple.html +0 -20
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/switch.html +0 -39
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!examples/index.html +0 -34
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/global-parameters.html +0 -34
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/simple.html +0 -22
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/switch.html +0 -39
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-controls.html +0 -20
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-javascript.html +0 -29
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-list.html +0 -21
- data/assets/theme/j1/modules/videojs/plugins/players/yt/!examples/youtube-playlist.html +0 -21
- data/lib/starter_web/_data/modules/gallery_app.yml +0 -1002
- data/lib/starter_web/_data/modules/gallery_playlists.yml +0 -534
- data/lib/starter_web/assets/image/module/attic/1920x1280/alina-grubnyak.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bruno-figueiredo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/hayden-mills-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/recha-oktaviani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/tiny_desk.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/alice-donovan-rouse-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/building-blocks-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/christina-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/franck-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/leon-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/library-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-krisetya-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/markus-spiske4-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/matthew-dockery-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/no-time-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/rirri-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/shubham-dhage-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/shutterstock_sponsor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/szabo-viktor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/tldr-1920x800.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/vladislav-klapin-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/yellow-cactus-1920x1280.jpg +0 -0
- /data/assets/theme/j1/modules/videojs/plugins/players/vm/{LICENSE → js/old/LICENSE} +0 -0
- /data/assets/theme/j1/modules/videojs/plugins/players/vm/{README.md → js/old/README.md} +0 -0
@@ -1,275 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js
|
4
|
-
# Provides lightGallery JS code for the plugin lgAutoplay
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2025 Sachin Neravath
|
10
|
-
# Copyright (C) 2023-2025 Juergen Adams
|
11
|
-
#
|
12
|
-
# J1 Template is licensed under the MIT License.
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
16
|
-
# -----------------------------------------------------------------------------
|
17
|
-
*/
|
18
|
-
|
19
|
-
/*!
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
21
|
-
* http://www.lightgalleryjs.com/
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
23
|
-
* @license GPLv3
|
24
|
-
*/
|
25
|
-
|
26
|
-
(function (global, factory) {
|
27
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
28
|
-
typeof define === 'function' && define.amd ? define(factory) :
|
29
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.lgAutoplay = factory());
|
30
|
-
}(this, (function () { 'use strict';
|
31
|
-
|
32
|
-
/*! *****************************************************************************
|
33
|
-
Copyright (c) Microsoft Corporation.
|
34
|
-
|
35
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
36
|
-
purpose with or without fee is hereby granted.
|
37
|
-
|
38
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
39
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
40
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
41
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
42
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
43
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
44
|
-
PERFORMANCE OF THIS SOFTWARE.
|
45
|
-
***************************************************************************** */
|
46
|
-
|
47
|
-
var __assign = function() {
|
48
|
-
__assign = Object.assign || function __assign(t) {
|
49
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
50
|
-
s = arguments[i];
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
52
|
-
}
|
53
|
-
return t;
|
54
|
-
};
|
55
|
-
return __assign.apply(this, arguments);
|
56
|
-
};
|
57
|
-
|
58
|
-
/**
|
59
|
-
* List of lightGallery events
|
60
|
-
* All events should be documented here
|
61
|
-
* Below interfaces are used to build the website documentations
|
62
|
-
* */
|
63
|
-
var lGEvents = {
|
64
|
-
afterAppendSlide: 'lgAfterAppendSlide',
|
65
|
-
init: 'lgInit',
|
66
|
-
hasVideo: 'lgHasVideo',
|
67
|
-
containerResize: 'lgContainerResize',
|
68
|
-
updateSlides: 'lgUpdateSlides',
|
69
|
-
afterAppendSubHtml: 'lgAfterAppendSubHtml',
|
70
|
-
beforeOpen: 'lgBeforeOpen',
|
71
|
-
afterOpen: 'lgAfterOpen',
|
72
|
-
slideItemLoad: 'lgSlideItemLoad',
|
73
|
-
beforeSlide: 'lgBeforeSlide',
|
74
|
-
afterSlide: 'lgAfterSlide',
|
75
|
-
posterClick: 'lgPosterClick',
|
76
|
-
dragStart: 'lgDragStart',
|
77
|
-
dragMove: 'lgDragMove',
|
78
|
-
dragEnd: 'lgDragEnd',
|
79
|
-
beforeNextSlide: 'lgBeforeNextSlide',
|
80
|
-
beforePrevSlide: 'lgBeforePrevSlide',
|
81
|
-
beforeClose: 'lgBeforeClose',
|
82
|
-
afterClose: 'lgAfterClose',
|
83
|
-
rotateLeft: 'lgRotateLeft',
|
84
|
-
rotateRight: 'lgRotateRight',
|
85
|
-
flipHorizontal: 'lgFlipHorizontal',
|
86
|
-
flipVertical: 'lgFlipVertical',
|
87
|
-
autoplay: 'lgAutoplay',
|
88
|
-
autoplayStart: 'lgAutoplayStart',
|
89
|
-
autoplayStop: 'lgAutoplayStop',
|
90
|
-
};
|
91
|
-
|
92
|
-
var autoplaySettings = {
|
93
|
-
autoplay: true,
|
94
|
-
slideShowAutoplay: false,
|
95
|
-
slideShowInterval: 5000,
|
96
|
-
progressBar: true,
|
97
|
-
forceSlideShowAutoplay: false,
|
98
|
-
autoplayControls: true,
|
99
|
-
appendAutoplayControlsTo: '.lg-toolbar',
|
100
|
-
autoplayPluginStrings: {
|
101
|
-
toggleAutoplay: 'Toggle Autoplay',
|
102
|
-
},
|
103
|
-
};
|
104
|
-
|
105
|
-
/**
|
106
|
-
* Creates the autoplay plugin.
|
107
|
-
* @param {object} element - lightGallery element
|
108
|
-
*/
|
109
|
-
var Autoplay = /** @class */ (function () {
|
110
|
-
function Autoplay(instance) {
|
111
|
-
this.core = instance;
|
112
|
-
// extend module default settings with lightGallery core settings
|
113
|
-
this.settings = __assign(__assign({}, autoplaySettings), this.core.settings);
|
114
|
-
return this;
|
115
|
-
}
|
116
|
-
Autoplay.prototype.init = function () {
|
117
|
-
var _this = this;
|
118
|
-
if (!this.settings.autoplay) {
|
119
|
-
return;
|
120
|
-
}
|
121
|
-
this.interval = false;
|
122
|
-
// Identify if slide happened from autoplay
|
123
|
-
this.fromAuto = true;
|
124
|
-
// Identify if autoplay canceled from touch/drag
|
125
|
-
this.pausedOnTouchDrag = false;
|
126
|
-
this.pausedOnSlideChange = false;
|
127
|
-
// append autoplay controls
|
128
|
-
if (this.settings.autoplayControls) {
|
129
|
-
this.controls();
|
130
|
-
}
|
131
|
-
// Create progress bar
|
132
|
-
if (this.settings.progressBar) {
|
133
|
-
this.core.outer.append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>');
|
134
|
-
}
|
135
|
-
// Start autoplay
|
136
|
-
if (this.settings.slideShowAutoplay) {
|
137
|
-
this.core.LGel.once(lGEvents.slideItemLoad + ".autoplay", function () {
|
138
|
-
_this.startAutoPlay();
|
139
|
-
});
|
140
|
-
}
|
141
|
-
// cancel interval on touchstart and dragstart
|
142
|
-
this.core.LGel.on(lGEvents.dragStart + ".autoplay touchstart.lg.autoplay", function () {
|
143
|
-
if (_this.interval) {
|
144
|
-
_this.stopAutoPlay();
|
145
|
-
_this.pausedOnTouchDrag = true;
|
146
|
-
}
|
147
|
-
});
|
148
|
-
// restore autoplay if autoplay canceled from touchstart / dragstart
|
149
|
-
this.core.LGel.on(lGEvents.dragEnd + ".autoplay touchend.lg.autoplay", function () {
|
150
|
-
if (!_this.interval && _this.pausedOnTouchDrag) {
|
151
|
-
_this.startAutoPlay();
|
152
|
-
_this.pausedOnTouchDrag = false;
|
153
|
-
}
|
154
|
-
});
|
155
|
-
this.core.LGel.on(lGEvents.beforeSlide + ".autoplay", function () {
|
156
|
-
_this.showProgressBar();
|
157
|
-
if (!_this.fromAuto && _this.interval) {
|
158
|
-
_this.stopAutoPlay();
|
159
|
-
_this.pausedOnSlideChange = true;
|
160
|
-
}
|
161
|
-
else {
|
162
|
-
_this.pausedOnSlideChange = false;
|
163
|
-
}
|
164
|
-
_this.fromAuto = false;
|
165
|
-
});
|
166
|
-
// restore autoplay if autoplay canceled from touchstart / dragstart
|
167
|
-
this.core.LGel.on(lGEvents.afterSlide + ".autoplay", function () {
|
168
|
-
if (_this.pausedOnSlideChange &&
|
169
|
-
!_this.interval &&
|
170
|
-
_this.settings.forceSlideShowAutoplay) {
|
171
|
-
_this.startAutoPlay();
|
172
|
-
_this.pausedOnSlideChange = false;
|
173
|
-
}
|
174
|
-
});
|
175
|
-
// set progress
|
176
|
-
this.showProgressBar();
|
177
|
-
};
|
178
|
-
Autoplay.prototype.showProgressBar = function () {
|
179
|
-
var _this = this;
|
180
|
-
if (this.settings.progressBar && this.fromAuto) {
|
181
|
-
var _$progressBar_1 = this.core.outer.find('.lg-progress-bar');
|
182
|
-
var _$progress_1 = this.core.outer.find('.lg-progress');
|
183
|
-
if (this.interval) {
|
184
|
-
_$progress_1.removeAttr('style');
|
185
|
-
_$progressBar_1.removeClass('lg-start');
|
186
|
-
setTimeout(function () {
|
187
|
-
_$progress_1.css('transition', 'width ' +
|
188
|
-
(_this.core.settings.speed +
|
189
|
-
_this.settings.slideShowInterval) +
|
190
|
-
'ms ease 0s');
|
191
|
-
_$progressBar_1.addClass('lg-start');
|
192
|
-
}, 20);
|
193
|
-
}
|
194
|
-
}
|
195
|
-
};
|
196
|
-
// Manage autoplay via play/stop buttons
|
197
|
-
Autoplay.prototype.controls = function () {
|
198
|
-
var _this = this;
|
199
|
-
var _html = "<button aria-label=\"" + this.settings.autoplayPluginStrings['toggleAutoplay'] + "\" type=\"button\" class=\"lg-autoplay-button lg-icon\"></button>";
|
200
|
-
// Append autoplay controls
|
201
|
-
this.core.outer
|
202
|
-
.find(this.settings.appendAutoplayControlsTo)
|
203
|
-
.append(_html);
|
204
|
-
this.core.outer
|
205
|
-
.find('.lg-autoplay-button')
|
206
|
-
.first()
|
207
|
-
.on('click.lg.autoplay', function () {
|
208
|
-
if (_this.core.outer.hasClass('lg-show-autoplay')) {
|
209
|
-
_this.stopAutoPlay();
|
210
|
-
}
|
211
|
-
else {
|
212
|
-
if (!_this.interval) {
|
213
|
-
_this.startAutoPlay();
|
214
|
-
}
|
215
|
-
}
|
216
|
-
});
|
217
|
-
};
|
218
|
-
// Autostart gallery
|
219
|
-
Autoplay.prototype.startAutoPlay = function () {
|
220
|
-
var _this = this;
|
221
|
-
this.core.outer
|
222
|
-
.find('.lg-progress')
|
223
|
-
.css('transition', 'width ' +
|
224
|
-
(this.core.settings.speed +
|
225
|
-
this.settings.slideShowInterval) +
|
226
|
-
'ms ease 0s');
|
227
|
-
this.core.outer.addClass('lg-show-autoplay');
|
228
|
-
this.core.outer.find('.lg-progress-bar').addClass('lg-start');
|
229
|
-
this.core.LGel.trigger(lGEvents.autoplayStart, {
|
230
|
-
index: this.core.index,
|
231
|
-
});
|
232
|
-
this.interval = setInterval(function () {
|
233
|
-
if (_this.core.index + 1 < _this.core.galleryItems.length) {
|
234
|
-
_this.core.index++;
|
235
|
-
}
|
236
|
-
else {
|
237
|
-
_this.core.index = 0;
|
238
|
-
}
|
239
|
-
_this.core.LGel.trigger(lGEvents.autoplay, {
|
240
|
-
index: _this.core.index,
|
241
|
-
});
|
242
|
-
_this.fromAuto = true;
|
243
|
-
_this.core.slide(_this.core.index, false, false, 'next');
|
244
|
-
}, this.core.settings.speed + this.settings.slideShowInterval);
|
245
|
-
};
|
246
|
-
// cancel Autostart
|
247
|
-
Autoplay.prototype.stopAutoPlay = function () {
|
248
|
-
if (this.interval) {
|
249
|
-
this.core.LGel.trigger(lGEvents.autoplayStop, {
|
250
|
-
index: this.core.index,
|
251
|
-
});
|
252
|
-
this.core.outer.find('.lg-progress').removeAttr('style');
|
253
|
-
this.core.outer.removeClass('lg-show-autoplay');
|
254
|
-
this.core.outer.find('.lg-progress-bar').removeClass('lg-start');
|
255
|
-
}
|
256
|
-
clearInterval(this.interval);
|
257
|
-
this.interval = false;
|
258
|
-
};
|
259
|
-
Autoplay.prototype.closeGallery = function () {
|
260
|
-
this.stopAutoPlay();
|
261
|
-
};
|
262
|
-
Autoplay.prototype.destroy = function () {
|
263
|
-
if (this.settings.autoplay) {
|
264
|
-
this.core.outer.find('.lg-progress-bar').remove();
|
265
|
-
}
|
266
|
-
// Remove all event listeners added by autoplay plugin
|
267
|
-
this.core.LGel.off('.lg.autoplay');
|
268
|
-
this.core.LGel.off('.autoplay');
|
269
|
-
};
|
270
|
-
return Autoplay;
|
271
|
-
}());
|
272
|
-
|
273
|
-
return Autoplay;
|
274
|
-
|
275
|
-
})));
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js
|
4
|
-
# Provides lightGallery JS code for the plugin lgAutoplay
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2025 Sachin Neravath
|
10
|
-
# Copyright (C) 2023-2025 Juergen Adams
|
11
|
-
#
|
12
|
-
# J1 Template is licensed under the MIT License.
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
16
|
-
# -----------------------------------------------------------------------------
|
17
|
-
*/
|
18
|
-
|
19
|
-
/**
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
21
|
-
* http://www.lightgalleryjs.com/
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
23
|
-
* @license GPLv3
|
24
|
-
*/
|
25
|
-
|
26
|
-
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(t="undefined"!=typeof globalThis?globalThis:t||self).lgAutoplay=o()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var o,e=1,s=arguments.length;e<s;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t}).apply(this,arguments)},o="lgSlideItemLoad",e="lgBeforeSlide",s="lgAfterSlide",r="lgDragStart",i="lgDragEnd",a="lgAutoplay",l="lgAutoplayStart",n="lgAutoplayStop",u={autoplay:!0,slideShowAutoplay:!1,slideShowInterval:5e3,progressBar:!0,forceSlideShowAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar",autoplayPluginStrings:{toggleAutoplay:"Toggle Autoplay"}};return function(){function p(o){return this.core=o,this.settings=t(t({},u),this.core.settings),this}return p.prototype.init=function(){var t=this;this.settings.autoplay&&(this.interval=!1,this.fromAuto=!0,this.pausedOnTouchDrag=!1,this.pausedOnSlideChange=!1,this.settings.autoplayControls&&this.controls(),this.settings.progressBar&&this.core.outer.append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),this.settings.slideShowAutoplay&&this.core.LGel.once(o+".autoplay",(function(){t.startAutoPlay()})),this.core.LGel.on(r+".autoplay touchstart.lg.autoplay",(function(){t.interval&&(t.stopAutoPlay(),t.pausedOnTouchDrag=!0)})),this.core.LGel.on(i+".autoplay touchend.lg.autoplay",(function(){!t.interval&&t.pausedOnTouchDrag&&(t.startAutoPlay(),t.pausedOnTouchDrag=!1)})),this.core.LGel.on(e+".autoplay",(function(){t.showProgressBar(),!t.fromAuto&&t.interval?(t.stopAutoPlay(),t.pausedOnSlideChange=!0):t.pausedOnSlideChange=!1,t.fromAuto=!1})),this.core.LGel.on(s+".autoplay",(function(){t.pausedOnSlideChange&&!t.interval&&t.settings.forceSlideShowAutoplay&&(t.startAutoPlay(),t.pausedOnSlideChange=!1)})),this.showProgressBar())},p.prototype.showProgressBar=function(){var t=this;if(this.settings.progressBar&&this.fromAuto){var o=this.core.outer.find(".lg-progress-bar"),e=this.core.outer.find(".lg-progress");this.interval&&(e.removeAttr("style"),o.removeClass("lg-start"),setTimeout((function(){e.css("transition","width "+(t.core.settings.speed+t.settings.slideShowInterval)+"ms ease 0s"),o.addClass("lg-start")}),20))}},p.prototype.controls=function(){var t=this,o='<button aria-label="'+this.settings.autoplayPluginStrings.toggleAutoplay+'" type="button" class="lg-autoplay-button lg-icon"></button>';this.core.outer.find(this.settings.appendAutoplayControlsTo).append(o),this.core.outer.find(".lg-autoplay-button").first().on("click.lg.autoplay",(function(){t.core.outer.hasClass("lg-show-autoplay")?t.stopAutoPlay():t.interval||t.startAutoPlay()}))},p.prototype.startAutoPlay=function(){var t=this;this.core.outer.find(".lg-progress").css("transition","width "+(this.core.settings.speed+this.settings.slideShowInterval)+"ms ease 0s"),this.core.outer.addClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").addClass("lg-start"),this.core.LGel.trigger(l,{index:this.core.index}),this.interval=setInterval((function(){t.core.index+1<t.core.galleryItems.length?t.core.index++:t.core.index=0,t.core.LGel.trigger(a,{index:t.core.index}),t.fromAuto=!0,t.core.slide(t.core.index,!1,!1,"next")}),this.core.settings.speed+this.settings.slideShowInterval)},p.prototype.stopAutoPlay=function(){this.interval&&(this.core.LGel.trigger(n,{index:this.core.index}),this.core.outer.find(".lg-progress").removeAttr("style"),this.core.outer.removeClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").removeClass("lg-start")),clearInterval(this.interval),this.interval=!1},p.prototype.closeGallery=function(){this.stopAutoPlay()},p.prototype.destroy=function(){this.settings.autoplay&&this.core.outer.find(".lg-progress-bar").remove(),this.core.LGel.off(".lg.autoplay"),this.core.LGel.off(".autoplay")},p}()}));
|
@@ -1,230 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js
|
4
|
-
# Provides lightGallery JS code for the plugin lgComment
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2025 Sachin Neravath
|
10
|
-
# Copyright (C) 2023-2025 Juergen Adams
|
11
|
-
#
|
12
|
-
# J1 Template is licensed under the MIT License.
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
16
|
-
# -----------------------------------------------------------------------------
|
17
|
-
*/
|
18
|
-
|
19
|
-
/*!
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
21
|
-
* http://www.lightgalleryjs.com/
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
23
|
-
* @license GPLv3
|
24
|
-
*/
|
25
|
-
|
26
|
-
(function (global, factory) {
|
27
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
28
|
-
typeof define === 'function' && define.amd ? define(factory) :
|
29
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.lgComment = factory());
|
30
|
-
}(this, (function () { 'use strict';
|
31
|
-
|
32
|
-
/*! *****************************************************************************
|
33
|
-
Copyright (c) Microsoft Corporation.
|
34
|
-
|
35
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
36
|
-
purpose with or without fee is hereby granted.
|
37
|
-
|
38
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
39
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
40
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
41
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
42
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
43
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
44
|
-
PERFORMANCE OF THIS SOFTWARE.
|
45
|
-
***************************************************************************** */
|
46
|
-
|
47
|
-
var __assign = function() {
|
48
|
-
__assign = Object.assign || function __assign(t) {
|
49
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
50
|
-
s = arguments[i];
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
52
|
-
}
|
53
|
-
return t;
|
54
|
-
};
|
55
|
-
return __assign.apply(this, arguments);
|
56
|
-
};
|
57
|
-
|
58
|
-
/**
|
59
|
-
* List of lightGallery events
|
60
|
-
* All events should be documented here
|
61
|
-
* Below interfaces are used to build the website documentations
|
62
|
-
* */
|
63
|
-
var lGEvents = {
|
64
|
-
afterAppendSlide: 'lgAfterAppendSlide',
|
65
|
-
init: 'lgInit',
|
66
|
-
hasVideo: 'lgHasVideo',
|
67
|
-
containerResize: 'lgContainerResize',
|
68
|
-
updateSlides: 'lgUpdateSlides',
|
69
|
-
afterAppendSubHtml: 'lgAfterAppendSubHtml',
|
70
|
-
beforeOpen: 'lgBeforeOpen',
|
71
|
-
afterOpen: 'lgAfterOpen',
|
72
|
-
slideItemLoad: 'lgSlideItemLoad',
|
73
|
-
beforeSlide: 'lgBeforeSlide',
|
74
|
-
afterSlide: 'lgAfterSlide',
|
75
|
-
posterClick: 'lgPosterClick',
|
76
|
-
dragStart: 'lgDragStart',
|
77
|
-
dragMove: 'lgDragMove',
|
78
|
-
dragEnd: 'lgDragEnd',
|
79
|
-
beforeNextSlide: 'lgBeforeNextSlide',
|
80
|
-
beforePrevSlide: 'lgBeforePrevSlide',
|
81
|
-
beforeClose: 'lgBeforeClose',
|
82
|
-
afterClose: 'lgAfterClose',
|
83
|
-
rotateLeft: 'lgRotateLeft',
|
84
|
-
rotateRight: 'lgRotateRight',
|
85
|
-
flipHorizontal: 'lgFlipHorizontal',
|
86
|
-
flipVertical: 'lgFlipVertical',
|
87
|
-
autoplay: 'lgAutoplay',
|
88
|
-
autoplayStart: 'lgAutoplayStart',
|
89
|
-
autoplayStop: 'lgAutoplayStop',
|
90
|
-
};
|
91
|
-
|
92
|
-
var commentSettings = {
|
93
|
-
commentBox: false,
|
94
|
-
fbComments: false,
|
95
|
-
disqusComments: false,
|
96
|
-
disqusConfig: {
|
97
|
-
title: undefined,
|
98
|
-
language: 'en',
|
99
|
-
},
|
100
|
-
commentsMarkup: '<div id="lg-comment-box" class="lg-comment-box lg-fb-comment-box"><div class="lg-comment-header"><h3 class="lg-comment-title">Leave a comment.</h3><span class="lg-comment-close lg-icon"></span></div><div class="lg-comment-body"></div></div>',
|
101
|
-
commentPluginStrings: {
|
102
|
-
toggleComments: 'Toggle Comments',
|
103
|
-
},
|
104
|
-
};
|
105
|
-
|
106
|
-
/**
|
107
|
-
* lightGallery comments module
|
108
|
-
* Supports facebook and disqus comments
|
109
|
-
*
|
110
|
-
* @ref - https://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables
|
111
|
-
* @ref - https://github.com/disqus/DISQUS-API-Recipes/blob/master/snippets/js/disqus-reset/disqus_reset.html
|
112
|
-
* @ref - https://css-tricks.com/lazy-loading-disqus-comments/
|
113
|
-
* @ref - https://developers.facebook.com/docs/plugins/comments/#comments-plugin
|
114
|
-
*
|
115
|
-
*/
|
116
|
-
var CommentBox = /** @class */ (function () {
|
117
|
-
function CommentBox(instance, $LG) {
|
118
|
-
// get lightGallery core plugin instance
|
119
|
-
this.core = instance;
|
120
|
-
this.$LG = $LG;
|
121
|
-
// extend module default settings with lightGallery core settings
|
122
|
-
this.settings = __assign(__assign({}, commentSettings), this.core.settings);
|
123
|
-
return this;
|
124
|
-
}
|
125
|
-
CommentBox.prototype.init = function () {
|
126
|
-
if (!this.settings.commentBox) {
|
127
|
-
return;
|
128
|
-
}
|
129
|
-
this.setMarkup();
|
130
|
-
this.toggleCommentBox();
|
131
|
-
if (this.settings.fbComments) {
|
132
|
-
this.addFbComments();
|
133
|
-
}
|
134
|
-
else if (this.settings.disqusComments) {
|
135
|
-
this.addDisqusComments();
|
136
|
-
}
|
137
|
-
};
|
138
|
-
CommentBox.prototype.setMarkup = function () {
|
139
|
-
this.core.outer.append(this.settings.commentsMarkup +
|
140
|
-
'<div class="lg-comment-overlay"></div>');
|
141
|
-
var commentToggleBtn = "<button type=\"button\" aria-label=\"" + this.settings.commentPluginStrings['toggleComments'] + "\" class=\"lg-comment-toggle lg-icon\"></button>";
|
142
|
-
this.core.$toolbar.append(commentToggleBtn);
|
143
|
-
};
|
144
|
-
CommentBox.prototype.toggleCommentBox = function () {
|
145
|
-
var _this_1 = this;
|
146
|
-
this.core.outer
|
147
|
-
.find('.lg-comment-toggle')
|
148
|
-
.first()
|
149
|
-
.on('click.lg.comment', function () {
|
150
|
-
_this_1.core.outer.toggleClass('lg-comment-active');
|
151
|
-
});
|
152
|
-
this.core.outer
|
153
|
-
.find('.lg-comment-overlay')
|
154
|
-
.first()
|
155
|
-
.on('click.lg.comment', function () {
|
156
|
-
_this_1.core.outer.removeClass('lg-comment-active');
|
157
|
-
});
|
158
|
-
this.core.outer
|
159
|
-
.find('.lg-comment-close')
|
160
|
-
.first()
|
161
|
-
.on('click.lg.comment', function () {
|
162
|
-
_this_1.core.outer.removeClass('lg-comment-active');
|
163
|
-
});
|
164
|
-
};
|
165
|
-
CommentBox.prototype.addFbComments = function () {
|
166
|
-
var _this_1 = this;
|
167
|
-
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
168
|
-
var _this = this;
|
169
|
-
this.core.LGel.on(lGEvents.beforeSlide + ".comment", function (event) {
|
170
|
-
var html = _this_1.core.galleryItems[event.detail.index].fbHtml;
|
171
|
-
_this_1.core.outer.find('.lg-comment-body').html(html);
|
172
|
-
});
|
173
|
-
this.core.LGel.on(lGEvents.afterSlide + ".comment", function () {
|
174
|
-
try {
|
175
|
-
FB.XFBML.parse();
|
176
|
-
}
|
177
|
-
catch (err) {
|
178
|
-
_this.$LG(window).on('fbAsyncInit', function () {
|
179
|
-
FB.XFBML.parse();
|
180
|
-
});
|
181
|
-
}
|
182
|
-
});
|
183
|
-
};
|
184
|
-
CommentBox.prototype.addDisqusComments = function () {
|
185
|
-
var _this_1 = this;
|
186
|
-
var $disqusThread = this.$LG('#disqus_thread');
|
187
|
-
$disqusThread.remove();
|
188
|
-
this.core.outer
|
189
|
-
.find('.lg-comment-body')
|
190
|
-
.append('<div id="disqus_thread"></div>');
|
191
|
-
this.core.LGel.on(lGEvents.beforeSlide + ".comment", function () {
|
192
|
-
$disqusThread.html('');
|
193
|
-
});
|
194
|
-
this.core.LGel.on(lGEvents.afterSlide + ".comment", function (event) {
|
195
|
-
var index = event.detail.index;
|
196
|
-
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
197
|
-
var _this = _this_1;
|
198
|
-
// DISQUS needs sometime to intialize when lightGallery is opened from direct url(hash plugin).
|
199
|
-
setTimeout(function () {
|
200
|
-
try {
|
201
|
-
DISQUS.reset({
|
202
|
-
reload: true,
|
203
|
-
config: function () {
|
204
|
-
this.page.identifier =
|
205
|
-
_this.core.galleryItems[index].disqusIdentifier;
|
206
|
-
this.page.url =
|
207
|
-
_this.core.galleryItems[index].disqusURL;
|
208
|
-
this.page.title =
|
209
|
-
_this.settings.disqusConfig.title;
|
210
|
-
this.language =
|
211
|
-
_this.settings.disqusConfig.language;
|
212
|
-
},
|
213
|
-
});
|
214
|
-
}
|
215
|
-
catch (err) {
|
216
|
-
console.error('Make sure you have included disqus JavaScript code in your document. Ex - https://lg-disqus.disqus.com/admin/install/platforms/universalcode/');
|
217
|
-
}
|
218
|
-
}, _this.core.lGalleryOn ? 0 : 1000);
|
219
|
-
});
|
220
|
-
};
|
221
|
-
CommentBox.prototype.destroy = function () {
|
222
|
-
this.core.LGel.off('.lg.comment');
|
223
|
-
this.core.LGel.off('.comment');
|
224
|
-
};
|
225
|
-
return CommentBox;
|
226
|
-
}());
|
227
|
-
|
228
|
-
return CommentBox;
|
229
|
-
|
230
|
-
})));
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js
|
4
|
-
# Provides lightGallery JS code for the plugin lgComment
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2025 Sachin Neravath
|
10
|
-
# Copyright (C) 2023-2025 Juergen Adams
|
11
|
-
#
|
12
|
-
# J1 Template is licensed under the MIT License.
|
13
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
|
14
|
-
# lightGallery is licensed under the GPLv3 license
|
15
|
-
# See: https://github.com/sachinchoolur/lightGallery/blob/master/LICENSE
|
16
|
-
# -----------------------------------------------------------------------------
|
17
|
-
*/
|
18
|
-
|
19
|
-
/**
|
20
|
-
* lightgallery | 2.7.2 | September 20th 2023
|
21
|
-
* http://www.lightgalleryjs.com/
|
22
|
-
* Copyright (c) 2020 Sachin Neravath;
|
23
|
-
* @license GPLv3
|
24
|
-
*/
|
25
|
-
|
26
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lgComment=e()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},e="lgBeforeSlide",o="lgAfterSlide",n={commentBox:!1,fbComments:!1,disqusComments:!1,disqusConfig:{title:void 0,language:"en"},commentsMarkup:'<div id="lg-comment-box" class="lg-comment-box lg-fb-comment-box"><div class="lg-comment-header"><h3 class="lg-comment-title">Leave a comment.</h3><span class="lg-comment-close lg-icon"></span></div><div class="lg-comment-body"></div></div>',commentPluginStrings:{toggleComments:"Toggle Comments"}};return function(){function i(e,o){return this.core=e,this.$LG=o,this.settings=t(t({},n),this.core.settings),this}return i.prototype.init=function(){this.settings.commentBox&&(this.setMarkup(),this.toggleCommentBox(),this.settings.fbComments?this.addFbComments():this.settings.disqusComments&&this.addDisqusComments())},i.prototype.setMarkup=function(){this.core.outer.append(this.settings.commentsMarkup+'<div class="lg-comment-overlay"></div>');var t='<button type="button" aria-label="'+this.settings.commentPluginStrings.toggleComments+'" class="lg-comment-toggle lg-icon"></button>';this.core.$toolbar.append(t)},i.prototype.toggleCommentBox=function(){var t=this;this.core.outer.find(".lg-comment-toggle").first().on("click.lg.comment",(function(){t.core.outer.toggleClass("lg-comment-active")})),this.core.outer.find(".lg-comment-overlay").first().on("click.lg.comment",(function(){t.core.outer.removeClass("lg-comment-active")})),this.core.outer.find(".lg-comment-close").first().on("click.lg.comment",(function(){t.core.outer.removeClass("lg-comment-active")}))},i.prototype.addFbComments=function(){var t=this,n=this;this.core.LGel.on(e+".comment",(function(e){var o=t.core.galleryItems[e.detail.index].fbHtml;t.core.outer.find(".lg-comment-body").html(o)})),this.core.LGel.on(o+".comment",(function(){try{FB.XFBML.parse()}catch(t){n.$LG(window).on("fbAsyncInit",(function(){FB.XFBML.parse()}))}}))},i.prototype.addDisqusComments=function(){var t=this,n=this.$LG("#disqus_thread");n.remove(),this.core.outer.find(".lg-comment-body").append('<div id="disqus_thread"></div>'),this.core.LGel.on(e+".comment",(function(){n.html("")})),this.core.LGel.on(o+".comment",(function(e){var o=e.detail.index,n=t;setTimeout((function(){try{DISQUS.reset({reload:!0,config:function(){this.page.identifier=n.core.galleryItems[o].disqusIdentifier,this.page.url=n.core.galleryItems[o].disqusURL,this.page.title=n.settings.disqusConfig.title,this.language=n.settings.disqusConfig.language}})}catch(t){console.error("Make sure you have included disqus JavaScript code in your document. Ex - https://lg-disqus.disqus.com/admin/install/platforms/universalcode/")}}),n.core.lGalleryOn?0:1e3)}))},i.prototype.destroy=function(){this.core.LGel.off(".lg.comment"),this.core.LGel.off(".comment")},i}()}));
|