j1-template 2020.0.13 → 2020.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
  3. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -1
  4. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  5. data/_includes/themes/j1/layouts/content_generator_page.html +23 -23
  6. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +1 -1
  7. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
  8. data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
  9. data/_includes/themes/j1/procedures/layouts/module_writer.1.proc +270 -0
  10. data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
  11. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +10 -10
  12. data/_layouts/default.html +60 -54
  13. data/apps/public/cc/index.adoc +2 -6
  14. data/assets/data/authclient.html +5 -5
  15. data/assets/data/banner.html +2 -2
  16. data/assets/data/{cookie_consent.html → cookiebar.html} +76 -50
  17. data/assets/data/footer.html +1 -3
  18. data/assets/data/gallery_customizer.html +3 -3
  19. data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
  20. data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
  21. data/assets/data/jupyter/notebooks/html/template.html +7 -7
  22. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
  23. data/assets/data/menu.html +3 -3
  24. data/assets/data/mmenu.html +3 -3
  25. data/assets/data/mmenu_sidebar.html +2 -2
  26. data/assets/data/mmenu_toc.html +2 -2
  27. data/assets/data/panel.html +18 -17
  28. data/assets/data/quicklinks.html +17 -17
  29. data/assets/data/search.json +81 -80
  30. data/assets/data/ssm.html +2 -2
  31. data/assets/data/twa_v1.json +6978 -6980
  32. data/assets/themes/j1/adapter/js/algolia.js +16 -14
  33. data/assets/themes/j1/adapter/js/attic.js +25 -33
  34. data/assets/themes/j1/adapter/js/carousel.js +15 -11
  35. data/assets/themes/j1/adapter/js/clipboard.js +19 -17
  36. data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
  37. data/assets/themes/j1/adapter/js/framer.js +27 -19
  38. data/assets/themes/j1/adapter/js/gallery_customizer.js +219 -248
  39. data/assets/themes/j1/adapter/js/j1.js +273 -153
  40. data/assets/themes/j1/adapter/js/jf_gallery.js +21 -20
  41. data/assets/themes/j1/adapter/js/lightbox.js +9 -8
  42. data/assets/themes/j1/adapter/js/logger.js +2 -4
  43. data/assets/themes/j1/adapter/js/mdb.js +27 -30
  44. data/assets/themes/j1/adapter/js/mmenu.js +47 -51
  45. data/assets/themes/j1/adapter/js/navigator.js +153 -123
  46. data/assets/themes/j1/adapter/js/searcher.js +18 -12
  47. data/assets/themes/j1/adapter/js/ssm.js +82 -82
  48. data/assets/themes/j1/adapter/js/themer.js +72 -78
  49. data/assets/themes/j1/adapter/js/toccer.js +11 -9
  50. data/assets/themes/j1/core/css/animate.css +2382 -0
  51. data/assets/themes/j1/core/css/animate.min.css +7 -0
  52. data/assets/themes/j1/core/css/fontawesome.css +4415 -0
  53. data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
  54. data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
  55. data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
  56. data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
  57. data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
  58. data/assets/themes/j1/core/css/theme_extensions.css +99 -1697
  59. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  60. data/assets/themes/j1/core/css/twemoji.css +9485 -0
  61. data/assets/themes/j1/core/css/twemoji.min.css +1 -0
  62. data/assets/themes/j1/core/css/uno.css +128 -1680
  63. data/assets/themes/j1/core/css/uno.min.css +1 -1
  64. data/assets/themes/j1/core/css/vendor.css +767 -33164
  65. data/assets/themes/j1/core/css/vendor.min.css +2 -9
  66. data/assets/themes/j1/core/js/template.js +26 -347
  67. data/assets/themes/j1/core/js/template.js.map +1 -1
  68. data/assets/themes/j1/core/js/template.min.js +1 -1
  69. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
  70. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
  71. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
  72. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
  73. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
  74. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
  75. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
  76. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
  77. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
  78. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
  79. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
  80. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
  81. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
  82. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  83. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
  84. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
  85. data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/datepicker.css +1 -1
  86. data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/theme/uno.css +1 -1
  87. data/assets/themes/j1/{extensions → modules}/bsDatepicker/js/datepicker.js +1 -1
  88. data/assets/themes/j1/{extensions → modules}/bsDatepicker/less/datepicker.less +0 -0
  89. data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.js +19 -10
  90. data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.min.js +1 -1
  91. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
  92. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
  93. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
  94. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
  95. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
  96. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
  97. data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
  98. data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
  99. data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
  100. data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
  101. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
  102. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
  103. data/assets/themes/j1/{extensions → modules}/clipboard/LICENSE +0 -0
  104. data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.css +1 -1
  105. data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.min.css +1 -1
  106. data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.js +0 -0
  107. data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.min.js +0 -0
  108. data/assets/themes/j1/{extensions → modules}/iconifyAPI/js/iconify.min.js +0 -0
  109. data/assets/themes/j1/{extensions → modules}/iframeResizer/LICENSE +0 -0
  110. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.absolute.html +0 -0
  111. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.content.html +0 -0
  112. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.hover.html +0 -0
  113. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.nested.html +0 -0
  114. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.textarea.html +0 -0
  115. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.tolerance.html +0 -0
  116. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/index.html +0 -0
  117. data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/two.html +0 -0
  118. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.js +0 -0
  119. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -0
  120. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  121. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.js +0 -0
  122. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.map +0 -0
  123. data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.min.js +0 -0
  124. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +624 -0
  125. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
  126. data/assets/themes/j1/{extensions → modules}/jqMouseWheel/README.md +0 -0
  127. data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.js +0 -0
  128. data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.min.js +0 -0
  129. data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
  130. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
  131. data/assets/themes/j1/{extensions → modules}/justifiedGallery/LICENSE +0 -0
  132. data/assets/themes/j1/{extensions → modules}/justifiedGallery/README.md +0 -0
  133. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  134. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  135. data/assets/themes/j1/{extensions/justifiedGallery/_versions/v4.0.0 → modules/justifiedGallery/_versions/v3.7.0}/css/theme/uno.css +1 -1
  136. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  137. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  138. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  139. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -0
  140. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  141. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  142. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  143. data/assets/themes/j1/{extensions/justifiedGallery/_versions/v3.7.0 → modules/justifiedGallery/_versions/v4.0.0}/css/theme/uno.css +1 -1
  144. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  145. data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  146. data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.css +0 -0
  147. data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.min.css +0 -0
  148. data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.css +1 -1
  149. data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.min.css +1 -1
  150. data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.js +0 -0
  151. data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.min.js +0 -0
  152. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.css +0 -0
  153. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.min.css +0 -0
  154. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.css +0 -0
  155. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.min.css +0 -0
  156. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.css +0 -0
  157. data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.min.css +0 -0
  158. data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.eot +0 -0
  159. data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.svg +0 -0
  160. data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.ttf +0 -0
  161. data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.woff +0 -0
  162. data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/loading.gif +0 -0
  163. data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/video-play.png +0 -0
  164. data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/vimeo-play.png +0 -0
  165. data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/youtube-play.png +0 -0
  166. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/animation-w.png +0 -0
  167. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/customize-w.png +0 -0
  168. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/dynamic-w.png +0 -0
  169. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/facebook-icon.svg +0 -0
  170. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/googleplus-icon.svg +0 -0
  171. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/html5-w.png +0 -0
  172. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/linked-in.png +0 -0
  173. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/module-w.png +0 -0
  174. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/play-button.png +0 -0
  175. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/responsive-w.png +0 -0
  176. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/thumb-w.png +0 -0
  177. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/touch-w.png +0 -0
  178. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter-icon.svg +0 -0
  179. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter.png +0 -0
  180. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/video1-w.png +0 -0
  181. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom-w.png +0 -0
  182. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom.png +0 -0
  183. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.css +1 -1
  184. data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.min.css +1 -1
  185. data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.js +0 -0
  186. data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.min.js +0 -0
  187. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.js +0 -0
  188. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.min.js +0 -0
  189. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.js +0 -0
  190. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.min.js +0 -0
  191. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.js +0 -0
  192. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.min.js +0 -0
  193. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.js +0 -0
  194. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.min.js +0 -0
  195. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.js +0 -0
  196. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.min.js +0 -0
  197. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.js +0 -0
  198. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.min.js +0 -0
  199. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.js +0 -0
  200. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.min.js +0 -0
  201. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.js +0 -0
  202. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.min.js +0 -0
  203. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.js +0 -0
  204. data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.min.js +0 -0
  205. data/assets/themes/j1/{extensions → modules}/lightbox/LICENSE +0 -0
  206. data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.css +1 -1
  207. data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.min.css +1 -1
  208. data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.css +1 -1
  209. data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.min.css +1 -1
  210. data/assets/themes/j1/{extensions → modules}/lightbox/images/close.png +0 -0
  211. data/assets/themes/j1/{extensions → modules}/lightbox/images/loading.gif +0 -0
  212. data/assets/themes/j1/{extensions → modules}/lightbox/images/next.png +0 -0
  213. data/assets/themes/j1/{extensions → modules}/lightbox/images/prev.png +0 -0
  214. data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.js +0 -0
  215. data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.min.js +0 -0
  216. data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.css +1 -1
  217. data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.min.css +0 -0
  218. data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.min.css → modules/mmenuLight/css/theme/uno.css} +21 -12
  219. data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.css → modules/mmenuLight/css/theme/uno.min.css} +2 -2
  220. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
  221. data/assets/themes/j1/{extensions/mmenuLight/js/mmenu.js → modules/mmenuLight/js/mmenu.min.js} +1 -1
  222. data/assets/themes/j1/{extensions → modules}/noUISlider/LICENSE +0 -0
  223. data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.css +0 -0
  224. data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.min.css +0 -0
  225. data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.js +0 -0
  226. data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.min.js +0 -0
  227. data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
  228. data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
  229. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
  230. data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
  231. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
  232. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
  233. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
  234. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
  235. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
  236. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
  237. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
  238. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
  239. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
  240. data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
  241. data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
  242. data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
  243. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
  244. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
  245. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
  246. data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
  247. data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
  248. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
  249. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
  250. data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
  251. data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
  252. data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
  253. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
  254. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
  255. data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
  256. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
  257. data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
  258. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
  259. data/assets/themes/j1/{extensions → modules}/twemoji/js/LICENSE +0 -0
  260. data/assets/themes/j1/{extensions → modules}/twemoji/js/picker/LICENSE +0 -0
  261. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
  262. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
  263. data/assets/themes/j1/{extensions → modules}/twemoji/js/twemoji.js +0 -1
  264. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
  265. data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
  266. data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
  267. data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
  268. data/assets/themes/j1/modules/util/js/log4javascript.js +264 -0
  269. data/assets/themes/j1/modules/util/js/platform.js +1260 -0
  270. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
  271. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
  272. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
  273. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
  274. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
  275. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
  276. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
  277. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
  278. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
  279. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
  280. data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
  281. data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
  282. data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  283. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
  284. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
  285. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
  286. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
  287. data/lib/j1/version.rb +3 -3
  288. data/lib/starter_web/Gemfile +10 -10
  289. data/lib/starter_web/_config.yml +4 -4
  290. data/lib/starter_web/_data/blocks/banner.yml +2 -2
  291. data/lib/starter_web/_data/blocks/panel.yml +8 -8
  292. data/lib/starter_web/_data/modules/attics.yml +1 -1
  293. data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
  294. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  295. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
  296. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -4
  297. data/lib/starter_web/_data/modules/themer.yml +9 -9
  298. data/lib/starter_web/_data/resources.yml +247 -170
  299. data/lib/starter_web/_data/template_settings.yml +11 -10
  300. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
  301. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
  302. data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
  303. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.webp +0 -0
  304. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.webp +0 -0
  305. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.webp +0 -0
  306. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.webp +0 -0
  307. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.webp +0 -0
  308. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.webp +0 -0
  309. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.webp +0 -0
  310. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.webp +0 -0
  311. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.webp +0 -0
  312. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.webp +0 -0
  313. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.webp +0 -0
  314. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.webp +0 -0
  315. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.webp +0 -0
  316. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.webp +0 -0
  317. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.webp +0 -0
  318. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.webp +0 -0
  319. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.webp +0 -0
  320. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.webp +0 -0
  321. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.webp +0 -0
  322. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.webp +0 -0
  323. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.webp +0 -0
  324. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.webp +0 -0
  325. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.webp +0 -0
  326. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.webp +0 -0
  327. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.webp +0 -0
  328. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.webp +0 -0
  329. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.webp +0 -0
  330. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.webp +0 -0
  331. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.webp +0 -0
  332. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.webp +0 -0
  333. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.webp +0 -0
  334. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.webp +0 -0
  335. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.webp +0 -0
  336. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.webp +0 -0
  337. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.webp +0 -0
  338. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.webp +0 -0
  339. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.webp +0 -0
  340. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.webp +0 -0
  341. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.webp +0 -0
  342. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.webp +0 -0
  343. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.webp +0 -0
  344. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.webp +0 -0
  345. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.webp +0 -0
  346. data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
  347. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
  348. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +5 -6
  349. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +2 -2
  350. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +19 -19
  351. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +38 -42
  352. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -7
  353. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
  354. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
  355. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
  356. data/lib/starter_web/index.html +2 -2
  357. data/lib/starter_web/package.json +1 -1
  358. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  359. data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -1
  360. data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
  361. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
  362. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
  363. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
  364. data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
  365. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
  366. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
  367. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +16 -18
  368. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +1 -1
  369. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +3 -3
  370. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  371. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
  372. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -1
  373. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +3 -3
  374. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -2
  375. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +10 -11
  376. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +3 -3
  377. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +20 -22
  378. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/attributes.asciidoc +0 -0
  379. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/documents/100_buttons.asciidoc +0 -0
  380. data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/mdb_previewer.adoc +0 -0
  381. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +3 -3
  382. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  383. data/lib/starter_web/pages/public/learn/whats_up.adoc +2 -3
  384. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  385. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  386. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  387. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  388. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +9 -9
  389. data/lib/starter_web/pages/public/previewer/iframer.adoc +4 -3
  390. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
  391. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  392. data/lib/starter_web/pages/public/site_search.adoc +1 -1
  393. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  394. data/lib/starter_web/utilsrv/package.json +1 -1
  395. metadata +284 -241
  396. data/assets/themes/j1/adapter/js/cookie_consent.js +0 -286
  397. data/assets/themes/j1/core/css/custom.scss +0 -28
  398. data/assets/themes/j1/core/css/globals.css +0 -14523
  399. data/assets/themes/j1/core/css/globals.min.css +0 -1
  400. data/assets/themes/j1/core/css/uno.scss +0 -28
  401. data/assets/themes/j1/core/css/vendor.scss +0 -28
  402. data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.js +0 -21
  403. data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.min.js +0 -21
  404. data/assets/themes/j1/extensions/twemoji/js/twemoji.min.js +0 -25
  405. data/lib/starter_web/_data/modules/cookie_consent.yml +0 -36
  406. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
  407. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
  408. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
  409. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
  410. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
  411. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  412. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
  413. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
  414. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
  415. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
  416. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
  417. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
  418. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
  419. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
  420. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
  421. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
  422. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
  423. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
  424. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
  425. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
  426. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
  427. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
  428. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
  429. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  430. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
  431. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
  432. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
  433. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
  434. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
  435. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  436. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
  437. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
  438. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
  439. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  440. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
  441. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
  442. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
  443. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
  444. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
  445. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
  446. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
  447. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
  448. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
  449. data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
  450. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
  451. data/lib/starter_web/pages/public/clear_button.adoc +0 -121
@@ -99,8 +99,18 @@ j1.adapter['searcher'] = (function (j1, window) {
99
99
  // Initializer
100
100
  // -------------------------------------------------------------------------
101
101
  init: function (options) {
102
+
103
+ // -----------------------------------------------------------------------
104
+ // globals
105
+ // -----------------------------------------------------------------------
106
+ _this = j1.adapter.searcher;
107
+ logger = log4javascript.getLogger('j1.adapter.searcher');
108
+
102
109
  // initialize state flag
103
- j1.adapter.searcher.state = 'pending';
110
+ _this.setState('pending');
111
+ logger.info('state: ' + _this.getState());
112
+ logger.info('Module is being started');
113
+
104
114
 
105
115
  // -----------------------------------------------------------------------
106
116
  // Default module settings
@@ -110,11 +120,6 @@ j1.adapter['searcher'] = (function (j1, window) {
110
120
  generated: '{{site.time}}'
111
121
  }, options);
112
122
 
113
- {% comment %} Set global variables
114
- -------------------------------------------------------------------------- {% endcomment %}
115
- _this = j1.adapter.searcher;
116
- logger = log4javascript.getLogger('j1.adapter.searcher');
117
-
118
123
  {% comment %} Load module config from yml data
119
124
  -------------------------------------------------------------------------- {% endcomment %}
120
125
  // Load module DEFAULTS|CONFIG
@@ -147,6 +152,7 @@ j1.adapter['searcher'] = (function (j1, window) {
147
152
 
148
153
  _this.setState('finished');
149
154
  logger.info('state: ' + _this.getState());
155
+ logger.info('module initialized successfully');
150
156
  } else {
151
157
  _this.setState('finished');
152
158
  logger.info('state: ' + _this.getState());
@@ -184,20 +190,20 @@ j1.adapter['searcher'] = (function (j1, window) {
184
190
  }, // END messageHandler
185
191
 
186
192
  // -------------------------------------------------------------------------
187
- // setState
188
- // Set the current (processing) state of the module
193
+ // setState()
194
+ // Sets the current (processing) state of the module
189
195
  // -------------------------------------------------------------------------
190
196
  setState: function (stat) {
191
- j1.adapter.searcher.state = stat;
197
+ _this.state = stat;
192
198
  }, // END setState
193
199
 
194
200
  // -------------------------------------------------------------------------
195
- // getState
201
+ // getState()
196
202
  // Returns the current (processing) state of the module
197
203
  // -------------------------------------------------------------------------
198
204
  getState: function () {
199
- return j1.adapter.searcher.state;
200
- } // END state
205
+ return _this.state;
206
+ } // END getState
201
207
 
202
208
  }; // END return
203
209
  })(j1, window);
@@ -83,10 +83,11 @@ j1.adapter['ssm'] = (function (j1, window) {
83
83
  // ---------------------------------------------------------------------------
84
84
  // globals
85
85
  // ---------------------------------------------------------------------------
86
- var environment = '{{environment}}';
87
- var dclFinished = false;
88
- var moduleOptions = {};
89
- var cookie_names = j1.getCookieNames();
86
+ const isMobile = j1.core.isMobile();
87
+ var environment = '{{environment}}';
88
+ var dclFinished = false;
89
+ var moduleOptions = {};
90
+ var cookie_names = j1.getCookieNames();
90
91
  var user_state;
91
92
  var user_session;
92
93
  var user_data;
@@ -95,7 +96,7 @@ j1.adapter['ssm'] = (function (j1, window) {
95
96
  var _this;
96
97
  var logger;
97
98
  var logText;
98
- const isMobile = j1.core.isMobile();
99
+
99
100
 
100
101
  // ---------------------------------------------------------------------------
101
102
  // helper functions
@@ -111,11 +112,21 @@ j1.adapter['ssm'] = (function (j1, window) {
111
112
  // -------------------------------------------------------------------------
112
113
  init: function (options) {
113
114
 
114
- // create seetings object from frontmatterOptions
115
- var frontmatterOptions = options != null ? $.extend({}, options) : {};
115
+ // -----------------------------------------------------------------------
116
+ // globals
117
+ // -----------------------------------------------------------------------
118
+ _this = j1.adapter.ssm;
119
+ logger = log4javascript.getLogger('j1.adapter.ssm');
120
+ sect12Nodes = $('[class$="sect1"],[class$="sect2"');
121
+ sect1Nodes = $('[class$="sect1"]');
116
122
 
117
123
  // initialize state flag
118
- j1.adapter.ssm.state = 'pending';
124
+ _this.setState('started');
125
+ logger.info('set module state to: ' + _this.getState());
126
+ logger.info('module is being initialized');
127
+
128
+ // create settings object from frontmatterOptions
129
+ var frontmatterOptions = options != null ? $.extend({}, options) : {};
119
130
 
120
131
  // -----------------------------------------------------------------------
121
132
  // defaults
@@ -125,14 +136,6 @@ j1.adapter['ssm'] = (function (j1, window) {
125
136
  generated: '{{site.time}}'
126
137
  }, options);
127
138
 
128
- // -----------------------------------------------------------------------
129
- // globals
130
- // -----------------------------------------------------------------------
131
- _this = j1.adapter.ssm;
132
- logger = log4javascript.getLogger('j1.adapter.ssm');
133
- sect12Nodes = $('[class$="sect1"],[class$="sect2"');
134
- sect1Nodes = $('[class$="sect1"]');
135
-
136
139
  // -----------------------------------------------------------------------
137
140
  // options loader
138
141
  // -----------------------------------------------------------------------
@@ -153,11 +156,7 @@ j1.adapter['ssm'] = (function (j1, window) {
153
156
 
154
157
  // save config settings into the mmenu object for global access
155
158
  //
156
- j1.adapter.ssm['moduleOptions'] = moduleOptions;
157
-
158
- _this.setState('started');
159
- logger.info('set module state to: ' + _this.getState());
160
- logger.info('module is being initialized');
159
+ _this['moduleOptions'] = moduleOptions;
161
160
 
162
161
  // jadams, 2020-06-24: Set max_count to 100 what cause to wait 2.5s
163
162
  // for J1 Navigator to finish (init)
@@ -170,14 +169,14 @@ j1.adapter['ssm'] = (function (j1, window) {
170
169
  if ( j1.adapter.navigator.getState() == 'finished' ) {
171
170
  logger.info('dependencies of module navigator met for: mmenu');
172
171
  logger.info('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
173
- j1.core.ssm.init (moduleOptions);
172
+ // j1.core.ssm.init (moduleOptions);
174
173
  _this.ssmLoader(moduleOptions);
175
174
  clearInterval(dependencies_met_navigator);
176
175
  }
177
176
  if (interval_count > max_count) {
178
177
  logger.warn('dependency check failed for module: navigator');
179
178
  logger.warn('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
180
- j1.core.ssm.init (moduleOptions);
179
+ // j1.core.ssm.init (moduleOptions);
181
180
  _this.ssmLoader(moduleOptions);
182
181
  clearInterval(dependencies_met_navigator);
183
182
  }
@@ -201,50 +200,51 @@ j1.adapter['ssm'] = (function (j1, window) {
201
200
 
202
201
  {% assign id_list = "" %}
203
202
 
204
- $.when (
205
- {% assign menu_id = ssm_options.xhr_container_id %}
206
- {% assign xhr_data_path = ssm_options.xhr_data_path %}
207
- j1.xhrData (
208
- 'j1.adapter.ssm', {
209
- xhr_container_id: '{{menu_id}}',
210
- xhr_data_path: '{{xhr_data_path}}' },
211
- 'data_loaded')
212
- ).done (function (ssm_html_loaded) {
213
- // ---------------------------------------------------------------------
214
- // Initialize MMenu Navs and Drawers
215
- // ---------------------------------------------------------------------
216
- var dependencies_met_mmenu_initialized = setInterval (function () {
217
- if (ssm_html_loaded && $('#{{ssm_options.menu_id}}').length) {
218
- _this.setState('loaded');
219
- logger.info('set module state to: ' + _this.getState());
220
- logger.info('HTML data for ssm: ' + _this.getState());
221
- if(isToc) {
222
- logger.info('found toc in page: enabled');
223
- if ( j1.adapter.toccer.getState() == 'finished' ) {
224
- logger.info('dependency met for module : toccer');
225
- _this.setState('processing');
226
- logger.info('set module state to: ' + _this.getState());
227
- logger.info('initialize ssm menu');
228
- (ssmOptions.mode === 'icon')
229
- ? logger.info('ssm mode detected: icon')
230
- : logger.info('ssm mode detected: menu');
231
- _this.scrollSpy(ssmOptions);
232
- _this.buttonInitializer(ssmOptions);
233
- clearInterval(dependencies_met_mmenu_initialized);
234
- }
235
- } else {
236
- logger.info('found toc in page: disabled');
237
- logger.info('disable toc menu and prev|next section buttons');
238
- $('#ssm_toc').closest('.ssm-btn').hide();
239
- $('#ssm_previous_section').closest('.ssm-btn').hide();
240
- $('#ssm_next_section').closest('.ssm-btn').hide();
203
+ j1.xhrData ({
204
+ xhr_container_id: '{{ssm_options.xhr_container_id}}',
205
+ xhr_data_path: '{{ssm_options.xhr_data_path}}' },
206
+ 'j1.adapter.ssm',
207
+ 'data_loaded');
208
+
209
+ // ---------------------------------------------------------------------
210
+ // Initialize MMenu Navs and Drawers
211
+ // ---------------------------------------------------------------------
212
+ var dependencies_met_mmenu_initialized = setInterval (function () {
213
+ if (j1.xhrDOMState['#{{ssm_options.xhr_container_id}}'] == 'success') {
214
+ _this.setState('loaded');
215
+ logger.info('set module state to: ' + _this.getState());
216
+ logger.info('HTML data for ssm: ' + _this.getState());
217
+ j1.core.ssm.init (moduleOptions);
218
+ if(isToc) {
219
+ logger.info('found toc in page: enabled');
220
+ if ( j1.adapter.toccer.getState() == 'finished' ) {
221
+ logger.info('dependency met for module : toccer');
222
+ _this.setState('processing');
223
+ logger.info('set module state to: ' + _this.getState());
224
+ logger.info('initialize ssm menu');
225
+ (ssmOptions.mode === 'icon')
226
+ ? logger.info('ssm mode detected: icon')
227
+ : logger.info('ssm mode detected: menu');
241
228
  _this.scrollSpy(ssmOptions);
242
229
  _this.buttonInitializer(ssmOptions);
230
+
231
+ _this.setState('finished');
232
+ logger.info('state: ' + _this.getState());
233
+ logger.info('module initialized successfully');
243
234
  clearInterval(dependencies_met_mmenu_initialized);
244
235
  }
236
+ } else {
237
+ logger.info('found toc in page: disabled');
238
+ logger.info('disable toc menu and prev|next section buttons');
239
+ $('#ssm_toc').closest('.ssm-btn').hide();
240
+ $('#ssm_previous_section').closest('.ssm-btn').hide();
241
+ $('#ssm_next_section').closest('.ssm-btn').hide();
242
+ _this.scrollSpy(ssmOptions);
243
+ _this.buttonInitializer(ssmOptions);
244
+ clearInterval(dependencies_met_mmenu_initialized);
245
245
  }
246
- }, 25); // END dependencies_met_mmenu_loaded
247
- }); // END done
246
+ }
247
+ }, 25); // END dependencies_met_mmenu_initialized
248
248
  }, // END dataLoader
249
249
 
250
250
  // -------------------------------------------------------------------------
@@ -275,7 +275,7 @@ j1.adapter['ssm'] = (function (j1, window) {
275
275
  $('#{{button_id}}').each(function(e) {
276
276
  var $this = $(this);
277
277
  $this.on('click', function(e) {
278
- j1.adapter.ssm.{{item.event_handler}}(sect1Nodes);
278
+ _this.{{item.event_handler}}(sect1Nodes);
279
279
  });
280
280
  });
281
281
  } else {
@@ -460,22 +460,6 @@ j1.adapter['ssm'] = (function (j1, window) {
460
460
  return true;
461
461
  }, // END messageHandler
462
462
 
463
- // -------------------------------------------------------------------------
464
- // setState
465
- // Set the current (processing) state of the module
466
- // -------------------------------------------------------------------------
467
- setState: function (stat) {
468
- j1.adapter.ssm.state = stat;
469
- }, // END setState
470
-
471
- // -------------------------------------------------------------------------
472
- // getState
473
- // Returns the current (processing) state of the module
474
- // -------------------------------------------------------------------------
475
- getState: function () {
476
- return j1.adapter.ssm.state;
477
- }, // END state
478
-
479
463
  // -------------------------------------------------------------------------
480
464
  // Manage (top) position and sizes (@media breakpoints) of the
481
465
  // SSM container depending on the size of the page header (attic)
@@ -525,11 +509,27 @@ j1.adapter['ssm'] = (function (j1, window) {
525
509
  ? $ssmContainer.css('display','block')
526
510
  : $ssmContainer.css('display','none');
527
511
 
528
- logger.debug('content pos detected as: ' + m + 'px');
529
- logger.debug('scroll pos detected as: ' + scrollPos + 'px');
512
+ // logger.debug('content pos detected as: ' + m + 'px');
513
+ // logger.debug('scroll pos detected as: ' + scrollPos + 'px');
530
514
  }); // END setTop on scroll
531
515
 
532
- } // END scrollSpy
516
+ }, // END scrollSpy
517
+
518
+ // -------------------------------------------------------------------------
519
+ // setState()
520
+ // Sets the current (processing) state of the module
521
+ // -------------------------------------------------------------------------
522
+ setState: function (stat) {
523
+ _this.state = stat;
524
+ }, // END setState
525
+
526
+ // -------------------------------------------------------------------------
527
+ // getState()
528
+ // Returns the current (processing) state of the module
529
+ // -------------------------------------------------------------------------
530
+ getState: function () {
531
+ return _this.state;
532
+ } // END getState
533
533
 
534
534
  }; // END return
535
535
  })(j1, window);
@@ -19,7 +19,7 @@ regenerate: true
19
19
  #
20
20
  # -----------------------------------------------------------------------------
21
21
  # Test data:
22
- # {{ config | debug }}
22
+ # {{config| debug }}
23
23
  # -----------------------------------------------------------------------------
24
24
  {% endcomment %}
25
25
 
@@ -48,7 +48,7 @@ regenerate: true
48
48
 
49
49
  {% comment %} Set config options
50
50
  -------------------------------------------------------------------------------- {% endcomment %}
51
- {% assign themer_options = themer_defaults | merge: themer_settings %}
51
+ {% assign themer_options = themer_defaults| merge: themer_settings %}
52
52
  {% assign default_theme = template_config.bootstrap.default_theme %}
53
53
  {% assign vendor_css = "vendor" %}
54
54
  {% assign theme_base = "core/css" %}
@@ -98,20 +98,19 @@ regenerate: true
98
98
  'use strict';
99
99
 
100
100
  j1.adapter['themer'] = (function (j1, window) {
101
-
102
101
  // ---------------------------------------------------------------------------
103
102
  // globals
104
103
  // ---------------------------------------------------------------------------
105
- var environment = '{{environment}}';
106
- var moduleOptions = {};
107
- var user_state = {};
108
- var cookie_names = j1.getCookieNames();
109
- var cookie_user_state_name = cookie_names.user_state;
110
- var user_state_detected = false;
111
- var id = 'default';
112
- var cssFile = '{{themer_options.defaultCssFile}}';
113
- var interval_count = 0;
114
- var max_count = 4;
104
+ var environment = '{{environment}}';
105
+ var moduleOptions = {};
106
+ var user_state = {};
107
+ var cookie_names = j1.getCookieNames();
108
+ var cookie_user_state_name = cookie_names.user_state;
109
+ var user_state_detected = false;
110
+ var id = 'default';
111
+ var cssFile = '{{themer_options.defaultCssFile}}';
112
+ var interval_count = 0;
113
+ var max_count = 4;
115
114
  var user_state_json;
116
115
  var user_state_cookie;
117
116
  var _this;
@@ -134,7 +133,6 @@ j1.adapter['themer'] = (function (j1, window) {
134
133
  // ---------------------------------------------------------------------------
135
134
  // helper functions
136
135
  // ---------------------------------------------------------------------------
137
-
138
136
  // See: https://stackoverflow.com/questions/16965515/how-to-get-a-style-attribute-from-a-css-class-by-javascript-jquery
139
137
  // Example: getStyleValueFromStyleSheet('bg-primary', 'background-color', 'vendor');
140
138
  function styleSheetLoaded(styleSheet) {
@@ -147,10 +145,9 @@ j1.adapter['themer'] = (function (j1, window) {
147
145
  return true;;
148
146
  }
149
147
  }
150
- return false;
151
148
  }
152
149
 
153
- {% comment %} Unused
150
+ {% comment %} Unused code
154
151
  ------------------------------------------------------------------------------
155
152
  // NOTE: Does not work anymore because of CORS check violation
156
153
  // See: https://stackoverflow.com/questions/16965515/how-to-get-a-style-attribute-from-a-css-class-by-javascript-jquery
@@ -176,27 +173,25 @@ j1.adapter['themer'] = (function (j1, window) {
176
173
  return style;
177
174
  }
178
175
  }
179
-
180
- return null;
181
176
  }
182
177
  ------------------------------------------------------------------------------ {% endcomment %}
183
178
 
184
-
185
179
  // ---------------------------------------------------------------------------
186
180
  // Main object
187
181
  // ---------------------------------------------------------------------------
188
182
  return {
189
-
190
183
  // -------------------------------------------------------------------------
191
184
  // initializer
192
185
  // -------------------------------------------------------------------------
193
186
  init: function () {
194
- // initialize state flag
195
- j1.adapter.themer.state = 'started';
196
-
187
+ // -----------------------------------------------------------------------
188
+ // globals
189
+ // -----------------------------------------------------------------------
197
190
  _this = j1.adapter.themer;
198
191
  logger = log4javascript.getLogger('j1.adapter.themer');
199
192
 
193
+ // initialize state flag
194
+ _this.state = 'started';
200
195
  logger.info('state: ' + _this.getState());
201
196
 
202
197
  // Detect|Set J1 UserState
@@ -216,7 +211,11 @@ j1.adapter['themer'] = (function (j1, window) {
216
211
  vendorCssHtml = '<link rel="stylesheet" type="text/css" id="default" href="{{asset_path}}/{{theme_base}}/{{vendor_css}}.{{theme_ext}}" />';
217
212
  $('head').append(vendorCssHtml);
218
213
  }
219
- $('head').append(themeCssHtml);
214
+
215
+ // Don't load Theme CSS twice! (loaded already as resource 'core')
216
+ if (themeName != default_theme_name) {
217
+ $('head').append(themeCssHtml);
218
+ }
220
219
 
221
220
  // Append|Remove theme extentions
222
221
  // TODO: Make default theme name 'Uno' configurable
@@ -230,50 +229,52 @@ j1.adapter['themer'] = (function (j1, window) {
230
229
  logger.info('themes detected as: enabled');
231
230
  logger.info('theme is being initialized: ' + themeName);
232
231
 
233
- /* eslint-disable */
234
- $.when (
235
- $('#ThemeList').bootstrapThemeSwitcher.defaults = {
236
- debug: {{ themer_options.debug | json }},
237
- saveToCookie: {{ themer_options.saveToCookie | json }},
238
- cssThemeLink: {{ themer_options.cssThemeLink | json }},
239
- cookieThemeName: {{ themer_options.cookieThemeName | json }},
240
- cookieDefaultThemeName: {{ themer_options.cookieDefaultThemeName | json }},
241
- cookieThemeCss: {{ themer_options.cookieThemeCss | json }},
242
- cookieThemeExtensionCss: {{ themer_options.cookieThemeExtensionCss | json }},
243
- cookieExpiration: {{ themer_options.cookieExpiration | json }},
244
- cookiePath: {{ themer_options.cookiePath | json }},
245
- defaultCssFile: {{ themer_options.defaultCssFile | json }},
246
- bootswatchApiUrl: {{ themer_options.bootswatchApiUrl | json }},
247
- bootswatchApiVersion: {{ themer_options.bootswatchApiVersion | json }},
248
- loadFromBootswatch: {{ themer_options.loadFromBootswatch | json }},
249
- localFeed: {{ themer_options.localFeed | json }},
250
- excludeBootswatch: {{ themer_options.excludeBootswatch | json }},
251
- includeBootswatch: {{ themer_options.includeBootswatch | json }},
252
- skipIncludeBootswatch: {{ themer_options.skipIncludeBootswatch | json }}
253
- })
254
- /* eslint-enable */
255
- .done (function(ThemeList) {
256
- if (themeName === 'Uno' || themeName === 'Bootstrap') {
257
- theme = environment === 'production'
258
- ? themeName.toLowerCase() + '.min.css'
259
- : themeName.toLowerCase() + '.css';
260
- } else {
261
- theme = 'bootstrap.css'; // fallback
232
+ var dependencies_met_navigator_started = setInterval (function () {
233
+ if (j1.adapter.navigator.getState() == 'started') {
234
+ /* eslint-disable */
235
+ // initialize Bootswatch Theme Switcher
236
+ $('#ThemeList').bootstrapThemeSwitcher.defaults = {
237
+ debug: {{themer_options.debug|json}},
238
+ saveToCookie: {{themer_options.saveToCookie|json}},
239
+ cssThemeLink: {{themer_options.cssThemeLink|json}},
240
+ cookieThemeName: {{themer_options.cookieThemeName|json}},
241
+ cookieDefaultThemeName: {{themer_options.cookieDefaultThemeName|json}},
242
+ cookieThemeCss: {{themer_options.cookieThemeCss|json}},
243
+ cookieThemeExtensionCss: {{themer_options.cookieThemeExtensionCss|json}},
244
+ cookieExpiration: {{themer_options.cookieExpiration|json}},
245
+ cookiePath: {{themer_options.cookiePath|json}},
246
+ defaultCssFile: {{themer_options.defaultCssFile|json}},
247
+ bootswatchApiUrl: {{themer_options.bootswatchApiUrl|json}},
248
+ bootswatchApiVersion: {{themer_options.bootswatchApiVersion|json}},
249
+ loadFromBootswatch: {{themer_options.loadFromBootswatch|json}},
250
+ localFeed: {{themer_options.localFeed|json}},
251
+ excludeBootswatch: {{themer_options.excludeBootswatch|json}},
252
+ includeBootswatch: {{themer_options.includeBootswatch|json}},
253
+ skipIncludeBootswatch: {{themer_options.skipIncludeBootswatch|json}}
254
+ }
255
+ /* eslint-enable */
256
+
257
+ if (themeName == 'Uno'|| themeName == 'Bootstrap') {
258
+ theme = environment === 'production'
259
+ ? themeName.toLowerCase() + '.min.css'
260
+ : themeName.toLowerCase() + '.css';
261
+ } else {
262
+ theme = 'bootstrap.css'; // fallback
263
+ }
264
+ logger.info('theme loaded: ' + themeName);
265
+ logger.info('theme file: ' + theme);
266
+
267
+ _this.setState('finished');
268
+ logger.info('state: ' + _this.getState());
269
+ logger.info('module initialized successfully');
270
+ clearInterval(dependencies_met_navigator_started);
262
271
  }
263
- logger.info('theme loaded: ' + themeName);
264
- logger.info('theme file: ' + theme);
265
- _this.setState('finished');
266
- logger.info('state: ' + _this.getState());
267
- logger.info('module initialized successfully');
268
-
269
- });
272
+ }, 25); // END 'dependencies_met_navigator_started'
270
273
  {% else %}
271
274
  _this.setState('finished');
272
275
  logger.info('state: ' + _this.getState());
273
276
  logger.info('module detected as: disabled');
274
- return true;
275
277
  {% endif %}
276
-
277
278
  }, // END init
278
279
 
279
280
  // -------------------------------------------------------------------------
@@ -282,8 +283,6 @@ j1.adapter['themer'] = (function (j1, window) {
282
283
  // -------------------------------------------------------------------------
283
284
  setCss: function () {
284
285
  var bg_primary = j1.getStyleValue('bg-primary', 'background-color');
285
-
286
- return true;
287
286
  }, // END setCss
288
287
 
289
288
  // -------------------------------------------------------------------------
@@ -300,41 +299,36 @@ j1.adapter['themer'] = (function (j1, window) {
300
299
  // Process commands|actions
301
300
  // -----------------------------------------------------------------------
302
301
  if (message.type === 'command' && message.action === 'module_initialized') {
303
- //
304
- // Place handling of command|action here
305
- //
306
302
  logger.info(message.text);
307
- }
308
303
  //
309
304
  // Place handling of other command|action here
310
305
  //
311
-
312
- return true;
306
+ }
313
307
  }, // END messageHandler
314
308
 
315
309
  // -------------------------------------------------------------------------
316
- // setState
317
- // Set the current (processing) state of the module
310
+ // setState()
311
+ // Sets the current (processing) state of the module
318
312
  // -------------------------------------------------------------------------
319
313
  setState: function (stat) {
320
- j1.adapter.themer.state = stat;
314
+ _this.state = stat;
321
315
  }, // END setState
322
316
 
323
317
  // -------------------------------------------------------------------------
324
- // getState
318
+ // getState()
325
319
  // Returns the current (processing) state of the module
326
320
  // -------------------------------------------------------------------------
327
321
  getState: function () {
328
- return j1.adapter.themer.state;
329
- } // END state
322
+ return _this.state;
323
+ } // END getState
330
324
 
331
325
  }; // END return
332
326
  })(j1, window);
333
327
 
334
328
  {% endcapture %}
335
329
  {% if production %}
336
- {{ cache | minifyJS }}
330
+ {{cache| minifyJS }}
337
331
  {% else %}
338
- {{ cache | strip_empty_lines }}
332
+ {{cache| strip_empty_lines }}
339
333
  {% endif %}
340
334
  {% assign cache = nil %}