wbase 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (875) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/FontAwesome.otf +0 -0
  3. data/app/assets/fonts/Material-Design-Iconic-Font.eot +0 -0
  4. data/app/assets/fonts/Material-Design-Iconic-Font.svg +773 -0
  5. data/app/assets/fonts/Material-Design-Iconic-Font.ttf +0 -0
  6. data/app/assets/fonts/Material-Design-Iconic-Font.woff +0 -0
  7. data/app/assets/fonts/Simple-Line-Icons.eot +0 -0
  8. data/app/assets/fonts/Simple-Line-Icons.svg +211 -0
  9. data/app/assets/fonts/Simple-Line-Icons.ttf +0 -0
  10. data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
  11. data/app/assets/fonts/Simple-Line-Icons.woff2 +0 -0
  12. data/app/assets/fonts/et-line.eot +0 -0
  13. data/app/assets/fonts/et-line.svg +1 -1
  14. data/app/assets/fonts/et-line.ttf +0 -0
  15. data/app/assets/fonts/et-line.woff +0 -0
  16. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  17. data/app/assets/fonts/fontawesome-webfont.svg +685 -0
  18. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  19. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  20. data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
  21. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  22. data/app/assets/fonts/glyphicons-halflings-regular.svg +1 -1
  23. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  24. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  25. data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  26. data/app/assets/fonts/ionicons.eot +0 -0
  27. data/app/assets/fonts/ionicons.svg +1899 -0
  28. data/app/assets/fonts/ionicons.ttf +0 -0
  29. data/app/assets/fonts/ionicons.woff +0 -0
  30. data/app/assets/fonts/themify.eot +0 -0
  31. data/app/assets/fonts/themify.svg +362 -0
  32. data/app/assets/fonts/themify.ttf +0 -0
  33. data/app/assets/fonts/themify.woff +0 -0
  34. data/app/assets/fonts/typicons.eot +0 -0
  35. data/app/assets/fonts/typicons.less +1040 -0
  36. data/app/assets/fonts/typicons.svg +1180 -0
  37. data/app/assets/fonts/typicons.ttf +0 -0
  38. data/app/assets/fonts/typicons.woff +0 -0
  39. data/app/assets/fonts/weathericons-regular-webfont.eot +0 -0
  40. data/app/assets/fonts/weathericons-regular-webfont.svg +257 -0
  41. data/app/assets/fonts/weathericons-regular-webfont.ttf +0 -0
  42. data/app/assets/fonts/weathericons-regular-webfont.woff +0 -0
  43. data/app/assets/fonts/weathericons-regular-webfont.woff2 +0 -0
  44. data/app/assets/javascripts/wbase/admin/animate/animate.min.css +11 -0
  45. data/app/assets/javascripts/wbase/admin/autoNumeric/autoNumeric.js +1465 -0
  46. data/app/assets/javascripts/wbase/admin/autocomplete/autocomplete.zip +0 -0
  47. data/app/assets/javascripts/wbase/admin/autocomplete/countries.js +267 -0
  48. data/app/assets/javascripts/wbase/admin/autocomplete/demo.js +77 -0
  49. data/app/assets/javascripts/wbase/admin/autocomplete/jquery.autocomplete.min.js +8 -0
  50. data/app/assets/javascripts/wbase/admin/autocomplete/jquery.mockjax.js +601 -0
  51. data/app/assets/javascripts/wbase/admin/autocomplete.js +77 -0
  52. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css +222 -0
  53. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.css.map +1 -0
  54. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css +10 -0
  55. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css.map +1 -0
  56. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  57. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png +0 -0
  58. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
  59. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png +0 -0
  60. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png +0 -0
  61. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.js +1106 -0
  62. data/app/assets/javascripts/wbase/admin/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js +5 -0
  63. data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/css/bootstrap-datepicker.min.css +9 -0
  64. data/app/assets/javascripts/wbase/admin/bootstrap-datepicker/js/bootstrap-datepicker.min.js +10 -0
  65. data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.css +269 -0
  66. data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/daterangepicker.js +1618 -0
  67. data/app/assets/javascripts/wbase/admin/bootstrap-daterangepicker/drp.png +0 -0
  68. data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.js +351 -0
  69. data/app/assets/javascripts/wbase/admin/bootstrap-filestyle/js/bootstrap-filestyle.min.js +1 -0
  70. data/app/assets/javascripts/wbase/admin/bootstrap-inputmask/bootstrap-inputmask.min.js +7 -0
  71. data/app/assets/javascripts/wbase/admin/bootstrap-markdown/css/bootstrap-markdown.min.css +1 -0
  72. data/app/assets/javascripts/wbase/admin/bootstrap-markdown/js/bootstrap-markdown.js +1362 -0
  73. data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.js +501 -0
  74. data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/bootstrap-maxlength.min.js +10 -0
  75. data/app/assets/javascripts/wbase/admin/bootstrap-maxlength/src/bootstrap-maxlength.js +501 -0
  76. data/app/assets/javascripts/wbase/admin/bootstrap-select/css/bootstrap-select.min.css +6 -0
  77. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js +1735 -0
  78. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.js.map +1 -0
  79. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/bootstrap-select.min.js +8 -0
  80. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.js +49 -0
  81. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ar_AR.min.js +12 -0
  82. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.js +44 -0
  83. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-bg_BG.min.js +7 -0
  84. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.js +44 -0
  85. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cro_CRO.min.js +7 -0
  86. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.js +35 -0
  87. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-cs_CZ.min.js +7 -0
  88. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.js +44 -0
  89. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-da_DK.min.js +7 -0
  90. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.js +35 -0
  91. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-de_DE.min.js +7 -0
  92. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.js +44 -0
  93. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-en_US.min.js +7 -0
  94. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.js +35 -0
  95. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-es_CL.min.js +7 -0
  96. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.js +35 -0
  97. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-eu.min.js +7 -0
  98. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.js +37 -0
  99. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fa_IR.min.js +7 -0
  100. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.js +44 -0
  101. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fi_FI.min.js +7 -0
  102. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.js +44 -0
  103. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-fr_FR.min.js +7 -0
  104. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.js +44 -0
  105. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-hu_HU.min.js +7 -0
  106. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.js +37 -0
  107. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-id_ID.min.js +7 -0
  108. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.js +35 -0
  109. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-it_IT.min.js +7 -0
  110. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.js +44 -0
  111. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ko_KR.min.js +7 -0
  112. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.js +44 -0
  113. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-lt_LT.min.js +7 -0
  114. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.js +70 -0
  115. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nb_NO.min.js +13 -0
  116. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.js +35 -0
  117. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-nl_NL.min.js +7 -0
  118. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.js +37 -0
  119. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pl_PL.min.js +7 -0
  120. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.js +35 -0
  121. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_BR.min.js +7 -0
  122. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.js +35 -0
  123. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-pt_PT.min.js +7 -0
  124. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.js +35 -0
  125. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ro_RO.min.js +7 -0
  126. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.js +36 -0
  127. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ru_RU.min.js +7 -0
  128. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.js +37 -0
  129. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sk_SK.min.js +7 -0
  130. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.js +44 -0
  131. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sl_SI.min.js +7 -0
  132. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.js +44 -0
  133. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-sv_SE.min.js +7 -0
  134. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.js +44 -0
  135. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-tr_TR.min.js +7 -0
  136. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.js +35 -0
  137. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-ua_UA.min.js +7 -0
  138. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.js +35 -0
  139. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_CN.min.js +7 -0
  140. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.js +37 -0
  141. data/app/assets/javascripts/wbase/admin/bootstrap-select/js/i18n/defaults-zh_TW.min.js +7 -0
  142. data/app/assets/javascripts/wbase/admin/bootstrap-slider/css/bootstrap-slider.min.css +28 -0
  143. data/app/assets/javascripts/wbase/admin/bootstrap-slider/js/bootstrap-slider.min.js +29 -0
  144. data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.css +564 -0
  145. data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.js +745 -0
  146. data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/sweet-alert.min.js +1 -0
  147. data/app/assets/javascripts/wbase/admin/bootstrap-sweetalert/thumbs-up.jpg +0 -0
  148. data/app/assets/javascripts/wbase/admin/bootstrap-table/css/bootstrap-table.min.css +1 -0
  149. data/app/assets/javascripts/wbase/admin/bootstrap-table/js/bootstrap-table.min.js +8 -0
  150. data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/css/bootstrap-tagsinput.css +60 -0
  151. data/app/assets/javascripts/wbase/admin/bootstrap-tagsinput/js/bootstrap-tagsinput.min.js +7 -0
  152. data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/css/jquery.bootstrap-touchspin.min.css +10 -0
  153. data/app/assets/javascripts/wbase/admin/bootstrap-touchspin/js/jquery.bootstrap-touchspin.min.js +9 -0
  154. data/app/assets/javascripts/wbase/admin/bootstrap.min.js +7 -0
  155. data/app/assets/javascripts/wbase/admin/c3/c3.css +158 -0
  156. data/app/assets/javascripts/wbase/admin/c3/c3.js +7049 -0
  157. data/app/assets/javascripts/wbase/admin/c3/c3.min.css +1 -0
  158. data/app/assets/javascripts/wbase/admin/c3/c3.min.js +5 -0
  159. data/app/assets/javascripts/wbase/admin/chart.js/chart.min.js +14 -0
  160. data/app/assets/javascripts/wbase/admin/chartist/css/chartist.min.css +1 -0
  161. data/app/assets/javascripts/wbase/admin/chartist/js/chartist-plugin-tooltip.min.js +8 -0
  162. data/app/assets/javascripts/wbase/admin/chartist/js/chartist.min.js +10 -0
  163. data/app/assets/javascripts/wbase/admin/clockpicker/css/bootstrap-clockpicker.min.css +5 -0
  164. data/app/assets/javascripts/wbase/admin/clockpicker/js/bootstrap-clockpicker.min.js +6 -0
  165. data/app/assets/javascripts/wbase/admin/codemirror/css/ambiance.css +74 -0
  166. data/app/assets/javascripts/wbase/admin/codemirror/css/codemirror.css +347 -0
  167. data/app/assets/javascripts/wbase/admin/codemirror/js/codemirror.js +8935 -0
  168. data/app/assets/javascripts/wbase/admin/codemirror/js/formatting.js +108 -0
  169. data/app/assets/javascripts/wbase/admin/codemirror/js/javascript.js +638 -0
  170. data/app/assets/javascripts/wbase/admin/codemirror/js/xml.js +333 -0
  171. data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.js +195 -0
  172. data/app/assets/javascripts/wbase/admin/countdown/dest/countdown.min.js +1 -0
  173. data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.js +215 -0
  174. data/app/assets/javascripts/wbase/admin/countdown/dest/jquery.countdown.min.js +1 -0
  175. data/app/assets/javascripts/wbase/admin/countdown/src/countdown.js +191 -0
  176. data/app/assets/javascripts/wbase/admin/countdown/src/jquery-wrapper.js +18 -0
  177. data/app/assets/javascripts/wbase/admin/counterup/jquery.counterup.min.js +8 -0
  178. data/app/assets/javascripts/wbase/admin/cropper/cropper.css +315 -0
  179. data/app/assets/javascripts/wbase/admin/cropper/cropper.js +2457 -0
  180. data/app/assets/javascripts/wbase/admin/cropper/cropper.min.css +9 -0
  181. data/app/assets/javascripts/wbase/admin/cropper/cropper.min.js +9 -0
  182. data/app/assets/javascripts/wbase/admin/custombox/css/custombox.css +872 -0
  183. data/app/assets/javascripts/wbase/admin/custombox/js/custombox.min.js +10 -0
  184. data/app/assets/javascripts/wbase/admin/custombox/js/legacy.min.js +18 -0
  185. data/app/assets/javascripts/wbase/admin/d3/d3.js +9426 -0
  186. data/app/assets/javascripts/wbase/admin/d3/d3.min.js +5 -0
  187. data/app/assets/javascripts/wbase/admin/datatables/buttons.bootstrap.min.js +6 -0
  188. data/app/assets/javascripts/wbase/admin/datatables/buttons.html5.min.js +20 -0
  189. data/app/assets/javascripts/wbase/admin/datatables/buttons.print.min.js +4 -0
  190. data/app/assets/javascripts/wbase/admin/datatables/dataTables.bootstrap.js +186 -0
  191. data/app/assets/javascripts/wbase/admin/datatables/dataTables.buttons.min.js +35 -0
  192. data/app/assets/javascripts/wbase/admin/datatables/dataTables.colVis.js +1107 -0
  193. data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedColumns.min.js +35 -0
  194. data/app/assets/javascripts/wbase/admin/datatables/dataTables.fixedHeader.min.js +16 -0
  195. data/app/assets/javascripts/wbase/admin/datatables/dataTables.keyTable.min.js +18 -0
  196. data/app/assets/javascripts/wbase/admin/datatables/dataTables.responsive.min.js +23 -0
  197. data/app/assets/javascripts/wbase/admin/datatables/dataTables.scroller.min.js +25 -0
  198. data/app/assets/javascripts/wbase/admin/datatables/jquery.dataTables.min.js +163 -0
  199. data/app/assets/javascripts/wbase/admin/datatables/json/scroller-demo.json +2502 -0
  200. data/app/assets/javascripts/wbase/admin/datatables/jszip.min.js +14 -0
  201. data/app/assets/javascripts/wbase/admin/datatables/pdfmake.min.js +22 -0
  202. data/app/assets/javascripts/wbase/admin/datatables/responsive.bootstrap.min.js +7 -0
  203. data/app/assets/javascripts/wbase/admin/datatables/vfs_fonts.js +1 -0
  204. data/app/assets/javascripts/wbase/admin/datatables.editable.init.js +244 -0
  205. data/app/assets/javascripts/wbase/admin/datatables.init.js +37 -0
  206. data/app/assets/javascripts/wbase/admin/detect.js +7 -0
  207. data/app/assets/javascripts/wbase/admin/doc-ready/README.md +23 -0
  208. data/app/assets/javascripts/wbase/admin/doc-ready/bower.json +35 -0
  209. data/app/assets/javascripts/wbase/admin/doc-ready/doc-ready.js +80 -0
  210. data/app/assets/javascripts/wbase/admin/dropzone/basic.css +39 -0
  211. data/app/assets/javascripts/wbase/admin/dropzone/dropzone-amd-module.js +1743 -0
  212. data/app/assets/javascripts/wbase/admin/dropzone/dropzone.css +388 -0
  213. data/app/assets/javascripts/wbase/admin/dropzone/dropzone.js +1728 -0
  214. data/app/assets/javascripts/wbase/admin/dropzone/readme.md +10 -0
  215. data/app/assets/javascripts/wbase/admin/easy-pie-chart.init.js +63 -0
  216. data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.js +472 -0
  217. data/app/assets/javascripts/wbase/admin/eventEmitter/EventEmitter.min.js +7 -0
  218. data/app/assets/javascripts/wbase/admin/eventie/eventie.js +82 -0
  219. data/app/assets/javascripts/wbase/admin/fastclick.js +841 -0
  220. data/app/assets/javascripts/wbase/admin/fizzy-ui-utils/utils.js +270 -0
  221. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.crosshair.js +176 -0
  222. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.min.js +8 -0
  223. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.orderBars.min.js +186 -0
  224. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.pie.js +820 -0
  225. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.resize.js +59 -0
  226. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.selection.js +360 -0
  227. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.stack.js +188 -0
  228. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.time.js +432 -0
  229. data/app/assets/javascripts/wbase/admin/flot-chart/jquery.flot.tooltip.min.js +12 -0
  230. data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.eot +0 -0
  231. data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.svg +78 -0
  232. data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.ttf +0 -0
  233. data/app/assets/javascripts/wbase/admin/footable/css/fonts/footable.woff +0 -0
  234. data/app/assets/javascripts/wbase/admin/footable/css/footable.core.css +181 -0
  235. data/app/assets/javascripts/wbase/admin/footable/js/footable.all.min.js +14 -0
  236. data/app/assets/javascripts/wbase/admin/form-validation-init.js +106 -0
  237. data/app/assets/javascripts/wbase/admin/fullcalendar/css/fullcalendar.min.css +5 -0
  238. data/app/assets/javascripts/wbase/admin/fullcalendar/js/fullcalendar.min.js +9 -0
  239. data/app/assets/javascripts/wbase/admin/get-size/get-size.js +250 -0
  240. data/app/assets/javascripts/wbase/admin/get-style-property/get-style-property.js +55 -0
  241. data/app/assets/javascripts/wbase/admin/gmaps/gmaps.js +2204 -0
  242. data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js +2 -0
  243. data/app/assets/javascripts/wbase/admin/gmaps/gmaps.min.js.map +1 -0
  244. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.controls.js +83 -0
  245. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.core.js +488 -0
  246. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.events.js +54 -0
  247. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geofences.js +14 -0
  248. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.geometry.js +205 -0
  249. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.layers.js +158 -0
  250. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.map_types.js +29 -0
  251. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.markers.js +210 -0
  252. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.native_extensions.js +121 -0
  253. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.overlays.js +134 -0
  254. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.routes.js +330 -0
  255. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.static.js +245 -0
  256. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.streetview.js +44 -0
  257. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.styles.js +9 -0
  258. data/app/assets/javascripts/wbase/admin/gmaps/lib/gmaps.utils.js +42 -0
  259. data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.css +519 -0
  260. data/app/assets/javascripts/wbase/admin/hopscotch/css/hopscotch.min.css +17 -0
  261. data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-green.png +0 -0
  262. data/app/assets/javascripts/wbase/admin/hopscotch/img/sprite-orange.png +0 -0
  263. data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.js +2536 -0
  264. data/app/assets/javascripts/wbase/admin/hopscotch/js/hopscotch.min.js +17 -0
  265. data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.css +150 -0
  266. data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.min.js +76 -0
  267. data/app/assets/javascripts/wbase/admin/ion-rangeslider/ion.rangeSlider.skinFlat.css +106 -0
  268. data/app/assets/javascripts/wbase/admin/ion-rangeslider/sprite-skin-flat.png +0 -0
  269. data/app/assets/javascripts/wbase/admin/isotope/js/isotope.pkgd.min.js +12 -0
  270. data/app/assets/javascripts/wbase/admin/jquery-circliful/css/jquery.circliful.css +20 -0
  271. data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.js +262 -0
  272. data/app/assets/javascripts/wbase/admin/jquery-circliful/js/jquery.circliful.min.js +1 -0
  273. data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/dataTables.bootstrap.js +186 -0
  274. data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/datatables.css +333 -0
  275. data/app/assets/javascripts/wbase/admin/jquery-datatables-editable/jquery.dataTables.js +14951 -0
  276. data/app/assets/javascripts/wbase/admin/jquery-knob/excanvas.js +924 -0
  277. data/app/assets/javascripts/wbase/admin/jquery-knob/jquery.knob.js +805 -0
  278. data/app/assets/javascripts/wbase/admin/jquery-quicksearch/jquery.quicksearch.js +181 -0
  279. data/app/assets/javascripts/wbase/admin/jquery-sparkline/jquery.sparkline.min.js +5 -0
  280. data/app/assets/javascripts/wbase/admin/jquery-ui/external/jquery/jquery.js +9789 -0
  281. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  282. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  283. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_flat_10_000000_40x100.png +0 -0
  284. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  285. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  286. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  287. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  288. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  289. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  290. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
  291. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_228ef1_256x240.png +0 -0
  292. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ef8c08_256x240.png +0 -0
  293. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffd27a_256x240.png +0 -0
  294. data/app/assets/javascripts/wbase/admin/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
  295. data/app/assets/javascripts/wbase/admin/jquery-ui/index.html +513 -0
  296. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.css +1225 -0
  297. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.js +16617 -0
  298. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.css +7 -0
  299. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.min.js +13 -0
  300. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.css +833 -0
  301. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.structure.min.css +5 -0
  302. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.css +410 -0
  303. data/app/assets/javascripts/wbase/admin/jquery-ui/jquery-ui.theme.min.css +5 -0
  304. data/app/assets/javascripts/wbase/admin/jquery-validation/js/jquery.validate.min.js +4 -0
  305. data/app/assets/javascripts/wbase/admin/jquery.app.js +318 -0
  306. data/app/assets/javascripts/wbase/admin/jquery.blockUI.js +620 -0
  307. data/app/assets/javascripts/wbase/admin/jquery.bs-table.js +93 -0
  308. data/app/assets/javascripts/wbase/admin/jquery.c3-chart.init.js +225 -0
  309. data/app/assets/javascripts/wbase/admin/jquery.chartist.init.js +860 -0
  310. data/app/assets/javascripts/wbase/admin/jquery.chartjs.init.js +231 -0
  311. data/app/assets/javascripts/wbase/admin/jquery.charts-sparkline.js +149 -0
  312. data/app/assets/javascripts/wbase/admin/jquery.chat.js +60 -0
  313. data/app/assets/javascripts/wbase/admin/jquery.codemirror.init.js +66 -0
  314. data/app/assets/javascripts/wbase/admin/jquery.core.js +323 -0
  315. data/app/assets/javascripts/wbase/admin/jquery.dashboard.js +91 -0
  316. data/app/assets/javascripts/wbase/admin/jquery.dashboard_2.js +57 -0
  317. data/app/assets/javascripts/wbase/admin/jquery.dashboard_3.js +64 -0
  318. data/app/assets/javascripts/wbase/admin/jquery.dashboard_4.js +81 -0
  319. data/app/assets/javascripts/wbase/admin/jquery.dashboard_crm.js +104 -0
  320. data/app/assets/javascripts/wbase/admin/jquery.dashboard_ecommerce.js +57 -0
  321. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.js +397 -0
  322. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/angular.easypiechart.min.js +9 -0
  323. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.js +351 -0
  324. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/easypiechart.min.js +9 -0
  325. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.js +360 -0
  326. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js +9 -0
  327. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/angular.directive.js +48 -0
  328. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/easypiechart.js +134 -0
  329. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/jquery.plugin.js +10 -0
  330. data/app/assets/javascripts/wbase/admin/jquery.easy-pie-chart/src/renderer/canvas.js +190 -0
  331. data/app/assets/javascripts/wbase/admin/jquery.flot.init.js +500 -0
  332. data/app/assets/javascripts/wbase/admin/jquery.footable.js +86 -0
  333. data/app/assets/javascripts/wbase/admin/jquery.form-advanced.init.js +126 -0
  334. data/app/assets/javascripts/wbase/admin/jquery.form-pickers.init.js +130 -0
  335. data/app/assets/javascripts/wbase/admin/jquery.fullcalendar.js +202 -0
  336. data/app/assets/javascripts/wbase/admin/jquery.gmaps.js +226 -0
  337. data/app/assets/javascripts/wbase/admin/jquery.jsgrid.init.js +123 -0
  338. data/app/assets/javascripts/wbase/admin/jquery.leads.init.js +53 -0
  339. data/app/assets/javascripts/wbase/admin/jquery.min.js +5 -0
  340. data/app/assets/javascripts/wbase/admin/jquery.nicescroll.js +113 -0
  341. data/app/assets/javascripts/wbase/admin/jquery.nvd3.init.js +297 -0
  342. data/app/assets/javascripts/wbase/admin/jquery.opportunities.init.js +49 -0
  343. data/app/assets/javascripts/wbase/admin/jquery.peity.init.js +49 -0
  344. data/app/assets/javascripts/wbase/admin/jquery.rickshaw.chart.init.js +288 -0
  345. data/app/assets/javascripts/wbase/admin/jquery.scrollTo.min.js +7 -0
  346. data/app/assets/javascripts/wbase/admin/jquery.slimscroll.js +474 -0
  347. data/app/assets/javascripts/wbase/admin/jquery.steps/css/jquery.steps.css +382 -0
  348. data/app/assets/javascripts/wbase/admin/jquery.steps/js/jquery.steps.min.js +6 -0
  349. data/app/assets/javascripts/wbase/admin/jquery.sweet-alert.init.js +162 -0
  350. data/app/assets/javascripts/wbase/admin/jquery.todo.js +153 -0
  351. data/app/assets/javascripts/wbase/admin/jquery.tree.js +89 -0
  352. data/app/assets/javascripts/wbase/admin/jquery.ui-sliders.js +66 -0
  353. data/app/assets/javascripts/wbase/admin/jquery.widgets.js +149 -0
  354. data/app/assets/javascripts/wbase/admin/jquery.wizard-init.js +87 -0
  355. data/app/assets/javascripts/wbase/admin/jquery.xeditable.js +117 -0
  356. data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.css +258 -0
  357. data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid-theme.min.css +7 -0
  358. data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.css +126 -0
  359. data/app/assets/javascripts/wbase/admin/jsgrid/css/jsgrid.min.css +7 -0
  360. data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.js +2508 -0
  361. data/app/assets/javascripts/wbase/admin/jsgrid/js/jsgrid.min.js +8 -0
  362. data/app/assets/javascripts/wbase/admin/jstree/32px.png +0 -0
  363. data/app/assets/javascripts/wbase/admin/jstree/40px.png +0 -0
  364. data/app/assets/javascripts/wbase/admin/jstree/ajax_children.json +1 -0
  365. data/app/assets/javascripts/wbase/admin/jstree/ajax_roots.json +8 -0
  366. data/app/assets/javascripts/wbase/admin/jstree/jstree.js +7988 -0
  367. data/app/assets/javascripts/wbase/admin/jstree/jstree.min.js +6 -0
  368. data/app/assets/javascripts/wbase/admin/jstree/style.css +1066 -0
  369. data/app/assets/javascripts/wbase/admin/jstree/style.min.css +1 -0
  370. data/app/assets/javascripts/wbase/admin/jstree/themes/dark/32px.png +0 -0
  371. data/app/assets/javascripts/wbase/admin/jstree/themes/dark/40px.png +0 -0
  372. data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.css +1110 -0
  373. data/app/assets/javascripts/wbase/admin/jstree/themes/dark/style.min.css +1 -0
  374. data/app/assets/javascripts/wbase/admin/jstree/themes/dark/throbber.gif +0 -0
  375. data/app/assets/javascripts/wbase/admin/jstree/throbber.gif +0 -0
  376. data/app/assets/javascripts/wbase/admin/justgage-toorshia/justgage.js +1051 -0
  377. data/app/assets/javascripts/wbase/admin/jvectormap/gdp-data.js +185 -0
  378. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.css +130 -0
  379. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-2.0.2.min.js +3328 -0
  380. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-asia-mill.js +1 -0
  381. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-au-mill.js +1 -0
  382. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-ca-lcc.js +1 -0
  383. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-de-mill.js +1 -0
  384. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-europe-mill-en.js +1 -0
  385. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-in-mill.js +1 -0
  386. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-uk-mill-en.js +1 -0
  387. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-aea-en.js +1 -0
  388. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-us-il-chicago-mill-en.js +1 -0
  389. data/app/assets/javascripts/wbase/admin/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
  390. data/app/assets/javascripts/wbase/admin/jvectormap.init.js +215 -0
  391. data/app/assets/javascripts/wbase/admin/ladda-buttons/css/ladda-themeless.min.css +7 -0
  392. data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.jquery.min.js +8 -0
  393. data/app/assets/javascripts/wbase/admin/ladda-buttons/js/ladda.min.js +8 -0
  394. data/app/assets/javascripts/wbase/admin/ladda-buttons/js/spin.min.js +1 -0
  395. data/app/assets/javascripts/wbase/admin/magnific-popup/css/magnific-popup.css +369 -0
  396. data/app/assets/javascripts/wbase/admin/magnific-popup/js/jquery.magnific-popup.min.js +4 -0
  397. data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.js +3189 -0
  398. data/app/assets/javascripts/wbase/admin/masonry/dist/masonry.pkgd.min.js +9 -0
  399. data/app/assets/javascripts/wbase/admin/masonry/masonry.js +203 -0
  400. data/app/assets/javascripts/wbase/admin/masonry/sandbox/basic.html +62 -0
  401. data/app/assets/javascripts/wbase/admin/masonry/sandbox/bottom-up.html +119 -0
  402. data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/index.html +42 -0
  403. data/app/assets/javascripts/wbase/admin/masonry/sandbox/browserify/main.js +19 -0
  404. data/app/assets/javascripts/wbase/admin/masonry/sandbox/element-sizing.html +69 -0
  405. data/app/assets/javascripts/wbase/admin/masonry/sandbox/fit-width.html +68 -0
  406. data/app/assets/javascripts/wbase/admin/masonry/sandbox/fluid.html +89 -0
  407. data/app/assets/javascripts/wbase/admin/masonry/sandbox/jquery.html +64 -0
  408. data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/index.html +41 -0
  409. data/app/assets/javascripts/wbase/admin/masonry/sandbox/require-js/main.js +69 -0
  410. data/app/assets/javascripts/wbase/admin/masonry/sandbox/right-to-left.html +120 -0
  411. data/app/assets/javascripts/wbase/admin/masonry/sandbox/sandbox.css +33 -0
  412. data/app/assets/javascripts/wbase/admin/masonry/sandbox/stamps.html +124 -0
  413. data/app/assets/javascripts/wbase/admin/matches-selector/matches-selector.js +107 -0
  414. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.css +251 -0
  415. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css +9 -0
  416. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  417. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/alpha.png +0 -0
  418. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue-horizontal.png +0 -0
  419. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/hue.png +0 -0
  420. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/img/bootstrap-colorpicker/saturation.png +0 -0
  421. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.js +1079 -0
  422. data/app/assets/javascripts/wbase/admin/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js +1 -0
  423. data/app/assets/javascripts/wbase/admin/mocha/media/logo.svg +8 -0
  424. data/app/assets/javascripts/wbase/admin/mocha/mocha.css +270 -0
  425. data/app/assets/javascripts/wbase/admin/mocha/mocha.js +5812 -0
  426. data/app/assets/javascripts/wbase/admin/modal-effect/css/component.css +743 -0
  427. data/app/assets/javascripts/wbase/admin/modal-effect/js/classie.js +80 -0
  428. data/app/assets/javascripts/wbase/admin/modal-effect/js/modalEffects.js +57 -0
  429. data/app/assets/javascripts/wbase/admin/modernizr.min.js +1 -0
  430. data/app/assets/javascripts/wbase/admin/moment/moment.js +4195 -0
  431. data/app/assets/javascripts/wbase/admin/morris/morris.css +2 -0
  432. data/app/assets/javascripts/wbase/admin/morris/morris.min.js +7 -0
  433. data/app/assets/javascripts/wbase/admin/morris.init.js +184 -0
  434. data/app/assets/javascripts/wbase/admin/morris.min.js +7 -0
  435. data/app/assets/javascripts/wbase/admin/multiselect/css/multi-select.css +93 -0
  436. data/app/assets/javascripts/wbase/admin/multiselect/img/switch.png +0 -0
  437. data/app/assets/javascripts/wbase/admin/multiselect/js/jquery.multi-select.js +528 -0
  438. data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.css +74 -0
  439. data/app/assets/javascripts/wbase/admin/nestable/jquery.nestable.js +485 -0
  440. data/app/assets/javascripts/wbase/admin/nestable.js +59 -0
  441. data/app/assets/javascripts/wbase/admin/notifications/notification.css +56 -0
  442. data/app/assets/javascripts/wbase/admin/notifications/notify-metro.js +51 -0
  443. data/app/assets/javascripts/wbase/admin/notifications/notify.min.js +5 -0
  444. data/app/assets/javascripts/wbase/admin/notifyjs/js/notify.js +625 -0
  445. data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.css +1 -0
  446. data/app/assets/javascripts/wbase/admin/nvd3/nv.d3.min.js +8 -0
  447. data/app/assets/javascripts/wbase/admin/outlayer/item.js +586 -0
  448. data/app/assets/javascripts/wbase/admin/outlayer/outlayer.js +926 -0
  449. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/LICENSE +22 -0
  450. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/README.md +158 -0
  451. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/ajax-loader.gif +0 -0
  452. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.css +179 -0
  453. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.carousel.min.css +1 -0
  454. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.css +51 -0
  455. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.default.min.css +1 -0
  456. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.css +51 -0
  457. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.theme.green.min.css +1 -0
  458. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/assets/owl.video.play.png +0 -0
  459. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.js +3148 -0
  460. data/app/assets/javascripts/wbase/admin/owl.carousel/dist/owl.carousel.min.js +2 -0
  461. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.animate.css +29 -0
  462. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.autoheight.css +9 -0
  463. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.carousel.css +74 -0
  464. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.lazyload.css +12 -0
  465. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.default.css +51 -0
  466. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.theme.green.css +51 -0
  467. data/app/assets/javascripts/wbase/admin/owl.carousel/src/css/owl.video.css +51 -0
  468. data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/ajax-loader.gif +0 -0
  469. data/app/assets/javascripts/wbase/admin/owl.carousel/src/img/owl.video.play.png +0 -0
  470. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.animate.js +120 -0
  471. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoheight.js +96 -0
  472. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autoplay.js +161 -0
  473. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.autorefresh.js +110 -0
  474. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.carousel.js +1654 -0
  475. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.hash.js +121 -0
  476. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.lazyload.js +134 -0
  477. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.navigation.js +381 -0
  478. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.js +82 -0
  479. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.support.modernizr.js +57 -0
  480. data/app/assets/javascripts/wbase/admin/owl.carousel/src/js/owl.video.js +280 -0
  481. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_mixins.scss +21 -0
  482. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/_theme.scss +63 -0
  483. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.animate.scss +40 -0
  484. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.autoheight.scss +9 -0
  485. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.carousel.scss +108 -0
  486. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.lazyload.scss +18 -0
  487. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.default.scss +31 -0
  488. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.theme.green.scss +31 -0
  489. data/app/assets/javascripts/wbase/admin/owl.carousel/src/scss/owl.video.scss +51 -0
  490. data/app/assets/javascripts/wbase/admin/pace.min.js +2 -0
  491. data/app/assets/javascripts/wbase/admin/parsleyjs/parsley.min.js +18 -0
  492. data/app/assets/javascripts/wbase/admin/peity/jquery.peity.js +383 -0
  493. data/app/assets/javascripts/wbase/admin/peity/jquery.peity.min.js +13 -0
  494. data/app/assets/javascripts/wbase/admin/radial/radial.css +736 -0
  495. data/app/assets/javascripts/wbase/admin/raphael/raphael-min.js +11 -0
  496. data/app/assets/javascripts/wbase/admin/requirejs/require.js +2103 -0
  497. data/app/assets/javascripts/wbase/admin/responsive-table/css/rwd-table.min.css +7 -0
  498. data/app/assets/javascripts/wbase/admin/responsive-table/js/rwd-table.min.js +7 -0
  499. data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.json +14 -0
  500. data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data.jsonp +14 -0
  501. data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/data2.json +14 -0
  502. data/app/assets/javascripts/wbase/admin/rickshaw-chart/data/status.json +1 -0
  503. data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.css +1 -0
  504. data/app/assets/javascripts/wbase/admin/rickshaw-chart/rickshaw.min.js +3 -0
  505. data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.layout.min.js +1 -0
  506. data/app/assets/javascripts/wbase/admin/rickshaw-chart/vendor/d3.min.js +2 -0
  507. data/app/assets/javascripts/wbase/admin/select2/css/select2.css +484 -0
  508. data/app/assets/javascripts/wbase/admin/select2/css/select2.min.css +1 -0
  509. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ar.js +3 -0
  510. data/app/assets/javascripts/wbase/admin/select2/js/i18n/az.js +3 -0
  511. data/app/assets/javascripts/wbase/admin/select2/js/i18n/bg.js +3 -0
  512. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ca.js +3 -0
  513. data/app/assets/javascripts/wbase/admin/select2/js/i18n/cs.js +3 -0
  514. data/app/assets/javascripts/wbase/admin/select2/js/i18n/da.js +3 -0
  515. data/app/assets/javascripts/wbase/admin/select2/js/i18n/de.js +3 -0
  516. data/app/assets/javascripts/wbase/admin/select2/js/i18n/el.js +3 -0
  517. data/app/assets/javascripts/wbase/admin/select2/js/i18n/en.js +3 -0
  518. data/app/assets/javascripts/wbase/admin/select2/js/i18n/es.js +3 -0
  519. data/app/assets/javascripts/wbase/admin/select2/js/i18n/et.js +3 -0
  520. data/app/assets/javascripts/wbase/admin/select2/js/i18n/eu.js +3 -0
  521. data/app/assets/javascripts/wbase/admin/select2/js/i18n/fa.js +3 -0
  522. data/app/assets/javascripts/wbase/admin/select2/js/i18n/fi.js +3 -0
  523. data/app/assets/javascripts/wbase/admin/select2/js/i18n/fr.js +3 -0
  524. data/app/assets/javascripts/wbase/admin/select2/js/i18n/gl.js +3 -0
  525. data/app/assets/javascripts/wbase/admin/select2/js/i18n/he.js +3 -0
  526. data/app/assets/javascripts/wbase/admin/select2/js/i18n/hi.js +3 -0
  527. data/app/assets/javascripts/wbase/admin/select2/js/i18n/hr.js +3 -0
  528. data/app/assets/javascripts/wbase/admin/select2/js/i18n/hu.js +3 -0
  529. data/app/assets/javascripts/wbase/admin/select2/js/i18n/id.js +3 -0
  530. data/app/assets/javascripts/wbase/admin/select2/js/i18n/is.js +3 -0
  531. data/app/assets/javascripts/wbase/admin/select2/js/i18n/it.js +3 -0
  532. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ja.js +3 -0
  533. data/app/assets/javascripts/wbase/admin/select2/js/i18n/km.js +3 -0
  534. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ko.js +3 -0
  535. data/app/assets/javascripts/wbase/admin/select2/js/i18n/lt.js +3 -0
  536. data/app/assets/javascripts/wbase/admin/select2/js/i18n/lv.js +3 -0
  537. data/app/assets/javascripts/wbase/admin/select2/js/i18n/mk.js +3 -0
  538. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ms.js +3 -0
  539. data/app/assets/javascripts/wbase/admin/select2/js/i18n/nb.js +3 -0
  540. data/app/assets/javascripts/wbase/admin/select2/js/i18n/nl.js +3 -0
  541. data/app/assets/javascripts/wbase/admin/select2/js/i18n/pl.js +3 -0
  542. data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt-BR.js +3 -0
  543. data/app/assets/javascripts/wbase/admin/select2/js/i18n/pt.js +3 -0
  544. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ro.js +3 -0
  545. data/app/assets/javascripts/wbase/admin/select2/js/i18n/ru.js +3 -0
  546. data/app/assets/javascripts/wbase/admin/select2/js/i18n/sk.js +3 -0
  547. data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr-Cyrl.js +3 -0
  548. data/app/assets/javascripts/wbase/admin/select2/js/i18n/sr.js +3 -0
  549. data/app/assets/javascripts/wbase/admin/select2/js/i18n/sv.js +3 -0
  550. data/app/assets/javascripts/wbase/admin/select2/js/i18n/th.js +3 -0
  551. data/app/assets/javascripts/wbase/admin/select2/js/i18n/tr.js +3 -0
  552. data/app/assets/javascripts/wbase/admin/select2/js/i18n/uk.js +3 -0
  553. data/app/assets/javascripts/wbase/admin/select2/js/i18n/vi.js +3 -0
  554. data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-CN.js +3 -0
  555. data/app/assets/javascripts/wbase/admin/select2/js/i18n/zh-TW.js +3 -0
  556. data/app/assets/javascripts/wbase/admin/select2/js/select2.full.js +6436 -0
  557. data/app/assets/javascripts/wbase/admin/select2/js/select2.full.min.js +3 -0
  558. data/app/assets/javascripts/wbase/admin/select2/js/select2.js +5725 -0
  559. data/app/assets/javascripts/wbase/admin/select2/js/select2.min.js +3 -0
  560. data/app/assets/javascripts/wbase/admin/simple-text-rotator/jquery.simple-text-rotator.min.js +1 -0
  561. data/app/assets/javascripts/wbase/admin/skyicons/skycons.min.js +1 -0
  562. data/app/assets/javascripts/wbase/admin/smoothproducts/css/smoothproducts.css +174 -0
  563. data/app/assets/javascripts/wbase/admin/smoothproducts/js/jquery-2.1.3.min.js +4 -0
  564. data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.js +265 -0
  565. data/app/assets/javascripts/wbase/admin/smoothproducts/js/smoothproducts.min.js +1 -0
  566. data/app/assets/javascripts/wbase/admin/summernote/font/summernote.eot +0 -0
  567. data/app/assets/javascripts/wbase/admin/summernote/font/summernote.ttf +0 -0
  568. data/app/assets/javascripts/wbase/admin/summernote/font/summernote.woff +0 -0
  569. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.js +104 -0
  570. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ar-AR.min.js +2 -0
  571. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.js +99 -0
  572. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-bg-BG.min.js +2 -0
  573. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.js +147 -0
  574. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ca-ES.min.js +2 -0
  575. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.js +103 -0
  576. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-cs-CZ.min.js +2 -0
  577. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.js +114 -0
  578. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-da-DK.min.js +2 -0
  579. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.js +110 -0
  580. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-de-DE.min.js +2 -0
  581. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.js +147 -0
  582. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-ES.min.js +2 -0
  583. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.js +103 -0
  584. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-es-EU.min.js +2 -0
  585. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.js +105 -0
  586. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fa-IR.min.js +2 -0
  587. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.js +104 -0
  588. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fi-FI.min.js +2 -0
  589. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.js +115 -0
  590. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-fr-FR.min.js +2 -0
  591. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.js +147 -0
  592. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-gl-ES.min.js +2 -0
  593. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.js +107 -0
  594. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-he-IL.min.js +2 -0
  595. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.js +104 -0
  596. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hr-HR.min.js +2 -0
  597. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.js +135 -0
  598. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-hu-HU.min.js +2 -0
  599. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.js +103 -0
  600. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-id-ID.min.js +2 -0
  601. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.js +104 -0
  602. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-it-IT.min.js +2 -0
  603. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.js +133 -0
  604. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ja-JP.min.js +2 -0
  605. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.js +115 -0
  606. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ko-KR.min.js +2 -0
  607. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.js +107 -0
  608. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LT.min.js +2 -0
  609. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.js +135 -0
  610. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-lt-LV.min.js +2 -0
  611. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.js +104 -0
  612. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nb-NO.min.js +2 -0
  613. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.js +104 -0
  614. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-nl-NL.min.js +2 -0
  615. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.js +112 -0
  616. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pl-PL.min.js +2 -0
  617. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.js +132 -0
  618. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-BR.min.js +2 -0
  619. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.js +103 -0
  620. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-pt-PT.min.js +2 -0
  621. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.js +102 -0
  622. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ro-RO.min.js +2 -0
  623. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.js +112 -0
  624. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-ru-RU.min.js +2 -0
  625. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.js +102 -0
  626. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sk-SK.min.js +2 -0
  627. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.js +106 -0
  628. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sl-SI.min.js +2 -0
  629. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.js +104 -0
  630. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS-Latin.min.js +2 -0
  631. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.js +104 -0
  632. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sr-RS.min.js +2 -0
  633. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.js +104 -0
  634. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-sv-SE.min.js +2 -0
  635. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.js +106 -0
  636. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-th-TH.min.js +2 -0
  637. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.js +147 -0
  638. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-tr-TR.min.js +2 -0
  639. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.js +111 -0
  640. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-uk-UA.min.js +2 -0
  641. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.js +104 -0
  642. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-vi-VN.min.js +2 -0
  643. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.js +113 -0
  644. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-CN.min.js +2 -0
  645. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.js +113 -0
  646. data/app/assets/javascripts/wbase/admin/summernote/lang/summernote-zh-TW.min.js +2 -0
  647. data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.css +16 -0
  648. data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.js +303 -0
  649. data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.css +1 -0
  650. data/app/assets/javascripts/wbase/admin/summernote/plugin/databasic/summernote-ext-databasic.min.js +2 -0
  651. data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.js +82 -0
  652. data/app/assets/javascripts/wbase/admin/summernote/plugin/hello/summernote-ext-hello.min.js +2 -0
  653. data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.js +315 -0
  654. data/app/assets/javascripts/wbase/admin/summernote/plugin/specialchars/summernote-ext-specialchars.min.js +2 -0
  655. data/app/assets/javascripts/wbase/admin/summernote/summernote.css +1 -0
  656. data/app/assets/javascripts/wbase/admin/summernote/summernote.js +7016 -0
  657. data/app/assets/javascripts/wbase/admin/summernote/summernote.min.js +4 -0
  658. data/app/assets/javascripts/wbase/admin/switchery/css/switchery.min.css +1 -0
  659. data/app/assets/javascripts/wbase/admin/switchery/js/switchery.min.js +1 -0
  660. data/app/assets/javascripts/wbase/admin/tablesaw/css/tablesaw.css +833 -0
  661. data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw-init.js +12 -0
  662. data/app/assets/javascripts/wbase/admin/tablesaw/js/tablesaw.js +1266 -0
  663. data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.js +1177 -0
  664. data/app/assets/javascripts/wbase/admin/timepicker/bootstrap-timepicker.min.css +148 -0
  665. data/app/assets/javascripts/wbase/admin/tiny-editable/mindmup-editabletable.js +131 -0
  666. data/app/assets/javascripts/wbase/admin/tiny-editable/numeric-input-example.js +48 -0
  667. data/app/assets/javascripts/wbase/admin/tinymce/jquery.tinymce.min.js +1 -0
  668. data/app/assets/javascripts/wbase/admin/tinymce/langs/readme.md +3 -0
  669. data/app/assets/javascripts/wbase/admin/tinymce/license.txt +504 -0
  670. data/app/assets/javascripts/wbase/admin/tinymce/plugins/advlist/plugin.min.js +1 -0
  671. data/app/assets/javascripts/wbase/admin/tinymce/plugins/anchor/plugin.min.js +1 -0
  672. data/app/assets/javascripts/wbase/admin/tinymce/plugins/autolink/plugin.min.js +1 -0
  673. data/app/assets/javascripts/wbase/admin/tinymce/plugins/autoresize/plugin.min.js +1 -0
  674. data/app/assets/javascripts/wbase/admin/tinymce/plugins/autosave/plugin.min.js +1 -0
  675. data/app/assets/javascripts/wbase/admin/tinymce/plugins/bbcode/plugin.min.js +1 -0
  676. data/app/assets/javascripts/wbase/admin/tinymce/plugins/charmap/plugin.min.js +1 -0
  677. data/app/assets/javascripts/wbase/admin/tinymce/plugins/code/plugin.min.js +1 -0
  678. data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/css/prism.css +138 -0
  679. data/app/assets/javascripts/wbase/admin/tinymce/plugins/codesample/plugin.min.js +1 -0
  680. data/app/assets/javascripts/wbase/admin/tinymce/plugins/colorpicker/plugin.min.js +1 -0
  681. data/app/assets/javascripts/wbase/admin/tinymce/plugins/contextmenu/plugin.min.js +1 -0
  682. data/app/assets/javascripts/wbase/admin/tinymce/plugins/directionality/plugin.min.js +1 -0
  683. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
  684. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
  685. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
  686. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
  687. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
  688. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
  689. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
  690. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
  691. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
  692. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
  693. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
  694. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
  695. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
  696. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
  697. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
  698. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
  699. data/app/assets/javascripts/wbase/admin/tinymce/plugins/emoticons/plugin.min.js +1 -0
  700. data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/dialog.html +8 -0
  701. data/app/assets/javascripts/wbase/admin/tinymce/plugins/example/plugin.min.js +1 -0
  702. data/app/assets/javascripts/wbase/admin/tinymce/plugins/example_dependency/plugin.min.js +1 -0
  703. data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullpage/plugin.min.js +1 -0
  704. data/app/assets/javascripts/wbase/admin/tinymce/plugins/fullscreen/plugin.min.js +1 -0
  705. data/app/assets/javascripts/wbase/admin/tinymce/plugins/hr/plugin.min.js +1 -0
  706. data/app/assets/javascripts/wbase/admin/tinymce/plugins/image/plugin.min.js +1 -0
  707. data/app/assets/javascripts/wbase/admin/tinymce/plugins/imagetools/plugin.min.js +1 -0
  708. data/app/assets/javascripts/wbase/admin/tinymce/plugins/importcss/plugin.min.js +1 -0
  709. data/app/assets/javascripts/wbase/admin/tinymce/plugins/insertdatetime/plugin.min.js +1 -0
  710. data/app/assets/javascripts/wbase/admin/tinymce/plugins/layer/plugin.min.js +1 -0
  711. data/app/assets/javascripts/wbase/admin/tinymce/plugins/legacyoutput/plugin.min.js +1 -0
  712. data/app/assets/javascripts/wbase/admin/tinymce/plugins/link/plugin.min.js +1 -0
  713. data/app/assets/javascripts/wbase/admin/tinymce/plugins/lists/plugin.min.js +1 -0
  714. data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/moxieplayer.swf +0 -0
  715. data/app/assets/javascripts/wbase/admin/tinymce/plugins/media/plugin.min.js +1 -0
  716. data/app/assets/javascripts/wbase/admin/tinymce/plugins/nonbreaking/plugin.min.js +1 -0
  717. data/app/assets/javascripts/wbase/admin/tinymce/plugins/noneditable/plugin.min.js +1 -0
  718. data/app/assets/javascripts/wbase/admin/tinymce/plugins/pagebreak/plugin.min.js +1 -0
  719. data/app/assets/javascripts/wbase/admin/tinymce/plugins/paste/plugin.min.js +1 -0
  720. data/app/assets/javascripts/wbase/admin/tinymce/plugins/preview/plugin.min.js +1 -0
  721. data/app/assets/javascripts/wbase/admin/tinymce/plugins/print/plugin.min.js +1 -0
  722. data/app/assets/javascripts/wbase/admin/tinymce/plugins/save/plugin.min.js +1 -0
  723. data/app/assets/javascripts/wbase/admin/tinymce/plugins/searchreplace/plugin.min.js +1 -0
  724. data/app/assets/javascripts/wbase/admin/tinymce/plugins/spellchecker/plugin.min.js +1 -0
  725. data/app/assets/javascripts/wbase/admin/tinymce/plugins/tabfocus/plugin.min.js +1 -0
  726. data/app/assets/javascripts/wbase/admin/tinymce/plugins/table/plugin.min.js +2 -0
  727. data/app/assets/javascripts/wbase/admin/tinymce/plugins/template/plugin.min.js +1 -0
  728. data/app/assets/javascripts/wbase/admin/tinymce/plugins/textcolor/plugin.min.js +1 -0
  729. data/app/assets/javascripts/wbase/admin/tinymce/plugins/textpattern/plugin.min.js +1 -0
  730. data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/css/visualblocks.css +135 -0
  731. data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualblocks/plugin.min.js +1 -0
  732. data/app/assets/javascripts/wbase/admin/tinymce/plugins/visualchars/plugin.min.js +1 -0
  733. data/app/assets/javascripts/wbase/admin/tinymce/plugins/wordcount/plugin.min.js +1 -0
  734. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.inline.min.css +1 -0
  735. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/content.min.css +1 -0
  736. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
  737. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
  738. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  739. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
  740. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  741. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.svg +129 -0
  742. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  743. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  744. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/anchor.gif +0 -0
  745. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/loader.gif +0 -0
  746. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/object.gif +0 -0
  747. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/img/trans.gif +0 -0
  748. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
  749. data/app/assets/javascripts/wbase/admin/tinymce/skins/lightgray/skin.min.css +1 -0
  750. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/atomic.js +5 -0
  751. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-atomic.js +1491 -0
  752. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-browser.js +1491 -0
  753. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-demo.js +1491 -0
  754. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/bootstrap-prod.js +1491 -0
  755. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/browser.js +10 -0
  756. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/demo.js +8 -0
  757. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/bolt/prod.js +5 -0
  758. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/config/dent/depend.js +21 -0
  759. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/bootstrap.js +1526 -0
  760. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/compile/theme.js +1594 -0
  761. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.js +1679 -0
  762. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/scratch/inline/theme.raw.js +1679 -0
  763. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/css/demo.css +25 -0
  764. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/html/demo.html +69 -0
  765. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/demo/js/tinymce/inlite/Demo.js +28 -0
  766. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/Theme.js +150 -0
  767. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Arr.js +22 -0
  768. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Bookmark.js +130 -0
  769. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Unlink.js +84 -0
  770. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/alien/Uuid.js +34 -0
  771. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Actions.js +106 -0
  772. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Convert.js +37 -0
  773. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/ElementMatcher.js +47 -0
  774. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Layout.js +95 -0
  775. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Matcher.js +39 -0
  776. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/Measure.js +61 -0
  777. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/PredicateId.js +32 -0
  778. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SelectionMatcher.js +55 -0
  779. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/SkinLoader.js +45 -0
  780. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/core/UrlType.js +27 -0
  781. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Conversions.js +31 -0
  782. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/file/Picker.js +40 -0
  783. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Buttons.js +80 -0
  784. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Forms.js +102 -0
  785. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Panel.js +218 -0
  786. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/main/js/tinymce/inlite/ui/Toolbar.js +126 -0
  787. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/ArrTest.js +9 -0
  788. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/alien/UuidTest.js +10 -0
  789. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/ConvertTest.js +12 -0
  790. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/MatcherTest.js +51 -0
  791. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/atomic/core/UrlTypeTest.js +33 -0
  792. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/ThemeTest.js +202 -0
  793. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/BookmarkTest.js +65 -0
  794. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/alien/UnlinkTest.js +38 -0
  795. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ActionsTest.js +177 -0
  796. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/ElementMatcher.js +69 -0
  797. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/LayoutTest.js +118 -0
  798. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/MeasureTest.js +62 -0
  799. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/PredicateIdTest.js +26 -0
  800. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/core/SelectionMatcherTest.js +76 -0
  801. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/ConversionsTest.js +41 -0
  802. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/src/test/js/browser/file/SelectionMatcher.js +55 -0
  803. data/app/assets/javascripts/wbase/admin/tinymce/themes/inlite/theme.min.js +1 -0
  804. data/app/assets/javascripts/wbase/admin/tinymce/themes/modern/theme.min.js +1 -0
  805. data/app/assets/javascripts/wbase/admin/tinymce/tinymce.min.js +13 -0
  806. data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.js +275 -0
  807. data/app/assets/javascripts/wbase/admin/transitionize/dist/transitionize.min.js +1 -0
  808. data/app/assets/javascripts/wbase/admin/transitionize/examples/browserify.js +46 -0
  809. data/app/assets/javascripts/wbase/admin/transitionize/examples/example.html +31 -0
  810. data/app/assets/javascripts/wbase/admin/transitionize/transitionize.js +64 -0
  811. data/app/assets/javascripts/wbase/admin/waves.js +498 -0
  812. data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.js +647 -0
  813. data/app/assets/javascripts/wbase/admin/waypoints/lib/jquery.waypoints.min.js +7 -0
  814. data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.js +743 -0
  815. data/app/assets/javascripts/wbase/admin/waypoints/lib/noframework.waypoints.min.js +7 -0
  816. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.js +84 -0
  817. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/infinite.min.js +7 -0
  818. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.js +103 -0
  819. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/inview.min.js +7 -0
  820. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.js +65 -0
  821. data/app/assets/javascripts/wbase/admin/waypoints/lib/shortcuts/sticky.min.js +7 -0
  822. data/app/assets/javascripts/wbase/admin/waypoints/lib/waypoints.debug.js +46 -0
  823. data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.js +690 -0
  824. data/app/assets/javascripts/wbase/admin/waypoints/lib/zepto.waypoints.min.js +7 -0
  825. data/app/assets/javascripts/wbase/admin/wow.min.js +2 -0
  826. data/app/assets/javascripts/wbase/admin/x-editable/css/bootstrap-editable.css +663 -0
  827. data/app/assets/javascripts/wbase/admin/x-editable/img/clear.png +0 -0
  828. data/app/assets/javascripts/wbase/admin/x-editable/img/loading.gif +0 -0
  829. data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.js +6807 -0
  830. data/app/assets/javascripts/wbase/admin/x-editable/js/bootstrap-editable.min.js +7 -0
  831. data/app/assets/javascripts/wbase/admin.js +50 -0
  832. data/app/assets/javascripts/wbase/auth/bootstrap.min.js +1 -1
  833. data/app/assets/javascripts/wbase/auth/detect.js +1 -1
  834. data/app/assets/javascripts/wbase/auth/jquery.min.js +1 -1
  835. data/app/assets/javascripts/wbase/auth/jquery.scrollTo.min.js +1 -1
  836. data/app/assets/javascripts/wbase/auth/modernizr.min.js +1 -1
  837. data/app/assets/javascripts/wbase/auth/pace.min.js +1 -1
  838. data/app/assets/javascripts/wbase/auth/wow.min.js +1 -1
  839. data/app/assets/javascripts/wbase/landing/bootstrap.min.js +1 -1
  840. data/app/assets/javascripts/wbase/landing/validator.min.js +1 -1
  841. data/app/assets/stylesheets/wbase/admin/components.scss +2362 -0
  842. data/app/assets/stylesheets/wbase/admin/core.scss +2190 -0
  843. data/app/assets/stylesheets/wbase/admin/datatables/buttons.bootstrap.min.css +1 -0
  844. data/app/assets/stylesheets/wbase/admin/datatables/dataTables.bootstrap.min.css +1 -0
  845. data/app/assets/stylesheets/wbase/admin/datatables/dataTables.colVis.css +185 -0
  846. data/app/assets/stylesheets/wbase/admin/datatables/fixedColumns.dataTables.min.css +1 -0
  847. data/app/assets/stylesheets/wbase/admin/datatables/fixedHeader.bootstrap.min.css +1 -0
  848. data/app/assets/stylesheets/wbase/admin/datatables/jquery.dataTables.min.css +333 -0
  849. data/app/assets/stylesheets/wbase/admin/datatables/responsive.bootstrap.min.css +1 -0
  850. data/app/assets/stylesheets/wbase/admin/datatables/scroller.bootstrap.min.css +1 -0
  851. data/app/assets/stylesheets/wbase/admin/icons.scss +9884 -0
  852. data/app/assets/stylesheets/wbase/admin/morris.scss +25 -0
  853. data/app/assets/stylesheets/wbase/admin/pages.scss +2039 -0
  854. data/app/assets/stylesheets/wbase/admin/responsive.scss +162 -0
  855. data/app/assets/stylesheets/wbase/admin/typicons.scss +1370 -0
  856. data/app/assets/stylesheets/wbase/admin.scss +20 -0
  857. data/app/assets/stylesheets/wbase/auth/components.css +77 -77
  858. data/app/assets/stylesheets/wbase/auth/core.css +41 -41
  859. data/app/assets/stylesheets/wbase/auth/pages.css +43 -43
  860. data/app/views/layouts/wbase/_common_foot.html.erb +42 -0
  861. data/app/views/layouts/wbase/_common_head.html.erb +2 -1
  862. data/app/views/layouts/wbase/_olark.html.erb +34 -0
  863. data/app/views/layouts/wbase/_sidebar.html.erb +22 -0
  864. data/app/views/layouts/wbase/_topbar.html.erb +48 -0
  865. data/app/views/layouts/wbase/admin.html.erb +42 -0
  866. data/app/views/layouts/wbase/auth.html.erb +2 -1
  867. data/app/views/layouts/wbase/landing.html.erb +1 -0
  868. data/app/views/shared/{_errors.html.erb → wbase/_errors.html.erb} +0 -0
  869. data/app/views/shared/wbase/_page_title.html.erb +26 -0
  870. data/config/initializers/assets.rb +1 -1
  871. data/lib/wbase/engine.rb +6 -1
  872. data/lib/wbase/version.rb +1 -1
  873. data/test/dummy/db/development.sqlite3 +0 -0
  874. metadata +846 -4
  875. data/app/views/layouts/wbase/application.html.erb +0 -14
@@ -0,0 +1,1491 @@
1
+ (function (scope) {
2
+ var ephox = scope.ephox = scope.ephox || {};
3
+ var bolt = ephox.bolt = ephox.bolt || {};
4
+
5
+ var def = function (deps, factory) {
6
+ return factory.apply(null, deps);
7
+ };
8
+ var kernel = bolt.kernel = bolt.kernel || {};
9
+ kernel.api = kernel.api || {};
10
+ kernel.async = kernel.api || {};
11
+ kernel.fp = kernel.fp || {};
12
+ kernel.modulator = kernel.modulator || {};
13
+ kernel.module = kernel.module || {};
14
+ kernel.fp.array = def(
15
+ [
16
+ ],
17
+
18
+ function () {
19
+ var equals = function (a1, a2) {
20
+ if (a1.length !== a2.length)
21
+ return false;
22
+ for (var i = 0; i < a1.length; ++i)
23
+ if (a1[i] !== a2[i])
24
+ return false;
25
+ return true;
26
+ };
27
+
28
+ var forall = function (a, f) {
29
+ var fn = f || function (x) {
30
+ return x === true;
31
+ };
32
+ for (var i = 0; i < a.length; ++i)
33
+ if (fn(a[i]) !== true)
34
+ return false;
35
+ return true;
36
+ };
37
+
38
+ var map = function (a, f) {
39
+ var r = [];
40
+ for (var i = 0; i < a.length; ++i)
41
+ r.push(f(a[i], i));
42
+ return r;
43
+ };
44
+
45
+ var flatten = function (a) {
46
+ var r = [];
47
+ for (var i = 0; i < a.length; ++i)
48
+ r = r.concat(a[i]);
49
+ return r;
50
+ };
51
+
52
+ var flatmap = function (a, f) {
53
+ return flatten(map(a, f));
54
+ };
55
+
56
+ var filter = function (a, f) {
57
+ var r = [];
58
+ for (var i = 0; i < a.length; ++i)
59
+ if (f(a[i]))
60
+ r.push(a[i]);
61
+ return r;
62
+ };
63
+
64
+ var each = map;
65
+
66
+ var contains = function (a, x) {
67
+ return !forall(a, function (v) {
68
+ return v !== x;
69
+ });
70
+ };
71
+
72
+ var indexof = function (a, x) {
73
+ for (var i = 0; i < a.length; ++i)
74
+ if (a[i] === x)
75
+ return i;
76
+ return -1;
77
+ };
78
+
79
+ return {
80
+ equals: equals,
81
+ forall: forall,
82
+ map: map,
83
+ flatten: flatten,
84
+ flatmap: flatmap,
85
+ filter: filter,
86
+ each: each,
87
+ contains: contains,
88
+ indexof: indexof
89
+ };
90
+ }
91
+ );
92
+ kernel.fp.object = def(
93
+ [
94
+ ],
95
+
96
+ function () {
97
+ var map = function (o, f) {
98
+ var r = {};
99
+ for (var i in o)
100
+ if (o.hasOwnProperty(i))
101
+ r[i] = f(i, o[i]);
102
+ return r;
103
+ };
104
+
105
+ var each = map;
106
+
107
+ var merge = function (d, s) {
108
+ each(s, function (k, v) {
109
+ d[k] = v;
110
+ });
111
+ };
112
+
113
+ var keys = function (o) {
114
+ var r = [];
115
+ each(o, function (k) {
116
+ r.push(k);
117
+ });
118
+ return r;
119
+ };
120
+
121
+ return {
122
+ each: each,
123
+ keys: keys,
124
+ map: map,
125
+ merge: merge
126
+ };
127
+ }
128
+ );
129
+ kernel.fp.functions = def(
130
+ [
131
+ ],
132
+
133
+ function () {
134
+ var curry = function (f) {
135
+ var slice = Array.prototype.slice;
136
+ var args = slice.call(arguments, 1);
137
+ return function () {
138
+ var all = args.concat(slice.call(arguments, 0));
139
+ return f.apply(null, all);
140
+ };
141
+ };
142
+
143
+ var not = function (z) {
144
+ return function () {
145
+ var slice = Array.prototype.slice;
146
+ return !z.apply(null, slice.call(arguments, 0));
147
+ };
148
+ };
149
+
150
+ var apply = function (f) {
151
+ var slice = Array.prototype.slice;
152
+ return f.apply(null, slice.call(arguments, 0));
153
+ };
154
+
155
+ return {
156
+ curry: curry,
157
+ not: not,
158
+ apply: apply
159
+ };
160
+ }
161
+ );kernel.async.map = def(
162
+ [
163
+ kernel.fp.array
164
+ ],
165
+
166
+ function (ar) {
167
+ var amap = function (data, f, oncomplete) {
168
+ var total = data.length;
169
+ var count = 0;
170
+ var results = [];
171
+
172
+ ar.each(data, function (datum, i) {
173
+ f(datum, function (result) {
174
+ ++count;
175
+ results[i] = result;
176
+ if (count === total)
177
+ oncomplete(results);
178
+ });
179
+ });
180
+ };
181
+
182
+ return {
183
+ amap: amap
184
+ };
185
+ }
186
+ );
187
+ /**
188
+ * This module has a dual responsibility:
189
+ * 1. Ensures that asynchronous function calls, 'f', that share the same
190
+ * 'key' are not executed in parallel.
191
+ * 2. In the case where an attempt to call in parallel is prevented,
192
+ * the 'action' callbacks are executed when the asynchronous call is
193
+ * completed.
194
+ *
195
+ * Example:
196
+ * When we async-map to remotely fetch module definition, it is
197
+ * important that only a single define is evaluated, but the
198
+ * notification that the definition has completed is propagated
199
+ * to all interested parties.
200
+ *
201
+ * 1. we require dependencies 'x' and 'y'
202
+ *
203
+ * 2. both x and y are defined in the same file (i.e. compiled together), 'a.js'.
204
+ *
205
+ * 3. we resolve x and y, to their load spec using a modulator
206
+ * x_spec = {load: function () { -- load a.js -- }, url: a.js, serial: false};
207
+ * y_spec = {load: function () { -- load a.js -- }, url: a.js, serial: false};
208
+ *
209
+ * 4. we make the piggyback call for x:
210
+ * piggybacker.piggyback(x_spec.url, x_spec.load, xdone);
211
+ *
212
+ * this will register the 'xdone' action, and actually
213
+ * trigger the load call, with a synthetic callback
214
+ * responsible for triggering all registered actions.
215
+ *
216
+ * 5. we make the piggyback call for y:
217
+ * piggybacker.piggyback(y_spec.url, y_spec.load, ydone);
218
+ *
219
+ * this will register the 'ydone' action, but NOT trigger
220
+ * the load call.
221
+ *
222
+ * 6. the load call completes, and calls the synthetic callback,
223
+ * which is responsible for triggering both 'xdone' and 'ydone'.
224
+ *
225
+ * 7. something else happens that means we have to load 'a.js' again,
226
+ * the piggybacker DOES NOT prevent this call, and will follow
227
+ * the above process.
228
+ */
229
+ kernel.async.piggybacker = def(
230
+ [
231
+ kernel.fp.array,
232
+ kernel.fp.functions
233
+ ],
234
+
235
+ function (ar, fn) {
236
+ var create = function () {
237
+ var queue = {}; // key -> [actions]
238
+
239
+ var process = function (key) {
240
+ var actions = queue[key];
241
+ delete queue[key];
242
+ ar.each(actions, fn.apply);
243
+ };
244
+
245
+ var piggyback = function (key, f, action) {
246
+ if (queue[key] === undefined) {
247
+ queue[key] = [ action ];
248
+ f(fn.curry(process, key));
249
+ } else {
250
+ queue[key].push(action);
251
+ }
252
+ };
253
+
254
+ return {
255
+ piggyback: piggyback
256
+ };
257
+ };
258
+
259
+ return {
260
+ create: create
261
+ };
262
+ }
263
+ );
264
+ kernel.modulator.globalator = def(
265
+ [
266
+ ],
267
+
268
+ function () {
269
+ var create = function () {
270
+ // FIX pull out
271
+ var resolve = function (name, scope) {
272
+ var parts = name.split('.');
273
+ var r = scope;
274
+ for (var i = 0; i < parts.length && r !== undefined; ++i)
275
+ r = r[parts[i]];
276
+ return r;
277
+ };
278
+
279
+ var global = Function('return this')();
280
+
281
+ var can = function (id) {
282
+ return id.indexOf('global!') === 0;
283
+ };
284
+
285
+ var get = function (id, define, require) {
286
+ var name = id.substring('global!'.length);
287
+
288
+ var load = function (onsuccess, onfailure) {
289
+ var instance = resolve(name, global);
290
+ if (instance !== undefined) {
291
+ define(id, [], function () { return instance; });
292
+ onsuccess();
293
+ } else {
294
+ onfailure('Modulator error: could not resolve global [' + name + ']');
295
+ }
296
+ };
297
+
298
+ return {
299
+ url: id, // this just needs to be unique, no download required.
300
+ load: load,
301
+ serial: true
302
+ };
303
+ };
304
+
305
+ return {
306
+ can: can,
307
+ get: get
308
+ }
309
+ };
310
+ return {
311
+ create: create
312
+ };
313
+ }
314
+ );
315
+ kernel.modulator.bolt = def(
316
+ [
317
+ kernel.fp.functions
318
+ ],
319
+
320
+ function (fn) {
321
+ var create = function (loader, pather, namespace, path, idTransformer, options) {
322
+ var can = function (id) {
323
+ return id === namespace || id.indexOf(namespace + '.') === 0 || id.indexOf(namespace + '/') === 0;
324
+ };
325
+
326
+ var get = function (id) {
327
+ var before = options !== undefined && options.absolute === true ? path : pather(path);
328
+ var after = options !== undefined && options.fresh === true ? '?cachebuster=' + new Date().getTime() : '';
329
+ var url = before + "/" + idTransformer(id) + '.js' + after;
330
+ var load = fn.curry(loader.load, url);
331
+
332
+ return {
333
+ url: url,
334
+ load: load,
335
+ serial: false
336
+ };
337
+ };
338
+
339
+ return {
340
+ can: can,
341
+ get: get
342
+ };
343
+ };
344
+
345
+ return {
346
+ create: create
347
+ };
348
+ }
349
+ );kernel.module.stratifier = def(
350
+ [
351
+ kernel.fp.array
352
+ ],
353
+
354
+ function (ar) {
355
+ var stratify = function (specs) {
356
+ var parallels = ar.filter(specs, function (spec) {
357
+ return !spec.serial;
358
+ });
359
+ return parallels.length > 0 ? parallels : specs.slice(0, 1);
360
+ };
361
+
362
+ return {
363
+ stratify: stratify
364
+ };
365
+ }
366
+ );
367
+ /**
368
+ * This module performs dependency analysis of strings that depend on sets of
369
+ * strings.
370
+ *
371
+ * The input is an array of root strings to start analysis from, and an object
372
+ * that contains a mapping of each string to the strings it depends on.
373
+ *
374
+ * Performing an analysis results in either:
375
+ * 1. an empty array, indicating that all dependencies are satisfied,
376
+ * 2. an array of strings that are, at the minimum, still needed in order to
377
+ * satisfy the given dependency trees, or
378
+ * 3. an array of strings that form a dependency cycle.
379
+ */
380
+ kernel.module.analyser = def(
381
+ [
382
+ kernel.fp.array
383
+ ],
384
+
385
+ function (array) {
386
+ var collect = function (path, name) {
387
+ var i = array.indexof(path, name);
388
+ var p = path.slice(i);
389
+ return p.concat([name]);
390
+ };
391
+
392
+ /**
393
+ * @param {array} roots Contains a list of root ids
394
+ * @param {object} modules Contains dependency information in format: { id: [ 'id1', 'id2' ] }
395
+ */
396
+ var analyse = function (roots, modules) {
397
+ var done = {};
398
+ var path = [];
399
+ var missing = [];
400
+ var cycle;
401
+
402
+ var children = function (name) {
403
+ array.each(modules[name], attempt);
404
+ };
405
+
406
+ var examine = function (name) {
407
+ if (modules[name])
408
+ children(name);
409
+ else
410
+ missing.push(name);
411
+ };
412
+
413
+ var descend = function (name) {
414
+ path.push(name);
415
+ examine(name);
416
+ path.pop();
417
+ };
418
+
419
+ var decycle = function (name) {
420
+ if (array.contains(path, name))
421
+ cycle = collect(path, name);
422
+ else
423
+ descend(name);
424
+ };
425
+
426
+ var attempt = function (name) {
427
+ if (!done[name]) {
428
+ decycle(name);
429
+ done[name] = true;
430
+ }
431
+ };
432
+
433
+ array.each(roots, attempt);
434
+
435
+ return cycle ? { cycle: cycle } : { load: missing };
436
+ };
437
+
438
+ return {
439
+ analyse: analyse
440
+ };
441
+ }
442
+ );
443
+ kernel.module.fetcher = def(
444
+ [
445
+ kernel.fp.array,
446
+ kernel.fp.functions,
447
+ kernel.async.map,
448
+ kernel.async.piggybacker,
449
+ kernel.module.stratifier
450
+ ],
451
+
452
+ function (ar, fn, map, piggybacker, stratifier) {
453
+ var create = function (regulator, validator, onerror, define, require, demand) {
454
+ var piggyback = piggybacker.create();
455
+
456
+ var validate = function (onsuccess, results) {
457
+ var failed = ar.filter(results, fn.not(validator));
458
+ if (failed.length > 0)
459
+ onerror('Fetcher error: modules were not defined: ' + failed.join(', '));
460
+ else
461
+ onsuccess();
462
+ };
463
+
464
+ var mapper = function (spec, onresult) {
465
+ var action = fn.curry(onresult, spec.id);
466
+ var load = function (callback) {
467
+ spec.load(callback, onerror);
468
+ };
469
+ piggyback.piggyback(spec.url, load, action);
470
+ };
471
+
472
+ var asyncfetch = function (specs, onsuccess) {
473
+ var oncomplete = fn.curry(validate, onsuccess);
474
+ var strata = stratifier.stratify(specs);
475
+ map.amap(strata, mapper, oncomplete);
476
+ };
477
+
478
+ var fetch = function (ids, onsuccess) {
479
+ regulator.regulate(ids, define, require, demand, function (specs) {
480
+ asyncfetch(specs, onsuccess);
481
+ }, onerror);
482
+ };
483
+
484
+ return {
485
+ fetch: fetch
486
+ };
487
+ };
488
+
489
+ return {
490
+ create: create
491
+ };
492
+ }
493
+ );
494
+ kernel.module.loader = def(
495
+ [
496
+ kernel.module.analyser
497
+ ],
498
+
499
+ function (analyser) {
500
+ var load = function (roots, deps, fetcher, oncontinue, onsuccess, onerror) {
501
+ var result = analyser.analyse(roots, deps);
502
+
503
+ if (result.cycle)
504
+ onerror('Dependency error: a circular module dependency exists from ' + result.cycle.join(' ~> '));
505
+ else if (result.load.length === 0)
506
+ onsuccess();
507
+ else
508
+ fetcher.fetch(result.load, oncontinue);
509
+ };
510
+
511
+ return {
512
+ load: load
513
+ };
514
+ }
515
+ );
516
+ kernel.module.manager = def(
517
+ [
518
+ kernel.fp.array,
519
+ kernel.fp.object,
520
+ kernel.module.loader,
521
+ kernel.module.fetcher
522
+ ],
523
+
524
+ function (ar, obj, loader, fetcher) {
525
+ var create = function (regulator, onerror) {
526
+ var blueprints = {}; // id -> { id: string, dependencies: [ string ], definition: function }
527
+ var modules = {}; // id -> module
528
+
529
+ // Adds a module to the system.
530
+ var define = function (id, dependencies, definition) {
531
+ if (id === undefined)
532
+ onerror("Define error: module id can not be undefined");
533
+ else if (blueprints[id] !== undefined)
534
+ onerror("Define error: module '" + id + "' is already defined");
535
+ else
536
+ blueprints[id] = { id: id, dependencies: dependencies, definition: definition };
537
+ };
538
+
539
+ // Loads a set of modules asynchronously.
540
+ var require = function (ids, callback) {
541
+ var onsuccess = function () {
542
+ var instances = ar.map(ids, demand);
543
+ callback.apply(null, instances);
544
+ };
545
+
546
+ var oncontinue = function () {
547
+ var deps = obj.map(blueprints, function (k, v) {
548
+ return v.dependencies;
549
+ });
550
+ loader.load(ids, deps, fetch, oncontinue, onsuccess, onerror);
551
+ };
552
+
553
+ oncontinue();
554
+ };
555
+
556
+ // Instantiates a module and all of its dependencies.
557
+ var demand = function (id) {
558
+ if (modules[id] !== undefined)
559
+ return modules[id];
560
+ if (blueprints[id] === undefined)
561
+ throw "module '" + id + "' is not defined";
562
+ var result = instantiate(id);
563
+ if (result === undefined)
564
+ throw "module '" + id + "' returned undefined from definition function";
565
+ modules[id] = result;
566
+ return result;
567
+ };
568
+
569
+ var instantiate = function (id) {
570
+ var blueprint = blueprints[id];
571
+ var args = ar.map(blueprint.dependencies, demand); // Instantiate dependencies
572
+ return blueprint.definition.apply(null, args); // Instantiate self
573
+ };
574
+
575
+ var validator = function (id) { return blueprints[id] !== undefined; };
576
+ var fetch = fetcher.create(regulator, validator, onerror, define, require, demand);
577
+
578
+ return {
579
+ define: define,
580
+ require: require,
581
+ demand: demand
582
+ };
583
+ };
584
+
585
+ return {
586
+ create: create
587
+ };
588
+ }
589
+ );
590
+ kernel.api.sources = def(
591
+ [
592
+ kernel.fp.array,
593
+ kernel.fp.object,
594
+ kernel.modulator.globalator
595
+ ],
596
+
597
+ function (ar, obj, globalator) {
598
+ var create = function (builtins, configuration) {
599
+ var data = {
600
+ 'global': { instance: globalator }
601
+ };
602
+ obj.each(builtins, function (key, value) {
603
+ data[key] = { instance: value };
604
+ });
605
+ ar.each(configuration.types, function (spec) {
606
+ data[spec.type] = { id: spec.modulator };
607
+ });
608
+ var sourcespecs = configuration.sources.slice(0);
609
+ var sources = [ globalator.create() ];
610
+
611
+ var guard = function (type) {
612
+ if (data[type] === undefined)
613
+ throw 'Unknown modulator type [' + type + '].';
614
+ };
615
+
616
+ var isResolved = function (type) {
617
+ guard(type);
618
+ return data[type].instance !== undefined;
619
+ };
620
+
621
+ var idOf = function (type) {
622
+ guard(type);
623
+ return data[type].id;
624
+ };
625
+
626
+ var instanceOf = function (type) {
627
+ guard(type);
628
+ return data[type].instance;
629
+ };
630
+
631
+ var register = function (type, instance) {
632
+ guard(type);
633
+ data[type].instance = instance;
634
+ };
635
+
636
+ var find = function (id) {
637
+ for (var i = 0; i < sources.length; ++i)
638
+ if (sources[i].can(id))
639
+ return { found: sources[i] };
640
+ return { notfound: true };
641
+ };
642
+
643
+ var crank = function () {
644
+ var left = [];
645
+ ar.each(sourcespecs, function (spec) {
646
+ if (isResolved(spec.type)) {
647
+ var instance = instanceOf(spec.type);
648
+ var source = instance.create.apply(null, spec.args);
649
+ sources.push(source);
650
+ } else
651
+ left.push(spec);
652
+ });
653
+ sourcespecs = left;
654
+ };
655
+
656
+ return {
657
+ isResolved: isResolved,
658
+ idOf: idOf,
659
+ instanceOf: instanceOf,
660
+ register: register,
661
+ find: find,
662
+ crank: crank
663
+ };
664
+ };
665
+
666
+ return {
667
+ create: create
668
+ };
669
+ }
670
+ );
671
+ kernel.api.regulator = def(
672
+ [
673
+ kernel.fp.array,
674
+ kernel.fp.functions
675
+ ],
676
+
677
+ function (ar, fn) {
678
+ var create = function (sources) {
679
+ /*
680
+ * 1. Resolve configuration as much as possible
681
+ * 2. Check for unresolved modulator types that are required to continue.
682
+ * a) Go ahead and resolve, if we have everything we need.
683
+ * b) Delay, requiring the modulators, then retry.
684
+ */
685
+ var regulate = function (ids, define, require, demand, onsuccess, onerror) {
686
+ sources.crank();
687
+ var required = ar.map(ids, determinetype);
688
+ var unresolved = ar.filter(required, fn.not(sources.isResolved));
689
+ if (unresolved.length === 0)
690
+ resolve(ids, define, require, demand, onsuccess, onerror);
691
+ else
692
+ delay(unresolved, ids, define, require, demand, onsuccess, onerror);
693
+ };
694
+
695
+ var resolve = function (ids, define, require, demand, onsuccess, onerror) {
696
+ var r = [];
697
+ for (var i = 0; i < ids.length; ++i) {
698
+ var id = ids[i];
699
+ var source = sources.find(id);
700
+ if (source.notfound) {
701
+ onerror('Could not find source for module [' + id + ']');
702
+ return;
703
+ }
704
+ var spec = source.found.get(id, define, require, demand);
705
+ r[i] = build(id, spec);
706
+ }
707
+ onsuccess(r);
708
+ };
709
+
710
+ var build = function (id, spec) {
711
+ return {
712
+ id: id,
713
+ url: spec.url,
714
+ load: spec.load,
715
+ serial: spec.serial
716
+ };
717
+ };
718
+
719
+ var delay = function (types, ids, define, require, demand, onsuccess, onerror) {
720
+ var modulatorids = ar.map(types, sources.idOf);
721
+ require(modulatorids, function (/* modulators */) {
722
+ var modulators = arguments;
723
+ ar.each(types, function (type, i) {
724
+ sources.register(type, modulators[i]);
725
+ });
726
+ regulate(ids, define, require, demand, onsuccess, onerror);
727
+ });
728
+ };
729
+
730
+ var determinetype = function (id) {
731
+ var index = id.indexOf('!');
732
+ return index === -1 ? 'bolt' : id.substring(0, index);
733
+ };
734
+
735
+ return {
736
+ regulate: regulate
737
+ };
738
+ };
739
+
740
+ return {
741
+ create: create
742
+ };
743
+ }
744
+ );
745
+ kernel.api.config = def(
746
+ [
747
+ kernel.module.manager,
748
+ kernel.api.regulator,
749
+ kernel.api.sources
750
+ ],
751
+
752
+ function (manager, regulator, sources) {
753
+ var configure = function (configuration, builtins, onerror) {
754
+ var s = sources.create(builtins, configuration);
755
+ var r = regulator.create(s);
756
+ var engine = manager.create(r, onerror);
757
+
758
+ return {
759
+ define: engine.define,
760
+ require: engine.require,
761
+ demand: engine.demand
762
+ };
763
+ };
764
+
765
+ return {
766
+ configure: configure
767
+ };
768
+ }
769
+ );
770
+ })(Function('return this')());
771
+
772
+ (function (scope) {
773
+ var ephox = scope.ephox = scope.ephox || {};
774
+ var bolt = ephox.bolt = ephox.bolt || {};
775
+
776
+ var def = function (deps, factory) {
777
+ return factory.apply(null, deps);
778
+ };
779
+ var loader = bolt.loader = bolt.loader || {};
780
+ loader.executor = loader.executor || {};
781
+ loader.api = loader.api || {};
782
+ loader.transporter = loader.transporter || {};
783
+ loader.tag = loader.tag || {};
784
+ loader.tag.script = def(
785
+ [
786
+ ],
787
+
788
+ function () {
789
+ var guard = function (callback) {
790
+ return function (evt) {
791
+ if (evt.srcElement.readyState === "loaded" || evt.srcElement.readyState === "complete")
792
+ callback();
793
+ };
794
+ };
795
+
796
+ var ie = function (el) {
797
+ return el.attachEvent && !window.opera;
798
+ };
799
+
800
+ var onload = function (el, callback) {
801
+ if (ie(el))
802
+ el.attachEvent("onreadystatechange", guard(callback));
803
+ else
804
+ el.addEventListener("load", callback, false);
805
+ };
806
+
807
+ var createtag = function (callback) {
808
+ var el = document.createElement("script");
809
+ el.type = "text/javascript";
810
+ onload(el, callback);
811
+ return el;
812
+ };
813
+
814
+ var insert = function (decorator, callback) {
815
+ var el = createtag(callback);
816
+ decorator(el);
817
+ var head = document.getElementsByTagName("head")[0];
818
+ head.appendChild(el);
819
+ };
820
+
821
+ return {
822
+ insert: insert
823
+ };
824
+ }
825
+ );
826
+ loader.transporter.commonjs = def(
827
+ [
828
+ ],
829
+
830
+ function () {
831
+ var read = function (url, success, error) {
832
+ var fs = require('fs');
833
+ fs.exists(url, function (exists) {
834
+ if (exists)
835
+ fs.readFile(url, 'UTF-8', function (err, data) {
836
+ if (err)
837
+ error('Error reading file [' + url + '], error [' + err + ']');
838
+ else
839
+ success(data);
840
+ });
841
+ else
842
+ error('File does not exist [' + url + ']');
843
+ });
844
+ };
845
+
846
+ return {
847
+ read: read
848
+ };
849
+ }
850
+ );
851
+ loader.transporter.xhr = def(
852
+ [
853
+ ],
854
+
855
+ function () {
856
+ var requestObject = function () {
857
+ // Correct way to use XMLHttpRequest in IE:
858
+ // http://blogs.msdn.com/b/ie/archive/2006/01/23/516393.aspx
859
+ var factories = [
860
+ function () { return new XMLHttpRequest() },
861
+ function () { return new ActiveXObject("Microsoft.XMLHTTP") }
862
+ ];
863
+
864
+ return fallback(factories);
865
+ };
866
+
867
+ var fallback = function (items) {
868
+ for (var i = 0; i < items.length; ++i) {
869
+ try {
870
+ return items[i]();
871
+ } catch (e) {
872
+ }
873
+ }
874
+ };
875
+
876
+ var handler = function (req, url, success, error) {
877
+ return function () {
878
+ if (req.readyState === 4)
879
+ done(req, url, success, error);
880
+ };
881
+ };
882
+
883
+ var done = function (req, url, success, error) {
884
+ if (req.status === 200 || req.status === 304)
885
+ success(req.responseText);
886
+ else
887
+ error('Transport error: ' + req.status + ' ' + req.statusText + ' for resource: "' + url + '"');
888
+ };
889
+
890
+ var getUrl = function (req, url, success, error) {
891
+ req.open('GET', url, true);
892
+ req.onreadystatechange = handler(req, url, success, error);
893
+ req.send();
894
+ };
895
+
896
+ var request = function (url, success, error) {
897
+ var req = requestObject();
898
+ if (req)
899
+ getUrl(req, url, success, error);
900
+ else
901
+ error('Transport error: browser does not support XMLHttpRequest.');
902
+ };
903
+
904
+ return {
905
+ request: request
906
+ };
907
+ }
908
+ );
909
+ loader.executor.evaller = def(
910
+ [
911
+ ],
912
+
913
+ function () {
914
+ var execute = function (data, onsuccess, onfailure) {
915
+ try {
916
+ eval(data);
917
+ } catch(e) {
918
+ onfailure(e);
919
+ return;
920
+ }
921
+
922
+ onsuccess();
923
+ };
924
+
925
+ return {
926
+ execute: execute
927
+ };
928
+ }
929
+ );
930
+ loader.executor.injector = def(
931
+ [
932
+ loader.tag.script
933
+ ],
934
+
935
+ function (script) {
936
+ var execute = function (data, onsuccess, onfailure) {
937
+ var inject = function (tag) {
938
+ tag.text = data;
939
+ };
940
+
941
+ var noop = function () {};
942
+
943
+ // Injection does not fire events, but execution happens synchronously,
944
+ // so we just make an explicit callback
945
+ script.insert(inject, noop);
946
+ onsuccess();
947
+ };
948
+
949
+ return {
950
+ execute: execute
951
+ };
952
+ }
953
+ );
954
+ loader.api.commonjsevaller = def(
955
+ [
956
+ loader.transporter.commonjs,
957
+ loader.executor.evaller
958
+ ],
959
+
960
+ function (commonjs, evaller) {
961
+ var load = function (url, onsuccess, onfailure) {
962
+ var inject = function (data) {
963
+ evaller.execute(data, onsuccess, onfailure);
964
+ };
965
+
966
+ commonjs.read(url, inject, onfailure);
967
+ };
968
+
969
+ return {
970
+ load: load
971
+ };
972
+ }
973
+ );
974
+ loader.api.scripttag = def(
975
+ [
976
+ loader.tag.script
977
+ ],
978
+
979
+ function (script) {
980
+ var load = function (url, onsuccess, onfailure) {
981
+ var sourcer = function (tag) {
982
+ tag.src = url;
983
+ };
984
+
985
+ script.insert(sourcer, onsuccess);
986
+ };
987
+
988
+ return {
989
+ load: load
990
+ };
991
+ }
992
+ );
993
+ loader.api.xhrevaller = def(
994
+ [
995
+ loader.transporter.xhr,
996
+ loader.executor.evaller
997
+ ],
998
+
999
+ function (xhr, evaller) {
1000
+ var load = function (url, onsuccess, onfailure) {
1001
+ var inject = function (data) {
1002
+ evaller.execute(data, onsuccess, onfailure);
1003
+ };
1004
+
1005
+ xhr.request(url, inject, onfailure);
1006
+ };
1007
+
1008
+ return {
1009
+ load: load
1010
+ };
1011
+ }
1012
+ );
1013
+ loader.api.xhrinjector = def(
1014
+ [
1015
+ loader.transporter.xhr,
1016
+ loader.executor.injector
1017
+ ],
1018
+
1019
+ function (xhr, injector) {
1020
+ var load = function (url, onsuccess, onfailure) {
1021
+ var inject = function (data) {
1022
+ injector.execute(data, onsuccess);
1023
+ };
1024
+
1025
+ xhr.request(url, inject, onfailure);
1026
+ };
1027
+
1028
+ return {
1029
+ load: load
1030
+ };
1031
+ }
1032
+ );
1033
+ })(Function('return this')());
1034
+
1035
+ (function (scope) {
1036
+ var ephox = scope.ephox = scope.ephox || {};
1037
+ var bolt = ephox.bolt = ephox.bolt || {};
1038
+
1039
+ var def = function (deps, factory) {
1040
+ return factory.apply(null, deps);
1041
+ };
1042
+ var module = bolt.module = bolt.module || {};
1043
+ module.bootstrap = module.bootstrap || {};
1044
+ module.config = module.config || {};
1045
+ module.error = module.error || {};
1046
+ module.modulator = module.modulator || {};
1047
+ module.reader = module.reader || {};
1048
+ module.runtime = module.runtime || {};
1049
+ module.util = module.util || {};
1050
+ module.error.error = def(
1051
+ [
1052
+ ],
1053
+
1054
+ function () {
1055
+ var die = function (msg) {
1056
+ throw msg || new Error('unknown error');
1057
+ };
1058
+
1059
+ return {
1060
+ die: die
1061
+ };
1062
+ }
1063
+ );
1064
+ module.config.mapper = def(
1065
+ [
1066
+ ],
1067
+
1068
+ function () {
1069
+ var flat = function (id) {
1070
+ return id;
1071
+ };
1072
+
1073
+ var hierarchical = function (id) {
1074
+ return id.replace(/\./g, '/');
1075
+ };
1076
+
1077
+ var constant = function (name) {
1078
+ return function () {
1079
+ return name;
1080
+ };
1081
+ };
1082
+
1083
+ return {
1084
+ flat: flat,
1085
+ hierarchical: hierarchical,
1086
+ constant: constant
1087
+ };
1088
+ }
1089
+ );
1090
+ module.api = def(
1091
+ [
1092
+ module.runtime
1093
+ ],
1094
+
1095
+ function (runtime) {
1096
+ var delegate = function (method) {
1097
+ return function () {
1098
+ return runtime[method].apply(null, arguments);
1099
+ };
1100
+ };
1101
+
1102
+ return {
1103
+ define: delegate('define'),
1104
+ require: delegate('require'),
1105
+ demand: delegate('demand'),
1106
+ main: delegate('main'),
1107
+ load: delegate('load'),
1108
+ loadscript: delegate('loadscript')
1109
+ };
1110
+ }
1111
+ );
1112
+ module.util.path = def(
1113
+ [
1114
+ ],
1115
+
1116
+ function () {
1117
+ var dirname = function (file) {
1118
+ var normalized = file.replace(/\\/g, '/');
1119
+ var end = normalized.lastIndexOf('/');
1120
+ return normalized.substring(0, end);
1121
+ };
1122
+
1123
+ var basename = function (file) {
1124
+ var normalized = file.replace(/\\/g, '/');
1125
+ var end = normalized.lastIndexOf('/');
1126
+ return normalized.substring(end + 1);
1127
+ };
1128
+
1129
+ return {
1130
+ basename: basename,
1131
+ dirname: dirname
1132
+ };
1133
+ }
1134
+ );
1135
+ module.util.locator = def(
1136
+ [
1137
+ ],
1138
+
1139
+ function () {
1140
+ var browser = function () {
1141
+ var scripts = document.getElementsByTagName("script");
1142
+ return scripts[scripts.length - 1].src;
1143
+ };
1144
+
1145
+ var runtime = module.runtime.locate;
1146
+
1147
+ var locate = function () {
1148
+ var f = runtime || browser;
1149
+ return f();
1150
+ };
1151
+
1152
+ return {
1153
+ locate: locate
1154
+ };
1155
+ }
1156
+ );
1157
+ module.util.pather = def(
1158
+ [
1159
+ module.util.path
1160
+ ],
1161
+
1162
+ function (path) {
1163
+ var create = function (relativeto) {
1164
+ var base = path.dirname(relativeto);
1165
+ return function (path) {
1166
+ return base + '/' + path;
1167
+ };
1168
+ };
1169
+
1170
+ return {
1171
+ create: create
1172
+ };
1173
+ }
1174
+ );module.modulator.modulators = def(
1175
+ [
1176
+ ephox.bolt.kernel.fp.functions,
1177
+ ephox.bolt.kernel.modulator.bolt,
1178
+ ephox.bolt.loader.api.commonjsevaller,
1179
+ ephox.bolt.loader.api.scripttag,
1180
+ ephox.bolt.loader.api.xhrevaller,
1181
+ ephox.bolt.loader.api.xhrinjector
1182
+ ],
1183
+
1184
+ function (fn, bolt, commonjsevaller, scripttag, xhrevaller, xhrinjector) {
1185
+ var wrap = function (modulator, loader) {
1186
+ var create = fn.curry(modulator.create, loader);
1187
+
1188
+ return {
1189
+ create: create
1190
+ }
1191
+ };
1192
+
1193
+ return {
1194
+ boltcommonjs: wrap(bolt, commonjsevaller),
1195
+ boltscripttag: wrap(bolt, scripttag),
1196
+ boltxhreval: wrap(bolt, xhrevaller),
1197
+ boltxhrinjector: wrap(bolt, xhrinjector)
1198
+ };
1199
+ }
1200
+ );
1201
+ module.config.builtins = def(
1202
+ [
1203
+ ephox.bolt.module.modulator.modulators.boltscripttag,
1204
+ ephox.bolt.module.modulator.modulators.boltcommonjs
1205
+ ],
1206
+
1207
+ function (boltscripttag, boltcommonjs) {
1208
+ return {
1209
+ // TODO: 'amd' is maintained for backwards compatibility, will be removed
1210
+ // at some point.
1211
+ browser: { bolt: boltscripttag, amd: boltscripttag },
1212
+ commonjs: { bolt: boltcommonjs, amd: boltcommonjs }
1213
+ };
1214
+ }
1215
+ );
1216
+ module.config.specs = def(
1217
+ [
1218
+ module.util.pather
1219
+ ],
1220
+
1221
+ function (pather) {
1222
+ var type = function (type, implementation) {
1223
+ return {
1224
+ type: type,
1225
+ implementation: implementation,
1226
+ modulator: implementation + '.Modulator',
1227
+ compiler: implementation + '.Compiler'
1228
+ };
1229
+ };
1230
+
1231
+ var source = function (relativeto) {
1232
+ return function (type /*, args */) {
1233
+ return {
1234
+ type: type,
1235
+ relativeto: relativeto,
1236
+ args: [ pather.create(relativeto) ].concat(Array.prototype.slice.call(arguments, 1))
1237
+ };
1238
+ }
1239
+ };
1240
+
1241
+ return {
1242
+ type: type,
1243
+ source: source
1244
+ };
1245
+ }
1246
+ );
1247
+ module.reader.bouncing = def(
1248
+ [
1249
+ ephox.bolt.kernel.fp.array,
1250
+ module.error.error,
1251
+ module.config.specs
1252
+ ],
1253
+
1254
+ function (ar, error, specs) {
1255
+ var bounce = function (done, read, acc) {
1256
+ var next = acc.configs.shift();
1257
+ read(next.relativeto, next.config, done, acc);
1258
+ };
1259
+
1260
+ var tick = function (file, cfg, done, read, acc) {
1261
+ var munged = ar.map(cfg.configs || [], function (config) {
1262
+ return { relativeto: file, config: config };
1263
+ });
1264
+ var accumulated = {
1265
+ sources: acc.sources.concat(cfg.sources || []),
1266
+ types: acc.types.concat(cfg.types || []),
1267
+ configs: munged.concat(acc.configs)
1268
+ };
1269
+ if (accumulated.configs.length > 0)
1270
+ bounce(done, read, accumulated);
1271
+ else
1272
+ done({ sources: accumulated.sources, types: accumulated.types });
1273
+ };
1274
+
1275
+ /*
1276
+ * All precedence is depth-first, pre-order. Example:
1277
+ *
1278
+ * A
1279
+ * /-\
1280
+ * B C
1281
+ * /| |\
1282
+ * D E F G
1283
+ *
1284
+ * Configs are read in A, B, D, E, C, F, G.
1285
+ *
1286
+ * If configs mixed delegation and sources, the
1287
+ * sources would be ordered the same: A, B, D, E, C, F, G.
1288
+ */
1289
+
1290
+ var evaluate = function (file, payload, done, read, acc) {
1291
+ var result = {};
1292
+ /* eval scope */
1293
+ var mapper = module.config.mapper;
1294
+ var type = specs.type;
1295
+ var source = specs.source(file);
1296
+ var configure = function (configuration) {
1297
+ result = configuration;
1298
+ };
1299
+ try {
1300
+ eval(payload);
1301
+ } catch (e) {
1302
+ throw 'Could not load configuration [' + file + '], with: ' + e;
1303
+ }
1304
+ tick(file, result, done, read, acc);
1305
+ };
1306
+
1307
+ return {
1308
+ evaluate: evaluate
1309
+ };
1310
+ }
1311
+ );
1312
+ module.reader.browser = def(
1313
+ [
1314
+ module.error.error,
1315
+ module.reader.bouncing,
1316
+ module.util.path,
1317
+ ephox.bolt.loader.transporter.xhr
1318
+ ],
1319
+
1320
+ function (error, bouncing, path, xhr) {
1321
+ var read = function (relativeto, file, done, acc) {
1322
+ var accumulated = acc || { sources: [], types: [], configs: [] };
1323
+ var base = path.dirname(relativeto);
1324
+ var absolute = base + '/' + file;
1325
+ xhr.request(absolute, function (payload) {
1326
+ bouncing.evaluate(absolute, payload, done, read, accumulated);
1327
+ }, error.die);
1328
+ };
1329
+
1330
+ return {
1331
+ read: read
1332
+ };
1333
+ }
1334
+ );
1335
+ module.reader.node = def(
1336
+ [
1337
+ module.reader.bouncing
1338
+ ],
1339
+
1340
+ function (bouncing, path, fs) {
1341
+ var read = function (relativeto, file, done, acc) {
1342
+ var fs = require('fs');
1343
+ var path = require('path');
1344
+ var accumulated = acc || { sources: [], types: [], configs: [] };
1345
+ var base = path.dirname(relativeto);
1346
+ var absolute = path.resolve(base, file);
1347
+ var payload = fs.readFileSync(absolute, 'UTF-8');
1348
+ bouncing.evaluate(absolute, payload, done, read, accumulated);
1349
+ };
1350
+
1351
+ return {
1352
+ read: read
1353
+ };
1354
+ }
1355
+ );
1356
+ module.reader.direct = def(
1357
+ [
1358
+ ],
1359
+
1360
+ function () {
1361
+ var create = function (configuration) {
1362
+ return function (done) {
1363
+ done({
1364
+ sources: configuration.sources || [],
1365
+ types: configuration.types || [],
1366
+ configs: configuration.configs || []
1367
+ });
1368
+ };
1369
+ };
1370
+
1371
+ return {
1372
+ create: create
1373
+ };
1374
+ }
1375
+ );
1376
+ module.bootstrap.configloader = def(
1377
+ [
1378
+ module.util.locator,
1379
+ module.reader.browser
1380
+ ],
1381
+
1382
+ function (locator, browser) {
1383
+ var create = function (file) {
1384
+ var script = locator.locate();
1385
+ return function (done) {
1386
+ browser.read(script, file, done);
1387
+ };
1388
+ };
1389
+
1390
+ return {
1391
+ create: create
1392
+ };
1393
+ }
1394
+ );module.bootstrap.deferred = def(
1395
+ [
1396
+ ephox.bolt.kernel.fp.array
1397
+ ],
1398
+
1399
+ function (ar) {
1400
+ var deferred = [];
1401
+
1402
+ var require = function (ids, fn) {
1403
+ var r = function (real) {
1404
+ real(ids, fn);
1405
+ };
1406
+ deferred.push(r);
1407
+ };
1408
+
1409
+ var configured = function (require) {
1410
+ ar.each(deferred, function (action) {
1411
+ action(require);
1412
+ });
1413
+ deferred = [];
1414
+ };
1415
+
1416
+ return {
1417
+ require: require,
1418
+ configured: configured
1419
+ };
1420
+ }
1421
+ );
1422
+ module.bootstrap.main = def(
1423
+ [
1424
+ ephox.bolt.kernel.api.config,
1425
+ module.bootstrap.deferred,
1426
+ module.runtime
1427
+ ],
1428
+
1429
+ function (config, deferred, runtime) {
1430
+ var main = function (id, args, configids, callback) {
1431
+ runtime.require(configids || [], function () {
1432
+ callback && callback.apply(null, arguments);
1433
+ runtime.require([ id ], function (module) {
1434
+ module.apply(null, args || []);
1435
+ });
1436
+ });
1437
+ };
1438
+
1439
+ return {
1440
+ main: main
1441
+ };
1442
+ }
1443
+ );
1444
+ module.bootstrap.install = def(
1445
+ [
1446
+ ephox.bolt.kernel.api.config,
1447
+ module.bootstrap.deferred,
1448
+ module.bootstrap.main,
1449
+ module.runtime,
1450
+ module.error.error
1451
+ ],
1452
+
1453
+ function (config, deferred, main, runtime, error) {
1454
+ var notready = function () { throw 'bolt not initialised, can not call define or demand, did you mean to use require or main?'; };
1455
+
1456
+ var install = function (reader, builtins, load, loadscript) {
1457
+ runtime.define = notready;
1458
+ runtime.demand = notready;
1459
+ runtime.require = deferred.require;
1460
+ runtime.main = main.main;
1461
+ runtime.load = load;
1462
+ runtime.loadscript = loadscript;
1463
+
1464
+ reader(function (configuration) {
1465
+ var bolt = config.configure(configuration, builtins, error.die);
1466
+ runtime.define = bolt.define;
1467
+ runtime.require = bolt.require;
1468
+ runtime.demand = bolt.demand;
1469
+
1470
+ deferred.configured(runtime.require);
1471
+ });
1472
+ };
1473
+
1474
+ return {
1475
+ install: install
1476
+ };
1477
+ }
1478
+ );
1479
+
1480
+ })(Function('return this')());
1481
+ (function (global) {
1482
+ var obj = ephox.bolt.kernel.fp.object;
1483
+ var api = ephox.bolt.module.api;
1484
+ var builtins = ephox.bolt.module.config.builtins.browser;
1485
+ var install = ephox.bolt.module.bootstrap.install;
1486
+ var reader = ephox.bolt.module.bootstrap.configloader.create("browser.js");
1487
+ var transport = ephox.bolt.loader.transporter.xhr.request;
1488
+ var script = ephox.bolt.loader.api.scripttag.load;
1489
+ install.install(reader, builtins, transport, script);
1490
+ obj.merge(global, api);
1491
+ })(Function("return this;")());