intia-theme 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_main.scss +13 -11
  3. data/favicon.png +0 -0
  4. data/node_modules/bulma/CHANGELOG.md +1558 -0
  5. data/node_modules/bulma/LICENSE +21 -0
  6. data/node_modules/bulma/README.md +134 -0
  7. data/node_modules/bulma/bulma.sass +10 -0
  8. data/node_modules/bulma/css/bulma-rtl.css +11811 -0
  9. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  10. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  11. data/node_modules/bulma/css/bulma.css +11811 -0
  12. data/node_modules/bulma/css/bulma.css.map +1 -0
  13. data/node_modules/bulma/css/bulma.min.css +1 -0
  14. data/node_modules/bulma/package.json +82 -0
  15. data/node_modules/bulma/sass/base/_all.sass +6 -0
  16. data/node_modules/bulma/sass/base/animations.sass +5 -0
  17. data/node_modules/bulma/sass/base/generic.sass +145 -0
  18. data/node_modules/bulma/sass/base/helpers.sass +1 -0
  19. data/node_modules/bulma/sass/base/minireset.sass +79 -0
  20. data/node_modules/bulma/sass/components/_all.sass +15 -0
  21. data/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
  22. data/node_modules/bulma/sass/components/card.sass +103 -0
  23. data/node_modules/bulma/sass/components/dropdown.sass +83 -0
  24. data/node_modules/bulma/sass/components/level.sass +79 -0
  25. data/node_modules/bulma/sass/components/media.sass +59 -0
  26. data/node_modules/bulma/sass/components/menu.sass +59 -0
  27. data/node_modules/bulma/sass/components/message.sass +101 -0
  28. data/node_modules/bulma/sass/components/modal.sass +117 -0
  29. data/node_modules/bulma/sass/components/navbar.sass +446 -0
  30. data/node_modules/bulma/sass/components/pagination.sass +166 -0
  31. data/node_modules/bulma/sass/components/panel.sass +121 -0
  32. data/node_modules/bulma/sass/components/tabs.sass +176 -0
  33. data/node_modules/bulma/sass/elements/_all.sass +16 -0
  34. data/node_modules/bulma/sass/elements/box.sass +26 -0
  35. data/node_modules/bulma/sass/elements/button.sass +345 -0
  36. data/node_modules/bulma/sass/elements/container.sass +29 -0
  37. data/node_modules/bulma/sass/elements/content.sass +159 -0
  38. data/node_modules/bulma/sass/elements/form.sass +1 -0
  39. data/node_modules/bulma/sass/elements/icon.sass +46 -0
  40. data/node_modules/bulma/sass/elements/image.sass +73 -0
  41. data/node_modules/bulma/sass/elements/notification.sass +52 -0
  42. data/node_modules/bulma/sass/elements/other.sass +31 -0
  43. data/node_modules/bulma/sass/elements/progress.sass +73 -0
  44. data/node_modules/bulma/sass/elements/table.sass +133 -0
  45. data/node_modules/bulma/sass/elements/tag.sass +140 -0
  46. data/node_modules/bulma/sass/elements/title.sass +70 -0
  47. data/node_modules/bulma/sass/form/_all.sass +9 -0
  48. data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
  49. data/node_modules/bulma/sass/form/file.sass +184 -0
  50. data/node_modules/bulma/sass/form/input-textarea.sass +66 -0
  51. data/node_modules/bulma/sass/form/select.sass +87 -0
  52. data/node_modules/bulma/sass/form/shared.sass +60 -0
  53. data/node_modules/bulma/sass/form/tools.sass +215 -0
  54. data/node_modules/bulma/sass/grid/_all.sass +5 -0
  55. data/node_modules/bulma/sass/grid/columns.sass +513 -0
  56. data/node_modules/bulma/sass/grid/tiles.sass +36 -0
  57. data/node_modules/bulma/sass/helpers/_all.sass +12 -0
  58. data/node_modules/bulma/sass/helpers/color.sass +39 -0
  59. data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
  60. data/node_modules/bulma/sass/helpers/float.sass +10 -0
  61. data/node_modules/bulma/sass/helpers/other.sass +14 -0
  62. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  63. data/node_modules/bulma/sass/helpers/position.sass +7 -0
  64. data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
  65. data/node_modules/bulma/sass/helpers/typography.sass +103 -0
  66. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  67. data/node_modules/bulma/sass/layout/_all.sass +6 -0
  68. data/node_modules/bulma/sass/layout/footer.sass +11 -0
  69. data/node_modules/bulma/sass/layout/hero.sass +153 -0
  70. data/node_modules/bulma/sass/layout/section.sass +17 -0
  71. data/node_modules/bulma/sass/utilities/_all.sass +9 -0
  72. data/node_modules/bulma/sass/utilities/animations.sass +1 -0
  73. data/node_modules/bulma/sass/utilities/controls.sass +49 -0
  74. data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -0
  75. data/node_modules/bulma/sass/utilities/extends.sass +25 -0
  76. data/node_modules/bulma/sass/utilities/functions.sass +136 -0
  77. data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
  78. data/node_modules/bulma/sass/utilities/mixins.sass +280 -0
  79. data/node_modules/bulma-block-list/LICENSE.txt +21 -0
  80. data/node_modules/bulma-block-list/README.md +32 -0
  81. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
  82. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
  83. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
  84. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
  85. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
  86. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
  87. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
  88. data/node_modules/bulma-block-list/node_modules/bulma/package.json +80 -0
  89. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
  90. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
  91. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
  92. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
  93. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
  94. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  95. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
  96. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
  97. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
  98. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -0
  99. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
  100. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
  101. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
  102. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
  103. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
  104. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
  105. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
  106. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
  107. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
  108. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
  109. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
  110. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
  111. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
  112. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
  113. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
  114. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
  115. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
  116. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
  117. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
  118. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
  119. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
  120. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
  121. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
  122. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  123. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
  124. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
  125. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
  126. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
  127. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
  128. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
  129. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
  130. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
  131. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
  132. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
  133. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
  134. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
  135. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
  136. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
  137. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
  138. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
  139. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
  140. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
  141. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  142. data/node_modules/bulma-block-list/package.json +59 -0
  143. data/node_modules/bulma-block-list/src/block-list.scss +109 -0
  144. data/node_modules/bulma-block-list/src/demo.scss +3 -0
  145. data/node_modules/bulma-carousel/CHANGELOG.md +307 -0
  146. data/node_modules/bulma-carousel/LICENSE +21 -0
  147. data/node_modules/bulma-carousel/README.md +13 -0
  148. data/node_modules/bulma-carousel/dist/css/bulma-carousel.min.css +1 -0
  149. data/node_modules/bulma-carousel/dist/js/bulma-carousel.js +2371 -0
  150. data/node_modules/bulma-carousel/package.json +108 -0
  151. data/node_modules/bulma-carousel/src/demo/_data/events.yml +15 -0
  152. data/node_modules/bulma-carousel/src/demo/_data/getters.yml +26 -0
  153. data/node_modules/bulma-carousel/src/demo/_data/menu.yml +26 -0
  154. data/node_modules/bulma-carousel/src/demo/_data/methods.yml +57 -0
  155. data/node_modules/bulma-carousel/src/demo/_data/options.yml +79 -0
  156. data/node_modules/bulma-carousel/src/demo/_data/setters.yml +0 -0
  157. data/node_modules/bulma-carousel/src/demo/_data/tree.yml +30 -0
  158. data/node_modules/bulma-carousel/src/demo/_includes/anchor.html +3 -0
  159. data/node_modules/bulma-carousel/src/demo/_includes/breadcrumb.html +5 -0
  160. data/node_modules/bulma-carousel/src/demo/_includes/events.html +33 -0
  161. data/node_modules/bulma-carousel/src/demo/_includes/getters.html +28 -0
  162. data/node_modules/bulma-carousel/src/demo/_includes/head.html +22 -0
  163. data/node_modules/bulma-carousel/src/demo/_includes/menu.html +22 -0
  164. data/node_modules/bulma-carousel/src/demo/_includes/methods.html +49 -0
  165. data/node_modules/bulma-carousel/src/demo/_includes/options.html +33 -0
  166. data/node_modules/bulma-carousel/src/demo/_includes/setters.html +28 -0
  167. data/node_modules/bulma-carousel/src/demo/_includes/tree.html +25 -0
  168. data/node_modules/bulma-carousel/src/demo/_includes/variables.html +28 -0
  169. data/node_modules/bulma-carousel/src/demo/_layouts/default.html +47 -0
  170. data/node_modules/bulma-carousel/src/demo/assets/css/bulma-carousel.min.css +1 -0
  171. data/node_modules/bulma-carousel/src/demo/assets/css/documentation.min.css +1 -0
  172. data/node_modules/bulma-carousel/src/demo/assets/css/highlight.css +78 -0
  173. data/node_modules/bulma-carousel/src/demo/assets/images/1.jpg +0 -0
  174. data/node_modules/bulma-carousel/src/demo/assets/images/2.jpg +0 -0
  175. data/node_modules/bulma-carousel/src/demo/assets/images/3.jpg +0 -0
  176. data/node_modules/bulma-carousel/src/demo/assets/images/4.jpg +0 -0
  177. data/node_modules/bulma-carousel/src/demo/assets/images/5.jpg +0 -0
  178. data/node_modules/bulma-carousel/src/demo/assets/images/6.jpg +0 -0
  179. data/node_modules/bulma-carousel/src/demo/assets/images/left.svg +3 -0
  180. data/node_modules/bulma-carousel/src/demo/assets/images/right.svg +3 -0
  181. data/node_modules/bulma-carousel/src/demo/assets/js/bulma-carousel.min.js +1 -0
  182. data/node_modules/bulma-carousel/src/demo/assets/js/doc.js +111 -0
  183. data/node_modules/bulma-carousel/src/demo/assets/js/main.js +23 -0
  184. data/node_modules/bulma-carousel/src/demo/changelog.html +17 -0
  185. data/node_modules/bulma-carousel/src/demo/customization.html +78 -0
  186. data/node_modules/bulma-carousel/src/demo/demonstration/index.html +402 -0
  187. data/node_modules/bulma-carousel/src/demo/index.html +396 -0
  188. data/node_modules/bulma-carousel/src/js/components/Media.js +129 -0
  189. data/node_modules/bulma-carousel/src/js/components/autoplay.js +111 -0
  190. data/node_modules/bulma-carousel/src/js/components/breakpoint.js +91 -0
  191. data/node_modules/bulma-carousel/src/js/components/infinite.js +60 -0
  192. data/node_modules/bulma-carousel/src/js/components/loop.js +35 -0
  193. data/node_modules/bulma-carousel/src/js/components/navigation.js +107 -0
  194. data/node_modules/bulma-carousel/src/js/components/pagination.js +103 -0
  195. data/node_modules/bulma-carousel/src/js/components/swipe.js +106 -0
  196. data/node_modules/bulma-carousel/src/js/components/transitioner.js +74 -0
  197. data/node_modules/bulma-carousel/src/js/components/transitions/fade.js +90 -0
  198. data/node_modules/bulma-carousel/src/js/components/transitions/translate.js +98 -0
  199. data/node_modules/bulma-carousel/src/js/defaultOptions.js +50 -0
  200. data/node_modules/bulma-carousel/src/js/index.js +428 -0
  201. data/node_modules/bulma-carousel/src/js/templates/index.js +5 -0
  202. data/node_modules/bulma-carousel/src/js/templates/item.js +3 -0
  203. data/node_modules/bulma-carousel/src/js/templates/navigation.js +4 -0
  204. data/node_modules/bulma-carousel/src/js/templates/pagination-page.js +3 -0
  205. data/node_modules/bulma-carousel/src/js/templates/pagination.js +3 -0
  206. data/node_modules/bulma-carousel/src/js/utils/coordinate.js +98 -0
  207. data/node_modules/bulma-carousel/src/js/utils/css.js +84 -0
  208. data/node_modules/bulma-carousel/src/js/utils/detect-prefixes.js +50 -0
  209. data/node_modules/bulma-carousel/src/js/utils/detect-supportsPassive.js +16 -0
  210. data/node_modules/bulma-carousel/src/js/utils/device.js +17 -0
  211. data/node_modules/bulma-carousel/src/js/utils/dom.js +10 -0
  212. data/node_modules/bulma-carousel/src/js/utils/eventEmitter.js +19 -0
  213. data/node_modules/bulma-carousel/src/js/utils/events.js +65 -0
  214. data/node_modules/bulma-carousel/src/js/utils/index.js +16 -0
  215. data/node_modules/bulma-carousel/src/js/utils/type.js +21 -0
  216. data/node_modules/bulma-carousel/src/sass/index.sass +145 -0
  217. data/package-lock.json +32 -0
  218. data/package.json +10 -0
  219. metadata +217 -2
  220. data/_config.yml +0 -72
@@ -0,0 +1,78 @@
1
+ .highlight .hll { background-color: #404040 }
2
+ .highlight { background: #202020; color: #d0d0d0 }
3
+ .highlight .c { color: #999999; font-style: italic } /* Comment */
4
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5
+ .highlight .esc { color: #d0d0d0 } /* Escape */
6
+ .highlight .g { color: #d0d0d0 } /* Generic */
7
+ .highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
8
+ .highlight .l { color: #d0d0d0 } /* Literal */
9
+ .highlight .n { color: #d0d0d0 } /* Name */
10
+ .highlight .o { color: #d0d0d0 } /* Operator */
11
+ .highlight .x { color: #d0d0d0 } /* Other */
12
+ .highlight .p { color: #d0d0d0 } /* Punctuation */
13
+ .highlight .ch { color: #999999; font-style: italic } /* Comment.Hashbang */
14
+ .highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
15
+ .highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
16
+ .highlight .cpf { color: #999999; font-style: italic } /* Comment.PreprocFile */
17
+ .highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
18
+ .highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
19
+ .highlight .gd { color: #d22323 } /* Generic.Deleted */
20
+ .highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
21
+ .highlight .gr { color: #d22323 } /* Generic.Error */
22
+ .highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
23
+ .highlight .gi { color: #589819 } /* Generic.Inserted */
24
+ .highlight .go { color: #cccccc } /* Generic.Output */
25
+ .highlight .gp { color: #aaaaaa } /* Generic.Prompt */
26
+ .highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
27
+ .highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
28
+ .highlight .gt { color: #d22323 } /* Generic.Traceback */
29
+ .highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
30
+ .highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
31
+ .highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
32
+ .highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
33
+ .highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
34
+ .highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
35
+ .highlight .ld { color: #d0d0d0 } /* Literal.Date */
36
+ .highlight .m { color: #3677a9 } /* Literal.Number */
37
+ .highlight .s { color: #ed9d13 } /* Literal.String */
38
+ .highlight .na { color: #bbbbbb } /* Name.Attribute */
39
+ .highlight .nb { color: #24909d } /* Name.Builtin */
40
+ .highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
41
+ .highlight .no { color: #40ffff } /* Name.Constant */
42
+ .highlight .nd { color: #ffa500 } /* Name.Decorator */
43
+ .highlight .ni { color: #d0d0d0 } /* Name.Entity */
44
+ .highlight .ne { color: #bbbbbb } /* Name.Exception */
45
+ .highlight .nf { color: #447fcf } /* Name.Function */
46
+ .highlight .nl { color: #d0d0d0 } /* Name.Label */
47
+ .highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
48
+ .highlight .nx { color: #d0d0d0 } /* Name.Other */
49
+ .highlight .py { color: #d0d0d0 } /* Name.Property */
50
+ .highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
51
+ .highlight .nv { color: #40ffff } /* Name.Variable */
52
+ .highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
53
+ .highlight .w { color: #666666 } /* Text.Whitespace */
54
+ .highlight .mb { color: #3677a9 } /* Literal.Number.Bin */
55
+ .highlight .mf { color: #3677a9 } /* Literal.Number.Float */
56
+ .highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
57
+ .highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
58
+ .highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
59
+ .highlight .sa { color: #ed9d13 } /* Literal.String.Affix */
60
+ .highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
61
+ .highlight .sc { color: #ed9d13 } /* Literal.String.Char */
62
+ .highlight .dl { color: #ed9d13 } /* Literal.String.Delimiter */
63
+ .highlight .sd { color: #ed9d13 } /* Literal.String.Doc */
64
+ .highlight .s2 { color: #ed9d13 } /* Literal.String.Double */
65
+ .highlight .se { color: #ed9d13 } /* Literal.String.Escape */
66
+ .highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */
67
+ .highlight .si { color: #ed9d13 } /* Literal.String.Interpol */
68
+ .highlight .sx { color: #ffa500 } /* Literal.String.Other */
69
+ .highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
70
+ .highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
71
+ .highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
72
+ .highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
73
+ .highlight .fm { color: #447fcf } /* Name.Function.Magic */
74
+ .highlight .vc { color: #40ffff } /* Name.Variable.Class */
75
+ .highlight .vg { color: #40ffff } /* Name.Variable.Global */
76
+ .highlight .vi { color: #40ffff } /* Name.Variable.Instance */
77
+ .highlight .vm { color: #40ffff } /* Name.Variable.Magic */
78
+ .highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Gravit.io -->
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 100 100" width="100" height="100"><defs><clipPath id="_clipPath_Rmt62eEg1OXF13UQV6A0tZ7nRrSHuqzl"><rect width="100" height="100"/></clipPath></defs><g clip-path="url(#_clipPath_Rmt62eEg1OXF13UQV6A0tZ7nRrSHuqzl)"><path d=" M 68.738 87.477 L 68.738 87.477 L 31.262 50 L 68.738 12.523" fill="none" vector-effect="non-scaling-stroke" stroke-width="8" stroke="rgb(0,0,0)" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="3"/></g></svg>
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Gravit.io -->
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 100 100" width="100" height="100"><defs><clipPath id="_clipPath_sc80dOHRo7GcAKylIDWHu4HjiUHjgH8R"><rect width="100" height="100"/></clipPath></defs><g clip-path="url(#_clipPath_sc80dOHRo7GcAKylIDWHu4HjiUHjgH8R)"><path d=" M 39 12.523 L 39 12.523 L 76.477 50 L 39 87.477" fill="none" vector-effect="non-scaling-stroke" stroke-width="8" stroke="rgb(0,0,0)" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="3"/></g></svg>
@@ -0,0 +1 @@
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaCarousel=e():t.bulmaCarousel=e()}("undefined"!=typeof self?self:this,function(){return function(i){var n={};function s(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,s),e.l=!0,e.exports}return s.m=i,s.c=n,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=5)}([function(t,e,i){"use strict";i.d(e,"d",function(){return s}),i.d(e,"e",function(){return r}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return l});var n=i(2),s=function(e,t){(t=Array.isArray(t)?t:t.split(" ")).forEach(function(t){e.classList.remove(t)})},r=function(t){return t.getBoundingClientRect().width||t.offsetWidth},o=function(t){return t.getBoundingClientRect().height||t.offsetHeight},a=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=t.offsetHeight;if(e){var n=window.getComputedStyle(t);i+=parseInt(n.marginTop)+parseInt(n.marginBottom)}return i},l=function(t,e){if(!e)return window.getComputedStyle(t);if(Object(n.b)(e)){var i="";Object.keys(e).forEach(function(t){i+=t+": "+e[t]+";"}),t.style.cssText+=i}}},function(t,e,i){"use strict";e.a=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}return t}},function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"c",function(){return r}),i.d(e,"b",function(){return o});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(t){return"function"==typeof t},r=function(t){return"string"==typeof t||!!t&&"object"===(void 0===t?"undefined":n(t))&&"[object String]"===Object.prototype.toString.call(t)},o=function(t){return("function"==typeof t||"object"===(void 0===t?"undefined":n(t))&&!!t)&&!Array.isArray(t)}},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.events=new Map(t)}return n(e,[{key:"on",value:function(t,e){var i=this;return this.events.set(t,[].concat(function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}(this.events.has(t)?this.events.get(t):[]),[e])),function(){return i.events.set(t,i.events.get(t).filter(function(t){return t!==e}))}}},{key:"emit",value:function(t){for(var e=arguments.length,i=Array(1<e?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return this.events.has(t)&&this.events.get(t).map(function(t){return t.apply(void 0,i)})}}]),e}();e.a=s},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function s(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this._x=t,this._y=e}return n(s,[{key:"add",value:function(t){return new s(this._x+t._x,this._y+t._y)}},{key:"sub",value:function(t){return new s(this._x-t._x,this._y-t._y)}},{key:"distance",value:function(t){var e=this._x-t._x,i=this._y-t._y;return Math.sqrt(Math.pow(e,2)+Math.pow(i,2))}},{key:"max",value:function(t){return new s(Math.max(this._x,t._x),Math.max(this._y,t._y))}},{key:"equals",value:function(t){return this==t||!(!t||null==t)&&(this._x==t._x&&this._y==t._y)}},{key:"inside",value:function(t,e){return this._x>=t._x&&this._x<=e._x&&this._y>=t._y&&this._y<=e._y}},{key:"constrain",value:function(t,e){if(t._x>e._x||t._y>e._y)return this;var i=this._x,n=this._y;return null!==t._x&&(i=Math.max(i,t._x)),null!==e._x&&(i=Math.min(i,e._x)),null!==t._y&&(n=Math.max(n,t._y)),null!==e._y&&(n=Math.min(n,e._y)),new s(i,n)}},{key:"reposition",value:function(t){t.style.top=this._y+"px",t.style.left=this._x+"px"}},{key:"toString",value:function(){return"("+this._x+","+this._y+")"}},{key:"x",get:function(){return this._x},set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this._x=t,this}},{key:"y",get:function(){return this._y},set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this._y=t,this}}]),s}();e.a=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(6),s=i(0),a=i(2),r=i(3),l=i(7),h=i(9),u=i(10),d=i(11),c=i(13),f=i(15),p=i(18),v=i(19),y=i(22),_=i(23),g=i(24),b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},w=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(t){function o(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));if(r.element=Object(a.c)(t)?document.querySelector(t):t,!r.element)throw new Error("An invalid selector or non-DOM node has been provided.");r._clickEvents=["click","touch"];var i=r.element.dataset?Object.keys(r.element.dataset).filter(function(t){return Object.keys(y.a).includes(t)}).reduce(function(t,e){return b({},t,(i={},n=e,s=r.element.dataset[e],n in i?Object.defineProperty(i,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[n]=s,i));var i,n,s},{}):{};return r.options=b({},y.a,e,i),r._id=Object(n.a)("slider"),r.onShow=r.onShow.bind(r),r._init(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,r["a"]),w(o,[{key:"_init",value:function(){return this._items=Array.from(this.element.children),this._breakpoint=new h.a(this),this._autoplay=new l.a(this),this._navigation=new c.a(this),this._pagination=new f.a(this),this._infinite=new u.a(this),this._loop=new d.a(this),this._swipe=new p.a(this),this._build(),Object(a.a)(this.options.onReady)&&this.options.onReady(this),this}},{key:"_build",value:function(){var i=this;this.node=document.createRange().createContextualFragment(Object(_.a)(this.id)),this._ui={wrapper:this.node.firstChild,container:this.node.querySelector(".slider-container")},this.element.appendChild(this.node),this._ui.wrapper.classList.add("is-loading"),this._ui.container.style.opacity=0,this._transitioner=new v.a(this),this._slides=this._items.map(function(t,e){return i._createSlide(t,e)}),this.reset(),this._bindEvents(),this._ui.container.style.opacity=1,this._ui.wrapper.classList.remove("is-loading")}},{key:"_bindEvents",value:function(){this.on("show",this.onShow)}},{key:"_unbindEvents",value:function(){this.off("show",this.onShow)}},{key:"_createSlide",value:function(t,e){var i=document.createRange().createContextualFragment(Object(g.a)()).firstChild;return i.dataset.sliderIndex=e,i.appendChild(t),i}},{key:"_setDimensions",value:function(){var e=this;this.options.vertical?(this._ui.wrapper.style.height=Object(s.c)(this._slides[0])*this.slidesToShow,this.options.centerMode&&(this._ui.wrapper.style.padding=this.options.centerPadding+" 0px")):this.options.centerMode&&(this._ui.wrapper.style.padding="0px "+this.options.centerPadding),this._wrapperWidth=Object(s.e)(this._ui.wrapper),this._wrapperHeight=Object(s.c)(this._ui.wrapper),this.options.vertical?(this._slideWidth=Math.ceil(this._wrapperWidth),this._containerHeight=Math.ceil(Object(s.c)(this._slides[0])*this._slides.length),this._ui.container.style.height=this._containerHeight+"px"):(this._slideWidth=Math.ceil(this._wrapperWidth/this.slidesToShow),this._containerWidth=Math.ceil(this._slideWidth*this._slides.length),this._ui.container.style.width=this._containerWidth+"px"),this._slides.forEach(function(t){t.style.width=e._slideWidth+"px"})}},{key:"_setHeight",value:function(){"translate"!==this.options.effect&&(this._ui.container.style.height=Object(s.c)(this._slides[this.state.index])+"px")}},{key:"_setClasses",value:function(){var e=this;this._slides.forEach(function(t){Object(s.d)(t,"is-active is-current is-slide-previous is-slide-next"),Math.abs((e.state.index-1)%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-slide-previous"),Math.abs(e.state.index%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-current"),Math.abs((e.state.index+1)%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-slide-next")})}},{key:"onShow",value:function(t){this._navigation.refresh(),this._pagination.refresh(),this._setClasses()}},{key:"next",value:function(){!this.options.loop&&!this.options.infinite&&this.state.index+this.slidesToScroll>this.state.length-this.slidesToShow&&!this.options.centerMode?this.state.next=this.state.index:this.state.next=this.state.index+this.slidesToScroll,this.show()}},{key:"previous",value:function(){this.options.loop||this.options.infinite||0!==this.state.index?this.state.next=this.state.index-this.slidesToScroll:this.state.next=this.state.index,this.show()}},{key:"start",value:function(){this._autoplay.start()}},{key:"pause",value:function(){this._autoplay.pause()}},{key:"stop",value:function(){this._autoplay.stop()}},{key:"show",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];!this.state.length||this.state.length<=this.slidesToShow||("Number"==typeof t&&(this.state.next=t),this.options.loop&&this._loop.apply(),this.options.infinite&&this._infinite.apply(),this.state.index!==this.state.next&&(this.emit("before:show",this.state),this._transitioner.apply(e,this._setHeight.bind(this)),this.emit("after:show",this.state),this.emit("show",this)))}},{key:"reset",value:function(){var e=this;this.state={length:this._items.length,index:Math.abs(this.options.initialSlide),next:Math.abs(this.options.initialSlide),prev:void 0},this.options.loop&&this.options.infinite&&(this.options.loop=!1),this.options.slidesToScroll>this.options.slidesToShow&&(this.options.slidesToScroll=this.slidesToShow),this._breakpoint.init(),this.state.index>=this.state.length&&0!==this.state.index&&(this.state.index=this.state.index-this.slidesToScroll),this.state.length<=this.slidesToShow&&(this.state.index=0),this._ui.wrapper.appendChild(this._navigation.init().render()),this._ui.wrapper.appendChild(this._pagination.init().render()),this.options.navigationSwipe?this._swipe.bindEvents():this._swipe._bindEvents(),this._breakpoint.apply(),this._slides.forEach(function(t){return e._ui.container.appendChild(t)}),this._transitioner.init().apply(!0,this._setHeight.bind(this)),this.options.autoplay&&this._autoplay.init().start()}},{key:"destroy",value:function(){var e=this;this._unbindEvents(),this._items.forEach(function(t){e.element.appendChild(t)}),this.node.remove()}},{key:"id",get:function(){return this._id}},{key:"index",set:function(t){this._index=t},get:function(){return this._index}},{key:"length",set:function(t){this._length=t},get:function(){return this._length}},{key:"slides",get:function(){return this._slides},set:function(t){this._slides=t}},{key:"slidesToScroll",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToScroll():1}},{key:"slidesToShow",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToShow():1}},{key:"direction",get:function(){return"rtl"===this.element.dir.toLowerCase()||"rtl"===this.element.style.direction?"rtl":"ltr"}},{key:"wrapper",get:function(){return this._ui.wrapper}},{key:"wrapperWidth",get:function(){return this._wrapperWidth||0}},{key:"container",get:function(){return this._ui.container}},{key:"containerWidth",get:function(){return this._containerWidth||0}},{key:"slideWidth",get:function(){return this._slideWidth||0}},{key:"transitioner",get:function(){return this._transitioner}}],[{key:"attach",value:function(){var i=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".slider",n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=new Array,e=Object(a.c)(t)?document.querySelectorAll(t):Array.isArray(t)?t:[t];return[].forEach.call(e,function(t){if(void 0===t[i.constructor.name]){var e=new o(t,n);t[i.constructor.name]=e,s.push(e)}else s.push(t[i.constructor.name])}),s}}]),o}();e.default=o},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"")+([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(t){return(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)})}},function(t,e,i){"use strict";var n=i(3),s=i(8),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();Symbol("onVisibilityChange"),Symbol("onMouseEnter"),Symbol("onMouseLeave");var o=function(t){function i(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e.slider=t,e.onVisibilityChange=e.onVisibilityChange.bind(e),e.onMouseEnter=e.onMouseEnter.bind(e),e.onMouseLeave=e.onMouseLeave.bind(e),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,n["a"]),r(i,[{key:"init",value:function(){return this._bindEvents(),this}},{key:"_bindEvents",value:function(){document.addEventListener("visibilitychange",this.onVisibilityChange),this.slider.options.pauseOnHover&&(this.slider.container.addEventListener(s.a,this.onMouseEnter),this.slider.container.addEventListener(s.b,this.onMouseLeave))}},{key:"_unbindEvents",value:function(){document.removeEventListener("visibilitychange",this.onVisibilityChange),this.slider.container.removeEventListener(s.a,this.onMouseEnter),this.slider.container.removeEventListener(s.b,this.onMouseLeave)}},{key:"start",value:function(){var t=this;this.stop(),this.slider.options.autoplay&&(this.emit("start",this),this._interval=setInterval(function(){t._hovering&&t.slider.options.pauseOnHover||(!t.slider.options.centerMode&&t.slider.state.next>=t.slider.state.length-t.slider.slidesToShow&&!t.slider.options.loop&&!t.slider.options.infinite?t.stop():t.slider.next())},this.slider.options.autoplaySpeed))}},{key:"stop",value:function(){this._interval=clearInterval(this._interval),this.emit("stop",this)}},{key:"pause",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;this.paused||(this.timer&&this.stop(),this.paused=!0,0===e?(this.paused=!1,this.start()):this.slider.on("transition:end",function(){t&&(t.paused=!1,t.run?t.start():t.stop())}))}},{key:"onVisibilityChange",value:function(t){document.hidden?this.stop():this.start()}},{key:"onMouseEnter",value:function(t){this._hovering=!0,this.slider.options.pauseOnHover&&this.pause()}},{key:"onMouseLeave",value:function(t){this._hovering=!1,this.slider.options.pauseOnHover&&this.pause()}}]),i}();e.a=o},function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return a});window.navigator.pointerEnabled||window.navigator.msPointerEnabled,window.navigator.msPointerEnabled&&1<window.navigator.msMaxTouchPoints||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints,navigator.userAgent.match(/(Android);?[\s\/]+([\d.]+)?/),navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/),navigator.userAgent.match(/(iPod)(.*OS\s([\d_]+))?/),!navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/)&&navigator.userAgent.match(/(iPhone\sOS)\s([\d_]+)/),0<=navigator.userAgent.toLowerCase().indexOf("safari")&&navigator.userAgent.toLowerCase().indexOf("chrome")<0&&navigator.userAgent.toLowerCase().indexOf("android"),/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);var n=!!("ontouchstart"in window),s=!!("PointerEvent"in window),r=n||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,o=r&&s?"pointerenter":"mouseenter",a=r&&s?"pointerleave":"mouseleave"},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=Symbol("onResize"),r=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this.options=t.options,this[s]=this[s].bind(this),this._bindEvents()}return n(e,[{key:"init",value:function(){return this._defaultBreakpoint={slidesToShow:this.options.slidesToShow,slidesToScroll:this.options.slidesToScroll},this.options.breakpoints.sort(function(t,e){return parseInt(t.changePoint,10)>parseInt(e.changePoint,10)}),this._currentBreakpoint=this._getActiveBreakpoint(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){window.addEventListener("resize",this[s]),window.addEventListener("orientationchange",this[s])}},{key:"_unbindEvents",value:function(){window.removeEventListener("resize",this[s]),window.removeEventListener("orientationchange",this[s])}},{key:"_getActiveBreakpoint",value:function(){var t=!0,e=!1,i=void 0;try{for(var n,s=this.options.breakpoints[Symbol.iterator]();!(t=(n=s.next()).done);t=!0){var r=n.value;if(r.changePoint>=window.innerWidth)return r}}catch(t){e=!0,i=t}finally{try{!t&&s.return&&s.return()}finally{if(e)throw i}}return this._defaultBreakpoint}},{key:"getSlidesToShow",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToShow:this._defaultBreakpoint.slidesToShow}},{key:"getSlidesToScroll",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToScroll:this._defaultBreakpoint.slidesToScroll}},{key:"apply",value:function(){this.slider.state.index>=this.slider.state.length&&0!==this.slider.state.index&&(this.slider.state.index=this.slider.state.index-this._currentBreakpoint.slidesToScroll),this.slider.state.length<=this._currentBreakpoint.slidesToShow&&(this.slider.state.index=0),this.options.loop&&this.slider._loop.init().apply(),this.options.infinite&&this.slider._infinite.init().apply(),this.slider._setDimensions(),this.slider._transitioner.init().apply(!0,this.slider._setHeight.bind(this.slider)),this.slider._setClasses(),this.slider._navigation.refresh(),this.slider._pagination.refresh()}},{key:s,value:function(t){var e=this._getActiveBreakpoint();e.slidesToShow!==this._currentBreakpoint.slidesToShow&&(this._currentBreakpoint=e,this.apply())}}]),e}();e.a=r},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t}return n(e,[{key:"init",value:function(){if(this.slider.options.infinite&&"translate"===this.slider.options.effect){this.slider.options.centerMode?this._infiniteCount=Math.ceil(this.slider.slidesToShow+this.slider.slidesToShow/2):this._infiniteCount=this.slider.slidesToShow;for(var t=[],e=0,i=this.slider.state.length;i>this.slider.state.length-1-this._infiniteCount;i-=1)e=i-1,t.unshift(this._cloneSlide(this.slider.slides[e],e-this.slider.state.length));for(var n=[],s=0;s<this._infiniteCount+this.slider.state.length;s+=1)n.push(this._cloneSlide(this.slider.slides[s%this.slider.state.length],s+this.slider.state.length));this.slider.slides=[].concat(t,function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}(this.slider.slides),n)}return this}},{key:"apply",value:function(){}},{key:"onTransitionEnd",value:function(t){this.slider.options.infinite&&(this.slider.state.next>=this.slider.state.length?(this.slider.state.index=this.slider.state.next=this.slider.state.next-this.slider.state.length,this.slider.transitioner.apply(!0)):this.slider.state.next<0&&(this.slider.state.index=this.slider.state.next=this.slider.state.length+this.slider.state.next,this.slider.transitioner.apply(!0)))}},{key:"_cloneSlide",value:function(t,e){var i=t.cloneNode(!0);return i.dataset.sliderIndex=e,i.dataset.cloned=!0,(i.querySelectorAll("[id]")||[]).forEach(function(t){t.setAttribute("id","")}),i}}]),e}();e.a=s},function(t,e,i){"use strict";var n=i(12),s=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var r=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t}return s(e,[{key:"init",value:function(){return this}},{key:"apply",value:function(){this.slider.options.loop&&(0<this.slider.state.next?this.slider.state.next<this.slider.state.length?this.slider.state.next>this.slider.state.length-this.slider.slidesToShow&&Object(n.a)(this.slider._slides[this.slider.state.length-1],this.slider.wrapper)?this.slider.state.next=0:this.slider.state.next=Math.min(Math.max(this.slider.state.next,0),this.slider.state.length-this.slider.slidesToShow):this.slider.state.next=0:this.slider.state.next<=0-this.slider.slidesToScroll?this.slider.state.next=this.slider.state.length-this.slider.slidesToShow:this.slider.state.next=0)}}]),e}();e.a=r},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(t,e){var i=t.getBoundingClientRect();return e=e||document.documentElement,0<=i.top&&0<=i.left&&i.bottom<=(window.innerHeight||e.clientHeight)&&i.right<=(window.innerWidth||e.clientWidth)}},function(t,e,i){"use strict";var n=i(14),s=i(1),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._clickEvents=["click","touch"],this._supportsPassive=Object(s.a)(),this.onPreviousClick=this.onPreviousClick.bind(this),this.onNextClick=this.onNextClick.bind(this),this.onKeyUp=this.onKeyUp.bind(this)}return r(e,[{key:"init",value:function(){return this.node=document.createRange().createContextualFragment(Object(n.a)(this.slider.options.icons)),this._ui={previous:this.node.querySelector(".slider-navigation-previous"),next:this.node.querySelector(".slider-navigation-next")},this._unbindEvents(),this._bindEvents(),this.refresh(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){var e=this;this.slider.wrapper.addEventListener("keyup",this.onKeyUp),this._clickEvents.forEach(function(t){e._ui.previous.addEventListener(t,e.onPreviousClick),e._ui.next.addEventListener(t,e.onNextClick)})}},{key:"_unbindEvents",value:function(){var e=this;this.slider.wrapper.removeEventListener("keyup",this.onKeyUp),this._clickEvents.forEach(function(t){e._ui.previous.removeEventListener(t,e.onPreviousClick),e._ui.next.removeEventListener(t,e.onNextClick)})}},{key:"onNextClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.options.navigation&&this.slider.next()}},{key:"onPreviousClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.options.navigation&&this.slider.previous()}},{key:"onKeyUp",value:function(t){this.slider.options.keyNavigation&&("ArrowRight"===t.key||"Right"===t.key?this.slider.next():"ArrowLeft"!==t.key&&"Left"!==t.key||this.slider.previous())}},{key:"refresh",value:function(){this.slider.options.loop||this.slider.options.infinite||(this.slider.options.navigation&&this.slider.state.length>this.slider.slidesToShow?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.remove("is-hidden"),0===this.slider.state.next?(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.remove("is-hidden")):this.slider.state.next>=this.slider.state.length-this.slider.slidesToShow&&!this.slider.options.centerMode?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden")):this.slider.state.next>=this.slider.state.length-1&&this.slider.options.centerMode&&(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden"))):(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.add("is-hidden")))}},{key:"render",value:function(){return this.node}}]),e}();e.a=o},function(t,e,i){"use strict";e.a=function(t){return'<div class="slider-navigation-previous">'+t.previous+'</div>\n<div class="slider-navigation-next">'+t.next+"</div>"}},function(t,e,i){"use strict";var n=i(16),s=i(17),r=i(1),o=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var a=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._clickEvents=["click","touch"],this._supportsPassive=Object(r.a)(),this.onPageClick=this.onPageClick.bind(this),this.onResize=this.onResize.bind(this)}return o(e,[{key:"init",value:function(){return this._pages=[],this.node=document.createRange().createContextualFragment(Object(n.a)()),this._ui={container:this.node.firstChild},this._count=Math.ceil((this.slider.state.length-this.slider.slidesToShow)/this.slider.slidesToScroll),this._draw(),this.refresh(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){var i=this;window.addEventListener("resize",this.onResize),window.addEventListener("orientationchange",this.onResize),this._clickEvents.forEach(function(e){i._pages.forEach(function(t){return t.addEventListener(e,i.onPageClick)})})}},{key:"_unbindEvents",value:function(){var i=this;window.removeEventListener("resize",this.onResize),window.removeEventListener("orientationchange",this.onResize),this._clickEvents.forEach(function(e){i._pages.forEach(function(t){return t.removeEventListener(e,i.onPageClick)})})}},{key:"_draw",value:function(){if(this._ui.container.innerHTML="",this.slider.options.pagination&&this.slider.state.length>this.slider.slidesToShow){for(var t=0;t<=this._count;t++){var e=document.createRange().createContextualFragment(Object(s.a)()).firstChild;e.dataset.index=t*this.slider.slidesToScroll,this._pages.push(e),this._ui.container.appendChild(e)}this._bindEvents()}}},{key:"onPageClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.state.next=t.currentTarget.dataset.index,this.slider.show()}},{key:"onResize",value:function(){this._draw()}},{key:"refresh",value:function(){var e=this,t=void 0;(t=this.slider.options.infinite?Math.ceil(this.slider.state.length-1/this.slider.slidesToScroll):Math.ceil((this.slider.state.length-this.slider.slidesToShow)/this.slider.slidesToScroll))!==this._count&&(this._count=t,this._draw()),this._pages.forEach(function(t){t.classList.remove("is-active"),parseInt(t.dataset.index,10)===e.slider.state.next%e.slider.state.length&&t.classList.add("is-active")})}},{key:"render",value:function(){return this.node}}]),e}();e.a=a},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-pagination"></div>'}},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-page"></div>'}},function(t,e,i){"use strict";var n=i(4),s=i(1),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._supportsPassive=Object(s.a)(),this.onStartDrag=this.onStartDrag.bind(this),this.onMoveDrag=this.onMoveDrag.bind(this),this.onStopDrag=this.onStopDrag.bind(this),this._init()}return r(e,[{key:"_init",value:function(){}},{key:"bindEvents",value:function(){var e=this;this.slider.container.addEventListener("dragstart",function(t){e._supportsPassive||t.preventDefault()}),this.slider.container.addEventListener("mousedown",this.onStartDrag),this.slider.container.addEventListener("touchstart",this.onStartDrag),window.addEventListener("mousemove",this.onMoveDrag),window.addEventListener("touchmove",this.onMoveDrag),window.addEventListener("mouseup",this.onStopDrag),window.addEventListener("touchend",this.onStopDrag),window.addEventListener("touchcancel",this.onStopDrag)}},{key:"unbindEvents",value:function(){var e=this;this.slider.container.removeEventListener("dragstart",function(t){e._supportsPassive||t.preventDefault()}),this.slider.container.removeEventListener("mousedown",this.onStartDrag),this.slider.container.removeEventListener("touchstart",this.onStartDrag),window.removeEventListener("mousemove",this.onMoveDrag),window.removeEventListener("touchmove",this.onMoveDrag),window.removeEventListener("mouseup",this.onStopDrag),window.removeEventListener("mouseup",this.onStopDrag),window.removeEventListener("touchcancel",this.onStopDrag)}},{key:"onStartDrag",value:function(t){if(t.touches){if(1<t.touches.length)return;t=t.touches[0]}this._origin=new n.a(t.screenX,t.screenY),this.width=this.slider.wrapperWidth,this.slider.transitioner.disable()}},{key:"onMoveDrag",value:function(t){if(this._origin){var e=t.touches?t.touches[0]:t;this._lastTranslate=new n.a(e.screenX-this._origin.x,e.screenY-this._origin.y),t.touches&&Math.abs(this._lastTranslate.x)>Math.abs(this._lastTranslate.y)&&(this._supportsPassive||t.preventDefault(),t.stopPropagation())}}},{key:"onStopDrag",value:function(t){this._origin&&this._lastTranslate&&(Math.abs(this._lastTranslate.x)>.2*this.width?this._lastTranslate.x<0?this.slider.next():this.slider.previous():this.slider.show(!0)),this._origin=null,this._lastTranslate=null}}]),e}();e.a=o},function(t,e,i){"use strict";var n=i(20),s=i(21),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this.options=t.options,this._animating=!1,this._animation=void 0,this._translate=new s.a(this,t,t.options),this._fade=new n.a(this,t,t.options)}return r(e,[{key:"init",value:function(){return this._fade.init(),this._translate.init(),this}},{key:"isAnimating",value:function(){return this._animating}},{key:"enable",value:function(){this._animation&&this._animation.enable()}},{key:"disable",value:function(){this._animation&&this._animation.disable()}},{key:"apply",value:function(t,e){if(!this._animating||t){switch(this.options.effect){case"fade":this._animation=this._fade;break;case"translate":default:this._animation=this._translate}this._animationCallback=e,t?this._animation&&this._animation.disable():(this._animation&&this._animation.enable(),this._animating=!0),this._animation&&this._animation.apply(),t&&this.end()}}},{key:"end",value:function(){this._animating=!1,this._animation=void 0,this.slider.state.index=this.slider.state.next,this._animationCallback&&this._animationCallback()}}]),e}();e.a=o},function(t,e,i){"use strict";var s=i(0),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var n=function(){function n(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.transitioner=t,this.slider=e,this.options=r({},i)}return o(n,[{key:"init",value:function(){var i=this;return"fade"===this.options.effect&&this.slider.slides.forEach(function(t,e){Object(s.a)(t,{position:"absolute",left:0,top:0,bottom:0,"z-index":t.dataset.sliderIndex==i.slider.state.index?0:-2,opacity:t.dataset.sliderIndex==i.slider.state.index?1:0})}),this}},{key:"enable",value:function(){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._newSlide&&(this._newSlide.addEventListener("transitionend",this.onTransitionEnd.bind(this)),this._newSlide.style.transition=this.options.duration+"ms "+this.options.timing,this._oldSlide&&(this._oldSlide.addEventListener("transitionend",this.onTransitionEnd.bind(this)),this._oldSlide.style.transition=this.options.duration+"ms "+this.options.timing))}},{key:"disable",value:function(){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._newSlide&&(this._newSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)),this._newSlide.style.transition="none",this._oldSlide&&(this._oldSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)),this._oldSlide.style.transition="none"))}},{key:"apply",value:function(t){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._oldSlide&&this._newSlide&&(Object(s.a)(this._oldSlide,{opacity:0}),Object(s.a)(this._newSlide,{opacity:1,"z-index":t?0:-1}))}},{key:"onTransitionEnd",value:function(t){"fade"===this.options.effect&&(this.transitioner.isAnimating()&&t.target==this._newSlide&&(this._newSlide&&(Object(s.a)(this._newSlide,{"z-index":0}),this._newSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this))),this._oldSlide&&(Object(s.a)(this._oldSlide,{"z-index":-2}),this._oldSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)))),this.transitioner.end())}}]),n}();e.a=n},function(t,e,i){"use strict";var r=i(4),o=i(0),s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var n=function(){function n(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.transitioner=t,this.slider=e,this.options=s({},i),this.onTransitionEnd=this.onTransitionEnd.bind(this)}return a(n,[{key:"init",value:function(){return this._position=new r.a(this.slider.container.offsetLeft,this.slider.container.offsetTop),this._bindEvents(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){this.slider.container.addEventListener("transitionend",this.onTransitionEnd)}},{key:"_unbindEvents",value:function(){this.slider.container.removeEventListener("transitionend",this.onTransitionEnd)}},{key:"enable",value:function(){this.slider.container.style.transition=this.options.duration+"ms "+this.options.timing}},{key:"disable",value:function(){this.slider.container.style.transition="none"}},{key:"apply",value:function(){var e=this,t=void 0;if("translate"===this.options.effect){var i=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],n=new r.a(i.offsetLeft,i.offsetTop);t=this.options.centerMode?new r.a(Math.round(Object(o.e)(this.slider.container)),Math.round(Object(o.b)(this.slider.container))):new r.a(Math.round(Object(o.e)(this.slider.container)-Object(o.e)(this.slider.wrapper)),Math.round(Object(o.b)(this.slider.container)-Object(o.b)(this.slider.wrapper)));var s=new r.a(Math.min(Math.max(-1*n.x,-1*t.x),0),Math.min(Math.max(-1*n.y,-1*t.y),0));this.options.loop&&(!this.options.vertical&&Math.abs(this._position.x)>t.x?(s.x=0,this.slider.state.next=0):this.options.vertical&&Math.abs(this._position.y)>t.y&&(s.y=0,this.slider.state.next=0)),this._position.x=s.x,this._position.y=s.y,this.options.centerMode&&(this._position.x=this._position.x+this.slider.wrapperWidth/2-Object(o.e)(i)/2),"rtl"===this.slider.direction&&(this._position.x=-this._position.x,this._position.y=-this._position.y),this.slider.container.style.transform="translate3d("+this._position.x+"px, "+this._position.y+"px, 0)",n.x>t.x&&this.slider.transitioner.end()}}},{key:"onTransitionEnd",value:function(t){"translate"===this.options.effect&&(this.transitioner.isAnimating()&&t.target==this.slider.container&&this.options.infinite&&this.slider._infinite.onTransitionEnd(t),this.transitioner.end())}}]),n}();e.a=n},function(t,e,i){"use strict";e.a={initialSlide:0,slidesToScroll:1,slidesToShow:1,navigation:!0,navigationKeys:!0,navigationSwipe:!0,pagination:!0,loop:!1,infinite:!1,effect:"translate",duration:300,timing:"ease",autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!0,breakpoints:[{changePoint:480,slidesToShow:1,slidesToScroll:1},{changePoint:640,slidesToShow:2,slidesToScroll:2},{changePoint:768,slidesToShow:3,slidesToScroll:3}],onReady:null,icons:{previous:'<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "/>\n </svg>',next:'<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "/>\n </svg>'}}},function(t,e,i){"use strict";e.a=function(t){return'<div id="'+t+'" class="slider" tabindex="0">\n <div class="slider-container"></div>\n </div>'}},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-item"></div>'}}]).default});
@@ -0,0 +1,111 @@
1
+ function ready(handler) {
2
+ if (/complete|loaded|interactive/.test(document.readyState) && document.body) {
3
+ handler();
4
+ } else {
5
+ document.addEventListener('DOMContentLoaded', handler, false);
6
+ }
7
+ }
8
+
9
+ var _clickEvents = ['click', 'touch'];
10
+
11
+ ready(function () {
12
+ const burgers = document.querySelectorAll('.burger');
13
+ [].forEach.call(burgers, burger => {
14
+ _clickEvents.forEach(clickEvent => {
15
+ burger.addEventListener(clickEvent, e => {
16
+ e.preventDefault();
17
+
18
+ const node = e.currentTarget;
19
+ if (node) {
20
+ node.classList.toggle('is-active');
21
+ // Get the target from the "data-target" attribute
22
+ let target = node.dataset.target;
23
+ if (target) {
24
+ const targetNode = document.querySelector(node.dataset.target);
25
+ if (targetNode) {
26
+ targetNode.classList.toggle('is-active');
27
+ }
28
+ }
29
+ }
30
+ });
31
+ });
32
+ });
33
+
34
+ const menus = document.querySelectorAll('.menu');
35
+ [].forEach.call(menus, menu => {
36
+ // Open menu which contains the current active item
37
+ let activeMenus = menu.querySelectorAll('.menu-item:not(.has-dropdown).is-active');
38
+ [].forEach.call(activeMenus, (activeMenu) => {
39
+ activeMenu = activeMenu.closest('.menu-item.has-dropdown');
40
+ if (activeMenu) {
41
+ activeMenu.classList.add('is-active');
42
+ }
43
+ });
44
+
45
+ let dropdownMenus = menu.querySelectorAll('.menu-item.has-dropdown > .menu-title');
46
+ [].forEach.call(dropdownMenus, (dropdownMenu) => {
47
+ dropdownMenu.addEventListener('click', e => {
48
+ e.preventDefault();
49
+ let currentMenu = e.currentTarget;
50
+
51
+ // Toggle current menu
52
+ currentMenu.closest('.menu-item.has-dropdown').classList.toggle('is-active');
53
+
54
+ // Close all other active menus
55
+ let otherActiveMenus = menu.querySelectorAll('.menu-item.has-dropdown.is-active');
56
+ [].forEach.call(otherActiveMenus, otherActiveMenu => {
57
+ if (!currentMenu.isEqualNode(otherActiveMenu.querySelector('.menu-title'))) {
58
+ otherActiveMenu.classList.remove('is-active');
59
+ }
60
+ });
61
+ });
62
+ });
63
+ });
64
+
65
+ let tabs = document.querySelectorAll('.tabs li a');
66
+ [].forEach.call(tabs, tab => {
67
+ if (window.location.hash) {
68
+ let tabToShow = tab.closest('.tabs').querySelector('[href="' + window.location.hash + '"]');
69
+ let tabContentToShow = document.querySelector(window.location.hash);
70
+ if (tabToShow && tabContentToShow) {
71
+ let tabToHide = tab.closest('.tabs').querySelector('li.is-active');
72
+ if (tabToHide) {
73
+ let tabToHideLink = tabToHide.querySelector('a');
74
+ let tabContentToHide = document.querySelector(tabToHideLink.getAttribute('href'));
75
+ if (tabContentToHide) {
76
+ tabContentToHide.classList.remove('is-active');
77
+ }
78
+ tabToHideLink.classList.remove('is-active');
79
+ tabToHide.classList.remove('is-active');
80
+ }
81
+ tabToShow.closest('li').classList.add('is-active');
82
+ tabContentToShow.classList.add('is-active');
83
+ }
84
+ }
85
+
86
+ _clickEvents.forEach(clickEvent => {
87
+ tab.addEventListener(clickEvent, event => {
88
+ event.preventDefault();
89
+ const tab = event.currentTarget;
90
+
91
+ let tabToHide = tab.closest('.tabs').querySelector('li.is-active');
92
+ if (tabToHide) {
93
+ let tabToHideLink = tabToHide.querySelector('a');
94
+ let tabContentToHide = document.querySelector(tabToHideLink.getAttribute('href'));
95
+ if (tabContentToHide) {
96
+ tabContentToHide.classList.remove('is-active');
97
+ }
98
+ tabToHideLink.classList.remove('is-active');
99
+
100
+ tabToHide.classList.remove('is-active');
101
+ }
102
+ tab.closest('li').classList.add('is-active');
103
+
104
+ let tabContentToShow = document.querySelector(tab.getAttribute('href'));
105
+ if (tabContentToShow) {
106
+ tabContentToShow.classList.add('is-active');
107
+ }
108
+ });
109
+ });
110
+ });
111
+ });
@@ -0,0 +1,23 @@
1
+ ready(function () {
2
+ bulmaCarousel.attach('#slider', {
3
+ slidesToScroll: 1,
4
+ slidesToShow: 4,
5
+ });
6
+ bulmaCarousel.attach('#slider1', {
7
+ slidesToScroll: 1,
8
+ slidesToShow: 3,
9
+ infinite: true
10
+ });
11
+ bulmaCarousel.attach('#slider2', {
12
+ slidesToScroll: 1,
13
+ slidesToShow: 3,
14
+ loop: true
15
+ });
16
+ bulmaCarousel.attach('.hero-carousel', {
17
+ slidesToScroll: 1,
18
+ slidesToShow: 1,
19
+ pagination: false,
20
+ effect: 'fade',
21
+ loop: true
22
+ });
23
+ });
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ route: changelog
4
+ title: Changelog
5
+ subtitle: Find the record of all the changes made to the component, such as new features, bug fixes, improvements, etc.
6
+ ---
7
+
8
+ </div>
9
+ </section>
10
+ <div class="changelog">
11
+ <section class="section has-text-centered has-background-light">
12
+ <h2 class="subtitle is-6 heading has-text-grey">March 18, 2019</h2>
13
+ <h1 class="title is-3 has-text-weight-light">Version 4.0.3</h2>
14
+ </section>
15
+ </div>
16
+ <section class="section">
17
+ <div class="container is-fluid">
@@ -0,0 +1,78 @@
1
+ ---
2
+ layout: default
3
+ route: customization
4
+ title: Customization
5
+ ---
6
+
7
+ <a href="#prerequisites" id="prerequisites" class="title is-4 has-text-weight-normal is-spaced anchor">
8
+ <span class="anchor-name">Prerequisites</span>
9
+ </a>
10
+
11
+ <p> To customize the template you must have <strong><a href="https://nodejs.org" target="_blank">node</a>, <a href="https://www.npmjs.com/get-npm" target="_blank">npm</a>, <a href="https://gulpjs.com/" target="_blank">Gulp</a> and <a href="https://jekyllrb.com/" target="_blank">Jekyll</a></strong> installed in your computer.</p>
12
+ <ul class="step-text">
13
+ <li>
14
+ <h6 class="title is-6">node and npm</h6>
15
+ <p>Installation guide of node can be found <a href="https://nodejs.org/en/" target="_blank">here</a>. As npm comes
16
+ bundled with node, separate installation of npm is not needed.<br />
17
+ If you have installed them, just checkout to the root folder and run the following command.</p>
18
+ <p>
19
+ <figure class="highlight">
20
+ <pre><code class="language-shell" data-lang="shell">npm install</code></pre>
21
+ </figure>
22
+ </p>
23
+ <p>You can see that a folder <code>node_modules</code> is generated in your root folder with all dependencies
24
+ files! </p>
25
+ </li>
26
+
27
+ <li>
28
+ <h6 class="title is-6">Gulp</h6>
29
+ <p>To start customization you will need to install Gulp for task automation.<br />
30
+ Getting started with Gulp is pretty simple. The Gulp site is a great place to get information on installing Gulp
31
+ if you need more information.</p>
32
+ <p>You need to first install Gulp-cli in your machine using the below command.</p>
33
+ <p>
34
+ <figure class="highlight">
35
+ <pre><code class="language-shell" data-lang="shell">npm install -g gulp-cli</code></pre>
36
+ </figure>
37
+ </p>
38
+ </li>
39
+ </ul>
40
+ <h6 class="title is-5 has-text-centered"><span class="icon has-text-success">
41
+ <i class="fas fa-thumbs-up"></i>
42
+ </span> You are now ready to customize the component.</h6>
43
+
44
+ <a href="#compilation" id="compilation" class="title is-4 has-text-weight-normal is-spaced anchor">
45
+ <span class="anchor-name">Compilation</span>
46
+ </a>
47
+
48
+ <p>We have created a Gulp configuration file <span class="helper">(guplfile.js)</span> which integrates many task to
49
+ automate the compilation.</p>
50
+ <p>We have also developed a Gulp plugin to automatically copy used dependencies from <strong>node_modules</strong> into
51
+ the template and replace all include paths related to them.</p>
52
+ <div class="content">
53
+ <ul>
54
+ <li>
55
+ <h6 class="title is-6">gulp build:styles</h6>
56
+ <p>Compile Sass sources and save them into the dist directory and the demo src directory.</p>
57
+ </li>
58
+ <li>
59
+ <h6 class="title is-6">gulp build:scripts</h6>
60
+ <p>Transpile ES6 Javscript sources and save them into the dist directory and the demo src directory.</p>
61
+ </li>
62
+ <li>
63
+ <h6 class="title is-6">gulp build</h6>
64
+ <p>Run both of previous commands</p>
65
+ </li>
66
+ <li>
67
+ <h6 class="title is-6">gulp demo</h6>
68
+ <p>Run a complete clean and build then compile demo sie with jekyll then launch a local server with watch
69
+ capability (demo site is now auto updated when you modify source code).</p>
70
+ </li>
71
+ </ul>
72
+ </div>
73
+
74
+ <a href="#sass" id="sass" class="title is-4 has-text-weight-normal is-spaced anchor">
75
+ <span class="anchor-name">Sass customization</span>
76
+ </a>
77
+ <p>The component provides SASS file which can be imported into your SASS project.</p>
78
+