raro_generator 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/lib/assets/images/animated-overlay.gif +0 -0
  6. data/lib/assets/images/blueimp/img/error.png +0 -0
  7. data/lib/assets/images/blueimp/img/error.svg +5 -0
  8. data/lib/assets/images/blueimp/img/loading.gif +0 -0
  9. data/lib/assets/images/blueimp/img/play-pause.png +0 -0
  10. data/lib/assets/images/blueimp/img/play-pause.svg +6 -0
  11. data/lib/assets/images/blueimp/img/video-play.png +0 -0
  12. data/lib/assets/images/blueimp/img/video-play.svg +5 -0
  13. data/lib/assets/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  14. data/lib/assets/images/bootstrap-colorpicker/alpha.png +0 -0
  15. data/lib/assets/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
  16. data/lib/assets/images/bootstrap-colorpicker/hue.png +0 -0
  17. data/lib/assets/images/bootstrap-colorpicker/saturation.png +0 -0
  18. data/lib/assets/images/chosen-sprite.png +0 -0
  19. data/lib/assets/images/chosen-sprite@2x.png +0 -0
  20. data/lib/assets/images/green.png +0 -0
  21. data/lib/assets/images/green@2x.png +0 -0
  22. data/lib/assets/images/iCheck/green.png +0 -0
  23. data/lib/assets/images/iCheck/green@2x.png +0 -0
  24. data/lib/assets/images/images/animated-overlay.gif +0 -0
  25. data/lib/assets/images/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  26. data/lib/assets/images/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  27. data/lib/assets/images/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  28. data/lib/assets/images/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  29. data/lib/assets/images/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  30. data/lib/assets/images/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  31. data/lib/assets/images/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  32. data/lib/assets/images/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  33. data/lib/assets/images/images/ui-icons_222222_256x240.png +0 -0
  34. data/lib/assets/images/images/ui-icons_2e83ff_256x240.png +0 -0
  35. data/lib/assets/images/images/ui-icons_454545_256x240.png +0 -0
  36. data/lib/assets/images/images/ui-icons_888888_256x240.png +0 -0
  37. data/lib/assets/images/images/ui-icons_cd0a0a_256x240.png +0 -0
  38. data/lib/assets/images/sort.png +0 -0
  39. data/lib/assets/images/sort_asc.png +0 -0
  40. data/lib/assets/images/sort_desc.png +0 -0
  41. data/lib/assets/images/sprite-skin-flat.png +0 -0
  42. data/lib/assets/images/sprite-skin-flat2.png +0 -0
  43. data/lib/assets/images/sprite-skin-nice.png +0 -0
  44. data/lib/assets/images/sprite-skin-simple.png +0 -0
  45. data/lib/assets/images/spritemap.png +0 -0
  46. data/lib/assets/images/spritemap@2x.png +0 -0
  47. data/lib/assets/javascripts/autocomplete/autocomplete-rails.js +1 -0
  48. data/lib/assets/javascripts/autocomplete/jquery-ui-autocomplete.js +2610 -0
  49. data/lib/assets/javascripts/blueimp/jquery.blueimp-gallery.min.js +1 -0
  50. data/lib/assets/javascripts/chartjs/Chart.min.js +11 -0
  51. data/lib/assets/javascripts/chosen/chosen.jquery.js +1211 -0
  52. data/lib/assets/javascripts/codemirror/codemirror.js +7830 -0
  53. data/lib/assets/javascripts/codemirror/mode/apl/apl.js +175 -0
  54. data/lib/assets/javascripts/codemirror/mode/apl/index.html +72 -0
  55. data/lib/assets/javascripts/codemirror/mode/asterisk/asterisk.js +198 -0
  56. data/lib/assets/javascripts/codemirror/mode/asterisk/index.html +154 -0
  57. data/lib/assets/javascripts/codemirror/mode/clike/clike.js +474 -0
  58. data/lib/assets/javascripts/codemirror/mode/clike/index.html +225 -0
  59. data/lib/assets/javascripts/codemirror/mode/clike/scala.html +767 -0
  60. data/lib/assets/javascripts/codemirror/mode/clojure/clojure.js +243 -0
  61. data/lib/assets/javascripts/codemirror/mode/clojure/index.html +88 -0
  62. data/lib/assets/javascripts/codemirror/mode/cobol/cobol.js +255 -0
  63. data/lib/assets/javascripts/codemirror/mode/cobol/index.html +210 -0
  64. data/lib/assets/javascripts/codemirror/mode/coffeescript/coffeescript.js +369 -0
  65. data/lib/assets/javascripts/codemirror/mode/coffeescript/index.html +740 -0
  66. data/lib/assets/javascripts/codemirror/mode/commonlisp/commonlisp.js +120 -0
  67. data/lib/assets/javascripts/codemirror/mode/commonlisp/index.html +177 -0
  68. data/lib/assets/javascripts/codemirror/mode/css/css.js +717 -0
  69. data/lib/assets/javascripts/codemirror/mode/css/index.html +70 -0
  70. data/lib/assets/javascripts/codemirror/mode/css/less.html +152 -0
  71. data/lib/assets/javascripts/codemirror/mode/css/less_test.js +51 -0
  72. data/lib/assets/javascripts/codemirror/mode/css/scss.html +157 -0
  73. data/lib/assets/javascripts/codemirror/mode/css/scss_test.js +110 -0
  74. data/lib/assets/javascripts/codemirror/mode/css/test.js +135 -0
  75. data/lib/assets/javascripts/codemirror/mode/cypher/cypher.js +146 -0
  76. data/lib/assets/javascripts/codemirror/mode/cypher/index.html +63 -0
  77. data/lib/assets/javascripts/codemirror/mode/d/d.js +218 -0
  78. data/lib/assets/javascripts/codemirror/mode/d/index.html +273 -0
  79. data/lib/assets/javascripts/codemirror/mode/diff/diff.js +47 -0
  80. data/lib/assets/javascripts/codemirror/mode/diff/index.html +117 -0
  81. data/lib/assets/javascripts/codemirror/mode/django/django.js +67 -0
  82. data/lib/assets/javascripts/codemirror/mode/django/index.html +63 -0
  83. data/lib/assets/javascripts/codemirror/mode/dtd/dtd.js +142 -0
  84. data/lib/assets/javascripts/codemirror/mode/dtd/index.html +89 -0
  85. data/lib/assets/javascripts/codemirror/mode/dylan/dylan.js +299 -0
  86. data/lib/assets/javascripts/codemirror/mode/dylan/index.html +407 -0
  87. data/lib/assets/javascripts/codemirror/mode/ecl/ecl.js +207 -0
  88. data/lib/assets/javascripts/codemirror/mode/ecl/index.html +52 -0
  89. data/lib/assets/javascripts/codemirror/mode/eiffel/eiffel.js +162 -0
  90. data/lib/assets/javascripts/codemirror/mode/eiffel/index.html +429 -0
  91. data/lib/assets/javascripts/codemirror/mode/erlang/erlang.js +622 -0
  92. data/lib/assets/javascripts/codemirror/mode/erlang/index.html +76 -0
  93. data/lib/assets/javascripts/codemirror/mode/fortran/fortran.js +188 -0
  94. data/lib/assets/javascripts/codemirror/mode/fortran/index.html +81 -0
  95. data/lib/assets/javascripts/codemirror/mode/gas/gas.js +345 -0
  96. data/lib/assets/javascripts/codemirror/mode/gas/index.html +68 -0
  97. data/lib/assets/javascripts/codemirror/mode/gfm/gfm.js +122 -0
  98. data/lib/assets/javascripts/codemirror/mode/gfm/index.html +82 -0
  99. data/lib/assets/javascripts/codemirror/mode/gfm/test.js +164 -0
  100. data/lib/assets/javascripts/codemirror/mode/gherkin/gherkin.js +178 -0
  101. data/lib/assets/javascripts/codemirror/mode/gherkin/index.html +48 -0
  102. data/lib/assets/javascripts/codemirror/mode/go/go.js +184 -0
  103. data/lib/assets/javascripts/codemirror/mode/go/index.html +85 -0
  104. data/lib/assets/javascripts/codemirror/mode/groovy/groovy.js +226 -0
  105. data/lib/assets/javascripts/codemirror/mode/groovy/index.html +84 -0
  106. data/lib/assets/javascripts/codemirror/mode/haml/haml.js +159 -0
  107. data/lib/assets/javascripts/codemirror/mode/haml/index.html +79 -0
  108. data/lib/assets/javascripts/codemirror/mode/haml/test.js +97 -0
  109. data/lib/assets/javascripts/codemirror/mode/haskell/haskell.js +267 -0
  110. data/lib/assets/javascripts/codemirror/mode/haskell/index.html +73 -0
  111. data/lib/assets/javascripts/codemirror/mode/haxe/haxe.js +518 -0
  112. data/lib/assets/javascripts/codemirror/mode/haxe/index.html +124 -0
  113. data/lib/assets/javascripts/codemirror/mode/htmlembedded/htmlembedded.js +86 -0
  114. data/lib/assets/javascripts/codemirror/mode/htmlembedded/index.html +58 -0
  115. data/lib/assets/javascripts/codemirror/mode/htmlmixed/htmlmixed.js +121 -0
  116. data/lib/assets/javascripts/codemirror/mode/htmlmixed/index.html +85 -0
  117. data/lib/assets/javascripts/codemirror/mode/http/http.js +113 -0
  118. data/lib/assets/javascripts/codemirror/mode/http/index.html +45 -0
  119. data/lib/assets/javascripts/codemirror/mode/index.html +125 -0
  120. data/lib/assets/javascripts/codemirror/mode/jade/index.html +70 -0
  121. data/lib/assets/javascripts/codemirror/mode/jade/jade.js +590 -0
  122. data/lib/assets/javascripts/codemirror/mode/javascript/index.html +114 -0
  123. data/lib/assets/javascripts/codemirror/mode/javascript/javascript.js +684 -0
  124. data/lib/assets/javascripts/codemirror/mode/javascript/json-ld.html +72 -0
  125. data/lib/assets/javascripts/codemirror/mode/javascript/test.js +194 -0
  126. data/lib/assets/javascripts/codemirror/mode/javascript/typescript.html +61 -0
  127. data/lib/assets/javascripts/codemirror/mode/jinja2/index.html +54 -0
  128. data/lib/assets/javascripts/codemirror/mode/jinja2/jinja2.js +142 -0
  129. data/lib/assets/javascripts/codemirror/mode/julia/index.html +195 -0
  130. data/lib/assets/javascripts/codemirror/mode/julia/julia.js +301 -0
  131. data/lib/assets/javascripts/codemirror/mode/kotlin/index.html +89 -0
  132. data/lib/assets/javascripts/codemirror/mode/kotlin/kotlin.js +280 -0
  133. data/lib/assets/javascripts/codemirror/mode/livescript/index.html +459 -0
  134. data/lib/assets/javascripts/codemirror/mode/livescript/livescript.js +280 -0
  135. data/lib/assets/javascripts/codemirror/mode/lua/index.html +85 -0
  136. data/lib/assets/javascripts/codemirror/mode/lua/lua.js +159 -0
  137. data/lib/assets/javascripts/codemirror/mode/markdown/index.html +359 -0
  138. data/lib/assets/javascripts/codemirror/mode/markdown/markdown.js +758 -0
  139. data/lib/assets/javascripts/codemirror/mode/markdown/test.js +754 -0
  140. data/lib/assets/javascripts/codemirror/mode/meta.js +144 -0
  141. data/lib/assets/javascripts/codemirror/mode/mirc/index.html +160 -0
  142. data/lib/assets/javascripts/codemirror/mode/mirc/mirc.js +193 -0
  143. data/lib/assets/javascripts/codemirror/mode/mllike/index.html +179 -0
  144. data/lib/assets/javascripts/codemirror/mode/mllike/mllike.js +205 -0
  145. data/lib/assets/javascripts/codemirror/mode/modelica/index.html +67 -0
  146. data/lib/assets/javascripts/codemirror/mode/modelica/modelica.js +245 -0
  147. data/lib/assets/javascripts/codemirror/mode/nginx/index.html +181 -0
  148. data/lib/assets/javascripts/codemirror/mode/nginx/nginx.js +178 -0
  149. data/lib/assets/javascripts/codemirror/mode/ntriples/index.html +45 -0
  150. data/lib/assets/javascripts/codemirror/mode/ntriples/ntriples.js +186 -0
  151. data/lib/assets/javascripts/codemirror/mode/octave/index.html +83 -0
  152. data/lib/assets/javascripts/codemirror/mode/octave/octave.js +135 -0
  153. data/lib/assets/javascripts/codemirror/mode/pascal/index.html +61 -0
  154. data/lib/assets/javascripts/codemirror/mode/pascal/pascal.js +109 -0
  155. data/lib/assets/javascripts/codemirror/mode/pegjs/index.html +66 -0
  156. data/lib/assets/javascripts/codemirror/mode/pegjs/pegjs.js +114 -0
  157. data/lib/assets/javascripts/codemirror/mode/perl/index.html +75 -0
  158. data/lib/assets/javascripts/codemirror/mode/perl/perl.js +832 -0
  159. data/lib/assets/javascripts/codemirror/mode/php/index.html +64 -0
  160. data/lib/assets/javascripts/codemirror/mode/php/php.js +226 -0
  161. data/lib/assets/javascripts/codemirror/mode/php/test.js +154 -0
  162. data/lib/assets/javascripts/codemirror/mode/pig/index.html +55 -0
  163. data/lib/assets/javascripts/codemirror/mode/pig/pig.js +188 -0
  164. data/lib/assets/javascripts/codemirror/mode/properties/index.html +53 -0
  165. data/lib/assets/javascripts/codemirror/mode/properties/properties.js +78 -0
  166. data/lib/assets/javascripts/codemirror/mode/puppet/index.html +121 -0
  167. data/lib/assets/javascripts/codemirror/mode/puppet/puppet.js +220 -0
  168. data/lib/assets/javascripts/codemirror/mode/python/index.html +198 -0
  169. data/lib/assets/javascripts/codemirror/mode/python/python.js +359 -0
  170. data/lib/assets/javascripts/codemirror/mode/q/index.html +144 -0
  171. data/lib/assets/javascripts/codemirror/mode/q/q.js +139 -0
  172. data/lib/assets/javascripts/codemirror/mode/r/index.html +85 -0
  173. data/lib/assets/javascripts/codemirror/mode/r/r.js +162 -0
  174. data/lib/assets/javascripts/codemirror/mode/rpm/changes/index.html +66 -0
  175. data/lib/assets/javascripts/codemirror/mode/rpm/index.html +149 -0
  176. data/lib/assets/javascripts/codemirror/mode/rpm/rpm.js +101 -0
  177. data/lib/assets/javascripts/codemirror/mode/rst/index.html +535 -0
  178. data/lib/assets/javascripts/codemirror/mode/rst/rst.js +557 -0
  179. data/lib/assets/javascripts/codemirror/mode/ruby/index.html +184 -0
  180. data/lib/assets/javascripts/codemirror/mode/ruby/ruby.js +285 -0
  181. data/lib/assets/javascripts/codemirror/mode/ruby/test.js +14 -0
  182. data/lib/assets/javascripts/codemirror/mode/rust/index.html +60 -0
  183. data/lib/assets/javascripts/codemirror/mode/rust/rust.js +451 -0
  184. data/lib/assets/javascripts/codemirror/mode/sass/index.html +66 -0
  185. data/lib/assets/javascripts/codemirror/mode/sass/sass.js +327 -0
  186. data/lib/assets/javascripts/codemirror/mode/scheme/index.html +77 -0
  187. data/lib/assets/javascripts/codemirror/mode/scheme/scheme.js +248 -0
  188. data/lib/assets/javascripts/codemirror/mode/shell/index.html +66 -0
  189. data/lib/assets/javascripts/codemirror/mode/shell/shell.js +138 -0
  190. data/lib/assets/javascripts/codemirror/mode/shell/test.js +58 -0
  191. data/lib/assets/javascripts/codemirror/mode/sieve/index.html +93 -0
  192. data/lib/assets/javascripts/codemirror/mode/sieve/sieve.js +193 -0
  193. data/lib/assets/javascripts/codemirror/mode/slim/index.html +96 -0
  194. data/lib/assets/javascripts/codemirror/mode/slim/slim.js +575 -0
  195. data/lib/assets/javascripts/codemirror/mode/slim/test.js +96 -0
  196. data/lib/assets/javascripts/codemirror/mode/smalltalk/index.html +68 -0
  197. data/lib/assets/javascripts/codemirror/mode/smalltalk/smalltalk.js +168 -0
  198. data/lib/assets/javascripts/codemirror/mode/smarty/index.html +136 -0
  199. data/lib/assets/javascripts/codemirror/mode/smarty/smarty.js +221 -0
  200. data/lib/assets/javascripts/codemirror/mode/smartymixed/index.html +114 -0
  201. data/lib/assets/javascripts/codemirror/mode/smartymixed/smartymixed.js +197 -0
  202. data/lib/assets/javascripts/codemirror/mode/solr/index.html +57 -0
  203. data/lib/assets/javascripts/codemirror/mode/solr/solr.js +104 -0
  204. data/lib/assets/javascripts/codemirror/mode/sparql/index.html +53 -0
  205. data/lib/assets/javascripts/codemirror/mode/sparql/sparql.js +160 -0
  206. data/lib/assets/javascripts/codemirror/mode/sql/index.html +84 -0
  207. data/lib/assets/javascripts/codemirror/mode/sql/sql.js +393 -0
  208. data/lib/assets/javascripts/codemirror/mode/stex/index.html +110 -0
  209. data/lib/assets/javascripts/codemirror/mode/stex/stex.js +262 -0
  210. data/lib/assets/javascripts/codemirror/mode/stex/test.js +123 -0
  211. data/lib/assets/javascripts/codemirror/mode/tcl/index.html +142 -0
  212. data/lib/assets/javascripts/codemirror/mode/tcl/tcl.js +147 -0
  213. data/lib/assets/javascripts/codemirror/mode/textile/index.html +191 -0
  214. data/lib/assets/javascripts/codemirror/mode/textile/test.js +406 -0
  215. data/lib/assets/javascripts/codemirror/mode/textile/textile.js +553 -0
  216. data/lib/assets/javascripts/codemirror/mode/tiddlywiki/index.html +154 -0
  217. data/lib/assets/javascripts/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  218. data/lib/assets/javascripts/codemirror/mode/tiddlywiki/tiddlywiki.js +369 -0
  219. data/lib/assets/javascripts/codemirror/mode/tiki/index.html +95 -0
  220. data/lib/assets/javascripts/codemirror/mode/tiki/tiki.css +26 -0
  221. data/lib/assets/javascripts/codemirror/mode/tiki/tiki.js +323 -0
  222. data/lib/assets/javascripts/codemirror/mode/toml/index.html +73 -0
  223. data/lib/assets/javascripts/codemirror/mode/toml/toml.js +88 -0
  224. data/lib/assets/javascripts/codemirror/mode/tornado/index.html +63 -0
  225. data/lib/assets/javascripts/codemirror/mode/tornado/tornado.js +68 -0
  226. data/lib/assets/javascripts/codemirror/mode/turtle/index.html +50 -0
  227. data/lib/assets/javascripts/codemirror/mode/turtle/turtle.js +160 -0
  228. data/lib/assets/javascripts/codemirror/mode/vb/index.html +102 -0
  229. data/lib/assets/javascripts/codemirror/mode/vb/vb.js +274 -0
  230. data/lib/assets/javascripts/codemirror/mode/vbscript/index.html +55 -0
  231. data/lib/assets/javascripts/codemirror/mode/vbscript/vbscript.js +350 -0
  232. data/lib/assets/javascripts/codemirror/mode/velocity/index.html +118 -0
  233. data/lib/assets/javascripts/codemirror/mode/velocity/velocity.js +201 -0
  234. data/lib/assets/javascripts/codemirror/mode/verilog/index.html +120 -0
  235. data/lib/assets/javascripts/codemirror/mode/verilog/test.js +273 -0
  236. data/lib/assets/javascripts/codemirror/mode/verilog/verilog.js +364 -0
  237. data/lib/assets/javascripts/codemirror/mode/xml/index.html +57 -0
  238. data/lib/assets/javascripts/codemirror/mode/xml/test.js +51 -0
  239. data/lib/assets/javascripts/codemirror/mode/xml/xml.js +384 -0
  240. data/lib/assets/javascripts/codemirror/mode/xquery/index.html +210 -0
  241. data/lib/assets/javascripts/codemirror/mode/xquery/test.js +67 -0
  242. data/lib/assets/javascripts/codemirror/mode/xquery/xquery.js +447 -0
  243. data/lib/assets/javascripts/codemirror/mode/yaml/index.html +80 -0
  244. data/lib/assets/javascripts/codemirror/mode/yaml/yaml.js +112 -0
  245. data/lib/assets/javascripts/codemirror/mode/z80/index.html +52 -0
  246. data/lib/assets/javascripts/codemirror/mode/z80/z80.js +100 -0
  247. data/lib/assets/javascripts/colorpicker/bootstrap-colorpicker.min.js +1 -0
  248. data/lib/assets/javascripts/cropper/cropper.min.js +9 -0
  249. data/lib/assets/javascripts/dataTables/dataTables.bootstrap.js +245 -0
  250. data/lib/assets/javascripts/dataTables/dataTables.responsive.js +801 -0
  251. data/lib/assets/javascripts/dataTables/dataTables.tableTools.min.js +69 -0
  252. data/lib/assets/javascripts/dataTables/jquery.dataTables.js +14840 -0
  253. data/lib/assets/javascripts/dataTables/swf/copy_csv_xls.swf +0 -0
  254. data/lib/assets/javascripts/dataTables/swf/copy_csv_xls_pdf.swf +0 -0
  255. data/lib/assets/javascripts/datapicker/bootstrap-datepicker.js +1680 -0
  256. data/lib/assets/javascripts/datapicker/daterangepicker.min.js +868 -0
  257. data/lib/assets/javascripts/datapicker/moment.js +7063 -0
  258. data/lib/assets/javascripts/diff_match_patch/COPYING +177 -0
  259. data/lib/assets/javascripts/diff_match_patch/README.txt +43 -0
  260. data/lib/assets/javascripts/diff_match_patch/javascript/diff_match_patch.js +49 -0
  261. data/lib/assets/javascripts/dropzone/dropzone.js +1841 -0
  262. data/lib/assets/javascripts/flot/curvedLines.js +315 -0
  263. data/lib/assets/javascripts/flot/excanvas.min.js +1 -0
  264. data/lib/assets/javascripts/flot/jquery.flot.js +3168 -0
  265. data/lib/assets/javascripts/flot/jquery.flot.pie.js +820 -0
  266. data/lib/assets/javascripts/flot/jquery.flot.resize.js +59 -0
  267. data/lib/assets/javascripts/flot/jquery.flot.spline.js +212 -0
  268. data/lib/assets/javascripts/flot/jquery.flot.symbol.js +71 -0
  269. data/lib/assets/javascripts/flot/jquery.flot.time.js +432 -0
  270. data/lib/assets/javascripts/flot/jquery.flot.tooltip.min.js +12 -0
  271. data/lib/assets/javascripts/fullcalendar/fullcalendar.min.js +8 -0
  272. data/lib/assets/javascripts/fullcalendar/moment.min.js +7 -0
  273. data/lib/assets/javascripts/iCheck/icheck.min.js +11 -0
  274. data/lib/assets/javascripts/idle-timer/idle-timer.min.js +2 -0
  275. data/lib/assets/javascripts/ionRangeSlider/ion.rangeSlider.min.js +26 -0
  276. data/lib/assets/javascripts/jasny/jasny-bootstrap.min.js +6 -0
  277. data/lib/assets/javascripts/jeditable/jquery.jeditable.js +543 -0
  278. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ar.js +128 -0
  279. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-bg.js +134 -0
  280. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-bg1251.js +132 -0
  281. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cat.js +130 -0
  282. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cn.js +169 -0
  283. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-cs.js +130 -0
  284. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-da.js +130 -0
  285. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-de.js +173 -0
  286. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-dk.js +129 -0
  287. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-el.js +128 -0
  288. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-en.js +170 -0
  289. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-es.js +130 -0
  290. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fa.js +147 -0
  291. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fi.js +131 -0
  292. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-fr.js +128 -0
  293. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-gl.js +128 -0
  294. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-he.js +129 -0
  295. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hr.js +164 -0
  296. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hr1250.js +164 -0
  297. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-hu.js +131 -0
  298. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-id.js +170 -0
  299. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-is.js +128 -0
  300. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-it.js +1 -0
  301. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ja.js +158 -0
  302. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-kr.js +130 -0
  303. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-lt.js +130 -0
  304. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-mne.js +130 -0
  305. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-nl.js +150 -0
  306. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-no.js +1 -0
  307. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pl.js +134 -0
  308. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pt-br.js +137 -0
  309. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-pt.js +127 -0
  310. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ro.js +141 -0
  311. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ru.js +129 -0
  312. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sk.js +129 -0
  313. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sr-latin.js +130 -0
  314. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sr.js +130 -0
  315. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-sv.js +129 -0
  316. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-th.js +130 -0
  317. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-tr.js +128 -0
  318. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-tw.js +131 -0
  319. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-ua.js +129 -0
  320. data/lib/assets/javascripts/jqGrid/i18n/grid.locale-vi.js +170 -0
  321. data/lib/assets/javascripts/jqGrid/jquery.jqGrid.min.js +545 -0
  322. data/lib/assets/javascripts/jquery/jquery-2.1.1.js +4 -0
  323. data/lib/assets/javascripts/jquery-ui/i18n/jquery-ui-i18n.min.js +6 -0
  324. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-af.min.js +4 -0
  325. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ar-DZ.min.js +4 -0
  326. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ar.min.js +4 -0
  327. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-az.min.js +4 -0
  328. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-be.min.js +4 -0
  329. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-bg.min.js +4 -0
  330. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-bs.min.js +4 -0
  331. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ca.min.js +4 -0
  332. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-cs.min.js +4 -0
  333. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-cy-GB.min.js +4 -0
  334. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-da.min.js +4 -0
  335. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-de.min.js +4 -0
  336. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-el.min.js +4 -0
  337. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-AU.min.js +4 -0
  338. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-GB.min.js +4 -0
  339. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-en-NZ.min.js +4 -0
  340. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-eo.min.js +4 -0
  341. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-es.min.js +4 -0
  342. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-et.min.js +4 -0
  343. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-eu.min.js +4 -0
  344. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fa.min.js +4 -0
  345. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fi.min.js +4 -0
  346. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fo.min.js +4 -0
  347. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr-CA.min.js +4 -0
  348. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr-CH.min.js +4 -0
  349. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-fr.min.js +4 -0
  350. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-gl.min.js +4 -0
  351. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-he.min.js +4 -0
  352. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hi.min.js +4 -0
  353. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hr.min.js +4 -0
  354. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hu.min.js +4 -0
  355. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-hy.min.js +4 -0
  356. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-id.min.js +4 -0
  357. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-is.min.js +4 -0
  358. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-it.min.js +4 -0
  359. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ja.min.js +4 -0
  360. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ka.min.js +4 -0
  361. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-kk.min.js +4 -0
  362. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-km.min.js +4 -0
  363. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ko.min.js +4 -0
  364. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ky.min.js +4 -0
  365. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lb.min.js +4 -0
  366. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lt.min.js +4 -0
  367. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-lv.min.js +4 -0
  368. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-mk.min.js +4 -0
  369. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ml.min.js +4 -0
  370. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ms.min.js +4 -0
  371. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nb.min.js +4 -0
  372. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nl-BE.min.js +4 -0
  373. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nl.min.js +4 -0
  374. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-nn.min.js +4 -0
  375. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-no.min.js +4 -0
  376. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pl.min.js +4 -0
  377. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pt-BR.min.js +4 -0
  378. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-pt.min.js +4 -0
  379. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-rm.min.js +4 -0
  380. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ro.min.js +4 -0
  381. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ru.min.js +4 -0
  382. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sk.min.js +4 -0
  383. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sl.min.js +4 -0
  384. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sq.min.js +4 -0
  385. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sr-SR.min.js +4 -0
  386. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sr.min.js +4 -0
  387. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-sv.min.js +4 -0
  388. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-ta.min.js +4 -0
  389. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-th.min.js +4 -0
  390. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-tj.min.js +4 -0
  391. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-tr.min.js +4 -0
  392. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-uk.min.js +4 -0
  393. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-vi.min.js +4 -0
  394. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-CN.min.js +4 -0
  395. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-HK.min.js +4 -0
  396. data/lib/assets/javascripts/jquery-ui/i18n/jquery.ui.datepicker-zh-TW.min.js +4 -0
  397. data/lib/assets/javascripts/jquery-ui/images/animated-overlay.gif +0 -0
  398. data/lib/assets/javascripts/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  399. data/lib/assets/javascripts/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  400. data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  401. data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  402. data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  403. data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  404. data/lib/assets/javascripts/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  405. data/lib/assets/javascripts/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  406. data/lib/assets/javascripts/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
  407. data/lib/assets/javascripts/jquery-ui/images/ui-icons_2e83ff_256x240.png +0 -0
  408. data/lib/assets/javascripts/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
  409. data/lib/assets/javascripts/jquery-ui/images/ui-icons_888888_256x240.png +0 -0
  410. data/lib/assets/javascripts/jquery-ui/images/ui-icons_cd0a0a_256x240.png +0 -0
  411. data/lib/assets/javascripts/jquery-ui/jquery-ui-1.10.4.custom.min.css +7 -0
  412. data/lib/assets/javascripts/jquery-ui/jquery-ui-1.10.4.min.js +7 -0
  413. data/lib/assets/javascripts/jquery-ui/jquery-ui.css +1189 -0
  414. data/lib/assets/javascripts/jquery-ui/jquery-ui.js +15040 -0
  415. data/lib/assets/javascripts/jquery-ui/jquery-ui.min.css +4 -0
  416. data/lib/assets/javascripts/jquery-ui/jquery-ui.min.js +12 -0
  417. data/lib/assets/javascripts/jquery.mask/inputmask.js +7 -0
  418. data/lib/assets/javascripts/jquery.mask/jquery.mask.js +489 -0
  419. data/lib/assets/javascripts/jsKnob/jquery.knob.js +791 -0
  420. data/lib/assets/javascripts/jsTree/jstree.min.js +5 -0
  421. data/lib/assets/javascripts/jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
  422. data/lib/assets/javascripts/jvectormap/jquery-jvectormap-world-mill-en.js +1 -0
  423. data/lib/assets/javascripts/metisMenu/jquery.metisMenu.js +120 -0
  424. data/lib/assets/javascripts/morris/morris.js +1892 -0
  425. data/lib/assets/javascripts/morris/raphael-2.1.0.min.js +10 -0
  426. data/lib/assets/javascripts/nestable/jquery.nestable.js +484 -0
  427. data/lib/assets/javascripts/nouslider/jquery.nouislider.min.js +34 -0
  428. data/lib/assets/javascripts/pace/pace.min.js +2 -0
  429. data/lib/assets/javascripts/peity/jquery.peity.min.js +13 -0
  430. data/lib/assets/javascripts/preetyTextDiff/jquery.pretty-text-diff.min.js +76 -0
  431. data/lib/assets/javascripts/rickshaw/rickshaw.min.js +3 -0
  432. data/lib/assets/javascripts/rickshaw/vendor/d3.v3.js +5 -0
  433. data/lib/assets/javascripts/slimscroll/jquery.slimscroll.min.js +16 -0
  434. data/lib/assets/javascripts/sparkline/jquery.sparkline.min.js +5 -0
  435. data/lib/assets/javascripts/staps/jquery.steps.min.js +6 -0
  436. data/lib/assets/javascripts/summernote/summernote.min.js +2 -0
  437. data/lib/assets/javascripts/switchery/switchery.js +1 -0
  438. data/lib/assets/javascripts/timepicker/bootstrap-timepicker.js +1097 -0
  439. data/lib/assets/javascripts/tinycon/tinycon.min.js +8 -0
  440. data/lib/assets/javascripts/validate/jquery.validate.min.js +4 -0
  441. data/lib/assets/javascripts/video/responsible-video.js +21 -0
  442. data/lib/assets/stylesheets/animate/animate.css +2848 -0
  443. data/lib/assets/stylesheets/blueimp/css/blueimp-gallery-indicator.css +71 -0
  444. data/lib/assets/stylesheets/blueimp/css/blueimp-gallery-video.css +87 -0
  445. data/lib/assets/stylesheets/blueimp/css/blueimp-gallery.css +226 -0
  446. data/lib/assets/stylesheets/blueimp/css/blueimp-gallery.min.css +1 -0
  447. data/lib/assets/stylesheets/blueimp/css/demo.css +51 -0
  448. data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.css +1468 -0
  449. data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.css.map +1 -0
  450. data/lib/assets/stylesheets/bootstrap-rtl/bootstrap-rtl.min.css +9 -0
  451. data/lib/assets/stylesheets/chosen/chosen-sprite.png +0 -0
  452. data/lib/assets/stylesheets/chosen/chosen-sprite@2x.png +0 -0
  453. data/lib/assets/stylesheets/chosen/chosen.css +429 -0
  454. data/lib/assets/stylesheets/codemirror/ambiance.css +77 -0
  455. data/lib/assets/stylesheets/codemirror/codemirror.css +309 -0
  456. data/lib/assets/stylesheets/colorpicker/css/bootstrap-colorpicker.css.scss +217 -0
  457. data/lib/assets/stylesheets/colorpicker/css/bootstrap-colorpicker.min.css +9 -0
  458. data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  459. data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/alpha.png +0 -0
  460. data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
  461. data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/hue.png +0 -0
  462. data/lib/assets/stylesheets/colorpicker/css/images/bootstrap-colorpicker/saturation.png +0 -0
  463. data/lib/assets/stylesheets/cropper/cropper.min.css +9 -0
  464. data/lib/assets/stylesheets/dataTables/dataTables.bootstrap.css +233 -0
  465. data/lib/assets/stylesheets/dataTables/dataTables.responsive.css +93 -0
  466. data/lib/assets/stylesheets/dataTables/dataTables.tableTools.min.css +1 -0
  467. data/lib/assets/stylesheets/datapicker/datepicker.css +442 -0
  468. data/lib/assets/stylesheets/datapicker/datepicker3.css +789 -0
  469. data/lib/assets/stylesheets/datapicker/daterangepicker.css +195 -0
  470. data/lib/assets/stylesheets/dropzone/basic.css +155 -0
  471. data/lib/assets/stylesheets/dropzone/dropzone.css +410 -0
  472. data/lib/assets/stylesheets/dropzone/images/spritemap.png +0 -0
  473. data/lib/assets/stylesheets/dropzone/images/spritemap@2x.png +0 -0
  474. data/lib/assets/stylesheets/fullcalendar/fullcalendar.css +977 -0
  475. data/lib/assets/stylesheets/fullcalendar/fullcalendar.print.css +202 -0
  476. data/lib/assets/stylesheets/iCheck/custom.css.scss +59 -0
  477. data/lib/assets/stylesheets/images/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  478. data/lib/assets/stylesheets/images/bootstrap-colorpicker/alpha.png +0 -0
  479. data/lib/assets/stylesheets/images/bootstrap-colorpicker/hue-horizontal.png +0 -0
  480. data/lib/assets/stylesheets/images/bootstrap-colorpicker/hue.png +0 -0
  481. data/lib/assets/stylesheets/images/bootstrap-colorpicker/saturation.png +0 -0
  482. data/lib/assets/stylesheets/images/sort.png +0 -0
  483. data/lib/assets/stylesheets/images/sort_asc.png +0 -0
  484. data/lib/assets/stylesheets/images/sort_desc.png +0 -0
  485. data/lib/assets/stylesheets/images/sprite-skin-flat.png +0 -0
  486. data/lib/assets/stylesheets/images/sprite-skin-flat2.png +0 -0
  487. data/lib/assets/stylesheets/images/sprite-skin-nice.png +0 -0
  488. data/lib/assets/stylesheets/images/sprite-skin-simple.png +0 -0
  489. data/lib/assets/stylesheets/images/spritemap.png +0 -0
  490. data/lib/assets/stylesheets/images/spritemap@2x.png +0 -0
  491. data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-flat.png +0 -0
  492. data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-flat2.png +0 -0
  493. data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-nice.png +0 -0
  494. data/lib/assets/stylesheets/ionRangeSlider/images/sprite-skin-simple.png +0 -0
  495. data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.css +126 -0
  496. data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinFlat.css +89 -0
  497. data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinNice.css +85 -0
  498. data/lib/assets/stylesheets/ionRangeSlider/ion.rangeSlider.skinSimple.css +85 -0
  499. data/lib/assets/stylesheets/jQueryUI/images/animated-overlay.gif +0 -0
  500. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  501. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  502. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  503. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  504. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  505. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  506. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  507. data/lib/assets/stylesheets/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  508. data/lib/assets/stylesheets/jQueryUI/images/ui-icons_222222_256x240.png +0 -0
  509. data/lib/assets/stylesheets/jQueryUI/images/ui-icons_2e83ff_256x240.png +0 -0
  510. data/lib/assets/stylesheets/jQueryUI/images/ui-icons_454545_256x240.png +0 -0
  511. data/lib/assets/stylesheets/jQueryUI/images/ui-icons_888888_256x240.png +0 -0
  512. data/lib/assets/stylesheets/jQueryUI/images/ui-icons_cd0a0a_256x240.png +0 -0
  513. data/lib/assets/stylesheets/jQueryUI/jquery-ui-1.10.4.custom.min.css +675 -0
  514. data/lib/assets/stylesheets/jasny/jasny-bootstrap.min.css +7 -0
  515. data/lib/assets/stylesheets/jqGrid/ui.jqgrid.css +171 -0
  516. data/lib/assets/stylesheets/jsTree/32px.png +0 -0
  517. data/lib/assets/stylesheets/jsTree/39px.png +0 -0
  518. data/lib/assets/stylesheets/jsTree/40px.png +0 -0
  519. data/lib/assets/stylesheets/jsTree/style.css +1050 -0
  520. data/lib/assets/stylesheets/jsTree/style.min.css +1 -0
  521. data/lib/assets/stylesheets/jsTree/throbber.gif +0 -0
  522. data/lib/assets/stylesheets/jvectormap/jquery-jvectormap-2.0.1.css +129 -0
  523. data/lib/assets/stylesheets/morris/morris-0.4.3.min.css +2 -0
  524. data/lib/assets/stylesheets/nouslider/jquery.nouislider.css +165 -0
  525. data/lib/assets/stylesheets/steps/jquery.steps.css +380 -0
  526. data/lib/assets/stylesheets/summernote/summernote-bs3.css +5970 -0
  527. data/lib/assets/stylesheets/summernote/summernote.css +446 -0
  528. data/lib/assets/stylesheets/switchery/switchery.css +32 -0
  529. data/lib/assets/stylesheets/timepicker/bootstrap-timepicker.css +126 -0
  530. data/lib/assets/stylesheets/toastr/toastr.min.css +222 -0
  531. data/lib/generators/assets/autocomplete/USAGE +8 -0
  532. data/lib/generators/assets/autocomplete/autocomplete_generator.rb +27 -0
  533. data/lib/generators/assets/precompile_local/USAGE +8 -0
  534. data/lib/generators/assets/precompile_local/precompile_local_generator.rb +43 -0
  535. data/lib/generators/deploy/homologacao/USAGE +8 -0
  536. data/lib/generators/deploy/homologacao/homologacao_generator.rb +38 -0
  537. data/lib/generators/deploy/homologacao/templates/deploy.rb +14 -0
  538. data/lib/generators/deploy/homologacao/templates/stage.rb +83 -0
  539. data/lib/generators/deploy/homologacao/templates/staging.rb +58 -0
  540. data/lib/generators/deploy/homologacao/templates/unicorn.rb +39 -0
  541. data/lib/generators/deploy/producao/USAGE +8 -0
  542. data/lib/generators/deploy/producao/producao_generator.rb +38 -0
  543. data/lib/generators/deploy/producao/templates/deploy.rb +14 -0
  544. data/lib/generators/deploy/producao/templates/env_production.rb +83 -0
  545. data/lib/generators/deploy/producao/templates/production.rb +45 -0
  546. data/lib/generators/deploy/producao/templates/unicorn.rb +39 -0
  547. data/lib/generators/raro_crud/branco/USAGE +10 -0
  548. data/lib/generators/raro_crud/branco/branco_generator.rb +16 -0
  549. data/lib/generators/raro_crud/branco/templates/action.rb +7 -0
  550. data/lib/generators/raro_crud/branco/templates/action_partial.rb +1 -0
  551. data/lib/generators/raro_crud/branco/templates/template.rb +22 -0
  552. data/lib/raro_generator/version.rb +3 -0
  553. data/lib/raro_generator.rb +2 -0
  554. data/lib/tasks/raro_generator_tasks.rake +4 -0
  555. metadata +611 -0
@@ -0,0 +1,120 @@
1
+ // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
+ // Distributed under an MIT license: http://codemirror.net/LICENSE
3
+
4
+ (function(mod) {
5
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
6
+ mod(require("../../lib/codemirror"));
7
+ else if (typeof define == "function" && define.amd) // AMD
8
+ define(["../../lib/codemirror"], mod);
9
+ else // Plain browser env
10
+ mod(CodeMirror);
11
+ })(function(CodeMirror) {
12
+ "use strict";
13
+
14
+ CodeMirror.defineMode("commonlisp", function (config) {
15
+ var assumeBody = /^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/;
16
+ var numLiteral = /^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/;
17
+ var symbol = /[^\s'`,@()\[\]";]/;
18
+ var type;
19
+
20
+ function readSym(stream) {
21
+ var ch;
22
+ while (ch = stream.next()) {
23
+ if (ch == "\\") stream.next();
24
+ else if (!symbol.test(ch)) { stream.backUp(1); break; }
25
+ }
26
+ return stream.current();
27
+ }
28
+
29
+ function base(stream, state) {
30
+ if (stream.eatSpace()) {type = "ws"; return null;}
31
+ if (stream.match(numLiteral)) return "number";
32
+ var ch = stream.next();
33
+ if (ch == "\\") ch = stream.next();
34
+
35
+ if (ch == '"') return (state.tokenize = inString)(stream, state);
36
+ else if (ch == "(") { type = "open"; return "bracket"; }
37
+ else if (ch == ")" || ch == "]") { type = "close"; return "bracket"; }
38
+ else if (ch == ";") { stream.skipToEnd(); type = "ws"; return "comment"; }
39
+ else if (/['`,@]/.test(ch)) return null;
40
+ else if (ch == "|") {
41
+ if (stream.skipTo("|")) { stream.next(); return "symbol"; }
42
+ else { stream.skipToEnd(); return "error"; }
43
+ } else if (ch == "#") {
44
+ var ch = stream.next();
45
+ if (ch == "[") { type = "open"; return "bracket"; }
46
+ else if (/[+\-=\.']/.test(ch)) return null;
47
+ else if (/\d/.test(ch) && stream.match(/^\d*#/)) return null;
48
+ else if (ch == "|") return (state.tokenize = inComment)(stream, state);
49
+ else if (ch == ":") { readSym(stream); return "meta"; }
50
+ else return "error";
51
+ } else {
52
+ var name = readSym(stream);
53
+ if (name == ".") return null;
54
+ type = "symbol";
55
+ if (name == "nil" || name == "t") return "atom";
56
+ if (name.charAt(0) == ":") return "keyword";
57
+ if (name.charAt(0) == "&") return "variable-2";
58
+ return "variable";
59
+ }
60
+ }
61
+
62
+ function inString(stream, state) {
63
+ var escaped = false, next;
64
+ while (next = stream.next()) {
65
+ if (next == '"' && !escaped) { state.tokenize = base; break; }
66
+ escaped = !escaped && next == "\\";
67
+ }
68
+ return "string";
69
+ }
70
+
71
+ function inComment(stream, state) {
72
+ var next, last;
73
+ while (next = stream.next()) {
74
+ if (next == "#" && last == "|") { state.tokenize = base; break; }
75
+ last = next;
76
+ }
77
+ type = "ws";
78
+ return "comment";
79
+ }
80
+
81
+ return {
82
+ startState: function () {
83
+ return {ctx: {prev: null, start: 0, indentTo: 0}, tokenize: base};
84
+ },
85
+
86
+ token: function (stream, state) {
87
+ if (stream.sol() && typeof state.ctx.indentTo != "number")
88
+ state.ctx.indentTo = state.ctx.start + 1;
89
+
90
+ type = null;
91
+ var style = state.tokenize(stream, state);
92
+ if (type != "ws") {
93
+ if (state.ctx.indentTo == null) {
94
+ if (type == "symbol" && assumeBody.test(stream.current()))
95
+ state.ctx.indentTo = state.ctx.start + config.indentUnit;
96
+ else
97
+ state.ctx.indentTo = "next";
98
+ } else if (state.ctx.indentTo == "next") {
99
+ state.ctx.indentTo = stream.column();
100
+ }
101
+ }
102
+ if (type == "open") state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};
103
+ else if (type == "close") state.ctx = state.ctx.prev || state.ctx;
104
+ return style;
105
+ },
106
+
107
+ indent: function (state, _textAfter) {
108
+ var i = state.ctx.indentTo;
109
+ return typeof i == "number" ? i : state.ctx.start + 1;
110
+ },
111
+
112
+ lineComment: ";;",
113
+ blockCommentStart: "#|",
114
+ blockCommentEnd: "|#"
115
+ };
116
+ });
117
+
118
+ CodeMirror.defineMIME("text/x-common-lisp", "commonlisp");
119
+
120
+ });
@@ -0,0 +1,177 @@
1
+ <!doctype html>
2
+
3
+ <title>CodeMirror: Common Lisp mode</title>
4
+ <meta charset="utf-8"/>
5
+ <link rel=stylesheet href="../../doc/docs.css">
6
+
7
+ <link rel="stylesheet" href="../../lib/codemirror.css">
8
+ <script src="../../lib/codemirror.js"></script>
9
+ <script src="commonlisp.js"></script>
10
+ <style>.CodeMirror {background: #f8f8f8;}</style>
11
+ <div id=nav>
12
+ <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
13
+
14
+ <ul>
15
+ <li><a href="../../index.html">Home</a>
16
+ <li><a href="../../doc/manual.html">Manual</a>
17
+ <li><a href="https://github.com/codemirror/codemirror">Code</a>
18
+ </ul>
19
+ <ul>
20
+ <li><a href="../index.html">Language modes</a>
21
+ <li><a class=active href="#">Common Lisp</a>
22
+ </ul>
23
+ </div>
24
+
25
+ <article>
26
+ <h2>Common Lisp mode</h2>
27
+ <form><textarea id="code" name="code">(in-package :cl-postgres)
28
+
29
+ ;; These are used to synthesize reader and writer names for integer
30
+ ;; reading/writing functions when the amount of bytes and the
31
+ ;; signedness is known. Both the macro that creates the functions and
32
+ ;; some macros that use them create names this way.
33
+ (eval-when (:compile-toplevel :load-toplevel :execute)
34
+ (defun integer-reader-name (bytes signed)
35
+ (intern (with-standard-io-syntax
36
+ (format nil "~a~a~a~a" '#:read- (if signed "" '#:u) '#:int bytes))))
37
+ (defun integer-writer-name (bytes signed)
38
+ (intern (with-standard-io-syntax
39
+ (format nil "~a~a~a~a" '#:write- (if signed "" '#:u) '#:int bytes)))))
40
+
41
+ (defmacro integer-reader (bytes)
42
+ "Create a function to read integers from a binary stream."
43
+ (let ((bits (* bytes 8)))
44
+ (labels ((return-form (signed)
45
+ (if signed
46
+ `(if (logbitp ,(1- bits) result)
47
+ (dpb result (byte ,(1- bits) 0) -1)
48
+ result)
49
+ `result))
50
+ (generate-reader (signed)
51
+ `(defun ,(integer-reader-name bytes signed) (socket)
52
+ (declare (type stream socket)
53
+ #.*optimize*)
54
+ ,(if (= bytes 1)
55
+ `(let ((result (the (unsigned-byte 8) (read-byte socket))))
56
+ (declare (type (unsigned-byte 8) result))
57
+ ,(return-form signed))
58
+ `(let ((result 0))
59
+ (declare (type (unsigned-byte ,bits) result))
60
+ ,@(loop :for byte :from (1- bytes) :downto 0
61
+ :collect `(setf (ldb (byte 8 ,(* 8 byte)) result)
62
+ (the (unsigned-byte 8) (read-byte socket))))
63
+ ,(return-form signed))))))
64
+ `(progn
65
+ ;; This causes weird errors on SBCL in some circumstances. Disabled for now.
66
+ ;; (declaim (inline ,(integer-reader-name bytes t)
67
+ ;; ,(integer-reader-name bytes nil)))
68
+ (declaim (ftype (function (t) (signed-byte ,bits))
69
+ ,(integer-reader-name bytes t)))
70
+ ,(generate-reader t)
71
+ (declaim (ftype (function (t) (unsigned-byte ,bits))
72
+ ,(integer-reader-name bytes nil)))
73
+ ,(generate-reader nil)))))
74
+
75
+ (defmacro integer-writer (bytes)
76
+ "Create a function to write integers to a binary stream."
77
+ (let ((bits (* 8 bytes)))
78
+ `(progn
79
+ (declaim (inline ,(integer-writer-name bytes t)
80
+ ,(integer-writer-name bytes nil)))
81
+ (defun ,(integer-writer-name bytes nil) (socket value)
82
+ (declare (type stream socket)
83
+ (type (unsigned-byte ,bits) value)
84
+ #.*optimize*)
85
+ ,@(if (= bytes 1)
86
+ `((write-byte value socket))
87
+ (loop :for byte :from (1- bytes) :downto 0
88
+ :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)
89
+ socket)))
90
+ (values))
91
+ (defun ,(integer-writer-name bytes t) (socket value)
92
+ (declare (type stream socket)
93
+ (type (signed-byte ,bits) value)
94
+ #.*optimize*)
95
+ ,@(if (= bytes 1)
96
+ `((write-byte (ldb (byte 8 0) value) socket))
97
+ (loop :for byte :from (1- bytes) :downto 0
98
+ :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)
99
+ socket)))
100
+ (values)))))
101
+
102
+ ;; All the instances of the above that we need.
103
+
104
+ (integer-reader 1)
105
+ (integer-reader 2)
106
+ (integer-reader 4)
107
+ (integer-reader 8)
108
+
109
+ (integer-writer 1)
110
+ (integer-writer 2)
111
+ (integer-writer 4)
112
+
113
+ (defun write-bytes (socket bytes)
114
+ "Write a byte-array to a stream."
115
+ (declare (type stream socket)
116
+ (type (simple-array (unsigned-byte 8)) bytes)
117
+ #.*optimize*)
118
+ (write-sequence bytes socket))
119
+
120
+ (defun write-str (socket string)
121
+ "Write a null-terminated string to a stream \(encoding it when UTF-8
122
+ support is enabled.)."
123
+ (declare (type stream socket)
124
+ (type string string)
125
+ #.*optimize*)
126
+ (enc-write-string string socket)
127
+ (write-uint1 socket 0))
128
+
129
+ (declaim (ftype (function (t unsigned-byte)
130
+ (simple-array (unsigned-byte 8) (*)))
131
+ read-bytes))
132
+ (defun read-bytes (socket length)
133
+ "Read a byte array of the given length from a stream."
134
+ (declare (type stream socket)
135
+ (type fixnum length)
136
+ #.*optimize*)
137
+ (let ((result (make-array length :element-type '(unsigned-byte 8))))
138
+ (read-sequence result socket)
139
+ result))
140
+
141
+ (declaim (ftype (function (t) string) read-str))
142
+ (defun read-str (socket)
143
+ "Read a null-terminated string from a stream. Takes care of encoding
144
+ when UTF-8 support is enabled."
145
+ (declare (type stream socket)
146
+ #.*optimize*)
147
+ (enc-read-string socket :null-terminated t))
148
+
149
+ (defun skip-bytes (socket length)
150
+ "Skip a given number of bytes in a binary stream."
151
+ (declare (type stream socket)
152
+ (type (unsigned-byte 32) length)
153
+ #.*optimize*)
154
+ (dotimes (i length)
155
+ (read-byte socket)))
156
+
157
+ (defun skip-str (socket)
158
+ "Skip a null-terminated string."
159
+ (declare (type stream socket)
160
+ #.*optimize*)
161
+ (loop :for char :of-type fixnum = (read-byte socket)
162
+ :until (zerop char)))
163
+
164
+ (defun ensure-socket-is-closed (socket &amp;key abort)
165
+ (when (open-stream-p socket)
166
+ (handler-case
167
+ (close socket :abort abort)
168
+ (error (error)
169
+ (warn "Ignoring the error which happened while trying to close PostgreSQL socket: ~A" error)))))
170
+ </textarea></form>
171
+ <script>
172
+ var editor = CodeMirror.fromTextArea(document.getElementById("code"), {lineNumbers: true});
173
+ </script>
174
+
175
+ <p><strong>MIME types defined:</strong> <code>text/x-common-lisp</code>.</p>
176
+
177
+ </article>
@@ -0,0 +1,717 @@
1
+ // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
+ // Distributed under an MIT license: http://codemirror.net/LICENSE
3
+
4
+ (function(mod) {
5
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
6
+ mod(require("../../lib/codemirror"));
7
+ else if (typeof define == "function" && define.amd) // AMD
8
+ define(["../../lib/codemirror"], mod);
9
+ else // Plain browser env
10
+ mod(CodeMirror);
11
+ })(function(CodeMirror) {
12
+ "use strict";
13
+
14
+ CodeMirror.defineMode("css", function(config, parserConfig) {
15
+ if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("text/css");
16
+
17
+ var indentUnit = config.indentUnit,
18
+ tokenHooks = parserConfig.tokenHooks,
19
+ mediaTypes = parserConfig.mediaTypes || {},
20
+ mediaFeatures = parserConfig.mediaFeatures || {},
21
+ propertyKeywords = parserConfig.propertyKeywords || {},
22
+ nonStandardPropertyKeywords = parserConfig.nonStandardPropertyKeywords || {},
23
+ colorKeywords = parserConfig.colorKeywords || {},
24
+ valueKeywords = parserConfig.valueKeywords || {},
25
+ fontProperties = parserConfig.fontProperties || {},
26
+ allowNested = parserConfig.allowNested;
27
+
28
+ var type, override;
29
+ function ret(style, tp) { type = tp; return style; }
30
+
31
+ // Tokenizers
32
+
33
+ function tokenBase(stream, state) {
34
+ var ch = stream.next();
35
+ if (tokenHooks[ch]) {
36
+ var result = tokenHooks[ch](stream, state);
37
+ if (result !== false) return result;
38
+ }
39
+ if (ch == "@") {
40
+ stream.eatWhile(/[\w\\\-]/);
41
+ return ret("def", stream.current());
42
+ } else if (ch == "=" || (ch == "~" || ch == "|") && stream.eat("=")) {
43
+ return ret(null, "compare");
44
+ } else if (ch == "\"" || ch == "'") {
45
+ state.tokenize = tokenString(ch);
46
+ return state.tokenize(stream, state);
47
+ } else if (ch == "#") {
48
+ stream.eatWhile(/[\w\\\-]/);
49
+ return ret("atom", "hash");
50
+ } else if (ch == "!") {
51
+ stream.match(/^\s*\w*/);
52
+ return ret("keyword", "important");
53
+ } else if (/\d/.test(ch) || ch == "." && stream.eat(/\d/)) {
54
+ stream.eatWhile(/[\w.%]/);
55
+ return ret("number", "unit");
56
+ } else if (ch === "-") {
57
+ if (/[\d.]/.test(stream.peek())) {
58
+ stream.eatWhile(/[\w.%]/);
59
+ return ret("number", "unit");
60
+ } else if (stream.match(/^\w+-/)) {
61
+ return ret("meta", "meta");
62
+ }
63
+ } else if (/[,+>*\/]/.test(ch)) {
64
+ return ret(null, "select-op");
65
+ } else if (ch == "." && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {
66
+ return ret("qualifier", "qualifier");
67
+ } else if (/[:;{}\[\]\(\)]/.test(ch)) {
68
+ return ret(null, ch);
69
+ } else if (ch == "u" && stream.match("rl(")) {
70
+ stream.backUp(1);
71
+ state.tokenize = tokenParenthesized;
72
+ return ret("property", "word");
73
+ } else if (/[\w\\\-]/.test(ch)) {
74
+ stream.eatWhile(/[\w\\\-]/);
75
+ return ret("property", "word");
76
+ } else {
77
+ return ret(null, null);
78
+ }
79
+ }
80
+
81
+ function tokenString(quote) {
82
+ return function(stream, state) {
83
+ var escaped = false, ch;
84
+ while ((ch = stream.next()) != null) {
85
+ if (ch == quote && !escaped) {
86
+ if (quote == ")") stream.backUp(1);
87
+ break;
88
+ }
89
+ escaped = !escaped && ch == "\\";
90
+ }
91
+ if (ch == quote || !escaped && quote != ")") state.tokenize = null;
92
+ return ret("string", "string");
93
+ };
94
+ }
95
+
96
+ function tokenParenthesized(stream, state) {
97
+ stream.next(); // Must be '('
98
+ if (!stream.match(/\s*[\"\')]/, false))
99
+ state.tokenize = tokenString(")");
100
+ else
101
+ state.tokenize = null;
102
+ return ret(null, "(");
103
+ }
104
+
105
+ // Context management
106
+
107
+ function Context(type, indent, prev) {
108
+ this.type = type;
109
+ this.indent = indent;
110
+ this.prev = prev;
111
+ }
112
+
113
+ function pushContext(state, stream, type) {
114
+ state.context = new Context(type, stream.indentation() + indentUnit, state.context);
115
+ return type;
116
+ }
117
+
118
+ function popContext(state) {
119
+ state.context = state.context.prev;
120
+ return state.context.type;
121
+ }
122
+
123
+ function pass(type, stream, state) {
124
+ return states[state.context.type](type, stream, state);
125
+ }
126
+ function popAndPass(type, stream, state, n) {
127
+ for (var i = n || 1; i > 0; i--)
128
+ state.context = state.context.prev;
129
+ return pass(type, stream, state);
130
+ }
131
+
132
+ // Parser
133
+
134
+ function wordAsValue(stream) {
135
+ var word = stream.current().toLowerCase();
136
+ if (valueKeywords.hasOwnProperty(word))
137
+ override = "atom";
138
+ else if (colorKeywords.hasOwnProperty(word))
139
+ override = "keyword";
140
+ else
141
+ override = "variable";
142
+ }
143
+
144
+ var states = {};
145
+
146
+ states.top = function(type, stream, state) {
147
+ if (type == "{") {
148
+ return pushContext(state, stream, "block");
149
+ } else if (type == "}" && state.context.prev) {
150
+ return popContext(state);
151
+ } else if (type == "@media") {
152
+ return pushContext(state, stream, "media");
153
+ } else if (type == "@font-face") {
154
+ return "font_face_before";
155
+ } else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(type)) {
156
+ return "keyframes";
157
+ } else if (type && type.charAt(0) == "@") {
158
+ return pushContext(state, stream, "at");
159
+ } else if (type == "hash") {
160
+ override = "builtin";
161
+ } else if (type == "word") {
162
+ override = "tag";
163
+ } else if (type == "variable-definition") {
164
+ return "maybeprop";
165
+ } else if (type == "interpolation") {
166
+ return pushContext(state, stream, "interpolation");
167
+ } else if (type == ":") {
168
+ return "pseudo";
169
+ } else if (allowNested && type == "(") {
170
+ return pushContext(state, stream, "parens");
171
+ }
172
+ return state.context.type;
173
+ };
174
+
175
+ states.block = function(type, stream, state) {
176
+ if (type == "word") {
177
+ var word = stream.current().toLowerCase();
178
+ if (propertyKeywords.hasOwnProperty(word)) {
179
+ override = "property";
180
+ return "maybeprop";
181
+ } else if (nonStandardPropertyKeywords.hasOwnProperty(word)) {
182
+ override = "string-2";
183
+ return "maybeprop";
184
+ } else if (allowNested) {
185
+ override = stream.match(/^\s*:/, false) ? "property" : "tag";
186
+ return "block";
187
+ } else {
188
+ override += " error";
189
+ return "maybeprop";
190
+ }
191
+ } else if (type == "meta") {
192
+ return "block";
193
+ } else if (!allowNested && (type == "hash" || type == "qualifier")) {
194
+ override = "error";
195
+ return "block";
196
+ } else {
197
+ return states.top(type, stream, state);
198
+ }
199
+ };
200
+
201
+ states.maybeprop = function(type, stream, state) {
202
+ if (type == ":") return pushContext(state, stream, "prop");
203
+ return pass(type, stream, state);
204
+ };
205
+
206
+ states.prop = function(type, stream, state) {
207
+ if (type == ";") return popContext(state);
208
+ if (type == "{" && allowNested) return pushContext(state, stream, "propBlock");
209
+ if (type == "}" || type == "{") return popAndPass(type, stream, state);
210
+ if (type == "(") return pushContext(state, stream, "parens");
211
+
212
+ if (type == "hash" && !/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {
213
+ override += " error";
214
+ } else if (type == "word") {
215
+ wordAsValue(stream);
216
+ } else if (type == "interpolation") {
217
+ return pushContext(state, stream, "interpolation");
218
+ }
219
+ return "prop";
220
+ };
221
+
222
+ states.propBlock = function(type, _stream, state) {
223
+ if (type == "}") return popContext(state);
224
+ if (type == "word") { override = "property"; return "maybeprop"; }
225
+ return state.context.type;
226
+ };
227
+
228
+ states.parens = function(type, stream, state) {
229
+ if (type == "{" || type == "}") return popAndPass(type, stream, state);
230
+ if (type == ")") return popContext(state);
231
+ if (type == "(") return pushContext(state, stream, "parens");
232
+ if (type == "word") wordAsValue(stream);
233
+ return "parens";
234
+ };
235
+
236
+ states.pseudo = function(type, stream, state) {
237
+ if (type == "word") {
238
+ override = "variable-3";
239
+ return state.context.type;
240
+ }
241
+ return pass(type, stream, state);
242
+ };
243
+
244
+ states.media = function(type, stream, state) {
245
+ if (type == "(") return pushContext(state, stream, "media_parens");
246
+ if (type == "}") return popAndPass(type, stream, state);
247
+ if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top");
248
+
249
+ if (type == "word") {
250
+ var word = stream.current().toLowerCase();
251
+ if (word == "only" || word == "not" || word == "and")
252
+ override = "keyword";
253
+ else if (mediaTypes.hasOwnProperty(word))
254
+ override = "attribute";
255
+ else if (mediaFeatures.hasOwnProperty(word))
256
+ override = "property";
257
+ else
258
+ override = "error";
259
+ }
260
+ return state.context.type;
261
+ };
262
+
263
+ states.media_parens = function(type, stream, state) {
264
+ if (type == ")") return popContext(state);
265
+ if (type == "{" || type == "}") return popAndPass(type, stream, state, 2);
266
+ return states.media(type, stream, state);
267
+ };
268
+
269
+ states.font_face_before = function(type, stream, state) {
270
+ if (type == "{")
271
+ return pushContext(state, stream, "font_face");
272
+ return pass(type, stream, state);
273
+ };
274
+
275
+ states.font_face = function(type, stream, state) {
276
+ if (type == "}") return popContext(state);
277
+ if (type == "word") {
278
+ if (!fontProperties.hasOwnProperty(stream.current().toLowerCase()))
279
+ override = "error";
280
+ else
281
+ override = "property";
282
+ return "maybeprop";
283
+ }
284
+ return "font_face";
285
+ };
286
+
287
+ states.keyframes = function(type, stream, state) {
288
+ if (type == "word") { override = "variable"; return "keyframes"; }
289
+ if (type == "{") return pushContext(state, stream, "top");
290
+ return pass(type, stream, state);
291
+ };
292
+
293
+ states.at = function(type, stream, state) {
294
+ if (type == ";") return popContext(state);
295
+ if (type == "{" || type == "}") return popAndPass(type, stream, state);
296
+ if (type == "word") override = "tag";
297
+ else if (type == "hash") override = "builtin";
298
+ return "at";
299
+ };
300
+
301
+ states.interpolation = function(type, stream, state) {
302
+ if (type == "}") return popContext(state);
303
+ if (type == "{" || type == ";") return popAndPass(type, stream, state);
304
+ if (type != "variable") override = "error";
305
+ return "interpolation";
306
+ };
307
+
308
+ return {
309
+ startState: function(base) {
310
+ return {tokenize: null,
311
+ state: "top",
312
+ context: new Context("top", base || 0, null)};
313
+ },
314
+
315
+ token: function(stream, state) {
316
+ if (!state.tokenize && stream.eatSpace()) return null;
317
+ var style = (state.tokenize || tokenBase)(stream, state);
318
+ if (style && typeof style == "object") {
319
+ type = style[1];
320
+ style = style[0];
321
+ }
322
+ override = style;
323
+ state.state = states[state.state](type, stream, state);
324
+ return override;
325
+ },
326
+
327
+ indent: function(state, textAfter) {
328
+ var cx = state.context, ch = textAfter && textAfter.charAt(0);
329
+ var indent = cx.indent;
330
+ if (cx.type == "prop" && (ch == "}" || ch == ")")) cx = cx.prev;
331
+ if (cx.prev &&
332
+ (ch == "}" && (cx.type == "block" || cx.type == "top" || cx.type == "interpolation" || cx.type == "font_face") ||
333
+ ch == ")" && (cx.type == "parens" || cx.type == "media_parens") ||
334
+ ch == "{" && (cx.type == "at" || cx.type == "media"))) {
335
+ indent = cx.indent - indentUnit;
336
+ cx = cx.prev;
337
+ }
338
+ return indent;
339
+ },
340
+
341
+ electricChars: "}",
342
+ blockCommentStart: "/*",
343
+ blockCommentEnd: "*/",
344
+ fold: "brace"
345
+ };
346
+ });
347
+
348
+ function keySet(array) {
349
+ var keys = {};
350
+ for (var i = 0; i < array.length; ++i) {
351
+ keys[array[i]] = true;
352
+ }
353
+ return keys;
354
+ }
355
+
356
+ var mediaTypes_ = [
357
+ "all", "aural", "braille", "handheld", "print", "projection", "screen",
358
+ "tty", "tv", "embossed"
359
+ ], mediaTypes = keySet(mediaTypes_);
360
+
361
+ var mediaFeatures_ = [
362
+ "width", "min-width", "max-width", "height", "min-height", "max-height",
363
+ "device-width", "min-device-width", "max-device-width", "device-height",
364
+ "min-device-height", "max-device-height", "aspect-ratio",
365
+ "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio",
366
+ "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color",
367
+ "max-color", "color-index", "min-color-index", "max-color-index",
368
+ "monochrome", "min-monochrome", "max-monochrome", "resolution",
369
+ "min-resolution", "max-resolution", "scan", "grid"
370
+ ], mediaFeatures = keySet(mediaFeatures_);
371
+
372
+ var propertyKeywords_ = [
373
+ "align-content", "align-items", "align-self", "alignment-adjust",
374
+ "alignment-baseline", "anchor-point", "animation", "animation-delay",
375
+ "animation-direction", "animation-duration", "animation-fill-mode",
376
+ "animation-iteration-count", "animation-name", "animation-play-state",
377
+ "animation-timing-function", "appearance", "azimuth", "backface-visibility",
378
+ "background", "background-attachment", "background-clip", "background-color",
379
+ "background-image", "background-origin", "background-position",
380
+ "background-repeat", "background-size", "baseline-shift", "binding",
381
+ "bleed", "bookmark-label", "bookmark-level", "bookmark-state",
382
+ "bookmark-target", "border", "border-bottom", "border-bottom-color",
383
+ "border-bottom-left-radius", "border-bottom-right-radius",
384
+ "border-bottom-style", "border-bottom-width", "border-collapse",
385
+ "border-color", "border-image", "border-image-outset",
386
+ "border-image-repeat", "border-image-slice", "border-image-source",
387
+ "border-image-width", "border-left", "border-left-color",
388
+ "border-left-style", "border-left-width", "border-radius", "border-right",
389
+ "border-right-color", "border-right-style", "border-right-width",
390
+ "border-spacing", "border-style", "border-top", "border-top-color",
391
+ "border-top-left-radius", "border-top-right-radius", "border-top-style",
392
+ "border-top-width", "border-width", "bottom", "box-decoration-break",
393
+ "box-shadow", "box-sizing", "break-after", "break-before", "break-inside",
394
+ "caption-side", "clear", "clip", "color", "color-profile", "column-count",
395
+ "column-fill", "column-gap", "column-rule", "column-rule-color",
396
+ "column-rule-style", "column-rule-width", "column-span", "column-width",
397
+ "columns", "content", "counter-increment", "counter-reset", "crop", "cue",
398
+ "cue-after", "cue-before", "cursor", "direction", "display",
399
+ "dominant-baseline", "drop-initial-after-adjust",
400
+ "drop-initial-after-align", "drop-initial-before-adjust",
401
+ "drop-initial-before-align", "drop-initial-size", "drop-initial-value",
402
+ "elevation", "empty-cells", "fit", "fit-position", "flex", "flex-basis",
403
+ "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap",
404
+ "float", "float-offset", "flow-from", "flow-into", "font", "font-feature-settings",
405
+ "font-family", "font-kerning", "font-language-override", "font-size", "font-size-adjust",
406
+ "font-stretch", "font-style", "font-synthesis", "font-variant",
407
+ "font-variant-alternates", "font-variant-caps", "font-variant-east-asian",
408
+ "font-variant-ligatures", "font-variant-numeric", "font-variant-position",
409
+ "font-weight", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow",
410
+ "grid-auto-position", "grid-auto-rows", "grid-column", "grid-column-end",
411
+ "grid-column-start", "grid-row", "grid-row-end", "grid-row-start",
412
+ "grid-template", "grid-template-areas", "grid-template-columns",
413
+ "grid-template-rows", "hanging-punctuation", "height", "hyphens",
414
+ "icon", "image-orientation", "image-rendering", "image-resolution",
415
+ "inline-box-align", "justify-content", "left", "letter-spacing",
416
+ "line-break", "line-height", "line-stacking", "line-stacking-ruby",
417
+ "line-stacking-shift", "line-stacking-strategy", "list-style",
418
+ "list-style-image", "list-style-position", "list-style-type", "margin",
419
+ "margin-bottom", "margin-left", "margin-right", "margin-top",
420
+ "marker-offset", "marks", "marquee-direction", "marquee-loop",
421
+ "marquee-play-count", "marquee-speed", "marquee-style", "max-height",
422
+ "max-width", "min-height", "min-width", "move-to", "nav-down", "nav-index",
423
+ "nav-left", "nav-right", "nav-up", "object-fit", "object-position",
424
+ "opacity", "order", "orphans", "outline",
425
+ "outline-color", "outline-offset", "outline-style", "outline-width",
426
+ "overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y",
427
+ "padding", "padding-bottom", "padding-left", "padding-right", "padding-top",
428
+ "page", "page-break-after", "page-break-before", "page-break-inside",
429
+ "page-policy", "pause", "pause-after", "pause-before", "perspective",
430
+ "perspective-origin", "pitch", "pitch-range", "play-during", "position",
431
+ "presentation-level", "punctuation-trim", "quotes", "region-break-after",
432
+ "region-break-before", "region-break-inside", "region-fragment",
433
+ "rendering-intent", "resize", "rest", "rest-after", "rest-before", "richness",
434
+ "right", "rotation", "rotation-point", "ruby-align", "ruby-overhang",
435
+ "ruby-position", "ruby-span", "shape-image-threshold", "shape-inside", "shape-margin",
436
+ "shape-outside", "size", "speak", "speak-as", "speak-header",
437
+ "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set",
438
+ "tab-size", "table-layout", "target", "target-name", "target-new",
439
+ "target-position", "text-align", "text-align-last", "text-decoration",
440
+ "text-decoration-color", "text-decoration-line", "text-decoration-skip",
441
+ "text-decoration-style", "text-emphasis", "text-emphasis-color",
442
+ "text-emphasis-position", "text-emphasis-style", "text-height",
443
+ "text-indent", "text-justify", "text-outline", "text-overflow", "text-shadow",
444
+ "text-size-adjust", "text-space-collapse", "text-transform", "text-underline-position",
445
+ "text-wrap", "top", "transform", "transform-origin", "transform-style",
446
+ "transition", "transition-delay", "transition-duration",
447
+ "transition-property", "transition-timing-function", "unicode-bidi",
448
+ "vertical-align", "visibility", "voice-balance", "voice-duration",
449
+ "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress",
450
+ "voice-volume", "volume", "white-space", "widows", "width", "word-break",
451
+ "word-spacing", "word-wrap", "z-index",
452
+ // SVG-specific
453
+ "clip-path", "clip-rule", "mask", "enable-background", "filter", "flood-color",
454
+ "flood-opacity", "lighting-color", "stop-color", "stop-opacity", "pointer-events",
455
+ "color-interpolation", "color-interpolation-filters",
456
+ "color-rendering", "fill", "fill-opacity", "fill-rule", "image-rendering",
457
+ "marker", "marker-end", "marker-mid", "marker-start", "shape-rendering", "stroke",
458
+ "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin",
459
+ "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-rendering",
460
+ "baseline-shift", "dominant-baseline", "glyph-orientation-horizontal",
461
+ "glyph-orientation-vertical", "text-anchor", "writing-mode"
462
+ ], propertyKeywords = keySet(propertyKeywords_);
463
+
464
+ var nonStandardPropertyKeywords_ = [
465
+ "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color",
466
+ "scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color",
467
+ "scrollbar-3d-light-color", "scrollbar-track-color", "shape-inside",
468
+ "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button",
469
+ "searchfield-results-decoration", "zoom"
470
+ ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);
471
+
472
+ var colorKeywords_ = [
473
+ "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige",
474
+ "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown",
475
+ "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue",
476
+ "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod",
477
+ "darkgray", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen",
478
+ "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen",
479
+ "darkslateblue", "darkslategray", "darkturquoise", "darkviolet",
480
+ "deeppink", "deepskyblue", "dimgray", "dodgerblue", "firebrick",
481
+ "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite",
482
+ "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew",
483
+ "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender",
484
+ "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral",
485
+ "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightpink",
486
+ "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray",
487
+ "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta",
488
+ "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple",
489
+ "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise",
490
+ "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin",
491
+ "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered",
492
+ "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred",
493
+ "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue",
494
+ "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown",
495
+ "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue",
496
+ "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan",
497
+ "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white",
498
+ "whitesmoke", "yellow", "yellowgreen"
499
+ ], colorKeywords = keySet(colorKeywords_);
500
+
501
+ var valueKeywords_ = [
502
+ "above", "absolute", "activeborder", "activecaption", "afar",
503
+ "after-white-space", "ahead", "alias", "all", "all-scroll", "alternate",
504
+ "always", "amharic", "amharic-abegede", "antialiased", "appworkspace",
505
+ "arabic-indic", "armenian", "asterisks", "auto", "avoid", "avoid-column", "avoid-page",
506
+ "avoid-region", "background", "backwards", "baseline", "below", "bidi-override", "binary",
507
+ "bengali", "blink", "block", "block-axis", "bold", "bolder", "border", "border-box",
508
+ "both", "bottom", "break", "break-all", "break-word", "button", "button-bevel",
509
+ "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "cambodian",
510
+ "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret",
511
+ "cell", "center", "checkbox", "circle", "cjk-earthly-branch",
512
+ "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
513
+ "col-resize", "collapse", "column", "compact", "condensed", "contain", "content",
514
+ "content-box", "context-menu", "continuous", "copy", "cover", "crop",
515
+ "cross", "crosshair", "currentcolor", "cursive", "dashed", "decimal",
516
+ "decimal-leading-zero", "default", "default-button", "destination-atop",
517
+ "destination-in", "destination-out", "destination-over", "devanagari",
518
+ "disc", "discard", "document", "dot-dash", "dot-dot-dash", "dotted",
519
+ "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out",
520
+ "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede",
521
+ "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er",
522
+ "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er",
523
+ "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et",
524
+ "ethiopic-halehame-gez", "ethiopic-halehame-om-et",
525
+ "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et",
526
+ "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et",
527
+ "ethiopic-halehame-tig", "ew-resize", "expanded", "extra-condensed",
528
+ "extra-expanded", "fantasy", "fast", "fill", "fixed", "flat", "footnotes",
529
+ "forwards", "from", "geometricPrecision", "georgian", "graytext", "groove",
530
+ "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hebrew",
531
+ "help", "hidden", "hide", "higher", "highlight", "highlighttext",
532
+ "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "icon", "ignore",
533
+ "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite",
534
+ "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis",
535
+ "inline-block", "inline-table", "inset", "inside", "intrinsic", "invert",
536
+ "italic", "justify", "kannada", "katakana", "katakana-iroha", "keep-all", "khmer",
537
+ "landscape", "lao", "large", "larger", "left", "level", "lighter",
538
+ "line-through", "linear", "lines", "list-item", "listbox", "listitem",
539
+ "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian",
540
+ "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian",
541
+ "lower-roman", "lowercase", "ltr", "malayalam", "match",
542
+ "media-controls-background", "media-current-time-display",
543
+ "media-fullscreen-button", "media-mute-button", "media-play-button",
544
+ "media-return-to-realtime-button", "media-rewind-button",
545
+ "media-seek-back-button", "media-seek-forward-button", "media-slider",
546
+ "media-sliderthumb", "media-time-remaining-display", "media-volume-slider",
547
+ "media-volume-slider-container", "media-volume-sliderthumb", "medium",
548
+ "menu", "menulist", "menulist-button", "menulist-text",
549
+ "menulist-textfield", "menutext", "message-box", "middle", "min-intrinsic",
550
+ "mix", "mongolian", "monospace", "move", "multiple", "myanmar", "n-resize",
551
+ "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop",
552
+ "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap",
553
+ "ns-resize", "nw-resize", "nwse-resize", "oblique", "octal", "open-quote",
554
+ "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset",
555
+ "outside", "outside-shape", "overlay", "overline", "padding", "padding-box",
556
+ "painted", "page", "paused", "persian", "plus-darker", "plus-lighter", "pointer",
557
+ "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button",
558
+ "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle", "region",
559
+ "relative", "repeat", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba",
560
+ "ridge", "right", "round", "row-resize", "rtl", "run-in", "running",
561
+ "s-resize", "sans-serif", "scroll", "scrollbar", "se-resize", "searchfield",
562
+ "searchfield-cancel-button", "searchfield-decoration",
563
+ "searchfield-results-button", "searchfield-results-decoration",
564
+ "semi-condensed", "semi-expanded", "separate", "serif", "show", "sidama",
565
+ "single", "skip-white-space", "slide", "slider-horizontal",
566
+ "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow",
567
+ "small", "small-caps", "small-caption", "smaller", "solid", "somali",
568
+ "source-atop", "source-in", "source-out", "source-over", "space", "square",
569
+ "square-button", "start", "static", "status-bar", "stretch", "stroke",
570
+ "sub", "subpixel-antialiased", "super", "sw-resize", "table",
571
+ "table-caption", "table-cell", "table-column", "table-column-group",
572
+ "table-footer-group", "table-header-group", "table-row", "table-row-group",
573
+ "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai",
574
+ "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight",
575
+ "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er",
576
+ "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top",
577
+ "transparent", "ultra-condensed", "ultra-expanded", "underline", "up",
578
+ "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal",
579
+ "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url",
580
+ "vertical", "vertical-text", "visible", "visibleFill", "visiblePainted",
581
+ "visibleStroke", "visual", "w-resize", "wait", "wave", "wider",
582
+ "window", "windowframe", "windowtext", "x-large", "x-small", "xor",
583
+ "xx-large", "xx-small"
584
+ ], valueKeywords = keySet(valueKeywords_);
585
+
586
+ var fontProperties_ = [
587
+ "font-family", "src", "unicode-range", "font-variant", "font-feature-settings",
588
+ "font-stretch", "font-weight", "font-style"
589
+ ], fontProperties = keySet(fontProperties_);
590
+
591
+ var allWords = mediaTypes_.concat(mediaFeatures_).concat(propertyKeywords_)
592
+ .concat(nonStandardPropertyKeywords_).concat(colorKeywords_).concat(valueKeywords_);
593
+ CodeMirror.registerHelper("hintWords", "css", allWords);
594
+
595
+ function tokenCComment(stream, state) {
596
+ var maybeEnd = false, ch;
597
+ while ((ch = stream.next()) != null) {
598
+ if (maybeEnd && ch == "/") {
599
+ state.tokenize = null;
600
+ break;
601
+ }
602
+ maybeEnd = (ch == "*");
603
+ }
604
+ return ["comment", "comment"];
605
+ }
606
+
607
+ function tokenSGMLComment(stream, state) {
608
+ if (stream.skipTo("-->")) {
609
+ stream.match("-->");
610
+ state.tokenize = null;
611
+ } else {
612
+ stream.skipToEnd();
613
+ }
614
+ return ["comment", "comment"];
615
+ }
616
+
617
+ CodeMirror.defineMIME("text/css", {
618
+ mediaTypes: mediaTypes,
619
+ mediaFeatures: mediaFeatures,
620
+ propertyKeywords: propertyKeywords,
621
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
622
+ colorKeywords: colorKeywords,
623
+ valueKeywords: valueKeywords,
624
+ fontProperties: fontProperties,
625
+ tokenHooks: {
626
+ "<": function(stream, state) {
627
+ if (!stream.match("!--")) return false;
628
+ state.tokenize = tokenSGMLComment;
629
+ return tokenSGMLComment(stream, state);
630
+ },
631
+ "/": function(stream, state) {
632
+ if (!stream.eat("*")) return false;
633
+ state.tokenize = tokenCComment;
634
+ return tokenCComment(stream, state);
635
+ }
636
+ },
637
+ name: "css"
638
+ });
639
+
640
+ CodeMirror.defineMIME("text/x-scss", {
641
+ mediaTypes: mediaTypes,
642
+ mediaFeatures: mediaFeatures,
643
+ propertyKeywords: propertyKeywords,
644
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
645
+ colorKeywords: colorKeywords,
646
+ valueKeywords: valueKeywords,
647
+ fontProperties: fontProperties,
648
+ allowNested: true,
649
+ tokenHooks: {
650
+ "/": function(stream, state) {
651
+ if (stream.eat("/")) {
652
+ stream.skipToEnd();
653
+ return ["comment", "comment"];
654
+ } else if (stream.eat("*")) {
655
+ state.tokenize = tokenCComment;
656
+ return tokenCComment(stream, state);
657
+ } else {
658
+ return ["operator", "operator"];
659
+ }
660
+ },
661
+ ":": function(stream) {
662
+ if (stream.match(/\s*\{/))
663
+ return [null, "{"];
664
+ return false;
665
+ },
666
+ "$": function(stream) {
667
+ stream.match(/^[\w-]+/);
668
+ if (stream.match(/^\s*:/, false))
669
+ return ["variable-2", "variable-definition"];
670
+ return ["variable-2", "variable"];
671
+ },
672
+ "#": function(stream) {
673
+ if (!stream.eat("{")) return false;
674
+ return [null, "interpolation"];
675
+ }
676
+ },
677
+ name: "css",
678
+ helperType: "scss"
679
+ });
680
+
681
+ CodeMirror.defineMIME("text/x-less", {
682
+ mediaTypes: mediaTypes,
683
+ mediaFeatures: mediaFeatures,
684
+ propertyKeywords: propertyKeywords,
685
+ nonStandardPropertyKeywords: nonStandardPropertyKeywords,
686
+ colorKeywords: colorKeywords,
687
+ valueKeywords: valueKeywords,
688
+ fontProperties: fontProperties,
689
+ allowNested: true,
690
+ tokenHooks: {
691
+ "/": function(stream, state) {
692
+ if (stream.eat("/")) {
693
+ stream.skipToEnd();
694
+ return ["comment", "comment"];
695
+ } else if (stream.eat("*")) {
696
+ state.tokenize = tokenCComment;
697
+ return tokenCComment(stream, state);
698
+ } else {
699
+ return ["operator", "operator"];
700
+ }
701
+ },
702
+ "@": function(stream) {
703
+ if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/, false)) return false;
704
+ stream.eatWhile(/[\w\\\-]/);
705
+ if (stream.match(/^\s*:/, false))
706
+ return ["variable-2", "variable-definition"];
707
+ return ["variable-2", "variable"];
708
+ },
709
+ "&": function() {
710
+ return ["atom", "atom"];
711
+ }
712
+ },
713
+ name: "css",
714
+ helperType: "less"
715
+ });
716
+
717
+ });