j1-template 2020.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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 @@
|
|
|
1
|
+
{"version":3,"file":"player.js","sources":["src/lib/functions.js","src/lib/compatibility-check.js","node_modules/weakmap-polyfill/weakmap-polyfill.js","node_modules/native-promise-only/lib/npo.src.js","src/lib/callbacks.js","src/lib/embed.js","src/lib/postmessage.js","src/player.js"],"sourcesContent":["/**\n * @module lib/functions\n */\n\n/**\n * Check to see this is a node environment.\n * @type {Boolean}\n */\n/* global global */\nexport const isNode = typeof global !== 'undefined' &&\n ({}).toString.call(global) === '[object global]';\n\n/**\n * Get the name of the method for a given getter or setter.\n *\n * @param {string} prop The name of the property.\n * @param {string} type Either “get” or “set”.\n * @return {string}\n */\nexport function getMethodName(prop, type) {\n if (prop.indexOf(type.toLowerCase()) === 0) {\n return prop;\n }\n\n return `${type.toLowerCase()}${prop.substr(0, 1).toUpperCase()}${prop.substr(1)}`;\n}\n\n/**\n * Check to see if the object is a DOM Element.\n *\n * @param {*} element The object to check.\n * @return {boolean}\n */\nexport function isDomElement(element) {\n return Boolean(\n element && element.nodeType === 1 && 'nodeName' in element &&\n element.ownerDocument && element.ownerDocument.defaultView\n );\n}\n\n/**\n * Check to see whether the value is a number.\n *\n * @see http://dl.dropboxusercontent.com/u/35146/js/tests/isNumber.html\n * @param {*} value The value to check.\n * @param {boolean} integer Check if the value is an integer.\n * @return {boolean}\n */\nexport function isInteger(value) {\n // eslint-disable-next-line eqeqeq\n return !isNaN(parseFloat(value)) && isFinite(value) && Math.floor(value) == value;\n}\n\n/**\n * Check to see if the URL is a Vimeo url.\n *\n * @param {string} url The url string.\n * @return {boolean}\n */\nexport function isVimeoUrl(url) {\n return (/^(https?:)?\\/\\/((player|www)\\.)?vimeo\\.com(?=$|\\/)/).test(url);\n}\n\n/**\n * Get the Vimeo URL from an element.\n * The element must have either a data-vimeo-id or data-vimeo-url attribute.\n *\n * @param {object} oEmbedParameters The oEmbed parameters.\n * @return {string}\n */\nexport function getVimeoUrl(oEmbedParameters = {}) {\n const id = oEmbedParameters.id;\n const url = oEmbedParameters.url;\n const idOrUrl = id || url;\n\n if (!idOrUrl) {\n throw new Error('An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.');\n }\n\n if (isInteger(idOrUrl)) {\n return `https://vimeo.com/${idOrUrl}`;\n }\n\n if (isVimeoUrl(idOrUrl)) {\n return idOrUrl.replace('http:', 'https:');\n }\n\n if (id) {\n throw new TypeError(`“${id}” is not a valid video id.`);\n }\n\n throw new TypeError(`“${idOrUrl}” is not a vimeo.com url.`);\n}\n","import { isNode } from './functions';\n\nconst arrayIndexOfSupport = typeof Array.prototype.indexOf !== 'undefined';\nconst postMessageSupport = typeof window !== 'undefined' && typeof window.postMessage !== 'undefined';\n\nif (!isNode && (!arrayIndexOfSupport || !postMessageSupport)) {\n throw new Error('Sorry, the Vimeo Player API is not available in this browser.');\n}\n","/*!\n * weakmap-polyfill v2.0.1 - ECMAScript6 WeakMap polyfill\n * https://github.com/polygonplanet/weakmap-polyfill\n * Copyright (c) 2015-2020 Polygon Planet <polygon.planet.aqua@gmail.com>\n * @license MIT\n */\n\n(function(self) {\n 'use strict';\n\n if (self.WeakMap) {\n return;\n }\n\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var defineProperty = function(object, name, value) {\n if (Object.defineProperty) {\n Object.defineProperty(object, name, {\n configurable: true,\n writable: true,\n value: value\n });\n } else {\n object[name] = value;\n }\n };\n\n self.WeakMap = (function() {\n\n // ECMA-262 23.3 WeakMap Objects\n function WeakMap() {\n if (this === void 0) {\n throw new TypeError(\"Constructor WeakMap requires 'new'\");\n }\n\n defineProperty(this, '_id', genId('_WeakMap'));\n\n // ECMA-262 23.3.1.1 WeakMap([iterable])\n if (arguments.length > 0) {\n // Currently, WeakMap `iterable` argument is not supported\n throw new TypeError('WeakMap iterable is not supported');\n }\n }\n\n // ECMA-262 23.3.3.2 WeakMap.prototype.delete(key)\n defineProperty(WeakMap.prototype, 'delete', function(key) {\n checkInstance(this, 'delete');\n\n if (!isObject(key)) {\n return false;\n }\n\n var entry = key[this._id];\n if (entry && entry[0] === key) {\n delete key[this._id];\n return true;\n }\n\n return false;\n });\n\n // ECMA-262 23.3.3.3 WeakMap.prototype.get(key)\n defineProperty(WeakMap.prototype, 'get', function(key) {\n checkInstance(this, 'get');\n\n if (!isObject(key)) {\n return void 0;\n }\n\n var entry = key[this._id];\n if (entry && entry[0] === key) {\n return entry[1];\n }\n\n return void 0;\n });\n\n // ECMA-262 23.3.3.4 WeakMap.prototype.has(key)\n defineProperty(WeakMap.prototype, 'has', function(key) {\n checkInstance(this, 'has');\n\n if (!isObject(key)) {\n return false;\n }\n\n var entry = key[this._id];\n if (entry && entry[0] === key) {\n return true;\n }\n\n return false;\n });\n\n // ECMA-262 23.3.3.5 WeakMap.prototype.set(key, value)\n defineProperty(WeakMap.prototype, 'set', function(key, value) {\n checkInstance(this, 'set');\n\n if (!isObject(key)) {\n throw new TypeError('Invalid value used as weak map key');\n }\n\n var entry = key[this._id];\n if (entry && entry[0] === key) {\n entry[1] = value;\n return this;\n }\n\n defineProperty(key, this._id, [key, value]);\n return this;\n });\n\n\n function checkInstance(x, methodName) {\n if (!isObject(x) || !hasOwnProperty.call(x, '_id')) {\n throw new TypeError(\n methodName + ' method called on incompatible receiver ' +\n typeof x\n );\n }\n }\n\n function genId(prefix) {\n return prefix + '_' + rand() + '.' + rand();\n }\n\n function rand() {\n return Math.random().toString().substring(2);\n }\n\n\n defineProperty(WeakMap, '_polyfill', true);\n return WeakMap;\n })();\n\n\n function isObject(x) {\n return Object(x) === x;\n }\n\n})(\n typeof self !== 'undefined' ? self :\n typeof window !== 'undefined' ? window :\n typeof global !== 'undefined' ? global : this\n);\n","/*! Native Promise Only\n v0.8.1 (c) Kyle Simpson\n MIT License: http://getify.mit-license.org\n*/\n\n(function UMD(name,context,definition){\n\t// special form of UMD for polyfilling across evironments\n\tcontext[name] = context[name] || definition();\n\tif (typeof module != \"undefined\" && module.exports) { module.exports = context[name]; }\n\telse if (typeof define == \"function\" && define.amd) { define(function $AMD$(){ return context[name]; }); }\n})(\"Promise\",typeof global != \"undefined\" ? global : this,function DEF(){\n\t/*jshint validthis:true */\n\t\"use strict\";\n\n\tvar builtInProp, cycle, scheduling_queue,\n\t\tToString = Object.prototype.toString,\n\t\ttimer = (typeof setImmediate != \"undefined\") ?\n\t\t\tfunction timer(fn) { return setImmediate(fn); } :\n\t\t\tsetTimeout\n\t;\n\n\t// dammit, IE8.\n\ttry {\n\t\tObject.defineProperty({},\"x\",{});\n\t\tbuiltInProp = function builtInProp(obj,name,val,config) {\n\t\t\treturn Object.defineProperty(obj,name,{\n\t\t\t\tvalue: val,\n\t\t\t\twritable: true,\n\t\t\t\tconfigurable: config !== false\n\t\t\t});\n\t\t};\n\t}\n\tcatch (err) {\n\t\tbuiltInProp = function builtInProp(obj,name,val) {\n\t\t\tobj[name] = val;\n\t\t\treturn obj;\n\t\t};\n\t}\n\n\t// Note: using a queue instead of array for efficiency\n\tscheduling_queue = (function Queue() {\n\t\tvar first, last, item;\n\n\t\tfunction Item(fn,self) {\n\t\t\tthis.fn = fn;\n\t\t\tthis.self = self;\n\t\t\tthis.next = void 0;\n\t\t}\n\n\t\treturn {\n\t\t\tadd: function add(fn,self) {\n\t\t\t\titem = new Item(fn,self);\n\t\t\t\tif (last) {\n\t\t\t\t\tlast.next = item;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = item;\n\t\t\t\t}\n\t\t\t\tlast = item;\n\t\t\t\titem = void 0;\n\t\t\t},\n\t\t\tdrain: function drain() {\n\t\t\t\tvar f = first;\n\t\t\t\tfirst = last = cycle = void 0;\n\n\t\t\t\twhile (f) {\n\t\t\t\t\tf.fn.call(f.self);\n\t\t\t\t\tf = f.next;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t})();\n\n\tfunction schedule(fn,self) {\n\t\tscheduling_queue.add(fn,self);\n\t\tif (!cycle) {\n\t\t\tcycle = timer(scheduling_queue.drain);\n\t\t}\n\t}\n\n\t// promise duck typing\n\tfunction isThenable(o) {\n\t\tvar _then, o_type = typeof o;\n\n\t\tif (o != null &&\n\t\t\t(\n\t\t\t\to_type == \"object\" || o_type == \"function\"\n\t\t\t)\n\t\t) {\n\t\t\t_then = o.then;\n\t\t}\n\t\treturn typeof _then == \"function\" ? _then : false;\n\t}\n\n\tfunction notify() {\n\t\tfor (var i=0; i<this.chain.length; i++) {\n\t\t\tnotifyIsolated(\n\t\t\t\tthis,\n\t\t\t\t(this.state === 1) ? this.chain[i].success : this.chain[i].failure,\n\t\t\t\tthis.chain[i]\n\t\t\t);\n\t\t}\n\t\tthis.chain.length = 0;\n\t}\n\n\t// NOTE: This is a separate function to isolate\n\t// the `try..catch` so that other code can be\n\t// optimized better\n\tfunction notifyIsolated(self,cb,chain) {\n\t\tvar ret, _then;\n\t\ttry {\n\t\t\tif (cb === false) {\n\t\t\t\tchain.reject(self.msg);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (cb === true) {\n\t\t\t\t\tret = self.msg;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tret = cb.call(void 0,self.msg);\n\t\t\t\t}\n\n\t\t\t\tif (ret === chain.promise) {\n\t\t\t\t\tchain.reject(TypeError(\"Promise-chain cycle\"));\n\t\t\t\t}\n\t\t\t\telse if (_then = isThenable(ret)) {\n\t\t\t\t\t_then.call(ret,chain.resolve,chain.reject);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tchain.resolve(ret);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (err) {\n\t\t\tchain.reject(err);\n\t\t}\n\t}\n\n\tfunction resolve(msg) {\n\t\tvar _then, self = this;\n\n\t\t// already triggered?\n\t\tif (self.triggered) { return; }\n\n\t\tself.triggered = true;\n\n\t\t// unwrap\n\t\tif (self.def) {\n\t\t\tself = self.def;\n\t\t}\n\n\t\ttry {\n\t\t\tif (_then = isThenable(msg)) {\n\t\t\t\tschedule(function(){\n\t\t\t\t\tvar def_wrapper = new MakeDefWrapper(self);\n\t\t\t\t\ttry {\n\t\t\t\t\t\t_then.call(msg,\n\t\t\t\t\t\t\tfunction $resolve$(){ resolve.apply(def_wrapper,arguments); },\n\t\t\t\t\t\t\tfunction $reject$(){ reject.apply(def_wrapper,arguments); }\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (err) {\n\t\t\t\t\t\treject.call(def_wrapper,err);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t\telse {\n\t\t\t\tself.msg = msg;\n\t\t\t\tself.state = 1;\n\t\t\t\tif (self.chain.length > 0) {\n\t\t\t\t\tschedule(notify,self);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (err) {\n\t\t\treject.call(new MakeDefWrapper(self),err);\n\t\t}\n\t}\n\n\tfunction reject(msg) {\n\t\tvar self = this;\n\n\t\t// already triggered?\n\t\tif (self.triggered) { return; }\n\n\t\tself.triggered = true;\n\n\t\t// unwrap\n\t\tif (self.def) {\n\t\t\tself = self.def;\n\t\t}\n\n\t\tself.msg = msg;\n\t\tself.state = 2;\n\t\tif (self.chain.length > 0) {\n\t\t\tschedule(notify,self);\n\t\t}\n\t}\n\n\tfunction iteratePromises(Constructor,arr,resolver,rejecter) {\n\t\tfor (var idx=0; idx<arr.length; idx++) {\n\t\t\t(function IIFE(idx){\n\t\t\t\tConstructor.resolve(arr[idx])\n\t\t\t\t.then(\n\t\t\t\t\tfunction $resolver$(msg){\n\t\t\t\t\t\tresolver(idx,msg);\n\t\t\t\t\t},\n\t\t\t\t\trejecter\n\t\t\t\t);\n\t\t\t})(idx);\n\t\t}\n\t}\n\n\tfunction MakeDefWrapper(self) {\n\t\tthis.def = self;\n\t\tthis.triggered = false;\n\t}\n\n\tfunction MakeDef(self) {\n\t\tthis.promise = self;\n\t\tthis.state = 0;\n\t\tthis.triggered = false;\n\t\tthis.chain = [];\n\t\tthis.msg = void 0;\n\t}\n\n\tfunction Promise(executor) {\n\t\tif (typeof executor != \"function\") {\n\t\t\tthrow TypeError(\"Not a function\");\n\t\t}\n\n\t\tif (this.__NPO__ !== 0) {\n\t\t\tthrow TypeError(\"Not a promise\");\n\t\t}\n\n\t\t// instance shadowing the inherited \"brand\"\n\t\t// to signal an already \"initialized\" promise\n\t\tthis.__NPO__ = 1;\n\n\t\tvar def = new MakeDef(this);\n\n\t\tthis[\"then\"] = function then(success,failure) {\n\t\t\tvar o = {\n\t\t\t\tsuccess: typeof success == \"function\" ? success : true,\n\t\t\t\tfailure: typeof failure == \"function\" ? failure : false\n\t\t\t};\n\t\t\t// Note: `then(..)` itself can be borrowed to be used against\n\t\t\t// a different promise constructor for making the chained promise,\n\t\t\t// by substituting a different `this` binding.\n\t\t\to.promise = new this.constructor(function extractChain(resolve,reject) {\n\t\t\t\tif (typeof resolve != \"function\" || typeof reject != \"function\") {\n\t\t\t\t\tthrow TypeError(\"Not a function\");\n\t\t\t\t}\n\n\t\t\t\to.resolve = resolve;\n\t\t\t\to.reject = reject;\n\t\t\t});\n\t\t\tdef.chain.push(o);\n\n\t\t\tif (def.state !== 0) {\n\t\t\t\tschedule(notify,def);\n\t\t\t}\n\n\t\t\treturn o.promise;\n\t\t};\n\t\tthis[\"catch\"] = function $catch$(failure) {\n\t\t\treturn this.then(void 0,failure);\n\t\t};\n\n\t\ttry {\n\t\t\texecutor.call(\n\t\t\t\tvoid 0,\n\t\t\t\tfunction publicResolve(msg){\n\t\t\t\t\tresolve.call(def,msg);\n\t\t\t\t},\n\t\t\t\tfunction publicReject(msg) {\n\t\t\t\t\treject.call(def,msg);\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t\tcatch (err) {\n\t\t\treject.call(def,err);\n\t\t}\n\t}\n\n\tvar PromisePrototype = builtInProp({},\"constructor\",Promise,\n\t\t/*configurable=*/false\n\t);\n\n\t// Note: Android 4 cannot use `Object.defineProperty(..)` here\n\tPromise.prototype = PromisePrototype;\n\n\t// built-in \"brand\" to signal an \"uninitialized\" promise\n\tbuiltInProp(PromisePrototype,\"__NPO__\",0,\n\t\t/*configurable=*/false\n\t);\n\n\tbuiltInProp(Promise,\"resolve\",function Promise$resolve(msg) {\n\t\tvar Constructor = this;\n\n\t\t// spec mandated checks\n\t\t// note: best \"isPromise\" check that's practical for now\n\t\tif (msg && typeof msg == \"object\" && msg.__NPO__ === 1) {\n\t\t\treturn msg;\n\t\t}\n\n\t\treturn new Constructor(function executor(resolve,reject){\n\t\t\tif (typeof resolve != \"function\" || typeof reject != \"function\") {\n\t\t\t\tthrow TypeError(\"Not a function\");\n\t\t\t}\n\n\t\t\tresolve(msg);\n\t\t});\n\t});\n\n\tbuiltInProp(Promise,\"reject\",function Promise$reject(msg) {\n\t\treturn new this(function executor(resolve,reject){\n\t\t\tif (typeof resolve != \"function\" || typeof reject != \"function\") {\n\t\t\t\tthrow TypeError(\"Not a function\");\n\t\t\t}\n\n\t\t\treject(msg);\n\t\t});\n\t});\n\n\tbuiltInProp(Promise,\"all\",function Promise$all(arr) {\n\t\tvar Constructor = this;\n\n\t\t// spec mandated checks\n\t\tif (ToString.call(arr) != \"[object Array]\") {\n\t\t\treturn Constructor.reject(TypeError(\"Not an array\"));\n\t\t}\n\t\tif (arr.length === 0) {\n\t\t\treturn Constructor.resolve([]);\n\t\t}\n\n\t\treturn new Constructor(function executor(resolve,reject){\n\t\t\tif (typeof resolve != \"function\" || typeof reject != \"function\") {\n\t\t\t\tthrow TypeError(\"Not a function\");\n\t\t\t}\n\n\t\t\tvar len = arr.length, msgs = Array(len), count = 0;\n\n\t\t\titeratePromises(Constructor,arr,function resolver(idx,msg) {\n\t\t\t\tmsgs[idx] = msg;\n\t\t\t\tif (++count === len) {\n\t\t\t\t\tresolve(msgs);\n\t\t\t\t}\n\t\t\t},reject);\n\t\t});\n\t});\n\n\tbuiltInProp(Promise,\"race\",function Promise$race(arr) {\n\t\tvar Constructor = this;\n\n\t\t// spec mandated checks\n\t\tif (ToString.call(arr) != \"[object Array]\") {\n\t\t\treturn Constructor.reject(TypeError(\"Not an array\"));\n\t\t}\n\n\t\treturn new Constructor(function executor(resolve,reject){\n\t\t\tif (typeof resolve != \"function\" || typeof reject != \"function\") {\n\t\t\t\tthrow TypeError(\"Not a function\");\n\t\t\t}\n\n\t\t\titeratePromises(Constructor,arr,function resolver(idx,msg){\n\t\t\t\tresolve(msg);\n\t\t\t},reject);\n\t\t});\n\t});\n\n\treturn Promise;\n});\n","/**\n * @module lib/callbacks\n */\n\nexport const callbackMap = new WeakMap();\n\n/**\n * Store a callback for a method or event for a player.\n *\n * @param {Player} player The player object.\n * @param {string} name The method or event name.\n * @param {(function(this:Player, *): void|{resolve: function, reject: function})} callback\n * The callback to call or an object with resolve and reject functions for a promise.\n * @return {void}\n */\nexport function storeCallback(player, name, callback) {\n const playerCallbacks = callbackMap.get(player.element) || {};\n\n if (!(name in playerCallbacks)) {\n playerCallbacks[name] = [];\n }\n\n playerCallbacks[name].push(callback);\n callbackMap.set(player.element, playerCallbacks);\n}\n\n/**\n * Get the callbacks for a player and event or method.\n *\n * @param {Player} player The player object.\n * @param {string} name The method or event name\n * @return {function[]}\n */\nexport function getCallbacks(player, name) {\n const playerCallbacks = callbackMap.get(player.element) || {};\n return playerCallbacks[name] || [];\n}\n\n/**\n * Remove a stored callback for a method or event for a player.\n *\n * @param {Player} player The player object.\n * @param {string} name The method or event name\n * @param {function} [callback] The specific callback to remove.\n * @return {boolean} Was this the last callback?\n */\nexport function removeCallback(player, name, callback) {\n const playerCallbacks = callbackMap.get(player.element) || {};\n\n if (!playerCallbacks[name]) {\n return true;\n }\n\n // If no callback is passed, remove all callbacks for the event\n if (!callback) {\n playerCallbacks[name] = [];\n callbackMap.set(player.element, playerCallbacks);\n\n return true;\n }\n\n const index = playerCallbacks[name].indexOf(callback);\n\n if (index !== -1) {\n playerCallbacks[name].splice(index, 1);\n }\n\n callbackMap.set(player.element, playerCallbacks);\n return playerCallbacks[name] && playerCallbacks[name].length === 0;\n}\n\n/**\n * Return the first stored callback for a player and event or method.\n *\n * @param {Player} player The player object.\n * @param {string} name The method or event name.\n * @return {function} The callback, or false if there were none\n */\nexport function shiftCallbacks(player, name) {\n const playerCallbacks = getCallbacks(player, name);\n\n if (playerCallbacks.length < 1) {\n return false;\n }\n\n const callback = playerCallbacks.shift();\n removeCallback(player, name, callback);\n return callback;\n}\n\n/**\n * Move callbacks associated with an element to another element.\n *\n * @param {HTMLElement} oldElement The old element.\n * @param {HTMLElement} newElement The new element.\n * @return {void}\n */\nexport function swapCallbacks(oldElement, newElement) {\n const playerCallbacks = callbackMap.get(oldElement);\n\n callbackMap.set(newElement, playerCallbacks);\n callbackMap.delete(oldElement);\n}\n","/**\n * @module lib/embed\n */\n\nimport { isVimeoUrl, getVimeoUrl } from './functions';\n\nconst oEmbedParameters = [\n 'autopause',\n 'autoplay',\n 'background',\n 'byline',\n 'color',\n 'controls',\n 'dnt',\n 'height',\n 'id',\n 'loop',\n 'maxheight',\n 'maxwidth',\n 'muted',\n 'playsinline',\n 'portrait',\n 'responsive',\n 'speed',\n 'texttrack',\n 'title',\n 'transparent',\n 'url',\n 'width'\n];\n\n/**\n * Get the 'data-vimeo'-prefixed attributes from an element as an object.\n *\n * @param {HTMLElement} element The element.\n * @param {Object} [defaults={}] The default values to use.\n * @return {Object<string, string>}\n */\nexport function getOEmbedParameters(element, defaults = {}) {\n return oEmbedParameters.reduce((params, param) => {\n const value = element.getAttribute(`data-vimeo-${param}`);\n\n if (value || value === '') {\n params[param] = value === '' ? 1 : value;\n }\n\n return params;\n }, defaults);\n}\n\n/**\n * Create an embed from oEmbed data inside an element.\n *\n * @param {object} data The oEmbed data.\n * @param {HTMLElement} element The element to put the iframe in.\n * @return {HTMLIFrameElement} The iframe embed.\n */\nexport function createEmbed({ html }, element) {\n if (!element) {\n throw new TypeError('An element must be provided');\n }\n\n if (element.getAttribute('data-vimeo-initialized') !== null) {\n return element.querySelector('iframe');\n }\n\n const div = document.createElement('div');\n div.innerHTML = html;\n\n element.appendChild(div.firstChild);\n element.setAttribute('data-vimeo-initialized', 'true');\n\n return element.querySelector('iframe');\n}\n\n/**\n * Make an oEmbed call for the specified URL.\n *\n * @param {string} videoUrl The vimeo.com url for the video.\n * @param {Object} [params] Parameters to pass to oEmbed.\n * @param {HTMLElement} element The element.\n * @return {Promise}\n */\nexport function getOEmbedData(videoUrl, params = {}, element) {\n return new Promise((resolve, reject) => {\n if (!isVimeoUrl(videoUrl)) {\n throw new TypeError(`“${videoUrl}” is not a vimeo.com url.`);\n }\n\n let url = `https://vimeo.com/api/oembed.json?url=${encodeURIComponent(videoUrl)}`;\n\n for (const param in params) {\n if (params.hasOwnProperty(param)) {\n url += `&${param}=${encodeURIComponent(params[param])}`;\n }\n }\n\n const xhr = 'XDomainRequest' in window ? new XDomainRequest() : new XMLHttpRequest();\n xhr.open('GET', url, true);\n\n xhr.onload = function() {\n if (xhr.status === 404) {\n reject(new Error(`“${videoUrl}” was not found.`));\n return;\n }\n\n if (xhr.status === 403) {\n reject(new Error(`“${videoUrl}” is not embeddable.`));\n return;\n }\n\n try {\n const json = JSON.parse(xhr.responseText);\n // Check api response for 403 on oembed\n if (json.domain_status_code === 403) {\n // We still want to create the embed to give users visual feedback\n createEmbed(json, element);\n reject(new Error(`“${videoUrl}” is not embeddable.`));\n return;\n }\n\n resolve(json);\n }\n catch (error) {\n reject(error);\n }\n };\n\n xhr.onerror = function() {\n const status = xhr.status ? ` (${xhr.status})` : '';\n reject(new Error(`There was an error fetching the embed code from Vimeo${status}.`));\n };\n\n xhr.send();\n });\n}\n\n/**\n * Initialize all embeds within a specific element\n *\n * @param {HTMLElement} [parent=document] The parent element.\n * @return {void}\n */\nexport function initializeEmbeds(parent = document) {\n const elements = [].slice.call(parent.querySelectorAll('[data-vimeo-id], [data-vimeo-url]'));\n\n const handleError = (error) => {\n if ('console' in window && console.error) {\n console.error(`There was an error creating an embed: ${error}`);\n }\n };\n\n elements.forEach((element) => {\n try {\n // Skip any that have data-vimeo-defer\n if (element.getAttribute('data-vimeo-defer') !== null) {\n return;\n }\n\n const params = getOEmbedParameters(element);\n const url = getVimeoUrl(params);\n\n getOEmbedData(url, params, element).then((data) => {\n return createEmbed(data, element);\n }).catch(handleError);\n }\n catch (error) {\n handleError(error);\n }\n });\n}\n\n/**\n * Resize embeds when messaged by the player.\n *\n * @param {HTMLElement} [parent=document] The parent element.\n * @return {void}\n */\nexport function resizeEmbeds(parent = document) {\n // Prevent execution if users include the player.js script multiple times.\n if (window.VimeoPlayerResizeEmbeds_) {\n return;\n }\n window.VimeoPlayerResizeEmbeds_ = true;\n\n const onMessage = (event) => {\n if (!isVimeoUrl(event.origin)) {\n return;\n }\n\n // 'spacechange' is fired only on embeds with cards\n if (!event.data || event.data.event !== 'spacechange') {\n return;\n }\n\n const iframes = parent.querySelectorAll('iframe');\n\n for (let i = 0; i < iframes.length; i++) {\n if (iframes[i].contentWindow !== event.source) {\n continue;\n }\n\n // Change padding-bottom of the enclosing div to accommodate\n // card carousel without distorting aspect ratio\n const space = iframes[i].parentElement;\n space.style.paddingBottom = `${event.data.data[0].bottom}px`;\n\n break;\n }\n };\n\n window.addEventListener('message', onMessage);\n}\n","/**\n * @module lib/postmessage\n */\n\nimport { getCallbacks, removeCallback, shiftCallbacks } from './callbacks';\n\n/**\n * Parse a message received from postMessage.\n *\n * @param {*} data The data received from postMessage.\n * @return {object}\n */\nexport function parseMessageData(data) {\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n }\n catch (error) {\n // If the message cannot be parsed, throw the error as a warning\n console.warn(error);\n return {};\n }\n }\n\n return data;\n}\n\n/**\n * Post a message to the specified target.\n *\n * @param {Player} player The player object to use.\n * @param {string} method The API method to call.\n * @param {object} params The parameters to send to the player.\n * @return {void}\n */\nexport function postMessage(player, method, params) {\n if (!player.element.contentWindow || !player.element.contentWindow.postMessage) {\n return;\n }\n\n let message = {\n method\n };\n\n if (params !== undefined) {\n message.value = params;\n }\n\n // IE 8 and 9 do not support passing messages, so stringify them\n const ieVersion = parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\\d+).*$/, '$1'));\n if (ieVersion >= 8 && ieVersion < 10) {\n message = JSON.stringify(message);\n }\n\n player.element.contentWindow.postMessage(message, player.origin);\n}\n\n/**\n * Parse the data received from a message event.\n *\n * @param {Player} player The player that received the message.\n * @param {(Object|string)} data The message data. Strings will be parsed into JSON.\n * @return {void}\n */\nexport function processData(player, data) {\n data = parseMessageData(data);\n let callbacks = [];\n let param;\n\n if (data.event) {\n if (data.event === 'error') {\n const promises = getCallbacks(player, data.data.method);\n\n promises.forEach((promise) => {\n const error = new Error(data.data.message);\n error.name = data.data.name;\n\n promise.reject(error);\n removeCallback(player, data.data.method, promise);\n });\n }\n\n callbacks = getCallbacks(player, `event:${data.event}`);\n param = data.data;\n }\n else if (data.method) {\n const callback = shiftCallbacks(player, data.method);\n\n if (callback) {\n callbacks.push(callback);\n param = data.value;\n }\n }\n\n callbacks.forEach((callback) => {\n try {\n if (typeof callback === 'function') {\n callback.call(player, param);\n return;\n }\n\n callback.resolve(param);\n }\n catch (e) {\n // empty\n }\n });\n}\n","import './lib/compatibility-check';\n\nimport 'weakmap-polyfill';\nimport Promise from 'native-promise-only';\n\nimport { storeCallback, getCallbacks, removeCallback, swapCallbacks } from './lib/callbacks';\nimport { getMethodName, isDomElement, isVimeoUrl, getVimeoUrl, isNode } from './lib/functions';\nimport { getOEmbedParameters, getOEmbedData, createEmbed, initializeEmbeds, resizeEmbeds } from './lib/embed';\nimport { parseMessageData, postMessage, processData } from './lib/postmessage';\n\nconst playerMap = new WeakMap();\nconst readyMap = new WeakMap();\n\nclass Player {\n /**\n * Create a Player.\n *\n * @param {(HTMLIFrameElement|HTMLElement|string|jQuery)} element A reference to the Vimeo\n * player iframe, and id, or a jQuery object.\n * @param {object} [options] oEmbed parameters to use when creating an embed in the element.\n * @return {Player}\n */\n constructor(element, options = {}) {\n /* global jQuery */\n if (window.jQuery && element instanceof jQuery) {\n if (element.length > 1 && window.console && console.warn) {\n console.warn('A jQuery object with multiple elements was passed, using the first element.');\n }\n\n element = element[0];\n }\n\n // Find an element by ID\n if (typeof document !== 'undefined' && typeof element === 'string') {\n element = document.getElementById(element);\n }\n\n // Not an element!\n if (!isDomElement(element)) {\n throw new TypeError('You must pass either a valid element or a valid id.');\n }\n\n // Already initialized an embed in this div, so grab the iframe\n if (element.nodeName !== 'IFRAME') {\n const iframe = element.querySelector('iframe');\n\n if (iframe) {\n element = iframe;\n }\n }\n\n // iframe url is not a Vimeo url\n if (element.nodeName === 'IFRAME' && !isVimeoUrl(element.getAttribute('src') || '')) {\n throw new Error('The player element passed isn’t a Vimeo embed.');\n }\n\n // If there is already a player object in the map, return that\n if (playerMap.has(element)) {\n return playerMap.get(element);\n }\n\n this._window = element.ownerDocument.defaultView;\n this.element = element;\n this.origin = '*';\n\n const readyPromise = new Promise((resolve, reject) => {\n this._onMessage = (event) => {\n if (!isVimeoUrl(event.origin) || this.element.contentWindow !== event.source) {\n return;\n }\n\n if (this.origin === '*') {\n this.origin = event.origin;\n }\n\n const data = parseMessageData(event.data);\n const isError = data && data.event === 'error';\n const isReadyError = isError && data.data && data.data.method === 'ready';\n\n if (isReadyError) {\n const error = new Error(data.data.message);\n error.name = data.data.name;\n reject(error);\n return;\n }\n\n const isReadyEvent = data && data.event === 'ready';\n const isPingResponse = data && data.method === 'ping';\n\n if (isReadyEvent || isPingResponse) {\n this.element.setAttribute('data-ready', 'true');\n resolve();\n return;\n }\n\n processData(this, data);\n };\n\n this._window.addEventListener('message', this._onMessage);\n\n if (this.element.nodeName !== 'IFRAME') {\n const params = getOEmbedParameters(element, options);\n const url = getVimeoUrl(params);\n\n getOEmbedData(url, params, element).then((data) => {\n const iframe = createEmbed(data, element);\n // Overwrite element with the new iframe,\n // but store reference to the original element\n this.element = iframe;\n this._originalElement = element;\n\n swapCallbacks(element, iframe);\n playerMap.set(this.element, this);\n\n return data;\n }).catch(reject);\n }\n });\n\n // Store a copy of this Player in the map\n readyMap.set(this, readyPromise);\n playerMap.set(this.element, this);\n\n // Send a ping to the iframe so the ready promise will be resolved if\n // the player is already ready.\n if (this.element.nodeName === 'IFRAME') {\n postMessage(this, 'ping');\n }\n\n return this;\n }\n\n /**\n * Get a promise for a method.\n *\n * @param {string} name The API method to call.\n * @param {Object} [args={}] Arguments to send via postMessage.\n * @return {Promise}\n */\n callMethod(name, args = {}) {\n return new Promise((resolve, reject) => {\n // We are storing the resolve/reject handlers to call later, so we\n // can’t return here.\n // eslint-disable-next-line promise/always-return\n return this.ready().then(() => {\n storeCallback(this, name, {\n resolve,\n reject\n });\n\n postMessage(this, name, args);\n }).catch(reject);\n });\n }\n\n /**\n * Get a promise for the value of a player property.\n *\n * @param {string} name The property name\n * @return {Promise}\n */\n get(name) {\n return new Promise((resolve, reject) => {\n name = getMethodName(name, 'get');\n\n // We are storing the resolve/reject handlers to call later, so we\n // can’t return here.\n // eslint-disable-next-line promise/always-return\n return this.ready().then(() => {\n storeCallback(this, name, {\n resolve,\n reject\n });\n\n postMessage(this, name);\n }).catch(reject);\n });\n }\n\n /**\n * Get a promise for setting the value of a player property.\n *\n * @param {string} name The API method to call.\n * @param {mixed} value The value to set.\n * @return {Promise}\n */\n set(name, value) {\n return new Promise((resolve, reject) => {\n name = getMethodName(name, 'set');\n\n if (value === undefined || value === null) {\n throw new TypeError('There must be a value to set.');\n }\n\n // We are storing the resolve/reject handlers to call later, so we\n // can’t return here.\n // eslint-disable-next-line promise/always-return\n return this.ready().then(() => {\n storeCallback(this, name, {\n resolve,\n reject\n });\n\n postMessage(this, name, value);\n }).catch(reject);\n });\n }\n\n /**\n * Add an event listener for the specified event. Will call the\n * callback with a single parameter, `data`, that contains the data for\n * that event.\n *\n * @param {string} eventName The name of the event.\n * @param {function(*)} callback The function to call when the event fires.\n * @return {void}\n */\n on(eventName, callback) {\n if (!eventName) {\n throw new TypeError('You must pass an event name.');\n }\n\n if (!callback) {\n throw new TypeError('You must pass a callback function.');\n }\n\n if (typeof callback !== 'function') {\n throw new TypeError('The callback must be a function.');\n }\n\n const callbacks = getCallbacks(this, `event:${eventName}`);\n if (callbacks.length === 0) {\n this.callMethod('addEventListener', eventName).catch(() => {\n // Ignore the error. There will be an error event fired that\n // will trigger the error callback if they are listening.\n });\n }\n\n storeCallback(this, `event:${eventName}`, callback);\n }\n\n /**\n * Remove an event listener for the specified event. Will remove all\n * listeners for that event if a `callback` isn’t passed, or only that\n * specific callback if it is passed.\n *\n * @param {string} eventName The name of the event.\n * @param {function} [callback] The specific callback to remove.\n * @return {void}\n */\n off(eventName, callback) {\n if (!eventName) {\n throw new TypeError('You must pass an event name.');\n }\n\n if (callback && typeof callback !== 'function') {\n throw new TypeError('The callback must be a function.');\n }\n\n const lastCallback = removeCallback(this, `event:${eventName}`, callback);\n\n // If there are no callbacks left, remove the listener\n if (lastCallback) {\n this.callMethod('removeEventListener', eventName).catch((e) => {\n // Ignore the error. There will be an error event fired that\n // will trigger the error callback if they are listening.\n });\n }\n }\n\n /**\n * A promise to load a new video.\n *\n * @promise LoadVideoPromise\n * @fulfill {number} The video with this id successfully loaded.\n * @reject {TypeError} The id was not a number.\n */\n /**\n * Load a new video into this embed. The promise will be resolved if\n * the video is successfully loaded, or it will be rejected if it could\n * not be loaded.\n *\n * @param {number|object} options The id of the video or an object with embed options.\n * @return {LoadVideoPromise}\n */\n loadVideo(options) {\n return this.callMethod('loadVideo', options);\n }\n\n /**\n * A promise to perform an action when the Player is ready.\n *\n * @todo document errors\n * @promise LoadVideoPromise\n * @fulfill {void}\n */\n /**\n * Trigger a function when the player iframe has initialized. You do not\n * need to wait for `ready` to trigger to begin adding event listeners\n * or calling other methods.\n *\n * @return {ReadyPromise}\n */\n ready() {\n const readyPromise = readyMap.get(this) || new Promise((resolve, reject) => {\n reject(new Error('Unknown player. Probably unloaded.'));\n });\n return Promise.resolve(readyPromise);\n }\n\n /**\n * A promise to add a cue point to the player.\n *\n * @promise AddCuePointPromise\n * @fulfill {string} The id of the cue point to use for removeCuePoint.\n * @reject {RangeError} the time was less than 0 or greater than the\n * video’s duration.\n * @reject {UnsupportedError} Cue points are not supported with the current\n * player or browser.\n */\n /**\n * Add a cue point to the player.\n *\n * @param {number} time The time for the cue point.\n * @param {object} [data] Arbitrary data to be returned with the cue point.\n * @return {AddCuePointPromise}\n */\n addCuePoint(time, data = {}) {\n return this.callMethod('addCuePoint', { time, data });\n }\n\n /**\n * A promise to remove a cue point from the player.\n *\n * @promise AddCuePointPromise\n * @fulfill {string} The id of the cue point that was removed.\n * @reject {InvalidCuePoint} The cue point with the specified id was not\n * found.\n * @reject {UnsupportedError} Cue points are not supported with the current\n * player or browser.\n */\n /**\n * Remove a cue point from the video.\n *\n * @param {string} id The id of the cue point to remove.\n * @return {RemoveCuePointPromise}\n */\n removeCuePoint(id) {\n return this.callMethod('removeCuePoint', id);\n }\n\n /**\n * A representation of a text track on a video.\n *\n * @typedef {Object} VimeoTextTrack\n * @property {string} language The ISO language code.\n * @property {string} kind The kind of track it is (captions or subtitles).\n * @property {string} label The human‐readable label for the track.\n */\n /**\n * A promise to enable a text track.\n *\n * @promise EnableTextTrackPromise\n * @fulfill {VimeoTextTrack} The text track that was enabled.\n * @reject {InvalidTrackLanguageError} No track was available with the\n * specified language.\n * @reject {InvalidTrackError} No track was available with the specified\n * language and kind.\n */\n /**\n * Enable the text track with the specified language, and optionally the\n * specified kind (captions or subtitles).\n *\n * When set via the API, the track language will not change the viewer’s\n * stored preference.\n *\n * @param {string} language The two‐letter language code.\n * @param {string} [kind] The kind of track to enable (captions or subtitles).\n * @return {EnableTextTrackPromise}\n */\n enableTextTrack(language, kind) {\n if (!language) {\n throw new TypeError('You must pass a language.');\n }\n\n return this.callMethod('enableTextTrack', {\n language,\n kind\n });\n }\n\n /**\n * A promise to disable the active text track.\n *\n * @promise DisableTextTrackPromise\n * @fulfill {void} The track was disabled.\n */\n /**\n * Disable the currently-active text track.\n *\n * @return {DisableTextTrackPromise}\n */\n disableTextTrack() {\n return this.callMethod('disableTextTrack');\n }\n\n /**\n * A promise to pause the video.\n *\n * @promise PausePromise\n * @fulfill {void} The video was paused.\n */\n /**\n * Pause the video if it’s playing.\n *\n * @return {PausePromise}\n */\n pause() {\n return this.callMethod('pause');\n }\n\n /**\n * A promise to play the video.\n *\n * @promise PlayPromise\n * @fulfill {void} The video was played.\n */\n /**\n * Play the video if it’s paused. **Note:** on iOS and some other\n * mobile devices, you cannot programmatically trigger play. Once the\n * viewer has tapped on the play button in the player, however, you\n * will be able to use this function.\n *\n * @return {PlayPromise}\n */\n play() {\n return this.callMethod('play');\n }\n\n /**\n * A promise to unload the video.\n *\n * @promise UnloadPromise\n * @fulfill {void} The video was unloaded.\n */\n /**\n * Return the player to its initial state.\n *\n * @return {UnloadPromise}\n */\n unload() {\n return this.callMethod('unload');\n }\n\n /**\n * Cleanup the player and remove it from the DOM\n *\n * It won't be usable and a new one should be constructed\n * in order to do any operations.\n *\n * @return {Promise}\n */\n destroy() {\n return new Promise((resolve) => {\n readyMap.delete(this);\n playerMap.delete(this.element);\n\n if (this._originalElement) {\n playerMap.delete(this._originalElement);\n this._originalElement.removeAttribute('data-vimeo-initialized');\n }\n\n if (this.element && this.element.nodeName === 'IFRAME' && this.element.parentNode) {\n this.element.parentNode.removeChild(this.element);\n }\n\n this._window.removeEventListener('message', this._onMessage);\n\n resolve();\n });\n }\n\n /**\n * A promise to get the autopause behavior of the video.\n *\n * @promise GetAutopausePromise\n * @fulfill {boolean} Whether autopause is turned on or off.\n * @reject {UnsupportedError} Autopause is not supported with the current\n * player or browser.\n */\n /**\n * Get the autopause behavior for this player.\n *\n * @return {GetAutopausePromise}\n */\n getAutopause() {\n return this.get('autopause');\n }\n\n /**\n * A promise to set the autopause behavior of the video.\n *\n * @promise SetAutopausePromise\n * @fulfill {boolean} Whether autopause is turned on or off.\n * @reject {UnsupportedError} Autopause is not supported with the current\n * player or browser.\n */\n /**\n * Enable or disable the autopause behavior of this player.\n *\n * By default, when another video is played in the same browser, this\n * player will automatically pause. Unless you have a specific reason\n * for doing so, we recommend that you leave autopause set to the\n * default (`true`).\n *\n * @param {boolean} autopause\n * @return {SetAutopausePromise}\n */\n setAutopause(autopause) {\n return this.set('autopause', autopause);\n }\n\n /**\n * A promise to get the buffered property of the video.\n *\n * @promise GetBufferedPromise\n * @fulfill {Array} Buffered Timeranges converted to an Array.\n */\n /**\n * Get the buffered property of the video.\n *\n * @return {GetBufferedPromise}\n */\n getBuffered() {\n return this.get('buffered');\n }\n\n /**\n * A promise to get the color of the player.\n *\n * @promise GetColorPromise\n * @fulfill {string} The hex color of the player.\n */\n /**\n * Get the color for this player.\n *\n * @return {GetColorPromise}\n */\n getColor() {\n return this.get('color');\n }\n\n /**\n * A promise to set the color of the player.\n *\n * @promise SetColorPromise\n * @fulfill {string} The color was successfully set.\n * @reject {TypeError} The string was not a valid hex or rgb color.\n * @reject {ContrastError} The color was set, but the contrast is\n * outside of the acceptable range.\n * @reject {EmbedSettingsError} The owner of the player has chosen to\n * use a specific color.\n */\n /**\n * Set the color of this player to a hex or rgb string. Setting the\n * color may fail if the owner of the video has set their embed\n * preferences to force a specific color.\n *\n * @param {string} color The hex or rgb color string to set.\n * @return {SetColorPromise}\n */\n setColor(color) {\n return this.set('color', color);\n }\n\n /**\n * A representation of a cue point.\n *\n * @typedef {Object} VimeoCuePoint\n * @property {number} time The time of the cue point.\n * @property {object} data The data passed when adding the cue point.\n * @property {string} id The unique id for use with removeCuePoint.\n */\n /**\n * A promise to get the cue points of a video.\n *\n * @promise GetCuePointsPromise\n * @fulfill {VimeoCuePoint[]} The cue points added to the video.\n * @reject {UnsupportedError} Cue points are not supported with the current\n * player or browser.\n */\n /**\n * Get an array of the cue points added to the video.\n *\n * @return {GetCuePointsPromise}\n */\n getCuePoints() {\n return this.get('cuePoints');\n }\n\n /**\n * A promise to get the current time of the video.\n *\n * @promise GetCurrentTimePromise\n * @fulfill {number} The current time in seconds.\n */\n /**\n * Get the current playback position in seconds.\n *\n * @return {GetCurrentTimePromise}\n */\n getCurrentTime() {\n return this.get('currentTime');\n }\n\n /**\n * A promise to set the current time of the video.\n *\n * @promise SetCurrentTimePromise\n * @fulfill {number} The actual current time that was set.\n * @reject {RangeError} the time was less than 0 or greater than the\n * video’s duration.\n */\n /**\n * Set the current playback position in seconds. If the player was\n * paused, it will remain paused. Likewise, if the player was playing,\n * it will resume playing once the video has buffered.\n *\n * You can provide an accurate time and the player will attempt to seek\n * to as close to that time as possible. The exact time will be the\n * fulfilled value of the promise.\n *\n * @param {number} currentTime\n * @return {SetCurrentTimePromise}\n */\n setCurrentTime(currentTime) {\n return this.set('currentTime', currentTime);\n }\n\n /**\n * A promise to get the duration of the video.\n *\n * @promise GetDurationPromise\n * @fulfill {number} The duration in seconds.\n */\n /**\n * Get the duration of the video in seconds. It will be rounded to the\n * nearest second before playback begins, and to the nearest thousandth\n * of a second after playback begins.\n *\n * @return {GetDurationPromise}\n */\n getDuration() {\n return this.get('duration');\n }\n\n /**\n * A promise to get the ended state of the video.\n *\n * @promise GetEndedPromise\n * @fulfill {boolean} Whether or not the video has ended.\n */\n /**\n * Get the ended state of the video. The video has ended if\n * `currentTime === duration`.\n *\n * @return {GetEndedPromise}\n */\n getEnded() {\n return this.get('ended');\n }\n\n /**\n * A promise to get the loop state of the player.\n *\n * @promise GetLoopPromise\n * @fulfill {boolean} Whether or not the player is set to loop.\n */\n /**\n * Get the loop state of the player.\n *\n * @return {GetLoopPromise}\n */\n getLoop() {\n return this.get('loop');\n }\n\n /**\n * A promise to set the loop state of the player.\n *\n * @promise SetLoopPromise\n * @fulfill {boolean} The loop state that was set.\n */\n /**\n * Set the loop state of the player. When set to `true`, the player\n * will start over immediately once playback ends.\n *\n * @param {boolean} loop\n * @return {SetLoopPromise}\n */\n setLoop(loop) {\n return this.set('loop', loop);\n }\n\n\n /**\n * A promise to set the muted state of the player.\n *\n * @promise SetMutedPromise\n * @fulfill {boolean} The muted state that was set.\n */\n /**\n * Set the muted state of the player. When set to `true`, the player\n * volume will be muted.\n *\n * @param {boolean} muted\n * @return {SetMutedPromise}\n */\n setMuted(muted) {\n return this.set('muted', muted);\n }\n\n /**\n * A promise to get the muted state of the player.\n *\n * @promise GetMutedPromise\n * @fulfill {boolean} Whether or not the player is muted.\n */\n /**\n * Get the muted state of the player.\n *\n * @return {GetMutedPromise}\n */\n getMuted() {\n return this.get('muted');\n }\n\n /**\n * A promise to get the paused state of the player.\n *\n * @promise GetLoopPromise\n * @fulfill {boolean} Whether or not the video is paused.\n */\n /**\n * Get the paused state of the player.\n *\n * @return {GetLoopPromise}\n */\n getPaused() {\n return this.get('paused');\n }\n\n /**\n * A promise to get the playback rate of the player.\n *\n * @promise GetPlaybackRatePromise\n * @fulfill {number} The playback rate of the player on a scale from 0.5 to 2.\n */\n /**\n * Get the playback rate of the player on a scale from `0.5` to `2`.\n *\n * @return {GetPlaybackRatePromise}\n */\n getPlaybackRate() {\n return this.get('playbackRate');\n }\n\n /**\n * A promise to set the playbackrate of the player.\n *\n * @promise SetPlaybackRatePromise\n * @fulfill {number} The playback rate was set.\n * @reject {RangeError} The playback rate was less than 0.5 or greater than 2.\n */\n /**\n * Set the playback rate of the player on a scale from `0.5` to `2`. When set\n * via the API, the playback rate will not be synchronized to other\n * players or stored as the viewer's preference.\n *\n * @param {number} playbackRate\n * @return {SetPlaybackRatePromise}\n */\n setPlaybackRate(playbackRate) {\n return this.set('playbackRate', playbackRate);\n }\n\n /**\n * A promise to get the played property of the video.\n *\n * @promise GetPlayedPromise\n * @fulfill {Array} Played Timeranges converted to an Array.\n */\n /**\n * Get the played property of the video.\n *\n * @return {GetPlayedPromise}\n */\n getPlayed() {\n return this.get('played');\n }\n\n /**\n * A promise to get the seekable property of the video.\n *\n * @promise GetSeekablePromise\n * @fulfill {Array} Seekable Timeranges converted to an Array.\n */\n /**\n * Get the seekable property of the video.\n *\n * @return {GetSeekablePromise}\n */\n getSeekable() {\n return this.get('seekable');\n }\n\n /**\n * A promise to get the seeking property of the player.\n *\n * @promise GetSeekingPromise\n * @fulfill {boolean} Whether or not the player is currently seeking.\n */\n /**\n * Get if the player is currently seeking.\n *\n * @return {GetSeekingPromise}\n */\n getSeeking() {\n return this.get('seeking');\n }\n\n /**\n * A promise to get the text tracks of a video.\n *\n * @promise GetTextTracksPromise\n * @fulfill {VimeoTextTrack[]} The text tracks associated with the video.\n */\n /**\n * Get an array of the text tracks that exist for the video.\n *\n * @return {GetTextTracksPromise}\n */\n getTextTracks() {\n return this.get('textTracks');\n }\n\n /**\n * A promise to get the embed code for the video.\n *\n * @promise GetVideoEmbedCodePromise\n * @fulfill {string} The `<iframe>` embed code for the video.\n */\n /**\n * Get the `<iframe>` embed code for the video.\n *\n * @return {GetVideoEmbedCodePromise}\n */\n getVideoEmbedCode() {\n return this.get('videoEmbedCode');\n }\n\n /**\n * A promise to get the id of the video.\n *\n * @promise GetVideoIdPromise\n * @fulfill {number} The id of the video.\n */\n /**\n * Get the id of the video.\n *\n * @return {GetVideoIdPromise}\n */\n getVideoId() {\n return this.get('videoId');\n }\n\n /**\n * A promise to get the title of the video.\n *\n * @promise GetVideoTitlePromise\n * @fulfill {number} The title of the video.\n */\n /**\n * Get the title of the video.\n *\n * @return {GetVideoTitlePromise}\n */\n getVideoTitle() {\n return this.get('videoTitle');\n }\n\n /**\n * A promise to get the native width of the video.\n *\n * @promise GetVideoWidthPromise\n * @fulfill {number} The native width of the video.\n */\n /**\n * Get the native width of the currently‐playing video. The width of\n * the highest‐resolution available will be used before playback begins.\n *\n * @return {GetVideoWidthPromise}\n */\n getVideoWidth() {\n return this.get('videoWidth');\n }\n\n /**\n * A promise to get the native height of the video.\n *\n * @promise GetVideoHeightPromise\n * @fulfill {number} The native height of the video.\n */\n /**\n * Get the native height of the currently‐playing video. The height of\n * the highest‐resolution available will be used before playback begins.\n *\n * @return {GetVideoHeightPromise}\n */\n getVideoHeight() {\n return this.get('videoHeight');\n }\n\n /**\n * A promise to get the vimeo.com url for the video.\n *\n * @promise GetVideoUrlPromise\n * @fulfill {number} The vimeo.com url for the video.\n * @reject {PrivacyError} The url isn’t available because of the video’s privacy setting.\n */\n /**\n * Get the vimeo.com url for the video.\n *\n * @return {GetVideoUrlPromise}\n */\n getVideoUrl() {\n return this.get('videoUrl');\n }\n\n /**\n * A promise to get the volume level of the player.\n *\n * @promise GetVolumePromise\n * @fulfill {number} The volume level of the player on a scale from 0 to 1.\n */\n /**\n * Get the current volume level of the player on a scale from `0` to `1`.\n *\n * Most mobile devices do not support an independent volume from the\n * system volume. In those cases, this method will always return `1`.\n *\n * @return {GetVolumePromise}\n */\n getVolume() {\n return this.get('volume');\n }\n\n /**\n * A promise to set the volume level of the player.\n *\n * @promise SetVolumePromise\n * @fulfill {number} The volume was set.\n * @reject {RangeError} The volume was less than 0 or greater than 1.\n */\n /**\n * Set the volume of the player on a scale from `0` to `1`. When set\n * via the API, the volume level will not be synchronized to other\n * players or stored as the viewer’s preference.\n *\n * Most mobile devices do not support setting the volume. An error will\n * *not* be triggered in that situation.\n *\n * @param {number} volume\n * @return {SetVolumePromise}\n */\n setVolume(volume) {\n return this.set('volume', volume);\n }\n}\n\n// Setup embed only if this is not a node environment\nif (!isNode) {\n initializeEmbeds();\n resizeEmbeds();\n}\n\nexport default Player;\n"],"names":["isNode","global","toString","call","getMethodName","prop","type","indexOf","toLowerCase","substr","toUpperCase","isDomElement","element","Boolean","nodeType","ownerDocument","defaultView","isInteger","value","isNaN","parseFloat","isFinite","Math","floor","isVimeoUrl","url","test","getVimeoUrl","oEmbedParameters","id","idOrUrl","Error","replace","TypeError","arrayIndexOfSupport","Array","prototype","postMessageSupport","window","postMessage","self","WeakMap","hasOwnProperty","Object","defineProperty","object","name","configurable","writable","genId","arguments","length","key","checkInstance","isObject","entry","_id","x","methodName","prefix","rand","random","substring","this","UMD","context","definition","module","exports","DEF","builtInProp","cycle","scheduling_queue","ToString","timer","setImmediate","fn","setTimeout","obj","val","config","err","Queue","first","last","item","Item","next","add","drain","f","schedule","isThenable","o","_then","o_type","then","notify","i","chain","notifyIsolated","state","success","failure","cb","ret","reject","msg","promise","resolve","triggered","def","def_wrapper","MakeDefWrapper","$resolve$","apply","$reject$","iteratePromises","Constructor","arr","resolver","rejecter","idx","IIFE","$resolver$","MakeDef","Promise","executor","__NPO__","constructor","extractChain","push","$catch$","publicResolve","publicReject","PromisePrototype","Promise$resolve","Promise$reject","Promise$all","len","msgs","count","Promise$race","callbackMap","storeCallback","player","callback","playerCallbacks","get","set","getCallbacks","removeCallback","index","splice","shiftCallbacks","shift","swapCallbacks","oldElement","newElement","delete","getOEmbedParameters","defaults","reduce","params","param","getAttribute","createEmbed","html","querySelector","div","document","createElement","innerHTML","appendChild","firstChild","setAttribute","getOEmbedData","videoUrl","encodeURIComponent","xhr","XDomainRequest","XMLHttpRequest","open","onload","status","json","JSON","parse","responseText","domain_status_code","error","onerror","send","initializeEmbeds","parent","elements","slice","querySelectorAll","handleError","console","forEach","data","catch","resizeEmbeds","VimeoPlayerResizeEmbeds_","onMessage","event","origin","iframes","contentWindow","source","space","parentElement","style","paddingBottom","bottom","addEventListener","parseMessageData","warn","method","message","undefined","ieVersion","navigator","userAgent","stringify","processData","callbacks","promises","e","playerMap","readyMap","Player","options","jQuery","getElementById","nodeName","iframe","has","_window","readyPromise","_onMessage","isError","isReadyError","isReadyEvent","isPingResponse","_originalElement","args","ready","eventName","callMethod","lastCallback","time","language","kind","removeAttribute","parentNode","removeChild","removeEventListener","autopause","color","currentTime","loop","muted","playbackRate","volume"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAA;;;;EAIA;;;;;EAIA;EACO,IAAMA,MAAM,GAAG,OAAOC,MAAP,KAAkB,WAAlB,IACnB,EAAD,CAAKC,QAAL,CAAcC,IAAd,CAAmBF,MAAnB,MAA+B,iBAD1B;EAGP;;;;;;;;EAOO,SAASG,aAAT,CAAuBC,IAAvB,EAA6BC,IAA7B,EAAmC;EACtC,MAAID,IAAI,CAACE,OAAL,CAAaD,IAAI,CAACE,WAAL,EAAb,MAAqC,CAAzC,EAA4C;EACxC,WAAOH,IAAP;EACH;;EAED,mBAAUC,IAAI,CAACE,WAAL,EAAV,SAA+BH,IAAI,CAACI,MAAL,CAAY,CAAZ,EAAe,CAAf,EAAkBC,WAAlB,EAA/B,SAAiEL,IAAI,CAACI,MAAL,CAAY,CAAZ,CAAjE;EACH;EAED;;;;;;;EAMO,SAASE,YAAT,CAAsBC,OAAtB,EAA+B;EAClC,SAAOC,OAAO,CACVD,OAAO,IAAIA,OAAO,CAACE,QAAR,KAAqB,CAAhC,IAAqC,cAAcF,OA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GAAL,CAAS,aAAT,CAAP;EACH;EAED;;;;;;;;EAOA;;;;;;;;oCAKc;EACV,aAAO,KAAKA,GAAL,CAAS,UAAT,CAAP;EACH;EAED;;;;;;;EAMA;;;;;;;;;;;kCAQY;EACR,aAAO,KAAKA,GAAL,CAAS,QAAT,CAAP;EACH;EAED;;;;;;;;EAOA;;;;;;;;;;;;;;gCAWUqH,QAAQ;EACd,aAAO,KAAKpH,GAAL,CAAS,QAAT,EAAmBoH,MAAnB,CAAP;EACH;;;;;;;EAIL,IAAI,CAACzQ,MAAL,EAAa;EACTiM,EAAAA,gBAAgB;EAChBU,EAAAA,YAAY;EACf;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! @vimeo/player v2.10.1 | (c) 2020 Vimeo | MIT License | https://github.com/vimeo/player.js */
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e=e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=t())}(this,function(){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var e="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function i(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function s(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function o(e){var t,n=0<arguments.length&&void 0!==e?e:{},r=n.id,o=n.url,i=r||o;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=i,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(i);if(s(i))return i.replace("http:","https:");if(r)throw new TypeError("“".concat(r,"” is not a valid video id."));throw new TypeError("“".concat(i,"” is not a vimeo.com url."))}var t=void 0!==Array.prototype.indexOf,n="undefined"!=typeof window&&void 0!==window.postMessage;if(!(e||t&&n))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var n=Object.prototype.hasOwnProperty,r=function(e,t,n){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=(r(t.prototype,"delete",function(e){if(o(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),r(t.prototype,"get",function(e){if(o(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),r(t.prototype,"has",function(e){if(o(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),r(t.prototype,"set",function(e,t){if(o(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var n=e[this._id];return n&&n[0]===e?n[1]=t:r(e,this._id,[e,t]),this}),r(t,"_polyfill",!0),t)}function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap"+"_"+i()+"."+i()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function o(e,t){if(!a(e)||!n.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function i(){return Math.random().toString().substring(2)}function a(e){return Object(e)===e}}("undefined"!=typeof self?self:"undefined"!=typeof window?window:a);var u,l=(function(e){var t,n,r;r=function(){var t,n,r,o,i,a,e=Object.prototype.toString,u="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(e){t=function(e,t,n){return e[t]=n,e}}function c(e,t){this.fn=e,this.self=t,this.next=void 0}function s(e,t){r.add(e,t),n=n||u(r.drain)}function l(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function f(){for(var e=0;e<this.chain.length;e++)d(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function d(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=l(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function h(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,0<t.chain.length&&s(f,t))}function v(e,n,r,o){for(var t=0;t<n.length;t++)!function(t){e.resolve(n[t]).then(function(e){r(t,e)},o)}(t)}function p(e){this.def=e,this.triggered=!1}function y(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var r=new y(this);this.then=function(e,t){var n={success:"function"!=typeof e||e,failure:"function"==typeof t&&t};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),r.chain.push(n),0!==r.state&&s(f,r),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){(function e(n){var r,o=this;if(!o.triggered){o.triggered=!0,o.def&&(o=o.def);try{(r=l(n))?s(function(){var t=new p(o);try{r.call(n,function(){e.apply(t,arguments)},function(){h.apply(t,arguments)})}catch(e){h.call(t,e)}}):(o.msg=n,o.state=1,0<o.chain.length&&s(f,o))}catch(e){h.call(new p(o),e)}}}).call(r,e)},function(e){h.call(r,e)})}catch(e){h.call(r,e)}}var g=t({},"constructor",m,!(r={add:function(e,t){a=new c(e,t),i?i.next=a:o=a,i=a,a=void 0},drain:function(){var e=o;for(o=i=n=void 0;e;)e.fn.call(e.self),e=e.next}}));return t(m.prototype=g,"__NPO__",0,!1),t(m,"resolve",function(n){return n&&"object"==typeof n&&1===n.__NPO__?n:new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");e(n)})}),t(m,"reject",function(n){return new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");t(n)})}),t(m,"all",function(t){var a=this;return"[object Array]"!=e.call(t)?a.reject(TypeError("Not an array")):0===t.length?a.resolve([]):new a(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");var r=t.length,o=Array(r),i=0;v(a,t,function(e,t){o[e]=t,++i===r&&n(o)},e)})}),t(m,"race",function(t){var r=this;return"[object Array]"!=e.call(t)?r.reject(TypeError("Not an array")):new r(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");v(r,t,function(e,t){n(t)},e)})}),m},(n=a)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])}(u={exports:{}},u.exports),u.exports),f=new WeakMap;function c(e,t,n){var r=f.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),f.set(e.element,r)}function d(e,t){return(f.get(e.element)||{})[t]||[]}function h(e,t,n){var r=f.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],f.set(e.element,r),!0;var o=r[t].indexOf(n);return-1!==o&&r[t].splice(o,1),f.set(e.element,r),r[t]&&0===r[t].length}var v=["autopause","autoplay","background","byline","color","controls","dnt","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function p(r,e){var t=1<arguments.length&&void 0!==e?e:{};return v.reduce(function(e,t){var n=r.getAttribute("data-vimeo-".concat(t));return!n&&""!==n||(e[t]=""===n?1:n),e},t)}function y(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function m(i,e,t){var a=1<arguments.length&&void 0!==e?e:{},u=2<arguments.length?t:void 0;return new Promise(function(t,n){if(!s(i))throw new TypeError("“".concat(i,"” is not a vimeo.com url."));var e="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(i));for(var r in a)a.hasOwnProperty(r)&&(e+="&".concat(r,"=").concat(encodeURIComponent(a[r])));var o=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);o.open("GET",e,!0),o.onload=function(){if(404!==o.status)if(403!==o.status)try{var e=JSON.parse(o.responseText);if(403===e.domain_status_code)return y(e,u),void n(new Error("“".concat(i,"” is not embeddable.")));t(e)}catch(e){n(e)}else n(new Error("“".concat(i,"” is not embeddable.")));else n(new Error("“".concat(i,"” was not found.")))},o.onerror=function(){var e=o.status?" (".concat(o.status,")"):"";n(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},o.send()})}function g(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function w(e,t,n){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var r={method:t};void 0!==n&&(r.value=n);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));8<=o&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}function b(n,r){var t,e=[];if((r=g(r)).event){if("error"===r.event)d(n,r.data.method).forEach(function(e){var t=new Error(r.data.message);t.name=r.data.name,e.reject(t),h(n,r.data.method,e)});e=d(n,"event:".concat(r.event)),t=r.data}else if(r.method){var o=function(e,t){var n=d(e,t);if(n.length<1)return!1;var r=n.shift();return h(e,t,r),r}(n,r.method);o&&(e.push(o),t=r.value)}e.forEach(function(e){try{if("function"==typeof e)return void e.call(n,t);e.resolve(t)}catch(e){}})}var k=new WeakMap,E=new WeakMap,Player=function(){function Player(u){var e,c=this,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Player),window.jQuery&&u instanceof jQuery&&(1<u.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),u=u[0]),"undefined"!=typeof document&&"string"==typeof u&&(u=document.getElementById(u)),e=u,!Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==u.nodeName){var n=u.querySelector("iframe");n&&(u=n)}if("IFRAME"===u.nodeName&&!s(u.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(k.has(u))return k.get(u);this._window=u.ownerDocument.defaultView,this.element=u,this.origin="*";var r=new l(function(i,a){if(c._onMessage=function(e){if(s(e.origin)&&c.element.contentWindow===e.source){"*"===c.origin&&(c.origin=e.origin);var t=g(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){var n=new Error(t.data.message);return n.name=t.data.name,void a(n)}var r=t&&"ready"===t.event,o=t&&"ping"===t.method;if(r||o)return c.element.setAttribute("data-ready","true"),void i();b(c,t)}},c._window.addEventListener("message",c._onMessage),"IFRAME"!==c.element.nodeName){var e=p(u,t);m(o(e),e,u).then(function(e){var t,n,r,o=y(e,u);return c.element=o,c._originalElement=u,t=u,n=o,r=f.get(t),f.set(n,r),f.delete(t),k.set(c.element,c),e}).catch(a)}});return E.set(this,r),k.set(this.element,this),"IFRAME"===this.element.nodeName&&w(this,"ping"),this}var e,t,n;return e=Player,(t=[{key:"callMethod",value:function(n,e){var r=this,o=1<arguments.length&&void 0!==e?e:{};return new l(function(e,t){return r.ready().then(function(){c(r,n,{resolve:e,reject:t}),w(r,n,o)}).catch(t)})}},{key:"get",value:function(n){var r=this;return new l(function(e,t){return n=i(n,"get"),r.ready().then(function(){c(r,n,{resolve:e,reject:t}),w(r,n)}).catch(t)})}},{key:"set",value:function(n,r){var o=this;return new l(function(e,t){if(n=i(n,"set"),null==r)throw new TypeError("There must be a value to set.");return o.ready().then(function(){c(o,n,{resolve:e,reject:t}),w(o,n,r)}).catch(t)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===d(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),c(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");h(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=E.get(this)||new l(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return l.resolve(e)}},{key:"addCuePoint",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{};return this.callMethod("addCuePoint",{time:e,data:n})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new l(function(e){E.delete(t),k.delete(t.element),t._originalElement&&(k.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&t.element.parentNode.removeChild(t.element),t._window.removeEventListener("message",t._onMessage),e()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}])&&r(e.prototype,t),n&&r(e,n),Player}();return e||(function(e){function n(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))}var t=0<arguments.length&&void 0!==e?e:document;[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")).forEach(function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=p(t);m(o(e),e,t).then(function(e){return y(e,t)}).catch(n)}catch(e){n(e)}})}(),function(e){var r=0<arguments.length&&void 0!==e?e:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;window.addEventListener("message",function(e){if(s(e.origin)&&e.data&&"spacechange"===e.data.event)for(var t=r.querySelectorAll("iframe"),n=0;n<t.length;n++)if(t[n].contentWindow===e.source){t[n].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}})}}()),Player});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["src/lib/functions.js","src/lib/compatibility-check.js","node_modules/weakmap-polyfill/weakmap-polyfill.js","node_modules/native-promise-only/lib/npo.src.js","src/lib/callbacks.js","src/lib/embed.js","src/lib/postmessage.js","src/player.js"],"names":["isNode","global","toString","call","getMethodName","prop","type","indexOf","toLowerCase","concat","substr","toUpperCase","isVimeoUrl","url","test","getVimeoUrl","value","oEmbedParameters","arguments","length","undefined","id","idOrUrl","Error","isNaN","parseFloat","isFinite","Math","floor","replace","TypeError","arrayIndexOfSupport","Array","prototype","postMessageSupport","window","postMessage","self","WeakMap","hasOwnProperty","Object","defineProperty","object","name","configurable","writable","key","checkInstance","this","isObject","entry","_id","rand","x","methodName","random","substring","context","definition","builtInProp","cycle","scheduling_queue","first","last","item","ToString","timer","setImmediate","fn","setTimeout","obj","val","config","err","Item","next","schedule","add","drain","isThenable","o","_then","o_type","then","notify","i","chain","notifyIsolated","state","success","failure","cb","ret","reject","msg","promise","resolve","triggered","def","iteratePromises","Constructor","arr","resolver","rejecter","idx","MakeDefWrapper","MakeDef","Promise","executor","__NPO__","constructor","push","def_wrapper","apply","PromisePrototype","f","len","msgs","count","module","exports","callbackMap","storeCallback","player","callback","playerCallbacks","get","element","set","getCallbacks","removeCallback","index","splice","getOEmbedParameters","defaults","reduce","params","param","getAttribute","createEmbed","_ref","html","querySelector","div","document","createElement","innerHTML","appendChild","firstChild","setAttribute","getOEmbedData","videoUrl","encodeURIComponent","xhr","XDomainRequest","XMLHttpRequest","open","onload","status","json","JSON","parse","responseText","domain_status_code","error","onerror","send","parseMessageData","data","console","warn","method","contentWindow","message","ieVersion","navigator","userAgent","stringify","origin","processData","callbacks","event","forEach","shift","shiftCallbacks","e","playerMap","readyMap","Player","_this","options","_classCallCheck","jQuery","getElementById","Boolean","nodeType","ownerDocument","defaultView","nodeName","iframe","has","_window","readyPromise","_onMessage","source","isReadyEvent","isPingResponse","addEventListener","oldElement","newElement","_originalElement","delete","catch","_this2","args","ready","_this3","_this4","eventName","callMethod","time","language","kind","_this5","removeAttribute","parentNode","removeChild","removeEventListener","autopause","color","currentTime","loop","muted","playbackRate","volume","handleError","parent","slice","querySelectorAll","initializeEmbeds","VimeoPlayerResizeEmbeds_","iframes","parentElement","style","paddingBottom","bottom","resizeEmbeds"],"mappings":";8XASO,IAAMA,EAA2B,oBAAXC,QACI,oBAA9B,GAAIC,SAASC,KAAKF,QASd,SAASG,EAAcC,EAAMC,GAChC,OAAyC,IAArCD,EAAKE,QAAQD,EAAKE,eACXH,EAGX,GAAAI,OAAUH,EAAKE,eAAfC,OAA+BJ,EAAKK,OAAO,EAAG,GAAGC,eAAjDF,OAAiEJ,EAAKK,OAAO,IAmC1E,SAASE,EAAWC,GACvB,MAAQ,qDAAsDC,KAAKD,GAUhE,SAASE,EAAT,GAA4C,IAtBzBC,EAsBEC,EAAuB,EAAAC,UAAAC,aAAAC,IAA5C,EAAA,EAAwC,GACrCC,EAAKJ,EAAiBI,GACtBR,EAAMI,EAAiBJ,IACvBS,EAAUD,GAAMR,EAEtB,IAAKS,EACD,MAAM,IAAIC,MAAM,+GAGpB,GA/BsBP,EA+BRM,GA7BNE,MAAMC,WAAWT,KAAWU,SAASV,IAAUW,KAAKC,MAAMZ,IAAUA,EA8BxE,MAAA,qBAAAP,OAA4Ba,GAGhC,GAAIV,EAAWU,GACX,OAAOA,EAAQO,QAAQ,QAAS,UAGpC,GAAIR,EACA,MAAM,IAAIS,UAAJ,IAAArB,OAAkBY,EAAlB,+BAGV,MAAM,IAAIS,UAAJ,IAAArB,OAAkBa,EAAlB,8BCzFV,IAAMS,OAAyD,IAA5BC,MAAMC,UAAU1B,QAC7C2B,EAAuC,oBAAXC,aAAwD,IAAvBA,OAAOC,YAE1E,KAAKpC,GAAY+B,GAAwBG,GACrC,MAAM,IAAIX,MAAM,uNCCpB,SAAUc,OAGJA,EAAKC,aAILC,EAAiBC,OAAOP,UAAUM,eAClCE,EAAiB,SAASC,EAAQC,EAAM3B,GACtCwB,OAAOC,eACT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AAMuB,OAAvC,CAMcqC,EAAQ5J,GAAG6J,cACnBC,MAAMC,cAAZ,GAAA3O,OAA+B4K,EAAMb,KAAKA,KAAK,GAAG6E,OAAlD,MAEA,UEwwBRC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Welcome
|
|
3
|
+
tagline: jekyll for everyone
|
|
4
|
+
description: Auto-generated welcome post
|
|
5
|
+
|
|
6
|
+
date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>
|
|
7
|
+
series:
|
|
8
|
+
adsense: false
|
|
9
|
+
image: /assets/images/modules/attics/welcome-1920x1280-bw.jpg
|
|
10
|
+
|
|
11
|
+
tags: [ Example, Post ]
|
|
12
|
+
index: []
|
|
13
|
+
categories: [ featured ]
|
|
14
|
+
|
|
15
|
+
regenerate: false
|
|
16
|
+
|
|
17
|
+
resources: []
|
|
18
|
+
resource_options:
|
|
19
|
+
- attic:
|
|
20
|
+
opacity: 0.5
|
|
21
|
+
slides:
|
|
22
|
+
- url: /assets/images/modules/attics/welcome-1920x1280-bw.jpg
|
|
23
|
+
alt: Photo by Belinda Fewings on Unsplash
|
|
24
|
+
alignY: 0.3
|
|
25
|
+
# caption:
|
|
26
|
+
# text: Photo by Belinda Fewings on Unsplash
|
|
27
|
+
# href: https://unsplash.com/@bel2000a
|
|
28
|
+
badge:
|
|
29
|
+
type: unsplash
|
|
30
|
+
author: Belinda Fewings
|
|
31
|
+
href: https://unsplash.com/@bel2000a
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// NOTE: General Asciidoc page attributes settings
|
|
36
|
+
// -----------------------------------------------------------------------------
|
|
37
|
+
:page-liquid:
|
|
38
|
+
|
|
39
|
+
// Additional Asciidoc page attributes goes here
|
|
40
|
+
// -----------------------------------------------------------------------------
|
|
41
|
+
// :page-imagesdir: {{page.images.dir}}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// NOTE: Place an excerpt at the most top position
|
|
45
|
+
// -----------------------------------------------------------------------------
|
|
46
|
+
If you’re not familiar with Jekyll (or other site generators), Jekyll is a
|
|
47
|
+
so-called static site generator. Think of it like a CMS but without all the
|
|
48
|
+
complexity and headache. No need to build a giant content strangling Rube
|
|
49
|
+
Goldberg machine to manage content.
|
|
50
|
+
|
|
51
|
+
All you’re doing at the end of the day is writing your content and Jekyll does
|
|
52
|
+
all the tricky things needed for a web site: putting out HTML, Javascript
|
|
53
|
+
and CSS. As a result, the site creation process gets out of your way, it's done
|
|
54
|
+
by Jekyll, and allows you to concentrate on what truly matters: your content.
|
|
55
|
+
[role="clearfix mb-3"]
|
|
56
|
+
excerpt__end
|
|
57
|
+
[role="clearfix mb-3"]
|
|
58
|
+
excerpt__end
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// Page content
|
|
62
|
+
// -----------------------------------------------------------------------------
|
|
63
|
+
[[readmore]]
|
|
64
|
+
== What is a static site?
|
|
65
|
+
|
|
66
|
+
[role="mb-3"]
|
|
67
|
+
// image::{{page.image}}[{{page.title}}]
|
|
68
|
+
// image::/assets/images/modules/attics/spider-web-1920x1200-bw.png[{{page.title}}, 800]
|
|
69
|
+
|
|
70
|
+
All you’re doing at the end of the day is writing your content and Jekyll does
|
|
71
|
+
all the tricky things needed for a web site: putting out HTML, Javascript
|
|
72
|
+
and CSS. As a result, the site creation process gets out of your way, it's done
|
|
73
|
+
by Jekyll, and allows you to concentrate on what truly matters: your content.
|
|
74
|
+
|
|
75
|
+
A static site serve the content straight to the user as it is stored on
|
|
76
|
+
the server side. To put it in another way, in opposition to WordPress
|
|
77
|
+
which use a database to load dynamic content, a static site will display
|
|
78
|
+
the same content to every user as it will directly load the HTML files
|
|
79
|
+
on the server.
|
|
80
|
+
|
|
81
|
+
=== What is different?
|
|
82
|
+
|
|
83
|
+
What are the differences between a static site and a dynamic website?
|
|
84
|
+
|
|
85
|
+
To make it simple, a dynamic website uses a database and PHP/MySQL to
|
|
86
|
+
generate the content of a page when a user will request it. For example,
|
|
87
|
+
building a website using WordPress CMS will result in having a dynamic
|
|
88
|
+
website.
|
|
89
|
+
|
|
90
|
+
=== Why use a static site?
|
|
91
|
+
|
|
92
|
+
Wat are the advantages of a static website over a dynamic site?
|
|
93
|
+
You may be wondering “Why should I build a static site when I could do a
|
|
94
|
+
WordPress?”. Well, having a database implies a lot of downsides. Here
|
|
95
|
+
comes the tree main advantages of using a static site over a dynamic
|
|
96
|
+
one.
|
|
97
|
+
|
|
98
|
+
Static: the better performance and a crazy fast load time!
|
|
99
|
+
|
|
100
|
+
One the of the main advantages of using a static site is the fact that
|
|
101
|
+
it is crazy fast to load. Indeed, when the user request a page, there is
|
|
102
|
+
no need to request a database and various files in order to generate the
|
|
103
|
+
page itself as all the content is already placed in a one and only file:
|
|
104
|
+
an HTML one. That’s why, by using a static site you will get a boost in
|
|
105
|
+
your loading time that will provide great user experience for the
|
|
106
|
+
internauts. Moreover, we know that more and more people are surfing the
|
|
107
|
+
web using their smartphones with, sometimes, poor internet connections,
|
|
108
|
+
that’s why having fast loading times will participate in making your
|
|
109
|
+
website mobile friendly.
|
|
110
|
+
|
|
111
|
+
== Security aspects
|
|
112
|
+
|
|
113
|
+
Having a static website: say goodbye to hacking and security issues!
|
|
114
|
+
|
|
115
|
+
Tired of getting WordPress notifications about security issues and
|
|
116
|
+
updates every week? No worries, as a static site has no database, there
|
|
117
|
+
are close to no hack possible compared to a WordPress website. Indeed,
|
|
118
|
+
your site will have way less footprints and security issues since it
|
|
119
|
+
will only load plain HTML and CSS files. The security gain in having a
|
|
120
|
+
static website is one the main reason why many famous brands switch to
|
|
121
|
+
static site instead of having their website on Drupal or WordPress.
|
|
122
|
+
|
|
123
|
+
== Building and Hosting
|
|
124
|
+
|
|
125
|
+
Building a static site and hosting: you will save you money!
|
|
126
|
+
|
|
127
|
+
Using a static site, you will only have most of the time only HTML and
|
|
128
|
+
CSS files to host. This kind of files are super light which also means
|
|
129
|
+
that you will not need a powerhouse hosting to have a static site up and
|
|
130
|
+
running. Moreover, if your traffic suddenly increase, your site will not
|
|
131
|
+
go down contrary to a dynamic site which should request the database
|
|
132
|
+
each time for each user.
|
|
133
|
+
|
|
134
|
+
== Why use a site generator?
|
|
135
|
+
|
|
136
|
+
Working with HTML files can sometimes be quite annoying. Indeed, if you
|
|
137
|
+
need to make a modification you must manually change every file. If you
|
|
138
|
+
have a website with 10 pages, it can be ok but imagine if you have a
|
|
139
|
+
corporate site with 100+ pages or a blog with thousands of pages?! Using
|
|
140
|
+
a static site generator will solve this issue as it separates the
|
|
141
|
+
content and the template. To say it another way, by using a static site
|
|
142
|
+
generator you will only need to make the modification once and the
|
|
143
|
+
generator will apply it to all your pages.
|
|
144
|
+
|
|
145
|
+
=== Why Jekyll?
|
|
146
|
+
|
|
147
|
+
As the popularity of static sites is growing, there are plenty of static
|
|
148
|
+
site generators available on the market. The more famous are Jekyll,
|
|
149
|
+
Middleman and Hugo. Each one has its own specificities and may suits you
|
|
150
|
+
better depending on the programming languages you already are familiar
|
|
151
|
+
with.
|
|
152
|
+
|
|
153
|
+
Which static site generator should I use?
|
|
154
|
+
|
|
155
|
+
When I wanted to switch from WordPress to Static I personally
|
|
156
|
+
choose Jekyll as for me it is the best static site generator so far.
|
|
157
|
+
This blog is powered under Jekyll.
|
|
158
|
+
|
|
159
|
+
Happy Jekylling!
|
|
160
|
+
|
data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/attributes.asciidoc
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// ~/document_base_folder/000_includes
|
|
2
|
+
// Asciidoc attribute includes: attributes.asciidoc
|
|
3
|
+
// -----------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// URLs - Internal references and/or sources on the Internet
|
|
6
|
+
// -----------------------------------------------------------------------------
|
|
7
|
+
tag::urls[]
|
|
8
|
+
|
|
9
|
+
:parker-blog: https://byparker.com/blog/2014/clearing-up-confusion-around-baseurl/
|
|
10
|
+
|
|
11
|
+
end::urls[]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// Tags - Asciidoc attributes used internally
|
|
15
|
+
// -----------------------------------------------------------------------------
|
|
16
|
+
tag::tags[]
|
|
17
|
+
|
|
18
|
+
:figure-caption: Figure
|
|
19
|
+
|
|
20
|
+
end::tags[]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Data - Data elements for Asciidoctor extensions
|
|
24
|
+
// -----------------------------------------------------------------------------
|
|
25
|
+
tag::data[]
|
|
26
|
+
|
|
27
|
+
:docker-windows-kinematic-alpha-data: "blog/series/j1_using_docker/kinematic_alpha.1280x600.png, Docker UI Kinematic on Windows"
|
|
28
|
+
|
|
29
|
+
end::data[]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
// Product|Author - Document (e.g release) and Author information
|
|
33
|
+
// -----------------------------------------------------------------------------
|
|
34
|
+
tag::product_info[]
|
|
35
|
+
|
|
36
|
+
:license: MIT License
|
|
37
|
+
:revdate: 2018
|
|
38
|
+
:revnumber: 1.0.0
|
|
39
|
+
|
|
40
|
+
end::product_info[]
|
|
41
|
+
|
|
42
|
+
tag::authors[]
|
|
43
|
+
|
|
44
|
+
:uri-author-juergen-adams: https://jekyll.one
|
|
45
|
+
|
|
46
|
+
end::authors[]
|
|
47
|
+
|
data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/unsplash-badge.asciidoc
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
++++
|
|
2
|
+
<a style="background-color:rgba(0, 0, 0, 0.3);color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px" href="https://unsplash.com/@bel2000a?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge" target="_blank" rel="noopener noreferrer" title="Download free do whatever you want high-resolution photos from Belinda Fewings">
|
|
3
|
+
<span style="display:inline-block;padding:2px 3px">
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white" viewBox="0 0 32 32">
|
|
5
|
+
<title>unsplash-logo</title>
|
|
6
|
+
<path d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path>
|
|
7
|
+
</svg>
|
|
8
|
+
</span>
|
|
9
|
+
<span style="display:inline-block;padding:2px 3px">Belinda Fewings</span>
|
|
10
|
+
</a>
|
|
11
|
+
++++
|
|
12
|
+
|
|
13
|
+
++++
|
|
14
|
+
<div class="attic__badge">
|
|
15
|
+
<a class="attic__badge_unsplash"
|
|
16
|
+
href="https://unsplash.com/@bel2000a?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge"
|
|
17
|
+
target="_blank"
|
|
18
|
+
rel="noopener noreferrer"
|
|
19
|
+
title="Download free do whatever you want high-resolution photos from Belinda Fewings">
|
|
20
|
+
<span class="attic__badge_unsplash_icon">
|
|
21
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
class="attic__badge_unsplash_icon-size"
|
|
23
|
+
viewBox="0 0 32 32">
|
|
24
|
+
<title>unsplash-logo</title>
|
|
25
|
+
<path d="M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z"></path>
|
|
26
|
+
</svg>
|
|
27
|
+
</span>
|
|
28
|
+
<span class="attic__badge_unsplash_text">Belinda Fewings</span>
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
31
|
+
++++
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Site generators
|
|
3
|
+
tagline: open-source tools
|
|
4
|
+
description: Top open-source site generators
|
|
5
|
+
|
|
6
|
+
date: 2019-05-01 00:00:00
|
|
7
|
+
series:
|
|
8
|
+
adsense: false
|
|
9
|
+
image: /assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
|
|
10
|
+
|
|
11
|
+
tags: [ Jekyll, Generators ]
|
|
12
|
+
index: [ Jekyll, Top, Open, Source, Static, Site, Generators ]
|
|
13
|
+
categories: []
|
|
14
|
+
|
|
15
|
+
regenerate: false
|
|
16
|
+
|
|
17
|
+
resources: []
|
|
18
|
+
resource_options:
|
|
19
|
+
- attic:
|
|
20
|
+
padding_top: 400
|
|
21
|
+
padding_bottom: 50
|
|
22
|
+
opacity: 0.5
|
|
23
|
+
slides:
|
|
24
|
+
- url: /assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
|
|
25
|
+
alt: Photo by Ryan Quintal on Unsplash
|
|
26
|
+
# caption:
|
|
27
|
+
# text: Photo by Ryan Quintal on Unsplash
|
|
28
|
+
# href: https://unsplash.com/@ryanquintal/portfolio
|
|
29
|
+
badge:
|
|
30
|
+
type: unsplash
|
|
31
|
+
author: Ryan Quintal
|
|
32
|
+
href: https://unsplash.com/@ryanquintal/portfolio
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
// NOTE: General Asciidoc page attributes settings
|
|
36
|
+
// -----------------------------------------------------------------------------
|
|
37
|
+
:page-liquid:
|
|
38
|
+
|
|
39
|
+
// Additional Asciidoc page attributes goes here
|
|
40
|
+
// -----------------------------------------------------------------------------
|
|
41
|
+
// :page-imagesdir: {{page.images.dir}}
|
|
42
|
+
|
|
43
|
+
// Place an excerpt at the most top position
|
|
44
|
+
// -----------------------------------------------------------------------------
|
|
45
|
+
People quite often ask, if static websites make sense for anything beyond a
|
|
46
|
+
one-page website. Some other see in static websites the stone age of the
|
|
47
|
+
World Wide Web. What's about static websites today? What's achiveable?
|
|
48
|
+
|
|
49
|
+
This article highlights top open source projects, in many different programming
|
|
50
|
+
languages. Have a look what's going on the market.
|
|
51
|
+
|
|
52
|
+
[role="clearfix mb-3"]
|
|
53
|
+
excerpt__end
|
|
54
|
+
|
|
55
|
+
// Page content
|
|
56
|
+
// -----------------------------------------------------------------------------
|
|
57
|
+
[[readmore]]
|
|
58
|
+
== Static Site Generators
|
|
59
|
+
|
|
60
|
+
[role="mb-3"]
|
|
61
|
+
// image::{{page.image}}[{{page.title}}]
|
|
62
|
+
image::/assets/images/collections/blog/featured/staticgen.jpg[{{page.title}}]
|
|
63
|
+
|
|
64
|
+
A typical CMS driven website works by building each and every page dynamically.
|
|
65
|
+
That means fetching the content from a database to pass them over to a template
|
|
66
|
+
system for adding the required structure information (e.g. CSS styles).
|
|
67
|
+
This means each page is assembled on demand.
|
|
68
|
+
|
|
69
|
+
For many, many websites dynamic page generation is completely unnecessary and
|
|
70
|
+
adds unwanted risks in terms of complexity, performance losses and security
|
|
71
|
+
issues. After all, the content of most websites changes only, when the content
|
|
72
|
+
authors makes changes.
|
|
73
|
+
|
|
74
|
+
Why a hell should a web page always assembled on demand if there are no
|
|
75
|
+
changes?
|
|
76
|
+
|
|
77
|
+
NOTE: To be fair, most CMS are providing caching systems for web pages to
|
|
78
|
+
prevent unnessesary creation processes. It is not easy to implement such
|
|
79
|
+
a caching system and in the very end, it adds the next level of complexity.
|
|
80
|
+
|
|
81
|
+
A Static Site Generator takes a different approach and generate all the pages
|
|
82
|
+
of the website upfront. That does not nessesarily mean, that a static website
|
|
83
|
+
is always generated from the scratch. Modern generators support a so-called
|
|
84
|
+
incremental build; like Jekyll does. When there are changes detected to the
|
|
85
|
+
content, only selected pages are rebuild.
|
|
86
|
+
|
|
87
|
+
This means overall, statically build web pages having no moving parts in the
|
|
88
|
+
deployed website. This results in browser-side caching only, the performance
|
|
89
|
+
goes up and static sites are far more secure because they are build already.
|
|
90
|
+
|
|
91
|
+
To find out what Open Source Static Site Generators are available today and
|
|
92
|
+
their ranking in terms of popularity go for StaticGen You'll will find the
|
|
93
|
+
most complete list of generators!
|
|
94
|
+
|
|
95
|
+
Check https://www.staticgen.com[StaticGen].
|
|
96
|
+
|
|
97
|
+
Have fun!
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Cookies
|
|
3
|
+
tagline: good to know about
|
|
4
|
+
description: Useful info on cookies and how they used
|
|
5
|
+
|
|
6
|
+
date: 2019-06-01 00:00:00 +0200
|
|
7
|
+
series:
|
|
8
|
+
adsense: false
|
|
9
|
+
image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
|
10
|
+
|
|
11
|
+
tags: [ About, Cookies ]
|
|
12
|
+
index: [ Cookie, Usage, Type, Policy, Consent ]
|
|
13
|
+
categories: []
|
|
14
|
+
|
|
15
|
+
regenerate: false
|
|
16
|
+
|
|
17
|
+
resources: []
|
|
18
|
+
resource_options:
|
|
19
|
+
- attic:
|
|
20
|
+
padding_top: 400
|
|
21
|
+
padding_bottom: 50
|
|
22
|
+
opacity: 0.5
|
|
23
|
+
slides:
|
|
24
|
+
- url: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
|
25
|
+
alt: Photo by Miroslava on Unsplash
|
|
26
|
+
# caption:
|
|
27
|
+
# text: Photo by Miroslava on Unsplash
|
|
28
|
+
# href: https://unsplash.com/@miroslava
|
|
29
|
+
badge:
|
|
30
|
+
type: unsplash
|
|
31
|
+
author: Miroslava
|
|
32
|
+
href: https://unsplash.com/@miroslava
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
// TODO: For POSTS, currently the include:: macro does NOT work.
|
|
36
|
+
// Path calculation needes to be fixec (includes the document file name)
|
|
37
|
+
// -----------------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+
// NOTE
|
|
40
|
+
// -----------------------------------------------------------------------------
|
|
41
|
+
// See: http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm
|
|
42
|
+
|
|
43
|
+
// NOTE: General Asciidoc page attributes settings
|
|
44
|
+
// -----------------------------------------------------------------------------
|
|
45
|
+
:page-liquid:
|
|
46
|
+
|
|
47
|
+
// Additional Asciidoc page attributes goes here
|
|
48
|
+
// -----------------------------------------------------------------------------
|
|
49
|
+
// :page-imagesdir: {{page.images.dir}}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
// NOTE: Place an excerpt at the most top position
|
|
53
|
+
// -----------------------------------------------------------------------------
|
|
54
|
+
Is it needed for vistors to know what cookies are all about?
|
|
55
|
+
|
|
56
|
+
Not first place. Cookies are widely used. All users visting web sites are
|
|
57
|
+
bothered all the time to accept on cookies. Because cookies are used that often.
|
|
58
|
+
For good reasons - but for *different* reasons.
|
|
59
|
+
|
|
60
|
+
To answer the question: yes, you should.
|
|
61
|
+
|
|
62
|
+
All people are part of the *real* and virtual worlds as well; the internet
|
|
63
|
+
for example. In real world you've learned what cookies are. You can simply
|
|
64
|
+
*see* them, smell them and eat some. In real world cookies are *real*, you
|
|
65
|
+
know sweets from earliest days.
|
|
66
|
+
|
|
67
|
+
But cookies in the digital world are different. Cookies in the sense of the
|
|
68
|
+
internet, of the web are *not* dangerous but not nessearily a sort of sweets
|
|
69
|
+
to enjoy people.
|
|
70
|
+
|
|
71
|
+
[role="clearfix mb-3"]
|
|
72
|
+
excerpt__end
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// Page content
|
|
76
|
+
// -----------------------------------------------------------------------------
|
|
77
|
+
[[readmore]]
|
|
78
|
+
|
|
79
|
+
== What are cookies technically
|
|
80
|
+
|
|
81
|
+
[role="mb-3"]
|
|
82
|
+
// image::{{page.image}}[{{page.title}}]
|
|
83
|
+
// image::/assets/images/modules/attics/cookies-1920x1200-bw.png[{{page.title}}, 800]
|
|
84
|
+
|
|
85
|
+
In short words. A cookie is a small piece of data that a website asks your
|
|
86
|
+
browser to store on your computer or mobile device. The cookie allows the
|
|
87
|
+
website to "remember" your actions or preferences over time.
|
|
88
|
+
|
|
89
|
+
Most browsers support cookies, but users can set their browsers to decline
|
|
90
|
+
them and can delete them whenever they like.
|
|
91
|
+
|
|
92
|
+
Good to know.
|
|
93
|
+
|
|
94
|
+
== For what reasons cookies are used
|
|
95
|
+
|
|
96
|
+
Websites mainly use cookies for:
|
|
97
|
+
|
|
98
|
+
Identification::
|
|
99
|
+
identify users
|
|
100
|
+
|
|
101
|
+
General information storage::
|
|
102
|
+
remember users' custom preferences
|
|
103
|
+
|
|
104
|
+
Support::
|
|
105
|
+
help users complete tasks without having to re‑enter information
|
|
106
|
+
when browsing from one page to another or when visiting the site later.
|
|
107
|
+
|
|
108
|
+
Track behavioural::
|
|
109
|
+
Cookies can also be used for online behavioural target advertising and to
|
|
110
|
+
show adverts relevant to something that the user searched for in the past.
|
|
111
|
+
|
|
112
|
+
The web server supplying the webpage can store a cookie on the user's
|
|
113
|
+
computer or mobile device. An external web server that manages files
|
|
114
|
+
included or referenced in the webpage is also able to store cookies.
|
|
115
|
+
|
|
116
|
+
All these cookies are called http header cookies. Another way of storing
|
|
117
|
+
cookies is through JavaScript code contained or referenced in that page.
|
|
118
|
+
|
|
119
|
+
Each time the user requests a new page, the web server can receive the
|
|
120
|
+
values of the cookies it previously set and return the page with content
|
|
121
|
+
relating to these values. Similarly, JavaScript code is able to read a
|
|
122
|
+
cookie belonging to its domain and perform an action accordingly.
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
.How are they used
|
|
126
|
+
[NOTE]
|
|
127
|
+
====
|
|
128
|
+
The web server supplying the webpage can store a cookie on the user's
|
|
129
|
+
computer or mobile device. An external web server that manages files included
|
|
130
|
+
or referenced in the webpage is also able to store cookies. All these
|
|
131
|
+
cookies are called http header cookies. Another way of storing cookies is
|
|
132
|
+
through JavaScript code contained or referenced in that page.
|
|
133
|
+
|
|
134
|
+
Each time the user requests a new page, the web server can receive the
|
|
135
|
+
values of the cookies it previously set and return the page with content
|
|
136
|
+
relating to these values. Similarly, JavaScript code is able to read a
|
|
137
|
+
cookie belonging to its domain and perform an action accordingly.
|
|
138
|
+
====
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
== Types of cookies
|
|
142
|
+
|
|
143
|
+
A cookie can be classified by its lifespan and the domain to which it belongs.
|
|
144
|
+
By lifespan, a cookie is either a:
|
|
145
|
+
|
|
146
|
+
Session cookie::
|
|
147
|
+
which is erased when the user closes the browser or
|
|
148
|
+
|
|
149
|
+
Persistent cookie::
|
|
150
|
+
which remains on the user's computer/device for a pre-defined period of time.
|
|
151
|
+
|
|
152
|
+
As for the domain to which it belongs, there are either:
|
|
153
|
+
|
|
154
|
+
First-party cookie::
|
|
155
|
+
cookies which are set by the web server of the visited page and share the
|
|
156
|
+
same domain
|
|
157
|
+
|
|
158
|
+
Third-party cookies::
|
|
159
|
+
cookies stored by a different domain to the visited page's domain.
|
|
160
|
+
This can happen when the webpage references a file, such as JavaScript,
|
|
161
|
+
located outside its domain.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
== How do a site use cookies?
|
|
165
|
+
|
|
166
|
+
Adjust this part of the page according to your needs.
|
|
167
|
+
|
|
168
|
+
Explain which cookies you use in plain, jargon-free language. In particular:
|
|
169
|
+
|
|
170
|
+
* their purpose and the reason why they are being used, (e.g. to remember
|
|
171
|
+
users' actions, to identify the user, for online behavioural advertising)
|
|
172
|
+
* if they are essential for the website or a given functionality to work
|
|
173
|
+
or if they aim to enhance the performance of the website
|
|
174
|
+
* the types of cookies used (e.g. session or permanent, first or third-party)
|
|
175
|
+
* who controls/accesses the cookie-related information (website or third party)
|
|
176
|
+
* that the cookie will not be used for any purpose other than the one stated
|
|
177
|
+
* how consent can be withdrawn.
|
|
178
|
+
|
|
179
|
+
You can use as example the top level "cookie notice" of the Commission homepage.
|
|
180
|
+
If your site does not use any cookies, just declare it (e.g. The Information
|
|
181
|
+
Providers Guide site does not use any cookies). If your site uses the same
|
|
182
|
+
cookies as the Commission homepage, you can just link to the top level
|
|
183
|
+
cookie notice.
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
== How to control cookies
|
|
187
|
+
|
|
188
|
+
You can control and/or delete cookies as you wish – for details,
|
|
189
|
+
see http://www.aboutcookies.org[aboutcookies.org]. You can delete
|
|
190
|
+
all cookies that are already on your computer and you can set most
|
|
191
|
+
browsers to prevent them from being placed. If you do this, however,
|
|
192
|
+
you may have to manually adjust some preferences every time you visit
|
|
193
|
+
a site and some services and functionalities may not work.
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|