ext_sprockets 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (505) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +114 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +21 -0
  5. data/Gemfile.lock +77 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +3 -0
  8. data/bin/yarn +12 -0
  9. data/ext_sprockets.gemspec +22 -0
  10. data/lib/ext_sprockets.rb +5 -0
  11. data/lib/ext_sprockets/engine.rb +11 -0
  12. data/lib/ext_sprockets/version.rb +3 -0
  13. data/node_modules/.yarn-integrity +60 -0
  14. data/node_modules/bootswatch/cerulean/_bootswatch.scss +131 -0
  15. data/node_modules/bootswatch/cerulean/_variables.scss +870 -0
  16. data/node_modules/bootswatch/cosmo/_bootswatch.scss +262 -0
  17. data/node_modules/bootswatch/cosmo/_variables.scss +870 -0
  18. data/node_modules/bootswatch/cyborg/_bootswatch.scss +243 -0
  19. data/node_modules/bootswatch/cyborg/_variables.scss +870 -0
  20. data/node_modules/bootswatch/darkly/_bootswatch.scss +351 -0
  21. data/node_modules/bootswatch/darkly/_variables.scss +870 -0
  22. data/node_modules/bootswatch/flatly/_bootswatch.scss +330 -0
  23. data/node_modules/bootswatch/flatly/_variables.scss +870 -0
  24. data/node_modules/bootswatch/journal/_bootswatch.scss +145 -0
  25. data/node_modules/bootswatch/journal/_variables.scss +870 -0
  26. data/node_modules/bootswatch/lumen/_bootswatch.scss +523 -0
  27. data/node_modules/bootswatch/lumen/_variables.scss +870 -0
  28. data/node_modules/bootswatch/package.json +26 -0
  29. data/node_modules/bootswatch/paper/_bootswatch.scss +620 -0
  30. data/node_modules/bootswatch/paper/_variables.scss +870 -0
  31. data/node_modules/bootswatch/readable/_bootswatch.scss +183 -0
  32. data/node_modules/bootswatch/readable/_variables.scss +870 -0
  33. data/node_modules/bootswatch/sandstone/_bootswatch.scss +196 -0
  34. data/node_modules/bootswatch/sandstone/_variables.scss +870 -0
  35. data/node_modules/bootswatch/simplex/_bootswatch.scss +170 -0
  36. data/node_modules/bootswatch/simplex/_variables.scss +870 -0
  37. data/node_modules/bootswatch/slate/_bootswatch.scss +448 -0
  38. data/node_modules/bootswatch/slate/_variables.scss +870 -0
  39. data/node_modules/bootswatch/spacelab/_bootswatch.scss +142 -0
  40. data/node_modules/bootswatch/spacelab/_variables.scss +870 -0
  41. data/node_modules/bootswatch/superhero/_bootswatch.scss +360 -0
  42. data/node_modules/bootswatch/superhero/_variables.scss +870 -0
  43. data/node_modules/bootswatch/united/_bootswatch.scss +56 -0
  44. data/node_modules/bootswatch/united/_variables.scss +870 -0
  45. data/node_modules/bootswatch/yeti/_bootswatch.scss +445 -0
  46. data/node_modules/bootswatch/yeti/_variables.scss +870 -0
  47. data/node_modules/chart.js/dist/Chart.bundle.js +18608 -0
  48. data/node_modules/chart.js/dist/Chart.js +14145 -0
  49. data/node_modules/chart.js/package.json +54 -0
  50. data/node_modules/chartkick/chartkick.js +1866 -0
  51. data/node_modules/chartkick/package.json +25 -0
  52. data/node_modules/eonasdan-bootstrap-datetimepicker/package.json +51 -0
  53. data/node_modules/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2636 -0
  54. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +344 -0
  55. data/node_modules/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
  56. data/node_modules/file-saver/FileSaver.js +188 -0
  57. data/node_modules/file-saver/package.json +28 -0
  58. data/node_modules/jquery-pjax/jquery.pjax.js +903 -0
  59. data/node_modules/jquery-pjax/package.json +18 -0
  60. data/node_modules/jquery-ui/package.json +74 -0
  61. data/node_modules/jquery-ui/themes/base/accordion.css +23 -0
  62. data/node_modules/jquery-ui/themes/base/all.css +12 -0
  63. data/node_modules/jquery-ui/themes/base/autocomplete.css +16 -0
  64. data/node_modules/jquery-ui/themes/base/base.css +30 -0
  65. data/node_modules/jquery-ui/themes/base/button.css +82 -0
  66. data/node_modules/jquery-ui/themes/base/checkboxradio.css +34 -0
  67. data/node_modules/jquery-ui/themes/base/controlgroup.css +65 -0
  68. data/node_modules/jquery-ui/themes/base/core.css +97 -0
  69. data/node_modules/jquery-ui/themes/base/datepicker.css +185 -0
  70. data/node_modules/jquery-ui/themes/base/dialog.css +101 -0
  71. data/node_modules/jquery-ui/themes/base/draggable.css +12 -0
  72. data/node_modules/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  73. data/node_modules/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  74. data/node_modules/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  75. data/node_modules/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  76. data/node_modules/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  77. data/node_modules/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  78. data/node_modules/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  79. data/node_modules/jquery-ui/themes/base/menu.css +64 -0
  80. data/node_modules/jquery-ui/themes/base/progressbar.css +28 -0
  81. data/node_modules/jquery-ui/themes/base/resizable.css +78 -0
  82. data/node_modules/jquery-ui/themes/base/selectable.css +17 -0
  83. data/node_modules/jquery-ui/themes/base/selectmenu.css +50 -0
  84. data/node_modules/jquery-ui/themes/base/slider.css +75 -0
  85. data/node_modules/jquery-ui/themes/base/sortable.css +12 -0
  86. data/node_modules/jquery-ui/themes/base/spinner.css +52 -0
  87. data/node_modules/jquery-ui/themes/base/tabs.css +51 -0
  88. data/node_modules/jquery-ui/themes/base/theme.css +443 -0
  89. data/node_modules/jquery-ui/themes/base/tooltip.css +19 -0
  90. data/node_modules/jquery-ui/ui/core.js +21 -0
  91. data/node_modules/jquery-ui/ui/data.js +39 -0
  92. data/node_modules/jquery-ui/ui/disable-selection.js +46 -0
  93. data/node_modules/jquery-ui/ui/effect.js +1635 -0
  94. data/node_modules/jquery-ui/ui/effects/effect-blind.js +70 -0
  95. data/node_modules/jquery-ui/ui/effects/effect-bounce.js +110 -0
  96. data/node_modules/jquery-ui/ui/effects/effect-clip.js +65 -0
  97. data/node_modules/jquery-ui/ui/effects/effect-drop.js +69 -0
  98. data/node_modules/jquery-ui/ui/effects/effect-explode.js +111 -0
  99. data/node_modules/jquery-ui/ui/effects/effect-fade.js +47 -0
  100. data/node_modules/jquery-ui/ui/effects/effect-fold.js +89 -0
  101. data/node_modules/jquery-ui/ui/effects/effect-highlight.js +57 -0
  102. data/node_modules/jquery-ui/ui/effects/effect-puff.js +42 -0
  103. data/node_modules/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  104. data/node_modules/jquery-ui/ui/effects/effect-scale.js +56 -0
  105. data/node_modules/jquery-ui/ui/effects/effect-shake.js +74 -0
  106. data/node_modules/jquery-ui/ui/effects/effect-size.js +191 -0
  107. data/node_modules/jquery-ui/ui/effects/effect-slide.js +76 -0
  108. data/node_modules/jquery-ui/ui/effects/effect-transfer.js +40 -0
  109. data/node_modules/jquery-ui/ui/escape-selector.js +21 -0
  110. data/node_modules/jquery-ui/ui/focusable.js +84 -0
  111. data/node_modules/jquery-ui/ui/form-reset-mixin.js +77 -0
  112. data/node_modules/jquery-ui/ui/form.js +20 -0
  113. data/node_modules/jquery-ui/ui/i18n/datepicker-af.js +37 -0
  114. data/node_modules/jquery-ui/ui/i18n/datepicker-ar-DZ.js +39 -0
  115. data/node_modules/jquery-ui/ui/i18n/datepicker-ar.js +39 -0
  116. data/node_modules/jquery-ui/ui/i18n/datepicker-az.js +37 -0
  117. data/node_modules/jquery-ui/ui/i18n/datepicker-be.js +37 -0
  118. data/node_modules/jquery-ui/ui/i18n/datepicker-bg.js +38 -0
  119. data/node_modules/jquery-ui/ui/i18n/datepicker-bs.js +37 -0
  120. data/node_modules/jquery-ui/ui/i18n/datepicker-ca.js +37 -0
  121. data/node_modules/jquery-ui/ui/i18n/datepicker-cs.js +37 -0
  122. data/node_modules/jquery-ui/ui/i18n/datepicker-cy-GB.js +45 -0
  123. data/node_modules/jquery-ui/ui/i18n/datepicker-da.js +37 -0
  124. data/node_modules/jquery-ui/ui/i18n/datepicker-de.js +37 -0
  125. data/node_modules/jquery-ui/ui/i18n/datepicker-el.js +37 -0
  126. data/node_modules/jquery-ui/ui/i18n/datepicker-en-AU.js +37 -0
  127. data/node_modules/jquery-ui/ui/i18n/datepicker-en-GB.js +37 -0
  128. data/node_modules/jquery-ui/ui/i18n/datepicker-en-NZ.js +37 -0
  129. data/node_modules/jquery-ui/ui/i18n/datepicker-eo.js +37 -0
  130. data/node_modules/jquery-ui/ui/i18n/datepicker-es.js +37 -0
  131. data/node_modules/jquery-ui/ui/i18n/datepicker-et.js +45 -0
  132. data/node_modules/jquery-ui/ui/i18n/datepicker-eu.js +36 -0
  133. data/node_modules/jquery-ui/ui/i18n/datepicker-fa.js +73 -0
  134. data/node_modules/jquery-ui/ui/i18n/datepicker-fi.js +37 -0
  135. data/node_modules/jquery-ui/ui/i18n/datepicker-fo.js +45 -0
  136. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CA.js +37 -0
  137. data/node_modules/jquery-ui/ui/i18n/datepicker-fr-CH.js +37 -0
  138. data/node_modules/jquery-ui/ui/i18n/datepicker-fr.js +39 -0
  139. data/node_modules/jquery-ui/ui/i18n/datepicker-gl.js +37 -0
  140. data/node_modules/jquery-ui/ui/i18n/datepicker-he.js +37 -0
  141. data/node_modules/jquery-ui/ui/i18n/datepicker-hi.js +37 -0
  142. data/node_modules/jquery-ui/ui/i18n/datepicker-hr.js +37 -0
  143. data/node_modules/jquery-ui/ui/i18n/datepicker-hu.js +36 -0
  144. data/node_modules/jquery-ui/ui/i18n/datepicker-hy.js +37 -0
  145. data/node_modules/jquery-ui/ui/i18n/datepicker-id.js +37 -0
  146. data/node_modules/jquery-ui/ui/i18n/datepicker-is.js +45 -0
  147. data/node_modules/jquery-ui/ui/i18n/datepicker-it-CH.js +37 -0
  148. data/node_modules/jquery-ui/ui/i18n/datepicker-it.js +37 -0
  149. data/node_modules/jquery-ui/ui/i18n/datepicker-ja.js +37 -0
  150. data/node_modules/jquery-ui/ui/i18n/datepicker-ka.js +48 -0
  151. data/node_modules/jquery-ui/ui/i18n/datepicker-kk.js +37 -0
  152. data/node_modules/jquery-ui/ui/i18n/datepicker-km.js +37 -0
  153. data/node_modules/jquery-ui/ui/i18n/datepicker-ko.js +37 -0
  154. data/node_modules/jquery-ui/ui/i18n/datepicker-ky.js +38 -0
  155. data/node_modules/jquery-ui/ui/i18n/datepicker-lb.js +45 -0
  156. data/node_modules/jquery-ui/ui/i18n/datepicker-lt.js +45 -0
  157. data/node_modules/jquery-ui/ui/i18n/datepicker-lv.js +45 -0
  158. data/node_modules/jquery-ui/ui/i18n/datepicker-mk.js +37 -0
  159. data/node_modules/jquery-ui/ui/i18n/datepicker-ml.js +37 -0
  160. data/node_modules/jquery-ui/ui/i18n/datepicker-ms.js +37 -0
  161. data/node_modules/jquery-ui/ui/i18n/datepicker-nb.js +49 -0
  162. data/node_modules/jquery-ui/ui/i18n/datepicker-nl-BE.js +37 -0
  163. data/node_modules/jquery-ui/ui/i18n/datepicker-nl.js +37 -0
  164. data/node_modules/jquery-ui/ui/i18n/datepicker-nn.js +49 -0
  165. data/node_modules/jquery-ui/ui/i18n/datepicker-no.js +50 -0
  166. data/node_modules/jquery-ui/ui/i18n/datepicker-pl.js +37 -0
  167. data/node_modules/jquery-ui/ui/i18n/datepicker-pt-BR.js +45 -0
  168. data/node_modules/jquery-ui/ui/i18n/datepicker-pt.js +44 -0
  169. data/node_modules/jquery-ui/ui/i18n/datepicker-rm.js +61 -0
  170. data/node_modules/jquery-ui/ui/i18n/datepicker-ro.js +40 -0
  171. data/node_modules/jquery-ui/ui/i18n/datepicker-ru.js +37 -0
  172. data/node_modules/jquery-ui/ui/i18n/datepicker-sk.js +37 -0
  173. data/node_modules/jquery-ui/ui/i18n/datepicker-sl.js +38 -0
  174. data/node_modules/jquery-ui/ui/i18n/datepicker-sq.js +37 -0
  175. data/node_modules/jquery-ui/ui/i18n/datepicker-sr-SR.js +37 -0
  176. data/node_modules/jquery-ui/ui/i18n/datepicker-sr.js +37 -0
  177. data/node_modules/jquery-ui/ui/i18n/datepicker-sv.js +37 -0
  178. data/node_modules/jquery-ui/ui/i18n/datepicker-ta.js +53 -0
  179. data/node_modules/jquery-ui/ui/i18n/datepicker-th.js +37 -0
  180. data/node_modules/jquery-ui/ui/i18n/datepicker-tj.js +37 -0
  181. data/node_modules/jquery-ui/ui/i18n/datepicker-tr.js +37 -0
  182. data/node_modules/jquery-ui/ui/i18n/datepicker-uk.js +38 -0
  183. data/node_modules/jquery-ui/ui/i18n/datepicker-vi.js +37 -0
  184. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-CN.js +37 -0
  185. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-HK.js +37 -0
  186. data/node_modules/jquery-ui/ui/i18n/datepicker-zh-TW.js +37 -0
  187. data/node_modules/jquery-ui/ui/ie.js +15 -0
  188. data/node_modules/jquery-ui/ui/jquery-1-7.js +89 -0
  189. data/node_modules/jquery-ui/ui/keycode.js +45 -0
  190. data/node_modules/jquery-ui/ui/labels.js +62 -0
  191. data/node_modules/jquery-ui/ui/plugin.js +44 -0
  192. data/node_modules/jquery-ui/ui/position.js +498 -0
  193. data/node_modules/jquery-ui/ui/safe-active-element.js +40 -0
  194. data/node_modules/jquery-ui/ui/safe-blur.js +21 -0
  195. data/node_modules/jquery-ui/ui/scroll-parent.js +45 -0
  196. data/node_modules/jquery-ui/ui/tabbable.js +35 -0
  197. data/node_modules/jquery-ui/ui/unique-id.js +49 -0
  198. data/node_modules/jquery-ui/ui/version.js +17 -0
  199. data/node_modules/jquery-ui/ui/widget.js +733 -0
  200. data/node_modules/jquery-ui/ui/widgets/accordion.js +613 -0
  201. data/node_modules/jquery-ui/ui/widgets/autocomplete.js +682 -0
  202. data/node_modules/jquery-ui/ui/widgets/button.js +386 -0
  203. data/node_modules/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  204. data/node_modules/jquery-ui/ui/widgets/controlgroup.js +298 -0
  205. data/node_modules/jquery-ui/ui/widgets/datepicker.js +2120 -0
  206. data/node_modules/jquery-ui/ui/widgets/dialog.js +940 -0
  207. data/node_modules/jquery-ui/ui/widgets/draggable.js +1250 -0
  208. data/node_modules/jquery-ui/ui/widgets/droppable.js +497 -0
  209. data/node_modules/jquery-ui/ui/widgets/menu.js +673 -0
  210. data/node_modules/jquery-ui/ui/widgets/mouse.js +226 -0
  211. data/node_modules/jquery-ui/ui/widgets/progressbar.js +178 -0
  212. data/node_modules/jquery-ui/ui/widgets/resizable.js +1201 -0
  213. data/node_modules/jquery-ui/ui/widgets/selectable.js +310 -0
  214. data/node_modules/jquery-ui/ui/widgets/selectmenu.js +687 -0
  215. data/node_modules/jquery-ui/ui/widgets/slider.js +752 -0
  216. data/node_modules/jquery-ui/ui/widgets/sortable.js +1554 -0
  217. data/node_modules/jquery-ui/ui/widgets/spinner.js +575 -0
  218. data/node_modules/jquery-ui/ui/widgets/tabs.js +924 -0
  219. data/node_modules/jquery-ui/ui/widgets/tooltip.js +520 -0
  220. data/node_modules/jquery-ujs/package.json +26 -0
  221. data/node_modules/jquery-ujs/src/rails.js +555 -0
  222. data/node_modules/jquery/dist/jquery.js +10253 -0
  223. data/node_modules/jquery/dist/jquery.slim.js +8160 -0
  224. data/node_modules/jquery/package.json +97 -0
  225. data/node_modules/js-cookie/package.json +49 -0
  226. data/node_modules/js-cookie/src/js.cookie.js +165 -0
  227. data/node_modules/jstz/dist/jstz.js +1428 -0
  228. data/node_modules/jstz/package.json +57 -0
  229. data/node_modules/lodash/core.js +3836 -0
  230. data/node_modules/lodash/lodash.js +17084 -0
  231. data/node_modules/lodash/package.json +17 -0
  232. data/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1204 -0
  233. data/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1204 -0
  234. data/node_modules/moment-timezone/moment-timezone-utils.js +316 -0
  235. data/node_modules/moment-timezone/moment-timezone.js +605 -0
  236. data/node_modules/moment-timezone/package.json +50 -0
  237. data/node_modules/moment/locale/af.js +74 -0
  238. data/node_modules/moment/locale/ar-dz.js +60 -0
  239. data/node_modules/moment/locale/ar-kw.js +60 -0
  240. data/node_modules/moment/locale/ar-ly.js +127 -0
  241. data/node_modules/moment/locale/ar-ma.js +61 -0
  242. data/node_modules/moment/locale/ar-sa.js +106 -0
  243. data/node_modules/moment/locale/ar-tn.js +60 -0
  244. data/node_modules/moment/locale/ar.js +143 -0
  245. data/node_modules/moment/locale/az.js +106 -0
  246. data/node_modules/moment/locale/be.js +135 -0
  247. data/node_modules/moment/locale/bg.js +91 -0
  248. data/node_modules/moment/locale/bm.js +60 -0
  249. data/node_modules/moment/locale/bn.js +120 -0
  250. data/node_modules/moment/locale/bo.js +120 -0
  251. data/node_modules/moment/locale/br.js +109 -0
  252. data/node_modules/moment/locale/bs.js +153 -0
  253. data/node_modules/moment/locale/ca.js +89 -0
  254. data/node_modules/moment/locale/cs.js +180 -0
  255. data/node_modules/moment/locale/cv.js +64 -0
  256. data/node_modules/moment/locale/cy.js +82 -0
  257. data/node_modules/moment/locale/da.js +61 -0
  258. data/node_modules/moment/locale/de-at.js +80 -0
  259. data/node_modules/moment/locale/de-ch.js +79 -0
  260. data/node_modules/moment/locale/de.js +79 -0
  261. data/node_modules/moment/locale/dv.js +101 -0
  262. data/node_modules/moment/locale/el.js +101 -0
  263. data/node_modules/moment/locale/en-au.js +68 -0
  264. data/node_modules/moment/locale/en-ca.js +64 -0
  265. data/node_modules/moment/locale/en-gb.js +68 -0
  266. data/node_modules/moment/locale/en-ie.js +68 -0
  267. data/node_modules/moment/locale/en-nz.js +68 -0
  268. data/node_modules/moment/locale/eo.js +74 -0
  269. data/node_modules/moment/locale/es-do.js +92 -0
  270. data/node_modules/moment/locale/es-us.js +84 -0
  271. data/node_modules/moment/locale/es.js +93 -0
  272. data/node_modules/moment/locale/et.js +82 -0
  273. data/node_modules/moment/locale/eu.js +67 -0
  274. data/node_modules/moment/locale/fa.js +108 -0
  275. data/node_modules/moment/locale/fi.js +110 -0
  276. data/node_modules/moment/locale/fo.js +61 -0
  277. data/node_modules/moment/locale/fr-ca.js +75 -0
  278. data/node_modules/moment/locale/fr-ch.js +79 -0
  279. data/node_modules/moment/locale/fr.js +84 -0
  280. data/node_modules/moment/locale/fy.js +76 -0
  281. data/node_modules/moment/locale/gd.js +77 -0
  282. data/node_modules/moment/locale/gl.js +78 -0
  283. data/node_modules/moment/locale/gom-latn.js +124 -0
  284. data/node_modules/moment/locale/gu.js +125 -0
  285. data/node_modules/moment/locale/he.js +100 -0
  286. data/node_modules/moment/locale/hi.js +125 -0
  287. data/node_modules/moment/locale/hr.js +155 -0
  288. data/node_modules/moment/locale/hu.js +111 -0
  289. data/node_modules/moment/locale/hy-am.js +96 -0
  290. data/node_modules/moment/locale/id.js +84 -0
  291. data/node_modules/moment/locale/is.js +133 -0
  292. data/node_modules/moment/locale/it.js +71 -0
  293. data/node_modules/moment/locale/ja.js +81 -0
  294. data/node_modules/moment/locale/jv.js +84 -0
  295. data/node_modules/moment/locale/ka.js +90 -0
  296. data/node_modules/moment/locale/kk.js +88 -0
  297. data/node_modules/moment/locale/km.js +59 -0
  298. data/node_modules/moment/locale/kn.js +127 -0
  299. data/node_modules/moment/locale/ko.js +83 -0
  300. data/node_modules/moment/locale/ky.js +89 -0
  301. data/node_modules/moment/locale/lb.js +138 -0
  302. data/node_modules/moment/locale/lo.js +71 -0
  303. data/node_modules/moment/locale/lt.js +119 -0
  304. data/node_modules/moment/locale/lv.js +99 -0
  305. data/node_modules/moment/locale/me.js +113 -0
  306. data/node_modules/moment/locale/mi.js +65 -0
  307. data/node_modules/moment/locale/mk.js +91 -0
  308. data/node_modules/moment/locale/ml.js +82 -0
  309. data/node_modules/moment/locale/mr.js +162 -0
  310. data/node_modules/moment/locale/ms-my.js +84 -0
  311. data/node_modules/moment/locale/ms.js +83 -0
  312. data/node_modules/moment/locale/mt.js +61 -0
  313. data/node_modules/moment/locale/my.js +97 -0
  314. data/node_modules/moment/locale/nb.js +64 -0
  315. data/node_modules/moment/locale/ne.js +124 -0
  316. data/node_modules/moment/locale/nl-be.js +89 -0
  317. data/node_modules/moment/locale/nl.js +89 -0
  318. data/node_modules/moment/locale/nn.js +61 -0
  319. data/node_modules/moment/locale/pa-in.js +125 -0
  320. data/node_modules/moment/locale/pl.js +127 -0
  321. data/node_modules/moment/locale/pt-br.js +62 -0
  322. data/node_modules/moment/locale/pt.js +66 -0
  323. data/node_modules/moment/locale/ro.js +77 -0
  324. data/node_modules/moment/locale/ru.js +185 -0
  325. data/node_modules/moment/locale/sd.js +99 -0
  326. data/node_modules/moment/locale/se.js +62 -0
  327. data/node_modules/moment/locale/si.js +72 -0
  328. data/node_modules/moment/locale/sk.js +158 -0
  329. data/node_modules/moment/locale/sl.js +174 -0
  330. data/node_modules/moment/locale/sq.js +71 -0
  331. data/node_modules/moment/locale/sr-cyrl.js +112 -0
  332. data/node_modules/moment/locale/sr.js +112 -0
  333. data/node_modules/moment/locale/ss.js +90 -0
  334. data/node_modules/moment/locale/sv.js +70 -0
  335. data/node_modules/moment/locale/sw.js +60 -0
  336. data/node_modules/moment/locale/ta.js +131 -0
  337. data/node_modules/moment/locale/te.js +90 -0
  338. data/node_modules/moment/locale/tet.js +69 -0
  339. data/node_modules/moment/locale/th.js +68 -0
  340. data/node_modules/moment/locale/tl-ph.js +63 -0
  341. data/node_modules/moment/locale/tlh.js +123 -0
  342. data/node_modules/moment/locale/tr.js +91 -0
  343. data/node_modules/moment/locale/tzl.js +93 -0
  344. data/node_modules/moment/locale/tzm-latn.js +59 -0
  345. data/node_modules/moment/locale/tzm.js +59 -0
  346. data/node_modules/moment/locale/uk.js +153 -0
  347. data/node_modules/moment/locale/ur.js +100 -0
  348. data/node_modules/moment/locale/uz-latn.js +59 -0
  349. data/node_modules/moment/locale/uz.js +59 -0
  350. data/node_modules/moment/locale/vi.js +80 -0
  351. data/node_modules/moment/locale/x-pseudo.js +69 -0
  352. data/node_modules/moment/locale/yo.js +61 -0
  353. data/node_modules/moment/locale/zh-cn.js +112 -0
  354. data/node_modules/moment/locale/zh-hk.js +106 -0
  355. data/node_modules/moment/locale/zh-tw.js +105 -0
  356. data/node_modules/moment/min/locales.js +9769 -0
  357. data/node_modules/moment/min/moment-with-locales.js +14289 -0
  358. data/node_modules/moment/moment.js +4535 -0
  359. data/node_modules/moment/package.json +99 -0
  360. data/node_modules/nprogress/nprogress.css +74 -0
  361. data/node_modules/nprogress/nprogress.js +480 -0
  362. data/node_modules/nprogress/package.json +47 -0
  363. data/node_modules/nprogress/support/extras.css +4 -0
  364. data/node_modules/roboto-fontface/css/mixins.scss +36 -0
  365. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold-italic.scss +3 -0
  366. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-bold.scss +3 -0
  367. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light-italic.scss +3 -0
  368. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-light.scss +3 -0
  369. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular-italic.scss +3 -0
  370. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface-regular.scss +3 -0
  371. data/node_modules/roboto-fontface/css/roboto-condensed/sass/roboto-condensed-fontface.scss +6 -0
  372. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-bold.scss +3 -0
  373. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-light.scss +3 -0
  374. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-regular.scss +3 -0
  375. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface-thin.scss +3 -0
  376. data/node_modules/roboto-fontface/css/roboto-slab/sass/roboto-slab-fontface.scss +4 -0
  377. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black-italic.scss +3 -0
  378. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-black.scss +3 -0
  379. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold-italic.scss +3 -0
  380. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-bold.scss +3 -0
  381. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light-italic.scss +3 -0
  382. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-light.scss +3 -0
  383. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium-italic.scss +3 -0
  384. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-medium.scss +3 -0
  385. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular-italic.scss +3 -0
  386. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-regular.scss +3 -0
  387. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin-italic.scss +3 -0
  388. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface-thin.scss +3 -0
  389. data/node_modules/roboto-fontface/css/roboto/sass/roboto-fontface.scss +12 -0
  390. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.eot +0 -0
  391. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.svg +643 -0
  392. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.ttf +0 -0
  393. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff +0 -0
  394. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Bold.woff2 +0 -0
  395. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.eot +0 -0
  396. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.svg +643 -0
  397. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.ttf +0 -0
  398. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff +0 -0
  399. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-BoldItalic.woff2 +0 -0
  400. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.eot +0 -0
  401. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.svg +643 -0
  402. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.ttf +0 -0
  403. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff +0 -0
  404. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Light.woff2 +0 -0
  405. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.eot +0 -0
  406. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.svg +643 -0
  407. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.ttf +0 -0
  408. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff +0 -0
  409. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-LightItalic.woff2 +0 -0
  410. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.eot +0 -0
  411. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.svg +644 -0
  412. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf +0 -0
  413. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff +0 -0
  414. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 +0 -0
  415. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.eot +0 -0
  416. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.svg +644 -0
  417. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.ttf +0 -0
  418. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff +0 -0
  419. data/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-RegularItalic.woff2 +0 -0
  420. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.eot +0 -0
  421. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.svg +679 -0
  422. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.ttf +0 -0
  423. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff +0 -0
  424. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Bold.woff2 +0 -0
  425. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.eot +0 -0
  426. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.svg +678 -0
  427. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.ttf +0 -0
  428. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff +0 -0
  429. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Light.woff2 +0 -0
  430. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.eot +0 -0
  431. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.svg +678 -0
  432. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.ttf +0 -0
  433. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff +0 -0
  434. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Regular.woff2 +0 -0
  435. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.eot +0 -0
  436. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.svg +678 -0
  437. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.ttf +0 -0
  438. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff +0 -0
  439. data/node_modules/roboto-fontface/fonts/roboto-slab/Roboto-Slab-Thin.woff2 +0 -0
  440. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.eot +0 -0
  441. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.svg +10968 -0
  442. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.ttf +0 -0
  443. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff +0 -0
  444. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Black.woff2 +0 -0
  445. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.eot +0 -0
  446. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.svg +11086 -0
  447. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  448. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff +0 -0
  449. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BlackItalic.woff2 +0 -0
  450. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.eot +0 -0
  451. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.svg +11010 -0
  452. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.ttf +0 -0
  453. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff +0 -0
  454. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Bold.woff2 +0 -0
  455. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.eot +0 -0
  456. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.svg +11096 -0
  457. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  458. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff +0 -0
  459. data/node_modules/roboto-fontface/fonts/roboto/Roboto-BoldItalic.woff2 +0 -0
  460. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.eot +0 -0
  461. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.svg +10564 -0
  462. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.ttf +0 -0
  463. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff +0 -0
  464. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Light.woff2 +0 -0
  465. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.eot +0 -0
  466. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.svg +10646 -0
  467. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  468. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff +0 -0
  469. data/node_modules/roboto-fontface/fonts/roboto/Roboto-LightItalic.woff2 +0 -0
  470. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.eot +0 -0
  471. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.svg +10999 -0
  472. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.ttf +0 -0
  473. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff +0 -0
  474. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Medium.woff2 +0 -0
  475. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.eot +0 -0
  476. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.svg +11100 -0
  477. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  478. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff +0 -0
  479. data/node_modules/roboto-fontface/fonts/roboto/Roboto-MediumItalic.woff2 +0 -0
  480. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.eot +0 -0
  481. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.svg +10520 -0
  482. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.ttf +0 -0
  483. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff +0 -0
  484. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Regular.woff2 +0 -0
  485. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.eot +0 -0
  486. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.svg +10629 -0
  487. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.ttf +0 -0
  488. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff +0 -0
  489. data/node_modules/roboto-fontface/fonts/roboto/Roboto-RegularItalic.woff2 +0 -0
  490. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.eot +0 -0
  491. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.svg +10617 -0
  492. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.ttf +0 -0
  493. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff +0 -0
  494. data/node_modules/roboto-fontface/fonts/roboto/Roboto-Thin.woff2 +0 -0
  495. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.eot +0 -0
  496. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.svg +10726 -0
  497. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  498. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff +0 -0
  499. data/node_modules/roboto-fontface/fonts/roboto/Roboto-ThinItalic.woff2 +0 -0
  500. data/node_modules/roboto-fontface/package.json +28 -0
  501. data/node_modules/signature_pad/dist/signature_pad.js +610 -0
  502. data/node_modules/signature_pad/package.json +41 -0
  503. data/package.json +23 -0
  504. data/yarn.lock +118 -0
  505. metadata +575 -0
@@ -0,0 +1,40 @@
1
+ ( function( factory ) {
2
+ if ( typeof define === "function" && define.amd ) {
3
+
4
+ // AMD. Register as an anonymous module.
5
+ define( [ "jquery", "./version" ], factory );
6
+ } else {
7
+
8
+ // Browser globals
9
+ factory( jQuery );
10
+ }
11
+ } ( function( $ ) {
12
+ return $.ui.safeActiveElement = function( document ) {
13
+ var activeElement;
14
+
15
+ // Support: IE 9 only
16
+ // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
17
+ try {
18
+ activeElement = document.activeElement;
19
+ } catch ( error ) {
20
+ activeElement = document.body;
21
+ }
22
+
23
+ // Support: IE 9 - 11 only
24
+ // IE may return null instead of an element
25
+ // Interestingly, this only seems to occur when NOT in an iframe
26
+ if ( !activeElement ) {
27
+ activeElement = document.body;
28
+ }
29
+
30
+ // Support: IE 11 only
31
+ // IE11 returns a seemingly empty object in some cases when accessing
32
+ // document.activeElement from an <iframe>
33
+ if ( !activeElement.nodeName ) {
34
+ activeElement = document.body;
35
+ }
36
+
37
+ return activeElement;
38
+ };
39
+
40
+ } ) );
@@ -0,0 +1,21 @@
1
+ ( function( factory ) {
2
+ if ( typeof define === "function" && define.amd ) {
3
+
4
+ // AMD. Register as an anonymous module.
5
+ define( [ "jquery", "./version" ], factory );
6
+ } else {
7
+
8
+ // Browser globals
9
+ factory( jQuery );
10
+ }
11
+ } ( function( $ ) {
12
+ return $.ui.safeBlur = function( element ) {
13
+
14
+ // Support: IE9 - 10 only
15
+ // If the <body> is blurred, IE will switch windows, see #9420
16
+ if ( element && element.nodeName.toLowerCase() !== "body" ) {
17
+ $( element ).trigger( "blur" );
18
+ }
19
+ };
20
+
21
+ } ) );
@@ -0,0 +1,45 @@
1
+ /*!
2
+ * jQuery UI Scroll Parent 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: scrollParent
11
+ //>>group: Core
12
+ //>>description: Get the closest ancestor element that is scrollable.
13
+ //>>docs: http://api.jqueryui.com/scrollParent/
14
+
15
+ ( function( factory ) {
16
+ if ( typeof define === "function" && define.amd ) {
17
+
18
+ // AMD. Register as an anonymous module.
19
+ define( [ "jquery", "./version" ], factory );
20
+ } else {
21
+
22
+ // Browser globals
23
+ factory( jQuery );
24
+ }
25
+ } ( function( $ ) {
26
+
27
+ return $.fn.scrollParent = function( includeHidden ) {
28
+ var position = this.css( "position" ),
29
+ excludeStaticParent = position === "absolute",
30
+ overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
31
+ scrollParent = this.parents().filter( function() {
32
+ var parent = $( this );
33
+ if ( excludeStaticParent && parent.css( "position" ) === "static" ) {
34
+ return false;
35
+ }
36
+ return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) +
37
+ parent.css( "overflow-x" ) );
38
+ } ).eq( 0 );
39
+
40
+ return position === "fixed" || !scrollParent.length ?
41
+ $( this[ 0 ].ownerDocument || document ) :
42
+ scrollParent;
43
+ };
44
+
45
+ } ) );
@@ -0,0 +1,35 @@
1
+ /*!
2
+ * jQuery UI Tabbable 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: :tabbable Selector
11
+ //>>group: Core
12
+ //>>description: Selects elements which can be tabbed to.
13
+ //>>docs: http://api.jqueryui.com/tabbable-selector/
14
+
15
+ ( function( factory ) {
16
+ if ( typeof define === "function" && define.amd ) {
17
+
18
+ // AMD. Register as an anonymous module.
19
+ define( [ "jquery", "./version", "./focusable" ], factory );
20
+ } else {
21
+
22
+ // Browser globals
23
+ factory( jQuery );
24
+ }
25
+ } ( function( $ ) {
26
+
27
+ return $.extend( $.expr[ ":" ], {
28
+ tabbable: function( element ) {
29
+ var tabIndex = $.attr( element, "tabindex" ),
30
+ hasTabindex = tabIndex != null;
31
+ return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
32
+ }
33
+ } );
34
+
35
+ } ) );
@@ -0,0 +1,49 @@
1
+ /*!
2
+ * jQuery UI Unique ID 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: uniqueId
11
+ //>>group: Core
12
+ //>>description: Functions to generate and remove uniqueId's
13
+ //>>docs: http://api.jqueryui.com/uniqueId/
14
+
15
+ ( function( factory ) {
16
+ if ( typeof define === "function" && define.amd ) {
17
+
18
+ // AMD. Register as an anonymous module.
19
+ define( [ "jquery", "./version" ], factory );
20
+ } else {
21
+
22
+ // Browser globals
23
+ factory( jQuery );
24
+ }
25
+ } ( function( $ ) {
26
+
27
+ return $.fn.extend( {
28
+ uniqueId: ( function() {
29
+ var uuid = 0;
30
+
31
+ return function() {
32
+ return this.each( function() {
33
+ if ( !this.id ) {
34
+ this.id = "ui-id-" + ( ++uuid );
35
+ }
36
+ } );
37
+ };
38
+ } )(),
39
+
40
+ removeUniqueId: function() {
41
+ return this.each( function() {
42
+ if ( /^ui-id-\d+$/.test( this.id ) ) {
43
+ $( this ).removeAttr( "id" );
44
+ }
45
+ } );
46
+ }
47
+ } );
48
+
49
+ } ) );
@@ -0,0 +1,17 @@
1
+ ( function( factory ) {
2
+ if ( typeof define === "function" && define.amd ) {
3
+
4
+ // AMD. Register as an anonymous module.
5
+ define( [ "jquery" ], factory );
6
+ } else {
7
+
8
+ // Browser globals
9
+ factory( jQuery );
10
+ }
11
+ } ( function( $ ) {
12
+
13
+ $.ui = $.ui || {};
14
+
15
+ return $.ui.version = "1.12.1";
16
+
17
+ } ) );
@@ -0,0 +1,733 @@
1
+ /*!
2
+ * jQuery UI Widget 1.12.1
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+
10
+ //>>label: Widget
11
+ //>>group: Core
12
+ //>>description: Provides a factory for creating stateful widgets with a common API.
13
+ //>>docs: http://api.jqueryui.com/jQuery.widget/
14
+ //>>demos: http://jqueryui.com/widget/
15
+
16
+ ( function( factory ) {
17
+ if ( typeof define === "function" && define.amd ) {
18
+
19
+ // AMD. Register as an anonymous module.
20
+ define( [ "jquery", "./version" ], factory );
21
+ } else {
22
+
23
+ // Browser globals
24
+ factory( jQuery );
25
+ }
26
+ }( function( $ ) {
27
+
28
+ var widgetUuid = 0;
29
+ var widgetSlice = Array.prototype.slice;
30
+
31
+ $.cleanData = ( function( orig ) {
32
+ return function( elems ) {
33
+ var events, elem, i;
34
+ for ( i = 0; ( elem = elems[ i ] ) != null; i++ ) {
35
+ try {
36
+
37
+ // Only trigger remove when necessary to save time
38
+ events = $._data( elem, "events" );
39
+ if ( events && events.remove ) {
40
+ $( elem ).triggerHandler( "remove" );
41
+ }
42
+
43
+ // Http://bugs.jquery.com/ticket/8235
44
+ } catch ( e ) {}
45
+ }
46
+ orig( elems );
47
+ };
48
+ } )( $.cleanData );
49
+
50
+ $.widget = function( name, base, prototype ) {
51
+ var existingConstructor, constructor, basePrototype;
52
+
53
+ // ProxiedPrototype allows the provided prototype to remain unmodified
54
+ // so that it can be used as a mixin for multiple widgets (#8876)
55
+ var proxiedPrototype = {};
56
+
57
+ var namespace = name.split( "." )[ 0 ];
58
+ name = name.split( "." )[ 1 ];
59
+ var fullName = namespace + "-" + name;
60
+
61
+ if ( !prototype ) {
62
+ prototype = base;
63
+ base = $.Widget;
64
+ }
65
+
66
+ if ( $.isArray( prototype ) ) {
67
+ prototype = $.extend.apply( null, [ {} ].concat( prototype ) );
68
+ }
69
+
70
+ // Create selector for plugin
71
+ $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
72
+ return !!$.data( elem, fullName );
73
+ };
74
+
75
+ $[ namespace ] = $[ namespace ] || {};
76
+ existingConstructor = $[ namespace ][ name ];
77
+ constructor = $[ namespace ][ name ] = function( options, element ) {
78
+
79
+ // Allow instantiation without "new" keyword
80
+ if ( !this._createWidget ) {
81
+ return new constructor( options, element );
82
+ }
83
+
84
+ // Allow instantiation without initializing for simple inheritance
85
+ // must use "new" keyword (the code above always passes args)
86
+ if ( arguments.length ) {
87
+ this._createWidget( options, element );
88
+ }
89
+ };
90
+
91
+ // Extend with the existing constructor to carry over any static properties
92
+ $.extend( constructor, existingConstructor, {
93
+ version: prototype.version,
94
+
95
+ // Copy the object used to create the prototype in case we need to
96
+ // redefine the widget later
97
+ _proto: $.extend( {}, prototype ),
98
+
99
+ // Track widgets that inherit from this widget in case this widget is
100
+ // redefined after a widget inherits from it
101
+ _childConstructors: []
102
+ } );
103
+
104
+ basePrototype = new base();
105
+
106
+ // We need to make the options hash a property directly on the new instance
107
+ // otherwise we'll modify the options hash on the prototype that we're
108
+ // inheriting from
109
+ basePrototype.options = $.widget.extend( {}, basePrototype.options );
110
+ $.each( prototype, function( prop, value ) {
111
+ if ( !$.isFunction( value ) ) {
112
+ proxiedPrototype[ prop ] = value;
113
+ return;
114
+ }
115
+ proxiedPrototype[ prop ] = ( function() {
116
+ function _super() {
117
+ return base.prototype[ prop ].apply( this, arguments );
118
+ }
119
+
120
+ function _superApply( args ) {
121
+ return base.prototype[ prop ].apply( this, args );
122
+ }
123
+
124
+ return function() {
125
+ var __super = this._super;
126
+ var __superApply = this._superApply;
127
+ var returnValue;
128
+
129
+ this._super = _super;
130
+ this._superApply = _superApply;
131
+
132
+ returnValue = value.apply( this, arguments );
133
+
134
+ this._super = __super;
135
+ this._superApply = __superApply;
136
+
137
+ return returnValue;
138
+ };
139
+ } )();
140
+ } );
141
+ constructor.prototype = $.widget.extend( basePrototype, {
142
+
143
+ // TODO: remove support for widgetEventPrefix
144
+ // always use the name + a colon as the prefix, e.g., draggable:start
145
+ // don't prefix for widgets that aren't DOM-based
146
+ widgetEventPrefix: existingConstructor ? ( basePrototype.widgetEventPrefix || name ) : name
147
+ }, proxiedPrototype, {
148
+ constructor: constructor,
149
+ namespace: namespace,
150
+ widgetName: name,
151
+ widgetFullName: fullName
152
+ } );
153
+
154
+ // If this widget is being redefined then we need to find all widgets that
155
+ // are inheriting from it and redefine all of them so that they inherit from
156
+ // the new version of this widget. We're essentially trying to replace one
157
+ // level in the prototype chain.
158
+ if ( existingConstructor ) {
159
+ $.each( existingConstructor._childConstructors, function( i, child ) {
160
+ var childPrototype = child.prototype;
161
+
162
+ // Redefine the child widget using the same prototype that was
163
+ // originally used, but inherit from the new version of the base
164
+ $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor,
165
+ child._proto );
166
+ } );
167
+
168
+ // Remove the list of existing child constructors from the old constructor
169
+ // so the old child constructors can be garbage collected
170
+ delete existingConstructor._childConstructors;
171
+ } else {
172
+ base._childConstructors.push( constructor );
173
+ }
174
+
175
+ $.widget.bridge( name, constructor );
176
+
177
+ return constructor;
178
+ };
179
+
180
+ $.widget.extend = function( target ) {
181
+ var input = widgetSlice.call( arguments, 1 );
182
+ var inputIndex = 0;
183
+ var inputLength = input.length;
184
+ var key;
185
+ var value;
186
+
187
+ for ( ; inputIndex < inputLength; inputIndex++ ) {
188
+ for ( key in input[ inputIndex ] ) {
189
+ value = input[ inputIndex ][ key ];
190
+ if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
191
+
192
+ // Clone objects
193
+ if ( $.isPlainObject( value ) ) {
194
+ target[ key ] = $.isPlainObject( target[ key ] ) ?
195
+ $.widget.extend( {}, target[ key ], value ) :
196
+
197
+ // Don't extend strings, arrays, etc. with objects
198
+ $.widget.extend( {}, value );
199
+
200
+ // Copy everything else by reference
201
+ } else {
202
+ target[ key ] = value;
203
+ }
204
+ }
205
+ }
206
+ }
207
+ return target;
208
+ };
209
+
210
+ $.widget.bridge = function( name, object ) {
211
+ var fullName = object.prototype.widgetFullName || name;
212
+ $.fn[ name ] = function( options ) {
213
+ var isMethodCall = typeof options === "string";
214
+ var args = widgetSlice.call( arguments, 1 );
215
+ var returnValue = this;
216
+
217
+ if ( isMethodCall ) {
218
+
219
+ // If this is an empty collection, we need to have the instance method
220
+ // return undefined instead of the jQuery instance
221
+ if ( !this.length && options === "instance" ) {
222
+ returnValue = undefined;
223
+ } else {
224
+ this.each( function() {
225
+ var methodValue;
226
+ var instance = $.data( this, fullName );
227
+
228
+ if ( options === "instance" ) {
229
+ returnValue = instance;
230
+ return false;
231
+ }
232
+
233
+ if ( !instance ) {
234
+ return $.error( "cannot call methods on " + name +
235
+ " prior to initialization; " +
236
+ "attempted to call method '" + options + "'" );
237
+ }
238
+
239
+ if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) {
240
+ return $.error( "no such method '" + options + "' for " + name +
241
+ " widget instance" );
242
+ }
243
+
244
+ methodValue = instance[ options ].apply( instance, args );
245
+
246
+ if ( methodValue !== instance && methodValue !== undefined ) {
247
+ returnValue = methodValue && methodValue.jquery ?
248
+ returnValue.pushStack( methodValue.get() ) :
249
+ methodValue;
250
+ return false;
251
+ }
252
+ } );
253
+ }
254
+ } else {
255
+
256
+ // Allow multiple hashes to be passed on init
257
+ if ( args.length ) {
258
+ options = $.widget.extend.apply( null, [ options ].concat( args ) );
259
+ }
260
+
261
+ this.each( function() {
262
+ var instance = $.data( this, fullName );
263
+ if ( instance ) {
264
+ instance.option( options || {} );
265
+ if ( instance._init ) {
266
+ instance._init();
267
+ }
268
+ } else {
269
+ $.data( this, fullName, new object( options, this ) );
270
+ }
271
+ } );
272
+ }
273
+
274
+ return returnValue;
275
+ };
276
+ };
277
+
278
+ $.Widget = function( /* options, element */ ) {};
279
+ $.Widget._childConstructors = [];
280
+
281
+ $.Widget.prototype = {
282
+ widgetName: "widget",
283
+ widgetEventPrefix: "",
284
+ defaultElement: "<div>",
285
+
286
+ options: {
287
+ classes: {},
288
+ disabled: false,
289
+
290
+ // Callbacks
291
+ create: null
292
+ },
293
+
294
+ _createWidget: function( options, element ) {
295
+ element = $( element || this.defaultElement || this )[ 0 ];
296
+ this.element = $( element );
297
+ this.uuid = widgetUuid++;
298
+ this.eventNamespace = "." + this.widgetName + this.uuid;
299
+
300
+ this.bindings = $();
301
+ this.hoverable = $();
302
+ this.focusable = $();
303
+ this.classesElementLookup = {};
304
+
305
+ if ( element !== this ) {
306
+ $.data( element, this.widgetFullName, this );
307
+ this._on( true, this.element, {
308
+ remove: function( event ) {
309
+ if ( event.target === element ) {
310
+ this.destroy();
311
+ }
312
+ }
313
+ } );
314
+ this.document = $( element.style ?
315
+
316
+ // Element within the document
317
+ element.ownerDocument :
318
+
319
+ // Element is window or document
320
+ element.document || element );
321
+ this.window = $( this.document[ 0 ].defaultView || this.document[ 0 ].parentWindow );
322
+ }
323
+
324
+ this.options = $.widget.extend( {},
325
+ this.options,
326
+ this._getCreateOptions(),
327
+ options );
328
+
329
+ this._create();
330
+
331
+ if ( this.options.disabled ) {
332
+ this._setOptionDisabled( this.options.disabled );
333
+ }
334
+
335
+ this._trigger( "create", null, this._getCreateEventData() );
336
+ this._init();
337
+ },
338
+
339
+ _getCreateOptions: function() {
340
+ return {};
341
+ },
342
+
343
+ _getCreateEventData: $.noop,
344
+
345
+ _create: $.noop,
346
+
347
+ _init: $.noop,
348
+
349
+ destroy: function() {
350
+ var that = this;
351
+
352
+ this._destroy();
353
+ $.each( this.classesElementLookup, function( key, value ) {
354
+ that._removeClass( value, key );
355
+ } );
356
+
357
+ // We can probably remove the unbind calls in 2.0
358
+ // all event bindings should go through this._on()
359
+ this.element
360
+ .off( this.eventNamespace )
361
+ .removeData( this.widgetFullName );
362
+ this.widget()
363
+ .off( this.eventNamespace )
364
+ .removeAttr( "aria-disabled" );
365
+
366
+ // Clean up events and states
367
+ this.bindings.off( this.eventNamespace );
368
+ },
369
+
370
+ _destroy: $.noop,
371
+
372
+ widget: function() {
373
+ return this.element;
374
+ },
375
+
376
+ option: function( key, value ) {
377
+ var options = key;
378
+ var parts;
379
+ var curOption;
380
+ var i;
381
+
382
+ if ( arguments.length === 0 ) {
383
+
384
+ // Don't return a reference to the internal hash
385
+ return $.widget.extend( {}, this.options );
386
+ }
387
+
388
+ if ( typeof key === "string" ) {
389
+
390
+ // Handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
391
+ options = {};
392
+ parts = key.split( "." );
393
+ key = parts.shift();
394
+ if ( parts.length ) {
395
+ curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
396
+ for ( i = 0; i < parts.length - 1; i++ ) {
397
+ curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
398
+ curOption = curOption[ parts[ i ] ];
399
+ }
400
+ key = parts.pop();
401
+ if ( arguments.length === 1 ) {
402
+ return curOption[ key ] === undefined ? null : curOption[ key ];
403
+ }
404
+ curOption[ key ] = value;
405
+ } else {
406
+ if ( arguments.length === 1 ) {
407
+ return this.options[ key ] === undefined ? null : this.options[ key ];
408
+ }
409
+ options[ key ] = value;
410
+ }
411
+ }
412
+
413
+ this._setOptions( options );
414
+
415
+ return this;
416
+ },
417
+
418
+ _setOptions: function( options ) {
419
+ var key;
420
+
421
+ for ( key in options ) {
422
+ this._setOption( key, options[ key ] );
423
+ }
424
+
425
+ return this;
426
+ },
427
+
428
+ _setOption: function( key, value ) {
429
+ if ( key === "classes" ) {
430
+ this._setOptionClasses( value );
431
+ }
432
+
433
+ this.options[ key ] = value;
434
+
435
+ if ( key === "disabled" ) {
436
+ this._setOptionDisabled( value );
437
+ }
438
+
439
+ return this;
440
+ },
441
+
442
+ _setOptionClasses: function( value ) {
443
+ var classKey, elements, currentElements;
444
+
445
+ for ( classKey in value ) {
446
+ currentElements = this.classesElementLookup[ classKey ];
447
+ if ( value[ classKey ] === this.options.classes[ classKey ] ||
448
+ !currentElements ||
449
+ !currentElements.length ) {
450
+ continue;
451
+ }
452
+
453
+ // We are doing this to create a new jQuery object because the _removeClass() call
454
+ // on the next line is going to destroy the reference to the current elements being
455
+ // tracked. We need to save a copy of this collection so that we can add the new classes
456
+ // below.
457
+ elements = $( currentElements.get() );
458
+ this._removeClass( currentElements, classKey );
459
+
460
+ // We don't use _addClass() here, because that uses this.options.classes
461
+ // for generating the string of classes. We want to use the value passed in from
462
+ // _setOption(), this is the new value of the classes option which was passed to
463
+ // _setOption(). We pass this value directly to _classes().
464
+ elements.addClass( this._classes( {
465
+ element: elements,
466
+ keys: classKey,
467
+ classes: value,
468
+ add: true
469
+ } ) );
470
+ }
471
+ },
472
+
473
+ _setOptionDisabled: function( value ) {
474
+ this._toggleClass( this.widget(), this.widgetFullName + "-disabled", null, !!value );
475
+
476
+ // If the widget is becoming disabled, then nothing is interactive
477
+ if ( value ) {
478
+ this._removeClass( this.hoverable, null, "ui-state-hover" );
479
+ this._removeClass( this.focusable, null, "ui-state-focus" );
480
+ }
481
+ },
482
+
483
+ enable: function() {
484
+ return this._setOptions( { disabled: false } );
485
+ },
486
+
487
+ disable: function() {
488
+ return this._setOptions( { disabled: true } );
489
+ },
490
+
491
+ _classes: function( options ) {
492
+ var full = [];
493
+ var that = this;
494
+
495
+ options = $.extend( {
496
+ element: this.element,
497
+ classes: this.options.classes || {}
498
+ }, options );
499
+
500
+ function processClassString( classes, checkOption ) {
501
+ var current, i;
502
+ for ( i = 0; i < classes.length; i++ ) {
503
+ current = that.classesElementLookup[ classes[ i ] ] || $();
504
+ if ( options.add ) {
505
+ current = $( $.unique( current.get().concat( options.element.get() ) ) );
506
+ } else {
507
+ current = $( current.not( options.element ).get() );
508
+ }
509
+ that.classesElementLookup[ classes[ i ] ] = current;
510
+ full.push( classes[ i ] );
511
+ if ( checkOption && options.classes[ classes[ i ] ] ) {
512
+ full.push( options.classes[ classes[ i ] ] );
513
+ }
514
+ }
515
+ }
516
+
517
+ this._on( options.element, {
518
+ "remove": "_untrackClassesElement"
519
+ } );
520
+
521
+ if ( options.keys ) {
522
+ processClassString( options.keys.match( /\S+/g ) || [], true );
523
+ }
524
+ if ( options.extra ) {
525
+ processClassString( options.extra.match( /\S+/g ) || [] );
526
+ }
527
+
528
+ return full.join( " " );
529
+ },
530
+
531
+ _untrackClassesElement: function( event ) {
532
+ var that = this;
533
+ $.each( that.classesElementLookup, function( key, value ) {
534
+ if ( $.inArray( event.target, value ) !== -1 ) {
535
+ that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
536
+ }
537
+ } );
538
+ },
539
+
540
+ _removeClass: function( element, keys, extra ) {
541
+ return this._toggleClass( element, keys, extra, false );
542
+ },
543
+
544
+ _addClass: function( element, keys, extra ) {
545
+ return this._toggleClass( element, keys, extra, true );
546
+ },
547
+
548
+ _toggleClass: function( element, keys, extra, add ) {
549
+ add = ( typeof add === "boolean" ) ? add : extra;
550
+ var shift = ( typeof element === "string" || element === null ),
551
+ options = {
552
+ extra: shift ? keys : extra,
553
+ keys: shift ? element : keys,
554
+ element: shift ? this.element : element,
555
+ add: add
556
+ };
557
+ options.element.toggleClass( this._classes( options ), add );
558
+ return this;
559
+ },
560
+
561
+ _on: function( suppressDisabledCheck, element, handlers ) {
562
+ var delegateElement;
563
+ var instance = this;
564
+
565
+ // No suppressDisabledCheck flag, shuffle arguments
566
+ if ( typeof suppressDisabledCheck !== "boolean" ) {
567
+ handlers = element;
568
+ element = suppressDisabledCheck;
569
+ suppressDisabledCheck = false;
570
+ }
571
+
572
+ // No element argument, shuffle and use this.element
573
+ if ( !handlers ) {
574
+ handlers = element;
575
+ element = this.element;
576
+ delegateElement = this.widget();
577
+ } else {
578
+ element = delegateElement = $( element );
579
+ this.bindings = this.bindings.add( element );
580
+ }
581
+
582
+ $.each( handlers, function( event, handler ) {
583
+ function handlerProxy() {
584
+
585
+ // Allow widgets to customize the disabled handling
586
+ // - disabled as an array instead of boolean
587
+ // - disabled class as method for disabling individual parts
588
+ if ( !suppressDisabledCheck &&
589
+ ( instance.options.disabled === true ||
590
+ $( this ).hasClass( "ui-state-disabled" ) ) ) {
591
+ return;
592
+ }
593
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
594
+ .apply( instance, arguments );
595
+ }
596
+
597
+ // Copy the guid so direct unbinding works
598
+ if ( typeof handler !== "string" ) {
599
+ handlerProxy.guid = handler.guid =
600
+ handler.guid || handlerProxy.guid || $.guid++;
601
+ }
602
+
603
+ var match = event.match( /^([\w:-]*)\s*(.*)$/ );
604
+ var eventName = match[ 1 ] + instance.eventNamespace;
605
+ var selector = match[ 2 ];
606
+
607
+ if ( selector ) {
608
+ delegateElement.on( eventName, selector, handlerProxy );
609
+ } else {
610
+ element.on( eventName, handlerProxy );
611
+ }
612
+ } );
613
+ },
614
+
615
+ _off: function( element, eventName ) {
616
+ eventName = ( eventName || "" ).split( " " ).join( this.eventNamespace + " " ) +
617
+ this.eventNamespace;
618
+ element.off( eventName ).off( eventName );
619
+
620
+ // Clear the stack to avoid memory leaks (#10056)
621
+ this.bindings = $( this.bindings.not( element ).get() );
622
+ this.focusable = $( this.focusable.not( element ).get() );
623
+ this.hoverable = $( this.hoverable.not( element ).get() );
624
+ },
625
+
626
+ _delay: function( handler, delay ) {
627
+ function handlerProxy() {
628
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
629
+ .apply( instance, arguments );
630
+ }
631
+ var instance = this;
632
+ return setTimeout( handlerProxy, delay || 0 );
633
+ },
634
+
635
+ _hoverable: function( element ) {
636
+ this.hoverable = this.hoverable.add( element );
637
+ this._on( element, {
638
+ mouseenter: function( event ) {
639
+ this._addClass( $( event.currentTarget ), null, "ui-state-hover" );
640
+ },
641
+ mouseleave: function( event ) {
642
+ this._removeClass( $( event.currentTarget ), null, "ui-state-hover" );
643
+ }
644
+ } );
645
+ },
646
+
647
+ _focusable: function( element ) {
648
+ this.focusable = this.focusable.add( element );
649
+ this._on( element, {
650
+ focusin: function( event ) {
651
+ this._addClass( $( event.currentTarget ), null, "ui-state-focus" );
652
+ },
653
+ focusout: function( event ) {
654
+ this._removeClass( $( event.currentTarget ), null, "ui-state-focus" );
655
+ }
656
+ } );
657
+ },
658
+
659
+ _trigger: function( type, event, data ) {
660
+ var prop, orig;
661
+ var callback = this.options[ type ];
662
+
663
+ data = data || {};
664
+ event = $.Event( event );
665
+ event.type = ( type === this.widgetEventPrefix ?
666
+ type :
667
+ this.widgetEventPrefix + type ).toLowerCase();
668
+
669
+ // The original event may come from any element
670
+ // so we need to reset the target on the new event
671
+ event.target = this.element[ 0 ];
672
+
673
+ // Copy original event properties over to the new event
674
+ orig = event.originalEvent;
675
+ if ( orig ) {
676
+ for ( prop in orig ) {
677
+ if ( !( prop in event ) ) {
678
+ event[ prop ] = orig[ prop ];
679
+ }
680
+ }
681
+ }
682
+
683
+ this.element.trigger( event, data );
684
+ return !( $.isFunction( callback ) &&
685
+ callback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false ||
686
+ event.isDefaultPrevented() );
687
+ }
688
+ };
689
+
690
+ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
691
+ $.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
692
+ if ( typeof options === "string" ) {
693
+ options = { effect: options };
694
+ }
695
+
696
+ var hasOptions;
697
+ var effectName = !options ?
698
+ method :
699
+ options === true || typeof options === "number" ?
700
+ defaultEffect :
701
+ options.effect || defaultEffect;
702
+
703
+ options = options || {};
704
+ if ( typeof options === "number" ) {
705
+ options = { duration: options };
706
+ }
707
+
708
+ hasOptions = !$.isEmptyObject( options );
709
+ options.complete = callback;
710
+
711
+ if ( options.delay ) {
712
+ element.delay( options.delay );
713
+ }
714
+
715
+ if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
716
+ element[ method ]( options );
717
+ } else if ( effectName !== method && element[ effectName ] ) {
718
+ element[ effectName ]( options.duration, options.easing, callback );
719
+ } else {
720
+ element.queue( function( next ) {
721
+ $( this )[ method ]();
722
+ if ( callback ) {
723
+ callback.call( element[ 0 ] );
724
+ }
725
+ next();
726
+ } );
727
+ }
728
+ };
729
+ } );
730
+
731
+ return $.widget;
732
+
733
+ } ) );