rails_modular_admin 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1416) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/list.txt +23 -0
  3. data/app/assets/javascripts/rails_modular_admin/vendor.js +60351 -60351
  4. data/app/assets/javascripts/rails_modular_admin.js +1 -0
  5. data/app/assets/node_modules/animate.css/LICENSE +21 -0
  6. data/app/assets/node_modules/animate.css/README.md +233 -0
  7. data/app/assets/node_modules/animate.css/animate-config.json +120 -0
  8. data/app/assets/node_modules/animate.css/animate.css +3494 -0
  9. data/app/assets/node_modules/animate.css/animate.min.css +11 -0
  10. data/app/assets/node_modules/animate.css/bower.json +5 -0
  11. data/app/assets/node_modules/animate.css/gulpfile.js +107 -0
  12. data/app/assets/node_modules/animate.css/package.json +54 -0
  13. data/app/assets/node_modules/animate.css/source/_base.css +8 -0
  14. data/app/assets/node_modules/animate.css/source/attention_seekers/bounce.css +30 -0
  15. data/app/assets/node_modules/animate.css/source/attention_seekers/flash.css +16 -0
  16. data/app/assets/node_modules/animate.css/source/attention_seekers/headShake.css +30 -0
  17. data/app/assets/node_modules/animate.css/source/attention_seekers/jello.css +40 -0
  18. data/app/assets/node_modules/animate.css/source/attention_seekers/pulse.css +19 -0
  19. data/app/assets/node_modules/animate.css/source/attention_seekers/rubberBand.css +33 -0
  20. data/app/assets/node_modules/animate.css/source/attention_seekers/shake.css +25 -0
  21. data/app/assets/node_modules/animate.css/source/attention_seekers/swing.css +26 -0
  22. data/app/assets/node_modules/animate.css/source/attention_seekers/tada.css +31 -0
  23. data/app/assets/node_modules/animate.css/source/attention_seekers/wobble.css +35 -0
  24. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceIn.css +42 -0
  25. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInDown.css +35 -0
  26. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInLeft.css +35 -0
  27. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInRight.css +35 -0
  28. data/app/assets/node_modules/animate.css/source/bouncing_entrances/bounceInUp.css +35 -0
  29. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOut.css +21 -0
  30. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutDown.css +20 -0
  31. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutLeft.css +15 -0
  32. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutRight.css +15 -0
  33. data/app/assets/node_modules/animate.css/source/bouncing_exits/bounceOutUp.css +20 -0
  34. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeIn.css +13 -0
  35. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDown.css +15 -0
  36. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInDownBig.css +15 -0
  37. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeft.css +15 -0
  38. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInLeftBig.css +15 -0
  39. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRight.css +15 -0
  40. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInRightBig.css +15 -0
  41. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUp.css +15 -0
  42. data/app/assets/node_modules/animate.css/source/fading_entrances/fadeInUpBig.css +15 -0
  43. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOut.css +13 -0
  44. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDown.css +14 -0
  45. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutDownBig.css +14 -0
  46. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeft.css +14 -0
  47. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutLeftBig.css +14 -0
  48. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRight.css +14 -0
  49. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutRightBig.css +14 -0
  50. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUp.css +14 -0
  51. data/app/assets/node_modules/animate.css/source/fading_exits/fadeOutUpBig.css +14 -0
  52. data/app/assets/node_modules/animate.css/source/flippers/flip.css +31 -0
  53. data/app/assets/node_modules/animate.css/source/flippers/flipInX.css +30 -0
  54. data/app/assets/node_modules/animate.css/source/flippers/flipInY.css +30 -0
  55. data/app/assets/node_modules/animate.css/source/flippers/flipOutX.css +21 -0
  56. data/app/assets/node_modules/animate.css/source/flippers/flipOutY.css +21 -0
  57. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedIn.css +26 -0
  58. data/app/assets/node_modules/animate.css/source/lightspeed/lightSpeedOut.css +15 -0
  59. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateIn.css +17 -0
  60. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownLeft.css +17 -0
  61. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInDownRight.css +17 -0
  62. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpLeft.css +17 -0
  63. data/app/assets/node_modules/animate.css/source/rotating_entrances/rotateInUpRight.css +17 -0
  64. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOut.css +16 -0
  65. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownLeft.css +16 -0
  66. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutDownRight.css +16 -0
  67. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpLeft.css +16 -0
  68. data/app/assets/node_modules/animate.css/source/rotating_exits/rotateOutUpRight.css +16 -0
  69. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInDown.css +14 -0
  70. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInLeft.css +14 -0
  71. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInRight.css +14 -0
  72. data/app/assets/node_modules/animate.css/source/sliding_entrances/slideInUp.css +14 -0
  73. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutDown.css +14 -0
  74. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutLeft.css +14 -0
  75. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutRight.css +14 -0
  76. data/app/assets/node_modules/animate.css/source/sliding_exits/slideOutUp.css +14 -0
  77. data/app/assets/node_modules/animate.css/source/specials/hinge.css +31 -0
  78. data/app/assets/node_modules/animate.css/source/specials/jackInTheBox.css +24 -0
  79. data/app/assets/node_modules/animate.css/source/specials/rollIn.css +17 -0
  80. data/app/assets/node_modules/animate.css/source/specials/rollOut.css +16 -0
  81. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomIn.css +14 -0
  82. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInDown.css +17 -0
  83. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInLeft.css +17 -0
  84. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInRight.css +17 -0
  85. data/app/assets/node_modules/animate.css/source/zooming_entrances/zoomInUp.css +17 -0
  86. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOut.css +18 -0
  87. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutDown.css +18 -0
  88. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutLeft.css +16 -0
  89. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutRight.css +16 -0
  90. data/app/assets/node_modules/animate.css/source/zooming_exits/zoomOutUp.css +18 -0
  91. data/app/assets/node_modules/bootstrap/LICENSE +22 -0
  92. data/app/assets/node_modules/bootstrap/README.md +171 -0
  93. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css +1912 -0
  94. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.css.map +1 -0
  95. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css +7 -0
  96. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -0
  97. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css +330 -0
  98. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map +1 -0
  99. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css +8 -0
  100. data/app/assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -0
  101. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css +8981 -0
  102. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
  103. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +7 -0
  104. data/app/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
  105. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js +6444 -0
  106. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map +1 -0
  107. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
  108. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
  109. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js +3927 -0
  110. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.js.map +1 -0
  111. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
  112. data/app/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
  113. data/app/assets/node_modules/bootstrap/js/dist/alert.js +178 -0
  114. data/app/assets/node_modules/bootstrap/js/dist/alert.js.map +1 -0
  115. data/app/assets/node_modules/bootstrap/js/dist/button.js +167 -0
  116. data/app/assets/node_modules/bootstrap/js/dist/button.js.map +1 -0
  117. data/app/assets/node_modules/bootstrap/js/dist/carousel.js +508 -0
  118. data/app/assets/node_modules/bootstrap/js/dist/carousel.js.map +1 -0
  119. data/app/assets/node_modules/bootstrap/js/dist/collapse.js +367 -0
  120. data/app/assets/node_modules/bootstrap/js/dist/collapse.js.map +1 -0
  121. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js +489 -0
  122. data/app/assets/node_modules/bootstrap/js/dist/dropdown.js.map +1 -0
  123. data/app/assets/node_modules/bootstrap/js/dist/index.js +23 -0
  124. data/app/assets/node_modules/bootstrap/js/dist/index.js.map +1 -0
  125. data/app/assets/node_modules/bootstrap/js/dist/modal.js +585 -0
  126. data/app/assets/node_modules/bootstrap/js/dist/modal.js.map +1 -0
  127. data/app/assets/node_modules/bootstrap/js/dist/popover.js +206 -0
  128. data/app/assets/node_modules/bootstrap/js/dist/popover.js.map +1 -0
  129. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js +319 -0
  130. data/app/assets/node_modules/bootstrap/js/dist/scrollspy.js.map +1 -0
  131. data/app/assets/node_modules/bootstrap/js/dist/tab.js +251 -0
  132. data/app/assets/node_modules/bootstrap/js/dist/tab.js.map +1 -0
  133. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js +674 -0
  134. data/app/assets/node_modules/bootstrap/js/dist/tooltip.js.map +1 -0
  135. data/app/assets/node_modules/bootstrap/js/dist/util.js +132 -0
  136. data/app/assets/node_modules/bootstrap/js/dist/util.js.map +1 -0
  137. data/app/assets/node_modules/bootstrap/js/src/alert.js +183 -0
  138. data/app/assets/node_modules/bootstrap/js/src/button.js +175 -0
  139. data/app/assets/node_modules/bootstrap/js/src/carousel.js +517 -0
  140. data/app/assets/node_modules/bootstrap/js/src/collapse.js +394 -0
  141. data/app/assets/node_modules/bootstrap/js/src/dropdown.js +487 -0
  142. data/app/assets/node_modules/bootstrap/js/src/index.js +50 -0
  143. data/app/assets/node_modules/bootstrap/js/src/modal.js +579 -0
  144. data/app/assets/node_modules/bootstrap/js/src/popover.js +188 -0
  145. data/app/assets/node_modules/bootstrap/js/src/scrollspy.js +329 -0
  146. data/app/assets/node_modules/bootstrap/js/src/tab.js +263 -0
  147. data/app/assets/node_modules/bootstrap/js/src/tooltip.js +723 -0
  148. data/app/assets/node_modules/bootstrap/js/src/util.js +153 -0
  149. data/app/assets/node_modules/bootstrap/package.json +218 -0
  150. data/app/assets/node_modules/bootstrap/scss/_alert.scss +51 -0
  151. data/app/assets/node_modules/bootstrap/scss/_badge.scss +47 -0
  152. data/app/assets/node_modules/bootstrap/scss/_breadcrumb.scss +41 -0
  153. data/app/assets/node_modules/bootstrap/scss/_button-group.scss +172 -0
  154. data/app/assets/node_modules/bootstrap/scss/_buttons.scss +144 -0
  155. data/app/assets/node_modules/bootstrap/scss/_card.scss +301 -0
  156. data/app/assets/node_modules/bootstrap/scss/_carousel.scss +236 -0
  157. data/app/assets/node_modules/bootstrap/scss/_close.scss +34 -0
  158. data/app/assets/node_modules/bootstrap/scss/_code.scss +48 -0
  159. data/app/assets/node_modules/bootstrap/scss/_custom-forms.scss +421 -0
  160. data/app/assets/node_modules/bootstrap/scss/_dropdown.scss +166 -0
  161. data/app/assets/node_modules/bootstrap/scss/_forms.scss +335 -0
  162. data/app/assets/node_modules/bootstrap/scss/_functions.scss +86 -0
  163. data/app/assets/node_modules/bootstrap/scss/_grid.scss +52 -0
  164. data/app/assets/node_modules/bootstrap/scss/_images.scss +42 -0
  165. data/app/assets/node_modules/bootstrap/scss/_input-group.scss +158 -0
  166. data/app/assets/node_modules/bootstrap/scss/_jumbotron.scss +16 -0
  167. data/app/assets/node_modules/bootstrap/scss/_list-group.scss +115 -0
  168. data/app/assets/node_modules/bootstrap/scss/_media.scss +8 -0
  169. data/app/assets/node_modules/bootstrap/scss/_mixins.scss +41 -0
  170. data/app/assets/node_modules/bootstrap/scss/_modal.scss +168 -0
  171. data/app/assets/node_modules/bootstrap/scss/_nav.scss +118 -0
  172. data/app/assets/node_modules/bootstrap/scss/_navbar.scss +299 -0
  173. data/app/assets/node_modules/bootstrap/scss/_pagination.scss +78 -0
  174. data/app/assets/node_modules/bootstrap/scss/_popover.scss +183 -0
  175. data/app/assets/node_modules/bootstrap/scss/_print.scss +141 -0
  176. data/app/assets/node_modules/bootstrap/scss/_progress.scss +34 -0
  177. data/app/assets/node_modules/bootstrap/scss/_reboot.scss +480 -0
  178. data/app/assets/node_modules/bootstrap/scss/_root.scss +19 -0
  179. data/app/assets/node_modules/bootstrap/scss/_tables.scss +188 -0
  180. data/app/assets/node_modules/bootstrap/scss/_tooltip.scss +115 -0
  181. data/app/assets/node_modules/bootstrap/scss/_transitions.scss +22 -0
  182. data/app/assets/node_modules/bootstrap/scss/_type.scss +125 -0
  183. data/app/assets/node_modules/bootstrap/scss/_utilities.scss +15 -0
  184. data/app/assets/node_modules/bootstrap/scss/_variables.scss +929 -0
  185. data/app/assets/node_modules/bootstrap/scss/bootstrap-grid.scss +32 -0
  186. data/app/assets/node_modules/bootstrap/scss/bootstrap-reboot.scss +12 -0
  187. data/app/assets/node_modules/bootstrap/scss/bootstrap.scss +42 -0
  188. data/app/assets/node_modules/bootstrap/scss/mixins/_alert.scss +13 -0
  189. data/app/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +21 -0
  190. data/app/assets/node_modules/bootstrap/scss/mixins/_badge.scss +12 -0
  191. data/app/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +35 -0
  192. data/app/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +5 -0
  193. data/app/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  194. data/app/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +109 -0
  195. data/app/assets/node_modules/bootstrap/scss/mixins/_caret.scss +66 -0
  196. data/app/assets/node_modules/bootstrap/scss/mixins/_clearfix.scss +7 -0
  197. data/app/assets/node_modules/bootstrap/scss/mixins/_float.scss +11 -0
  198. data/app/assets/node_modules/bootstrap/scss/mixins/_forms.scss +147 -0
  199. data/app/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
  200. data/app/assets/node_modules/bootstrap/scss/mixins/_grid-framework.scss +67 -0
  201. data/app/assets/node_modules/bootstrap/scss/mixins/_grid.scss +52 -0
  202. data/app/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
  203. data/app/assets/node_modules/bootstrap/scss/mixins/_image.scss +36 -0
  204. data/app/assets/node_modules/bootstrap/scss/mixins/_list-group.scss +21 -0
  205. data/app/assets/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
  206. data/app/assets/node_modules/bootstrap/scss/mixins/_nav-divider.scss +10 -0
  207. data/app/assets/node_modules/bootstrap/scss/mixins/_pagination.scss +22 -0
  208. data/app/assets/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
  209. data/app/assets/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
  210. data/app/assets/node_modules/bootstrap/scss/mixins/_screen-reader.scss +33 -0
  211. data/app/assets/node_modules/bootstrap/scss/mixins/_size.scss +6 -0
  212. data/app/assets/node_modules/bootstrap/scss/mixins/_table-row.scss +30 -0
  213. data/app/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +14 -0
  214. data/app/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +13 -0
  215. data/app/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  216. data/app/assets/node_modules/bootstrap/scss/mixins/_transition.scss +13 -0
  217. data/app/assets/node_modules/bootstrap/scss/mixins/_visibility.scss +7 -0
  218. data/app/assets/node_modules/bootstrap/scss/utilities/_align.scss +8 -0
  219. data/app/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
  220. data/app/assets/node_modules/bootstrap/scss/utilities/_borders.scss +59 -0
  221. data/app/assets/node_modules/bootstrap/scss/utilities/_clearfix.scss +3 -0
  222. data/app/assets/node_modules/bootstrap/scss/utilities/_display.scss +38 -0
  223. data/app/assets/node_modules/bootstrap/scss/utilities/_embed.scss +52 -0
  224. data/app/assets/node_modules/bootstrap/scss/utilities/_flex.scss +51 -0
  225. data/app/assets/node_modules/bootstrap/scss/utilities/_float.scss +9 -0
  226. data/app/assets/node_modules/bootstrap/scss/utilities/_position.scss +37 -0
  227. data/app/assets/node_modules/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  228. data/app/assets/node_modules/bootstrap/scss/utilities/_shadows.scss +6 -0
  229. data/app/assets/node_modules/bootstrap/scss/utilities/_sizing.scss +12 -0
  230. data/app/assets/node_modules/bootstrap/scss/utilities/_spacing.scss +51 -0
  231. data/app/assets/node_modules/bootstrap/scss/utilities/_text.scss +58 -0
  232. data/app/assets/node_modules/bootstrap/scss/utilities/_visibility.scss +11 -0
  233. data/app/assets/node_modules/clone/LICENSE +18 -0
  234. data/app/assets/node_modules/clone/README.md +178 -0
  235. data/app/assets/node_modules/clone/clone.iml +10 -0
  236. data/app/assets/node_modules/clone/clone.js +251 -0
  237. data/app/assets/node_modules/clone/package.json +56 -0
  238. data/app/assets/node_modules/deep-equal/LICENSE +18 -0
  239. data/app/assets/node_modules/deep-equal/example/cmp.js +11 -0
  240. data/app/assets/node_modules/deep-equal/index.js +94 -0
  241. data/app/assets/node_modules/deep-equal/lib/is_arguments.js +20 -0
  242. data/app/assets/node_modules/deep-equal/lib/keys.js +9 -0
  243. data/app/assets/node_modules/deep-equal/package.json +58 -0
  244. data/app/assets/node_modules/deep-equal/readme.markdown +61 -0
  245. data/app/assets/node_modules/deep-equal/test/cmp.js +95 -0
  246. data/app/assets/node_modules/dropzone/CONTRIBUTING.md +6 -0
  247. data/app/assets/node_modules/dropzone/LICENSE +12 -0
  248. data/app/assets/node_modules/dropzone/README.md +36 -0
  249. data/app/assets/node_modules/dropzone/bower.json +16 -0
  250. data/app/assets/node_modules/dropzone/component.json +10 -0
  251. data/app/assets/node_modules/dropzone/composer.json +18 -0
  252. data/app/assets/node_modules/dropzone/dist/basic.css +39 -0
  253. data/app/assets/node_modules/dropzone/dist/dropzone-amd-module.js +3541 -0
  254. data/app/assets/node_modules/dropzone/dist/dropzone.css +388 -0
  255. data/app/assets/node_modules/dropzone/dist/dropzone.js +3526 -0
  256. data/app/assets/node_modules/dropzone/dist/min/basic.min.css +1 -0
  257. data/app/assets/node_modules/dropzone/dist/min/dropzone-amd-module.min.js +2 -0
  258. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.css +1 -0
  259. data/app/assets/node_modules/dropzone/dist/min/dropzone.min.js +2 -0
  260. data/app/assets/node_modules/dropzone/dist/readme.md +10 -0
  261. data/app/assets/node_modules/dropzone/index.js +1 -0
  262. data/app/assets/node_modules/dropzone/package.json +40 -0
  263. data/app/assets/node_modules/eve-raphael/LICENSE +202 -0
  264. data/app/assets/node_modules/eve-raphael/README.md +5 -0
  265. data/app/assets/node_modules/eve-raphael/bower.json +17 -0
  266. data/app/assets/node_modules/eve-raphael/component.json +13 -0
  267. data/app/assets/node_modules/eve-raphael/e.html +66 -0
  268. data/app/assets/node_modules/eve-raphael/eve.js +426 -0
  269. data/app/assets/node_modules/eve-raphael/package.json +15 -0
  270. data/app/assets/node_modules/eventemitter3/LICENSE +21 -0
  271. data/app/assets/node_modules/eventemitter3/README.md +105 -0
  272. data/app/assets/node_modules/eventemitter3/index.d.ts +50 -0
  273. data/app/assets/node_modules/eventemitter3/index.js +311 -0
  274. data/app/assets/node_modules/eventemitter3/package.json +51 -0
  275. data/app/assets/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
  276. data/app/assets/node_modules/extend/CHANGELOG.md +77 -0
  277. data/app/assets/node_modules/extend/LICENSE +23 -0
  278. data/app/assets/node_modules/extend/README.md +81 -0
  279. data/app/assets/node_modules/extend/component.json +32 -0
  280. data/app/assets/node_modules/extend/index.js +86 -0
  281. data/app/assets/node_modules/extend/package.json +43 -0
  282. data/app/assets/node_modules/fast-diff/README.md +24 -0
  283. data/app/assets/node_modules/fast-diff/diff.js +738 -0
  284. data/app/assets/node_modules/fast-diff/package.json +24 -0
  285. data/app/assets/node_modules/fast-diff/test.js +91 -0
  286. data/app/assets/node_modules/jquery/AUTHORS.txt +313 -0
  287. data/app/assets/node_modules/jquery/LICENSE.txt +36 -0
  288. data/app/assets/node_modules/jquery/README.md +67 -0
  289. data/app/assets/node_modules/jquery/bower.json +14 -0
  290. data/app/assets/node_modules/jquery/dist/core.js +399 -0
  291. data/app/assets/node_modules/jquery/dist/jquery.js +10364 -0
  292. data/app/assets/node_modules/jquery/dist/jquery.min.js +2 -0
  293. data/app/assets/node_modules/jquery/dist/jquery.min.map +1 -0
  294. data/app/assets/node_modules/jquery/dist/jquery.slim.js +8269 -0
  295. data/app/assets/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  296. data/app/assets/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  297. data/app/assets/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  298. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.js +2272 -0
  299. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  300. data/app/assets/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  301. data/app/assets/node_modules/jquery/package.json +108 -0
  302. data/app/assets/node_modules/jquery/src/ajax/jsonp.js +103 -0
  303. data/app/assets/node_modules/jquery/src/ajax/load.js +77 -0
  304. data/app/assets/node_modules/jquery/src/ajax/parseXML.js +30 -0
  305. data/app/assets/node_modules/jquery/src/ajax/script.js +77 -0
  306. data/app/assets/node_modules/jquery/src/ajax/var/location.js +5 -0
  307. data/app/assets/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  308. data/app/assets/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  309. data/app/assets/node_modules/jquery/src/ajax/xhr.js +170 -0
  310. data/app/assets/node_modules/jquery/src/ajax.js +856 -0
  311. data/app/assets/node_modules/jquery/src/attributes/attr.js +141 -0
  312. data/app/assets/node_modules/jquery/src/attributes/classes.js +186 -0
  313. data/app/assets/node_modules/jquery/src/attributes/prop.js +143 -0
  314. data/app/assets/node_modules/jquery/src/attributes/support.js +33 -0
  315. data/app/assets/node_modules/jquery/src/attributes/val.js +191 -0
  316. data/app/assets/node_modules/jquery/src/attributes.js +13 -0
  317. data/app/assets/node_modules/jquery/src/callbacks.js +236 -0
  318. data/app/assets/node_modules/jquery/src/core/DOMEval.js +30 -0
  319. data/app/assets/node_modules/jquery/src/core/access.js +72 -0
  320. data/app/assets/node_modules/jquery/src/core/camelCase.js +23 -0
  321. data/app/assets/node_modules/jquery/src/core/init.js +129 -0
  322. data/app/assets/node_modules/jquery/src/core/nodeName.js +13 -0
  323. data/app/assets/node_modules/jquery/src/core/parseHTML.js +65 -0
  324. data/app/assets/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  325. data/app/assets/node_modules/jquery/src/core/ready.js +86 -0
  326. data/app/assets/node_modules/jquery/src/core/readyException.js +13 -0
  327. data/app/assets/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  328. data/app/assets/node_modules/jquery/src/core/support.js +20 -0
  329. data/app/assets/node_modules/jquery/src/core/toType.js +20 -0
  330. data/app/assets/node_modules/jquery/src/core/var/rsingleTag.js +6 -0
  331. data/app/assets/node_modules/jquery/src/core.js +399 -0
  332. data/app/assets/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  333. data/app/assets/node_modules/jquery/src/css/adjustCSS.js +73 -0
  334. data/app/assets/node_modules/jquery/src/css/curCSS.js +65 -0
  335. data/app/assets/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  336. data/app/assets/node_modules/jquery/src/css/showHide.js +105 -0
  337. data/app/assets/node_modules/jquery/src/css/support.js +102 -0
  338. data/app/assets/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  339. data/app/assets/node_modules/jquery/src/css/var/getStyles.js +17 -0
  340. data/app/assets/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  341. data/app/assets/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  342. data/app/assets/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  343. data/app/assets/node_modules/jquery/src/css/var/swap.js +26 -0
  344. data/app/assets/node_modules/jquery/src/css.js +481 -0
  345. data/app/assets/node_modules/jquery/src/data/Data.js +162 -0
  346. data/app/assets/node_modules/jquery/src/data/var/acceptData.js +19 -0
  347. data/app/assets/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  348. data/app/assets/node_modules/jquery/src/data/var/dataUser.js +7 -0
  349. data/app/assets/node_modules/jquery/src/data.js +180 -0
  350. data/app/assets/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  351. data/app/assets/node_modules/jquery/src/deferred.js +399 -0
  352. data/app/assets/node_modules/jquery/src/deprecated.js +98 -0
  353. data/app/assets/node_modules/jquery/src/dimensions.js +57 -0
  354. data/app/assets/node_modules/jquery/src/effects/Tween.js +123 -0
  355. data/app/assets/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  356. data/app/assets/node_modules/jquery/src/effects.js +702 -0
  357. data/app/assets/node_modules/jquery/src/event/ajax.js +22 -0
  358. data/app/assets/node_modules/jquery/src/event/alias.js +29 -0
  359. data/app/assets/node_modules/jquery/src/event/focusin.js +55 -0
  360. data/app/assets/node_modules/jquery/src/event/support.js +11 -0
  361. data/app/assets/node_modules/jquery/src/event/trigger.js +199 -0
  362. data/app/assets/node_modules/jquery/src/event.js +748 -0
  363. data/app/assets/node_modules/jquery/src/exports/amd.js +26 -0
  364. data/app/assets/node_modules/jquery/src/exports/global.js +34 -0
  365. data/app/assets/node_modules/jquery/src/jquery.js +40 -0
  366. data/app/assets/node_modules/jquery/src/manipulation/_evalUrl.js +23 -0
  367. data/app/assets/node_modules/jquery/src/manipulation/buildFragment.js +105 -0
  368. data/app/assets/node_modules/jquery/src/manipulation/getAll.js +32 -0
  369. data/app/assets/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  370. data/app/assets/node_modules/jquery/src/manipulation/support.js +35 -0
  371. data/app/assets/node_modules/jquery/src/manipulation/var/rcheckableType.js +5 -0
  372. data/app/assets/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  373. data/app/assets/node_modules/jquery/src/manipulation/var/rtagName.js +5 -0
  374. data/app/assets/node_modules/jquery/src/manipulation/wrapMap.js +29 -0
  375. data/app/assets/node_modules/jquery/src/manipulation.js +486 -0
  376. data/app/assets/node_modules/jquery/src/offset.js +233 -0
  377. data/app/assets/node_modules/jquery/src/queue/delay.js +24 -0
  378. data/app/assets/node_modules/jquery/src/queue.js +145 -0
  379. data/app/assets/node_modules/jquery/src/selector-native.js +237 -0
  380. data/app/assets/node_modules/jquery/src/selector-sizzle.js +19 -0
  381. data/app/assets/node_modules/jquery/src/selector.js +3 -0
  382. data/app/assets/node_modules/jquery/src/serialize.js +132 -0
  383. data/app/assets/node_modules/jquery/src/traversing/findFilter.js +97 -0
  384. data/app/assets/node_modules/jquery/src/traversing/var/dir.js +22 -0
  385. data/app/assets/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  386. data/app/assets/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  387. data/app/assets/node_modules/jquery/src/traversing.js +191 -0
  388. data/app/assets/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  389. data/app/assets/node_modules/jquery/src/var/arr.js +5 -0
  390. data/app/assets/node_modules/jquery/src/var/class2type.js +6 -0
  391. data/app/assets/node_modules/jquery/src/var/concat.js +7 -0
  392. data/app/assets/node_modules/jquery/src/var/document.js +5 -0
  393. data/app/assets/node_modules/jquery/src/var/documentElement.js +7 -0
  394. data/app/assets/node_modules/jquery/src/var/fnToString.js +7 -0
  395. data/app/assets/node_modules/jquery/src/var/getProto.js +5 -0
  396. data/app/assets/node_modules/jquery/src/var/hasOwn.js +7 -0
  397. data/app/assets/node_modules/jquery/src/var/indexOf.js +7 -0
  398. data/app/assets/node_modules/jquery/src/var/isFunction.js +13 -0
  399. data/app/assets/node_modules/jquery/src/var/isWindow.js +8 -0
  400. data/app/assets/node_modules/jquery/src/var/pnum.js +5 -0
  401. data/app/assets/node_modules/jquery/src/var/push.js +7 -0
  402. data/app/assets/node_modules/jquery/src/var/rcssNum.js +9 -0
  403. data/app/assets/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  404. data/app/assets/node_modules/jquery/src/var/slice.js +7 -0
  405. data/app/assets/node_modules/jquery/src/var/support.js +6 -0
  406. data/app/assets/node_modules/jquery/src/var/toString.js +7 -0
  407. data/app/assets/node_modules/jquery/src/wrap.js +78 -0
  408. data/app/assets/node_modules/jquery-flot/API.md +1498 -0
  409. data/app/assets/node_modules/jquery-flot/CONTRIBUTING.md +98 -0
  410. data/app/assets/node_modules/jquery-flot/FAQ.md +75 -0
  411. data/app/assets/node_modules/jquery-flot/LICENSE.txt +22 -0
  412. data/app/assets/node_modules/jquery-flot/Makefile +12 -0
  413. data/app/assets/node_modules/jquery-flot/NEWS.md +1026 -0
  414. data/app/assets/node_modules/jquery-flot/PLUGINS.md +143 -0
  415. data/app/assets/node_modules/jquery-flot/README.md +110 -0
  416. data/app/assets/node_modules/jquery-flot/component.json +8 -0
  417. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-1.json +4 -0
  418. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-2.json +4 -0
  419. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-3.json +4 -0
  420. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-4.json +4 -0
  421. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth-5.json +4 -0
  422. data/app/assets/node_modules/jquery-flot/examples/ajax/data-eu-gdp-growth.json +4 -0
  423. data/app/assets/node_modules/jquery-flot/examples/ajax/data-japan-gdp-growth.json +4 -0
  424. data/app/assets/node_modules/jquery-flot/examples/ajax/data-usa-gdp-growth.json +4 -0
  425. data/app/assets/node_modules/jquery-flot/examples/ajax/index.html +173 -0
  426. data/app/assets/node_modules/jquery-flot/examples/annotating/index.html +87 -0
  427. data/app/assets/node_modules/jquery-flot/examples/axes-interacting/index.html +97 -0
  428. data/app/assets/node_modules/jquery-flot/examples/axes-multiple/index.html +77 -0
  429. data/app/assets/node_modules/jquery-flot/examples/axes-time/index.html +137 -0
  430. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/date.js +893 -0
  431. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/index.html +114 -0
  432. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/africa +1181 -0
  433. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/antarctica +413 -0
  434. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/asia +2717 -0
  435. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/australasia +1719 -0
  436. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/backward +117 -0
  437. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/etcetera +81 -0
  438. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/europe +2856 -0
  439. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/factory +10 -0
  440. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/iso3166.tab +276 -0
  441. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/leapseconds +100 -0
  442. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/northamerica +3235 -0
  443. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/pacificnew +28 -0
  444. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar87 +390 -0
  445. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar88 +390 -0
  446. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/solar89 +395 -0
  447. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/southamerica +1711 -0
  448. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/systemv +38 -0
  449. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/yearistype.sh +38 -0
  450. data/app/assets/node_modules/jquery-flot/examples/axes-time-zones/tz/zone.tab +441 -0
  451. data/app/assets/node_modules/jquery-flot/examples/background.png +0 -0
  452. data/app/assets/node_modules/jquery-flot/examples/basic-options/index.html +91 -0
  453. data/app/assets/node_modules/jquery-flot/examples/basic-usage/index.html +57 -0
  454. data/app/assets/node_modules/jquery-flot/examples/canvas/index.html +75 -0
  455. data/app/assets/node_modules/jquery-flot/examples/categories/index.html +64 -0
  456. data/app/assets/node_modules/jquery-flot/examples/examples.css +97 -0
  457. data/app/assets/node_modules/jquery-flot/examples/image/hs-2004-27-a-large-web.jpg +0 -0
  458. data/app/assets/node_modules/jquery-flot/examples/image/index.html +69 -0
  459. data/app/assets/node_modules/jquery-flot/examples/index.html +80 -0
  460. data/app/assets/node_modules/jquery-flot/examples/interacting/index.html +118 -0
  461. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-down.gif +0 -0
  462. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-left.gif +0 -0
  463. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-right.gif +0 -0
  464. data/app/assets/node_modules/jquery-flot/examples/navigate/arrow-up.gif +0 -0
  465. data/app/assets/node_modules/jquery-flot/examples/navigate/index.html +153 -0
  466. data/app/assets/node_modules/jquery-flot/examples/percentiles/index.html +79 -0
  467. data/app/assets/node_modules/jquery-flot/examples/realtime/index.html +122 -0
  468. data/app/assets/node_modules/jquery-flot/examples/resize/index.html +76 -0
  469. data/app/assets/node_modules/jquery-flot/examples/selection/index.html +152 -0
  470. data/app/assets/node_modules/jquery-flot/examples/series-errorbars/index.html +150 -0
  471. data/app/assets/node_modules/jquery-flot/examples/series-pie/index.html +818 -0
  472. data/app/assets/node_modules/jquery-flot/examples/series-toggle/index.html +121 -0
  473. data/app/assets/node_modules/jquery-flot/examples/series-types/index.html +90 -0
  474. data/app/assets/node_modules/jquery-flot/examples/shared/jquery-ui/jquery-ui.min.css +6 -0
  475. data/app/assets/node_modules/jquery-flot/examples/stacking/index.html +107 -0
  476. data/app/assets/node_modules/jquery-flot/examples/symbols/index.html +76 -0
  477. data/app/assets/node_modules/jquery-flot/examples/threshold/index.html +76 -0
  478. data/app/assets/node_modules/jquery-flot/examples/tracking/index.html +135 -0
  479. data/app/assets/node_modules/jquery-flot/examples/visitors/index.html +147 -0
  480. data/app/assets/node_modules/jquery-flot/examples/zooming/index.html +144 -0
  481. data/app/assets/node_modules/jquery-flot/excanvas.js +1428 -0
  482. data/app/assets/node_modules/jquery-flot/excanvas.min.js +1 -0
  483. data/app/assets/node_modules/jquery-flot/flot.jquery.json +27 -0
  484. data/app/assets/node_modules/jquery-flot/jquery.colorhelpers.js +180 -0
  485. data/app/assets/node_modules/jquery-flot/jquery.flot.canvas.js +345 -0
  486. data/app/assets/node_modules/jquery-flot/jquery.flot.categories.js +190 -0
  487. data/app/assets/node_modules/jquery-flot/jquery.flot.crosshair.js +176 -0
  488. data/app/assets/node_modules/jquery-flot/jquery.flot.errorbars.js +353 -0
  489. data/app/assets/node_modules/jquery-flot/jquery.flot.fillbetween.js +226 -0
  490. data/app/assets/node_modules/jquery-flot/jquery.flot.image.js +241 -0
  491. data/app/assets/node_modules/jquery-flot/jquery.flot.js +3168 -0
  492. data/app/assets/node_modules/jquery-flot/jquery.flot.navigate.js +346 -0
  493. data/app/assets/node_modules/jquery-flot/jquery.flot.pie.js +820 -0
  494. data/app/assets/node_modules/jquery-flot/jquery.flot.resize.js +59 -0
  495. data/app/assets/node_modules/jquery-flot/jquery.flot.selection.js +360 -0
  496. data/app/assets/node_modules/jquery-flot/jquery.flot.stack.js +188 -0
  497. data/app/assets/node_modules/jquery-flot/jquery.flot.symbol.js +71 -0
  498. data/app/assets/node_modules/jquery-flot/jquery.flot.threshold.js +142 -0
  499. data/app/assets/node_modules/jquery-flot/jquery.flot.time.js +432 -0
  500. data/app/assets/node_modules/jquery-flot/jquery.js +9472 -0
  501. data/app/assets/node_modules/jquery-flot/package.json +11 -0
  502. data/app/assets/node_modules/jquery-sparkline/Changelog.txt +324 -0
  503. data/app/assets/node_modules/jquery-sparkline/README.md +19 -0
  504. data/app/assets/node_modules/jquery-sparkline/build.js +13 -0
  505. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.js +3068 -0
  506. data/app/assets/node_modules/jquery-sparkline/jquery.sparkline.min.js +2 -0
  507. data/app/assets/node_modules/jquery-sparkline/package.json +32 -0
  508. data/app/assets/node_modules/jquery-sparkline/src/base.js +415 -0
  509. data/app/assets/node_modules/jquery-sparkline/src/chart-bar.js +256 -0
  510. data/app/assets/node_modules/jquery-sparkline/src/chart-box.js +186 -0
  511. data/app/assets/node_modules/jquery-sparkline/src/chart-bullet.js +131 -0
  512. data/app/assets/node_modules/jquery-sparkline/src/chart-discrete.js +66 -0
  513. data/app/assets/node_modules/jquery-sparkline/src/chart-line.js +350 -0
  514. data/app/assets/node_modules/jquery-sparkline/src/chart-pie.js +117 -0
  515. data/app/assets/node_modules/jquery-sparkline/src/chart-tristate.js +98 -0
  516. data/app/assets/node_modules/jquery-sparkline/src/defaults.js +156 -0
  517. data/app/assets/node_modules/jquery-sparkline/src/footer.js +1 -0
  518. data/app/assets/node_modules/jquery-sparkline/src/header.js +222 -0
  519. data/app/assets/node_modules/jquery-sparkline/src/interact.js +247 -0
  520. data/app/assets/node_modules/jquery-sparkline/src/rangemap.js +39 -0
  521. data/app/assets/node_modules/jquery-sparkline/src/simpledraw.js +55 -0
  522. data/app/assets/node_modules/jquery-sparkline/src/utils.js +224 -0
  523. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-base.js +147 -0
  524. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-canvas.js +193 -0
  525. data/app/assets/node_modules/jquery-sparkline/src/vcanvas-vml.js +165 -0
  526. data/app/assets/node_modules/jquery-touchswipe/LICENSE +24 -0
  527. data/app/assets/node_modules/jquery-touchswipe/README.md +81 -0
  528. data/app/assets/node_modules/jquery-touchswipe/bower.json +8 -0
  529. data/app/assets/node_modules/jquery-touchswipe/demos/Any_finger_swipe.html +49 -0
  530. data/app/assets/node_modules/jquery-touchswipe/demos/Basic_swipe.html +48 -0
  531. data/app/assets/node_modules/jquery-touchswipe/demos/Enable_and_destroy.html +95 -0
  532. data/app/assets/node_modules/jquery-touchswipe/demos/Excluded_children.html +82 -0
  533. data/app/assets/node_modules/jquery-touchswipe/demos/Finger_swipe.html +61 -0
  534. data/app/assets/node_modules/jquery-touchswipe/demos/Handlers_and_events.html +128 -0
  535. data/app/assets/node_modules/jquery-touchswipe/demos/Hold.html +61 -0
  536. data/app/assets/node_modules/jquery-touchswipe/demos/Image_gallery_example.html +148 -0
  537. data/app/assets/node_modules/jquery-touchswipe/demos/Options.html +90 -0
  538. data/app/assets/node_modules/jquery-touchswipe/demos/Page_scrolling.html +109 -0
  539. data/app/assets/node_modules/jquery-touchswipe/demos/Page_zoom.html +50 -0
  540. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch.html +57 -0
  541. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_and_Swipe.html +81 -0
  542. data/app/assets/node_modules/jquery-touchswipe/demos/Pinch_status.html +51 -0
  543. data/app/assets/node_modules/jquery-touchswipe/demos/Single_swipe.html +51 -0
  544. data/app/assets/node_modules/jquery-touchswipe/demos/Stop_propegation.html +57 -0
  545. data/app/assets/node_modules/jquery-touchswipe/demos/Swipe_status.html +82 -0
  546. data/app/assets/node_modules/jquery-touchswipe/demos/Tap_vs_swipe.html +114 -0
  547. data/app/assets/node_modules/jquery-touchswipe/demos/Thresholds.html +109 -0
  548. data/app/assets/node_modules/jquery-touchswipe/demos/Trigger_handlers.html +158 -0
  549. data/app/assets/node_modules/jquery-touchswipe/demos/css/main.css +110 -0
  550. data/app/assets/node_modules/jquery-touchswipe/demos/index.html +74 -0
  551. data/app/assets/node_modules/jquery-touchswipe/demos/js/jquery.ui.ipad.js +223 -0
  552. data/app/assets/node_modules/jquery-touchswipe/demos/js/main.js +240 -0
  553. data/app/assets/node_modules/jquery-touchswipe/demos/tutorials.json +22 -0
  554. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.html +188 -0
  555. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.defaults.html +1174 -0
  556. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.directions.html +311 -0
  557. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.fingers.html +319 -0
  558. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.html +4205 -0
  559. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.pageScroll.html +272 -0
  560. data/app/assets/node_modules/jquery-touchswipe/docs/$.fn.swipe.phases.html +265 -0
  561. data/app/assets/node_modules/jquery-touchswipe/docs/$.html +186 -0
  562. data/app/assets/node_modules/jquery-touchswipe/docs/css/main.css +110 -0
  563. data/app/assets/node_modules/jquery-touchswipe/docs/index.html +101 -0
  564. data/app/assets/node_modules/jquery-touchswipe/docs/jquery.touchSwipe.js.html +2168 -0
  565. data/app/assets/node_modules/jquery-touchswipe/docs/js/jquery.ui.ipad.js +223 -0
  566. data/app/assets/node_modules/jquery-touchswipe/docs/js/main.js +85 -0
  567. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/linenumber.js +25 -0
  568. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  569. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/lang-css.js +2 -0
  570. data/app/assets/node_modules/jquery-touchswipe/docs/scripts/prettify/prettify.js +28 -0
  571. data/app/assets/node_modules/jquery-touchswipe/docs/styles/jsdoc.css +625 -0
  572. data/app/assets/node_modules/jquery-touchswipe/docs/styles/prettify.css +79 -0
  573. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Any_finger_swipe.html +108 -0
  574. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Basic_swipe.html +107 -0
  575. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Enable_and_destroy.html +154 -0
  576. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Excluded_children.html +141 -0
  577. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Finger_swipe.html +120 -0
  578. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Handlers_and_events.html +187 -0
  579. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Hold.html +120 -0
  580. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Image_gallery_example.html +207 -0
  581. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Options.html +149 -0
  582. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_scrolling.html +168 -0
  583. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Page_zoom.html +109 -0
  584. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch.html +116 -0
  585. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_and_Swipe.html +140 -0
  586. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Pinch_status.html +110 -0
  587. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Single_swipe.html +110 -0
  588. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Stop_propegation.html +116 -0
  589. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Swipe_status.html +141 -0
  590. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Tap_vs_swipe.html +173 -0
  591. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Thresholds.html +168 -0
  592. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-Trigger_handlers.html +217 -0
  593. data/app/assets/node_modules/jquery-touchswipe/docs/tutorial-index_.html +133 -0
  594. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.js +2109 -0
  595. data/app/assets/node_modules/jquery-touchswipe/jquery.touchSwipe.min.js +14 -0
  596. data/app/assets/node_modules/jquery-touchswipe/package.json +47 -0
  597. data/app/assets/node_modules/jquery-validation/LICENSE.md +22 -0
  598. data/app/assets/node_modules/jquery-validation/README.md +76 -0
  599. data/app/assets/node_modules/jquery-validation/changelog.md +639 -0
  600. data/app/assets/node_modules/jquery-validation/dist/additional-methods.js +1158 -0
  601. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.js +1601 -0
  602. data/app/assets/node_modules/jquery-validation/dist/jquery.validate.min.js +4 -0
  603. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ar.js +35 -0
  604. data/app/assets/node_modules/jquery-validation/dist/localization/messages_az.js +35 -0
  605. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bg.js +35 -0
  606. data/app/assets/node_modules/jquery-validation/dist/localization/messages_bn_BD.js +35 -0
  607. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ca.js +35 -0
  608. data/app/assets/node_modules/jquery-validation/dist/localization/messages_cs.js +35 -0
  609. data/app/assets/node_modules/jquery-validation/dist/localization/messages_da.js +32 -0
  610. data/app/assets/node_modules/jquery-validation/dist/localization/messages_de.js +32 -0
  611. data/app/assets/node_modules/jquery-validation/dist/localization/messages_el.js +35 -0
  612. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es.js +38 -0
  613. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_AR.js +39 -0
  614. data/app/assets/node_modules/jquery-validation/dist/localization/messages_es_PE.js +39 -0
  615. data/app/assets/node_modules/jquery-validation/dist/localization/messages_et.js +33 -0
  616. data/app/assets/node_modules/jquery-validation/dist/localization/messages_eu.js +35 -0
  617. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fa.js +38 -0
  618. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fi.js +33 -0
  619. data/app/assets/node_modules/jquery-validation/dist/localization/messages_fr.js +63 -0
  620. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ge.js +35 -0
  621. data/app/assets/node_modules/jquery-validation/dist/localization/messages_gl.js +40 -0
  622. data/app/assets/node_modules/jquery-validation/dist/localization/messages_he.js +35 -0
  623. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hr.js +35 -0
  624. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hu.js +35 -0
  625. data/app/assets/node_modules/jquery-validation/dist/localization/messages_hy_AM.js +35 -0
  626. data/app/assets/node_modules/jquery-validation/dist/localization/messages_id.js +34 -0
  627. data/app/assets/node_modules/jquery-validation/dist/localization/messages_is.js +33 -0
  628. data/app/assets/node_modules/jquery-validation/dist/localization/messages_it.js +39 -0
  629. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ja.js +36 -0
  630. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ka.js +35 -0
  631. data/app/assets/node_modules/jquery-validation/dist/localization/messages_kk.js +35 -0
  632. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ko.js +35 -0
  633. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lt.js +35 -0
  634. data/app/assets/node_modules/jquery-validation/dist/localization/messages_lv.js +35 -0
  635. data/app/assets/node_modules/jquery-validation/dist/localization/messages_mk.js +35 -0
  636. data/app/assets/node_modules/jquery-validation/dist/localization/messages_my.js +35 -0
  637. data/app/assets/node_modules/jquery-validation/dist/localization/messages_nl.js +46 -0
  638. data/app/assets/node_modules/jquery-validation/dist/localization/messages_no.js +36 -0
  639. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pl.js +37 -0
  640. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_BR.js +88 -0
  641. data/app/assets/node_modules/jquery-validation/dist/localization/messages_pt_PT.js +39 -0
  642. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ro.js +35 -0
  643. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ru.js +35 -0
  644. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sd.js +35 -0
  645. data/app/assets/node_modules/jquery-validation/dist/localization/messages_si.js +35 -0
  646. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sk.js +32 -0
  647. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sl.js +35 -0
  648. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr.js +35 -0
  649. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sr_lat.js +35 -0
  650. data/app/assets/node_modules/jquery-validation/dist/localization/messages_sv.js +33 -0
  651. data/app/assets/node_modules/jquery-validation/dist/localization/messages_th.js +35 -0
  652. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tj.js +35 -0
  653. data/app/assets/node_modules/jquery-validation/dist/localization/messages_tr.js +36 -0
  654. data/app/assets/node_modules/jquery-validation/dist/localization/messages_uk.js +35 -0
  655. data/app/assets/node_modules/jquery-validation/dist/localization/messages_ur.js +35 -0
  656. data/app/assets/node_modules/jquery-validation/dist/localization/messages_vi.js +35 -0
  657. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh.js +35 -0
  658. data/app/assets/node_modules/jquery-validation/dist/localization/messages_zh_TW.js +36 -0
  659. data/app/assets/node_modules/jquery-validation/dist/localization/methods_de.js +24 -0
  660. data/app/assets/node_modules/jquery-validation/dist/localization/methods_es_CL.js +24 -0
  661. data/app/assets/node_modules/jquery-validation/dist/localization/methods_fi.js +24 -0
  662. data/app/assets/node_modules/jquery-validation/dist/localization/methods_nl.js +24 -0
  663. data/app/assets/node_modules/jquery-validation/dist/localization/methods_pt.js +21 -0
  664. data/app/assets/node_modules/jquery-validation/package.json +61 -0
  665. data/app/assets/node_modules/jquery.browser/Gruntfile.js +62 -0
  666. data/app/assets/node_modules/jquery.browser/MIT-LICENSE.txt +21 -0
  667. data/app/assets/node_modules/jquery.browser/README.md +117 -0
  668. data/app/assets/node_modules/jquery.browser/bower.json +13 -0
  669. data/app/assets/node_modules/jquery.browser/browser.jquery.json +37 -0
  670. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.js +193 -0
  671. data/app/assets/node_modules/jquery.browser/dist/jquery.browser.min.js +14 -0
  672. data/app/assets/node_modules/jquery.browser/package.json +30 -0
  673. data/app/assets/node_modules/jquery.browser/test/casperserver.js +257 -0
  674. data/app/assets/node_modules/jquery.browser/test/index.html +13 -0
  675. data/app/assets/node_modules/jquery.browser/test/src/jquery-1.10.2.min.js +6 -0
  676. data/app/assets/node_modules/jquery.browser/test/src/require/test.js +21 -0
  677. data/app/assets/node_modules/jquery.browser/test/test.js +962 -0
  678. data/app/assets/node_modules/jquery.flot.tooltip/CONTRIBUTING.md +9 -0
  679. data/app/assets/node_modules/jquery.flot.tooltip/Gruntfile.js +72 -0
  680. data/app/assets/node_modules/jquery.flot.tooltip/README.md +267 -0
  681. data/app/assets/node_modules/jquery.flot.tooltip/bower.json +13 -0
  682. data/app/assets/node_modules/jquery.flot.tooltip/examples/basic.html +45 -0
  683. data/app/assets/node_modules/jquery.flot.tooltip/examples/curved-lines.html +59 -0
  684. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom-label-text.html +114 -0
  685. data/app/assets/node_modules/jquery.flot.tooltip/examples/custom_ticks.html +78 -0
  686. data/app/assets/node_modules/jquery.flot.tooltip/examples/dollar_in_tickformatter.html +68 -0
  687. data/app/assets/node_modules/jquery.flot.tooltip/examples/index.html +36 -0
  688. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/curvedLines.js +483 -0
  689. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/excanvas.min.js +1 -0
  690. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.js +3168 -0
  691. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.pie.js +820 -0
  692. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.stack.js +184 -0
  693. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.threshold.js +142 -0
  694. data/app/assets/node_modules/jquery.flot.tooltip/examples/js/jquery.flot.time.js +432 -0
  695. data/app/assets/node_modules/jquery.flot.tooltip/examples/many_series.html +78 -0
  696. data/app/assets/node_modules/jquery.flot.tooltip/examples/multiple-axes.html +78 -0
  697. data/app/assets/node_modules/jquery.flot.tooltip/examples/pie.html +87 -0
  698. data/app/assets/node_modules/jquery.flot.tooltip/examples/real_data.html +133 -0
  699. data/app/assets/node_modules/jquery.flot.tooltip/examples/stacking.html +97 -0
  700. data/app/assets/node_modules/jquery.flot.tooltip/examples/threshold.html +97 -0
  701. data/app/assets/node_modules/jquery.flot.tooltip/examples/time_bars.html +77 -0
  702. data/app/assets/node_modules/jquery.flot.tooltip/examples/two_chars.html +63 -0
  703. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.js +606 -0
  704. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.min.js +12 -0
  705. data/app/assets/node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.source.js +595 -0
  706. data/app/assets/node_modules/jquery.flot.tooltip/package.json +37 -0
  707. data/app/assets/node_modules/jqvmap/CHANGELOG.md +118 -0
  708. data/app/assets/node_modules/jqvmap/CONTRIBUTING.md +118 -0
  709. data/app/assets/node_modules/jqvmap/LICENSE +43 -0
  710. data/app/assets/node_modules/jqvmap/README.md +495 -0
  711. data/app/assets/node_modules/jqvmap/REGIONS.md +405 -0
  712. data/app/assets/node_modules/jqvmap/bower.json +32 -0
  713. data/app/assets/node_modules/jqvmap/create/README.md +207 -0
  714. data/app/assets/node_modules/jqvmap/create/config/continent.json +64 -0
  715. data/app/assets/node_modules/jqvmap/create/config/new-york.json +16 -0
  716. data/app/assets/node_modules/jqvmap/create/config/syria.json +16 -0
  717. data/app/assets/node_modules/jqvmap/create/jqvmap.py +573 -0
  718. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.js +1281 -0
  719. data/app/assets/node_modules/jqvmap/dist/jquery.vmap.min.js +10 -0
  720. data/app/assets/node_modules/jqvmap/dist/jqvmap.css +50 -0
  721. data/app/assets/node_modules/jqvmap/dist/jqvmap.min.css +1 -0
  722. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.africa.js +2 -0
  723. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.asia.js +2 -0
  724. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.australia.js +2 -0
  725. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.europe.js +2 -0
  726. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.north-america.js +2 -0
  727. data/app/assets/node_modules/jqvmap/dist/maps/continents/jquery.vmap.south-america.js +2 -0
  728. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.algeria.js +2 -0
  729. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.argentina.js +1 -0
  730. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.brazil.js +2 -0
  731. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.canada.js +2 -0
  732. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.europe.js +2 -0
  733. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.france.js +1 -0
  734. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.germany.js +2 -0
  735. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.greece.js +1 -0
  736. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iran.js +6 -0
  737. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.iraq.js +1 -0
  738. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.russia.js +2 -0
  739. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.tunisia.js +2 -0
  740. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.turkey.js +11 -0
  741. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.usa.js +2 -0
  742. data/app/assets/node_modules/jqvmap/dist/maps/jquery.vmap.world.js +2 -0
  743. data/app/assets/node_modules/jqvmap/examples/algeria.html +27 -0
  744. data/app/assets/node_modules/jqvmap/examples/argentina.html +33 -0
  745. data/app/assets/node_modules/jqvmap/examples/brazil.html +33 -0
  746. data/app/assets/node_modules/jqvmap/examples/continents.html +172 -0
  747. data/app/assets/node_modules/jqvmap/examples/europe.html +27 -0
  748. data/app/assets/node_modules/jqvmap/examples/france.html +27 -0
  749. data/app/assets/node_modules/jqvmap/examples/germany.html +33 -0
  750. data/app/assets/node_modules/jqvmap/examples/greece.html +33 -0
  751. data/app/assets/node_modules/jqvmap/examples/images/background.png +0 -0
  752. data/app/assets/node_modules/jqvmap/examples/images/flag.png +0 -0
  753. data/app/assets/node_modules/jqvmap/examples/images/globe.png +0 -0
  754. data/app/assets/node_modules/jqvmap/examples/images/marker/black.png +0 -0
  755. data/app/assets/node_modules/jqvmap/examples/images/marker/blue.png +0 -0
  756. data/app/assets/node_modules/jqvmap/examples/images/marker/green.png +0 -0
  757. data/app/assets/node_modules/jqvmap/examples/images/marker/grey.png +0 -0
  758. data/app/assets/node_modules/jqvmap/examples/images/marker/orange.png +0 -0
  759. data/app/assets/node_modules/jqvmap/examples/images/marker/purple.png +0 -0
  760. data/app/assets/node_modules/jqvmap/examples/images/marker/red.png +0 -0
  761. data/app/assets/node_modules/jqvmap/examples/images/marker/white.png +0 -0
  762. data/app/assets/node_modules/jqvmap/examples/images/marker/yellow.png +0 -0
  763. data/app/assets/node_modules/jqvmap/examples/images/thumb.jpg +0 -0
  764. data/app/assets/node_modules/jqvmap/examples/images/tip.png +0 -0
  765. data/app/assets/node_modules/jqvmap/examples/inactive_regions.html +62 -0
  766. data/app/assets/node_modules/jqvmap/examples/iran.html +44 -0
  767. data/app/assets/node_modules/jqvmap/examples/iraq.html +44 -0
  768. data/app/assets/node_modules/jqvmap/examples/js/jquery.vmap.sampledata.js +1 -0
  769. data/app/assets/node_modules/jqvmap/examples/labels.html +146 -0
  770. data/app/assets/node_modules/jqvmap/examples/mobile.html +59 -0
  771. data/app/assets/node_modules/jqvmap/examples/multi.html +29 -0
  772. data/app/assets/node_modules/jqvmap/examples/pins.html +236 -0
  773. data/app/assets/node_modules/jqvmap/examples/pins_custom.html +127 -0
  774. data/app/assets/node_modules/jqvmap/examples/responsive.html +45 -0
  775. data/app/assets/node_modules/jqvmap/examples/russia.html +33 -0
  776. data/app/assets/node_modules/jqvmap/examples/touch_detect.html +46 -0
  777. data/app/assets/node_modules/jqvmap/examples/tunisia.html +33 -0
  778. data/app/assets/node_modules/jqvmap/examples/turkey.html +26 -0
  779. data/app/assets/node_modules/jqvmap/examples/usa.html +37 -0
  780. data/app/assets/node_modules/jqvmap/examples/world.html +35 -0
  781. data/app/assets/node_modules/jqvmap/grunt/bump.js +22 -0
  782. data/app/assets/node_modules/jqvmap/grunt/changelog.js +14 -0
  783. data/app/assets/node_modules/jqvmap/grunt/clean.js +5 -0
  784. data/app/assets/node_modules/jqvmap/grunt/concat.js +23 -0
  785. data/app/assets/node_modules/jqvmap/grunt/index.js +2 -0
  786. data/app/assets/node_modules/jqvmap/grunt/qunit.js +3 -0
  787. data/app/assets/node_modules/jqvmap/grunt/shell.js +6 -0
  788. data/app/assets/node_modules/jqvmap/grunt/uglify.js +19 -0
  789. data/app/assets/node_modules/jqvmap/gruntfile.js +21 -0
  790. data/app/assets/node_modules/jqvmap/node_modules/jquery/AUTHORS.txt +217 -0
  791. data/app/assets/node_modules/jqvmap/node_modules/jquery/CONTRIBUTING.md +214 -0
  792. data/app/assets/node_modules/jqvmap/node_modules/jquery/MIT-LICENSE.txt +21 -0
  793. data/app/assets/node_modules/jqvmap/node_modules/jquery/README.md +368 -0
  794. data/app/assets/node_modules/jqvmap/node_modules/jquery/bower.json +28 -0
  795. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.js +10351 -0
  796. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.js +6 -0
  797. data/app/assets/node_modules/jqvmap/node_modules/jquery/dist/jquery.min.map +1 -0
  798. data/app/assets/node_modules/jqvmap/node_modules/jquery/package.json +54 -0
  799. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/jsonp.js +89 -0
  800. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/load.js +75 -0
  801. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseJSON.js +51 -0
  802. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/parseXML.js +31 -0
  803. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/script.js +93 -0
  804. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  805. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/var/rquery.js +3 -0
  806. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax/xhr.js +197 -0
  807. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/ajax.js +801 -0
  808. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/attr.js +271 -0
  809. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/classes.js +157 -0
  810. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/prop.js +134 -0
  811. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/support.js +62 -0
  812. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes/val.js +178 -0
  813. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/attributes.js +11 -0
  814. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/callbacks.js +205 -0
  815. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/access.js +60 -0
  816. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/init.js +132 -0
  817. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/parseHTML.js +39 -0
  818. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/ready.js +152 -0
  819. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core/var/rsingleTag.js +4 -0
  820. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/core.js +540 -0
  821. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/addGetHookIf.js +32 -0
  822. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/curCSS.js +124 -0
  823. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/defaultDisplay.js +69 -0
  824. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/hiddenVisibleSelectors.js +20 -0
  825. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/support.js +151 -0
  826. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/swap.js +28 -0
  827. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/cssExpand.js +3 -0
  828. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/isHidden.js +13 -0
  829. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rmargin.js +3 -0
  830. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
  831. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/css.js +504 -0
  832. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/accepts.js +21 -0
  833. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data/support.js +25 -0
  834. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/data.js +335 -0
  835. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deferred.js +150 -0
  836. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/deprecated.js +13 -0
  837. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/dimensions.js +50 -0
  838. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/Tween.js +114 -0
  839. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/animatedSelector.js +13 -0
  840. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects/support.js +55 -0
  841. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/effects.js +656 -0
  842. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/ajax.js +13 -0
  843. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/alias.js +39 -0
  844. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event/support.js +26 -0
  845. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/event.js +1037 -0
  846. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/amd.js +24 -0
  847. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/exports/global.js +32 -0
  848. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/intro.js +44 -0
  849. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/jquery.js +38 -0
  850. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/_evalUrl.js +18 -0
  851. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/support.js +76 -0
  852. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
  853. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/manipulation.js +744 -0
  854. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/offset.js +211 -0
  855. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/outro.js +1 -0
  856. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue/delay.js +22 -0
  857. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/queue.js +142 -0
  858. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector-sizzle.js +14 -0
  859. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/selector.js +1 -0
  860. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/serialize.js +110 -0
  861. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.js +2067 -0
  862. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.js +3 -0
  863. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/dist/sizzle.min.map +1 -0
  864. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/empty.js +0 -0
  865. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/mixed_sort.html +22 -0
  866. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/data/testinit.js +136 -0
  867. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/index.html +242 -0
  868. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/jquery.js +9597 -0
  869. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/extending.js +95 -0
  870. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/selector.js +1149 -0
  871. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/sizzle/test/unit/utilities.js +169 -0
  872. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/support.js +58 -0
  873. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/findFilter.js +100 -0
  874. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
  875. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/traversing.js +200 -0
  876. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/class2type.js +4 -0
  877. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/concat.js +5 -0
  878. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/deletedIds.js +3 -0
  879. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/hasOwn.js +5 -0
  880. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/indexOf.js +5 -0
  881. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/pnum.js +3 -0
  882. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/push.js +5 -0
  883. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/rnotwhite.js +3 -0
  884. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/slice.js +5 -0
  885. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/strundefined.js +3 -0
  886. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/support.js +4 -0
  887. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/var/toString.js +5 -0
  888. data/app/assets/node_modules/jqvmap/node_modules/jquery/src/wrap.js +76 -0
  889. data/app/assets/node_modules/jqvmap/package.json +45 -0
  890. data/app/assets/node_modules/jqvmap/src/Base.js +80 -0
  891. data/app/assets/node_modules/jqvmap/src/ColorScale/arrayToRgb.js +9 -0
  892. data/app/assets/node_modules/jqvmap/src/ColorScale/getColor.js +41 -0
  893. data/app/assets/node_modules/jqvmap/src/ColorScale/rgbToArray.js +4 -0
  894. data/app/assets/node_modules/jqvmap/src/ColorScale/setColors.js +6 -0
  895. data/app/assets/node_modules/jqvmap/src/ColorScale/setMax.js +8 -0
  896. data/app/assets/node_modules/jqvmap/src/ColorScale/setMin.js +9 -0
  897. data/app/assets/node_modules/jqvmap/src/ColorScale/setNormalizeFunction.js +13 -0
  898. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js +7 -0
  899. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorLength.js +7 -0
  900. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorMult.js +7 -0
  901. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorSubtract.js +7 -0
  902. data/app/assets/node_modules/jqvmap/src/ColorScale/vectorToNum.js +7 -0
  903. data/app/assets/node_modules/jqvmap/src/ColorScale.js +18 -0
  904. data/app/assets/node_modules/jqvmap/src/JQVMap/applyTransform.js +31 -0
  905. data/app/assets/node_modules/jqvmap/src/JQVMap/bindZoomButtons.js +9 -0
  906. data/app/assets/node_modules/jqvmap/src/JQVMap/deselect.js +18 -0
  907. data/app/assets/node_modules/jqvmap/src/JQVMap/getCountryId.js +3 -0
  908. data/app/assets/node_modules/jqvmap/src/JQVMap/getPin.js +4 -0
  909. data/app/assets/node_modules/jqvmap/src/JQVMap/getPinId.js +3 -0
  910. data/app/assets/node_modules/jqvmap/src/JQVMap/getPins.js +11 -0
  911. data/app/assets/node_modules/jqvmap/src/JQVMap/highlight.js +12 -0
  912. data/app/assets/node_modules/jqvmap/src/JQVMap/isSelected.js +3 -0
  913. data/app/assets/node_modules/jqvmap/src/JQVMap/makeDraggable.js +159 -0
  914. data/app/assets/node_modules/jqvmap/src/JQVMap/placePins.js +46 -0
  915. data/app/assets/node_modules/jqvmap/src/JQVMap/positionPins.js +19 -0
  916. data/app/assets/node_modules/jqvmap/src/JQVMap/removePin.js +4 -0
  917. data/app/assets/node_modules/jqvmap/src/JQVMap/removePins.js +3 -0
  918. data/app/assets/node_modules/jqvmap/src/JQVMap/reset.js +9 -0
  919. data/app/assets/node_modules/jqvmap/src/JQVMap/resize.js +13 -0
  920. data/app/assets/node_modules/jqvmap/src/JQVMap/select.js +18 -0
  921. data/app/assets/node_modules/jqvmap/src/JQVMap/selectIndex.js +9 -0
  922. data/app/assets/node_modules/jqvmap/src/JQVMap/setBackgroundColor.js +3 -0
  923. data/app/assets/node_modules/jqvmap/src/JQVMap/setColors.js +15 -0
  924. data/app/assets/node_modules/jqvmap/src/JQVMap/setNormalizeFunction.js +7 -0
  925. data/app/assets/node_modules/jqvmap/src/JQVMap/setScale.js +4 -0
  926. data/app/assets/node_modules/jqvmap/src/JQVMap/setScaleColors.js +7 -0
  927. data/app/assets/node_modules/jqvmap/src/JQVMap/setValues.js +36 -0
  928. data/app/assets/node_modules/jqvmap/src/JQVMap/unhighlight.js +8 -0
  929. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomIn.js +17 -0
  930. data/app/assets/node_modules/jqvmap/src/JQVMap/zoomOut.js +17 -0
  931. data/app/assets/node_modules/jqvmap/src/JQVMap.js +243 -0
  932. data/app/assets/node_modules/jqvmap/src/VectorCanvas/applyTransformParams.js +8 -0
  933. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createGroup.js +19 -0
  934. data/app/assets/node_modules/jqvmap/src/VectorCanvas/createPath.js +75 -0
  935. data/app/assets/node_modules/jqvmap/src/VectorCanvas/pathSvgToVml.js +103 -0
  936. data/app/assets/node_modules/jqvmap/src/VectorCanvas/setSize.js +24 -0
  937. data/app/assets/node_modules/jqvmap/src/VectorCanvas.js +42 -0
  938. data/app/assets/node_modules/jqvmap/tests/index.html +32 -0
  939. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.css +291 -0
  940. data/app/assets/node_modules/jqvmap/tests/qunit/qunit.js +3828 -0
  941. data/app/assets/node_modules/jqvmap/tests/tests.js +422 -0
  942. data/app/assets/node_modules/metismenu/LICENSE +20 -0
  943. data/app/assets/node_modules/metismenu/README.md +361 -0
  944. data/app/assets/node_modules/metismenu/changelog.md +22 -0
  945. data/app/assets/node_modules/metismenu/dist/cjs/index.js +327 -0
  946. data/app/assets/node_modules/metismenu/dist/metisMenu.css +132 -0
  947. data/app/assets/node_modules/metismenu/dist/metisMenu.css.map +1 -0
  948. data/app/assets/node_modules/metismenu/dist/metisMenu.js +332 -0
  949. data/app/assets/node_modules/metismenu/dist/metisMenu.js.map +1 -0
  950. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css +9 -0
  951. data/app/assets/node_modules/metismenu/dist/metisMenu.min.css.map +1 -0
  952. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js +10 -0
  953. data/app/assets/node_modules/metismenu/dist/metisMenu.min.js.map +1 -0
  954. data/app/assets/node_modules/metismenu/dist/modules/index.js +323 -0
  955. data/app/assets/node_modules/metismenu/package.json +122 -0
  956. data/app/assets/node_modules/metismenu/src/index.js +260 -0
  957. data/app/assets/node_modules/metismenu/src/metisMenu.css +116 -0
  958. data/app/assets/node_modules/metismenu/src/util.js +61 -0
  959. data/app/assets/node_modules/metismenu/types/metismenu.d.ts +25 -0
  960. data/app/assets/node_modules/morris.js/Gruntfile.js +90 -0
  961. data/app/assets/node_modules/morris.js/README.md +234 -0
  962. data/app/assets/node_modules/morris.js/bower.json +20 -0
  963. data/app/assets/node_modules/morris.js/bower.travis.json +20 -0
  964. data/app/assets/node_modules/morris.js/examples/_template.html +18 -0
  965. data/app/assets/node_modules/morris.js/examples/area-as-line.html +31 -0
  966. data/app/assets/node_modules/morris.js/examples/area.html +34 -0
  967. data/app/assets/node_modules/morris.js/examples/bar-colors.html +44 -0
  968. data/app/assets/node_modules/morris.js/examples/bar-no-axes.html +31 -0
  969. data/app/assets/node_modules/morris.js/examples/bar.html +32 -0
  970. data/app/assets/node_modules/morris.js/examples/days.html +37 -0
  971. data/app/assets/node_modules/morris.js/examples/decimal-custom-hover.html +37 -0
  972. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels-bar.html +38 -0
  973. data/app/assets/node_modules/morris.js/examples/diagonal-xlabels.html +38 -0
  974. data/app/assets/node_modules/morris.js/examples/donut-colors.html +38 -0
  975. data/app/assets/node_modules/morris.js/examples/donut-formatter.html +27 -0
  976. data/app/assets/node_modules/morris.js/examples/donut.html +29 -0
  977. data/app/assets/node_modules/morris.js/examples/dst.html +30 -0
  978. data/app/assets/node_modules/morris.js/examples/events.html +57 -0
  979. data/app/assets/node_modules/morris.js/examples/goals.html +33 -0
  980. data/app/assets/node_modules/morris.js/examples/lib/example.css +13 -0
  981. data/app/assets/node_modules/morris.js/examples/lib/example.js +4 -0
  982. data/app/assets/node_modules/morris.js/examples/months-no-smooth.html +38 -0
  983. data/app/assets/node_modules/morris.js/examples/negative.html +36 -0
  984. data/app/assets/node_modules/morris.js/examples/no-grid.html +38 -0
  985. data/app/assets/node_modules/morris.js/examples/non-continuous.html +42 -0
  986. data/app/assets/node_modules/morris.js/examples/non-date.html +37 -0
  987. data/app/assets/node_modules/morris.js/examples/quarters.html +54 -0
  988. data/app/assets/node_modules/morris.js/examples/resize.html +42 -0
  989. data/app/assets/node_modules/morris.js/examples/stacked_bars.html +31 -0
  990. data/app/assets/node_modules/morris.js/examples/timestamps.html +38 -0
  991. data/app/assets/node_modules/morris.js/examples/updating.html +49 -0
  992. data/app/assets/node_modules/morris.js/examples/weeks.html +53 -0
  993. data/app/assets/node_modules/morris.js/examples/years.html +37 -0
  994. data/app/assets/node_modules/morris.js/less/morris.core.less +27 -0
  995. data/app/assets/node_modules/morris.js/lib/morris.area.coffee +66 -0
  996. data/app/assets/node_modules/morris.js/lib/morris.bar.coffee +208 -0
  997. data/app/assets/node_modules/morris.js/lib/morris.coffee +43 -0
  998. data/app/assets/node_modules/morris.js/lib/morris.donut.coffee +213 -0
  999. data/app/assets/node_modules/morris.js/lib/morris.grid.coffee +499 -0
  1000. data/app/assets/node_modules/morris.js/lib/morris.hover.coffee +44 -0
  1001. data/app/assets/node_modules/morris.js/lib/morris.line.coffee +405 -0
  1002. data/app/assets/node_modules/morris.js/morris.css +2 -0
  1003. data/app/assets/node_modules/morris.js/morris.js +1892 -0
  1004. data/app/assets/node_modules/morris.js/morris.min.js +7 -0
  1005. data/app/assets/node_modules/morris.js/package.json +36 -0
  1006. data/app/assets/node_modules/morris.js/spec/lib/area/area_spec.coffee +60 -0
  1007. data/app/assets/node_modules/morris.js/spec/lib/bar/bar_spec.coffee +127 -0
  1008. data/app/assets/node_modules/morris.js/spec/lib/bar/colours.coffee +36 -0
  1009. data/app/assets/node_modules/morris.js/spec/lib/commas_spec.coffee +38 -0
  1010. data/app/assets/node_modules/morris.js/spec/lib/donut/donut_spec.coffee +76 -0
  1011. data/app/assets/node_modules/morris.js/spec/lib/grid/auto_grid_lines_spec.coffee +25 -0
  1012. data/app/assets/node_modules/morris.js/spec/lib/grid/set_data_spec.coffee +208 -0
  1013. data/app/assets/node_modules/morris.js/spec/lib/grid/y_label_format_spec.coffee +15 -0
  1014. data/app/assets/node_modules/morris.js/spec/lib/hover_spec.coffee +64 -0
  1015. data/app/assets/node_modules/morris.js/spec/lib/label_series_spec.coffee +186 -0
  1016. data/app/assets/node_modules/morris.js/spec/lib/line/line_spec.coffee +211 -0
  1017. data/app/assets/node_modules/morris.js/spec/lib/pad_spec.coffee +17 -0
  1018. data/app/assets/node_modules/morris.js/spec/lib/parse_time_spec.coffee +35 -0
  1019. data/app/assets/node_modules/morris.js/spec/specs.html +34 -0
  1020. data/app/assets/node_modules/morris.js/spec/support/placeholder.coffee +6 -0
  1021. data/app/assets/node_modules/morris.js/spec/viz/examples.js +56 -0
  1022. data/app/assets/node_modules/morris.js/spec/viz/exemplary/area0.png +0 -0
  1023. data/app/assets/node_modules/morris.js/spec/viz/exemplary/bar0.png +0 -0
  1024. data/app/assets/node_modules/morris.js/spec/viz/exemplary/line0.png +0 -0
  1025. data/app/assets/node_modules/morris.js/spec/viz/exemplary/stacked_bar0.png +0 -0
  1026. data/app/assets/node_modules/morris.js/spec/viz/run.sh +32 -0
  1027. data/app/assets/node_modules/morris.js/spec/viz/test.html +34 -0
  1028. data/app/assets/node_modules/morris.js/spec/viz/visual_specs.js +66 -0
  1029. data/app/assets/node_modules/nprogress/History.md +110 -0
  1030. data/app/assets/node_modules/nprogress/License.md +19 -0
  1031. data/app/assets/node_modules/nprogress/Notes.md +25 -0
  1032. data/app/assets/node_modules/nprogress/Readme.md +197 -0
  1033. data/app/assets/node_modules/nprogress/bower.json +27 -0
  1034. data/app/assets/node_modules/nprogress/component.json +19 -0
  1035. data/app/assets/node_modules/nprogress/nprogress.css +74 -0
  1036. data/app/assets/node_modules/nprogress/nprogress.js +476 -0
  1037. data/app/assets/node_modules/nprogress/package.json +47 -0
  1038. data/app/assets/node_modules/nprogress/test/component.html +26 -0
  1039. data/app/assets/node_modules/nprogress/test/test.js +175 -0
  1040. data/app/assets/node_modules/parchment/LICENSE +29 -0
  1041. data/app/assets/node_modules/parchment/README.md +274 -0
  1042. data/app/assets/node_modules/parchment/dist/parchment.js +1749 -0
  1043. data/app/assets/node_modules/parchment/dist/parchment.js.map +1 -0
  1044. data/app/assets/node_modules/parchment/dist/src/attributor/attributor.d.ts +17 -0
  1045. data/app/assets/node_modules/parchment/dist/src/attributor/class.d.ts +8 -0
  1046. data/app/assets/node_modules/parchment/dist/src/attributor/store.d.ts +15 -0
  1047. data/app/assets/node_modules/parchment/dist/src/attributor/style.d.ts +8 -0
  1048. data/app/assets/node_modules/parchment/dist/src/blot/abstract/blot.d.ts +63 -0
  1049. data/app/assets/node_modules/parchment/dist/src/blot/abstract/container.d.ts +40 -0
  1050. data/app/assets/node_modules/parchment/dist/src/blot/abstract/format.d.ts +18 -0
  1051. data/app/assets/node_modules/parchment/dist/src/blot/abstract/leaf.d.ts +11 -0
  1052. data/app/assets/node_modules/parchment/dist/src/blot/abstract/parent.d.ts +41 -0
  1053. data/app/assets/node_modules/parchment/dist/src/blot/abstract/shadow.d.ts +38 -0
  1054. data/app/assets/node_modules/parchment/dist/src/blot/block.d.ts +15 -0
  1055. data/app/assets/node_modules/parchment/dist/src/blot/embed.d.ts +11 -0
  1056. data/app/assets/node_modules/parchment/dist/src/blot/inline.d.ts +14 -0
  1057. data/app/assets/node_modules/parchment/dist/src/blot/scroll.d.ts +24 -0
  1058. data/app/assets/node_modules/parchment/dist/src/blot/text.d.ts +26 -0
  1059. data/app/assets/node_modules/parchment/dist/src/collection/linked-list.d.ts +19 -0
  1060. data/app/assets/node_modules/parchment/dist/src/collection/linked-node.d.ts +6 -0
  1061. data/app/assets/node_modules/parchment/dist/src/parchment.d.ts +35 -0
  1062. data/app/assets/node_modules/parchment/dist/src/registry.d.ts +31 -0
  1063. data/app/assets/node_modules/parchment/package.json +44 -0
  1064. data/app/assets/node_modules/parchment/src/attributor/attributor.ts +61 -0
  1065. data/app/assets/node_modules/parchment/src/attributor/class.ts +44 -0
  1066. data/app/assets/node_modules/parchment/src/attributor/store.ts +73 -0
  1067. data/app/assets/node_modules/parchment/src/attributor/style.ts +44 -0
  1068. data/app/assets/node_modules/parchment/src/blot/abstract/blot.ts +58 -0
  1069. data/app/assets/node_modules/parchment/src/blot/abstract/container.ts +268 -0
  1070. data/app/assets/node_modules/parchment/src/blot/abstract/format.ts +71 -0
  1071. data/app/assets/node_modules/parchment/src/blot/abstract/leaf.ts +33 -0
  1072. data/app/assets/node_modules/parchment/src/blot/abstract/shadow.ts +174 -0
  1073. data/app/assets/node_modules/parchment/src/blot/block.ts +53 -0
  1074. data/app/assets/node_modules/parchment/src/blot/embed.ts +29 -0
  1075. data/app/assets/node_modules/parchment/src/blot/inline.ts +64 -0
  1076. data/app/assets/node_modules/parchment/src/blot/scroll.ts +166 -0
  1077. data/app/assets/node_modules/parchment/src/blot/text.ts +93 -0
  1078. data/app/assets/node_modules/parchment/src/collection/linked-list.ts +143 -0
  1079. data/app/assets/node_modules/parchment/src/collection/linked-node.ts +8 -0
  1080. data/app/assets/node_modules/parchment/src/parchment.ts +46 -0
  1081. data/app/assets/node_modules/parchment/src/registry.ts +133 -0
  1082. data/app/assets/node_modules/parchment/tsconfig.json +9 -0
  1083. data/app/assets/node_modules/popper.js/README.md +219 -0
  1084. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js +1093 -0
  1085. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.js.map +1 -0
  1086. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js +5 -0
  1087. data/app/assets/node_modules/popper.js/dist/esm/popper-utils.min.js.map +1 -0
  1088. data/app/assets/node_modules/popper.js/dist/esm/popper.js +2520 -0
  1089. data/app/assets/node_modules/popper.js/dist/esm/popper.js.map +1 -0
  1090. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js +5 -0
  1091. data/app/assets/node_modules/popper.js/dist/esm/popper.min.js.map +1 -0
  1092. data/app/assets/node_modules/popper.js/dist/popper-utils.js +1042 -0
  1093. data/app/assets/node_modules/popper.js/dist/popper-utils.js.map +1 -0
  1094. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js +5 -0
  1095. data/app/assets/node_modules/popper.js/dist/popper-utils.min.js.map +1 -0
  1096. data/app/assets/node_modules/popper.js/dist/popper.js +2372 -0
  1097. data/app/assets/node_modules/popper.js/dist/popper.js.map +1 -0
  1098. data/app/assets/node_modules/popper.js/dist/popper.min.js +5 -0
  1099. data/app/assets/node_modules/popper.js/dist/popper.min.js.map +1 -0
  1100. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js +1131 -0
  1101. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.js.map +1 -0
  1102. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js +5 -0
  1103. data/app/assets/node_modules/popper.js/dist/umd/popper-utils.min.js.map +1 -0
  1104. data/app/assets/node_modules/popper.js/dist/umd/popper.js +2528 -0
  1105. data/app/assets/node_modules/popper.js/dist/umd/popper.js.map +1 -0
  1106. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js +5 -0
  1107. data/app/assets/node_modules/popper.js/dist/umd/popper.min.js.map +1 -0
  1108. data/app/assets/node_modules/popper.js/index.d.ts +159 -0
  1109. data/app/assets/node_modules/popper.js/package.json +54 -0
  1110. data/app/assets/node_modules/quill/CHANGELOG.md +734 -0
  1111. data/app/assets/node_modules/quill/LICENSE +30 -0
  1112. data/app/assets/node_modules/quill/README.md +109 -0
  1113. data/app/assets/node_modules/quill/assets/base.styl +304 -0
  1114. data/app/assets/node_modules/quill/assets/bubble/toolbar.styl +14 -0
  1115. data/app/assets/node_modules/quill/assets/bubble/tooltip.styl +49 -0
  1116. data/app/assets/node_modules/quill/assets/bubble.styl +45 -0
  1117. data/app/assets/node_modules/quill/assets/core.styl +183 -0
  1118. data/app/assets/node_modules/quill/assets/favicon.png +0 -0
  1119. data/app/assets/node_modules/quill/assets/icons/align-center.svg +5 -0
  1120. data/app/assets/node_modules/quill/assets/icons/align-justify.svg +5 -0
  1121. data/app/assets/node_modules/quill/assets/icons/align-left.svg +5 -0
  1122. data/app/assets/node_modules/quill/assets/icons/align-right.svg +5 -0
  1123. data/app/assets/node_modules/quill/assets/icons/attachment.svg +3 -0
  1124. data/app/assets/node_modules/quill/assets/icons/audio.svg +5 -0
  1125. data/app/assets/node_modules/quill/assets/icons/authorship.svg +5 -0
  1126. data/app/assets/node_modules/quill/assets/icons/background.svg +52 -0
  1127. data/app/assets/node_modules/quill/assets/icons/blockquote.svg +6 -0
  1128. data/app/assets/node_modules/quill/assets/icons/bold.svg +4 -0
  1129. data/app/assets/node_modules/quill/assets/icons/clean.svg +7 -0
  1130. data/app/assets/node_modules/quill/assets/icons/code.svg +5 -0
  1131. data/app/assets/node_modules/quill/assets/icons/color.svg +5 -0
  1132. data/app/assets/node_modules/quill/assets/icons/comment.svg +3 -0
  1133. data/app/assets/node_modules/quill/assets/icons/direction-ltr.svg +7 -0
  1134. data/app/assets/node_modules/quill/assets/icons/direction-rtl.svg +7 -0
  1135. data/app/assets/node_modules/quill/assets/icons/dropdown.svg +4 -0
  1136. data/app/assets/node_modules/quill/assets/icons/embed.svg +3 -0
  1137. data/app/assets/node_modules/quill/assets/icons/emoji.svg +6 -0
  1138. data/app/assets/node_modules/quill/assets/icons/float-center.svg +5 -0
  1139. data/app/assets/node_modules/quill/assets/icons/float-full.svg +5 -0
  1140. data/app/assets/node_modules/quill/assets/icons/float-left.svg +7 -0
  1141. data/app/assets/node_modules/quill/assets/icons/float-right.svg +7 -0
  1142. data/app/assets/node_modules/quill/assets/icons/font.svg +5 -0
  1143. data/app/assets/node_modules/quill/assets/icons/formula.svg +5 -0
  1144. data/app/assets/node_modules/quill/assets/icons/hashtag.svg +6 -0
  1145. data/app/assets/node_modules/quill/assets/icons/header-2.svg +3 -0
  1146. data/app/assets/node_modules/quill/assets/icons/header-3.svg +3 -0
  1147. data/app/assets/node_modules/quill/assets/icons/header-4.svg +3 -0
  1148. data/app/assets/node_modules/quill/assets/icons/header-5.svg +3 -0
  1149. data/app/assets/node_modules/quill/assets/icons/header-6.svg +3 -0
  1150. data/app/assets/node_modules/quill/assets/icons/header.svg +3 -0
  1151. data/app/assets/node_modules/quill/assets/icons/horizontal-rule.svg +4 -0
  1152. data/app/assets/node_modules/quill/assets/icons/image.svg +5 -0
  1153. data/app/assets/node_modules/quill/assets/icons/indent.svg +6 -0
  1154. data/app/assets/node_modules/quill/assets/icons/italic.svg +5 -0
  1155. data/app/assets/node_modules/quill/assets/icons/link.svg +5 -0
  1156. data/app/assets/node_modules/quill/assets/icons/list-bullet.svg +8 -0
  1157. data/app/assets/node_modules/quill/assets/icons/list-check.svg +8 -0
  1158. data/app/assets/node_modules/quill/assets/icons/list-ordered.svg +9 -0
  1159. data/app/assets/node_modules/quill/assets/icons/map.svg +5 -0
  1160. data/app/assets/node_modules/quill/assets/icons/mention.svg +4 -0
  1161. data/app/assets/node_modules/quill/assets/icons/more.svg +3 -0
  1162. data/app/assets/node_modules/quill/assets/icons/outdent.svg +6 -0
  1163. data/app/assets/node_modules/quill/assets/icons/redo.svg +4 -0
  1164. data/app/assets/node_modules/quill/assets/icons/size-decrease.svg +5 -0
  1165. data/app/assets/node_modules/quill/assets/icons/size-increase.svg +6 -0
  1166. data/app/assets/node_modules/quill/assets/icons/size.svg +6 -0
  1167. data/app/assets/node_modules/quill/assets/icons/spacing.svg +9 -0
  1168. data/app/assets/node_modules/quill/assets/icons/speech.svg +6 -0
  1169. data/app/assets/node_modules/quill/assets/icons/strike.svg +5 -0
  1170. data/app/assets/node_modules/quill/assets/icons/subscript.svg +4 -0
  1171. data/app/assets/node_modules/quill/assets/icons/superscript.svg +4 -0
  1172. data/app/assets/node_modules/quill/assets/icons/table-border-all.svg +5 -0
  1173. data/app/assets/node_modules/quill/assets/icons/table-border-bottom.svg +28 -0
  1174. data/app/assets/node_modules/quill/assets/icons/table-border-left.svg +28 -0
  1175. data/app/assets/node_modules/quill/assets/icons/table-border-none.svg +25 -0
  1176. data/app/assets/node_modules/quill/assets/icons/table-border-outside.svg +35 -0
  1177. data/app/assets/node_modules/quill/assets/icons/table-border-right.svg +28 -0
  1178. data/app/assets/node_modules/quill/assets/icons/table-border-top.svg +28 -0
  1179. data/app/assets/node_modules/quill/assets/icons/table-delete-cells.svg +13 -0
  1180. data/app/assets/node_modules/quill/assets/icons/table-delete-columns.svg +8 -0
  1181. data/app/assets/node_modules/quill/assets/icons/table-delete-rows.svg +9 -0
  1182. data/app/assets/node_modules/quill/assets/icons/table-insert-cells.svg +13 -0
  1183. data/app/assets/node_modules/quill/assets/icons/table-insert-columns.svg +8 -0
  1184. data/app/assets/node_modules/quill/assets/icons/table-insert-rows.svg +9 -0
  1185. data/app/assets/node_modules/quill/assets/icons/table-merge-cells.svg +4 -0
  1186. data/app/assets/node_modules/quill/assets/icons/table-unmerge-cells.svg +7 -0
  1187. data/app/assets/node_modules/quill/assets/icons/table.svg +11 -0
  1188. data/app/assets/node_modules/quill/assets/icons/underline.svg +4 -0
  1189. data/app/assets/node_modules/quill/assets/icons/undo.svg +4 -0
  1190. data/app/assets/node_modules/quill/assets/icons/video.svg +14 -0
  1191. data/app/assets/node_modules/quill/assets/snow/toolbar.styl +26 -0
  1192. data/app/assets/node_modules/quill/assets/snow/tooltip.styl +53 -0
  1193. data/app/assets/node_modules/quill/assets/snow.styl +18 -0
  1194. data/app/assets/node_modules/quill/blots/block.js +174 -0
  1195. data/app/assets/node_modules/quill/blots/break.js +29 -0
  1196. data/app/assets/node_modules/quill/blots/container.js +9 -0
  1197. data/app/assets/node_modules/quill/blots/cursor.js +116 -0
  1198. data/app/assets/node_modules/quill/blots/embed.js +79 -0
  1199. data/app/assets/node_modules/quill/blots/inline.js +50 -0
  1200. data/app/assets/node_modules/quill/blots/scroll.js +173 -0
  1201. data/app/assets/node_modules/quill/blots/text.js +5 -0
  1202. data/app/assets/node_modules/quill/core/editor.js +267 -0
  1203. data/app/assets/node_modules/quill/core/emitter.js +63 -0
  1204. data/app/assets/node_modules/quill/core/logger.js +22 -0
  1205. data/app/assets/node_modules/quill/core/module.js +10 -0
  1206. data/app/assets/node_modules/quill/core/polyfill.js +63 -0
  1207. data/app/assets/node_modules/quill/core/quill.js +506 -0
  1208. data/app/assets/node_modules/quill/core/selection.js +355 -0
  1209. data/app/assets/node_modules/quill/core/theme.js +30 -0
  1210. data/app/assets/node_modules/quill/core.js +36 -0
  1211. data/app/assets/node_modules/quill/dist/quill.bubble.css +952 -0
  1212. data/app/assets/node_modules/quill/dist/quill.core.css +397 -0
  1213. data/app/assets/node_modules/quill/dist/quill.core.js +8522 -0
  1214. data/app/assets/node_modules/quill/dist/quill.js +11489 -0
  1215. data/app/assets/node_modules/quill/dist/quill.min.js +8 -0
  1216. data/app/assets/node_modules/quill/dist/quill.min.js.map +1 -0
  1217. data/app/assets/node_modules/quill/dist/quill.snow.css +945 -0
  1218. data/app/assets/node_modules/quill/formats/align.js +12 -0
  1219. data/app/assets/node_modules/quill/formats/background.js +11 -0
  1220. data/app/assets/node_modules/quill/formats/blockquote.js +9 -0
  1221. data/app/assets/node_modules/quill/formats/bold.js +22 -0
  1222. data/app/assets/node_modules/quill/formats/code.js +118 -0
  1223. data/app/assets/node_modules/quill/formats/color.js +21 -0
  1224. data/app/assets/node_modules/quill/formats/direction.js +12 -0
  1225. data/app/assets/node_modules/quill/formats/font.js +18 -0
  1226. data/app/assets/node_modules/quill/formats/header.js +13 -0
  1227. data/app/assets/node_modules/quill/formats/image.js +57 -0
  1228. data/app/assets/node_modules/quill/formats/indent.js +31 -0
  1229. data/app/assets/node_modules/quill/formats/italic.js +7 -0
  1230. data/app/assets/node_modules/quill/formats/link.js +41 -0
  1231. data/app/assets/node_modules/quill/formats/list.js +130 -0
  1232. data/app/assets/node_modules/quill/formats/script.js +23 -0
  1233. data/app/assets/node_modules/quill/formats/size.js +12 -0
  1234. data/app/assets/node_modules/quill/formats/strike.js +7 -0
  1235. data/app/assets/node_modules/quill/formats/underline.js +7 -0
  1236. data/app/assets/node_modules/quill/formats/video.js +53 -0
  1237. data/app/assets/node_modules/quill/modules/clipboard.js +358 -0
  1238. data/app/assets/node_modules/quill/modules/formula.js +42 -0
  1239. data/app/assets/node_modules/quill/modules/history.js +120 -0
  1240. data/app/assets/node_modules/quill/modules/keyboard.js +494 -0
  1241. data/app/assets/node_modules/quill/modules/syntax.js +81 -0
  1242. data/app/assets/node_modules/quill/modules/toolbar.js +261 -0
  1243. data/app/assets/node_modules/quill/package.json +99 -0
  1244. data/app/assets/node_modules/quill/quill.js +104 -0
  1245. data/app/assets/node_modules/quill/themes/base.js +264 -0
  1246. data/app/assets/node_modules/quill/themes/bubble.js +111 -0
  1247. data/app/assets/node_modules/quill/themes/snow.js +120 -0
  1248. data/app/assets/node_modules/quill/ui/color-picker.js +35 -0
  1249. data/app/assets/node_modules/quill/ui/icon-picker.js +23 -0
  1250. data/app/assets/node_modules/quill/ui/icons.js +49 -0
  1251. data/app/assets/node_modules/quill/ui/picker.js +186 -0
  1252. data/app/assets/node_modules/quill/ui/tooltip.js +53 -0
  1253. data/app/assets/node_modules/quill-delta/CHANGELOG.md +48 -0
  1254. data/app/assets/node_modules/quill-delta/LICENSE +21 -0
  1255. data/app/assets/node_modules/quill-delta/README.md +639 -0
  1256. data/app/assets/node_modules/quill-delta/lib/delta.js +325 -0
  1257. data/app/assets/node_modules/quill-delta/lib/op.js +139 -0
  1258. data/app/assets/node_modules/quill-delta/package.json +40 -0
  1259. data/app/assets/node_modules/raphael/CONTRIBUTING.md +22 -0
  1260. data/app/assets/node_modules/raphael/Gruntfile.js +72 -0
  1261. data/app/assets/node_modules/raphael/README.md +75 -0
  1262. data/app/assets/node_modules/raphael/bower.json +31 -0
  1263. data/app/assets/node_modules/raphael/dev/banner.txt +8 -0
  1264. data/app/assets/node_modules/raphael/dev/raphael.amd.js +5 -0
  1265. data/app/assets/node_modules/raphael/dev/raphael.core.js +5405 -0
  1266. data/app/assets/node_modules/raphael/dev/raphael.svg.js +1424 -0
  1267. data/app/assets/node_modules/raphael/dev/raphael.vml.js +999 -0
  1268. data/app/assets/node_modules/raphael/dev/raphaelTest.html +39 -0
  1269. data/app/assets/node_modules/raphael/dev/test/index.html +31 -0
  1270. data/app/assets/node_modules/raphael/dev/test/svg/dom.js +317 -0
  1271. data/app/assets/node_modules/raphael/dev/test/vml/dom.js +5 -0
  1272. data/app/assets/node_modules/raphael/history.md +155 -0
  1273. data/app/assets/node_modules/raphael/license.txt +21 -0
  1274. data/app/assets/node_modules/raphael/package.json +47 -0
  1275. data/app/assets/node_modules/raphael/raphael.js +8353 -0
  1276. data/app/assets/node_modules/raphael/raphael.min.js +3 -0
  1277. data/app/assets/node_modules/raphael/raphael.no-deps.js +7927 -0
  1278. data/app/assets/node_modules/raphael/raphael.no-deps.min.js +3 -0
  1279. data/app/assets/node_modules/raphael/webpack.config.js +64 -0
  1280. data/app/assets/node_modules/raphael/yarn.lock +2012 -0
  1281. data/app/assets/node_modules/responsive-toolkit/CHANGELOG.md +70 -0
  1282. data/app/assets/node_modules/responsive-toolkit/LICENSE +21 -0
  1283. data/app/assets/node_modules/responsive-toolkit/README.md +155 -0
  1284. data/app/assets/node_modules/responsive-toolkit/bower.json +22 -0
  1285. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/index.html +53 -0
  1286. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/main.js +42 -0
  1287. data/app/assets/node_modules/responsive-toolkit/demos/bootstrap/style.css +109 -0
  1288. data/app/assets/node_modules/responsive-toolkit/demos/custom/index.html +23 -0
  1289. data/app/assets/node_modules/responsive-toolkit/demos/custom/main.js +36 -0
  1290. data/app/assets/node_modules/responsive-toolkit/demos/custom/style.css +19 -0
  1291. data/app/assets/node_modules/responsive-toolkit/demos/foundation/index.html +25 -0
  1292. data/app/assets/node_modules/responsive-toolkit/demos/foundation/main.js +28 -0
  1293. data/app/assets/node_modules/responsive-toolkit/demos/foundation/style.css +3 -0
  1294. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.js +49 -0
  1295. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit-1.5.0.min.js +8 -0
  1296. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.js +238 -0
  1297. data/app/assets/node_modules/responsive-toolkit/dist/bootstrap-toolkit.min.js +8 -0
  1298. data/app/assets/node_modules/responsive-toolkit/gulpfile.js +38 -0
  1299. data/app/assets/node_modules/responsive-toolkit/package.json +28 -0
  1300. data/app/assets/node_modules/responsive-toolkit/src/bootstrap-toolkit.js +238 -0
  1301. data/app/assets/node_modules/sortablejs/README.md +636 -0
  1302. data/app/assets/node_modules/sortablejs/Sortable.js +1540 -0
  1303. data/app/assets/node_modules/sortablejs/Sortable.min.js +2 -0
  1304. data/app/assets/node_modules/sortablejs/package.json +48 -0
  1305. data/app/assets/node_modules/tether/CHANGELOG.md +13 -0
  1306. data/app/assets/node_modules/tether/CONTRIBUTING.md +59 -0
  1307. data/app/assets/node_modules/tether/LICENSE +8 -0
  1308. data/app/assets/node_modules/tether/README.md +116 -0
  1309. data/app/assets/node_modules/tether/bower.json +26 -0
  1310. data/app/assets/node_modules/tether/component.json +22 -0
  1311. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.css +150 -0
  1312. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows-dark.min.css +1 -0
  1313. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.css +153 -0
  1314. data/app/assets/node_modules/tether/dist/css/tether-theme-arrows.min.css +1 -0
  1315. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.css +21 -0
  1316. data/app/assets/node_modules/tether/dist/css/tether-theme-basic.min.css +1 -0
  1317. data/app/assets/node_modules/tether/dist/css/tether.css +8 -0
  1318. data/app/assets/node_modules/tether/dist/css/tether.min.css +1 -0
  1319. data/app/assets/node_modules/tether/dist/js/tether.js +1813 -0
  1320. data/app/assets/node_modules/tether/dist/js/tether.min.js +1 -0
  1321. data/app/assets/node_modules/tether/docs/1-Overview/1-why_you_should_use_tether.md +43 -0
  1322. data/app/assets/node_modules/tether/docs/1-Overview/2-repositioning.md +46 -0
  1323. data/app/assets/node_modules/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md +47 -0
  1324. data/app/assets/node_modules/tether/docs/2-Examples/1-list_of_examples.md +27 -0
  1325. data/app/assets/node_modules/tether/docs/2-Examples/2-projects_using_tether.md +45 -0
  1326. data/app/assets/node_modules/tether/docs/3-Advanced/1-embedding_tether.md +9 -0
  1327. data/app/assets/node_modules/tether/docs/3-Advanced/2-extending_tether.md +54 -0
  1328. data/app/assets/node_modules/tether/docs/coffee/intro.coffee +113 -0
  1329. data/app/assets/node_modules/tether/docs/css/intro.css +218 -0
  1330. data/app/assets/node_modules/tether/docs/intro.md +591 -0
  1331. data/app/assets/node_modules/tether/docs/js/intro.js +117 -0
  1332. data/app/assets/node_modules/tether/docs/js/markAttachment.js +51 -0
  1333. data/app/assets/node_modules/tether/docs/sass/intro.sass +233 -0
  1334. data/app/assets/node_modules/tether/docs/welcome/browser-demo.html +76 -0
  1335. data/app/assets/node_modules/tether/docs/welcome/coffee/welcome.coffee +212 -0
  1336. data/app/assets/node_modules/tether/docs/welcome/css/browser-demo.css +86 -0
  1337. data/app/assets/node_modules/tether/docs/welcome/css/prism.css +2 -0
  1338. data/app/assets/node_modules/tether/docs/welcome/css/welcome.css +247 -0
  1339. data/app/assets/node_modules/tether/docs/welcome/index.html +226 -0
  1340. data/app/assets/node_modules/tether/docs/welcome/js/drop.js +239 -0
  1341. data/app/assets/node_modules/tether/docs/welcome/js/jquery.js +9597 -0
  1342. data/app/assets/node_modules/tether/docs/welcome/js/log.js +134 -0
  1343. data/app/assets/node_modules/tether/docs/welcome/js/tether-v0.1.3.js +2 -0
  1344. data/app/assets/node_modules/tether/docs/welcome/js/welcome.js +193 -0
  1345. data/app/assets/node_modules/tether/docs/welcome/sass/_inline-block.sass +6 -0
  1346. data/app/assets/node_modules/tether/docs/welcome/sass/browser-demo.sass +93 -0
  1347. data/app/assets/node_modules/tether/docs/welcome/sass/welcome.sass +285 -0
  1348. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite.png +0 -0
  1349. data/app/assets/node_modules/tether/examples/chosen/chosen-sprite@2x.png +0 -0
  1350. data/app/assets/node_modules/tether/examples/chosen/chosen.css +430 -0
  1351. data/app/assets/node_modules/tether/examples/chosen/chosen.js +1166 -0
  1352. data/app/assets/node_modules/tether/examples/chosen/index.html +110 -0
  1353. data/app/assets/node_modules/tether/examples/common/css/style.css +48 -0
  1354. data/app/assets/node_modules/tether/examples/content-visible/index.html +64 -0
  1355. data/app/assets/node_modules/tether/examples/dolls/dolls.css +18 -0
  1356. data/app/assets/node_modules/tether/examples/dolls/dolls.js +83 -0
  1357. data/app/assets/node_modules/tether/examples/dolls/index.html +7 -0
  1358. data/app/assets/node_modules/tether/examples/element-scroll/index.html +499 -0
  1359. data/app/assets/node_modules/tether/examples/enable-disable/index.html +37 -0
  1360. data/app/assets/node_modules/tether/examples/facebook/facebook.css +86 -0
  1361. data/app/assets/node_modules/tether/examples/facebook/index.html +209 -0
  1362. data/app/assets/node_modules/tether/examples/out-of-bounds/index.html +38 -0
  1363. data/app/assets/node_modules/tether/examples/pin/index.html +30 -0
  1364. data/app/assets/node_modules/tether/examples/resources/css/base.css +10 -0
  1365. data/app/assets/node_modules/tether/examples/resources/js/jquery.js +9597 -0
  1366. data/app/assets/node_modules/tether/examples/resources/js/log.js +134 -0
  1367. data/app/assets/node_modules/tether/examples/scroll/index.html +922 -0
  1368. data/app/assets/node_modules/tether/examples/simple/index.html +30 -0
  1369. data/app/assets/node_modules/tether/examples/testbed/index.html +36 -0
  1370. data/app/assets/node_modules/tether/examples/tooltip/index.html +86 -0
  1371. data/app/assets/node_modules/tether/examples/viewport/colors.css +145 -0
  1372. data/app/assets/node_modules/tether/examples/viewport/index.html +70 -0
  1373. data/app/assets/node_modules/tether/gulpfile.js +97 -0
  1374. data/app/assets/node_modules/tether/package.json +40 -0
  1375. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-arrows.sass +192 -0
  1376. data/app/assets/node_modules/tether/src/css/helpers/_tether-theme-basic.sass +14 -0
  1377. data/app/assets/node_modules/tether/src/css/helpers/_tether.sass +12 -0
  1378. data/app/assets/node_modules/tether/src/css/mixins/_inline-block.sass +6 -0
  1379. data/app/assets/node_modules/tether/src/css/mixins/_pie-clearfix.sass +7 -0
  1380. data/app/assets/node_modules/tether/src/css/tether-theme-arrows-dark.sass +12 -0
  1381. data/app/assets/node_modules/tether/src/css/tether-theme-arrows.sass +12 -0
  1382. data/app/assets/node_modules/tether/src/css/tether-theme-basic.sass +10 -0
  1383. data/app/assets/node_modules/tether/src/css/tether.sass +5 -0
  1384. data/app/assets/node_modules/tether/src/js/abutment.js +61 -0
  1385. data/app/assets/node_modules/tether/src/js/constraint.js +366 -0
  1386. data/app/assets/node_modules/tether/src/js/markAttachment.js +46 -0
  1387. data/app/assets/node_modules/tether/src/js/shift.js +32 -0
  1388. data/app/assets/node_modules/tether/src/js/tether.js +811 -0
  1389. data/app/assets/node_modules/tether/src/js/utils.js +370 -0
  1390. data/app/assets/node_modules/tinycolor2/Gruntfile.js +59 -0
  1391. data/app/assets/node_modules/tinycolor2/LICENSE +20 -0
  1392. data/app/assets/node_modules/tinycolor2/README.md +469 -0
  1393. data/app/assets/node_modules/tinycolor2/bower.json +9 -0
  1394. data/app/assets/node_modules/tinycolor2/demo/demo.css +23 -0
  1395. data/app/assets/node_modules/tinycolor2/demo/jquery-1.9.1.js +9597 -0
  1396. data/app/assets/node_modules/tinycolor2/dist/tinycolor-min.js +4 -0
  1397. data/app/assets/node_modules/tinycolor2/docs/docco.css +192 -0
  1398. data/app/assets/node_modules/tinycolor2/docs/tinycolor.html +1023 -0
  1399. data/app/assets/node_modules/tinycolor2/index.html +207 -0
  1400. data/app/assets/node_modules/tinycolor2/package.json +31 -0
  1401. data/app/assets/node_modules/tinycolor2/test/index.html +19 -0
  1402. data/app/assets/node_modules/tinycolor2/test/qunit.css +244 -0
  1403. data/app/assets/node_modules/tinycolor2/test/qunit.js +2152 -0
  1404. data/app/assets/node_modules/tinycolor2/test/test.js +791 -0
  1405. data/app/assets/node_modules/tinycolor2/tinycolor.js +1195 -0
  1406. data/app/assets/stylesheets/rails_modular_admin/application.scss +2 -3
  1407. data/app/assets/stylesheets/rails_modular_admin.scss +0 -1
  1408. data/config/initializers/assets.rb +4 -29
  1409. data/lib/rails_modular_admin/engine.rb +30 -2
  1410. data/lib/rails_modular_admin/version.rb +1 -1
  1411. metadata +1419 -8
  1412. data/app/controllers/rails_modular_admin/application_controller.rb +0 -5
  1413. data/app/helpers/rails_modular_admin/application_helper.rb +0 -4
  1414. data/app/jobs/rails_modular_admin/application_job.rb +0 -4
  1415. data/app/mailers/rails_modular_admin/application_mailer.rb +0 -6
  1416. data/app/models/rails_modular_admin/application_record.rb +0 -5
@@ -0,0 +1,2109 @@
1
+ /*!
2
+ * @fileOverview TouchSwipe - jQuery Plugin
3
+ * @version 1.6.18
4
+ *
5
+ * @author Matt Bryson http://www.github.com/mattbryson
6
+ * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
7
+ * @see http://labs.rampinteractive.co.uk/touchSwipe/
8
+ * @see http://plugins.jquery.com/project/touchSwipe
9
+ * @license
10
+ * Copyright (c) 2010-2015 Matt Bryson
11
+ * Dual licensed under the MIT or GPL Version 2 licenses.
12
+ *
13
+ */
14
+
15
+ /*
16
+ *
17
+ * Changelog
18
+ * $Date: 2010-12-12 (Wed, 12 Dec 2010) $
19
+ * $version: 1.0.0
20
+ * $version: 1.0.1 - removed multibyte comments
21
+ *
22
+ * $Date: 2011-21-02 (Mon, 21 Feb 2011) $
23
+ * $version: 1.1.0 - added allowPageScroll property to allow swiping and scrolling of page
24
+ * - changed handler signatures so one handler can be used for multiple events
25
+ * $Date: 2011-23-02 (Wed, 23 Feb 2011) $
26
+ * $version: 1.2.0 - added click handler. This is fired if the user simply clicks and does not swipe. The event object and click target are passed to handler.
27
+ * - If you use the http://code.google.com/p/jquery-ui-for-ipad-and-iphone/ plugin, you can also assign jQuery mouse events to children of a touchSwipe object.
28
+ * $version: 1.2.1 - removed console log!
29
+ *
30
+ * $version: 1.2.2 - Fixed bug where scope was not preserved in callback methods.
31
+ *
32
+ * $Date: 2011-28-04 (Thurs, 28 April 2011) $
33
+ * $version: 1.2.4 - Changed licence terms to be MIT or GPL inline with jQuery. Added check for support of touch events to stop non compatible browsers erroring.
34
+ *
35
+ * $Date: 2011-27-09 (Tues, 27 September 2011) $
36
+ * $version: 1.2.5 - Added support for testing swipes with mouse on desktop browser (thanks to https://github.com/joelhy)
37
+ *
38
+ * $Date: 2012-14-05 (Mon, 14 May 2012) $
39
+ * $version: 1.2.6 - Added timeThreshold between start and end touch, so user can ignore slow swipes (thanks to Mark Chase). Default is null, all swipes are detected
40
+ *
41
+ * $Date: 2012-05-06 (Tues, 05 June 2012) $
42
+ * $version: 1.2.7 - Changed time threshold to have null default for backwards compatibility. Added duration param passed back in events, and refactored how time is handled.
43
+ *
44
+ * $Date: 2012-05-06 (Tues, 05 June 2012) $
45
+ * $version: 1.2.8 - Added the possibility to return a value like null or false in the trigger callback. In that way we can control when the touch start/move should take effect or not (simply by returning in some cases return null; or return false;) This effects the ontouchstart/ontouchmove event.
46
+ *
47
+ * $Date: 2012-06-06 (Wed, 06 June 2012) $
48
+ * $version: 1.3.0 - Refactored whole plugin to allow for methods to be executed, as well as exposed defaults for user override. Added 'enable', 'disable', and 'destroy' methods
49
+ *
50
+ * $Date: 2012-05-06 (Fri, 05 June 2012) $
51
+ * $version: 1.3.1 - Bug fixes - bind() with false as last argument is no longer supported in jQuery 1.6, also, if you just click, the duration is now returned correctly.
52
+ *
53
+ * $Date: 2012-29-07 (Sun, 29 July 2012) $
54
+ * $version: 1.3.2 - Added fallbackToMouseEvents option to NOT capture mouse events on non touch devices.
55
+ * - Added "all" fingers value to the fingers property, so any combination of fingers triggers the swipe, allowing event handlers to check the finger count
56
+ *
57
+ * $Date: 2012-09-08 (Thurs, 9 Aug 2012) $
58
+ * $version: 1.3.3 - Code tidy prep for minefied version
59
+ *
60
+ * $Date: 2012-04-10 (wed, 4 Oct 2012) $
61
+ * $version: 1.4.0 - Added pinch support, pinchIn and pinchOut
62
+ *
63
+ * $Date: 2012-11-10 (Thurs, 11 Oct 2012) $
64
+ * $version: 1.5.0 - Added excludedElements, a jquery selector that specifies child elements that do NOT trigger swipes. By default, this is .noSwipe
65
+ *
66
+ * $Date: 2012-22-10 (Mon, 22 Oct 2012) $
67
+ * $version: 1.5.1 - Fixed bug with jQuery 1.8 and trailing comma in excludedElements
68
+ * - Fixed bug with IE and eventPreventDefault()
69
+ * $Date: 2013-01-12 (Fri, 12 Jan 2013) $
70
+ * $version: 1.6.0 - Fixed bugs with pinching, mainly when both pinch and swipe enabled, as well as adding time threshold for multifinger gestures, so releasing one finger beofre the other doesnt trigger as single finger gesture.
71
+ * - made the demo site all static local HTML pages so they can be run locally by a developer
72
+ * - added jsDoc comments and added documentation for the plugin
73
+ * - code tidy
74
+ * - added triggerOnTouchLeave property that will end the event when the user swipes off the element.
75
+ * $Date: 2013-03-23 (Sat, 23 Mar 2013) $
76
+ * $version: 1.6.1 - Added support for ie8 touch events
77
+ * $version: 1.6.2 - Added support for events binding with on / off / bind in jQ for all callback names.
78
+ * - Deprecated the 'click' handler in favour of tap.
79
+ * - added cancelThreshold property
80
+ * - added option method to update init options at runtime
81
+ * $version 1.6.3 - added doubletap, longtap events and longTapThreshold, doubleTapThreshold property
82
+ *
83
+ * $Date: 2013-04-04 (Thurs, 04 April 2013) $
84
+ * $version 1.6.4 - Fixed bug with cancelThreshold introduced in 1.6.3, where swipe status no longer fired start event, and stopped once swiping back.
85
+ *
86
+ * $Date: 2013-08-24 (Sat, 24 Aug 2013) $
87
+ * $version 1.6.5 - Merged a few pull requests fixing various bugs, added AMD support.
88
+ *
89
+ * $Date: 2014-06-04 (Wed, 04 June 2014) $
90
+ * $version 1.6.6 - Merge of pull requests.
91
+ * - IE10 touch support
92
+ * - Only prevent default event handling on valid swipe
93
+ * - Separate license/changelog comment
94
+ * - Detect if the swipe is valid at the end of the touch event.
95
+ * - Pass fingerdata to event handlers.
96
+ * - Add 'hold' gesture
97
+ * - Be more tolerant about the tap distance
98
+ * - Typos and minor fixes
99
+ *
100
+ * $Date: 2015-22-01 (Thurs, 22 Jan 2015) $
101
+ * $version 1.6.7 - Added patch from https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/issues/206 to fix memory leak
102
+ *
103
+ * $Date: 2015-2-2 (Mon, 2 Feb 2015) $
104
+ * $version 1.6.8 - Added preventDefaultEvents option to proxy events regardless.
105
+ * - Fixed issue with swipe and pinch not triggering at the same time
106
+ *
107
+ * $Date: 2015-9-6 (Tues, 9 June 2015) $
108
+ * $version 1.6.9 - Added PR from jdalton/hybrid to fix pointer events
109
+ * - Added scrolling demo
110
+ * - Added version property to plugin
111
+ *
112
+ * $Date: 2015-1-10 (Wed, 1 October 2015) $
113
+ * $version 1.6.10 - Added PR from beatspace to fix tap events
114
+ * $version 1.6.11 - Added PRs from indri-indri ( Doc tidyup), kkirsche ( Bower tidy up ), UziTech (preventDefaultEvents fixes )
115
+ * - Allowed setting multiple options via .swipe("options", options_hash) and more simply .swipe(options_hash) or exisitng instances
116
+ * $version 1.6.12 - Fixed bug with multi finger releases above 2 not triggering events
117
+ *
118
+ * $Date: 2015-12-18 (Fri, 18 December 2015) $
119
+ * $version 1.6.13 - Added PRs
120
+ * - Fixed #267 allowPageScroll not working correctly
121
+ * $version 1.6.14 - Fixed #220 / #248 doubletap not firing with swipes, #223 commonJS compatible
122
+ * $version 1.6.15 - More bug fixes
123
+ *
124
+ * $Date: 2016-04-29 (Fri, 29 April 2016) $
125
+ * $version 1.6.16 - Swipes with 0 distance now allow default events to trigger. So tapping any form elements or A tags will allow default interaction, but swiping will trigger a swipe.
126
+ Removed the a, input, select etc from the excluded Children list as the 0 distance tap solves that issue.
127
+ * $Date: 2016-05-19 (Fri, 29 April 2016) $
128
+ * $version 1.6.17 - Fixed context issue when calling instance methods via $("selector").swipe("method");
129
+ * $version 1.6.18 - now honors fallbackToMouseEvents=false for MS Pointer events when a Mouse is used.
130
+
131
+ */
132
+
133
+ /**
134
+ * See (http://jquery.com/).
135
+ * @name $
136
+ * @class
137
+ * See the jQuery Library (http://jquery.com/) for full details. This just
138
+ * documents the function and classes that are added to jQuery by this plug-in.
139
+ */
140
+
141
+ /**
142
+ * See (http://jquery.com/)
143
+ * @name fn
144
+ * @class
145
+ * See the jQuery Library (http://jquery.com/) for full details. This just
146
+ * documents the function and classes that are added to jQuery by this plug-in.
147
+ * @memberOf $
148
+ */
149
+
150
+
151
+ (function(factory) {
152
+ if (typeof define === 'function' && define.amd && define.amd.jQuery) {
153
+ // AMD. Register as anonymous module.
154
+ define(['jquery'], factory);
155
+ } else if (typeof module !== 'undefined' && module.exports) {
156
+ // CommonJS Module
157
+ factory(require("jquery"));
158
+ } else {
159
+ // Browser globals.
160
+ factory(jQuery);
161
+ }
162
+ }(function($) {
163
+ "use strict";
164
+
165
+ //Constants
166
+ var VERSION = "1.6.18",
167
+ LEFT = "left",
168
+ RIGHT = "right",
169
+ UP = "up",
170
+ DOWN = "down",
171
+ IN = "in",
172
+ OUT = "out",
173
+
174
+ NONE = "none",
175
+ AUTO = "auto",
176
+
177
+ SWIPE = "swipe",
178
+ PINCH = "pinch",
179
+ TAP = "tap",
180
+ DOUBLE_TAP = "doubletap",
181
+ LONG_TAP = "longtap",
182
+ HOLD = "hold",
183
+
184
+ HORIZONTAL = "horizontal",
185
+ VERTICAL = "vertical",
186
+
187
+ ALL_FINGERS = "all",
188
+
189
+ DOUBLE_TAP_THRESHOLD = 10,
190
+
191
+ PHASE_START = "start",
192
+ PHASE_MOVE = "move",
193
+ PHASE_END = "end",
194
+ PHASE_CANCEL = "cancel",
195
+
196
+ SUPPORTS_TOUCH = 'ontouchstart' in window,
197
+
198
+ SUPPORTS_POINTER_IE10 = window.navigator.msPointerEnabled && !window.navigator.pointerEnabled && !SUPPORTS_TOUCH,
199
+
200
+ SUPPORTS_POINTER = (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) && !SUPPORTS_TOUCH,
201
+
202
+ PLUGIN_NS = 'TouchSwipe';
203
+
204
+
205
+
206
+ /**
207
+ * The default configuration, and available options to configure touch swipe with.
208
+ * You can set the default values by updating any of the properties prior to instantiation.
209
+ * @name $.fn.swipe.defaults
210
+ * @namespace
211
+ * @property {int} [fingers=1] The number of fingers to detect in a swipe. Any swipes that do not meet this requirement will NOT trigger swipe handlers.
212
+ * @property {int} [threshold=75] The number of pixels that the user must move their finger by before it is considered a swipe.
213
+ * @property {int} [cancelThreshold=null] The number of pixels that the user must move their finger back from the original swipe direction to cancel the gesture.
214
+ * @property {int} [pinchThreshold=20] The number of pixels that the user must pinch their finger by before it is considered a pinch.
215
+ * @property {int} [maxTimeThreshold=null] Time, in milliseconds, between touchStart and touchEnd must NOT exceed in order to be considered a swipe.
216
+ * @property {int} [fingerReleaseThreshold=250] Time in milliseconds between releasing multiple fingers. If 2 fingers are down, and are released one after the other, if they are within this threshold, it counts as a simultaneous release.
217
+ * @property {int} [longTapThreshold=500] Time in milliseconds between tap and release for a long tap
218
+ * @property {int} [doubleTapThreshold=200] Time in milliseconds between 2 taps to count as a double tap
219
+ * @property {function} [swipe=null] A handler to catch all swipes. See {@link $.fn.swipe#event:swipe}
220
+ * @property {function} [swipeLeft=null] A handler that is triggered for "left" swipes. See {@link $.fn.swipe#event:swipeLeft}
221
+ * @property {function} [swipeRight=null] A handler that is triggered for "right" swipes. See {@link $.fn.swipe#event:swipeRight}
222
+ * @property {function} [swipeUp=null] A handler that is triggered for "up" swipes. See {@link $.fn.swipe#event:swipeUp}
223
+ * @property {function} [swipeDown=null] A handler that is triggered for "down" swipes. See {@link $.fn.swipe#event:swipeDown}
224
+ * @property {function} [swipeStatus=null] A handler triggered for every phase of the swipe. See {@link $.fn.swipe#event:swipeStatus}
225
+ * @property {function} [pinchIn=null] A handler triggered for pinch in events. See {@link $.fn.swipe#event:pinchIn}
226
+ * @property {function} [pinchOut=null] A handler triggered for pinch out events. See {@link $.fn.swipe#event:pinchOut}
227
+ * @property {function} [pinchStatus=null] A handler triggered for every phase of a pinch. See {@link $.fn.swipe#event:pinchStatus}
228
+ * @property {function} [tap=null] A handler triggered when a user just taps on the item, rather than swipes it. If they do not move, tap is triggered, if they do move, it is not.
229
+ * @property {function} [doubleTap=null] A handler triggered when a user double taps on the item. The delay between taps can be set with the doubleTapThreshold property. See {@link $.fn.swipe.defaults#doubleTapThreshold}
230
+ * @property {function} [longTap=null] A handler triggered when a user long taps on the item. The delay between start and end can be set with the longTapThreshold property. See {@link $.fn.swipe.defaults#longTapThreshold}
231
+ * @property (function) [hold=null] A handler triggered when a user reaches longTapThreshold on the item. See {@link $.fn.swipe.defaults#longTapThreshold}
232
+ * @property {boolean} [triggerOnTouchEnd=true] If true, the swipe events are triggered when the touch end event is received (user releases finger). If false, it will be triggered on reaching the threshold, and then cancel the touch event automatically.
233
+ * @property {boolean} [triggerOnTouchLeave=false] If true, then when the user leaves the swipe object, the swipe will end and trigger appropriate handlers.
234
+ * @property {string|undefined} [allowPageScroll='auto'] How the browser handles page scrolls when the user is swiping on a touchSwipe object. See {@link $.fn.swipe.pageScroll}. <br/><br/>
235
+ <code>"auto"</code> : all undefined swipes will cause the page to scroll in that direction. <br/>
236
+ <code>"none"</code> : the page will not scroll when user swipes. <br/>
237
+ <code>"horizontal"</code> : will force page to scroll on horizontal swipes. <br/>
238
+ <code>"vertical"</code> : will force page to scroll on vertical swipes. <br/>
239
+ * @property {boolean} [fallbackToMouseEvents=true] If true mouse events are used when run on a non touch device, false will stop swipes being triggered by mouse events on non touch devices.
240
+ * @property {string} [excludedElements=".noSwipe"] A jquery selector that specifies child elements that do NOT trigger swipes. By default this excludes elements with the class .noSwipe .
241
+ * @property {boolean} [preventDefaultEvents=true] by default default events are cancelled, so the page doesn't move. You can disable this so both native events fire as well as your handlers.
242
+
243
+ */
244
+ var defaults = {
245
+ fingers: 1,
246
+ threshold: 75,
247
+ cancelThreshold: null,
248
+ pinchThreshold: 20,
249
+ maxTimeThreshold: null,
250
+ fingerReleaseThreshold: 250,
251
+ longTapThreshold: 500,
252
+ doubleTapThreshold: 200,
253
+ swipe: null,
254
+ swipeLeft: null,
255
+ swipeRight: null,
256
+ swipeUp: null,
257
+ swipeDown: null,
258
+ swipeStatus: null,
259
+ pinchIn: null,
260
+ pinchOut: null,
261
+ pinchStatus: null,
262
+ click: null, //Deprecated since 1.6.2
263
+ tap: null,
264
+ doubleTap: null,
265
+ longTap: null,
266
+ hold: null,
267
+ triggerOnTouchEnd: true,
268
+ triggerOnTouchLeave: false,
269
+ allowPageScroll: "auto",
270
+ fallbackToMouseEvents: true,
271
+ excludedElements: ".noSwipe",
272
+ preventDefaultEvents: true
273
+ };
274
+
275
+
276
+
277
+ /**
278
+ * Applies TouchSwipe behaviour to one or more jQuery objects.
279
+ * The TouchSwipe plugin can be instantiated via this method, or methods within
280
+ * TouchSwipe can be executed via this method as per jQuery plugin architecture.
281
+ * An existing plugin can have its options changed simply by re calling .swipe(options)
282
+ * @see TouchSwipe
283
+ * @class
284
+ * @param {Mixed} method If the current DOMNode is a TouchSwipe object, and <code>method</code> is a TouchSwipe method, then
285
+ * the <code>method</code> is executed, and any following arguments are passed to the TouchSwipe method.
286
+ * If <code>method</code> is an object, then the TouchSwipe class is instantiated on the current DOMNode, passing the
287
+ * configuration properties defined in the object. See TouchSwipe
288
+ *
289
+ */
290
+ $.fn.swipe = function(method) {
291
+ var $this = $(this),
292
+ plugin = $this.data(PLUGIN_NS);
293
+
294
+ //Check if we are already instantiated and trying to execute a method
295
+ if (plugin && typeof method === 'string') {
296
+ if (plugin[method]) {
297
+ return plugin[method].apply(plugin, Array.prototype.slice.call(arguments, 1));
298
+ } else {
299
+ $.error('Method ' + method + ' does not exist on jQuery.swipe');
300
+ }
301
+ }
302
+
303
+ //Else update existing plugin with new options hash
304
+ else if (plugin && typeof method === 'object') {
305
+ plugin['option'].apply(plugin, arguments);
306
+ }
307
+
308
+ //Else not instantiated and trying to pass init object (or nothing)
309
+ else if (!plugin && (typeof method === 'object' || !method)) {
310
+ return init.apply(this, arguments);
311
+ }
312
+
313
+ return $this;
314
+ };
315
+
316
+ /**
317
+ * The version of the plugin
318
+ * @readonly
319
+ */
320
+ $.fn.swipe.version = VERSION;
321
+
322
+
323
+
324
+ //Expose our defaults so a user could override the plugin defaults
325
+ $.fn.swipe.defaults = defaults;
326
+
327
+ /**
328
+ * The phases that a touch event goes through. The <code>phase</code> is passed to the event handlers.
329
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
330
+ * @namespace
331
+ * @readonly
332
+ * @property {string} PHASE_START Constant indicating the start phase of the touch event. Value is <code>"start"</code>.
333
+ * @property {string} PHASE_MOVE Constant indicating the move phase of the touch event. Value is <code>"move"</code>.
334
+ * @property {string} PHASE_END Constant indicating the end phase of the touch event. Value is <code>"end"</code>.
335
+ * @property {string} PHASE_CANCEL Constant indicating the cancel phase of the touch event. Value is <code>"cancel"</code>.
336
+ */
337
+ $.fn.swipe.phases = {
338
+ PHASE_START: PHASE_START,
339
+ PHASE_MOVE: PHASE_MOVE,
340
+ PHASE_END: PHASE_END,
341
+ PHASE_CANCEL: PHASE_CANCEL
342
+ };
343
+
344
+ /**
345
+ * The direction constants that are passed to the event handlers.
346
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
347
+ * @namespace
348
+ * @readonly
349
+ * @property {string} LEFT Constant indicating the left direction. Value is <code>"left"</code>.
350
+ * @property {string} RIGHT Constant indicating the right direction. Value is <code>"right"</code>.
351
+ * @property {string} UP Constant indicating the up direction. Value is <code>"up"</code>.
352
+ * @property {string} DOWN Constant indicating the down direction. Value is <code>"cancel"</code>.
353
+ * @property {string} IN Constant indicating the in direction. Value is <code>"in"</code>.
354
+ * @property {string} OUT Constant indicating the out direction. Value is <code>"out"</code>.
355
+ */
356
+ $.fn.swipe.directions = {
357
+ LEFT: LEFT,
358
+ RIGHT: RIGHT,
359
+ UP: UP,
360
+ DOWN: DOWN,
361
+ IN: IN,
362
+ OUT: OUT
363
+ };
364
+
365
+ /**
366
+ * The page scroll constants that can be used to set the value of <code>allowPageScroll</code> option
367
+ * These properties are read only
368
+ * @namespace
369
+ * @readonly
370
+ * @see $.fn.swipe.defaults#allowPageScroll
371
+ * @property {string} NONE Constant indicating no page scrolling is allowed. Value is <code>"none"</code>.
372
+ * @property {string} HORIZONTAL Constant indicating horizontal page scrolling is allowed. Value is <code>"horizontal"</code>.
373
+ * @property {string} VERTICAL Constant indicating vertical page scrolling is allowed. Value is <code>"vertical"</code>.
374
+ * @property {string} AUTO Constant indicating either horizontal or vertical will be allowed, depending on the swipe handlers registered. Value is <code>"auto"</code>.
375
+ */
376
+ $.fn.swipe.pageScroll = {
377
+ NONE: NONE,
378
+ HORIZONTAL: HORIZONTAL,
379
+ VERTICAL: VERTICAL,
380
+ AUTO: AUTO
381
+ };
382
+
383
+ /**
384
+ * Constants representing the number of fingers used in a swipe. These are used to set both the value of <code>fingers</code> in the
385
+ * options object, as well as the value of the <code>fingers</code> event property.
386
+ * These properties are read only, attempting to change them will not alter the values passed to the event handlers.
387
+ * @namespace
388
+ * @readonly
389
+ * @see $.fn.swipe.defaults#fingers
390
+ * @property {string} ONE Constant indicating 1 finger is to be detected / was detected. Value is <code>1</code>.
391
+ * @property {string} TWO Constant indicating 2 fingers are to be detected / were detected. Value is <code>2</code>.
392
+ * @property {string} THREE Constant indicating 3 finger are to be detected / were detected. Value is <code>3</code>.
393
+ * @property {string} FOUR Constant indicating 4 finger are to be detected / were detected. Not all devices support this. Value is <code>4</code>.
394
+ * @property {string} FIVE Constant indicating 5 finger are to be detected / were detected. Not all devices support this. Value is <code>5</code>.
395
+ * @property {string} ALL Constant indicating any combination of finger are to be detected. Value is <code>"all"</code>.
396
+ */
397
+ $.fn.swipe.fingers = {
398
+ ONE: 1,
399
+ TWO: 2,
400
+ THREE: 3,
401
+ FOUR: 4,
402
+ FIVE: 5,
403
+ ALL: ALL_FINGERS
404
+ };
405
+
406
+ /**
407
+ * Initialise the plugin for each DOM element matched
408
+ * This creates a new instance of the main TouchSwipe class for each DOM element, and then
409
+ * saves a reference to that instance in the elements data property.
410
+ * @internal
411
+ */
412
+ function init(options) {
413
+ //Prep and extend the options
414
+ if (options && (options.allowPageScroll === undefined && (options.swipe !== undefined || options.swipeStatus !== undefined))) {
415
+ options.allowPageScroll = NONE;
416
+ }
417
+
418
+ //Check for deprecated options
419
+ //Ensure that any old click handlers are assigned to the new tap, unless we have a tap
420
+ if (options.click !== undefined && options.tap === undefined) {
421
+ options.tap = options.click;
422
+ }
423
+
424
+ if (!options) {
425
+ options = {};
426
+ }
427
+
428
+ //pass empty object so we dont modify the defaults
429
+ options = $.extend({}, $.fn.swipe.defaults, options);
430
+
431
+ //For each element instantiate the plugin
432
+ return this.each(function() {
433
+ var $this = $(this);
434
+
435
+ //Check we havent already initialised the plugin
436
+ var plugin = $this.data(PLUGIN_NS);
437
+
438
+ if (!plugin) {
439
+ plugin = new TouchSwipe(this, options);
440
+ $this.data(PLUGIN_NS, plugin);
441
+ }
442
+ });
443
+ }
444
+
445
+ /**
446
+ * Main TouchSwipe Plugin Class.
447
+ * Do not use this to construct your TouchSwipe object, use the jQuery plugin method $.fn.swipe(); {@link $.fn.swipe}
448
+ * @private
449
+ * @name TouchSwipe
450
+ * @param {DOMNode} element The HTML DOM object to apply to plugin to
451
+ * @param {Object} options The options to configure the plugin with. @link {$.fn.swipe.defaults}
452
+ * @see $.fh.swipe.defaults
453
+ * @see $.fh.swipe
454
+ * @class
455
+ */
456
+ function TouchSwipe(element, options) {
457
+
458
+ //take a local/instacne level copy of the options - should make it this.options really...
459
+ var options = $.extend({}, options);
460
+
461
+ var useTouchEvents = (SUPPORTS_TOUCH || SUPPORTS_POINTER || !options.fallbackToMouseEvents),
462
+ START_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerDown' : 'pointerdown') : 'touchstart') : 'mousedown',
463
+ MOVE_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerMove' : 'pointermove') : 'touchmove') : 'mousemove',
464
+ END_EV = useTouchEvents ? (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerUp' : 'pointerup') : 'touchend') : 'mouseup',
465
+ LEAVE_EV = useTouchEvents ? (SUPPORTS_POINTER ? 'mouseleave' : null) : 'mouseleave', //we manually detect leave on touch devices, so null event here
466
+ CANCEL_EV = (SUPPORTS_POINTER ? (SUPPORTS_POINTER_IE10 ? 'MSPointerCancel' : 'pointercancel') : 'touchcancel');
467
+
468
+
469
+
470
+ //touch properties
471
+ var distance = 0,
472
+ direction = null,
473
+ currentDirection = null,
474
+ duration = 0,
475
+ startTouchesDistance = 0,
476
+ endTouchesDistance = 0,
477
+ pinchZoom = 1,
478
+ pinchDistance = 0,
479
+ pinchDirection = 0,
480
+ maximumsMap = null;
481
+
482
+
483
+
484
+ //jQuery wrapped element for this instance
485
+ var $element = $(element);
486
+
487
+ //Current phase of th touch cycle
488
+ var phase = "start";
489
+
490
+ // the current number of fingers being used.
491
+ var fingerCount = 0;
492
+
493
+ //track mouse points / delta
494
+ var fingerData = {};
495
+
496
+ //track times
497
+ var startTime = 0,
498
+ endTime = 0,
499
+ previousTouchEndTime = 0,
500
+ fingerCountAtRelease = 0,
501
+ doubleTapStartTime = 0;
502
+
503
+ //Timeouts
504
+ var singleTapTimeout = null,
505
+ holdTimeout = null;
506
+
507
+ // Add gestures to all swipable areas if supported
508
+ try {
509
+ $element.bind(START_EV, touchStart);
510
+ $element.bind(CANCEL_EV, touchCancel);
511
+ } catch (e) {
512
+ $.error('events not supported ' + START_EV + ',' + CANCEL_EV + ' on jQuery.swipe');
513
+ }
514
+
515
+ //
516
+ //Public methods
517
+ //
518
+
519
+ /**
520
+ * re-enables the swipe plugin with the previous configuration
521
+ * @function
522
+ * @name $.fn.swipe#enable
523
+ * @return {DOMNode} The Dom element that was registered with TouchSwipe
524
+ * @example $("#element").swipe("enable");
525
+ */
526
+ this.enable = function() {
527
+ //Incase we are already enabled, clean up...
528
+ this.disable();
529
+ $element.bind(START_EV, touchStart);
530
+ $element.bind(CANCEL_EV, touchCancel);
531
+ return $element;
532
+ };
533
+
534
+ /**
535
+ * disables the swipe plugin
536
+ * @function
537
+ * @name $.fn.swipe#disable
538
+ * @return {DOMNode} The Dom element that is now registered with TouchSwipe
539
+ * @example $("#element").swipe("disable");
540
+ */
541
+ this.disable = function() {
542
+ removeListeners();
543
+ return $element;
544
+ };
545
+
546
+ /**
547
+ * Destroy the swipe plugin completely. To use any swipe methods, you must re initialise the plugin.
548
+ * @function
549
+ * @name $.fn.swipe#destroy
550
+ * @example $("#element").swipe("destroy");
551
+ */
552
+ this.destroy = function() {
553
+ removeListeners();
554
+ $element.data(PLUGIN_NS, null);
555
+ $element = null;
556
+ };
557
+
558
+
559
+ /**
560
+ * Allows run time updating of the swipe configuration options.
561
+ * @function
562
+ * @name $.fn.swipe#option
563
+ * @param {String} property The option property to get or set, or a has of multiple options to set
564
+ * @param {Object} [value] The value to set the property to
565
+ * @return {Object} If only a property name is passed, then that property value is returned. If nothing is passed the current options hash is returned.
566
+ * @example $("#element").swipe("option", "threshold"); // return the threshold
567
+ * @example $("#element").swipe("option", "threshold", 100); // set the threshold after init
568
+ * @example $("#element").swipe("option", {threshold:100, fingers:3} ); // set multiple properties after init
569
+ * @example $("#element").swipe({threshold:100, fingers:3} ); // set multiple properties after init - the "option" method is optional!
570
+ * @example $("#element").swipe("option"); // Return the current options hash
571
+ * @see $.fn.swipe.defaults
572
+ *
573
+ */
574
+ this.option = function(property, value) {
575
+
576
+ if (typeof property === 'object') {
577
+ options = $.extend(options, property);
578
+ } else if (options[property] !== undefined) {
579
+ if (value === undefined) {
580
+ return options[property];
581
+ } else {
582
+ options[property] = value;
583
+ }
584
+ } else if (!property) {
585
+ return options;
586
+ } else {
587
+ $.error('Option ' + property + ' does not exist on jQuery.swipe.options');
588
+ }
589
+
590
+ return null;
591
+ }
592
+
593
+
594
+
595
+ //
596
+ // Private methods
597
+ //
598
+
599
+ //
600
+ // EVENTS
601
+ //
602
+ /**
603
+ * Event handler for a touch start event.
604
+ * Stops the default click event from triggering and stores where we touched
605
+ * @inner
606
+ * @param {object} jqEvent The normalised jQuery event object.
607
+ */
608
+ function touchStart(jqEvent) {
609
+
610
+ //If we already in a touch event (a finger already in use) then ignore subsequent ones..
611
+ if (getTouchInProgress()) {
612
+ return;
613
+ }
614
+
615
+ //Check if this element matches any in the excluded elements selectors, or its parent is excluded, if so, DON'T swipe
616
+ if ($(jqEvent.target).closest(options.excludedElements, $element).length > 0) {
617
+ return;
618
+ }
619
+
620
+ //As we use Jquery bind for events, we need to target the original event object
621
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
622
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
623
+
624
+
625
+ //If we have a pointer event, whoes type is 'mouse' and we have said NO mouse events, then dont do anything.
626
+ if(event.pointerType && event.pointerType=="mouse" && options.fallbackToMouseEvents==false) {
627
+ return;
628
+ };
629
+
630
+ var ret,
631
+ touches = event.touches,
632
+ evt = touches ? touches[0] : event;
633
+
634
+ phase = PHASE_START;
635
+
636
+ //If we support touches, get the finger count
637
+ if (touches) {
638
+ // get the total number of fingers touching the screen
639
+ fingerCount = touches.length;
640
+ }
641
+ //Else this is the desktop, so stop the browser from dragging content
642
+ else if (options.preventDefaultEvents !== false) {
643
+ jqEvent.preventDefault(); //call this on jq event so we are cross browser
644
+ }
645
+
646
+ //clear vars..
647
+ distance = 0;
648
+ direction = null;
649
+ currentDirection=null;
650
+ pinchDirection = null;
651
+ duration = 0;
652
+ startTouchesDistance = 0;
653
+ endTouchesDistance = 0;
654
+ pinchZoom = 1;
655
+ pinchDistance = 0;
656
+ maximumsMap = createMaximumsData();
657
+ cancelMultiFingerRelease();
658
+
659
+ //Create the default finger data
660
+ createFingerData(0, evt);
661
+
662
+ // check the number of fingers is what we are looking for, or we are capturing pinches
663
+ if (!touches || (fingerCount === options.fingers || options.fingers === ALL_FINGERS) || hasPinches()) {
664
+ // get the coordinates of the touch
665
+ startTime = getTimeStamp();
666
+
667
+ if (fingerCount == 2) {
668
+ //Keep track of the initial pinch distance, so we can calculate the diff later
669
+ //Store second finger data as start
670
+ createFingerData(1, touches[1]);
671
+ startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start);
672
+ }
673
+
674
+ if (options.swipeStatus || options.pinchStatus) {
675
+ ret = triggerHandler(event, phase);
676
+ }
677
+ } else {
678
+ //A touch with more or less than the fingers we are looking for, so cancel
679
+ ret = false;
680
+ }
681
+
682
+ //If we have a return value from the users handler, then return and cancel
683
+ if (ret === false) {
684
+ phase = PHASE_CANCEL;
685
+ triggerHandler(event, phase);
686
+ return ret;
687
+ } else {
688
+ if (options.hold) {
689
+ holdTimeout = setTimeout($.proxy(function() {
690
+ //Trigger the event
691
+ $element.trigger('hold', [event.target]);
692
+ //Fire the callback
693
+ if (options.hold) {
694
+ ret = options.hold.call($element, event, event.target);
695
+ }
696
+ }, this), options.longTapThreshold);
697
+ }
698
+
699
+ setTouchInProgress(true);
700
+ }
701
+
702
+ return null;
703
+ };
704
+
705
+
706
+
707
+ /**
708
+ * Event handler for a touch move event.
709
+ * If we change fingers during move, then cancel the event
710
+ * @inner
711
+ * @param {object} jqEvent The normalised jQuery event object.
712
+ */
713
+ function touchMove(jqEvent) {
714
+
715
+ //As we use Jquery bind for events, we need to target the original event object
716
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
717
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
718
+
719
+ //If we are ending, cancelling, or within the threshold of 2 fingers being released, don't track anything..
720
+ if (phase === PHASE_END || phase === PHASE_CANCEL || inMultiFingerRelease())
721
+ return;
722
+
723
+ var ret,
724
+ touches = event.touches,
725
+ evt = touches ? touches[0] : event;
726
+
727
+
728
+ //Update the finger data
729
+ var currentFinger = updateFingerData(evt);
730
+ endTime = getTimeStamp();
731
+
732
+ if (touches) {
733
+ fingerCount = touches.length;
734
+ }
735
+
736
+ if (options.hold) {
737
+ clearTimeout(holdTimeout);
738
+ }
739
+
740
+ phase = PHASE_MOVE;
741
+
742
+ //If we have 2 fingers get Touches distance as well
743
+ if (fingerCount == 2) {
744
+
745
+ //Keep track of the initial pinch distance, so we can calculate the diff later
746
+ //We do this here as well as the start event, in case they start with 1 finger, and the press 2 fingers
747
+ if (startTouchesDistance == 0) {
748
+ //Create second finger if this is the first time...
749
+ createFingerData(1, touches[1]);
750
+
751
+ startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start);
752
+ } else {
753
+ //Else just update the second finger
754
+ updateFingerData(touches[1]);
755
+
756
+ endTouchesDistance = calculateTouchesDistance(fingerData[0].end, fingerData[1].end);
757
+ pinchDirection = calculatePinchDirection(fingerData[0].end, fingerData[1].end);
758
+ }
759
+
760
+ pinchZoom = calculatePinchZoom(startTouchesDistance, endTouchesDistance);
761
+ pinchDistance = Math.abs(startTouchesDistance - endTouchesDistance);
762
+ }
763
+
764
+ if ((fingerCount === options.fingers || options.fingers === ALL_FINGERS) || !touches || hasPinches()) {
765
+
766
+ //The overall direction of the swipe. From start to now.
767
+ direction = calculateDirection(currentFinger.start, currentFinger.end);
768
+
769
+ //The immediate direction of the swipe, direction between the last movement and this one.
770
+ currentDirection = calculateDirection(currentFinger.last, currentFinger.end);
771
+
772
+ //Check if we need to prevent default event (page scroll / pinch zoom) or not
773
+ validateDefaultEvent(jqEvent, currentDirection);
774
+
775
+ //Distance and duration are all off the main finger
776
+ distance = calculateDistance(currentFinger.start, currentFinger.end);
777
+ duration = calculateDuration();
778
+
779
+ //Cache the maximum distance we made in this direction
780
+ setMaxDistance(direction, distance);
781
+
782
+ //Trigger status handler
783
+ ret = triggerHandler(event, phase);
784
+
785
+
786
+ //If we trigger end events when threshold are met, or trigger events when touch leaves element
787
+ if (!options.triggerOnTouchEnd || options.triggerOnTouchLeave) {
788
+
789
+ var inBounds = true;
790
+
791
+ //If checking if we leave the element, run the bounds check (we can use touchleave as its not supported on webkit)
792
+ if (options.triggerOnTouchLeave) {
793
+ var bounds = getbounds(this);
794
+ inBounds = isInBounds(currentFinger.end, bounds);
795
+ }
796
+
797
+ //Trigger end handles as we swipe if thresholds met or if we have left the element if the user has asked to check these..
798
+ if (!options.triggerOnTouchEnd && inBounds) {
799
+ phase = getNextPhase(PHASE_MOVE);
800
+ }
801
+ //We end if out of bounds here, so set current phase to END, and check if its modified
802
+ else if (options.triggerOnTouchLeave && !inBounds) {
803
+ phase = getNextPhase(PHASE_END);
804
+ }
805
+
806
+ if (phase == PHASE_CANCEL || phase == PHASE_END) {
807
+ triggerHandler(event, phase);
808
+ }
809
+ }
810
+ } else {
811
+ phase = PHASE_CANCEL;
812
+ triggerHandler(event, phase);
813
+ }
814
+
815
+ if (ret === false) {
816
+ phase = PHASE_CANCEL;
817
+ triggerHandler(event, phase);
818
+ }
819
+ }
820
+
821
+
822
+
823
+
824
+ /**
825
+ * Event handler for a touch end event.
826
+ * Calculate the direction and trigger events
827
+ * @inner
828
+ * @param {object} jqEvent The normalised jQuery event object.
829
+ */
830
+ function touchEnd(jqEvent) {
831
+ //As we use Jquery bind for events, we need to target the original event object
832
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
833
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent,
834
+ touches = event.touches;
835
+
836
+ //If we are still in a touch with the device wait a fraction and see if the other finger comes up
837
+ //if it does within the threshold, then we treat it as a multi release, not a single release and end the touch / swipe
838
+ if (touches) {
839
+ if (touches.length && !inMultiFingerRelease()) {
840
+ startMultiFingerRelease(event);
841
+ return true;
842
+ } else if (touches.length && inMultiFingerRelease()) {
843
+ return true;
844
+ }
845
+ }
846
+
847
+ //If a previous finger has been released, check how long ago, if within the threshold, then assume it was a multifinger release.
848
+ //This is used to allow 2 fingers to release fractionally after each other, whilst maintaining the event as containing 2 fingers, not 1
849
+ if (inMultiFingerRelease()) {
850
+ fingerCount = fingerCountAtRelease;
851
+ }
852
+
853
+ //Set end of swipe
854
+ endTime = getTimeStamp();
855
+
856
+ //Get duration incase move was never fired
857
+ duration = calculateDuration();
858
+
859
+ //If we trigger handlers at end of swipe OR, we trigger during, but they didnt trigger and we are still in the move phase
860
+ if (didSwipeBackToCancel() || !validateSwipeDistance()) {
861
+ phase = PHASE_CANCEL;
862
+ triggerHandler(event, phase);
863
+ } else if (options.triggerOnTouchEnd || (options.triggerOnTouchEnd === false && phase === PHASE_MOVE)) {
864
+ //call this on jq event so we are cross browser
865
+ if (options.preventDefaultEvents !== false && jqEvent.cancelable !== false) {
866
+ jqEvent.preventDefault();
867
+ }
868
+ phase = PHASE_END;
869
+ triggerHandler(event, phase);
870
+ }
871
+ //Special cases - A tap should always fire on touch end regardless,
872
+ //So here we manually trigger the tap end handler by itself
873
+ //We dont run trigger handler as it will re-trigger events that may have fired already
874
+ else if (!options.triggerOnTouchEnd && hasTap()) {
875
+ //Trigger the pinch events...
876
+ phase = PHASE_END;
877
+ triggerHandlerForGesture(event, phase, TAP);
878
+ } else if (phase === PHASE_MOVE) {
879
+ phase = PHASE_CANCEL;
880
+ triggerHandler(event, phase);
881
+ }
882
+
883
+ setTouchInProgress(false);
884
+
885
+ return null;
886
+ }
887
+
888
+
889
+
890
+ /**
891
+ * Event handler for a touch cancel event.
892
+ * Clears current vars
893
+ * @inner
894
+ */
895
+ function touchCancel() {
896
+ // reset the variables back to default values
897
+ fingerCount = 0;
898
+ endTime = 0;
899
+ startTime = 0;
900
+ startTouchesDistance = 0;
901
+ endTouchesDistance = 0;
902
+ pinchZoom = 1;
903
+
904
+ //If we were in progress of tracking a possible multi touch end, then re set it.
905
+ cancelMultiFingerRelease();
906
+
907
+ setTouchInProgress(false);
908
+ }
909
+
910
+
911
+ /**
912
+ * Event handler for a touch leave event.
913
+ * This is only triggered on desktops, in touch we work this out manually
914
+ * as the touchleave event is not supported in webkit
915
+ * @inner
916
+ */
917
+ function touchLeave(jqEvent) {
918
+ //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.
919
+ var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;
920
+
921
+ //If we have the trigger on leave property set....
922
+ if (options.triggerOnTouchLeave) {
923
+ phase = getNextPhase(PHASE_END);
924
+ triggerHandler(event, phase);
925
+ }
926
+ }
927
+
928
+ /**
929
+ * Removes all listeners that were associated with the plugin
930
+ * @inner
931
+ */
932
+ function removeListeners() {
933
+ $element.unbind(START_EV, touchStart);
934
+ $element.unbind(CANCEL_EV, touchCancel);
935
+ $element.unbind(MOVE_EV, touchMove);
936
+ $element.unbind(END_EV, touchEnd);
937
+
938
+ //we only have leave events on desktop, we manually calculate leave on touch as its not supported in webkit
939
+ if (LEAVE_EV) {
940
+ $element.unbind(LEAVE_EV, touchLeave);
941
+ }
942
+
943
+ setTouchInProgress(false);
944
+ }
945
+
946
+
947
+ /**
948
+ * Checks if the time and distance thresholds have been met, and if so then the appropriate handlers are fired.
949
+ */
950
+ function getNextPhase(currentPhase) {
951
+
952
+ var nextPhase = currentPhase;
953
+
954
+ // Ensure we have valid swipe (under time and over distance and check if we are out of bound...)
955
+ var validTime = validateSwipeTime();
956
+ var validDistance = validateSwipeDistance();
957
+ var didCancel = didSwipeBackToCancel();
958
+
959
+ //If we have exceeded our time, then cancel
960
+ if (!validTime || didCancel) {
961
+ nextPhase = PHASE_CANCEL;
962
+ }
963
+ //Else if we are moving, and have reached distance then end
964
+ else if (validDistance && currentPhase == PHASE_MOVE && (!options.triggerOnTouchEnd || options.triggerOnTouchLeave)) {
965
+ nextPhase = PHASE_END;
966
+ }
967
+ //Else if we have ended by leaving and didn't reach distance, then cancel
968
+ else if (!validDistance && currentPhase == PHASE_END && options.triggerOnTouchLeave) {
969
+ nextPhase = PHASE_CANCEL;
970
+ }
971
+
972
+ return nextPhase;
973
+ }
974
+
975
+
976
+ /**
977
+ * Trigger the relevant event handler
978
+ * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, "left", "right", "up", or "down"
979
+ * @param {object} event the original event object
980
+ * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}
981
+ * @inner
982
+ */
983
+ function triggerHandler(event, phase) {
984
+
985
+
986
+
987
+ var ret,
988
+ touches = event.touches;
989
+
990
+ // SWIPE GESTURES
991
+ if (didSwipe() || hasSwipes()) {
992
+ ret = triggerHandlerForGesture(event, phase, SWIPE);
993
+ }
994
+
995
+ // PINCH GESTURES (if the above didn't cancel)
996
+ if ((didPinch() || hasPinches()) && ret !== false) {
997
+ ret = triggerHandlerForGesture(event, phase, PINCH);
998
+ }
999
+
1000
+ // CLICK / TAP (if the above didn't cancel)
1001
+ if (didDoubleTap() && ret !== false) {
1002
+ //Trigger the tap events...
1003
+ ret = triggerHandlerForGesture(event, phase, DOUBLE_TAP);
1004
+ }
1005
+
1006
+ // CLICK / TAP (if the above didn't cancel)
1007
+ else if (didLongTap() && ret !== false) {
1008
+ //Trigger the tap events...
1009
+ ret = triggerHandlerForGesture(event, phase, LONG_TAP);
1010
+ }
1011
+
1012
+ // CLICK / TAP (if the above didn't cancel)
1013
+ else if (didTap() && ret !== false) {
1014
+ //Trigger the tap event..
1015
+ ret = triggerHandlerForGesture(event, phase, TAP);
1016
+ }
1017
+
1018
+
1019
+
1020
+ // If we are cancelling the gesture, then manually trigger the reset handler
1021
+ if (phase === PHASE_CANCEL) {
1022
+
1023
+ touchCancel(event);
1024
+ }
1025
+
1026
+
1027
+
1028
+
1029
+ // If we are ending the gesture, then manually trigger the reset handler IF all fingers are off
1030
+ if (phase === PHASE_END) {
1031
+ //If we support touch, then check that all fingers are off before we cancel
1032
+ if (touches) {
1033
+ if (!touches.length) {
1034
+ touchCancel(event);
1035
+ }
1036
+ } else {
1037
+ touchCancel(event);
1038
+ }
1039
+ }
1040
+
1041
+ return ret;
1042
+ }
1043
+
1044
+
1045
+
1046
+ /**
1047
+ * Trigger the relevant event handler
1048
+ * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, "left", "right", "up", or "down"
1049
+ * @param {object} event the original event object
1050
+ * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}
1051
+ * @param {string} gesture the gesture to trigger a handler for : PINCH or SWIPE {@link $.fn.swipe.gestures}
1052
+ * @return Boolean False, to indicate that the event should stop propagation, or void.
1053
+ * @inner
1054
+ */
1055
+ function triggerHandlerForGesture(event, phase, gesture) {
1056
+
1057
+ var ret;
1058
+
1059
+ //SWIPES....
1060
+ if (gesture == SWIPE) {
1061
+ //Trigger status every time..
1062
+ $element.trigger('swipeStatus', [phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection]);
1063
+
1064
+ if (options.swipeStatus) {
1065
+ ret = options.swipeStatus.call($element, event, phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection);
1066
+ //If the status cancels, then dont run the subsequent event handlers..
1067
+ if (ret === false) return false;
1068
+ }
1069
+
1070
+ if (phase == PHASE_END && validateSwipe()) {
1071
+
1072
+ //Cancel any taps that were in progress...
1073
+ clearTimeout(singleTapTimeout);
1074
+ clearTimeout(holdTimeout);
1075
+
1076
+ $element.trigger('swipe', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1077
+
1078
+ if (options.swipe) {
1079
+ ret = options.swipe.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1080
+ //If the status cancels, then dont run the subsequent event handlers..
1081
+ if (ret === false) return false;
1082
+ }
1083
+
1084
+ //trigger direction specific event handlers
1085
+ switch (direction) {
1086
+ case LEFT:
1087
+ $element.trigger('swipeLeft', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1088
+
1089
+ if (options.swipeLeft) {
1090
+ ret = options.swipeLeft.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1091
+ }
1092
+ break;
1093
+
1094
+ case RIGHT:
1095
+ $element.trigger('swipeRight', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1096
+
1097
+ if (options.swipeRight) {
1098
+ ret = options.swipeRight.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1099
+ }
1100
+ break;
1101
+
1102
+ case UP:
1103
+ $element.trigger('swipeUp', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1104
+
1105
+ if (options.swipeUp) {
1106
+ ret = options.swipeUp.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1107
+ }
1108
+ break;
1109
+
1110
+ case DOWN:
1111
+ $element.trigger('swipeDown', [direction, distance, duration, fingerCount, fingerData, currentDirection]);
1112
+
1113
+ if (options.swipeDown) {
1114
+ ret = options.swipeDown.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection);
1115
+ }
1116
+ break;
1117
+ }
1118
+ }
1119
+ }
1120
+
1121
+
1122
+ //PINCHES....
1123
+ if (gesture == PINCH) {
1124
+ $element.trigger('pinchStatus', [phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1125
+
1126
+ if (options.pinchStatus) {
1127
+ ret = options.pinchStatus.call($element, event, phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1128
+ //If the status cancels, then dont run the subsequent event handlers..
1129
+ if (ret === false) return false;
1130
+ }
1131
+
1132
+ if (phase == PHASE_END && validatePinch()) {
1133
+
1134
+ switch (pinchDirection) {
1135
+ case IN:
1136
+ $element.trigger('pinchIn', [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1137
+
1138
+ if (options.pinchIn) {
1139
+ ret = options.pinchIn.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1140
+ }
1141
+ break;
1142
+
1143
+ case OUT:
1144
+ $element.trigger('pinchOut', [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]);
1145
+
1146
+ if (options.pinchOut) {
1147
+ ret = options.pinchOut.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData);
1148
+ }
1149
+ break;
1150
+ }
1151
+ }
1152
+ }
1153
+
1154
+ if (gesture == TAP) {
1155
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1156
+
1157
+ clearTimeout(singleTapTimeout);
1158
+ clearTimeout(holdTimeout);
1159
+
1160
+ //If we are also looking for doubelTaps, wait incase this is one...
1161
+ if (hasDoubleTap() && !inDoubleTap()) {
1162
+ doubleTapStartTime = getTimeStamp();
1163
+
1164
+ //Now wait for the double tap timeout, and trigger this single tap
1165
+ //if its not cancelled by a double tap
1166
+ singleTapTimeout = setTimeout($.proxy(function() {
1167
+ doubleTapStartTime = null;
1168
+ $element.trigger('tap', [event.target]);
1169
+
1170
+ if (options.tap) {
1171
+ ret = options.tap.call($element, event, event.target);
1172
+ }
1173
+ }, this), options.doubleTapThreshold);
1174
+
1175
+ } else {
1176
+ doubleTapStartTime = null;
1177
+ $element.trigger('tap', [event.target]);
1178
+ if (options.tap) {
1179
+ ret = options.tap.call($element, event, event.target);
1180
+ }
1181
+ }
1182
+ }
1183
+ } else if (gesture == DOUBLE_TAP) {
1184
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1185
+ clearTimeout(singleTapTimeout);
1186
+ clearTimeout(holdTimeout);
1187
+ doubleTapStartTime = null;
1188
+ $element.trigger('doubletap', [event.target]);
1189
+
1190
+ if (options.doubleTap) {
1191
+ ret = options.doubleTap.call($element, event, event.target);
1192
+ }
1193
+ }
1194
+ } else if (gesture == LONG_TAP) {
1195
+ if (phase === PHASE_CANCEL || phase === PHASE_END) {
1196
+ clearTimeout(singleTapTimeout);
1197
+ doubleTapStartTime = null;
1198
+
1199
+ $element.trigger('longtap', [event.target]);
1200
+ if (options.longTap) {
1201
+ ret = options.longTap.call($element, event, event.target);
1202
+ }
1203
+ }
1204
+ }
1205
+
1206
+ return ret;
1207
+ }
1208
+
1209
+
1210
+ //
1211
+ // GESTURE VALIDATION
1212
+ //
1213
+
1214
+ /**
1215
+ * Checks the user has swipe far enough
1216
+ * @return Boolean if <code>threshold</code> has been set, return true if the threshold was met, else false.
1217
+ * If no threshold was set, then we return true.
1218
+ * @inner
1219
+ */
1220
+ function validateSwipeDistance() {
1221
+ var valid = true;
1222
+ //If we made it past the min swipe distance..
1223
+ if (options.threshold !== null) {
1224
+ valid = distance >= options.threshold;
1225
+ }
1226
+
1227
+ return valid;
1228
+ }
1229
+
1230
+ /**
1231
+ * Checks the user has swiped back to cancel.
1232
+ * @return Boolean if <code>cancelThreshold</code> has been set, return true if the cancelThreshold was met, else false.
1233
+ * If no cancelThreshold was set, then we return true.
1234
+ * @inner
1235
+ */
1236
+ function didSwipeBackToCancel() {
1237
+ var cancelled = false;
1238
+ if (options.cancelThreshold !== null && direction !== null) {
1239
+ cancelled = (getMaxDistance(direction) - distance) >= options.cancelThreshold;
1240
+ }
1241
+
1242
+ return cancelled;
1243
+ }
1244
+
1245
+ /**
1246
+ * Checks the user has pinched far enough
1247
+ * @return Boolean if <code>pinchThreshold</code> has been set, return true if the threshold was met, else false.
1248
+ * If no threshold was set, then we return true.
1249
+ * @inner
1250
+ */
1251
+ function validatePinchDistance() {
1252
+ if (options.pinchThreshold !== null) {
1253
+ return pinchDistance >= options.pinchThreshold;
1254
+ }
1255
+ return true;
1256
+ }
1257
+
1258
+ /**
1259
+ * Checks that the time taken to swipe meets the minimum / maximum requirements
1260
+ * @return Boolean
1261
+ * @inner
1262
+ */
1263
+ function validateSwipeTime() {
1264
+ var result;
1265
+ //If no time set, then return true
1266
+ if (options.maxTimeThreshold) {
1267
+ if (duration >= options.maxTimeThreshold) {
1268
+ result = false;
1269
+ } else {
1270
+ result = true;
1271
+ }
1272
+ } else {
1273
+ result = true;
1274
+ }
1275
+
1276
+ return result;
1277
+ }
1278
+
1279
+
1280
+ /**
1281
+ * Checks direction of the swipe and the value allowPageScroll to see if we should allow or prevent the default behaviour from occurring.
1282
+ * This will essentially allow page scrolling or not when the user is swiping on a touchSwipe object.
1283
+ * @param {object} jqEvent The normalised jQuery representation of the event object.
1284
+ * @param {string} direction The direction of the event. See {@link $.fn.swipe.directions}
1285
+ * @see $.fn.swipe.directions
1286
+ * @inner
1287
+ */
1288
+ function validateDefaultEvent(jqEvent, direction) {
1289
+
1290
+ //If the option is set, allways allow the event to bubble up (let user handle weirdness)
1291
+ if (options.preventDefaultEvents === false) {
1292
+ return;
1293
+ }
1294
+
1295
+ if (options.allowPageScroll === NONE) {
1296
+ jqEvent.preventDefault();
1297
+ } else {
1298
+ var auto = options.allowPageScroll === AUTO;
1299
+
1300
+ switch (direction) {
1301
+ case LEFT:
1302
+ if ((options.swipeLeft && auto) || (!auto && options.allowPageScroll != HORIZONTAL)) {
1303
+ jqEvent.preventDefault();
1304
+ }
1305
+ break;
1306
+
1307
+ case RIGHT:
1308
+ if ((options.swipeRight && auto) || (!auto && options.allowPageScroll != HORIZONTAL)) {
1309
+ jqEvent.preventDefault();
1310
+ }
1311
+ break;
1312
+
1313
+ case UP:
1314
+ if ((options.swipeUp && auto) || (!auto && options.allowPageScroll != VERTICAL)) {
1315
+ jqEvent.preventDefault();
1316
+ }
1317
+ break;
1318
+
1319
+ case DOWN:
1320
+ if ((options.swipeDown && auto) || (!auto && options.allowPageScroll != VERTICAL)) {
1321
+ jqEvent.preventDefault();
1322
+ }
1323
+ break;
1324
+
1325
+ case NONE:
1326
+
1327
+ break;
1328
+ }
1329
+ }
1330
+ }
1331
+
1332
+
1333
+ // PINCHES
1334
+ /**
1335
+ * Returns true of the current pinch meets the thresholds
1336
+ * @return Boolean
1337
+ * @inner
1338
+ */
1339
+ function validatePinch() {
1340
+ var hasCorrectFingerCount = validateFingers();
1341
+ var hasEndPoint = validateEndPoint();
1342
+ var hasCorrectDistance = validatePinchDistance();
1343
+ return hasCorrectFingerCount && hasEndPoint && hasCorrectDistance;
1344
+
1345
+ }
1346
+
1347
+ /**
1348
+ * Returns true if any Pinch events have been registered
1349
+ * @return Boolean
1350
+ * @inner
1351
+ */
1352
+ function hasPinches() {
1353
+ //Enure we dont return 0 or null for false values
1354
+ return !!(options.pinchStatus || options.pinchIn || options.pinchOut);
1355
+ }
1356
+
1357
+ /**
1358
+ * Returns true if we are detecting pinches, and have one
1359
+ * @return Boolean
1360
+ * @inner
1361
+ */
1362
+ function didPinch() {
1363
+ //Enure we dont return 0 or null for false values
1364
+ return !!(validatePinch() && hasPinches());
1365
+ }
1366
+
1367
+
1368
+
1369
+
1370
+ // SWIPES
1371
+ /**
1372
+ * Returns true if the current swipe meets the thresholds
1373
+ * @return Boolean
1374
+ * @inner
1375
+ */
1376
+ function validateSwipe() {
1377
+ //Check validity of swipe
1378
+ var hasValidTime = validateSwipeTime();
1379
+ var hasValidDistance = validateSwipeDistance();
1380
+ var hasCorrectFingerCount = validateFingers();
1381
+ var hasEndPoint = validateEndPoint();
1382
+ var didCancel = didSwipeBackToCancel();
1383
+
1384
+ // if the user swiped more than the minimum length, perform the appropriate action
1385
+ // hasValidDistance is null when no distance is set
1386
+ var valid = !didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime;
1387
+
1388
+ return valid;
1389
+ }
1390
+
1391
+ /**
1392
+ * Returns true if any Swipe events have been registered
1393
+ * @return Boolean
1394
+ * @inner
1395
+ */
1396
+ function hasSwipes() {
1397
+ //Enure we dont return 0 or null for false values
1398
+ return !!(options.swipe || options.swipeStatus || options.swipeLeft || options.swipeRight || options.swipeUp || options.swipeDown);
1399
+ }
1400
+
1401
+
1402
+ /**
1403
+ * Returns true if we are detecting swipes and have one
1404
+ * @return Boolean
1405
+ * @inner
1406
+ */
1407
+ function didSwipe() {
1408
+ //Enure we dont return 0 or null for false values
1409
+ return !!(validateSwipe() && hasSwipes());
1410
+ }
1411
+
1412
+ /**
1413
+ * Returns true if we have matched the number of fingers we are looking for
1414
+ * @return Boolean
1415
+ * @inner
1416
+ */
1417
+ function validateFingers() {
1418
+ //The number of fingers we want were matched, or on desktop we ignore
1419
+ return ((fingerCount === options.fingers || options.fingers === ALL_FINGERS) || !SUPPORTS_TOUCH);
1420
+ }
1421
+
1422
+ /**
1423
+ * Returns true if we have an end point for the swipe
1424
+ * @return Boolean
1425
+ * @inner
1426
+ */
1427
+ function validateEndPoint() {
1428
+ //We have an end value for the finger
1429
+ return fingerData[0].end.x !== 0;
1430
+ }
1431
+
1432
+ // TAP / CLICK
1433
+ /**
1434
+ * Returns true if a click / tap events have been registered
1435
+ * @return Boolean
1436
+ * @inner
1437
+ */
1438
+ function hasTap() {
1439
+ //Enure we dont return 0 or null for false values
1440
+ return !!(options.tap);
1441
+ }
1442
+
1443
+ /**
1444
+ * Returns true if a double tap events have been registered
1445
+ * @return Boolean
1446
+ * @inner
1447
+ */
1448
+ function hasDoubleTap() {
1449
+ //Enure we dont return 0 or null for false values
1450
+ return !!(options.doubleTap);
1451
+ }
1452
+
1453
+ /**
1454
+ * Returns true if any long tap events have been registered
1455
+ * @return Boolean
1456
+ * @inner
1457
+ */
1458
+ function hasLongTap() {
1459
+ //Enure we dont return 0 or null for false values
1460
+ return !!(options.longTap);
1461
+ }
1462
+
1463
+ /**
1464
+ * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.
1465
+ * @return Boolean
1466
+ * @inner
1467
+ */
1468
+ function validateDoubleTap() {
1469
+ if (doubleTapStartTime == null) {
1470
+ return false;
1471
+ }
1472
+ var now = getTimeStamp();
1473
+ return (hasDoubleTap() && ((now - doubleTapStartTime) <= options.doubleTapThreshold));
1474
+ }
1475
+
1476
+ /**
1477
+ * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.
1478
+ * @return Boolean
1479
+ * @inner
1480
+ */
1481
+ function inDoubleTap() {
1482
+ return validateDoubleTap();
1483
+ }
1484
+
1485
+
1486
+ /**
1487
+ * Returns true if we have a valid tap
1488
+ * @return Boolean
1489
+ * @inner
1490
+ */
1491
+ function validateTap() {
1492
+ return ((fingerCount === 1 || !SUPPORTS_TOUCH) && (isNaN(distance) || distance < options.threshold));
1493
+ }
1494
+
1495
+ /**
1496
+ * Returns true if we have a valid long tap
1497
+ * @return Boolean
1498
+ * @inner
1499
+ */
1500
+ function validateLongTap() {
1501
+ //slight threshold on moving finger
1502
+ return ((duration > options.longTapThreshold) && (distance < DOUBLE_TAP_THRESHOLD));
1503
+ }
1504
+
1505
+ /**
1506
+ * Returns true if we are detecting taps and have one
1507
+ * @return Boolean
1508
+ * @inner
1509
+ */
1510
+ function didTap() {
1511
+ //Enure we dont return 0 or null for false values
1512
+ return !!(validateTap() && hasTap());
1513
+ }
1514
+
1515
+
1516
+ /**
1517
+ * Returns true if we are detecting double taps and have one
1518
+ * @return Boolean
1519
+ * @inner
1520
+ */
1521
+ function didDoubleTap() {
1522
+ //Enure we dont return 0 or null for false values
1523
+ return !!(validateDoubleTap() && hasDoubleTap());
1524
+ }
1525
+
1526
+ /**
1527
+ * Returns true if we are detecting long taps and have one
1528
+ * @return Boolean
1529
+ * @inner
1530
+ */
1531
+ function didLongTap() {
1532
+ //Enure we dont return 0 or null for false values
1533
+ return !!(validateLongTap() && hasLongTap());
1534
+ }
1535
+
1536
+
1537
+
1538
+
1539
+ // MULTI FINGER TOUCH
1540
+ /**
1541
+ * Starts tracking the time between 2 finger releases, and keeps track of how many fingers we initially had up
1542
+ * @inner
1543
+ */
1544
+ function startMultiFingerRelease(event) {
1545
+ previousTouchEndTime = getTimeStamp();
1546
+ fingerCountAtRelease = event.touches.length + 1;
1547
+ }
1548
+
1549
+ /**
1550
+ * Cancels the tracking of time between 2 finger releases, and resets counters
1551
+ * @inner
1552
+ */
1553
+ function cancelMultiFingerRelease() {
1554
+ previousTouchEndTime = 0;
1555
+ fingerCountAtRelease = 0;
1556
+ }
1557
+
1558
+ /**
1559
+ * Checks if we are in the threshold between 2 fingers being released
1560
+ * @return Boolean
1561
+ * @inner
1562
+ */
1563
+ function inMultiFingerRelease() {
1564
+
1565
+ var withinThreshold = false;
1566
+
1567
+ if (previousTouchEndTime) {
1568
+ var diff = getTimeStamp() - previousTouchEndTime
1569
+ if (diff <= options.fingerReleaseThreshold) {
1570
+ withinThreshold = true;
1571
+ }
1572
+ }
1573
+
1574
+ return withinThreshold;
1575
+ }
1576
+
1577
+
1578
+ /**
1579
+ * gets a data flag to indicate that a touch is in progress
1580
+ * @return Boolean
1581
+ * @inner
1582
+ */
1583
+ function getTouchInProgress() {
1584
+ //strict equality to ensure only true and false are returned
1585
+ return !!($element.data(PLUGIN_NS + '_intouch') === true);
1586
+ }
1587
+
1588
+ /**
1589
+ * Sets a data flag to indicate that a touch is in progress
1590
+ * @param {boolean} val The value to set the property to
1591
+ * @inner
1592
+ */
1593
+ function setTouchInProgress(val) {
1594
+
1595
+ //If destroy is called in an event handler, we have no el, and we have already cleaned up, so return.
1596
+ if(!$element) { return; }
1597
+
1598
+ //Add or remove event listeners depending on touch status
1599
+ if (val === true) {
1600
+ $element.bind(MOVE_EV, touchMove);
1601
+ $element.bind(END_EV, touchEnd);
1602
+
1603
+ //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit
1604
+ if (LEAVE_EV) {
1605
+ $element.bind(LEAVE_EV, touchLeave);
1606
+ }
1607
+ } else {
1608
+
1609
+ $element.unbind(MOVE_EV, touchMove, false);
1610
+ $element.unbind(END_EV, touchEnd, false);
1611
+
1612
+ //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit
1613
+ if (LEAVE_EV) {
1614
+ $element.unbind(LEAVE_EV, touchLeave, false);
1615
+ }
1616
+ }
1617
+
1618
+
1619
+ //strict equality to ensure only true and false can update the value
1620
+ $element.data(PLUGIN_NS + '_intouch', val === true);
1621
+ }
1622
+
1623
+
1624
+ /**
1625
+ * Creates the finger data for the touch/finger in the event object.
1626
+ * @param {int} id The id to store the finger data under (usually the order the fingers were pressed)
1627
+ * @param {object} evt The event object containing finger data
1628
+ * @return finger data object
1629
+ * @inner
1630
+ */
1631
+ function createFingerData(id, evt) {
1632
+ var f = {
1633
+ start: {
1634
+ x: 0,
1635
+ y: 0
1636
+ },
1637
+ last: {
1638
+ x: 0,
1639
+ y: 0
1640
+ },
1641
+ end: {
1642
+ x: 0,
1643
+ y: 0
1644
+ }
1645
+ };
1646
+ f.start.x = f.last.x = f.end.x = evt.pageX || evt.clientX;
1647
+ f.start.y = f.last.y = f.end.y = evt.pageY || evt.clientY;
1648
+ fingerData[id] = f;
1649
+ return f;
1650
+ }
1651
+
1652
+ /**
1653
+ * Updates the finger data for a particular event object
1654
+ * @param {object} evt The event object containing the touch/finger data to upadte
1655
+ * @return a finger data object.
1656
+ * @inner
1657
+ */
1658
+ function updateFingerData(evt) {
1659
+ var id = evt.identifier !== undefined ? evt.identifier : 0;
1660
+ var f = getFingerData(id);
1661
+
1662
+ if (f === null) {
1663
+ f = createFingerData(id, evt);
1664
+ }
1665
+
1666
+ f.last.x = f.end.x;
1667
+ f.last.y = f.end.y;
1668
+
1669
+ f.end.x = evt.pageX || evt.clientX;
1670
+ f.end.y = evt.pageY || evt.clientY;
1671
+
1672
+ return f;
1673
+ }
1674
+
1675
+ /**
1676
+ * Returns a finger data object by its event ID.
1677
+ * Each touch event has an identifier property, which is used
1678
+ * to track repeat touches
1679
+ * @param {int} id The unique id of the finger in the sequence of touch events.
1680
+ * @return a finger data object.
1681
+ * @inner
1682
+ */
1683
+ function getFingerData(id) {
1684
+ return fingerData[id] || null;
1685
+ }
1686
+
1687
+
1688
+ /**
1689
+ * Sets the maximum distance swiped in the given direction.
1690
+ * If the new value is lower than the current value, the max value is not changed.
1691
+ * @param {string} direction The direction of the swipe
1692
+ * @param {int} distance The distance of the swipe
1693
+ * @inner
1694
+ */
1695
+ function setMaxDistance(direction, distance) {
1696
+ if(direction==NONE) return;
1697
+ distance = Math.max(distance, getMaxDistance(direction));
1698
+ maximumsMap[direction].distance = distance;
1699
+ }
1700
+
1701
+ /**
1702
+ * gets the maximum distance swiped in the given direction.
1703
+ * @param {string} direction The direction of the swipe
1704
+ * @return int The distance of the swipe
1705
+ * @inner
1706
+ */
1707
+ function getMaxDistance(direction) {
1708
+ if (maximumsMap[direction]) return maximumsMap[direction].distance;
1709
+ return undefined;
1710
+ }
1711
+
1712
+ /**
1713
+ * Creats a map of directions to maximum swiped values.
1714
+ * @return Object A dictionary of maximum values, indexed by direction.
1715
+ * @inner
1716
+ */
1717
+ function createMaximumsData() {
1718
+ var maxData = {};
1719
+ maxData[LEFT] = createMaximumVO(LEFT);
1720
+ maxData[RIGHT] = createMaximumVO(RIGHT);
1721
+ maxData[UP] = createMaximumVO(UP);
1722
+ maxData[DOWN] = createMaximumVO(DOWN);
1723
+
1724
+ return maxData;
1725
+ }
1726
+
1727
+ /**
1728
+ * Creates a map maximum swiped values for a given swipe direction
1729
+ * @param {string} The direction that these values will be associated with
1730
+ * @return Object Maximum values
1731
+ * @inner
1732
+ */
1733
+ function createMaximumVO(dir) {
1734
+ return {
1735
+ direction: dir,
1736
+ distance: 0
1737
+ }
1738
+ }
1739
+
1740
+
1741
+ //
1742
+ // MATHS / UTILS
1743
+ //
1744
+
1745
+ /**
1746
+ * Calculate the duration of the swipe
1747
+ * @return int
1748
+ * @inner
1749
+ */
1750
+ function calculateDuration() {
1751
+ return endTime - startTime;
1752
+ }
1753
+
1754
+ /**
1755
+ * Calculate the distance between 2 touches (pinch)
1756
+ * @param {point} startPoint A point object containing x and y co-ordinates
1757
+ * @param {point} endPoint A point object containing x and y co-ordinates
1758
+ * @return int;
1759
+ * @inner
1760
+ */
1761
+ function calculateTouchesDistance(startPoint, endPoint) {
1762
+ var diffX = Math.abs(startPoint.x - endPoint.x);
1763
+ var diffY = Math.abs(startPoint.y - endPoint.y);
1764
+
1765
+ return Math.round(Math.sqrt(diffX * diffX + diffY * diffY));
1766
+ }
1767
+
1768
+ /**
1769
+ * Calculate the zoom factor between the start and end distances
1770
+ * @param {int} startDistance Distance (between 2 fingers) the user started pinching at
1771
+ * @param {int} endDistance Distance (between 2 fingers) the user ended pinching at
1772
+ * @return float The zoom value from 0 to 1.
1773
+ * @inner
1774
+ */
1775
+ function calculatePinchZoom(startDistance, endDistance) {
1776
+ var percent = (endDistance / startDistance) * 1;
1777
+ return percent.toFixed(2);
1778
+ }
1779
+
1780
+
1781
+ /**
1782
+ * Returns the pinch direction, either IN or OUT for the given points
1783
+ * @return string Either {@link $.fn.swipe.directions.IN} or {@link $.fn.swipe.directions.OUT}
1784
+ * @see $.fn.swipe.directions
1785
+ * @inner
1786
+ */
1787
+ function calculatePinchDirection() {
1788
+ if (pinchZoom < 1) {
1789
+ return OUT;
1790
+ } else {
1791
+ return IN;
1792
+ }
1793
+ }
1794
+
1795
+
1796
+ /**
1797
+ * Calculate the length / distance of the swipe
1798
+ * @param {point} startPoint A point object containing x and y co-ordinates
1799
+ * @param {point} endPoint A point object containing x and y co-ordinates
1800
+ * @return int
1801
+ * @inner
1802
+ */
1803
+ function calculateDistance(startPoint, endPoint) {
1804
+ return Math.round(Math.sqrt(Math.pow(endPoint.x - startPoint.x, 2) + Math.pow(endPoint.y - startPoint.y, 2)));
1805
+ }
1806
+
1807
+ /**
1808
+ * Calculate the angle of the swipe
1809
+ * @param {point} startPoint A point object containing x and y co-ordinates
1810
+ * @param {point} endPoint A point object containing x and y co-ordinates
1811
+ * @return int
1812
+ * @inner
1813
+ */
1814
+ function calculateAngle(startPoint, endPoint) {
1815
+ var x = startPoint.x - endPoint.x;
1816
+ var y = endPoint.y - startPoint.y;
1817
+ var r = Math.atan2(y, x); //radians
1818
+ var angle = Math.round(r * 180 / Math.PI); //degrees
1819
+
1820
+ //ensure value is positive
1821
+ if (angle < 0) {
1822
+ angle = 360 - Math.abs(angle);
1823
+ }
1824
+
1825
+ return angle;
1826
+ }
1827
+
1828
+ /**
1829
+ * Calculate the direction of the swipe
1830
+ * This will also call calculateAngle to get the latest angle of swipe
1831
+ * @param {point} startPoint A point object containing x and y co-ordinates
1832
+ * @param {point} endPoint A point object containing x and y co-ordinates
1833
+ * @return string Either {@link $.fn.swipe.directions.LEFT} / {@link $.fn.swipe.directions.RIGHT} / {@link $.fn.swipe.directions.DOWN} / {@link $.fn.swipe.directions.UP}
1834
+ * @see $.fn.swipe.directions
1835
+ * @inner
1836
+ */
1837
+ function calculateDirection(startPoint, endPoint) {
1838
+
1839
+ if( comparePoints(startPoint, endPoint) ) {
1840
+ return NONE;
1841
+ }
1842
+
1843
+ var angle = calculateAngle(startPoint, endPoint);
1844
+
1845
+ if ((angle <= 45) && (angle >= 0)) {
1846
+ return LEFT;
1847
+ } else if ((angle <= 360) && (angle >= 315)) {
1848
+ return LEFT;
1849
+ } else if ((angle >= 135) && (angle <= 225)) {
1850
+ return RIGHT;
1851
+ } else if ((angle > 45) && (angle < 135)) {
1852
+ return DOWN;
1853
+ } else {
1854
+ return UP;
1855
+ }
1856
+ }
1857
+
1858
+
1859
+ /**
1860
+ * Returns a MS time stamp of the current time
1861
+ * @return int
1862
+ * @inner
1863
+ */
1864
+ function getTimeStamp() {
1865
+ var now = new Date();
1866
+ return now.getTime();
1867
+ }
1868
+
1869
+
1870
+
1871
+ /**
1872
+ * Returns a bounds object with left, right, top and bottom properties for the element specified.
1873
+ * @param {DomNode} The DOM node to get the bounds for.
1874
+ */
1875
+ function getbounds(el) {
1876
+ el = $(el);
1877
+ var offset = el.offset();
1878
+
1879
+ var bounds = {
1880
+ left: offset.left,
1881
+ right: offset.left + el.outerWidth(),
1882
+ top: offset.top,
1883
+ bottom: offset.top + el.outerHeight()
1884
+ }
1885
+
1886
+ return bounds;
1887
+ }
1888
+
1889
+
1890
+ /**
1891
+ * Checks if the point object is in the bounds object.
1892
+ * @param {object} point A point object.
1893
+ * @param {int} point.x The x value of the point.
1894
+ * @param {int} point.y The x value of the point.
1895
+ * @param {object} bounds The bounds object to test
1896
+ * @param {int} bounds.left The leftmost value
1897
+ * @param {int} bounds.right The righttmost value
1898
+ * @param {int} bounds.top The topmost value
1899
+ * @param {int} bounds.bottom The bottommost value
1900
+ */
1901
+ function isInBounds(point, bounds) {
1902
+ return (point.x > bounds.left && point.x < bounds.right && point.y > bounds.top && point.y < bounds.bottom);
1903
+ };
1904
+
1905
+ /**
1906
+ * Checks if the two points are equal
1907
+ * @param {object} point A point object.
1908
+ * @param {object} point B point object.
1909
+ * @return true of the points match
1910
+ */
1911
+ function comparePoints(pointA, pointB) {
1912
+ return (pointA.x == pointB.x && pointA.y == pointB.y);
1913
+ }
1914
+
1915
+
1916
+ }
1917
+
1918
+
1919
+
1920
+
1921
+ /**
1922
+ * A catch all handler that is triggered for all swipe directions.
1923
+ * @name $.fn.swipe#swipe
1924
+ * @event
1925
+ * @default null
1926
+ * @param {EventObject} event The original event object
1927
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1928
+ * @param {int} distance The distance the user swiped
1929
+ * @param {int} duration The duration of the swipe in milliseconds
1930
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1931
+ * @param {object} fingerData The coordinates of fingers in event
1932
+ * @param {string} currentDirection The current direction the user is swiping.
1933
+ */
1934
+
1935
+
1936
+
1937
+
1938
+ /**
1939
+ * A handler that is triggered for "left" swipes.
1940
+ * @name $.fn.swipe#swipeLeft
1941
+ * @event
1942
+ * @default null
1943
+ * @param {EventObject} event The original event object
1944
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1945
+ * @param {int} distance The distance the user swiped
1946
+ * @param {int} duration The duration of the swipe in milliseconds
1947
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1948
+ * @param {object} fingerData The coordinates of fingers in event
1949
+ * @param {string} currentDirection The current direction the user is swiping.
1950
+ */
1951
+
1952
+ /**
1953
+ * A handler that is triggered for "right" swipes.
1954
+ * @name $.fn.swipe#swipeRight
1955
+ * @event
1956
+ * @default null
1957
+ * @param {EventObject} event The original event object
1958
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1959
+ * @param {int} distance The distance the user swiped
1960
+ * @param {int} duration The duration of the swipe in milliseconds
1961
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1962
+ * @param {object} fingerData The coordinates of fingers in event
1963
+ * @param {string} currentDirection The current direction the user is swiping.
1964
+ */
1965
+
1966
+ /**
1967
+ * A handler that is triggered for "up" swipes.
1968
+ * @name $.fn.swipe#swipeUp
1969
+ * @event
1970
+ * @default null
1971
+ * @param {EventObject} event The original event object
1972
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1973
+ * @param {int} distance The distance the user swiped
1974
+ * @param {int} duration The duration of the swipe in milliseconds
1975
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1976
+ * @param {object} fingerData The coordinates of fingers in event
1977
+ * @param {string} currentDirection The current direction the user is swiping.
1978
+ */
1979
+
1980
+ /**
1981
+ * A handler that is triggered for "down" swipes.
1982
+ * @name $.fn.swipe#swipeDown
1983
+ * @event
1984
+ * @default null
1985
+ * @param {EventObject} event The original event object
1986
+ * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}
1987
+ * @param {int} distance The distance the user swiped
1988
+ * @param {int} duration The duration of the swipe in milliseconds
1989
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
1990
+ * @param {object} fingerData The coordinates of fingers in event
1991
+ * @param {string} currentDirection The current direction the user is swiping.
1992
+ */
1993
+
1994
+ /**
1995
+ * A handler triggered for every phase of the swipe. This handler is constantly fired for the duration of the pinch.
1996
+ * This is triggered regardless of swipe thresholds.
1997
+ * @name $.fn.swipe#swipeStatus
1998
+ * @event
1999
+ * @default null
2000
+ * @param {EventObject} event The original event object
2001
+ * @param {string} phase The phase of the swipe event. See {@link $.fn.swipe.phases}
2002
+ * @param {string} direction The direction the user swiped in. This is null if the user has yet to move. See {@link $.fn.swipe.directions}
2003
+ * @param {int} distance The distance the user swiped. This is 0 if the user has yet to move.
2004
+ * @param {int} duration The duration of the swipe in milliseconds
2005
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2006
+ * @param {object} fingerData The coordinates of fingers in event
2007
+ * @param {string} currentDirection The current direction the user is swiping.
2008
+ */
2009
+
2010
+ /**
2011
+ * A handler triggered for pinch in events.
2012
+ * @name $.fn.swipe#pinchIn
2013
+ * @event
2014
+ * @default null
2015
+ * @param {EventObject} event The original event object
2016
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2017
+ * @param {int} distance The distance the user pinched
2018
+ * @param {int} duration The duration of the swipe in milliseconds
2019
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2020
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2021
+ * @param {object} fingerData The coordinates of fingers in event
2022
+ */
2023
+
2024
+ /**
2025
+ * A handler triggered for pinch out events.
2026
+ * @name $.fn.swipe#pinchOut
2027
+ * @event
2028
+ * @default null
2029
+ * @param {EventObject} event The original event object
2030
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2031
+ * @param {int} distance The distance the user pinched
2032
+ * @param {int} duration The duration of the swipe in milliseconds
2033
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2034
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2035
+ * @param {object} fingerData The coordinates of fingers in event
2036
+ */
2037
+
2038
+ /**
2039
+ * A handler triggered for all pinch events. This handler is constantly fired for the duration of the pinch. This is triggered regardless of thresholds.
2040
+ * @name $.fn.swipe#pinchStatus
2041
+ * @event
2042
+ * @default null
2043
+ * @param {EventObject} event The original event object
2044
+ * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}
2045
+ * @param {int} distance The distance the user pinched
2046
+ * @param {int} duration The duration of the swipe in milliseconds
2047
+ * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}
2048
+ * @param {int} zoom The zoom/scale level the user pinched too, 0-1.
2049
+ * @param {object} fingerData The coordinates of fingers in event
2050
+ */
2051
+
2052
+ /**
2053
+ * A click handler triggered when a user simply clicks, rather than swipes on an element.
2054
+ * This is deprecated since version 1.6.2, any assignment to click will be assigned to the tap handler.
2055
+ * You cannot use <code>on</code> to bind to this event as the default jQ <code>click</code> event will be triggered.
2056
+ * Use the <code>tap</code> event instead.
2057
+ * @name $.fn.swipe#click
2058
+ * @event
2059
+ * @deprecated since version 1.6.2, please use {@link $.fn.swipe#tap} instead
2060
+ * @default null
2061
+ * @param {EventObject} event The original event object
2062
+ * @param {DomObject} target The element clicked on.
2063
+ */
2064
+
2065
+ /**
2066
+ * A click / tap handler triggered when a user simply clicks or taps, rather than swipes on an element.
2067
+ * @name $.fn.swipe#tap
2068
+ * @event
2069
+ * @default null
2070
+ * @param {EventObject} event The original event object
2071
+ * @param {DomObject} target The element clicked on.
2072
+ */
2073
+
2074
+ /**
2075
+ * A double tap handler triggered when a user double clicks or taps on an element.
2076
+ * You can set the time delay for a double tap with the {@link $.fn.swipe.defaults#doubleTapThreshold} property.
2077
+ * Note: If you set both <code>doubleTap</code> and <code>tap</code> handlers, the <code>tap</code> event will be delayed by the <code>doubleTapThreshold</code>
2078
+ * as the script needs to check if its a double tap.
2079
+ * @name $.fn.swipe#doubleTap
2080
+ * @see $.fn.swipe.defaults#doubleTapThreshold
2081
+ * @event
2082
+ * @default null
2083
+ * @param {EventObject} event The original event object
2084
+ * @param {DomObject} target The element clicked on.
2085
+ */
2086
+
2087
+ /**
2088
+ * A long tap handler triggered once a tap has been release if the tap was longer than the longTapThreshold.
2089
+ * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.
2090
+ * @name $.fn.swipe#longTap
2091
+ * @see $.fn.swipe.defaults#longTapThreshold
2092
+ * @event
2093
+ * @default null
2094
+ * @param {EventObject} event The original event object
2095
+ * @param {DomObject} target The element clicked on.
2096
+ */
2097
+
2098
+ /**
2099
+ * A hold tap handler triggered as soon as the longTapThreshold is reached
2100
+ * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.
2101
+ * @name $.fn.swipe#hold
2102
+ * @see $.fn.swipe.defaults#longTapThreshold
2103
+ * @event
2104
+ * @default null
2105
+ * @param {EventObject} event The original event object
2106
+ * @param {DomObject} target The element clicked on.
2107
+ */
2108
+
2109
+ }));