ruby-wisp-source 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1684) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +28 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +22 -0
  5. data/README.md +12 -0
  6. data/Rakefile +39 -0
  7. data/VERSION +1 -0
  8. data/lib/wisp/source.rb +7 -0
  9. data/ruby-wisp-source.gemspec +13 -0
  10. data/vendor/History.md +159 -0
  11. data/vendor/LICENSE +24 -0
  12. data/vendor/Makefile +64 -0
  13. data/vendor/Readme.md +615 -0
  14. data/vendor/analyzer.js +385 -0
  15. data/vendor/ast.js +214 -0
  16. data/vendor/backend/javascript/writer.js +212 -0
  17. data/vendor/bin/wisp.js +2 -0
  18. data/vendor/compiler.js +1026 -0
  19. data/vendor/design.md +114 -0
  20. data/vendor/embed.js +2 -0
  21. data/vendor/engine/browser.js +59 -0
  22. data/vendor/engine/node.js +13 -0
  23. data/vendor/interactivate/Makefile +38 -0
  24. data/vendor/interactivate/Readme.md +28 -0
  25. data/vendor/interactivate/build/cache.manifest +12 -0
  26. data/vendor/interactivate/build/codemirror-compressed.js +4 -0
  27. data/vendor/interactivate/build/codemirror.css +248 -0
  28. data/vendor/interactivate/build/main.js +5401 -0
  29. data/vendor/interactivate/build/solarized.css +203 -0
  30. data/vendor/interactivate/index.html +429 -0
  31. data/vendor/interactivate/node_modules/codemirror-activine/License.md +18 -0
  32. data/vendor/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
  33. data/vendor/interactivate/node_modules/codemirror-activine/core.js +33 -0
  34. data/vendor/interactivate/node_modules/codemirror-activine/package.json +36 -0
  35. data/vendor/interactivate/node_modules/codemirror-hashare/License.md +18 -0
  36. data/vendor/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
  37. data/vendor/interactivate/node_modules/codemirror-hashare/core.js +31 -0
  38. data/vendor/interactivate/node_modules/codemirror-hashare/package.json +37 -0
  39. data/vendor/interactivate/node_modules/codemirror-persist/License.md +18 -0
  40. data/vendor/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
  41. data/vendor/interactivate/node_modules/codemirror-persist/core.js +25 -0
  42. data/vendor/interactivate/node_modules/codemirror-persist/package.json +34 -0
  43. data/vendor/interactivate/node_modules/interactivate/History.md +47 -0
  44. data/vendor/interactivate/node_modules/interactivate/License.md +18 -0
  45. data/vendor/interactivate/node_modules/interactivate/Readme.md +11 -0
  46. data/vendor/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
  47. data/vendor/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
  48. data/vendor/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
  49. data/vendor/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
  50. data/vendor/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
  51. data/vendor/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
  52. data/vendor/interactivate/node_modules/interactivate/demo/index.html +115 -0
  53. data/vendor/interactivate/node_modules/interactivate/demo/main.js +39 -0
  54. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
  55. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
  56. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
  57. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
  58. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
  59. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
  60. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
  61. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
  62. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
  63. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
  64. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
  65. data/vendor/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
  66. data/vendor/interactivate/node_modules/interactivate/demo/package.json +21 -0
  67. data/vendor/interactivate/node_modules/interactivate/host/window.js +19 -0
  68. data/vendor/interactivate/node_modules/interactivate/interactivate.js +187 -0
  69. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
  70. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
  71. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
  72. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
  73. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
  74. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
  75. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
  76. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
  77. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
  78. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
  79. data/vendor/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
  80. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
  81. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
  82. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
  83. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
  84. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
  85. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
  86. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
  87. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
  88. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
  89. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
  90. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
  91. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
  92. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
  93. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
  94. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
  95. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
  96. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
  97. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
  98. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
  99. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
  100. data/vendor/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
  101. data/vendor/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
  102. data/vendor/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
  103. data/vendor/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
  104. data/vendor/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
  105. data/vendor/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
  106. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
  107. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
  108. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
  109. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
  110. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
  111. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
  112. data/vendor/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
  113. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
  114. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
  115. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
  116. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
  117. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
  118. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
  119. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
  120. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
  121. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
  122. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
  123. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
  124. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
  125. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
  126. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
  127. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
  128. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
  129. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
  130. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
  131. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
  132. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
  133. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
  134. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
  135. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
  136. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
  137. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
  138. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
  139. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
  140. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
  141. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
  142. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
  143. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
  144. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
  145. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
  146. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
  147. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
  148. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
  149. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
  150. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
  151. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
  152. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
  153. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
  154. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
  155. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
  156. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
  157. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
  158. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
  159. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
  160. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
  161. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
  162. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
  163. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
  164. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
  165. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
  166. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
  167. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
  168. data/vendor/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
  169. data/vendor/interactivate/node_modules/interactivate/output.js +60 -0
  170. data/vendor/interactivate/node_modules/interactivate/package.json +30 -0
  171. data/vendor/interactivate/node_modules/interactivate/render.js +23 -0
  172. data/vendor/interactivate/node_modules/interactivate/view.js +79 -0
  173. data/vendor/interactivate/package.json +22 -0
  174. data/vendor/interactivate/src/host.wisp +84 -0
  175. data/vendor/interactivate/src/main.wisp +38 -0
  176. data/vendor/node_modules/browserify/LICENSE +63 -0
  177. data/vendor/node_modules/browserify/_empty.js +0 -0
  178. data/vendor/node_modules/browserify/bin/advanced.txt +36 -0
  179. data/vendor/node_modules/browserify/bin/cmd.js +150 -0
  180. data/vendor/node_modules/browserify/bin/usage.txt +32 -0
  181. data/vendor/node_modules/browserify/example/api/browser/bar.js +1 -0
  182. data/vendor/node_modules/browserify/example/api/browser/foo.js +5 -0
  183. data/vendor/node_modules/browserify/example/api/browser/main.js +2 -0
  184. data/vendor/node_modules/browserify/example/api/build.js +4 -0
  185. data/vendor/node_modules/browserify/example/multiple_bundles/beep.js +2 -0
  186. data/vendor/node_modules/browserify/example/multiple_bundles/boop.js +2 -0
  187. data/vendor/node_modules/browserify/example/multiple_bundles/build.sh +4 -0
  188. data/vendor/node_modules/browserify/example/multiple_bundles/robot.js +1 -0
  189. data/vendor/node_modules/browserify/example/multiple_bundles/static/beep.html +2 -0
  190. data/vendor/node_modules/browserify/example/multiple_bundles/static/beep.js +6 -0
  191. data/vendor/node_modules/browserify/example/multiple_bundles/static/boop.html +2 -0
  192. data/vendor/node_modules/browserify/example/multiple_bundles/static/boop.js +6 -0
  193. data/vendor/node_modules/browserify/example/multiple_bundles/static/common.js +3 -0
  194. data/vendor/node_modules/browserify/example/source_maps/build.js +10 -0
  195. data/vendor/node_modules/browserify/example/source_maps/build.sh +4 -0
  196. data/vendor/node_modules/browserify/example/source_maps/index.html +11 -0
  197. data/vendor/node_modules/browserify/example/source_maps/js/foo.js +7 -0
  198. data/vendor/node_modules/browserify/example/source_maps/js/main.js +4 -0
  199. data/vendor/node_modules/browserify/example/source_maps/js/wunder/bar.js +8 -0
  200. data/vendor/node_modules/browserify/index.js +352 -0
  201. data/vendor/node_modules/browserify/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
  202. data/vendor/node_modules/browserify/node_modules/JSONStream/LICENSE.MIT +24 -0
  203. data/vendor/node_modules/browserify/node_modules/JSONStream/examples/all_docs.js +13 -0
  204. data/vendor/node_modules/browserify/node_modules/JSONStream/index.js +191 -0
  205. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/LICENSE +24 -0
  206. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/README.markdown +11 -0
  207. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/bench.js +26 -0
  208. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  209. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +401 -0
  210. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/package.json +40 -0
  211. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic.json +167 -0
  212. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic2.json +180 -0
  213. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/boundary.js +110 -0
  214. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js +54 -0
  215. data/vendor/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js +38 -0
  216. data/vendor/node_modules/browserify/node_modules/JSONStream/package.json +43 -0
  217. data/vendor/node_modules/browserify/node_modules/JSONStream/readme.markdown +145 -0
  218. data/vendor/node_modules/browserify/node_modules/JSONStream/test/bool.js +41 -0
  219. data/vendor/node_modules/browserify/node_modules/JSONStream/test/destroy_missing.js +22 -0
  220. data/vendor/node_modules/browserify/node_modules/JSONStream/test/empty.js +44 -0
  221. data/vendor/node_modules/browserify/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
  222. data/vendor/node_modules/browserify/node_modules/JSONStream/test/fn.js +39 -0
  223. data/vendor/node_modules/browserify/node_modules/JSONStream/test/multiple_objects.js +42 -0
  224. data/vendor/node_modules/browserify/node_modules/JSONStream/test/multiple_objects_error.js +35 -0
  225. data/vendor/node_modules/browserify/node_modules/JSONStream/test/parsejson.js +28 -0
  226. data/vendor/node_modules/browserify/node_modules/JSONStream/test/stringify.js +41 -0
  227. data/vendor/node_modules/browserify/node_modules/JSONStream/test/stringify_object.js +47 -0
  228. data/vendor/node_modules/browserify/node_modules/JSONStream/test/test.js +35 -0
  229. data/vendor/node_modules/browserify/node_modules/JSONStream/test/test2.js +29 -0
  230. data/vendor/node_modules/browserify/node_modules/JSONStream/test/two-ways.js +41 -0
  231. data/vendor/node_modules/browserify/node_modules/browser-pack/LICENSE +18 -0
  232. data/vendor/node_modules/browserify/node_modules/browser-pack/cmd.js +4 -0
  233. data/vendor/node_modules/browserify/node_modules/browser-pack/example/input.json +13 -0
  234. data/vendor/node_modules/browserify/node_modules/browser-pack/example/output.js +1 -0
  235. data/vendor/node_modules/browserify/node_modules/browser-pack/example/sourcemap/input.json +15 -0
  236. data/vendor/node_modules/browserify/node_modules/browser-pack/example/sourcemap/output.js +6 -0
  237. data/vendor/node_modules/browserify/node_modules/browser-pack/index.js +79 -0
  238. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/LICENSE +23 -0
  239. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/README.md +111 -0
  240. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files-short.js +26 -0
  241. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/example/two-files.js +47 -0
  242. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/index.js +97 -0
  243. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/LICENSE +23 -0
  244. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/README.md +85 -0
  245. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js +15 -0
  246. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/index.js +89 -0
  247. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/package.json +40 -0
  248. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js +25 -0
  249. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js +129 -0
  250. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/LICENSE +23 -0
  251. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/README.md +88 -0
  252. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/example/foo-bar.js +8 -0
  253. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/index.js +127 -0
  254. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/CHANGELOG.md +58 -0
  255. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/LICENSE +28 -0
  256. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/Makefile.dryice.js +166 -0
  257. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/README.md +347 -0
  258. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/assert-shim.js +56 -0
  259. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/mini-require.js +152 -0
  260. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-source-map.jsm +20 -0
  261. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/prefix-utils.jsm +18 -0
  262. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-browser.js +8 -0
  263. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-source-map.jsm +6 -0
  264. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/suffix-utils.jsm +21 -0
  265. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/test-prefix.js +8 -0
  266. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/build/test-suffix.js +3 -0
  267. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/array-set.js +96 -0
  268. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
  269. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/base64.js +42 -0
  270. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/binary-search.js +81 -0
  271. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
  272. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
  273. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/source-node.js +353 -0
  274. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map/util.js +91 -0
  275. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/lib/source-map.js +8 -0
  276. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
  277. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/README.md +119 -0
  278. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
  279. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/node_modules/amdefine/package.json +40 -0
  280. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/package.json +81 -0
  281. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/run-tests.js +73 -0
  282. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-api.js +26 -0
  283. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-array-set.js +71 -0
  284. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
  285. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-base64.js +35 -0
  286. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
  287. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
  288. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
  289. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
  290. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/test-source-node.js +282 -0
  291. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/node_modules/source-map/test/source-map/util.js +152 -0
  292. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/package.json +49 -0
  293. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/inline-source-map.js +247 -0
  294. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/inline-source-map/test/source-content.js +129 -0
  295. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/LICENSE +23 -0
  296. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/MOZILLA_LICENSE +28 -0
  297. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/README.md +35 -0
  298. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64-vlq.js +108 -0
  299. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/base64.js +35 -0
  300. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/example/one-to-one-mappings.js +5 -0
  301. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/index.js +82 -0
  302. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/package.json +46 -0
  303. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/node_modules/parse-base64vlq-mappings/test/parse-base64vlq-mappings.js +72 -0
  304. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/package.json +52 -0
  305. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/combine-source-map/test/combine-source-map.js +143 -0
  306. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.html +1012 -0
  307. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/README.org +593 -0
  308. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/bin/uglifyjs +334 -0
  309. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/docstyle.css +75 -0
  310. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/consolidator.js +1220 -0
  311. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/parse-js.js +1369 -0
  312. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/process.js +2117 -0
  313. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/lib/squeeze-more.js +78 -0
  314. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/package.json +35 -0
  315. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/beautify.js +28 -0
  316. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testconsolidator.js +1391 -0
  317. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/testparser.js +409 -0
  318. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/1e21.js +1 -0
  319. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array1.js +1 -0
  320. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array2.js +1 -0
  321. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array3.js +1 -0
  322. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/array4.js +1 -0
  323. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/assignment.js +1 -0
  324. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/concatstring.js +1 -0
  325. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/const.js +1 -0
  326. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/div-with-regexp.js +1 -0
  327. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/empty-blocks.js +1 -0
  328. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/forstatement.js +1 -0
  329. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if-not.js +1 -0
  330. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/if.js +1 -0
  331. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js +1 -0
  332. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/ifreturn2.js +1 -0
  333. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/infinite.js +1 -0
  334. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue10.js +1 -0
  335. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue11.js +1 -0
  336. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue13.js +1 -0
  337. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue14.js +1 -0
  338. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue16.js +1 -0
  339. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue17.js +1 -0
  340. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue20.js +1 -0
  341. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue21.js +1 -0
  342. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue25.js +1 -0
  343. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue27.js +1 -0
  344. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue278.js +1 -0
  345. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue28.js +1 -0
  346. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue29.js +1 -0
  347. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue30.js +1 -0
  348. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue34.js +1 -0
  349. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue349.js +1 -0
  350. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue353.js +1 -0
  351. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue372.js +1 -0
  352. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue4.js +1 -0
  353. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue48.js +1 -0
  354. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue50.js +1 -0
  355. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue53.js +1 -0
  356. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue54.1.js +1 -0
  357. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue68.js +1 -0
  358. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue69.js +1 -0
  359. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issue9.js +1 -0
  360. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/issues222_324.js +1 -0
  361. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/mangle.js +1 -0
  362. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/null_string.js +1 -0
  363. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/strict-equals.js +1 -0
  364. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/var.js +1 -0
  365. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/whitespace.js +1 -0
  366. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/expected/with.js +1 -0
  367. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/1e21.js +1 -0
  368. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array1.js +3 -0
  369. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array2.js +4 -0
  370. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array3.js +4 -0
  371. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/array4.js +6 -0
  372. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/assignment.js +20 -0
  373. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/concatstring.js +3 -0
  374. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/const.js +5 -0
  375. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/div-with-regexp.js +1 -0
  376. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js +4 -0
  377. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/forstatement.js +10 -0
  378. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if-not.js +1 -0
  379. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/if.js +6 -0
  380. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn.js +9 -0
  381. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/ifreturn2.js +16 -0
  382. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/infinite.js +1 -0
  383. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue10.js +1 -0
  384. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue11.js +3 -0
  385. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue13.js +1 -0
  386. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue14.js +1 -0
  387. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue16.js +1 -0
  388. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue17.js +4 -0
  389. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue20.js +1 -0
  390. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue21.js +6 -0
  391. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue25.js +7 -0
  392. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue27.js +1 -0
  393. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue278.js +1 -0
  394. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue28.js +3 -0
  395. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue29.js +1 -0
  396. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue30.js +3 -0
  397. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue34.js +3 -0
  398. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue349.js +25 -0
  399. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue353.js +4 -0
  400. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue372.js +32 -0
  401. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue4.js +3 -0
  402. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue48.js +1 -0
  403. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue50.js +9 -0
  404. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue53.js +1 -0
  405. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue54.1.js +3 -0
  406. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue68.js +5 -0
  407. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue69.js +1 -0
  408. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issue9.js +4 -0
  409. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/issues222_324.js +82 -0
  410. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/mangle.js +5 -0
  411. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/null_string.js +1 -0
  412. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/strict-equals.js +3 -0
  413. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/var.js +3 -0
  414. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/whitespace.js +21 -0
  415. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/compress/test/with.js +2 -0
  416. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/test/unit/scripts.js +57 -0
  417. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/hoist.js +33 -0
  418. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/instrument.js +97 -0
  419. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/tmp/test.js +30 -0
  420. data/vendor/node_modules/browserify/node_modules/browser-pack/node_modules/uglify-js/uglify-js.js +18 -0
  421. data/vendor/node_modules/browserify/node_modules/browser-pack/package.json +70 -0
  422. data/vendor/node_modules/browserify/node_modules/browser-pack/prelude.js +42 -0
  423. data/vendor/node_modules/browserify/node_modules/browser-pack/readme.markdown +81 -0
  424. data/vendor/node_modules/browserify/node_modules/browser-pack/test/comment.js +33 -0
  425. data/vendor/node_modules/browserify/node_modules/browser-pack/test/only_execute_entries.js +26 -0
  426. data/vendor/node_modules/browserify/node_modules/browser-pack/test/order.js +38 -0
  427. data/vendor/node_modules/browserify/node_modules/browser-pack/test/pack.js +28 -0
  428. data/vendor/node_modules/browserify/node_modules/browser-pack/test/raw.js +32 -0
  429. data/vendor/node_modules/browserify/node_modules/browser-pack/test/source-maps-existing.js +56 -0
  430. data/vendor/node_modules/browserify/node_modules/browser-pack/test/source-maps.js +113 -0
  431. data/vendor/node_modules/browserify/node_modules/browser-pack/test/this.js +24 -0
  432. data/vendor/node_modules/browserify/node_modules/browser-resolve/README.md +115 -0
  433. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/assert.js +314 -0
  434. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/child_process.js +2 -0
  435. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/dgram.js +0 -0
  436. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/events.js +183 -0
  437. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/fs.js +1 -0
  438. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/https.js +13 -0
  439. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/net.js +1 -0
  440. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/path.js +175 -0
  441. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/process.js +55 -0
  442. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/querystring.js +250 -0
  443. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/stream.js +119 -0
  444. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/string_decoder.js +161 -0
  445. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/sys.js +1 -0
  446. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/timers.js +39 -0
  447. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/tls.js +1 -0
  448. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/tty.js +2 -0
  449. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/url.js +604 -0
  450. data/vendor/node_modules/browserify/node_modules/browser-resolve/builtin/util.js +351 -0
  451. data/vendor/node_modules/browserify/node_modules/browser-resolve/empty.js +0 -0
  452. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/builtin.js +4 -0
  453. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/custom.js +1 -0
  454. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/main.js +1 -0
  455. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom/package.json +7 -0
  456. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/custom.js +5 -0
  457. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/resolve.js +4 -0
  458. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip/main.js +9 -0
  459. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip/package.json +7 -0
  460. data/vendor/node_modules/browserify/node_modules/browser-resolve/example/skip.js +5 -0
  461. data/vendor/node_modules/browserify/node_modules/browser-resolve/index.js +170 -0
  462. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/README.md +11 -0
  463. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/buffer_ieee754.js +84 -0
  464. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/index.js +1317 -0
  465. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/README.md +14 -0
  466. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/lib/b64.js +84 -0
  467. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/package.json +33 -0
  468. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/node_modules/base64-js/test/runner.js +50 -0
  469. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/package.json +49 -0
  470. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/buffer-browserify/test/buffer.js +218 -0
  471. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/LICENCE +19 -0
  472. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/README.md +32 -0
  473. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/index.js +85 -0
  474. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/package.json +80 -0
  475. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/index.js +67 -0
  476. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/static/index.html +12 -0
  477. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/console-browserify/test/static/test-adapter.js +53 -0
  478. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/bundle.js +637 -0
  479. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/index.html +12 -0
  480. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/example/test.js +4 -0
  481. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/index.js +74 -0
  482. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/md5.js +384 -0
  483. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/package.json +37 -0
  484. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/readme.markdown +20 -0
  485. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/rng.js +37 -0
  486. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/sha.js +210 -0
  487. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/crypto-browserify/test/simple.js +35 -0
  488. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/index.html +9 -0
  489. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/main.js +14 -0
  490. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/get/server.js +12 -0
  491. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/index.html +9 -0
  492. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/main.js +18 -0
  493. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/headers/server.js +15 -0
  494. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/data.json +139 -0
  495. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/index.html +9 -0
  496. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/main.js +13 -0
  497. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
  498. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/LICENSE.MIT +24 -0
  499. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/examples/all_docs.js +13 -0
  500. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/index.js +189 -0
  501. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/LICENSE +24 -0
  502. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/README.markdown +11 -0
  503. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/bench.js +26 -0
  504. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/examples/twitterfeed.js +30 -0
  505. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/jsonparse.js +379 -0
  506. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/package.json +36 -0
  507. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic.json +167 -0
  508. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/samplejson/basic2.json +180 -0
  509. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/primitives.js +54 -0
  510. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/node_modules/jsonparse/test/utf8.js +38 -0
  511. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/package.json +40 -0
  512. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/readme.markdown +145 -0
  513. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/bool.js +41 -0
  514. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/destroy_missing.js +22 -0
  515. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/empty.js +44 -0
  516. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
  517. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/fn.js +39 -0
  518. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/memory.js +69 -0
  519. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects.js +42 -0
  520. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/multiple_objects_error.js +35 -0
  521. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/parsejson.js +28 -0
  522. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify.js +41 -0
  523. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/stringify_object.js +47 -0
  524. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test.js +35 -0
  525. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/test2.js +29 -0
  526. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/node_modules/JSONStream/test/two-ways.js +41 -0
  527. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/json-stream/server.js +10 -0
  528. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/index.html +9 -0
  529. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/main.js +16 -0
  530. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/post/server.js +19 -0
  531. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/index.html +9 -0
  532. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/main.js +16 -0
  533. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/example/streaming/server.js +21 -0
  534. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/index.js +60 -0
  535. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/lib/request.js +131 -0
  536. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/lib/response.js +119 -0
  537. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/index.js +48 -0
  538. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/package.json +33 -0
  539. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/readme.md +31 -0
  540. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/node_modules/concat-stream/test.js +34 -0
  541. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/package.json +49 -0
  542. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/http-browserify/readme.markdown +128 -0
  543. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/LICENSE +18 -0
  544. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/example/async.js +5 -0
  545. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/example/sync.js +3 -0
  546. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/index.js +5 -0
  547. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js +131 -0
  548. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/core.js +4 -0
  549. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/core.json +38 -0
  550. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/sync.js +99 -0
  551. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/package.json +39 -0
  552. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/readme.markdown +134 -0
  553. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/core.js +12 -0
  554. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/filter.js +17 -0
  555. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/filter_sync.js +15 -0
  556. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/mock.js +68 -0
  557. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/mock_sync.js +68 -0
  558. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
  559. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  560. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/package.json +3 -0
  561. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  562. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
  563. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
  564. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/cup.coffee +1 -0
  565. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/foo.js +1 -0
  566. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/mug.coffee +0 -0
  567. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/mug.js +0 -0
  568. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  569. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  570. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver.js +144 -0
  571. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/test/resolver_sync.js +157 -0
  572. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/README.markdown +103 -0
  573. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/bundle.js +473 -0
  574. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/entry.js +6 -0
  575. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/index.html +9 -0
  576. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/example/run/server.js +6 -0
  577. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/index.js +85 -0
  578. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/package.json +46 -0
  579. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/testling/run.js +22 -0
  580. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/vm-browserify/testling/test.sh +11 -0
  581. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/index.js +43 -0
  582. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/package.json +40 -0
  583. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/readme.md +1 -0
  584. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/test/zlib.test.js +65 -0
  585. data/vendor/node_modules/browserify/node_modules/browser-resolve/node_modules/zlib-browserify/zlib.js +55 -0
  586. data/vendor/node_modules/browserify/node_modules/browser-resolve/package.json +45 -0
  587. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/core.js +28 -0
  588. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/false.js +24 -0
  589. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/fixtures/foo.js +1 -0
  590. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/local.js +15 -0
  591. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/mocha.opts +1 -0
  592. data/vendor/node_modules/browserify/node_modules/browser-resolve/test/modules.js +99 -0
  593. data/vendor/node_modules/browserify/node_modules/concat-stream/index.js +50 -0
  594. data/vendor/node_modules/browserify/node_modules/concat-stream/package.json +33 -0
  595. data/vendor/node_modules/browserify/node_modules/concat-stream/readme.md +31 -0
  596. data/vendor/node_modules/browserify/node_modules/concat-stream/test.js +34 -0
  597. data/vendor/node_modules/browserify/node_modules/duplexer/LICENCE +19 -0
  598. data/vendor/node_modules/browserify/node_modules/duplexer/Makefile +4 -0
  599. data/vendor/node_modules/browserify/node_modules/duplexer/README.md +36 -0
  600. data/vendor/node_modules/browserify/node_modules/duplexer/index.js +77 -0
  601. data/vendor/node_modules/browserify/node_modules/duplexer/package.json +46 -0
  602. data/vendor/node_modules/browserify/node_modules/duplexer/test.js +27 -0
  603. data/vendor/node_modules/browserify/node_modules/inherits/README.md +51 -0
  604. data/vendor/node_modules/browserify/node_modules/inherits/inherits.js +29 -0
  605. data/vendor/node_modules/browserify/node_modules/inherits/package.json +29 -0
  606. data/vendor/node_modules/browserify/node_modules/insert-module-globals/LICENSE +18 -0
  607. data/vendor/node_modules/browserify/node_modules/insert-module-globals/bench/results.txt +18 -0
  608. data/vendor/node_modules/browserify/node_modules/insert-module-globals/bench/run.sh +2 -0
  609. data/vendor/node_modules/browserify/node_modules/insert-module-globals/bin/cmd.js +13 -0
  610. data/vendor/node_modules/browserify/node_modules/insert-module-globals/buffer.js +3863 -0
  611. data/vendor/node_modules/browserify/node_modules/insert-module-globals/bundle.sh +4 -0
  612. data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/files/foo/index.js +6 -0
  613. data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/files/main.js +6 -0
  614. data/vendor/node_modules/browserify/node_modules/insert-module-globals/example/insert.js +10 -0
  615. data/vendor/node_modules/browserify/node_modules/insert-module-globals/index.js +102 -0
  616. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/README.markdown +45 -0
  617. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/example/base.js +3 -0
  618. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/example/dir.js +3 -0
  619. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/index.js +29 -0
  620. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/package.json +50 -0
  621. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/commondir/test/dirs.js +66 -0
  622. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/LICENSE +18 -0
  623. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/jquery.js +4 -0
  624. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/results.txt +15 -0
  625. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/bench/run.js +7 -0
  626. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/detect.js +6 -0
  627. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/example/src.js +27 -0
  628. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/index.js +166 -0
  629. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/LICENSE +18 -0
  630. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js +8 -0
  631. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/index.js +42 -0
  632. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/ChangeLog +18 -0
  633. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/LICENSE.BSD +19 -0
  634. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/README.md +73 -0
  635. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/bin/esparse.js +117 -0
  636. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/bin/esvalidate.js +177 -0
  637. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/component.json +14 -0
  638. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/doc/index.html +473 -0
  639. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/esprima.js +3895 -0
  640. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/detectnestedternary.js +106 -0
  641. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/findbooleantrap.js +173 -0
  642. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/examples/tokendist.js +33 -0
  643. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/index.html +102 -0
  644. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/package.json +47 -0
  645. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/benchmarks.html +58 -0
  646. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/benchmarks.js +334 -0
  647. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compare.html +69 -0
  648. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compare.js +328 -0
  649. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compat.html +40 -0
  650. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/compat.js +239 -0
  651. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.footer.html +3 -0
  652. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.header.html +37 -0
  653. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/coverage.html +4676 -0
  654. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/index.html +37 -0
  655. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/module.html +36 -0
  656. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/module.js +129 -0
  657. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/reflect.js +422 -0
  658. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/run.js +66 -0
  659. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/runner.js +387 -0
  660. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/node_modules/esprima/test/test.js +19764 -0
  661. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/package.json +57 -0
  662. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/readme.markdown +52 -0
  663. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/test/parent.js +25 -0
  664. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/package.json +68 -0
  665. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/readme.markdown +99 -0
  666. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/argument.js +17 -0
  667. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/assign_implicit.js +13 -0
  668. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/detect.js +17 -0
  669. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/argument.js +6 -0
  670. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/assign_implicit.js +2 -0
  671. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/detect.js +32 -0
  672. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/named_arg.js +6 -0
  673. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/obj.js +1 -0
  674. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/return_hash.js +5 -0
  675. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/files/right_hand.js +2 -0
  676. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/named_arg.js +17 -0
  677. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/obj.js +16 -0
  678. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/package.json +5 -0
  679. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/return_hash.js +13 -0
  680. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/right_hand.js +16 -0
  681. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/test/shebang.js +19 -0
  682. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/2132fedf7e11adbdb654aea08615ffea7b84cbf0.patch +25 -0
  683. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/README.md +15 -0
  684. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js +52 -0
  685. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/index.js +2 -0
  686. data/vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/package.json +33 -0
  687. data/vendor/node_modules/browserify/node_modules/insert-module-globals/package.json +59 -0
  688. data/vendor/node_modules/browserify/node_modules/insert-module-globals/readme.markdown +86 -0
  689. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/always/main.js +6 -0
  690. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/always.js +23 -0
  691. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global/filename.js +2 -0
  692. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global/main.js +2 -0
  693. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/global.js +49 -0
  694. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/buffer.js +1 -0
  695. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/buf.js +4 -0
  696. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/foo/index.js +4 -0
  697. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert/main.js +4 -0
  698. data/vendor/node_modules/browserify/node_modules/insert-module-globals/test/insert.js +35 -0
  699. data/vendor/node_modules/browserify/node_modules/module-deps/LICENSE +18 -0
  700. data/vendor/node_modules/browserify/node_modules/module-deps/cmd.js +8 -0
  701. data/vendor/node_modules/browserify/node_modules/module-deps/example/deps.js +8 -0
  702. data/vendor/node_modules/browserify/node_modules/module-deps/example/files/bar.js +3 -0
  703. data/vendor/node_modules/browserify/node_modules/module-deps/example/files/foo.js +5 -0
  704. data/vendor/node_modules/browserify/node_modules/module-deps/example/files/main.js +2 -0
  705. data/vendor/node_modules/browserify/node_modules/module-deps/example/files/xyz.js +2 -0
  706. data/vendor/node_modules/browserify/node_modules/module-deps/index.js +177 -0
  707. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/LICENSE +18 -0
  708. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/example/strings.js +6 -0
  709. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/example/strings_src.js +3 -0
  710. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/index.js +66 -0
  711. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/LICENSE.BSD +19 -0
  712. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/LICENSE.source-map +27 -0
  713. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/README.md +99 -0
  714. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/bin/escodegen.js +43 -0
  715. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/bin/esgenerate.js +43 -0
  716. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/escodegen.js +2245 -0
  717. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/CHANGELOG.md +58 -0
  718. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/LICENSE +28 -0
  719. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/Makefile.dryice.js +166 -0
  720. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/README.md +347 -0
  721. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/assert-shim.js +56 -0
  722. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/mini-require.js +152 -0
  723. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm +20 -0
  724. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm +18 -0
  725. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-browser.js +8 -0
  726. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm +6 -0
  727. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm +21 -0
  728. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-prefix.js +8 -0
  729. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/build/test-suffix.js +3 -0
  730. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/array-set.js +96 -0
  731. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
  732. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/base64.js +42 -0
  733. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/binary-search.js +81 -0
  734. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
  735. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
  736. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/source-node.js +353 -0
  737. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map/util.js +91 -0
  738. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/lib/source-map.js +8 -0
  739. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
  740. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/README.md +119 -0
  741. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
  742. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/package.json +40 -0
  743. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/package.json +81 -0
  744. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/run-tests.js +73 -0
  745. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-api.js +26 -0
  746. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-array-set.js +71 -0
  747. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
  748. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-base64.js +35 -0
  749. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
  750. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
  751. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
  752. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
  753. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/test-source-node.js +282 -0
  754. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/node_modules/source-map/test/source-map/util.js +152 -0
  755. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/escodegen/package.json +55 -0
  756. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/ChangeLog +18 -0
  757. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/LICENSE.BSD +19 -0
  758. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/README.md +73 -0
  759. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esparse.js +117 -0
  760. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/bin/esvalidate.js +177 -0
  761. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/component.json +14 -0
  762. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/doc/index.html +473 -0
  763. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/esprima.js +3895 -0
  764. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/detectnestedternary.js +106 -0
  765. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/findbooleantrap.js +173 -0
  766. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/examples/tokendist.js +33 -0
  767. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/index.html +102 -0
  768. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/package.json +47 -0
  769. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.html +58 -0
  770. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/benchmarks.js +334 -0
  771. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.html +69 -0
  772. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compare.js +328 -0
  773. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compat.html +40 -0
  774. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/compat.js +239 -0
  775. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.footer.html +3 -0
  776. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.header.html +37 -0
  777. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/coverage.html +4676 -0
  778. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/index.html +37 -0
  779. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.html +36 -0
  780. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/module.js +129 -0
  781. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/reflect.js +422 -0
  782. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/run.js +66 -0
  783. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/runner.js +387 -0
  784. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/node_modules/esprima/test/test.js +19764 -0
  785. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/package.json +43 -0
  786. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/readme.markdown +73 -0
  787. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/both.js +26 -0
  788. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/chained.js +9 -0
  789. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/both.js +4 -0
  790. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/chained.js +5 -0
  791. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/nested.js +22 -0
  792. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/shebang.js +5 -0
  793. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/sparse-array.js +3 -0
  794. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/strings.js +13 -0
  795. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/files/word.js +13 -0
  796. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/nested.js +9 -0
  797. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/return.js +9 -0
  798. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/shebang.js +9 -0
  799. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/sparse-array.js +14 -0
  800. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/strings.js +9 -0
  801. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/detective/test/word.js +12 -0
  802. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/LICENSE +18 -0
  803. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/async.js +5 -0
  804. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/example/sync.js +3 -0
  805. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/index.js +5 -0
  806. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/async.js +131 -0
  807. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.js +4 -0
  808. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/core.json +38 -0
  809. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/lib/sync.js +99 -0
  810. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/package.json +39 -0
  811. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/readme.markdown +134 -0
  812. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/core.js +12 -0
  813. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/filter.js +17 -0
  814. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/filter_sync.js +15 -0
  815. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/mock.js +68 -0
  816. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/mock_sync.js +68 -0
  817. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
  818. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  819. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/package.json +3 -0
  820. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  821. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
  822. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
  823. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/cup.coffee +1 -0
  824. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/foo.js +1 -0
  825. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.coffee +0 -0
  826. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/mug.js +0 -0
  827. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  828. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  829. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver.js +144 -0
  830. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/resolve/test/resolver_sync.js +157 -0
  831. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/LICENSE.APACHE2 +15 -0
  832. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/LICENSE.MIT +24 -0
  833. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/index.js +108 -0
  834. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/package.json +50 -0
  835. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/readme.markdown +63 -0
  836. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/auto-destroy.js +30 -0
  837. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/buffering.js +71 -0
  838. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/end.js +45 -0
  839. data/vendor/node_modules/browserify/node_modules/module-deps/node_modules/through/test/index.js +114 -0
  840. data/vendor/node_modules/browserify/node_modules/module-deps/package.json +55 -0
  841. data/vendor/node_modules/browserify/node_modules/module-deps/readme.markdown +135 -0
  842. data/vendor/node_modules/browserify/node_modules/module-deps/test/bundle.js +21 -0
  843. data/vendor/node_modules/browserify/node_modules/module-deps/test/deps.js +42 -0
  844. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/bar.js +3 -0
  845. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/filterable.js +10 -0
  846. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/foo.js +5 -0
  847. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/main.js +2 -0
  848. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/f.js +1 -0
  849. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/main.js +7 -0
  850. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/index.js +1 -0
  851. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/node_modules/insert-ggg/index.js +7 -0
  852. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/g/package.json +6 -0
  853. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/insert-aaa/index.js +7 -0
  854. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/insert-bbb/index.js +7 -0
  855. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_module/node_modules/m/index.js +3 -0
  856. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/f.js +1 -0
  857. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/main.js +7 -0
  858. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/index.js +1 -0
  859. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/package.json +6 -0
  860. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/g/tr_g.js +6 -0
  861. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/node_modules/m/index.js +3 -0
  862. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/tr_a.js +6 -0
  863. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/tr_sh/tr_b.js +6 -0
  864. data/vendor/node_modules/browserify/node_modules/module-deps/test/files/xyz.js +2 -0
  865. data/vendor/node_modules/browserify/node_modules/module-deps/test/filter.js +37 -0
  866. data/vendor/node_modules/browserify/node_modules/module-deps/test/noparse.js +37 -0
  867. data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_fn.js +29 -0
  868. data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_module.js +21 -0
  869. data/vendor/node_modules/browserify/node_modules/module-deps/test/tr_sh.js +21 -0
  870. data/vendor/node_modules/browserify/node_modules/optimist/LICENSE +21 -0
  871. data/vendor/node_modules/browserify/node_modules/optimist/example/bool.js +10 -0
  872. data/vendor/node_modules/browserify/node_modules/optimist/example/boolean_double.js +7 -0
  873. data/vendor/node_modules/browserify/node_modules/optimist/example/boolean_single.js +7 -0
  874. data/vendor/node_modules/browserify/node_modules/optimist/example/default_hash.js +8 -0
  875. data/vendor/node_modules/browserify/node_modules/optimist/example/default_singles.js +7 -0
  876. data/vendor/node_modules/browserify/node_modules/optimist/example/divide.js +8 -0
  877. data/vendor/node_modules/browserify/node_modules/optimist/example/line_count.js +20 -0
  878. data/vendor/node_modules/browserify/node_modules/optimist/example/line_count_options.js +29 -0
  879. data/vendor/node_modules/browserify/node_modules/optimist/example/line_count_wrap.js +29 -0
  880. data/vendor/node_modules/browserify/node_modules/optimist/example/nonopt.js +4 -0
  881. data/vendor/node_modules/browserify/node_modules/optimist/example/reflect.js +2 -0
  882. data/vendor/node_modules/browserify/node_modules/optimist/example/short.js +3 -0
  883. data/vendor/node_modules/browserify/node_modules/optimist/example/string.js +11 -0
  884. data/vendor/node_modules/browserify/node_modules/optimist/example/usage-options.js +19 -0
  885. data/vendor/node_modules/browserify/node_modules/optimist/example/xup.js +10 -0
  886. data/vendor/node_modules/browserify/node_modules/optimist/index.js +478 -0
  887. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/README.markdown +70 -0
  888. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/example/center.js +10 -0
  889. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/example/meat.js +3 -0
  890. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/index.js +76 -0
  891. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/package.json +44 -0
  892. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/break.js +30 -0
  893. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/idleness.txt +63 -0
  894. data/vendor/node_modules/browserify/node_modules/optimist/node_modules/wordwrap/test/wrap.js +31 -0
  895. data/vendor/node_modules/browserify/node_modules/optimist/package.json +45 -0
  896. data/vendor/node_modules/browserify/node_modules/optimist/readme.markdown +487 -0
  897. data/vendor/node_modules/browserify/node_modules/optimist/test/_/argv.js +2 -0
  898. data/vendor/node_modules/browserify/node_modules/optimist/test/_/bin.js +3 -0
  899. data/vendor/node_modules/browserify/node_modules/optimist/test/_.js +71 -0
  900. data/vendor/node_modules/browserify/node_modules/optimist/test/parse.js +446 -0
  901. data/vendor/node_modules/browserify/node_modules/optimist/test/usage.js +292 -0
  902. data/vendor/node_modules/browserify/node_modules/shell-quote/README.markdown +72 -0
  903. data/vendor/node_modules/browserify/node_modules/shell-quote/example/parse.js +3 -0
  904. data/vendor/node_modules/browserify/node_modules/shell-quote/example/quote.js +3 -0
  905. data/vendor/node_modules/browserify/node_modules/shell-quote/index.js +33 -0
  906. data/vendor/node_modules/browserify/node_modules/shell-quote/package.json +46 -0
  907. data/vendor/node_modules/browserify/node_modules/shell-quote/test/parse.js +14 -0
  908. data/vendor/node_modules/browserify/node_modules/shell-quote/test/quote.js +15 -0
  909. data/vendor/node_modules/browserify/node_modules/syntax-error/LICENSE +18 -0
  910. data/vendor/node_modules/browserify/node_modules/syntax-error/example/check.js +12 -0
  911. data/vendor/node_modules/browserify/node_modules/syntax-error/example/src.js +9 -0
  912. data/vendor/node_modules/browserify/node_modules/syntax-error/index.js +54 -0
  913. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/LICENSE.BSD +19 -0
  914. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/README.md +74 -0
  915. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/codemirror.css +112 -0
  916. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/codemirror.js +2972 -0
  917. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/codemirror/javascript.js +360 -0
  918. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/json2.js +487 -0
  919. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/style.css +164 -0
  920. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview-min.js +12 -0
  921. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview-sprite.gif +0 -0
  922. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/treeview.css +7 -0
  923. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/assets/yui/yahoo-dom-event.js +14 -0
  924. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/bin/esparse.js +42 -0
  925. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/changes +92 -0
  926. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/cm +696 -0
  927. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/checkenv.js +42 -0
  928. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/collector.html +82 -0
  929. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/collector.js +170 -0
  930. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/functiontrace.html +106 -0
  931. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/functiontrace.js +123 -0
  932. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/parse.css +82 -0
  933. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/parse.html +352 -0
  934. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/precedence.html +225 -0
  935. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/rewrite.html +120 -0
  936. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/demo/rewrite.js +71 -0
  937. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/esprima.js +3577 -0
  938. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/index.html +103 -0
  939. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/package.json +42 -0
  940. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/Tokenizer.js +646 -0
  941. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/XMLHttpRequest.js +509 -0
  942. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ZeParser.js +2185 -0
  943. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/backbone-0.5.3.js +1158 -0
  944. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/benchmark.js +3261 -0
  945. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/escodegen.js +906 -0
  946. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/esmorph.js +240 -0
  947. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ext-core-3.0.0.js +6579 -0
  948. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/ext-core-3.1.0.js +10255 -0
  949. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery-1.6.4.js +9046 -0
  950. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery-1.7.1.js +9266 -0
  951. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jquery.mobile-1.0.js +6951 -0
  952. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jsdefs.js +731 -0
  953. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jslex.js +588 -0
  954. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/jsparse.js +1921 -0
  955. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/mootools-1.3.2.js +5952 -0
  956. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/mootools-1.4.1.js +6297 -0
  957. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/parse-js.js +1342 -0
  958. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/platform.js +878 -0
  959. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/prototype-1.6.1.js +4874 -0
  960. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/prototype-1.7.0.0.js +6082 -0
  961. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/3rdparty/underscore-1.2.3.js +981 -0
  962. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/benchmarks.html +58 -0
  963. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/benchmarks.js +328 -0
  964. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compare.html +140 -0
  965. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compare.js +270 -0
  966. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compat.html +40 -0
  967. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/compat.js +239 -0
  968. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.footer.html +3 -0
  969. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.header.html +37 -0
  970. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/coverage.html +3617 -0
  971. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/index.html +36 -0
  972. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/reflect.js +403 -0
  973. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/run.js +66 -0
  974. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/test/test.js +16659 -0
  975. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/tools/generate-unicode-regex.py +164 -0
  976. data/vendor/node_modules/browserify/node_modules/syntax-error/node_modules/esprima/tools/update-coverage.sh +28 -0
  977. data/vendor/node_modules/browserify/node_modules/syntax-error/package.json +53 -0
  978. data/vendor/node_modules/browserify/node_modules/syntax-error/readme.markdown +87 -0
  979. data/vendor/node_modules/browserify/node_modules/syntax-error/test/check.js +17 -0
  980. data/vendor/node_modules/browserify/node_modules/syntax-error/test/sources/check.js +9 -0
  981. data/vendor/node_modules/browserify/node_modules/through/LICENSE.APACHE2 +15 -0
  982. data/vendor/node_modules/browserify/node_modules/through/LICENSE.MIT +24 -0
  983. data/vendor/node_modules/browserify/node_modules/through/index.js +103 -0
  984. data/vendor/node_modules/browserify/node_modules/through/package.json +50 -0
  985. data/vendor/node_modules/browserify/node_modules/through/readme.markdown +43 -0
  986. data/vendor/node_modules/browserify/node_modules/through/test/buffering.js +71 -0
  987. data/vendor/node_modules/browserify/node_modules/through/test/end.js +26 -0
  988. data/vendor/node_modules/browserify/node_modules/through/test/index.js +114 -0
  989. data/vendor/node_modules/browserify/node_modules/umd/README.md +46 -0
  990. data/vendor/node_modules/browserify/node_modules/umd/index.js +63 -0
  991. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/README.md +81 -0
  992. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/index.js +39 -0
  993. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/History.md +10 -0
  994. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Makefile +6 -0
  995. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/Readme.md +44 -0
  996. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/index.js +10 -0
  997. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/callsite/package.json +31 -0
  998. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/LICENSE +18 -0
  999. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/async.js +5 -0
  1000. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/example/sync.js +3 -0
  1001. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/index.js +5 -0
  1002. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/async.js +131 -0
  1003. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.js +4 -0
  1004. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/core.json +38 -0
  1005. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/lib/sync.js +99 -0
  1006. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/package.json +39 -0
  1007. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/readme.markdown +134 -0
  1008. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/core.js +12 -0
  1009. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter.js +17 -0
  1010. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/filter_sync.js +15 -0
  1011. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock.js +68 -0
  1012. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/mock_sync.js +68 -0
  1013. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/bar/node_modules/foo/index.js +1 -0
  1014. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1015. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/package.json +3 -0
  1016. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  1017. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/grux/index.js +1 -0
  1018. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/biz/node_modules/tiv/index.js +1 -0
  1019. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/cup.coffee +1 -0
  1020. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/foo.js +1 -0
  1021. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1022. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/mug.js +0 -0
  1023. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1024. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1025. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver.js +144 -0
  1026. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/node_modules/resolve/test/resolver_sync.js +157 -0
  1027. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/package.json +43 -0
  1028. data/vendor/node_modules/browserify/node_modules/umd/node_modules/rfile/test/index.js +43 -0
  1029. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/README.md +26 -0
  1030. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/index.js +9 -0
  1031. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/package.json +46 -0
  1032. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.js +9597 -0
  1033. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js +3 -0
  1034. data/vendor/node_modules/browserify/node_modules/umd/node_modules/ruglify/test/index.js +8 -0
  1035. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.APACHE2 +15 -0
  1036. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/LICENSE.MIT +24 -0
  1037. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/index.js +108 -0
  1038. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/package.json +50 -0
  1039. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/readme.markdown +63 -0
  1040. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/auto-destroy.js +30 -0
  1041. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/buffering.js +71 -0
  1042. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/end.js +45 -0
  1043. data/vendor/node_modules/browserify/node_modules/umd/node_modules/through/test/index.js +114 -0
  1044. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/README.md +544 -0
  1045. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/bin/uglifyjs +370 -0
  1046. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/ast.js +964 -0
  1047. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/compress.js +1968 -0
  1048. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/mozilla-ast.js +265 -0
  1049. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/output.js +1220 -0
  1050. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/parse.js +1407 -0
  1051. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/scope.js +580 -0
  1052. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/sourcemap.js +81 -0
  1053. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/transform.js +218 -0
  1054. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/lib/utils.js +288 -0
  1055. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/CHANGELOG.md +58 -0
  1056. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/LICENSE +28 -0
  1057. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/Makefile.dryice.js +166 -0
  1058. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/README.md +347 -0
  1059. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/assert-shim.js +56 -0
  1060. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/mini-require.js +152 -0
  1061. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm +20 -0
  1062. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm +18 -0
  1063. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-browser.js +8 -0
  1064. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm +6 -0
  1065. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm +21 -0
  1066. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-prefix.js +8 -0
  1067. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/build/test-suffix.js +3 -0
  1068. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/array-set.js +96 -0
  1069. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64-vlq.js +144 -0
  1070. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/base64.js +42 -0
  1071. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/binary-search.js +81 -0
  1072. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-consumer.js +426 -0
  1073. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-map-generator.js +381 -0
  1074. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/source-node.js +353 -0
  1075. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map/util.js +91 -0
  1076. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/lib/source-map.js +8 -0
  1077. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
  1078. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/README.md +119 -0
  1079. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/amdefine.js +299 -0
  1080. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine/package.json +40 -0
  1081. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/package.json +81 -0
  1082. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/run-tests.js +73 -0
  1083. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-api.js +26 -0
  1084. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-array-set.js +71 -0
  1085. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64-vlq.js +24 -0
  1086. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-base64.js +35 -0
  1087. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-binary-search.js +54 -0
  1088. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-dog-fooding.js +72 -0
  1089. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-consumer.js +291 -0
  1090. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-map-generator.js +391 -0
  1091. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/test-source-node.js +282 -0
  1092. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/node_modules/source-map/test/source-map/util.js +152 -0
  1093. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/package.json +48 -0
  1094. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/arrays.js +12 -0
  1095. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/blocks.js +49 -0
  1096. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/conditionals.js +143 -0
  1097. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/dead-code.js +89 -0
  1098. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/debugger.js +24 -0
  1099. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/drop-unused.js +97 -0
  1100. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-105.js +17 -0
  1101. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-12.js +11 -0
  1102. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-22.js +17 -0
  1103. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-44.js +31 -0
  1104. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-59.js +30 -0
  1105. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/labels.js +163 -0
  1106. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/loops.js +123 -0
  1107. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/properties.js +25 -0
  1108. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/sequences.js +161 -0
  1109. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/switch.js +210 -0
  1110. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/run-tests.js +170 -0
  1111. data/vendor/node_modules/browserify/node_modules/umd/node_modules/uglify-js/tools/node.js +164 -0
  1112. data/vendor/node_modules/browserify/node_modules/umd/package.json +39 -0
  1113. data/vendor/node_modules/browserify/node_modules/umd/template.js +33 -0
  1114. data/vendor/node_modules/browserify/package.json +65 -0
  1115. data/vendor/node_modules/browserify/readme.markdown +426 -0
  1116. data/vendor/node_modules/browserify/test/backbone.js +22 -0
  1117. data/vendor/node_modules/browserify/test/bin.js +31 -0
  1118. data/vendor/node_modules/browserify/test/bin_entry.js +31 -0
  1119. data/vendor/node_modules/browserify/test/buffer.js +118 -0
  1120. data/vendor/node_modules/browserify/test/bundle_sourcemap.js +30 -0
  1121. data/vendor/node_modules/browserify/test/catch/main.js +1 -0
  1122. data/vendor/node_modules/browserify/test/catch.js +22 -0
  1123. data/vendor/node_modules/browserify/test/circular/a.js +3 -0
  1124. data/vendor/node_modules/browserify/test/circular/b.js +1 -0
  1125. data/vendor/node_modules/browserify/test/circular/main.js +1 -0
  1126. data/vendor/node_modules/browserify/test/circular.js +34 -0
  1127. data/vendor/node_modules/browserify/test/coffee_bin/main.coffee +2 -0
  1128. data/vendor/node_modules/browserify/test/coffee_bin/x.coffee +1 -0
  1129. data/vendor/node_modules/browserify/test/coffee_bin.js +36 -0
  1130. data/vendor/node_modules/browserify/test/comment/main.js +2 -0
  1131. data/vendor/node_modules/browserify/test/comment.js +16 -0
  1132. data/vendor/node_modules/browserify/test/crypto.js +37 -0
  1133. data/vendor/node_modules/browserify/test/dnode.js +27 -0
  1134. data/vendor/node_modules/browserify/test/dollar/dollar/index.js +7 -0
  1135. data/vendor/node_modules/browserify/test/dollar.js +18 -0
  1136. data/vendor/node_modules/browserify/test/entry/main.js +1 -0
  1137. data/vendor/node_modules/browserify/test/entry/one.js +1 -0
  1138. data/vendor/node_modules/browserify/test/entry/two.js +1 -0
  1139. data/vendor/node_modules/browserify/test/entry.js +19 -0
  1140. data/vendor/node_modules/browserify/test/entry_exec/fail.js +1 -0
  1141. data/vendor/node_modules/browserify/test/entry_exec/main.js +1 -0
  1142. data/vendor/node_modules/browserify/test/entry_exec.js +15 -0
  1143. data/vendor/node_modules/browserify/test/error_code/src.js +2 -0
  1144. data/vendor/node_modules/browserify/test/error_code.js +22 -0
  1145. data/vendor/node_modules/browserify/test/export/entry.js +1 -0
  1146. data/vendor/node_modules/browserify/test/export.js +35 -0
  1147. data/vendor/node_modules/browserify/test/fake/fake_fs.js +1 -0
  1148. data/vendor/node_modules/browserify/test/fake/main.js +2 -0
  1149. data/vendor/node_modules/browserify/test/fake.js +15 -0
  1150. data/vendor/node_modules/browserify/test/field/miss.js +1 -0
  1151. data/vendor/node_modules/browserify/test/field/node_modules/z-miss/browser.js +1 -0
  1152. data/vendor/node_modules/browserify/test/field/node_modules/z-miss/main.js +1 -0
  1153. data/vendor/node_modules/browserify/test/field/node_modules/z-miss/package.json +4 -0
  1154. data/vendor/node_modules/browserify/test/field/node_modules/z-object/browser.js +1 -0
  1155. data/vendor/node_modules/browserify/test/field/node_modules/z-object/main.js +1 -0
  1156. data/vendor/node_modules/browserify/test/field/node_modules/z-object/package.json +4 -0
  1157. data/vendor/node_modules/browserify/test/field/node_modules/z-string/browser.js +1 -0
  1158. data/vendor/node_modules/browserify/test/field/node_modules/z-string/main.js +1 -0
  1159. data/vendor/node_modules/browserify/test/field/node_modules/z-string/package.json +4 -0
  1160. data/vendor/node_modules/browserify/test/field/node_modules/z-sub/browser/a.js +1 -0
  1161. data/vendor/node_modules/browserify/test/field/node_modules/z-sub/browser/b.js +1 -0
  1162. data/vendor/node_modules/browserify/test/field/node_modules/z-sub/main.js +1 -0
  1163. data/vendor/node_modules/browserify/test/field/node_modules/z-sub/package.json +4 -0
  1164. data/vendor/node_modules/browserify/test/field/object.js +1 -0
  1165. data/vendor/node_modules/browserify/test/field/string.js +1 -0
  1166. data/vendor/node_modules/browserify/test/field/sub.js +1 -0
  1167. data/vendor/node_modules/browserify/test/field.js +64 -0
  1168. data/vendor/node_modules/browserify/test/file_event.js +33 -0
  1169. data/vendor/node_modules/browserify/test/global/buffer.js +2 -0
  1170. data/vendor/node_modules/browserify/test/global/filename.js +2 -0
  1171. data/vendor/node_modules/browserify/test/global/main.js +2 -0
  1172. data/vendor/node_modules/browserify/test/global/tick.js +3 -0
  1173. data/vendor/node_modules/browserify/test/global.js +54 -0
  1174. data/vendor/node_modules/browserify/test/ignore/main.js +1 -0
  1175. data/vendor/node_modules/browserify/test/ignore/skip.js +1 -0
  1176. data/vendor/node_modules/browserify/test/ignore.js +16 -0
  1177. data/vendor/node_modules/browserify/test/json/beep.json +4 -0
  1178. data/vendor/node_modules/browserify/test/json/main.js +1 -0
  1179. data/vendor/node_modules/browserify/test/json.js +18 -0
  1180. data/vendor/node_modules/browserify/test/maxlisteners/main.js +3 -0
  1181. data/vendor/node_modules/browserify/test/maxlisteners.js +13 -0
  1182. data/vendor/node_modules/browserify/test/multi_bundle/a.js +2 -0
  1183. data/vendor/node_modules/browserify/test/multi_bundle/b.js +5 -0
  1184. data/vendor/node_modules/browserify/test/multi_bundle.js +44 -0
  1185. data/vendor/node_modules/browserify/test/multi_entry/a.js +2 -0
  1186. data/vendor/node_modules/browserify/test/multi_entry/b.js +2 -0
  1187. data/vendor/node_modules/browserify/test/multi_entry/c.js +2 -0
  1188. data/vendor/node_modules/browserify/test/multi_entry.js +25 -0
  1189. data/vendor/node_modules/browserify/test/node_modules/beep/index.js +1 -0
  1190. data/vendor/node_modules/browserify/test/process/main.js +3 -0
  1191. data/vendor/node_modules/browserify/test/process/one.js +1 -0
  1192. data/vendor/node_modules/browserify/test/process/two.js +1 -0
  1193. data/vendor/node_modules/browserify/test/process.js +20 -0
  1194. data/vendor/node_modules/browserify/test/require_cache.js +19 -0
  1195. data/vendor/node_modules/browserify/test/retarget.js +23 -0
  1196. data/vendor/node_modules/browserify/test/reverse_multi_bundle/app.js +22 -0
  1197. data/vendor/node_modules/browserify/test/reverse_multi_bundle/lazy.js +4 -0
  1198. data/vendor/node_modules/browserify/test/reverse_multi_bundle/shared.js +4 -0
  1199. data/vendor/node_modules/browserify/test/reverse_multi_bundle.js +43 -0
  1200. data/vendor/node_modules/browserify/test/shebang/foo.js +2 -0
  1201. data/vendor/node_modules/browserify/test/shebang/main.js +4 -0
  1202. data/vendor/node_modules/browserify/test/shebang.js +11 -0
  1203. data/vendor/node_modules/browserify/test/standalone/main.js +3 -0
  1204. data/vendor/node_modules/browserify/test/standalone/one.js +1 -0
  1205. data/vendor/node_modules/browserify/test/standalone/two.js +1 -0
  1206. data/vendor/node_modules/browserify/test/standalone.js +73 -0
  1207. data/vendor/node_modules/browserify/test/subdep/index.js +1 -0
  1208. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/b.js +1 -0
  1209. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/ignore_me.js +1 -0
  1210. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/a/index.js +1 -0
  1211. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/a/package.json +5 -0
  1212. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/c/index.js +1 -0
  1213. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/c/package.json +5 -0
  1214. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/f/index.js +1 -0
  1215. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/node_modules/z/index.js +1 -0
  1216. data/vendor/node_modules/browserify/test/subdep/node_modules/qq/package.json +3 -0
  1217. data/vendor/node_modules/browserify/test/subdep/package.json +6 -0
  1218. data/vendor/node_modules/browserify/test/subdep.js +16 -0
  1219. data/vendor/node_modules/browserify/test/tr/f.js +1 -0
  1220. data/vendor/node_modules/browserify/test/tr/main.js +7 -0
  1221. data/vendor/node_modules/browserify/test/tr/node_modules/g/index.js +1 -0
  1222. data/vendor/node_modules/browserify/test/tr/node_modules/g/node_modules/insert-ggg/index.js +7 -0
  1223. data/vendor/node_modules/browserify/test/tr/node_modules/g/package.json +6 -0
  1224. data/vendor/node_modules/browserify/test/tr/node_modules/insert-aaa/index.js +7 -0
  1225. data/vendor/node_modules/browserify/test/tr/node_modules/insert-bbb/index.js +7 -0
  1226. data/vendor/node_modules/browserify/test/tr/node_modules/m/index.js +3 -0
  1227. data/vendor/node_modules/browserify/test/tr.js +21 -0
  1228. data/vendor/node_modules/browserify/test/util.js +62 -0
  1229. data/vendor/node_modules/wisp/History.md +152 -0
  1230. data/vendor/node_modules/wisp/LICENSE +24 -0
  1231. data/vendor/node_modules/wisp/Makefile +80 -0
  1232. data/vendor/node_modules/wisp/Readme.md +615 -0
  1233. data/vendor/node_modules/wisp/analyzer.js +385 -0
  1234. data/vendor/node_modules/wisp/ast.js +214 -0
  1235. data/vendor/node_modules/wisp/backend/javascript/writer.js +212 -0
  1236. data/vendor/node_modules/wisp/bin/wisp.js +2 -0
  1237. data/vendor/node_modules/wisp/compiler.js +1028 -0
  1238. data/vendor/node_modules/wisp/design.md +114 -0
  1239. data/vendor/node_modules/wisp/engine/browser.js +65 -0
  1240. data/vendor/node_modules/wisp/engine/node.js +20 -0
  1241. data/vendor/node_modules/wisp/index.html +405 -0
  1242. data/vendor/node_modules/wisp/interactivate/Makefile +38 -0
  1243. data/vendor/node_modules/wisp/interactivate/Readme.md +24 -0
  1244. data/vendor/node_modules/wisp/interactivate/build/cache.manifest +12 -0
  1245. data/vendor/node_modules/wisp/interactivate/build/codemirror-compressed.js +4 -0
  1246. data/vendor/node_modules/wisp/interactivate/build/codemirror.css +248 -0
  1247. data/vendor/node_modules/wisp/interactivate/build/main.js +5430 -0
  1248. data/vendor/node_modules/wisp/interactivate/build/solarized.css +207 -0
  1249. data/vendor/node_modules/wisp/interactivate/host.wisp +83 -0
  1250. data/vendor/node_modules/wisp/interactivate/index.html +392 -0
  1251. data/vendor/node_modules/wisp/interactivate/main.wisp +37 -0
  1252. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/License.md +18 -0
  1253. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
  1254. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/core.js +33 -0
  1255. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-activine/package.json +36 -0
  1256. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/License.md +18 -0
  1257. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
  1258. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/core.js +31 -0
  1259. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-hashare/package.json +37 -0
  1260. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/License.md +18 -0
  1261. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
  1262. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/core.js +25 -0
  1263. data/vendor/node_modules/wisp/interactivate/node_modules/codemirror-persist/package.json +34 -0
  1264. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/History.md +47 -0
  1265. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/License.md +18 -0
  1266. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/Readme.md +11 -0
  1267. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
  1268. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
  1269. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
  1270. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
  1271. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
  1272. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
  1273. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/index.html +115 -0
  1274. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/main.js +39 -0
  1275. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
  1276. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
  1277. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
  1278. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
  1279. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
  1280. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
  1281. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
  1282. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
  1283. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
  1284. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
  1285. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
  1286. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
  1287. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/demo/package.json +21 -0
  1288. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/host/window.js +19 -0
  1289. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/interactivate.js +187 -0
  1290. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
  1291. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
  1292. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
  1293. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
  1294. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
  1295. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
  1296. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
  1297. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
  1298. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
  1299. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
  1300. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
  1301. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
  1302. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
  1303. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
  1304. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
  1305. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
  1306. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
  1307. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
  1308. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
  1309. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
  1310. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
  1311. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
  1312. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
  1313. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
  1314. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
  1315. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
  1316. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
  1317. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
  1318. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
  1319. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
  1320. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
  1321. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
  1322. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
  1323. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
  1324. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
  1325. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
  1326. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
  1327. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
  1328. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
  1329. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
  1330. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
  1331. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
  1332. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
  1333. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
  1334. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
  1335. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
  1336. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
  1337. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
  1338. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
  1339. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
  1340. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
  1341. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
  1342. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
  1343. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
  1344. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
  1345. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
  1346. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
  1347. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
  1348. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
  1349. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
  1350. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
  1351. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
  1352. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
  1353. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
  1354. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
  1355. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
  1356. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
  1357. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
  1358. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
  1359. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
  1360. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
  1361. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
  1362. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
  1363. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
  1364. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
  1365. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
  1366. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
  1367. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
  1368. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
  1369. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
  1370. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
  1371. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
  1372. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
  1373. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
  1374. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
  1375. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
  1376. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
  1377. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
  1378. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
  1379. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
  1380. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
  1381. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
  1382. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
  1383. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
  1384. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
  1385. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
  1386. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
  1387. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
  1388. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
  1389. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
  1390. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/output.js +60 -0
  1391. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/package.json +30 -0
  1392. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/render.js +23 -0
  1393. data/vendor/node_modules/wisp/interactivate/node_modules/interactivate/view.js +79 -0
  1394. data/vendor/node_modules/wisp/interactivate/package.json +22 -0
  1395. data/vendor/node_modules/wisp/package.json +61 -0
  1396. data/vendor/node_modules/wisp/reader.js +785 -0
  1397. data/vendor/node_modules/wisp/repl.js +121 -0
  1398. data/vendor/node_modules/wisp/runtime.js +609 -0
  1399. data/vendor/node_modules/wisp/sequence.js +553 -0
  1400. data/vendor/node_modules/wisp/src/ast.wisp +160 -0
  1401. data/vendor/node_modules/wisp/src/backend/javascript/writer.wisp +161 -0
  1402. data/vendor/node_modules/wisp/src/backend/js/generator.wisp +939 -0
  1403. data/vendor/node_modules/wisp/src/compiler.wisp +1185 -0
  1404. data/vendor/node_modules/wisp/src/drafts.wisp +50 -0
  1405. data/vendor/node_modules/wisp/src/drft.wisp +329 -0
  1406. data/vendor/node_modules/wisp/src/engine/browser.wisp +73 -0
  1407. data/vendor/node_modules/wisp/src/engine/node.wisp +23 -0
  1408. data/vendor/node_modules/wisp/src/extra.wisp +36 -0
  1409. data/vendor/node_modules/wisp/src/reader.wisp +615 -0
  1410. data/vendor/node_modules/wisp/src/repl.wisp +79 -0
  1411. data/vendor/node_modules/wisp/src/runtime.wisp +511 -0
  1412. data/vendor/node_modules/wisp/src/sequence.wisp +416 -0
  1413. data/vendor/node_modules/wisp/src/string.wisp +110 -0
  1414. data/vendor/node_modules/wisp/src/type.wisp +51 -0
  1415. data/vendor/node_modules/wisp/src/wisp.wisp +57 -0
  1416. data/vendor/node_modules/wisp/string.js +96 -0
  1417. data/vendor/node_modules/wisp/support/ambiance.css +119 -0
  1418. data/vendor/node_modules/wisp/support/app.js +3669 -0
  1419. data/vendor/node_modules/wisp/support/codemirror-compressed.js +1 -0
  1420. data/vendor/node_modules/wisp/support/codemirror.css +173 -0
  1421. data/vendor/node_modules/wisp/support/embed.js +71 -0
  1422. data/vendor/node_modules/wisp/support/embed.wisp +74 -0
  1423. data/vendor/node_modules/wisp/support/require.js +35 -0
  1424. data/vendor/node_modules/wisp/test/ast.wisp +58 -0
  1425. data/vendor/node_modules/wisp/test/compiler.wisp +549 -0
  1426. data/vendor/node_modules/wisp/test/reader.wisp +228 -0
  1427. data/vendor/node_modules/wisp/test/runtime.wisp +180 -0
  1428. data/vendor/node_modules/wisp/test/sequence.wisp +338 -0
  1429. data/vendor/node_modules/wisp/test/string.wisp +44 -0
  1430. data/vendor/node_modules/wisp/test/test.wisp +8 -0
  1431. data/vendor/node_modules/wisp/wisp.js +60 -0
  1432. data/vendor/package.json +39 -0
  1433. data/vendor/reader.js +784 -0
  1434. data/vendor/repl.js +116 -0
  1435. data/vendor/runtime.js +613 -0
  1436. data/vendor/sequence.js +555 -0
  1437. data/vendor/src/ast.wisp +162 -0
  1438. data/vendor/src/backend/escodegen/writer.wisp +939 -0
  1439. data/vendor/src/backend/javascript/writer.wisp +164 -0
  1440. data/vendor/src/compiler.wisp +1191 -0
  1441. data/vendor/src/drafts/drafts.wisp +50 -0
  1442. data/vendor/src/drafts/drft.wisp +329 -0
  1443. data/vendor/src/drafts/extra.wisp +36 -0
  1444. data/vendor/src/engine/browser.wisp +67 -0
  1445. data/vendor/src/engine/node.wisp +16 -0
  1446. data/vendor/src/functional-reader.wisp +96 -0
  1447. data/vendor/src/reader.wisp +619 -0
  1448. data/vendor/src/repl.wisp +80 -0
  1449. data/vendor/src/runtime.wisp +512 -0
  1450. data/vendor/src/sequence.wisp +417 -0
  1451. data/vendor/src/string.wisp +111 -0
  1452. data/vendor/src/type.wisp +54 -0
  1453. data/vendor/src/wisp.wisp +58 -0
  1454. data/vendor/string.js +97 -0
  1455. data/vendor/test/ast.wisp +60 -0
  1456. data/vendor/test/compiler.wisp +552 -0
  1457. data/vendor/test/reader.wisp +228 -0
  1458. data/vendor/test/runtime.wisp +180 -0
  1459. data/vendor/test/sequence.wisp +337 -0
  1460. data/vendor/test/string.wisp +45 -0
  1461. data/vendor/test/test.wisp +9 -0
  1462. data/vendor/try/Makefile +27 -0
  1463. data/vendor/try/Readme.md +25 -0
  1464. data/vendor/try/build/codemirror-compressed.js +4 -0
  1465. data/vendor/try/build/codemirror.css +248 -0
  1466. data/vendor/try/build/main.js +3742 -0
  1467. data/vendor/try/build/require.js +35 -0
  1468. data/vendor/try/build/solarized.css +203 -0
  1469. data/vendor/try/index.html +399 -0
  1470. data/vendor/try/node_modules/codemirror-activine/License.md +18 -0
  1471. data/vendor/try/node_modules/codemirror-activine/Readme.md +22 -0
  1472. data/vendor/try/node_modules/codemirror-activine/core.js +33 -0
  1473. data/vendor/try/node_modules/codemirror-activine/package.json +36 -0
  1474. data/vendor/try/node_modules/codemirror-persist/License.md +18 -0
  1475. data/vendor/try/node_modules/codemirror-persist/Readme.md +22 -0
  1476. data/vendor/try/node_modules/codemirror-persist/core.js +25 -0
  1477. data/vendor/try/node_modules/codemirror-persist/package.json +34 -0
  1478. data/vendor/try/node_modules/~wisp/History.md +152 -0
  1479. data/vendor/try/node_modules/~wisp/LICENSE +24 -0
  1480. data/vendor/try/node_modules/~wisp/Makefile +80 -0
  1481. data/vendor/try/node_modules/~wisp/Readme.md +615 -0
  1482. data/vendor/try/node_modules/~wisp/analyzer.js +385 -0
  1483. data/vendor/try/node_modules/~wisp/ast.js +214 -0
  1484. data/vendor/try/node_modules/~wisp/backend/javascript/writer.js +212 -0
  1485. data/vendor/try/node_modules/~wisp/bin/wisp.js +2 -0
  1486. data/vendor/try/node_modules/~wisp/compiler.js +1028 -0
  1487. data/vendor/try/node_modules/~wisp/design.md +114 -0
  1488. data/vendor/try/node_modules/~wisp/engine/browser.js +65 -0
  1489. data/vendor/try/node_modules/~wisp/engine/node.js +20 -0
  1490. data/vendor/try/node_modules/~wisp/index.html +405 -0
  1491. data/vendor/try/node_modules/~wisp/interactivate/Makefile +38 -0
  1492. data/vendor/try/node_modules/~wisp/interactivate/Readme.md +24 -0
  1493. data/vendor/try/node_modules/~wisp/interactivate/build/cache.manifest +12 -0
  1494. data/vendor/try/node_modules/~wisp/interactivate/build/codemirror-compressed.js +4 -0
  1495. data/vendor/try/node_modules/~wisp/interactivate/build/codemirror.css +248 -0
  1496. data/vendor/try/node_modules/~wisp/interactivate/build/main.js +5430 -0
  1497. data/vendor/try/node_modules/~wisp/interactivate/build/solarized.css +207 -0
  1498. data/vendor/try/node_modules/~wisp/interactivate/host.wisp +83 -0
  1499. data/vendor/try/node_modules/~wisp/interactivate/index.html +392 -0
  1500. data/vendor/try/node_modules/~wisp/interactivate/main.wisp +37 -0
  1501. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/License.md +18 -0
  1502. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/Readme.md +22 -0
  1503. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/core.js +33 -0
  1504. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-activine/package.json +36 -0
  1505. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/License.md +18 -0
  1506. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/Readme.md +23 -0
  1507. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/core.js +31 -0
  1508. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-hashare/package.json +37 -0
  1509. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/License.md +18 -0
  1510. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/Readme.md +22 -0
  1511. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/core.js +25 -0
  1512. data/vendor/try/node_modules/~wisp/interactivate/node_modules/codemirror-persist/package.json +34 -0
  1513. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/History.md +47 -0
  1514. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/License.md +18 -0
  1515. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/Readme.md +11 -0
  1516. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/Readme.md +24 -0
  1517. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/cache.manifest +12 -0
  1518. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/codemirror-compressed.js +4 -0
  1519. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/codemirror.css +248 -0
  1520. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/main.js +267 -0
  1521. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/build/solarized.css +207 -0
  1522. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/index.html +115 -0
  1523. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/main.js +39 -0
  1524. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/License.md +18 -0
  1525. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/Readme.md +22 -0
  1526. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/core.js +33 -0
  1527. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-activine/package.json +36 -0
  1528. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/License.md +18 -0
  1529. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/Readme.md +23 -0
  1530. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/core.js +31 -0
  1531. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-hashare/package.json +37 -0
  1532. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/License.md +18 -0
  1533. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/Readme.md +22 -0
  1534. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/core.js +25 -0
  1535. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/node_modules/codemirror-persist/package.json +34 -0
  1536. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/demo/package.json +21 -0
  1537. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/host/window.js +19 -0
  1538. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/interactivate.js +187 -0
  1539. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/History.md +10 -0
  1540. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/License.md +18 -0
  1541. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/Readme.md +68 -0
  1542. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/diff.js +45 -0
  1543. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/index.js +5 -0
  1544. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/package.json +53 -0
  1545. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/patch.js +21 -0
  1546. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/rebase.js +33 -0
  1547. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/diff.js +62 -0
  1548. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/index.js +16 -0
  1549. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/diffpatcher/test/patch.js +54 -0
  1550. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/History.md +15 -0
  1551. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/License.md +18 -0
  1552. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/Readme.md +54 -0
  1553. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/event.js +39 -0
  1554. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/index.js +3 -0
  1555. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/History.md +20 -0
  1556. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/License.md +18 -0
  1557. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/Readme.md +45 -0
  1558. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/end.js +3 -0
  1559. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/index.js +8 -0
  1560. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-error.js +9 -0
  1561. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/is-reduced.js +9 -0
  1562. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/package.json +57 -0
  1563. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduce.js +59 -0
  1564. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reduced.js +15 -0
  1565. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/reducible.js +87 -0
  1566. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/index.js +6 -0
  1567. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reduce.js +116 -0
  1568. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/node_modules/reducible/test/reducible.js +106 -0
  1569. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/package.json +56 -0
  1570. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/dom-reduce/test/index.js +91 -0
  1571. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/History.md +60 -0
  1572. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/License.md +18 -0
  1573. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/Readme.md +125 -0
  1574. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/core.js +227 -0
  1575. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/package.json +93 -0
  1576. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/browser.js +18 -0
  1577. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/common-index.js +3 -0
  1578. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/common.js +270 -0
  1579. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/index.js +3 -0
  1580. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/phantom-index.js +3 -0
  1581. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/tap-index.js +3 -0
  1582. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/method/test/testling-index.js +3 -0
  1583. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/History.md +139 -0
  1584. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/License.md +19 -0
  1585. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/Readme.md +253 -0
  1586. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/capture.js +34 -0
  1587. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/concat.js +37 -0
  1588. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/debug/print.js +45 -0
  1589. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/delay.js +29 -0
  1590. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop-while.js +39 -0
  1591. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/drop.js +40 -0
  1592. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/expand.js +25 -0
  1593. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/filter.js +21 -0
  1594. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/fold.js +55 -0
  1595. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/hub.js +102 -0
  1596. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/index.js +33 -0
  1597. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/into.js +16 -0
  1598. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/map.js +19 -0
  1599. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/merge.js +50 -0
  1600. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/History.md +20 -0
  1601. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/License.md +18 -0
  1602. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/Readme.md +45 -0
  1603. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/end.js +3 -0
  1604. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/index.js +8 -0
  1605. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-error.js +9 -0
  1606. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/is-reduced.js +9 -0
  1607. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/package.json +57 -0
  1608. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduce.js +59 -0
  1609. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reduced.js +15 -0
  1610. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/reducible.js +87 -0
  1611. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/index.js +6 -0
  1612. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reduce.js +116 -0
  1613. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/node_modules/reducible/test/reducible.js +106 -0
  1614. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/package.json +60 -0
  1615. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/reducer.js +51 -0
  1616. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/reductions.js +31 -0
  1617. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/take-while.js +23 -0
  1618. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/take.js +40 -0
  1619. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/benchmark.js +32 -0
  1620. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/capture.js +108 -0
  1621. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/concat.js +104 -0
  1622. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/delay.js +29 -0
  1623. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop-while.js +118 -0
  1624. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/drop.js +89 -0
  1625. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/errors.js +222 -0
  1626. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/filter.js +72 -0
  1627. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/fold.js +111 -0
  1628. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/hub.js +222 -0
  1629. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/index.js +23 -0
  1630. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/into.js +22 -0
  1631. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/map.js +67 -0
  1632. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/merge.js +75 -0
  1633. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/reductions.js +105 -0
  1634. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take-while.js +134 -0
  1635. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/take.js +82 -0
  1636. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/event.js +25 -0
  1637. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/lazy.js +9 -0
  1638. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/node_modules/reducers/test/util/test.js +34 -0
  1639. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/output.js +60 -0
  1640. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/package.json +30 -0
  1641. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/render.js +23 -0
  1642. data/vendor/try/node_modules/~wisp/interactivate/node_modules/interactivate/view.js +79 -0
  1643. data/vendor/try/node_modules/~wisp/interactivate/package.json +22 -0
  1644. data/vendor/try/node_modules/~wisp/package.json +57 -0
  1645. data/vendor/try/node_modules/~wisp/reader.js +785 -0
  1646. data/vendor/try/node_modules/~wisp/repl.js +121 -0
  1647. data/vendor/try/node_modules/~wisp/runtime.js +609 -0
  1648. data/vendor/try/node_modules/~wisp/sequence.js +553 -0
  1649. data/vendor/try/node_modules/~wisp/src/ast.wisp +160 -0
  1650. data/vendor/try/node_modules/~wisp/src/backend/javascript/writer.wisp +161 -0
  1651. data/vendor/try/node_modules/~wisp/src/backend/js/generator.wisp +939 -0
  1652. data/vendor/try/node_modules/~wisp/src/compiler.wisp +1185 -0
  1653. data/vendor/try/node_modules/~wisp/src/drafts.wisp +50 -0
  1654. data/vendor/try/node_modules/~wisp/src/drft.wisp +329 -0
  1655. data/vendor/try/node_modules/~wisp/src/engine/browser.wisp +73 -0
  1656. data/vendor/try/node_modules/~wisp/src/engine/node.wisp +23 -0
  1657. data/vendor/try/node_modules/~wisp/src/extra.wisp +36 -0
  1658. data/vendor/try/node_modules/~wisp/src/reader.wisp +615 -0
  1659. data/vendor/try/node_modules/~wisp/src/repl.wisp +79 -0
  1660. data/vendor/try/node_modules/~wisp/src/runtime.wisp +511 -0
  1661. data/vendor/try/node_modules/~wisp/src/sequence.wisp +416 -0
  1662. data/vendor/try/node_modules/~wisp/src/string.wisp +110 -0
  1663. data/vendor/try/node_modules/~wisp/src/type.wisp +51 -0
  1664. data/vendor/try/node_modules/~wisp/src/wisp.wisp +57 -0
  1665. data/vendor/try/node_modules/~wisp/string.js +96 -0
  1666. data/vendor/try/node_modules/~wisp/support/ambiance.css +119 -0
  1667. data/vendor/try/node_modules/~wisp/support/app.js +3669 -0
  1668. data/vendor/try/node_modules/~wisp/support/codemirror-compressed.js +1 -0
  1669. data/vendor/try/node_modules/~wisp/support/codemirror.css +173 -0
  1670. data/vendor/try/node_modules/~wisp/support/embed.js +71 -0
  1671. data/vendor/try/node_modules/~wisp/support/embed.wisp +74 -0
  1672. data/vendor/try/node_modules/~wisp/support/require.js +35 -0
  1673. data/vendor/try/node_modules/~wisp/test/ast.wisp +58 -0
  1674. data/vendor/try/node_modules/~wisp/test/compiler.wisp +549 -0
  1675. data/vendor/try/node_modules/~wisp/test/reader.wisp +228 -0
  1676. data/vendor/try/node_modules/~wisp/test/runtime.wisp +180 -0
  1677. data/vendor/try/node_modules/~wisp/test/sequence.wisp +338 -0
  1678. data/vendor/try/node_modules/~wisp/test/string.wisp +44 -0
  1679. data/vendor/try/node_modules/~wisp/test/test.wisp +8 -0
  1680. data/vendor/try/node_modules/~wisp/wisp.js +60 -0
  1681. data/vendor/try/package.json +19 -0
  1682. data/vendor/try/src/main.wisp +89 -0
  1683. data/vendor/wisp.js +55 -0
  1684. metadata +1727 -0
data/vendor/design.md ADDED
@@ -0,0 +1,114 @@
1
+
2
+ # Prose
3
+
4
+ Prose is a programing language that attempts to emphesize significance of
5
+ communicating solution to a problem. In prose solutions are expressed in
6
+ a natural language (Just as our everyday thoughts are) while procedural
7
+ thoughts are expressed in more formal syntax. In a way prose inverts idea
8
+ of putting comment into code. Primary program input is in [markdown][],
9
+ with embedded code blocks for expressing implementation details. Language
10
+ syntax used in code blocks can varry to match best specifics of the
11
+ solution. Never the less, all of the "prose" code is desugars to an
12
+ internal [AST][] representation in [lisp][] (Or rather in [wisp][] to be
13
+ precise, that is [clojure][]-like dialect of lisp). Embedded code blocks
14
+ there for can be expressed in arbitrary syntax forms as long as reader
15
+ macro desugaring that form to lisp is registered. As a matter of fact
16
+ reader macros could also choose to desugar to [JS][], since that a final
17
+ compile target (although this can be little bit more tricky than targeting
18
+ lisp form). Code blocks are expected to start with [shebang][] to identify
19
+ syntax form used by them. For example code block in `clojure` syntax form
20
+ will be expressed as follows:
21
+
22
+ #! clojure
23
+ (defn hello [name]
24
+ (print (str "Hello " name)))
25
+
26
+ Program may have another code blocks expressed in other syntax forms, for
27
+ example next code block can be in [JS][]:
28
+
29
+ #! javascript
30
+ function bye(name) {
31
+ print("Bye " + name)
32
+ }
33
+
34
+
35
+ ## Compiler
36
+
37
+ [markdown]:http://daringfireball.net/projects/markdown
38
+ [marked]:https://github.com/chjj/marked
39
+ [Literate_programming]:http://en.wikipedia.org/wiki/Literate_programming
40
+ [Literate coffeescript]:https://gist.github.com/3790135
41
+ [code block]:http://daringfireball.net/projects/markdown/syntax#precode
42
+ [shebang]:http://en.wikipedia.org/wiki/Shebang_%28Unix%29
43
+ # Prose
44
+
45
+ Prose is a programing language that attempts to emphesize significance of
46
+ communicating solution to a problem. In prose solutions are expressed in
47
+ a natural language (Just as our everyday thoughts are) while procedural
48
+ thoughts are expressed in more formal syntax. In a way prose inverts idea
49
+ of putting comment into code. Primary program input is in [markdown][],
50
+ with embedded code blocks for expressing implementation details. Language
51
+ syntax used in code blocks can varry to match best specifics of the
52
+ solution. Never the less, all of the "prose" code is desugars to an
53
+ internal [AST][] representation in [lisp][] (Or rather in [wisp][] to be
54
+ precise, that is [clojure][]-like dialect of lisp). Embedded code blocks
55
+ there for can be expressed in arbitrary syntax forms as long as reader
56
+ macro desugaring that form to lisp is registered. As a matter of fact
57
+ reader macros could also choose to desugar to [JS][], since that a final
58
+ compile target (although this can be little bit more tricky than targeting
59
+ lisp form). Code blocks are expected to start with [shebang][] to identify
60
+ syntax form used by them. For example code block in `clojure` syntax form
61
+ will be expressed as follows:
62
+
63
+ #! clojure
64
+ (defn hello [name]
65
+ (print (str "Hello " name)))
66
+
67
+
68
+
69
+
70
+ [markdown]:http://daringfireball.net/projects/markdown
71
+ [marked]:https://github.com/chjj/marked
72
+ [Literate_programming]:http://en.wikipedia.org/wiki/Literate_programming
73
+ [Literate coffeescript]:https://gist.github.com/3790135
74
+ [code block]:http://daringfireball.net/projects/markdown/syntax#precode
75
+ [shebang]:http://en.wikipedia.org/wiki/Shebang_%28Unix%29 # Forms
76
+
77
+ Wisp emphesizes importance of the idea over implementation details
78
+ and there for plain source is just a documentation in *Markdown*
79
+ format.
80
+
81
+ Actual code blocks are plain markdwond code blocks like one below
82
+
83
+ #!wisp
84
+ (defn hello [name]
85
+ (print (str "Hello " name)))
86
+
87
+
88
+ # Prose
89
+
90
+ Prose is a programing language that attempts to emphesize significance of
91
+ communicating solution to a problem. In prose solutions are expressed in
92
+ a natural language (Just as our everyday thoughts are) while procedural
93
+ thoughts are expressed in more formal syntax. In a way prose inverts idea
94
+ of putting comment into code. Primary program input is in [markdown][],
95
+ with embedded code blocks for expressing implementation details. Language
96
+ syntax used in code blocks can varry to match best specifics of the
97
+ solution. Never the less, all of the "prose" code is desugars to an
98
+ internal [AST][] representation in [lisp][] (Or rather in [wisp][] to be
99
+ precise, that is [clojure][]-like dialect of lisp). Embedded code blocks
100
+ there for can be expressed in arbitrary syntax forms as long as reader
101
+ macro desugaring that form to lisp is registered. As a matter of fact
102
+ reader macros could also choose to desugar to [JS][], since that a final
103
+ compile target (although this can be little bit more tricky than targeting
104
+ lisp form). Code blocks are expected to start with [shebang][] to identify
105
+ syntax form used by them. For example code block in `foo`
106
+
107
+
108
+
109
+ [markdown]:http://daringfireball.net/projects/markdown
110
+ [marked]:https://github.com/chjj/marked
111
+ [Literate_programming]:http://en.wikipedia.org/wiki/Literate_programming
112
+ [Literate coffeescript]:https://gist.github.com/3790135
113
+ [code block]:http://daringfireball.net/projects/markdown/syntax#precode
114
+ [shebang]:http://en.wikipedia.org/wiki/Shebang_%28Unix%29
data/vendor/embed.js ADDED
@@ -0,0 +1,2 @@
1
+
2
+ =>
@@ -0,0 +1,59 @@
1
+ var _ns_ = "wisp.engine.browser";
2
+ module.namespace = _ns_;
3
+ var str = (require("./../runtime")).str;
4
+ var rest = (require("./../sequence")).rest;
5
+ var readFromString = (require("./../reader")).readFromString;
6
+ var compile_ = (require("./../compiler")).compile_;;
7
+
8
+ var evaluate = function evaluate(code, url) {
9
+ return eval(compile_(read_(code, url)));
10
+ };
11
+ exports.evaluate = evaluate;
12
+
13
+ var run = function run(code, url) {
14
+ return (Function(compile_(read_(code, url))))();
15
+ };
16
+ exports.run = run;
17
+
18
+ var load = function load(url, callback) {
19
+ var request = window.XMLHttpRequest ?
20
+ new XMLHttpRequest() :
21
+ new ActiveXObject("Microsoft.XMLHTTP");
22
+ request.open("GET", url, true);
23
+ request.overrideMimeType ?
24
+ request.overrideMimeType("application/wisp") :
25
+ void(0);
26
+ request.onreadystatechange = function() {
27
+ return request.readyState === 4 ?
28
+ (request.status === 0) || (request.status === 200) ?
29
+ callback(run(request.responseText, url)) :
30
+ callback("Could not load") :
31
+ void(0);
32
+ };
33
+ return request.send(null);
34
+ };
35
+ exports.load = load;
36
+
37
+ var runScripts = function runScripts() {
38
+ var scripts = Array.prototype.filter.call(document.getElementsByTagName("script"), function(script) {
39
+ return script.type === "application/wisp";
40
+ });
41
+ var next = function next() {
42
+ return scripts.length ?
43
+ (function() {
44
+ var script = scripts.shift();
45
+ return script.src ?
46
+ load(script.src, next) :
47
+ next(run(script.innerHTML));
48
+ })() :
49
+ void(0);
50
+ };
51
+ return next();
52
+ };
53
+ exports.runScripts = runScripts;
54
+
55
+ (document.readyState === "complete") || (document.readyState === "interactive") ?
56
+ runScripts() :
57
+ window.addEventListener ?
58
+ window.addEventListener("DOMContentLoaded", runScripts, false) :
59
+ window.attachEvent("onload", runScripts)
@@ -0,0 +1,13 @@
1
+ var _ns_ = "wisp.engine.node";
2
+ module.namespace = _ns_;
3
+ var readFileSync = (require("fs")).readFileSync;
4
+ var rest = (require("./../sequence")).rest;
5
+ var str = (require("./../runtime")).str;
6
+ var read_ = (require("./../reader")).read_;
7
+ var compile_ = (require("./../compiler")).compile_;;
8
+
9
+ global.__verbose__ = 0 <= process.argv.indexOf("--verbose");
10
+
11
+ (require.extensions || 0)[".wisp"] = function(module, uri) {
12
+ return module._compile(compile_(read_(readFileSync(uri, "utf8"), uri)));
13
+ }
@@ -0,0 +1,38 @@
1
+ BROWSERIFY = node ./node_modules/browserify/bin/cmd.js
2
+ WIPS_CURRENT = node ./node_modules/bin/wisp.js
3
+ FLAGS =
4
+
5
+ ifdef verbose
6
+ FLAGS = --verbose
7
+ endif
8
+
9
+ ifdef current
10
+ WISP = $(WIPS_CURRENT)
11
+ else
12
+ WISP = ./node_modules/wisp/bin/wisp.js
13
+ endif
14
+
15
+ all: host main bundle clean
16
+
17
+
18
+ clean:
19
+ rm *.js
20
+
21
+ host:
22
+ cat ./src/host.wisp | $(WISP) > ./host.js
23
+
24
+ main:
25
+ cat ./src/main.wisp | $(WISP) > ./main.js
26
+
27
+ bundle:
28
+ $(BROWSERIFY) --debug \
29
+ --require wisp/sequence \
30
+ --require wisp/string \
31
+ --require wisp/reader \
32
+ --require wisp/ast \
33
+ --require wisp/reader \
34
+ --require wisp/compiler \
35
+ --require wisp/runtime \
36
+ --require wisp/analyzer \
37
+ --exports require \
38
+ --entry ./main.js > ./build/main.js
@@ -0,0 +1,28 @@
1
+ # Interactivate wisp
2
+
3
+ This is an interactive [wisp][] programing environment based of
4
+ [interactivate][] plugin, for [codemirror][] editor component.
5
+ It let's you type wisp code and observe compilation & evaluation
6
+ results live.
7
+
8
+
9
+ Try: http://jeditoolkit.com/interactivate-wisp
10
+
11
+ # Hack
12
+
13
+ This demo is tool is written in wisp and browser bundles are
14
+ generated using [browserify][]. If you wanna make changes,
15
+ you'll have to install dependencies:
16
+
17
+ npm install
18
+
19
+
20
+ Once you make changes you need to make build. You could run command
21
+ below to let it take care of recompling every time you save a changes.
22
+
23
+ npm start
24
+
25
+ [wisp]:https://github.com/Gozala/wisp
26
+ [interactivate]:https://github.com/Gozala/interactivate
27
+ [codemirror]:http://codemirror.net/ "In-browser code editing made bearable"
28
+ [browserify]:http://browserify.org/
@@ -0,0 +1,12 @@
1
+ CACHE MANIFEST
2
+ # version 0.2.0
3
+
4
+ ../index.html
5
+ ./codemirror.css
6
+ ./solarized.css
7
+ ./main.js
8
+ ./codemirror.js
9
+ ./javascript.js
10
+
11
+ NETWORK:
12
+ *
@@ -0,0 +1,4 @@
1
+ window.CodeMirror=function(){"use strict";function w(a,c){if(!(this instanceof w))return new w(a,c);this.options=c=c||{};for(var d in Tc)!c.hasOwnProperty(d)&&Tc.hasOwnProperty(d)&&(c[d]=Tc[d]);I(c);var e="string"==typeof c.value?0:c.value.first,f=this.display=x(a,e);f.wrapper.CodeMirror=this,F(this),c.autofocus&&!o&&Ib(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,draggingText:!1,highlight:new Le},D(this),c.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap");var g=c.value;"string"==typeof g&&(g=new Zd(c.value,c.mode)),Ab(this,be)(this,g),b&&setTimeout(Ve(Hb,this,!0),20),Kb(this);var h;try{h=document.activeElement==f.input}catch(i){}h||c.autofocus&&!o?setTimeout(Ve(ec,this),20):fc(this),Ab(this,function(){for(var a in Sc)Sc.propertyIsEnumerable(a)&&Sc[a](this,c[a],Vc);for(var b=0;Zc.length>b;++b)Zc[b](this)})()}function x(a,b){var d={},f=d.input=$e("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none; font-size: 4px;");e?f.style.width="1000px":f.setAttribute("wrap","off"),n&&(f.style.border="1px solid black"),f.setAttribute("autocorrect","off"),f.setAttribute("autocapitalize","off"),d.inputDiv=$e("div",[f],null,"overflow: hidden; position: relative; width: 3px; height: 0px;"),d.scrollbarH=$e("div",[$e("div",null,null,"height: 1px")],"CodeMirror-hscrollbar"),d.scrollbarV=$e("div",[$e("div",null,null,"width: 1px")],"CodeMirror-vscrollbar"),d.scrollbarFiller=$e("div",null,"CodeMirror-scrollbar-filler"),d.lineDiv=$e("div"),d.selectionDiv=$e("div",null,null,"position: relative; z-index: 1"),d.cursor=$e("div","\u00a0","CodeMirror-cursor"),d.otherCursor=$e("div","\u00a0","CodeMirror-cursor CodeMirror-secondarycursor"),d.measure=$e("div",null,"CodeMirror-measure"),d.lineSpace=$e("div",[d.measure,d.selectionDiv,d.lineDiv,d.cursor,d.otherCursor],null,"position: relative; outline: none"),d.mover=$e("div",[$e("div",[d.lineSpace],"CodeMirror-lines")],null,"position: relative"),d.sizer=$e("div",[d.mover],"CodeMirror-sizer"),d.heightForcer=$e("div",null,null,"position: absolute; height: "+Je+"px; width: 1px;"),d.gutters=$e("div",null,"CodeMirror-gutters"),d.lineGutter=null;var g=$e("div",[d.sizer,d.heightForcer,d.gutters],null,"position: relative; min-height: 100%");return d.scroller=$e("div",[g],"CodeMirror-scroll"),d.scroller.setAttribute("tabIndex","-1"),d.wrapper=$e("div",[d.inputDiv,d.scrollbarH,d.scrollbarV,d.scrollbarFiller,d.scroller],"CodeMirror"),c&&(d.gutters.style.zIndex=-1,d.scroller.style.paddingRight=0),a.appendChild?a.appendChild(d.wrapper):a(d.wrapper),n&&(f.style.width="0px"),e||(d.scroller.draggable=!0),j?(d.inputDiv.style.height="1px",d.inputDiv.style.position="absolute"):c&&(d.scrollbarH.style.minWidth=d.scrollbarV.style.minWidth="18px"),d.viewOffset=d.lastSizeC=0,d.showingFrom=d.showingTo=b,d.lineNumWidth=d.lineNumInnerWidth=d.lineNumChars=null,d.prevInput="",d.alignWidgets=!1,d.pollingFast=!1,d.poll=new Le,d.cachedCharWidth=d.cachedTextHeight=null,d.measureLineCache=[],d.measureLineCachePos=0,d.inaccurateSelection=!1,d.maxLine=null,d.maxLineLength=0,d.maxLineChanged=!1,d.wheelDX=d.wheelDY=d.wheelStartX=d.wheelStartY=null,d}function y(a){a.doc.mode=w.getMode(a.options,a.doc.modeOption),a.doc.iter(function(a){a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null)}),a.doc.frontier=a.doc.first,_(a,100),a.state.modeGen++,a.curOp&&Db(a)}function z(a){a.options.lineWrapping?(a.display.wrapper.className+=" CodeMirror-wrap",a.display.sizer.style.minWidth=""):(a.display.wrapper.className=a.display.wrapper.className.replace(" CodeMirror-wrap",""),H(a)),B(a),Db(a),mb(a),setTimeout(function(){J(a.display,a.doc.height)},100)}function A(a){var b=vb(a.display),c=a.options.lineWrapping,d=c&&Math.max(5,a.display.scroller.clientWidth/wb(a.display)-3);return function(e){return xd(a.doc,e)?0:c?(Math.ceil(e.text.length/d)||1)*b:b}}function B(a){var b=a.doc,c=A(a);b.iter(function(a){var b=c(a);b!=a.height&&fe(a,b)})}function C(a){var b=bd[a.options.keyMap].style;a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-keymap-\S+/g,"")+(b?" cm-keymap-"+b:"")}function D(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),mb(a)}function E(a){F(a),Db(a)}function F(a){var b=a.display.gutters,c=a.options.gutters;_e(b);for(var d=0;c.length>d;++d){var e=c[d],f=b.appendChild($e("div",null,"CodeMirror-gutter "+e));"CodeMirror-linenumbers"==e&&(a.display.lineGutter=f,f.style.width=(a.display.lineNumWidth||1)+"px")}b.style.display=d?"":"none"}function G(a,b){if(0==b.height)return 0;for(var d,c=b.text.length,e=b;d=ud(e);){var f=d.find();e=ce(a,f.from.line),c+=f.from.ch-f.to.ch}for(e=b;d=vd(e);){var f=d.find();c-=e.text.length-f.from.ch,e=ce(a,f.to.line),c+=e.text.length-f.to.ch}return c}function H(a){var b=a.display,c=a.doc;b.maxLine=ce(c,c.first),b.maxLineLength=G(c,b.maxLine),b.maxLineChanged=!0,c.iter(function(a){var d=G(c,a);d>b.maxLineLength&&(b.maxLineLength=d,b.maxLine=a)})}function I(a){for(var b=!1,c=0;a.gutters.length>c;++c)"CodeMirror-linenumbers"==a.gutters[c]&&(a.lineNumbers?b=!0:a.gutters.splice(c--,1));!b&&a.lineNumbers&&a.gutters.push("CodeMirror-linenumbers")}function J(a,b){var c=b+eb(a);a.sizer.style.minHeight=a.heightForcer.style.top=c+"px";var d=Math.max(c,a.scroller.scrollHeight),e=a.scroller.scrollWidth>a.scroller.clientWidth,f=d>a.scroller.clientHeight;f?(a.scrollbarV.style.display="block",a.scrollbarV.style.bottom=e?gf(a.measure)+"px":"0",a.scrollbarV.firstChild.style.height=d-a.scroller.clientHeight+a.scrollbarV.clientHeight+"px"):a.scrollbarV.style.display="",e?(a.scrollbarH.style.display="block",a.scrollbarH.style.right=f?gf(a.measure)+"px":"0",a.scrollbarH.firstChild.style.width=a.scroller.scrollWidth-a.scroller.clientWidth+a.scrollbarH.clientWidth+"px"):a.scrollbarH.style.display="",e&&f?(a.scrollbarFiller.style.display="block",a.scrollbarFiller.style.height=a.scrollbarFiller.style.width=gf(a.measure)+"px"):a.scrollbarFiller.style.display="",k&&0===gf(a.measure)&&(a.scrollbarV.style.minWidth=a.scrollbarH.style.minHeight=l?"18px":"12px")}function K(a,b,c){var d=a.scroller.scrollTop,e=a.wrapper.clientHeight;"number"==typeof c?d=c:c&&(d=c.top,e=c.bottom-c.top),d=Math.floor(d-db(a));var f=Math.ceil(d+e);return{from:he(b,d),to:he(b,f)}}function L(a){var b=a.display;if(b.alignWidgets||b.gutters.firstChild&&a.options.fixedGutter){for(var c=O(b)-b.scroller.scrollLeft+a.doc.scrollLeft,d=b.gutters.offsetWidth,e=c+"px",f=b.lineDiv.firstChild;f;f=f.nextSibling)if(f.alignable)for(var g=0,h=f.alignable;h.length>g;++g)h[g].style.left=e;a.options.fixedGutter&&(b.gutters.style.left=c+d+"px")}}function M(a){if(!a.options.lineNumbers)return!1;var b=a.doc,c=N(a.options,b.first+b.size-1),d=a.display;if(c.length!=d.lineNumChars){var e=d.measure.appendChild($e("div",[$e("div",c)],"CodeMirror-linenumber CodeMirror-gutter-elt")),f=e.firstChild.offsetWidth,g=e.offsetWidth-f;return d.lineGutter.style.width="",d.lineNumInnerWidth=Math.max(f,d.lineGutter.offsetWidth-g),d.lineNumWidth=d.lineNumInnerWidth+g,d.lineNumChars=d.lineNumInnerWidth?c.length:-1,d.lineGutter.style.width=d.lineNumWidth+"px",!0}return!1}function N(a,b){return a.lineNumberFormatter(b+a.firstLineNumber)+""}function O(a){return cf(a.scroller).left-cf(a.sizer).left}function P(a,b,c){for(var f,d=a.display.showingFrom,e=a.display.showingTo,g=K(a.display,a.doc,c);Q(a,b,g)&&(f=!0,Ge(a,"update",a),(a.display.showingFrom!=d||a.display.showingTo!=e)&&Ge(a,"viewportChange",a,a.display.showingFrom,a.display.showingTo),X(a),J(a.display,a.doc.height),c&&(c=Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,"number"==typeof c?c:c.top)),g=K(a.display,a.doc,c),!(g.from>=a.display.showingFrom&&g.to<=a.display.showingTo));)b=[];return f}function Q(a,b,d){var e=a.display,f=a.doc;if(!e.wrapper.clientWidth)return e.showingFrom=e.showingTo=f.first,e.viewOffset=0,void 0;if(!(0==b.length&&d.from>e.showingFrom&&d.to<e.showingTo)){M(a)&&(b=[{from:f.first,to:f.first+f.size}]);var g=e.sizer.style.marginLeft=e.gutters.offsetWidth+"px";e.scrollbarH.style.left=a.options.fixedGutter?g:"0";var h=1/0;if(a.options.lineNumbers)for(var i=0;b.length>i;++i)if(b[i].diff){h=b[i].from;break}var j=f.first+f.size,k=Math.max(d.from-a.options.viewportMargin,f.first),l=Math.min(j,d.to+a.options.viewportMargin);if(k>e.showingFrom&&20>k-e.showingFrom&&(k=Math.max(f.first,e.showingFrom)),e.showingTo>l&&20>e.showingTo-l&&(l=Math.min(j,e.showingTo)),v)for(k=ge(wd(f,ce(f,k)));j>l&&xd(f,ce(f,l));)++l;var m=[{from:Math.max(e.showingFrom,f.first),to:Math.min(e.showingTo,j)}];if(m=m[0].from>=m[0].to?[]:S(m,b),v)for(var i=0;m.length>i;++i)for(var o,n=m[i];o=vd(ce(f,n.to-1));){var p=o.find().from.line;if(!(p>n.from)){m.splice(i--,1);break}n.to=p}for(var q=0,i=0;m.length>i;++i){var n=m[i];k>n.from&&(n.from=k),n.to>l&&(n.to=l),n.from>=n.to?m.splice(i--,1):q+=n.to-n.from}if(q==l-k&&k==e.showingFrom&&l==e.showingTo)return R(a),void 0;m.sort(function(a,b){return a.from-b.from});try{var r=document.activeElement}catch(s){}.7*(l-k)>q&&(e.lineDiv.style.display="none"),U(a,k,l,m,h),e.lineDiv.style.display="",r&&document.activeElement!=r&&r.offsetHeight&&r.focus();var t=k!=e.showingFrom||l!=e.showingTo||e.lastSizeC!=e.wrapper.clientHeight;t&&(e.lastSizeC=e.wrapper.clientHeight),e.showingFrom=k,e.showingTo=l,_(a,100);for(var x,u=e.lineDiv.offsetTop,w=e.lineDiv.firstChild;w;w=w.nextSibling)if(w.lineObj){if(c){var y=w.offsetTop+w.offsetHeight;x=y-u,u=y}else{var z=cf(w);x=z.bottom-z.top}var A=w.lineObj.height-x;if(2>x&&(x=vb(e)),A>.001||-.001>A){fe(w.lineObj,x);var B=w.lineObj.widgets;if(B)for(var i=0;B.length>i;++i)B[i].height=B[i].node.offsetHeight}}return R(a),!0}}function R(a){var b=a.display.viewOffset=ie(a,ce(a.doc,a.display.showingFrom));a.display.mover.style.top=b+"px"}function S(a,b){for(var c=0,d=b.length||0;d>c;++c){for(var e=b[c],f=[],g=e.diff||0,h=0,i=a.length;i>h;++h){var j=a[h];e.to<=j.from&&e.diff?f.push({from:j.from+g,to:j.to+g}):e.to<=j.from||e.from>=j.to?f.push(j):(e.from>j.from&&f.push({from:j.from,to:e.from}),e.to<j.to&&f.push({from:e.to+g,to:j.to+g}))}a=f}return a}function T(a){for(var b=a.display,c={},d={},e=b.gutters.firstChild,f=0;e;e=e.nextSibling,++f)c[a.options.gutters[f]]=e.offsetLeft,d[a.options.gutters[f]]=e.offsetWidth;return{fixedPos:O(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:c,gutterWidth:d,wrapperWidth:b.wrapper.clientWidth}}function U(a,b,c,d,f){function l(b){var c=b.nextSibling;return e&&p&&a.display.currentWheelTarget==b?(b.style.display="none",b.lineObj=null):b.parentNode.removeChild(b),c}var g=T(a),h=a.display,i=a.options.lineNumbers;d.length||e&&a.display.currentWheelTarget||_e(h.lineDiv);var j=h.lineDiv,k=j.firstChild,m=d.shift(),n=b;for(a.doc.iter(b,c,function(b){if(m&&m.to==n&&(m=d.shift()),xd(a.doc,b)){if(0!=b.height&&fe(b,0),b.widgets&&k.previousSibling)for(var c=0;b.widgets.length>c;++c)if(b.widgets[c].showIfHidden){var e=k.previousSibling;if(/pre/i.test(e.nodeName)){var h=$e("div",null,null,"position: relative");e.parentNode.replaceChild(h,e),h.appendChild(e),e=h}var o=e.appendChild($e("div",[b.widgets[c].node],"CodeMirror-linewidget"));W(b.widgets[c],o,e,g)}}else if(m&&n>=m.from&&m.to>n){for(;k.lineObj!=b;)k=l(k);i&&n>=f&&k.lineNumber&&bf(k.lineNumber,N(a.options,n)),k=k.nextSibling}else{if(b.widgets)for(var r,p=0,q=k;q&&20>p;++p,q=q.nextSibling)if(q.lineObj==b&&/div/i.test(q.nodeName)){r=q;break}var s=V(a,b,n,g,r);if(s!=r)j.insertBefore(s,k);else{for(;k!=r;)k=l(k);k=k.nextSibling}s.lineObj=b}++n});k;)k=l(k)}function V(a,b,d,e,f){var j,g=Od(a,b),h=b.gutterMarkers,i=a.display;if(!(a.options.lineNumbers||h||b.bgClass||b.wrapClass||b.widgets))return g;if(f){f.alignable=null;for(var n,k=!0,l=0,m=f.firstChild;m;m=n)if(n=m.nextSibling,/\bCodeMirror-linewidget\b/.test(m.className)){for(var o=0,p=!0;b.widgets.length>o;++o){var q=b.widgets[o],r=!1;if(q.above||(r=p,p=!1),q.node==m.firstChild){W(q,m,f,e),++l,r&&f.insertBefore(g,m);break}}if(o==b.widgets.length){k=!1;break}}else f.removeChild(m);k&&l==b.widgets.length&&(j=f,f.className=b.wrapClass||"")}if(j||(j=$e("div",null,b.wrapClass,"position: relative"),j.appendChild(g)),b.bgClass&&j.insertBefore($e("div",null,b.bgClass+" CodeMirror-linebackground"),j.firstChild),a.options.lineNumbers||h){var s=j.insertBefore($e("div",null,null,"position: absolute; left: "+(a.options.fixedGutter?e.fixedPos:-e.gutterTotalWidth)+"px"),j.firstChild);if(a.options.fixedGutter&&(j.alignable||(j.alignable=[])).push(s),!a.options.lineNumbers||h&&h["CodeMirror-linenumbers"]||(j.lineNumber=s.appendChild($e("div",N(a.options,d),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+e.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+i.lineNumInnerWidth+"px"))),h)for(var t=0;a.options.gutters.length>t;++t){var u=a.options.gutters[t],v=h.hasOwnProperty(u)&&h[u];v&&s.appendChild($e("div",[v],"CodeMirror-gutter-elt","left: "+e.gutterLeft[u]+"px; width: "+e.gutterWidth[u]+"px"))}}if(c&&(j.style.zIndex=2),b.widgets&&j!=f)for(var o=0,w=b.widgets;w.length>o;++o){var q=w[o],x=$e("div",[q.node],"CodeMirror-linewidget");W(q,x,j,e),q.above?j.insertBefore(x,a.options.lineNumbers&&0!=b.height?s:g):j.appendChild(x),Ge(q,"redraw")}return j}function W(a,b,c,d){if(a.noHScroll){(c.alignable||(c.alignable=[])).push(b);var e=d.wrapperWidth;b.style.left=d.fixedPos+"px",a.coverGutter||(e-=d.gutterTotalWidth,b.style.paddingLeft=d.gutterTotalWidth+"px"),b.style.width=e+"px"}a.coverGutter&&(b.style.zIndex=5,b.style.position="relative",a.noHScroll||(b.style.marginLeft=-d.gutterTotalWidth+"px"))}function X(a){var b=a.display,c=uc(a.doc.sel.from,a.doc.sel.to);if(c||a.options.showCursorWhenSelecting?Y(a):b.cursor.style.display=b.otherCursor.style.display="none",c?b.selectionDiv.style.display="none":Z(a),a.options.moveInputWithCursor){var d=qb(a,a.doc.sel.head,"div"),e=cf(b.wrapper),f=cf(b.lineDiv);b.inputDiv.style.top=Math.max(0,Math.min(b.wrapper.clientHeight-10,d.top+f.top-e.top))+"px",b.inputDiv.style.left=Math.max(0,Math.min(b.wrapper.clientWidth-10,d.left+f.left-e.left))+"px"}}function Y(a){var b=a.display,c=qb(a,a.doc.sel.head,"div");b.cursor.style.left=c.left+"px",b.cursor.style.top=c.top+"px",b.cursor.style.height=Math.max(0,c.bottom-c.top)*a.options.cursorHeight+"px",b.cursor.style.display="",c.other?(b.otherCursor.style.display="",b.otherCursor.style.left=c.other.left+"px",b.otherCursor.style.top=c.other.top+"px",b.otherCursor.style.height=.85*(c.other.bottom-c.other.top)+"px"):b.otherCursor.style.display="none"}function Z(a){function h(a,b,c,d){0>b&&(b=0),e.appendChild($e("div",null,"CodeMirror-selected","position: absolute; left: "+a+"px; top: "+b+"px; width: "+(null==c?f-a:c)+"px; height: "+(d-b)+"px"))}function i(b,d,e,i){function m(c){return pb(a,tc(b,c),"div",j)}var j=ce(c,b),k=j.text.length,l=i?1/0:-1/0;return of(je(j),d||0,null==e?k:e,function(a,b,c){var n,o,p,j=m(a);if(a==b)n=j,o=p=j.left;else{if(n=m(b-1),"rtl"==c){var q=j;j=n,n=q}o=j.left,p=n.right}n.top-j.top>3&&(h(o,j.top,null,j.bottom),o=g,j.bottom<n.top&&h(o,j.bottom,null,n.top)),null==e&&b==k&&(p=f),null==d&&0==a&&(o=g),l=i?Math.min(n.top,l):Math.max(n.bottom,l),g+1>o&&(o=g),h(o,n.top,p-o,n.bottom)}),l}var b=a.display,c=a.doc,d=a.doc.sel,e=document.createDocumentFragment(),f=b.lineSpace.offsetWidth,g=fb(a.display);if(d.from.line==d.to.line)i(d.from.line,d.from.ch,d.to.ch);else{for(var l,n,j=ce(c,d.from.line),k=j,m=[d.from.line,d.from.ch];l=vd(k);){var o=l.find();if(m.push(o.from.ch,o.to.line,o.to.ch),o.to.line==d.to.line){m.push(d.to.ch),n=!0;break}k=ce(c,o.to.line)}if(n)for(var p=0;m.length>p;p+=3)i(m[p],m[p+1],m[p+2]);else{var q,r,s=ce(c,d.to.line);q=d.from.ch?i(d.from.line,d.from.ch,null,!1):ie(a,j)-b.viewOffset,r=d.to.ch?i(d.to.line,ud(s)?null:0,d.to.ch,!0):ie(a,s)-b.viewOffset,r>q&&h(g,q,null,r)}}af(b.selectionDiv,e),b.selectionDiv.style.display=""}function $(a){if(a.state.focused){var b=a.display;clearInterval(b.blinker);var c=!0;b.cursor.style.visibility=b.otherCursor.style.visibility="",b.blinker=setInterval(function(){b.cursor.style.visibility=b.otherCursor.style.visibility=(c=!c)?"":"hidden"},a.options.cursorBlinkRate)}}function _(a,b){a.doc.mode.startState&&a.doc.frontier<a.display.showingTo&&a.state.highlight.set(b,Ve(ab,a))}function ab(a){var b=a.doc;if(b.frontier<b.first&&(b.frontier=b.first),!(b.frontier>=a.display.showingTo)){var f,c=+new Date+a.options.workTime,d=$c(b.mode,cb(a,b.frontier)),e=[];b.iter(b.frontier,Math.min(b.first+b.size,a.display.showingTo+500),function(g){if(b.frontier>=a.display.showingFrom){var h=g.styles;g.styles=Jd(a,g,d);for(var i=!h||h.length!=g.styles.length,j=0;!i&&h.length>j;++j)i=h[j]!=g.styles[j];i&&(f&&f.end==b.frontier?f.end++:e.push(f={start:b.frontier,end:b.frontier+1})),g.stateAfter=$c(b.mode,d)}else Ld(a,g,d),g.stateAfter=0==b.frontier%5?$c(b.mode,d):null;return++b.frontier,+new Date>c?(_(a,a.options.workDelay),!0):void 0}),e.length&&Ab(a,function(){for(var a=0;e.length>a;++a)Db(this,e[a].start,e[a].end)})()}}function bb(a,b){for(var c,d,e=a.doc,f=b,g=b-100;f>g;--f){if(e.first>=f)return e.first;var h=ce(e,f-1);if(h.stateAfter)return f;var i=Me(h.text,null,a.options.tabSize);(null==d||c>i)&&(d=f-1,c=i)}return d}function cb(a,b){var c=a.doc,d=a.display;if(!c.mode.startState)return!0;var e=bb(a,b),f=e>c.first&&ce(c,e-1).stateAfter;return f=f?$c(c.mode,f):_c(c.mode),c.iter(e,b,function(g){Ld(a,g,f);var h=e==b-1||0==e%5||e>=d.showingFrom&&d.showingTo>e;g.stateAfter=h?$c(c.mode,f):null,++e}),f}function db(a){return a.lineSpace.offsetTop}function eb(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function fb(a){var b=af(a.measure,$e("pre",null,null,"text-align: left")).appendChild($e("span","x"));return b.offsetLeft}function gb(a,b,c,d){var e=-1;d=d||jb(a,b);for(var f=c;;f+=e){var g=d[f];if(g)break;0>e&&0==f&&(e=1)}return{left:c>f?g.right:g.left,right:f>c?g.left:g.right,top:g.top,bottom:g.bottom}}function hb(a,b){for(var c=a.display.measureLineCache,d=0;c.length>d;++d){var e=c[d];if(e.text==b.text&&e.markedSpans==b.markedSpans&&a.display.scroller.clientWidth==e.width&&e.classes==b.textClass+"|"+b.bgClass+"|"+b.wrapClass)return e}}function ib(a,b){var c=hb(a,b);c&&(c.text=c.measure=c.markedSpans=null)}function jb(a,b){var c=hb(a,b);if(c)return c.measure;var d=kb(a,b),e=a.display.measureLineCache,f={text:b.text,width:a.display.scroller.clientWidth,markedSpans:b.markedSpans,measure:d,classes:b.textClass+"|"+b.bgClass+"|"+b.wrapClass};return 16==e.length?e[++a.display.measureLineCachePos%16]=f:e.push(f),d}function kb(a,e){var f=a.display,g=Ue(e.text.length),h=Od(a,e,g);if(b&&!c&&!a.options.lineWrapping&&h.childNodes.length>100){for(var i=document.createDocumentFragment(),j=10,k=h.childNodes.length,l=0,m=Math.ceil(k/j);m>l;++l){for(var n=$e("div",null,null,"display: inline-block"),o=0;j>o&&k;++o)n.appendChild(h.firstChild),--k;i.appendChild(n)}h.appendChild(i)}af(f.measure,h);var p=cf(f.lineDiv),q=[],r=Ue(e.text.length),s=h.offsetHeight;d&&f.measure.first!=h&&af(f.measure,h);for(var t,l=0;g.length>l;++l)if(t=g[l]){for(var u=cf(t),v=Math.max(0,u.top-p.top),w=Math.min(u.bottom-p.top,s),o=0;q.length>o;o+=2){var x=q[o],y=q[o+1];if(!(x>w||v>y)&&(v>=x&&y>=w||x>=v&&w>=y||Math.min(w,y)-Math.max(v,x)>=w-v>>1)){q[o]=Math.min(v,x),q[o+1]=Math.max(w,y);break}}o==q.length&&q.push(v,w);var z=u.right;t.measureRight&&(z=cf(t.measureRight).left),r[l]={left:u.left-p.left,right:z-p.left,top:o}}for(var t,l=0;r.length>l;++l)if(t=r[l]){var A=t.top;t.top=q[A],t.bottom=q[A+1]}return r}function lb(a,b){var c=!1;if(b.markedSpans)for(var d=0;b.markedSpans>d;++d){var e=b.markedSpans[d];!e.collapsed||null!=e.to&&e.to!=b.text.length||(c=!0)}var f=!c&&hb(a,b);if(f)return gb(a,b,b.text.length,f.measure).right;var g=Od(a,b),h=g.appendChild(jf(a.display.measure));return af(a.display.measure,g),cf(h).right-cf(a.display.lineDiv).left}function mb(a){a.display.measureLineCache.length=a.display.measureLineCachePos=0,a.display.cachedCharWidth=a.display.cachedTextHeight=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function nb(a,b,c,d){if(b.widgets)for(var e=0;b.widgets.length>e;++e)if(b.widgets[e].above){var f=Dd(b.widgets[e]);c.top+=f,c.bottom+=f}if("line"==d)return c;d||(d="local");var g=ie(a,b);if("local"!=d&&(g-=a.display.viewOffset),"page"==d){var h=cf(a.display.lineSpace);g+=h.top+(window.pageYOffset||(document.documentElement||document.body).scrollTop);var i=h.left+(window.pageXOffset||(document.documentElement||document.body).scrollLeft);c.left+=i,c.right+=i}return c.top+=g,c.bottom+=g,c}function ob(a,b,c){if("div"==c)return b;var d=b.left,e=b.top;"page"==c&&(d-=window.pageXOffset||(document.documentElement||document.body).scrollLeft,e-=window.pageYOffset||(document.documentElement||document.body).scrollTop);var f=cf(a.display.lineSpace);if(d-=f.left,e-=f.top,"local"==c||!c){var g=cf(a.display.wrapper);d+=g.left,e+=g.top}return{left:d,top:e}}function pb(a,b,c,d){return d||(d=ce(a.doc,b.line)),nb(a,d,gb(a,d,b.ch),c)}function qb(a,b,c,d,e){function f(b,f){var g=gb(a,d,b,e);return f?g.left=g.right:g.right=g.left,nb(a,d,g,c)}d=d||ce(a.doc,b.line),e||(e=jb(a,d));var g=je(d),h=b.ch;if(!g)return f(h);for(var i,j,k=g[0].level,l=0;g.length>l;++l){var o,p,m=g[l],n=m.level%2;if(h>m.from&&m.to>h)return f(h,n);var q=n?m.to:m.from,r=n?m.from:m.to;if(q==h)p=l&&m.level<(o=g[l-1]).level?f(o.level%2?o.from:o.to-1,!0):f(n&&m.from!=m.to?h-1:h),n==k?i=p:j=p;else if(r==h){var o=g.length-1>l&&g[l+1];if(!n&&o&&o.from==o.to)continue;p=o&&m.level<o.level?f(o.level%2?o.to-1:o.from):f(n?h:h-1,!0),n==k?i=p:j=p}}return k&&!h&&(j=f(g[0].to-1)),i?(j&&(i.other=j),i):j}function rb(a,b,c){var d=new tc(a,b);return c&&(d.outside=!0),d}function sb(a,b,c){var d=a.doc;if(c+=a.display.viewOffset,0>c)return rb(d.first,0,!0);var e=he(d,c),f=d.first+d.size-1;if(e>f)return rb(d.first+d.size-1,ce(d,f).text.length,!0);for(0>b&&(b=0);;){var g=ce(d,e),h=tb(a,g,e,b,c),i=vd(g),j=i&&i.find();if(!(i&&h.ch>=j.from.ch))return h;e=j.to.line}}function tb(a,b,c,d,e){function j(d){var e=qb(a,tc(c,d),"line",b,i);return g=!0,f>e.bottom?e.left-h:e.top>f?e.left+h:(g=!1,e.left)}var f=e-ie(a,b),g=!1,h=2*a.display.wrapper.clientWidth,i=jb(a,b),k=je(b),l=b.text.length,m=rf(b),n=sf(b),o=j(m),p=g,q=j(n),r=g;if(d>q)return rb(c,n,r);for(;;){if(k?n==m||n==vf(b,m,1):1>=n-m){for(var s=q-d>d-o,t=s?m:n;Ze.test(b.text.charAt(t));)++t;var u=rb(c,t,s?p:r);return u.after=s,u}var v=Math.ceil(l/2),w=m+v;if(k){w=m;for(var x=0;v>x;++x)w=vf(b,w,1)}var y=j(w);y>d?(n=w,q=y,(r=g)&&(q+=1e3),l=v):(m=w,o=y,p=g,l-=v)}}function vb(a){if(null!=a.cachedTextHeight)return a.cachedTextHeight;if(null==ub){ub=$e("pre");for(var b=0;49>b;++b)ub.appendChild(document.createTextNode("x")),ub.appendChild($e("br"));ub.appendChild(document.createTextNode("x"))}af(a.measure,ub);var c=ub.offsetHeight/50;return c>3&&(a.cachedTextHeight=c),_e(a.measure),c||1}function wb(a){if(null!=a.cachedCharWidth)return a.cachedCharWidth;var b=$e("span","x"),c=$e("pre",[b]);af(a.measure,c);var d=b.offsetWidth;return d>2&&(a.cachedCharWidth=d),d||10}function yb(a){a.curOp={changes:[],updateInput:null,userSelChange:null,textChanged:null,selectionChanged:!1,cursorActivity:!1,updateMaxLine:!1,updateScrollPos:!1,id:++xb},Fe++||(Ee=[])}function zb(a){var b=a.curOp,c=a.doc,d=a.display;if(a.curOp=null,b.updateMaxLine&&H(a),d.maxLineChanged&&!a.options.lineWrapping&&d.maxLine){var e=lb(a,d.maxLine);d.sizer.style.minWidth=Math.max(0,e+3+Je)+"px",d.maxLineChanged=!1;var f=Math.max(0,d.sizer.offsetLeft+d.sizer.offsetWidth-d.scroller.clientWidth);c.scrollLeft>f&&!b.updateScrollPos&&Ub(a,Math.min(d.scroller.scrollLeft,f),!0)}var g,h;if(b.updateScrollPos)g=b.updateScrollPos;else if(b.selectionChanged&&d.scroller.clientHeight){var i=qb(a,c.sel.head);g=Jc(a,i.left,i.top,i.left,i.bottom)}(b.changes.length||g&&null!=g.scrollTop)&&(h=P(a,b.changes,g&&g.scrollTop),a.display.scroller.offsetHeight&&(a.doc.scrollTop=a.display.scroller.scrollTop)),!h&&b.selectionChanged&&X(a),b.updateScrollPos?(d.scroller.scrollTop=d.scrollbarV.scrollTop=c.scrollTop=g.scrollTop,d.scroller.scrollLeft=d.scrollbarH.scrollLeft=c.scrollLeft=g.scrollLeft,L(a),b.scrollToPos&&Hc(a,yc(a.doc,b.scrollToPos),b.scrollToPosMargin)):g&&Gc(a),b.selectionChanged&&$(a),a.state.focused&&b.updateInput&&Hb(a,b.userSelChange);var j=b.maybeHiddenMarkers,k=b.maybeUnhiddenMarkers;if(j)for(var l=0;j.length>l;++l)j[l].lines.length||De(j[l],"hide");if(k)for(var l=0;k.length>l;++l)k[l].lines.length&&De(k[l],"unhide");var m;if(--Fe||(m=Ee,Ee=null),b.textChanged&&De(a,"change",a,b.textChanged),b.cursorActivity&&De(a,"cursorActivity",a),m)for(var l=0;m.length>l;++l)m[l]()}function Ab(a,b){return function(){var c=a||this,d=!c.curOp;d&&yb(c);try{var e=b.apply(c,arguments)}finally{d&&zb(c)}return e}}function Bb(a){return function(){var c,b=this.cm&&!this.cm.curOp;b&&yb(this.cm);try{c=a.apply(this,arguments)}finally{b&&zb(this.cm)}return c}}function Cb(a,b){var d,c=!a.curOp;c&&yb(a);try{d=b()}finally{c&&zb(a)}return d}function Db(a,b,c,d){null==b&&(b=a.doc.first),null==c&&(c=a.doc.first+a.doc.size),a.curOp.changes.push({from:b,to:c,diff:d})}function Eb(a){a.display.pollingFast||a.display.poll.set(a.options.pollInterval,function(){Gb(a),a.state.focused&&Eb(a)})}function Fb(a){function c(){var d=Gb(a);d||b?(a.display.pollingFast=!1,Eb(a)):(b=!0,a.display.poll.set(60,c))}var b=!1;a.display.pollingFast=!0,a.display.poll.set(20,c)}function Gb(a){var c=a.display.input,e=a.display.prevInput,f=a.doc,g=f.sel;if(!a.state.focused||lf(c)||Jb(a))return!1;var h=c.value;if(h==e&&uc(g.from,g.to))return!1;if(b&&!d&&a.display.inputHasSelection===h)return Hb(a,!0),!1;var i=!a.curOp;i&&yb(a),g.shift=!1;for(var j=0,k=Math.min(e.length,h.length);k>j&&e.charCodeAt(j)==h.charCodeAt(j);)++j;var l=g.from,m=g.to;e.length>j?l=tc(l.line,l.ch-(e.length-j)):a.state.overwrite&&uc(l,m)&&!a.state.pasteIncoming&&(m=tc(m.line,Math.min(ce(f,m.line).text.length,m.ch+(h.length-j))));var n=a.curOp.updateInput;return mc(a.doc,{from:l,to:m,text:kf(h.slice(j)),origin:a.state.pasteIncoming?"paste":"+input"},"end"),a.curOp.updateInput=n,h.length>1e3||h.indexOf("\n")>-1?c.value=a.display.prevInput="":a.display.prevInput=h,i&&zb(a),a.state.pasteIncoming=!1,!0}function Hb(a,c){var e,f,g=a.doc;if(uc(g.sel.from,g.sel.to))c&&(a.display.prevInput=a.display.input.value="",b&&!d&&(a.display.inputHasSelection=null));else{a.display.prevInput="",e=mf&&(g.sel.to.line-g.sel.from.line>100||(f=a.getSelection()).length>1e3);var h=e?"-":f||a.getSelection();a.display.input.value=h,a.state.focused&&Qe(a.display.input),b&&!d&&(a.display.inputHasSelection=h)}a.display.inaccurateSelection=e}function Ib(a){"nocursor"==a.options.readOnly||o&&document.activeElement==a.display.input||a.display.input.focus()}function Jb(a){return a.options.readOnly||a.doc.cantEdit}function Kb(a){function d(){a.state.focused&&setTimeout(Ve(Ib,a),0)}function e(){c.cachedCharWidth=c.cachedTextHeight=null,mb(a),Cb(a,Ve(Db,a))}function f(){for(var a=c.wrapper.parentNode;a&&a!=document.body;a=a.parentNode);a?setTimeout(f,5e3):Ce(window,"resize",e)}function g(b){a.options.onDragEvent&&a.options.onDragEvent(a,ve(b))||ye(b)}function h(){c.inaccurateSelection&&(c.prevInput="",c.inaccurateSelection=!1,c.input.value=a.getSelection(),Qe(c.input))}var c=a.display;Be(c.scroller,"mousedown",Ab(a,Pb)),b?Be(c.scroller,"dblclick",Ab(a,function(b){var c=Mb(a,b);if(c&&!Rb(a,b)&&!Lb(a.display,b)){we(b);var d=Qc(ce(a.doc,c.line).text,c);Bc(a.doc,d.from,d.to)}})):Be(c.scroller,"dblclick",we),Be(c.lineSpace,"selectstart",function(a){Lb(c,a)||we(a)}),t||Be(c.scroller,"contextmenu",function(b){hc(a,b)}),Be(c.scroller,"scroll",function(){c.scroller.clientHeight&&(Tb(a,c.scroller.scrollTop),Ub(a,c.scroller.scrollLeft,!0),De(a,"scroll",a))}),Be(c.scrollbarV,"scroll",function(){c.scroller.clientHeight&&Tb(a,c.scrollbarV.scrollTop)}),Be(c.scrollbarH,"scroll",function(){c.scroller.clientHeight&&Ub(a,c.scrollbarH.scrollLeft)}),Be(c.scroller,"mousewheel",function(b){Xb(a,b)}),Be(c.scroller,"DOMMouseScroll",function(b){Xb(a,b)}),Be(c.scrollbarH,"mousedown",d),Be(c.scrollbarV,"mousedown",d),Be(c.wrapper,"scroll",function(){c.wrapper.scrollTop=c.wrapper.scrollLeft=0}),Be(window,"resize",e),setTimeout(f,5e3),Be(c.input,"keyup",Ab(a,function(b){a.options.onKeyEvent&&a.options.onKeyEvent(a,ve(b))||16==b.keyCode&&(a.doc.sel.shift=!1)})),Be(c.input,"input",Ve(Fb,a)),Be(c.input,"keydown",Ab(a,cc)),Be(c.input,"keypress",Ab(a,dc)),Be(c.input,"focus",Ve(ec,a)),Be(c.input,"blur",Ve(fc,a)),a.options.dragDrop&&(Be(c.scroller,"dragstart",function(b){Sb(a,b)}),Be(c.scroller,"dragenter",g),Be(c.scroller,"dragover",g),Be(c.scroller,"drop",Ab(a,Qb))),Be(c.scroller,"paste",function(b){Lb(c,b)||(Ib(a),Fb(a))}),Be(c.input,"paste",function(){a.state.pasteIncoming=!0,Fb(a)}),Be(c.input,"cut",h),Be(c.input,"copy",h),j&&Be(c.sizer,"mouseup",function(){document.activeElement==c.input&&c.input.blur(),Ib(a)})}function Lb(a,b){for(var c=ze(b);c!=a.wrapper;c=c.parentNode){if(!c)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(c.className)||c.parentNode==a.sizer&&c!=a.mover)return!0}}function Mb(a,b,c){var d=a.display;if(!c){var e=ze(b);if(e==d.scrollbarH||e==d.scrollbarH.firstChild||e==d.scrollbarV||e==d.scrollbarV.firstChild||e==d.scrollbarFiller)return null}var f,g,h=cf(d.lineSpace);try{f=b.clientX,g=b.clientY}catch(b){return null}return sb(a,f-h.left,g-h.top)}function Pb(a){function q(a){if(!uc(p,a)){if(p=a,"single"==j)return Bc(c.doc,yc(f,h),a),void 0;if(n=yc(f,n),o=yc(f,o),"double"==j){var b=Qc(ce(f,a.line).text,a);vc(a,n)?Bc(c.doc,b.from,o):Bc(c.doc,n,b.to)}else"triple"==j&&(vc(a,n)?Bc(c.doc,o,yc(f,tc(a.line,0))):Bc(c.doc,n,yc(f,tc(a.line+1,0))))}}function u(a){var b=++s,e=Mb(c,a,!0);if(e)if(uc(e,l)){var h=a.clientY<r.top?-20:a.clientY>r.bottom?20:0;h&&setTimeout(Ab(c,function(){s==b&&(d.scroller.scrollTop+=h,u(a))}),50)}else{c.state.focused||ec(c),l=e,q(e);var g=K(d,f);(e.line>=g.to||e.line<g.from)&&setTimeout(Ab(c,function(){s==b&&u(a)}),150)}}function v(a){s=1/0;var b=Mb(c,a);b&&q(b),we(a),Ib(c),Ce(document,"mousemove",w),Ce(document,"mouseup",x)}var c=this,d=c.display,f=c.doc,g=f.sel;if(g.shift=a.shiftKey,Lb(d,a))return e||(d.scroller.draggable=!1,setTimeout(function(){d.scroller.draggable=!0},100)),void 0;if(!Rb(c,a)){var h=Mb(c,a);switch(Ae(a)){case 3:return t&&hc.call(c,c,a),void 0;case 2:return h&&Bc(c.doc,h),setTimeout(Ve(Ib,c),20),we(a),void 0}if(!h)return ze(a)==d.scroller&&we(a),void 0;c.state.focused||ec(c);var i=+new Date,j="single";if(Ob&&Ob.time>i-400&&uc(Ob.pos,h))j="triple",we(a),setTimeout(Ve(Ib,c),20),Rc(c,h.line);else if(Nb&&Nb.time>i-400&&uc(Nb.pos,h)){j="double",Ob={time:i,pos:h},we(a);var k=Qc(ce(f,h.line).text,h);Bc(c.doc,k.from,k.to)}else Nb={time:i,pos:h};var l=h;if(c.options.dragDrop&&df&&!Jb(c)&&!uc(g.from,g.to)&&!vc(h,g.from)&&!vc(g.to,h)&&"single"==j){var m=Ab(c,function(b){e&&(d.scroller.draggable=!1),c.state.draggingText=!1,Ce(document,"mouseup",m),Ce(d.scroller,"drop",m),10>Math.abs(a.clientX-b.clientX)+Math.abs(a.clientY-b.clientY)&&(we(b),Bc(c.doc,h),Ib(c))});return e&&(d.scroller.draggable=!0),c.state.draggingText=m,d.scroller.dragDrop&&d.scroller.dragDrop(),Be(document,"mouseup",m),Be(d.scroller,"drop",m),void 0}we(a),"single"==j&&Bc(c.doc,yc(f,h));var n=g.from,o=g.to,p=h,r=cf(d.wrapper),s=0,w=Ab(c,function(a){b||Ae(a)?u(a):v(a)}),x=Ab(c,v);Be(document,"mousemove",w),Be(document,"mouseup",x)}}function Qb(a){var b=this;if(!(Lb(b.display,a)||b.options.onDragEvent&&b.options.onDragEvent(b,ve(a)))){we(a);var c=Mb(b,a,!0),d=a.dataTransfer.files;if(c&&!Jb(b))if(d&&d.length&&window.FileReader&&window.File)for(var e=d.length,f=Array(e),g=0,h=function(a,d){var h=new FileReader;h.onload=function(){f[d]=h.result,++g==e&&(c=yc(b.doc,c),mc(b.doc,{from:c,to:c,text:kf(f.join("\n")),origin:"paste"},"around"))},h.readAsText(a)},i=0;e>i;++i)h(d[i],i);else{if(b.state.draggingText&&!vc(c,b.doc.sel.from)&&!vc(b.doc.sel.to,c))return b.state.draggingText(a),setTimeout(Ve(Ib,b),20),void 0;try{var f=a.dataTransfer.getData("Text");
2
+ if(f){var j=b.doc.sel.from,k=b.doc.sel.to;Dc(b.doc,c,c),b.state.draggingText&&sc(b.doc,"",j,k,"paste"),b.replaceSelection(f,null,"paste"),Ib(b),ec(b)}}catch(a){}}}}function Rb(a,b){var c=a.display;try{var d=b.clientX,e=b.clientY}catch(b){return!1}if(d>=Math.floor(cf(c.gutters).right))return!1;if(we(b),!Ie(a,"gutterClick"))return!0;var f=cf(c.lineDiv);if(e>f.bottom)return!0;e-=f.top-c.viewOffset;for(var g=0;a.options.gutters.length>g;++g){var h=c.gutters.childNodes[g];if(h&&cf(h).right>=d){var i=he(a.doc,e),j=a.options.gutters[g];Ge(a,"gutterClick",a,i,j,b);break}}return!0}function Sb(a,c){if(b&&!a.state.draggingText)return ye(c),void 0;if(!Lb(a.display,c)){var d=a.getSelection();if(c.dataTransfer.setData("Text",d),c.dataTransfer.setDragImage){var e=$e("img",null,null,"position: fixed; left: 0; top: 0;");h&&(e.width=e.height=1,a.display.wrapper.appendChild(e),e._top=e.offsetTop),i&&(a.display.dragImg?e=a.display.dragImg:(a.display.dragImg=e,e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",a.display.wrapper.appendChild(e))),c.dataTransfer.setDragImage(e,0,0),h&&e.parentNode.removeChild(e)}}}function Tb(b,c){2>Math.abs(b.doc.scrollTop-c)||(b.doc.scrollTop=c,a||P(b,[],c),b.display.scroller.scrollTop!=c&&(b.display.scroller.scrollTop=c),b.display.scrollbarV.scrollTop!=c&&(b.display.scrollbarV.scrollTop=c),a&&P(b,[]))}function Ub(a,b,c){(c?b==a.doc.scrollLeft:2>Math.abs(a.doc.scrollLeft-b))||(b=Math.min(b,a.display.scroller.scrollWidth-a.display.scroller.clientWidth),a.doc.scrollLeft=b,L(a),a.display.scroller.scrollLeft!=b&&(a.display.scroller.scrollLeft=b),a.display.scrollbarH.scrollLeft!=b&&(a.display.scrollbarH.scrollLeft=b))}function Xb(b,c){var d=c.wheelDeltaX,f=c.wheelDeltaY;null==d&&c.detail&&c.axis==c.HORIZONTAL_AXIS&&(d=c.detail),null==f&&c.detail&&c.axis==c.VERTICAL_AXIS?f=c.detail:null==f&&(f=c.wheelDelta);var g=b.display,i=g.scroller;if(d&&i.scrollWidth>i.clientWidth||f&&i.scrollHeight>i.clientHeight){if(f&&p&&e)for(var j=c.target;j!=i;j=j.parentNode)if(j.lineObj){b.display.currentWheelTarget=j;break}if(d&&!a&&!h&&null!=Wb)return f&&Tb(b,Math.max(0,Math.min(i.scrollTop+f*Wb,i.scrollHeight-i.clientHeight))),Ub(b,Math.max(0,Math.min(i.scrollLeft+d*Wb,i.scrollWidth-i.clientWidth))),we(c),g.wheelStartX=null,void 0;if(f&&null!=Wb){var k=f*Wb,l=b.doc.scrollTop,m=l+g.wrapper.clientHeight;0>k?l=Math.max(0,l+k-50):m=Math.min(b.doc.height,m+k+50),P(b,[],{top:l,bottom:m})}20>Vb&&(null==g.wheelStartX?(g.wheelStartX=i.scrollLeft,g.wheelStartY=i.scrollTop,g.wheelDX=d,g.wheelDY=f,setTimeout(function(){if(null!=g.wheelStartX){var a=i.scrollLeft-g.wheelStartX,b=i.scrollTop-g.wheelStartY,c=b&&g.wheelDY&&b/g.wheelDY||a&&g.wheelDX&&a/g.wheelDX;g.wheelStartX=g.wheelStartY=null,c&&(Wb=(Wb*Vb+c)/(Vb+1),++Vb)}},200)):(g.wheelDX+=d,g.wheelDY+=f))}}function Yb(a,b,c){if("string"==typeof b&&(b=ad[b],!b))return!1;a.display.pollingFast&&Gb(a)&&(a.display.pollingFast=!1);var d=a.doc,e=d.sel.shift,f=!1;try{Jb(a)&&(a.state.suppressEdits=!0),c&&(d.sel.shift=!1),f=b(a)!=Ke}finally{d.sel.shift=e,a.state.suppressEdits=!1}return f}function Zb(a){var b=a.state.keyMaps.slice(0);return a.options.extraKeys&&b.push(a.options.extraKeys),b.push(a.options.keyMap),b}function _b(a,b){var c=cd(a.options.keyMap),e=c.auto;clearTimeout($b),e&&!ed(b)&&($b=setTimeout(function(){cd(a.options.keyMap)==c&&(a.options.keyMap=e.call?e.call(null,a):e)},50));var f=fd(b,!0),g=!1;if(!f)return!1;var h=Zb(a);return g=b.shiftKey?dd("Shift-"+f,h,function(b){return Yb(a,b,!0)})||dd(f,h,function(b){return"string"==typeof b&&/^go[A-Z]/.test(b)?Yb(a,b):void 0}):dd(f,h,function(b){return Yb(a,b)}),"stop"==g&&(g=!1),g&&(we(b),$(a),d&&(b.oldKeyCode=b.keyCode,b.keyCode=0)),g}function ac(a,b,c){var d=dd("'"+c+"'",Zb(a),function(b){return Yb(a,b,!0)});return d&&(we(b),$(a)),d}function cc(a){var c=this;if(c.state.focused||ec(c),b&&27==a.keyCode&&(a.returnValue=!1),!c.options.onKeyEvent||!c.options.onKeyEvent(c,ve(a))){var d=a.keyCode;c.doc.sel.shift=16==d||a.shiftKey;var e=_b(c,a);h&&(bc=e?d:null,!e&&88==d&&!mf&&(p?a.metaKey:a.ctrlKey)&&c.replaceSelection(""))}}function dc(a){var c=this;if(!c.options.onKeyEvent||!c.options.onKeyEvent(c,ve(a))){var e=a.keyCode,f=a.charCode;if(h&&e==bc)return bc=null,we(a),void 0;if(!(h&&(!a.which||10>a.which)||j)||!_b(c,a)){var g=String.fromCharCode(null==f?e:f);this.options.electricChars&&this.doc.mode.electricChars&&this.options.smartIndent&&!Jb(this)&&this.doc.mode.electricChars.indexOf(g)>-1&&setTimeout(Ab(c,function(){Mc(c,c.doc.sel.to.line,"smart")}),75),ac(c,a,g)||(b&&!d&&(c.display.inputHasSelection=null),Fb(c))}}}function ec(a){"nocursor"!=a.options.readOnly&&(a.state.focused||(De(a,"focus",a),a.state.focused=!0,-1==a.display.wrapper.className.search(/\bCodeMirror-focused\b/)&&(a.display.wrapper.className+=" CodeMirror-focused"),Hb(a,!0)),Eb(a),$(a))}function fc(a){a.state.focused&&(De(a,"blur",a),a.state.focused=!1,a.display.wrapper.className=a.display.wrapper.className.replace(" CodeMirror-focused","")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.doc.sel.shift=!1)},150)}function hc(a,c){function k(){if(e.inputDiv.style.position="relative",e.input.style.cssText=j,d&&(e.scrollbarV.scrollTop=e.scroller.scrollTop=i),Eb(a),null!=e.input.selectionStart&&(!b||d)){clearTimeout(gc);var c=e.input.value=" "+(uc(f.from,f.to)?"":e.input.value),g=0;e.prevInput=" ",e.input.selectionStart=1,e.input.selectionEnd=c.length;var h=function(){" "==e.prevInput&&0==e.input.selectionStart?Ab(a,ad.selectAll)(a):10>g++?gc=setTimeout(h,500):Hb(a)};gc=setTimeout(h,200)}}var e=a.display,f=a.doc.sel;if(!Lb(e,c)){var g=Mb(a,c),i=e.scroller.scrollTop;if(g&&!h){(uc(f.from,f.to)||vc(g,f.from)||!vc(g,f.to))&&Ab(a,Dc)(a.doc,g,g);var j=e.input.style.cssText;if(e.inputDiv.style.position="absolute",e.input.style.cssText="position: fixed; width: 30px; height: 30px; top: "+(c.clientY-5)+"px; left: "+(c.clientX-5)+"px; z-index: 1000; background: white; outline: none;"+"border-width: 0; outline: none; overflow: hidden; opacity: .05; -ms-opacity: .05; filter: alpha(opacity=5);",Ib(a),Hb(a,!0),uc(f.from,f.to)&&(e.input.value=e.prevInput=" "),t){ye(c);var l=function(){Ce(window,"mouseup",l),setTimeout(k,20)};Be(window,"mouseup",l)}else setTimeout(k,50)}}}function ic(a){return a.text?tc(a.from.line+a.text.length-1,Pe(a.text).length+(1==a.text.length?a.from.ch:0)):a.to}function jc(a,b,c){if(!vc(b.from,c))return yc(a,c);var d=b.text.length-1-(b.to.line-b.from.line);if(c.line>b.to.line+d){var e=c.line-d,f=a.first+a.size-1;return e>f?tc(f,ce(a,f).text.length):zc(c,ce(a,e).text.length)}if(c.line==b.to.line+d)return zc(c,Pe(b.text).length+(1==b.text.length?b.from.ch:0)+ce(a,b.to.line).text.length-b.to.ch);var g=c.line-b.from.line;return zc(c,b.text[g].length+(g?0:b.from.ch))}function kc(a,b,c){if(c&&"object"==typeof c)return{anchor:jc(a,b,c.anchor),head:jc(a,b,c.head)};if("start"==c)return{anchor:b.from,head:b.from};var d=ic(b);if("around"==c)return{anchor:b.from,head:d};if("end"==c)return{anchor:d,head:d};var e=function(a){if(vc(a,b.from))return a;if(!vc(b.to,a))return d;var c=a.line+b.text.length-(b.to.line-b.from.line)-1,e=a.ch;return a.line==b.to.line&&(e+=d.ch-b.to.ch),tc(c,e)};return{anchor:e(a.sel.anchor),head:e(a.sel.head)}}function lc(a,b){var c={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,update:function(b,c,d,e){b&&(this.from=yc(a,b)),c&&(this.to=yc(a,c)),d&&(this.text=d),void 0!==e&&(this.origin=e)},cancel:function(){this.canceled=!0}};return De(a,"beforeChange",a,c),a.cm&&De(a.cm,"beforeChange",a.cm,c),c.canceled?null:{from:c.from,to:c.to,text:c.text,origin:c.origin}}function mc(a,b,c,d){if(a.cm){if(!a.cm.curOp)return Ab(a.cm,mc)(a,b,c,d);if(a.cm.state.suppressEdits)return}if(!(Ie(a,"beforeChange")||a.cm&&Ie(a.cm,"beforeChange"))||(b=lc(a,b))){var e=u&&!d&&sd(a,b.from,b.to);if(e){for(var f=e.length-1;f>=1;--f)nc(a,{from:e[f].from,to:e[f].to,text:[""]});e.length&&nc(a,{from:e[0].from,to:e[0].to,text:b.text},c)}else nc(a,b,c)}}function nc(a,b,c){var d=kc(a,b,c);ne(a,b,d,a.cm?a.cm.curOp.id:0/0),qc(a,b,d,qd(a,b));var e=[];ae(a,function(a,c){c||-1!=Re(e,a.history)||(te(a.history,b),e.push(a.history)),qc(a,b,null,qd(a,b))})}function oc(a,b){if(!a.cm||!a.cm.state.suppressEdits){var c=a.history,d=("undo"==b?c.done:c.undone).pop();if(d){c.dirtyCounter+="undo"==b?-1:1;var e={changes:[],anchorBefore:d.anchorAfter,headBefore:d.headAfter,anchorAfter:d.anchorBefore,headAfter:d.headBefore};("undo"==b?c.undone:c.done).push(e);for(var f=d.changes.length-1;f>=0;--f){var g=d.changes[f];g.origin=b,e.changes.push(me(a,g));var h=f?kc(a,g,null):{anchor:d.anchorBefore,head:d.headBefore};qc(a,g,h,rd(a,g));var i=[];ae(a,function(a,b){b||-1!=Re(i,a.history)||(te(a.history,g),i.push(a.history)),qc(a,g,null,rd(a,g))})}}}}function pc(a,b){function c(a){return tc(a.line+b,a.ch)}a.first+=b,a.cm&&Db(a.cm,a.first,a.first,b),a.sel.head=c(a.sel.head),a.sel.anchor=c(a.sel.anchor),a.sel.from=c(a.sel.from),a.sel.to=c(a.sel.to)}function qc(a,b,c,d){if(a.cm&&!a.cm.curOp)return Ab(a.cm,qc)(a,b,c,d);if(b.to.line<a.first)return pc(a,b.text.length-1-(b.to.line-b.from.line)),void 0;if(!(b.from.line>a.lastLine())){if(b.from.line<a.first){var e=b.text.length-1-(a.first-b.from.line);pc(a,e),b={from:tc(a.first,0),to:tc(b.to.line+e,b.to.ch),text:[Pe(b.text)],origin:b.origin}}var f=a.lastLine();b.to.line>f&&(b={from:b.from,to:tc(f,ce(a,f).text.length),text:[b.text[0]],origin:b.origin}),b.removed=de(a,b.from,b.to),c||(c=kc(a,b,null)),a.cm?rc(a.cm,b,d,c):Vd(a,b,d,c)}}function rc(a,b,c,d){var e=a.doc,f=a.display,g=b.from,h=b.to,i=!1,j=g.line;a.options.lineWrapping||(j=ge(wd(e,ce(e,g.line))),e.iter(j,h.line+1,function(a){return a==f.maxLine?(i=!0,!0):void 0})),vc(e.sel.head,b.from)||vc(b.to,e.sel.head)||(a.curOp.cursorActivity=!0),Vd(e,b,c,d,A(a)),a.options.lineWrapping||(e.iter(j,g.line+b.text.length,function(a){var b=G(e,a);b>f.maxLineLength&&(f.maxLine=a,f.maxLineLength=b,f.maxLineChanged=!0,i=!1)}),i&&(a.curOp.updateMaxLine=!0)),e.frontier=Math.min(e.frontier,g.line),_(a,400);var k=b.text.length-(h.line-g.line)-1;if(Db(a,g.line,h.line+1,k),Ie(a,"change")){var l={from:g,to:h,text:b.text,removed:b.removed,origin:b.origin};if(a.curOp.textChanged){for(var m=a.curOp.textChanged;m.next;m=m.next);m.next=l}else a.curOp.textChanged=l}}function sc(a,b,c,d,e){if(d||(d=c),vc(d,c)){var f=d;d=c,c=f}"string"==typeof b&&(b=kf(b)),mc(a,{from:c,to:d,text:b,origin:e},null)}function tc(a,b){return this instanceof tc?(this.line=a,this.ch=b,void 0):new tc(a,b)}function uc(a,b){return a.line==b.line&&a.ch==b.ch}function vc(a,b){return a.line<b.line||a.line==b.line&&a.ch<b.ch}function wc(a){return tc(a.line,a.ch)}function xc(a,b){return Math.max(a.first,Math.min(b,a.first+a.size-1))}function yc(a,b){if(b.line<a.first)return tc(a.first,0);var c=a.first+a.size-1;return b.line>c?tc(c,ce(a,c).text.length):zc(b,ce(a,b.line).text.length)}function zc(a,b){var c=a.ch;return null==c||c>b?tc(a.line,b):0>c?tc(a.line,0):a}function Ac(a,b){return b>=a.first&&a.first+a.size>b}function Bc(a,b,c,d){if(a.sel.shift||a.sel.extend){var e=a.sel.anchor;if(c){var f=vc(b,e);f!=vc(c,e)?(e=b,b=c):f!=vc(b,c)&&(b=c)}Dc(a,e,b,d)}else Dc(a,b,c||b,d);a.cm&&(a.cm.curOp.userSelChange=!0)}function Cc(a,b,c){var d={anchor:b,head:c};return De(a,"beforeSelectionChange",a,d),a.cm&&De(a.cm,"beforeSelectionChange",a.cm,d),d.anchor=yc(a,d.anchor),d.head=yc(a,d.head),d}function Dc(a,b,c,d,e){if(!e&&Ie(a,"beforeSelectionChange")||a.cm&&Ie(a.cm,"beforeSelectionChange")){var f=Cc(a,b,c);c=f.head,b=f.anchor}var g=a.sel;if(g.goalColumn=null,(e||!uc(b,g.anchor))&&(b=Fc(a,b,d,"push"!=e)),(e||!uc(c,g.head))&&(c=Fc(a,c,d,"push"!=e)),!uc(g.anchor,b)||!uc(g.head,c)){g.anchor=b,g.head=c;var h=vc(c,b);g.from=h?c:b,g.to=h?b:c,a.cm&&(a.cm.curOp.updateInput=a.cm.curOp.selectionChanged=a.cm.curOp.cursorActivity=!0),Ge(a,"cursorActivity",a)}}function Ec(a){Dc(a.doc,a.doc.sel.from,a.doc.sel.to,null,"push")}function Fc(a,b,c,d){var e=!1,f=b,g=c||1;a.cantEdit=!1;a:for(;;){var h=ce(a,f.line);if(h.markedSpans)for(var i=0;h.markedSpans.length>i;++i){var j=h.markedSpans[i],k=j.marker;if((null==j.from||(k.inclusiveLeft?j.from<=f.ch:j.from<f.ch))&&(null==j.to||(k.inclusiveRight?j.to>=f.ch:j.to>f.ch))){if(d&&(De(k,"beforeCursorEnter"),k.explicitlyCleared)){if(h.markedSpans){--i;continue}break}if(!k.atomic)continue;var l=k.find()[0>g?"from":"to"];if(uc(l,f)&&(l.ch+=g,0>l.ch?l=l.line>a.first?yc(a,tc(l.line-1)):null:l.ch>h.text.length&&(l=l.line<a.first+a.size-1?tc(l.line+1,0):null),!l)){if(e)return d?(a.cantEdit=!0,tc(a.first,0)):Fc(a,b,c,!0);e=!0,l=b,g=-g}f=l;continue a}}return f}}function Gc(a){var b=Hc(a,a.doc.sel.head,a.options.cursorScrollMargin);if(a.state.focused){var c=a.display,d=cf(c.sizer),e=null,f=db(a.display);if(0>b.top+f+d.top?e=!0:b.bottom+f+d.top>(window.innerHeight||document.documentElement.clientHeight)&&(e=!1),null!=e&&!m){var g="none"==c.cursor.style.display;g&&(c.cursor.style.display="",c.cursor.style.left=b.left+"px",c.cursor.style.top=b.top-c.viewOffset+"px"),c.cursor.scrollIntoView(e),g&&(c.cursor.style.display="none")}}}function Hc(a,b,c){for(null==c&&(c=0);;){var d=!1,e=qb(a,b),f=Jc(a,e.left,e.top-c,e.left,e.bottom+c),g=a.doc.scrollTop,h=a.doc.scrollLeft;if(null!=f.scrollTop&&(Tb(a,f.scrollTop),Math.abs(a.doc.scrollTop-g)>1&&(d=!0)),null!=f.scrollLeft&&(Ub(a,f.scrollLeft),Math.abs(a.doc.scrollLeft-h)>1&&(d=!0)),!d)return e}}function Ic(a,b,c,d,e){var f=Jc(a,b,c,d,e);null!=f.scrollTop&&Tb(a,f.scrollTop),null!=f.scrollLeft&&Ub(a,f.scrollLeft)}function Jc(a,b,c,d,e){var f=a.display,g=db(f);c+=g,e+=g,0>c&&(c=0);var h=f.scroller.clientHeight-Je,i=f.scroller.scrollTop,j={},k=a.doc.height+eb(f),l=g+10>c,m=e+g>k-10;if(i>c)j.scrollTop=l?0:c;else if(e>i+h){var n=Math.min(c,(m?k:e)-h);n!=i&&(j.scrollTop=n)}var o=f.scroller.clientWidth-Je,p=f.scroller.scrollLeft;b+=f.gutters.offsetWidth,d+=f.gutters.offsetWidth;var q=f.gutters.offsetWidth,r=q+10>b;return p+q>b||r?(r&&(b=0),j.scrollLeft=Math.max(0,b-10-q)):d>o+p-3&&(j.scrollLeft=d+10-o),j}function Kc(a,b,c){a.curOp.updateScrollPos={scrollLeft:null==b?a.doc.scrollLeft:b,scrollTop:null==c?a.doc.scrollTop:c}}function Lc(a,b,c){var d=a.curOp.updateScrollPos||(a.curOp.updateScrollPos={scrollLeft:a.doc.scrollLeft,scrollTop:a.doc.scrollTop}),e=a.display.scroller;d.scrollTop=Math.max(0,Math.min(e.scrollHeight-e.clientHeight,d.scrollTop+c)),d.scrollLeft=Math.max(0,Math.min(e.scrollWidth-e.clientWidth,d.scrollLeft+b))}function Mc(a,b,c,d){var e=a.doc;if(c||(c="add"),"smart"==c)if(a.doc.mode.indent)var f=cb(a,b);else c="prev";var k,g=a.options.tabSize,h=ce(e,b),i=Me(h.text,null,g),j=h.text.match(/^\s*/)[0];if("smart"==c&&(k=a.doc.mode.indent(f,h.text.slice(j.length),h.text),k==Ke)){if(!d)return;c="prev"}"prev"==c?k=b>e.first?Me(ce(e,b-1).text,null,g):0:"add"==c?k=i+a.options.indentUnit:"subtract"==c&&(k=i-a.options.indentUnit),k=Math.max(0,k);var l="",m=0;if(a.options.indentWithTabs)for(var n=Math.floor(k/g);n;--n)m+=g,l+=" ";k>m&&(l+=Oe(k-m)),l!=j&&sc(a.doc,l,tc(b,0),tc(b,j.length),"+input"),h.stateAfter=null}function Nc(a,b,c){var d=b,e=b,f=a.doc;return"number"==typeof b?e=ce(f,xc(f,b)):d=ge(b),null==d?null:c(e,d)?(Db(a,d,d+1),e):null}function Oc(a,b,c,d,e){function j(){var b=f+c;return a.first>b||b>=a.first+a.size?i=!1:(f=b,h=ce(a,b))}function k(a){var b=(e?vf:wf)(h,g,c,!0);if(null==b){if(a||!j())return i=!1;g=e?(0>c?sf:rf)(h):0>c?h.text.length:0}else g=b;return!0}var f=b.line,g=b.ch,h=ce(a,f),i=!0;if("char"==d)k();else if("column"==d)k(!0);else if("word"==d||"group"==d)for(var l=null,m="group"==d,n=!0;!(0>c)||k(!n);n=!1){var o=h.text.charAt(g)||"\n",p=Xe(o)?"w":m?/\s/.test(o)?null:"p":null;if(l&&l!=p){0>c&&(c=1,k());break}if(p&&(l=p),c>0&&!k(!n))break}var q=Fc(a,tc(f,g),c,!0);return i||(q.hitSide=!0),q}function Pc(a,b,c,d){var g,e=a.doc,f=b.left;if("page"==d){var h=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);g=b.top+c*(h-(0>c?1.5:.5)*vb(a.display))}else"line"==d&&(g=c>0?b.bottom+3:b.top-3);for(;;){var i=sb(a,f,g);if(!i.outside)break;if(0>c?0>=g:g>=e.height){i.hitSide=!0;break}g+=5*c}return i}function Qc(a,b){var c=b.ch,d=b.ch;if(a){b.after===!1||d==a.length?--c:++d;for(var e=a.charAt(c),f=Xe(e)?Xe:/\s/.test(e)?function(a){return/\s/.test(a)}:function(a){return!/\s/.test(a)&&!Xe(a)};c>0&&f(a.charAt(c-1));)--c;for(;a.length>d&&f(a.charAt(d));)++d}return{from:tc(b.line,c),to:tc(b.line,d)}}function Rc(a,b){Bc(a.doc,tc(b,0),yc(a.doc,tc(b+1,0)))}function Uc(a,b,c,d){w.defaults[a]=b,c&&(Sc[a]=d?function(a,b,d){d!=Vc&&c(a,b,d)}:c)}function $c(a,b){if(b===!0)return b;if(a.copyState)return a.copyState(b);var c={};for(var d in b){var e=b[d];e instanceof Array&&(e=e.concat([])),c[d]=e}return c}function _c(a,b,c){return a.startState?a.startState(b,c):!0}function cd(a){return"string"==typeof a?bd[a]:a}function dd(a,b,c){function d(b){b=cd(b);var e=b[a];if(e===!1)return"stop";if(null!=e&&c(e))return!0;if(b.nofallthrough)return"stop";var f=b.fallthrough;if(null==f)return!1;if("[object Array]"!=Object.prototype.toString.call(f))return d(f);for(var g=0,h=f.length;h>g;++g){var i=d(f[g]);if(i)return i}return!1}for(var e=0;b.length>e;++e){var f=d(b[e]);if(f)return f}}function ed(a){var b=nf[a.keyCode];return"Ctrl"==b||"Alt"==b||"Shift"==b||"Mod"==b}function fd(a,b){if(h&&34==a.keyCode&&a["char"])return!1;var c=nf[a.keyCode];return null==c||a.altGraphKey?!1:(a.altKey&&(c="Alt-"+c),(s?a.metaKey:a.ctrlKey)&&(c="Ctrl-"+c),(s?a.ctrlKey:a.metaKey)&&(c="Cmd-"+c),!b&&a.shiftKey&&(c="Shift-"+c),c)}function gd(a,b){this.pos=this.start=0,this.string=a,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0}function hd(a,b){this.lines=[],this.type=b,this.doc=a}function id(a,b,c,d,e){if(d&&d.shared)return kd(a,b,c,d,e);if(a.cm&&!a.cm.curOp)return Ab(a.cm,id)(a,b,c,d,e);var f=new hd(a,e);if("range"==e&&!vc(b,c))return f;d&&Te(d,f),f.replacedWith&&(f.collapsed=!0,f.replacedWith=$e("span",[f.replacedWith],"CodeMirror-widget")),f.collapsed&&(v=!0),f.addToHistory&&ne(a,{from:b,to:c,origin:"markText"},{head:a.sel.head,anchor:a.sel.anchor},0/0);var i,j,l,g=b.line,h=0,k=a.cm;if(a.iter(g,c.line+1,function(d){k&&f.collapsed&&!k.options.lineWrapping&&wd(a,d)==k.display.maxLine&&(l=!0);var e={from:null,to:null,marker:f};h+=d.text.length,g==b.line&&(e.from=b.ch,h-=b.ch),g==c.line&&(e.to=c.ch,h-=d.text.length-c.ch),f.collapsed&&(g==c.line&&(j=td(d,c.ch)),g==b.line?i=td(d,b.ch):fe(d,0)),nd(d,e),++g}),f.collapsed&&a.iter(b.line,c.line+1,function(b){xd(a,b)&&fe(b,0)}),f.clearOnEnter&&Be(f,"beforeCursorEnter",function(){f.clear()}),f.readOnly&&(u=!0,(a.history.done.length||a.history.undone.length)&&a.clearHistory()),f.collapsed){if(i!=j)throw Error("Inserting collapsed marker overlapping an existing one");f.size=h,f.atomic=!0}return k&&(l&&(k.curOp.updateMaxLine=!0),(f.className||f.startStyle||f.endStyle||f.collapsed)&&Db(k,b.line,c.line+1),f.atomic&&Ec(k)),f}function jd(a,b){this.markers=a,this.primary=b;for(var c=0,d=this;a.length>c;++c)a[c].parent=this,Be(a[c],"clear",function(){d.clear()})}function kd(a,b,c,d,e){d=Te(d),d.shared=!1;var f=[id(a,b,c,d,e)],g=f[0],h=d.replacedWith;return ae(a,function(a){h&&(d.replacedWith=h.cloneNode(!0)),f.push(id(a,yc(a,b),yc(a,c),d,e));for(var i=0;a.linked.length>i;++i)if(a.linked[i].isParent)return;g=Pe(f)}),new jd(f,g)}function ld(a,b){if(a)for(var c=0;a.length>c;++c){var d=a[c];if(d.marker==b)return d}}function md(a,b){for(var c,d=0;a.length>d;++d)a[d]!=b&&(c||(c=[])).push(a[d]);return c}function nd(a,b){a.markedSpans=a.markedSpans?a.markedSpans.concat([b]):[b],b.marker.attachLine(a)}function od(a,b,c){if(a)for(var e,d=0;a.length>d;++d){var f=a[d],g=f.marker,h=null==f.from||(g.inclusiveLeft?b>=f.from:b>f.from);if(h||"bookmark"==g.type&&f.from==b&&(!c||!f.marker.insertLeft)){var i=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);(e||(e=[])).push({from:f.from,to:i?null:f.to,marker:g})}}return e}function pd(a,b,c){if(a)for(var e,d=0;a.length>d;++d){var f=a[d],g=f.marker,h=null==f.to||(g.inclusiveRight?f.to>=b:f.to>b);if(h||"bookmark"==g.type&&f.from==b&&(!c||f.marker.insertLeft)){var i=null==f.from||(g.inclusiveLeft?b>=f.from:b>f.from);(e||(e=[])).push({from:i?null:f.from-b,to:null==f.to?null:f.to-b,marker:g})}}return e}function qd(a,b){var c=Ac(a,b.from.line)&&ce(a,b.from.line).markedSpans,d=Ac(a,b.to.line)&&ce(a,b.to.line).markedSpans;if(!c&&!d)return null;var e=b.from.ch,f=b.to.ch,g=uc(b.from,b.to),h=od(c,e,g),i=pd(d,f,g),j=1==b.text.length,k=Pe(b.text).length+(j?e:0);if(h)for(var l=0;h.length>l;++l){var m=h[l];if(null==m.to){var n=ld(i,m.marker);n?j&&(m.to=null==n.to?null:n.to+k):m.to=e}}if(i)for(var l=0;i.length>l;++l){var m=i[l];if(null!=m.to&&(m.to+=k),null==m.from){var n=ld(h,m.marker);n||(m.from=k,j&&(h||(h=[])).push(m))}else m.from+=k,j&&(h||(h=[])).push(m)}var o=[h];if(!j){var q,p=b.text.length-2;if(p>0&&h)for(var l=0;h.length>l;++l)null==h[l].to&&(q||(q=[])).push({from:null,to:null,marker:h[l].marker});for(var l=0;p>l;++l)o.push(q);o.push(i)}return o}function rd(a,b){var c=pe(a,b),d=qd(a,b);if(!c)return d;if(!d)return c;for(var e=0;c.length>e;++e){var f=c[e],g=d[e];if(f&&g)a:for(var h=0;g.length>h;++h){for(var i=g[h],j=0;f.length>j;++j)if(f[j].marker==i.marker)continue a;f.push(i)}else g&&(c[e]=g)}return c}function sd(a,b,c){var d=null;if(a.iter(b.line,c.line+1,function(a){if(a.markedSpans)for(var b=0;a.markedSpans.length>b;++b){var c=a.markedSpans[b].marker;!c.readOnly||d&&-1!=Re(d,c)||(d||(d=[])).push(c)}}),!d)return null;for(var e=[{from:b,to:c}],f=0;d.length>f;++f)for(var g=d[f],h=g.find(),i=0;e.length>i;++i){var j=e[i];if(!vc(j.to,h.from)&&!vc(h.to,j.from)){var k=[i,1];(vc(j.from,h.from)||!g.inclusiveLeft&&uc(j.from,h.from))&&k.push({from:j.from,to:h.from}),(vc(h.to,j.to)||!g.inclusiveRight&&uc(j.to,h.to))&&k.push({from:h.to,to:j.to}),e.splice.apply(e,k),i+=k.length-1}}return e}function td(a,b){var d,c=v&&a.markedSpans;if(c)for(var e,f=0;c.length>f;++f)e=c[f],e.marker.collapsed&&(null==e.from||b>e.from)&&(null==e.to||e.to>b)&&(!d||d.width<e.marker.width)&&(d=e.marker);return d}function ud(a){return td(a,-1)}function vd(a){return td(a,a.text.length+1)}function wd(a,b){for(var c;c=ud(b);)b=ce(a,c.find().from.line);return b}function xd(a,b){var c=v&&b.markedSpans;if(c)for(var d,e=0;c.length>e;++e)if(d=c[e],d.marker.collapsed){if(null==d.from)return!0;if(0==d.from&&d.marker.inclusiveLeft&&yd(a,b,d))return!0}}function yd(a,b,c){if(null==c.to){var d=c.marker.find().to,e=ce(a,d.line);return yd(a,e,ld(e.markedSpans,c.marker))}if(c.marker.inclusiveRight&&c.to==b.text.length)return!0;for(var f,g=0;b.markedSpans.length>g;++g)if(f=b.markedSpans[g],f.marker.collapsed&&f.from==c.to&&(f.marker.inclusiveLeft||c.marker.inclusiveRight)&&yd(a,b,f))return!0}function zd(a){var b=a.markedSpans;if(b){for(var c=0;b.length>c;++c)b[c].marker.detachLine(a);a.markedSpans=null}}function Ad(a,b){if(b){for(var c=0;b.length>c;++c)b[c].marker.attachLine(a);a.markedSpans=b}}function Cd(a){return function(){var b=!this.cm.curOp;b&&yb(this.cm);try{var c=a.apply(this,arguments)}finally{b&&zb(this.cm)}return c}}function Dd(a){return null!=a.height?a.height:(a.node.parentNode&&1==a.node.parentNode.nodeType||af(a.cm.display.measure,$e("div",[a.node],null,"position: relative")),a.height=a.node.offsetHeight)}function Ed(a,b,c,d){var e=new Bd(a,c,d);return e.noHScroll&&(a.display.alignWidgets=!0),Nc(a,b,function(b){if((b.widgets||(b.widgets=[])).push(e),e.line=b,!xd(a.doc,b)||e.showIfHidden){var c=ie(a,b)<a.display.scroller.scrollTop;fe(b,b.height+Dd(e)),c&&Lc(a,0,e.height)}return!0}),e}function Fd(a,b,c){var d={text:a};return Ad(d,b),d.height=c?c(d):1,d}function Gd(a,b,c,d){a.text=b,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),null!=a.order&&(a.order=null),zd(a),Ad(a,c);var e=d?d(a):1;e!=a.height&&fe(a,e)}function Hd(a){a.parent=null,zd(a)}function Id(a,b,c,d,e){var f=c.flattenSpans;null==f&&(f=a.options.flattenSpans);var j,g="",h=null,i=new gd(b,a.options.tabSize);for(""==b&&c.blankLine&&c.blankLine(d);!i.eol();){i.pos>a.options.maxHighlightLength?(f=!1,i.pos=Math.min(b.length,i.start+5e4),j=null):j=c.token(i,d);var k=i.current();i.start=i.pos,f&&h==j?g+=k:(g&&e(g,h),g=k,h=j)}g&&e(g,h)}function Jd(a,b,c){var d=[a.state.modeGen];Id(a,b.text,a.doc.mode,c,function(a,b){d.push(a,b)});for(var e=0;a.state.overlays.length>e;++e){var f=a.state.overlays[e],g=1;Id(a,b.text,f.mode,!0,function(a,b){for(var c=g,e=a.length;e;){var h=d[g],i=h.length;e>=i?e-=i:(d.splice(g,1,h.slice(0,e),d[g+1],h.slice(e)),e=0),g+=2}if(b)if(f.opaque)d.splice(c,g-c,a,b),g=c+2;else for(;g>c;c+=2){var h=d[c+1];d[c+1]=h?h+" "+b:b}})}return d}function Kd(a,b){return b.styles&&b.styles[0]==a.state.modeGen||(b.styles=Jd(a,b,b.stateAfter=cb(a,ge(b)))),b.styles}function Ld(a,b,c){var d=a.doc.mode,e=new gd(b.text,a.options.tabSize);for(""==b.text&&d.blankLine&&d.blankLine(c);!e.eol()&&e.pos<=a.options.maxHighlightLength;)d.token(e,c),e.start=e.pos}function Nd(a){return a?Md[a]||(Md[a]="cm-"+a.replace(/ +/g," cm-")):null}function Od(a,c,d){for(var f,h,i,g=c,j=!0;f=ud(g);)j=!1,g=ce(a.doc,f.find().from.line),h||(h=g);var k={pre:$e("pre"),col:0,pos:0,display:!d,measure:null,addedOne:!1,cm:a};g.textClass&&(k.pre.className=g.textClass);do{k.measure=g==c&&d,k.pos=0,k.addToken=k.measure?Rd:Qd,(b||e)&&a.getOption("lineWrapping")&&(k.addToken=Sd(k.addToken)),d&&i&&g!=c&&!k.addedOne&&(d[0]=k.pre.appendChild(jf(a.display.measure)),k.addedOne=!0);var l=Ud(g,k,Kd(a,g));i=g==h,l&&(g=ce(a.doc,l.to.line),j=!1)}while(l);d&&!k.addedOne&&(d[0]=k.pre.appendChild(j?$e("span","\u00a0"):jf(a.display.measure))),k.pre.firstChild||xd(a.doc,c)||k.pre.appendChild(document.createTextNode("\u00a0"));var m;if(d&&b&&(m=je(g))){var n=m.length-1;m[n].from==m[n].to&&--n;var o=m[n],p=m[n-1];if(o.from+1==o.to&&p&&o.level<p.level){var q=d[k.pos-1];q&&q.parentNode.insertBefore(q.measureRight=jf(a.display.measure),q.nextSibling)}}return De(a,"renderLine",a,c,k.pre),k.pre}function Qd(a,b,c,d,e){if(b){if(Pd.test(b))for(var f=document.createDocumentFragment(),g=0;;){Pd.lastIndex=g;var h=Pd.exec(b),i=h?h.index-g:b.length-g;if(i&&(f.appendChild(document.createTextNode(b.slice(g,g+i))),a.col+=i),!h)break;if(g+=i+1," "==h[0]){var j=a.cm.options.tabSize,k=j-a.col%j;f.appendChild($e("span",Oe(k),"cm-tab")),a.col+=k}else{var l=$e("span","\u2022","cm-invalidchar");l.title="\\u"+h[0].charCodeAt(0).toString(16),f.appendChild(l),a.col+=1}}else{a.col+=b.length;var f=document.createTextNode(b)}if(c||d||e||a.measure){var m=c||"";return d&&(m+=d),e&&(m+=e),a.pre.appendChild($e("span",[f],m))}a.pre.appendChild(f)}}function Rd(a,c,d,e,f){for(var g=a.cm.options.lineWrapping,h=0;c.length>h;++h){var i=c.charAt(h),j=0==h;i>="\ud800"&&"\udbff">i&&c.length-1>h?(i=c.slice(h,h+2),++h):h&&g&&ef.test(c.slice(h-1,h+1))&&a.pre.appendChild($e("wbr"));var k=a.measure[a.pos]=Qd(a,i,d,j&&e,h==c.length-1&&f);b&&g&&" "==i&&h&&!/\s/.test(c.charAt(h-1))&&c.length-1>h&&!/\s/.test(c.charAt(h+1))&&(k.style.whiteSpace="normal"),a.pos+=i.length}c.length&&(a.addedOne=!0)}function Sd(a){function b(a){for(var b=" ",c=0;a.length-2>c;++c)b+=c%2?" ":"\u00a0";return b+=" "}return function(c,d,e,f,g){return a(c,d.replace(/ {3,}/,b),e,f,g)}}function Td(a,b,c){c&&(a.display||(c=c.cloneNode(!0)),a.pre.appendChild(c),a.measure&&b&&(a.measure[a.pos]=c,a.addedOne=!0)),a.pos+=b}function Ud(a,b,c){var d=a.markedSpans;if(d)for(var j,l,m,n,o,f=a.text,g=f.length,h=0,e=1,i="",k=0;;){if(k==h){l=m=n="",o=null,k=1/0;for(var p=null,q=0;d.length>q;++q){var r=d[q],s=r.marker;h>=r.from&&(null==r.to||r.to>h)?(null!=r.to&&k>r.to&&(k=r.to,m=""),s.className&&(l+=" "+s.className),s.startStyle&&r.from==h&&(n+=" "+s.startStyle),s.endStyle&&r.to==k&&(m+=" "+s.endStyle),s.collapsed&&(!o||o.marker.width<s.width)&&(o=r)):r.from>h&&k>r.from&&(k=r.from),"bookmark"==s.type&&r.from==h&&s.replacedWith&&(p=s.replacedWith)}if(o&&(o.from||0)==h&&(Td(b,(null==o.to?g:o.to)-h,null!=o.from&&o.marker.replacedWith),null==o.to))return o.marker.find();p&&!o&&Td(b,0,p)}if(h>=g)break;for(var t=Math.min(g,k);;){if(i){var u=h+i.length;if(!o){var v=u>t?i.slice(0,t-h):i;b.addToken(b,v,j?j+l:l,n,h+v.length==k?m:"")}if(u>=t){i=i.slice(t-h),h=t;break}h=u,n=""}i=c[e++],j=Nd(c[e++])}}else for(var e=1;c.length>e;e+=2)b.addToken(b,c[e],Nd(c[e+1]))}function Vd(a,b,c,d,e){function f(a){return c?c[a]:null}function g(a,c,d){Gd(a,c,d,e),Ge(a,"change",a,b)}var h=b.from,i=b.to,j=b.text,k=ce(a,h.line),l=ce(a,i.line),m=Pe(j),n=f(j.length-1),o=i.line-h.line;if(0==h.ch&&0==i.ch&&""==m){for(var p=0,q=j.length-1,r=[];q>p;++p)r.push(Fd(j[p],f(p),e));g(l,l.text,n),o&&a.remove(h.line,o),r.length&&a.insert(h.line,r)}else if(k==l)if(1==j.length)g(k,k.text.slice(0,h.ch)+m+k.text.slice(i.ch),n);else{for(var r=[],p=1,q=j.length-1;q>p;++p)r.push(Fd(j[p],f(p),e));r.push(Fd(m+k.text.slice(i.ch),n,e)),g(k,k.text.slice(0,h.ch)+j[0],f(0)),a.insert(h.line+1,r)}else if(1==j.length)g(k,k.text.slice(0,h.ch)+j[0]+l.text.slice(i.ch),f(0)),a.remove(h.line+1,o);else{g(k,k.text.slice(0,h.ch)+j[0],f(0)),g(l,m+l.text.slice(i.ch),n);for(var p=1,q=j.length-1,r=[];q>p;++p)r.push(Fd(j[p],f(p),e));o>1&&a.remove(h.line+1,o-1),a.insert(h.line+1,r)}Ge(a,"change",a,b),Dc(a,d.anchor,d.head,null,!0)}function Wd(a){this.lines=a,this.parent=null;for(var b=0,c=a.length,d=0;c>b;++b)a[b].parent=this,d+=a[b].height;this.height=d}function Xd(a){this.children=a;for(var b=0,c=0,d=0,e=a.length;e>d;++d){var f=a[d];b+=f.chunkSize(),c+=f.height,f.parent=this}this.size=b,this.height=c,this.parent=null}function ae(a,b,c){function d(a,e,f){if(a.linked)for(var g=0;a.linked.length>g;++g){var h=a.linked[g];if(h.doc!=e){var i=f&&h.sharedHist;(!c||i)&&(b(h.doc,i),d(h.doc,a,i))}}}d(a,null,!0)}function be(a,b){if(b.cm)throw Error("This document is already in use.");a.doc=b,b.cm=a,B(a),y(a),a.options.lineWrapping||H(a),a.options.mode=b.modeOption,Db(a)}function ce(a,b){for(b-=a.first;!a.lines;)for(var c=0;;++c){var d=a.children[c],e=d.chunkSize();if(e>b){a=d;break}b-=e}return a.lines[b]}function de(a,b,c){var d=[],e=b.line;return a.iter(b.line,c.line+1,function(a){var f=a.text;e==c.line&&(f=f.slice(0,c.ch)),e==b.line&&(f=f.slice(b.ch)),d.push(f),++e}),d}function ee(a,b,c){var d=[];return a.iter(b,c,function(a){d.push(a.text)}),d}function fe(a,b){for(var c=b-a.height,d=a;d;d=d.parent)d.height+=c}function ge(a){if(null==a.parent)return null;for(var b=a.parent,c=Re(b.lines,a),d=b.parent;d;b=d,d=d.parent)for(var e=0;d.children[e]!=b;++e)c+=d.children[e].chunkSize();return c+b.first}function he(a,b){var c=a.first;a:do{for(var d=0,e=a.children.length;e>d;++d){var f=a.children[d],g=f.height;if(g>b){a=f;continue a}b-=g,c+=f.chunkSize()}return c}while(!a.lines);for(var d=0,e=a.lines.length;e>d;++d){var h=a.lines[d],i=h.height;if(i>b)break;b-=i}return c+d}function ie(a,b){b=wd(a.doc,b);for(var c=0,d=b.parent,e=0;d.lines.length>e;++e){var f=d.lines[e];if(f==b)break;c+=f.height}for(var g=d.parent;g;d=g,g=d.parent)for(var e=0;g.children.length>e;++e){var h=g.children[e];if(h==d)break;c+=h.height}return c}function je(a){var b=a.order;return null==b&&(b=a.order=xf(a.text)),b}function ke(){return{done:[],undone:[],undoDepth:1/0,lastTime:0,lastOp:null,lastOrigin:null,dirtyCounter:0}}function le(a,b,c,d){var e=b["spans_"+a.id],f=0;a.iter(Math.max(a.first,c),Math.min(a.first+a.size,d),function(c){c.markedSpans&&((e||(e=b["spans_"+a.id]={}))[f]=c.markedSpans),++f})}function me(a,b){var c={from:b.from,to:ic(b),text:de(a,b.from,b.to)};return le(a,c,b.from.line,b.to.line+1),ae(a,function(a){le(a,c,b.from.line,b.to.line+1)},!0),c}function ne(a,b,c,d){var e=a.history;e.undone.length=0;var f=+new Date,g=Pe(e.done);if(g&&(e.lastOp==d||e.lastOrigin==b.origin&&b.origin&&("+"==b.origin.charAt(0)&&a.cm&&e.lastTime>f-a.cm.options.historyEventDelay||"*"==b.origin.charAt(0)))){var h=Pe(g.changes);uc(b.from,b.to)&&uc(b.from,h.to)?h.to=ic(b):g.changes.push(me(a,b)),g.anchorAfter=c.anchor,g.headAfter=c.head}else{for(g={changes:[me(a,b)],anchorBefore:a.sel.anchor,headBefore:a.sel.head,anchorAfter:c.anchor,headAfter:c.head},e.done.push(g);e.done.length>e.undoDepth;)e.done.shift();0>e.dirtyCounter?e.dirtyCounter=0/0:e.dirtyCounter++
3
+ }e.lastTime=f,e.lastOp=d,e.lastOrigin=b.origin}function oe(a){if(!a)return null;for(var c,b=0;a.length>b;++b)a[b].marker.explicitlyCleared?c||(c=a.slice(0,b)):c&&c.push(a[b]);return c?c.length?c:null:a}function pe(a,b){var c=b["spans_"+a.id];if(!c)return null;for(var d=0,e=[];b.text.length>d;++d)e.push(oe(c[d]));return e}function qe(a,b){for(var c=0,d=[];a.length>c;++c){var e=a[c],f=e.changes,g=[];d.push({changes:g,anchorBefore:e.anchorBefore,headBefore:e.headBefore,anchorAfter:e.anchorAfter,headAfter:e.headAfter});for(var h=0;f.length>h;++h){var j,i=f[h];if(g.push({from:i.from,to:i.to,text:i.text}),b)for(var k in i)(j=k.match(/^spans_(\d+)$/))&&Re(b,Number(j[1]))>-1&&(Pe(g)[k]=i[k],delete i[k])}}return d}function re(a,b,c,d){a.line>c?a.line+=d:a.line>b&&(a.line=b,a.ch=0)}function se(a,b,c,d){for(var e=0;a.length>e;++e){for(var f=a[e],g=!0,h=0;f.changes.length>h;++h){var i=f.changes[h];if(f.copied||(i.from=wc(i.from),i.to=wc(i.to)),i.from.line>c)i.from.line+=d,i.to.line+=d;else if(i.to.line>=b){g=!1;break}}f.copied||(f.anchorBefore=wc(f.anchorBefore),f.headBefore=wc(f.headBefore),f.anchorAfter=wc(f.anchorAfter),f.readAfter=wc(f.headAfter),f.copied=!0),g?(re(f.anchorBefore),re(f.headBefore),re(f.anchorAfter),re(f.headAfter)):(a.splice(0,e+1),e=0)}}function te(a,b){var c=b.from.line,d=b.to.line,e=b.text.length-(d-c)-1;se(a.done,c,d,e),se(a.undone,c,d,e)}function ue(){ye(this)}function ve(a){return a.stop||(a.stop=ue),a}function we(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function xe(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function ye(a){we(a),xe(a)}function ze(a){return a.target||a.srcElement}function Ae(a){var b=a.which;return null==b&&(1&a.button?b=1:2&a.button?b=3:4&a.button&&(b=2)),p&&a.ctrlKey&&1==b&&(b=3),b}function Be(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a._handlers||(a._handlers={}),e=d[b]||(d[b]=[]);e.push(c)}}function Ce(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,!1);else if(a.detachEvent)a.detachEvent("on"+b,c);else{var d=a._handlers&&a._handlers[b];if(!d)return;for(var e=0;d.length>e;++e)if(d[e]==c){d.splice(e,1);break}}}function De(a,b){var c=a._handlers&&a._handlers[b];if(c)for(var d=Array.prototype.slice.call(arguments,2),e=0;c.length>e;++e)c[e].apply(null,d)}function Ge(a,b){function e(a){return function(){a.apply(null,d)}}var c=a._handlers&&a._handlers[b];if(c){var d=Array.prototype.slice.call(arguments,2);Ee||(++Fe,Ee=[],setTimeout(He,0));for(var f=0;c.length>f;++f)Ee.push(e(c[f]))}}function He(){--Fe;var a=Ee;Ee=null;for(var b=0;a.length>b;++b)a[b]()}function Ie(a,b){var c=a._handlers&&a._handlers[b];return c&&c.length>0}function Le(){this.id=null}function Me(a,b,c,d,e){null==b&&(b=a.search(/[^\s\u00a0]/),-1==b&&(b=a.length));for(var f=d||0,g=e||0;b>f;++f)" "==a.charAt(f)?g+=c-g%c:++g;return g}function Oe(a){for(;a>=Ne.length;)Ne.push(Pe(Ne)+" ");return Ne[a]}function Pe(a){return a[a.length-1]}function Qe(a){n?(a.selectionStart=0,a.selectionEnd=a.value.length):a.select()}function Re(a,b){if(a.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;++c)if(a[c]==b)return c;return-1}function Se(a,b){function c(){}c.prototype=a;var d=new c;return b&&Te(b,d),d}function Te(a,b){b||(b={});for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function Ue(a){for(var b=[],c=0;a>c;++c)b.push(void 0);return b}function Ve(a){var b=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,b)}}function Xe(a){return/\w/.test(a)||a>"\u0080"&&(a.toUpperCase()!=a.toLowerCase()||We.test(a))}function Ye(a){for(var b in a)if(a.hasOwnProperty(b)&&a[b])return!1;return!0}function $e(a,b,c,d){var e=document.createElement(a);if(c&&(e.className=c),d&&(e.style.cssText=d),"string"==typeof b)bf(e,b);else if(b)for(var f=0;b.length>f;++f)e.appendChild(b[f]);return e}function _e(a){for(var b=a.childNodes.length;b>0;--b)a.removeChild(a.firstChild);return a}function af(a,b){return _e(a).appendChild(b)}function bf(a,b){d?(a.innerHTML="",a.appendChild(document.createTextNode(b))):a.textContent=b}function cf(a){return a.getBoundingClientRect()}function gf(a){if(null!=ff)return ff;var b=$e("div",null,null,"width: 50px; height: 50px; overflow-x: scroll");return af(a,b),b.offsetWidth&&(ff=b.offsetHeight-b.clientHeight),ff||0}function jf(a){if(null==hf){var b=$e("span","\u200b");af(a,$e("span",[b,document.createTextNode("x")])),0!=a.firstChild.offsetHeight&&(hf=1>=b.offsetWidth&&b.offsetHeight>2&&!c)}return hf?$e("span","\u200b"):$e("span","\u00a0",null,"display: inline-block; width: 1px; margin-right: -1px")}function of(a,b,c,d){if(!a)return d(b,c,"ltr");for(var e=0;a.length>e;++e){var f=a[e];(c>f.from&&f.to>b||b==c&&f.to==b)&&d(Math.max(f.from,b),Math.min(f.to,c),1==f.level?"rtl":"ltr")}}function pf(a){return a.level%2?a.to:a.from}function qf(a){return a.level%2?a.from:a.to}function rf(a){var b=je(a);return b?pf(b[0]):0}function sf(a){var b=je(a);return b?qf(Pe(b)):a.text.length}function tf(a,b){var c=ce(a.doc,b),d=wd(a.doc,c);d!=c&&(b=ge(d));var e=je(d),f=e?e[0].level%2?sf(d):rf(d):0;return tc(b,f)}function uf(a,b){for(var c,d;c=vd(d=ce(a.doc,b));)b=c.find().to.line;var e=je(d),f=e?e[0].level%2?rf(d):sf(d):d.text.length;return tc(b,f)}function vf(a,b,c,d){var e=je(a);if(!e)return wf(a,b,c,d);for(var f=d?function(b,c){do b+=c;while(b>0&&Ze.test(a.text.charAt(b)));return b}:function(a,b){return a+b},g=e[0].level,h=0;e.length>h;++h){var i=e[h],j=i.level%2==g;if(b>i.from&&i.to>b||j&&(i.from==b||i.to==b))break}for(var k=f(b,i.level%2?-c:c);null!=k;)if(i.level%2==g){if(!(i.from>k||k>i.to))break;i=e[h+=c],k=i&&(c>0==i.level%2?f(i.to,-1):f(i.from,1))}else if(k==pf(i))i=e[--h],k=i&&qf(i);else{if(k!=qf(i))break;i=e[++h],k=i&&pf(i)}return 0>k||k>a.text.length?null:k}function wf(a,b,c,d){var e=b+c;if(d)for(;e>0&&Ze.test(a.text.charAt(e));)e+=c;return 0>e||e>a.text.length?null:e}var a=/gecko\/\d/i.test(navigator.userAgent),b=/MSIE \d/.test(navigator.userAgent),c=b&&(null==document.documentMode||8>document.documentMode),d=b&&(null==document.documentMode||9>document.documentMode),e=/WebKit\//.test(navigator.userAgent),f=e&&/Qt\/\d+\.\d+/.test(navigator.userAgent),g=/Chrome\//.test(navigator.userAgent),h=/Opera\//.test(navigator.userAgent),i=/Apple Computer/.test(navigator.vendor),j=/KHTML\//.test(navigator.userAgent),k=/Mac OS X 1\d\D([7-9]|\d\d)\D/.test(navigator.userAgent),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(navigator.userAgent),m=/PhantomJS/.test(navigator.userAgent),n=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),o=n||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent),p=n||/Mac/.test(navigator.platform),q=/windows/i.test(navigator.platform),r=h&&navigator.userAgent.match(/Version\/(\d*\.\d*)/);r&&(r=Number(r[1]));var ub,Nb,Ob,s=p&&(f||h&&(null==r||12.11>r)),t=a||b&&!d,u=!1,v=!1,xb=0,Vb=0,Wb=null;b?Wb=-.53:a?Wb=15:g?Wb=-.7:i&&(Wb=-1/3);var $b,gc,bc=null;w.Pos=tc,w.prototype={constructor:w,focus:function(){window.focus(),Ib(this),ec(this),Fb(this)},setOption:function(a,b){var c=this.options,d=c[a];(c[a]!=b||"mode"==a)&&(c[a]=b,Sc.hasOwnProperty(a)&&Ab(this,Sc[a])(this,b,d))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,b){this.state.keyMaps[b?"push":"unshift"](a)},removeKeyMap:function(a){for(var b=this.state.keyMaps,c=0;b.length>c;++c)if(("string"==typeof a?b[c].name:b[c])==a)return b.splice(c,1),!0},addOverlay:Ab(null,function(a,b){var c=a.token?a:w.getMode(this.options,a);if(c.startState)throw Error("Overlays may not be stateful.");this.state.overlays.push({mode:c,modeSpec:a,opaque:b&&b.opaque}),this.state.modeGen++,Db(this)}),removeOverlay:Ab(null,function(a){for(var b=this.state.overlays,c=0;b.length>c;++c)if(b[c].modeSpec==a)return b.splice(c,1),this.state.modeGen++,Db(this),void 0}),indentLine:Ab(null,function(a,b,c){"string"!=typeof b&&(b=null==b?this.options.smartIndent?"smart":"prev":b?"add":"subtract"),Ac(this.doc,a)&&Mc(this,a,b,c)}),indentSelection:Ab(null,function(a){var b=this.doc.sel;if(uc(b.from,b.to))return Mc(this,b.from.line,a);for(var c=b.to.line-(b.to.ch?0:1),d=b.from.line;c>=d;++d)Mc(this,d,a)}),getTokenAt:function(a){var b=this.doc;a=yc(b,a);for(var c=cb(this,a.line),d=this.doc.mode,e=ce(b,a.line),f=new gd(e.text,this.options.tabSize);f.pos<a.ch&&!f.eol();){f.start=f.pos;var g=d.token(f,c)}return{start:f.start,end:f.pos,string:f.current(),className:g||null,type:g||null,state:c}},getStateAfter:function(a){var b=this.doc;return a=xc(b,null==a?b.first+b.size-1:a),cb(this,a+1)},cursorCoords:function(a,b){var c,d=this.doc.sel;return c=null==a?d.head:"object"==typeof a?yc(this.doc,a):a?d.from:d.to,qb(this,c,b||"page")},charCoords:function(a,b){return pb(this,yc(this.doc,a),b||"page")},coordsChar:function(a,b){return a=ob(this,a,b||"page"),sb(this,a.left,a.top)},defaultTextHeight:function(){return vb(this.display)},defaultCharWidth:function(){return wb(this.display)},setGutterMarker:Ab(null,function(a,b,c){return Nc(this,a,function(a){var d=a.gutterMarkers||(a.gutterMarkers={});return d[b]=c,!c&&Ye(d)&&(a.gutterMarkers=null),!0})}),clearGutter:Ab(null,function(a){var b=this,c=b.doc,d=c.first;c.iter(function(c){c.gutterMarkers&&c.gutterMarkers[a]&&(c.gutterMarkers[a]=null,Db(b,d,d+1),Ye(c.gutterMarkers)&&(c.gutterMarkers=null)),++d})}),addLineClass:Ab(null,function(a,b,c){return Nc(this,a,function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"wrapClass";if(a[d]){if(RegExp("\\b"+c+"\\b").test(a[d]))return!1;a[d]+=" "+c}else a[d]=c;return!0})}),removeLineClass:Ab(null,function(a,b,c){return Nc(this,a,function(a){var d="text"==b?"textClass":"background"==b?"bgClass":"wrapClass",e=a[d];if(!e)return!1;if(null==c)a[d]=null;else{var f=e.replace(RegExp("^"+c+"\\b\\s*|\\s*\\b"+c+"\\b"),"");if(f==e)return!1;a[d]=f||null}return!0})}),addLineWidget:Ab(null,function(a,b,c){return Ed(this,a,b,c)}),removeLineWidget:function(a){a.clear()},lineInfo:function(a){if("number"==typeof a){if(!Ac(this.doc,a))return null;var b=a;if(a=ce(this.doc,a),!a)return null}else{var b=ge(a);if(null==b)return null}return{line:b,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},getViewport:function(){return{from:this.display.showingFrom,to:this.display.showingTo}},addWidget:function(a,b,c,d,e){var f=this.display;a=qb(this,yc(this.doc,a));var g=a.bottom,h=a.left;if(b.style.position="absolute",f.sizer.appendChild(b),"over"==d)g=a.top;else if("above"==d||"near"==d){var i=Math.max(f.wrapper.clientHeight,this.doc.height),j=Math.max(f.sizer.clientWidth,f.lineSpace.clientWidth);("above"==d||a.bottom+b.offsetHeight>i)&&a.top>b.offsetHeight?g=a.top-b.offsetHeight:i>=a.bottom+b.offsetHeight&&(g=a.bottom),h+b.offsetWidth>j&&(h=j-b.offsetWidth)}b.style.top=g+db(f)+"px",b.style.left=b.style.right="","right"==e?(h=f.sizer.clientWidth-b.offsetWidth,b.style.right="0px"):("left"==e?h=0:"middle"==e&&(h=(f.sizer.clientWidth-b.offsetWidth)/2),b.style.left=h+"px"),c&&Ic(this,h,g,h+b.offsetWidth,g+b.offsetHeight)},triggerOnKeyDown:Ab(null,cc),execCommand:function(a){return ad[a](this)},findPosH:function(a,b,c,d){var e=1;0>b&&(e=-1,b=-b);for(var f=0,g=yc(this.doc,a);b>f&&(g=Oc(this.doc,g,e,c,d),!g.hitSide);++f);return g},moveH:Ab(null,function(a,b){var d,c=this.doc.sel;d=c.shift||c.extend||uc(c.from,c.to)?Oc(this.doc,c.head,a,b,this.options.rtlMoveVisually):0>a?c.from:c.to,Bc(this.doc,d,d,a)}),deleteH:Ab(null,function(a,b){var c=this.doc.sel;uc(c.from,c.to)?sc(this.doc,"",c.from,Oc(this.doc,c.head,a,b,!1),"+delete"):sc(this.doc,"",c.from,c.to,"+delete"),this.curOp.userSelChange=!0}),findPosV:function(a,b,c,d){var e=1,f=d;0>b&&(e=-1,b=-b);for(var g=0,h=yc(this.doc,a);b>g;++g){var i=qb(this,h,"div");if(null==f?f=i.left:i.left=f,h=Pc(this,i,e,c),h.hitSide)break}return h},moveV:Ab(null,function(a,b){var c=this.doc.sel,d=qb(this,c.head,"div");null!=c.goalColumn&&(d.left=c.goalColumn);var e=Pc(this,d,a,b);"page"==b&&Lc(this,0,pb(this,e,"div").top-d.top),Bc(this.doc,e,e,a),c.goalColumn=d.left}),toggleOverwrite:function(){(this.state.overwrite=!this.state.overwrite)?this.display.cursor.className+=" CodeMirror-overwrite":this.display.cursor.className=this.display.cursor.className.replace(" CodeMirror-overwrite","")},hasFocus:function(){return this.state.focused},scrollTo:Ab(null,function(a,b){Kc(this,a,b)}),getScrollInfo:function(){var a=this.display.scroller,b=Je;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-b,width:a.scrollWidth-b,clientHeight:a.clientHeight-b,clientWidth:a.clientWidth-b}},scrollIntoView:Ab(null,function(a,b){"number"==typeof a&&(a=tc(a,0)),b||(b=0);var c=a;a&&null==a.line||(this.curOp.scrollToPos=a?yc(this.doc,a):this.doc.sel.head,this.curOp.scrollToPosMargin=b,c=qb(this,this.curOp.scrollToPos));var d=Jc(this,c.left,c.top-b,c.right,c.bottom+b);Kc(this,d.scrollLeft,d.scrollTop)}),setSize:function(a,b){function c(a){return"number"==typeof a||/^\d+$/.test(a+"")?a+"px":a}null!=a&&(this.display.wrapper.style.width=c(a)),null!=b&&(this.display.wrapper.style.height=c(b)),this.refresh()},on:function(a,b){Be(this,a,b)},off:function(a,b){Ce(this,a,b)},operation:function(a){return Cb(this,a)},refresh:Ab(null,function(){mb(this),Kc(this,this.doc.scrollLeft,this.doc.scrollTop),Db(this)}),swapDoc:Ab(null,function(a){var b=this.doc;return b.cm=null,be(this,a),mb(this),Hb(this,!0),Kc(this,a.scrollLeft,a.scrollTop),b}),getInputField:function(){return this.display.input},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}};var Sc=w.optionHandlers={},Tc=w.defaults={},Vc=w.Init={toString:function(){return"CodeMirror.Init"}};Uc("value","",function(a,b){a.setValue(b)},!0),Uc("mode",null,function(a,b){a.doc.modeOption=b,y(a)},!0),Uc("indentUnit",2,y,!0),Uc("indentWithTabs",!1),Uc("smartIndent",!0),Uc("tabSize",4,function(a){y(a),mb(a),Db(a)},!0),Uc("electricChars",!0),Uc("rtlMoveVisually",!q),Uc("theme","default",function(a){D(a),E(a)},!0),Uc("keyMap","default",C),Uc("extraKeys",null),Uc("onKeyEvent",null),Uc("onDragEvent",null),Uc("lineWrapping",!1,z,!0),Uc("gutters",[],function(a){I(a.options),E(a)},!0),Uc("fixedGutter",!0,function(a,b){a.display.gutters.style.left=b?O(a.display)+"px":"0",a.refresh()},!0),Uc("lineNumbers",!1,function(a){I(a.options),E(a)},!0),Uc("firstLineNumber",1,E,!0),Uc("lineNumberFormatter",function(a){return a},E,!0),Uc("showCursorWhenSelecting",!1,X,!0),Uc("readOnly",!1,function(a,b){"nocursor"==b?(fc(a),a.display.input.blur()):b||Hb(a,!0)}),Uc("dragDrop",!0),Uc("cursorBlinkRate",530),Uc("cursorScrollMargin",0),Uc("cursorHeight",1),Uc("workTime",100),Uc("workDelay",100),Uc("flattenSpans",!0),Uc("pollInterval",100),Uc("undoDepth",40,function(a,b){a.doc.history.undoDepth=b}),Uc("historyEventDelay",500),Uc("viewportMargin",10,function(a){a.refresh()},!0),Uc("maxHighlightLength",1e4,function(a){y(a),a.refresh()},!0),Uc("moveInputWithCursor",!0,function(a,b){b||(a.display.inputDiv.style.top=a.display.inputDiv.style.left=0)}),Uc("tabindex",null,function(a,b){a.display.input.tabIndex=b||""}),Uc("autofocus",null);var Wc=w.modes={},Xc=w.mimeModes={};w.defineMode=function(a,b){if(w.defaults.mode||"null"==a||(w.defaults.mode=a),arguments.length>2){b.dependencies=[];for(var c=2;arguments.length>c;++c)b.dependencies.push(arguments[c])}Wc[a]=b},w.defineMIME=function(a,b){Xc[a]=b},w.resolveMode=function(a){if("string"==typeof a&&Xc.hasOwnProperty(a))a=Xc[a];else if("string"==typeof a&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return w.resolveMode("application/xml");return"string"==typeof a?{name:a}:a||{name:"null"}},w.getMode=function(a,b){b=w.resolveMode(b);var c=Wc[b.name];if(!c)return w.getMode(a,"text/plain");var d=c(a,b);if(Yc.hasOwnProperty(b.name)){var e=Yc[b.name];for(var f in e)e.hasOwnProperty(f)&&(d.hasOwnProperty(f)&&(d["_"+f]=d[f]),d[f]=e[f])}return d.name=b.name,d},w.defineMode("null",function(){return{token:function(a){a.skipToEnd()}}}),w.defineMIME("text/plain","null");var Yc=w.modeExtensions={};w.extendMode=function(a,b){var c=Yc.hasOwnProperty(a)?Yc[a]:Yc[a]={};Te(b,c)},w.defineExtension=function(a,b){w.prototype[a]=b},w.defineDocExtension=function(a,b){Zd.prototype[a]=b},w.defineOption=Uc;var Zc=[];w.defineInitHook=function(a){Zc.push(a)},w.copyState=$c,w.startState=_c,w.innerMode=function(a,b){for(;a.innerMode;){var c=a.innerMode(b);b=c.state,a=c.mode}return c||{mode:a,state:b}};var ad=w.commands={selectAll:function(a){a.setSelection(tc(a.firstLine(),0),tc(a.lastLine()))},killLine:function(a){var b=a.getCursor(!0),c=a.getCursor(!1),d=!uc(b,c);d||a.getLine(b.line).length!=b.ch?a.replaceRange("",b,d?c:tc(b.line),"+delete"):a.replaceRange("",b,tc(b.line+1,0),"+delete")},deleteLine:function(a){var b=a.getCursor().line;a.replaceRange("",tc(b,0),tc(b),"+delete")},undo:function(a){a.undo()},redo:function(a){a.redo()},goDocStart:function(a){a.extendSelection(tc(a.firstLine(),0))},goDocEnd:function(a){a.extendSelection(tc(a.lastLine()))},goLineStart:function(a){a.extendSelection(tf(a,a.getCursor().line))},goLineStartSmart:function(a){var b=a.getCursor(),c=tf(a,b.line),d=a.getLineHandle(c.line),e=je(d);if(e&&0!=e[0].level)a.extendSelection(c);else{var f=Math.max(0,d.text.search(/\S/)),g=b.line==c.line&&f>=b.ch&&b.ch;a.extendSelection(tc(c.line,g?0:f))}},goLineEnd:function(a){a.extendSelection(uf(a,a.getCursor().line))},goLineRight:function(a){var b=a.charCoords(a.getCursor(),"div").top+5;a.extendSelection(a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:b},"div"))},goLineLeft:function(a){var b=a.charCoords(a.getCursor(),"div").top+5;a.extendSelection(a.coordsChar({left:0,top:b},"div"))},goLineUp:function(a){a.moveV(-1,"line")},goLineDown:function(a){a.moveV(1,"line")},goPageUp:function(a){a.moveV(-1,"page")},goPageDown:function(a){a.moveV(1,"page")},goCharLeft:function(a){a.moveH(-1,"char")},goCharRight:function(a){a.moveH(1,"char")},goColumnLeft:function(a){a.moveH(-1,"column")},goColumnRight:function(a){a.moveH(1,"column")},goWordLeft:function(a){a.moveH(-1,"word")},goGroupRight:function(a){a.moveH(1,"group")},goGroupLeft:function(a){a.moveH(-1,"group")},goWordRight:function(a){a.moveH(1,"word")},delCharBefore:function(a){a.deleteH(-1,"char")},delCharAfter:function(a){a.deleteH(1,"char")},delWordBefore:function(a){a.deleteH(-1,"word")},delWordAfter:function(a){a.deleteH(1,"word")},delGroupBefore:function(a){a.deleteH(-1,"group")},delGroupAfter:function(a){a.deleteH(1,"group")},indentAuto:function(a){a.indentSelection("smart")},indentMore:function(a){a.indentSelection("add")},indentLess:function(a){a.indentSelection("subtract")},insertTab:function(a){a.replaceSelection(" ","end","+input")},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.replaceSelection(" ","end","+input")},transposeChars:function(a){var b=a.getCursor(),c=a.getLine(b.line);b.ch>0&&b.ch<c.length-1&&a.replaceRange(c.charAt(b.ch)+c.charAt(b.ch-1),tc(b.line,b.ch-1),tc(b.line,b.ch+1))},newlineAndIndent:function(a){Ab(a,function(){a.replaceSelection("\n","end","+input"),a.indentLine(a.getCursor().line,null,!0)})()},toggleOverwrite:function(a){a.toggleOverwrite()}},bd=w.keyMap={};bd.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite"},bd.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Alt-Up":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Down":"goDocEnd","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore",fallthrough:"basic"},bd.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineStart","Cmd-Right":"goLineEnd","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore",fallthrough:["basic","emacsy"]},bd["default"]=p?bd.macDefault:bd.pcDefault,bd.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars"},w.lookupKey=dd,w.isModifierKey=ed,w.keyName=fd,w.fromTextArea=function(a,b){function e(){a.value=i.getValue()}if(b||(b={}),b.value=a.value,!b.tabindex&&a.tabindex&&(b.tabindex=a.tabindex),!b.placeholder&&a.placeholder&&(b.placeholder=a.placeholder),null==b.autofocus){var c=document.body;try{c=document.activeElement}catch(d){}b.autofocus=c==a||null!=a.getAttribute("autofocus")&&c==document.body}if(a.form&&(Be(a.form,"submit",e),!b.leaveSubmitMethodAlone)){var f=a.form,g=f.submit;try{var h=f.submit=function(){e(),f.submit=g,f.submit(),f.submit=h}}catch(d){}}a.style.display="none";var i=w(function(b){a.parentNode.insertBefore(b,a.nextSibling)},b);return i.save=e,i.getTextArea=function(){return a},i.toTextArea=function(){e(),a.parentNode.removeChild(i.getWrapperElement()),a.style.display="",a.form&&(Ce(a.form,"submit",e),"function"==typeof a.form.submit&&(a.form.submit=g))},i},gd.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return 0==this.pos},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){return this.pos<this.string.length?this.string.charAt(this.pos++):void 0},eat:function(a){var b=this.string.charAt(this.pos);if("string"==typeof a)var c=b==a;else var c=b&&(a.test?a.test(b):a(b));return c?(++this.pos,b):void 0},eatWhile:function(a){for(var b=this.pos;this.eat(a););return this.pos>b},eatSpace:function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},skipToEnd:function(){this.pos=this.string.length},skipTo:function(a){var b=this.string.indexOf(a,this.pos);return b>-1?(this.pos=b,!0):void 0},backUp:function(a){this.pos-=a},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Me(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue},indentation:function(){return Me(this.string,null,this.tabSize)},match:function(a,b,c){if("string"!=typeof a){var f=this.string.slice(this.pos).match(a);return f&&f.index>0?null:(f&&b!==!1&&(this.pos+=f[0].length),f)}var d=function(a){return c?a.toLowerCase():a},e=this.string.substr(this.pos,a.length);return d(e)==d(a)?(b!==!1&&(this.pos+=a.length),!0):void 0},current:function(){return this.string.slice(this.start,this.pos)}},w.StringStream=gd,w.TextMarker=hd,hd.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,b=a&&!a.curOp;b&&yb(a);for(var c=null,d=null,e=0;this.lines.length>e;++e){var f=this.lines[e],g=ld(f.markedSpans,this);null!=g.to&&(d=ge(f)),f.markedSpans=md(f.markedSpans,g),null!=g.from?c=ge(f):this.collapsed&&!xd(this.doc,f)&&a&&fe(f,vb(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var e=0;this.lines.length>e;++e){var h=wd(a.doc,this.lines[e]),i=G(a.doc,h);i>a.display.maxLineLength&&(a.display.maxLine=h,a.display.maxLineLength=i,a.display.maxLineChanged=!0)}null!=c&&a&&Db(a,c,d+1),this.lines.length=0,this.explicitlyCleared=!0,this.collapsed&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Ec(a)),b&&zb(a),Ge(this,"clear")}},hd.prototype.find=function(){for(var a,b,c=0;this.lines.length>c;++c){var d=this.lines[c],e=ld(d.markedSpans,this);if(null!=e.from||null!=e.to){var f=ge(d);null!=e.from&&(a=tc(f,e.from)),null!=e.to&&(b=tc(f,e.to))}}return"bookmark"==this.type?a:a&&{from:a,to:b}},hd.prototype.changed=function(){var a=this.find(),b=this.doc.cm;if(a&&b){var c=ce(this.doc,a.from.line);if(ib(b,c),a.from.line>=b.display.showingFrom&&a.from.line<b.display.showingTo){for(var d=b.display.lineDiv.firstChild;d;d=d.nextSibling)if(d.lineObj==c){d.offsetHeight!=c.height&&fe(c,d.offsetHeight);break}Cb(b,function(){b.curOp.selectionChanged=!0})}}},hd.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;b.maybeHiddenMarkers&&-1!=Re(b.maybeHiddenMarkers,this)||(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},hd.prototype.detachLine=function(a){if(this.lines.splice(Re(this.lines,a),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},w.SharedTextMarker=jd,jd.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;this.markers.length>a;++a)this.markers[a].clear();Ge(this,"clear")}},jd.prototype.find=function(){return this.primary.find()};var Bd=w.LineWidget=function(a,b,c){for(var d in c)c.hasOwnProperty(d)&&(this[d]=c[d]);this.cm=a,this.node=b};Bd.prototype.clear=Cd(function(){var a=this.line.widgets,b=ge(this.line);if(null!=b&&a){for(var c=0;a.length>c;++c)a[c]==this&&a.splice(c--,1);a.length||(this.line.widgets=null),fe(this.line,Math.max(0,this.line.height-Dd(this))),Db(this.cm,b,b+1)}}),Bd.prototype.changed=Cd(function(){var a=this.height;this.height=null;var b=Dd(this)-a;if(b){fe(this.line,this.line.height+b);var c=ge(this.line);Db(this.cm,c,c+1)}});var Md={},Pd=/[\t\u0000-\u0019\u00ad\u200b\u2028\u2029\uFEFF]/g;Wd.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,b){for(var c=a,d=a+b;d>c;++c){var e=this.lines[c];this.height-=e.height,Hd(e),Ge(e,"delete")}this.lines.splice(a,b)},collapse:function(a){a.splice.apply(a,[a.length,0].concat(this.lines))},insertInner:function(a,b,c){this.height+=c,this.lines=this.lines.slice(0,a).concat(b).concat(this.lines.slice(a));for(var d=0,e=b.length;e>d;++d)b[d].parent=this},iterN:function(a,b,c){for(var d=a+b;d>a;++a)if(c(this.lines[a]))return!0}},Xd.prototype={chunkSize:function(){return this.size},removeInner:function(a,b){this.size-=b;for(var c=0;this.children.length>c;++c){var d=this.children[c],e=d.chunkSize();if(e>a){var f=Math.min(b,e-a),g=d.height;if(d.removeInner(a,f),this.height-=g-d.height,e==f&&(this.children.splice(c--,1),d.parent=null),0==(b-=f))break;a=0}else a-=e}if(25>this.size-b){var h=[];this.collapse(h),this.children=[new Wd(h)],this.children[0].parent=this}},collapse:function(a){for(var b=0,c=this.children.length;c>b;++b)this.children[b].collapse(a)},insertInner:function(a,b,c){this.size+=b.length,this.height+=c;for(var d=0,e=this.children.length;e>d;++d){var f=this.children[d],g=f.chunkSize();if(g>=a){if(f.insertInner(a,b,c),f.lines&&f.lines.length>50){for(;f.lines.length>50;){var h=f.lines.splice(f.lines.length-25,25),i=new Wd(h);f.height-=i.height,this.children.splice(d+1,0,i),i.parent=this}this.maybeSpill()}break}a-=g}},maybeSpill:function(){if(!(10>=this.children.length)){var a=this;do{var b=a.children.splice(a.children.length-5,5),c=new Xd(b);if(a.parent){a.size-=c.size,a.height-=c.height;var e=Re(a.parent.children,a);a.parent.children.splice(e+1,0,c)}else{var d=new Xd(a.children);d.parent=a,a.children=[d,c],a=d}c.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,b,c){for(var d=0,e=this.children.length;e>d;++d){var f=this.children[d],g=f.chunkSize();if(g>a){var h=Math.min(b,g-a);if(f.iterN(a,h,c))return!0;if(0==(b-=h))break;a=0}else a-=g}}};var Yd=0,Zd=w.Doc=function(a,b,c){if(!(this instanceof Zd))return new Zd(a,b,c);null==c&&(c=0),Xd.call(this,[new Wd([Fd("",null)])]),this.first=c,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.history=ke(),this.frontier=c;var d=tc(c,0);this.sel={from:d,to:d,head:d,anchor:d,shift:!1,extend:!1,goalColumn:null},this.id=++Yd,this.modeOption=b,"string"==typeof a&&(a=kf(a)),Vd(this,{from:d,to:d,text:a},null,{head:d,anchor:d})};Zd.prototype=Se(Xd.prototype,{constructor:Zd,iter:function(a,b,c){c?this.iterN(a-this.first,b-a,c):this.iterN(this.first,this.first+this.size,a)},insert:function(a,b){for(var c=0,d=0,e=b.length;e>d;++d)c+=b[d].height;this.insertInner(a-this.first,b,c)},remove:function(a,b){this.removeInner(a-this.first,b)},getValue:function(a){var b=ee(this,this.first,this.first+this.size);return a===!1?b:b.join(a||"\n")},setValue:function(a){var b=tc(this.first,0),c=this.first+this.size-1;mc(this,{from:b,to:tc(c,ce(this,c).text.length),text:kf(a),origin:"setValue"},{head:b,anchor:b},!0)},replaceRange:function(a,b,c,d){b=yc(this,b),c=c?yc(this,c):b,sc(this,a,b,c,d)},getRange:function(a,b,c){var d=de(this,yc(this,a),yc(this,b));return c===!1?d:d.join(c||"\n")},getLine:function(a){var b=this.getLineHandle(a);return b&&b.text},setLine:function(a,b){Ac(this,a)&&sc(this,b,tc(a,0),yc(this,tc(a)))},removeLine:function(a){a?sc(this,"",yc(this,tc(a-1)),yc(this,tc(a))):sc(this,"",tc(0,0),yc(this,tc(1,0)))},getLineHandle:function(a){return Ac(this,a)?ce(this,a):void 0},getLineNumber:function(a){return ge(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return yc(this,a)},getCursor:function(a){var c,b=this.sel;return c=null==a||"head"==a?b.head:"anchor"==a?b.anchor:"end"==a||a===!1?b.to:b.from,wc(c)},somethingSelected:function(){return!uc(this.sel.head,this.sel.anchor)},setCursor:Bb(function(a,b,c){var d=yc(this,"number"==typeof a?tc(a,b||0):a);c?Bc(this,d):Dc(this,d,d)}),setSelection:Bb(function(a,b){Dc(this,yc(this,a),yc(this,b||a))}),extendSelection:Bb(function(a,b){Bc(this,yc(this,a),b&&yc(this,b))}),getSelection:function(a){return this.getRange(this.sel.from,this.sel.to,a)},replaceSelection:function(a,b,c){mc(this,{from:this.sel.from,to:this.sel.to,text:kf(a),origin:c},b||"around")},undo:Bb(function(){oc(this,"undo")}),redo:Bb(function(){oc(this,"redo")}),setExtending:function(a){this.sel.extend=a},historySize:function(){var a=this.history;return{undo:a.done.length,redo:a.undone.length}},clearHistory:function(){this.history=ke()},markClean:function(){this.history.dirtyCounter=0,this.history.lastOp=this.history.lastOrigin=null},isClean:function(){return 0==this.history.dirtyCounter},getHistory:function(){return{done:qe(this.history.done),undone:qe(this.history.undone)}},setHistory:function(a){var b=this.history=ke();b.done=a.done.slice(0),b.undone=a.undone.slice(0)},markText:function(a,b,c){return id(this,yc(this,a),yc(this,b),c,"range")},setBookmark:function(a,b){var c={replacedWith:b&&(null==b.nodeType?b.widget:b),insertLeft:b&&b.insertLeft};return a=yc(this,a),id(this,a,a,c,"bookmark")},findMarksAt:function(a){a=yc(this,a);var b=[],c=ce(this,a.line).markedSpans;if(c)for(var d=0;c.length>d;++d){var e=c[d];(null==e.from||e.from<=a.ch)&&(null==e.to||e.to>=a.ch)&&b.push(e.marker.parent||e.marker)}return b},getAllMarks:function(){var a=[];return this.iter(function(b){var c=b.markedSpans;if(c)for(var d=0;c.length>d;++d)null!=c[d].from&&a.push(c[d].marker)}),a},posFromIndex:function(a){var b,c=this.first;return this.iter(function(d){var e=d.text.length+1;return e>a?(b=a,!0):(a-=e,++c,void 0)}),yc(this,tc(c,b))},indexFromPos:function(a){a=yc(this,a);var b=a.ch;return a.line<this.first||0>a.ch?0:(this.iter(this.first,a.line,function(a){b+=a.text.length+1}),b)},copy:function(a){var b=new Zd(ee(this,this.first,this.first+this.size),this.modeOption,this.first);
4
+ return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel={from:this.sel.from,to:this.sel.to,head:this.sel.head,anchor:this.sel.anchor,shift:this.sel.shift,extend:!1,goalColumn:this.sel.goalColumn},a&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(a){a||(a={});var b=this.first,c=this.first+this.size;null!=a.from&&a.from>b&&(b=a.from),null!=a.to&&c>a.to&&(c=a.to);var d=new Zd(ee(this,b,c),a.mode||this.modeOption,b);return a.sharedHist&&(d.history=this.history),(this.linked||(this.linked=[])).push({doc:d,sharedHist:a.sharedHist}),d.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],d},unlinkDoc:function(a){if(a instanceof w&&(a=a.doc),this.linked)for(var b=0;this.linked.length>b;++b){var c=this.linked[b];if(c.doc==a){this.linked.splice(b,1),a.unlinkDoc(this);break}}if(a.history==this.history){var d=[a.id];ae(a,function(a){d.push(a.id)},!0),a.history=ke(),a.history.done=qe(this.history.done,d),a.history.undone=qe(this.history.undone,d)}},iterLinkedDocs:function(a){ae(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm}}),Zd.prototype.eachLine=Zd.prototype.iter;var $d="iter insert remove copy getEditor".split(" ");for(var _d in Zd.prototype)Zd.prototype.hasOwnProperty(_d)&&0>Re($d,_d)&&(w.prototype[_d]=function(a){return function(){return a.apply(this.doc,arguments)}}(Zd.prototype[_d]));w.e_stop=ye,w.e_preventDefault=we,w.e_stopPropagation=xe;var Ee,Fe=0;w.on=Be,w.off=Ce,w.signal=De;var Je=30,Ke=w.Pass={toString:function(){return"CodeMirror.Pass"}};Le.prototype={set:function(a,b){clearTimeout(this.id),this.id=setTimeout(b,a)}},w.countColumn=Me;var Ne=[""],We=/[\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc]/,Ze=/[\u0300-\u036F\u0483-\u0487\u0488-\u0489\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\uA66F\uA670-\uA672\uA674-\uA67D\uA69F\udc00-\udfff]/;w.replaceGetRect=function(a){cf=a};var df=function(){if(d)return!1;var a=$e("div");return"draggable"in a||"dragDrop"in a}(),ef=/^$/;a?ef=/$'/:i&&!/Version\/([6-9]|\d\d)\b/.test(navigator.userAgent)?ef=/\-[^ \-?]|\?[^ !'\"\),.\-\/:;\?\]\}]/:e&&(ef=/[~!#%&*)=+}\]|\"\.>,:;][({[<]|-[^\-?\.]|\?[\w~`@#$%\^&*(_=+{[|><]/);var ff,hf,kf=3!="\n\nb".split(/\n/).length?function(a){for(var b=0,c=[],d=a.length;d>=b;){var e=a.indexOf("\n",b);-1==e&&(e=a.length);var f=a.slice(b,"\r"==a.charAt(e-1)?e-1:e),g=f.indexOf("\r");-1!=g?(c.push(f.slice(0,g)),b+=g+1):(c.push(f),b=e+1)}return c}:function(a){return a.split(/\r\n?|\n/)};w.splitLines=kf;var lf=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(b){return!1}}:function(a){try{var b=a.ownerDocument.selection.createRange()}catch(c){}return b&&b.parentElement()==a?0!=b.compareEndPoints("StartToEnd",b):!1},mf=function(){var a=$e("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),"function"==typeof a.oncopy)}(),nf={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",91:"Mod",92:"Mod",93:"Mod",109:"-",107:"=",127:"Delete",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63276:"PageUp",63277:"PageDown",63275:"End",63273:"Home",63234:"Left",63232:"Up",63235:"Right",63233:"Down",63302:"Insert",63272:"Delete"};w.keyNames=nf,function(){for(var a=0;10>a;a++)nf[a+48]=a+"";for(var a=65;90>=a;a++)nf[a]=String.fromCharCode(a);for(var a=1;12>=a;a++)nf[a+111]=nf[a+63235]="F"+a}();var xf=function(){function c(c){return 255>=c?a.charAt(c):c>=1424&&1524>=c?"R":c>=1536&&1791>=c?b.charAt(c-1536):c>=1792&&2220>=c?"r":"L"}var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLL",b="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmmrrrrrrrrrrrrrrrrrr",d=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,e=/[stwN]/,f=/[LRr]/,g=/[Lb1n]/,h=/[1n]/,i="L";return function(a){if(!d.test(a))return!1;for(var l,b=a.length,j=[],k=0;b>k;++k)j.push(l=c(a.charCodeAt(k)));for(var k=0,m=i;b>k;++k){var l=j[k];"m"==l?j[k]=m:m=l}for(var k=0,n=i;b>k;++k){var l=j[k];"1"==l&&"r"==n?j[k]="n":f.test(l)&&(n=l,"r"==l&&(j[k]="R"))}for(var k=1,m=j[0];b-1>k;++k){var l=j[k];"+"==l&&"1"==m&&"1"==j[k+1]?j[k]="1":","!=l||m!=j[k+1]||"1"!=m&&"n"!=m||(j[k]=m),m=l}for(var k=0;b>k;++k){var l=j[k];if(","==l)j[k]="N";else if("%"==l){for(var o=k+1;b>o&&"%"==j[o];++o);for(var p=k&&"!"==j[k-1]||b-1>o&&"1"==j[o]?"1":"N",q=k;o>q;++q)j[q]=p;k=o-1}}for(var k=0,n=i;b>k;++k){var l=j[k];"L"==n&&"1"==l?j[k]="L":f.test(l)&&(n=l)}for(var k=0;b>k;++k)if(e.test(j[k])){for(var o=k+1;b>o&&e.test(j[o]);++o);for(var r="L"==(k?j[k-1]:i),s="L"==(b-1>o?j[o]:i),p=r||s?"L":"R",q=k;o>q;++q)j[q]=p;k=o-1}for(var u,t=[],k=0;b>k;)if(g.test(j[k])){var v=k;for(++k;b>k&&g.test(j[k]);++k);t.push({from:v,to:k,level:0})}else{var w=k,x=t.length;for(++k;b>k&&"L"!=j[k];++k);for(var q=w;k>q;)if(h.test(j[q])){q>w&&t.splice(x,0,{from:w,to:q,level:1});var y=q;for(++q;k>q&&h.test(j[q]);++q);t.splice(x,0,{from:y,to:q,level:2}),w=q}else++q;k>w&&t.splice(x,0,{from:w,to:k,level:1})}return 1==t[0].level&&(u=a.match(/^\s+/))&&(t[0].from=u[0].length,t.unshift({from:0,to:u[0].length,level:0})),1==Pe(t).level&&(u=a.match(/\s+$/))&&(Pe(t).to-=u[0].length,t.push({from:b-u[0].length,to:b,level:0})),t[0].level!=Pe(t).level&&t.push({from:b,to:b,level:t[0].level}),t}}();return w.version="3.12 +",w}(),CodeMirror.defineMode("clojure",function(){function j(a){for(var b={},c=a.split(" "),d=0;c.length>d;++d)b[c[d]]=!0;return b}function p(a,b,c){this.indent=a,this.type=b,this.prev=c}function q(a,b,c){a.indentStack=new p(b,c,a.indentStack)}function r(a){a.indentStack=a.indentStack.prev}function s(a,b){return"0"===a&&b.eat(/x/i)?(b.eatWhile(o.hex),!0):("+"!=a&&"-"!=a||!o.digit.test(b.peek())||(b.eat(o.sign),a=b.next()),o.digit.test(a)?(b.eat(a),b.eatWhile(o.digit),"."==b.peek()&&(b.eat("."),b.eatWhile(o.digit)),b.eat(o.exponent)&&(b.eat(o.sign),b.eatWhile(o.digit)),!0):!1)}function t(a){var b=a.next();b.match(/[a-z]/)&&a.match(/[a-z]+/,!0)||"u"===b&&a.match(/[0-9a-z]{4}/i,!0)}var a="builtin",b="comment",c="string",d="string-2",e="atom",f="number",g="bracket",h="keyword",i=2,k=j("true false nil"),l=j("defn defn- def def- defonce defmulti defmethod defmacro defstruct deftype defprotocol defrecord defproject deftest slice defalias defhinted defmacro- defn-memo defnk defnk defonce- defunbound defunbound- defvar defvar- let letfn do case cond condp for loop recur when when-not when-let when-first if if-let if-not . .. -> ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle"),m=j("* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>"),n=j("ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch let letfn binding loop for doseq dotimes when-let if-let defstruct struct-map assoc testing deftest handler-case handle dotrace deftrace"),o={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+!\-\._?:\/]/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(j,p){if(null==p.indentStack&&j.sol()&&(p.indentation=j.indentation()),j.eatSpace())return null;var u=null;switch(p.mode){case"string":for(var v,w=!1;null!=(v=j.next());){if('"'==v&&!w){p.mode=!1;break}w=!w&&"\\"==v}u=c;break;default:var x=j.next();if('"'==x)p.mode="string",u=c;else if("\\"==x)t(j),u=d;else if("'"!=x||o.digit_or_colon.test(j.peek()))if(";"==x)j.skipToEnd(),u=b;else if(s(x,j))u=f;else if("("==x||"["==x||"{"==x){var A,y="",z=j.column();if("("==x)for(;null!=(A=j.eat(o.keyword_char));)y+=A;y.length>0&&(n.propertyIsEnumerable(y)||/^(?:def|with)/.test(y))?q(p,z+i,x):(j.eatSpace(),j.eol()||";"==j.peek()?q(p,z+1,x):q(p,z+j.current().length,x)),j.backUp(j.current().length-1),u=g}else if(")"==x||"]"==x||"}"==x)u=g,null!=p.indentStack&&p.indentStack.type==(")"==x?"(":"]"==x?"[":"{")&&r(p);else{if(":"==x)return j.eatWhile(o.symbol),e;j.eatWhile(o.symbol),u=l&&l.propertyIsEnumerable(j.current())?h:m&&m.propertyIsEnumerable(j.current())?a:k&&k.propertyIsEnumerable(j.current())?e:null}else u=e}return u},indent:function(a){return null==a.indentStack?a.indentation:a.indentStack.indent}}}),CodeMirror.defineMIME("text/x-clojure","clojure"),CodeMirror.defineMode("javascript",function(a,b){function h(a,b,c){return b.tokenize=c,c(a,b)}function i(a,b){for(var d,c=!1;null!=(d=a.next());){if(d==b&&!c)return!1;c=!c&&"\\"==d}return c}function l(a,b,c){return j=a,k=c,b}function m(a,b){var c=a.next();if('"'==c||"'"==c)return h(a,b,n(c));if(/[\[\]{}\(\),;\:\.]/.test(c))return l(c);if("0"==c&&a.eat(/x/i))return a.eatWhile(/[\da-f]/i),l("number","number");if(/\d/.test(c)||"-"==c&&a.eat(/\d/))return a.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),l("number","number");if("/"==c)return a.eat("*")?h(a,b,o):a.eat("/")?(a.skipToEnd(),l("comment","comment")):"operator"==b.lastType||"keyword c"==b.lastType||/^[\[{}\(,;:]$/.test(b.lastType)?(i(a,"/"),a.eatWhile(/[gimy]/),l("regexp","string-2")):(a.eatWhile(g),l("operator",null,a.current()));if("#"==c)return a.skipToEnd(),l("error","error");if(g.test(c))return a.eatWhile(g),l("operator",null,a.current());a.eatWhile(/[\w\$_]/);var d=a.current(),e=f.propertyIsEnumerable(d)&&f[d];return e&&"."!=b.lastType?l(e.type,e.style,d):l("variable","variable",d)}function n(a){return function(b,c){return i(b,a)||(c.tokenize=m),l("string","string")}}function o(a,b){for(var d,c=!1;d=a.next();){if("/"==d&&c){b.tokenize=m;break}c="*"==d}return l("comment","comment")}function q(a,b,c,d,e,f){this.indented=a,this.column=b,this.type=c,this.prev=e,this.info=f,null!=d&&(this.align=d)}function r(a,b){for(var c=a.localVars;c;c=c.next)if(c.name==b)return!0}function s(a,b,c,e,f){var g=a.cc;for(t.state=a,t.stream=f,t.marked=null,t.cc=g,a.lexical.hasOwnProperty("align")||(a.lexical.align=!0);;){var h=g.length?g.pop():d?E:D;if(h(c,e)){for(;g.length&&g[g.length-1].lex;)g.pop()();return t.marked?t.marked:"variable"==c&&r(a,e)?"variable-2":b}}}function u(){for(var a=arguments.length-1;a>=0;a--)t.cc.push(arguments[a])}function v(){return u.apply(null,arguments),!0}function w(a){function b(b){for(var c=b;c;c=c.next)if(c.name==a)return!0;return!1}var c=t.state;if(c.context){if(t.marked="def",b(c.localVars))return;c.localVars={name:a,next:c.localVars}}else{if(b(c.globalVars))return;c.globalVars={name:a,next:c.globalVars}}}function y(){t.state.context={prev:t.state.context,vars:t.state.localVars},t.state.localVars=x}function z(){t.state.localVars=t.state.context.vars,t.state.context=t.state.context.prev}function A(a,b){var c=function(){var c=t.state;c.lexical=new q(c.indented,t.stream.column(),a,null,c.lexical,b)};return c.lex=!0,c}function B(){var a=t.state;a.lexical.prev&&(")"==a.lexical.type&&(a.indented=a.lexical.indented),a.lexical=a.lexical.prev)}function C(a){return function(b){return b==a?v():";"==a?u():v(arguments.callee)}}function D(a){return"var"==a?v(A("vardef"),S,C(";"),B):"keyword a"==a?v(A("form"),E,D,B):"keyword b"==a?v(A("form"),D,B):"{"==a?v(A("}"),P,B):";"==a?v():"if"==a?v(A("form"),E,D,B,U(t.state.indented)):"function"==a?v(Z):"for"==a?v(A("form"),C("("),A(")"),V,C(")"),B,D,B):"variable"==a?v(A("stat"),K):"switch"==a?v(A("form"),E,A("}","switch"),C("{"),P,B,B):"case"==a?v(E,C(":")):"default"==a?v(C(":")):"catch"==a?v(A("form"),y,C("("),$,C(")"),D,B,z):u(A("stat"),E,C(";"),B)}function E(a){return G(a,I)}function F(a){return G(a,J)}function G(a,b){return p.hasOwnProperty(a)?v(b):"function"==a?v(Z):"keyword c"==a?v(H):"("==a?v(A(")"),H,C(")"),B,b):"operator"==a?v(E):"["==a?v(A("]"),O(F,"]"),B,b):"{"==a?v(A("}"),O(M,"}"),B,b):v()}function H(a){return a.match(/[;\}\)\],]/)?u():u(E)}function I(a,b){return","==a?v(E):J(a,b,I)}function J(a,b,c){return c||(c=J),"operator"==a?/\+\+|--/.test(b)?v(c):"?"==b?v(E,C(":"),E):v(E):";"!=a?"("==a?v(A(")","call"),O(F,")"),B,c):"."==a?v(L,c):"["==a?v(A("]"),E,C("]"),B,c):void 0:void 0}function K(a){return":"==a?v(B,D):u(I,C(";"),B)}function L(a){return"variable"==a?(t.marked="property",v()):void 0}function M(a,b){if("variable"==a){if(t.marked="property","get"==b||"set"==b)return v(N)}else("number"==a||"string"==a)&&(t.marked=a+" property");return p.hasOwnProperty(a)?v(C(":"),F):void 0}function N(a){return":"==a?v(E):"variable"!=a?v(C(":"),E):(t.marked="property",v(Z))}function O(a,b){function c(d){if(","==d){var e=t.state.lexical;return"call"==e.info&&(e.pos=(e.pos||0)+1),v(a,c)}return d==b?v():v(C(b))}return function(d){return d==b?v():u(a,c)}}function P(a){return"}"==a?v():u(D,P)}function Q(a){return":"==a?v(R):u()}function R(a){return"variable"==a?(t.marked="variable-3",v()):u()}function S(a,b){return"variable"==a?(w(b),e?v(Q,T):v(T)):u()}function T(a,b){return"="==b?v(F,T):","==a?v(S):void 0}function U(a){return function(b,c){return"keyword b"==b&&"else"==c?(t.state.lexical=new q(a,0,"form",null,t.state.lexical),v(D,B)):u()}}function V(a){return"var"==a?v(S,C(";"),X):";"==a?v(X):"variable"==a?v(W):u(E,C(";"),X)}function W(a,b){return"in"==b?v(E):v(I,X)}function X(a,b){return";"==a?v(Y):"in"==b?v(E):u(E,C(";"),Y)}function Y(a){")"!=a&&v(E)}function Z(a,b){return"variable"==a?(w(b),v(Z)):"("==a?v(A(")"),y,O($,")"),B,D,z):void 0}function $(a,b){return"variable"==a?(w(b),e?v(Q):v()):void 0}var j,k,c=a.indentUnit,d=b.json,e=b.typescript,f=function(){function a(a){return{type:a,style:"keyword"}}var b=a("keyword a"),c=a("keyword b"),d=a("keyword c"),f=a("operator"),g={type:"atom",style:"atom"},h={"if":a("if"),"while":b,"with":b,"else":c,"do":c,"try":c,"finally":c,"return":d,"break":d,"continue":d,"new":d,"delete":d,"throw":d,"var":a("var"),"const":a("var"),let:a("var"),"function":a("function"),"catch":a("catch"),"for":a("for"),"switch":a("switch"),"case":a("case"),"default":a("default"),"in":f,"typeof":f,"instanceof":f,"true":g,"false":g,"null":g,undefined:g,NaN:g,Infinity:g,"this":a("this")};if(e){var i={type:"variable",style:"variable-3"},j={"interface":a("interface"),"class":a("class"),"extends":a("extends"),constructor:a("constructor"),"public":a("public"),"private":a("private"),"protected":a("protected"),"static":a("static"),"super":a("super"),string:i,number:i,bool:i,any:i};for(var k in j)h[k]=j[k]}return h}(),g=/[+\-*&%=<>!?|~^]/,p={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,"this":!0},t={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return B.lex=!0,{startState:function(a){return{tokenize:m,lastType:null,cc:[],lexical:new q((a||0)-c,0,"block",!1),localVars:b.localVars,globalVars:b.globalVars,context:b.localVars&&{vars:b.localVars},indented:0}},token:function(a,b){if(a.sol()&&(b.lexical.hasOwnProperty("align")||(b.lexical.align=!1),b.indented=a.indentation()),b.tokenize!=o&&a.eatSpace())return null;var c=b.tokenize(a,b);return"comment"==j?c:(b.lastType="operator"!=j||"++"!=k&&"--"!=k?j:"incdec",s(b,c,j,k,a))},indent:function(a,d){if(a.tokenize==o)return CodeMirror.Pass;if(a.tokenize!=m)return 0;var e=d&&d.charAt(0),f=a.lexical;"stat"==f.type&&"}"==e&&(f=f.prev);var g=f.type,h=e==g;return null!=b.statementIndent&&(")"==g&&f.prev&&"stat"==f.prev.type&&(f=f.prev),"stat"==f.type)?f.indented+b.statementIndent:"vardef"==g?f.indented+("operator"==a.lastType||","==a.lastType?4:0):"form"==g&&"{"==e?f.indented:"form"==g?f.indented+c:"stat"==g?f.indented+("operator"==a.lastType||","==a.lastType?c:0):"switch"!=f.info||h?f.align?f.column+(h?0:1):f.indented+(h?0:c):f.indented+(/^(?:case|default)\b/.test(d)?c:2*c)},electricChars:":{}",jsonMode:d}}),CodeMirror.defineMIME("text/javascript","javascript"),CodeMirror.defineMIME("text/ecmascript","javascript"),CodeMirror.defineMIME("application/javascript","javascript"),CodeMirror.defineMIME("application/ecmascript","javascript"),CodeMirror.defineMIME("application/json",{name:"javascript",json:!0}),CodeMirror.defineMIME("application/x-json",{name:"javascript",json:!0}),CodeMirror.defineMIME("text/typescript",{name:"javascript",typescript:!0}),CodeMirror.defineMIME("application/typescript",{name:"javascript",typescript:!0}),function(){function d(a){function n(e,f,g){if(e.text){var h=i?0:e.text.length-1,n=i?e.text.length:-1;if(e.text.length>d)return null;var o=1e3>e.text.length;for(null!=g&&(h=g+j);h!=n;h+=j){var p=e.text.charAt(h);if(m.test(p)&&(!o||a.getTokenAt(b(f,h+1)).type==k)){var q=c[p];if(">"==q.charAt(1)==i)l.push(p);else{if(l.pop()!=q.charAt(0))return{pos:h,match:!1};if(!l.length)return{pos:h,match:!0}}}}}}var d=a.state._matchBrackets.maxScanLineLength||1e4,e=a.getCursor(),f=a.getLineHandle(e.line),g=e.ch-1,h=g>=0&&c[f.text.charAt(g)]||c[f.text.charAt(++g)];if(!h)return null;for(var p,i=">"==h.charAt(1),j=i?1:-1,k=a.getTokenAt(b(e.line,g+1)).type,l=[f.text.charAt(g)],m=/[(){}[\]]/,o=e.line,q=i?Math.min(o+100,a.lineCount()):Math.max(-1,o-100);o!=q&&!(p=o==e.line?n(f,o,g):n(a.getLineHandle(o),o));o+=j);return{from:b(e.line,g),to:p&&b(o,p.pos),match:p&&p.match}}function e(c,e){var f=c.state._matchBrackets.maxHighlightLineLength||1e3,g=d(c);if(!(!g||c.getLine(g.from.line).length>f||g.to&&c.getLine(g.to.line).length>f)){var h=g.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket",i=c.markText(g.from,b(g.from.line,g.from.ch+1),{className:h}),j=g.to&&c.markText(g.to,b(g.to.line,g.to.ch+1),{className:h});a&&c.state.focused&&c.display.input.focus();var k=function(){c.operation(function(){i.clear(),j&&j.clear()})};return e?(setTimeout(k,800),void 0):k}}function g(a){a.operation(function(){f&&(f(),f=null),a.somethingSelected()||(f=e(a,!1))})}var a=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||8>document.documentMode),b=CodeMirror.Pos,c={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},f=null;CodeMirror.defineOption("matchBrackets",!1,function(a,b,c){c&&c!=CodeMirror.Init&&a.off("cursorActivity",g),b&&(a.state._matchBrackets="object"==typeof b?b:{},a.on("cursorActivity",g))}),CodeMirror.defineExtension("matchBrackets",function(){e(this,!0)}),CodeMirror.defineExtension("findMatchingBracket",function(){return d(this)})}(),function(){function c(a){for(var c={name:"autoCloseBrackets",Backspace:function(b){if(b.somethingSelected())return CodeMirror.Pass;var c=b.getCursor(),d=b.getLine(c.line);return c.ch&&c.ch<d.length&&0==a.indexOf(d.slice(c.ch-1,c.ch+1))%2?(b.replaceRange("",CodeMirror.Pos(c.line,c.ch-1),CodeMirror.Pos(c.line,c.ch+1)),void 0):CodeMirror.Pass}},d=[],e=0;a.length>e;e+=2)(function(a,e){function f(b){var c=b.getSelection();b.replaceSelection(a+c+e)}function g(a){var b=a.getCursor(),c=a.getRange(b,CodeMirror.Pos(b.line,b.ch+1));return c!=e||a.somethingSelected()?CodeMirror.Pass:(a.execCommand("goCharRight"),void 0)}a!=e&&d.push(e),c["'"+a+"'"]=function(c){if("'"==a&&"comment"==c.getTokenAt(c.getCursor()).type)return CodeMirror.Pass;if(c.somethingSelected())return f(c);if(a!=e||g(c)==CodeMirror.Pass){var h=c.getCursor(),i=CodeMirror.Pos(h.line,h.ch+1),j=c.getLine(h.line),k=j.charAt(h.ch);return j.length==h.ch||d.indexOf(k)>=0||b.test(k)?(c.replaceSelection(a+e,{head:i,anchor:i}),void 0):CodeMirror.Pass}},a!=e&&(c["'"+e+"'"]=g)})(a.charAt(e),a.charAt(e+1));return c}var a="()[]{}''\"\"",b=/\s/;CodeMirror.defineOption("autoCloseBrackets",!1,function(b,d,e){var f=e&&e!=CodeMirror.Init;d&&!f?b.addKeyMap(c("string"==typeof d?d:a)):!d&&f&&b.removeKeyMap("autoCloseBrackets")})}(),function(){function c(c){this.minChars="object"==typeof c&&c.minChars||a,this.style="object"==typeof c&&c.style||b,this.overlay=null}function d(a){a.operation(function(){var b=a._matchHighlightState;if(b.overlay&&(a.removeOverlay(b.overlay),b.overlay=null),a.somethingSelected()){var c=a.getSelection().replace(/^\s+|\s+$/g,"");c.length<b.minChars||a.addOverlay(b.overlay=e(c,b.style))}})}function e(a,b){return{token:function(c){return c.match(a)?b:(c.next(),c.skipTo(a.charAt(0))||c.skipToEnd(),void 0)}}}var a=2,b="matchhighlight";CodeMirror.defineOption("highlightSelectionMatches",!1,function(a,b,e){var f=e&&e!=CodeMirror.Init;if(b&&!f)a._matchHighlightState=new c(b),a.on("cursorActivity",d);else if(!b&&f){var g=a._matchHighlightState.overlay;g&&a.removeOverlay(g),a._matchHighlightState=null,a.off("cursorActivity",d)}})}(),function(){"use strict";function c(c){"_activeLine"in c&&(c.removeLineClass(c._activeLine,"wrap",a),c.removeLineClass(c._activeLine,"background",b))}function d(d){var e=d.getLineHandle(d.getCursor().line);d._activeLine!=e&&(c(d),d.addLineClass(e,"wrap",a),d.addLineClass(e,"background",b),d._activeLine=e)}var a="CodeMirror-activeline",b="CodeMirror-activeline-background";CodeMirror.defineOption("styleActiveLine",!1,function(a,b,e){var f=e&&e!=CodeMirror.Init;b&&!f?(d(a),a.on("cursorActivity",d)):!b&&f&&(a.off("cursorActivity",d),c(a),delete a._activeLine)})}(),function(){function b(b){a.push(b),a.length>50&&a.shift()}function c(){return a[a.length-1]||""}function d(){return a.length>1&&a.pop(),c()}var a=[];CodeMirror.keyMap.emacs={"Ctrl-X":function(a){a.setOption("keyMap","emacs-Ctrl-X")},"Ctrl-W":function(a){b(a.getSelection()),a.replaceSelection("")},"Ctrl-Alt-W":function(a){b(a.getSelection()),a.replaceSelection("")},"Alt-W":function(a){b(a.getSelection())},"Ctrl-Y":function(a){a.replaceSelection(c())},"Alt-Y":function(a){a.replaceSelection(d())},"Ctrl-/":"undo","Shift-Ctrl--":"undo","Shift-Alt-,":"goDocStart","Shift-Alt-.":"goDocEnd","Ctrl-S":"findNext","Ctrl-R":"findPrev","Ctrl-G":"clearSearch","Shift-Alt-5":"replace","Ctrl-Z":"undo","Cmd-Z":"undo","Alt-/":"autocomplete","Alt-V":"goPageUp","Ctrl-J":"newlineAndIndent",Enter:!1,Tab:"indentAuto",fallthrough:["basic","emacsy"]},CodeMirror.keyMap["emacs-Ctrl-X"]={"Ctrl-S":"save","Ctrl-W":"save",S:"saveAll",F:"open",U:"undo",K:"close",auto:"emacs",nofallthrough:!0}}();