j1-template 2020.0.10 → 2020.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +64 -0
  3. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +2 -2
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  6. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
  7. data/_includes/themes/j1/layouts/content_generator_collection.html +3 -2
  8. data/_includes/themes/j1/layouts/content_generator_page.html +26 -25
  9. data/_includes/themes/j1/layouts/content_generator_post.html +12 -12
  10. data/_includes/themes/j1/layouts/layout_metadata_generator.html +134 -4
  11. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
  12. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
  13. data/_includes/themes/j1/modules/connectors/ads +3 -6
  14. data/_includes/themes/j1/modules/navigator/generator.html +0 -1
  15. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +5 -5
  16. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
  17. data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
  18. data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
  19. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -14
  20. data/_layouts/default.html +76 -65
  21. data/apps/public/cc/index.adoc +2 -6
  22. data/assets/data/authclient.html +22 -12
  23. data/assets/data/banner.html +23 -23
  24. data/assets/data/carousel.json +30 -21
  25. data/assets/data/cookiebar.html +277 -0
  26. data/assets/data/footer.html +14 -7
  27. data/assets/data/galleries.json +90 -81
  28. data/assets/data/gallery_customizer.html +20 -11
  29. data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
  30. data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
  31. data/assets/data/jupyter/notebooks/html/template.html +7 -7
  32. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
  33. data/assets/data/mdi_icons.json +55 -1
  34. data/assets/data/menu.html +16 -9
  35. data/assets/data/mmenu.html +48 -95
  36. data/assets/data/mmenu_sidebar.html +40 -44
  37. data/assets/data/mmenu_toc.html +20 -4
  38. data/assets/data/panel.html +41 -33
  39. data/assets/data/quicklinks.html +29 -19
  40. data/assets/data/search.json +165 -0
  41. data/assets/data/ssm.html +20 -9
  42. data/assets/data/themes.json +17 -6
  43. data/assets/data/twa_v1.json +54 -0
  44. data/assets/themes/j1/adapter/js/algolia.js +28 -17
  45. data/assets/themes/j1/adapter/js/attic.js +51 -40
  46. data/assets/themes/j1/adapter/js/carousel.js +27 -13
  47. data/assets/themes/j1/adapter/js/clipboard.js +232 -0
  48. data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
  49. data/assets/themes/j1/adapter/js/framer.js +37 -21
  50. data/assets/themes/j1/adapter/js/gallery_customizer.js +230 -250
  51. data/assets/themes/j1/adapter/js/j1.js +534 -798
  52. data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +32 -22
  53. data/assets/themes/j1/adapter/js/lightbox.js +20 -10
  54. data/assets/themes/j1/adapter/js/logger.js +13 -6
  55. data/assets/themes/j1/adapter/js/mdb.js +164 -0
  56. data/assets/themes/j1/adapter/js/mmenu.js +60 -69
  57. data/assets/themes/j1/adapter/js/navigator.js +194 -162
  58. data/assets/themes/j1/adapter/js/searcher.js +30 -14
  59. data/assets/themes/j1/adapter/js/ssm.js +111 -88
  60. data/assets/themes/j1/adapter/js/themer.js +70 -102
  61. data/assets/themes/j1/adapter/js/toccer.js +30 -22
  62. data/assets/themes/j1/core/css/animate.css +2382 -0
  63. data/assets/themes/j1/core/css/animate.min.css +7 -0
  64. data/assets/themes/j1/core/css/fontawesome.css +4415 -0
  65. data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
  66. data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
  67. data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
  68. data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
  69. data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
  70. data/assets/themes/j1/core/css/theme_extensions.css +207 -3034
  71. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  72. data/assets/themes/j1/core/css/twemoji.css +9485 -0
  73. data/assets/themes/j1/core/css/twemoji.min.css +1 -0
  74. data/assets/themes/j1/core/css/uno.css +334 -3034
  75. data/assets/themes/j1/core/css/uno.min.css +1 -1
  76. data/assets/themes/j1/core/css/vendor.css +767 -33214
  77. data/assets/themes/j1/core/css/vendor.min.css +2 -9
  78. data/assets/themes/j1/core/js/template.js +25 -416
  79. data/assets/themes/j1/core/js/template.js.map +1 -1
  80. data/assets/themes/j1/core/js/template.min.js +1 -1
  81. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
  82. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
  83. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
  84. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
  85. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
  86. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
  87. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
  88. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
  89. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
  90. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
  91. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
  92. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
  93. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
  94. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  95. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
  96. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
  97. data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +203 -0
  98. data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +235 -0
  99. data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +509 -0
  100. data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +122 -0
  101. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +435 -0
  102. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +20 -0
  103. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
  104. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
  105. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
  106. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
  107. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
  108. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
  109. data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
  110. data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
  111. data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
  112. data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
  113. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
  114. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
  115. data/assets/themes/j1/modules/clipboard/LICENSE +20 -0
  116. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +52 -0
  117. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +52 -0
  118. data/assets/themes/j1/modules/clipboard/js/clipboard.js +975 -0
  119. data/assets/themes/j1/modules/clipboard/js/clipboard.min.js +7 -0
  120. data/assets/themes/j1/{extensions/iconify → modules/iconifyAPI}/js/iconify.min.js +0 -0
  121. data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -0
  122. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +127 -0
  123. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +157 -0
  124. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +68 -0
  125. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +100 -0
  126. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +45 -0
  127. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +113 -0
  128. data/assets/themes/j1/modules/iframeResizer/examples/index.html +83 -0
  129. data/assets/themes/j1/modules/iframeResizer/examples/two.html +88 -0
  130. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
  131. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
  132. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
  133. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.js +1390 -0
  134. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.map +1 -0
  135. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.min.js +9 -0
  136. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +468 -0
  137. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
  138. data/assets/themes/j1/modules/jqMouseWheel/README.md +76 -0
  139. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +221 -0
  140. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +9 -0
  141. data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
  142. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
  143. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/LICENSE +0 -0
  144. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/README.md +0 -0
  145. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  146. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  147. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +1 -1
  148. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  149. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  150. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  151. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
  152. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  153. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  154. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  155. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +1 -1
  156. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  157. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  158. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.css +0 -0
  159. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.min.css +0 -0
  160. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.css +1 -1
  161. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.min.css +1 -1
  162. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.js +0 -0
  163. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.min.js +0 -0
  164. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.css +0 -0
  165. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
  166. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.css +0 -0
  167. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.min.css +0 -0
  168. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.css +0 -0
  169. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.min.css +0 -0
  170. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.eot +0 -0
  171. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.svg +0 -0
  172. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.ttf +0 -0
  173. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.woff +0 -0
  174. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/loading.gif +0 -0
  175. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/video-play.png +0 -0
  176. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/vimeo-play.png +0 -0
  177. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/youtube-play.png +0 -0
  178. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/animation-w.png +0 -0
  179. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/customize-w.png +0 -0
  180. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/dynamic-w.png +0 -0
  181. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
  182. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
  183. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/html5-w.png +0 -0
  184. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/linked-in.png +0 -0
  185. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/module-w.png +0 -0
  186. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/play-button.png +0 -0
  187. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/responsive-w.png +0 -0
  188. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/thumb-w.png +0 -0
  189. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/touch-w.png +0 -0
  190. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
  191. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter.png +0 -0
  192. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/video1-w.png +0 -0
  193. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom-w.png +0 -0
  194. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom.png +0 -0
  195. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.css +1 -1
  196. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.min.css +1 -1
  197. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.js +0 -0
  198. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.min.js +0 -0
  199. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.js +0 -0
  200. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.min.js +0 -0
  201. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.js +0 -0
  202. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.min.js +0 -0
  203. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.js +0 -0
  204. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
  205. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.js +0 -0
  206. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.min.js +0 -0
  207. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.js +0 -0
  208. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.min.js +0 -0
  209. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.js +0 -0
  210. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.min.js +0 -0
  211. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.js +0 -0
  212. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
  213. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.js +0 -0
  214. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.min.js +0 -0
  215. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.js +0 -0
  216. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.min.js +0 -0
  217. data/assets/themes/j1/modules/lightbox/LICENSE +22 -0
  218. data/assets/themes/j1/modules/lightbox/css/lightbox.css +224 -0
  219. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +21 -0
  220. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +25 -0
  221. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +26 -0
  222. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/close.png +0 -0
  223. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/loading.gif +0 -0
  224. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/next.png +0 -0
  225. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/prev.png +0 -0
  226. data/assets/themes/j1/modules/lightbox/js/lightbox.js +583 -0
  227. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +35 -0
  228. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +392 -0
  229. data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +393 -0
  230. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +178 -0
  231. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +170 -0
  232. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
  233. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +30 -0
  234. data/assets/themes/j1/modules/noUISlider/LICENSE +13 -0
  235. data/assets/themes/j1/modules/noUISlider/css/nouislider.css +260 -0
  236. data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +1 -0
  237. data/assets/themes/j1/modules/noUISlider/js/nouislider.js +2312 -0
  238. data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +3 -0
  239. data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
  240. data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
  241. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
  242. data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
  243. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
  244. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
  245. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
  246. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
  247. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
  248. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
  249. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
  250. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
  251. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
  252. data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
  253. data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
  254. data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
  255. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
  256. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
  257. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
  258. data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
  259. data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
  260. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
  261. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
  262. data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
  263. data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
  264. data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
  265. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
  266. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
  267. data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
  268. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
  269. data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
  270. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
  271. data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -0
  272. data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -0
  273. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
  274. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
  275. data/assets/themes/j1/modules/twemoji/js/twemoji.js +589 -0
  276. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
  277. data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
  278. data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
  279. data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
  280. data/assets/themes/j1/{extensions/log4javascript/log4javascript.min.js → modules/util/js/log4javascript.js} +0 -2
  281. data/assets/themes/j1/modules/util/js/platform.js +1260 -0
  282. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
  283. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
  284. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
  285. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
  286. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
  287. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
  288. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
  289. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
  290. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
  291. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
  292. data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
  293. data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
  294. data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  295. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
  296. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
  297. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
  298. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
  299. data/lib/j1/version.rb +1 -1
  300. data/lib/starter_web/Gemfile +21 -12
  301. data/lib/starter_web/_config.yml +11 -10
  302. data/lib/starter_web/_data/_defaults/resources.yml +13 -13
  303. data/lib/starter_web/_data/blocks/banner.yml +23 -31
  304. data/lib/starter_web/_data/blocks/footer.yml +10 -3
  305. data/lib/starter_web/_data/blocks/panel.yml +21 -21
  306. data/lib/starter_web/_data/layouts/default.yml +10 -0
  307. data/lib/starter_web/_data/layouts/home.yml +7 -7
  308. data/lib/starter_web/_data/layouts/page.yml +15 -16
  309. data/lib/starter_web/_data/modules/advertising.yml +48 -0
  310. data/lib/starter_web/_data/modules/attics.yml +3 -39
  311. data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
  312. data/lib/starter_web/_data/modules/defaults/attics.yml +17 -16
  313. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
  314. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
  315. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +12 -9
  316. data/lib/starter_web/_data/modules/defaults/navigator.yml +55 -21
  317. data/lib/starter_web/_data/modules/jekyll_search.yml +1 -20
  318. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  319. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -0
  320. data/lib/starter_web/_data/modules/themer.yml +10 -11
  321. data/lib/starter_web/_data/resources.yml +379 -174
  322. data/lib/starter_web/_data/template_settings.yml +118 -6
  323. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  324. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
  325. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  326. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
  327. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
  328. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
  329. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
  330. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
  331. data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
  332. data/lib/starter_web/_plugins/minifyJS.rb +54 -0
  333. data/lib/starter_web/_plugins/minifyJSON.rb +47 -0
  334. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.webp +0 -0
  335. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.webp +0 -0
  336. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.webp +0 -0
  337. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.webp +0 -0
  338. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.webp +0 -0
  339. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.webp +0 -0
  340. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.webp +0 -0
  341. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.webp +0 -0
  342. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.webp +0 -0
  343. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.webp +0 -0
  344. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.webp +0 -0
  345. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.webp +0 -0
  346. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.webp +0 -0
  347. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.webp +0 -0
  348. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.webp +0 -0
  349. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.webp +0 -0
  350. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.webp +0 -0
  351. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.webp +0 -0
  352. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.webp +0 -0
  353. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.webp +0 -0
  354. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.webp +0 -0
  355. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.webp +0 -0
  356. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.webp +0 -0
  357. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.webp +0 -0
  358. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.webp +0 -0
  359. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.webp +0 -0
  360. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.webp +0 -0
  361. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.webp +0 -0
  362. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.webp +0 -0
  363. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.webp +0 -0
  364. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.webp +0 -0
  365. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.webp +0 -0
  366. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.webp +0 -0
  367. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.webp +0 -0
  368. data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
  369. data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
  370. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  371. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  372. data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
  373. data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
  374. data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
  375. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  376. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
  377. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  378. data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
  379. data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
  380. data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
  381. data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
  382. data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
  383. data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
  384. data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
  385. data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
  386. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
  387. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
  388. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.webp +0 -0
  389. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.webp +0 -0
  390. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.webp +0 -0
  391. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.webp +0 -0
  392. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.webp +0 -0
  393. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.webp +0 -0
  394. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.webp +0 -0
  395. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.webp +0 -0
  396. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.webp +0 -0
  397. data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
  398. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
  399. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +5 -6
  400. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +2 -2
  401. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +19 -19
  402. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +38 -42
  403. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -7
  404. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
  405. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
  406. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
  407. data/lib/starter_web/index.html +13 -12
  408. data/lib/starter_web/package.json +9 -9
  409. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  410. data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -1
  411. data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
  412. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
  413. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
  414. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
  415. data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
  416. data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
  417. data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +60 -50
  418. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
  419. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -0
  420. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
  421. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
  422. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +18 -20
  423. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +1 -1
  424. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
  425. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  426. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +3 -3
  427. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
  428. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +8 -4
  429. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +37 -46
  430. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -3
  431. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +10 -11
  432. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +40 -40
  433. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +21 -23
  434. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +69 -0
  435. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
  436. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +52 -0
  437. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +3 -3
  438. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  439. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  440. data/lib/starter_web/pages/public/learn/whats_up.adoc +3 -3
  441. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  442. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  443. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  444. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  445. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  446. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  447. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
  448. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  449. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  450. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  451. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  452. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  453. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  454. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  455. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  456. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  457. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  458. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  459. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  460. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  461. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +672 -865
  462. data/lib/starter_web/pages/public/previewer/iframer.adoc +18 -16
  463. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  464. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  465. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  466. data/lib/starter_web/pages/public/site_search.adoc +1 -1
  467. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  468. data/lib/starter_web/utilsrv/package.json +1 -1
  469. metadata +295 -216
  470. data/assets/data/colors.json +0 -42
  471. data/assets/data/cookie_consent.html +0 -223
  472. data/assets/data/font_sizes.json +0 -42
  473. data/assets/data/messages.yml +0 -131
  474. data/assets/data/search.yml +0 -153
  475. data/assets/themes/j1/adapter/js/cookie_consent.js +0 -277
  476. data/assets/themes/j1/core/css/custom.scss +0 -28
  477. data/assets/themes/j1/core/css/globals.css +0 -14523
  478. data/assets/themes/j1/core/css/globals.min.css +0 -1
  479. data/assets/themes/j1/core/css/uno.scss +0 -28
  480. data/assets/themes/j1/core/css/vendor.scss +0 -28
  481. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -86
  482. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
  483. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
  484. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
  485. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
  486. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
  487. data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
  488. data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
  489. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
  490. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
  491. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
  492. data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
  493. data/lib/starter_web/_data/modules/cookie_consent.yml +0 -128
  494. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
  495. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
  496. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
  497. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
  498. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
  499. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  500. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
  501. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
  502. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
  503. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
  504. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
  505. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
  506. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
  507. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
  508. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
  509. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
  510. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
  511. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
  512. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
  513. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
  514. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
  515. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
  516. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
  517. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  518. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
  519. data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
  520. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
  521. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
  522. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
  523. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
  524. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
  525. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
  526. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  527. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
  528. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
  529. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
  530. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  531. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
  532. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
  533. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
  534. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
  535. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
  536. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
  537. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
  538. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
  539. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
  540. data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
  541. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
  542. data/lib/starter_web/pages/public/clear_button.adoc +0 -121
@@ -0,0 +1,25 @@
1
+
2
+ /*
3
+ # -----------------------------------------------------------------------------
4
+ # ~/twemoji/twemoji.js
5
+ # Twemoji v13.0.0 implementation for J1 template
6
+ #
7
+ # Product/Info:
8
+ # https://jekyll.one
9
+ # https://github.com/twitter/twemoji
10
+ #
11
+ # Copyright (C) 2020 Juergen Adams
12
+ # Copyright (C) 2018 Twitter, Inc and other contributors
13
+ #
14
+ # J1 Template is licensed under the MIT License.
15
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
16
+ # Twemoji is licensed under under the MIT License.
17
+ # See: https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
18
+ #
19
+ # -----------------------------------------------------------------------------
20
+ */
21
+
22
+ /*! Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
23
+ https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
24
+ */
25
+ var twemoji=(function(){var u={base:"https://twemoji.maxcdn.com/v/13.0.0/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:i,toCodePoint:c},onerror:function a(){if(this.parentNode){this.parentNode.replaceChild(r(this.alt,false),this)}},parse:j,replace:s,test:q},b={"&":"&","<":"<",">":">","'":"'",'"':"""},l=/(?:\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d])|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udeeb\udeec\udef4-\udefc\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78\udd7a-\uddb4\uddb7\uddba\uddbc-\uddcb\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7a\ude80-\ude86\ude90-\udea8\udeb0-\udeb6\udec0-\udec2\uded0-\uded6]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,v=/\uFE0F/g,g=String.fromCharCode(8205),x=/[&<>'"]/g,d=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,t=String.fromCharCode;return u;function r(z,y){return document.createTextNode(y?z.replace(v,""):z)}function m(y){return y.replace(x,w)}function k(z,y){return"".concat(y.base,y.size,"/",z,y.ext)}function e(B,C){var D=B.childNodes,A=D.length,z,y;while(A--){z=D[A];y=z.nodeType;if(y===3){C.push(z)}else{if(y===1&&!("ownerSVGElement" in z)&&!d.test(z.nodeName.toLowerCase())){e(z,C)}}}return C}function n(y){return c(y.indexOf(g)<0?y.replace(v,""):y)}function p(B,O){var J=e(B,[]),A=J.length,F,C,M,K,z,N,G,E,I,D,H,L,y;while(A--){M=false;K=document.createDocumentFragment();z=J[A];N=z.nodeValue;E=0;while((G=l.exec(N))){I=G.index;if(I!==E){K.appendChild(r(N.slice(E,I),true))}H=G[0];L=n(H);E=I+H.length;y=O.callback(L,O);if(L&&y){D=new Image();D.onerror=O.onerror;D.setAttribute("draggable","false");F=O.attributes(H,L);for(C in F){if(F.hasOwnProperty(C)&&C.indexOf("on")!==0&&!D.hasAttribute(C)){D.setAttribute(C,F[C])}}D.className=O.className;D.alt=H;D.src=y;M=true;K.appendChild(D)}if(!D){K.appendChild(r(H,false))}D=null}if(M){if(E<N.length){K.appendChild(r(N.slice(E),true))}z.parentNode.replaceChild(K,z)}}return B}function h(z,y){return s(z,function(A){var B=A,C=n(A),F=y.callback(C,y),E,D;if(C&&F){B="<img ".concat('class="',y.className,'" ','draggable="false" ','alt="',A,'"',' src="',F,'"');E=y.attributes(A,C);for(D in E){if(E.hasOwnProperty(D)&&D.indexOf("on")!==0&&B.indexOf(" "+D+"=")===-1){B=B.concat(" ",D,'="',m(E[D]),'"')}}B=B.concat("/>")}return B})}function w(y){return b[y]}function f(){return null}function o(y){return typeof y==="number"?y+"x"+y:y}function i(z){var y=typeof z==="string"?parseInt(z,16):z;if(y<65536){return t(y)}y-=65536;return t(55296+(y>>10),56320+(y&1023))}function j(z,y){if(!y||typeof y==="function"){y={callback:y}}return(typeof z==="string"?h:p)(z,{callback:y.callback||k,attributes:typeof y.attributes==="function"?y.attributes:f,base:typeof y.base==="string"?y.base:u.base,ext:y.ext||u.ext,size:y.folder||o(y.size||u.size),className:y.className||u.className,onerror:y.onerror||u.onerror})}function s(y,z){return String(y).replace(l,z)}function q(z){l.lastIndex=0;var y=l.test(z);l.lastIndex=0;return y}function c(C,y){var A=[],D=0,B=0,z=0;while(z<C.length){D=C.charCodeAt(z++);if(B){A.push((65536+((B-55296)<<10)+(D-56320)).toString(16));B=0}else{if(55296<=D&&D<=56319){B=D}else{A.push(D.toString(16))}}}return A.join(y||"-")}}());
@@ -0,0 +1,163 @@
1
+ /*!
2
+ * JavaScript Cookie v2.2.1
3
+ * https://github.com/js-cookie/js-cookie
4
+ *
5
+ * Copyright 2006 - 2019 Klaus Hartl & Fagner Brack
6
+ * Released under the MIT license
7
+ */
8
+ ;(function (factory) {
9
+ var registeredInModuleLoader;
10
+ if (typeof define === 'function' && define.amd) {
11
+ define(factory);
12
+ registeredInModuleLoader = true;
13
+ }
14
+ if (typeof exports === 'object') {
15
+ module.exports = factory();
16
+ registeredInModuleLoader = true;
17
+ }
18
+ if (!registeredInModuleLoader) {
19
+ var OldCookies = window.Cookies;
20
+ var api = window.Cookies = factory();
21
+ api.noConflict = function () {
22
+ window.Cookies = OldCookies;
23
+ return api;
24
+ };
25
+ }
26
+ }(function () {
27
+ function extend () {
28
+ var i = 0;
29
+ var result = {};
30
+ for (; i < arguments.length; i++) {
31
+ var attributes = arguments[ i ];
32
+ for (var key in attributes) {
33
+ result[key] = attributes[key];
34
+ }
35
+ }
36
+ return result;
37
+ }
38
+
39
+ function decode (s) {
40
+ return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
41
+ }
42
+
43
+ function init (converter) {
44
+ function api() {}
45
+
46
+ function set (key, value, attributes) {
47
+ if (typeof document === 'undefined') {
48
+ return;
49
+ }
50
+
51
+ attributes = extend({
52
+ path: '/'
53
+ }, api.defaults, attributes);
54
+
55
+ if (typeof attributes.expires === 'number') {
56
+ attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);
57
+ }
58
+
59
+ // We're using "expires" because "max-age" is not supported by IE
60
+ attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
61
+
62
+ try {
63
+ var result = JSON.stringify(value);
64
+ if (/^[\{\[]/.test(result)) {
65
+ value = result;
66
+ }
67
+ } catch (e) {}
68
+
69
+ value = converter.write ?
70
+ converter.write(value, key) :
71
+ encodeURIComponent(String(value))
72
+ .replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
73
+
74
+ key = encodeURIComponent(String(key))
75
+ .replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)
76
+ .replace(/[\(\)]/g, escape);
77
+
78
+ var stringifiedAttributes = '';
79
+ for (var attributeName in attributes) {
80
+ if (!attributes[attributeName]) {
81
+ continue;
82
+ }
83
+ stringifiedAttributes += '; ' + attributeName;
84
+ if (attributes[attributeName] === true) {
85
+ continue;
86
+ }
87
+
88
+ // Considers RFC 6265 section 5.2:
89
+ // ...
90
+ // 3. If the remaining unparsed-attributes contains a %x3B (";")
91
+ // character:
92
+ // Consume the characters of the unparsed-attributes up to,
93
+ // not including, the first %x3B (";") character.
94
+ // ...
95
+ stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
96
+ }
97
+
98
+ return (document.cookie = key + '=' + value + stringifiedAttributes);
99
+ }
100
+
101
+ function get (key, json) {
102
+ if (typeof document === 'undefined') {
103
+ return;
104
+ }
105
+
106
+ var jar = {};
107
+ // To prevent the for loop in the first place assign an empty array
108
+ // in case there are no cookies at all.
109
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
110
+ var i = 0;
111
+
112
+ for (; i < cookies.length; i++) {
113
+ var parts = cookies[i].split('=');
114
+ var cookie = parts.slice(1).join('=');
115
+
116
+ if (!json && cookie.charAt(0) === '"') {
117
+ cookie = cookie.slice(1, -1);
118
+ }
119
+
120
+ try {
121
+ var name = decode(parts[0]);
122
+ cookie = (converter.read || converter)(cookie, name) ||
123
+ decode(cookie);
124
+
125
+ if (json) {
126
+ try {
127
+ cookie = JSON.parse(cookie);
128
+ } catch (e) {}
129
+ }
130
+
131
+ jar[name] = cookie;
132
+
133
+ if (key === name) {
134
+ break;
135
+ }
136
+ } catch (e) {}
137
+ }
138
+
139
+ return key ? jar[key] : jar;
140
+ }
141
+
142
+ api.set = set;
143
+ api.get = function (key) {
144
+ return get(key, false /* read as raw */);
145
+ };
146
+ api.getJSON = function (key) {
147
+ return get(key, true /* read as json */);
148
+ };
149
+ api.remove = function (key, attributes) {
150
+ set(key, '', extend(attributes, {
151
+ expires: -1
152
+ }));
153
+ };
154
+
155
+ api.defaults = {};
156
+
157
+ api.withConverter = init;
158
+
159
+ return api;
160
+ }
161
+
162
+ return init(function () {});
163
+ }));
@@ -0,0 +1,203 @@
1
+ /**
2
+ * lite-url - Small, JS lib that uses regex for parsing a URL into it's component parts.
3
+ * @version v1.0.5
4
+ * @link https://github.com/sadams/lite-url
5
+ * @license BSD-3-Clause
6
+ */
7
+ (function(){
8
+ 'use strict';
9
+
10
+ /**
11
+ * Establish the root object, `window` in the browser, or `exports` on the server.
12
+ */
13
+ var root = this;
14
+
15
+ /**
16
+ * In memory cache for so we don't parse the same url twice
17
+ * @type {{}}
18
+ */
19
+ var memo = {};
20
+
21
+ /**
22
+ * splits a string on the first occurrence of 'splitter' and calls back with the two entries.
23
+ * @param {string} str
24
+ * @param {string} splitter
25
+ * @param {function} callback
26
+ * @return *
27
+ */
28
+ function splitOnFirst(str, splitter, callback) {
29
+ var parts = str.split(splitter);
30
+ var first = parts.shift();
31
+ return callback(first, parts.join(splitter));
32
+ }
33
+
34
+ /**
35
+ *
36
+ * @param {string} str - the url to parse
37
+ * @returns {{
38
+ * href: string // http://user:pass@host.com:81/directory/file.ext?query=1#anchor
39
+ * protocol: string, // http:
40
+ * origin: string, // http://user:pass@host.com:81
41
+ * host: string, // host.com:81
42
+ * hostname: string, // host.com
43
+ * port: string, // 81
44
+ * pathname: string, // /directory/file.ext
45
+ * search: string, // ?query=1
46
+ * hash: string, // #anchor
47
+ * username: string, // user
48
+ * password: string, // pass
49
+ * username: string, // user
50
+ * }}
51
+ */
52
+ function uriParser(str) {
53
+ var uri = {
54
+ hash:'',
55
+ host:'',
56
+ hostname:'',
57
+ origin:'',
58
+ pathname:'',
59
+ protocol:'',
60
+ search:'',
61
+ password:'',
62
+ username:'',
63
+ port:''
64
+ };
65
+ // http://user:pass@host.com:81/directory/file.ext?query=1#anchor
66
+ splitOnFirst(str, '#', function(nonHash, hash) {
67
+ // http://user:pass@host.com:81/directory/file.ext?query=1, anchor
68
+ if (hash) {
69
+ // #anchor
70
+ uri.hash = hash ? '#' + hash : '';
71
+ }
72
+ // http://user:pass@host.com:81/directory/file.ext?query=1
73
+ splitOnFirst(nonHash, '?', function(nonSearch, search) {
74
+ // http://user:pass@host.com:81/directory/file.ext, query=1
75
+ if (search) {
76
+ // ?query=1
77
+ uri.search = '?' + search;
78
+ }
79
+ if (!nonSearch) {
80
+ //means we were given a query string only
81
+ return;
82
+ }
83
+ // http://user:pass@host.com:81/directory/file.ext
84
+ splitOnFirst(nonSearch, '//', function(protocol, hostUserPortPath) {
85
+ // http:, user:pass@host.com:81/directory/file.ext
86
+ uri.protocol = protocol;
87
+ splitOnFirst(hostUserPortPath, '/', function(hostUserPort, path) {
88
+ // user:pass@host.com:81, directory/file.ext
89
+ uri.pathname = '/' + (path || ''); // /directory/file.ext
90
+ if (uri.protocol || hostUserPort) {
91
+ // http://user:pass@host.com:81
92
+ uri.origin = uri.protocol + '//' + hostUserPort;
93
+ }
94
+ // user:pass@host.com:81
95
+ splitOnFirst(hostUserPort, '@', function(auth, hostPort){
96
+ // user:pass, host.com:81
97
+ if (!hostPort) {
98
+ hostPort = auth;
99
+ } else {
100
+ // user:pass
101
+ var userPass = auth.split(':');
102
+ uri.username = userPass[0];// user
103
+ uri.password = userPass[1];// pass
104
+ }
105
+ // host.com:81
106
+ uri.host = hostPort;
107
+ splitOnFirst(hostPort, ':', function(hostName, port){
108
+ // host.com, 81
109
+ uri.hostname = hostName; // host.com
110
+ if (port) {
111
+ uri.port = port; // 81
112
+ }
113
+ });
114
+ });
115
+ });
116
+
117
+ });
118
+ });
119
+ });
120
+
121
+ uri.href = uri.origin + uri.pathname + uri.search + uri.hash;
122
+
123
+ return uri;
124
+ }
125
+
126
+ /**
127
+ * @param {string} uri
128
+ * @returns {{}}
129
+ */
130
+ function queryParser(uri) {
131
+ var params = {};
132
+ var search = uri.search;
133
+ if (search) {
134
+ search = search.replace(new RegExp('\\?'), '');
135
+ var pairs = search.split('&');
136
+ for (var i in pairs) {
137
+ if (pairs.hasOwnProperty(i) && pairs[i]) {
138
+ var pair = pairs[i].split('=');
139
+ params[pair[0]] = pair[1];
140
+ }
141
+ }
142
+ }
143
+ return params;
144
+ }
145
+
146
+ /**
147
+ * Uri parsing method.
148
+ *
149
+ * @param {string} str
150
+ * @returns {{
151
+ * href:string,
152
+ * origin:string,
153
+ * protocol:string,
154
+ * username:string,
155
+ * password:string,
156
+ * host:string,
157
+ * hostname:string,
158
+ * port:string,
159
+ * path:string,
160
+ * search:string,
161
+ * hash:string,
162
+ * params:{}
163
+ * }}
164
+ */
165
+ function liteURL(str) {
166
+ // We first check if we have parsed this URL before, to avoid running the
167
+ // monster regex over and over (which is expensive!)
168
+ var uri = memo[str];
169
+
170
+ if (typeof uri !== 'undefined') {
171
+ return uri;
172
+ }
173
+
174
+ //parsed url
175
+ uri = uriParser(str);
176
+
177
+ uri.params = queryParser(uri);
178
+
179
+ // Stored parsed values
180
+ memo[str] = uri;
181
+
182
+ return uri;
183
+ }
184
+
185
+ liteURL.changeQueryParser = function(parser) {
186
+ queryParser = parser;
187
+ };
188
+
189
+ //moduleType support
190
+ if (typeof exports !== 'undefined') {
191
+ //supports node
192
+ if (typeof module !== 'undefined' && module.exports) {
193
+ exports = module.exports = liteURL;
194
+ }
195
+ exports.liteURL = liteURL;
196
+ } else {
197
+ //supports globals
198
+ root.liteURL = liteURL;
199
+ }
200
+
201
+ //supports requirejs/amd
202
+ return liteURL;
203
+ }).call(this);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * lite-url - Small, JS lib that uses regex for parsing a URL into it's component parts.
3
+ * @version v1.0.5
4
+ * @link https://github.com/sadams/lite-url
5
+ * @license BSD-3-Clause
6
+ */
7
+ (function(){"use strict";function r(r,n,t){var e=r.split(n),o=e.shift();return t(o,e.join(n))}function n(n){var t={hash:"",host:"",hostname:"",origin:"",pathname:"",protocol:"",search:"",password:"",username:"",port:""};return r(n,"#",function(n,e){e&&(t.hash=e?"#"+e:""),r(n,"?",function(n,e){e&&(t.search="?"+e),n&&r(n,"//",function(n,e){t.protocol=n,r(e,"/",function(n,e){t.pathname="/"+(e||""),(t.protocol||n)&&(t.origin=t.protocol+"//"+n),r(n,"@",function(n,e){if(e){var o=n.split(":");t.username=o[0],t.password=o[1]}else e=n;t.host=e,r(e,":",function(r,n){t.hostname=r,n&&(t.port=n)})})})})})}),t.href=t.origin+t.pathname+t.search+t.hash,t}function t(r){var n={},t=r.search;if(t){t=t.replace(new RegExp("\\?"),"");var e=t.split("&");for(var o in e)if(e.hasOwnProperty(o)&&e[o]){var i=e[o].split("=");n[i[0]]=i[1]}}return n}function e(r){var e=i[r];return"undefined"!=typeof e?e:(e=n(r),e.params=t(e),i[r]=e,e)}var o=this,i={};return e.changeQueryParser=function(r){t=r},"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=e),exports.liteURL=e):o.liteURL=e,e}).call(this);
@@ -13,8 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
-
17
-
18
16
  (function(factory,root){if(typeof define=="function"&&define.amd){define(factory);}else if(typeof module!="undefined"&&typeof exports=="object"){module.exports=factory();}else{root.log4javascript=factory();}})(function(){if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0,len=arguments.length;i<len;i++){this[this.length]=arguments[i];}
19
17
  return this.length;};}
20
18
  if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length>0){var firstItem=this[0];for(var i=0,len=this.length-1;i<len;i++){this[i]=this[i+1];}
@@ -0,0 +1,1260 @@
1
+ /*!
2
+ * Platform.js v1.3.6
3
+ * Copyright 2014-2020 Benjamin Tan
4
+ * Copyright 2011-2013 John-David Dalton
5
+ * Available under MIT license
6
+ */
7
+ ;(function() {
8
+ 'use strict';
9
+
10
+ /** Used to determine if values are of the language type `Object`. */
11
+ var objectTypes = {
12
+ 'function': true,
13
+ 'object': true
14
+ };
15
+
16
+ /** Used as a reference to the global object. */
17
+ var root = (objectTypes[typeof window] && window) || this;
18
+
19
+ /** Backup possible global object. */
20
+ var oldRoot = root;
21
+
22
+ /** Detect free variable `exports`. */
23
+ var freeExports = objectTypes[typeof exports] && exports;
24
+
25
+ /** Detect free variable `module`. */
26
+ var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;
27
+
28
+ /** Detect free variable `global` from Node.js or Browserified code and use it as `root`. */
29
+ var freeGlobal = freeExports && freeModule && typeof global == 'object' && global;
30
+ if (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal)) {
31
+ root = freeGlobal;
32
+ }
33
+
34
+ /**
35
+ * Used as the maximum length of an array-like object.
36
+ * See the [ES6 spec](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength)
37
+ * for more details.
38
+ */
39
+ var maxSafeInteger = Math.pow(2, 53) - 1;
40
+
41
+ /** Regular expression to detect Opera. */
42
+ var reOpera = /\bOpera/;
43
+
44
+ /** Possible global object. */
45
+ var thisBinding = this;
46
+
47
+ /** Used for native method references. */
48
+ var objectProto = Object.prototype;
49
+
50
+ /** Used to check for own properties of an object. */
51
+ var hasOwnProperty = objectProto.hasOwnProperty;
52
+
53
+ /** Used to resolve the internal `[[Class]]` of values. */
54
+ var toString = objectProto.toString;
55
+
56
+ /*--------------------------------------------------------------------------*/
57
+
58
+ /**
59
+ * Capitalizes a string value.
60
+ *
61
+ * @private
62
+ * @param {string} string The string to capitalize.
63
+ * @returns {string} The capitalized string.
64
+ */
65
+ function capitalize(string) {
66
+ string = String(string);
67
+ return string.charAt(0).toUpperCase() + string.slice(1);
68
+ }
69
+
70
+ /**
71
+ * A utility function to clean up the OS name.
72
+ *
73
+ * @private
74
+ * @param {string} os The OS name to clean up.
75
+ * @param {string} [pattern] A `RegExp` pattern matching the OS name.
76
+ * @param {string} [label] A label for the OS.
77
+ */
78
+ function cleanupOS(os, pattern, label) {
79
+ // Platform tokens are defined at:
80
+ // http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx
81
+ // http://web.archive.org/web/20081122053950/http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx
82
+ var data = {
83
+ '10.0': '10',
84
+ '6.4': '10 Technical Preview',
85
+ '6.3': '8.1',
86
+ '6.2': '8',
87
+ '6.1': 'Server 2008 R2 / 7',
88
+ '6.0': 'Server 2008 / Vista',
89
+ '5.2': 'Server 2003 / XP 64-bit',
90
+ '5.1': 'XP',
91
+ '5.01': '2000 SP1',
92
+ '5.0': '2000',
93
+ '4.0': 'NT',
94
+ '4.90': 'ME'
95
+ };
96
+ // Detect Windows version from platform tokens.
97
+ if (pattern && label && /^Win/i.test(os) && !/^Windows Phone /i.test(os) &&
98
+ (data = data[/[\d.]+$/.exec(os)])) {
99
+ os = 'Windows ' + data;
100
+ }
101
+ // Correct character case and cleanup string.
102
+ os = String(os);
103
+
104
+ if (pattern && label) {
105
+ os = os.replace(RegExp(pattern, 'i'), label);
106
+ }
107
+
108
+ os = format(
109
+ os.replace(/ ce$/i, ' CE')
110
+ .replace(/\bhpw/i, 'web')
111
+ .replace(/\bMacintosh\b/, 'Mac OS')
112
+ .replace(/_PowerPC\b/i, ' OS')
113
+ .replace(/\b(OS X) [^ \d]+/i, '$1')
114
+ .replace(/\bMac (OS X)\b/, '$1')
115
+ .replace(/\/(\d)/, ' $1')
116
+ .replace(/_/g, '.')
117
+ .replace(/(?: BePC|[ .]*fc[ \d.]+)$/i, '')
118
+ .replace(/\bx86\.64\b/gi, 'x86_64')
119
+ .replace(/\b(Windows Phone) OS\b/, '$1')
120
+ .replace(/\b(Chrome OS \w+) [\d.]+\b/, '$1')
121
+ .split(' on ')[0]
122
+ );
123
+
124
+ return os;
125
+ }
126
+
127
+ /**
128
+ * An iteration utility for arrays and objects.
129
+ *
130
+ * @private
131
+ * @param {Array|Object} object The object to iterate over.
132
+ * @param {Function} callback The function called per iteration.
133
+ */
134
+ function each(object, callback) {
135
+ var index = -1,
136
+ length = object ? object.length : 0;
137
+
138
+ if (typeof length == 'number' && length > -1 && length <= maxSafeInteger) {
139
+ while (++index < length) {
140
+ callback(object[index], index, object);
141
+ }
142
+ } else {
143
+ forOwn(object, callback);
144
+ }
145
+ }
146
+
147
+ /**
148
+ * Trim and conditionally capitalize string values.
149
+ *
150
+ * @private
151
+ * @param {string} string The string to format.
152
+ * @returns {string} The formatted string.
153
+ */
154
+ function format(string) {
155
+ string = trim(string);
156
+ return /^(?:webOS|i(?:OS|P))/.test(string)
157
+ ? string
158
+ : capitalize(string);
159
+ }
160
+
161
+ /**
162
+ * Iterates over an object's own properties, executing the `callback` for each.
163
+ *
164
+ * @private
165
+ * @param {Object} object The object to iterate over.
166
+ * @param {Function} callback The function executed per own property.
167
+ */
168
+ function forOwn(object, callback) {
169
+ for (var key in object) {
170
+ if (hasOwnProperty.call(object, key)) {
171
+ callback(object[key], key, object);
172
+ }
173
+ }
174
+ }
175
+
176
+ /**
177
+ * Gets the internal `[[Class]]` of a value.
178
+ *
179
+ * @private
180
+ * @param {*} value The value.
181
+ * @returns {string} The `[[Class]]`.
182
+ */
183
+ function getClassOf(value) {
184
+ return value == null
185
+ ? capitalize(value)
186
+ : toString.call(value).slice(8, -1);
187
+ }
188
+
189
+ /**
190
+ * Host objects can return type values that are different from their actual
191
+ * data type. The objects we are concerned with usually return non-primitive
192
+ * types of "object", "function", or "unknown".
193
+ *
194
+ * @private
195
+ * @param {*} object The owner of the property.
196
+ * @param {string} property The property to check.
197
+ * @returns {boolean} Returns `true` if the property value is a non-primitive, else `false`.
198
+ */
199
+ function isHostType(object, property) {
200
+ var type = object != null ? typeof object[property] : 'number';
201
+ return !/^(?:boolean|number|string|undefined)$/.test(type) &&
202
+ (type == 'object' ? !!object[property] : true);
203
+ }
204
+
205
+ /**
206
+ * Prepares a string for use in a `RegExp` by making hyphens and spaces optional.
207
+ *
208
+ * @private
209
+ * @param {string} string The string to qualify.
210
+ * @returns {string} The qualified string.
211
+ */
212
+ function qualify(string) {
213
+ return String(string).replace(/([ -])(?!$)/g, '$1?');
214
+ }
215
+
216
+ /**
217
+ * A bare-bones `Array#reduce` like utility function.
218
+ *
219
+ * @private
220
+ * @param {Array} array The array to iterate over.
221
+ * @param {Function} callback The function called per iteration.
222
+ * @returns {*} The accumulated result.
223
+ */
224
+ function reduce(array, callback) {
225
+ var accumulator = null;
226
+ each(array, function(value, index) {
227
+ accumulator = callback(accumulator, value, index, array);
228
+ });
229
+ return accumulator;
230
+ }
231
+
232
+ /**
233
+ * Removes leading and trailing whitespace from a string.
234
+ *
235
+ * @private
236
+ * @param {string} string The string to trim.
237
+ * @returns {string} The trimmed string.
238
+ */
239
+ function trim(string) {
240
+ return String(string).replace(/^ +| +$/g, '');
241
+ }
242
+
243
+ /*--------------------------------------------------------------------------*/
244
+
245
+ /**
246
+ * Creates a new platform object.
247
+ *
248
+ * @memberOf platform
249
+ * @param {Object|string} [ua=navigator.userAgent] The user agent string or
250
+ * context object.
251
+ * @returns {Object} A platform object.
252
+ */
253
+ function parse(ua) {
254
+
255
+ /** The environment context object. */
256
+ var context = root;
257
+
258
+ /** Used to flag when a custom context is provided. */
259
+ var isCustomContext = ua && typeof ua == 'object' && getClassOf(ua) != 'String';
260
+
261
+ // Juggle arguments.
262
+ if (isCustomContext) {
263
+ context = ua;
264
+ ua = null;
265
+ }
266
+
267
+ /** Browser navigator object. */
268
+ var nav = context.navigator || {};
269
+
270
+ /** Browser user agent string. */
271
+ var userAgent = nav.userAgent || '';
272
+
273
+ ua || (ua = userAgent);
274
+
275
+ /** Used to flag when `thisBinding` is the [ModuleScope]. */
276
+ var isModuleScope = isCustomContext || thisBinding == oldRoot;
277
+
278
+ /** Used to detect if browser is like Chrome. */
279
+ var likeChrome = isCustomContext
280
+ ? !!nav.likeChrome
281
+ : /\bChrome\b/.test(ua) && !/internal|\n/i.test(toString.toString());
282
+
283
+ /** Internal `[[Class]]` value shortcuts. */
284
+ var objectClass = 'Object',
285
+ airRuntimeClass = isCustomContext ? objectClass : 'ScriptBridgingProxyObject',
286
+ enviroClass = isCustomContext ? objectClass : 'Environment',
287
+ javaClass = (isCustomContext && context.java) ? 'JavaPackage' : getClassOf(context.java),
288
+ phantomClass = isCustomContext ? objectClass : 'RuntimeObject';
289
+
290
+ /** Detect Java environments. */
291
+ var java = /\bJava/.test(javaClass) && context.java;
292
+
293
+ /** Detect Rhino. */
294
+ var rhino = java && getClassOf(context.environment) == enviroClass;
295
+
296
+ /** A character to represent alpha. */
297
+ var alpha = java ? 'a' : '\u03b1';
298
+
299
+ /** A character to represent beta. */
300
+ var beta = java ? 'b' : '\u03b2';
301
+
302
+ /** Browser document object. */
303
+ var doc = context.document || {};
304
+
305
+ /**
306
+ * Detect Opera browser (Presto-based).
307
+ * http://www.howtocreate.co.uk/operaStuff/operaObject.html
308
+ * http://dev.opera.com/articles/view/opera-mini-web-content-authoring-guidelines/#operamini
309
+ */
310
+ var opera = context.operamini || context.opera;
311
+
312
+ /** Opera `[[Class]]`. */
313
+ var operaClass = reOpera.test(operaClass = (isCustomContext && opera) ? opera['[[Class]]'] : getClassOf(opera))
314
+ ? operaClass
315
+ : (opera = null);
316
+
317
+ /*------------------------------------------------------------------------*/
318
+
319
+ /** Temporary variable used over the script's lifetime. */
320
+ var data;
321
+
322
+ /** The CPU architecture. */
323
+ var arch = ua;
324
+
325
+ /** Platform description array. */
326
+ var description = [];
327
+
328
+ /** Platform alpha/beta indicator. */
329
+ var prerelease = null;
330
+
331
+ /** A flag to indicate that environment features should be used to resolve the platform. */
332
+ var useFeatures = ua == userAgent;
333
+
334
+ /** The browser/environment version. */
335
+ var version = useFeatures && opera && typeof opera.version == 'function' && opera.version();
336
+
337
+ /** A flag to indicate if the OS ends with "/ Version" */
338
+ var isSpecialCasedOS;
339
+
340
+ /* Detectable layout engines (order is important). */
341
+ var layout = getLayout([
342
+ { 'label': 'EdgeHTML', 'pattern': 'Edge' },
343
+ 'Trident',
344
+ { 'label': 'WebKit', 'pattern': 'AppleWebKit' },
345
+ 'iCab',
346
+ 'Presto',
347
+ 'NetFront',
348
+ 'Tasman',
349
+ 'KHTML',
350
+ 'Gecko'
351
+ ]);
352
+
353
+ /* Detectable browser names (order is important). */
354
+ var name = getName([
355
+ 'Adobe AIR',
356
+ 'Arora',
357
+ 'Avant Browser',
358
+ 'Breach',
359
+ 'Camino',
360
+ 'Electron',
361
+ 'Epiphany',
362
+ 'Fennec',
363
+ 'Flock',
364
+ 'Galeon',
365
+ 'GreenBrowser',
366
+ 'iCab',
367
+ 'Iceweasel',
368
+ 'K-Meleon',
369
+ 'Konqueror',
370
+ 'Lunascape',
371
+ 'Maxthon',
372
+ { 'label': 'Microsoft Edge', 'pattern': '(?:Edge|Edg|EdgA|EdgiOS)' },
373
+ 'Midori',
374
+ 'Nook Browser',
375
+ 'PaleMoon',
376
+ 'PhantomJS',
377
+ 'Raven',
378
+ 'Rekonq',
379
+ 'RockMelt',
380
+ { 'label': 'Samsung Internet', 'pattern': 'SamsungBrowser' },
381
+ 'SeaMonkey',
382
+ { 'label': 'Silk', 'pattern': '(?:Cloud9|Silk-Accelerated)' },
383
+ 'Sleipnir',
384
+ 'SlimBrowser',
385
+ { 'label': 'SRWare Iron', 'pattern': 'Iron' },
386
+ 'Sunrise',
387
+ 'Swiftfox',
388
+ 'Vivaldi',
389
+ 'Waterfox',
390
+ 'WebPositive',
391
+ { 'label': 'Yandex Browser', 'pattern': 'YaBrowser' },
392
+ { 'label': 'UC Browser', 'pattern': 'UCBrowser' },
393
+ 'Opera Mini',
394
+ { 'label': 'Opera Mini', 'pattern': 'OPiOS' },
395
+ 'Opera',
396
+ { 'label': 'Opera', 'pattern': 'OPR' },
397
+ 'Chromium',
398
+ 'Chrome',
399
+ { 'label': 'Chrome', 'pattern': '(?:HeadlessChrome)' },
400
+ { 'label': 'Chrome Mobile', 'pattern': '(?:CriOS|CrMo)' },
401
+ { 'label': 'Firefox', 'pattern': '(?:Firefox|Minefield)' },
402
+ { 'label': 'Firefox for iOS', 'pattern': 'FxiOS' },
403
+ { 'label': 'IE', 'pattern': 'IEMobile' },
404
+ { 'label': 'IE', 'pattern': 'MSIE' },
405
+ 'Safari'
406
+ ]);
407
+
408
+ /* Detectable products (order is important). */
409
+ var product = getProduct([
410
+ { 'label': 'BlackBerry', 'pattern': 'BB10' },
411
+ 'BlackBerry',
412
+ { 'label': 'Galaxy S', 'pattern': 'GT-I9000' },
413
+ { 'label': 'Galaxy S2', 'pattern': 'GT-I9100' },
414
+ { 'label': 'Galaxy S3', 'pattern': 'GT-I9300' },
415
+ { 'label': 'Galaxy S4', 'pattern': 'GT-I9500' },
416
+ { 'label': 'Galaxy S5', 'pattern': 'SM-G900' },
417
+ { 'label': 'Galaxy S6', 'pattern': 'SM-G920' },
418
+ { 'label': 'Galaxy S6 Edge', 'pattern': 'SM-G925' },
419
+ { 'label': 'Galaxy S7', 'pattern': 'SM-G930' },
420
+ { 'label': 'Galaxy S7 Edge', 'pattern': 'SM-G935' },
421
+ 'Google TV',
422
+ 'Lumia',
423
+ 'iPad',
424
+ 'iPod',
425
+ 'iPhone',
426
+ 'Kindle',
427
+ { 'label': 'Kindle Fire', 'pattern': '(?:Cloud9|Silk-Accelerated)' },
428
+ 'Nexus',
429
+ 'Nook',
430
+ 'PlayBook',
431
+ 'PlayStation Vita',
432
+ 'PlayStation',
433
+ 'TouchPad',
434
+ 'Transformer',
435
+ { 'label': 'Wii U', 'pattern': 'WiiU' },
436
+ 'Wii',
437
+ 'Xbox One',
438
+ { 'label': 'Xbox 360', 'pattern': 'Xbox' },
439
+ 'Xoom'
440
+ ]);
441
+
442
+ /* Detectable manufacturers. */
443
+ var manufacturer = getManufacturer({
444
+ 'Apple': { 'iPad': 1, 'iPhone': 1, 'iPod': 1 },
445
+ 'Alcatel': {},
446
+ 'Archos': {},
447
+ 'Amazon': { 'Kindle': 1, 'Kindle Fire': 1 },
448
+ 'Asus': { 'Transformer': 1 },
449
+ 'Barnes & Noble': { 'Nook': 1 },
450
+ 'BlackBerry': { 'PlayBook': 1 },
451
+ 'Google': { 'Google TV': 1, 'Nexus': 1 },
452
+ 'HP': { 'TouchPad': 1 },
453
+ 'HTC': {},
454
+ 'Huawei': {},
455
+ 'Lenovo': {},
456
+ 'LG': {},
457
+ 'Microsoft': { 'Xbox': 1, 'Xbox One': 1 },
458
+ 'Motorola': { 'Xoom': 1 },
459
+ 'Nintendo': { 'Wii U': 1, 'Wii': 1 },
460
+ 'Nokia': { 'Lumia': 1 },
461
+ 'Oppo': {},
462
+ 'Samsung': { 'Galaxy S': 1, 'Galaxy S2': 1, 'Galaxy S3': 1, 'Galaxy S4': 1 },
463
+ 'Sony': { 'PlayStation': 1, 'PlayStation Vita': 1 },
464
+ 'Xiaomi': { 'Mi': 1, 'Redmi': 1 }
465
+ });
466
+
467
+ /* Detectable operating systems (order is important). */
468
+ var os = getOS([
469
+ 'Windows Phone',
470
+ 'KaiOS',
471
+ 'Android',
472
+ 'CentOS',
473
+ { 'label': 'Chrome OS', 'pattern': 'CrOS' },
474
+ 'Debian',
475
+ { 'label': 'DragonFly BSD', 'pattern': 'DragonFly' },
476
+ 'Fedora',
477
+ 'FreeBSD',
478
+ 'Gentoo',
479
+ 'Haiku',
480
+ 'Kubuntu',
481
+ 'Linux Mint',
482
+ 'OpenBSD',
483
+ 'Red Hat',
484
+ 'SuSE',
485
+ 'Ubuntu',
486
+ 'Xubuntu',
487
+ 'Cygwin',
488
+ 'Symbian OS',
489
+ 'hpwOS',
490
+ 'webOS ',
491
+ 'webOS',
492
+ 'Tablet OS',
493
+ 'Tizen',
494
+ 'Linux',
495
+ 'Mac OS X',
496
+ 'Macintosh',
497
+ 'Mac',
498
+ 'Windows 98;',
499
+ 'Windows '
500
+ ]);
501
+
502
+ /*------------------------------------------------------------------------*/
503
+
504
+ /**
505
+ * Picks the layout engine from an array of guesses.
506
+ *
507
+ * @private
508
+ * @param {Array} guesses An array of guesses.
509
+ * @returns {null|string} The detected layout engine.
510
+ */
511
+ function getLayout(guesses) {
512
+ return reduce(guesses, function(result, guess) {
513
+ return result || RegExp('\\b' + (
514
+ guess.pattern || qualify(guess)
515
+ ) + '\\b', 'i').exec(ua) && (guess.label || guess);
516
+ });
517
+ }
518
+
519
+ /**
520
+ * Picks the manufacturer from an array of guesses.
521
+ *
522
+ * @private
523
+ * @param {Array} guesses An object of guesses.
524
+ * @returns {null|string} The detected manufacturer.
525
+ */
526
+ function getManufacturer(guesses) {
527
+ return reduce(guesses, function(result, value, key) {
528
+ // Lookup the manufacturer by product or scan the UA for the manufacturer.
529
+ return result || (
530
+ value[product] ||
531
+ value[/^[a-z]+(?: +[a-z]+\b)*/i.exec(product)] ||
532
+ RegExp('\\b' + qualify(key) + '(?:\\b|\\w*\\d)', 'i').exec(ua)
533
+ ) && key;
534
+ });
535
+ }
536
+
537
+ /**
538
+ * Picks the browser name from an array of guesses.
539
+ *
540
+ * @private
541
+ * @param {Array} guesses An array of guesses.
542
+ * @returns {null|string} The detected browser name.
543
+ */
544
+ function getName(guesses) {
545
+ return reduce(guesses, function(result, guess) {
546
+ return result || RegExp('\\b' + (
547
+ guess.pattern || qualify(guess)
548
+ ) + '\\b', 'i').exec(ua) && (guess.label || guess);
549
+ });
550
+ }
551
+
552
+ /**
553
+ * Picks the OS name from an array of guesses.
554
+ *
555
+ * @private
556
+ * @param {Array} guesses An array of guesses.
557
+ * @returns {null|string} The detected OS name.
558
+ */
559
+ function getOS(guesses) {
560
+ return reduce(guesses, function(result, guess) {
561
+ var pattern = guess.pattern || qualify(guess);
562
+ if (!result && (result =
563
+ RegExp('\\b' + pattern + '(?:/[\\d.]+|[ \\w.]*)', 'i').exec(ua)
564
+ )) {
565
+ result = cleanupOS(result, pattern, guess.label || guess);
566
+ }
567
+ return result;
568
+ });
569
+ }
570
+
571
+ /**
572
+ * Picks the product name from an array of guesses.
573
+ *
574
+ * @private
575
+ * @param {Array} guesses An array of guesses.
576
+ * @returns {null|string} The detected product name.
577
+ */
578
+ function getProduct(guesses) {
579
+ return reduce(guesses, function(result, guess) {
580
+ var pattern = guess.pattern || qualify(guess);
581
+ if (!result && (result =
582
+ RegExp('\\b' + pattern + ' *\\d+[.\\w_]*', 'i').exec(ua) ||
583
+ RegExp('\\b' + pattern + ' *\\w+-[\\w]*', 'i').exec(ua) ||
584
+ RegExp('\\b' + pattern + '(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)', 'i').exec(ua)
585
+ )) {
586
+ // Split by forward slash and append product version if needed.
587
+ if ((result = String((guess.label && !RegExp(pattern, 'i').test(guess.label)) ? guess.label : result).split('/'))[1] && !/[\d.]+/.test(result[0])) {
588
+ result[0] += ' ' + result[1];
589
+ }
590
+ // Correct character case and cleanup string.
591
+ guess = guess.label || guess;
592
+ result = format(result[0]
593
+ .replace(RegExp(pattern, 'i'), guess)
594
+ .replace(RegExp('; *(?:' + guess + '[_-])?', 'i'), ' ')
595
+ .replace(RegExp('(' + guess + ')[-_.]?(\\w)', 'i'), '$1 $2'));
596
+ }
597
+ return result;
598
+ });
599
+ }
600
+
601
+ /**
602
+ * Resolves the version using an array of UA patterns.
603
+ *
604
+ * @private
605
+ * @param {Array} patterns An array of UA patterns.
606
+ * @returns {null|string} The detected version.
607
+ */
608
+ function getVersion(patterns) {
609
+ return reduce(patterns, function(result, pattern) {
610
+ return result || (RegExp(pattern +
611
+ '(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)', 'i').exec(ua) || 0)[1] || null;
612
+ });
613
+ }
614
+
615
+ /**
616
+ * Returns `platform.description` when the platform object is coerced to a string.
617
+ *
618
+ * @name toString
619
+ * @memberOf platform
620
+ * @returns {string} Returns `platform.description` if available, else an empty string.
621
+ */
622
+ function toStringPlatform() {
623
+ return this.description || '';
624
+ }
625
+
626
+ /*------------------------------------------------------------------------*/
627
+
628
+ // Convert layout to an array so we can add extra details.
629
+ layout && (layout = [layout]);
630
+
631
+ // Detect Android products.
632
+ // Browsers on Android devices typically provide their product IDS after "Android;"
633
+ // up to "Build" or ") AppleWebKit".
634
+ // Example:
635
+ // "Mozilla/5.0 (Linux; Android 8.1.0; Moto G (5) Plus) AppleWebKit/537.36
636
+ // (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36"
637
+ if (/\bAndroid\b/.test(os) && !product &&
638
+ (data = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(ua))) {
639
+ product = trim(data[1])
640
+ // Replace any language codes (eg. "en-US").
641
+ .replace(/^[a-z]{2}-[a-z]{2};\s*/i, '')
642
+ || null;
643
+ }
644
+ // Detect product names that contain their manufacturer's name.
645
+ if (manufacturer && !product) {
646
+ product = getProduct([manufacturer]);
647
+ } else if (manufacturer && product) {
648
+ product = product
649
+ .replace(RegExp('^(' + qualify(manufacturer) + ')[-_.\\s]', 'i'), manufacturer + ' ')
650
+ .replace(RegExp('^(' + qualify(manufacturer) + ')[-_.]?(\\w)', 'i'), manufacturer + ' $2');
651
+ }
652
+ // Clean up Google TV.
653
+ if ((data = /\bGoogle TV\b/.exec(product))) {
654
+ product = data[0];
655
+ }
656
+ // Detect simulators.
657
+ if (/\bSimulator\b/i.test(ua)) {
658
+ product = (product ? product + ' ' : '') + 'Simulator';
659
+ }
660
+ // Detect Opera Mini 8+ running in Turbo/Uncompressed mode on iOS.
661
+ if (name == 'Opera Mini' && /\bOPiOS\b/.test(ua)) {
662
+ description.push('running in Turbo/Uncompressed mode');
663
+ }
664
+ // Detect IE Mobile 11.
665
+ if (name == 'IE' && /\blike iPhone OS\b/.test(ua)) {
666
+ data = parse(ua.replace(/like iPhone OS/, ''));
667
+ manufacturer = data.manufacturer;
668
+ product = data.product;
669
+ }
670
+ // Detect iOS.
671
+ else if (/^iP/.test(product)) {
672
+ name || (name = 'Safari');
673
+ os = 'iOS' + ((data = / OS ([\d_]+)/i.exec(ua))
674
+ ? ' ' + data[1].replace(/_/g, '.')
675
+ : '');
676
+ }
677
+ // Detect Kubuntu.
678
+ else if (name == 'Konqueror' && /^Linux\b/i.test(os)) {
679
+ os = 'Kubuntu';
680
+ }
681
+ // Detect Android browsers.
682
+ else if ((manufacturer && manufacturer != 'Google' &&
683
+ ((/Chrome/.test(name) && !/\bMobile Safari\b/i.test(ua)) || /\bVita\b/.test(product))) ||
684
+ (/\bAndroid\b/.test(os) && /^Chrome/.test(name) && /\bVersion\//i.test(ua))) {
685
+ name = 'Android Browser';
686
+ os = /\bAndroid\b/.test(os) ? os : 'Android';
687
+ }
688
+ // Detect Silk desktop/accelerated modes.
689
+ else if (name == 'Silk') {
690
+ if (!/\bMobi/i.test(ua)) {
691
+ os = 'Android';
692
+ description.unshift('desktop mode');
693
+ }
694
+ if (/Accelerated *= *true/i.test(ua)) {
695
+ description.unshift('accelerated');
696
+ }
697
+ }
698
+ // Detect UC Browser speed mode.
699
+ else if (name == 'UC Browser' && /\bUCWEB\b/.test(ua)) {
700
+ description.push('speed mode');
701
+ }
702
+ // Detect PaleMoon identifying as Firefox.
703
+ else if (name == 'PaleMoon' && (data = /\bFirefox\/([\d.]+)\b/.exec(ua))) {
704
+ description.push('identifying as Firefox ' + data[1]);
705
+ }
706
+ // Detect Firefox OS and products running Firefox.
707
+ else if (name == 'Firefox' && (data = /\b(Mobile|Tablet|TV)\b/i.exec(ua))) {
708
+ os || (os = 'Firefox OS');
709
+ product || (product = data[1]);
710
+ }
711
+ // Detect false positives for Firefox/Safari.
712
+ else if (!name || (data = !/\bMinefield\b/i.test(ua) && /\b(?:Firefox|Safari)\b/.exec(name))) {
713
+ // Escape the `/` for Firefox 1.
714
+ if (name && !product && /[\/,]|^[^(]+?\)/.test(ua.slice(ua.indexOf(data + '/') + 8))) {
715
+ // Clear name of false positives.
716
+ name = null;
717
+ }
718
+ // Reassign a generic name.
719
+ if ((data = product || manufacturer || os) &&
720
+ (product || manufacturer || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(os))) {
721
+ name = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(os) ? os : data) + ' Browser';
722
+ }
723
+ }
724
+ // Add Chrome version to description for Electron.
725
+ else if (name == 'Electron' && (data = (/\bChrome\/([\d.]+)\b/.exec(ua) || 0)[1])) {
726
+ description.push('Chromium ' + data);
727
+ }
728
+ // Detect non-Opera (Presto-based) versions (order is important).
729
+ if (!version) {
730
+ version = getVersion([
731
+ '(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)',
732
+ 'Version',
733
+ qualify(name),
734
+ '(?:Firefox|Minefield|NetFront)'
735
+ ]);
736
+ }
737
+ // Detect stubborn layout engines.
738
+ if ((data =
739
+ layout == 'iCab' && parseFloat(version) > 3 && 'WebKit' ||
740
+ /\bOpera\b/.test(name) && (/\bOPR\b/.test(ua) ? 'Blink' : 'Presto') ||
741
+ /\b(?:Midori|Nook|Safari)\b/i.test(ua) && !/^(?:Trident|EdgeHTML)$/.test(layout) && 'WebKit' ||
742
+ !layout && /\bMSIE\b/i.test(ua) && (os == 'Mac OS' ? 'Tasman' : 'Trident') ||
743
+ layout == 'WebKit' && /\bPlayStation\b(?! Vita\b)/i.test(name) && 'NetFront'
744
+ )) {
745
+ layout = [data];
746
+ }
747
+ // Detect Windows Phone 7 desktop mode.
748
+ if (name == 'IE' && (data = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(ua) || 0)[1])) {
749
+ name += ' Mobile';
750
+ os = 'Windows Phone ' + (/\+$/.test(data) ? data : data + '.x');
751
+ description.unshift('desktop mode');
752
+ }
753
+ // Detect Windows Phone 8.x desktop mode.
754
+ else if (/\bWPDesktop\b/i.test(ua)) {
755
+ name = 'IE Mobile';
756
+ os = 'Windows Phone 8.x';
757
+ description.unshift('desktop mode');
758
+ version || (version = (/\brv:([\d.]+)/.exec(ua) || 0)[1]);
759
+ }
760
+ // Detect IE 11 identifying as other browsers.
761
+ else if (name != 'IE' && layout == 'Trident' && (data = /\brv:([\d.]+)/.exec(ua))) {
762
+ if (name) {
763
+ description.push('identifying as ' + name + (version ? ' ' + version : ''));
764
+ }
765
+ name = 'IE';
766
+ version = data[1];
767
+ }
768
+ // Leverage environment features.
769
+ if (useFeatures) {
770
+ // Detect server-side environments.
771
+ // Rhino has a global function while others have a global object.
772
+ if (isHostType(context, 'global')) {
773
+ if (java) {
774
+ data = java.lang.System;
775
+ arch = data.getProperty('os.arch');
776
+ os = os || data.getProperty('os.name') + ' ' + data.getProperty('os.version');
777
+ }
778
+ if (rhino) {
779
+ try {
780
+ version = context.require('ringo/engine').version.join('.');
781
+ name = 'RingoJS';
782
+ } catch(e) {
783
+ if ((data = context.system) && data.global.system == context.system) {
784
+ name = 'Narwhal';
785
+ os || (os = data[0].os || null);
786
+ }
787
+ }
788
+ if (!name) {
789
+ name = 'Rhino';
790
+ }
791
+ }
792
+ else if (
793
+ typeof context.process == 'object' && !context.process.browser &&
794
+ (data = context.process)
795
+ ) {
796
+ if (typeof data.versions == 'object') {
797
+ if (typeof data.versions.electron == 'string') {
798
+ description.push('Node ' + data.versions.node);
799
+ name = 'Electron';
800
+ version = data.versions.electron;
801
+ } else if (typeof data.versions.nw == 'string') {
802
+ description.push('Chromium ' + version, 'Node ' + data.versions.node);
803
+ name = 'NW.js';
804
+ version = data.versions.nw;
805
+ }
806
+ }
807
+ if (!name) {
808
+ name = 'Node.js';
809
+ arch = data.arch;
810
+ os = data.platform;
811
+ version = /[\d.]+/.exec(data.version);
812
+ version = version ? version[0] : null;
813
+ }
814
+ }
815
+ }
816
+ // Detect Adobe AIR.
817
+ else if (getClassOf((data = context.runtime)) == airRuntimeClass) {
818
+ name = 'Adobe AIR';
819
+ os = data.flash.system.Capabilities.os;
820
+ }
821
+ // Detect PhantomJS.
822
+ else if (getClassOf((data = context.phantom)) == phantomClass) {
823
+ name = 'PhantomJS';
824
+ version = (data = data.version || null) && (data.major + '.' + data.minor + '.' + data.patch);
825
+ }
826
+ // Detect IE compatibility modes.
827
+ else if (typeof doc.documentMode == 'number' && (data = /\bTrident\/(\d+)/i.exec(ua))) {
828
+ // We're in compatibility mode when the Trident version + 4 doesn't
829
+ // equal the document mode.
830
+ version = [version, doc.documentMode];
831
+ if ((data = +data[1] + 4) != version[1]) {
832
+ description.push('IE ' + version[1] + ' mode');
833
+ layout && (layout[1] = '');
834
+ version[1] = data;
835
+ }
836
+ version = name == 'IE' ? String(version[1].toFixed(1)) : version[0];
837
+ }
838
+ // Detect IE 11 masking as other browsers.
839
+ else if (typeof doc.documentMode == 'number' && /^(?:Chrome|Firefox)\b/.test(name)) {
840
+ description.push('masking as ' + name + ' ' + version);
841
+ name = 'IE';
842
+ version = '11.0';
843
+ layout = ['Trident'];
844
+ os = 'Windows';
845
+ }
846
+ os = os && format(os);
847
+ }
848
+ // Detect prerelease phases.
849
+ if (version && (data =
850
+ /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(version) ||
851
+ /(?:alpha|beta)(?: ?\d)?/i.exec(ua + ';' + (useFeatures && nav.appMinorVersion)) ||
852
+ /\bMinefield\b/i.test(ua) && 'a'
853
+ )) {
854
+ prerelease = /b/i.test(data) ? 'beta' : 'alpha';
855
+ version = version.replace(RegExp(data + '\\+?$'), '') +
856
+ (prerelease == 'beta' ? beta : alpha) + (/\d+\+?/.exec(data) || '');
857
+ }
858
+ // Detect Firefox Mobile.
859
+ if (name == 'Fennec' || name == 'Firefox' && /\b(?:Android|Firefox OS|KaiOS)\b/.test(os)) {
860
+ name = 'Firefox Mobile';
861
+ }
862
+ // Obscure Maxthon's unreliable version.
863
+ else if (name == 'Maxthon' && version) {
864
+ version = version.replace(/\.[\d.]+/, '.x');
865
+ }
866
+ // Detect Xbox 360 and Xbox One.
867
+ else if (/\bXbox\b/i.test(product)) {
868
+ if (product == 'Xbox 360') {
869
+ os = null;
870
+ }
871
+ if (product == 'Xbox 360' && /\bIEMobile\b/.test(ua)) {
872
+ description.unshift('mobile mode');
873
+ }
874
+ }
875
+ // Add mobile postfix.
876
+ else if ((/^(?:Chrome|IE|Opera)$/.test(name) || name && !product && !/Browser|Mobi/.test(name)) &&
877
+ (os == 'Windows CE' || /Mobi/i.test(ua))) {
878
+ name += ' Mobile';
879
+ }
880
+ // Detect IE platform preview.
881
+ else if (name == 'IE' && useFeatures) {
882
+ try {
883
+ if (context.external === null) {
884
+ description.unshift('platform preview');
885
+ }
886
+ } catch(e) {
887
+ description.unshift('embedded');
888
+ }
889
+ }
890
+ // Detect BlackBerry OS version.
891
+ // http://docs.blackberry.com/en/developers/deliverables/18169/HTTP_headers_sent_by_BB_Browser_1234911_11.jsp
892
+ else if ((/\bBlackBerry\b/.test(product) || /\bBB10\b/.test(ua)) && (data =
893
+ (RegExp(product.replace(/ +/g, ' *') + '/([.\\d]+)', 'i').exec(ua) || 0)[1] ||
894
+ version
895
+ )) {
896
+ data = [data, /BB10/.test(ua)];
897
+ os = (data[1] ? (product = null, manufacturer = 'BlackBerry') : 'Device Software') + ' ' + data[0];
898
+ version = null;
899
+ }
900
+ // Detect Opera identifying/masking itself as another browser.
901
+ // http://www.opera.com/support/kb/view/843/
902
+ else if (this != forOwn && product != 'Wii' && (
903
+ (useFeatures && opera) ||
904
+ (/Opera/.test(name) && /\b(?:MSIE|Firefox)\b/i.test(ua)) ||
905
+ (name == 'Firefox' && /\bOS X (?:\d+\.){2,}/.test(os)) ||
906
+ (name == 'IE' && (
907
+ (os && !/^Win/.test(os) && version > 5.5) ||
908
+ /\bWindows XP\b/.test(os) && version > 8 ||
909
+ version == 8 && !/\bTrident\b/.test(ua)
910
+ ))
911
+ ) && !reOpera.test((data = parse.call(forOwn, ua.replace(reOpera, '') + ';'))) && data.name) {
912
+ // When "identifying", the UA contains both Opera and the other browser's name.
913
+ data = 'ing as ' + data.name + ((data = data.version) ? ' ' + data : '');
914
+ if (reOpera.test(name)) {
915
+ if (/\bIE\b/.test(data) && os == 'Mac OS') {
916
+ os = null;
917
+ }
918
+ data = 'identify' + data;
919
+ }
920
+ // When "masking", the UA contains only the other browser's name.
921
+ else {
922
+ data = 'mask' + data;
923
+ if (operaClass) {
924
+ name = format(operaClass.replace(/([a-z])([A-Z])/g, '$1 $2'));
925
+ } else {
926
+ name = 'Opera';
927
+ }
928
+ if (/\bIE\b/.test(data)) {
929
+ os = null;
930
+ }
931
+ if (!useFeatures) {
932
+ version = null;
933
+ }
934
+ }
935
+ layout = ['Presto'];
936
+ description.push(data);
937
+ }
938
+ // Detect WebKit Nightly and approximate Chrome/Safari versions.
939
+ if ((data = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(ua) || 0)[1])) {
940
+ // Correct build number for numeric comparison.
941
+ // (e.g. "532.5" becomes "532.05")
942
+ data = [parseFloat(data.replace(/\.(\d)$/, '.0$1')), data];
943
+ // Nightly builds are postfixed with a "+".
944
+ if (name == 'Safari' && data[1].slice(-1) == '+') {
945
+ name = 'WebKit Nightly';
946
+ prerelease = 'alpha';
947
+ version = data[1].slice(0, -1);
948
+ }
949
+ // Clear incorrect browser versions.
950
+ else if (version == data[1] ||
951
+ version == (data[2] = (/\bSafari\/([\d.]+\+?)/i.exec(ua) || 0)[1])) {
952
+ version = null;
953
+ }
954
+ // Use the full Chrome version when available.
955
+ data[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(ua) || 0)[1];
956
+ // Detect Blink layout engine.
957
+ if (data[0] == 537.36 && data[2] == 537.36 && parseFloat(data[1]) >= 28 && layout == 'WebKit') {
958
+ layout = ['Blink'];
959
+ }
960
+ // Detect JavaScriptCore.
961
+ // http://stackoverflow.com/questions/6768474/how-can-i-detect-which-javascript-engine-v8-or-jsc-is-used-at-runtime-in-androi
962
+ if (!useFeatures || (!likeChrome && !data[1])) {
963
+ layout && (layout[1] = 'like Safari');
964
+ data = (data = data[0], data < 400 ? 1 : data < 500 ? 2 : data < 526 ? 3 : data < 533 ? 4 : data < 534 ? '4+' : data < 535 ? 5 : data < 537 ? 6 : data < 538 ? 7 : data < 601 ? 8 : data < 602 ? 9 : data < 604 ? 10 : data < 606 ? 11 : data < 608 ? 12 : '12');
965
+ } else {
966
+ layout && (layout[1] = 'like Chrome');
967
+ data = data[1] || (data = data[0], data < 530 ? 1 : data < 532 ? 2 : data < 532.05 ? 3 : data < 533 ? 4 : data < 534.03 ? 5 : data < 534.07 ? 6 : data < 534.10 ? 7 : data < 534.13 ? 8 : data < 534.16 ? 9 : data < 534.24 ? 10 : data < 534.30 ? 11 : data < 535.01 ? 12 : data < 535.02 ? '13+' : data < 535.07 ? 15 : data < 535.11 ? 16 : data < 535.19 ? 17 : data < 536.05 ? 18 : data < 536.10 ? 19 : data < 537.01 ? 20 : data < 537.11 ? '21+' : data < 537.13 ? 23 : data < 537.18 ? 24 : data < 537.24 ? 25 : data < 537.36 ? 26 : layout != 'Blink' ? '27' : '28');
968
+ }
969
+ // Add the postfix of ".x" or "+" for approximate versions.
970
+ layout && (layout[1] += ' ' + (data += typeof data == 'number' ? '.x' : /[.+]/.test(data) ? '' : '+'));
971
+ // Obscure version for some Safari 1-2 releases.
972
+ if (name == 'Safari' && (!version || parseInt(version) > 45)) {
973
+ version = data;
974
+ } else if (name == 'Chrome' && /\bHeadlessChrome/i.test(ua)) {
975
+ description.unshift('headless');
976
+ }
977
+ }
978
+ // Detect Opera desktop modes.
979
+ if (name == 'Opera' && (data = /\bzbov|zvav$/.exec(os))) {
980
+ name += ' ';
981
+ description.unshift('desktop mode');
982
+ if (data == 'zvav') {
983
+ name += 'Mini';
984
+ version = null;
985
+ } else {
986
+ name += 'Mobile';
987
+ }
988
+ os = os.replace(RegExp(' *' + data + '$'), '');
989
+ }
990
+ // Detect Chrome desktop mode.
991
+ else if (name == 'Safari' && /\bChrome\b/.exec(layout && layout[1])) {
992
+ description.unshift('desktop mode');
993
+ name = 'Chrome Mobile';
994
+ version = null;
995
+
996
+ if (/\bOS X\b/.test(os)) {
997
+ manufacturer = 'Apple';
998
+ os = 'iOS 4.3+';
999
+ } else {
1000
+ os = null;
1001
+ }
1002
+ }
1003
+ // Newer versions of SRWare Iron uses the Chrome tag to indicate its version number.
1004
+ else if (/\bSRWare Iron\b/.test(name) && !version) {
1005
+ version = getVersion('Chrome');
1006
+ }
1007
+ // Strip incorrect OS versions.
1008
+ if (version && version.indexOf((data = /[\d.]+$/.exec(os))) == 0 &&
1009
+ ua.indexOf('/' + data + '-') > -1) {
1010
+ os = trim(os.replace(data, ''));
1011
+ }
1012
+ // Ensure OS does not include the browser name.
1013
+ if (os && os.indexOf(name) != -1 && !RegExp(name + ' OS').test(os)) {
1014
+ os = os.replace(RegExp(' *' + qualify(name) + ' *'), '');
1015
+ }
1016
+ // Add layout engine.
1017
+ if (layout && !/\b(?:Avant|Nook)\b/.test(name) && (
1018
+ /Browser|Lunascape|Maxthon/.test(name) ||
1019
+ name != 'Safari' && /^iOS/.test(os) && /\bSafari\b/.test(layout[1]) ||
1020
+ /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(name) && layout[1])) {
1021
+ // Don't add layout details to description if they are falsey.
1022
+ (data = layout[layout.length - 1]) && description.push(data);
1023
+ }
1024
+ // Combine contextual information.
1025
+ if (description.length) {
1026
+ description = ['(' + description.join('; ') + ')'];
1027
+ }
1028
+ // Append manufacturer to description.
1029
+ if (manufacturer && product && product.indexOf(manufacturer) < 0) {
1030
+ description.push('on ' + manufacturer);
1031
+ }
1032
+ // Append product to description.
1033
+ if (product) {
1034
+ description.push((/^on /.test(description[description.length - 1]) ? '' : 'on ') + product);
1035
+ }
1036
+ // Parse the OS into an object.
1037
+ if (os) {
1038
+ data = / ([\d.+]+)$/.exec(os);
1039
+ isSpecialCasedOS = data && os.charAt(os.length - data[0].length - 1) == '/';
1040
+ os = {
1041
+ 'architecture': 32,
1042
+ 'family': (data && !isSpecialCasedOS) ? os.replace(data[0], '') : os,
1043
+ 'version': data ? data[1] : null,
1044
+ 'toString': function() {
1045
+ var version = this.version;
1046
+ return this.family + ((version && !isSpecialCasedOS) ? ' ' + version : '') + (this.architecture == 64 ? ' 64-bit' : '');
1047
+ }
1048
+ };
1049
+ }
1050
+ // Add browser/OS architecture.
1051
+ if ((data = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(arch)) && !/\bi686\b/i.test(arch)) {
1052
+ if (os) {
1053
+ os.architecture = 64;
1054
+ os.family = os.family.replace(RegExp(' *' + data), '');
1055
+ }
1056
+ if (
1057
+ name && (/\bWOW64\b/i.test(ua) ||
1058
+ (useFeatures && /\w(?:86|32)$/.test(nav.cpuClass || nav.platform) && !/\bWin64; x64\b/i.test(ua)))
1059
+ ) {
1060
+ description.unshift('32-bit');
1061
+ }
1062
+ }
1063
+ // Chrome 39 and above on OS X is always 64-bit.
1064
+ else if (
1065
+ os && /^OS X/.test(os.family) &&
1066
+ name == 'Chrome' && parseFloat(version) >= 39
1067
+ ) {
1068
+ os.architecture = 64;
1069
+ }
1070
+
1071
+ ua || (ua = null);
1072
+
1073
+ /*------------------------------------------------------------------------*/
1074
+
1075
+ /**
1076
+ * The platform object.
1077
+ *
1078
+ * @name platform
1079
+ * @type Object
1080
+ */
1081
+ var platform = {};
1082
+
1083
+ /**
1084
+ * The platform description.
1085
+ *
1086
+ * @memberOf platform
1087
+ * @type string|null
1088
+ */
1089
+ platform.description = ua;
1090
+
1091
+ /**
1092
+ * The name of the browser's layout engine.
1093
+ *
1094
+ * The list of common layout engines include:
1095
+ * "Blink", "EdgeHTML", "Gecko", "Trident" and "WebKit"
1096
+ *
1097
+ * @memberOf platform
1098
+ * @type string|null
1099
+ */
1100
+ platform.layout = layout && layout[0];
1101
+
1102
+ /**
1103
+ * The name of the product's manufacturer.
1104
+ *
1105
+ * The list of manufacturers include:
1106
+ * "Apple", "Archos", "Amazon", "Asus", "Barnes & Noble", "BlackBerry",
1107
+ * "Google", "HP", "HTC", "LG", "Microsoft", "Motorola", "Nintendo",
1108
+ * "Nokia", "Samsung" and "Sony"
1109
+ *
1110
+ * @memberOf platform
1111
+ * @type string|null
1112
+ */
1113
+ platform.manufacturer = manufacturer;
1114
+
1115
+ /**
1116
+ * The name of the browser/environment.
1117
+ *
1118
+ * The list of common browser names include:
1119
+ * "Chrome", "Electron", "Firefox", "Firefox for iOS", "IE",
1120
+ * "Microsoft Edge", "PhantomJS", "Safari", "SeaMonkey", "Silk",
1121
+ * "Opera Mini" and "Opera"
1122
+ *
1123
+ * Mobile versions of some browsers have "Mobile" appended to their name:
1124
+ * eg. "Chrome Mobile", "Firefox Mobile", "IE Mobile" and "Opera Mobile"
1125
+ *
1126
+ * @memberOf platform
1127
+ * @type string|null
1128
+ */
1129
+ platform.name = name;
1130
+
1131
+ /**
1132
+ * The alpha/beta release indicator.
1133
+ *
1134
+ * @memberOf platform
1135
+ * @type string|null
1136
+ */
1137
+ platform.prerelease = prerelease;
1138
+
1139
+ /**
1140
+ * The name of the product hosting the browser.
1141
+ *
1142
+ * The list of common products include:
1143
+ *
1144
+ * "BlackBerry", "Galaxy S4", "Lumia", "iPad", "iPod", "iPhone", "Kindle",
1145
+ * "Kindle Fire", "Nexus", "Nook", "PlayBook", "TouchPad" and "Transformer"
1146
+ *
1147
+ * @memberOf platform
1148
+ * @type string|null
1149
+ */
1150
+ platform.product = product;
1151
+
1152
+ /**
1153
+ * The browser's user agent string.
1154
+ *
1155
+ * @memberOf platform
1156
+ * @type string|null
1157
+ */
1158
+ platform.ua = ua;
1159
+
1160
+ /**
1161
+ * The browser/environment version.
1162
+ *
1163
+ * @memberOf platform
1164
+ * @type string|null
1165
+ */
1166
+ platform.version = name && version;
1167
+
1168
+ /**
1169
+ * The name of the operating system.
1170
+ *
1171
+ * @memberOf platform
1172
+ * @type Object
1173
+ */
1174
+ platform.os = os || {
1175
+
1176
+ /**
1177
+ * The CPU architecture the OS is built for.
1178
+ *
1179
+ * @memberOf platform.os
1180
+ * @type number|null
1181
+ */
1182
+ 'architecture': null,
1183
+
1184
+ /**
1185
+ * The family of the OS.
1186
+ *
1187
+ * Common values include:
1188
+ * "Windows", "Windows Server 2008 R2 / 7", "Windows Server 2008 / Vista",
1189
+ * "Windows XP", "OS X", "Linux", "Ubuntu", "Debian", "Fedora", "Red Hat",
1190
+ * "SuSE", "Android", "iOS" and "Windows Phone"
1191
+ *
1192
+ * @memberOf platform.os
1193
+ * @type string|null
1194
+ */
1195
+ 'family': null,
1196
+
1197
+ /**
1198
+ * The version of the OS.
1199
+ *
1200
+ * @memberOf platform.os
1201
+ * @type string|null
1202
+ */
1203
+ 'version': null,
1204
+
1205
+ /**
1206
+ * Returns the OS string.
1207
+ *
1208
+ * @memberOf platform.os
1209
+ * @returns {string} The OS string.
1210
+ */
1211
+ 'toString': function() { return 'null'; }
1212
+ };
1213
+
1214
+ platform.parse = parse;
1215
+ platform.toString = toStringPlatform;
1216
+
1217
+ if (platform.version) {
1218
+ description.unshift(version);
1219
+ }
1220
+ if (platform.name) {
1221
+ description.unshift(name);
1222
+ }
1223
+ if (os && name && !(os == String(os).split(' ')[0] && (os == name.split(' ')[0] || product))) {
1224
+ description.push(product ? '(' + os + ')' : 'on ' + os);
1225
+ }
1226
+ if (description.length) {
1227
+ platform.description = description.join(' ');
1228
+ }
1229
+ return platform;
1230
+ }
1231
+
1232
+ /*--------------------------------------------------------------------------*/
1233
+
1234
+ // Export platform.
1235
+ var platform = parse();
1236
+
1237
+ // Some AMD build optimizers, like r.js, check for condition patterns like the following:
1238
+ if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
1239
+ // Expose platform on the global object to prevent errors when platform is
1240
+ // loaded by a script tag in the presence of an AMD loader.
1241
+ // See http://requirejs.org/docs/errors.html#mismatch for more details.
1242
+ root.platform = platform;
1243
+
1244
+ // Define as an anonymous module so platform can be aliased through path mapping.
1245
+ define(function() {
1246
+ return platform;
1247
+ });
1248
+ }
1249
+ // Check for `exports` after `define` in case a build optimizer adds an `exports` object.
1250
+ else if (freeExports && freeModule) {
1251
+ // Export for CommonJS support.
1252
+ forOwn(platform, function(value, key) {
1253
+ freeExports[key] = value;
1254
+ });
1255
+ }
1256
+ else {
1257
+ // Export to the global object.
1258
+ root.platform = platform;
1259
+ }
1260
+ }.call(this));