@liascript/exporter 2.0.0--preview2 → 2.1.1--0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (587) hide show
  1. package/README.md +247 -190
  2. package/dist/assets/indexeddb/Browser.94ce77da.js +1 -0
  3. package/dist/assets/indexeddb/KaTeX_AMS-Regular.0ed69bcc.woff +0 -0
  4. package/dist/assets/indexeddb/KaTeX_AMS-Regular.250082d1.ttf +0 -0
  5. package/dist/assets/indexeddb/KaTeX_AMS-Regular.4cd18550.woff2 +0 -0
  6. package/dist/assets/indexeddb/KaTeX_Caligraphic-Bold.5d7c4d00.ttf +0 -0
  7. package/dist/assets/indexeddb/KaTeX_Caligraphic-Bold.7d84fcea.woff2 +0 -0
  8. package/dist/assets/indexeddb/KaTeX_Caligraphic-Bold.8b718944.woff +0 -0
  9. package/dist/assets/indexeddb/KaTeX_Caligraphic-Regular.7e34eae2.woff2 +0 -0
  10. package/dist/assets/indexeddb/KaTeX_Caligraphic-Regular.ab0f4493.woff +0 -0
  11. package/dist/assets/indexeddb/KaTeX_Caligraphic-Regular.d4de5f30.ttf +0 -0
  12. package/dist/assets/indexeddb/KaTeX_Fraktur-Bold.4d449c5d.ttf +0 -0
  13. package/dist/assets/indexeddb/KaTeX_Fraktur-Bold.75fe0c6c.woff +0 -0
  14. package/dist/assets/indexeddb/KaTeX_Fraktur-Bold.db0fea8b.woff2 +0 -0
  15. package/dist/assets/indexeddb/KaTeX_Fraktur-Regular.1cce75f1.woff +0 -0
  16. package/dist/assets/indexeddb/KaTeX_Fraktur-Regular.7a216293.woff2 +0 -0
  17. package/dist/assets/indexeddb/KaTeX_Fraktur-Regular.ab0bff81.ttf +0 -0
  18. package/dist/assets/indexeddb/KaTeX_Main-Bold.08709b09.woff +0 -0
  19. package/dist/assets/indexeddb/KaTeX_Main-Bold.88cef7b1.woff2 +0 -0
  20. package/dist/assets/indexeddb/KaTeX_Main-Bold.95836a30.ttf +0 -0
  21. package/dist/assets/indexeddb/KaTeX_Main-BoldItalic.26f3c4f3.ttf +0 -0
  22. package/dist/assets/indexeddb/KaTeX_Main-BoldItalic.c09d0cf1.woff2 +0 -0
  23. package/dist/assets/indexeddb/KaTeX_Main-BoldItalic.d122a512.woff +0 -0
  24. package/dist/assets/indexeddb/KaTeX_Main-Italic.66e02c4c.woff +0 -0
  25. package/dist/assets/indexeddb/KaTeX_Main-Italic.c6e95937.ttf +0 -0
  26. package/dist/assets/indexeddb/KaTeX_Main-Italic.de0e580d.woff2 +0 -0
  27. package/dist/assets/indexeddb/KaTeX_Main-Regular.5a82f7eb.woff +0 -0
  28. package/dist/assets/indexeddb/KaTeX_Main-Regular.cd9ba532.ttf +0 -0
  29. package/dist/assets/indexeddb/KaTeX_Main-Regular.e2dbd876.woff2 +0 -0
  30. package/dist/assets/indexeddb/KaTeX_Math-BoldItalic.6cf39e99.woff2 +0 -0
  31. package/dist/assets/indexeddb/KaTeX_Math-BoldItalic.b0ed6322.woff +0 -0
  32. package/dist/assets/indexeddb/KaTeX_Math-BoldItalic.df285d77.ttf +0 -0
  33. package/dist/assets/indexeddb/KaTeX_Math-Italic.0470e72d.woff2 +0 -0
  34. package/dist/assets/indexeddb/KaTeX_Math-Italic.cfffd3c0.woff +0 -0
  35. package/dist/assets/indexeddb/KaTeX_Math-Italic.ffea941f.ttf +0 -0
  36. package/dist/assets/indexeddb/KaTeX_SansSerif-Bold.67ea3185.ttf +0 -0
  37. package/dist/assets/indexeddb/KaTeX_SansSerif-Bold.8e1222db.woff +0 -0
  38. package/dist/assets/indexeddb/KaTeX_SansSerif-Bold.b444b1f5.woff2 +0 -0
  39. package/dist/assets/indexeddb/KaTeX_SansSerif-Italic.6a451fb7.woff2 +0 -0
  40. package/dist/assets/indexeddb/KaTeX_SansSerif-Italic.75326218.ttf +0 -0
  41. package/dist/assets/indexeddb/KaTeX_SansSerif-Italic.fb683703.woff +0 -0
  42. package/dist/assets/indexeddb/KaTeX_SansSerif-Regular.51b8a34d.ttf +0 -0
  43. package/dist/assets/indexeddb/KaTeX_SansSerif-Regular.94fae992.woff +0 -0
  44. package/dist/assets/indexeddb/KaTeX_SansSerif-Regular.e52904c3.woff2 +0 -0
  45. package/dist/assets/indexeddb/KaTeX_Script-Regular.6205c9f9.woff +0 -0
  46. package/dist/assets/indexeddb/KaTeX_Script-Regular.964126b9.ttf +0 -0
  47. package/dist/assets/indexeddb/KaTeX_Script-Regular.9f85c0f7.woff2 +0 -0
  48. package/dist/assets/indexeddb/KaTeX_Size1-Regular.263f0826.woff2 +0 -0
  49. package/dist/assets/indexeddb/KaTeX_Size1-Regular.679bf7b5.woff +0 -0
  50. package/dist/assets/indexeddb/KaTeX_Size1-Regular.9e7bb2db.ttf +0 -0
  51. package/dist/assets/indexeddb/KaTeX_Size2-Regular.16a5807b.ttf +0 -0
  52. package/dist/assets/indexeddb/KaTeX_Size2-Regular.5c5b0f28.woff +0 -0
  53. package/dist/assets/indexeddb/KaTeX_Size2-Regular.7ddce1f2.woff2 +0 -0
  54. package/dist/assets/indexeddb/KaTeX_Size3-Regular.2a93ab93.woff +0 -0
  55. package/dist/assets/indexeddb/KaTeX_Size3-Regular.347ba5e0.ttf +0 -0
  56. package/dist/assets/indexeddb/KaTeX_Size3-Regular.8e605720.woff2 +0 -0
  57. package/dist/assets/indexeddb/KaTeX_Size4-Regular.2488fb45.woff +0 -0
  58. package/dist/assets/indexeddb/KaTeX_Size4-Regular.595ce6e5.woff2 +0 -0
  59. package/dist/assets/indexeddb/KaTeX_Size4-Regular.f41b14d6.ttf +0 -0
  60. package/dist/assets/indexeddb/KaTeX_Typewriter-Regular.21beea8e.woff2 +0 -0
  61. package/dist/assets/indexeddb/KaTeX_Typewriter-Regular.662fc5b4.woff +0 -0
  62. package/dist/assets/indexeddb/KaTeX_Typewriter-Regular.ffbe21f7.ttf +0 -0
  63. package/dist/assets/indexeddb/editor/ace.js +17 -0
  64. package/dist/assets/indexeddb/editor/ext-beautify.js +8 -0
  65. package/dist/assets/indexeddb/editor/ext-code_lens.js +8 -0
  66. package/dist/assets/indexeddb/editor/ext-elastic_tabstops_lite.js +8 -0
  67. package/dist/assets/indexeddb/editor/ext-emmet.js +8 -0
  68. package/dist/assets/indexeddb/editor/ext-error_marker.js +8 -0
  69. package/dist/assets/indexeddb/editor/ext-hardwrap.js +8 -0
  70. package/dist/assets/indexeddb/editor/ext-keybinding_menu.js +8 -0
  71. package/dist/assets/indexeddb/editor/ext-language_tools.js +8 -0
  72. package/dist/assets/indexeddb/editor/ext-linking.js +8 -0
  73. package/dist/assets/indexeddb/editor/ext-modelist.js +8 -0
  74. package/dist/assets/indexeddb/editor/ext-options.js +8 -0
  75. package/dist/assets/indexeddb/editor/ext-prompt.js +8 -0
  76. package/dist/assets/indexeddb/editor/ext-rtl.js +8 -0
  77. package/dist/assets/indexeddb/editor/ext-searchbox.js +8 -0
  78. package/dist/assets/indexeddb/editor/ext-settings_menu.js +8 -0
  79. package/dist/assets/indexeddb/editor/ext-spellcheck.js +8 -0
  80. package/dist/assets/indexeddb/editor/ext-split.js +8 -0
  81. package/dist/assets/indexeddb/editor/ext-static_highlight.js +8 -0
  82. package/dist/assets/indexeddb/editor/ext-statusbar.js +8 -0
  83. package/dist/assets/indexeddb/editor/ext-textarea.js +8 -0
  84. package/dist/assets/indexeddb/editor/ext-themelist.js +8 -0
  85. package/dist/assets/indexeddb/editor/ext-whitespace.js +8 -0
  86. package/dist/assets/indexeddb/editor/keybinding-emacs.js +8 -0
  87. package/dist/assets/indexeddb/editor/keybinding-sublime.js +8 -0
  88. package/dist/assets/indexeddb/editor/keybinding-vim.js +8 -0
  89. package/dist/assets/indexeddb/editor/keybinding-vscode.js +8 -0
  90. package/dist/assets/indexeddb/editor/mode-abap.js +8 -0
  91. package/dist/assets/indexeddb/editor/mode-abc.js +8 -0
  92. package/dist/assets/indexeddb/editor/mode-actionscript.js +8 -0
  93. package/dist/assets/indexeddb/editor/mode-ada.js +8 -0
  94. package/dist/assets/indexeddb/editor/mode-alda.js +8 -0
  95. package/dist/assets/indexeddb/editor/mode-apache_conf.js +8 -0
  96. package/dist/assets/indexeddb/editor/mode-apex.js +8 -0
  97. package/dist/assets/indexeddb/editor/mode-applescript.js +8 -0
  98. package/dist/assets/indexeddb/editor/mode-aql.js +8 -0
  99. package/dist/assets/indexeddb/editor/mode-asciidoc.js +8 -0
  100. package/dist/assets/indexeddb/editor/mode-asl.js +8 -0
  101. package/dist/assets/indexeddb/editor/mode-assembly_x86.js +8 -0
  102. package/dist/assets/indexeddb/editor/mode-autohotkey.js +8 -0
  103. package/dist/assets/indexeddb/editor/mode-batchfile.js +8 -0
  104. package/dist/assets/indexeddb/editor/mode-c9search.js +8 -0
  105. package/dist/assets/indexeddb/editor/mode-c_cpp.js +8 -0
  106. package/dist/assets/indexeddb/editor/mode-cirru.js +8 -0
  107. package/dist/assets/indexeddb/editor/mode-clojure.js +8 -0
  108. package/dist/assets/indexeddb/editor/mode-cobol.js +8 -0
  109. package/dist/assets/indexeddb/editor/mode-coffee.js +8 -0
  110. package/dist/assets/indexeddb/editor/mode-coldfusion.js +8 -0
  111. package/dist/assets/indexeddb/editor/mode-crystal.js +8 -0
  112. package/dist/assets/indexeddb/editor/mode-csharp.js +8 -0
  113. package/dist/assets/indexeddb/editor/mode-csound_document.js +8 -0
  114. package/dist/assets/indexeddb/editor/mode-csound_orchestra.js +8 -0
  115. package/dist/assets/indexeddb/editor/mode-csound_score.js +8 -0
  116. package/dist/assets/indexeddb/editor/mode-csp.js +8 -0
  117. package/dist/assets/indexeddb/editor/mode-css.js +8 -0
  118. package/dist/assets/indexeddb/editor/mode-curly.js +8 -0
  119. package/dist/assets/indexeddb/editor/mode-d.js +8 -0
  120. package/dist/assets/indexeddb/editor/mode-dart.js +8 -0
  121. package/dist/assets/indexeddb/editor/mode-diff.js +8 -0
  122. package/dist/assets/indexeddb/editor/mode-django.js +8 -0
  123. package/dist/assets/indexeddb/editor/mode-dockerfile.js +8 -0
  124. package/dist/assets/indexeddb/editor/mode-dot.js +8 -0
  125. package/dist/assets/indexeddb/editor/mode-drools.js +8 -0
  126. package/dist/assets/indexeddb/editor/mode-edifact.js +8 -0
  127. package/dist/assets/indexeddb/editor/mode-eiffel.js +8 -0
  128. package/dist/assets/indexeddb/editor/mode-ejs.js +8 -0
  129. package/dist/assets/indexeddb/editor/mode-elixir.js +8 -0
  130. package/dist/assets/indexeddb/editor/mode-elm.js +8 -0
  131. package/dist/assets/indexeddb/editor/mode-erlang.js +8 -0
  132. package/dist/assets/indexeddb/editor/mode-forth.js +8 -0
  133. package/dist/assets/indexeddb/editor/mode-fortran.js +8 -0
  134. package/dist/assets/indexeddb/editor/mode-fsharp.js +8 -0
  135. package/dist/assets/indexeddb/editor/mode-fsl.js +8 -0
  136. package/dist/assets/indexeddb/editor/mode-ftl.js +8 -0
  137. package/dist/assets/indexeddb/editor/mode-gcode.js +8 -0
  138. package/dist/assets/indexeddb/editor/mode-gherkin.js +8 -0
  139. package/dist/assets/indexeddb/editor/mode-gitignore.js +8 -0
  140. package/dist/assets/indexeddb/editor/mode-glsl.js +8 -0
  141. package/dist/assets/indexeddb/editor/mode-gobstones.js +8 -0
  142. package/dist/assets/indexeddb/editor/mode-golang.js +8 -0
  143. package/dist/assets/indexeddb/editor/mode-graphqlschema.js +8 -0
  144. package/dist/assets/indexeddb/editor/mode-groovy.js +8 -0
  145. package/dist/assets/indexeddb/editor/mode-haml.js +8 -0
  146. package/dist/assets/indexeddb/editor/mode-handlebars.js +8 -0
  147. package/dist/assets/indexeddb/editor/mode-haskell.js +8 -0
  148. package/dist/assets/indexeddb/editor/mode-haskell_cabal.js +8 -0
  149. package/dist/assets/indexeddb/editor/mode-haxe.js +8 -0
  150. package/dist/assets/indexeddb/editor/mode-hjson.js +8 -0
  151. package/dist/assets/indexeddb/editor/mode-html.js +8 -0
  152. package/dist/assets/indexeddb/editor/mode-html_elixir.js +8 -0
  153. package/dist/assets/indexeddb/editor/mode-html_ruby.js +8 -0
  154. package/dist/assets/indexeddb/editor/mode-ini.js +8 -0
  155. package/dist/assets/indexeddb/editor/mode-io.js +8 -0
  156. package/dist/assets/indexeddb/editor/mode-jack.js +8 -0
  157. package/dist/assets/indexeddb/editor/mode-jade.js +8 -0
  158. package/dist/assets/indexeddb/editor/mode-java.js +8 -0
  159. package/dist/assets/indexeddb/editor/mode-javascript.js +8 -0
  160. package/dist/assets/indexeddb/editor/mode-json.js +8 -0
  161. package/dist/assets/indexeddb/editor/mode-json5.js +8 -0
  162. package/dist/assets/indexeddb/editor/mode-jsoniq.js +8 -0
  163. package/dist/assets/indexeddb/editor/mode-jsp.js +8 -0
  164. package/dist/assets/indexeddb/editor/mode-jssm.js +8 -0
  165. package/dist/assets/indexeddb/editor/mode-jsx.js +8 -0
  166. package/dist/assets/indexeddb/editor/mode-julia.js +8 -0
  167. package/dist/assets/indexeddb/editor/mode-kotlin.js +8 -0
  168. package/dist/assets/indexeddb/editor/mode-latex.js +8 -0
  169. package/dist/assets/indexeddb/editor/mode-latte.js +8 -0
  170. package/dist/assets/indexeddb/editor/mode-less.js +8 -0
  171. package/dist/assets/indexeddb/editor/mode-liquid.js +8 -0
  172. package/dist/assets/indexeddb/editor/mode-lisp.js +8 -0
  173. package/dist/assets/indexeddb/editor/mode-livescript.js +8 -0
  174. package/dist/assets/indexeddb/editor/mode-logiql.js +8 -0
  175. package/dist/assets/indexeddb/editor/mode-logtalk.js +8 -0
  176. package/dist/assets/indexeddb/editor/mode-lsl.js +8 -0
  177. package/dist/assets/indexeddb/editor/mode-lua.js +8 -0
  178. package/dist/assets/indexeddb/editor/mode-luapage.js +8 -0
  179. package/dist/assets/indexeddb/editor/mode-lucene.js +8 -0
  180. package/dist/assets/indexeddb/editor/mode-makefile.js +8 -0
  181. package/dist/assets/indexeddb/editor/mode-markdown.js +8 -0
  182. package/dist/assets/indexeddb/editor/mode-mask.js +8 -0
  183. package/dist/assets/indexeddb/editor/mode-matlab.js +8 -0
  184. package/dist/assets/indexeddb/editor/mode-maze.js +8 -0
  185. package/dist/assets/indexeddb/editor/mode-mediawiki.js +8 -0
  186. package/dist/assets/indexeddb/editor/mode-mel.js +8 -0
  187. package/dist/assets/indexeddb/editor/mode-mips.js +8 -0
  188. package/dist/assets/indexeddb/editor/mode-mixal.js +8 -0
  189. package/dist/assets/indexeddb/editor/mode-mushcode.js +8 -0
  190. package/dist/assets/indexeddb/editor/mode-mysql.js +8 -0
  191. package/dist/assets/indexeddb/editor/mode-nginx.js +8 -0
  192. package/dist/assets/indexeddb/editor/mode-nim.js +8 -0
  193. package/dist/assets/indexeddb/editor/mode-nix.js +8 -0
  194. package/dist/assets/indexeddb/editor/mode-nsis.js +8 -0
  195. package/dist/assets/indexeddb/editor/mode-nunjucks.js +8 -0
  196. package/dist/assets/indexeddb/editor/mode-objectivec.js +8 -0
  197. package/dist/assets/indexeddb/editor/mode-ocaml.js +8 -0
  198. package/dist/assets/indexeddb/editor/mode-pascal.js +8 -0
  199. package/dist/assets/indexeddb/editor/mode-perl.js +8 -0
  200. package/dist/assets/indexeddb/editor/mode-pgsql.js +8 -0
  201. package/dist/assets/indexeddb/editor/mode-php.js +8 -0
  202. package/dist/assets/indexeddb/editor/mode-php_laravel_blade.js +8 -0
  203. package/dist/assets/indexeddb/editor/mode-pig.js +8 -0
  204. package/dist/assets/indexeddb/editor/mode-plain_text.js +8 -0
  205. package/dist/assets/indexeddb/editor/mode-powershell.js +8 -0
  206. package/dist/assets/indexeddb/editor/mode-praat.js +8 -0
  207. package/dist/assets/indexeddb/editor/mode-prisma.js +8 -0
  208. package/dist/assets/indexeddb/editor/mode-prolog.js +8 -0
  209. package/dist/assets/indexeddb/editor/mode-properties.js +8 -0
  210. package/dist/assets/indexeddb/editor/mode-protobuf.js +8 -0
  211. package/dist/assets/indexeddb/editor/mode-puppet.js +8 -0
  212. package/dist/assets/indexeddb/editor/mode-python.js +8 -0
  213. package/dist/assets/indexeddb/editor/mode-qml.js +8 -0
  214. package/dist/assets/indexeddb/editor/mode-r.js +8 -0
  215. package/dist/assets/indexeddb/editor/mode-raku.js +8 -0
  216. package/dist/assets/indexeddb/editor/mode-razor.js +8 -0
  217. package/dist/assets/indexeddb/editor/mode-rdoc.js +8 -0
  218. package/dist/assets/indexeddb/editor/mode-red.js +8 -0
  219. package/dist/assets/indexeddb/editor/mode-redshift.js +8 -0
  220. package/dist/assets/indexeddb/editor/mode-rhtml.js +8 -0
  221. package/dist/assets/indexeddb/editor/mode-rst.js +8 -0
  222. package/dist/assets/indexeddb/editor/mode-ruby.js +8 -0
  223. package/dist/assets/indexeddb/editor/mode-rust.js +8 -0
  224. package/dist/assets/indexeddb/editor/mode-sass.js +8 -0
  225. package/dist/assets/indexeddb/editor/mode-scad.js +8 -0
  226. package/dist/assets/indexeddb/editor/mode-scala.js +8 -0
  227. package/dist/assets/indexeddb/editor/mode-scheme.js +8 -0
  228. package/dist/assets/indexeddb/editor/mode-scrypt.js +8 -0
  229. package/dist/assets/indexeddb/editor/mode-scss.js +8 -0
  230. package/dist/assets/indexeddb/editor/mode-sh.js +8 -0
  231. package/dist/assets/indexeddb/editor/mode-sjs.js +8 -0
  232. package/dist/assets/indexeddb/editor/mode-slim.js +8 -0
  233. package/dist/assets/indexeddb/editor/mode-smarty.js +8 -0
  234. package/dist/assets/indexeddb/editor/mode-smithy.js +8 -0
  235. package/dist/assets/indexeddb/editor/mode-snippets.js +8 -0
  236. package/dist/assets/indexeddb/editor/mode-soy_template.js +8 -0
  237. package/dist/assets/indexeddb/editor/mode-space.js +8 -0
  238. package/dist/assets/indexeddb/editor/mode-sparql.js +8 -0
  239. package/dist/assets/indexeddb/editor/mode-sql.js +8 -0
  240. package/dist/assets/indexeddb/editor/mode-sqlserver.js +8 -0
  241. package/dist/assets/indexeddb/editor/mode-stylus.js +8 -0
  242. package/dist/assets/indexeddb/editor/mode-svg.js +8 -0
  243. package/dist/assets/indexeddb/editor/mode-swift.js +8 -0
  244. package/dist/assets/indexeddb/editor/mode-tcl.js +8 -0
  245. package/dist/assets/indexeddb/editor/mode-terraform.js +8 -0
  246. package/dist/assets/indexeddb/editor/mode-tex.js +8 -0
  247. package/dist/assets/indexeddb/editor/mode-text.js +8 -0
  248. package/dist/assets/indexeddb/editor/mode-textile.js +8 -0
  249. package/dist/assets/indexeddb/editor/mode-toml.js +8 -0
  250. package/dist/assets/indexeddb/editor/mode-tsx.js +8 -0
  251. package/dist/assets/indexeddb/editor/mode-turtle.js +8 -0
  252. package/dist/assets/indexeddb/editor/mode-twig.js +8 -0
  253. package/dist/assets/indexeddb/editor/mode-typescript.js +8 -0
  254. package/dist/assets/indexeddb/editor/mode-vala.js +8 -0
  255. package/dist/assets/indexeddb/editor/mode-vbscript.js +8 -0
  256. package/dist/assets/indexeddb/editor/mode-velocity.js +8 -0
  257. package/dist/assets/indexeddb/editor/mode-verilog.js +8 -0
  258. package/dist/assets/indexeddb/editor/mode-vhdl.js +8 -0
  259. package/dist/assets/indexeddb/editor/mode-visualforce.js +8 -0
  260. package/dist/assets/indexeddb/editor/mode-wollok.js +8 -0
  261. package/dist/assets/indexeddb/editor/mode-xml.js +8 -0
  262. package/dist/assets/indexeddb/editor/mode-xquery.js +8 -0
  263. package/dist/assets/indexeddb/editor/mode-yaml.js +8 -0
  264. package/dist/assets/indexeddb/editor/mode-zeek.js +8 -0
  265. package/dist/assets/indexeddb/editor/snippets/abap.js +8 -0
  266. package/dist/assets/indexeddb/editor/snippets/abc.js +8 -0
  267. package/dist/assets/indexeddb/editor/snippets/actionscript.js +8 -0
  268. package/dist/assets/indexeddb/editor/snippets/ada.js +8 -0
  269. package/dist/assets/indexeddb/editor/snippets/alda.js +8 -0
  270. package/dist/assets/indexeddb/editor/snippets/apache_conf.js +8 -0
  271. package/dist/assets/indexeddb/editor/snippets/apex.js +8 -0
  272. package/dist/assets/indexeddb/editor/snippets/applescript.js +8 -0
  273. package/dist/assets/indexeddb/editor/snippets/aql.js +8 -0
  274. package/dist/assets/indexeddb/editor/snippets/asciidoc.js +8 -0
  275. package/dist/assets/indexeddb/editor/snippets/asl.js +8 -0
  276. package/dist/assets/indexeddb/editor/snippets/assembly_x86.js +8 -0
  277. package/dist/assets/indexeddb/editor/snippets/autohotkey.js +8 -0
  278. package/dist/assets/indexeddb/editor/snippets/batchfile.js +8 -0
  279. package/dist/assets/indexeddb/editor/snippets/c9search.js +8 -0
  280. package/dist/assets/indexeddb/editor/snippets/c_cpp.js +8 -0
  281. package/dist/assets/indexeddb/editor/snippets/cirru.js +8 -0
  282. package/dist/assets/indexeddb/editor/snippets/clojure.js +8 -0
  283. package/dist/assets/indexeddb/editor/snippets/cobol.js +8 -0
  284. package/dist/assets/indexeddb/editor/snippets/coffee.js +8 -0
  285. package/dist/assets/indexeddb/editor/snippets/coldfusion.js +8 -0
  286. package/dist/assets/indexeddb/editor/snippets/crystal.js +8 -0
  287. package/dist/assets/indexeddb/editor/snippets/csharp.js +8 -0
  288. package/dist/assets/indexeddb/editor/snippets/csound_document.js +8 -0
  289. package/dist/assets/indexeddb/editor/snippets/csound_orchestra.js +8 -0
  290. package/dist/assets/indexeddb/editor/snippets/csound_score.js +8 -0
  291. package/dist/assets/indexeddb/editor/snippets/csp.js +8 -0
  292. package/dist/assets/indexeddb/editor/snippets/css.js +8 -0
  293. package/dist/assets/indexeddb/editor/snippets/curly.js +8 -0
  294. package/dist/assets/indexeddb/editor/snippets/d.js +8 -0
  295. package/dist/assets/indexeddb/editor/snippets/dart.js +8 -0
  296. package/dist/assets/indexeddb/editor/snippets/diff.js +8 -0
  297. package/dist/assets/indexeddb/editor/snippets/django.js +8 -0
  298. package/dist/assets/indexeddb/editor/snippets/dockerfile.js +8 -0
  299. package/dist/assets/indexeddb/editor/snippets/dot.js +8 -0
  300. package/dist/assets/indexeddb/editor/snippets/drools.js +8 -0
  301. package/dist/assets/indexeddb/editor/snippets/edifact.js +8 -0
  302. package/dist/assets/indexeddb/editor/snippets/eiffel.js +8 -0
  303. package/dist/assets/indexeddb/editor/snippets/ejs.js +8 -0
  304. package/dist/assets/indexeddb/editor/snippets/elixir.js +8 -0
  305. package/dist/assets/indexeddb/editor/snippets/elm.js +8 -0
  306. package/dist/assets/indexeddb/editor/snippets/erlang.js +8 -0
  307. package/dist/assets/indexeddb/editor/snippets/forth.js +8 -0
  308. package/dist/assets/indexeddb/editor/snippets/fortran.js +8 -0
  309. package/dist/assets/indexeddb/editor/snippets/fsharp.js +8 -0
  310. package/dist/assets/indexeddb/editor/snippets/fsl.js +8 -0
  311. package/dist/assets/indexeddb/editor/snippets/ftl.js +8 -0
  312. package/dist/assets/indexeddb/editor/snippets/gcode.js +8 -0
  313. package/dist/assets/indexeddb/editor/snippets/gherkin.js +8 -0
  314. package/dist/assets/indexeddb/editor/snippets/gitignore.js +8 -0
  315. package/dist/assets/indexeddb/editor/snippets/glsl.js +8 -0
  316. package/dist/assets/indexeddb/editor/snippets/gobstones.js +8 -0
  317. package/dist/assets/indexeddb/editor/snippets/golang.js +8 -0
  318. package/dist/assets/indexeddb/editor/snippets/graphqlschema.js +8 -0
  319. package/dist/assets/indexeddb/editor/snippets/groovy.js +8 -0
  320. package/dist/assets/indexeddb/editor/snippets/haml.js +8 -0
  321. package/dist/assets/indexeddb/editor/snippets/handlebars.js +8 -0
  322. package/dist/assets/indexeddb/editor/snippets/haskell.js +8 -0
  323. package/dist/assets/indexeddb/editor/snippets/haskell_cabal.js +8 -0
  324. package/dist/assets/indexeddb/editor/snippets/haxe.js +8 -0
  325. package/dist/assets/indexeddb/editor/snippets/hjson.js +8 -0
  326. package/dist/assets/indexeddb/editor/snippets/html.js +8 -0
  327. package/dist/assets/indexeddb/editor/snippets/html_elixir.js +8 -0
  328. package/dist/assets/indexeddb/editor/snippets/html_ruby.js +8 -0
  329. package/dist/assets/indexeddb/editor/snippets/ini.js +8 -0
  330. package/dist/assets/indexeddb/editor/snippets/io.js +8 -0
  331. package/dist/assets/indexeddb/editor/snippets/jack.js +8 -0
  332. package/dist/assets/indexeddb/editor/snippets/jade.js +8 -0
  333. package/dist/assets/indexeddb/editor/snippets/java.js +8 -0
  334. package/dist/assets/indexeddb/editor/snippets/javascript.js +8 -0
  335. package/dist/assets/indexeddb/editor/snippets/json.js +8 -0
  336. package/dist/assets/indexeddb/editor/snippets/json5.js +8 -0
  337. package/dist/assets/indexeddb/editor/snippets/jsoniq.js +8 -0
  338. package/dist/assets/indexeddb/editor/snippets/jsp.js +8 -0
  339. package/dist/assets/indexeddb/editor/snippets/jssm.js +8 -0
  340. package/dist/assets/indexeddb/editor/snippets/jsx.js +8 -0
  341. package/dist/assets/indexeddb/editor/snippets/julia.js +8 -0
  342. package/dist/assets/indexeddb/editor/snippets/kotlin.js +8 -0
  343. package/dist/assets/indexeddb/editor/snippets/latex.js +8 -0
  344. package/dist/assets/indexeddb/editor/snippets/latte.js +8 -0
  345. package/dist/assets/indexeddb/editor/snippets/less.js +8 -0
  346. package/dist/assets/indexeddb/editor/snippets/liquid.js +8 -0
  347. package/dist/assets/indexeddb/editor/snippets/lisp.js +8 -0
  348. package/dist/assets/indexeddb/editor/snippets/livescript.js +8 -0
  349. package/dist/assets/indexeddb/editor/snippets/logiql.js +8 -0
  350. package/dist/assets/indexeddb/editor/snippets/logtalk.js +8 -0
  351. package/dist/assets/indexeddb/editor/snippets/lsl.js +8 -0
  352. package/dist/assets/indexeddb/editor/snippets/lua.js +8 -0
  353. package/dist/assets/indexeddb/editor/snippets/luapage.js +8 -0
  354. package/dist/assets/indexeddb/editor/snippets/lucene.js +8 -0
  355. package/dist/assets/indexeddb/editor/snippets/makefile.js +8 -0
  356. package/dist/assets/indexeddb/editor/snippets/markdown.js +8 -0
  357. package/dist/assets/indexeddb/editor/snippets/mask.js +8 -0
  358. package/dist/assets/indexeddb/editor/snippets/matlab.js +8 -0
  359. package/dist/assets/indexeddb/editor/snippets/maze.js +8 -0
  360. package/dist/assets/indexeddb/editor/snippets/mediawiki.js +8 -0
  361. package/dist/assets/indexeddb/editor/snippets/mel.js +8 -0
  362. package/dist/assets/indexeddb/editor/snippets/mips.js +8 -0
  363. package/dist/assets/indexeddb/editor/snippets/mixal.js +8 -0
  364. package/dist/assets/indexeddb/editor/snippets/mushcode.js +8 -0
  365. package/dist/assets/indexeddb/editor/snippets/mysql.js +8 -0
  366. package/dist/assets/indexeddb/editor/snippets/nginx.js +8 -0
  367. package/dist/assets/indexeddb/editor/snippets/nim.js +8 -0
  368. package/dist/assets/indexeddb/editor/snippets/nix.js +8 -0
  369. package/dist/assets/indexeddb/editor/snippets/nsis.js +8 -0
  370. package/dist/assets/indexeddb/editor/snippets/nunjucks.js +8 -0
  371. package/dist/assets/indexeddb/editor/snippets/objectivec.js +8 -0
  372. package/dist/assets/indexeddb/editor/snippets/ocaml.js +8 -0
  373. package/dist/assets/indexeddb/editor/snippets/pascal.js +8 -0
  374. package/dist/assets/indexeddb/editor/snippets/perl.js +8 -0
  375. package/dist/assets/indexeddb/editor/snippets/pgsql.js +8 -0
  376. package/dist/assets/indexeddb/editor/snippets/php.js +8 -0
  377. package/dist/assets/indexeddb/editor/snippets/php_laravel_blade.js +8 -0
  378. package/dist/assets/indexeddb/editor/snippets/pig.js +8 -0
  379. package/dist/assets/indexeddb/editor/snippets/plain_text.js +8 -0
  380. package/dist/assets/indexeddb/editor/snippets/powershell.js +8 -0
  381. package/dist/assets/indexeddb/editor/snippets/praat.js +8 -0
  382. package/dist/assets/indexeddb/editor/snippets/prisma.js +8 -0
  383. package/dist/assets/indexeddb/editor/snippets/prolog.js +8 -0
  384. package/dist/assets/indexeddb/editor/snippets/properties.js +8 -0
  385. package/dist/assets/indexeddb/editor/snippets/protobuf.js +8 -0
  386. package/dist/assets/indexeddb/editor/snippets/puppet.js +8 -0
  387. package/dist/assets/indexeddb/editor/snippets/python.js +8 -0
  388. package/dist/assets/indexeddb/editor/snippets/qml.js +8 -0
  389. package/dist/assets/indexeddb/editor/snippets/r.js +8 -0
  390. package/dist/assets/indexeddb/editor/snippets/raku.js +8 -0
  391. package/dist/assets/indexeddb/editor/snippets/razor.js +8 -0
  392. package/dist/assets/indexeddb/editor/snippets/rdoc.js +8 -0
  393. package/dist/assets/indexeddb/editor/snippets/red.js +8 -0
  394. package/dist/assets/indexeddb/editor/snippets/redshift.js +8 -0
  395. package/dist/assets/indexeddb/editor/snippets/rhtml.js +8 -0
  396. package/dist/assets/indexeddb/editor/snippets/rst.js +8 -0
  397. package/dist/assets/indexeddb/editor/snippets/ruby.js +8 -0
  398. package/dist/assets/indexeddb/editor/snippets/rust.js +8 -0
  399. package/dist/assets/indexeddb/editor/snippets/sass.js +8 -0
  400. package/dist/assets/indexeddb/editor/snippets/scad.js +8 -0
  401. package/dist/assets/indexeddb/editor/snippets/scala.js +8 -0
  402. package/dist/assets/indexeddb/editor/snippets/scheme.js +8 -0
  403. package/dist/assets/indexeddb/editor/snippets/scrypt.js +8 -0
  404. package/dist/assets/indexeddb/editor/snippets/scss.js +8 -0
  405. package/dist/assets/indexeddb/editor/snippets/sh.js +8 -0
  406. package/dist/assets/indexeddb/editor/snippets/sjs.js +8 -0
  407. package/dist/assets/indexeddb/editor/snippets/slim.js +8 -0
  408. package/dist/assets/indexeddb/editor/snippets/smarty.js +8 -0
  409. package/dist/assets/indexeddb/editor/snippets/smithy.js +8 -0
  410. package/dist/assets/indexeddb/editor/snippets/snippets.js +8 -0
  411. package/dist/assets/indexeddb/editor/snippets/soy_template.js +8 -0
  412. package/dist/assets/indexeddb/editor/snippets/space.js +8 -0
  413. package/dist/assets/indexeddb/editor/snippets/sparql.js +8 -0
  414. package/dist/assets/indexeddb/editor/snippets/sql.js +8 -0
  415. package/dist/assets/indexeddb/editor/snippets/sqlserver.js +8 -0
  416. package/dist/assets/indexeddb/editor/snippets/stylus.js +8 -0
  417. package/dist/assets/indexeddb/editor/snippets/svg.js +8 -0
  418. package/dist/assets/indexeddb/editor/snippets/swift.js +8 -0
  419. package/dist/assets/indexeddb/editor/snippets/tcl.js +8 -0
  420. package/dist/assets/indexeddb/editor/snippets/terraform.js +8 -0
  421. package/dist/assets/indexeddb/editor/snippets/tex.js +8 -0
  422. package/dist/assets/indexeddb/editor/snippets/text.js +8 -0
  423. package/dist/assets/indexeddb/editor/snippets/textile.js +8 -0
  424. package/dist/assets/indexeddb/editor/snippets/toml.js +8 -0
  425. package/dist/assets/indexeddb/editor/snippets/tsx.js +8 -0
  426. package/dist/assets/indexeddb/editor/snippets/turtle.js +8 -0
  427. package/dist/assets/indexeddb/editor/snippets/twig.js +8 -0
  428. package/dist/assets/indexeddb/editor/snippets/typescript.js +8 -0
  429. package/dist/assets/indexeddb/editor/snippets/vala.js +8 -0
  430. package/dist/assets/indexeddb/editor/snippets/vbscript.js +8 -0
  431. package/dist/assets/indexeddb/editor/snippets/velocity.js +8 -0
  432. package/dist/assets/indexeddb/editor/snippets/verilog.js +8 -0
  433. package/dist/assets/indexeddb/editor/snippets/vhdl.js +8 -0
  434. package/dist/assets/indexeddb/editor/snippets/visualforce.js +8 -0
  435. package/dist/assets/indexeddb/editor/snippets/wollok.js +8 -0
  436. package/dist/assets/indexeddb/editor/snippets/xml.js +8 -0
  437. package/dist/assets/indexeddb/editor/snippets/xquery.js +8 -0
  438. package/dist/assets/indexeddb/editor/snippets/yaml.js +8 -0
  439. package/dist/assets/indexeddb/editor/snippets/zeek.js +8 -0
  440. package/dist/assets/indexeddb/editor/theme-ambiance.js +8 -0
  441. package/dist/assets/indexeddb/editor/theme-chaos.js +8 -0
  442. package/dist/assets/indexeddb/editor/theme-chrome.js +8 -0
  443. package/dist/assets/indexeddb/editor/theme-clouds.js +8 -0
  444. package/dist/assets/indexeddb/editor/theme-clouds_midnight.js +8 -0
  445. package/dist/assets/indexeddb/editor/theme-cobalt.js +8 -0
  446. package/dist/assets/indexeddb/editor/theme-crimson_editor.js +8 -0
  447. package/dist/assets/indexeddb/editor/theme-dawn.js +8 -0
  448. package/dist/assets/indexeddb/editor/theme-dracula.js +8 -0
  449. package/dist/assets/indexeddb/editor/theme-dreamweaver.js +8 -0
  450. package/dist/assets/indexeddb/editor/theme-eclipse.js +8 -0
  451. package/dist/assets/indexeddb/editor/theme-github.js +8 -0
  452. package/dist/assets/indexeddb/editor/theme-gob.js +8 -0
  453. package/dist/assets/indexeddb/editor/theme-gruvbox.js +8 -0
  454. package/dist/assets/indexeddb/editor/theme-idle_fingers.js +8 -0
  455. package/dist/assets/indexeddb/editor/theme-iplastic.js +8 -0
  456. package/dist/assets/indexeddb/editor/theme-katzenmilch.js +8 -0
  457. package/dist/assets/indexeddb/editor/theme-kr_theme.js +8 -0
  458. package/dist/assets/indexeddb/editor/theme-kuroir.js +8 -0
  459. package/dist/assets/indexeddb/editor/theme-merbivore.js +8 -0
  460. package/dist/assets/indexeddb/editor/theme-merbivore_soft.js +8 -0
  461. package/dist/assets/indexeddb/editor/theme-mono_industrial.js +8 -0
  462. package/dist/assets/indexeddb/editor/theme-monokai.js +8 -0
  463. package/dist/assets/indexeddb/editor/theme-nord_dark.js +8 -0
  464. package/dist/assets/indexeddb/editor/theme-one_dark.js +8 -0
  465. package/dist/assets/indexeddb/editor/theme-pastel_on_dark.js +8 -0
  466. package/dist/assets/indexeddb/editor/theme-solarized_dark.js +8 -0
  467. package/dist/assets/indexeddb/editor/theme-solarized_light.js +8 -0
  468. package/dist/assets/indexeddb/editor/theme-sqlserver.js +8 -0
  469. package/dist/assets/indexeddb/editor/theme-terminal.js +8 -0
  470. package/dist/assets/indexeddb/editor/theme-textmate.js +8 -0
  471. package/dist/assets/indexeddb/editor/theme-tomorrow.js +8 -0
  472. package/dist/assets/indexeddb/editor/theme-tomorrow_night.js +8 -0
  473. package/dist/assets/indexeddb/editor/theme-tomorrow_night_blue.js +8 -0
  474. package/dist/assets/indexeddb/editor/theme-tomorrow_night_bright.js +8 -0
  475. package/dist/assets/indexeddb/editor/theme-tomorrow_night_eighties.js +8 -0
  476. package/dist/assets/indexeddb/editor/theme-twilight.js +8 -0
  477. package/dist/assets/indexeddb/editor/theme-vibrant_ink.js +8 -0
  478. package/dist/assets/indexeddb/editor/theme-xcode.js +8 -0
  479. package/dist/assets/indexeddb/editor/worker-base.js +1 -0
  480. package/dist/assets/indexeddb/editor/worker-coffee.js +1 -0
  481. package/dist/assets/indexeddb/editor/worker-css.js +1 -0
  482. package/dist/assets/indexeddb/editor/worker-html.js +1 -0
  483. package/dist/assets/indexeddb/editor/worker-javascript.js +1 -0
  484. package/dist/assets/indexeddb/editor/worker-json.js +1 -0
  485. package/dist/assets/indexeddb/editor/worker-lua.js +1 -0
  486. package/dist/assets/indexeddb/editor/worker-php.js +1 -0
  487. package/dist/assets/indexeddb/editor/worker-xml.js +1 -0
  488. package/dist/assets/indexeddb/editor/worker-xquery.js +1 -0
  489. package/dist/assets/{web/icon.f3eefe1e.eot → indexeddb/icon.1a0c9db0.eot} +0 -0
  490. package/dist/assets/{scorm2004/icon.618c9e50.woff → indexeddb/icon.589b6ad7.woff} +0 -0
  491. package/dist/assets/indexeddb/icon.85f94224.woff2 +0 -0
  492. package/dist/assets/indexeddb/icon.95d89539.svg +1 -0
  493. package/dist/assets/{scorm2004/icon.74e441c4.ttf → indexeddb/icon.f3d23f63.ttf} +0 -0
  494. package/dist/assets/indexeddb/icon.ico +0 -0
  495. package/dist/assets/indexeddb/index.14817ef5.js +1 -0
  496. package/dist/assets/indexeddb/index.1df2912f.js +1 -0
  497. package/dist/assets/indexeddb/index.20e4bb88.js +1 -0
  498. package/dist/assets/indexeddb/index.2b3e8b9a.js +1 -0
  499. package/dist/assets/indexeddb/index.44dcebf0.css +1 -0
  500. package/dist/assets/indexeddb/index.4d6fa6c6.js +1 -0
  501. package/dist/assets/indexeddb/index.53bf5066.js +1 -0
  502. package/dist/assets/indexeddb/index.7769615a.js +16 -0
  503. package/dist/assets/{scorm1.2/index.41f76f74.css → indexeddb/index.db57a2e0.css} +2 -2
  504. package/dist/assets/indexeddb/index.db5b7a49.js +1 -0
  505. package/dist/assets/indexeddb/index.e77f639b.js +1 -0
  506. package/dist/assets/indexeddb/index.html +1 -0
  507. package/dist/assets/indexeddb/katex.min.css +1 -0
  508. package/dist/assets/indexeddb/logo.abbc2cae.png +0 -0
  509. package/dist/assets/indexeddb/source-code-pro-v13-latin-600.15f00b22.svg +1 -0
  510. package/dist/assets/indexeddb/source-code-pro-v13-latin-600.2ae57109.ttf +0 -0
  511. package/dist/assets/indexeddb/source-code-pro-v13-latin-600.880fd07b.eot +0 -0
  512. package/dist/assets/indexeddb/source-code-pro-v13-latin-600.92aac5ff.woff2 +0 -0
  513. package/dist/assets/indexeddb/source-code-pro-v13-latin-600.adab8c0f.woff +0 -0
  514. package/dist/assets/indexeddb/source-code-pro-v13-latin-regular.21a33c48.woff2 +0 -0
  515. package/dist/assets/indexeddb/source-code-pro-v13-latin-regular.81f5593d.woff +0 -0
  516. package/dist/assets/indexeddb/source-code-pro-v13-latin-regular.91afd03e.svg +1 -0
  517. package/dist/assets/indexeddb/source-code-pro-v13-latin-regular.c2e0862c.eot +0 -0
  518. package/dist/assets/indexeddb/source-code-pro-v13-latin-regular.d61437b4.ttf +0 -0
  519. package/dist/assets/indexeddb/source-sans-pro-v14-latin-600.234ae412.svg +1 -0
  520. package/dist/assets/indexeddb/source-sans-pro-v14-latin-600.65fc2f67.eot +0 -0
  521. package/dist/assets/indexeddb/source-sans-pro-v14-latin-600.8fb77535.woff2 +0 -0
  522. package/dist/assets/indexeddb/source-sans-pro-v14-latin-600.b5f40659.woff +0 -0
  523. package/dist/assets/indexeddb/source-sans-pro-v14-latin-600.d8df00af.ttf +0 -0
  524. package/dist/assets/indexeddb/source-sans-pro-v14-latin-700.19d2a757.woff2 +0 -0
  525. package/dist/assets/indexeddb/source-sans-pro-v14-latin-700.43d19605.eot +0 -0
  526. package/dist/assets/indexeddb/source-sans-pro-v14-latin-700.783891dd.woff +0 -0
  527. package/dist/assets/indexeddb/source-sans-pro-v14-latin-700.a5afadf4.ttf +0 -0
  528. package/dist/assets/indexeddb/source-sans-pro-v14-latin-700.df9681de.svg +1 -0
  529. package/dist/assets/indexeddb/source-sans-pro-v14-latin-regular.097b8a44.eot +0 -0
  530. package/dist/assets/indexeddb/source-sans-pro-v14-latin-regular.32b4dc53.svg +1 -0
  531. package/dist/assets/indexeddb/source-sans-pro-v14-latin-regular.89fa7c31.ttf +0 -0
  532. package/dist/assets/indexeddb/source-sans-pro-v14-latin-regular.bc1deea3.woff2 +0 -0
  533. package/dist/assets/indexeddb/source-sans-pro-v14-latin-regular.d3d258d8.woff +0 -0
  534. package/dist/assets/indexeddb/source-serif-pro-v10-latin-600.a3a31a14.woff +0 -0
  535. package/dist/assets/indexeddb/source-serif-pro-v10-latin-600.a6ed946c.ttf +0 -0
  536. package/dist/assets/indexeddb/source-serif-pro-v10-latin-600.a8e70b44.svg +1 -0
  537. package/dist/assets/indexeddb/source-serif-pro-v10-latin-600.b4666fd2.eot +0 -0
  538. package/dist/assets/indexeddb/source-serif-pro-v10-latin-600.b852e510.woff2 +0 -0
  539. package/dist/assets/indexeddb/source-serif-pro-v10-latin-700.05c6e580.woff2 +0 -0
  540. package/dist/assets/indexeddb/source-serif-pro-v10-latin-700.38c57352.eot +0 -0
  541. package/dist/assets/indexeddb/source-serif-pro-v10-latin-700.8d76004a.woff +0 -0
  542. package/dist/assets/indexeddb/source-serif-pro-v10-latin-700.90cffcb9.svg +1 -0
  543. package/dist/assets/indexeddb/source-serif-pro-v10-latin-700.ca4bf240.ttf +0 -0
  544. package/dist/assets/indexeddb/up_/up_/assets/logo_192.png +0 -0
  545. package/dist/assets/indexeddb/vendor/browser-matrix.min.js +18 -0
  546. package/dist/assets/indexeddb/vendor/browser-matrix.min.js.map +1 -0
  547. package/dist/assets/{scorm2004/icon.f3eefe1e.eot → scorm1.2/icon.1a0c9db0.eot} +0 -0
  548. package/dist/assets/scorm1.2/{icon.618c9e50.woff → icon.589b6ad7.woff} +0 -0
  549. package/dist/assets/scorm1.2/icon.85f94224.woff2 +0 -0
  550. package/dist/assets/{web/icon.74e441c4.ttf → scorm1.2/icon.f3d23f63.ttf} +0 -0
  551. package/dist/assets/scorm1.2/index.13cf7c84.js +1 -0
  552. package/dist/assets/scorm1.2/index.20e4bb88.js +1 -0
  553. package/dist/assets/{scorm2004/index.41f76f74.css → scorm1.2/index.db57a2e0.css} +2 -2
  554. package/dist/assets/scorm1.2/index.html +1 -1
  555. package/dist/assets/{scorm1.2/icon.f3eefe1e.eot → scorm2004/icon.1a0c9db0.eot} +0 -0
  556. package/dist/assets/{web/icon.618c9e50.woff → scorm2004/icon.589b6ad7.woff} +0 -0
  557. package/dist/assets/scorm2004/icon.85f94224.woff2 +0 -0
  558. package/dist/assets/{scorm1.2/icon.74e441c4.ttf → scorm2004/icon.f3d23f63.ttf} +0 -0
  559. package/dist/assets/scorm2004/index.20e4bb88.js +1 -0
  560. package/dist/assets/scorm2004/index.24949300.js +1 -0
  561. package/dist/assets/{web/index.41f76f74.css → scorm2004/index.db57a2e0.css} +2 -2
  562. package/dist/assets/scorm2004/index.html +1 -1
  563. package/dist/assets/web/icon.1a0c9db0.eot +0 -0
  564. package/dist/assets/web/icon.589b6ad7.woff +0 -0
  565. package/dist/assets/web/icon.85f94224.woff2 +0 -0
  566. package/dist/assets/web/icon.f3d23f63.ttf +0 -0
  567. package/dist/assets/web/index.20e4bb88.js +1 -0
  568. package/dist/assets/web/index.762e3251.js +1 -0
  569. package/dist/assets/web/index.db57a2e0.css +2 -0
  570. package/dist/assets/web/index.html +1 -1
  571. package/dist/index.js +352 -46
  572. package/package.json +4 -2
  573. package/src/export/helper.ts +90 -0
  574. package/src/export/ims.ts +129 -0
  575. package/src/export/scorm12.ts +7 -2
  576. package/src/export/scorm2004.ts +7 -2
  577. package/src/export/web.ts +8 -1
  578. package/src/index.ts +31 -5
  579. package/dist/assets/scorm1.2/icon.0052da31.woff2 +0 -0
  580. package/dist/assets/scorm1.2/index.1366d6b2.js +0 -1
  581. package/dist/assets/scorm1.2/index.3dbd9631.js +0 -1
  582. package/dist/assets/scorm2004/icon.0052da31.woff2 +0 -0
  583. package/dist/assets/scorm2004/index.3dbd9631.js +0 -1
  584. package/dist/assets/scorm2004/index.a5a066fc.js +0 -1
  585. package/dist/assets/web/icon.0052da31.woff2 +0 -0
  586. package/dist/assets/web/index.3dbd9631.js +0 -1
  587. package/dist/assets/web/index.c8a87793.js +0 -1
@@ -0,0 +1 @@
1
+ "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(i===!1)return"";var s=n.lastIndexOf("/");if(s===-1)break;r=n.substr(s)+r,n=n.slice(0,s)}return e}if(typeof e.window!="undefined"&&e.document)return;if(e.require&&e.define)return;e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,data:i.data,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(r,i){i||(i=r,r=null);if(!i.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(r,i);var s=e.require.modules[i];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!e.require.tlns)return console.log("unable to load "+i);var o=t(i,e.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),e.require.id=i,e.require.modules[i]={},importScripts(o),e.require(r,i)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id);if(typeof r!="function"){e.require.modules[t]={exports:r,initialized:!0};return}n.length||(n=["require","exports","module"]);var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.slice(0,r.length).map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},require.tlns={},e.initBaseUrls=function(t){for(var n in t)require.tlns[n]=t[n]},e.initSender=function(){var n=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};return function(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),new i};var n=e.main=null,r=e.sender=null;e.onmessage=function(t){var i=t.data;if(i.event&&r)r._signal(i.event,i.data);else if(i.command)if(n[i.command])n[i.command].apply(n,i.args);else{if(!e[i.command])throw new Error("Unknown command:"+i.command);e[i.command].apply(e,i.args)}else if(i.init){e.initBaseUrls(i.tlns),r=e.sender=e.initSender();var s=require(i.module)[i.classname];n=e.main=new s(r)}}}(this),ace.define("ace/lib/oop",[],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/range",[],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),ace.define("ace/apply_delta",[],function(e,t,n){"use strict";function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=e[t.row].length}function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.action must be 'insert' or 'remove'"),t.lines instanceof Array||r(t,"delta.lines must be an Array"),(!t.start||!t.end)&&r(t,"delta.start/end must be an present");var n=t.start;i(e,t.start)||r(t,"delta.start must be contained in document");var s=t.end;t.action=="remove"&&!i(e,s)&&r(t,"delta.end must contained in document for 'remove' actions");var o=s.row-n.row,u=s.column-(o==0?n.column:0);(o!=t.lines.length-1||t.lines[o].length!=u)&&r(t,"delta.range must match delta lines")}t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,s=e[r]||"";switch(t.action){case"insert":var o=t.lines;if(o.length===1)e[r]=s.substring(0,i)+t.lines[0]+s.substring(i);else{var u=[r,1].concat(t.lines);e.splice.apply(e,u),e[r]=s.substring(0,i)+e[r],e[r+t.lines.length-1]+=s.substring(i)}break;case"remove":var a=t.end.column,f=t.end.row;r===f?e[r]=s.substring(0,i)+s.substring(a):e.splice(r,f-r+1,s.substring(0,i)+e[f].substring(a))}}}),ace.define("ace/lib/event_emitter",[],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;this.on(e,function r(){n.off(e,r),t.apply(null,arguments)});if(!t)return new Promise(function(e){t=e})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t)r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);i!=-1&&r.splice(i,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=undefined),this._eventRegistry&&(this._eventRegistry[e]=undefined),this._defaultHandlers&&(this._defaultHandlers[e]=undefined)},t.EventEmitter=r}),ace.define("ace/anchor",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}function t(t,n,r){var i=t.action=="insert",s=(i?1:-1)*(t.end.row-t.start.row),o=(i?1:-1)*(t.end.column-t.start.column),u=t.start,a=i?u:t.end;return e(n,u,r)?{row:n.row,column:n.column}:e(a,n,!r)?{row:n.row+s,column:n.column+(n.row==a.row?o:0)}:{row:u.row,column:u.column}}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(e.start.row==e.end.row&&e.start.row!=this.row)return;if(e.start.row>this.row)return;var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),ace.define("ace/document",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=e("./anchor").Anchor,a=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,s),this.setValue=function(e){var t=this.getLength()-1;this.remove(new o(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new u(this,e,t)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e,this._signal("changeNewLineMode")},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();e===undefined?e=n:e<0?e=0:e>=n&&(e=n-1,t=undefined);var r=this.getLine(e);return t==undefined&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=Math.min(Math.max(e,0),this.getLength());var n=0;e<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(t.length==1?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var n=t==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,s=n?this.getLine(i).length:0,u=r?t+1:t,a=r?0:this.getLine(u).length,f=new o(i,s,u,a),l=this.$lines.slice(e,t+1);return this.applyDelta({start:f.start,end:f.end,action:"remove",lines:this.getLinesForRange(f)}),l},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){e instanceof o||(e=o.fromPoints(e.start,e.end));if(t.length===0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);var n;return t?n=this.insert(e.start,t):n=e.start,n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n=e.action=="insert";if(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))return;n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e))},this.$safeApplyDelta=function(e){var t=this.$lines.length;(e.action=="remove"&&e.start.row<t&&e.end.row<t||e.action=="insert"&&e.start.row<=t)&&this.applyDelta(e)},this.$splitAndapplyLargeDelta=function(e,t){var n=e.lines,r=n.length-t+1,i=e.start.row,s=e.start.column;for(var o=0,u=0;o<r;o=u){u+=t-1;var a=n.slice(o,u);a.push(""),this.applyDelta({start:this.pos(i+o,s),end:this.pos(i+u,s=0),action:e.action,lines:a},!0)}e.lines=n.slice(o),e.start.row=i+o,e.start.column=s,this.applyDelta(e,!0)},this.revertDelta=function(e){this.$safeApplyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:e.action=="insert"?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:e+n[s-1].length+r}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(a.prototype),t.Document=a}),ace.define("ace/lib/lang",[],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function s(e){if(typeof e!="object"||!e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;n++)t[n]=s(e[n]);return t}if(Object.prototype.toString.call(e)!=="[object Object]")return e;t={};for(var n in e)t[n]=s(e[n]);return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),ace.define("ace/worker/mirror",[],function(e,t,n){"use strict";var r=e("../range").Range,i=e("../document").Document,s=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),n=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),r=this;e.on("change",function(e){var i=e.data;if(i[0].start)t.applyDeltas(i);else for(var s=0;s<i.length;s+=2){if(Array.isArray(i[s+1]))var o={action:"insert",start:i[s],lines:i[s+1]};else var o={action:"remove",start:i[s],end:i[s+1]};t.applyDelta(o,!0)}if(r.$timeout)return n.schedule(r.$timeout);r.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)}),ace.define("ace/mode/json/json_parse",[],function(e,t,n){"use strict";var r,i,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},o,u=function(e){throw{name:"SyntaxError",message:e,at:r,text:o}},a=function(e){return e&&e!==i&&u("Expected '"+e+"' instead of '"+i+"'"),i=o.charAt(r),r+=1,i},f=function(){var e,t="";i==="-"&&(t="-",a("-"));while(i>="0"&&i<="9")t+=i,a();if(i==="."){t+=".";while(a()&&i>="0"&&i<="9")t+=i}if(i==="e"||i==="E"){t+=i,a();if(i==="-"||i==="+")t+=i,a();while(i>="0"&&i<="9")t+=i,a()}e=+t;if(!isNaN(e))return e;u("Bad number")},l=function(){var e,t,n="",r;if(i==='"')while(a()){if(i==='"')return a(),n;if(i==="\\"){a();if(i==="u"){r=0;for(t=0;t<4;t+=1){e=parseInt(a(),16);if(!isFinite(e))break;r=r*16+e}n+=String.fromCharCode(r)}else{if(typeof s[i]!="string")break;n+=s[i]}}else{if(i=="\n"||i=="\r")break;n+=i}}u("Bad string")},c=function(){while(i&&i<=" ")a()},h=function(){switch(i){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}u("Unexpected '"+i+"'")},p,d=function(){var e=[];if(i==="["){a("["),c();if(i==="]")return a("]"),e;while(i){e.push(p()),c();if(i==="]")return a("]"),e;a(","),c()}}u("Bad array")},v=function(){var e,t={};if(i==="{"){a("{"),c();if(i==="}")return a("}"),t;while(i){e=l(),c(),a(":"),Object.hasOwnProperty.call(t,e)&&u('Duplicate key "'+e+'"'),t[e]=p(),c();if(i==="}")return a("}"),t;a(","),c()}}u("Bad object")};return p=function(){c();switch(i){case"{":return v();case"[":return d();case'"':return l();case"-":return f();default:return i>="0"&&i<="9"?f():h()}},function(e,t){var n;return o=e,r=0,i=" ",n=p(),c(),i&&u("Syntax error"),typeof t=="function"?function s(e,n){var r,i,o=e[n];if(o&&typeof o=="object")for(r in o)Object.hasOwnProperty.call(o,r)&&(i=s(o,r),i!==undefined?o[r]=i:delete o[r]);return t.call(e,n,o)}({"":n},""):n}}),ace.define("ace/mode/json_worker",[],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../worker/mirror").Mirror,s=e("./json/json_parse"),o=t.JsonWorker=function(e){i.call(this,e),this.setTimeout(200)};r.inherits(o,i),function(){this.onUpdate=function(){var e=this.doc.getValue(),t=[];try{e&&s(e)}catch(n){var r=this.doc.indexToPosition(n.at-1);t.push({row:r.row,column:r.column,text:n.message,type:"error"})}this.sender.emit("annotate",t)}}.call(o.prototype)})
@@ -0,0 +1 @@
1
+ "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(i===!1)return"";var s=n.lastIndexOf("/");if(s===-1)break;r=n.substr(s)+r,n=n.slice(0,s)}return e}if(typeof e.window!="undefined"&&e.document)return;if(e.require&&e.define)return;e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,data:i.data,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(r,i){i||(i=r,r=null);if(!i.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(r,i);var s=e.require.modules[i];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!e.require.tlns)return console.log("unable to load "+i);var o=t(i,e.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),e.require.id=i,e.require.modules[i]={},importScripts(o),e.require(r,i)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id);if(typeof r!="function"){e.require.modules[t]={exports:r,initialized:!0};return}n.length||(n=["require","exports","module"]);var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.slice(0,r.length).map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},require.tlns={},e.initBaseUrls=function(t){for(var n in t)require.tlns[n]=t[n]},e.initSender=function(){var n=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};return function(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),new i};var n=e.main=null,r=e.sender=null;e.onmessage=function(t){var i=t.data;if(i.event&&r)r._signal(i.event,i.data);else if(i.command)if(n[i.command])n[i.command].apply(n,i.args);else{if(!e[i.command])throw new Error("Unknown command:"+i.command);e[i.command].apply(e,i.args)}else if(i.init){e.initBaseUrls(i.tlns),r=e.sender=e.initSender();var s=require(i.module)[i.classname];n=e.main=new s(r)}}}(this),ace.define("ace/lib/oop",[],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/range",[],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),ace.define("ace/apply_delta",[],function(e,t,n){"use strict";function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=e[t.row].length}function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.action must be 'insert' or 'remove'"),t.lines instanceof Array||r(t,"delta.lines must be an Array"),(!t.start||!t.end)&&r(t,"delta.start/end must be an present");var n=t.start;i(e,t.start)||r(t,"delta.start must be contained in document");var s=t.end;t.action=="remove"&&!i(e,s)&&r(t,"delta.end must contained in document for 'remove' actions");var o=s.row-n.row,u=s.column-(o==0?n.column:0);(o!=t.lines.length-1||t.lines[o].length!=u)&&r(t,"delta.range must match delta lines")}t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,s=e[r]||"";switch(t.action){case"insert":var o=t.lines;if(o.length===1)e[r]=s.substring(0,i)+t.lines[0]+s.substring(i);else{var u=[r,1].concat(t.lines);e.splice.apply(e,u),e[r]=s.substring(0,i)+e[r],e[r+t.lines.length-1]+=s.substring(i)}break;case"remove":var a=t.end.column,f=t.end.row;r===f?e[r]=s.substring(0,i)+s.substring(a):e.splice(r,f-r+1,s.substring(0,i)+e[f].substring(a))}}}),ace.define("ace/lib/event_emitter",[],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;this.on(e,function r(){n.off(e,r),t.apply(null,arguments)});if(!t)return new Promise(function(e){t=e})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t)r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);i!=-1&&r.splice(i,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=undefined),this._eventRegistry&&(this._eventRegistry[e]=undefined),this._defaultHandlers&&(this._defaultHandlers[e]=undefined)},t.EventEmitter=r}),ace.define("ace/anchor",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}function t(t,n,r){var i=t.action=="insert",s=(i?1:-1)*(t.end.row-t.start.row),o=(i?1:-1)*(t.end.column-t.start.column),u=t.start,a=i?u:t.end;return e(n,u,r)?{row:n.row,column:n.column}:e(a,n,!r)?{row:n.row+s,column:n.column+(n.row==a.row?o:0)}:{row:u.row,column:u.column}}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(e.start.row==e.end.row&&e.start.row!=this.row)return;if(e.start.row>this.row)return;var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),ace.define("ace/document",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=e("./anchor").Anchor,a=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,s),this.setValue=function(e){var t=this.getLength()-1;this.remove(new o(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new u(this,e,t)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e,this._signal("changeNewLineMode")},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();e===undefined?e=n:e<0?e=0:e>=n&&(e=n-1,t=undefined);var r=this.getLine(e);return t==undefined&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=Math.min(Math.max(e,0),this.getLength());var n=0;e<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(t.length==1?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var n=t==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,s=n?this.getLine(i).length:0,u=r?t+1:t,a=r?0:this.getLine(u).length,f=new o(i,s,u,a),l=this.$lines.slice(e,t+1);return this.applyDelta({start:f.start,end:f.end,action:"remove",lines:this.getLinesForRange(f)}),l},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){e instanceof o||(e=o.fromPoints(e.start,e.end));if(t.length===0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);var n;return t?n=this.insert(e.start,t):n=e.start,n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n=e.action=="insert";if(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))return;n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e))},this.$safeApplyDelta=function(e){var t=this.$lines.length;(e.action=="remove"&&e.start.row<t&&e.end.row<t||e.action=="insert"&&e.start.row<=t)&&this.applyDelta(e)},this.$splitAndapplyLargeDelta=function(e,t){var n=e.lines,r=n.length-t+1,i=e.start.row,s=e.start.column;for(var o=0,u=0;o<r;o=u){u+=t-1;var a=n.slice(o,u);a.push(""),this.applyDelta({start:this.pos(i+o,s),end:this.pos(i+u,s=0),action:e.action,lines:a},!0)}e.lines=n.slice(o),e.start.row=i+o,e.start.column=s,this.applyDelta(e,!0)},this.revertDelta=function(e){this.$safeApplyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:e.action=="insert"?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:e+n[s-1].length+r}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(a.prototype),t.Document=a}),ace.define("ace/lib/lang",[],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function s(e){if(typeof e!="object"||!e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;n++)t[n]=s(e[n]);return t}if(Object.prototype.toString.call(e)!=="[object Object]")return e;t={};for(var n in e)t[n]=s(e[n]);return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),ace.define("ace/worker/mirror",[],function(e,t,n){"use strict";var r=e("../range").Range,i=e("../document").Document,s=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),n=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),r=this;e.on("change",function(e){var i=e.data;if(i[0].start)t.applyDeltas(i);else for(var s=0;s<i.length;s+=2){if(Array.isArray(i[s+1]))var o={action:"insert",start:i[s],lines:i[s+1]};else var o={action:"remove",start:i[s],end:i[s+1]};t.applyDelta(o,!0)}if(r.$timeout)return n.schedule(r.$timeout);r.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)}),ace.define("ace/mode/lua/luaparse",[],function(e,t,n){(function(e,n,r){r(t)})(this,"luaparse",function(e){"use strict";function u(e,t){return t=t||0,e<128?String.fromCharCode(e):e<2048?String.fromCharCode(t|192|e>>6,t|128|e&63):e<65536?String.fromCharCode(t|224|e>>12,t|128|e>>6&63,t|128|e&63):e<1114112?String.fromCharCode(t|240|e>>18,t|128|e>>12&63,t|128|e>>6&63,t|128|e&63):null}function a(e,t){var n=e.toString(16);while(n.length<t)n="0"+n;return n}function f(e){return function(t){var n=e.exec(t);if(!n)return t;O(null,w.invalidCodeUnit,a(n[0].charCodeAt(0),4).toUpperCase())}}function S(e){if(kt){var t=Ct.pop();t.complete(),t.bless(e)}return n.onCreateNode&&n.onCreateNode(e),e}function C(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r][t]===n)return r;return-1}function k(e){var t=x.call(arguments,1);return e=e.replace(/%(\d)/g,function(e,n){return""+t[n-1]||""}),e}function A(e){return Object.create?Object.create(e,{line:{writable:!0,value:e.line},index:{writable:!0,value:e.index},column:{writable:!0,value:e.column}}):e}function O(e){var t=k.apply(null,x.call(arguments,1)),n,r;throw e===null||typeof e.line=="undefined"?(r=P-R+1,n=A(new SyntaxError(k("[%1:%2] %3",q,r,t))),n.index=P,n.line=q,n.column=r):(r=e.range[0]-e.lineStart,n=A(new SyntaxError(k("[%1:%2] %3",e.line,r,t))),n.line=e.line,n.index=e.range[0],n.column=r),n}function M(e){var n=t.slice(e.range[0],e.range[1]);return n?n:e.value}function _(e,t){O(t,w.expectedToken,e,M(t))}function D(e){var t=M(j);if("undefined"!=typeof e.type){var n;switch(e.type){case h:n="string";break;case p:n="keyword";break;case d:n="identifier";break;case v:n="number";break;case m:n="symbol";break;case g:n="boolean";break;case y:return O(e,w.unexpected,"symbol","nil",t);case c:return O(e,w.unexpectedEOF)}return O(e,w.unexpected,n,M(e),t)}return O(e,w.unexpected,"symbol",e,t)}function U(){W();while(45===t.charCodeAt(P)&&45===t.charCodeAt(P+1))rt(),W();if(P>=r)return{type:c,value:"<eof>",line:q,lineStart:R,range:[P,P]};var e=t.charCodeAt(P),n=t.charCodeAt(P+1);I=P;if(ht(e))return X();switch(e){case 39:case 34:return J();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Q();case 46:if(lt(n))return Q();if(46===n)return 46===t.charCodeAt(P+2)?$():V("..");return V(".");case 61:if(61===n)return V("==");return V("=");case 62:if(i.bitwiseOperators&&62===n)return V(">>");if(61===n)return V(">=");return V(">");case 60:if(i.bitwiseOperators&&60===n)return V("<<");if(61===n)return V("<=");return V("<");case 126:if(61===n)return V("~=");if(!i.bitwiseOperators)break;return V("~");case 58:if(i.labels&&58===n)return V("::");return V(":");case 91:if(91===n||61===n)return K();return V("[");case 47:if(i.integerDivision&&47===n)return V("//");return V("/");case 38:case 124:if(!i.bitwiseOperators)break;case 42:case 94:case 37:case 44:case 123:case 125:case 93:case 40:case 41:case 59:case 35:case 45:case 43:return V(t.charAt(P))}return D(t.charAt(P))}function z(){var e=t.charCodeAt(P),n=t.charCodeAt(P+1);return ft(e)?(10===e&&13===n&&++P,13===e&&10===n&&++P,++q,R=++P,!0):!1}function W(){while(P<r){var e=t.charCodeAt(P);if(at(e))++P;else if(!z())break}}function X(){var e,n;while(pt(t.charCodeAt(++P)));return e=s.fixup(t.slice(I,P)),dt(e)?n=p:"true"===e||"false"===e?(n=g,e="true"===e):"nil"===e?(n=y,e=null):n=d,{type:n,value:e,line:q,lineStart:R,range:[I,P]}}function V(e){return P+=e.length,{type:m,value:e,line:q,lineStart:R,range:[I,P]}}function $(){return P+=3,{type:b,value:"...",line:q,lineStart:R,range:[I,P]}}function J(){var e=t.charCodeAt(P++),n=q,i=R,o=P,u=s.discardStrings?null:"",a;for(;;){a=t.charCodeAt(P++);if(e===a)break;if(P>r||ft(a))u+=t.slice(o,P-1),O(null,w.unfinishedString,t.slice(I,P-1));if(92===a){if(!s.discardStrings){var f=t.slice(o,P-1);u+=s.fixup(f)}var l=nt();s.discardStrings||(u+=l),o=P}}return s.discardStrings||(u+=s.encodeByte(null),u+=s.fixup(t.slice(o,P-1))),{type:h,value:u,line:n,lineStart:i,lastLine:q,lastLineStart:R,range:[I,P]}}function K(){var e=q,t=R,n=it(!1);return!1===n&&O(H,w.expected,"[",M(H)),{type:h,value:s.discardStrings?null:s.fixup(n),line:e,lineStart:t,lastLine:q,lastLineStart:R,range:[I,P]}}function Q(){var e=t.charAt(P),n=t.charAt(P+1),r="0"===e&&"xX".indexOf(n||null)>=0?Z():et(),i=G(),s=Y();return s&&(i||r.hasFractionPart)&&O(null,w.malformedNumber,t.slice(I,P)),{type:v,value:r.value,line:q,lineStart:R,range:[I,P]}}function G(){if(!i.imaginaryNumbers)return;return"iI".indexOf(t.charAt(P)||null)>=0?(++P,!0):!1}function Y(){if(!i.integerSuffixes)return;if("uU".indexOf(t.charAt(P)||null)>=0){++P;if("lL".indexOf(t.charAt(P)||null)>=0){++P;if("lL".indexOf(t.charAt(P)||null)>=0)return++P,"ULL";O(null,w.malformedNumber,t.slice(I,P))}else O(null,w.malformedNumber,t.slice(I,P))}else if("lL".indexOf(t.charAt(P)||null)>=0){++P;if("lL".indexOf(t.charAt(P)||null)>=0)return++P,"LL";O(null,w.malformedNumber,t.slice(I,P))}}function Z(){var e=0,n=1,r=1,i,s,o,u;u=P+=2,ct(t.charCodeAt(P))||O(null,w.malformedNumber,t.slice(I,P));while(ct(t.charCodeAt(P)))++P;i=parseInt(t.slice(u,P),16);var a=!1;if("."===t.charAt(P)){a=!0,s=++P;while(ct(t.charCodeAt(P)))++P;e=t.slice(s,P),e=s===P?0:parseInt(e,16)/Math.pow(16,P-s)}var f=!1;if("pP".indexOf(t.charAt(P)||null)>=0){f=!0,++P,"+-".indexOf(t.charAt(P)||null)>=0&&(r="+"===t.charAt(P++)?1:-1),o=P,lt(t.charCodeAt(P))||O(null,w.malformedNumber,t.slice(I,P));while(lt(t.charCodeAt(P)))++P;n=t.slice(o,P),n=Math.pow(2,n*r)}return{value:(i+e)*n,hasFractionPart:a||f}}function et(){while(lt(t.charCodeAt(P)))++P;var e=!1;if("."===t.charAt(P)){e=!0,++P;while(lt(t.charCodeAt(P)))++P}var n=!1;if("eE".indexOf(t.charAt(P)||null)>=0){n=!0,++P,"+-".indexOf(t.charAt(P)||null)>=0&&++P,lt(t.charCodeAt(P))||O(null,w.malformedNumber,t.slice(I,P));while(lt(t.charCodeAt(P)))++P}return{value:parseFloat(t.slice(I,P)),hasFractionPart:e||n}}function tt(){var e=P++;t.charAt(P++)!=="{"&&O(null,w.braceExpected,"{","\\"+t.slice(e,P)),ct(t.charCodeAt(P))||O(null,w.hexadecimalDigitExpected,"\\"+t.slice(e,P));while(t.charCodeAt(P)===48)++P;var n=P;while(ct(t.charCodeAt(P)))++P,P-n>6&&O(null,w.tooLargeCodepoint,"\\"+t.slice(e,P));var r=t.charAt(P++);r!=="}"&&(r==='"'||r==="'"?O(null,w.braceExpected,"}","\\"+t.slice(e,P--)):O(null,w.hexadecimalDigitExpected,"\\"+t.slice(e,P)));var i=parseInt(t.slice(n,P-1)||"0",16),o="\\"+t.slice(e,P);return i>1114111&&O(null,w.tooLargeCodepoint,o),s.encodeUTF8(i,o)}function nt(){var e=P;switch(t.charAt(P)){case"a":return++P,"\x07";case"n":return++P,"\n";case"r":return++P,"\r";case"t":return++P," ";case"v":return++P,"\x0b";case"b":return++P,"\b";case"f":return++P,"\f";case"\r":case"\n":return z(),"\n";case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":while(lt(t.charCodeAt(P))&&P-e<3)++P;var n=t.slice(e,P),r=parseInt(n,10);return r>255&&O(null,w.decimalEscapeTooLarge,"\\"+r),s.encodeByte(r,"\\"+n);case"z":if(i.skipWhitespaceEscape)return++P,W(),"";break;case"x":if(i.hexEscapes){if(ct(t.charCodeAt(P+1))&&ct(t.charCodeAt(P+2)))return P+=3,s.encodeByte(parseInt(t.slice(e+1,P),16),"\\"+t.slice(e,P));O(null,w.hexadecimalDigitExpected,"\\"+t.slice(e,P+2))}break;case"u":if(i.unicodeEscapes)return tt();break;case"\\":case'"':case"'":return t.charAt(P++)}return i.strictEscapes&&O(null,w.invalidEscape,"\\"+t.slice(e,P+1)),t.charAt(P++)}function rt(){I=P,P+=2;var e=t.charAt(P),i="",s=!1,o=P,u=R,a=q;"["===e&&(i=it(!0),!1===i?i=e:s=!0);if(!s){while(P<r){if(ft(t.charCodeAt(P)))break;++P}n.comments&&(i=t.slice(o,P))}if(n.comments){var f=E.comment(i,t.slice(I,P));n.locations&&(f.loc={start:{line:a,column:I-u},end:{line:q,column:P-R}}),n.ranges&&(f.range=[I,P]),n.onCreateNode&&n.onCreateNode(f),F.push(f)}}function it(e){var n=0,i="",s=!1,o,u,a=q;++P;while("="===t.charAt(P+n))++n;if("["!==t.charAt(P+n))return!1;P+=n+1,ft(t.charCodeAt(P))&&z(),u=P;while(P<r){while(ft(t.charCodeAt(P)))z();o=t.charAt(P++);if("]"===o){s=!0;for(var f=0;f<n;++f)"="!==t.charAt(P+f)&&(s=!1);"]"!==t.charAt(P+n)&&(s=!1)}if(s)return i+=t.slice(u,P-1),P+=n+1,i}O(null,e?w.unfinishedLongComment:w.unfinishedLongString,a,"<eof>")}function st(){B=H,H=j,j=U()}function ot(e){return e===H.value?(st(),!0):!1}function ut(e){e===H.value?st():O(H,w.expected,e,M(H))}function at(e){return 9===e||32===e||11===e||12===e}function ft(e){return 10===e||13===e}function lt(e){return e>=48&&e<=57}function ct(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function ht(e){return e>=65&&e<=90||e>=97&&e<=122||95===e?!0:i.extendedIdentifiers&&e>=128?!0:!1}function pt(e){return e>=65&&e<=90||e>=97&&e<=122||95===e||e>=48&&e<=57?!0:i.extendedIdentifiers&&e>=128?!0:!1}function dt(e){switch(e.length){case 2:return"do"===e||"if"===e||"in"===e||"or"===e;case 3:return"and"===e||"end"===e||"for"===e||"not"===e;case 4:if("else"===e||"then"===e)return!0;if(i.labels&&!i.contextualGoto)return"goto"===e;return!1;case 5:return"break"===e||"local"===e||"until"===e||"while"===e;case 6:return"elseif"===e||"repeat"===e||"return"===e;case 8:return"function"===e}return!1}function vt(e){return m===e.type?"#-~".indexOf(e.value)>=0:p===e.type?"not"===e.value:!1}function mt(e){if(c===e.type)return!0;if(p!==e.type)return!1;switch(e.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}function wt(){var e=gt[yt++].slice();gt.push(e),n.onCreateScope&&n.onCreateScope()}function Et(){var e=gt.pop();--yt,n.onDestroyScope&&n.onDestroyScope()}function St(e){n.onLocalDeclaration&&n.onLocalDeclaration(e);if(-1!==N(gt[yt],e))return;gt[yt].push(e)}function xt(e){St(e.name),Tt(e,!0)}function Tt(e,t){!t&&-1===C(bt,"name",e.name)&&bt.push(e),e.isLocal=t}function Nt(e){return-1!==N(gt[yt],e)}function Lt(){return new At(H)}function At(e){n.locations&&(this.loc={start:{line:e.line,column:e.range[0]-e.lineStart},end:{line:0,column:0}}),n.ranges&&(this.range=[e.range[0],0])}function Ot(){kt&&Ct.push(Lt())}function Mt(e){kt&&Ct.push(e)}function _t(){this.scopes=[],this.pendingGotos=[]}function Dt(){this.level=0,this.loopLevels=[]}function Pt(){return i.labels?new _t:new Dt}function Ht(){st(),Ot(),n.scope&&wt();var e=Pt();e.allowVararg=!0,e.pushScope();var t=Bt(e);return e.popScope(),n.scope&&Et(),c!==H.type&&D(H),kt&&!t.length&&(B=H),S(E.chunk(t))}function Bt(e){var t=[],n;while(!mt(H)){if("return"===H.value||!i.relaxedBreak&&"break"===H.value){t.push(jt(e));break}n=jt(e),ot(";"),n&&t.push(n)}return t}function jt(e){Ot();if(m===H.type&&ot("::"))return Ft(e);if(i.emptyStatement&&ot(";")){kt&&Ct.pop();return}e.raiseDeferredErrors();if(p===H.type)switch(H.value){case"local":return st(),$t(e);case"if":return st(),Xt(e);case"return":return st(),Wt(e);case"function":st();var t=Gt();return Qt(t);case"while":return st(),Ut(e);case"for":return st(),Vt(e);case"repeat":return st(),zt(e);case"break":return st(),e.isInLoop()||O(H,w.noLoopToBreak,H.value),It();case"do":return st(),Rt(e);case"goto":return st(),qt(e)}return i.contextualGoto&&H.type===d&&H.value==="goto"&&j.type===d&&j.value!=="goto"?(st(),qt(e)):(kt&&Ct.pop(),Jt(e))}function Ft(e){var t=H,r=Kt();return n.scope&&(St("::"+t.value+"::"),Tt(r,!0)),ut("::"),e.addLabel(t.value,t),S(E.labelStatement(r))}function It(){return S(E.breakStatement())}function qt(e){var t=H.value,n=B,r=Kt();return e.addGoto(t,n),S(E.gotoStatement(r))}function Rt(e){n.scope&&wt(),e.pushScope();var t=Bt(e);return e.popScope(),n.scope&&Et(),ut("end"),S(E.doStatement(t))}function Ut(e){var t=en(e);ut("do"),n.scope&&wt(),e.pushScope(!0);var r=Bt(e);return e.popScope(),n.scope&&Et(),ut("end"),S(E.whileStatement(t,r))}function zt(e){n.scope&&wt(),e.pushScope(!0);var t=Bt(e);ut("until"),e.raiseDeferredErrors();var r=en(e);return e.popScope(),n.scope&&Et(),S(E.repeatStatement(r,t))}function Wt(e){var t=[];if("end"!==H.value){var n=Zt(e);null!=n&&t.push(n);while(ot(","))n=en(e),t.push(n);ot(";")}return S(E.returnStatement(t))}function Xt(e){var t=[],r,i,s;kt&&(s=Ct[Ct.length-1],Ct.push(s)),r=en(e),ut("then"),n.scope&&wt(),e.pushScope(),i=Bt(e),e.popScope(),n.scope&&Et(),t.push(S(E.ifClause(r,i))),kt&&(s=Lt());while(ot("elseif"))Mt(s),r=en(e),ut("then"),n.scope&&wt(),e.pushScope(),i=Bt(e),e.popScope(),n.scope&&Et(),t.push(S(E.elseifClause(r,i))),kt&&(s=Lt());return ot("else")&&(kt&&(s=new At(B),Ct.push(s)),n.scope&&wt(),e.pushScope(),i=Bt(e),e.popScope(),n.scope&&Et(),t.push(S(E.elseClause(i)))),ut("end"),S(E.ifStatement(t))}function Vt(e){var t=Kt(),r;n.scope&&(wt(),xt(t));if(ot("=")){var i=en(e);ut(",");var s=en(e),o=ot(",")?en(e):null;return ut("do"),e.pushScope(!0),r=Bt(e),e.popScope(),ut("end"),n.scope&&Et(),S(E.forNumericStatement(t,i,s,o,r))}var u=[t];while(ot(","))t=Kt(),n.scope&&xt(t),u.push(t);ut("in");var a=[];do{var f=en(e);a.push(f)}while(ot(","));return ut("do"),e.pushScope(!0),r=Bt(e),e.popScope(),ut("end"),n.scope&&Et(),S(E.forGenericStatement(u,a,r))}function $t(e){var t,r=B;if(d===H.type){var i=[],s=[];do t=Kt(),i.push(t),e.addLocal(t.name,r);while(ot(","));if(ot("="))do{var o=en(e);s.push(o)}while(ot(","));if(n.scope)for(var u=0,a=i.length;u<a;++u)xt(i[u]);return S(E.localStatement(i,s))}if(ot("function"))return t=Kt(),e.addLocal(t.name,r),n.scope&&(xt(t),wt()),Qt(t,!0);_("<name>",H)}function Jt(e){var t=H,r,i,s,o,u,a=[];kt&&(i=Lt());do{kt&&(r=Lt());if(d===H.type)u=H.value,o=Kt(),n.scope&&Tt(o,Nt(u)),s=!0;else{if("("!==H.value)return D(H);st(),o=en(e),ut(")"),s=!1}e:for(;;){var f;switch(h===H.type?'"':H.value){case".":case"[":s=!0;break;case":":case"(":case"{":case'"':s=null;break;default:break e}o=rn(o,r,e)}a.push(o);if(","!==H.value)break;if(!s)return D(H);st()}while(!0);if(a.length===1&&s===null)return Mt(r),S(E.callStatement(a[0]));if(!s)return D(H);ut("=");var l=[];do l.push(en(e));while(ot(","));return Mt(i),S(E.assignmentStatement(a,l))}function Kt(){Ot();var e=H.value;return d!==H.type&&_("<name>",H),st(),S(E.identifier(e))}function Qt(e,t){var r=Pt();r.pushScope();var i=[];ut("(");if(!ot(")"))for(;;){if(d===H.type){var s=Kt();n.scope&&xt(s),i.push(s);if(ot(","))continue}else b===H.type?(r.allowVararg=!0,i.push(un(r))):_("<name> or '...'",H);ut(")");break}var o=Bt(r);return r.popScope(),ut("end"),n.scope&&Et(),t=t||!1,S(E.functionStatement(e,i,t,o))}function Gt(){var e,t,r;kt&&(r=Lt()),e=Kt(),n.scope&&(Tt(e,Nt(e.name)),wt());while(ot("."))Mt(r),t=Kt(),e=S(E.memberExpression(e,".",t));return ot(":")&&(Mt(r),t=Kt(),e=S(E.memberExpression(e,":",t)),n.scope&&St("self")),e}function Yt(e){var t=[],n,r;for(;;){Ot();if(m===H.type&&ot("["))n=en(e),ut("]"),ut("="),r=en(e),t.push(S(E.tableKey(n,r)));else if(d===H.type)"="===j.value?(n=Kt(),st(),r=en(e),t.push(S(E.tableKeyString(n,r)))):(r=en(e),t.push(S(E.tableValue(r))));else{if(null==(r=Zt(e))){Ct.pop();break}t.push(S(E.tableValue(r)))}if(",;".indexOf(H.value)>=0){st();continue}break}return ut("}"),S(E.tableConstructorExpression(t))}function Zt(e){var t=nn(0,e);return t}function en(e){var t=Zt(e);if(null!=t)return t;_("<expression>",H)}function tn(e){var t=e.charCodeAt(0),n=e.length;if(1===n)switch(t){case 94:return 12;case 42:case 47:case 37:return 10;case 43:case 45:return 9;case 38:return 6;case 126:return 5;case 124:return 4;case 60:case 62:return 3}else if(2===n)switch(t){case 47:return 10;case 46:return 8;case 60:case 62:if("<<"===e||">>"===e)return 7;return 3;case 61:case 126:return 3;case 111:return 1}else if(97===t&&"and"===e)return 2;return 0}function nn(e,t){var n=H.value,r,i;kt&&(i=Lt());if(vt(H)){Ot(),st();var s=nn(10,t);s==null&&_("<expression>",H),r=S(E.unaryExpression(n,s))}null==r&&(r=un(t),null==r&&(r=sn(t)));if(null==r)return null;var o;for(;;){n=H.value,o=m===H.type||p===H.type?tn(n):0;if(o===0||o<=e)break;("^"===n||".."===n)&&--o,st();var u=nn(o,t);null==u&&_("<expression>",H),kt&&Ct.push(i),r=S(E.binaryExpression(n,r,u))}return r}function rn(e,t,n){var r,i;if(m===H.type)switch(H.value){case"[":return Mt(t),st(),r=en(n),ut("]"),S(E.indexExpression(e,r));case".":return Mt(t),st(),i=Kt(),S(E.memberExpression(e,".",i));case":":return Mt(t),st(),i=Kt(),e=S(E.memberExpression(e,":",i)),Mt(t),on(e,n);case"(":case"{":return Mt(t),on(e,n)}else if(h===H.type)return Mt(t),on(e,n);return null}function sn(e){var t,r,i;kt&&(i=Lt());if(d===H.type)r=H.value,t=Kt(),n.scope&&Tt(t,Nt(r));else{if(!ot("("))return null;t=en(e),ut(")")}for(;;){var s=rn(t,i,e);if(s===null)break;t=s}return t}function on(e,t){if(m===H.type)switch(H.value){case"(":i.emptyStatement||H.line!==B.line&&O(null,w.ambiguousSyntax,H.value),st();var n=[],r=Zt(t);null!=r&&n.push(r);while(ot(","))r=en(t),n.push(r);return ut(")"),S(E.callExpression(e,n));case"{":Ot(),st();var s=Yt(t);return S(E.tableCallExpression(e,s))}else if(h===H.type)return S(E.stringCallExpression(e,un(t)));_("function arguments",H)}function un(e){var r=h|v|g|y|b,i=H.value,s=H.type,o;kt&&(o=Lt()),s===b&&!e.allowVararg&&O(H,w.cannotUseVararg,H.value);if(s&r){Mt(o);var u=t.slice(H.range[0],H.range[1]);return st(),S(E.literal(s,i,u))}if(p===s&&"function"===i)return Mt(o),st(),n.scope&&wt(),Qt(null);if(ot("{"))return Mt(o),Yt(e)}function fn(u,a){"undefined"==typeof a&&"object"==typeof u&&(a=u,u=undefined),a||(a={}),t=u||"",n=L({},o,a),P=0,q=1,R=0,r=t.length,gt=[[]],yt=0,bt=[],Ct=[];if(!Object.prototype.hasOwnProperty.call(an,n.luaVersion))throw new Error(k("Lua version '%1' not supported",n.luaVersion));i=L({},an[n.luaVersion]),n.extendedIdentifiers!==void 0&&(i.extendedIdentifiers=!!n.extendedIdentifiers);if(!Object.prototype.hasOwnProperty.call(l,n.encodingMode))throw new Error(k("Encoding mode '%1' not supported",n.encodingMode));return s=l[n.encodingMode],n.comments&&(F=[]),n.wait?e:cn()}function ln(n){return t+=String(n),r=t.length,e}function cn(e){"undefined"!=typeof e&&ln(e),t&&t.substr(0,2)==="#!"&&(t=t.replace(/^.*/,function(e){return e.replace(/./g," ")})),r=t.length,kt=n.locations||n.ranges,j=U();var i=Ht();n.comments&&(i.comments=F),n.scope&&(i.globals=bt);if(Ct.length>0)throw new Error("Location tracking failed. This is most likely a bug in luaparse");return i}e.version="0.3.1";var t,n,r,i,s,o=e.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1,onCreateNode:null,onCreateScope:null,onDestroyScope:null,onLocalDeclaration:null,luaVersion:"5.1",encodingMode:"none"},l={"pseudo-latin1":{fixup:f(/[^\x00-\xff]/),encodeByte:function(e){return e===null?"":String.fromCharCode(e)},encodeUTF8:function(e){return u(e)}},"x-user-defined":{fixup:f(/[^\x00-\x7f\uf780-\uf7ff]/),encodeByte:function(e){return e===null?"":e>=128?String.fromCharCode(e|63232):String.fromCharCode(e)},encodeUTF8:function(e){return u(e,63232)}},none:{discardStrings:!0,fixup:function(e){return e},encodeByte:function(e){return""},encodeUTF8:function(e){return""}}},c=1,h=2,p=4,d=8,v=16,m=32,g=64,y=128,b=256;e.tokenTypes={EOF:c,StringLiteral:h,Keyword:p,Identifier:d,NumericLiteral:v,Punctuator:m,BooleanLiteral:g,NilLiteral:y,VarargLiteral:b};var w=e.errors={unexpected:"unexpected %1 '%2' near '%3'",unexpectedEOF:"unexpected symbol near '<eof>'",expected:"'%1' expected near '%2'",expectedToken:"%1 expected near '%2'",unfinishedString:"unfinished string near '%1'",malformedNumber:"malformed number near '%1'",decimalEscapeTooLarge:"decimal escape too large near '%1'",invalidEscape:"invalid escape sequence near '%1'",hexadecimalDigitExpected:"hexadecimal digit expected near '%1'",braceExpected:"missing '%1' near '%2'",tooLargeCodepoint:"UTF-8 value too large near '%1'",unfinishedLongString:"unfinished long string (starting at line %1) near '%2'",unfinishedLongComment:"unfinished long comment (starting at line %1) near '%2'",ambiguousSyntax:"ambiguous syntax (function call x new statement) near '%1'",noLoopToBreak:"no loop to break near '%1'",labelAlreadyDefined:"label '%1' already defined on line %2",labelNotVisible:"no visible label '%1' for <goto>",gotoJumpInLocalScope:"<goto %1> jumps into the scope of local '%2'",cannotUseVararg:"cannot use '...' outside a vararg function near '%1'",invalidCodeUnit:"code unit U+%1 is not allowed in the current encoding mode"},E=e.ast={labelStatement:function(e){return{type:"LabelStatement",label:e}},breakStatement:function(){return{type:"BreakStatement"}},gotoStatement:function(e){return{type:"GotoStatement",label:e}},returnStatement:function(e){return{type:"ReturnStatement",arguments:e}},ifStatement:function(e){return{type:"IfStatement",clauses:e}},ifClause:function(e,t){return{type:"IfClause",condition:e,body:t}},elseifClause:function(e,t){return{type:"ElseifClause",condition:e,body:t}},elseClause:function(e){return{type:"ElseClause",body:e}},whileStatement:function(e,t){return{type:"WhileStatement",condition:e,body:t}},doStatement:function(e){return{type:"DoStatement",body:e}},repeatStatement:function(e,t){return{type:"RepeatStatement",condition:e,body:t}},localStatement:function(e,t){return{type:"LocalStatement",variables:e,init:t}},assignmentStatement:function(e,t){return{type:"AssignmentStatement",variables:e,init:t}},callStatement:function(e){return{type:"CallStatement",expression:e}},functionStatement:function(e,t,n,r){return{type:"FunctionDeclaration",identifier:e,isLocal:n,parameters:t,body:r}},forNumericStatement:function(e,t,n,r,i){return{type:"ForNumericStatement",variable:e,start:t,end:n,step:r,body:i}},forGenericStatement:function(e,t,n){return{type:"ForGenericStatement",variables:e,iterators:t,body:n}},chunk:function(e){return{type:"Chunk",body:e}},identifier:function(e){return{type:"Identifier",name:e}},literal:function(e,t,n){return e=e===h?"StringLiteral":e===v?"NumericLiteral":e===g?"BooleanLiteral":e===y?"NilLiteral":"VarargLiteral",{type:e,value:t,raw:n}},tableKey:function(e,t){return{type:"TableKey",key:e,value:t}},tableKeyString:function(e,t){return{type:"TableKeyString",key:e,value:t}},tableValue:function(e){return{type:"TableValue",value:e}},tableConstructorExpression:function(e){return{type:"TableConstructorExpression",fields:e}},binaryExpression:function(e,t,n){var r="and"===e||"or"===e?"LogicalExpression":"BinaryExpression";return{type:r,operator:e,left:t,right:n}},unaryExpression:function(e,t){return{type:"UnaryExpression",operator:e,argument:t}},memberExpression:function(e,t,n){return{type:"MemberExpression",indexer:t,identifier:n,base:e}},indexExpression:function(e,t){return{type:"IndexExpression",base:e,index:t}},callExpression:function(e,t){return{type:"CallExpression",base:e,arguments:t}},tableCallExpression:function(e,t){return{type:"TableCallExpression",base:e,arguments:t}},stringCallExpression:function(e,t){return{type:"StringCallExpression",base:e,argument:t}},comment:function(e,t){return{type:"Comment",value:e,raw:t}}},x=Array.prototype.slice,T=Object.prototype.toString,N=function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return n;return-1};Array.prototype.indexOf&&(N=function(e,t){return e.indexOf(t)});var L=function(e){var t=x.call(arguments,1),n,r;for(var i=0,s=t.length;i<s;++i){n=t[i];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};Object.assign&&(L=Object.assign),e.SyntaxError=SyntaxError;var P,H,B,j,F,I,q,R;e.lex=U;var gt,yt,bt,Ct=[],kt;At.prototype.complete=function(){n.locations&&(this.loc.end.line=B.lastLine||B.line,this.loc.end.column=B.range[1]-(B.lastLineStart||B.lineStart)),n.ranges&&(this.range[1]=B.range[1])},At.prototype.bless=function(e){if(this.loc){var t=this.loc;e.loc={start:{line:t.start.line,column:t.start.column},end:{line:t.end.line,column:t.end.column}}}this.range&&(e.range=[this.range[0],this.range[1]])},_t.prototype.isInLoop=function(){var e=this.scopes.length;while(e-->0)if(this.scopes[e].isLoop)return!0;return!1},_t.prototype.pushScope=function(e){var t={labels:{},locals:[],deferredGotos:[],isLoop:!!e};this.scopes.push(t)},_t.prototype.popScope=function(){for(var e=0;e<this.pendingGotos.length;++e){var t=this.pendingGotos[e];t.maxDepth>=this.scopes.length&&--t.maxDepth<=0&&O(t.token,w.labelNotVisible,t.target)}this.scopes.pop()},_t.prototype.addGoto=function(e,t){var n=[];for(var r=0;r<this.scopes.length;++r){var i=this.scopes[r];n.push(i.locals.length);if(Object.prototype.hasOwnProperty.call(i.labels,e))return}this.pendingGotos.push({maxDepth:this.scopes.length,target:e,token:t,localCounts:n})},_t.prototype.addLabel=function(e,t){var n=this.currentScope();if(Object.prototype.hasOwnProperty.call(n.labels,e))O(t,w.labelAlreadyDefined,e,n.labels[e].line);else{var r=[];for(var i=0;i<this.pendingGotos.length;++i){var s=this.pendingGotos[i];if(s.maxDepth>=this.scopes.length&&s.target===e){s.localCounts[this.scopes.length-1]<n.locals.length&&n.deferredGotos.push(s);continue}r.push(s)}this.pendingGotos=r}n.labels[e]={localCount:n.locals.length,line:t.line}},_t.prototype.addLocal=function(e,t){this.currentScope().locals.push({name:e,token:t})},_t.prototype.currentScope=function(){return this.scopes[this.scopes.length-1]},_t.prototype.raiseDeferredErrors=function(){var e=this.currentScope(),t=e.deferredGotos;for(var n=0;n<t.length;++n){var r=t[n];O(r.token,w.gotoJumpInLocalScope,r.target,e.locals[r.localCounts[this.scopes.length-1]].name)}},Dt.prototype.isInLoop=function(){return!!this.loopLevels.length},Dt.prototype.pushScope=function(e){++this.level,e&&this.loopLevels.push(this.level)},Dt.prototype.popScope=function(){var e=this.loopLevels,t=e.length;t&&e[t-1]===this.level&&e.pop(),--this.level},Dt.prototype.addGoto=Dt.prototype.addLabel=function(){throw new Error("This should never happen")},Dt.prototype.addLocal=Dt.prototype.raiseDeferredErrors=function(){},e.parse=fn;var an={5.1:{},5.2:{labels:!0,emptyStatement:!0,hexEscapes:!0,skipWhitespaceEscape:!0,strictEscapes:!0,relaxedBreak:!0},5.3:{labels:!0,emptyStatement:!0,hexEscapes:!0,skipWhitespaceEscape:!0,strictEscapes:!0,unicodeEscapes:!0,bitwiseOperators:!0,integerDivision:!0,relaxedBreak:!0},LuaJIT:{labels:!0,contextualGoto:!0,hexEscapes:!0,skipWhitespaceEscape:!0,strictEscapes:!0,unicodeEscapes:!0,imaginaryNumbers:!0,integerSuffixes:!0}};e.write=ln,e.end=cn})}),ace.define("ace/mode/lua_worker",[],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../worker/mirror").Mirror,s=e("../mode/lua/luaparse"),o=t.Worker=function(e){i.call(this,e),this.setTimeout(500)};r.inherits(o,i),function(){this.onUpdate=function(){var e=this.doc.getValue(),t=[];try{s.parse(e)}catch(n){n instanceof s.SyntaxError&&t.push({row:n.line-1,column:n.column,text:n.message,type:"error"})}this.sender.emit("annotate",t)}}.call(o.prototype)})
@@ -0,0 +1 @@
1
+ "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(i===!1)return"";var s=n.lastIndexOf("/");if(s===-1)break;r=n.substr(s)+r,n=n.slice(0,s)}return e}if(typeof e.window!="undefined"&&e.document)return;if(e.require&&e.define)return;e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,data:i.data,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(r,i){i||(i=r,r=null);if(!i.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(r,i);var s=e.require.modules[i];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!e.require.tlns)return console.log("unable to load "+i);var o=t(i,e.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),e.require.id=i,e.require.modules[i]={},importScripts(o),e.require(r,i)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id);if(typeof r!="function"){e.require.modules[t]={exports:r,initialized:!0};return}n.length||(n=["require","exports","module"]);var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.slice(0,r.length).map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},require.tlns={},e.initBaseUrls=function(t){for(var n in t)require.tlns[n]=t[n]},e.initSender=function(){var n=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};return function(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),new i};var n=e.main=null,r=e.sender=null;e.onmessage=function(t){var i=t.data;if(i.event&&r)r._signal(i.event,i.data);else if(i.command)if(n[i.command])n[i.command].apply(n,i.args);else{if(!e[i.command])throw new Error("Unknown command:"+i.command);e[i.command].apply(e,i.args)}else if(i.init){e.initBaseUrls(i.tlns),r=e.sender=e.initSender();var s=require(i.module)[i.classname];n=e.main=new s(r)}}}(this),ace.define("ace/lib/oop",[],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/range",[],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),ace.define("ace/apply_delta",[],function(e,t,n){"use strict";function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=e[t.row].length}function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.action must be 'insert' or 'remove'"),t.lines instanceof Array||r(t,"delta.lines must be an Array"),(!t.start||!t.end)&&r(t,"delta.start/end must be an present");var n=t.start;i(e,t.start)||r(t,"delta.start must be contained in document");var s=t.end;t.action=="remove"&&!i(e,s)&&r(t,"delta.end must contained in document for 'remove' actions");var o=s.row-n.row,u=s.column-(o==0?n.column:0);(o!=t.lines.length-1||t.lines[o].length!=u)&&r(t,"delta.range must match delta lines")}t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,s=e[r]||"";switch(t.action){case"insert":var o=t.lines;if(o.length===1)e[r]=s.substring(0,i)+t.lines[0]+s.substring(i);else{var u=[r,1].concat(t.lines);e.splice.apply(e,u),e[r]=s.substring(0,i)+e[r],e[r+t.lines.length-1]+=s.substring(i)}break;case"remove":var a=t.end.column,f=t.end.row;r===f?e[r]=s.substring(0,i)+s.substring(a):e.splice(r,f-r+1,s.substring(0,i)+e[f].substring(a))}}}),ace.define("ace/lib/event_emitter",[],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;this.on(e,function r(){n.off(e,r),t.apply(null,arguments)});if(!t)return new Promise(function(e){t=e})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t)r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);i!=-1&&r.splice(i,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=undefined),this._eventRegistry&&(this._eventRegistry[e]=undefined),this._defaultHandlers&&(this._defaultHandlers[e]=undefined)},t.EventEmitter=r}),ace.define("ace/anchor",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}function t(t,n,r){var i=t.action=="insert",s=(i?1:-1)*(t.end.row-t.start.row),o=(i?1:-1)*(t.end.column-t.start.column),u=t.start,a=i?u:t.end;return e(n,u,r)?{row:n.row,column:n.column}:e(a,n,!r)?{row:n.row+s,column:n.column+(n.row==a.row?o:0)}:{row:u.row,column:u.column}}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(e.start.row==e.end.row&&e.start.row!=this.row)return;if(e.start.row>this.row)return;var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),ace.define("ace/document",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=e("./anchor").Anchor,a=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,s),this.setValue=function(e){var t=this.getLength()-1;this.remove(new o(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new u(this,e,t)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e,this._signal("changeNewLineMode")},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();e===undefined?e=n:e<0?e=0:e>=n&&(e=n-1,t=undefined);var r=this.getLine(e);return t==undefined&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=Math.min(Math.max(e,0),this.getLength());var n=0;e<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(t.length==1?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var n=t==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,s=n?this.getLine(i).length:0,u=r?t+1:t,a=r?0:this.getLine(u).length,f=new o(i,s,u,a),l=this.$lines.slice(e,t+1);return this.applyDelta({start:f.start,end:f.end,action:"remove",lines:this.getLinesForRange(f)}),l},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){e instanceof o||(e=o.fromPoints(e.start,e.end));if(t.length===0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);var n;return t?n=this.insert(e.start,t):n=e.start,n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n=e.action=="insert";if(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))return;n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e))},this.$safeApplyDelta=function(e){var t=this.$lines.length;(e.action=="remove"&&e.start.row<t&&e.end.row<t||e.action=="insert"&&e.start.row<=t)&&this.applyDelta(e)},this.$splitAndapplyLargeDelta=function(e,t){var n=e.lines,r=n.length-t+1,i=e.start.row,s=e.start.column;for(var o=0,u=0;o<r;o=u){u+=t-1;var a=n.slice(o,u);a.push(""),this.applyDelta({start:this.pos(i+o,s),end:this.pos(i+u,s=0),action:e.action,lines:a},!0)}e.lines=n.slice(o),e.start.row=i+o,e.start.column=s,this.applyDelta(e,!0)},this.revertDelta=function(e){this.$safeApplyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:e.action=="insert"?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:e+n[s-1].length+r}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(a.prototype),t.Document=a}),ace.define("ace/lib/lang",[],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function s(e){if(typeof e!="object"||!e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;n++)t[n]=s(e[n]);return t}if(Object.prototype.toString.call(e)!=="[object Object]")return e;t={};for(var n in e)t[n]=s(e[n]);return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),ace.define("ace/worker/mirror",[],function(e,t,n){"use strict";var r=e("../range").Range,i=e("../document").Document,s=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),n=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),r=this;e.on("change",function(e){var i=e.data;if(i[0].start)t.applyDeltas(i);else for(var s=0;s<i.length;s+=2){if(Array.isArray(i[s+1]))var o={action:"insert",start:i[s],lines:i[s+1]};else var o={action:"remove",start:i[s],end:i[s+1]};t.applyDelta(o,!0)}if(r.$timeout)return n.schedule(r.$timeout);r.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)}),ace.define("ace/mode/php/php",[],function(e,t,n){var r={Constants:{}};r.Constants.T_INCLUDE=259,r.Constants.T_INCLUDE_ONCE=260,r.Constants.T_EVAL=318,r.Constants.T_REQUIRE=261,r.Constants.T_REQUIRE_ONCE=262,r.Constants.T_LOGICAL_OR=263,r.Constants.T_LOGICAL_XOR=264,r.Constants.T_LOGICAL_AND=265,r.Constants.T_PRINT=266,r.Constants.T_YIELD=267,r.Constants.T_DOUBLE_ARROW=268,r.Constants.T_YIELD_FROM=269,r.Constants.T_PLUS_EQUAL=270,r.Constants.T_MINUS_EQUAL=271,r.Constants.T_MUL_EQUAL=272,r.Constants.T_DIV_EQUAL=273,r.Constants.T_CONCAT_EQUAL=274,r.Constants.T_MOD_EQUAL=275,r.Constants.T_AND_EQUAL=276,r.Constants.T_OR_EQUAL=277,r.Constants.T_XOR_EQUAL=278,r.Constants.T_SL_EQUAL=279,r.Constants.T_SR_EQUAL=280,r.Constants.T_POW_EQUAL=281,r.Constants.T_COALESCE_EQUAL=282,r.Constants.T_COALESCE=283,r.Constants.T_BOOLEAN_OR=284,r.Constants.T_BOOLEAN_AND=285,r.Constants.T_IS_EQUAL=286,r.Constants.T_IS_NOT_EQUAL=287,r.Constants.T_IS_IDENTICAL=288,r.Constants.T_IS_NOT_IDENTICAL=289,r.Constants.T_SPACESHIP=290,r.Constants.T_IS_SMALLER_OR_EQUAL=291,r.Constants.T_IS_GREATER_OR_EQUAL=292,r.Constants.T_SL=293,r.Constants.T_SR=294,r.Constants.T_INSTANCEOF=295,r.Constants.T_INC=319,r.Constants.T_DEC=320,r.Constants.T_INT_CAST=296,r.Constants.T_DOUBLE_CAST=297,r.Constants.T_STRING_CAST=298,r.Constants.T_ARRAY_CAST=299,r.Constants.T_OBJECT_CAST=300,r.Constants.T_BOOL_CAST=301,r.Constants.T_UNSET_CAST=302,r.Constants.T_POW=303,r.Constants.T_NEW=304,r.Constants.T_CLONE=305,r.Constants.T_EXIT=321,r.Constants.T_IF=322,r.Constants.T_ELSEIF=307,r.Constants.T_ELSE=308,r.Constants.T_ENDIF=323,r.Constants.T_LNUMBER=309,r.Constants.T_DNUMBER=310,r.Constants.T_STRING=311,r.Constants.T_STRING_VARNAME=316,r.Constants.T_VARIABLE=312,r.Constants.T_NUM_STRING=317,r.Constants.T_INLINE_HTML=313,r.Constants.T_BAD_CHARACTER=395,r.Constants.T_ENCAPSED_AND_WHITESPACE=314,r.Constants.T_CONSTANT_ENCAPSED_STRING=315,r.Constants.T_ECHO=324,r.Constants.T_DO=325,r.Constants.T_WHILE=326,r.Constants.T_ENDWHILE=327,r.Constants.T_FOR=328,r.Constants.T_ENDFOR=329,r.Constants.T_FOREACH=330,r.Constants.T_ENDFOREACH=331,r.Constants.T_DECLARE=332,r.Constants.T_ENDDECLARE=333,r.Constants.T_AS=334,r.Constants.T_SWITCH=335,r.Constants.T_ENDSWITCH=336,r.Constants.T_CASE=337,r.Constants.T_DEFAULT=338,r.Constants.T_BREAK=339,r.Constants.T_CONTINUE=340,r.Constants.T_GOTO=341,r.Constants.T_FUNCTION=342,r.Constants.T_FN=343,r.Constants.T_CONST=344,r.Constants.T_RETURN=345,r.Constants.T_TRY=346,r.Constants.T_CATCH=347,r.Constants.T_FINALLY=348,r.Constants.T_THROW=349,r.Constants.T_USE=350,r.Constants.T_INSTEADOF=351,r.Constants.T_GLOBAL=352,r.Constants.T_STATIC=353,r.Constants.T_ABSTRACT=354,r.Constants.T_FINAL=355,r.Constants.T_PRIVATE=356,r.Constants.T_PROTECTED=357,r.Constants.T_PUBLIC=358,r.Constants.T_VAR=359,r.Constants.T_UNSET=360,r.Constants.T_ISSET=361,r.Constants.T_EMPTY=362,r.Constants.T_HALT_COMPILER=363,r.Constants.T_CLASS=364,r.Constants.T_TRAIT=365,r.Constants.T_INTERFACE=366,r.Constants.T_EXTENDS=367,r.Constants.T_IMPLEMENTS=368,r.Constants.T_OBJECT_OPERATOR=369,r.Constants.T_DOUBLE_ARROW=268,r.Constants.T_LIST=370,r.Constants.T_ARRAY=371,r.Constants.T_CALLABLE=372,r.Constants.T_CLASS_C=376,r.Constants.T_TRAIT_C=377,r.Constants.T_METHOD_C=378,r.Constants.T_FUNC_C=379,r.Constants.T_LINE=373,r.Constants.T_FILE=374,r.Constants.T_COMMENT=380,r.Constants.T_DOC_COMMENT=381,r.Constants.T_OPEN_TAG=382,r.Constants.T_OPEN_TAG_WITH_ECHO=383,r.Constants.T_CLOSE_TAG=384,r.Constants.T_WHITESPACE=385,r.Constants.T_START_HEREDOC=386,r.Constants.T_END_HEREDOC=387,r.Constants.T_DOLLAR_OPEN_CURLY_BRACES=388,r.Constants.T_CURLY_OPEN=389,r.Constants.T_PAAMAYIM_NEKUDOTAYIM=390,r.Constants.T_NAMESPACE=391,r.Constants.T_NS_C=392,r.Constants.T_DIR=375,r.Constants.T_NS_SEPARATOR=393,r.Constants.T_ELLIPSIS=394,r.Lexer=function(e,t){var n,i,s=["INITIAL"],o=0,u=function(e){s[o]=e},a=function(e){s[++o]=e},f=function(){--o},l=t===undefined||/^(on|true|1)$/i.test(t.short_open_tag),c=l?/^(\<\?php(?:\r\n|[ \t\r\n])|<\?|\<script language\=('|")?php('|")?\>)/i:/^(\<\?php(?:\r\n|[ \t\r\n])|\<script language\=('|")?php('|")?\>)/i,h=l?/[^<]*(?:<(?!\?|script language\=('|")?php('|")?\>)[^<]*)*/i:/[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,p="[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*",d=function(e){return"[^"+e+"\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^"+e+"\\\\${]*)*"},v=[{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+p+"(?=\\[)"),func:function(){a("VAR_OFFSET")}},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+p+"(?=->"+p+")"),func:function(){a("LOOKING_FOR_PROPERTY")}},{value:r.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:new RegExp("^\\$\\{(?="+p+"[\\[}])"),func:function(){a("LOOKING_FOR_VARNAME")}},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+p)},{value:r.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:/^\$\{/,func:function(){a("IN_SCRIPTING")}},{value:r.Constants.T_CURLY_OPEN,re:/^\{(?=\$)/,func:function(){a("IN_SCRIPTING")}}],m={INITIAL:[{value:r.Constants.T_OPEN_TAG_WITH_ECHO,re:/^<\?=/i,func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_OPEN_TAG,re:c,func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_INLINE_HTML,re:h}],IN_SCRIPTING:[{value:r.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/},{value:r.Constants.T_ABSTRACT,re:/^abstract\b/i},{value:r.Constants.T_LOGICAL_AND,re:/^and\b/i},{value:r.Constants.T_ARRAY,re:/^array\b/i},{value:r.Constants.T_AS,re:/^as\b/i},{value:r.Constants.T_BREAK,re:/^break\b/i},{value:r.Constants.T_CALLABLE,re:/^callable\b/i},{value:r.Constants.T_CASE,re:/^case\b/i},{value:r.Constants.T_CATCH,re:/^catch\b/i},{value:r.Constants.T_CLASS,re:/^class\b/i},{value:r.Constants.T_CLONE,re:/^clone\b/i},{value:r.Constants.T_CONST,re:/^const\b/i},{value:r.Constants.T_CONTINUE,re:/^continue\b/i},{value:r.Constants.T_DECLARE,re:/^declare\b/i},{value:r.Constants.T_DEFAULT,re:/^default\b/i},{value:r.Constants.T_DO,re:/^do\b/i},{value:r.Constants.T_ECHO,re:/^echo\b/i},{value:r.Constants.T_ELSE,re:/^else\b/i},{value:r.Constants.T_ELSEIF,re:/^elseif\b/i},{value:r.Constants.T_ENDDECLARE,re:/^enddeclare\b/i},{value:r.Constants.T_ENDFOR,re:/^endfor\b/i},{value:r.Constants.T_ENDFOREACH,re:/^endforeach\b/i},{value:r.Constants.T_ENDIF,re:/^endif\b/i},{value:r.Constants.T_ENDSWITCH,re:/^endswitch\b/i},{value:r.Constants.T_ENDWHILE,re:/^endwhile\b/i},{value:r.Constants.T_EMPTY,re:/^empty\b/i},{value:r.Constants.T_EVAL,re:/^eval\b/i},{value:r.Constants.T_EXIT,re:/^(?:exit|die)\b/i},{value:r.Constants.T_EXTENDS,re:/^extends\b/i},{value:r.Constants.T_FINAL,re:/^final\b/i},{value:r.Constants.T_FINALLY,re:/^finally\b/i},{value:r.Constants.T_FN,re:/^fn\b/i},{value:r.Constants.T_FOR,re:/^for\b/i},{value:r.Constants.T_FOREACH,re:/^foreach\b/i},{value:r.Constants.T_FUNCTION,re:/^function\b/i},{value:r.Constants.T_GLOBAL,re:/^global\b/i},{value:r.Constants.T_GOTO,re:/^goto\b/i},{value:r.Constants.T_IF,re:/^if\b/i},{value:r.Constants.T_IMPLEMENTS,re:/^implements\b/i},{value:r.Constants.T_INCLUDE,re:/^include\b/i},{value:r.Constants.T_INCLUDE_ONCE,re:/^include_once\b/i},{value:r.Constants.T_INSTANCEOF,re:/^instanceof\b/i},{value:r.Constants.T_INSTEADOF,re:/^insteadof\b/i},{value:r.Constants.T_INTERFACE,re:/^interface\b/i},{value:r.Constants.T_ISSET,re:/^isset\b/i},{value:r.Constants.T_LIST,re:/^list\b/i},{value:r.Constants.T_NAMESPACE,re:/^namespace\b/i},{value:r.Constants.T_NEW,re:/^new\b/i},{value:r.Constants.T_LOGICAL_OR,re:/^or\b/i},{value:r.Constants.T_PRINT,re:/^print\b/i},{value:r.Constants.T_PRIVATE,re:/^private\b/i},{value:r.Constants.T_PROTECTED,re:/^protected\b/i},{value:r.Constants.T_PUBLIC,re:/^public\b/i},{value:r.Constants.T_REQUIRE,re:/^require\b/i},{value:r.Constants.T_REQUIRE_ONCE,re:/^require_once\b/i},{value:r.Constants.T_STATIC,re:/^static\b/i},{value:r.Constants.T_SWITCH,re:/^switch\b/i},{value:r.Constants.T_THROW,re:/^throw\b/i},{value:r.Constants.T_TRAIT,re:/^trait\b/i},{value:r.Constants.T_TRY,re:/^try\b/i},{value:r.Constants.T_UNSET,re:/^unset\b/i},{value:r.Constants.T_USE,re:/^use\b/i},{value:r.Constants.T_VAR,re:/^var\b/i},{value:r.Constants.T_WHILE,re:/^while\b/i},{value:r.Constants.T_LOGICAL_XOR,re:/^xor\b/i},{value:r.Constants.T_YIELD_FROM,re:/^yield\s+from\b/i},{value:r.Constants.T_YIELD,re:/^yield\b/i},{value:r.Constants.T_RETURN,re:/^return\b/i},{value:r.Constants.T_METHOD_C,re:/^__METHOD__\b/i},{value:r.Constants.T_LINE,re:/^__LINE__\b/i},{value:r.Constants.T_FILE,re:/^__FILE__\b/i},{value:r.Constants.T_FUNC_C,re:/^__FUNCTION__\b/i},{value:r.Constants.T_NS_C,re:/^__NAMESPACE__\b/i},{value:r.Constants.T_TRAIT_C,re:/^__TRAIT__\b/i},{value:r.Constants.T_DIR,re:/^__DIR__\b/i},{value:r.Constants.T_CLASS_C,re:/^__CLASS__\b/i},{value:r.Constants.T_AND_EQUAL,re:/^&=/},{value:r.Constants.T_ARRAY_CAST,re:/^\([ \t]*array[ \t]*\)/i},{value:r.Constants.T_BOOL_CAST,re:/^\([ \t]*(?:bool|boolean)[ \t]*\)/i},{value:r.Constants.T_DOUBLE_CAST,re:/^\([ \t]*(?:real|float|double)[ \t]*\)/i},{value:r.Constants.T_INT_CAST,re:/^\([ \t]*(?:int|integer)[ \t]*\)/i},{value:r.Constants.T_OBJECT_CAST,re:/^\([ \t]*object[ \t]*\)/i},{value:r.Constants.T_STRING_CAST,re:/^\([ \t]*(?:binary|string)[ \t]*\)/i},{value:r.Constants.T_UNSET_CAST,re:/^\([ \t]*unset[ \t]*\)/i},{value:r.Constants.T_BOOLEAN_AND,re:/^&&/},{value:r.Constants.T_BOOLEAN_OR,re:/^\|\|/},{value:r.Constants.T_CLOSE_TAG,re:/^(?:\?>|<\/script>)(\r\n|\r|\n)?/i,func:function(){u("INITIAL")}},{value:r.Constants.T_DOUBLE_ARROW,re:/^=>/},{value:r.Constants.T_PAAMAYIM_NEKUDOTAYIM,re:/^::/},{value:r.Constants.T_INC,re:/^\+\+/},{value:r.Constants.T_DEC,re:/^--/},{value:r.Constants.T_CONCAT_EQUAL,re:/^\.=/},{value:r.Constants.T_DIV_EQUAL,re:/^\/=/},{value:r.Constants.T_XOR_EQUAL,re:/^\^=/},{value:r.Constants.T_MUL_EQUAL,re:/^\*=/},{value:r.Constants.T_MOD_EQUAL,re:/^%=/},{value:r.Constants.T_SL_EQUAL,re:/^<<=/},{value:r.Constants.T_START_HEREDOC,re:new RegExp("^[bB]?<<<[ \\t]*'("+p+")'(?:\\r\\n|\\r|\\n)"),func:function(e){n=e[1],u("NOWDOC")}},{value:r.Constants.T_START_HEREDOC,re:new RegExp('^[bB]?<<<[ \\t]*("?)('+p+")\\1(?:\\r\\n|\\r|\\n)"),func:function(e){n=e[2],i=!0,u("HEREDOC")}},{value:r.Constants.T_SL,re:/^<</},{value:r.Constants.T_SPACESHIP,re:/^<=>/},{value:r.Constants.T_IS_SMALLER_OR_EQUAL,re:/^<=/},{value:r.Constants.T_SR_EQUAL,re:/^>>=/},{value:r.Constants.T_SR,re:/^>>/},{value:r.Constants.T_IS_GREATER_OR_EQUAL,re:/^>=/},{value:r.Constants.T_OR_EQUAL,re:/^\|=/},{value:r.Constants.T_PLUS_EQUAL,re:/^\+=/},{value:r.Constants.T_MINUS_EQUAL,re:/^-=/},{value:r.Constants.T_OBJECT_OPERATOR,re:new RegExp("^->(?=[ \n\r ]*"+p+")"),func:function(){a("LOOKING_FOR_PROPERTY")}},{value:r.Constants.T_OBJECT_OPERATOR,re:/^->/i},{value:r.Constants.T_ELLIPSIS,re:/^\.\.\./},{value:r.Constants.T_POW_EQUAL,re:/^\*\*=/},{value:r.Constants.T_POW,re:/^\*\*/},{value:r.Constants.T_COALESCE,re:/^\?\?/},{value:r.Constants.T_COMMENT,re:/^\/\*([\S\s]*?)(?:\*\/|$)/},{value:r.Constants.T_COMMENT,re:/^(?:\/\/|#)[^\r\n?]*(?:\?(?!>)[^\r\n?]*)*(?:\r\n|\r|\n)?/},{value:r.Constants.T_IS_IDENTICAL,re:/^===/},{value:r.Constants.T_IS_EQUAL,re:/^==/},{value:r.Constants.T_IS_NOT_IDENTICAL,re:/^!==/},{value:r.Constants.T_IS_NOT_EQUAL,re:/^(!=|<>)/},{value:r.Constants.T_DNUMBER,re:/^(?:[0-9]+\.[0-9]*|\.[0-9]+)(?:[eE][+-]?[0-9]+)?/},{value:r.Constants.T_DNUMBER,re:/^[0-9]+[eE][+-]?[0-9]+/},{value:r.Constants.T_LNUMBER,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+p)},{value:r.Constants.T_CONSTANT_ENCAPSED_STRING,re:/^[bB]?'[^'\\]*(?:\\[\s\S][^'\\]*)*'/},{value:r.Constants.T_CONSTANT_ENCAPSED_STRING,re:new RegExp('^[bB]?"'+d('"')+'"')},{value:-1,re:/^[bB]?"/,func:function(){u("DOUBLE_QUOTES")}},{value:-1,re:/^`/,func:function(){u("BACKTICKS")}},{value:r.Constants.T_NS_SEPARATOR,re:/^\\/},{value:r.Constants.T_STRING,re:/^[a-zA-Z_\x7f-\uffff][a-zA-Z0-9_\x7f-\uffff]*/},{value:-1,re:/^\{/,func:function(){a("IN_SCRIPTING")}},{value:-1,re:/^\}/,func:function(){o>0&&f()}},{value:-1,re:/^[\[\];:?()!.,><=+-/*|&@^%"'$~]/}],DOUBLE_QUOTES:v.concat([{value:-1,re:/^"/,func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+d('"'))}]),BACKTICKS:v.concat([{value:-1,re:/^`/,func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+d("`"))}]),VAR_OFFSET:[{value:-1,re:/^\]/,func:function(){f()}},{value:r.Constants.T_NUM_STRING,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+p)},{value:r.Constants.T_STRING,re:new RegExp("^"+p)},{value:-1,re:/^[;:,.\[()|^&+-/*=%!~$<>?@{}"`]/}],LOOKING_FOR_PROPERTY:[{value:r.Constants.T_OBJECT_OPERATOR,re:/^->/},{value:r.Constants.T_STRING,re:new RegExp("^"+p),func:function(){f()}},{value:r.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/}],LOOKING_FOR_VARNAME:[{value:r.Constants.T_STRING_VARNAME,re:new RegExp("^"+p+"(?=[\\[}])"),func:function(){u("IN_SCRIPTING")}}],NOWDOC:[{value:r.Constants.T_END_HEREDOC,matchFunc:function(e){var t=new RegExp("^"+n+"(?=;?[\\r\\n])");return e.match(t)?[e.substr(0,n.length)]:null},func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(e){var t=new RegExp("[\\r\\n]"+n+"(?=;?[\\r\\n])"),r=t.exec(e),i=r?r.index+1:e.length;return[e.substring(0,i)]}}],HEREDOC:v.concat([{value:r.Constants.T_END_HEREDOC,matchFunc:function(e){if(!i)return null;var t=new RegExp("^"+n+"(?=;?[\\r\\n])");return e.match(t)?[e.substr(0,n.length)]:null},func:function(){u("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(e){var t=e.length,r=new RegExp("^"+d("")),s=r.exec(e);return s&&(t=s[0].length),r=new RegExp("([\\r\\n])"+n+"(?=;?[\\r\\n])"),s=r.exec(e.substring(0,t)),s?(t=s.index+1,i=!0):i=!1,t==0?null:[e.substring(0,t)]}}])},g=[],y=1,b=!0;if(e===null)return g;typeof e!="string"&&(e=e.toString());while(e.length>0&&b===!0){var w=s[o],E=m[w];b=E.some(function(t){var n=t.matchFunc!==undefined?t.matchFunc(e):e.match(t.re);if(n!==null){if(n[0].length==0)throw new Error("empty match");t.func!==undefined&&t.func(n);if(t.value===-1)g.push(n[0]);else{var r=n[0];g.push([parseInt(t.value,10),r,y]),y+=r.split("\n").length-1}return e=e.substring(n[0].length),!0}return!1})}return g},r.Parser=function(e,t){var n=this.yybase,i=this.yydefault,s=this.yycheck,o=this.yyaction,u=this.yylen,a=this.yygbase,f=this.yygcheck,l=this.yyp,c=this.yygoto,h=this.yylhs,p=this.terminals,d=this.translate,v=this.yygdefault;this.pos=-1,this.line=1,this.tokenMap=this.createTokenMap(),this.dropTokens={},this.dropTokens[r.Constants.T_WHITESPACE]=1,this.dropTokens[r.Constants.T_OPEN_TAG]=1;var m=[];e.forEach(function(e,t){typeof e=="object"&&e[0]===r.Constants.T_OPEN_TAG_WITH_ECHO?(m.push([r.Constants.T_OPEN_TAG,e[1],e[2]]),m.push([r.Constants.T_ECHO,e[1],e[2]])):m.push(e)}),this.tokens=m;var g=this.TOKEN_NONE;this.startAttributes={startLine:1},this.endAttributes={};var y=[this.startAttributes],b=0,w=[b];this.yyastk=[],this.stackPos=0;var E,S;for(;;){if(n[b]===0)E=i[b];else{g===this.TOKEN_NONE&&(S=this.getNextToken(),g=S>=0&&S<this.TOKEN_MAP_SIZE?d[S]:this.TOKEN_INVALID,y[this.stackPos]=this.startAttributes);if(((E=n[b]+g)>=0&&E<this.YYLAST&&s[E]===g||b<this.YY2TBLSTATE&&(E=n[b+this.YYNLSTATES]+g)>=0&&E<this.YYLAST&&s[E]===g)&&(E=o[E])!==this.YYDEFAULT)if(E>0){++this.stackPos,w[this.stackPos]=b=E,this.yyastk[this.stackPos]=this.tokenValue,y[this.stackPos]=this.startAttributes,g=this.TOKEN_NONE;if(E<this.YYNLSTATES)continue;E-=this.YYNLSTATES}else E=-E;else E=i[b]}for(;;){if(E===0)return this.yyval;if(E===this.YYUNEXPECTED){if(t!==!0){var T=[];for(var N=0;N<this.TOKEN_MAP_SIZE;++N)if((E=n[b]+N)>=0&&E<this.YYLAST&&s[E]==N||b<this.YY2TBLSTATE&&(E=n[b+this.YYNLSTATES]+N)&&E<this.YYLAST&&s[E]==N)if(o[E]!=this.YYUNEXPECTED){if(T.length==4){T=[];break}T.push(this.terminals[N])}var C="";throw T.length&&(C=", expecting "+T.join(" or ")),new r.ParseError("syntax error, unexpected "+p[g]+C,this.startAttributes.startLine)}return this.startAttributes.startLine}for(var x in this.endAttributes)y[this.stackPos-u[E]][x]=this.endAttributes[x];this.stackPos-=u[E],E=h[E],(l=a[E]+w[this.stackPos])>=0&&l<this.YYGLAST&&f[l]===E?b=c[l]:b=v[E],++this.stackPos,w[this.stackPos]=b,this.yyastk[this.stackPos]=this.yyval,y[this.stackPos]=this.startAttributes;if(b<this.YYNLSTATES)break;E=b-this.YYNLSTATES}}},r.ParseError=function(e,t){this.message=e,this.line=t},r.Parser.prototype.getNextToken=function(){this.startAttributes={},this.endAttributes={};var e,t;while(this.tokens[++this.pos]!==undefined){e=this.tokens[this.pos];if(typeof e=="string")return this.startAttributes.startLine=this.line,this.endAttributes.endLine=this.line,'b"'===e?(this.tokenValue='b"','"'.charCodeAt(0)):(this.tokenValue=e,e.charCodeAt(0));this.line+=(t=e[1].match(/\n/g))===null?0:t.length;if(r.Constants.T_COMMENT===e[0])Array.isArray(this.startAttributes.comments)||(this.startAttributes.comments=[]),this.startAttributes.comments.push({type:"comment",comment:e[1],line:e[2]});else if(r.Constants.T_DOC_COMMENT===e[0])this.startAttributes.comments.push(new PHPParser_Comment_Doc(e[1],e[2]));else if(this.dropTokens[e[0]]===undefined)return this.tokenValue=e[1],this.startAttributes.startLine=e[2],this.endAttributes.endLine=this.line,this.tokenMap[e[0]]}return this.startAttributes.startLine=this.line,0},r.Parser.prototype.tokenName=function(e){var t=["T_INCLUDE","T_INCLUDE_ONCE","T_EVAL","T_REQUIRE","T_REQUIRE_ONCE","T_LOGICAL_OR","T_LOGICAL_XOR","T_LOGICAL_AND","T_PRINT","T_YIELD","T_DOUBLE_ARROW","T_YIELD_FROM","T_PLUS_EQUAL","T_MINUS_EQUAL","T_MUL_EQUAL","T_DIV_EQUAL","T_CONCAT_EQUAL","T_MOD_EQUAL","T_AND_EQUAL","T_OR_EQUAL","T_XOR_EQUAL","T_SL_EQUAL","T_SR_EQUAL","T_POW_EQUAL","T_COALESCE_EQUAL","T_COALESCE","T_BOOLEAN_OR","T_BOOLEAN_AND","T_IS_EQUAL","T_IS_NOT_EQUAL","T_IS_IDENTICAL","T_IS_NOT_IDENTICAL","T_SPACESHIP","T_IS_SMALLER_OR_EQUAL","T_IS_GREATER_OR_EQUAL","T_SL","T_SR","T_INSTANCEOF","T_INC","T_DEC","T_INT_CAST","T_DOUBLE_CAST","T_STRING_CAST","T_ARRAY_CAST","T_OBJECT_CAST","T_BOOL_CAST","T_UNSET_CAST","T_POW","T_NEW","T_CLONE","T_EXIT","T_IF","T_ELSEIF","T_ELSE","T_ENDIF","T_LNUMBER","T_DNUMBER","T_STRING","T_STRING_VARNAME","T_VARIABLE","T_NUM_STRING","T_INLINE_HTML","T_CHARACTER","T_BAD_CHARACTER","T_ENCAPSED_AND_WHITESPACE","T_CONSTANT_ENCAPSED_STRING","T_ECHO","T_DO","T_WHILE","T_ENDWHILE","T_FOR","T_ENDFOR","T_FOREACH","T_ENDFOREACH","T_DECLARE","T_ENDDECLARE","T_AS","T_SWITCH","T_ENDSWITCH","T_CASE","T_DEFAULT","T_BREAK","T_CONTINUE","T_GOTO","T_FUNCTION","T_FN","T_CONST","T_RETURN","T_TRY","T_CATCH","T_FINALLY","T_THROW","T_USE","T_INSTEADOF","T_GLOBAL","T_STATIC","T_ABSTRACT","T_FINAL","T_PRIVATE","T_PROTECTED","T_PUBLIC","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_DOUBLE_ARROW","T_LIST","T_ARRAY","T_CALLABLE","T_CLASS_C","T_TRAIT_C","T_METHOD_C","T_FUNC_C","T_LINE","T_FILE","T_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE","T_START_HEREDOC","T_END_HEREDOC","T_DOLLAR_OPEN_CURLY_BRACES","T_CURLY_OPEN","T_PAAMAYIM_NEKUDOTAYIM","T_NAMESPACE","T_NS_C","T_DIR","T_NS_SEPARATOR","T_ELLIPSIS"],n="UNKNOWN";return t.some(function(t){return r.Constants[t]===e?(n=t,!0):!1}),n},r.Parser.prototype.createTokenMap=function(){var e={},t,n;for(n=256;n<1e3;++n)r.Constants.T_OPEN_TAG_WITH_ECHO===n?e[n]=r.Constants.T_ECHO:r.Constants.T_CLOSE_TAG===n?e[n]=59:"UNKNOWN"!==(t=this.tokenName(n))&&(e[n]=this[t]);return e},r.Parser.prototype.TOKEN_NONE=-1,r.Parser.prototype.TOKEN_INVALID=159,r.Parser.prototype.TOKEN_MAP_SIZE=394,r.Parser.prototype.YYLAST=964,r.Parser.prototype.YY2TBLSTATE=348,r.Parser.prototype.YYGLAST=508,r.Parser.prototype.YYNLSTATES=602,r.Parser.prototype.YYUNEXPECTED=32767,r.Parser.prototype.YYDEFAULT=-32766,r.Parser.prototype.YYERRTOK=256,r.Parser.prototype.T_INCLUDE=257,r.Parser.prototype.T_INCLUDE_ONCE=258,r.Parser.prototype.T_EVAL=259,r.Parser.prototype.T_REQUIRE=260,r.Parser.prototype.T_REQUIRE_ONCE=261,r.Parser.prototype.T_LOGICAL_OR=262,r.Parser.prototype.T_LOGICAL_XOR=263,r.Parser.prototype.T_LOGICAL_AND=264,r.Parser.prototype.T_PRINT=265,r.Parser.prototype.T_YIELD=266,r.Parser.prototype.T_DOUBLE_ARROW=267,r.Parser.prototype.T_YIELD_FROM=268,r.Parser.prototype.T_PLUS_EQUAL=269,r.Parser.prototype.T_MINUS_EQUAL=270,r.Parser.prototype.T_MUL_EQUAL=271,r.Parser.prototype.T_DIV_EQUAL=272,r.Parser.prototype.T_CONCAT_EQUAL=273,r.Parser.prototype.T_MOD_EQUAL=274,r.Parser.prototype.T_AND_EQUAL=275,r.Parser.prototype.T_OR_EQUAL=276,r.Parser.prototype.T_XOR_EQUAL=277,r.Parser.prototype.T_SL_EQUAL=278,r.Parser.prototype.T_SR_EQUAL=279,r.Parser.prototype.T_POW_EQUAL=280,r.Parser.prototype.T_COALESCE_EQUAL=281,r.Parser.prototype.T_COALESCE=282,r.Parser.prototype.T_BOOLEAN_OR=283,r.Parser.prototype.T_BOOLEAN_AND=284,r.Parser.prototype.T_IS_EQUAL=285,r.Parser.prototype.T_IS_NOT_EQUAL=286,r.Parser.prototype.T_IS_IDENTICAL=287,r.Parser.prototype.T_IS_NOT_IDENTICAL=288,r.Parser.prototype.T_SPACESHIP=289,r.Parser.prototype.T_IS_SMALLER_OR_EQUAL=290,r.Parser.prototype.T_IS_GREATER_OR_EQUAL=291,r.Parser.prototype.T_SL=292,r.Parser.prototype.T_SR=293,r.Parser.prototype.T_INSTANCEOF=294,r.Parser.prototype.T_INC=295,r.Parser.prototype.T_DEC=296,r.Parser.prototype.T_INT_CAST=297,r.Parser.prototype.T_DOUBLE_CAST=298,r.Parser.prototype.T_STRING_CAST=299,r.Parser.prototype.T_ARRAY_CAST=300,r.Parser.prototype.T_OBJECT_CAST=301,r.Parser.prototype.T_BOOL_CAST=302,r.Parser.prototype.T_UNSET_CAST=303,r.Parser.prototype.T_POW=304,r.Parser.prototype.T_NEW=305,r.Parser.prototype.T_CLONE=306,r.Parser.prototype.T_EXIT=307,r.Parser.prototype.T_IF=308,r.Parser.prototype.T_ELSEIF=309,r.Parser.prototype.T_ELSE=310,r.Parser.prototype.T_ENDIF=311,r.Parser.prototype.T_LNUMBER=312,r.Parser.prototype.T_DNUMBER=313,r.Parser.prototype.T_STRING=314,r.Parser.prototype.T_STRING_VARNAME=315,r.Parser.prototype.T_VARIABLE=316,r.Parser.prototype.T_NUM_STRING=317,r.Parser.prototype.T_INLINE_HTML=318,r.Parser.prototype.T_CHARACTER=319,r.Parser.prototype.T_BAD_CHARACTER=320,r.Parser.prototype.T_ENCAPSED_AND_WHITESPACE=321,r.Parser.prototype.T_CONSTANT_ENCAPSED_STRING=322,r.Parser.prototype.T_ECHO=323,r.Parser.prototype.T_DO=324,r.Parser.prototype.T_WHILE=325,r.Parser.prototype.T_ENDWHILE=326,r.Parser.prototype.T_FOR=327,r.Parser.prototype.T_ENDFOR=328,r.Parser.prototype.T_FOREACH=329,r.Parser.prototype.T_ENDFOREACH=330,r.Parser.prototype.T_DECLARE=331,r.Parser.prototype.T_ENDDECLARE=332,r.Parser.prototype.T_AS=333,r.Parser.prototype.T_SWITCH=334,r.Parser.prototype.T_ENDSWITCH=335,r.Parser.prototype.T_CASE=336,r.Parser.prototype.T_DEFAULT=337,r.Parser.prototype.T_BREAK=338,r.Parser.prototype.T_CONTINUE=339,r.Parser.prototype.T_GOTO=340,r.Parser.prototype.T_FUNCTION=341,r.Parser.prototype.T_FN=342,r.Parser.prototype.T_CONST=343,r.Parser.prototype.T_RETURN=344,r.Parser.prototype.T_TRY=345,r.Parser.prototype.T_CATCH=346,r.Parser.prototype.T_FINALLY=347,r.Parser.prototype.T_THROW=348,r.Parser.prototype.T_USE=349,r.Parser.prototype.T_INSTEADOF=350,r.Parser.prototype.T_GLOBAL=351,r.Parser.prototype.T_STATIC=352,r.Parser.prototype.T_ABSTRACT=353,r.Parser.prototype.T_FINAL=354,r.Parser.prototype.T_PRIVATE=355,r.Parser.prototype.T_PROTECTED=356,r.Parser.prototype.T_PUBLIC=357,r.Parser.prototype.T_VAR=358,r.Parser.prototype.T_UNSET=359,r.Parser.prototype.T_ISSET=360,r.Parser.prototype.T_EMPTY=361,r.Parser.prototype.T_HALT_COMPILER=362,r.Parser.prototype.T_CLASS=363,r.Parser.prototype.T_TRAIT=364,r.Parser.prototype.T_INTERFACE=365,r.Parser.prototype.T_EXTENDS=366,r.Parser.prototype.T_IMPLEMENTS=367,r.Parser.prototype.T_OBJECT_OPERATOR=368,r.Parser.prototype.T_LIST=369,r.Parser.prototype.T_ARRAY=370,r.Parser.prototype.T_CALLABLE=371,r.Parser.prototype.T_CLASS_C=372,r.Parser.prototype.T_TRAIT_C=373,r.Parser.prototype.T_METHOD_C=374,r.Parser.prototype.T_FUNC_C=375,r.Parser.prototype.T_LINE=376,r.Parser.prototype.T_FILE=377,r.Parser.prototype.T_COMMENT=378,r.Parser.prototype.T_DOC_COMMENT=379,r.Parser.prototype.T_OPEN_TAG=380,r.Parser.prototype.T_OPEN_TAG_WITH_ECHO=381,r.Parser.prototype.T_CLOSE_TAG=382,r.Parser.prototype.T_WHITESPACE=383,r.Parser.prototype.T_START_HEREDOC=384,r.Parser.prototype.T_END_HEREDOC=385,r.Parser.prototype.T_DOLLAR_OPEN_CURLY_BRACES=386,r.Parser.prototype.T_CURLY_OPEN=387,r.Parser.prototype.T_PAAMAYIM_NEKUDOTAYIM=388,r.Parser.prototype.T_NAMESPACE=389,r.Parser.prototype.T_NS_C=390,r.Parser.prototype.T_DIR=391,r.Parser.prototype.T_NS_SEPARATOR=392,r.Parser.prototype.T_ELLIPSIS=393,r.Parser.prototype.terminals=["EOF","error","T_INCLUDE","T_INCLUDE_ONCE","T_EVAL","T_REQUIRE","T_REQUIRE_ONCE","','","T_LOGICAL_OR","T_LOGICAL_XOR","T_LOGICAL_AND","T_PRINT","T_YIELD","T_DOUBLE_ARROW","T_YIELD_FROM","'='","T_PLUS_EQUAL","T_MINUS_EQUAL","T_MUL_EQUAL","T_DIV_EQUAL","T_CONCAT_EQUAL","T_MOD_EQUAL","T_AND_EQUAL","T_OR_EQUAL","T_XOR_EQUAL","T_SL_EQUAL","T_SR_EQUAL","T_POW_EQUAL","T_COALESCE_EQUAL","'?'","':'","T_COALESCE","T_BOOLEAN_OR","T_BOOLEAN_AND","'|'","'^'","'&'","T_IS_EQUAL","T_IS_NOT_EQUAL","T_IS_IDENTICAL","T_IS_NOT_IDENTICAL","T_SPACESHIP","'<'","T_IS_SMALLER_OR_EQUAL","'>'","T_IS_GREATER_OR_EQUAL","T_SL","T_SR","'+'","'-'","'.'","'*'","'/'","'%'","'!'","T_INSTANCEOF","'~'","T_INC","T_DEC","T_INT_CAST","T_DOUBLE_CAST","T_STRING_CAST","T_ARRAY_CAST","T_OBJECT_CAST","T_BOOL_CAST","T_UNSET_CAST","'@'","T_POW","'['","T_NEW","T_CLONE","T_EXIT","T_IF","T_ELSEIF","T_ELSE","T_ENDIF","T_LNUMBER","T_DNUMBER","T_STRING","T_STRING_VARNAME","T_VARIABLE","T_NUM_STRING","T_INLINE_HTML","T_ENCAPSED_AND_WHITESPACE","T_CONSTANT_ENCAPSED_STRING","T_ECHO","T_DO","T_WHILE","T_ENDWHILE","T_FOR","T_ENDFOR","T_FOREACH","T_ENDFOREACH","T_DECLARE","T_ENDDECLARE","T_AS","T_SWITCH","T_ENDSWITCH","T_CASE","T_DEFAULT","T_BREAK","T_CONTINUE","T_GOTO","T_FUNCTION","T_FN","T_CONST","T_RETURN","T_TRY","T_CATCH","T_FINALLY","T_THROW","T_USE","T_INSTEADOF","T_GLOBAL","T_STATIC","T_ABSTRACT","T_FINAL","T_PRIVATE","T_PROTECTED","T_PUBLIC","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_LIST","T_ARRAY","T_CALLABLE","T_CLASS_C","T_TRAIT_C","T_METHOD_C","T_FUNC_C","T_LINE","T_FILE","T_START_HEREDOC","T_END_HEREDOC","T_DOLLAR_OPEN_CURLY_BRACES","T_CURLY_OPEN","T_PAAMAYIM_NEKUDOTAYIM","T_NAMESPACE","T_NS_C","T_DIR","T_NS_SEPARATOR","T_ELLIPSIS","';'","'{'","'}'","'('","')'","'`'","']'","'\"'","'$'","???"],r.Parser.prototype.translate=[0,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,54,157,159,158,53,36,159,153,154,51,48,7,49,50,52,159,159,159,159,159,159,159,159,159,159,30,150,42,15,44,29,66,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,68,159,156,35,159,155,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,151,34,152,56,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,1,2,3,4,5,6,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,31,32,33,37,38,39,40,41,43,45,46,47,55,57,58,59,60,61,62,63,64,65,67,69,70,71,72,73,74,75,76,77,78,79,80,81,82,159,159,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,159,159,159,159,159,159,140,141,142,143,144,145,146,147,148,149],r.Parser.prototype.yyaction=[607,608,609,610,611,685,612,613,614,650,651,0,32,103,104,105,106,107,108,109,110,111,112,113,114,115,-32767,-32767,-32767,-32767,94,95,96,97,98,-32766,-32766,-32766,687,491,-497,904,905,906,903,902,901,904,905,906,903,902,901,615,938,940,-32766,9,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,616,617,618,619,620,621,622,333,1104,683,-32766,-32766,-32766,846,1103,119,623,624,625,626,627,628,629,630,631,632,633,653,654,655,656,657,645,646,647,675,648,649,634,635,636,637,638,639,640,677,678,679,680,681,682,641,642,643,644,674,665,663,664,660,661,402,652,658,659,666,667,669,668,670,671,45,46,421,47,48,662,673,672,27,49,50,233,51,-32766,-32766,-32766,96,97,98,24,-32766,-32766,-32766,-458,261,121,1023,-32766,-32766,-32766,1091,1073,-32766,-32766,-32766,1039,-32766,-32766,-32766,-32766,-32766,-32766,-496,-32766,-32766,-32766,52,53,-32766,-497,-32766,-32766,54,687,55,231,232,56,57,58,59,60,61,62,63,1016,24,242,64,369,-32766,-32766,-32766,226,1040,1041,423,1076,1073,-493,880,508,1039,436,1023,-458,768,1073,239,333,-500,-32766,-500,-32766,-32766,-32766,-32766,856,253,-458,276,378,372,786,68,1073,-458,685,-461,278,1126,403,289,1127,288,99,100,101,303,252,433,434,822,-32766,69,261,237,850,851,435,436,102,1045,1046,1047,1048,1042,1043,256,1016,-456,-456,306,444,1049,1044,375,133,561,-239,363,66,237,268,692,273,278,422,-137,-137,-137,-4,768,1073,310,278,1035,757,687,362,37,20,424,-137,425,-137,426,-137,427,-137,127,428,-295,278,-295,38,39,370,371,-496,271,40,429,277,687,65,261,1016,302,896,430,431,-456,-456,333,-494,432,44,42,743,791,373,374,-457,-234,562,-456,-456,375,-32766,-32766,-32766,882,-456,-456,124,-493,75,850,851,333,-273,-260,422,768,770,576,-137,261,125,-32766,278,823,757,857,1073,37,20,424,240,425,-178,426,589,427,393,503,428,687,235,241,38,39,370,371,125,354,40,429,260,259,65,267,687,302,-457,430,431,-296,-177,-296,24,432,305,365,700,791,373,374,-457,120,118,24,1073,30,366,-457,1039,-460,850,851,687,367,691,1073,422,291,768,1039,333,-83,770,576,-4,467,757,126,368,37,20,424,-92,425,278,426,444,427,1016,375,428,-219,-219,-219,38,39,370,371,333,1016,40,429,850,851,65,435,436,302,236,430,431,225,708,-494,709,432,435,436,743,791,373,374,690,387,136,1117,578,68,413,238,8,33,278,1053,227,708,687,709,68,422,-260,535,21,278,770,576,-219,550,551,757,687,116,37,20,424,117,425,358,426,-178,427,132,328,428,-218,-218,-218,38,39,370,371,687,333,40,429,122,768,65,383,384,302,123,430,431,29,234,333,-177,432,528,529,743,791,373,374,129,850,851,135,76,77,78,1092,881,599,582,254,333,137,138,782,590,593,293,767,131,252,770,576,-218,31,102,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,43,252,422,558,768,687,690,-32766,471,130,476,685,757,102,553,37,20,424,526,425,688,426,272,427,910,1016,428,792,1128,793,38,39,370,583,269,570,40,429,536,1052,65,275,1055,302,-415,541,270,-81,10,391,768,432,542,554,784,594,5,0,12,577,0,0,304,0,0,0,0,336,342,0,0,0,0,0,0,422,0,0,0,584,770,576,0,0,0,757,0,0,37,20,424,343,425,0,426,0,427,768,0,428,0,0,0,38,39,370,347,387,473,40,429,359,360,65,744,35,302,36,597,598,748,422,825,809,432,816,587,876,877,806,817,757,746,804,37,20,424,885,425,888,426,889,427,768,886,428,887,893,-485,38,39,370,579,770,576,40,429,581,585,65,586,588,302,592,286,287,352,353,422,580,432,1123,591,1125,703,790,702,712,757,789,713,37,20,424,710,425,1124,426,788,427,768,1004,428,711,777,785,38,39,370,808,576,-483,40,429,775,814,65,815,1122,302,1074,1067,1081,1086,422,1089,-237,432,-461,-460,-459,23,25,28,757,34,41,37,20,424,67,425,70,426,71,427,72,73,428,74,128,134,38,39,370,139,770,576,40,429,229,230,65,246,247,302,248,249,250,251,290,422,355,432,357,-427,-235,-234,14,15,16,757,17,19,37,20,424,325,425,404,426,406,427,409,411,428,412,419,567,38,39,370,770,576,1027,40,429,977,1037,65,858,1008,302,-32766,-32766,-32766,-92,13,18,22,432,263,324,501,522,569,981,978,0,994,0,1036,1065,1066,-32766,1080,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,1120,532,770,576,1054],r.Parser.prototype.yycheck=[2,3,4,5,6,78,8,9,10,11,12,0,15,16,17,18,19,20,21,22,23,24,25,26,27,28,42,43,44,45,46,47,48,49,50,8,9,10,78,79,7,114,115,116,117,118,119,114,115,116,117,118,119,55,57,58,29,7,31,32,33,34,35,36,8,9,10,69,70,71,72,73,74,75,114,1,78,8,9,10,1,7,13,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,30,131,132,133,134,135,136,137,138,139,2,3,4,5,6,145,146,147,7,11,12,36,14,8,9,10,48,49,50,68,8,9,10,68,29,7,1,8,9,10,1,80,8,9,29,84,31,32,33,34,35,29,7,31,32,33,48,49,29,154,31,32,54,78,56,57,58,59,60,61,62,63,64,65,66,114,68,69,70,71,8,9,10,13,76,77,78,1,80,7,1,49,84,132,1,130,1,80,7,114,154,29,156,31,32,33,34,1,7,144,7,103,104,1,153,80,151,78,153,158,78,151,114,81,7,51,52,53,7,55,122,123,30,8,149,29,36,132,133,131,132,67,134,135,136,137,138,139,140,114,68,68,7,145,146,147,148,13,78,154,125,153,36,155,1,157,158,72,73,74,75,0,1,80,7,158,1,82,78,7,85,86,87,88,89,90,91,92,93,94,151,96,103,158,105,100,101,102,103,154,111,106,107,68,78,110,29,114,113,120,115,116,130,130,114,7,121,68,68,124,125,126,127,68,154,145,144,144,148,8,9,10,152,151,151,30,154,151,132,133,114,152,7,72,1,150,151,152,29,149,29,158,150,82,154,80,85,86,87,36,89,7,91,151,93,130,1,96,78,36,36,100,101,102,103,149,105,106,107,130,130,110,111,78,113,130,115,116,103,7,105,68,121,144,7,124,125,126,127,144,151,151,68,80,7,7,151,84,153,132,133,78,7,150,80,72,145,1,84,114,30,150,151,152,83,82,151,7,85,86,87,154,89,158,91,145,93,114,148,96,97,98,99,100,101,102,103,114,114,106,107,132,133,110,131,132,113,36,115,116,95,103,154,105,121,131,132,124,125,126,127,80,148,13,83,151,153,103,36,105,13,158,141,13,103,78,105,153,72,154,73,74,158,150,151,152,73,74,82,78,15,85,86,87,15,89,148,91,154,93,98,99,96,97,98,99,100,101,102,103,78,114,106,107,15,1,110,103,104,113,15,115,116,142,143,114,154,121,108,109,124,125,126,127,15,132,133,15,8,9,10,154,150,151,30,30,114,15,15,36,30,30,34,30,30,55,150,151,152,29,67,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,68,55,72,75,1,78,80,83,83,68,87,78,82,67,92,85,86,87,111,89,78,91,112,93,80,114,96,125,81,125,100,101,102,30,128,90,106,107,88,141,110,128,141,113,144,94,129,95,95,95,1,121,97,97,149,152,144,-1,144,151,-1,-1,144,-1,-1,-1,-1,148,148,-1,-1,-1,-1,-1,-1,72,-1,-1,-1,30,150,151,-1,-1,-1,82,-1,-1,85,86,87,148,89,-1,91,-1,93,1,-1,96,-1,-1,-1,100,101,102,148,148,148,106,107,148,148,110,152,150,113,150,150,150,150,72,150,150,121,150,30,150,150,150,150,82,150,150,85,86,87,150,89,150,91,150,93,1,150,96,150,150,153,100,101,102,151,150,151,106,107,151,151,110,151,151,113,151,151,151,151,151,72,151,121,152,30,152,152,152,152,152,82,152,152,85,86,87,152,89,152,91,152,93,1,152,96,152,152,152,100,101,102,150,151,153,106,107,152,152,110,152,152,113,152,152,152,152,72,152,154,121,153,153,153,153,153,153,82,153,153,85,86,87,153,89,153,91,153,93,153,153,96,153,153,153,100,101,102,153,150,151,106,107,153,153,110,153,153,113,153,153,153,153,153,72,153,121,153,155,154,154,154,154,154,82,154,154,85,86,87,154,89,154,91,154,93,154,154,96,154,154,154,100,101,102,150,151,154,106,107,154,154,110,154,154,113,8,9,10,154,154,154,154,121,154,154,154,154,154,154,154,-1,155,-1,156,156,156,29,156,31,32,33,34,35,36,37,38,39,40,41,156,156,150,151,157],r.Parser.prototype.yybase=[0,223,299,371,444,303,208,618,-2,-2,-73,-2,-2,625,718,718,764,718,552,671,811,811,811,228,113,113,113,254,361,-40,361,333,449,470,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,291,291,230,393,495,779,784,781,776,775,780,785,498,678,680,562,681,682,683,685,782,804,777,783,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,253,69,162,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,349,349,349,157,210,150,200,211,143,27,917,917,917,917,917,-16,-16,-16,-16,351,351,362,217,89,89,89,89,89,89,89,89,89,89,89,89,89,163,313,106,106,133,133,133,133,133,133,221,305,234,347,369,523,806,167,167,441,93,283,202,202,202,386,547,533,533,533,533,419,419,533,533,170,214,74,211,211,277,211,211,211,409,409,409,452,318,352,546,318,619,640,577,675,578,677,278,585,145,586,145,145,145,458,445,451,774,291,522,291,291,291,291,722,291,291,291,291,291,291,98,291,79,430,230,240,240,556,240,452,538,263,635,410,425,538,538,538,636,637,336,363,198,638,382,402,173,33,549,549,555,555,566,551,549,549,549,549,549,690,690,555,548,555,566,695,555,551,551,555,555,549,555,690,551,156,415,249,273,551,551,426,528,549,535,535,433,555,219,555,139,539,690,690,539,229,551,231,590,591,529,527,553,245,553,553,300,529,553,551,553,448,50,548,295,553,11,699,701,418,703,694,705,731,706,530,524,526,719,720,708,692,691,561,582,513,517,534,554,689,581,531,531,531,554,687,531,531,531,531,531,531,531,531,787,540,545,723,537,541,576,543,623,520,582,582,584,732,786,564,722,762,709,587,557,741,725,525,542,565,726,727,745,765,628,513,766,641,563,643,582,644,531,670,617,788,789,688,791,736,747,749,580,645,569,803,646,768,629,631,589,737,684,751,647,752,754,649,592,572,734,573,733,272,729,632,650,654,656,658,661,710,594,738,544,740,735,595,597,560,663,488,599,570,571,600,714,558,550,601,602,769,664,728,604,665,756,574,581,536,532,575,567,634,755,559,605,609,611,613,674,616,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,136,136,136,136,-2,-2,-2,0,0,-2,0,0,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,-3,568,568,-3,568,568,568,568,568,568,568,202,202,202,202,318,318,318,-67,318,318,318,318,318,318,318,318,318,318,318,318,318,318,-67,202,202,318,318,318,318,318,318,318,318,318,318,419,419,419,145,145,318,0,0,0,0,0,549,419,318,318,318,318,0,0,318,318,548,145,0,0,0,0,0,0,0,549,549,549,548,0,549,419,0,240,291,440,440,440,440,0,549,0,549,0,0,0,0,0,0,551,0,690,0,0,0,0,555,0,0,0,0,0,0,0,0,548,0,0,0,0,548,0,0,531,0,564,0,0,531,531,531,564,564,0,0,0,564],r.Parser.prototype.yydefault=[3,32767,32767,32767,32767,32767,32767,32767,32767,92,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,510,510,510,94,499,32767,499,32767,32767,32767,314,314,314,32767,454,454,454,454,454,454,454,32767,32767,32767,32767,32767,394,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,92,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,506,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,377,378,380,381,313,455,509,259,505,312,130,270,261,211,243,310,134,342,395,344,393,397,343,319,323,324,325,326,327,328,329,330,331,332,333,334,335,317,318,396,398,399,374,373,372,340,316,341,345,316,347,346,363,364,361,362,365,366,367,368,369,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,94,32767,32767,32767,293,354,355,250,250,250,250,250,250,32767,250,32767,250,32767,32767,32767,32767,32767,32767,448,371,349,350,348,32767,426,32767,32767,32767,32767,32767,428,32767,92,32767,32767,32767,337,339,420,508,320,507,32767,32767,94,414,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,423,32767,32767,92,32767,32767,92,174,230,232,179,32767,431,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,414,359,517,32767,456,32767,351,352,353,32767,32767,456,456,456,32767,456,32767,456,456,32767,32767,32767,32767,32767,179,32767,32767,32767,32767,94,429,429,92,92,92,92,424,32767,179,179,32767,32767,32767,32767,32767,179,91,91,91,91,179,179,91,194,32767,192,192,91,32767,93,32767,93,196,32767,470,196,91,179,91,216,216,405,181,252,93,252,252,93,405,252,179,252,91,91,32767,91,252,32767,32767,32767,85,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,416,32767,436,32767,449,468,32767,357,358,360,32767,458,382,383,384,385,386,387,388,390,32767,419,32767,32767,32767,87,121,269,32767,515,87,417,32767,515,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,87,87,32767,32767,32767,32767,32767,495,32767,516,32767,456,418,32767,356,432,475,32767,32767,457,32767,32767,32767,32767,87,32767,32767,32767,32767,32767,32767,32767,32767,32767,436,32767,32767,32767,32767,32767,32767,32767,456,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,456,32767,32767,242,32767,32767,32767,309,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,85,60,32767,289,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,136,136,3,272,3,272,136,136,136,272,272,136,136,136,136,136,136,136,169,224,227,216,216,281,136,136],r.Parser.prototype.yygoto=[171,144,144,144,171,152,153,152,155,187,172,168,168,168,168,169,169,169,169,169,169,169,164,165,166,167,184,182,185,445,446,334,447,450,451,452,453,454,455,456,457,924,141,145,146,147,170,148,149,143,150,151,154,181,183,186,206,209,211,212,214,215,216,217,218,219,220,221,222,223,224,244,245,264,265,266,339,340,341,496,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,156,203,157,173,174,175,207,176,158,159,160,177,161,208,142,204,162,178,205,179,180,163,563,210,463,210,516,516,1038,572,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,468,468,468,514,537,468,297,489,521,489,498,274,533,534,698,483,258,468,448,448,448,725,448,448,448,448,448,448,448,448,448,448,448,448,448,449,449,449,699,449,449,449,449,449,449,449,449,449,449,449,449,449,1114,1114,734,725,899,725,315,319,475,499,500,502,1083,1084,468,468,760,1114,761,900,482,506,468,468,468,329,330,686,481,545,495,332,510,596,523,525,294,469,538,556,559,835,566,574,831,765,729,717,864,494,807,868,490,860,716,716,810,697,1013,1105,726,726,726,728,715,840,1093,800,824,805,805,803,805,595,313,460,833,828,459,3,4,907,733,539,1009,487,317,461,459,497,892,575,972,474,843,557,890,1129,484,485,505,517,519,520,568,801,801,801,801,465,855,795,802,1002,787,405,1003,799,327,571,356,1082,530,1014,848,346,540,350,11,337,337,280,281,283,493,344,284,345,285,348,524,351,1015,1069,1113,1113,543,301,298,299,721,560,838,838,1100,295,865,718,600,323,544,1113,1010,1017,511,1005,869,849,849,849,849,849,849,1017,849,849,849,720,730,1116,714,812,849,1088,1088,909,465,398,513,414,1017,1017,1017,1017,0,1079,1017,1017,0,701,0,0,0,0,0,1079,0,0,0,0,0,773,1090,1090,774,706,0,756,751,752,766,0,707,753,704,754,755,705,0,759,0,1075,0,0,0,0,0,1012,0,0,0,480,0,0,0,0,0,0,0,0,0,0,0,0,0,867,0,1077,1077,867,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,462,478,0,0,0,0,0,0,0,0,0,462,0,478,0,0,316,0,0,466,386,0,388,0,0,0,0,0,0,0,0,0,0,0,0,0,0,724,0,1121],r.Parser.prototype.yygcheck=[33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,63,56,10,56,86,86,86,8,86,86,86,86,86,86,86,86,86,86,86,86,86,10,10,10,46,46,10,80,85,73,85,97,134,73,73,17,10,134,10,135,135,135,26,135,135,135,135,135,135,135,135,135,135,135,135,135,137,137,137,18,137,137,137,137,137,137,137,137,137,137,137,137,137,148,148,36,26,111,26,49,49,49,49,49,49,141,141,10,10,55,148,55,111,10,10,10,10,10,69,69,5,39,69,2,69,2,39,39,39,69,10,39,39,39,39,39,39,39,13,14,14,14,10,40,14,136,94,26,26,14,16,92,146,26,26,26,26,26,14,143,14,16,16,16,16,16,16,52,16,16,16,75,37,37,14,14,54,14,53,65,65,75,7,7,7,118,65,88,7,7,12,65,65,68,68,68,68,68,75,75,75,75,12,90,75,75,67,67,65,67,76,76,76,89,139,24,92,91,56,56,56,65,56,56,56,56,56,56,56,56,56,56,56,56,56,92,92,147,147,12,20,80,80,30,12,85,85,85,11,96,28,82,19,23,147,127,63,15,124,99,63,63,63,63,63,63,63,63,63,63,15,32,147,15,79,63,8,8,114,12,71,72,122,63,63,63,63,-1,97,63,63,-1,13,-1,-1,-1,-1,-1,97,-1,-1,-1,-1,-1,63,97,97,63,13,-1,13,13,13,13,-1,13,13,13,13,13,13,-1,13,-1,97,-1,-1,-1,-1,-1,12,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,97,-1,97,97,97,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,8,-1,-1,8,-1,-1,8,8,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,8],r.Parser.prototype.yygbase=[0,0,-358,0,0,207,0,274,114,0,-148,54,10,94,-144,-40,245,150,174,48,70,0,0,-3,25,0,-108,0,44,0,52,0,3,-23,0,0,183,-331,0,-359,221,0,0,0,0,0,106,0,0,157,0,0,227,45,47,191,90,0,0,0,0,0,0,111,0,-95,0,-26,43,-193,0,-12,-20,-435,0,26,37,0,0,4,-259,0,20,0,0,117,-104,0,31,55,46,53,-64,0,216,0,40,143,0,-10,0,0,0,0,0,0,0,0,0,0,0,-34,0,0,7,0,0,0,30,0,0,0,-32,0,-9,0,0,-5,0,0,0,0,0,0,-119,-69,217,-52,0,51,0,-102,0,226,0,0,223,77,-67,0,0],r.Parser.prototype.yygdefault=[-32768,420,603,2,604,676,684,548,437,573,438,464,335,758,913,778,740,741,742,320,361,311,318,531,518,410,727,381,719,407,722,380,731,140,549,416,735,1,737,470,769,308,745,309,552,747,477,749,750,314,321,322,917,486,515,762,213,479,763,307,764,772,331,312,392,417,326,894,504,527,376,395,512,507,488,1024,797,401,390,811,296,819,601,827,830,439,440,399,842,400,853,847,1032,394,859,382,866,1064,385,870,228,873,255,546,349,878,879,6,884,564,565,7,243,415,908,547,379,923,364,991,993,472,408,1006,389,555,418,1011,1068,377,441,396,282,300,257,442,458,262,443,397,1071,1078,338,1094,279,26,1106,1115,292,492,509],r.Parser.prototype.yylhs=[0,1,3,3,2,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,7,7,8,9,10,10,11,12,13,13,14,14,15,15,4,4,4,4,4,4,4,4,4,4,4,20,20,21,21,21,21,23,25,25,19,27,27,24,29,29,26,26,28,28,30,30,22,31,31,32,34,35,35,36,37,37,39,38,38,38,38,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,16,16,59,59,62,62,61,60,60,53,64,64,65,65,66,66,67,67,17,18,18,18,70,70,70,71,71,74,74,72,72,76,77,77,47,47,55,55,58,58,58,57,78,78,79,48,48,48,48,80,80,81,81,82,82,45,45,41,41,83,43,43,84,42,42,44,44,54,54,54,54,68,68,87,87,88,88,88,90,90,91,91,91,89,89,69,69,69,92,92,93,93,94,94,94,50,95,95,96,51,98,98,99,99,100,100,73,101,101,101,101,101,106,106,107,107,108,108,108,108,108,109,110,110,105,105,102,102,104,104,112,112,111,111,111,111,111,111,103,113,113,115,114,114,52,116,116,46,46,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,123,117,117,122,122,125,126,126,127,128,128,128,75,75,63,63,63,118,118,118,130,130,119,119,121,121,121,124,124,135,135,135,86,137,137,137,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,49,49,133,133,133,129,129,129,138,138,138,138,138,138,56,56,56,97,97,97,97,141,140,132,132,132,132,132,132,131,131,131,139,139,139,139,85,142,142,143,143,143,143,143,143,143,136,145,145,144,144,146,146,146,146,146,146,134,134,134,134,148,149,147,147,147,147,147,147,147,150,150,150,150],r.Parser.prototype.yylen=[1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,0,1,0,1,1,1,1,1,3,5,4,3,4,2,3,1,1,7,8,6,7,2,3,1,2,3,1,2,3,1,1,3,1,2,1,2,2,3,1,3,2,3,1,3,2,0,1,1,1,1,1,3,7,10,5,7,9,5,3,3,3,3,3,3,1,2,5,7,9,6,5,6,3,3,2,1,1,1,0,2,1,3,8,0,4,2,1,3,0,1,0,1,3,1,8,7,6,5,1,2,2,0,2,0,2,0,2,2,1,3,1,4,1,4,1,1,4,2,1,3,3,3,4,4,5,0,2,4,3,1,1,1,4,0,2,5,0,2,6,0,2,0,3,1,2,1,1,2,0,1,3,4,6,4,1,2,1,1,1,0,1,0,2,2,2,4,1,3,1,2,2,2,3,1,1,2,3,1,1,3,2,0,1,4,4,9,3,1,1,3,0,2,4,5,4,4,4,3,1,1,1,1,1,1,0,1,1,2,1,1,1,1,1,1,2,1,3,1,1,3,2,3,1,0,1,1,3,3,3,4,1,2,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,5,4,3,4,4,2,2,4,2,2,2,2,2,2,2,2,2,2,2,1,3,2,1,2,4,2,8,9,8,9,7,3,2,0,4,2,1,3,2,2,2,4,1,1,1,2,3,1,1,1,1,1,0,3,0,1,1,0,1,1,3,3,3,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,2,3,3,0,1,1,3,1,1,3,1,1,4,4,4,1,4,1,1,3,1,4,2,2,1,3,1,4,4,3,3,3,1,3,1,1,3,1,1,4,3,1,1,2,1,3,4,3,0,1,1,1,3,1,3,1,4,2,2,0,2,2,1,2,1,1,1,4,3,3,3,6,3,1,1,2,1],t.PHP=r}),ace.define("ace/mode/php_worker",[],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../worker/mirror").Mirror,s=e("./php/php").PHP,o=t.PhpWorker=function(e){i.call(this,e),this.setTimeout(500)};r.inherits(o,i),function(){this.setOptions=function(e){this.inlinePhp=e&&e.inline},this.onUpdate=function(){var e=this.doc.getValue(),t=[];this.inlinePhp&&(e="<?"+e+"?>");var n=s.Lexer(e,{short_open_tag:1});try{new s.Parser(n)}catch(r){t.push({row:r.line-1,column:null,text:r.message.charAt(0).toUpperCase()+r.message.substring(1),type:"error"})}this.sender.emit("annotate",t)}}.call(o.prototype)})
@@ -0,0 +1 @@
1
+ "no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(i===!1)return"";var s=n.lastIndexOf("/");if(s===-1)break;r=n.substr(s)+r,n=n.slice(0,s)}return e}if(typeof e.window!="undefined"&&e.document)return;if(e.require&&e.define)return;e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,data:i.data,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(r,i){i||(i=r,r=null);if(!i.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(r,i);var s=e.require.modules[i];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!e.require.tlns)return console.log("unable to load "+i);var o=t(i,e.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),e.require.id=i,e.require.modules[i]={},importScripts(o),e.require(r,i)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id);if(typeof r!="function"){e.require.modules[t]={exports:r,initialized:!0};return}n.length||(n=["require","exports","module"]);var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.slice(0,r.length).map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},require.tlns={},e.initBaseUrls=function(t){for(var n in t)require.tlns[n]=t[n]},e.initSender=function(){var n=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};return function(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),new i};var n=e.main=null,r=e.sender=null;e.onmessage=function(t){var i=t.data;if(i.event&&r)r._signal(i.event,i.data);else if(i.command)if(n[i.command])n[i.command].apply(n,i.args);else{if(!e[i.command])throw new Error("Unknown command:"+i.command);e[i.command].apply(e,i.args)}else if(i.init){e.initBaseUrls(i.tlns),r=e.sender=e.initSender();var s=require(i.module)[i.classname];n=e.main=new s(r)}}}(this),ace.define("ace/lib/oop",[],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/lang",[],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function s(e){if(typeof e!="object"||!e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;n++)t[n]=s(e[n]);return t}if(Object.prototype.toString.call(e)!=="[object Object]")return e;t={};for(var n in e)t[n]=s(e[n]);return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return(""+e).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),ace.define("ace/range",[],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),ace.define("ace/apply_delta",[],function(e,t,n){"use strict";function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=e[t.row].length}function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.action must be 'insert' or 'remove'"),t.lines instanceof Array||r(t,"delta.lines must be an Array"),(!t.start||!t.end)&&r(t,"delta.start/end must be an present");var n=t.start;i(e,t.start)||r(t,"delta.start must be contained in document");var s=t.end;t.action=="remove"&&!i(e,s)&&r(t,"delta.end must contained in document for 'remove' actions");var o=s.row-n.row,u=s.column-(o==0?n.column:0);(o!=t.lines.length-1||t.lines[o].length!=u)&&r(t,"delta.range must match delta lines")}t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,s=e[r]||"";switch(t.action){case"insert":var o=t.lines;if(o.length===1)e[r]=s.substring(0,i)+t.lines[0]+s.substring(i);else{var u=[r,1].concat(t.lines);e.splice.apply(e,u),e[r]=s.substring(0,i)+e[r],e[r+t.lines.length-1]+=s.substring(i)}break;case"remove":var a=t.end.column,f=t.end.row;r===f?e[r]=s.substring(0,i)+s.substring(a):e.splice(r,f-r+1,s.substring(0,i)+e[f].substring(a))}}}),ace.define("ace/lib/event_emitter",[],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;this.on(e,function r(){n.off(e,r),t.apply(null,arguments)});if(!t)return new Promise(function(e){t=e})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t)r&&this.setDefaultHandler(e,r.pop());else if(r){var i=r.indexOf(t);i!=-1&&r.splice(i,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=undefined),this._eventRegistry&&(this._eventRegistry[e]=undefined),this._defaultHandlers&&(this._defaultHandlers[e]=undefined)},t.EventEmitter=r}),ace.define("ace/anchor",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}function t(t,n,r){var i=t.action=="insert",s=(i?1:-1)*(t.end.row-t.start.row),o=(i?1:-1)*(t.end.column-t.start.column),u=t.start,a=i?u:t.end;return e(n,u,r)?{row:n.row,column:n.column}:e(a,n,!r)?{row:n.row+s,column:n.column+(n.row==a.row?o:0)}:{row:u.row,column:u.column}}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(e.start.row==e.end.row&&e.start.row!=this.row)return;if(e.start.row>this.row)return;var n=t(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),ace.define("ace/document",[],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=e("./anchor").Anchor,a=function(e){this.$lines=[""],e.length===0?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,s),this.setValue=function(e){var t=this.getLength()-1;this.remove(new o(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new u(this,e,t)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e,this._signal("changeNewLineMode")},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{t=this.getLines(e.start.row,e.end.row),t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();e===undefined?e=n:e<0?e=0:e>=n&&(e=n-1,t=undefined);var r=this.getLine(e);return t==undefined&&(t=r.length),t=Math.min(Math.max(t,0),r.length),{row:e,column:t}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){e=Math.min(Math.max(e,0),this.getLength());var n=0;e<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(t.length==1?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var n=t==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,s=n?this.getLine(i).length:0,u=r?t+1:t,a=r?0:this.getLine(u).length,f=new o(i,s,u,a),l=this.$lines.slice(e,t+1);return this.applyDelta({start:f.start,end:f.end,action:"remove",lines:this.getLinesForRange(f)}),l},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){e instanceof o||(e=o.fromPoints(e.start,e.end));if(t.length===0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);var n;return t?n=this.insert(e.start,t):n=e.start,n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n=e.action=="insert";if(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))return;n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(i(this.$lines,e,t),this._signal("change",e))},this.$safeApplyDelta=function(e){var t=this.$lines.length;(e.action=="remove"&&e.start.row<t&&e.end.row<t||e.action=="insert"&&e.start.row<=t)&&this.applyDelta(e)},this.$splitAndapplyLargeDelta=function(e,t){var n=e.lines,r=n.length-t+1,i=e.start.row,s=e.start.column;for(var o=0,u=0;o<r;o=u){u+=t-1;var a=n.slice(o,u);a.push(""),this.applyDelta({start:this.pos(i+o,s),end:this.pos(i+u,s=0),action:e.action,lines:a},!0)}e.lines=n.slice(o),e.start.row=i+o,e.start.column=s,this.applyDelta(e,!0)},this.revertDelta=function(e){this.$safeApplyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:e.action=="insert"?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:e+n[s-1].length+r}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(a.prototype),t.Document=a}),ace.define("ace/worker/mirror",[],function(e,t,n){"use strict";var r=e("../range").Range,i=e("../document").Document,s=e("../lib/lang"),o=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),n=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),r=this;e.on("change",function(e){var i=e.data;if(i[0].start)t.applyDeltas(i);else for(var s=0;s<i.length;s+=2){if(Array.isArray(i[s+1]))var o={action:"insert",start:i[s],lines:i[s+1]};else var o={action:"remove",start:i[s],end:i[s+1]};t.applyDelta(o,!0)}if(r.$timeout)return n.schedule(r.$timeout);r.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)}),ace.define("ace/mode/xml/sax",[],function(e,t,n){function d(){}function v(e,t,n,r,i){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function o(e){var t=e.slice(1,-1);return t in n?n[t]:t.charAt(0)==="#"?s(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function u(t){var n=e.substring(v,t).replace(/&#?\w+;/g,o);h&&a(v),r.characters(n,0,t-v),v=t}function a(t,n){while(t>=l&&(n=c.exec(e)))f=n.index,l=f+n[0].length,h.lineNumber++;h.columnNumber=t-f+1}var f=0,l=0,c=/.+(?:\r\n?|\n)|.*$/g,h=r.locator,p=[{currentNSMap:t}],d={},v=0;for(;;){var E=e.indexOf("<",v);if(E<0){if(!e.substr(v).match(/^\s*$/)){var N=r.document,C=N.createTextNode(e.substr(v));N.appendChild(C),r.currentElement=C}return}E>v&&u(E);switch(e.charAt(E+1)){case"/":var k=e.indexOf(">",E+3),L=e.substring(E+2,k),A;if(!(p.length>1)){i.fatalError("end tag name not found for: "+L);break}A=p.pop();var O=A.localNSMap;A.tagName!=L&&i.fatalError("end tag name: "+L+" does not match the current start tagName: "+A.tagName),r.endElement(A.uri,A.localName,L);if(O)for(var M in O)r.endPrefixMapping(M);k++;break;case"?":h&&a(E),k=x(e,E,r);break;case"!":h&&a(E),k=S(e,E,r,i);break;default:try{h&&a(E);var _=new T,k=g(e,E,_,o,i),D=_.length;if(D&&h){var P=m(h,{});for(var E=0;E<D;E++){var H=_[E];a(H.offset),H.offset=m(h,{})}m(P,h)}!_.closed&&w(e,k,_.tagName,d)&&(_.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),y(_,r,p),_.uri==="http://www.w3.org/1999/xhtml"&&!_.closed?k=b(e,k,_.tagName,o,r):k++}catch(B){i.error("element parse error: "+B),k=-1}}k<0?u(E+1):v=k}}function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function g(e,t,n,r,i){var s,d,v=++t,m=o;for(;;){var g=e.charAt(v);switch(g){case"=":if(m===u)s=e.slice(t,v),m=f;else{if(m!==a)throw new Error("attribute equal must after attrName");m=f}break;case"'":case'"':if(m===f){t=v+1,v=e.indexOf(g,t);if(!(v>0))throw new Error("attribute value no end '"+g+"' match");d=e.slice(t,v).replace(/&#?\w+;/g,r),n.add(s,d,t-1),m=c}else{if(m!=l)throw new Error('attribute value must after "="');d=e.slice(t,v).replace(/&#?\w+;/g,r),n.add(s,d,t),i.warning('attribute "'+s+'" missed start quot('+g+")!!"),t=v+1,m=c}break;case"/":switch(m){case o:n.setTagName(e.slice(t,v));case c:case h:case p:m=p,n.closed=!0;case l:case u:case a:break;default:throw new Error("attribute invalid close char('/')")}break;case"":i.error("unexpected end of input");case">":switch(m){case o:n.setTagName(e.slice(t,v));case c:case h:case p:break;case l:case u:d=e.slice(t,v),d.slice(-1)==="/"&&(n.closed=!0,d=d.slice(0,-1));case a:m===a&&(d=s),m==l?(i.warning('attribute "'+d+'" missed quot(")!!'),n.add(s,d.replace(/&#?\w+;/g,r),t)):(i.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),n.add(d,d,t));break;case f:throw new Error("attribute value missed!!")}return v;case"\u0080":g=" ";default:if(g<=" ")switch(m){case o:n.setTagName(e.slice(t,v)),m=h;break;case u:s=e.slice(t,v),m=a;break;case l:var d=e.slice(t,v).replace(/&#?\w+;/g,r);i.warning('attribute "'+d+'" missed quot(")!!'),n.add(s,d,t);case c:m=h}else switch(m){case a:i.warning('attribute "'+s+'" missed value!! "'+s+'" instead!!'),n.add(s,s,t),t=v,m=u;break;case c:i.warning('attribute space is required"'+s+'"!!');case h:m=u,t=v;break;case f:m=l,t=v;break;case p:throw new Error("elements closed character '/' and '>' must be connected to")}}v++}}function y(e,t,n){var r=e.tagName,i=null,s=n[n.length-1].currentNSMap,o=e.length;while(o--){var u=e[o],a=u.qName,f=u.value,l=a.indexOf(":");if(l>0)var c=u.prefix=a.slice(0,l),h=a.slice(l+1),p=c==="xmlns"&&h;else h=a,c=null,p=a==="xmlns"&&"";u.localName=h,p!==!1&&(i==null&&(i={},E(s,s={})),s[p]=i[p]=f,u.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(p,f))}var o=e.length;while(o--){u=e[o];var c=u.prefix;c&&(c==="xml"&&(u.uri="http://www.w3.org/XML/1998/namespace"),c!=="xmlns"&&(u.uri=s[c]))}var l=r.indexOf(":");l>0?(c=e.prefix=r.slice(0,l),h=e.localName=r.slice(l+1)):(c=null,h=e.localName=r);var d=e.uri=s[c||""];t.startElement(d,h,r,e);if(e.closed){t.endElement(d,h,r);if(i)for(c in i)t.endPrefixMapping(c)}else e.currentNSMap=s,e.localNSMap=i,n.push(e)}function b(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var s=e.indexOf("</"+n+">",t),o=e.substring(t+1,s);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),s):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),s)}return t+1}function w(e,t,n,r){var i=r[n];return i==null&&(i=r[n]=e.lastIndexOf("</"+n+">")),i<t}function E(e,t){for(var n in e)t[n]=e[n]}function S(e,t,n,r){var i=e.charAt(t+2);switch(i){case"-":if(e.charAt(t+3)==="-"){var s=e.indexOf("-->",t+4);return s>t?(n.comment(e,t+4,s-t-4),s+3):(r.error("Unclosed comment"),-1)}return-1;default:if(e.substr(t+3,6)=="CDATA["){var s=e.indexOf("]]>",t+9);return s>t?(n.startCDATA(),n.characters(e,t+9,s-t-9),n.endCDATA(),s+3):(r.error("Unclosed CDATA"),-1)}var o=C(e,t),u=o.length;if(u>1&&/!doctype/i.test(o[0][0])){var a=o[1][0],f=u>3&&/^public$/i.test(o[2][0])&&o[3][0],l=u>4&&o[4][0],c=o[u-1];return n.startDTD(a,f&&f.replace(/^(['"])(.*?)\1$/,"$2"),l&&l.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),c.index+c[0].length}}return-1}function x(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){var s=i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function T(e){}function N(e,t){return e.__proto__=t,e}function C(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);while(n=i.exec(e)){r.push(n);if(n[1])return r}}var r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\u00b7\u0300-\u036f\\ux203F-\u2040]"),s=new RegExp("^"+r.source+i.source+"*(?::"+r.source+i.source+"*)?$"),o=0,u=1,a=2,f=3,l=4,c=5,h=6,p=7;return d.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),E(t,t={}),v(e,t,n,r,this.errorHandler),r.endDocument()}},T.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},add:function(e,t,n){if(!s.test(e))throw new Error("invalid attribute:"+e);this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getOffset:function(e){return this[e].offset},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},N({},N.prototype)instanceof N||(N=function(e,t){function n(){}n.prototype=t,n=new n;for(t in e)n[t]=e[t];return n}),d}),ace.define("ace/mode/xml/dom",[],function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t){var n=function(){},i=e.prototype;if(Object.create){var s=Object.create(t.prototype);i.__proto__=s}i instanceof t||(n.prototype=t.prototype,n=new n,r(i,n),e.prototype=i=n),i.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),i.constructor=e)}function B(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,w[e]),this.message=w[e],Error.captureStackTrace&&Error.captureStackTrace(this,B);return n.code=e,t&&(this.message=this.message+": "+t),n}function j(){}function F(e,t){this._node=e,this._refresh=t,I(this)}function I(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);gt(e,"length",n.length),r(n,e),e._inc=t}}function q(){}function R(e,t){var n=e.length;while(n--)if(e[n]===t)return n}function U(e,t,n,r){r?t[R(t,r)]=n:t[t.length++]=n;if(e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&Q(i,e,r),K(i,e,n))}}function z(e,t,n){var r=R(t,n);if(!(r>=0))throw new B(L,new Error);var i=t.length-1;while(r<i)t[r]=t[++r];t.length=i;if(e){var s=e.ownerDocument;s&&(Q(s,e,n),n.ownerElement=null)}}function W(e){this._features={};if(e)for(var t in e)this._features=e[t]}function X(){}function V(e){return e=="<"&&"&lt;"||e==">"&&"&gt;"||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}function $(e,t){if(t(e))return!0;if(e=e.firstChild)do if($(e,t))return!0;while(e=e.nextSibling)}function J(){}function K(e,t,n){e&&e._inc++;var r=n.namespaceURI;r=="http://www.w3.org/2000/xmlns/"&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function Q(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;i=="http://www.w3.org/2000/xmlns/"&&delete t._nsMap[n.prefix?n.localName:""]}function G(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{var i=t.firstChild,s=0;while(i)r[s++]=i,i=i.nextSibling;r.length=s}}}function Y(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,G(e.ownerDocument,e),t}function Z(e,t,n){var r=t.parentNode;r&&r.removeChild(t);if(t.nodeType===g){var i=t.firstChild;if(i==null)return t;var s=t.lastChild}else i=s=t;var o=n?n.previousSibling:e.lastChild;i.previousSibling=o,s.nextSibling=n,o?o.nextSibling=i:e.firstChild=i,n==null?e.lastChild=s:n.previousSibling=s;do i.parentNode=e;while(i!==s&&(i=i.nextSibling));return G(e.ownerDocument||e,e),t.nodeType==g&&(t.firstChild=t.lastChild=null),t}function et(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t);var r=e.lastChild}var r=e.lastChild;return t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,G(e.ownerDocument,e,t),t}function tt(){this._nsMap={}}function nt(){}function rt(){}function it(){}function st(){}function ot(){}function ut(){}function at(){}function ft(){}function lt(){}function ct(){}function ht(){}function pt(){}function dt(e,t){switch(e.nodeType){case u:var n=e.attributes,r=n.length,i=e.firstChild,o=e.tagName,h=s===e.namespaceURI;t.push("<",o);for(var y=0;y<r;y++)dt(n.item(y),t);if(i||h&&!/^(?:meta|link|img|br|hr|input|button)$/i.test(o)){t.push(">");if(h&&/^script$/i.test(o))i&&t.push(i.data);else while(i)dt(i,t),i=i.nextSibling;t.push("</",o,">")}else t.push("/>");return;case v:case g:var i=e.firstChild;while(i)dt(i,t),i=i.nextSibling;return;case a:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,V),'"');case f:return t.push(e.data.replace(/[<&]/g,V));case l:return t.push("<![CDATA[",e.data,"]]>");case d:return t.push("<!--",e.data,"-->");case m:var b=e.publicId,w=e.systemId;t.push("<!DOCTYPE ",e.name);if(b)t.push(' PUBLIC "',b),w&&w!="."&&t.push('" "',w),t.push('">');else if(w&&w!=".")t.push(' SYSTEM "',w,'">');else{var E=e.internalSubset;E&&t.push(" [",E,"]"),t.push(">")}return;case p:return t.push("<?",e.target," ",e.data,"?>");case c:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function vt(e,t,n){var r;switch(t.nodeType){case u:r=t.cloneNode(!1),r.ownerDocument=e;case g:break;case a:n=!0}r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null;if(n){var i=t.firstChild;while(i)r.appendChild(vt(e,i,n)),i=i.nextSibling}return r}function mt(e,t,n){var r=new t.constructor;for(var i in t){var s=t[i];typeof s!="object"&&s!=r[i]&&(r[i]=s)}t.childNodes&&(r.childNodes=new j),r.ownerDocument=e;switch(r.nodeType){case u:var o=t.attributes,f=r.attributes=new q,l=o.length;f._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(mt(e,o.item(c),!0));break;case a:n=!0}if(n){var h=t.firstChild;while(h)r.appendChild(mt(e,h,n)),h=h.nextSibling}return r}function gt(e,t,n){e[t]=n}function yt(e){switch(e.nodeType){case 1:case 11:var t=[];e=e.firstChild;while(e)e.nodeType!==7&&e.nodeType!==8&&t.push(yt(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}var s="http://www.w3.org/1999/xhtml",o={},u=o.ELEMENT_NODE=1,a=o.ATTRIBUTE_NODE=2,f=o.TEXT_NODE=3,l=o.CDATA_SECTION_NODE=4,c=o.ENTITY_REFERENCE_NODE=5,h=o.ENTITY_NODE=6,p=o.PROCESSING_INSTRUCTION_NODE=7,d=o.COMMENT_NODE=8,v=o.DOCUMENT_NODE=9,m=o.DOCUMENT_TYPE_NODE=10,g=o.DOCUMENT_FRAGMENT_NODE=11,y=o.NOTATION_NODE=12,b={},w={},E=b.INDEX_SIZE_ERR=(w[1]="Index size error",1),S=b.DOMSTRING_SIZE_ERR=(w[2]="DOMString size error",2),x=b.HIERARCHY_REQUEST_ERR=(w[3]="Hierarchy request error",3),T=b.WRONG_DOCUMENT_ERR=(w[4]="Wrong document",4),N=b.INVALID_CHARACTER_ERR=(w[5]="Invalid character",5),C=b.NO_DATA_ALLOWED_ERR=(w[6]="No data allowed",6),k=b.NO_MODIFICATION_ALLOWED_ERR=(w[7]="No modification allowed",7),L=b.NOT_FOUND_ERR=(w[8]="Not found",8),A=b.NOT_SUPPORTED_ERR=(w[9]="Not supported",9),O=b.INUSE_ATTRIBUTE_ERR=(w[10]="Attribute in use",10),M=b.INVALID_STATE_ERR=(w[11]="Invalid state",11),_=b.SYNTAX_ERR=(w[12]="Syntax error",12),D=b.INVALID_MODIFICATION_ERR=(w[13]="Invalid modification",13),P=b.NAMESPACE_ERR=(w[14]="Invalid namespace",14),H=b.INVALID_ACCESS_ERR=(w[15]="Invalid access",15);B.prototype=Error.prototype,r(b,B),j.prototype={length:0,item:function(e){return this[e]||null}},F.prototype.item=function(e){return I(this),this[e]},i(F,j),q.prototype={length:0,item:j.prototype.item,getNamedItem:function(e){var t=this.length;while(t--){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new B(O);var n=this.getNamedItem(e.nodeName);return U(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new B(O);return n=this.getNamedItemNS(e.namespaceURI,e.localName),U(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return z(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return z(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){var n=this.length;while(n--){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},W.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return n&&(!t||t in n)?!0:!1},createDocument:function(e,t,n){var r=new J;r.implementation=this,r.childNodes=new j,r.doctype=n,n&&r.appendChild(n);if(t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new ut;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},X.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Z(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return Y(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return mt(this.ownerDocument||this,this,e)},normalize:function(){var e=this.firstChild;while(e){var t=e.nextSibling;t&&t.nodeType==f&&e.nodeType==f?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){var t=this;while(t){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){var t=this;while(t){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}},r(o,X),r(o,X.prototype),J.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==g){var n=e.firstChild;while(n){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return this.documentElement==null&&e.nodeType==1&&(this.documentElement=e),Z(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),Y(this,e)},importNode:function(e,t){return vt(this,e,t)},getElementById:function(e){var t=null;return $(this.documentElement,function(n){if(n.nodeType==1&&n.getAttribute("id")==e)return t=n,!0}),t},createElement:function(e){var t=new tt;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new j;var n=t.attributes=new q;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new ct;return e.ownerDocument=this,e.childNodes=new j,e},createTextNode:function(e){var t=new it;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new st;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ot;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ht;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new nt;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new lt;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new tt,r=t.split(":"),i=n.attributes=new q;return n.childNodes=new j,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new nt,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},i(J,X),tt.prototype={nodeType:u,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===g?this.insertBefore(e,null):et(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new F(this,function(t){var n=[];return $(t,function(r){r!==t&&r.nodeType==u&&(e==="*"||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new F(this,function(n){var r=[];return $(n,function(i){i!==n&&i.nodeType===u&&(e==="*"||i.namespaceURI===e)&&(t==="*"||i.localName==t)&&r.push(i)}),r})}},J.prototype.getElementsByTagName=tt.prototype.getElementsByTagName,J.prototype.getElementsByTagNameNS=tt.prototype.getElementsByTagNameNS,i(tt,X),nt.prototype.nodeType=a,i(nt,X),rt.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(w[3])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},i(rt,X),it.prototype={nodeName:"#text",nodeType:f,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},i(it,rt),st.prototype={nodeName:"#comment",nodeType:d},i(st,rt),ot.prototype={nodeName:"#cdata-section",nodeType:l},i(ot,rt),ut.prototype.nodeType=m,i(ut,X),at.prototype.nodeType=y,i(at,X),ft.prototype.nodeType=h,i(ft,X),lt.prototype.nodeType=c,i(lt,X),ct.prototype.nodeName="#document-fragment",ct.prototype.nodeType=g,i(ct,X),ht.prototype.nodeType=p,i(ht,X),pt.prototype.serializeToString=function(e){var t=[];return dt(e,t),t.join("")},X.prototype.toString=function(){return pt.prototype.serializeToString(this)};try{Object.defineProperty&&(Object.defineProperty(F.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(X.prototype,"textContent",{get:function(){return yt(this)},set:function(e){switch(this.nodeType){case 1:case 11:while(this.firstChild)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=value,this.nodeValue=e}}}),gt=function(e,t,n){e["$$"+t]=n})}catch(bt){}return W}),ace.define("ace/mode/xml/dom-parser",[],function(e,t,n){"use strict";function s(e){this.options=e||{locator:{}}}function o(e,t,n){function s(t){var s=e[t];if(!s)if(i)s=e.length==2?function(n){e(t,n)}:e;else{var o=arguments.length;while(--o)if(s=e[arguments[o]])break}r[t]=s&&function(e){s(e+f(n),e,n)}||function(){}}if(!e){if(t instanceof u)return t;e=t}var r={},i=e instanceof Function;return n=n||{},s("warning","warn"),s("error","warn","warning"),s("fatalError","warn","warning","error"),r}function u(){this.cdata=!1}function a(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function f(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function l(e,t,n){return typeof e=="string"?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function c(e,t){e.currentElement?e.currentElement.appendChild(t):e.document.appendChild(t)}var r=e("./sax"),i=e("./dom");return s.prototype.parseFromString=function(e,t){var n=this.options,i=new r,s=n.domBuilder||new u,a=n.errorHandler,f=n.locator,l=n.xmlns||{},c={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return f&&s.setDocumentLocator(f),i.errorHandler=o(a,s,f),i.domBuilder=n.domBuilder||s,/\/x?html?$/.test(t)&&(c.nbsp="\u00a0",c.copy="\u00a9",l[""]="http://www.w3.org/1999/xhtml"),e?i.parse(e,l,c):i.errorHandler.error("invalid document source"),s.document},u.prototype={startDocument:function(){this.document=(new i).createDocument(null,null,null),this.locator&&(this.document.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.document,s=i.createElementNS(e,n||t),o=r.length;c(this,s),this.currentElement=s,this.locator&&a(this.locator,s);for(var u=0;u<o;u++){var e=r.getURI(u),f=r.getValue(u),n=r.getQName(u),l=i.createAttributeNS(e,n);l.getOffset&&a(l.getOffset(1),l),l.value=l.nodeValue=f,s.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement,i=r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.document.createProcessingInstruction(e,t);this.locator&&a(this.locator,n),c(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){e=l.apply(this,arguments);if(this.currentElement&&e){if(this.cdata){var r=this.document.createCDATASection(e);this.currentElement.appendChild(r)}else{var r=this.document.createTextNode(e);this.currentElement.appendChild(r)}this.locator&&a(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.document.normalize()},setDocumentLocator:function(e){if(this.locator=e)e.lineNumber=0},comment:function(e,t,n){e=l.apply(this,arguments);var r=this.document.createComment(e);this.locator&&a(this.locator,r),c(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.document.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&a(this.locator,i),c(this,i)}},warning:function(e){console.warn(e,f(this.locator))},error:function(e){console.error(e,f(this.locator))},fatalError:function(e){throw console.error(e,f(this.locator)),e}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){u.prototype[e]=function(){return null}}),{DOMParser:s}}),ace.define("ace/mode/xml_worker",[],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/lang"),s=e("../worker/mirror").Mirror,o=e("./xml/dom-parser").DOMParser,u=t.Worker=function(e){s.call(this,e),this.setTimeout(400),this.context=null};r.inherits(u,s),function(){this.setOptions=function(e){this.context=e.context},this.onUpdate=function(){var e=this.doc.getValue();if(!e)return;var t=new o,n=[];t.options.errorHandler={fatalError:function(e,t,r){n.push({row:r.lineNumber,column:r.columnNumber,text:t,type:"error"})},error:function(e,t,r){n.push({row:r.lineNumber,column:r.columnNumber,text:t,type:"error"})},warning:function(e,t,r){n.push({row:r.lineNumber,column:r.columnNumber,text:t,type:"warning"})}},t.parseFromString(e),this.sender.emit("error",n)}}.call(u.prototype)})