j1-template 2020.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +79 -0
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +46 -0
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc.org +40 -0
- data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +55 -0
- data/_includes/themes/j1/blocks/footer/boxes/issue.proc +38 -0
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +63 -0
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +50 -0
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +61 -0
- data/_includes/themes/j1/blocks/footer/boxes/social_media_icons.proc +37 -0
- data/_includes/themes/j1/blocks/footer/generator.html +145 -0
- data/_includes/themes/j1/layouts/content_generator_app.html +32 -0
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +242 -0
- data/_includes/themes/j1/layouts/content_generator_collection.html +131 -0
- data/_includes/themes/j1/layouts/content_generator_page.html +138 -0
- data/_includes/themes/j1/layouts/content_generator_post.html +228 -0
- data/_includes/themes/j1/layouts/content_generator_raw.html +33 -0
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +118 -0
- data/_includes/themes/j1/layouts/layout_module_generator.html +46 -0
- data/_includes/themes/j1/layouts/layout_resource_generator.html +49 -0
- data/_includes/themes/j1/modules/attics/generator.html +153 -0
- data/_includes/themes/j1/modules/boards/news_pin_board.html +183 -0
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +33 -0
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +38 -0
- data/_includes/themes/j1/modules/connectors/ads +50 -0
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +32 -0
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +38 -0
- data/_includes/themes/j1/modules/connectors/analytics +45 -0
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +31 -0
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +61 -0
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +31 -0
- data/_includes/themes/j1/modules/connectors/comments +46 -0
- data/_includes/themes/j1/modules/connectors/sharing +29 -0
- data/_includes/themes/j1/modules/connectors/translator +45 -0
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +32 -0
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +49 -0
- data/_includes/themes/j1/modules/navigator/generator.html +202 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +114 -0
- data/_includes/themes/j1/modules/search/algolia.html +181 -0
- data/_includes/themes/j1/modules/search/docsearch.html +42 -0
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +69 -0
- data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +60 -0
- data/_includes/themes/j1/procedures/global/collect_page_options.proc +66 -0
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +129 -0
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +95 -0
- data/_includes/themes/j1/procedures/global/get_category.proc +60 -0
- data/_includes/themes/j1/procedures/global/get_category_item.proc +80 -0
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +67 -0
- data/_includes/themes/j1/procedures/global/get_page_path.proc +69 -0
- data/_includes/themes/j1/procedures/global/get_page_url.proc +55 -0
- data/_includes/themes/j1/procedures/global/pager.proc +79 -0
- data/_includes/themes/j1/procedures/global/select_color.proc +69 -0
- data/_includes/themes/j1/procedures/global/select_font_size.proc +86 -0
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +82 -0
- data/_includes/themes/j1/procedures/global/select_location.proc +119 -0
- data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +37 -0
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +94 -0
- data/_includes/themes/j1/procedures/global/set_image_block.proc +50 -0
- data/_includes/themes/j1/procedures/global/setup.proc +53 -0
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +112 -0
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +162 -0
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +270 -0
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +194 -0
- data/_includes/themes/j1/procedures/posts/collate_calendar.proc +221 -0
- data/_includes/themes/j1/procedures/posts/collate_list.proc +96 -0
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +226 -0
- data/_includes/themes/j1/procedures/posts/create_ad_block.proc +56 -0
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +96 -0
- data/_layouts/app.html +68 -0
- data/_layouts/blog_archive.html +60 -0
- data/_layouts/collection.html +68 -0
- data/_layouts/compress.html +52 -0
- data/_layouts/default.html +348 -0
- data/_layouts/home.html +90 -0
- data/_layouts/page.html +68 -0
- data/_layouts/paginator/autopage_category.html +79 -0
- data/_layouts/paginator/autopage_collection.html +159 -0
- data/_layouts/paginator/autopage_collections_tags.html +87 -0
- data/_layouts/paginator/autopage_tags.html +79 -0
- data/_layouts/post.html +68 -0
- data/_layouts/raw.html +71 -0
- data/assets/README.md +0 -0
- data/assets/data/authclient.html +373 -0
- data/assets/data/banner.html +432 -0
- data/assets/data/carousel.json +109 -0
- data/assets/data/colors.json +42 -0
- data/assets/data/cookie_consent.html +223 -0
- data/assets/data/font_sizes.json +42 -0
- data/assets/data/footer.html +238 -0
- data/assets/data/galleries.json +127 -0
- data/assets/data/gallery_customizer.html +150 -0
- data/assets/data/jupyter/notebooks/_html/template.full.head.html +75 -0
- data/assets/data/jupyter/notebooks/_html/visualisation.html +968 -0
- data/assets/data/jupyter/notebooks/html/template.html +50 -0
- data/assets/data/jupyter/notebooks/html/visualisation.ok.html +949 -0
- data/assets/data/jupyter/notebooks/tutorial.ipynb +169 -0
- data/assets/data/jupyter/notebooks/visualisation.ipynb +9413 -0
- data/assets/data/mdi_icons.json +14641 -0
- data/assets/data/menu.html +469 -0
- data/assets/data/messages.yml +131 -0
- data/assets/data/panel.html +518 -0
- data/assets/data/quicklinks.html +225 -0
- data/assets/data/search.yml +131 -0
- data/assets/data/sidebar.html +261 -0
- data/assets/data/themes.json +59 -0
- data/assets/data/twa_v1.json +6978 -0
- data/assets/error_pages/HTTP204.html +70 -0
- data/assets/error_pages/HTTP400.html +66 -0
- data/assets/error_pages/HTTP401.html +67 -0
- data/assets/error_pages/HTTP403.html +66 -0
- data/assets/error_pages/HTTP404.html +66 -0
- data/assets/error_pages/HTTP500.html +66 -0
- data/assets/error_pages/HTTP501.html +66 -0
- data/assets/error_pages/HTTP502.html +66 -0
- data/assets/error_pages/HTTP503.html +67 -0
- data/assets/error_pages/HTTP520.html +66 -0
- data/assets/error_pages/HTTP521.html +66 -0
- data/assets/error_pages/HTTP533.html +66 -0
- data/assets/themes/j1/core/css/bootstrap.css +7139 -0
- data/assets/themes/j1/core/css/bootstrap.min.css +6 -0
- data/assets/themes/j1/core/css/custom.scss +28 -0
- data/assets/themes/j1/core/css/globals.css +14523 -0
- data/assets/themes/j1/core/css/globals.min.css +1 -0
- data/assets/themes/j1/core/css/globals.scss +28 -0
- data/assets/themes/j1/core/css/theme_extensions.css +11565 -0
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -0
- data/assets/themes/j1/core/css/uno.css +11830 -0
- data/assets/themes/j1/core/css/uno.min.css +1 -0
- data/assets/themes/j1/core/css/uno.scss +28 -0
- data/assets/themes/j1/core/css/vendor.css +46751 -0
- data/assets/themes/j1/core/css/vendor.min.css +14 -0
- data/assets/themes/j1/core/css/vendor.scss +28 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.svg +3459 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.ttf +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.svg +803 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.ttf +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.eot +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.svg +4527 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.ttf +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/metadata/icons.json +26790 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/metadata/icons.yml +9088 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/metadata/shims.json +2302 -0
- data/assets/themes/j1/core/fonts/fontawesome_5/metadata/shims.yml +292 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.eot +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.svg +10188 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.ttf +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.woff +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/materialdesignicons-webfont.woff2 +0 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +97 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/metadata/icons.json +8186 -0
- data/assets/themes/j1/core/fonts/materialdesign_icons/metadata/icons.yml +5857 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Black.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-BlackItalic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.eot +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff2 +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-BoldItalic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Italic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.eot +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff2 +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-LightItalic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.eot +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff2 +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-MediumItalic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.eot +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff2 +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.eot +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff2 +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/Roboto-ThinItalic.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/mplus1p-regular-fallback.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/notoserif-bold-subset.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/notoserif-bold_italic-subset.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/notoserif-italic-subset.ttf +0 -0
- data/assets/themes/j1/core/fonts/roboto/fonts/notoserif-regular-subset.ttf +0 -0
- data/assets/themes/j1/core/js/template.js +143 -0
- data/assets/themes/j1/core/js/template.js.map +1 -0
- data/assets/themes/j1/core/js/template.min.js +1 -0
- data/exe/j1 +26 -0
- data/lib/j1.rb +130 -0
- data/lib/j1/command.rb +23 -0
- data/lib/j1/commands/generate.rb +154 -0
- data/lib/j1/commands/help.rb +32 -0
- data/lib/j1/commands/module.rb +69 -0
- data/lib/j1/external.rb +59 -0
- data/lib/j1/log_adapter.rb +115 -0
- data/lib/j1/log_helper.rb +61 -0
- data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +72 -0
- data/lib/j1/utils.rb +330 -0
- data/lib/j1/utils/ansi.rb +59 -0
- data/lib/j1/utils/exec.rb +25 -0
- data/lib/j1/utils/platforms.rb +80 -0
- data/lib/j1/utils/win_tz.rb +73 -0
- data/lib/j1/version.rb +3 -0
- data/lib/j1_app.rb +105 -0
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +1367 -0
- data/lib/j1_app/j1_auth_manager/commands.rb +18 -0
- data/lib/j1_app/j1_auth_manager/config.rb +238 -0
- data/lib/j1_app/j1_auth_manager/error_pages.rb +44 -0
- data/lib/j1_app/j1_auth_manager/helpers.rb +166 -0
- data/lib/j1_app/j1_auth_manager/helpers_disqus.rb +29 -0
- data/lib/j1_app/j1_auth_manager/helpers_facebook.rb +29 -0
- data/lib/j1_app/j1_auth_manager/helpers_github.rb +112 -0
- data/lib/j1_app/j1_auth_manager/helpers_patreon.rb +29 -0
- data/lib/j1_app/j1_auth_manager/helpers_twitter.rb +30 -0
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +389 -0
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb.kapott +234 -0
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.new.erb +297 -0
- data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +153 -0
- data/lib/j1_app/j1_site_manager/static_site.rb +94 -0
- data/lib/j1_app/log4r/yamlconfigurator.rb +195 -0
- data/lib/j1_app/omniauth/facebook/signed_request.rb +52 -0
- data/lib/j1_app/omniauth/strategies/disqus.rb +113 -0
- data/lib/j1_app/omniauth/strategies/facebook.rb +212 -0
- data/lib/j1_app/omniauth/strategies/github.rb +141 -0
- data/lib/j1_app/omniauth/strategies/patreon.rb +129 -0
- data/lib/j1_app/omniauth/strategies/twitter.rb +156 -0
- data/lib/j1_app/sinatra/extras/cookies.rb +282 -0
- data/lib/j1_app/sinatra/extras/index.rb +33 -0
- data/lib/starter_web/Gemfile +213 -0
- data/lib/starter_web/_config.yml +978 -0
- data/lib/starter_web/_data/_defaults/categories.yml +36 -0
- data/lib/starter_web/_data/_defaults/colors.yml +612 -0
- data/lib/starter_web/_data/_defaults/font_sizes.yml +29 -0
- data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +110 -0
- data/lib/starter_web/_data/_defaults/resources.yml +942 -0
- data/lib/starter_web/_data/_defaults/template_settings.yml +258 -0
- data/lib/starter_web/_data/apps/carousel.yml +515 -0
- data/lib/starter_web/_data/apps/defaults/carousel.yml +223 -0
- data/lib/starter_web/_data/apps/defaults/gallery_customizer.yml +50 -0
- data/lib/starter_web/_data/apps/defaults/justified_gallery.yml +72 -0
- data/lib/starter_web/_data/apps/defaults/light_gallery.yml +115 -0
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +181 -0
- data/lib/starter_web/_data/apps/gallery_customizer.yml +47 -0
- data/lib/starter_web/_data/apps/justified_gallery.yml +317 -0
- data/lib/starter_web/_data/apps/light_gallery.yml +114 -0
- data/lib/starter_web/_data/apps/lightbox.yml +181 -0
- data/lib/starter_web/_data/blocks/banner.yml +366 -0
- data/lib/starter_web/_data/blocks/defaults/banner.yml +253 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +180 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +256 -0
- data/lib/starter_web/_data/blocks/footer.yml +189 -0
- data/lib/starter_web/_data/blocks/panel.yml +348 -0
- data/lib/starter_web/_data/builder/blog_navigator.yml +211 -0
- data/lib/starter_web/_data/categories.yml +36 -0
- data/lib/starter_web/_data/colors.yml +612 -0
- data/lib/starter_web/_data/font_sizes.yml +30 -0
- data/lib/starter_web/_data/layouts/app.yml +160 -0
- data/lib/starter_web/_data/layouts/blog_archive.yml +160 -0
- data/lib/starter_web/_data/layouts/collection.yml +187 -0
- data/lib/starter_web/_data/layouts/default.yml +232 -0
- data/lib/starter_web/_data/layouts/home.yml +270 -0
- data/lib/starter_web/_data/layouts/page.yml +186 -0
- data/lib/starter_web/_data/layouts/post.yml +187 -0
- data/lib/starter_web/_data/layouts/raw.yml +160 -0
- data/lib/starter_web/_data/modules/attics.yml +220 -0
- data/lib/starter_web/_data/modules/authentication.yml +254 -0
- data/lib/starter_web/_data/modules/back2top.yml +40 -0
- data/lib/starter_web/_data/modules/cookie_consent.yml +128 -0
- data/lib/starter_web/_data/modules/cookiebar.yml +32 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +220 -0
- data/lib/starter_web/_data/modules/defaults/authentication.yml +263 -0
- data/lib/starter_web/_data/modules/defaults/back2top.yml +147 -0
- data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +69 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +79 -0
- data/lib/starter_web/_data/modules/defaults/framer.yml +274 -0
- data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +149 -0
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +131 -0
- data/lib/starter_web/_data/modules/defaults/log4r.yml +171 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +174 -0
- data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +169 -0
- data/lib/starter_web/_data/modules/defaults/stickybits.yml +37 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +168 -0
- data/lib/starter_web/_data/modules/defaults/toccer.yml +172 -0
- data/lib/starter_web/_data/modules/framer.yml +52 -0
- data/lib/starter_web/_data/modules/jekyll_search.yml +51 -0
- data/lib/starter_web/_data/modules/log4javascript.yml +131 -0
- data/lib/starter_web/_data/modules/log4r.yml +171 -0
- data/lib/starter_web/_data/modules/navigator.yml +162 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +276 -0
- data/lib/starter_web/_data/modules/smooth_scroll.yml +169 -0
- data/lib/starter_web/_data/modules/themer.yml +147 -0
- data/lib/starter_web/_data/modules/toccer.yml +172 -0
- data/lib/starter_web/_data/pages/builder.yml +87 -0
- data/lib/starter_web/_data/plugins/defaults/notebooks.yml +61 -0
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +92 -0
- data/lib/starter_web/_data/plugins/notebooks.yml +70 -0
- data/lib/starter_web/_data/plugins/paginator.yml +52 -0
- data/lib/starter_web/_data/private.yml +231 -0
- data/lib/starter_web/_data/resources.yml +861 -0
- data/lib/starter_web/_data/template_settings.yml +294 -0
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +41 -0
- data/lib/starter_web/_data/utilities/util_srv.yml +97 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-answer.rb +48 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-question.rb +48 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/callout.rb +9 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/carousel-block.rb +46 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/conum.rb +9 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +33 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +33 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/gallery-block.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/gist-block.rb +52 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +33 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +85 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/lorem-inline.rb +65 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +33 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/shout-block.rb +47 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +37 -0
- data/lib/starter_web/_plugins/debug.rb +63 -0
- data/lib/starter_web/_plugins/filters.rb +320 -0
- data/lib/starter_web/_plugins/prettify.rb +45 -0
- data/lib/starter_web/_plugins/simple_search_filter.rb +33 -0
- data/lib/starter_web/_plugins/symlink_watcher.rb +52 -0
- data/lib/starter_web/apps/public/cc +1650 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jekyll.1200x400.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jekyll.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/staticgen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/welcome-to-j1-template.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/what-is-a-baseurl.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/j1_docker_banner.1280x500.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/kinematic_alpha.1280x600.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/kinematic_j1.1280x300.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/windows_docker_banner.1280x500.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-4.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-5.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-6.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-7.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-8.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/algolia/search-by-algolia.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/asciidoc/logo-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/bootstrap/bootstrap-solid-32x32.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/bootstrap/bs-docs-masthead-pattern.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/bootstrap/scalable/bootstrap-outline.svg +20 -0
- data/lib/starter_web/assets/images/modules/icons/bootstrap/scalable/bootstrap-punchout.svg +18 -0
- data/lib/starter_web/assets/images/modules/icons/bootstrap/scalable/bootstrap-solid.svg +17 -0
- data/lib/starter_web/assets/images/modules/icons/components/angular.ui.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/angularjs.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/aws.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/bootstrap.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/c9.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/chai.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/emmet.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/express.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/git.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/github.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/gulp.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/heroku.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/htmlcss-1.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/htmlcss-2.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/jasmine.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/javascript.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/jquery.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/kanban.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/leanux.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/linkedin.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/mean.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/mongodb.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/node.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/postgresql.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/protractor.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/rails.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/ruby.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/sass.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/scrum.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/components/twitter.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +2020 -0
- data/lib/starter_web/assets/images/modules/icons/j1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1..ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +2027 -0
- data/lib/starter_web/assets/images/modules/icons/netlify/nf-logo.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/scalable/p1.svg +2020 -0
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-16x16.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-32x32.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/amazon.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/behance.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/blogger.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/deviantart.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/dribbble.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/dropbox.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/evernote.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/facebook.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/forrst.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/github.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/googleplus.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/instagram.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/jolicloud.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/last-fm.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/linkedin.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/picasa.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/pintrest.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/rss.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/skype.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/spotify.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/stumbleupon.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/tumblr.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/twitter.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/vimeo.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/vk.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/wordpress.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/xing.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/yahoo.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/social/youtube.png +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/close.png +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/loading.gif +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/next.png +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/prev.png +0 -0
- data/lib/starter_web/assets/images/modules/patterns/1x1.png +0 -0
- data/lib/starter_web/assets/images/modules/patterns/gridtile.png +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/000_browser_console-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/001_smee_channel-1280x400.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/002_gh_repo_settings-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/003_gh_webhook_settings-1280x1000.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/004_gh_webhook_settings-post-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/005_smee_channel_ping_receive-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/006_gh_redeliver_payload-1280x900.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/007_receive_redelivered_payload-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_browser_console.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_smee_channel.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/002_gh_repo-settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/003_gh_webhook_settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/004_gh_webhook_settings-post.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/005_smee_channel_ping_received.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/006_gh_redeliver_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/007_receive_redelivered_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/webhook_flow.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/flows/webhook_flow-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/scaleable/webhook_flow.svg +432 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +632 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +648 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/130_layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance_thumb.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/html_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-quickstart-windows.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-template-theme.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/jekyll-minima-theme.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/lane_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/preparations/msys_installation.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4j/apache-log4j-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log4r/code-1920x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4r/log4r-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_000.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_001.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_002.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_003.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_004.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_005.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_006.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_007.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_008.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_009.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_010.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_011.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_012.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_013.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_014.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_015.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_016.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_017.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_018.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_019.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_020.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_021.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_022.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_023.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_024.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_025.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_026.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_027.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_028.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_029.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_030.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_031.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_032.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_033.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_034.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_035.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_036.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_037.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_038.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_039.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_040.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_041.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_042.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_043.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_044.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_045.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_046.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_047.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_048.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_049.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_050.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_051.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_052.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_053.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_054.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_055.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_056.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_057.png +0 -0
- data/lib/starter_web/assets/images/pages/modals/01_frame_modal.jpg +0 -0
- data/lib/starter_web/assets/images/pages/modals/02_site_modal.jpg +0 -0
- data/lib/starter_web/assets/images/pages/modals/03_central_modal.jpg +0 -0
- data/lib/starter_web/assets/images/pages/modals/04_fluid_modal.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jQuery-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1920x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/src/JQuery-Logo.svg +122 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/src/banner.psd +0 -0
- data/lib/starter_web/assets/images/pages/previewer/bs-color-palette.png +0 -0
- data/lib/starter_web/assets/images/pages/previewer/material-design-color-palette.jpg +0 -0
- data/lib/starter_web/assets/images/pages/previewer/material-design-color-palette.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-2.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-3.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-2.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-3.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/410_bs_modals_extentions/avatar.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/410_bs_modals_extentions/marc.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.png +0 -0
- data/lib/starter_web/assets/images/quotes/people.png +0 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/attic.js +563 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +227 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/carousel.js +313 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/cookie_consent.js +259 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/framer.js +208 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/gallery_customizer.js +427 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/j1.js +2034 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/justified_gallery.js +403 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/lightbox.js +181 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/logger.js +316 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +782 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +177 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/searcher.js +193 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/themer.js +357 -0
- data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +353 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/carousel.css +81 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/carousel.min.css +17 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/carousel_transitions.css +184 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/carousel_transitions.min.css +17 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/theme/uno.css +191 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/css/theme/uno.min.css +16 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/images/grabbing.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/js/carousel.js +1517 -0
- data/lib/starter_web/assets/themes/j1/extensions/carousel/js/carousel.min.js +57 -0
- data/lib/starter_web/assets/themes/j1/extensions/iconify/js/iconify.min.js +13 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +86 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +58 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +51 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +68 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +46 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +79 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/index.html +70 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/examples/two.html +71 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +1104 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +1 -0
- data/lib/starter_web/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +10 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/LICENSE +22 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/README.md +273 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +23 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +1229 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +1229 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +8 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +20 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +113 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +23 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +1229 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +8 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +110 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/css/theme/uno.css +38 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +38 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +1229 -0
- data/lib/starter_web/assets/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +8 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +58 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +778 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lightgallery.css +981 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/fonts/lg.svg +47 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +10 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +30 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +15 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/uno.css +263 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/css/themes/uno.min.css +17 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/core/lightgallery.js +1362 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +402 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +8 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +206 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +126 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +101 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +105 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-share.js +107 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +478 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-video.js +342 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +527 -0
- data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +5 -0
- data/lib/starter_web/assets/themes/j1/extensions/log4javascript/log4javascript.js +5826 -0
- data/lib/starter_web/assets/themes/j1/extensions/log4javascript/log4javascript.min.js +266 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.dark/theme.css +78 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.light/theme.css +77 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +78 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +77 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.monokai/theme.css +78 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +78 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +77 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16.solarized/theme.css +77 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/base16/theme.css +77 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/colorful/theme.css +170 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/github/theme.css +209 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +84 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +84 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/gruvbox/theme.css +84 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/igorpro/theme.css +32 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/molokai/theme.css +208 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +187 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/monokai/theme.css +210 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/pastie/theme.css +146 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +173 -0
- data/lib/starter_web/assets/themes/j1/extensions/rouge/css/tulip/theme.css +164 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/city.css +147 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/city.min.css +6 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/fantasy.css +113 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/fantasy.min.css +6 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/forest.css +165 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/forest.min.css +6 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/sea.css +72 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/themes/sea.min.css +6 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/video-js.css +1663 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/css/video-js.min.css +1 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/js/video.js +55690 -0
- data/lib/starter_web/assets/themes/j1/extensions/videojs/js/video.min.js +28 -0
- data/lib/starter_web/assets/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +4 -0
- data/lib/starter_web/assets/themes/j1/extensions/vimeo/player/js/player.js +2138 -0
- data/lib/starter_web/assets/themes/j1/extensions/vimeo/player/js/player.js.map +1 -0
- data/lib/starter_web/assets/themes/j1/extensions/vimeo/player/js/player.min.js +2 -0
- data/lib/starter_web/assets/themes/j1/extensions/vimeo/player/js/player.min.js.map +1 -0
- data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video1-thumb.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_adele-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_gwen-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video_michelle-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
- data/lib/starter_web/collections/posts/private/readme +0 -0
- data/lib/starter_web/collections/posts/protected/readme +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +160 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/attributes.asciidoc +47 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/unsplash-badge.asciidoc +31 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +97 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +197 -0
- data/lib/starter_web/collections/posts/public/jekyll/_posts/2018-05-01-confusion-about-base-url.adoc +105 -0
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc +66 -0
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/100-docker-using-shared-folders.asciidoc +430 -0
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh +28 -0
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/tables/debug_variables.asciidoc +48 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +504 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/000_includes/attributes.asciidoc +46 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/000_includes/tables/debug_variables.asciidoc +48 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +126 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +88 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +86 -0
- data/lib/starter_web/config.ru +24 -0
- data/lib/starter_web/dot.gitattributes +31 -0
- data/lib/starter_web/dot.gitignore +55 -0
- data/lib/starter_web/dot.nojekyll +19 -0
- data/lib/starter_web/favicon.ico +0 -0
- data/lib/starter_web/index.html +68 -0
- data/lib/starter_web/package.json +136 -0
- data/lib/starter_web/pages/private/readme +0 -0
- data/lib/starter_web/pages/protected/readme +0 -0
- data/lib/starter_web/pages/public/about/about_site.adoc +40 -0
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +50 -0
- data/lib/starter_web/pages/public/blog/navigator/archive.html +111 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +153 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +133 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +187 -0
- data/lib/starter_web/pages/public/blog/navigator/index.html +47 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/attributes.asciidoc +174 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/100_meet_and_greet_jekyll.asciidoc +31 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/200_preparations.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/300_first_awesome_web.asciidoc +12 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +193 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +79 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +72 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +70 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +121 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +145 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +644 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +117 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/100_gistblock.asciidoc +27 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_left_warning.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_right_danger.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_central_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +47 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +928 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +304 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +152 -0
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +524 -0
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +435 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +536 -0
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +128 -0
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +281 -0
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +138 -0
- data/lib/starter_web/pages/public/learn/roundtrip/bs_tour.js +98 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +117 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/100_gistblock.asciidoc +27 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_central_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +47 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +928 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_test_youtube_video.adoc +141 -0
- data/lib/starter_web/pages/public/learn/vtutorials/100_basic_video.adoc +109 -0
- data/lib/starter_web/pages/public/learn/whats_up.adoc +117 -0
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +97 -0
- data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +54 -0
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +300 -0
- data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +394 -0
- data/lib/starter_web/pages/public/legal/de/500_support.adoc +19 -0
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +89 -0
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +51 -0
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +48 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +394 -0
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +432 -0
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +19 -0
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +55 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +158 -0
- data/lib/starter_web/pages/public/previewer/000_includes/attributes.asciidoc +116 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +39 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +47 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +87 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +71 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +31 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +39 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +61 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +55 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +95 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +95 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +95 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +47 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +47 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +71 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +30 -0
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +31 -0
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1858 -0
- data/lib/starter_web/pages/public/previewer/iframer.adoc +83 -0
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +33 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +295 -0
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +195 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +52 -0
- data/lib/starter_web/utilsrv/package.json +52 -0
- data/lib/starter_web/utilsrv/server.js +601 -0
- metadata +1213 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
/*! lightgallery - v1.6.12 - 2019-02-19
|
2
|
+
* http://sachinchoolur.github.io/lightGallery/
|
3
|
+
* Copyright (c) 2019 Sachin N; Licensed GPLv3 */
|
4
|
+
|
5
|
+
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(b,d){if(this.el=b,this.$el=a(b),this.s=a.extend({},c,d),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=a(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(a(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var c={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};b.prototype.init=function(){var b=this;b.s.preload>b.$items.length&&(b.s.preload=b.$items.length);var c=window.location.hash;c.indexOf("lg="+this.s.galleryId)>0&&(b.index=parseInt(c.split("&slide=")[1],10),a("body").addClass("lg-from-hash"),a("body").hasClass("lg-on")||(setTimeout(function(){b.build(b.index)}),a("body").addClass("lg-on"))),b.s.dynamic?(b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||0,a("body").hasClass("lg-on")||setTimeout(function(){b.build(b.index),a("body").addClass("lg-on")})):b.$items.on("click.lgcustom",function(c){try{c.preventDefault(),c.preventDefault()}catch(a){c.returnValue=!1}b.$el.trigger("onBeforeOpen.lg"),b.index=b.s.index||b.$items.index(this),a("body").hasClass("lg-on")||(b.build(b.index),a("body").addClass("lg-on"))})},b.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightGallery.modules,function(b){c.modules[b]=new a.fn.lightGallery.modules[b](c.el)}),c.slide(b,!1,!1,!1),c.s.keyPress&&c.keyPress(),c.$items.length>1?(c.arrow(),setTimeout(function(){c.enableDrag(),c.enableSwipe()},50),c.s.mousewheel&&c.mousewheel()):c.$slide.on("click.lg",function(){c.$el.trigger("onSlideClick.lg")}),c.counter(),c.closeGallery(),c.$el.trigger("onAfterOpen.lg"),c.$outer.on("mousemove.lg click.lg touchstart.lg",function(){c.$outer.removeClass("lg-hide-items"),clearTimeout(c.hideBartimeout),c.hideBartimeout=setTimeout(function(){c.$outer.addClass("lg-hide-items")},c.s.hideBarsDelay)}),c.$outer.trigger("mousemove.lg")},b.prototype.structure=function(){var b,c="",d="",e=0,f="",g=this;for(a("body").append('<div class="lg-backdrop"></div>'),a(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),e=0;e<this.$items.length;e++)c+='<div class="lg-item"></div>';if(this.s.controls&&this.$items.length>1&&(d='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'</button><button class="lg-next lg-icon">'+this.s.nextHtml+"</button></div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(f='<div class="lg-sub-html"></div>'),b='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+c+'</div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"></span></div>'+d+f+"</div></div>",a("body").append(b),this.$outer=a(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),g.setTop(),a(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){g.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var h=this.$outer.find(".lg-inner");h.css("transition-timing-function",this.s.cssEasing),h.css("transition-duration",this.s.speed+"ms")}setTimeout(function(){a(".lg-backdrop").addClass("in")}),setTimeout(function(){g.$outer.addClass("lg-visible")},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"></a>'),this.prevScrollTop=a(window).scrollTop()},b.prototype.setTop=function(){if("100%"!==this.s.height){var b=a(window).height(),c=(b-parseInt(this.s.height,10))/2,d=this.$outer.find(".lg");b>=parseInt(this.s.height,10)?d.css("top",c+"px"):d.css("top","0px")}},b.prototype.doCss=function(){return!!function(){var a=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],b=document.documentElement,c=0;for(c=0;c<a.length;c++)if(a[c]in b.style)return!0}()},b.prototype.isVideo=function(a,b){var c;if(c=this.s.dynamic?this.s.dynamicEl[b].html:this.$items.eq(b).attr("data-html"),!a)return c?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(b+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var d=a.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),e=a.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),f=a.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),g=a.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return d?{youtube:d}:e?{vimeo:e}:f?{dailymotion:f}:g?{vk:g}:void 0},b.prototype.counter=function(){this.s.counter&&a(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'</span> / <span id="lg-counter-all">'+this.$items.length+"</span></div>")},b.prototype.addHtml=function(b){var c,d,e=null;if(this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:e=this.s.dynamicEl[b].subHtml:(d=this.$items.eq(b),d.attr("data-sub-html-url")?c=d.attr("data-sub-html-url"):(e=d.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!e&&(e=d.attr("title")||d.find("img").first().attr("alt")))),!c)if(void 0!==e&&null!==e){var f=e.substring(0,1);"."!==f&&"#"!==f||(e=this.s.subHtmlSelectorRelative&&!this.s.dynamic?d.find(e).html():a(e).html())}else e="";".lg-sub-html"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(e):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(e),void 0!==e&&null!==e&&(""===e?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[b])},b.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(a-c<0);c++)this.loadContent(a-c,!1,0)},b.prototype.loadContent=function(b,c,d){var e,f,g,h,i,j,k=this,l=!1,m=function(b){for(var c=[],d=[],e=0;e<b.length;e++){var g=b[e].split(" ");""===g[0]&&g.splice(0,1),d.push(g[0]),c.push(g[1])}for(var h=a(window).width(),i=0;i<c.length;i++)if(parseInt(c[i],10)>h){f=d[i];break}};if(k.s.dynamic){if(k.s.dynamicEl[b].poster&&(l=!0,g=k.s.dynamicEl[b].poster),j=k.s.dynamicEl[b].html,f=k.s.dynamicEl[b].src,k.s.dynamicEl[b].responsive){m(k.s.dynamicEl[b].responsive.split(","))}h=k.s.dynamicEl[b].srcset,i=k.s.dynamicEl[b].sizes}else{if(k.$items.eq(b).attr("data-poster")&&(l=!0,g=k.$items.eq(b).attr("data-poster")),j=k.$items.eq(b).attr("data-html"),f=k.$items.eq(b).attr("href")||k.$items.eq(b).attr("data-src"),k.$items.eq(b).attr("data-responsive")){m(k.$items.eq(b).attr("data-responsive").split(","))}h=k.$items.eq(b).attr("data-srcset"),i=k.$items.eq(b).attr("data-sizes")}var n=!1;k.s.dynamic?k.s.dynamicEl[b].iframe&&(n=!0):"true"===k.$items.eq(b).attr("data-iframe")&&(n=!0);var o=k.isVideo(f,b);if(!k.$slide.eq(b).hasClass("lg-loaded")){if(n)k.$slide.eq(b).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+k.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+f+'" allowfullscreen="true"></iframe></div></div>');else if(l){var p="";p=o&&o.youtube?"lg-has-youtube":o&&o.vimeo?"lg-has-vimeo":"lg-has-html5",k.$slide.eq(b).prepend('<div class="lg-video-cont '+p+' "><div class="lg-video"><span class="lg-video-play"></span><img class="lg-object lg-has-poster" src="'+g+'" /></div></div>')}else o?(k.$slide.eq(b).prepend('<div class="lg-video-cont "><div class="lg-video"></div></div>'),k.$el.trigger("hasVideo.lg",[b,f,j])):k.$slide.eq(b).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+f+'" /></div>');if(k.$el.trigger("onAferAppendSlide.lg",[b]),e=k.$slide.eq(b).find(".lg-object"),i&&e.attr("sizes",i),h){e.attr("srcset",h);try{picturefill({elements:[e[0]]})}catch(a){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&k.addHtml(b),k.$slide.eq(b).addClass("lg-loaded")}k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){var c=0;d&&!a("body").hasClass("lg-from-hash")&&(c=d),setTimeout(function(){k.$slide.eq(b).addClass("lg-complete"),k.$el.trigger("onSlideItemLoad.lg",[b,d||0])},c)}),o&&o.html5&&!l&&k.$slide.eq(b).addClass("lg-complete"),!0===c&&(k.$slide.eq(b).hasClass("lg-complete")?k.preload(b):k.$slide.eq(b).find(".lg-object").on("load.lg error.lg",function(){k.preload(b)}))},b.prototype.slide=function(b,c,d,e){var f=this.$outer.find(".lg-current").index(),g=this;if(!g.lGalleryOn||f!==b){var h=this.$slide.length,i=g.lGalleryOn?this.s.speed:0;if(!g.lgBusy){if(this.s.download){var j;j=g.s.dynamic?!1!==g.s.dynamicEl[b].downloadUrl&&(g.s.dynamicEl[b].downloadUrl||g.s.dynamicEl[b].src):"false"!==g.$items.eq(b).attr("data-download-url")&&(g.$items.eq(b).attr("data-download-url")||g.$items.eq(b).attr("href")||g.$items.eq(b).attr("data-src")),j?(a("#lg-download").attr("href",j),g.$outer.removeClass("lg-hide-download")):g.$outer.addClass("lg-hide-download")}if(this.$el.trigger("onBeforeSlide.lg",[f,b,c,d]),g.lgBusy=!0,clearTimeout(g.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){g.addHtml(b)},i),this.arrowDisable(b),e||(b<f?e="prev":b>f&&(e="next")),c){this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide");var k,l;h>2?(k=b-1,l=b+1,0===b&&f===h-1?(l=0,k=h-1):b===h-1&&0===f&&(l=0,k=h-1)):(k=0,l=1),"prev"===e?g.$slide.eq(l).addClass("lg-next-slide"):g.$slide.eq(k).addClass("lg-prev-slide"),g.$slide.eq(b).addClass("lg-current")}else g.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===e?(this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(f).addClass("lg-next-slide")):(this.$slide.eq(b).addClass("lg-next-slide"),this.$slide.eq(f).addClass("lg-prev-slide")),setTimeout(function(){g.$slide.removeClass("lg-current"),g.$slide.eq(b).addClass("lg-current"),g.$outer.removeClass("lg-no-trans")},50);g.lGalleryOn?(setTimeout(function(){g.loadContent(b,!0,0)},this.s.speed+50),setTimeout(function(){g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])},this.s.speed)):(g.loadContent(b,!0,g.s.backdropDuration),g.lgBusy=!1,g.$el.trigger("onAfterSlide.lg",[f,b,c,d])),g.lGalleryOn=!0,this.s.counter&&a("#lg-counter-current").text(b+1)}g.index=b}},b.prototype.goToNextSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index+1<b.$slide.length?(b.index++,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):c?(b.index=0,b.$el.trigger("onBeforeNextSlide.lg",[b.index]),b.slide(b.index,a,!1,"next")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-right-end"),setTimeout(function(){b.$outer.removeClass("lg-right-end")},400)))},b.prototype.goToPrevSlide=function(a){var b=this,c=b.s.loop;a&&b.$slide.length<3&&(c=!1),b.lgBusy||(b.index>0?(b.index--,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):c?(b.index=b.$items.length-1,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1,"prev")):b.s.slideEndAnimatoin&&!a&&(b.$outer.addClass("lg-left-end"),setTimeout(function(){b.$outer.removeClass("lg-left-end")},400)))},b.prototype.keyPress=function(){var b=this;this.$items.length>1&&a(window).on("keyup.lg",function(a){b.$items.length>1&&(37===a.keyCode&&(a.preventDefault(),b.goToPrevSlide()),39===a.keyCode&&(a.preventDefault(),b.goToNextSlide()))}),a(window).on("keydown.lg",function(a){!0===b.s.escKey&&27===a.keyCode&&(a.preventDefault(),b.$outer.hasClass("lg-thumb-open")?b.$outer.removeClass("lg-thumb-open"):b.destroy())})},b.prototype.arrow=function(){var a=this;this.$outer.find(".lg-prev").on("click.lg",function(){a.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){a.goToNextSlide()})},b.prototype.arrowDisable=function(a){!this.s.loop&&this.s.hideControlOnEnd&&(a+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),a>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},b.prototype.setTranslate=function(a,b,c){this.s.useLeft?a.css("left",b):a.css({transform:"translate3d("+b+"px, "+c+"px, 0px)"})},b.prototype.touchMove=function(b,c){var d=c-b;Math.abs(d)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),d,0),this.setTranslate(a(".lg-prev-slide"),-this.$slide.eq(this.index).width()+d,0),this.setTranslate(a(".lg-next-slide"),this.$slide.eq(this.index).width()+d,0))},b.prototype.touchEnd=function(a){var b=this;"lg-slide"!==b.s.mode&&b.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){b.$outer.removeClass("lg-dragging"),a<0&&Math.abs(a)>b.s.swipeThreshold?b.goToNextSlide(!0):a>0&&Math.abs(a)>b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger("onSlideClick.lg"),b.$slide.removeAttr("style")}),setTimeout(function(){b.$outer.hasClass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeClass("lg-slide")},b.s.speed+100)},b.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.doCss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasClass("lg-zoomed")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasClass("lg-zoomed")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasClass("lg-zoomed")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger("onSlideClick.lg"))}))},b.prototype.enableDrag=function(){var b=this,c=0,d=0,e=!1,f=!1;b.s.enableDrag&&b.doCss()&&(b.$slide.on("mousedown.lg",function(d){b.$outer.hasClass("lg-zoomed")||b.lgBusy||a(d.target).text().trim()||(d.preventDefault(),b.manageSwipeClass(),c=d.pageX,e=!0,b.$outer.scrollLeft+=1,b.$outer.scrollLeft-=1,b.$outer.removeClass("lg-grab").addClass("lg-grabbing"),b.$el.trigger("onDragstart.lg"))}),a(window).on("mousemove.lg",function(a){e&&(f=!0,d=a.pageX,b.touchMove(c,d),b.$el.trigger("onDragmove.lg"))}),a(window).on("mouseup.lg",function(g){f?(f=!1,b.touchEnd(d-c),b.$el.trigger("onDragend.lg")):(a(g.target).hasClass("lg-object")||a(g.target).hasClass("lg-video-play"))&&b.$el.trigger("onSlideClick.lg"),e&&(e=!1,b.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},b.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?b=this.$slide.length-1:this.index===this.$slide.length-1&&(a=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),b>-1&&this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(a).addClass("lg-next-slide")},b.prototype.mousewheel=function(){var a=this;a.$outer.on("mousewheel.lg",function(b){b.deltaY&&(b.deltaY>0?a.goToPrevSlide():a.goToNextSlide(),b.preventDefault())})},b.prototype.closeGallery=function(){var b=this,c=!1;this.$outer.find(".lg-close").on("click.lg",function(){b.destroy()}),b.s.closable&&(b.$outer.on("mousedown.lg",function(b){c=!!(a(b.target).is(".lg-outer")||a(b.target).is(".lg-item ")||a(b.target).is(".lg-img-wrap"))}),b.$outer.on("mousemove.lg",function(){c=!1}),b.$outer.on("mouseup.lg",function(d){(a(d.target).is(".lg-outer")||a(d.target).is(".lg-item ")||a(d.target).is(".lg-img-wrap")&&c)&&(b.$outer.hasClass("lg-dragging")||b.destroy())}))},b.prototype.destroy=function(b){var c=this;b||(c.$el.trigger("onBeforeClose.lg"),a(window).scrollTop(c.prevScrollTop)),b&&(c.s.dynamic||this.$items.off("click.lg click.lgcustom"),a.removeData(c.el,"lightGallery")),this.$el.off(".lg.tm"),a.each(a.fn.lightGallery.modules,function(a){c.modules[a]&&c.modules[a].destroy()}),this.lGalleryOn=!1,clearTimeout(c.hideBartimeout),this.hideBartimeout=!1,a(window).off(".lg"),a("body").removeClass("lg-on lg-from-hash"),c.$outer&&c.$outer.removeClass("lg-visible"),a(".lg-backdrop").removeClass("in"),setTimeout(function(){c.$outer&&c.$outer.remove(),a(".lg-backdrop").remove(),b||c.$el.trigger("onCloseAfter.lg")},c.s.backdropDuration+50)},a.fn.lightGallery=function(c){return this.each(function(){if(a.data(this,"lightGallery"))try{a(this).data("lightGallery").init()}catch(a){console.error("lightGallery has not initiated properly")}else a.data(this,"lightGallery",new b(this,c))})},a.fn.lightGallery.modules={}}()});
|
@@ -0,0 +1,402 @@
|
|
1
|
+
/*! jg-video - v1 - 2020-04-10
|
2
|
+
* based on lg-video - v1.2.2 - 2018-05-01
|
3
|
+
* http://sachinchoolur.github.io/lightGallery
|
4
|
+
* Copyright (C) 2020 Juergen Adams
|
5
|
+
* Copyright (C) 2018 Sachin N; Licensed GPLv3
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function (root, factory) {
|
9
|
+
if (typeof define === 'function' && define.amd) {
|
10
|
+
// AMD. Register as an anonymous module unless amdModuleId is set
|
11
|
+
define(['jquery'], function (a0) {
|
12
|
+
return (factory(a0));
|
13
|
+
});
|
14
|
+
} else if (typeof module === 'object' && module.exports) {
|
15
|
+
// Node. Does not work with strict CommonJS, but
|
16
|
+
// only CommonJS-like environments that support module.exports,
|
17
|
+
// like Node.
|
18
|
+
module.exports = factory(require('jquery'));
|
19
|
+
} else {
|
20
|
+
factory(root["jQuery"]);
|
21
|
+
}
|
22
|
+
}(this, function ($) {
|
23
|
+
|
24
|
+
(function() {
|
25
|
+
|
26
|
+
'use strict';
|
27
|
+
|
28
|
+
var defaults = {
|
29
|
+
videoMaxWidth: '855px',
|
30
|
+
|
31
|
+
autoplayFirstVideo: true,
|
32
|
+
|
33
|
+
youtubePlayerParams: false,
|
34
|
+
vimeoPlayerParams: false,
|
35
|
+
dailymotionPlayerParams: false,
|
36
|
+
vkPlayerParams: false,
|
37
|
+
|
38
|
+
videojs: false,
|
39
|
+
videojsOptions: {}
|
40
|
+
};
|
41
|
+
|
42
|
+
var Video = function(element) {
|
43
|
+
|
44
|
+
this.core = $(element).data('lightGallery');
|
45
|
+
|
46
|
+
this.$el = $(element);
|
47
|
+
this.core.s = $.extend({}, defaults, this.core.s);
|
48
|
+
this.videoLoaded = false;
|
49
|
+
|
50
|
+
this.init();
|
51
|
+
|
52
|
+
return this;
|
53
|
+
};
|
54
|
+
|
55
|
+
Video.prototype.init = function() {
|
56
|
+
var _this = this;
|
57
|
+
|
58
|
+
// Event triggered when video url found without poster
|
59
|
+
_this.core.$el.on('hasVideo.lg.tm', onHasVideo.bind(this));
|
60
|
+
|
61
|
+
// Set max width for video
|
62
|
+
_this.core.$el.on('onAferAppendSlide.lg.tm', onAferAppendSlide.bind(this));
|
63
|
+
|
64
|
+
if (_this.core.doCss() && (_this.core.$items.length > 1) && (_this.core.s.enableSwipe || _this.core.s.enableDrag)) {
|
65
|
+
_this.core.$el.on('onSlideClick.lg.tm', function() {
|
66
|
+
var $el = _this.core.$slide.eq(_this.core.index);
|
67
|
+
_this.loadVideoOnclick($el);
|
68
|
+
});
|
69
|
+
} else {
|
70
|
+
|
71
|
+
// For IE 9 and bellow
|
72
|
+
_this.core.$slide.on('click.lg', function() {
|
73
|
+
_this.loadVideoOnclick($(this));
|
74
|
+
});
|
75
|
+
}
|
76
|
+
|
77
|
+
_this.core.$el.on('onBeforeSlide.lg.tm', onBeforeSlide.bind(this));
|
78
|
+
|
79
|
+
_this.core.$el.on('onAfterSlide.lg.tm', function(event, prevIndex) {
|
80
|
+
_this.core.$slide.eq(prevIndex).removeClass('lg-video-playing');
|
81
|
+
});
|
82
|
+
|
83
|
+
if (_this.core.s.autoplayFirstVideo) {
|
84
|
+
_this.core.$el.on('onAferAppendSlide.lg.tm', function (e, index) {
|
85
|
+
if (!_this.core.lGalleryOn) {
|
86
|
+
var $el = _this.core.$slide.eq(index);
|
87
|
+
setTimeout(function () {
|
88
|
+
_this.loadVideoOnclick($el);
|
89
|
+
}, 100);
|
90
|
+
}
|
91
|
+
});
|
92
|
+
}
|
93
|
+
};
|
94
|
+
|
95
|
+
Video.prototype.loadVideo = function(src, addClass, noPoster, index, html) {
|
96
|
+
var video = '';
|
97
|
+
var autoplay = 1;
|
98
|
+
var a = '';
|
99
|
+
var isVideo = this.core.isVideo(src, index) || {};
|
100
|
+
|
101
|
+
// Enable autoplay based on setting for first video if poster doesn't exist
|
102
|
+
if (noPoster) {
|
103
|
+
if (this.videoLoaded) {
|
104
|
+
autoplay = 0;
|
105
|
+
} else {
|
106
|
+
autoplay = this.core.s.autoplayFirstVideo ? 1 : 0;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
if (isVideo.youtube) {
|
111
|
+
|
112
|
+
/* jadams, 2020-04-10:
|
113
|
+
This code loads the YouTube IFrame Player API code
|
114
|
+
asynchronously (before the first JS script tag in the head)
|
115
|
+
*/
|
116
|
+
var tag = document.createElement('script');
|
117
|
+
tag.src = "https://www.youtube.com/iframe_api";
|
118
|
+
var firstScriptTag = document.getElementsByTagName('script')[0];
|
119
|
+
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
120
|
+
|
121
|
+
a = '?wmode=opaque&autoplay=' + autoplay + '&enablejsapi=1';
|
122
|
+
if (this.core.s.youtubePlayerParams) {
|
123
|
+
a = a + '&' + $.param(this.core.s.youtubePlayerParams);
|
124
|
+
}
|
125
|
+
|
126
|
+
video = '<iframe class="lg-video-object lg-youtube ' + addClass + '" width="560" height="315" src="//www.youtube.com/embed/' + isVideo.youtube[1] + a + '" frameborder="0" allowfullscreen></iframe>';
|
127
|
+
|
128
|
+
} else if (isVideo.vimeo) {
|
129
|
+
|
130
|
+
a = '?autoplay=' + autoplay + '&api=1';
|
131
|
+
if (this.core.s.vimeoPlayerParams) {
|
132
|
+
a = a + '&' + $.param(this.core.s.vimeoPlayerParams);
|
133
|
+
}
|
134
|
+
|
135
|
+
video = '<iframe class="lg-video-object lg-vimeo ' + addClass + '" width="560" height="315" src="//player.vimeo.com/video/' + isVideo.vimeo[1] + a + '" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
|
136
|
+
|
137
|
+
} else if (isVideo.dailymotion) {
|
138
|
+
|
139
|
+
a = '?wmode=opaque&autoplay=' + autoplay + '&api=postMessage';
|
140
|
+
if (this.core.s.dailymotionPlayerParams) {
|
141
|
+
a = a + '&' + $.param(this.core.s.dailymotionPlayerParams);
|
142
|
+
}
|
143
|
+
|
144
|
+
video = '<iframe class="lg-video-object lg-dailymotion ' + addClass + '" width="560" height="315" src="//www.dailymotion.com/embed/video/' + isVideo.dailymotion[1] + a + '" frameborder="0" allowfullscreen></iframe>';
|
145
|
+
|
146
|
+
} else if (isVideo.html5) {
|
147
|
+
var fL = html.substring(0, 1);
|
148
|
+
if (fL === '.' || fL === '#') {
|
149
|
+
html = $(html).html();
|
150
|
+
}
|
151
|
+
video = html;
|
152
|
+
|
153
|
+
} else if (isVideo.vk) {
|
154
|
+
|
155
|
+
a = '&autoplay=' + autoplay;
|
156
|
+
if (this.core.s.vkPlayerParams) {
|
157
|
+
a = a + '&' + $.param(this.core.s.vkPlayerParams);
|
158
|
+
}
|
159
|
+
|
160
|
+
video = '<iframe class="lg-video-object lg-vk ' + addClass + '" width="560" height="315" src="//vk.com/video_ext.php?' + isVideo.vk[1] + a + '" frameborder="0" allowfullscreen></iframe>';
|
161
|
+
}
|
162
|
+
return video;
|
163
|
+
};
|
164
|
+
|
165
|
+
Video.prototype.loadVideoOnclick = function($el){
|
166
|
+
|
167
|
+
var _this = this;
|
168
|
+
// check slide has poster
|
169
|
+
if ($el.find('.lg-object').hasClass('lg-has-poster') && $el.find('.lg-object').is(':visible')) {
|
170
|
+
|
171
|
+
// check if video container is already present
|
172
|
+
if (!$el.hasClass('lg-has-video')) {
|
173
|
+
|
174
|
+
$el.addClass('lg-video-playing lg-has-video');
|
175
|
+
|
176
|
+
var _src;
|
177
|
+
var _html;
|
178
|
+
var _loadVideo = function(_src, _html) {
|
179
|
+
|
180
|
+
$el.find('.lg-video').append(_this.loadVideo(_src, '', false, _this.core.index, _html));
|
181
|
+
|
182
|
+
if (_html) {
|
183
|
+
// VideoJS
|
184
|
+
if (_this.core.s.videojs) {
|
185
|
+
var player_ref = _this.core.$slide.eq(_this.core.index).find('.lg-html5').get(0);
|
186
|
+
var videoOptions = _this.core.s.videojsOptions;
|
187
|
+
/*
|
188
|
+
jadams, 2020-04-10: Player Readiness:
|
189
|
+
Pass a callback to the videojs function (as a third argument)
|
190
|
+
*/
|
191
|
+
try {
|
192
|
+
videojs(player_ref, videoOptions, function() {
|
193
|
+
this.addClass('my-test-ready-class');
|
194
|
+
this.play();
|
195
|
+
});
|
196
|
+
} catch (e) {
|
197
|
+
console.error('Make sure you have included videojs');
|
198
|
+
}
|
199
|
+
} else {
|
200
|
+
_this.core.$slide.eq(_this.core.index).find('.lg-html5').get(0).play();
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
};
|
205
|
+
|
206
|
+
if (_this.core.s.dynamic) {
|
207
|
+
|
208
|
+
_src = _this.core.s.dynamicEl[_this.core.index].src;
|
209
|
+
_html = _this.core.s.dynamicEl[_this.core.index].html;
|
210
|
+
|
211
|
+
_loadVideo(_src, _html);
|
212
|
+
|
213
|
+
} else {
|
214
|
+
|
215
|
+
_src = _this.core.$items.eq(_this.core.index).attr('href') || _this.core.$items.eq(_this.core.index).attr('data-src');
|
216
|
+
_html = _this.core.$items.eq(_this.core.index).attr('data-html');
|
217
|
+
|
218
|
+
_loadVideo(_src, _html);
|
219
|
+
|
220
|
+
}
|
221
|
+
|
222
|
+
var $tempImg = $el.find('.lg-object');
|
223
|
+
$el.find('.lg-video').append($tempImg);
|
224
|
+
|
225
|
+
// @todo loading icon for html5 videos also
|
226
|
+
// for showing the loading indicator while loading video
|
227
|
+
if (!$el.find('.lg-video-object').hasClass('lg-html5')) {
|
228
|
+
$el.removeClass('lg-complete');
|
229
|
+
$el.find('.lg-video-object').on('load.lg error.lg', function() {
|
230
|
+
$el.addClass('lg-complete');
|
231
|
+
});
|
232
|
+
}
|
233
|
+
|
234
|
+
} else {
|
235
|
+
|
236
|
+
var youtubePlayer;
|
237
|
+
var vimeoPlayer;
|
238
|
+
var dailymotionPlayer;
|
239
|
+
var html5Player;
|
240
|
+
|
241
|
+
/*
|
242
|
+
jadams, 2020-04-10: Player Readiness:
|
243
|
+
Make sure that the HTML portion of a player is already loaded
|
244
|
+
*/
|
245
|
+
var player_loaded = setInterval(function() {
|
246
|
+
|
247
|
+
youtubePlayer = $el.find('.lg-youtube').get(0);
|
248
|
+
vimeoPlayer = $el.find('.lg-vimeo').get(0);
|
249
|
+
dailymotionPlayer = $el.find('.lg-dailymotion').get(0);
|
250
|
+
html5Player = $el.find('.lg-html5').get(0);
|
251
|
+
|
252
|
+
if ( youtubePlayer || vimeoPlayer || dailymotionPlayer || html5Player ) {
|
253
|
+
|
254
|
+
if (youtubePlayer) {
|
255
|
+
youtubePlayer.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*');
|
256
|
+
} else if (vimeoPlayer) {
|
257
|
+
try {
|
258
|
+
$f(vimeoPlayer).api('play');
|
259
|
+
} catch (e) {
|
260
|
+
console.error('Make sure you have included froogaloop2 js');
|
261
|
+
}
|
262
|
+
} else if (dailymotionPlayer) {
|
263
|
+
dailymotionPlayer.contentWindow.postMessage('play', '*');
|
264
|
+
|
265
|
+
} else if (html5Player) {
|
266
|
+
if (_this.core.s.videojs) {
|
267
|
+
try {
|
268
|
+
videojs(html5Player).play();
|
269
|
+
} catch (e) {
|
270
|
+
console.error('Make sure you have included videojs');
|
271
|
+
}
|
272
|
+
} else {
|
273
|
+
html5Player.play();
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
$el.addClass('lg-video-playing');
|
278
|
+
clearInterval(player_loaded);
|
279
|
+
}
|
280
|
+
}, 25);
|
281
|
+
|
282
|
+
$el.addClass('lg-video-playing');
|
283
|
+
}
|
284
|
+
}
|
285
|
+
};
|
286
|
+
|
287
|
+
Video.prototype.destroy = function() {
|
288
|
+
this.videoLoaded = false;
|
289
|
+
};
|
290
|
+
|
291
|
+
function onHasVideo(event, index, src, html) {
|
292
|
+
/* jshint validthis:true */
|
293
|
+
|
294
|
+
var _this = this;
|
295
|
+
|
296
|
+
_this.core.$slide.eq(index).find('.lg-video').append(_this.loadVideo(src, 'lg-object', true, index, html));
|
297
|
+
|
298
|
+
if (html) {
|
299
|
+
if (_this.core.s.videojs) {
|
300
|
+
try {
|
301
|
+
videojs(_this.core.$slide.eq(index).find('.lg-html5').get(0), _this.core.s.videojsOptions, function() {
|
302
|
+
if (!_this.videoLoaded && _this.core.s.autoplayFirstVideo) {
|
303
|
+
this.play();
|
304
|
+
}
|
305
|
+
});
|
306
|
+
} catch (e) {
|
307
|
+
console.error('Make sure you have included videojs');
|
308
|
+
}
|
309
|
+
} else {
|
310
|
+
if(!_this.videoLoaded && _this.core.s.autoplayFirstVideo) {
|
311
|
+
_this.core.$slide.eq(index).find('.lg-html5').get(0).play();
|
312
|
+
}
|
313
|
+
}
|
314
|
+
}
|
315
|
+
}
|
316
|
+
|
317
|
+
function onAferAppendSlide(event, index) {
|
318
|
+
/* jshint validthis:true */
|
319
|
+
|
320
|
+
var $videoCont = this.core.$slide.eq(index).find('.lg-video-cont');
|
321
|
+
|
322
|
+
if (!$videoCont.hasClass('lg-has-iframe')) {
|
323
|
+
$videoCont.css('max-width', this.core.s.videoMaxWidth);
|
324
|
+
this.videoLoaded = true;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
function onBeforeSlide(event, prevIndex, index) {
|
329
|
+
/* jshint validthis:true */
|
330
|
+
|
331
|
+
var _this = this;
|
332
|
+
var $videoSlide;
|
333
|
+
|
334
|
+
var youtubePlayer;
|
335
|
+
var vimeoPlayer;
|
336
|
+
var dailymotionPlayer;
|
337
|
+
var html5Player;
|
338
|
+
var vkPlayer;
|
339
|
+
|
340
|
+
/*
|
341
|
+
jadams, 2020-04-10: Player Readiness:
|
342
|
+
Make sure that the HTML portion of a player is already loaded
|
343
|
+
*/
|
344
|
+
var player_loaded = setInterval(function() {
|
345
|
+
|
346
|
+
$videoSlide = _this.core.$slide.eq(prevIndex);
|
347
|
+
|
348
|
+
youtubePlayer = $videoSlide.find('.lg-youtube').get(0);
|
349
|
+
vimeoPlayer = $videoSlide.find('.lg-vimeo').get(0);
|
350
|
+
dailymotionPlayer = $videoSlide.find('.lg-dailymotion').get(0);
|
351
|
+
vkPlayer = $videoSlide.find('.lg-vk').get(0);
|
352
|
+
html5Player = $videoSlide.find('.lg-html5').get(0);
|
353
|
+
|
354
|
+
if ( youtubePlayer || vimeoPlayer || dailymotionPlayer || vkPlayer || html5Player ) {
|
355
|
+
|
356
|
+
if (youtubePlayer) {
|
357
|
+
youtubePlayer.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
|
358
|
+
} else if (vimeoPlayer) {
|
359
|
+
try {
|
360
|
+
$f(vimeoPlayer).api('pause');
|
361
|
+
} catch (e) {
|
362
|
+
console.error('Make sure you have included froogaloop2 js');
|
363
|
+
}
|
364
|
+
} else if (dailymotionPlayer) {
|
365
|
+
dailymotionPlayer.contentWindow.postMessage('pause', '*');
|
366
|
+
|
367
|
+
} else if (html5Player) {
|
368
|
+
if (_this.core.s.videojs) {
|
369
|
+
try {
|
370
|
+
videojs(html5Player).pause();
|
371
|
+
} catch (e) {
|
372
|
+
console.error('Make sure you have included videojs');
|
373
|
+
}
|
374
|
+
} else {
|
375
|
+
html5Player.pause();
|
376
|
+
}
|
377
|
+
} if (vkPlayer) {
|
378
|
+
$(vkPlayer).attr('src', $(vkPlayer).attr('src').replace('&autoplay', '&noplay'));
|
379
|
+
}
|
380
|
+
|
381
|
+
var _src;
|
382
|
+
if (_this.core.s.dynamic) {
|
383
|
+
_src = _this.core.s.dynamicEl[index].src;
|
384
|
+
} else {
|
385
|
+
_src = _this.core.$items.eq(index).attr('href') || _this.core.$items.eq(index).attr('data-src');
|
386
|
+
|
387
|
+
}
|
388
|
+
|
389
|
+
var _isVideo = _this.core.isVideo(_src, index) || {};
|
390
|
+
if (_isVideo.youtube || _isVideo.vimeo || _isVideo.dailymotion || _isVideo.vk) {
|
391
|
+
_this.core.$outer.addClass('lg-hide-download');
|
392
|
+
}
|
393
|
+
clearInterval(player_loaded);
|
394
|
+
}
|
395
|
+
}, 25);
|
396
|
+
}
|
397
|
+
|
398
|
+
$.fn.lightGallery.modules.video = Video;
|
399
|
+
|
400
|
+
})();
|
401
|
+
|
402
|
+
}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*! jg-video - v1 - 2020-04-10
|
2
|
+
* based on lg-video - v1.2.2 - 2018-05-01
|
3
|
+
* http://sachinchoolur.github.io/lightGallery
|
4
|
+
* Copyright (C) 2020 Juergen Adams
|
5
|
+
* Copyright (C) 2018 Sachin N; Licensed GPLv3
|
6
|
+
*/
|
7
|
+
|
8
|
+
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(){"use strict";function b(a,b,c,d){var e=this;if(e.core.$slide.eq(b).find(".lg-video").append(e.loadVideo(c,"lg-object",!0,b,d)),d)if(e.core.s.videojs)try{videojs(e.core.$slide.eq(b).find(".lg-html5").get(0),e.core.s.videojsOptions,function(){!e.videoLoaded&&e.core.s.autoplayFirstVideo&&this.play()})}catch(a){console.error("Make sure you have included videojs")}else!e.videoLoaded&&e.core.s.autoplayFirstVideo&&e.core.$slide.eq(b).find(".lg-html5").get(0).play()}function c(a,b){var c=this.core.$slide.eq(b).find(".lg-video-cont");c.hasClass("lg-has-iframe")||(c.css("max-width",this.core.s.videoMaxWidth),this.videoLoaded=!0)}function d(b,c,d){var e=this,f=e.core.$slide.eq(c),g=f.find(".lg-youtube").get(0),h=f.find(".lg-vimeo").get(0),i=f.find(".lg-dailymotion").get(0),j=f.find(".lg-vk").get(0),k=f.find(".lg-html5").get(0);if(g)g.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(h)try{$f(h).api("pause")}catch(a){console.error("Make sure you have included froogaloop2 js")}else if(i)i.contentWindow.postMessage("pause","*");else if(k)if(e.core.s.videojs)try{videojs(k).pause()}catch(a){console.error("Make sure you have included videojs")}else k.pause();j&&a(j).attr("src",a(j).attr("src").replace("&autoplay","&noplay"));var l;l=e.core.s.dynamic?e.core.s.dynamicEl[d].src:e.core.$items.eq(d).attr("href")||e.core.$items.eq(d).attr("data-src");var m=e.core.isVideo(l,d)||{};(m.youtube||m.vimeo||m.dailymotion||m.vk)&&e.core.$outer.addClass("lg-hide-download")}var e={videoMaxWidth:"855px",autoplayFirstVideo:!0,youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},f=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.s=a.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};f.prototype.init=function(){var e=this;e.core.$el.on("hasVideo.lg.tm",b.bind(this)),e.core.$el.on("onAferAppendSlide.lg.tm",c.bind(this)),e.core.doCss()&&e.core.$items.length>1&&(e.core.s.enableSwipe||e.core.s.enableDrag)?e.core.$el.on("onSlideClick.lg.tm",function(){var a=e.core.$slide.eq(e.core.index);e.loadVideoOnclick(a)}):e.core.$slide.on("click.lg",function(){e.loadVideoOnclick(a(this))}),e.core.$el.on("onBeforeSlide.lg.tm",d.bind(this)),e.core.$el.on("onAfterSlide.lg.tm",function(a,b){e.core.$slide.eq(b).removeClass("lg-video-playing")}),e.core.s.autoplayFirstVideo&&e.core.$el.on("onAferAppendSlide.lg.tm",function(a,b){if(!e.core.lGalleryOn){var c=e.core.$slide.eq(b);setTimeout(function(){e.loadVideoOnclick(c)},100)}})},f.prototype.loadVideo=function(b,c,d,e,f){var g="",h=1,i="",j=this.core.isVideo(b,e)||{};if(d&&(h=this.videoLoaded?0:this.core.s.autoplayFirstVideo?1:0),j.youtube)i="?wmode=opaque&autoplay="+h+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(i=i+"&"+a.param(this.core.s.youtubePlayerParams)),g='<iframe class="lg-video-object lg-youtube '+c+'" width="560" height="315" src="//www.youtube.com/embed/'+j.youtube[1]+i+'" frameborder="0" allowfullscreen></iframe>';else if(j.vimeo)i="?autoplay="+h+"&api=1",this.core.s.vimeoPlayerParams&&(i=i+"&"+a.param(this.core.s.vimeoPlayerParams)),g='<iframe class="lg-video-object lg-vimeo '+c+'" width="560" height="315" src="//player.vimeo.com/video/'+j.vimeo[1]+i+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';else if(j.dailymotion)i="?wmode=opaque&autoplay="+h+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(i=i+"&"+a.param(this.core.s.dailymotionPlayerParams)),g='<iframe class="lg-video-object lg-dailymotion '+c+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+j.dailymotion[1]+i+'" frameborder="0" allowfullscreen></iframe>';else if(j.html5){var k=f.substring(0,1);"."!==k&&"#"!==k||(f=a(f).html()),g=f}else j.vk&&(i="&autoplay="+h,this.core.s.vkPlayerParams&&(i=i+"&"+a.param(this.core.s.vkPlayerParams)),g='<iframe class="lg-video-object lg-vk '+c+'" width="560" height="315" src="//vk.com/video_ext.php?'+j.vk[1]+i+'" frameborder="0" allowfullscreen></iframe>');return g},f.prototype.loadVideoOnclick=function(a){var b=this;if(a.find(".lg-object").hasClass("lg-has-poster")&&a.find(".lg-object").is(":visible"))if(a.hasClass("lg-has-video")){var c=a.find(".lg-youtube").get(0),d=a.find(".lg-vimeo").get(0),e=a.find(".lg-dailymotion").get(0),f=a.find(".lg-html5").get(0);if(c)c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(d)try{$f(d).api("play")}catch(a){console.error("Make sure you have included froogaloop2 js")}else if(e)e.contentWindow.postMessage("play","*");else if(f)if(b.core.s.videojs)try{videojs(f).play()}catch(a){console.error("Make sure you have included videojs")}else f.play();a.addClass("lg-video-playing")}else{a.addClass("lg-video-playing lg-has-video");var g,h,i=function(c,d){if(a.find(".lg-video").append(b.loadVideo(c,"",!1,b.core.index,d)),d)if(b.core.s.videojs)try{videojs(b.core.$slide.eq(b.core.index).find(".lg-html5").get(0),b.core.s.videojsOptions,function(){this.play()})}catch(a){console.error("Make sure you have included videojs")}else b.core.$slide.eq(b.core.index).find(".lg-html5").get(0).play()};b.core.s.dynamic?(g=b.core.s.dynamicEl[b.core.index].src,h=b.core.s.dynamicEl[b.core.index].html,i(g,h)):(g=b.core.$items.eq(b.core.index).attr("href")||b.core.$items.eq(b.core.index).attr("data-src"),h=b.core.$items.eq(b.core.index).attr("data-html"),i(g,h));var j=a.find(".lg-object");a.find(".lg-video").append(j),a.find(".lg-video-object").hasClass("lg-html5")||(a.removeClass("lg-complete"),a.find(".lg-video-object").on("load.lg error.lg",function(){a.addClass("lg-complete")}))}},f.prototype.destroy=function(){this.videoLoaded=!1},a.fn.lightGallery.modules.video=f}()});
|
@@ -0,0 +1,206 @@
|
|
1
|
+
/*! lg-autoplay - v1.0.4 - 2017-03-28
|
2
|
+
* http://sachinchoolur.github.io/lightGallery
|
3
|
+
* Copyright (c) 2017 Sachin N; Licensed GPLv3 */
|
4
|
+
|
5
|
+
(function (root, factory) {
|
6
|
+
if (typeof define === 'function' && define.amd) {
|
7
|
+
// AMD. Register as an anonymous module unless amdModuleId is set
|
8
|
+
define(['jquery'], function (a0) {
|
9
|
+
return (factory(a0));
|
10
|
+
});
|
11
|
+
} else if (typeof exports === 'object') {
|
12
|
+
// Node. Does not work with strict CommonJS, but
|
13
|
+
// only CommonJS-like environments that support module.exports,
|
14
|
+
// like Node.
|
15
|
+
module.exports = factory(require('jquery'));
|
16
|
+
} else {
|
17
|
+
factory(jQuery);
|
18
|
+
}
|
19
|
+
}(this, function ($) {
|
20
|
+
|
21
|
+
|
22
|
+
(function() {
|
23
|
+
|
24
|
+
'use strict';
|
25
|
+
|
26
|
+
var defaults = {
|
27
|
+
autoplay: false,
|
28
|
+
pause: 5000,
|
29
|
+
progressBar: true,
|
30
|
+
fourceAutoplay: false,
|
31
|
+
autoplayControls: true,
|
32
|
+
appendAutoplayControlsTo: '.lg-toolbar'
|
33
|
+
};
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Creates the autoplay plugin.
|
37
|
+
* @param {object} element - lightGallery element
|
38
|
+
*/
|
39
|
+
var Autoplay = function(element) {
|
40
|
+
|
41
|
+
this.core = $(element).data('lightGallery');
|
42
|
+
|
43
|
+
this.$el = $(element);
|
44
|
+
|
45
|
+
// Execute only if items are above 1
|
46
|
+
if (this.core.$items.length < 2) {
|
47
|
+
return false;
|
48
|
+
}
|
49
|
+
|
50
|
+
this.core.s = $.extend({}, defaults, this.core.s);
|
51
|
+
this.interval = false;
|
52
|
+
|
53
|
+
// Identify if slide happened from autoplay
|
54
|
+
this.fromAuto = true;
|
55
|
+
|
56
|
+
// Identify if autoplay canceled from touch/drag
|
57
|
+
this.canceledOnTouch = false;
|
58
|
+
|
59
|
+
// save fourceautoplay value
|
60
|
+
this.fourceAutoplayTemp = this.core.s.fourceAutoplay;
|
61
|
+
|
62
|
+
// do not allow progress bar if browser does not support css3 transitions
|
63
|
+
if (!this.core.doCss()) {
|
64
|
+
this.core.s.progressBar = false;
|
65
|
+
}
|
66
|
+
|
67
|
+
this.init();
|
68
|
+
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
|
72
|
+
Autoplay.prototype.init = function() {
|
73
|
+
var _this = this;
|
74
|
+
|
75
|
+
// append autoplay controls
|
76
|
+
if (_this.core.s.autoplayControls) {
|
77
|
+
_this.controls();
|
78
|
+
}
|
79
|
+
|
80
|
+
// Create progress bar
|
81
|
+
if (_this.core.s.progressBar) {
|
82
|
+
_this.core.$outer.find('.lg').append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>');
|
83
|
+
}
|
84
|
+
|
85
|
+
// set progress
|
86
|
+
_this.progress();
|
87
|
+
|
88
|
+
// Start autoplay
|
89
|
+
if (_this.core.s.autoplay) {
|
90
|
+
_this.$el.one('onSlideItemLoad.lg.tm', function() {
|
91
|
+
_this.startlAuto();
|
92
|
+
});
|
93
|
+
}
|
94
|
+
|
95
|
+
// cancel interval on touchstart and dragstart
|
96
|
+
_this.$el.on('onDragstart.lg.tm touchstart.lg.tm', function() {
|
97
|
+
if (_this.interval) {
|
98
|
+
_this.cancelAuto();
|
99
|
+
_this.canceledOnTouch = true;
|
100
|
+
}
|
101
|
+
});
|
102
|
+
|
103
|
+
// restore autoplay if autoplay canceled from touchstart / dragstart
|
104
|
+
_this.$el.on('onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm', function() {
|
105
|
+
if (!_this.interval && _this.canceledOnTouch) {
|
106
|
+
_this.startlAuto();
|
107
|
+
_this.canceledOnTouch = false;
|
108
|
+
}
|
109
|
+
});
|
110
|
+
|
111
|
+
};
|
112
|
+
|
113
|
+
Autoplay.prototype.progress = function() {
|
114
|
+
|
115
|
+
var _this = this;
|
116
|
+
var _$progressBar;
|
117
|
+
var _$progress;
|
118
|
+
|
119
|
+
_this.$el.on('onBeforeSlide.lg.tm', function() {
|
120
|
+
|
121
|
+
// start progress bar animation
|
122
|
+
if (_this.core.s.progressBar && _this.fromAuto) {
|
123
|
+
_$progressBar = _this.core.$outer.find('.lg-progress-bar');
|
124
|
+
_$progress = _this.core.$outer.find('.lg-progress');
|
125
|
+
if (_this.interval) {
|
126
|
+
_$progress.removeAttr('style');
|
127
|
+
_$progressBar.removeClass('lg-start');
|
128
|
+
setTimeout(function() {
|
129
|
+
_$progress.css('transition', 'width ' + (_this.core.s.speed + _this.core.s.pause) + 'ms ease 0s');
|
130
|
+
_$progressBar.addClass('lg-start');
|
131
|
+
}, 20);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
// Remove setinterval if slide is triggered manually and fourceautoplay is false
|
136
|
+
if (!_this.fromAuto && !_this.core.s.fourceAutoplay) {
|
137
|
+
_this.cancelAuto();
|
138
|
+
}
|
139
|
+
|
140
|
+
_this.fromAuto = false;
|
141
|
+
|
142
|
+
});
|
143
|
+
};
|
144
|
+
|
145
|
+
// Manage autoplay via play/stop buttons
|
146
|
+
Autoplay.prototype.controls = function() {
|
147
|
+
var _this = this;
|
148
|
+
var _html = '<span class="lg-autoplay-button lg-icon"></span>';
|
149
|
+
|
150
|
+
// Append autoplay controls
|
151
|
+
$(this.core.s.appendAutoplayControlsTo).append(_html);
|
152
|
+
|
153
|
+
_this.core.$outer.find('.lg-autoplay-button').on('click.lg', function() {
|
154
|
+
if ($(_this.core.$outer).hasClass('lg-show-autoplay')) {
|
155
|
+
_this.cancelAuto();
|
156
|
+
_this.core.s.fourceAutoplay = false;
|
157
|
+
} else {
|
158
|
+
if (!_this.interval) {
|
159
|
+
_this.startlAuto();
|
160
|
+
_this.core.s.fourceAutoplay = _this.fourceAutoplayTemp;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
});
|
164
|
+
};
|
165
|
+
|
166
|
+
// Autostart gallery
|
167
|
+
Autoplay.prototype.startlAuto = function() {
|
168
|
+
var _this = this;
|
169
|
+
|
170
|
+
_this.core.$outer.find('.lg-progress').css('transition', 'width ' + (_this.core.s.speed + _this.core.s.pause) + 'ms ease 0s');
|
171
|
+
_this.core.$outer.addClass('lg-show-autoplay');
|
172
|
+
_this.core.$outer.find('.lg-progress-bar').addClass('lg-start');
|
173
|
+
|
174
|
+
_this.interval = setInterval(function() {
|
175
|
+
if (_this.core.index + 1 < _this.core.$items.length) {
|
176
|
+
_this.core.index++;
|
177
|
+
} else {
|
178
|
+
_this.core.index = 0;
|
179
|
+
}
|
180
|
+
|
181
|
+
_this.fromAuto = true;
|
182
|
+
_this.core.slide(_this.core.index, false, false, 'next');
|
183
|
+
}, _this.core.s.speed + _this.core.s.pause);
|
184
|
+
};
|
185
|
+
|
186
|
+
// cancel Autostart
|
187
|
+
Autoplay.prototype.cancelAuto = function() {
|
188
|
+
clearInterval(this.interval);
|
189
|
+
this.interval = false;
|
190
|
+
this.core.$outer.find('.lg-progress').removeAttr('style');
|
191
|
+
this.core.$outer.removeClass('lg-show-autoplay');
|
192
|
+
this.core.$outer.find('.lg-progress-bar').removeClass('lg-start');
|
193
|
+
};
|
194
|
+
|
195
|
+
Autoplay.prototype.destroy = function() {
|
196
|
+
|
197
|
+
this.cancelAuto();
|
198
|
+
this.core.$outer.find('.lg-progress-bar').remove();
|
199
|
+
};
|
200
|
+
|
201
|
+
$.fn.lightGallery.modules.autoplay = Autoplay;
|
202
|
+
|
203
|
+
})();
|
204
|
+
|
205
|
+
|
206
|
+
}));
|