j1-template 2024.3.21 → 2024.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/amplitude_app.html +60 -51
  3. data/assets/data/{galeries.html → gallery_app.html} +4 -4
  4. data/assets/theme/bla +0 -0
  5. data/assets/theme/j1/adapter/js/advertising.js +40 -38
  6. data/assets/theme/j1/adapter/js/algolia.js +13 -11
  7. data/assets/theme/j1/adapter/js/amplitude.js +628 -380
  8. data/assets/theme/j1/adapter/js/analytics.js +19 -17
  9. data/assets/theme/j1/adapter/js/asciidoctor.js +10 -8
  10. data/assets/theme/j1/adapter/js/attic.js +24 -22
  11. data/assets/theme/j1/adapter/js/bmd.js +10 -8
  12. data/assets/theme/j1/adapter/js/carousel.js +12 -9
  13. data/assets/theme/j1/adapter/js/chatbot.js +106 -104
  14. data/assets/theme/j1/adapter/js/clipboard.js +16 -14
  15. data/assets/theme/j1/adapter/js/comments.js +24 -22
  16. data/assets/theme/j1/adapter/js/cookieConsent.js +5 -1
  17. data/assets/theme/j1/adapter/js/customFunctions.js +12 -10
  18. data/assets/theme/j1/adapter/js/customModule.js +10 -8
  19. data/assets/theme/j1/adapter/js/docsearch.js +33 -31
  20. data/assets/theme/j1/adapter/js/dropdowns.js +16 -14
  21. data/assets/theme/j1/adapter/js/fab.js +34 -32
  22. data/assets/theme/j1/adapter/js/gallery.js +22 -20
  23. data/assets/theme/j1/adapter/js/gemini.js +66 -64
  24. data/assets/theme/j1/adapter/js/iconPicker.js +31 -29
  25. data/assets/theme/j1/adapter/js/iconPickerPage.js +11 -9
  26. data/assets/theme/j1/adapter/js/iframer.js +17 -15
  27. data/assets/theme/j1/adapter/js/j1.js +146 -143
  28. data/assets/theme/j1/adapter/js/lazyLoader.js +33 -31
  29. data/assets/theme/j1/adapter/js/lightbox.js +9 -7
  30. data/assets/theme/j1/adapter/js/logger.js +11 -9
  31. data/assets/theme/j1/adapter/js/lunr.js +37 -35
  32. data/assets/theme/j1/adapter/js/masonry.js +23 -21
  33. data/assets/theme/j1/adapter/js/masterslider.js +31 -29
  34. data/assets/theme/j1/adapter/js/mmenu.js +25 -23
  35. data/assets/theme/j1/adapter/js/navigator.js +43 -41
  36. data/assets/theme/j1/adapter/js/particles.js +12 -10
  37. data/assets/theme/j1/adapter/js/rangeSlider.js +21 -19
  38. data/assets/theme/j1/adapter/js/rouge.js +10 -8
  39. data/assets/theme/j1/adapter/js/rtable.js +14 -12
  40. data/assets/theme/j1/adapter/js/rtextResizer.js +10 -8
  41. data/assets/theme/j1/adapter/js/scroller.js +15 -13
  42. data/assets/theme/j1/adapter/js/slick.js +18 -16
  43. data/assets/theme/j1/adapter/js/slimSelect.js +30 -28
  44. data/assets/theme/j1/adapter/js/speak2me.js +25 -23
  45. data/assets/theme/j1/adapter/js/swiper.js +13 -11
  46. data/assets/theme/j1/adapter/js/themeToggler.js +11 -9
  47. data/assets/theme/j1/adapter/js/themes.js +60 -86
  48. data/assets/theme/j1/adapter/js/toccer.js +13 -11
  49. data/assets/theme/j1/adapter/js/translator.js +19 -16
  50. data/assets/theme/j1/adapter/js/videojs.js +9 -7
  51. data/assets/theme/j1/adapter/js/waves.js +18 -16
  52. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +19 -52
  53. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  54. data/assets/theme/j1/core/js/template.js +11180 -10968
  55. data/assets/theme/j1/core/js/template.min.js +13 -18
  56. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +10 -4
  57. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  58. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +15 -8
  59. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +2 -1
  60. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +35 -14
  61. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  62. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +817 -695
  63. data/assets/theme/j1/modules/backstretch/js/backstretch.js +2 -2
  64. data/assets/theme/j1/modules/backstretch/js/backstretch.min.js +1 -1
  65. data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.js +11 -11
  66. data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -1
  67. data/assets/theme/j1/modules/dropdowns/js/dropdowns.js +2 -2
  68. data/assets/theme/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
  69. data/assets/theme/j1/modules/fab/js/fab.js +2 -2
  70. data/assets/theme/j1/modules/fab/js/fab.min.js +1 -1
  71. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +984 -0
  72. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +26 -0
  73. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +1627 -0
  74. data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +25 -0
  75. data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.css +1 -1
  76. data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.min.css +1 -1
  77. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +54 -0
  78. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
  79. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
  80. data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
  81. data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
  82. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
  83. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
  84. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
  85. data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
  86. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +2782 -0
  87. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +26 -0
  88. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +44 -0
  89. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +37 -0
  90. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +890 -0
  91. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +8 -0
  92. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +585 -0
  93. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +275 -0
  94. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +26 -0
  95. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +230 -0
  96. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +26 -0
  97. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +160 -0
  98. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +26 -0
  99. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +223 -0
  100. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +27 -0
  101. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +157 -0
  102. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +26 -0
  103. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +164 -0
  104. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +26 -0
  105. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +299 -0
  106. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +26 -0
  107. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +244 -0
  108. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +27 -0
  109. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +509 -0
  110. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +26 -0
  111. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +909 -0
  112. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +26 -0
  113. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +207 -0
  114. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
  115. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +999 -0
  116. data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +26 -0
  117. data/assets/theme/j1/modules/lightGallery/css/lg-transitions.css +3 -126
  118. data/assets/theme/j1/modules/lightGallery/css/lg-transitions.min.css +3 -10
  119. data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.css +70 -237
  120. data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.min.css +4 -10
  121. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/animation-w.png +0 -0
  122. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/customize-w.png +0 -0
  123. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/dynamic-w.png +0 -0
  124. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/facebook-icon.svg +10 -0
  125. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/googleplus-icon.svg +30 -0
  126. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/html5-w.png +0 -0
  127. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/linked-in.png +0 -0
  128. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/module-w.png +0 -0
  129. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button-hover.svg +94 -0
  130. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.png +0 -0
  131. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.svg +93 -0
  132. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/responsive-w.png +0 -0
  133. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/thumb-w.png +0 -0
  134. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/touch-w.png +0 -0
  135. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter-icon.svg +15 -0
  136. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter.png +0 -0
  137. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/video1-w.png +0 -0
  138. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom-w.png +0 -0
  139. data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom.png +0 -0
  140. data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +276 -0
  141. data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +17 -0
  142. data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +163 -120
  143. data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +6 -6
  144. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +495 -0
  145. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +513 -0
  146. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +553 -0
  147. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +1 -1
  148. data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +914 -0
  149. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +4 -4
  150. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +5 -5
  151. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +5 -5
  152. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js +6 -6
  153. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +4 -4
  154. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +5 -5
  155. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +4 -4
  156. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.min.js +5 -6
  157. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +5 -5
  158. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +6 -6
  159. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +4 -4
  160. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.min.js +5 -5
  161. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +179 -0
  162. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.min.js +32 -0
  163. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +4 -4
  164. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +6 -6
  165. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +4 -4
  166. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.min.js +6 -7
  167. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +27 -20
  168. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +5 -5
  169. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +77 -125
  170. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +6 -6
  171. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +4 -4
  172. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +5 -5
  173. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +11 -5
  174. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +5 -5
  175. data/assets/theme/j1/modules/lunr/js/j1.js +1 -1
  176. data/assets/theme/j1/modules/lunr/js/j1.min.js +2 -1
  177. data/assets/theme/j1/modules/rtable/js/rtable.js +2 -2
  178. data/assets/theme/j1/modules/rtable/js/rtable.min.js +2 -1
  179. data/assets/theme/j1/modules/scroller/js/scroller.js +31 -29
  180. data/assets/theme/j1/modules/scroller/js/scroller.min.js +2 -1
  181. data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +38 -37
  182. data/assets/theme/j1/modules/themeSwitcher/js/switcher.min.js +2 -1
  183. data/assets/theme/j1/modules/translator/js/translator.js +17 -17
  184. data/assets/theme/j1/modules/translator/js/translator.min.js +1 -1
  185. data/assets/theme/j1/modules/videoPlayer/tiktoc/README.md +1 -0
  186. data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +151 -0
  187. data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +150 -0
  188. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +147 -0
  189. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +5 -0
  190. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +113 -0
  191. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +5 -0
  192. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +166 -0
  193. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +5 -0
  194. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +72 -0
  195. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +5 -0
  196. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +311 -0
  197. data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +19 -0
  198. data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +1686 -0
  199. data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +13 -0
  200. data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +65226 -0
  201. data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +55 -0
  202. data/assets/theme/j1/modules/videojs/assets/README.md +1 -0
  203. data/assets/theme/j1/modules/videojs/assets/icons/speedometer-medium.svg +35 -0
  204. data/assets/theme/j1/modules/videojs/css/font/VideoJS.ttf +0 -0
  205. data/assets/theme/j1/modules/videojs/css/font/VideoJS.woff +0 -0
  206. data/assets/theme/j1/modules/videojs/css/themes/uno.css +157 -22
  207. data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
  208. data/assets/theme/j1/modules/videojs/css/videojs.css +674 -316
  209. data/assets/theme/j1/modules/videojs/css/videojs.min.css +4 -3
  210. data/assets/theme/j1/modules/videojs/js/video.js +15893 -12288
  211. data/assets/theme/j1/modules/videojs/js/video.min.js +22 -23
  212. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +31 -0
  213. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/LICENSE +19 -0
  214. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/README.md +69 -0
  215. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.css +2 -0
  216. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.min.css +2 -0
  217. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.js +339 -0
  218. data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.min.js +2 -0
  219. data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.js +0 -5
  220. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +29 -0
  221. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/LICENSE +19 -0
  222. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/README.md +90 -0
  223. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.js +120 -0
  224. data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.min.js +2 -0
  225. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +37 -0
  226. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/LICENSE +19 -0
  227. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/README.md +61 -0
  228. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.js +94 -0
  229. data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.min.js +20 -0
  230. data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/skipbuttons/README.md +25 -11
  231. data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/zoom/css}/zoom.css +7 -6
  232. data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +22 -0
  233. data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.js +11 -9
  234. data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.min.js +19 -0
  235. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.0.js +521 -0
  236. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.1.js +605 -0
  237. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.3.js +643 -0
  238. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.4.js +583 -0
  239. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.5.js +665 -0
  240. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.6.js +642 -0
  241. data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.7.js +673 -0
  242. data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.js +1 -1
  243. data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.min.js +1 -1
  244. data/assets/theme/j1/modules/videojs/{js/plugins/players/vm → plugins/players/vm/js}/vimeo.js +13 -12
  245. data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +28 -0
  246. data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.0.js +395 -0
  247. data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.1.js +401 -0
  248. data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.js +13 -11
  249. data/assets/theme/j1/modules/videojs/plugins/players/wt/js/wistia.min.js +21 -0
  250. data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.js +10 -8
  251. data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +21 -0
  252. data/lib/j1/version.rb +1 -1
  253. data/lib/starter_web/README.md +5 -5
  254. data/lib/starter_web/_config.yml +1 -1
  255. data/lib/starter_web/_data/modules/amplitude_playlists.yml +140 -80
  256. data/lib/starter_web/_data/modules/defaults/amplitude.yml +5 -3
  257. data/lib/starter_web/_data/modules/defaults/gallery.yml +3 -3
  258. data/lib/starter_web/_data/modules/gallery.yml +83 -87
  259. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  260. data/lib/starter_web/_data/resources.yml +16 -12
  261. data/lib/starter_web/_data/templates/feed.xml +1 -1
  262. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +50 -22
  263. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +37 -16
  264. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  265. data/lib/starter_web/assets/audio/album/emancipator/Alligator.mp3 +0 -0
  266. data/lib/starter_web/assets/audio/album/emancipator/DabCity.mp3 +0 -0
  267. data/lib/starter_web/assets/audio/album/emancipator/SeaToSky.mp3 +0 -0
  268. data/lib/starter_web/assets/audio/album/emancipator/TimeForSpace.mp3 +0 -0
  269. data/lib/starter_web/assets/audio/cover/emancipator/alligator.jpg +0 -0
  270. data/lib/starter_web/assets/audio/cover/emancipator/anthem.jpg +0 -0
  271. data/lib/starter_web/assets/audio/cover/emancipator/dab-city.jpg +0 -0
  272. data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn.jpg +0 -0
  273. data/lib/starter_web/assets/audio/cover/emancipator/safe-in-the-steep-cliffs.jpg +0 -0
  274. data/lib/starter_web/assets/audio/cover/emancipator/sea-to-sky.jpg +0 -0
  275. data/lib/starter_web/assets/audio/cover/emancipator/soon-it-will-be-cold-enough.jpg +0 -0
  276. data/lib/starter_web/assets/audio/cover/emancipator/tine-for-space.jpg +0 -0
  277. data/lib/starter_web/assets/video/poster/vimeo/fall_2011.jpg +0 -0
  278. data/lib/starter_web/package.json +1 -1
  279. data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +282 -0
  280. data/lib/starter_web/pages/public/tour/audio_data.adoc +11 -6
  281. data/lib/starter_web/pages/public/tour/video_data.adoc +1 -0
  282. metadata +238 -115
  283. data/assets/data/swiper_app.2.html +0 -757
  284. data/assets/data/swiper_app.4.html +0 -769
  285. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +0 -32
  286. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +0 -31
  287. data/assets/theme/j1/modules/videojs/css/plugins/controls/zoom.min.css +0 -21
  288. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +0 -19
  289. data/assets/theme/j1/modules/videojs/js/plugins/players/vm/vimeo.min.js +0 -16
  290. data/assets/theme/j1/modules/videojs/js/plugins/players/wt/api/src/WistiaPlayer.ts +0 -1617
  291. data/assets/theme/j1/modules/videojs/js/plugins/players/wt/wistia.min.js +0 -21
  292. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +0 -21
  293. data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/anthem.jpg +0 -0
  294. data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/from-dusk-to-dawn.jpg +0 -0
  295. data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/safe-in-the-steep-cliffs.jpg +0 -0
  296. data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/soon-it-will-be-cold-enough.jpg +0 -0
  297. data/lib/starter_web/assets/video/poster/vimeo/stay_colorful.jpg +0 -0
  298. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/animation-w.png +0 -0
  299. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/customize-w.png +0 -0
  300. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/dynamic-w.png +0 -0
  301. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/facebook-icon.svg +0 -0
  302. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/googleplus-icon.svg +0 -0
  303. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/html5-w.png +0 -0
  304. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/linked-in.png +0 -0
  305. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/module-w.png +0 -0
  306. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button-hover.svg +0 -0
  307. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.png +0 -0
  308. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.svg +0 -0
  309. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/responsive-w.png +0 -0
  310. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/thumb-w.png +0 -0
  311. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/touch-w.png +0 -0
  312. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter-icon.svg +0 -0
  313. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter.png +0 -0
  314. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/video1-w.png +0 -0
  315. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom-w.png +0 -0
  316. /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom.png +0 -0
  317. /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.js +0 -0
  318. /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.min.js +0 -0
  319. /data/assets/theme/j1/modules/videoPlayer/dailymotion/js/{!readme → README.md} +0 -0
  320. /data/assets/theme/j1/modules/videoPlayer/tiktoc/{js/player.min.js → player.min.js} +0 -0
  321. /data/assets/theme/j1/modules/videoPlayer/vimeo/js/{!readme → README.md} +0 -0
  322. /data/assets/theme/j1/modules/videoPlayer/wistia/js/{!readme → README.md} +0 -0
  323. /data/assets/theme/j1/modules/videojs/{css → !v8.12.0/css}/font/video-js-cdn.css +0 -0
  324. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/LICENSE +0 -0
  325. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/README.md +0 -0
  326. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.min.js +0 -0
  327. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys/examples → plugins/controls/hotkeys/!examples}/example.html +0 -0
  328. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/LICENSE.md +0 -0
  329. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/README.md +0 -0
  330. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.js +0 -0
  331. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.min.js +0 -0
  332. /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.css +0 -0
  333. /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.min.css +0 -0
  334. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.js +0 -0
  335. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.min.js +0 -0
  336. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.html +0 -0
  337. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.js +0 -0
  338. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/styles.css +0 -0
  339. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/LICENSE.md +0 -0
  340. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/README.md +0 -0
  341. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.js +0 -0
  342. /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.min.js +0 -0
  343. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-controls.html +0 -0
  344. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-javascript.html +0 -0
  345. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-playlist.html +0 -0
  346. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/global-parameters.html +0 -0
  347. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/simple.html +0 -0
  348. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/switch.html +0 -0
  349. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/LICENSE +0 -0
  350. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/doc → plugins/players/dm}/README.md +0 -0
  351. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/api/LICENSE +0 -0
  352. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api/doc → plugins/players/dm/api}/README.md +0 -0
  353. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.js +0 -0
  354. /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.min.js +0 -0
  355. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/icon/scalable/dailymotion.svg +0 -0
  356. /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/index.html +0 -0
  357. /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/player/index.html +0 -0
  358. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/LICENSE +0 -0
  359. /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/doc → plugins/players/vm}/README.md +0 -0
  360. /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api/doc → plugins/players/vm/api}/README.md +0 -0
  361. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.css +0 -0
  362. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.uno.css +0 -0
  363. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/player.css +0 -0
  364. /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/doc → plugins/players/wt}/README.md +0 -0
  365. /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api/doc/Readme.txt → plugins/players/wt/api/README.md} +0 -0
  366. /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api → plugins/players/wt/api/js}/wistia.min.js +0 -0
  367. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/global-parameters.html +0 -0
  368. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/simple.html +0 -0
  369. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/switch.html +0 -0
  370. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-controls.html +0 -0
  371. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-javascript.html +0 -0
  372. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-list.html +0 -0
  373. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-playlist.html +0 -0
  374. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.js +0 -0
  375. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.min.js +0 -0
  376. /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/yt/LICENSE +0 -0
  377. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/doc → plugins/players/yt}/README.md +0 -0
  378. /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/api → plugins/players/yt/api/js}/youtube.min.js +0 -0
  379. /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn → !info}/!sound.links.txt +0 -0
  380. /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/Anthem.mp3 → Anthem.mp3} +0 -0
  381. /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/DuskToDawn.mp3 → DuskToDawn.mp3} +0 -0
  382. /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/FirstSnow.mp3 → FirstSnow.mp3} +0 -0
  383. /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/SafeInTheSteepCliffs.mp3 → SafeInTheSteepCliffs.mp3} +0 -0
@@ -107,6 +107,8 @@ regenerate: true
107
107
  "use strict";
108
108
  j1.adapter.themes = (function (j1, window) {
109
109
 
110
+ const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
111
+
110
112
  {% comment %} Set global variables
111
113
  ------------------------------------------------------------------------------ {% endcomment %}
112
114
  var environment = '{{environment}}';
@@ -256,52 +258,14 @@ j1.adapter.themes = (function (j1, window) {
256
258
  user_consent = j1.readCookie(cookie_names.user_consent);
257
259
 
258
260
  _this.setState('started');
259
- logger.debug('\n' + 'state: ' + _this.getState());
260
- logger.info('\n' + 'module is being initialized');
261
+ logger.debug('state: ' + _this.getState());
262
+ logger.info('module is being initialized');
261
263
 
262
264
  // hide page until 'theme' is loaded
263
- logger.info('\n' + 'hide page until theme is loaded');
265
+ logger.info('hide page until theme is loaded');
264
266
  $('#no_flicker').hide();
265
267
 
266
- logger.info('\n' + 'cookie ' + cookie_names.user_state + ' successfully loaded after: ' + interval_count * 25 + ' ms');
267
-
268
- // load previously selected theme from cookie (preferred)
269
- // if (user_state.theme_css !== '') {
270
- // user_state.theme_name = default_theme_name;
271
- // user_state.theme_css = default_theme_css;
272
- // user_state.theme_author = default_theme_author;
273
- // user_state.theme_author_url = default_theme_author_url;
274
-
275
- // cookie_written = j1.writeCookie({
276
- // name: cookie_names.user_state,
277
- // data: user_state,
278
- // secure: secure,
279
- // expires: 365
280
- // });
281
-
282
- // if (!cookie_written) {
283
- // logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
284
- // }
285
- // } // END load previously selected theme
286
-
287
- // load default theme (j1_config and NO theme given with (user_state) cookie
288
- // if (user_state.theme_css === '' && default_theme_css.theme_css !== '') {
289
- // user_state.theme_name = default_theme_name;
290
- // user_state.theme_css = default_theme_css;
291
- // user_state.theme_author = default_theme_author;
292
- // user_state.theme_author_url = default_theme_author_url;
293
-
294
- // cookie_written = j1.writeCookie({
295
- // name: cookie_names.user_state,
296
- // data: user_state,
297
- // secure: secure,
298
- // expires: 365
299
- // });
300
-
301
- // if (!cookie_written) {
302
- // logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
303
- // }
304
- // } // END load default theme
268
+ logger.info('cookie ' + cookie_names.user_state + ' successfully loaded after: ' + interval_count * 25 + ' ms');
305
269
 
306
270
  // load default theme if NO theme given with (user_state) cookie
307
271
  if (user_state.theme_css === '') {
@@ -318,43 +282,53 @@ j1.adapter.themes = (function (j1, window) {
318
282
  });
319
283
 
320
284
  if (!cookie_written) {
321
- logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
285
+ logger.error('failed to write cookie: ' + cookie_names.user_consent);
322
286
  }
323
- } // END oad default theme
287
+ } // END load default theme
324
288
 
325
289
  // set the theme switcher state
326
290
  user_state.theme_switcher = themesOptions.enabled;
327
291
  if (themesOptions.enabled) {
328
- // enable BS ThemeSwitcher
329
- logger.info('\n' + 'themes detected as: ' + themesOptions.enabled);
330
- logger.info('\n' + 'remote themes are being initialized');
331
-
332
- /* eslint-disable */
333
- // load list of remote themes
334
- $('#remote_themes').ThemeSwitcher.defaults = {
335
- debug: themesOptions.debug,
336
- saveToCookie: themesOptions.saveToCookie,
337
- cssThemeLink: themesOptions.cssThemeLink,
338
- cookieThemeName: themesOptions.cookieThemeName,
339
- cookieDefaultThemeName: themesOptions.cookieDefaultThemeName,
340
- cookieThemeCss: themesOptions.cookieThemeCss,
341
- cookieThemeExtensionCss: themesOptions.cookieThemeExtensionCss,
342
- cookieExpiration: themesOptions.cookieExpiration,
343
- cookiePath: themesOptions.cookiePath,
344
- defaultCssFile: themesOptions.defaultCssFile,
345
- bootswatchApiUrl: themesOptions.bootswatchApiUrl,
346
- bootswatchApiVersion: themesOptions.bootswatchApiVersion,
347
- loadFromBootswatch: themesOptions.loadFromBootswatch,
348
- localFeed: themesOptions.localThemes,
349
- excludeBootswatch: themesOptions.excludeBootswatch,
350
- includeBootswatch: themesOptions.includeBootswatch,
351
- skipIncludeBootswatch: themesOptions.skipIncludeBootswatch
352
- };
353
- /* eslint-enable */
354
- } else {
355
- logger.debug('\n' + 'themes detected as: disabled');
356
- logger.debug('\n' + 'no remote themes are available');
357
- } // END if themesOptions enabled
292
+ // enable BS ThemeSwitcher
293
+ logger.info('themes detected as: ' + themesOptions.enabled);
294
+ logger.info('remote themes are being initialized');
295
+
296
+ // validate if theme api json can be loaded
297
+ var bootswatchApiJson = `${themesOptions.bootswatchApiUrl}/${themesOptions.bootswatchApiVersion}.json`;
298
+ urlExists(bootswatchApiJson, function(success) {
299
+ // load theme
300
+ if (success) {
301
+ logger.debug('LOAD remote themes from: ' + bootswatchApiJson);
302
+ // continue processing if ap json is available
303
+ /* eslint-disable */
304
+ // load list of remote themes (api json file)
305
+ $('#remote_themes').ThemeSwitcher.defaults = {
306
+ debug: themesOptions.debug,
307
+ saveToCookie: themesOptions.saveToCookie,
308
+ cssThemeLink: themesOptions.cssThemeLink,
309
+ cookieThemeName: themesOptions.cookieThemeName,
310
+ cookieDefaultThemeName: themesOptions.cookieDefaultThemeName,
311
+ cookieThemeCss: themesOptions.cookieThemeCss,
312
+ cookieThemeExtensionCss: themesOptions.cookieThemeExtensionCss,
313
+ cookieExpiration: themesOptions.cookieExpiration,
314
+ cookiePath: themesOptions.cookiePath,
315
+ defaultCssFile: themesOptions.defaultCssFile,
316
+ bootswatchApiUrl: themesOptions.bootswatchApiUrl,
317
+ bootswatchApiVersion: themesOptions.bootswatchApiVersion,
318
+ loadFromBootswatch: themesOptions.loadFromBootswatch,
319
+ localFeed: themesOptions.localThemes,
320
+ excludeBootswatch: themesOptions.excludeBootswatch,
321
+ includeBootswatch: themesOptions.includeBootswatch,
322
+ skipIncludeBootswatch: themesOptions.skipIncludeBootswatch
323
+ };
324
+ /* eslint-enable */
325
+ } else {
326
+ // failed to load oad list of remote themes (api json file)
327
+ // TODO: create fallback strategy
328
+ logger.error('failed to LOAD remote themes from: ' + bootswatchApiJson);
329
+ } // END if success
330
+ }); // END urlExists
331
+ } // END if themesOptions.enabled
358
332
 
359
333
  // validate theme to be loaded
360
334
  urlExists(user_state.theme_css, function(success) {
@@ -370,12 +344,12 @@ j1.adapter.themes = (function (j1, window) {
370
344
  }, 10); // END dependencies_met_theme_loaded
371
345
  } else {
372
346
  // invalid theme, fallback on default
373
- logger.warn('\n' + 'themes CSS invalid: ' + user_state.theme_css);
347
+ logger.warn('themes CSS invalid: ' + user_state.theme_css);
374
348
 
375
349
  theme_css_html = '<link rel="stylesheet" id="' + id + '" href="' + default_theme_css + '" type="text/css">';
376
350
 
377
- logger.debug('\n' + 'set default theme :' + default_theme_name);
378
- logger.debug('\n' + 'theme CSS loaded: ' + default_theme_css);
351
+ logger.debug('set default theme :' + default_theme_name);
352
+ logger.debug('theme CSS loaded: ' + default_theme_css);
379
353
 
380
354
 
381
355
  $('head').append(theme_css_html);
@@ -394,7 +368,7 @@ j1.adapter.themes = (function (j1, window) {
394
368
  });
395
369
 
396
370
  if (!cookie_written) {
397
- logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
371
+ logger.error('failed to write cookie: ' + cookie_names.user_consent);
398
372
  }
399
373
 
400
374
  // reload page using the default thme
@@ -413,17 +387,17 @@ j1.adapter.themes = (function (j1, window) {
413
387
 
414
388
  if (styleLoaded) {
415
389
  // show page (theme is loaded)
416
- logger.info('\n' + 'theme loaded successfully: ' + user_state.theme_name);
417
- logger.debug('\n' + 'theme CSS loaded: ' + user_state.theme_css);
418
- logger.info('\n' + 'show page on theme loaded');
390
+ logger.info('theme loaded successfully: ' + user_state.theme_name);
391
+ logger.debug('theme CSS loaded: ' + user_state.theme_css);
392
+ logger.info('show page on theme loaded');
419
393
  $('#no_flicker').show();
420
394
 
421
395
  _this.setState('finished');
422
- logger.debug('\n' + 'state: ' + _this.getState());
423
- logger.info('\n' + 'initializing module finished');
396
+ logger.debug('state: ' + _this.getState());
397
+ logger.info('initializing module finished');
424
398
 
425
399
  endTimeModule = Date.now();
426
- logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
400
+ logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
427
401
 
428
402
  clearInterval(dependencies_met_theme_applied);
429
403
  } // ENF if styleLoaded
@@ -438,7 +412,7 @@ j1.adapter.themes = (function (j1, window) {
438
412
  messageHandler: (sender, message) => {
439
413
  var json_message = JSON.stringify(message, undefined, 2);
440
414
 
441
- logText = '\n' + 'received message from ' + sender + ': ' + json_message;
415
+ logText = 'received message from ' + sender + ': ' + json_message;
442
416
  logger.debug(logText);
443
417
 
444
418
  // -----------------------------------------------------------------------
@@ -450,7 +424,7 @@ j1.adapter.themes = (function (j1, window) {
450
424
  // place handling of command|action here
451
425
  //
452
426
 
453
- logger.info('\n' + message.text);
427
+ logger.info(message.text);
454
428
  }
455
429
 
456
430
  //
@@ -98,6 +98,8 @@ regenerate: true
98
98
  "use strict";
99
99
  j1.adapter.toccer = (() => {
100
100
 
101
+ const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
102
+
101
103
  {% comment %} Set global variables
102
104
  ------------------------------------------------------------------------------ {% endcomment %}
103
105
  var environment = '{{environment}}';
@@ -165,8 +167,8 @@ j1.adapter.toccer = (() => {
165
167
 
166
168
  // initialize state flag
167
169
  // _this.setState('started');
168
- // logger.debug('\n' + 'state: ' + _this.getState());
169
- // logger.info('\n' + 'module is being initialized');
170
+ // logger.debug('state: ' + _this.getState());
171
+ // logger.info('module is being initialized');
170
172
 
171
173
  // -----------------------------------------------------------------------
172
174
  // module initializer
@@ -181,8 +183,8 @@ j1.adapter.toccer = (() => {
181
183
  startTimeModule = Date.now();
182
184
 
183
185
  _this.setState('started');
184
- logger.debug('\n' + 'state: ' + _this.getState());
185
- logger.info('\n' + 'module is being initialized');
186
+ logger.debug('state: ' + _this.getState());
187
+ logger.info('module is being initialized');
186
188
 
187
189
  _this.initToccerCore(toccerOptions);
188
190
 
@@ -190,11 +192,11 @@ j1.adapter.toccer = (() => {
190
192
  _this['moduleOptions'] = toccerOptions;
191
193
 
192
194
  _this.setState('finished');
193
- logger.debug('\n' + 'state: ' + _this.getState());
194
- logger.info('\n' + 'initializing module finished');
195
+ logger.debug('state: ' + _this.getState());
196
+ logger.info('initializing module finished');
195
197
 
196
198
  endTimeModule = Date.now();
197
- logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
199
+ logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
198
200
 
199
201
  clearInterval(dependencies_met_toccer);
200
202
  } // END
@@ -209,7 +211,7 @@ j1.adapter.toccer = (() => {
209
211
  var scrollOffset = j1.getScrollOffset(scrollOffsetCorrection) + scrollOffsetCorrection;
210
212
 
211
213
  _this.setState('running');
212
- logger.debug('\n' + 'state: ' + _this.getState());
214
+ logger.debug('state: ' + _this.getState());
213
215
 
214
216
  // tocbot get fired if HTML portion is loaded (AJAX load finished)
215
217
  var dependencies_met_ajax_load_finished = setInterval (() => {
@@ -260,7 +262,7 @@ j1.adapter.toccer = (() => {
260
262
  });
261
263
  /* eslint-enable */
262
264
 
263
- logger.debug('\n' + 'met dependencies for: loadHTML');
265
+ logger.debug('met dependencies for: loadHTML');
264
266
  clearInterval(dependencies_met_ajax_load_finished);
265
267
  } // END AJAX load finished
266
268
  }, 10); // END dependencies_met_ajax_load_finished
@@ -274,7 +276,7 @@ j1.adapter.toccer = (() => {
274
276
  messageHandler: (sender, message) => {
275
277
  var json_message = JSON.stringify(message, undefined, 2);
276
278
 
277
- logText = '\n' + 'received message from ' + sender + ': ' + json_message;
279
+ logText = 'received message from ' + sender + ': ' + json_message;
278
280
  logger.debug(logText);
279
281
 
280
282
  // -----------------------------------------------------------------------
@@ -286,7 +288,7 @@ j1.adapter.toccer = (() => {
286
288
  // place handling of command|action here
287
289
  //
288
290
 
289
- logger.info('\n' + message.text);
291
+ logger.info(message.text);
290
292
  }
291
293
 
292
294
  //
@@ -87,6 +87,9 @@ regenerate: true
87
87
  "use strict";
88
88
 
89
89
  j1.adapter.translator = (function (j1, window) {
90
+
91
+ const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
92
+
90
93
  var environment = '{{environment}}';
91
94
  var state = 'not_started';
92
95
  var user_translate = {};
@@ -221,15 +224,15 @@ j1.adapter.translator = (function (j1, window) {
221
224
  }
222
225
 
223
226
  _this.setState('started');
224
- logger.debug('\n' + 'state: ' + _this.getState ());
225
- logger.info('\n' + 'module is being initialized');
227
+ logger.debug('state: ' + _this.getState ());
228
+ logger.info('module is being initialized');
226
229
 
227
230
  // load|initialize user translate cookie
228
231
  //
229
232
  if (j1.existsCookie(cookie_names.user_translate)) {
230
233
  user_translate = j1.readCookie(cookie_names.user_translate);
231
234
  } else {
232
- logger.debug ('\n' + 'write to cookie : ' + cookie_names.user_translate);
235
+ logger.debug ('write to cookie : ' + cookie_names.user_translate);
233
236
  cookie_written = j1.writeCookie({
234
237
  name: cookie_names.user_translate,
235
238
  data: user_translate,
@@ -252,7 +255,7 @@ j1.adapter.translator = (function (j1, window) {
252
255
  // disable google translate button if visible
253
256
  //
254
257
  if ($('#quickLinksTranslateButton').css('display') === 'block') {
255
- logger.info('\n' + 'disable quickLinksTranslateButton');
258
+ logger.info('disable quickLinksTranslateButton');
256
259
  $('#quickLinksTranslateButton').css('display', 'none');
257
260
  }
258
261
  }
@@ -260,7 +263,7 @@ j1.adapter.translator = (function (j1, window) {
260
263
  // enable google translate button if NOT visible
261
264
  //
262
265
  if ($('#quickLinksTranslateButton').css('display') === 'none') {
263
- logger.info('\n' + 'enable quickLinksTranslateButton');
266
+ logger.info('enable quickLinksTranslateButton');
264
267
  $('#quickLinksTranslateButton').css('display', 'block');
265
268
  }
266
269
  }
@@ -282,7 +285,7 @@ j1.adapter.translator = (function (j1, window) {
282
285
  //
283
286
  j1.expireCookie({ name: cookie_names.user_translate });
284
287
  } else {
285
- logger.debug('\n' + 'write to cookie : ' + cookie_names.user_translate);
288
+ logger.debug('write to cookie : ' + cookie_names.user_translate);
286
289
  cookie_written = j1.writeCookie({
287
290
  name: cookie_names.user_translate,
288
291
  data: user_translate,
@@ -330,7 +333,7 @@ j1.adapter.translator = (function (j1, window) {
330
333
  // enable|disable translation (after callback)
331
334
  if (user_translate.analysis && user_translate.personalization && user_translate.translationEnabled) {
332
335
  if (translatorOptions.translatorName === 'google') {
333
- logger.info('\n' + 'append Google Translate Script: ' + gtTranslateScript.id);
336
+ logger.info('append Google Translate Script: ' + gtTranslateScript.id);
334
337
  head.appendChild(gtTranslateScript);
335
338
  if ($('google_translate_element')) {
336
339
  $('google_translate_element').hide();
@@ -338,8 +341,8 @@ j1.adapter.translator = (function (j1, window) {
338
341
  }
339
342
  } else {
340
343
  if (translatorOptions.translatorName === 'google') {
341
- logger.info('\n' + 'translation disabled');
342
- logger.info('\n' + 'remove existing Google Translate cookies');
344
+ logger.info('translation disabled');
345
+ logger.info('remove existing Google Translate cookies');
343
346
 
344
347
  // remove all googtrans cookies that POTENTIALLY exists
345
348
  //
@@ -355,8 +358,8 @@ j1.adapter.translator = (function (j1, window) {
355
358
  // -------------------------------------------------------------------
356
359
 
357
360
  _this.setState('finished');
358
- logger.debug('\n' + 'state: ' + _this.getState());
359
- logger.info('\n' + 'module initialized successfully');
361
+ logger.debug('state: ' + _this.getState());
362
+ logger.info('module initialized successfully');
360
363
 
361
364
  clearInterval(dependencies_met_page_ready);
362
365
  }
@@ -370,8 +373,8 @@ j1.adapter.translator = (function (j1, window) {
370
373
  // -------------------------------------------------------------------------
371
374
  postTranslateElementInit: function (response) {
372
375
  // code for post processing
373
- logger.info('\n' + 'postTranslateElementInit entered');
374
- logger.info('\n' + response.T.Dh);
376
+ logger.info('postTranslateElementInit entered');
377
+ logger.info(response.T.Dh);
375
378
 
376
379
  return;
377
380
  }, // END postTranslateElementInit
@@ -411,7 +414,7 @@ j1.adapter.translator = (function (j1, window) {
411
414
  }
412
415
 
413
416
  selectedTranslationLanguage = msDropdown.value;
414
- logger.info('\n' + 'selected translation language: ' + selectedTranslationLanguage);
417
+ logger.info('selected translation language: ' + selectedTranslationLanguage);
415
418
 
416
419
  // set content language
417
420
  //
@@ -485,7 +488,7 @@ j1.adapter.translator = (function (j1, window) {
485
488
  messageHandler: function (sender, message) {
486
489
  var json_message = JSON.stringify(message, undefined, 2);
487
490
 
488
- logText = '\n' + 'received message from ' + sender + ': ' + json_message;
491
+ logText = 'received message from ' + sender + ': ' + json_message;
489
492
  logger.debug(logText);
490
493
 
491
494
  // -----------------------------------------------------------------------
@@ -497,7 +500,7 @@ j1.adapter.translator = (function (j1, window) {
497
500
  // Place handling of command|action here
498
501
  //
499
502
 
500
- logger.info('\n' + message.text);
503
+ logger.info(message.text);
501
504
  }
502
505
 
503
506
  //
@@ -73,6 +73,8 @@ regenerate: true
73
73
  "use strict";
74
74
  j1.adapter.videojs = ((j1, window) => {
75
75
 
76
+ const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
77
+
76
78
  {% comment %} Set global variables
77
79
  ------------------------------------------------------------------------------ {% endcomment %}
78
80
  var vjsDefaults;
@@ -132,19 +134,19 @@ j1.adapter.videojs = ((j1, window) => {
132
134
  startTimeModule = Date.now();
133
135
 
134
136
  _this.setState('started');
135
- logger.debug('\n' + 'state: ' + _this.getState());
136
- logger.info('\n' + 'module is being initialized');
137
+ logger.debug('state: ' + _this.getState());
138
+ logger.info('module is being initialized');
137
139
 
138
140
  // save vjsOptions for later access
139
141
  j1.modules.videojs = {};
140
142
  j1.modules.videojs.options = vjsOptions || {};
141
143
 
142
144
  _this.setState('finished');
143
- logger.debug('\n' + 'state: ' + _this.getState());
144
- logger.info('\n' + 'initializing module finished');
145
+ logger.debug('state: ' + _this.getState());
146
+ logger.info('initializing module finished');
145
147
 
146
148
  endTimeModule = Date.now();
147
- logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
149
+ logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
148
150
 
149
151
  clearInterval(dependencies_met_page_ready);
150
152
  } // END pageVisible
@@ -159,7 +161,7 @@ j1.adapter.videojs = ((j1, window) => {
159
161
  messageHandler: (sender, message) => {
160
162
  var json_message = JSON.stringify(message, undefined, 2);
161
163
 
162
- logText = '\n' + 'received message from ' + sender + ': ' + json_message;
164
+ logText = 'received message from ' + sender + ': ' + json_message;
163
165
  logger.debug(logText);
164
166
 
165
167
  // -----------------------------------------------------------------------
@@ -171,7 +173,7 @@ j1.adapter.videojs = ((j1, window) => {
171
173
  // place handling of command|action here
172
174
  //
173
175
 
174
- logger.info('\n' + message.text);
176
+ logger.info(message.text);
175
177
  }
176
178
 
177
179
  //
@@ -86,6 +86,8 @@ regenerate: true
86
86
  "use strict";
87
87
  j1.adapter.waves = ((j1, window) => {
88
88
 
89
+ const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
90
+
89
91
  {% comment %} Set global variables
90
92
  ------------------------------------------------------------------------------ {% endcomment %}
91
93
  var environment = '{{environment}}';
@@ -166,40 +168,40 @@ j1.adapter.waves = ((j1, window) => {
166
168
  theme_enabled = waveOptions.themes.indexOf(theme) > -1 ? true : false;
167
169
 
168
170
  _this.setState('started');
169
- logger.debug('\n' + 'state: ' + _this.getState());
170
- logger.info('\n' + 'module is being initialized');
171
+ logger.debug('state: ' + _this.getState());
172
+ logger.info('module is being initialized');
171
173
 
172
- logger.debug('\n' + 'themes allowd: ' + themes_allowed);
173
- logger.debug('\n' + 'theme detected: ' + theme);
174
+ logger.debug('themes allowd: ' + themes_allowed);
175
+ logger.debug('theme detected: ' + theme);
174
176
 
175
177
  // TODO: Check why a timeout is required to enable|disable the wave elements
176
178
  if (themes_allowed === 'all') {
177
- logger.info('\n' + 'activate waves for theme: ' + 'all' );
179
+ logger.info('activate waves for theme: ' + 'all' );
178
180
  setTimeout(() => {
179
181
  $('.wave').show();
180
- logger.info('\n' + 'initializing module finished');
182
+ logger.info('initializing module finished');
181
183
  }, {{template_config.page_on_load_timeout}} );
182
184
  } else if (theme_enabled) {
183
- logger.info('\n' + 'activate waves for theme: ' + theme );
185
+ logger.info('activate waves for theme: ' + theme );
184
186
  setTimeout(() => {
185
187
  $('.wave').show();
186
- logger.info('\n' + 'initializing module finished');
188
+ logger.info('initializing module finished');
187
189
  }, {{template_config.page_on_load_timeout}} );
188
190
  } else {
189
- logger.warn('\n' + 'no valid theme/s found');
190
- logger.warn('\n' + 'deactivate (hide) waves');
191
+ logger.warn('no valid theme/s found');
192
+ logger.warn('deactivate (hide) waves');
191
193
  setTimeout(() => {
192
194
  $('.wave').hide();
193
- logger.info('\n' + 'initializing module finished');
195
+ logger.info('initializing module finished');
194
196
  }, {{template_config.page_on_load_timeout}} );
195
197
  }
196
198
 
197
199
  _this.setState('finished');
198
- logger.debug('\n' + 'state: ' + _this.getState());
199
- logger.info('\n' + 'initializing module finished');
200
+ logger.debug('state: ' + _this.getState());
201
+ logger.info('initializing module finished');
200
202
 
201
203
  endTimeModule = Date.now();
202
- logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
204
+ logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
203
205
 
204
206
  clearInterval(dependencies_met_page_ready);
205
207
  } // END pageVisible
@@ -213,7 +215,7 @@ j1.adapter.waves = ((j1, window) => {
213
215
  messageHandler: (sender, message) => {
214
216
  var json_message = JSON.stringify(message, undefined, 2);
215
217
 
216
- logText = '\n' + 'received message from ' + sender + ': ' + json_message;
218
+ logText = 'received message from ' + sender + ': ' + json_message;
217
219
  logger.debug(logText);
218
220
 
219
221
  // -----------------------------------------------------------------------
@@ -225,7 +227,7 @@ j1.adapter.waves = ((j1, window) => {
225
227
  // place handling of command|action here
226
228
  //
227
229
 
228
- logger.info('\n' + message.text);
230
+ logger.info(message.text);
229
231
  }
230
232
 
231
233
  //