iobroker.vis-jsontemplate 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +536 -0
- package/admin/vis-jsontemplate.png +0 -0
- package/admin/words.js +6 -0
- package/io-package.json +115 -0
- package/package.json +72 -0
- package/widgets/eslint.config.mjs +27 -0
- package/widgets/package.json +14 -0
- package/widgets/vis-jsontemplate/css/agate.css +108 -0
- package/widgets/vis-jsontemplate/css/doc.css +163 -0
- package/widgets/vis-jsontemplate/css/style.css +4 -0
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js +1344 -0
- package/widgets/vis-jsontemplate/dist/jsontemplate-dist.js.map +7 -0
- package/widgets/vis-jsontemplate/i18n/words.json +54 -0
- package/widgets/vis-jsontemplate/img/jsontemplate.png +0 -0
- package/widgets/vis-jsontemplate/js/bundle.js +2 -0
- package/widgets/vis-jsontemplate/js/ejs.js +1532 -0
- package/widgets/vis-jsontemplate/js/jsontemplate.js +346 -0
- package/widgets/vis-jsontemplate/js/mode-ejs.js +3025 -0
- package/widgets/vis-jsontemplate.html +19 -0
- package/widgets/vis2vis-jsontemplate/assets/JSONTemplateWidget-CgoV9KML.js +1563 -0
- package/widgets/vis2vis-jsontemplate/assets/_commonjsHelpers-DsqdWQfm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/abap-DfmzwOny.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/abc-CwfNa2Co.js +32 -0
- package/widgets/vis2vis-jsontemplate/assets/actionscript-i2dYZlPV.js +158 -0
- package/widgets/vis2vis-jsontemplate/assets/ada-D8cv3bAk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/alda-BnZCAn_Y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/apache_conf-B2jcq9vM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/apex-BnDrFY2n.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/applescript-Dtx6iIWt.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/aql-CR8jDz4P.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/asciidoc-CTtTEKKR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/asl-CGDnhWkr.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/assembly_arm32-DmUGZg4l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/assembly_x86-CgGhNn_8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/astro-C6vYAtVy.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/autohotkey-DL7PtRJU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/basic-DpGwy_JF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/batchfile-CMUqBaJo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/bibtex-CBKG4IBI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/c9search-BzbdQPPO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/c_cpp-D4DfiamA.js +132 -0
- package/widgets/vis2vis-jsontemplate/assets/cirru-UmvTEMH2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/clojure-BvfuACp1.js +91 -0
- package/widgets/vis2vis-jsontemplate/assets/clue-q0X5feRk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/cobol-CJDamiOp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/coffee-DKyPKpfN.js +96 -0
- package/widgets/vis2vis-jsontemplate/assets/coldfusion-jQBfC77-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/createSvgIcon-BzWa0w5J.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/crystal-Xmewh1AX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csharp-BX2hMNfl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_document-BYTAf4zh.js +11 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_orchestra-Bkyfk74i.js +48 -0
- package/widgets/vis2vis-jsontemplate/assets/csound_score-DhKjTAqK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/csp-BVgLU7jE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/css-DZLpieJP.js +968 -0
- package/widgets/vis2vis-jsontemplate/assets/csv-D_5OW9bB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/curly-D0Tb-q1n.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/cuttlefish-BB4QY2Rz.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/d-ZKWDuB0_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/dart-BNJffOyh.js +84 -0
- package/widgets/vis2vis-jsontemplate/assets/defaultTheme-WWPLMFZt.js +16 -0
- package/widgets/vis2vis-jsontemplate/assets/diff-BEYejKtJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/django-DKKc_ed5.js +109 -0
- package/widgets/vis2vis-jsontemplate/assets/dockerfile-DZXH_6WL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/dot-CSB_DfTc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/drools-nRr1FiNd.js +20 -0
- package/widgets/vis2vis-jsontemplate/assets/edifact-BVKa_fHy.js +241 -0
- package/widgets/vis2vis-jsontemplate/assets/eiffel-uT8kjWRN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/elixir-DtwfFhQ8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/elm-D4pytUf9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/erlang-DLPi5bw-.js +161 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-beautify-B7kCn5eA.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-code_lens-Cd0L1scq.js +23 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-command_bar-CACcXZrU.js +115 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-diff-Dv4WtRZc.js +151 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-elastic_tabstops_lite-VRqnv66z.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-emmet-CZ96P7gQ.js +14 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-error_marker-BkxAtjZn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-hardwrap-DOx3BiAc.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-inline_autocomplete-9gt-h0ru.js +235 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-keybinding_menu-gzsgTxEE.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-linking-wSRE0KER.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-modelist-CKVsSg9k.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-options-BXmc73M0.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-prompt-Cj8XYZzP.js +178 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-rtl-Bwce-jN9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-searchbox-BRgKKnhq.js +164 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-settings_menu-B3vu25Es.js +64 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-simple_tokenizer-MkPEmA4u.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-spellcheck-DAWtK7lF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-static_highlight-BwPaHOba.js +41 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-statusbar-Dkmz7M2l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-textarea-MRaqZ_vl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-themelist-DSJRISt7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ext-whitespace-CIw_x4la.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/flix-BnYChX6M.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/forth-C7qLFM9f.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fortran-D7LyTru1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fsharp-BLTDJuay.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/fsl-CdTU_n9i.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/ftl-C9sNDcIo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gcode--LKSXs7E.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gherkin-DF5zs6Z9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gitignore-DUetkVs4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/glsl-COGwuk5H.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/gobstones-Br2Q_Ugk.js +1705 -0
- package/widgets/vis2vis-jsontemplate/assets/golang-CNkGUfhJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/graphqlschema-7tZ2HYRX.js +33 -0
- package/widgets/vis2vis-jsontemplate/assets/groovy-DLai4UlA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haml-Ddk-m970.js +21 -0
- package/widgets/vis2vis-jsontemplate/assets/handlebars-ChbQGB3d.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haskell-DwAb6s6I.js +83 -0
- package/widgets/vis2vis-jsontemplate/assets/haskell_cabal-BETkhooQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/haxe-BAeGzG-s.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/hjson-Cn5g-vro.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/hostInit-BDi6DR-Y.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/html-Y77dZPwR.js +854 -0
- package/widgets/vis2vis-jsontemplate/assets/html_elixir-BZT1fAVA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/html_ruby-ZJfpYv6X.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-1uf8j2YM.js +228 -0
- package/widgets/vis2vis-jsontemplate/assets/index-BiSoXv7x.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DYmfCyJR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-Dp6AGEHk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/index-DxU1QEIH.js +24 -0
- package/widgets/vis2vis-jsontemplate/assets/index-s1k6Tdvt.js +934 -0
- package/widgets/vis2vis-jsontemplate/assets/ini-DOrp8VAL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/io-B6WPW4S3.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/ion-BxjKPSGO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jack-DrJMuola.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jade-CbhHZW3W.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/java-L1LAgMtF.js +241 -0
- package/widgets/vis2vis-jsontemplate/assets/javascript-DBBdZ2gE.js +196 -0
- package/widgets/vis2vis-jsontemplate/assets/jexl-Dnikqs0-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/json-cePerCHg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/json5-CEf7P4mW.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsoniq-CBTitV1b.js +62 -0
- package/widgets/vis2vis-jsontemplate/assets/jsp-GnrKeHhA.js +100 -0
- package/widgets/vis2vis-jsontemplate/assets/jssm-CNl_ppkL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsx-Dcd392cc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/jsx-runtime-BAfZVaXB.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/julia-C9h3gepL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-emacs-BaUjXW98.js +51 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-sublime-YH75Ct6d.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-vim-CaVW7c9r.js +65 -0
- package/widgets/vis2vis-jsontemplate/assets/keybinding-vscode-BDZTuICh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/kotlin-fH8Pursa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/latex-Br5EtP_p.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/latte-DHpZVVJ2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/less-B35SVqSd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/liquid-qyWKOevD.js +882 -0
- package/widgets/vis2vis-jsontemplate/assets/lisp-Bn4vKlba.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/livescript-DhxGkJ79.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/logiql-BFSlSEOg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/logtalk-x5SPdOmO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/lsl-CkX2tYha.js +1233 -0
- package/widgets/vis2vis-jsontemplate/assets/lua-B6tQSosf.js +22 -0
- package/widgets/vis2vis-jsontemplate/assets/luapage-BQOhc2op.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/lucene-B_Ui40TE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/makefile-DCaIcxsE.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/markdown-Ds-l5XVV.js +89 -0
- package/widgets/vis2vis-jsontemplate/assets/mask-DzUgFl4f.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/matlab-DMmM5wsi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/maze-Dtm3r2jA.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/mediawiki-DJkwyw9T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mel-T4CX3Ax0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mips-D0HfPNMe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mixal-CHOHPvAw.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-abap-Cx2uGxmu.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-abc-DNxxXgCn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-actionscript-Lqs4aUly.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ada-DMVjprza.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-alda-C227mkWP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-apache_conf-DUgycb9k.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-apex-WVQriCPM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-applescript-BIn6R63y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-aql-DO0Ecwp8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-asciidoc-CrgKnY1x.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-asl-BYJnt3jo.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-assembly_arm32-CetKLDV4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-assembly_x86-CubIXjg2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-astro-Dr-YkJd2.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-autohotkey-CGdAUSVJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-basic-YPMOcp_T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-batchfile-B-Zv3TtT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-bibtex-TG2Wchr5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-c9search-B7V8RiOe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-c_cpp-ZsOtduiQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cirru-CEOsriet.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-clojure-BXwnpilm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-clue-BZbZE0ou.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cobol-Dfq9SVVZ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-coffee-xrjY_rju.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-coldfusion-OZwNZrIZ.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-crystal-BIG_YDiU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csharp-DBF-FKTE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_document-DLDvhrWv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_orchestra-Yrq2iOqw.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csound_score-B80xm_9p.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csp-D74FoMl0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-css-C3msDUrB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-csv-CdmtvoKD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-curly-CCqoptjF.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-cuttlefish-B1PQW5qP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-d-tHqFRuWz.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dart-BUry-_Uq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-diff-CXDWrh6N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-django-l3su_Wch.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dockerfile-D00fpghG.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-dot-CRgOy-4H.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-drools-CdNIEfYS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-edifact-BJt5WRnI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-eiffel-CjOQ59Mh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-elixir-BBYnnLNP.js +17 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-elm-C4hPf63s.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-erlang-DTO4AJg8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-flix-WJhDWOJK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-forth-D5yqLhHX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fortran-FuOeWb1y.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fsharp-DWB4FB5I.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-fsl-BbD49gQN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ftl-DCBaSrCS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gcode-DyycwyUB.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gherkin-ClzVT6c8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gitignore-Cm81mNe0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-glsl-BmnhJ7jD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-gobstones-DsTc490f.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-golang-W5yNK8NQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-graphqlschema-C1W1BXTc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-groovy-Dtz-6Z7P.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haml-DzRoVgZi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-handlebars-CmnS29SD.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haskell-BoBVITB9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haskell_cabal-CKxlr3jF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-haxe-E5rGLUJe.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-hjson-BeLPW_Cs.js +20 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html-Dk56Z7Z_.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html_elixir-COi9C8Yo.js +21 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-html_ruby-C2Pmjq37.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ini-BtBiRyI-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-io-BbkCkGZV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ion-CcLU5PF_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jack-CE-rcZti.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jade-BwjId9Hq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-java-CVwdagwT.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-javascript-Uyq4Qy-A.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jexl-D6x9rXM4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-json-DfI0el-U.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-json5-DfkyvMXq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsoniq-DOLnf8m6.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsp-B5pQE_to.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jssm-BIUeda1N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-jsx-CpHuKZot.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-julia-CVO3urMQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-kotlin-GZHgeC2A.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-latex-DVUjduXc.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-latte-DC_69hWX.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-less-CSc_gwBA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-liquid-QYoisl9P.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lisp-DIPlJoHD.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-livescript-BiuZjE9L.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-logiql-r7GQoTD0.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-logtalk-BV-XKcB-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lsl-ByqelXin.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lua-D4smnGmf.js +4 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-luapage-DEfuUOVr.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-lucene-B_rvFXb1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-makefile-CkPrIwmp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-markdown-BTLnpScr.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mask-qkR1KcB4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-matlab-CHyUpJ53.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-maze-eSasdKn2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mediawiki-T6AAK_tx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mel-CP7h_hli.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mips-CeblmH_t.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mixal-7NVNCscn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mushcode-B5DAQUWZ.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-mysql-deurkNTd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nasal-CQ9lZVT-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nginx-BksCWuoQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nim-De0rRhWG.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nix-Dl4ZMj6A.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nsis-CbIaTlyP.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-nunjucks-BkQiW6bx.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-objectivec-V4CgVWvp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ocaml-B0OJypGp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-odin-BuYsmItT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-partiql-COxrAtTa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pascal-BXBvzrNQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-perl-CONjBhej.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pgsql-XzNsFflv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-php-DQuLmOUU.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-php_laravel_blade-Bblwdsl-.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-pig-C_t1Waqf.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-plain_text-CFhhAAmr.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-plsql-DgP7Cdl4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-powershell-BGCPchLY.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-praat-6bojCYuv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prisma-CzIylCeU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prolog-C7MZwLMP.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-properties-Bnn9HTVN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-protobuf-Dup4k2m0.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-prql-YLxZHTUj.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-puppet-qLcrfeOR.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-python-BZz04ov9.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-qml-DqZ3lPSS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-r-e10wKfR-.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-raku-Dsga_hxk.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-razor-HQ3WO4ht.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rdoc-DX5Wf-Fm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-red-BT--KnCa.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-redshift-3AJ9eyaU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rhtml-DTeq1gof.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-robot-Cx7Ll-f_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rst-66KrgJvy.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-ruby-Bjton-Z6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-rust-C_dVH8Xm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sac-CT3iemsq.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sass-BkHxYZza.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scad-DeOrShi9.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scala-BVbB_f1z.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scheme-B5C4oJuT.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scrypt-PF2qJgu2.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-scss-DXZoSuRb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sh-D24LzE3p.js +3 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sjs-BmDEcJsO.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-slim-Cl_LtZ3D.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-smarty-B7H45xSz.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-smithy-20d5kx_y.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-snippets-D8Hbyw7T.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-soy_template-D0sFgNSx.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-space-DSHFQGmQ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sparql-DHyU529t.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sql-CVfIZpNN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-sqlserver-BJxt32YN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-stylus-0wnzE15x.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-svg-Dw3_4UiU.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-swift-CkQ9K8Zi.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tcl-CZjLIvue.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-terraform-CoemOqbf.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tex-DderkMrs.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-text-Cq8AEtu7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-textile-cQ4nh_8l.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-toml-C7N8acrX.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tsv-BW4F9Csx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-tsx-DYTFAwD0.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-turtle-D1Gj0Td4.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-twig-BmRjVW7I.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-typescript-B4UIWQGF.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vala-CQgsR3Iz.js +14 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vbscript-BkEqgnMM.js +4 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-velocity-Bq3AJheK.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-verilog-Cs9gK34N.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vhdl-B7El2bJx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-visualforce-hTvPHkdm.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-vue-Bl9prrPT.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-wollok-D--hCjHs.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-xml-Ctgb3fQi.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-xquery-CARgpScm.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-yaml-anyfmPQH.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-zeek-C0daUwuH.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mode-zig-CTS8ECFM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mushcode-BmgSkBy5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/mysql-3WOKxHIv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nasal-BgEGeagV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nginx-CRl0FtfM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nim-CuG1Iqzn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nix-1eqDJaJA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nsis-e4bU-iiA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/nunjucks-BMaA-k2J.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/objectivec-CL_sencn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/ocaml-BoV7EcQd.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/odin-BOFCi3x8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/partiql-DoK4_fue.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/pascal-CocCapcg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/perl-ixlOVPTq.js +348 -0
- package/widgets/vis2vis-jsontemplate/assets/pgsql-BravoAfx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/php-Be-UnEia.js +384 -0
- package/widgets/vis2vis-jsontemplate/assets/php_laravel_blade-B93ny3oF.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/pig-D2exIm4c.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/plain_text-B8XuaXJO.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/plsql-D7a_3sch.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/powershell-1s7ZzFVb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/praat-DUyb5Bk6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/preload-helper-4fGslNWJ.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prisma-mdDN7d2R.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prolog-DqDHt9zx.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/properties-DZWGPhQI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/protobuf-CXiyd_Mb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/prql-IGFRnbNC.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/puppet-BtdJ4V45.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/python-U8q4K0Vt.js +159 -0
- package/widgets/vis2vis-jsontemplate/assets/qml-BWbXwHD7.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/r-CcxRgptb.js +122 -0
- package/widgets/vis2vis-jsontemplate/assets/raku-DVMDIfIU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/razor-BbN5JHhl.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/rdoc-DciWg7B6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/red-Ck9uqHNN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/redshift-CAPRCA78.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/rhtml-CJbSFlVV.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/robot-BMbcQLsf.js +70 -0
- package/widgets/vis2vis-jsontemplate/assets/rst-Dcwn5Muz.js +23 -0
- package/widgets/vis2vis-jsontemplate/assets/ruby-CdOCDKFD.js +929 -0
- package/widgets/vis2vis-jsontemplate/assets/rust-CfkJXaem.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sac-Cb2eIKD_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sass-iV1YOFQN.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scad-CPs5wJAG.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scala-DA1JuV2S.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scheme-BFQyaXim.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scrypt-CTtbT4Qh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/scss-DWqyVAcU.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sh-BHHjLho8.js +84 -0
- package/widgets/vis2vis-jsontemplate/assets/sjs-0z-JZE7a.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/slim-D60OEg6E.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/smarty-DsAF1IC8.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/smithy-WcmAd33S.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/snippets-CO92SWiA.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/soy_template-ChNi14w3.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/space-Czl6zHqh.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sparql-Dt8_8yD1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sql-DXeZ8-B5.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/sqlserver-BgjEIbVF.js +70 -0
- package/widgets/vis2vis-jsontemplate/assets/stylus-DGub6yQ6.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/svg-BhLwQfQt.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/swift-C6jmn2lM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tcl-1m9QfSGo.js +93 -0
- package/widgets/vis2vis-jsontemplate/assets/terraform-C_A1grPI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tex-CnhL2AXi.js +191 -0
- package/widgets/vis2vis-jsontemplate/assets/text-BFTmH0YI.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/textile-DlCA5JQb.js +31 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-ambiance-QsY8qCgd.js +221 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-chaos-8iMnZQxF.js +160 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_day-DQoca-VF.js +161 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_night-DssalqUo.js +147 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud9_night_low_color-CmQdrSgm.js +135 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud_editor-D5Nbnfj-.js +220 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cloud_editor_dark-fj58gio2.js +223 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-clouds-DrqFoPBZ.js +116 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-cobalt-_ffUuzsT.js +138 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-crimson_editor-CTFG4SkN.js +148 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dawn-NpopD5_s.js +131 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dracula-AuJ122rA.js +166 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-dreamweaver-Ce_xMjNm.js +181 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-eclipse-DDmYr769.js +118 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github-ChbFyXoG.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github_dark-DmOOvJg3.js +134 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-github_light_default-jezXjzZJ.js +165 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gob-D4kuHx9p.js +134 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox-C-iK1SXn.js +100 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox_dark_hard-BcmKgsyJ.js +164 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-gruvbox_light_hard-DOcAP-lF.js +168 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-idle_fingers-Bwqiu7LM.js +117 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-iplastic-DbYdo16h.js +145 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-katzenmilch-BOYOV2ro.js +152 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-kr_theme-BlP9076h.js +128 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-kuroir-BlOX3HeP.js +79 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-merbivore-Bvz6URwN.js +114 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-merbivore_soft-D1HtoKW7.js +115 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-mono_industrial-Dg8N7vqY.js +130 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-nord_dark-zxguBIHl.js +112 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-one_dark-CJuVaTY9.js +165 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-pastel_on_dark-BWcTv7Gy.js +133 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-solarized_dark-Bs2LPFFX.js +105 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-solarized_light-CHLCOOLs.js +110 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-sqlserver-Bu0pTZZV.js +172 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-terminal-BNpfswc0.js +136 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-textmate-C4jlQA6W.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow-CLBnQF3e.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night-CwCiF1XX.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_blue-CE7iCYb0.js +126 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_bright-Bf9pHl9K.js +145 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-tomorrow_night_eighties-BW98rqfA.js +129 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-twilight-CYW0LbgP.js +131 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-vibrant_ink-D2R0WlUq.js +114 -0
- package/widgets/vis2vis-jsontemplate/assets/theme-xcode-DmV08Rqt.js +107 -0
- package/widgets/vis2vis-jsontemplate/assets/toml-BppM0J9G.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/translations-RCQ_bOWv.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tsv-QCUAN7tM.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/tsx-DlBDpjXp.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/turtle-Bhvju8e_.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/twig-Dz6fJaYS.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/typescript-Dlq5jwkb.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/useTheme-CUUL_k-V.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vala-CCClIoiP.js +72 -0
- package/widgets/vis2vis-jsontemplate/assets/vbscript-BmjSniHm.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/velocity-Eetpg6IF.js +29 -0
- package/widgets/vis2vis-jsontemplate/assets/verilog-JLsQfqCE.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vhdl-BDSCxoSn.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/virtualExposes-6ZILnKxp.js +2 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare___mf_0_mui_mf_1_icons_mf_2_material__loadShare__-DQFbdvr3.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__loadShare__react__loadShare__-DIw4pDHA.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vis2visjsonTemplateWidgets__mf_v__runtimeInit__mf_v__-Bg5OEhrp.js +5 -0
- package/widgets/vis2vis-jsontemplate/assets/visualforce-Bfu1Ak61.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/vue-BGFTp4kK.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/wollok-BRp-wwGk.js +85 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-base-BPnv-em4.js +7 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-coffee-BGt0WG_T.js +121 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-css-DUK_OUGr.js +24 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-html-DnXGSuo3.js +28 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-javascript-DKHkjovd.js +26 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-json-BD5o_G43.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-lua-RZJAMBtk.js +10 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-php-D7_ufyP-.js +9 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-xml-BwUcqzAQ.js +8 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-xquery-Bdainhib.js +53 -0
- package/widgets/vis2vis-jsontemplate/assets/worker-yaml-BtpWJJU1.js +36 -0
- package/widgets/vis2vis-jsontemplate/assets/xml-BH-GvKPg.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/xquery-BfjQchp6.js +62 -0
- package/widgets/vis2vis-jsontemplate/assets/yaml-B4Fo_RhL.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/zeek-CcoNTi-1.js +1 -0
- package/widgets/vis2vis-jsontemplate/assets/zig-syO4L9BM.js +1 -0
- package/widgets/vis2vis-jsontemplate/customWidgets.js +2 -0
- package/widgets/vis2vis-jsontemplate/img/jsontemplate.png +0 -0
- package/widgets/vis2vis-jsontemplate/img/vis-widget-demo.png +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function D(u,f){for(var d=0;d<f.length;d++){const l=f[d];if(typeof l!="string"&&!Array.isArray(l)){for(const i in l)if(i!=="default"&&!(i in u)){const n=Object.getOwnPropertyDescriptor(l,i);n&&Object.defineProperty(u,i,n.get?n:{enumerable:!0,get:()=>l[i]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var P={};(function(u){if(typeof u.window<"u"&&u.document||u.require&&u.define)return;u.console||(u.console=function(){var i=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:i})},u.console.error=u.console.warn=u.console.log=u.console.trace=u.console),u.window=u,u.ace=u,u.onerror=function(i,n,e,o,r){postMessage({type:"error",data:{message:i,data:r&&r.data,file:n,line:e,col:o,stack:r&&r.stack}})},u.normalizeModule=function(i,n){if(n.indexOf("!")!==-1){var e=n.split("!");return u.normalizeModule(i,e[0])+"!"+u.normalizeModule(i,e[1])}if(n.charAt(0)=="."){var o=i.split("/").slice(0,-1).join("/");for(n=(o?o+"/":"")+n;n.indexOf(".")!==-1&&r!=n;){var r=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},u.require=function(n,e){if(e||(e=n,n=null),!e.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");e=u.normalizeModule(n,e);var o=u.require.modules[e];if(o)return o.initialized||(o.initialized=!0,o.exports=o.factory().exports),o.exports;if(!u.require.tlns)return console.log("unable to load "+e);var r=f(e,u.require.tlns);return r.slice(-3)!=".js"&&(r+=".js"),u.require.id=e,u.require.modules[e]={},importScripts(r),u.require(n,e)};function f(i,n){for(var e=i,o="";e;){var r=n[e];if(typeof r=="string")return r+o;if(r)return r.location.replace(/\/*$/,"/")+(o||r.main||r.name);if(r===!1)return"";var a=e.lastIndexOf("/");if(a===-1)break;o=e.substr(a)+o,e=e.slice(0,a)}return i}u.require.modules={},u.require.tlns={},u.define=function(i,n,e){if(arguments.length==2?(e=n,typeof i!="string"&&(n=i,i=u.require.id)):arguments.length==1&&(e=i,n=[],i=u.require.id),typeof e!="function"){u.require.modules[i]={exports:e,initialized:!0};return}n.length||(n=["require","exports","module"]);var o=function(r){return u.require(i,r)};u.require.modules[i]={exports:{},factory:function(){var r=this,a=e.apply(this,n.slice(0,e.length).map(function(t){switch(t){case"require":return o;case"exports":return r.exports;case"module":return r;default:return o(t)}}));return a&&(r.exports=a),r}}},u.define.amd={},u.require.tlns={},u.initBaseUrls=function(n){for(var e in n)this.require.tlns[e]=n[e]},u.initSender=function(){var n=u.require("ace/lib/event_emitter").EventEmitter,e=u.require("ace/lib/oop"),o=function(){};return(function(){e.implement(this,n),this.callback=function(r,a){postMessage({type:"call",id:a,data:r})},this.emit=function(r,a){postMessage({type:"event",name:r,data:a})}}).call(o.prototype),new o};var d=u.main=null,l=u.sender=null;u.onmessage=function(i){var n=i.data;if(n.event&&l)l._signal(n.event,n.data);else if(n.command)if(d[n.command])d[n.command].apply(d,n.args);else if(u[n.command])u[n.command].apply(u,n.args);else throw new Error("Unknown command:"+n.command);else if(n.init){u.initBaseUrls(n.tlns),l=u.sender=u.initSender();var e=this.require(n.module)[n.classname];d=u.main=new e(l)}}})(P);ace.define("ace/lib/oop",[],function(u,f,d){f.inherits=function(l,i){l.super_=i,l.prototype=Object.create(i.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(l,i){for(var n in i)l[n]=i[n];return l},f.implement=function(l,i){f.mixin(l,i)}});ace.define("ace/apply_delta",[],function(u,f,d){f.applyDelta=function(l,i,n){var e=i.start.row,o=i.start.column,r=l[e]||"";switch(i.action){case"insert":var a=i.lines;if(a.length===1)l[e]=r.substring(0,o)+i.lines[0]+r.substring(o);else{var t=[e,1].concat(i.lines);l.splice.apply(l,t),l[e]=r.substring(0,o)+l[e],l[e+i.lines.length-1]+=r.substring(o)}break;case"remove":var s=i.end.column,c=i.end.row;e===c?l[e]=r.substring(0,o)+r.substring(s):l.splice(e,c-e+1,r.substring(0,o)+l[c].substring(s));break}}});ace.define("ace/lib/event_emitter",[],function(u,f,d){var l={},i=function(){this.propagationStopped=!0},n=function(){this.defaultPrevented=!0};l._emit=l._dispatchEvent=function(e,o){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[e]||[],a=this._defaultHandlers[e];if(!(!r.length&&!a)){(typeof o!="object"||!o)&&(o={}),o.type||(o.type=e),o.stopPropagation||(o.stopPropagation=i),o.preventDefault||(o.preventDefault=n),r=r.slice();for(var t=0;t<r.length&&(r[t](o,this),!o.propagationStopped);t++);if(a&&!o.defaultPrevented)return a(o,this)}},l._signal=function(e,o){var r=(this._eventRegistry||{})[e];if(r){r=r.slice();for(var a=0;a<r.length;a++)r[a](o,this)}},l.once=function(e,o){var r=this;if(this.on(e,function a(){r.off(e,a),o.apply(null,arguments)}),!o)return new Promise(function(a){o=a})},l.setDefaultHandler=function(e,o){var r=this._defaultHandlers;if(r||(r=this._defaultHandlers={_disabled_:{}}),r[e]){var a=r[e],t=r._disabled_[e];t||(r._disabled_[e]=t=[]),t.push(a);var s=t.indexOf(o);s!=-1&&t.splice(s,1)}r[e]=o},l.removeDefaultHandler=function(e,o){var r=this._defaultHandlers;if(r){var a=r._disabled_[e];if(r[e]==o)a&&this.setDefaultHandler(e,a.pop());else if(a){var t=a.indexOf(o);t!=-1&&a.splice(t,1)}}},l.on=l.addEventListener=function(e,o,r){this._eventRegistry=this._eventRegistry||{};var a=this._eventRegistry[e];return a||(a=this._eventRegistry[e]=[]),a.indexOf(o)==-1&&a[r?"unshift":"push"](o),o},l.off=l.removeListener=l.removeEventListener=function(e,o){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];if(r){var a=r.indexOf(o);a!==-1&&r.splice(a,1)}},l.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[e]=void 0),this._defaultHandlers&&(this._defaultHandlers[e]=void 0)},f.EventEmitter=l});ace.define("ace/range",[],function(u,f,d){var l=(function(){function i(n,e,o,r){this.start={row:n,column:e},this.end={row:o,column:r}}return i.prototype.isEqual=function(n){return this.start.row===n.start.row&&this.end.row===n.end.row&&this.start.column===n.start.column&&this.end.column===n.end.column},i.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},i.prototype.contains=function(n,e){return this.compare(n,e)==0},i.prototype.compareRange=function(n){var e,o=n.end,r=n.start;return e=this.compare(o.row,o.column),e==1?(e=this.compare(r.row,r.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(r.row,r.column),e==-1?-1:e==1?42:0)},i.prototype.comparePoint=function(n){return this.compare(n.row,n.column)},i.prototype.containsRange=function(n){return this.comparePoint(n.start)==0&&this.comparePoint(n.end)==0},i.prototype.intersects=function(n){var e=this.compareRange(n);return e==-1||e==0||e==1},i.prototype.isEnd=function(n,e){return this.end.row==n&&this.end.column==e},i.prototype.isStart=function(n,e){return this.start.row==n&&this.start.column==e},i.prototype.setStart=function(n,e){typeof n=="object"?(this.start.column=n.column,this.start.row=n.row):(this.start.row=n,this.start.column=e)},i.prototype.setEnd=function(n,e){typeof n=="object"?(this.end.column=n.column,this.end.row=n.row):(this.end.row=n,this.end.column=e)},i.prototype.inside=function(n,e){return this.compare(n,e)==0?!(this.isEnd(n,e)||this.isStart(n,e)):!1},i.prototype.insideStart=function(n,e){return this.compare(n,e)==0?!this.isEnd(n,e):!1},i.prototype.insideEnd=function(n,e){return this.compare(n,e)==0?!this.isStart(n,e):!1},i.prototype.compare=function(n,e){return!this.isMultiLine()&&n===this.start.row?e<this.start.column?-1:e>this.end.column?1:0:n<this.start.row?-1:n>this.end.row?1:this.start.row===n?e>=this.start.column?0:-1:this.end.row===n?e<=this.end.column?0:1:0},i.prototype.compareStart=function(n,e){return this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},i.prototype.compareEnd=function(n,e){return this.end.row==n&&this.end.column==e?1:this.compare(n,e)},i.prototype.compareInside=function(n,e){return this.end.row==n&&this.end.column==e?1:this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},i.prototype.clipRows=function(n,e){if(this.end.row>e)var o={row:e+1,column:0};else if(this.end.row<n)var o={row:n,column:0};if(this.start.row>e)var r={row:e+1,column:0};else if(this.start.row<n)var r={row:n,column:0};return i.fromPoints(r||this.start,o||this.end)},i.prototype.extend=function(n,e){var o=this.compare(n,e);if(o==0)return this;if(o==-1)var r={row:n,column:e};else var a={row:n,column:e};return i.fromPoints(r||this.start,a||this.end)},i.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},i.prototype.isMultiLine=function(){return this.start.row!==this.end.row},i.prototype.clone=function(){return i.fromPoints(this.start,this.end)},i.prototype.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)},i.prototype.toScreenRange=function(n){var e=n.documentToScreenPosition(this.start),o=n.documentToScreenPosition(this.end);return new i(e.row,e.column,o.row,o.column)},i.prototype.moveBy=function(n,e){this.start.row+=n,this.start.column+=e,this.end.row+=n,this.end.column+=e},i})();l.fromPoints=function(i,n){return new l(i.row,i.column,n.row,n.column)},l.comparePoints=function(i,n){return i.row-n.row||i.column-n.column},f.Range=l});ace.define("ace/anchor",[],function(u,f,d){var l=u("./lib/oop"),i=u("./lib/event_emitter").EventEmitter,n=(function(){function r(a,t,s){this.$onChange=this.onChange.bind(this),this.attach(a),typeof t!="number"?this.setPosition(t.row,t.column):this.setPosition(t,s)}return r.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},r.prototype.getDocument=function(){return this.document},r.prototype.onChange=function(a){if(!(a.start.row==a.end.row&&a.start.row!=this.row)&&!(a.start.row>this.row)){var t=o(a,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},r.prototype.setPosition=function(a,t,s){var c;if(s?c={row:a,column:t}:c=this.$clipPositionToDocument(a,t),!(this.row==c.row&&this.column==c.column)){var h={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:h,value:c})}},r.prototype.detach=function(){this.document.off("change",this.$onChange)},r.prototype.attach=function(a){this.document=a||this.document,this.document.on("change",this.$onChange)},r.prototype.$clipPositionToDocument=function(a,t){var s={};return a>=this.document.getLength()?(s.row=Math.max(0,this.document.getLength()-1),s.column=this.document.getLine(s.row).length):a<0?(s.row=0,s.column=0):(s.row=a,s.column=Math.min(this.document.getLine(s.row).length,Math.max(0,t))),t<0&&(s.column=0),s},r})();n.prototype.$insertRight=!1,l.implement(n.prototype,i);function e(r,a,t){var s=t?r.column<=a.column:r.column<a.column;return r.row<a.row||r.row==a.row&&s}function o(r,a,t){var s=r.action=="insert",c=(s?1:-1)*(r.end.row-r.start.row),h=(s?1:-1)*(r.end.column-r.start.column),m=r.start,v=s?m:r.end;return e(a,m,t)?{row:a.row,column:a.column}:e(v,a,!t)?{row:a.row+c,column:a.column+(a.row==v.row?h:0)}:{row:m.row,column:m.column}}f.Anchor=n});ace.define("ace/document",[],function(u,f,d){var l=u("./lib/oop"),i=u("./apply_delta").applyDelta,n=u("./lib/event_emitter").EventEmitter,e=u("./range").Range,o=u("./anchor").Anchor,r=(function(){function a(t){this.$lines=[""],t.length===0?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)}return a.prototype.setValue=function(t){var s=this.getLength()-1;this.remove(new e(0,0,s,this.getLine(s).length)),this.insert({row:0,column:0},t||"")},a.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},a.prototype.createAnchor=function(t,s){return new o(this,t,s)},a.prototype.$detectNewLine=function(t){var s=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=s?s[1]:`
|
|
2
|
+
`,this._signal("changeNewLineMode")},a.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
|
3
|
+
`;case"unix":return`
|
|
4
|
+
`;default:return this.$autoNewLine||`
|
|
5
|
+
`}},a.prototype.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},a.prototype.getNewLineMode=function(){return this.$newLineMode},a.prototype.isNewLine=function(t){return t==`\r
|
|
6
|
+
`||t=="\r"||t==`
|
|
7
|
+
`},a.prototype.getLine=function(t){return this.$lines[t]||""},a.prototype.getLines=function(t,s){return this.$lines.slice(t,s+1)},a.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},a.prototype.getLength=function(){return this.$lines.length},a.prototype.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},a.prototype.getLinesForRange=function(t){var s;if(t.start.row===t.end.row)s=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{s=this.getLines(t.start.row,t.end.row),s[0]=(s[0]||"").substring(t.start.column);var c=s.length-1;t.end.row-t.start.row==c&&(s[c]=s[c].substring(0,t.end.column))}return s},a.prototype.insertLines=function(t,s){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,s)},a.prototype.removeLines=function(t,s){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,s)},a.prototype.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},a.prototype.insert=function(t,s){return this.getLength()<=1&&this.$detectNewLine(s),this.insertMergedLines(t,this.$split(s))},a.prototype.insertInLine=function(t,s){var c=this.clippedPos(t.row,t.column),h=this.pos(t.row,t.column+s.length);return this.applyDelta({start:c,end:h,action:"insert",lines:[s]},!0),this.clonePos(h)},a.prototype.clippedPos=function(t,s){var c=this.getLength();t===void 0?t=c:t<0?t=0:t>=c&&(t=c-1,s=void 0);var h=this.getLine(t);return s==null&&(s=h.length),s=Math.min(Math.max(s,0),h.length),{row:t,column:s}},a.prototype.clonePos=function(t){return{row:t.row,column:t.column}},a.prototype.pos=function(t,s){return{row:t,column:s}},a.prototype.$clipPosition=function(t){var s=this.getLength();return t.row>=s?(t.row=Math.max(0,s-1),t.column=this.getLine(s-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},a.prototype.insertFullLines=function(t,s){t=Math.min(Math.max(t,0),this.getLength());var c=0;t<this.getLength()?(s=s.concat([""]),c=0):(s=[""].concat(s),t--,c=this.$lines[t].length),this.insertMergedLines({row:t,column:c},s)},a.prototype.insertMergedLines=function(t,s){var c=this.clippedPos(t.row,t.column),h={row:c.row+s.length-1,column:(s.length==1?c.column:0)+s[s.length-1].length};return this.applyDelta({start:c,end:h,action:"insert",lines:s}),this.clonePos(h)},a.prototype.remove=function(t){var s=this.clippedPos(t.start.row,t.start.column),c=this.clippedPos(t.end.row,t.end.column);return this.applyDelta({start:s,end:c,action:"remove",lines:this.getLinesForRange({start:s,end:c})}),this.clonePos(s)},a.prototype.removeInLine=function(t,s,c){var h=this.clippedPos(t,s),m=this.clippedPos(t,c);return this.applyDelta({start:h,end:m,action:"remove",lines:this.getLinesForRange({start:h,end:m})},!0),this.clonePos(h)},a.prototype.removeFullLines=function(t,s){t=Math.min(Math.max(0,t),this.getLength()-1),s=Math.min(Math.max(0,s),this.getLength()-1);var c=s==this.getLength()-1&&t>0,h=s<this.getLength()-1,m=c?t-1:t,v=c?this.getLine(m).length:0,p=h?s+1:s,g=h?0:this.getLine(p).length,y=new e(m,v,p,g),L=this.$lines.slice(t,s+1);return this.applyDelta({start:y.start,end:y.end,action:"remove",lines:this.getLinesForRange(y)}),L},a.prototype.removeNewLine=function(t){t<this.getLength()-1&&t>=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},a.prototype.replace=function(t,s){if(t instanceof e||(t=e.fromPoints(t.start,t.end)),s.length===0&&t.isEmpty())return t.start;if(s==this.getTextRange(t))return t.end;this.remove(t);var c;return s?c=this.insert(t.start,s):c=t.start,c},a.prototype.applyDeltas=function(t){for(var s=0;s<t.length;s++)this.applyDelta(t[s])},a.prototype.revertDeltas=function(t){for(var s=t.length-1;s>=0;s--)this.revertDelta(t[s])},a.prototype.applyDelta=function(t,s){var c=t.action=="insert";(c?t.lines.length<=1&&!t.lines[0]:!e.comparePoints(t.start,t.end))||(c&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(i(this.$lines,t,s),this._signal("change",t)))},a.prototype.$safeApplyDelta=function(t){var s=this.$lines.length;(t.action=="remove"&&t.start.row<s&&t.end.row<s||t.action=="insert"&&t.start.row<=s)&&this.applyDelta(t)},a.prototype.$splitAndapplyLargeDelta=function(t,s){for(var c=t.lines,h=c.length-s+1,m=t.start.row,v=t.start.column,p=0,g=0;p<h;p=g){g+=s-1;var y=c.slice(p,g);y.push(""),this.applyDelta({start:this.pos(m+p,v),end:this.pos(m+g,v=0),action:t.action,lines:y},!0)}t.lines=c.slice(p),t.start.row=m+p,t.start.column=v,this.applyDelta(t,!0)},a.prototype.revertDelta=function(t){this.$safeApplyDelta({start:this.clonePos(t.start),end:this.clonePos(t.end),action:t.action=="insert"?"remove":"insert",lines:t.lines.slice()})},a.prototype.indexToPosition=function(t,s){for(var c=this.$lines||this.getAllLines(),h=this.getNewLineCharacter().length,m=s||0,v=c.length;m<v;m++)if(t-=c[m].length+h,t<0)return{row:m,column:t+c[m].length+h};return{row:v-1,column:t+c[v-1].length+h}},a.prototype.positionToIndex=function(t,s){for(var c=this.$lines||this.getAllLines(),h=this.getNewLineCharacter().length,m=0,v=Math.min(t.row,c.length),p=s||0;p<v;++p)m+=c[p].length+h;return m+t.column},a.prototype.$split=function(t){return t.split(/\r\n|\r|\n/)},a})();r.prototype.$autoNewLine="",r.prototype.$newLineMode="auto",l.implement(r.prototype,n),f.Document=r});ace.define("ace/lib/deep_copy",[],function(u,f,d){f.deepCopy=function l(i){if(typeof i!="object"||!i)return i;var n;if(Array.isArray(i)){n=[];for(var e=0;e<i.length;e++)n[e]=l(i[e]);return n}if(Object.prototype.toString.call(i)!=="[object Object]")return i;n={};for(var e in i)n[e]=l(i[e]);return n}});ace.define("ace/lib/lang",[],function(u,f,d){f.last=function(n){return n[n.length-1]},f.stringReverse=function(n){return n.split("").reverse().join("")},f.stringRepeat=function(n,e){for(var o="";e>0;)e&1&&(o+=n),(e>>=1)&&(n+=n);return o};var l=/^\s\s*/,i=/\s\s*$/;f.stringTrimLeft=function(n){return n.replace(l,"")},f.stringTrimRight=function(n){return n.replace(i,"")},f.copyObject=function(n){var e={};for(var o in n)e[o]=n[o];return e},f.copyArray=function(n){for(var e=[],o=0,r=n.length;o<r;o++)n[o]&&typeof n[o]=="object"?e[o]=this.copyObject(n[o]):e[o]=n[o];return e},f.deepCopy=u("./deep_copy").deepCopy,f.arrayToMap=function(n){for(var e={},o=0;o<n.length;o++)e[n[o]]=1;return e},f.createMap=function(n){var e=Object.create(null);for(var o in n)e[o]=n[o];return e},f.arrayRemove=function(n,e){for(var o=0;o<=n.length;o++)e===n[o]&&n.splice(o,1)},f.escapeRegExp=function(n){return n.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},f.escapeHTML=function(n){return(""+n).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},f.getMatchOffsets=function(n,e){var o=[];return n.replace(e,function(r){o.push({offset:arguments[arguments.length-2],length:r.length})}),o},f.deferredCall=function(n){var e=null,o=function(){e=null,n()},r=function(a){return r.cancel(),e=setTimeout(o,a||0),r};return r.schedule=r,r.call=function(){return this.cancel(),n(),r},r.cancel=function(){return clearTimeout(e),e=null,r},r.isPending=function(){return e},r},f.delayedCall=function(n,e){var o=null,r=function(){o=null,n()},a=function(t){o==null&&(o=setTimeout(r,t||e))};return a.delay=function(t){o&&clearTimeout(o),o=setTimeout(r,t||e)},a.schedule=a,a.call=function(){this.cancel(),n()},a.cancel=function(){o&&clearTimeout(o),o=null},a.isPending=function(){return o},a},f.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},f.skipEmptyMatch=function(n,e,o){return o&&n.codePointAt(e)>65535?2:1}});ace.define("ace/worker/mirror",[],function(u,f,d){var l=u("../document").Document,i=u("../lib/lang"),n=f.Mirror=function(e){this.sender=e;var o=this.doc=new l(""),r=this.deferredUpdate=i.delayedCall(this.onUpdate.bind(this)),a=this;e.on("change",function(t){var s=t.data;if(s[0].start)o.applyDeltas(s);else for(var c=0;c<s.length;c+=2){var h,m;if(Array.isArray(s[c+1])?h={action:"insert",start:s[c],lines:s[c+1]}:h={action:"remove",start:s[c],end:s[c+1]},(h.action=="insert"?h.start:h.end).row>=o.$lines.length)throw m=new Error("Invalid delta"),m.data={path:a.$path,linesLength:o.$lines.length,start:h.start,end:h.end},m;o.applyDelta(h,!0)}if(a.$timeout)return r.schedule(a.$timeout);a.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(n.prototype)});ace.define("ace/mode/json/json_parse",[],function(u,f,d){var l,i,n={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
8
|
+
`,r:"\r",t:" "},e,o=function(p){throw{name:"SyntaxError",message:p,at:l,text:e}},r=function(p){return p&&p!==i&&o("Expected '"+p+"' instead of '"+i+"'"),i=e.charAt(l),l+=1,i},a=function(){var p,g="";for(i==="-"&&(g="-",r("-"));i>="0"&&i<="9";)g+=i,r();if(i===".")for(g+=".";r()&&i>="0"&&i<="9";)g+=i;if(i==="e"||i==="E")for(g+=i,r(),(i==="-"||i==="+")&&(g+=i,r());i>="0"&&i<="9";)g+=i,r();if(p=+g,isNaN(p))o("Bad number");else return p},t=function(){var p,g,y="",L;if(i==='"')for(;r();){if(i==='"')return r(),y;if(i==="\\")if(r(),i==="u"){for(L=0,g=0;g<4&&(p=parseInt(r(),16),!!isFinite(p));g+=1)L=L*16+p;y+=String.fromCharCode(L)}else if(typeof n[i]=="string")y+=n[i];else break;else{if(i==`
|
|
9
|
+
`||i=="\r")break;y+=i}}o("Bad string")},s=function(){for(;i&&i<=" ";)r()},c=function(){switch(i){case"t":return r("t"),r("r"),r("u"),r("e"),!0;case"f":return r("f"),r("a"),r("l"),r("s"),r("e"),!1;case"n":return r("n"),r("u"),r("l"),r("l"),null}o("Unexpected '"+i+"'")},h,m=function(){var p=[];if(i==="["){if(r("["),s(),i==="]")return r("]"),p;for(;i;){if(p.push(h()),s(),i==="]")return r("]"),p;r(","),s()}}o("Bad array")},v=function(){var p,g={};if(i==="{"){if(r("{"),s(),i==="}")return r("}"),g;for(;i;){if(p=t(),s(),r(":"),Object.hasOwnProperty.call(g,p)&&o('Duplicate key "'+p+'"'),g[p]=h(),s(),i==="}")return r("}"),g;r(","),s()}}o("Bad object")};return h=function(){switch(s(),i){case"{":return v();case"[":return m();case'"':return t();case"-":return a();default:return i>="0"&&i<="9"?a():c()}},function(p,g){var y;return e=p,l=0,i=" ",y=h(),s(),i&&o("Syntax error"),typeof g=="function"?(function L(M,$){var _,b,w=M[$];if(w&&typeof w=="object")for(_ in w)Object.hasOwnProperty.call(w,_)&&(b=L(w,_),b!==void 0?w[_]=b:delete w[_]);return g.call(M,$,w)})({"":y},""):y}});ace.define("ace/mode/json_worker",[],function(u,f,d){var l=u("../lib/oop"),i=u("../worker/mirror").Mirror,n=u("./json/json_parse"),e=f.JsonWorker=function(o){i.call(this,o),this.setTimeout(200)};l.inherits(e,i),(function(){this.onUpdate=function(){var o=this.doc.getValue(),r=[];try{o&&n(o)}catch(t){var a=this.doc.indexToPosition(t.at-1);r.push({row:a.row,column:a.column,text:t.message,type:"error"})}this.sender.emit("annotate",r)}}).call(e.prototype)});const E=D({__proto__:null,default:P},[P]);export{E as w};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function Et(h,y){for(var _=0;_<y.length;_++){const m=y[_];if(typeof m!="string"&&!Array.isArray(m)){for(const n in m)if(n!=="default"&&!(n in h)){const r=Object.getOwnPropertyDescriptor(m,n);r&&Object.defineProperty(h,n,r.get?r:{enumerable:!0,get:()=>m[n]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var Te={};(function(h){if(typeof h.window<"u"&&h.document||h.require&&h.define)return;h.console||(h.console=function(){var n=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:n})},h.console.error=h.console.warn=h.console.log=h.console.trace=h.console),h.window=h,h.ace=h,h.onerror=function(n,r,i,u,c){postMessage({type:"error",data:{message:n,data:c&&c.data,file:r,line:i,col:u,stack:c&&c.stack}})},h.normalizeModule=function(n,r){if(r.indexOf("!")!==-1){var i=r.split("!");return h.normalizeModule(n,i[0])+"!"+h.normalizeModule(n,i[1])}if(r.charAt(0)=="."){var u=n.split("/").slice(0,-1).join("/");for(r=(u?u+"/":"")+r;r.indexOf(".")!==-1&&c!=r;){var c=r;r=r.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return r},h.require=function(r,i){if(i||(i=r,r=null),!i.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");i=h.normalizeModule(r,i);var u=h.require.modules[i];if(u)return u.initialized||(u.initialized=!0,u.exports=u.factory().exports),u.exports;if(!h.require.tlns)return console.log("unable to load "+i);var c=y(i,h.require.tlns);return c.slice(-3)!=".js"&&(c+=".js"),h.require.id=i,h.require.modules[i]={},importScripts(c),h.require(r,i)};function y(n,r){for(var i=n,u="";i;){var c=r[i];if(typeof c=="string")return c+u;if(c)return c.location.replace(/\/*$/,"/")+(u||c.main||c.name);if(c===!1)return"";var l=i.lastIndexOf("/");if(l===-1)break;u=i.substr(l)+u,i=i.slice(0,l)}return n}h.require.modules={},h.require.tlns={},h.define=function(n,r,i){if(arguments.length==2?(i=r,typeof n!="string"&&(r=n,n=h.require.id)):arguments.length==1&&(i=n,r=[],n=h.require.id),typeof i!="function"){h.require.modules[n]={exports:i,initialized:!0};return}r.length||(r=["require","exports","module"]);var u=function(c){return h.require(n,c)};h.require.modules[n]={exports:{},factory:function(){var c=this,l=i.apply(this,r.slice(0,i.length).map(function(a){switch(a){case"require":return u;case"exports":return c.exports;case"module":return c;default:return u(a)}}));return l&&(c.exports=l),c}}},h.define.amd={},h.require.tlns={},h.initBaseUrls=function(r){for(var i in r)this.require.tlns[i]=r[i]},h.initSender=function(){var r=h.require("ace/lib/event_emitter").EventEmitter,i=h.require("ace/lib/oop"),u=function(){};return(function(){i.implement(this,r),this.callback=function(c,l){postMessage({type:"call",id:l,data:c})},this.emit=function(c,l){postMessage({type:"event",name:c,data:l})}}).call(u.prototype),new u};var _=h.main=null,m=h.sender=null;h.onmessage=function(n){var r=n.data;if(r.event&&m)m._signal(r.event,r.data);else if(r.command)if(_[r.command])_[r.command].apply(_,r.args);else if(h[r.command])h[r.command].apply(h,r.args);else throw new Error("Unknown command:"+r.command);else if(r.init){h.initBaseUrls(r.tlns),m=h.sender=h.initSender();var i=this.require(r.module)[r.classname];_=h.main=new i(m)}}})(Te);ace.define("ace/lib/oop",[],function(h,y,_){y.inherits=function(m,n){m.super_=n,m.prototype=Object.create(n.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})},y.mixin=function(m,n){for(var r in n)m[r]=n[r];return m},y.implement=function(m,n){y.mixin(m,n)}});ace.define("ace/apply_delta",[],function(h,y,_){y.applyDelta=function(m,n,r){var i=n.start.row,u=n.start.column,c=m[i]||"";switch(n.action){case"insert":var l=n.lines;if(l.length===1)m[i]=c.substring(0,u)+n.lines[0]+c.substring(u);else{var a=[i,1].concat(n.lines);m.splice.apply(m,a),m[i]=c.substring(0,u)+m[i],m[i+n.lines.length-1]+=c.substring(u)}break;case"remove":var f=n.end.column,v=n.end.row;i===v?m[i]=c.substring(0,u)+c.substring(f):m.splice(i,v-i+1,c.substring(0,u)+m[v].substring(f));break}}});ace.define("ace/lib/event_emitter",[],function(h,y,_){var m={},n=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};m._emit=m._dispatchEvent=function(i,u){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var c=this._eventRegistry[i]||[],l=this._defaultHandlers[i];if(!(!c.length&&!l)){(typeof u!="object"||!u)&&(u={}),u.type||(u.type=i),u.stopPropagation||(u.stopPropagation=n),u.preventDefault||(u.preventDefault=r),c=c.slice();for(var a=0;a<c.length&&(c[a](u,this),!u.propagationStopped);a++);if(l&&!u.defaultPrevented)return l(u,this)}},m._signal=function(i,u){var c=(this._eventRegistry||{})[i];if(c){c=c.slice();for(var l=0;l<c.length;l++)c[l](u,this)}},m.once=function(i,u){var c=this;if(this.on(i,function l(){c.off(i,l),u.apply(null,arguments)}),!u)return new Promise(function(l){u=l})},m.setDefaultHandler=function(i,u){var c=this._defaultHandlers;if(c||(c=this._defaultHandlers={_disabled_:{}}),c[i]){var l=c[i],a=c._disabled_[i];a||(c._disabled_[i]=a=[]),a.push(l);var f=a.indexOf(u);f!=-1&&a.splice(f,1)}c[i]=u},m.removeDefaultHandler=function(i,u){var c=this._defaultHandlers;if(c){var l=c._disabled_[i];if(c[i]==u)l&&this.setDefaultHandler(i,l.pop());else if(l){var a=l.indexOf(u);a!=-1&&l.splice(a,1)}}},m.on=m.addEventListener=function(i,u,c){this._eventRegistry=this._eventRegistry||{};var l=this._eventRegistry[i];return l||(l=this._eventRegistry[i]=[]),l.indexOf(u)==-1&&l[c?"unshift":"push"](u),u},m.off=m.removeListener=m.removeEventListener=function(i,u){this._eventRegistry=this._eventRegistry||{};var c=this._eventRegistry[i];if(c){var l=c.indexOf(u);l!==-1&&c.splice(l,1)}},m.removeAllListeners=function(i){i||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[i]=void 0),this._defaultHandlers&&(this._defaultHandlers[i]=void 0)},y.EventEmitter=m});ace.define("ace/range",[],function(h,y,_){var m=(function(){function n(r,i,u,c){this.start={row:r,column:i},this.end={row:u,column:c}}return n.prototype.isEqual=function(r){return this.start.row===r.start.row&&this.end.row===r.end.row&&this.start.column===r.start.column&&this.end.column===r.end.column},n.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},n.prototype.contains=function(r,i){return this.compare(r,i)==0},n.prototype.compareRange=function(r){var i,u=r.end,c=r.start;return i=this.compare(u.row,u.column),i==1?(i=this.compare(c.row,c.column),i==1?2:i==0?1:0):i==-1?-2:(i=this.compare(c.row,c.column),i==-1?-1:i==1?42:0)},n.prototype.comparePoint=function(r){return this.compare(r.row,r.column)},n.prototype.containsRange=function(r){return this.comparePoint(r.start)==0&&this.comparePoint(r.end)==0},n.prototype.intersects=function(r){var i=this.compareRange(r);return i==-1||i==0||i==1},n.prototype.isEnd=function(r,i){return this.end.row==r&&this.end.column==i},n.prototype.isStart=function(r,i){return this.start.row==r&&this.start.column==i},n.prototype.setStart=function(r,i){typeof r=="object"?(this.start.column=r.column,this.start.row=r.row):(this.start.row=r,this.start.column=i)},n.prototype.setEnd=function(r,i){typeof r=="object"?(this.end.column=r.column,this.end.row=r.row):(this.end.row=r,this.end.column=i)},n.prototype.inside=function(r,i){return this.compare(r,i)==0?!(this.isEnd(r,i)||this.isStart(r,i)):!1},n.prototype.insideStart=function(r,i){return this.compare(r,i)==0?!this.isEnd(r,i):!1},n.prototype.insideEnd=function(r,i){return this.compare(r,i)==0?!this.isStart(r,i):!1},n.prototype.compare=function(r,i){return!this.isMultiLine()&&r===this.start.row?i<this.start.column?-1:i>this.end.column?1:0:r<this.start.row?-1:r>this.end.row?1:this.start.row===r?i>=this.start.column?0:-1:this.end.row===r?i<=this.end.column?0:1:0},n.prototype.compareStart=function(r,i){return this.start.row==r&&this.start.column==i?-1:this.compare(r,i)},n.prototype.compareEnd=function(r,i){return this.end.row==r&&this.end.column==i?1:this.compare(r,i)},n.prototype.compareInside=function(r,i){return this.end.row==r&&this.end.column==i?1:this.start.row==r&&this.start.column==i?-1:this.compare(r,i)},n.prototype.clipRows=function(r,i){if(this.end.row>i)var u={row:i+1,column:0};else if(this.end.row<r)var u={row:r,column:0};if(this.start.row>i)var c={row:i+1,column:0};else if(this.start.row<r)var c={row:r,column:0};return n.fromPoints(c||this.start,u||this.end)},n.prototype.extend=function(r,i){var u=this.compare(r,i);if(u==0)return this;if(u==-1)var c={row:r,column:i};else var l={row:r,column:i};return n.fromPoints(c||this.start,l||this.end)},n.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},n.prototype.isMultiLine=function(){return this.start.row!==this.end.row},n.prototype.clone=function(){return n.fromPoints(this.start,this.end)},n.prototype.collapseRows=function(){return this.end.column==0?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},n.prototype.toScreenRange=function(r){var i=r.documentToScreenPosition(this.start),u=r.documentToScreenPosition(this.end);return new n(i.row,i.column,u.row,u.column)},n.prototype.moveBy=function(r,i){this.start.row+=r,this.start.column+=i,this.end.row+=r,this.end.column+=i},n})();m.fromPoints=function(n,r){return new m(n.row,n.column,r.row,r.column)},m.comparePoints=function(n,r){return n.row-r.row||n.column-r.column},y.Range=m});ace.define("ace/anchor",[],function(h,y,_){var m=h("./lib/oop"),n=h("./lib/event_emitter").EventEmitter,r=(function(){function c(l,a,f){this.$onChange=this.onChange.bind(this),this.attach(l),typeof a!="number"?this.setPosition(a.row,a.column):this.setPosition(a,f)}return c.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},c.prototype.getDocument=function(){return this.document},c.prototype.onChange=function(l){if(!(l.start.row==l.end.row&&l.start.row!=this.row)&&!(l.start.row>this.row)){var a=u(l,{row:this.row,column:this.column},this.$insertRight);this.setPosition(a.row,a.column,!0)}},c.prototype.setPosition=function(l,a,f){var v;if(f?v={row:l,column:a}:v=this.$clipPositionToDocument(l,a),!(this.row==v.row&&this.column==v.column)){var b={row:this.row,column:this.column};this.row=v.row,this.column=v.column,this._signal("change",{old:b,value:v})}},c.prototype.detach=function(){this.document.off("change",this.$onChange)},c.prototype.attach=function(l){this.document=l||this.document,this.document.on("change",this.$onChange)},c.prototype.$clipPositionToDocument=function(l,a){var f={};return l>=this.document.getLength()?(f.row=Math.max(0,this.document.getLength()-1),f.column=this.document.getLine(f.row).length):l<0?(f.row=0,f.column=0):(f.row=l,f.column=Math.min(this.document.getLine(f.row).length,Math.max(0,a))),a<0&&(f.column=0),f},c})();r.prototype.$insertRight=!1,m.implement(r.prototype,n);function i(c,l,a){var f=a?c.column<=l.column:c.column<l.column;return c.row<l.row||c.row==l.row&&f}function u(c,l,a){var f=c.action=="insert",v=(f?1:-1)*(c.end.row-c.start.row),b=(f?1:-1)*(c.end.column-c.start.column),E=c.start,O=f?E:c.end;return i(l,E,a)?{row:l.row,column:l.column}:i(O,l,!a)?{row:l.row+v,column:l.column+(l.row==O.row?b:0)}:{row:E.row,column:E.column}}y.Anchor=r});ace.define("ace/document",[],function(h,y,_){var m=h("./lib/oop"),n=h("./apply_delta").applyDelta,r=h("./lib/event_emitter").EventEmitter,i=h("./range").Range,u=h("./anchor").Anchor,c=(function(){function l(a){this.$lines=[""],a.length===0?this.$lines=[""]:Array.isArray(a)?this.insertMergedLines({row:0,column:0},a):this.insert({row:0,column:0},a)}return l.prototype.setValue=function(a){var f=this.getLength()-1;this.remove(new i(0,0,f,this.getLine(f).length)),this.insert({row:0,column:0},a||"")},l.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},l.prototype.createAnchor=function(a,f){return new u(this,a,f)},l.prototype.$detectNewLine=function(a){var f=a.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=f?f[1]:`
|
|
2
|
+
`,this._signal("changeNewLineMode")},l.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
|
3
|
+
`;case"unix":return`
|
|
4
|
+
`;default:return this.$autoNewLine||`
|
|
5
|
+
`}},l.prototype.setNewLineMode=function(a){this.$newLineMode!==a&&(this.$newLineMode=a,this._signal("changeNewLineMode"))},l.prototype.getNewLineMode=function(){return this.$newLineMode},l.prototype.isNewLine=function(a){return a==`\r
|
|
6
|
+
`||a=="\r"||a==`
|
|
7
|
+
`},l.prototype.getLine=function(a){return this.$lines[a]||""},l.prototype.getLines=function(a,f){return this.$lines.slice(a,f+1)},l.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},l.prototype.getLength=function(){return this.$lines.length},l.prototype.getTextRange=function(a){return this.getLinesForRange(a).join(this.getNewLineCharacter())},l.prototype.getLinesForRange=function(a){var f;if(a.start.row===a.end.row)f=[this.getLine(a.start.row).substring(a.start.column,a.end.column)];else{f=this.getLines(a.start.row,a.end.row),f[0]=(f[0]||"").substring(a.start.column);var v=f.length-1;a.end.row-a.start.row==v&&(f[v]=f[v].substring(0,a.end.column))}return f},l.prototype.insertLines=function(a,f){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(a,f)},l.prototype.removeLines=function(a,f){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(a,f)},l.prototype.insertNewLine=function(a){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(a,["",""])},l.prototype.insert=function(a,f){return this.getLength()<=1&&this.$detectNewLine(f),this.insertMergedLines(a,this.$split(f))},l.prototype.insertInLine=function(a,f){var v=this.clippedPos(a.row,a.column),b=this.pos(a.row,a.column+f.length);return this.applyDelta({start:v,end:b,action:"insert",lines:[f]},!0),this.clonePos(b)},l.prototype.clippedPos=function(a,f){var v=this.getLength();a===void 0?a=v:a<0?a=0:a>=v&&(a=v-1,f=void 0);var b=this.getLine(a);return f==null&&(f=b.length),f=Math.min(Math.max(f,0),b.length),{row:a,column:f}},l.prototype.clonePos=function(a){return{row:a.row,column:a.column}},l.prototype.pos=function(a,f){return{row:a,column:f}},l.prototype.$clipPosition=function(a){var f=this.getLength();return a.row>=f?(a.row=Math.max(0,f-1),a.column=this.getLine(f-1).length):(a.row=Math.max(0,a.row),a.column=Math.min(Math.max(a.column,0),this.getLine(a.row).length)),a},l.prototype.insertFullLines=function(a,f){a=Math.min(Math.max(a,0),this.getLength());var v=0;a<this.getLength()?(f=f.concat([""]),v=0):(f=[""].concat(f),a--,v=this.$lines[a].length),this.insertMergedLines({row:a,column:v},f)},l.prototype.insertMergedLines=function(a,f){var v=this.clippedPos(a.row,a.column),b={row:v.row+f.length-1,column:(f.length==1?v.column:0)+f[f.length-1].length};return this.applyDelta({start:v,end:b,action:"insert",lines:f}),this.clonePos(b)},l.prototype.remove=function(a){var f=this.clippedPos(a.start.row,a.start.column),v=this.clippedPos(a.end.row,a.end.column);return this.applyDelta({start:f,end:v,action:"remove",lines:this.getLinesForRange({start:f,end:v})}),this.clonePos(f)},l.prototype.removeInLine=function(a,f,v){var b=this.clippedPos(a,f),E=this.clippedPos(a,v);return this.applyDelta({start:b,end:E,action:"remove",lines:this.getLinesForRange({start:b,end:E})},!0),this.clonePos(b)},l.prototype.removeFullLines=function(a,f){a=Math.min(Math.max(0,a),this.getLength()-1),f=Math.min(Math.max(0,f),this.getLength()-1);var v=f==this.getLength()-1&&a>0,b=f<this.getLength()-1,E=v?a-1:a,O=v?this.getLine(E).length:0,$=b?f+1:f,F=b?0:this.getLine($).length,H=new i(E,O,$,F),K=this.$lines.slice(a,f+1);return this.applyDelta({start:H.start,end:H.end,action:"remove",lines:this.getLinesForRange(H)}),K},l.prototype.removeNewLine=function(a){a<this.getLength()-1&&a>=0&&this.applyDelta({start:this.pos(a,this.getLine(a).length),end:this.pos(a+1,0),action:"remove",lines:["",""]})},l.prototype.replace=function(a,f){if(a instanceof i||(a=i.fromPoints(a.start,a.end)),f.length===0&&a.isEmpty())return a.start;if(f==this.getTextRange(a))return a.end;this.remove(a);var v;return f?v=this.insert(a.start,f):v=a.start,v},l.prototype.applyDeltas=function(a){for(var f=0;f<a.length;f++)this.applyDelta(a[f])},l.prototype.revertDeltas=function(a){for(var f=a.length-1;f>=0;f--)this.revertDelta(a[f])},l.prototype.applyDelta=function(a,f){var v=a.action=="insert";(v?a.lines.length<=1&&!a.lines[0]:!i.comparePoints(a.start,a.end))||(v&&a.lines.length>2e4?this.$splitAndapplyLargeDelta(a,2e4):(n(this.$lines,a,f),this._signal("change",a)))},l.prototype.$safeApplyDelta=function(a){var f=this.$lines.length;(a.action=="remove"&&a.start.row<f&&a.end.row<f||a.action=="insert"&&a.start.row<=f)&&this.applyDelta(a)},l.prototype.$splitAndapplyLargeDelta=function(a,f){for(var v=a.lines,b=v.length-f+1,E=a.start.row,O=a.start.column,$=0,F=0;$<b;$=F){F+=f-1;var H=v.slice($,F);H.push(""),this.applyDelta({start:this.pos(E+$,O),end:this.pos(E+F,O=0),action:a.action,lines:H},!0)}a.lines=v.slice($),a.start.row=E+$,a.start.column=O,this.applyDelta(a,!0)},l.prototype.revertDelta=function(a){this.$safeApplyDelta({start:this.clonePos(a.start),end:this.clonePos(a.end),action:a.action=="insert"?"remove":"insert",lines:a.lines.slice()})},l.prototype.indexToPosition=function(a,f){for(var v=this.$lines||this.getAllLines(),b=this.getNewLineCharacter().length,E=f||0,O=v.length;E<O;E++)if(a-=v[E].length+b,a<0)return{row:E,column:a+v[E].length+b};return{row:O-1,column:a+v[O-1].length+b}},l.prototype.positionToIndex=function(a,f){for(var v=this.$lines||this.getAllLines(),b=this.getNewLineCharacter().length,E=0,O=Math.min(a.row,v.length),$=f||0;$<O;++$)E+=v[$].length+b;return E+a.column},l.prototype.$split=function(a){return a.split(/\r\n|\r|\n/)},l})();c.prototype.$autoNewLine="",c.prototype.$newLineMode="auto",m.implement(c.prototype,r),y.Document=c});ace.define("ace/lib/deep_copy",[],function(h,y,_){y.deepCopy=function m(n){if(typeof n!="object"||!n)return n;var r;if(Array.isArray(n)){r=[];for(var i=0;i<n.length;i++)r[i]=m(n[i]);return r}if(Object.prototype.toString.call(n)!=="[object Object]")return n;r={};for(var i in n)r[i]=m(n[i]);return r}});ace.define("ace/lib/lang",[],function(h,y,_){y.last=function(r){return r[r.length-1]},y.stringReverse=function(r){return r.split("").reverse().join("")},y.stringRepeat=function(r,i){for(var u="";i>0;)i&1&&(u+=r),(i>>=1)&&(r+=r);return u};var m=/^\s\s*/,n=/\s\s*$/;y.stringTrimLeft=function(r){return r.replace(m,"")},y.stringTrimRight=function(r){return r.replace(n,"")},y.copyObject=function(r){var i={};for(var u in r)i[u]=r[u];return i},y.copyArray=function(r){for(var i=[],u=0,c=r.length;u<c;u++)r[u]&&typeof r[u]=="object"?i[u]=this.copyObject(r[u]):i[u]=r[u];return i},y.deepCopy=h("./deep_copy").deepCopy,y.arrayToMap=function(r){for(var i={},u=0;u<r.length;u++)i[r[u]]=1;return i},y.createMap=function(r){var i=Object.create(null);for(var u in r)i[u]=r[u];return i},y.arrayRemove=function(r,i){for(var u=0;u<=r.length;u++)i===r[u]&&r.splice(u,1)},y.escapeRegExp=function(r){return r.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},y.escapeHTML=function(r){return(""+r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},y.getMatchOffsets=function(r,i){var u=[];return r.replace(i,function(c){u.push({offset:arguments[arguments.length-2],length:c.length})}),u},y.deferredCall=function(r){var i=null,u=function(){i=null,r()},c=function(l){return c.cancel(),i=setTimeout(u,l||0),c};return c.schedule=c,c.call=function(){return this.cancel(),r(),c},c.cancel=function(){return clearTimeout(i),i=null,c},c.isPending=function(){return i},c},y.delayedCall=function(r,i){var u=null,c=function(){u=null,r()},l=function(a){u==null&&(u=setTimeout(c,a||i))};return l.delay=function(a){u&&clearTimeout(u),u=setTimeout(c,a||i)},l.schedule=l,l.call=function(){this.cancel(),r()},l.cancel=function(){u&&clearTimeout(u),u=null},l.isPending=function(){return u},l},y.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},y.skipEmptyMatch=function(r,i,u){return u&&r.codePointAt(i)>65535?2:1}});ace.define("ace/worker/mirror",[],function(h,y,_){var m=h("../document").Document,n=h("../lib/lang"),r=y.Mirror=function(i){this.sender=i;var u=this.doc=new m(""),c=this.deferredUpdate=n.delayedCall(this.onUpdate.bind(this)),l=this;i.on("change",function(a){var f=a.data;if(f[0].start)u.applyDeltas(f);else for(var v=0;v<f.length;v+=2){var b,E;if(Array.isArray(f[v+1])?b={action:"insert",start:f[v],lines:f[v+1]}:b={action:"remove",start:f[v],end:f[v+1]},(b.action=="insert"?b.start:b.end).row>=u.$lines.length)throw E=new Error("Invalid delta"),E.data={path:l.$path,linesLength:u.$lines.length,start:b.start,end:b.end},E;u.applyDelta(b,!0)}if(l.$timeout)return c.schedule(l.$timeout);l.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(i){this.$timeout=i},this.setValue=function(i){this.doc.setValue(i),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(i){this.sender.callback(this.doc.getValue(),i)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(r.prototype)});ace.define("ace/mode/lua/luaparse",[],function(h,y,_){(function(m,n,r){r(y)})(this,"luaparse",function(m){m.version="0.3.1";var n,r,i,u,c,l=m.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1,onCreateNode:null,onCreateScope:null,onDestroyScope:null,onLocalDeclaration:null,luaVersion:"5.3",encodingMode:"none"};function a(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 f(e,t){for(var s=e.toString(16);s.length<t;)s="0"+s;return s}function v(e){return function(t){var s=e.exec(t);if(!s)return t;w(null,A.invalidCodeUnit,f(s[0].charCodeAt(0),4).toUpperCase())}}var b={"pseudo-latin1":{fixup:v(/[^\x00-\xff]/),encodeByte:function(e){return e===null?"":String.fromCharCode(e)},encodeUTF8:function(e){return a(e)}},"x-user-defined":{fixup:v(/[^\x00-\x7f\uf780-\uf7ff]/),encodeByte:function(e){return e===null?"":e>=128?String.fromCharCode(e|63232):String.fromCharCode(e)},encodeUTF8:function(e){return a(e,63232)}},none:{discardStrings:!0,fixup:function(e){return e},encodeByte:function(e){return""},encodeUTF8:function(e){return""}}},E=1,O=2,$=4,F=8,H=16,K=32,se=64,oe=128,ue=256;m.tokenTypes={EOF:E,StringLiteral:O,Keyword:$,Identifier:F,NumericLiteral:H,Punctuator:K,BooleanLiteral:se,NilLiteral:oe,VarargLiteral:ue};var A=m.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"},S=m.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,s,p){return{type:"FunctionDeclaration",identifier:e,isLocal:s,parameters:t,body:p}},forNumericStatement:function(e,t,s,p,d){return{type:"ForNumericStatement",variable:e,start:t,end:s,step:p,body:d}},forGenericStatement:function(e,t,s){return{type:"ForGenericStatement",variables:e,iterators:t,body:s}},chunk:function(e){return{type:"Chunk",body:e}},identifier:function(e){return{type:"Identifier",name:e}},literal:function(e,t,s){return e=e===O?"StringLiteral":e===H?"NumericLiteral":e===se?"BooleanLiteral":e===oe?"NilLiteral":"VarargLiteral",{type:e,value:t,raw:s}},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,s){var p=e==="and"||e==="or"?"LogicalExpression":"BinaryExpression";return{type:p,operator:e,left:t,right:s}},unaryExpression:function(e,t){return{type:"UnaryExpression",operator:e,argument:t}},memberExpression:function(e,t,s){return{type:"MemberExpression",indexer:t,identifier:s,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}}};function L(e){if(R){var t=j.pop();t.complete(),t.bless(e)}return r.onCreateNode&&r.onCreateNode(e),e}var Se=Array.prototype.slice,Le=function(e,t){for(var s=0,p=e.length;s<p;++s)if(e[s]===t)return s;return-1};Array.prototype.indexOf&&(Le=function(e,t){return e.indexOf(t)});function He(e,t,s){for(var p=0,d=e.length;p<d;++p)if(e[p][t]===s)return p;return-1}function ce(e){var t=Se.call(arguments,1);return e=e.replace(/%(\d)/g,function(s,p){return""+t[p-1]||""}),e}var xe=function(e){for(var t=Se.call(arguments,1),s,p,d=0,x=t.length;d<x;++d){s=t[d];for(p in s)Object.prototype.hasOwnProperty.call(s,p)&&(e[p]=s[p])}return e};Object.assign&&(xe=Object.assign),m.SyntaxError=SyntaxError;function _e(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 w(e){var t=ce.apply(null,Se.call(arguments,1)),s,p;throw e===null||typeof e.line>"u"?(p=o-V+1,s=_e(new SyntaxError(ce("[%1:%2] %3",N,p,t))),s.index=o,s.line=N,s.column=p):(p=e.range[0]-e.lineStart,s=_e(new SyntaxError(ce("[%1:%2] %3",e.line,p,t))),s.line=e.line,s.index=e.range[0],s.column=p),s}function le(e){var t=n.slice(e.range[0],e.range[1]);return t||e.value}function ee(e,t){w(t,A.expectedToken,e,le(t))}function fe(e){var t=le(te);if(typeof e.type<"u"){var s;switch(e.type){case O:s="string";break;case $:s="keyword";break;case F:s="identifier";break;case H:s="number";break;case K:s="symbol";break;case se:s="boolean";break;case oe:return w(e,A.unexpected,"symbol","nil",t);case E:return w(e,A.unexpectedEOF)}return w(e,A.unexpected,s,le(e),t)}return w(e,A.unexpected,"symbol",e,t)}var o,g,G,te,Ee,T,N,V;m.lex=Ae;function Ae(){for(we();n.charCodeAt(o)===45&&n.charCodeAt(o+1)===45;)tt(),we();if(o>=i)return{type:E,value:"<eof>",line:N,lineStart:V,range:[o,o]};var e=n.charCodeAt(o),t=n.charCodeAt(o+1);if(T=o,nt(e))return Ge();switch(e){case 39:case 34:return We();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Ce();case 46:return Y(t)?Ce():t===46?n.charCodeAt(o+2)===46?Ke():U(".."):U(".");case 61:return U(t===61?"==":"=");case 62:return u.bitwiseOperators&&t===62?U(">>"):U(t===61?">=":">");case 60:return u.bitwiseOperators&&t===60?U("<<"):U(t===61?"<=":"<");case 126:if(t===61)return U("~=");if(!u.bitwiseOperators)break;return U("~");case 58:return u.labels&&t===58?U("::"):U(":");case 91:return t===91||t===61?ze():U("[");case 47:return u.integerDivision&&t===47?U("//"):U("/");case 38:case 124:if(!u.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 U(n.charAt(o))}return fe(n.charAt(o))}function me(){var e=n.charCodeAt(o),t=n.charCodeAt(o+1);return pe(e)?(e===10&&t===13&&++o,e===13&&t===10&&++o,++N,V=++o,!0):!1}function we(){for(;o<i;){var e=n.charCodeAt(o);if(rt(e))++o;else if(!me())break}}function Ge(){for(var e,t;it(n.charCodeAt(++o)););return e=c.fixup(n.slice(T,o)),at(e)?t=$:e==="true"||e==="false"?(t=se,e=e==="true"):e==="nil"?(t=oe,e=null):t=F,{type:t,value:e,line:N,lineStart:V,range:[T,o]}}function U(e){return o+=e.length,{type:K,value:e,line:N,lineStart:V,range:[T,o]}}function Ke(){return o+=3,{type:ue,value:"...",line:N,lineStart:V,range:[T,o]}}function We(){for(var e=n.charCodeAt(o++),t=N,s=V,p=o,d=c.discardStrings?null:"",x;x=n.charCodeAt(o++),e!==x;)if((o>i||pe(x))&&(d+=n.slice(p,o-1),w(null,A.unfinishedString,n.slice(T,o-1))),x===92){if(!c.discardStrings){var P=n.slice(p,o-1);d+=c.fixup(P)}var I=et();c.discardStrings||(d+=I),p=o}return c.discardStrings||(d+=c.encodeByte(null),d+=c.fixup(n.slice(p,o-1))),{type:O,value:d,line:t,lineStart:s,lastLine:N,lastLineStart:V,range:[T,o]}}function ze(){var e=N,t=V,s=Ie(!1);return s===!1&&w(g,A.expected,"[",le(g)),{type:O,value:c.discardStrings?null:c.fixup(s),line:e,lineStart:t,lastLine:N,lastLineStart:V,range:[T,o]}}function Ce(){var e=n.charAt(o),t=n.charAt(o+1),s=e==="0"&&"xX".indexOf(t||null)>=0?Xe():Ye(),p=Je(),d=Qe();return d&&(p||s.hasFractionPart)&&w(null,A.malformedNumber,n.slice(T,o)),{type:H,value:s.value,line:N,lineStart:V,range:[T,o]}}function Je(){if(u.imaginaryNumbers)return"iI".indexOf(n.charAt(o)||null)>=0?(++o,!0):!1}function Qe(){if(u.integerSuffixes){if("uU".indexOf(n.charAt(o)||null)>=0)if(++o,"lL".indexOf(n.charAt(o)||null)>=0){if(++o,"lL".indexOf(n.charAt(o)||null)>=0)return++o,"ULL";w(null,A.malformedNumber,n.slice(T,o))}else w(null,A.malformedNumber,n.slice(T,o));else if("lL".indexOf(n.charAt(o)||null)>=0){if(++o,"lL".indexOf(n.charAt(o)||null)>=0)return++o,"LL";w(null,A.malformedNumber,n.slice(T,o))}}}function Xe(){var e=0,t=1,s=1,p,d,x,P;for(P=o+=2,re(n.charCodeAt(o))||w(null,A.malformedNumber,n.slice(T,o));re(n.charCodeAt(o));)++o;p=parseInt(n.slice(P,o),16);var I=!1;if(n.charAt(o)==="."){for(I=!0,d=++o;re(n.charCodeAt(o));)++o;e=n.slice(d,o),e=d===o?0:parseInt(e,16)/Math.pow(16,o-d)}var be=!1;if("pP".indexOf(n.charAt(o)||null)>=0){for(be=!0,++o,"+-".indexOf(n.charAt(o)||null)>=0&&(s=n.charAt(o++)==="+"?1:-1),x=o,Y(n.charCodeAt(o))||w(null,A.malformedNumber,n.slice(T,o));Y(n.charCodeAt(o));)++o;t=n.slice(x,o),t=Math.pow(2,t*s)}return{value:(p+e)*t,hasFractionPart:I||be}}function Ye(){for(;Y(n.charCodeAt(o));)++o;var e=!1;if(n.charAt(o)===".")for(e=!0,++o;Y(n.charCodeAt(o));)++o;var t=!1;if("eE".indexOf(n.charAt(o)||null)>=0)for(t=!0,++o,"+-".indexOf(n.charAt(o)||null)>=0&&++o,Y(n.charCodeAt(o))||w(null,A.malformedNumber,n.slice(T,o));Y(n.charCodeAt(o));)++o;return{value:parseFloat(n.slice(T,o)),hasFractionPart:e||t}}function Ze(){var e=o++;for(n.charAt(o++)!=="{"&&w(null,A.braceExpected,"{","\\"+n.slice(e,o)),re(n.charCodeAt(o))||w(null,A.hexadecimalDigitExpected,"\\"+n.slice(e,o));n.charCodeAt(o)===48;)++o;for(var t=o;re(n.charCodeAt(o));)++o,o-t>6&&w(null,A.tooLargeCodepoint,"\\"+n.slice(e,o));var s=n.charAt(o++);s!=="}"&&(s==='"'||s==="'"?w(null,A.braceExpected,"}","\\"+n.slice(e,o--)):w(null,A.hexadecimalDigitExpected,"\\"+n.slice(e,o)));var p=parseInt(n.slice(t,o-1)||"0",16),d="\\"+n.slice(e,o);return p>1114111&&w(null,A.tooLargeCodepoint,d),c.encodeUTF8(p,d)}function et(){var e=o;switch(n.charAt(o)){case"a":return++o,"\x07";case"n":return++o,`
|
|
8
|
+
`;case"r":return++o,"\r";case"t":return++o," ";case"v":return++o,"\v";case"b":return++o,"\b";case"f":return++o,"\f";case"\r":case`
|
|
9
|
+
`:return me(),`
|
|
10
|
+
`;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;Y(n.charCodeAt(o))&&o-e<3;)++o;var t=n.slice(e,o),s=parseInt(t,10);return s>255&&w(null,A.decimalEscapeTooLarge,"\\"+s),c.encodeByte(s,"\\"+t);case"z":if(u.skipWhitespaceEscape)return++o,we(),"";break;case"x":if(u.hexEscapes){if(re(n.charCodeAt(o+1))&&re(n.charCodeAt(o+2)))return o+=3,c.encodeByte(parseInt(n.slice(e+1,o),16),"\\"+n.slice(e,o));w(null,A.hexadecimalDigitExpected,"\\"+n.slice(e,o+2))}break;case"u":if(u.unicodeEscapes)return Ze();break;case"\\":case'"':case"'":return n.charAt(o++)}return u.strictEscapes&&w(null,A.invalidEscape,"\\"+n.slice(e,o+1)),n.charAt(o++)}function tt(){T=o,o+=2;var e=n.charAt(o),t="",s=!1,p=o,d=V,x=N;if(e==="["&&(t=Ie(!0),t===!1?t=e:s=!0),!s){for(;o<i&&!pe(n.charCodeAt(o));)++o;r.comments&&(t=n.slice(p,o))}if(r.comments){var P=S.comment(t,n.slice(T,o));r.locations&&(P.loc={start:{line:x,column:T-d},end:{line:N,column:o-V}}),r.ranges&&(P.range=[T,o]),r.onCreateNode&&r.onCreateNode(P),Ee.push(P)}}function Ie(e){var t=0,s="",p=!1,d,x,P=N;for(++o;n.charAt(o+t)==="=";)++t;if(n.charAt(o+t)!=="[")return!1;for(o+=t+1,pe(n.charCodeAt(o))&&me(),x=o;o<i;){for(;pe(n.charCodeAt(o));)me();if(d=n.charAt(o++),d==="]"){p=!0;for(var I=0;I<t;++I)n.charAt(o+I)!=="="&&(p=!1);n.charAt(o+t)!=="]"&&(p=!1)}if(p)return s+=n.slice(x,o-1),o+=t+1,s}w(null,e?A.unfinishedLongComment:A.unfinishedLongString,P,"<eof>")}function D(){G=g,g=te,te=Ae()}function M(e){return e===g.value?(D(),!0):!1}function k(e){e===g.value?D():w(g,A.expected,e,le(g))}function rt(e){return e===9||e===32||e===11||e===12}function pe(e){return e===10||e===13}function Y(e){return e>=48&&e<=57}function re(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function nt(e){return!!(e>=65&&e<=90||e>=97&&e<=122||e===95||u.extendedIdentifiers&&e>=128)}function it(e){return!!(e>=65&&e<=90||e>=97&&e<=122||e===95||e>=48&&e<=57||u.extendedIdentifiers&&e>=128)}function at(e){switch(e.length){case 2:return e==="do"||e==="if"||e==="in"||e==="or";case 3:return e==="and"||e==="end"||e==="for"||e==="not";case 4:return e==="else"||e==="then"?!0:u.labels&&!u.contextualGoto?e==="goto":!1;case 5:return e==="break"||e==="local"||e==="until"||e==="while";case 6:return e==="elseif"||e==="repeat"||e==="return";case 8:return e==="function"}return!1}function st(e){return K===e.type?"#-~".indexOf(e.value)>=0:$===e.type?e.value==="not":!1}function ot(e){if(E===e.type)return!0;if($!==e.type)return!1;switch(e.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}var ne,ie,ge;function W(){var e=ne[ie++].slice();ne.push(e),r.onCreateScope&&r.onCreateScope()}function z(){ne.pop(),--ie,r.onDestroyScope&&r.onDestroyScope()}function Pe(e){r.onLocalDeclaration&&r.onLocalDeclaration(e),Le(ne[ie],e)===-1&&ne[ie].push(e)}function he(e){Pe(e.name),de(e,!0)}function de(e,t){!t&&He(ge,"name",e.name)===-1&&ge.push(e),e.isLocal=t}function De(e){return Le(ne[ie],e)!==-1}var j=[],R;function Q(){return new ve(g)}function ve(e){r.locations&&(this.loc={start:{line:e.line,column:e.range[0]-e.lineStart},end:{line:0,column:0}}),r.ranges&&(this.range=[e.range[0],0])}ve.prototype.complete=function(){r.locations&&(this.loc.end.line=G.lastLine||G.line,this.loc.end.column=G.range[1]-(G.lastLineStart||G.lineStart)),r.ranges&&(this.range[1]=G.range[1])},ve.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]])};function ae(){R&&j.push(Q())}function B(e){R&&j.push(e)}function X(){this.scopes=[],this.pendingGotos=[]}X.prototype.isInLoop=function(){for(var e=this.scopes.length;e-- >0;)if(this.scopes[e].isLoop)return!0;return!1},X.prototype.pushScope=function(e){var t={labels:{},locals:[],deferredGotos:[],isLoop:!!e};this.scopes.push(t)},X.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&&w(t.token,A.labelNotVisible,t.target)}this.scopes.pop()},X.prototype.addGoto=function(e,t){for(var s=[],p=0;p<this.scopes.length;++p){var d=this.scopes[p];if(s.push(d.locals.length),Object.prototype.hasOwnProperty.call(d.labels,e))return}this.pendingGotos.push({maxDepth:this.scopes.length,target:e,token:t,localCounts:s})},X.prototype.addLabel=function(e,t){var s=this.currentScope();if(Object.prototype.hasOwnProperty.call(s.labels,e))w(t,A.labelAlreadyDefined,e,s.labels[e].line);else{for(var p=[],d=0;d<this.pendingGotos.length;++d){var x=this.pendingGotos[d];if(x.maxDepth>=this.scopes.length&&x.target===e){x.localCounts[this.scopes.length-1]<s.locals.length&&s.deferredGotos.push(x);continue}p.push(x)}this.pendingGotos=p}s.labels[e]={localCount:s.locals.length,line:t.line}},X.prototype.addLocal=function(e,t){this.currentScope().locals.push({name:e,token:t})},X.prototype.currentScope=function(){return this.scopes[this.scopes.length-1]},X.prototype.raiseDeferredErrors=function(){for(var e=this.currentScope(),t=e.deferredGotos,s=0;s<t.length;++s){var p=t[s];w(p.token,A.gotoJumpInLocalScope,p.target,e.locals[p.localCounts[this.scopes.length-1]].name)}};function Z(){this.level=0,this.loopLevels=[]}Z.prototype.isInLoop=function(){return!!this.loopLevels.length},Z.prototype.pushScope=function(e){++this.level,e&&this.loopLevels.push(this.level)},Z.prototype.popScope=function(){var e=this.loopLevels,t=e.length;t&&e[t-1]===this.level&&e.pop(),--this.level},Z.prototype.addGoto=Z.prototype.addLabel=function(){throw new Error("This should never happen")},Z.prototype.addLocal=Z.prototype.raiseDeferredErrors=function(){};function Fe(){return u.labels?new X:new Z}function ut(){D(),ae(),r.scope&&W();var e=Fe();e.allowVararg=!0,e.pushScope();var t=J(e);return e.popScope(),r.scope&&z(),E!==g.type&&fe(g),R&&!t.length&&(G=g),L(S.chunk(t))}function J(e){for(var t=[],s;!ot(g);){if(g.value==="return"||!u.relaxedBreak&&g.value==="break"){t.push(Ue(e));break}s=Ue(e),M(";"),s&&t.push(s)}return t}function Ue(e){if(ae(),K===g.type&&M("::"))return ct(e);if(u.emptyStatement&&M(";")){R&&j.pop();return}if(e.raiseDeferredErrors(),$===g.type)switch(g.value){case"local":return D(),vt(e);case"if":return D(),mt(e);case"return":return D(),dt(e);case"function":D();var t=bt();return ke(t);case"while":return D(),pt(e);case"for":return D(),gt(e);case"repeat":return D(),ht(e);case"break":return D(),e.isInLoop()||w(g,A.noLoopToBreak,g.value),lt();case"do":return D(),ft(e);case"goto":return D(),Re(e)}return u.contextualGoto&&g.type===F&&g.value==="goto"&&te.type===F&&te.value!=="goto"?(D(),Re(e)):(R&&j.pop(),yt(e))}function ct(e){var t=g,s=q();return r.scope&&(Pe("::"+t.value+"::"),de(s,!0)),k("::"),e.addLabel(t.value,t),L(S.labelStatement(s))}function lt(){return L(S.breakStatement())}function Re(e){var t=g.value,s=G,p=q();return e.addGoto(t,s),L(S.gotoStatement(p))}function ft(e){r.scope&&W(),e.pushScope();var t=J(e);return e.popScope(),r.scope&&z(),k("end"),L(S.doStatement(t))}function pt(e){var t=C(e);k("do"),r.scope&&W(),e.pushScope(!0);var s=J(e);return e.popScope(),r.scope&&z(),k("end"),L(S.whileStatement(t,s))}function ht(e){r.scope&&W(),e.pushScope(!0);var t=J(e);k("until"),e.raiseDeferredErrors();var s=C(e);return e.popScope(),r.scope&&z(),L(S.repeatStatement(s,t))}function dt(e){var t=[];if(g.value!=="end"){var s=ye(e);for(s!=null&&t.push(s);M(",");)s=C(e),t.push(s);M(";")}return L(S.returnStatement(t))}function mt(e){var t=[],s,p,d;for(R&&(d=j[j.length-1],j.push(d)),s=C(e),k("then"),r.scope&&W(),e.pushScope(),p=J(e),e.popScope(),r.scope&&z(),t.push(L(S.ifClause(s,p))),R&&(d=Q());M("elseif");)B(d),s=C(e),k("then"),r.scope&&W(),e.pushScope(),p=J(e),e.popScope(),r.scope&&z(),t.push(L(S.elseifClause(s,p))),R&&(d=Q());return M("else")&&(R&&(d=new ve(G),j.push(d)),r.scope&&W(),e.pushScope(),p=J(e),e.popScope(),r.scope&&z(),t.push(L(S.elseClause(p)))),k("end"),L(S.ifStatement(t))}function gt(e){var t=q(),s;if(r.scope&&(W(),he(t)),M("=")){var p=C(e);k(",");var d=C(e),x=M(",")?C(e):null;return k("do"),e.pushScope(!0),s=J(e),e.popScope(),k("end"),r.scope&&z(),L(S.forNumericStatement(t,p,d,x,s))}else{for(var P=[t];M(",");)t=q(),r.scope&&he(t),P.push(t);k("in");var I=[];do{var be=C(e);I.push(be)}while(M(","));return k("do"),e.pushScope(!0),s=J(e),e.popScope(),k("end"),r.scope&&z(),L(S.forGenericStatement(P,I,s))}}function vt(e){var t,s=G;if(F===g.type){var p=[],d=[];do t=q(),p.push(t),e.addLocal(t.name,s);while(M(","));if(M("="))do{var x=C(e);d.push(x)}while(M(","));if(r.scope)for(var P=0,I=p.length;P<I;++P)he(p[P]);return L(S.localStatement(p,d))}if(M("function"))return t=q(),e.addLocal(t.name,s),r.scope&&(he(t),W()),ke(t,!0);ee("<name>",g)}function yt(e){var t,s,p,d,x,P=[];R&&(s=Q());do{if(R&&(t=Q()),F===g.type)x=g.value,d=q(),r.scope&&de(d,De(x)),p=!0;else if(g.value==="(")D(),d=C(e),k(")"),p=!1;else return fe(g);e:for(;;){switch(O===g.type?'"':g.value){case".":case"[":p=!0;break;case":":case"(":case"{":case'"':p=null;break;default:break e}d=qe(d,t,e)}if(P.push(d),g.value!==",")break;if(!p)return fe(g);D()}while(!0);if(P.length===1&&p===null)return B(t),L(S.callStatement(P[0]));if(!p)return fe(g);k("=");var I=[];do I.push(C(e));while(M(","));return B(s),L(S.assignmentStatement(P,I))}function q(){ae();var e=g.value;return F!==g.type&&ee("<name>",g),D(),L(S.identifier(e))}function ke(e,t){var s=Fe();s.pushScope();var p=[];if(k("("),!M(")"))for(;;){if(F===g.type){var d=q();if(r.scope&&he(d),p.push(d),M(","))continue}else ue===g.type?(s.allowVararg=!0,p.push($e(s))):ee("<name> or '...'",g);k(")");break}var x=J(s);return s.popScope(),k("end"),r.scope&&z(),t=t||!1,L(S.functionStatement(e,p,t,x))}function bt(){var e,t,s;for(R&&(s=Q()),e=q(),r.scope&&(de(e,De(e.name)),W());M(".");)B(s),t=q(),e=L(S.memberExpression(e,".",t));return M(":")&&(B(s),t=q(),e=L(S.memberExpression(e,":",t)),r.scope&&Pe("self")),e}function Ne(e){for(var t=[],s,p;;){if(ae(),K===g.type&&M("["))s=C(e),k("]"),k("="),p=C(e),t.push(L(S.tableKey(s,p)));else if(F===g.type)te.value==="="?(s=q(),D(),p=C(e),t.push(L(S.tableKeyString(s,p)))):(p=C(e),t.push(L(S.tableValue(p))));else{if((p=ye(e))==null){j.pop();break}t.push(L(S.tableValue(p)))}if(",;".indexOf(g.value)>=0){D();continue}break}return k("}"),L(S.tableConstructorExpression(t))}function ye(e){var t=Oe(0,e);return t}function C(e){var t=ye(e);if(t==null)ee("<expression>",g);else return t}function St(e){var t=e.charCodeAt(0),s=e.length;if(s===1)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(s===2)switch(t){case 47:return 10;case 46:return 8;case 60:case 62:return e==="<<"||e===">>"?7:3;case 61:case 126:return 3;case 111:return 1}else if(t===97&&e==="and")return 2;return 0}function Oe(e,t){var s=g.value,p,d;if(R&&(d=Q()),st(g)){ae(),D();var x=Oe(10,t);x==null&&ee("<expression>",g),p=L(S.unaryExpression(s,x))}if(p==null&&(p=$e(t),p==null&&(p=Lt(t))),p==null)return null;for(var P;s=g.value,P=K===g.type||$===g.type?St(s):0,!(P===0||P<=e);){(s==="^"||s==="..")&&--P,D();var I=Oe(P,t);I==null&&ee("<expression>",g),R&&j.push(d),p=L(S.binaryExpression(s,p,I))}return p}function qe(e,t,s){var p,d;if(K===g.type)switch(g.value){case"[":return B(t),D(),p=C(s),k("]"),L(S.indexExpression(e,p));case".":return B(t),D(),d=q(),L(S.memberExpression(e,".",d));case":":return B(t),D(),d=q(),e=L(S.memberExpression(e,":",d)),B(t),Me(e,s);case"(":case"{":return B(t),Me(e,s)}else if(O===g.type)return B(t),Me(e,s);return null}function Lt(e){var t,s,p;if(R&&(p=Q()),F===g.type)s=g.value,t=q(),r.scope&&de(t,De(s));else if(M("("))t=C(e),k(")");else return null;for(;;){var d=qe(t,p,e);if(d===null)break;t=d}return t}function Me(e,t){if(K===g.type)switch(g.value){case"(":u.emptyStatement||g.line!==G.line&&w(null,A.ambiguousSyntax,g.value),D();var s=[],p=ye(t);for(p!=null&&s.push(p);M(",");)p=C(t),s.push(p);return k(")"),L(S.callExpression(e,s));case"{":ae(),D();var d=Ne(t);return L(S.tableCallExpression(e,d))}else if(O===g.type)return L(S.stringCallExpression(e,$e(t)));ee("function arguments",g)}function $e(e){var t=O|H|se|oe|ue,s=g.value,p=g.type,d;if(R&&(d=Q()),p===ue&&!e.allowVararg&&w(g,A.cannotUseVararg,g.value),p&t){B(d);var x=n.slice(g.range[0],g.range[1]);return D(),L(S.literal(p,s,x))}else{if($===p&&s==="function")return B(d),D(),r.scope&&W(),ke(null);if(M("{"))return B(d),Ne(e)}}m.parse=xt;var Ve={"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}};function xt(e,t){if(typeof t>"u"&&typeof e=="object"&&(t=e,e=void 0),t||(t={}),n=e||"",r=xe({},l,t),o=0,N=1,V=0,i=n.length,ne=[[]],ie=0,ge=[],j=[],!Object.prototype.hasOwnProperty.call(Ve,r.luaVersion))throw new Error(ce("Lua version '%1' not supported",r.luaVersion));if(u=xe({},Ve[r.luaVersion]),r.extendedIdentifiers!==void 0&&(u.extendedIdentifiers=!!r.extendedIdentifiers),!Object.prototype.hasOwnProperty.call(b,r.encodingMode))throw new Error(ce("Encoding mode '%1' not supported",r.encodingMode));return c=b[r.encodingMode],r.comments&&(Ee=[]),r.wait?m:je()}m.write=Be;function Be(e){return n+=String(e),i=n.length,m}m.end=je;function je(e){typeof e<"u"&&Be(e),n&&n.substr(0,2)==="#!"&&(n=n.replace(/^.*/,function(s){return s.replace(/./g," ")})),i=n.length,R=r.locations||r.ranges,te=Ae();var t=ut();if(r.comments&&(t.comments=Ee),r.scope&&(t.globals=ge),j.length>0)throw new Error("Location tracking failed. This is most likely a bug in luaparse");return t}})});ace.define("ace/mode/lua_worker",[],function(h,y,_){var m=h("../lib/oop"),n=h("../worker/mirror").Mirror,r=h("../mode/lua/luaparse"),i=y.Worker=function(u){n.call(this,u),this.setTimeout(500)};m.inherits(i,n),(function(){this.onUpdate=function(){var u=this.doc.getValue(),c=[];try{r.parse(u)}catch(l){l instanceof r.SyntaxError&&c.push({row:l.line-1,column:l.column,text:l.message,type:"error"})}this.sender.emit("annotate",c)}}).call(i.prototype)});const At=Et({__proto__:null,default:Te},[Te]);export{At as w};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
function U(T,E){for(var L=0;L<E.length;L++){const t=E[L];if(typeof t!="string"&&!Array.isArray(t)){for(const s in t)if(s!=="default"&&!(s in T)){const r=Object.getOwnPropertyDescriptor(t,s);r&&Object.defineProperty(T,s,r.get?r:{enumerable:!0,get:()=>t[s]})}}}return Object.freeze(Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}))}var D={};(function(T){if(typeof T.window<"u"&&T.document||T.require&&T.define)return;T.console||(T.console=function(){var s=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:s})},T.console.error=T.console.warn=T.console.log=T.console.trace=T.console),T.window=T,T.ace=T,T.onerror=function(s,r,e,o,a){postMessage({type:"error",data:{message:s,data:a&&a.data,file:r,line:e,col:o,stack:a&&a.stack}})},T.normalizeModule=function(s,r){if(r.indexOf("!")!==-1){var e=r.split("!");return T.normalizeModule(s,e[0])+"!"+T.normalizeModule(s,e[1])}if(r.charAt(0)=="."){var o=s.split("/").slice(0,-1).join("/");for(r=(o?o+"/":"")+r;r.indexOf(".")!==-1&&a!=r;){var a=r;r=r.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return r},T.require=function(r,e){if(e||(e=r,r=null),!e.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");e=T.normalizeModule(r,e);var o=T.require.modules[e];if(o)return o.initialized||(o.initialized=!0,o.exports=o.factory().exports),o.exports;if(!T.require.tlns)return console.log("unable to load "+e);var a=E(e,T.require.tlns);return a.slice(-3)!=".js"&&(a+=".js"),T.require.id=e,T.require.modules[e]={},importScripts(a),T.require(r,e)};function E(s,r){for(var e=s,o="";e;){var a=r[e];if(typeof a=="string")return a+o;if(a)return a.location.replace(/\/*$/,"/")+(o||a.main||a.name);if(a===!1)return"";var _=e.lastIndexOf("/");if(_===-1)break;o=e.substr(_)+o,e=e.slice(0,_)}return s}T.require.modules={},T.require.tlns={},T.define=function(s,r,e){if(arguments.length==2?(e=r,typeof s!="string"&&(r=s,s=T.require.id)):arguments.length==1&&(e=s,r=[],s=T.require.id),typeof e!="function"){T.require.modules[s]={exports:e,initialized:!0};return}r.length||(r=["require","exports","module"]);var o=function(a){return T.require(s,a)};T.require.modules[s]={exports:{},factory:function(){var a=this,_=e.apply(this,r.slice(0,e.length).map(function(n){switch(n){case"require":return o;case"exports":return a.exports;case"module":return a;default:return o(n)}}));return _&&(a.exports=_),a}}},T.define.amd={},T.require.tlns={},T.initBaseUrls=function(r){for(var e in r)this.require.tlns[e]=r[e]},T.initSender=function(){var r=T.require("ace/lib/event_emitter").EventEmitter,e=T.require("ace/lib/oop"),o=function(){};return(function(){e.implement(this,r),this.callback=function(a,_){postMessage({type:"call",id:_,data:a})},this.emit=function(a,_){postMessage({type:"event",name:a,data:_})}}).call(o.prototype),new o};var L=T.main=null,t=T.sender=null;T.onmessage=function(s){var r=s.data;if(r.event&&t)t._signal(r.event,r.data);else if(r.command)if(L[r.command])L[r.command].apply(L,r.args);else if(T[r.command])T[r.command].apply(T,r.args);else throw new Error("Unknown command:"+r.command);else if(r.init){T.initBaseUrls(r.tlns),t=T.sender=T.initSender();var e=this.require(r.module)[r.classname];L=T.main=new e(t)}}})(D);ace.define("ace/lib/oop",[],function(T,E,L){E.inherits=function(t,s){t.super_=s,t.prototype=Object.create(s.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},E.mixin=function(t,s){for(var r in s)t[r]=s[r];return t},E.implement=function(t,s){E.mixin(t,s)}});ace.define("ace/apply_delta",[],function(T,E,L){E.applyDelta=function(t,s,r){var e=s.start.row,o=s.start.column,a=t[e]||"";switch(s.action){case"insert":var _=s.lines;if(_.length===1)t[e]=a.substring(0,o)+s.lines[0]+a.substring(o);else{var n=[e,1].concat(s.lines);t.splice.apply(t,n),t[e]=a.substring(0,o)+t[e],t[e+s.lines.length-1]+=a.substring(o)}break;case"remove":var i=s.end.column,u=s.end.row;e===u?t[e]=a.substring(0,o)+a.substring(i):t.splice(e,u-e+1,a.substring(0,o)+t[u].substring(i));break}}});ace.define("ace/lib/event_emitter",[],function(T,E,L){var t={},s=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};t._emit=t._dispatchEvent=function(e,o){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var a=this._eventRegistry[e]||[],_=this._defaultHandlers[e];if(!(!a.length&&!_)){(typeof o!="object"||!o)&&(o={}),o.type||(o.type=e),o.stopPropagation||(o.stopPropagation=s),o.preventDefault||(o.preventDefault=r),a=a.slice();for(var n=0;n<a.length&&(a[n](o,this),!o.propagationStopped);n++);if(_&&!o.defaultPrevented)return _(o,this)}},t._signal=function(e,o){var a=(this._eventRegistry||{})[e];if(a){a=a.slice();for(var _=0;_<a.length;_++)a[_](o,this)}},t.once=function(e,o){var a=this;if(this.on(e,function _(){a.off(e,_),o.apply(null,arguments)}),!o)return new Promise(function(_){o=_})},t.setDefaultHandler=function(e,o){var a=this._defaultHandlers;if(a||(a=this._defaultHandlers={_disabled_:{}}),a[e]){var _=a[e],n=a._disabled_[e];n||(a._disabled_[e]=n=[]),n.push(_);var i=n.indexOf(o);i!=-1&&n.splice(i,1)}a[e]=o},t.removeDefaultHandler=function(e,o){var a=this._defaultHandlers;if(a){var _=a._disabled_[e];if(a[e]==o)_&&this.setDefaultHandler(e,_.pop());else if(_){var n=_.indexOf(o);n!=-1&&_.splice(n,1)}}},t.on=t.addEventListener=function(e,o,a){this._eventRegistry=this._eventRegistry||{};var _=this._eventRegistry[e];return _||(_=this._eventRegistry[e]=[]),_.indexOf(o)==-1&&_[a?"unshift":"push"](o),o},t.off=t.removeListener=t.removeEventListener=function(e,o){this._eventRegistry=this._eventRegistry||{};var a=this._eventRegistry[e];if(a){var _=a.indexOf(o);_!==-1&&a.splice(_,1)}},t.removeAllListeners=function(e){e||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[e]=void 0),this._defaultHandlers&&(this._defaultHandlers[e]=void 0)},E.EventEmitter=t});ace.define("ace/range",[],function(T,E,L){var t=(function(){function s(r,e,o,a){this.start={row:r,column:e},this.end={row:o,column:a}}return s.prototype.isEqual=function(r){return this.start.row===r.start.row&&this.end.row===r.end.row&&this.start.column===r.start.column&&this.end.column===r.end.column},s.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},s.prototype.contains=function(r,e){return this.compare(r,e)==0},s.prototype.compareRange=function(r){var e,o=r.end,a=r.start;return e=this.compare(o.row,o.column),e==1?(e=this.compare(a.row,a.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(a.row,a.column),e==-1?-1:e==1?42:0)},s.prototype.comparePoint=function(r){return this.compare(r.row,r.column)},s.prototype.containsRange=function(r){return this.comparePoint(r.start)==0&&this.comparePoint(r.end)==0},s.prototype.intersects=function(r){var e=this.compareRange(r);return e==-1||e==0||e==1},s.prototype.isEnd=function(r,e){return this.end.row==r&&this.end.column==e},s.prototype.isStart=function(r,e){return this.start.row==r&&this.start.column==e},s.prototype.setStart=function(r,e){typeof r=="object"?(this.start.column=r.column,this.start.row=r.row):(this.start.row=r,this.start.column=e)},s.prototype.setEnd=function(r,e){typeof r=="object"?(this.end.column=r.column,this.end.row=r.row):(this.end.row=r,this.end.column=e)},s.prototype.inside=function(r,e){return this.compare(r,e)==0?!(this.isEnd(r,e)||this.isStart(r,e)):!1},s.prototype.insideStart=function(r,e){return this.compare(r,e)==0?!this.isEnd(r,e):!1},s.prototype.insideEnd=function(r,e){return this.compare(r,e)==0?!this.isStart(r,e):!1},s.prototype.compare=function(r,e){return!this.isMultiLine()&&r===this.start.row?e<this.start.column?-1:e>this.end.column?1:0:r<this.start.row?-1:r>this.end.row?1:this.start.row===r?e>=this.start.column?0:-1:this.end.row===r?e<=this.end.column?0:1:0},s.prototype.compareStart=function(r,e){return this.start.row==r&&this.start.column==e?-1:this.compare(r,e)},s.prototype.compareEnd=function(r,e){return this.end.row==r&&this.end.column==e?1:this.compare(r,e)},s.prototype.compareInside=function(r,e){return this.end.row==r&&this.end.column==e?1:this.start.row==r&&this.start.column==e?-1:this.compare(r,e)},s.prototype.clipRows=function(r,e){if(this.end.row>e)var o={row:e+1,column:0};else if(this.end.row<r)var o={row:r,column:0};if(this.start.row>e)var a={row:e+1,column:0};else if(this.start.row<r)var a={row:r,column:0};return s.fromPoints(a||this.start,o||this.end)},s.prototype.extend=function(r,e){var o=this.compare(r,e);if(o==0)return this;if(o==-1)var a={row:r,column:e};else var _={row:r,column:e};return s.fromPoints(a||this.start,_||this.end)},s.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},s.prototype.isMultiLine=function(){return this.start.row!==this.end.row},s.prototype.clone=function(){return s.fromPoints(this.start,this.end)},s.prototype.collapseRows=function(){return this.end.column==0?new s(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new s(this.start.row,0,this.end.row,0)},s.prototype.toScreenRange=function(r){var e=r.documentToScreenPosition(this.start),o=r.documentToScreenPosition(this.end);return new s(e.row,e.column,o.row,o.column)},s.prototype.moveBy=function(r,e){this.start.row+=r,this.start.column+=e,this.end.row+=r,this.end.column+=e},s})();t.fromPoints=function(s,r){return new t(s.row,s.column,r.row,r.column)},t.comparePoints=function(s,r){return s.row-r.row||s.column-r.column},E.Range=t});ace.define("ace/anchor",[],function(T,E,L){var t=T("./lib/oop"),s=T("./lib/event_emitter").EventEmitter,r=(function(){function a(_,n,i){this.$onChange=this.onChange.bind(this),this.attach(_),typeof n!="number"?this.setPosition(n.row,n.column):this.setPosition(n,i)}return a.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},a.prototype.getDocument=function(){return this.document},a.prototype.onChange=function(_){if(!(_.start.row==_.end.row&&_.start.row!=this.row)&&!(_.start.row>this.row)){var n=o(_,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},a.prototype.setPosition=function(_,n,i){var u;if(i?u={row:_,column:n}:u=this.$clipPositionToDocument(_,n),!(this.row==u.row&&this.column==u.column)){var l={row:this.row,column:this.column};this.row=u.row,this.column=u.column,this._signal("change",{old:l,value:u})}},a.prototype.detach=function(){this.document.off("change",this.$onChange)},a.prototype.attach=function(_){this.document=_||this.document,this.document.on("change",this.$onChange)},a.prototype.$clipPositionToDocument=function(_,n){var i={};return _>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):_<0?(i.row=0,i.column=0):(i.row=_,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,n))),n<0&&(i.column=0),i},a})();r.prototype.$insertRight=!1,t.implement(r.prototype,s);function e(a,_,n){var i=n?a.column<=_.column:a.column<_.column;return a.row<_.row||a.row==_.row&&i}function o(a,_,n){var i=a.action=="insert",u=(i?1:-1)*(a.end.row-a.start.row),l=(i?1:-1)*(a.end.column-a.start.column),A=a.start,R=i?A:a.end;return e(_,A,n)?{row:_.row,column:_.column}:e(R,_,!n)?{row:_.row+u,column:_.column+(_.row==R.row?l:0)}:{row:A.row,column:A.column}}E.Anchor=r});ace.define("ace/document",[],function(T,E,L){var t=T("./lib/oop"),s=T("./apply_delta").applyDelta,r=T("./lib/event_emitter").EventEmitter,e=T("./range").Range,o=T("./anchor").Anchor,a=(function(){function _(n){this.$lines=[""],n.length===0?this.$lines=[""]:Array.isArray(n)?this.insertMergedLines({row:0,column:0},n):this.insert({row:0,column:0},n)}return _.prototype.setValue=function(n){var i=this.getLength()-1;this.remove(new e(0,0,i,this.getLine(i).length)),this.insert({row:0,column:0},n||"")},_.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},_.prototype.createAnchor=function(n,i){return new o(this,n,i)},_.prototype.$detectNewLine=function(n){var i=n.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=i?i[1]:`
|
|
2
|
+
`,this._signal("changeNewLineMode")},_.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
|
3
|
+
`;case"unix":return`
|
|
4
|
+
`;default:return this.$autoNewLine||`
|
|
5
|
+
`}},_.prototype.setNewLineMode=function(n){this.$newLineMode!==n&&(this.$newLineMode=n,this._signal("changeNewLineMode"))},_.prototype.getNewLineMode=function(){return this.$newLineMode},_.prototype.isNewLine=function(n){return n==`\r
|
|
6
|
+
`||n=="\r"||n==`
|
|
7
|
+
`},_.prototype.getLine=function(n){return this.$lines[n]||""},_.prototype.getLines=function(n,i){return this.$lines.slice(n,i+1)},_.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},_.prototype.getLength=function(){return this.$lines.length},_.prototype.getTextRange=function(n){return this.getLinesForRange(n).join(this.getNewLineCharacter())},_.prototype.getLinesForRange=function(n){var i;if(n.start.row===n.end.row)i=[this.getLine(n.start.row).substring(n.start.column,n.end.column)];else{i=this.getLines(n.start.row,n.end.row),i[0]=(i[0]||"").substring(n.start.column);var u=i.length-1;n.end.row-n.start.row==u&&(i[u]=i[u].substring(0,n.end.column))}return i},_.prototype.insertLines=function(n,i){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(n,i)},_.prototype.removeLines=function(n,i){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(n,i)},_.prototype.insertNewLine=function(n){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(n,["",""])},_.prototype.insert=function(n,i){return this.getLength()<=1&&this.$detectNewLine(i),this.insertMergedLines(n,this.$split(i))},_.prototype.insertInLine=function(n,i){var u=this.clippedPos(n.row,n.column),l=this.pos(n.row,n.column+i.length);return this.applyDelta({start:u,end:l,action:"insert",lines:[i]},!0),this.clonePos(l)},_.prototype.clippedPos=function(n,i){var u=this.getLength();n===void 0?n=u:n<0?n=0:n>=u&&(n=u-1,i=void 0);var l=this.getLine(n);return i==null&&(i=l.length),i=Math.min(Math.max(i,0),l.length),{row:n,column:i}},_.prototype.clonePos=function(n){return{row:n.row,column:n.column}},_.prototype.pos=function(n,i){return{row:n,column:i}},_.prototype.$clipPosition=function(n){var i=this.getLength();return n.row>=i?(n.row=Math.max(0,i-1),n.column=this.getLine(i-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},_.prototype.insertFullLines=function(n,i){n=Math.min(Math.max(n,0),this.getLength());var u=0;n<this.getLength()?(i=i.concat([""]),u=0):(i=[""].concat(i),n--,u=this.$lines[n].length),this.insertMergedLines({row:n,column:u},i)},_.prototype.insertMergedLines=function(n,i){var u=this.clippedPos(n.row,n.column),l={row:u.row+i.length-1,column:(i.length==1?u.column:0)+i[i.length-1].length};return this.applyDelta({start:u,end:l,action:"insert",lines:i}),this.clonePos(l)},_.prototype.remove=function(n){var i=this.clippedPos(n.start.row,n.start.column),u=this.clippedPos(n.end.row,n.end.column);return this.applyDelta({start:i,end:u,action:"remove",lines:this.getLinesForRange({start:i,end:u})}),this.clonePos(i)},_.prototype.removeInLine=function(n,i,u){var l=this.clippedPos(n,i),A=this.clippedPos(n,u);return this.applyDelta({start:l,end:A,action:"remove",lines:this.getLinesForRange({start:l,end:A})},!0),this.clonePos(l)},_.prototype.removeFullLines=function(n,i){n=Math.min(Math.max(0,n),this.getLength()-1),i=Math.min(Math.max(0,i),this.getLength()-1);var u=i==this.getLength()-1&&n>0,l=i<this.getLength()-1,A=u?n-1:n,R=u?this.getLine(A).length:0,c=l?i+1:i,I=l?0:this.getLine(c).length,P=new e(A,R,c,I),y=this.$lines.slice(n,i+1);return this.applyDelta({start:P.start,end:P.end,action:"remove",lines:this.getLinesForRange(P)}),y},_.prototype.removeNewLine=function(n){n<this.getLength()-1&&n>=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},_.prototype.replace=function(n,i){if(n instanceof e||(n=e.fromPoints(n.start,n.end)),i.length===0&&n.isEmpty())return n.start;if(i==this.getTextRange(n))return n.end;this.remove(n);var u;return i?u=this.insert(n.start,i):u=n.start,u},_.prototype.applyDeltas=function(n){for(var i=0;i<n.length;i++)this.applyDelta(n[i])},_.prototype.revertDeltas=function(n){for(var i=n.length-1;i>=0;i--)this.revertDelta(n[i])},_.prototype.applyDelta=function(n,i){var u=n.action=="insert";(u?n.lines.length<=1&&!n.lines[0]:!e.comparePoints(n.start,n.end))||(u&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(s(this.$lines,n,i),this._signal("change",n)))},_.prototype.$safeApplyDelta=function(n){var i=this.$lines.length;(n.action=="remove"&&n.start.row<i&&n.end.row<i||n.action=="insert"&&n.start.row<=i)&&this.applyDelta(n)},_.prototype.$splitAndapplyLargeDelta=function(n,i){for(var u=n.lines,l=u.length-i+1,A=n.start.row,R=n.start.column,c=0,I=0;c<l;c=I){I+=i-1;var P=u.slice(c,I);P.push(""),this.applyDelta({start:this.pos(A+c,R),end:this.pos(A+I,R=0),action:n.action,lines:P},!0)}n.lines=u.slice(c),n.start.row=A+c,n.start.column=R,this.applyDelta(n,!0)},_.prototype.revertDelta=function(n){this.$safeApplyDelta({start:this.clonePos(n.start),end:this.clonePos(n.end),action:n.action=="insert"?"remove":"insert",lines:n.lines.slice()})},_.prototype.indexToPosition=function(n,i){for(var u=this.$lines||this.getAllLines(),l=this.getNewLineCharacter().length,A=i||0,R=u.length;A<R;A++)if(n-=u[A].length+l,n<0)return{row:A,column:n+u[A].length+l};return{row:R-1,column:n+u[R-1].length+l}},_.prototype.positionToIndex=function(n,i){for(var u=this.$lines||this.getAllLines(),l=this.getNewLineCharacter().length,A=0,R=Math.min(n.row,u.length),c=i||0;c<R;++c)A+=u[c].length+l;return A+n.column},_.prototype.$split=function(n){return n.split(/\r\n|\r|\n/)},_})();a.prototype.$autoNewLine="",a.prototype.$newLineMode="auto",t.implement(a.prototype,r),E.Document=a});ace.define("ace/lib/deep_copy",[],function(T,E,L){E.deepCopy=function t(s){if(typeof s!="object"||!s)return s;var r;if(Array.isArray(s)){r=[];for(var e=0;e<s.length;e++)r[e]=t(s[e]);return r}if(Object.prototype.toString.call(s)!=="[object Object]")return s;r={};for(var e in s)r[e]=t(s[e]);return r}});ace.define("ace/lib/lang",[],function(T,E,L){E.last=function(r){return r[r.length-1]},E.stringReverse=function(r){return r.split("").reverse().join("")},E.stringRepeat=function(r,e){for(var o="";e>0;)e&1&&(o+=r),(e>>=1)&&(r+=r);return o};var t=/^\s\s*/,s=/\s\s*$/;E.stringTrimLeft=function(r){return r.replace(t,"")},E.stringTrimRight=function(r){return r.replace(s,"")},E.copyObject=function(r){var e={};for(var o in r)e[o]=r[o];return e},E.copyArray=function(r){for(var e=[],o=0,a=r.length;o<a;o++)r[o]&&typeof r[o]=="object"?e[o]=this.copyObject(r[o]):e[o]=r[o];return e},E.deepCopy=T("./deep_copy").deepCopy,E.arrayToMap=function(r){for(var e={},o=0;o<r.length;o++)e[r[o]]=1;return e},E.createMap=function(r){var e=Object.create(null);for(var o in r)e[o]=r[o];return e},E.arrayRemove=function(r,e){for(var o=0;o<=r.length;o++)e===r[o]&&r.splice(o,1)},E.escapeRegExp=function(r){return r.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},E.escapeHTML=function(r){return(""+r).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},E.getMatchOffsets=function(r,e){var o=[];return r.replace(e,function(a){o.push({offset:arguments[arguments.length-2],length:a.length})}),o},E.deferredCall=function(r){var e=null,o=function(){e=null,r()},a=function(_){return a.cancel(),e=setTimeout(o,_||0),a};return a.schedule=a,a.call=function(){return this.cancel(),r(),a},a.cancel=function(){return clearTimeout(e),e=null,a},a.isPending=function(){return e},a},E.delayedCall=function(r,e){var o=null,a=function(){o=null,r()},_=function(n){o==null&&(o=setTimeout(a,n||e))};return _.delay=function(n){o&&clearTimeout(o),o=setTimeout(a,n||e)},_.schedule=_,_.call=function(){this.cancel(),r()},_.cancel=function(){o&&clearTimeout(o),o=null},_.isPending=function(){return o},_},E.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},E.skipEmptyMatch=function(r,e,o){return o&&r.codePointAt(e)>65535?2:1}});ace.define("ace/worker/mirror",[],function(T,E,L){var t=T("../document").Document,s=T("../lib/lang"),r=E.Mirror=function(e){this.sender=e;var o=this.doc=new t(""),a=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),_=this;e.on("change",function(n){var i=n.data;if(i[0].start)o.applyDeltas(i);else for(var u=0;u<i.length;u+=2){var l,A;if(Array.isArray(i[u+1])?l={action:"insert",start:i[u],lines:i[u+1]}:l={action:"remove",start:i[u],end:i[u+1]},(l.action=="insert"?l.start:l.end).row>=o.$lines.length)throw A=new Error("Invalid delta"),A.data={path:_.$path,linesLength:o.$lines.length,start:l.start,end:l.end},A;o.applyDelta(l,!0)}if(_.$timeout)return a.schedule(_.$timeout);_.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(r.prototype)});ace.define("ace/mode/php/php",[],function(T,E,L){var t={Constants:{}};t.Constants.T_THROW=317,t.Constants.T_INCLUDE=272,t.Constants.T_INCLUDE_ONCE=273,t.Constants.T_EVAL=274,t.Constants.T_REQUIRE=275,t.Constants.T_REQUIRE_ONCE=276,t.Constants.T_LOGICAL_OR=277,t.Constants.T_LOGICAL_XOR=278,t.Constants.T_LOGICAL_AND=279,t.Constants.T_PRINT=280,t.Constants.T_YIELD=281,t.Constants.T_DOUBLE_ARROW=386,t.Constants.T_YIELD_FROM=282,t.Constants.T_PLUS_EQUAL=352,t.Constants.T_MINUS_EQUAL=353,t.Constants.T_MUL_EQUAL=354,t.Constants.T_DIV_EQUAL=355,t.Constants.T_CONCAT_EQUAL=356,t.Constants.T_MOD_EQUAL=357,t.Constants.T_AND_EQUAL=358,t.Constants.T_OR_EQUAL=359,t.Constants.T_XOR_EQUAL=360,t.Constants.T_SL_EQUAL=361,t.Constants.T_SR_EQUAL=362,t.Constants.T_POW_EQUAL=402,t.Constants.T_COALESCE_EQUAL=363,t.Constants.T_COALESCE=400,t.Constants.T_BOOLEAN_OR=364,t.Constants.T_BOOLEAN_AND=365,t.Constants.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG=404,t.Constants.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG=403,t.Constants.T_IS_EQUAL=366,t.Constants.T_IS_NOT_EQUAL=367,t.Constants.T_IS_IDENTICAL=368,t.Constants.T_IS_NOT_IDENTICAL=369,t.Constants.T_SPACESHIP=372,t.Constants.T_IS_SMALLER_OR_EQUAL=370,t.Constants.T_IS_GREATER_OR_EQUAL=371,t.Constants.T_SL=373,t.Constants.T_SR=374,t.Constants.T_INSTANCEOF=283,t.Constants.T_INC=375,t.Constants.T_DEC=376,t.Constants.T_INT_CAST=377,t.Constants.T_DOUBLE_CAST=378,t.Constants.T_STRING_CAST=379,t.Constants.T_ARRAY_CAST=380,t.Constants.T_OBJECT_CAST=381,t.Constants.T_BOOL_CAST=382,t.Constants.T_UNSET_CAST=383,t.Constants.T_POW=401,t.Constants.T_NEW=284,t.Constants.T_CLONE=285,t.Constants.T_EXIT=286,t.Constants.T_IF=287,t.Constants.T_ELSEIF=288,t.Constants.T_ELSE=289,t.Constants.T_ENDIF=290,t.Constants.T_LNUMBER=260,t.Constants.T_DNUMBER=261,t.Constants.T_STRING=262,t.Constants.T_STRING_VARNAME=270,t.Constants.T_VARIABLE=266,t.Constants.T_NUM_STRING=271,t.Constants.T_INLINE_HTML=267,t.Constants.T_ENCAPSED_AND_WHITESPACE=268,t.Constants.T_CONSTANT_ENCAPSED_STRING=269,t.Constants.T_ECHO=291,t.Constants.T_DO=292,t.Constants.T_WHILE=293,t.Constants.T_ENDWHILE=294,t.Constants.T_FOR=295,t.Constants.T_ENDFOR=296,t.Constants.T_FOREACH=297,t.Constants.T_ENDFOREACH=298,t.Constants.T_DECLARE=299,t.Constants.T_ENDDECLARE=300,t.Constants.T_AS=301,t.Constants.T_SWITCH=302,t.Constants.T_MATCH=306,t.Constants.T_ENDSWITCH=303,t.Constants.T_CASE=304,t.Constants.T_DEFAULT=305,t.Constants.T_BREAK=307,t.Constants.T_CONTINUE=308,t.Constants.T_GOTO=309,t.Constants.T_FUNCTION=310,t.Constants.T_FN=311,t.Constants.T_CONST=312,t.Constants.T_RETURN=313,t.Constants.T_TRY=314,t.Constants.T_CATCH=315,t.Constants.T_FINALLY=316,t.Constants.T_THROW=317,t.Constants.T_USE=318,t.Constants.T_INSTEADOF=319,t.Constants.T_GLOBAL=320,t.Constants.T_STATIC=321,t.Constants.T_ABSTRACT=322,t.Constants.T_FINAL=323,t.Constants.T_PRIVATE=324,t.Constants.T_PROTECTED=325,t.Constants.T_PUBLIC=326,t.Constants.T_READONLY=327,t.Constants.T_VAR=328,t.Constants.T_UNSET=329,t.Constants.T_ISSET=330,t.Constants.T_EMPTY=331,t.Constants.T_HALT_COMPILER=332,t.Constants.T_CLASS=333,t.Constants.T_TRAIT=334,t.Constants.T_INTERFACE=335,t.Constants.T_ENUM=336,t.Constants.T_EXTENDS=337,t.Constants.T_IMPLEMENTS=338,t.Constants.T_OBJECT_OPERATOR=384,t.Constants.T_NULLSAFE_OBJECT_OPERATOR=385,t.Constants.T_DOUBLE_ARROW=386,t.Constants.T_LIST=340,t.Constants.T_ARRAY=341,t.Constants.T_CALLABLE=342,t.Constants.T_CLASS_C=346,t.Constants.T_TRAIT_C=347,t.Constants.T_METHOD_C=348,t.Constants.T_FUNC_C=349,t.Constants.T_LINE=343,t.Constants.T_FILE=344,t.Constants.T_START_HEREDOC=393,t.Constants.T_END_HEREDOC=394,t.Constants.T_DOLLAR_OPEN_CURLY_BRACES=395,t.Constants.T_CURLY_OPEN=396,t.Constants.T_PAAMAYIM_NEKUDOTAYIM=397,t.Constants.T_NAMESPACE=339,t.Constants.T_NS_C=350,t.Constants.T_DIR=345,t.Constants.T_NS_SEPARATOR=398,t.Constants.T_ELLIPSIS=399,t.Constants.T_NAME_FULLY_QUALIFIED=263,t.Constants.T_NAME_QUALIFIED=265,t.Constants.T_NAME_RELATIVE=264,t.Constants.T_ATTRIBUTE=351,t.Constants.T_ENUM=336,t.Constants.T_BAD_CHARACTER=405,t.Constants.T_COMMENT=387,t.Constants.T_DOC_COMMENT=388,t.Constants.T_OPEN_TAG=389,t.Constants.T_OPEN_TAG_WITH_ECHO=390,t.Constants.T_CLOSE_TAG=391,t.Constants.T_WHITESPACE=392,t.Lexer=function(s,r){var e,o,a=["INITIAL"],_=0,n=function(p){a[_]=p},i=function(p){a[++_]=p},u=function(){--_},l=r===void 0||/^(on|true|1)$/i.test(r.short_open_tag),A=l?/^(\<\?php(?:\r\n|[ \t\r\n])|<\?|\<script language\=('|")?php('|")?\>)/i:/^(\<\?php(?:\r\n|[ \t\r\n])|\<script language\=('|")?php('|")?\>)/i,R=l?/[^<]*(?:<(?!\?|script language\=('|")?php('|")?\>)[^<]*)*/i:/[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,c="[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*",I=function(p){return"[^"+p+"\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^"+p+"\\\\${]*)*"},P=[{value:t.Constants.T_VARIABLE,re:new RegExp("^\\$"+c+"(?=\\[)"),func:function(){i("VAR_OFFSET")}},{value:t.Constants.T_VARIABLE,re:new RegExp("^\\$"+c+"(?=->"+c+")"),func:function(){i("LOOKING_FOR_PROPERTY")}},{value:t.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:new RegExp("^\\$\\{(?="+c+"[\\[}])"),func:function(){i("LOOKING_FOR_VARNAME")}},{value:t.Constants.T_VARIABLE,re:new RegExp("^\\$"+c)},{value:t.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:/^\$\{/,func:function(){i("IN_SCRIPTING")}},{value:t.Constants.T_CURLY_OPEN,re:/^\{(?=\$)/,func:function(){i("IN_SCRIPTING")}}],y={INITIAL:[{value:t.Constants.T_OPEN_TAG_WITH_ECHO,re:/^<\?=/i,func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_OPEN_TAG,re:A,func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_INLINE_HTML,re:R}],IN_SCRIPTING:[{value:t.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/},{value:t.Constants.T_ABSTRACT,re:/^abstract\b/i},{value:t.Constants.T_LOGICAL_AND,re:/^and\b/i},{value:t.Constants.T_ARRAY,re:/^array\b/i},{value:t.Constants.T_AS,re:/^as\b/i},{value:t.Constants.T_BREAK,re:/^break\b/i},{value:t.Constants.T_CALLABLE,re:/^callable\b/i},{value:t.Constants.T_CASE,re:/^case\b/i},{value:t.Constants.T_CATCH,re:/^catch\b/i},{value:t.Constants.T_CLASS,re:/^class\b/i},{value:t.Constants.T_CLONE,re:/^clone\b/i},{value:t.Constants.T_CONST,re:/^const\b/i},{value:t.Constants.T_CONTINUE,re:/^continue\b/i},{value:t.Constants.T_DECLARE,re:/^declare\b/i},{value:t.Constants.T_DEFAULT,re:/^default\b/i},{value:t.Constants.T_DO,re:/^do\b/i},{value:t.Constants.T_ECHO,re:/^echo\b/i},{value:t.Constants.T_ELSE,re:/^else\b/i},{value:t.Constants.T_ELSEIF,re:/^elseif\b/i},{value:t.Constants.T_ENUM,re:/^enum\b/i},{value:t.Constants.T_ENDDECLARE,re:/^enddeclare\b/i},{value:t.Constants.T_ENDFOR,re:/^endfor\b/i},{value:t.Constants.T_ENDFOREACH,re:/^endforeach\b/i},{value:t.Constants.T_ENDIF,re:/^endif\b/i},{value:t.Constants.T_ENDSWITCH,re:/^endswitch\b/i},{value:t.Constants.T_ENDWHILE,re:/^endwhile\b/i},{value:t.Constants.T_ENUM,re:/^enum\b/i},{value:t.Constants.T_EMPTY,re:/^empty\b/i},{value:t.Constants.T_EVAL,re:/^eval\b/i},{value:t.Constants.T_EXIT,re:/^(?:exit|die)\b/i},{value:t.Constants.T_EXTENDS,re:/^extends\b/i},{value:t.Constants.T_FINAL,re:/^final\b/i},{value:t.Constants.T_FINALLY,re:/^finally\b/i},{value:t.Constants.T_FN,re:/^fn\b/i},{value:t.Constants.T_FOR,re:/^for\b/i},{value:t.Constants.T_FOREACH,re:/^foreach\b/i},{value:t.Constants.T_FUNCTION,re:/^function\b/i},{value:t.Constants.T_GLOBAL,re:/^global\b/i},{value:t.Constants.T_GOTO,re:/^goto\b/i},{value:t.Constants.T_IF,re:/^if\b/i},{value:t.Constants.T_IMPLEMENTS,re:/^implements\b/i},{value:t.Constants.T_INCLUDE,re:/^include\b/i},{value:t.Constants.T_INCLUDE_ONCE,re:/^include_once\b/i},{value:t.Constants.T_INSTANCEOF,re:/^instanceof\b/i},{value:t.Constants.T_INSTEADOF,re:/^insteadof\b/i},{value:t.Constants.T_INTERFACE,re:/^interface\b/i},{value:t.Constants.T_ISSET,re:/^isset\b/i},{value:t.Constants.T_LIST,re:/^list\b/i},{value:t.Constants.T_MATCH,re:/^match\b/i},{value:t.Constants.T_NEW,re:/^new\b/i},{value:t.Constants.T_LOGICAL_OR,re:/^or\b/i},{value:t.Constants.T_PRINT,re:/^print\b/i},{value:t.Constants.T_PRIVATE,re:/^private\b/i},{value:t.Constants.T_PROTECTED,re:/^protected\b/i},{value:t.Constants.T_PUBLIC,re:/^public\b/i},{value:t.Constants.T_READONLY,re:/^readonly\b/i},{value:t.Constants.T_REQUIRE,re:/^require\b/i},{value:t.Constants.T_REQUIRE_ONCE,re:/^require_once\b/i},{value:t.Constants.T_STATIC,re:/^static\b/i},{value:t.Constants.T_SWITCH,re:/^switch\b/i},{value:t.Constants.T_THROW,re:/^throw\b/i},{value:t.Constants.T_TRAIT,re:/^trait\b/i},{value:t.Constants.T_TRY,re:/^try\b/i},{value:t.Constants.T_UNSET,re:/^unset\b/i},{value:t.Constants.T_USE,re:/^use\b/i},{value:t.Constants.T_VAR,re:/^var\b/i},{value:t.Constants.T_WHILE,re:/^while\b/i},{value:t.Constants.T_LOGICAL_XOR,re:/^xor\b/i},{value:t.Constants.T_YIELD_FROM,re:/^yield\s+from\b/i},{value:t.Constants.T_YIELD,re:/^yield\b/i},{value:t.Constants.T_RETURN,re:/^return\b/i},{value:t.Constants.T_METHOD_C,re:/^__METHOD__\b/i},{value:t.Constants.T_LINE,re:/^__LINE__\b/i},{value:t.Constants.T_FILE,re:/^__FILE__\b/i},{value:t.Constants.T_FUNC_C,re:/^__FUNCTION__\b/i},{value:t.Constants.T_NS_C,re:/^__NAMESPACE__\b/i},{value:t.Constants.T_TRAIT_C,re:/^__TRAIT__\b/i},{value:t.Constants.T_DIR,re:/^__DIR__\b/i},{value:t.Constants.T_CLASS_C,re:/^__CLASS__\b/i},{value:t.Constants.T_AND_EQUAL,re:/^&=/},{value:t.Constants.T_ARRAY_CAST,re:/^\([ \t]*array[ \t]*\)/i},{value:t.Constants.T_BOOL_CAST,re:/^\([ \t]*(?:bool|boolean)[ \t]*\)/i},{value:t.Constants.T_DOUBLE_CAST,re:/^\([ \t]*(?:real|float|double)[ \t]*\)/i},{value:t.Constants.T_INT_CAST,re:/^\([ \t]*(?:int|integer)[ \t]*\)/i},{value:t.Constants.T_OBJECT_CAST,re:/^\([ \t]*object[ \t]*\)/i},{value:t.Constants.T_STRING_CAST,re:/^\([ \t]*(?:binary|string)[ \t]*\)/i},{value:t.Constants.T_UNSET_CAST,re:/^\([ \t]*unset[ \t]*\)/i},{value:t.Constants.T_BOOLEAN_AND,re:/^&&/},{value:t.Constants.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG,re:/^&(?=[$])/},{value:t.Constants.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG,re:/^(&)(?=[^\$|^&])/},{value:t.Constants.T_BOOLEAN_OR,re:/^\|\|/},{value:t.Constants.T_CLOSE_TAG,re:/^(?:\?>|<\/script>)(\r\n|\r|\n)?/i,func:function(){n("INITIAL")}},{value:t.Constants.T_DOUBLE_ARROW,re:/^=>/},{value:t.Constants.T_PAAMAYIM_NEKUDOTAYIM,re:/^::/},{value:t.Constants.T_INC,re:/^\+\+/},{value:t.Constants.T_DEC,re:/^--/},{value:t.Constants.T_CONCAT_EQUAL,re:/^\.=/},{value:t.Constants.T_DIV_EQUAL,re:/^\/=/},{value:t.Constants.T_XOR_EQUAL,re:/^\^=/},{value:t.Constants.T_MUL_EQUAL,re:/^\*=/},{value:t.Constants.T_MOD_EQUAL,re:/^%=/},{value:t.Constants.T_SL_EQUAL,re:/^<<=/},{value:t.Constants.T_START_HEREDOC,re:new RegExp("^[bB]?<<<[ \\t]*'("+c+")'(?:\\r\\n|\\r|\\n)"),func:function(p){e=p[1],n("NOWDOC")}},{value:t.Constants.T_START_HEREDOC,re:new RegExp('^[bB]?<<<[ \\t]*("?)('+c+")\\1(?:\\r\\n|\\r|\\n)"),func:function(p){e=p[2],o=!0,n("HEREDOC")}},{value:t.Constants.T_SL,re:/^<</},{value:t.Constants.T_SPACESHIP,re:/^<=>/},{value:t.Constants.T_IS_SMALLER_OR_EQUAL,re:/^<=/},{value:t.Constants.T_SR_EQUAL,re:/^>>=/},{value:t.Constants.T_SR,re:/^>>/},{value:t.Constants.T_IS_GREATER_OR_EQUAL,re:/^>=/},{value:t.Constants.T_OR_EQUAL,re:/^\|=/},{value:t.Constants.T_PLUS_EQUAL,re:/^\+=/},{value:t.Constants.T_MINUS_EQUAL,re:/^-=/},{value:t.Constants.T_OBJECT_OPERATOR,re:new RegExp(`^->(?=[
|
|
8
|
+
\r ]*`+c+")"),func:function(){i("LOOKING_FOR_PROPERTY")}},{value:t.Constants.T_OBJECT_OPERATOR,re:/^->/i},{value:t.Constants.T_ELLIPSIS,re:/^\.\.\./},{value:t.Constants.T_POW_EQUAL,re:/^\*\*=/},{value:t.Constants.T_POW,re:/^\*\*/},{value:t.Constants.T_COALESCE_EQUAL,re:/^\?\?=/},{value:t.Constants.T_COALESCE,re:/^\?\?/},{value:t.Constants.T_NULLSAFE_OBJECT_OPERATOR,re:/^\?->/},{value:t.Constants.T_NAME_FULLY_QUALIFIED,re:/^\\\w+(?:\\\w+)*/},{value:t.Constants.T_NAME_QUALIFIED,re:/^\w+\\\w+(?:\\\w+)*/},{value:t.Constants.T_NAME_RELATIVE,re:/^namespace\\\w+(?:\\\w+)*/},{value:t.Constants.T_NAMESPACE,re:/^namespace\b/i},{value:t.Constants.T_ATTRIBUTE,re:/^#\[([\S\s]*?)]/},{value:t.Constants.T_COMMENT,re:/^\/\*([\S\s]*?)(?:\*\/|$)/},{value:t.Constants.T_COMMENT,re:/^(?:\/\/|#)[^\r\n?]*(?:\?(?!>)[^\r\n?]*)*(?:\r\n|\r|\n)?/},{value:t.Constants.T_IS_IDENTICAL,re:/^===/},{value:t.Constants.T_IS_EQUAL,re:/^==/},{value:t.Constants.T_IS_NOT_IDENTICAL,re:/^!==/},{value:t.Constants.T_IS_NOT_EQUAL,re:/^(!=|<>)/},{value:t.Constants.T_DNUMBER,re:/^(?:[0-9]+\.[0-9]*|\.[0-9]+)(?:[eE][+-]?[0-9]+)?/},{value:t.Constants.T_DNUMBER,re:/^[0-9]+[eE][+-]?[0-9]+/},{value:t.Constants.T_LNUMBER,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:t.Constants.T_VARIABLE,re:new RegExp("^\\$"+c)},{value:t.Constants.T_CONSTANT_ENCAPSED_STRING,re:/^[bB]?'[^'\\]*(?:\\[\s\S][^'\\]*)*'/},{value:t.Constants.T_CONSTANT_ENCAPSED_STRING,re:new RegExp('^[bB]?"'+I('"')+'"')},{value:-1,re:/^[bB]?"/,func:function(){n("DOUBLE_QUOTES")}},{value:-1,re:/^`/,func:function(){n("BACKTICKS")}},{value:t.Constants.T_NS_SEPARATOR,re:/^\\/},{value:t.Constants.T_STRING,re:/^[a-zA-Z_\x7f-\uffff][a-zA-Z0-9_\x7f-\uffff]*/},{value:-1,re:/^\{/,func:function(){i("IN_SCRIPTING")}},{value:-1,re:/^\}/,func:function(){_>0&&u()}},{value:-1,re:/^[\[\];:?()!.,><=+-/*|&@^%"'$~]/}],DOUBLE_QUOTES:P.concat([{value:-1,re:/^"/,func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+I('"'))}]),BACKTICKS:P.concat([{value:-1,re:/^`/,func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+I("`"))}]),VAR_OFFSET:[{value:-1,re:/^\]/,func:function(){u()}},{value:t.Constants.T_NUM_STRING,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:t.Constants.T_VARIABLE,re:new RegExp("^\\$"+c)},{value:t.Constants.T_STRING,re:new RegExp("^"+c)},{value:-1,re:/^[;:,.\[()|^&+-/*=%!~$<>?@{}"`]/}],LOOKING_FOR_PROPERTY:[{value:t.Constants.T_OBJECT_OPERATOR,re:/^->/},{value:t.Constants.T_STRING,re:new RegExp("^"+c),func:function(){u()}},{value:t.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/}],LOOKING_FOR_VARNAME:[{value:t.Constants.T_STRING_VARNAME,re:new RegExp("^"+c+"(?=[\\[}])"),func:function(){n("IN_SCRIPTING")}}],NOWDOC:[{value:t.Constants.T_END_HEREDOC,matchFunc:function(p){var h=new RegExp("^"+e+"(?=;?[\\r\\n])");return p.match(h)?[p.substr(0,e.length)]:null},func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(p){var h=new RegExp("[\\r\\n]"+e+"(?=;?[\\r\\n])"),N=h.exec(p),O=N?N.index+1:p.length;return[p.substring(0,O)]}}],HEREDOC:P.concat([{value:t.Constants.T_END_HEREDOC,matchFunc:function(p){if(!o)return null;var h=new RegExp("^"+e+"(?=;?[\\r\\n])");return p.match(h)?[p.substr(0,e.length)]:null},func:function(){n("IN_SCRIPTING")}},{value:t.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(p){var h=p.length,N=new RegExp("^"+I("")),O=N.exec(p);return O&&(h=O[0].length),N=new RegExp("([\\r\\n])"+e+"(?=;?[\\r\\n])"),O=N.exec(p.substring(0,h)),O?(h=O.index+1,o=!0):o=!1,h==0?null:[p.substring(0,h)]}}])},S=[],v=1,f=!0;if(s===null)return S;for(typeof s!="string"&&(s=s.toString());s.length>0&&f===!0;){var g=a[_],C=y[g];f=C.some(function(p){var h=p.matchFunc!==void 0?p.matchFunc(s):s.match(p.re);if(h!==null){if(h[0].length==0)throw new Error("empty match");if(p.func!==void 0&&p.func(h),p.value===-1)S.push(h[0]);else{var N=h[0];S.push([parseInt(p.value,10),N,v]),v+=N.split(`
|
|
9
|
+
`).length-1}return s=s.substring(h[0].length),!0}return!1})}return S},t.Parser=function(s,r){var e=this.yybase,o=this.yydefault,a=this.yycheck,_=this.yyaction,n=this.yylen,i=this.yygbase,u=this.yygcheck,l=this.yyp,A=this.yygoto,R=this.yylhs,c=this.terminals,I=this.translate,P=this.yygdefault;this.pos=-1,this.line=1,this.tokenMap=this.createTokenMap(),this.dropTokens={},this.dropTokens[t.Constants.T_WHITESPACE]=1,this.dropTokens[t.Constants.T_OPEN_TAG]=1;var y=[];s.forEach(function(m,M){typeof m=="object"&&m[0]===t.Constants.T_OPEN_TAG_WITH_ECHO?(y.push([t.Constants.T_OPEN_TAG,m[1],m[2]]),y.push([t.Constants.T_ECHO,m[1],m[2]])):y.push(m)}),this.tokens=y;var S=this.TOKEN_NONE;this.startAttributes={startLine:1},this.endAttributes={};var v=[this.startAttributes],f=0,g=[f];this.yyastk=[],this.stackPos=0;for(var C,p;;){if(e[f]===0)C=o[f];else if(S===this.TOKEN_NONE&&(p=this.getNextToken(),S=p>=0&&p<this.TOKEN_MAP_SIZE?I[p]:this.TOKEN_INVALID,v[this.stackPos]=this.startAttributes),((C=e[f]+S)>=0&&C<this.YYLAST&&a[C]===S||f<this.YY2TBLSTATE&&(C=e[f+this.YYNLSTATES]+S)>=0&&C<this.YYLAST&&a[C]===S)&&(C=_[C])!==this.YYDEFAULT)if(C>0){if(++this.stackPos,g[this.stackPos]=f=C,this.yyastk[this.stackPos]=this.tokenValue,v[this.stackPos]=this.startAttributes,S=this.TOKEN_NONE,C<this.YYNLSTATES)continue;C-=this.YYNLSTATES}else C=-C;else C=o[f];for(;;){if(C===0)return this.yyval;if(C!==this.YYUNEXPECTED){for(var h in this.endAttributes)v[this.stackPos-n[C]][h]=this.endAttributes[h];this.stackPos-=n[C],C=R[C],(l=i[C]+g[this.stackPos])>=0&&l<this.YYGLAST&&u[l]===C?f=A[l]:f=P[C],++this.stackPos,g[this.stackPos]=f,this.yyastk[this.stackPos]=this.yyval,v[this.stackPos]=this.startAttributes}else if(r!==!0){for(var N=[],O=0;O<this.TOKEN_MAP_SIZE;++O)if(((C=e[f]+O)>=0&&C<this.YYLAST&&a[C]==O||f<this.YY2TBLSTATE&&(C=e[f+this.YYNLSTATES]+O)&&C<this.YYLAST&&a[C]==O)&&_[C]!=this.YYUNEXPECTED){if(N.length==4){N=[];break}N.push(this.terminals[O])}var d="";throw N.length&&(d=", expecting "+N.join(" or ")),new t.ParseError("syntax error, unexpected "+c[S]+d,this.startAttributes.startLine)}else return this.startAttributes.startLine;if(f<this.YYNLSTATES)break;C=f-this.YYNLSTATES}}},t.ParseError=function(s,r){this.message=s,this.line=r},t.Parser.prototype.getNextToken=function(){this.startAttributes={},this.endAttributes={};for(var s,r;this.tokens[++this.pos]!==void 0;){if(s=this.tokens[this.pos],typeof s=="string")return this.startAttributes.startLine=this.line,this.endAttributes.endLine=this.line,s==='b"'?(this.tokenValue='b"',34):(this.tokenValue=s,s.charCodeAt(0));if(this.line+=(r=s[1].match(/\n/g))===null?0:r.length,t.Constants.T_COMMENT===s[0])Array.isArray(this.startAttributes.comments)||(this.startAttributes.comments=[]),this.startAttributes.comments.push({type:"comment",comment:s[1],line:s[2]});else if(t.Constants.T_ATTRIBUTE===s[0])this.tokenValue=s[1],this.startAttributes.startLine=s[2],this.endAttributes.endLine=this.line;else if(t.Constants.T_DOC_COMMENT===s[0])this.startAttributes.comments.push(new PHPParser_Comment_Doc(s[1],s[2]));else if(this.dropTokens[s[0]]===void 0)return this.tokenValue=s[1],this.startAttributes.startLine=s[2],this.endAttributes.endLine=this.line,this.tokenMap[s[0]]}return this.startAttributes.startLine=this.line,0},t.Parser.prototype.tokenName=function(s){var r=["T_THROW","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_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG","T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG","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_MATCH","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_READONLY","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_ENUM","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_NULLSAFE_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_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","T_NAME_FULLY_QUALIFIED","T_NAME_QUALIFIED","T_NAME_RELATIVE","T_ATTRIBUTE","T_ENUM","T_BAD_CHARACTER","T_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE"],e="UNKNOWN";return r.some(function(o){return t.Constants[o]===s?(e=o,!0):!1}),e},t.Parser.prototype.createTokenMap=function(){var s={},r,e;for(e=256;e<1e3;++e)t.Constants.T_OPEN_TAG_WITH_ECHO===e?s[e]=t.Constants.T_ECHO:t.Constants.T_CLOSE_TAG===e?s[e]=59:(r=this.tokenName(e))!=="UNKNOWN"&&(s[e]=this[r]);return s},t.Parser.prototype.TOKEN_NONE=-1,t.Parser.prototype.TOKEN_INVALID=175,t.Parser.prototype.TOKEN_MAP_SIZE=403,t.Parser.prototype.YYLAST=1196,t.Parser.prototype.YY2TBLSTATE=420,t.Parser.prototype.YYGLAST=545,t.Parser.prototype.YYNLSTATES=710,t.Parser.prototype.YYUNEXPECTED=32767,t.Parser.prototype.YYDEFAULT=-32766,t.Parser.prototype.YYERRTOK=256,t.Parser.prototype.T_THROW=257,t.Parser.prototype.T_INCLUDE=258,t.Parser.prototype.T_INCLUDE_ONCE=259,t.Parser.prototype.T_EVAL=260,t.Parser.prototype.T_REQUIRE=261,t.Parser.prototype.T_REQUIRE_ONCE=262,t.Parser.prototype.T_LOGICAL_OR=263,t.Parser.prototype.T_LOGICAL_XOR=264,t.Parser.prototype.T_LOGICAL_AND=265,t.Parser.prototype.T_PRINT=266,t.Parser.prototype.T_YIELD=267,t.Parser.prototype.T_DOUBLE_ARROW=268,t.Parser.prototype.T_YIELD_FROM=269,t.Parser.prototype.T_PLUS_EQUAL=270,t.Parser.prototype.T_MINUS_EQUAL=271,t.Parser.prototype.T_MUL_EQUAL=272,t.Parser.prototype.T_DIV_EQUAL=273,t.Parser.prototype.T_CONCAT_EQUAL=274,t.Parser.prototype.T_MOD_EQUAL=275,t.Parser.prototype.T_AND_EQUAL=276,t.Parser.prototype.T_OR_EQUAL=277,t.Parser.prototype.T_XOR_EQUAL=278,t.Parser.prototype.T_SL_EQUAL=279,t.Parser.prototype.T_SR_EQUAL=280,t.Parser.prototype.T_POW_EQUAL=281,t.Parser.prototype.T_COALESCE_EQUAL=282,t.Parser.prototype.T_COALESCE=283,t.Parser.prototype.T_BOOLEAN_OR=284,t.Parser.prototype.T_BOOLEAN_AND=285,t.Parser.prototype.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG=286,t.Parser.prototype.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG=287,t.Parser.prototype.T_IS_EQUAL=288,t.Parser.prototype.T_IS_NOT_EQUAL=289,t.Parser.prototype.T_IS_IDENTICAL=290,t.Parser.prototype.T_IS_NOT_IDENTICAL=291,t.Parser.prototype.T_SPACESHIP=292,t.Parser.prototype.T_IS_SMALLER_OR_EQUAL=293,t.Parser.prototype.T_IS_GREATER_OR_EQUAL=294,t.Parser.prototype.T_SL=295,t.Parser.prototype.T_SR=296,t.Parser.prototype.T_INSTANCEOF=297,t.Parser.prototype.T_INC=298,t.Parser.prototype.T_DEC=299,t.Parser.prototype.T_INT_CAST=300,t.Parser.prototype.T_DOUBLE_CAST=301,t.Parser.prototype.T_STRING_CAST=302,t.Parser.prototype.T_ARRAY_CAST=303,t.Parser.prototype.T_OBJECT_CAST=304,t.Parser.prototype.T_BOOL_CAST=305,t.Parser.prototype.T_UNSET_CAST=306,t.Parser.prototype.T_POW=307,t.Parser.prototype.T_NEW=308,t.Parser.prototype.T_CLONE=309,t.Parser.prototype.T_EXIT=310,t.Parser.prototype.T_IF=311,t.Parser.prototype.T_ELSEIF=312,t.Parser.prototype.T_ELSE=313,t.Parser.prototype.T_ENDIF=314,t.Parser.prototype.T_LNUMBER=315,t.Parser.prototype.T_DNUMBER=316,t.Parser.prototype.T_STRING=317,t.Parser.prototype.T_STRING_VARNAME=318,t.Parser.prototype.T_VARIABLE=319,t.Parser.prototype.T_NUM_STRING=320,t.Parser.prototype.T_INLINE_HTML=321,t.Parser.prototype.T_ENCAPSED_AND_WHITESPACE=322,t.Parser.prototype.T_CONSTANT_ENCAPSED_STRING=323,t.Parser.prototype.T_ECHO=324,t.Parser.prototype.T_DO=325,t.Parser.prototype.T_WHILE=326,t.Parser.prototype.T_ENDWHILE=327,t.Parser.prototype.T_FOR=328,t.Parser.prototype.T_ENDFOR=329,t.Parser.prototype.T_FOREACH=330,t.Parser.prototype.T_ENDFOREACH=331,t.Parser.prototype.T_DECLARE=332,t.Parser.prototype.T_ENDDECLARE=333,t.Parser.prototype.T_AS=334,t.Parser.prototype.T_SWITCH=335,t.Parser.prototype.T_MATCH=336,t.Parser.prototype.T_ENDSWITCH=337,t.Parser.prototype.T_CASE=338,t.Parser.prototype.T_DEFAULT=339,t.Parser.prototype.T_BREAK=340,t.Parser.prototype.T_CONTINUE=341,t.Parser.prototype.T_GOTO=342,t.Parser.prototype.T_FUNCTION=343,t.Parser.prototype.T_FN=344,t.Parser.prototype.T_CONST=345,t.Parser.prototype.T_RETURN=346,t.Parser.prototype.T_TRY=347,t.Parser.prototype.T_CATCH=348,t.Parser.prototype.T_FINALLY=349,t.Parser.prototype.T_USE=350,t.Parser.prototype.T_INSTEADOF=351,t.Parser.prototype.T_GLOBAL=352,t.Parser.prototype.T_STATIC=353,t.Parser.prototype.T_ABSTRACT=354,t.Parser.prototype.T_FINAL=355,t.Parser.prototype.T_PRIVATE=356,t.Parser.prototype.T_PROTECTED=357,t.Parser.prototype.T_PUBLIC=358,t.Parser.prototype.T_READONLY=359,t.Parser.prototype.T_VAR=360,t.Parser.prototype.T_UNSET=361,t.Parser.prototype.T_ISSET=362,t.Parser.prototype.T_EMPTY=363,t.Parser.prototype.T_HALT_COMPILER=364,t.Parser.prototype.T_CLASS=365,t.Parser.prototype.T_TRAIT=366,t.Parser.prototype.T_INTERFACE=367,t.Parser.prototype.T_ENUM=368,t.Parser.prototype.T_EXTENDS=369,t.Parser.prototype.T_IMPLEMENTS=370,t.Parser.prototype.T_OBJECT_OPERATOR=371,t.Parser.prototype.T_NULLSAFE_OBJECT_OPERATOR=372,t.Parser.prototype.T_LIST=373,t.Parser.prototype.T_ARRAY=374,t.Parser.prototype.T_CALLABLE=375,t.Parser.prototype.T_CLASS_C=376,t.Parser.prototype.T_TRAIT_C=377,t.Parser.prototype.T_METHOD_C=378,t.Parser.prototype.T_FUNC_C=379,t.Parser.prototype.T_LINE=380,t.Parser.prototype.T_FILE=381,t.Parser.prototype.T_START_HEREDOC=382,t.Parser.prototype.T_END_HEREDOC=383,t.Parser.prototype.T_DOLLAR_OPEN_CURLY_BRACES=384,t.Parser.prototype.T_CURLY_OPEN=385,t.Parser.prototype.T_PAAMAYIM_NEKUDOTAYIM=386,t.Parser.prototype.T_NAMESPACE=387,t.Parser.prototype.T_NS_C=388,t.Parser.prototype.T_DIR=389,t.Parser.prototype.T_NS_SEPARATOR=390,t.Parser.prototype.T_ELLIPSIS=391,t.Parser.prototype.T_NAME_FULLY_QUALIFIED=392,t.Parser.prototype.T_NAME_QUALIFIED=393,t.Parser.prototype.T_NAME_RELATIVE=394,t.Parser.prototype.T_ATTRIBUTE=395,t.Parser.prototype.T_BAD_CHARACTER=396,t.Parser.prototype.T_COMMENT=397,t.Parser.prototype.T_DOC_COMMENT=398,t.Parser.prototype.T_OPEN_TAG=399,t.Parser.prototype.T_OPEN_TAG_WITH_ECHO=400,t.Parser.prototype.T_CLOSE_TAG=401,t.Parser.prototype.T_WHITESPACE=402,t.Parser.prototype.terminals=["EOF","error","T_THROW","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_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG","T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG","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_MATCH","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_USE","T_INSTEADOF","T_GLOBAL","T_STATIC","T_ABSTRACT","T_FINAL","T_PRIVATE","T_PROTECTED","T_PUBLIC","T_READONLY","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_ENUM","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_NULLSAFE_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","T_NAME_FULLY_QUALIFIED","T_NAME_QUALIFIED","T_NAME_RELATIVE","T_ATTRIBUTE","';'","']'","'{'","'}'","'('","')'","'`'",`'"'`,"'$'","T_BAD_CHARACTER","T_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE","???"],t.Parser.prototype.translate=[0,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,56,166,175,167,55,175,175,163,164,53,50,8,51,52,54,175,175,175,175,175,175,175,175,175,175,31,159,44,16,46,30,68,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,70,175,160,36,175,165,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,161,35,162,58,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,2,3,4,5,6,7,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,37,38,39,40,41,42,43,45,47,48,49,57,59,60,61,62,63,64,65,66,67,69,71,72,73,74,75,76,77,78,79,80,81,82,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,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,168,169,170,171,172,173,174],t.Parser.prototype.yyaction=[132,133,134,569,135,136,0,722,723,724,137,37,834,911,835,469,-32766,-32766,-32766,-32767,-32767,-32767,-32767,101,102,103,104,105,1068,1069,1070,1067,1066,1065,1071,716,715,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,545,546,-32766,-32766,725,-32766,-32766,-32766,998,999,806,922,447,448,449,370,371,2,267,138,396,729,730,731,732,414,-32766,420,-32766,-32766,-32766,-32766,-32766,990,733,734,735,736,737,738,739,740,741,742,743,763,570,764,765,766,767,755,756,336,337,758,759,744,745,746,748,749,750,346,790,791,792,793,794,795,751,752,571,572,784,775,773,774,787,770,771,283,420,573,574,769,575,576,577,578,579,580,598,-575,470,14,798,772,581,582,-575,139,-32766,-32766,-32766,132,133,134,569,135,136,1017,722,723,724,137,37,1060,-32766,-32766,-32766,1303,696,-32766,1304,-32766,-32766,-32766,-32766,-32766,-32766,-32766,1068,1069,1070,1067,1066,1065,1071,-32766,716,715,372,371,1258,-32766,-32766,-32766,-572,106,107,108,414,270,891,-572,240,1193,1192,1194,725,-32766,-32766,-32766,1046,109,-32766,-32766,-32766,-32766,986,985,984,987,267,138,396,729,730,731,732,12,-32766,420,-32766,-32766,-32766,-32766,998,999,733,734,735,736,737,738,739,740,741,742,743,763,570,764,765,766,767,755,756,336,337,758,759,744,745,746,748,749,750,346,790,791,792,793,794,795,751,752,571,572,784,775,773,774,787,770,771,881,321,573,574,769,575,576,577,578,579,580,-32766,82,83,84,-575,772,581,582,-575,148,747,717,718,719,720,721,1278,722,723,724,760,761,36,1277,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,996,270,150,-32766,-32766,-32766,455,456,81,34,-264,-572,1016,109,320,-572,893,725,682,803,128,998,999,592,-32766,1044,-32766,-32766,-32766,809,151,726,727,728,729,730,731,732,-88,1198,796,278,-526,283,-32766,-32766,-32766,733,734,735,736,737,738,739,740,741,742,743,763,786,764,765,766,767,755,756,757,785,758,759,744,745,746,748,749,750,789,790,791,792,793,794,795,751,752,753,754,784,775,773,774,787,770,771,144,804,762,768,769,776,777,779,778,780,781,-314,-526,-526,-193,-192,772,783,782,49,50,51,500,52,53,239,807,-526,-86,54,55,-111,56,996,253,-32766,-111,800,-111,-526,541,-532,-352,300,-352,304,-111,-111,-111,-111,-111,-111,-111,-111,998,999,998,999,153,-32766,-32766,-32766,1191,807,126,306,1293,57,58,103,104,105,-111,59,1218,60,246,247,61,62,63,64,65,66,67,68,-525,27,268,69,436,501,-328,808,-86,1224,1225,502,1189,807,1198,1230,293,1222,41,24,503,74,504,953,505,320,506,802,154,507,508,279,684,280,43,44,437,367,366,891,45,509,35,249,-16,-566,358,332,318,-566,1198,1193,1192,1194,-527,510,511,512,333,-524,1274,48,716,715,-525,-525,334,513,514,807,1212,1213,1214,1215,1209,1210,292,360,284,-525,285,-314,1216,1211,-193,-192,1193,1192,1194,293,891,-525,364,-531,70,807,316,317,320,31,110,111,112,113,114,115,116,117,118,119,120,121,122,-153,-153,-153,638,25,-527,-527,687,379,881,-524,-524,296,297,891,-153,432,-153,807,-153,-527,-153,716,715,433,-524,798,363,-111,1105,1107,365,-527,434,891,140,435,-524,954,127,-524,320,-111,-111,688,813,381,-529,11,834,155,835,867,-111,-111,-111,-111,47,293,-32766,881,654,655,74,689,1191,1045,320,708,149,399,157,-32766,-32766,-32766,32,-32766,-79,-32766,123,-32766,716,715,-32766,893,891,682,-153,-32766,-32766,-32766,716,715,891,-32766,-32766,124,881,129,74,-32766,411,130,320,-524,-524,143,141,-75,-32766,158,-529,-529,320,27,691,159,881,160,-524,161,294,295,698,368,369,807,-73,-32766,-72,1222,-524,373,374,1191,893,-71,682,-529,73,-70,-32766,-32766,-32766,-69,-32766,-68,-32766,125,-32766,630,631,-32766,-67,-66,-47,-51,-32766,-32766,-32766,-18,147,271,-32766,-32766,277,697,700,881,-32766,411,890,893,146,682,282,881,907,-32766,281,513,514,286,1212,1213,1214,1215,1209,1210,326,131,145,939,287,682,1216,1211,109,270,-32766,798,807,-32766,662,639,1191,657,72,675,1075,317,320,-32766,-32766,-32766,1305,-32766,301,-32766,628,-32766,431,543,-32766,-32766,923,555,924,-32766,-32766,-32766,1229,549,-32766,-32766,-32766,-4,891,-490,1191,-32766,411,644,893,299,682,-32766,-32766,-32766,-32766,-32766,893,-32766,682,-32766,13,1231,-32766,452,480,645,909,-32766,-32766,-32766,-32766,658,-480,-32766,-32766,0,1191,0,0,-32766,411,0,298,-32766,-32766,-32766,305,-32766,-32766,-32766,0,-32766,0,806,-32766,0,0,0,475,-32766,-32766,-32766,-32766,0,7,-32766,-32766,16,1191,561,596,-32766,411,1219,891,-32766,-32766,-32766,362,-32766,-32766,-32766,818,-32766,-267,881,-32766,39,293,0,0,-32766,-32766,-32766,40,705,706,-32766,-32766,872,963,940,947,-32766,411,937,948,365,870,427,891,935,-32766,1049,291,1244,1052,1053,-111,-111,1050,1051,1057,-560,1262,1296,633,0,826,-111,-111,-111,-111,33,315,-32766,361,683,686,690,692,1191,693,694,695,699,685,320,-32766,-32766,-32766,9,-32766,702,-32766,868,-32766,881,1300,-32766,893,1302,682,-4,-32766,-32766,-32766,829,828,837,-32766,-32766,916,-242,-242,-242,-32766,411,955,365,27,836,1301,915,917,-32766,914,1177,900,910,-111,-111,807,881,898,945,1222,946,1299,1256,867,-111,-111,-111,-111,1245,1263,1269,1272,-241,-241,-241,-558,-532,-531,365,-530,1,28,29,38,42,46,71,0,75,-111,-111,76,77,78,79,893,80,682,-242,867,-111,-111,-111,-111,142,152,156,245,322,347,514,348,1212,1213,1214,1215,1209,1210,349,350,351,352,353,354,1216,1211,355,356,357,359,428,893,-265,682,-241,-264,72,0,18,317,320,19,20,21,23,398,471,472,479,482,483,484,485,489,490,491,498,669,1202,1145,1220,1019,1018,1181,-269,-103,17,22,26,290,397,589,593,620,674,1149,1197,1146,1275,0,-494,1162,0,1223],t.Parser.prototype.yycheck=[2,3,4,5,6,7,0,9,10,11,12,13,106,1,108,31,9,10,11,44,45,46,47,48,49,50,51,52,116,117,118,119,120,121,122,37,38,30,116,32,33,34,35,36,37,38,39,40,41,42,43,117,118,9,10,57,9,10,11,137,138,155,128,129,130,131,106,107,8,71,72,73,74,75,76,77,116,30,80,32,33,34,35,36,1,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,30,80,136,137,138,139,140,141,142,143,144,51,1,161,101,80,150,151,152,8,154,9,10,11,2,3,4,5,6,7,164,9,10,11,12,13,123,9,10,11,80,161,30,83,32,33,34,35,36,37,38,116,117,118,119,120,121,122,30,37,38,106,107,1,9,10,11,1,53,54,55,116,57,1,8,14,155,156,157,57,9,10,11,162,69,30,116,32,33,119,120,121,122,71,72,73,74,75,76,77,8,30,80,32,33,34,35,137,138,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,84,70,136,137,138,139,140,141,142,143,144,9,9,10,11,160,150,151,152,164,154,2,3,4,5,6,7,1,9,10,11,12,13,30,8,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,116,57,14,9,10,11,134,135,161,8,164,160,1,69,167,164,159,57,161,80,8,137,138,1,30,1,32,33,34,1,14,71,72,73,74,75,76,77,31,1,80,30,70,30,9,10,11,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,8,156,136,137,138,139,140,141,142,143,144,8,134,135,8,8,150,151,152,2,3,4,5,6,7,97,82,149,31,12,13,101,15,116,8,116,106,80,108,161,85,163,106,113,108,8,116,117,118,119,120,121,122,123,137,138,137,138,14,9,10,11,80,82,14,8,85,50,51,50,51,52,128,56,1,58,59,60,61,62,63,64,65,66,67,68,70,70,71,72,73,74,162,159,97,78,79,80,116,82,1,146,158,86,87,88,89,163,91,31,93,167,95,156,14,98,99,35,161,37,103,104,105,106,107,1,109,110,147,148,31,160,115,116,8,164,1,155,156,157,70,124,125,126,8,70,1,70,37,38,134,135,8,136,137,82,139,140,141,142,143,144,145,8,35,149,37,164,151,152,164,164,155,156,157,158,1,161,8,163,163,82,165,166,167,16,17,18,19,20,21,22,23,24,25,26,27,28,29,75,76,77,75,76,134,135,31,8,84,134,135,134,135,1,90,8,92,82,94,149,96,37,38,8,149,80,149,128,59,60,106,161,8,1,161,8,161,159,161,70,167,117,118,31,8,106,70,108,106,14,108,127,128,129,130,131,70,158,74,84,75,76,163,31,80,159,167,161,101,102,14,87,88,89,14,91,31,93,16,95,37,38,98,159,1,161,162,103,104,105,37,38,1,109,110,16,84,16,163,115,116,16,167,134,135,16,161,31,124,16,134,135,167,70,31,16,84,16,149,16,134,135,31,106,107,82,31,74,31,86,161,106,107,80,159,31,161,161,154,31,87,88,89,31,91,31,93,161,95,111,112,98,31,31,31,31,103,104,105,31,31,31,109,110,31,31,31,84,115,116,31,159,31,161,37,84,38,124,35,136,137,35,139,140,141,142,143,144,35,31,70,159,37,161,151,152,69,57,74,80,82,85,77,90,80,94,163,92,82,166,167,87,88,89,83,91,114,93,113,95,128,85,98,116,128,153,128,103,104,105,146,89,74,109,110,0,1,149,80,115,116,96,159,133,161,87,88,89,124,91,159,93,161,95,97,146,98,97,97,100,154,103,104,105,74,100,149,109,110,-1,80,-1,-1,115,116,-1,132,87,88,89,132,91,124,93,-1,95,-1,155,98,-1,-1,-1,102,103,104,105,74,-1,149,109,110,149,80,81,153,115,116,160,1,87,88,89,149,91,124,93,160,95,164,84,98,159,158,-1,-1,103,104,105,159,159,159,109,110,159,159,159,159,115,116,159,159,106,159,108,1,159,124,159,113,160,159,159,117,118,159,159,159,163,160,160,160,-1,127,128,129,130,131,161,161,74,161,161,161,161,161,80,161,161,161,161,161,167,87,88,89,150,91,162,93,162,95,84,162,98,159,162,161,162,103,104,105,162,162,162,109,110,162,100,101,102,115,116,162,106,70,162,162,162,162,124,162,162,162,162,117,118,82,84,162,162,86,162,162,162,127,128,129,130,131,162,162,162,162,100,101,102,163,163,163,106,163,163,163,163,163,163,163,163,-1,163,117,118,163,163,163,163,159,163,161,162,127,128,129,130,131,163,163,163,163,163,163,137,163,139,140,141,142,143,144,163,163,163,163,163,163,151,152,163,163,163,163,163,159,164,161,162,164,163,-1,164,166,167,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,-1,165,165,-1,166],t.Parser.prototype.yybase=[0,-2,154,565,876,948,984,514,53,398,837,307,307,67,307,307,307,653,724,724,732,724,616,673,204,204,204,625,625,625,625,694,694,831,831,863,799,765,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,375,519,369,701,1017,1023,1019,1024,1015,1014,1018,1020,1025,911,912,782,918,919,920,921,1021,841,1016,1022,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,290,491,44,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,160,160,160,187,684,684,341,203,610,47,985,985,985,985,985,985,985,985,985,985,144,144,7,7,7,7,7,371,-25,-25,-25,-25,540,385,102,576,358,45,377,460,460,360,231,231,231,231,231,231,-78,-78,-78,-78,-78,-66,319,457,-94,396,423,586,586,586,586,423,423,423,423,750,1029,423,423,423,511,516,516,518,147,147,147,516,583,777,422,583,422,194,92,748,-40,87,412,748,617,627,198,143,773,658,773,1013,757,764,717,838,860,1026,800,908,806,910,219,686,1012,1012,1012,1012,1012,1012,1012,1012,1012,1012,1012,855,552,1013,286,855,855,855,552,552,552,552,552,552,552,552,552,552,679,286,568,626,286,794,552,375,758,375,375,375,375,958,375,375,375,375,375,375,970,769,-16,375,519,12,12,547,83,12,12,12,12,375,375,375,658,781,713,666,792,448,781,781,781,438,444,193,447,570,523,580,760,760,767,929,929,760,759,760,767,934,760,929,805,359,648,577,611,656,929,478,760,760,760,760,665,760,467,433,760,760,785,774,789,60,929,929,929,789,596,751,751,751,811,812,746,771,567,498,677,348,779,771,771,760,640,746,771,746,771,747,771,771,771,746,771,759,585,771,734,668,224,771,6,935,937,354,940,932,941,979,942,943,851,956,933,945,931,930,780,703,720,790,729,928,768,768,768,925,768,768,768,768,768,768,768,768,703,788,804,733,783,960,722,726,725,868,1027,1028,737,739,958,1006,953,803,730,992,967,866,848,968,969,993,1007,1008,871,761,874,880,797,971,852,768,935,943,933,945,931,930,763,762,753,755,749,745,736,738,770,1009,924,835,830,970,926,703,839,986,847,994,995,850,801,772,840,881,972,975,976,853,1010,810,989,795,996,802,882,997,998,999,1e3,885,854,856,857,815,754,980,786,891,335,787,796,978,363,957,858,894,895,1001,1002,1003,896,954,816,990,752,991,983,817,818,485,784,778,541,676,897,899,900,955,775,766,821,822,1011,901,697,824,740,902,1005,742,744,756,859,793,743,798,977,776,827,907,829,832,833,1004,836,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,0,0,458,458,458,458,458,458,307,307,307,307,0,0,307,0,0,0,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,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,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,423,423,291,291,0,291,423,423,423,423,423,423,423,423,423,423,291,291,291,291,291,291,291,805,147,147,147,147,423,423,423,423,423,-88,-88,147,147,423,423,423,423,423,423,423,423,423,423,423,423,0,0,0,286,422,0,759,759,759,759,0,0,0,0,422,422,0,0,0,0,0,0,0,0,0,0,0,286,422,0,286,0,759,759,423,805,805,314,423,0,0,0,0,286,759,286,552,422,552,552,12,375,314,608,608,608,608,0,658,805,805,805,805,805,805,805,805,805,805,805,759,0,805,0,759,759,759,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,759,0,0,929,0,0,0,0,760,0,0,0,0,0,0,760,934,0,0,0,0,0,0,759,0,0,0,0,0,0,0,0,768,801,0,801,0,768,768,768],t.Parser.prototype.yydefault=[3,32767,103,32767,32767,32767,32767,32767,32767,32767,32767,32767,101,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,578,578,578,578,32767,32767,246,103,32767,32767,454,372,372,372,32767,32767,522,522,522,522,522,522,32767,32767,32767,32767,32767,32767,454,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,32767,32767,101,32767,32767,32767,37,7,8,10,11,50,17,310,32767,32767,32767,32767,103,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,571,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,458,437,438,440,441,371,523,577,313,574,370,146,325,315,234,316,250,459,251,460,463,464,211,279,367,150,401,455,403,453,457,402,377,382,383,384,385,386,387,388,389,390,391,392,393,394,375,376,456,434,433,432,399,32767,32767,400,404,374,407,32767,32767,32767,32767,32767,32767,32767,32767,103,32767,405,406,423,424,421,422,425,32767,426,427,428,429,32767,32767,302,32767,32767,351,349,414,415,302,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,516,431,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,103,32767,101,518,396,398,486,409,410,408,378,32767,493,32767,103,495,32767,32767,32767,112,32767,32767,32767,517,32767,524,524,32767,479,101,194,32767,194,194,32767,32767,32767,32767,32767,32767,32767,585,479,111,111,111,111,111,111,111,111,111,111,111,32767,194,111,32767,32767,32767,101,194,194,194,194,194,194,194,194,194,194,189,32767,260,262,103,539,194,32767,498,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,491,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,479,419,139,32767,139,524,411,412,413,481,524,524,524,298,281,32767,32767,32767,32767,496,496,101,101,101,101,491,32767,32767,112,100,100,100,100,100,104,102,32767,32767,32767,32767,100,32767,102,102,32767,32767,217,208,215,102,32767,543,544,215,102,219,219,219,239,239,470,304,102,100,102,102,196,304,304,32767,102,470,304,470,304,198,304,304,304,470,304,32767,102,304,210,100,100,304,32767,32767,32767,481,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,511,32767,528,541,417,418,420,526,442,443,444,445,446,447,448,450,573,32767,485,32767,32767,32767,32767,324,583,32767,583,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,584,32767,524,32767,32767,32767,32767,416,9,76,43,44,52,58,502,503,504,505,499,500,506,501,32767,32767,507,549,32767,32767,525,576,32767,32767,32767,32767,32767,32767,139,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,511,32767,137,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,524,32767,32767,32767,300,301,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,524,32767,32767,32767,283,284,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,278,32767,32767,366,32767,32767,32767,32767,345,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,152,152,3,3,327,152,152,152,327,152,327,327,327,152,152,152,152,152,152,272,184,254,257,239,239,152,337,152],t.Parser.prototype.yygoto=[194,194,670,422,643,463,1264,1265,1022,416,308,309,329,563,314,421,330,423,622,801,678,637,586,651,652,653,165,165,165,165,218,195,191,191,175,177,213,191,191,191,191,191,192,192,192,192,192,192,186,187,188,189,190,215,213,216,521,522,412,523,525,526,527,528,529,530,531,532,1091,166,167,168,193,169,170,171,164,172,173,174,176,212,214,217,235,238,241,242,244,255,256,257,258,259,260,261,263,264,265,266,274,275,311,312,313,417,418,419,568,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,178,234,179,196,197,198,236,186,187,188,189,190,215,1091,199,180,181,182,200,196,183,237,201,199,163,202,203,184,204,205,206,185,207,208,209,210,211,323,323,323,323,827,608,608,824,547,538,342,1221,1221,1221,1221,1221,1221,1221,1221,1221,1221,1239,1239,288,288,288,288,1239,1239,1239,1239,1239,1239,1239,1239,1239,1239,388,538,547,556,557,395,566,588,602,603,832,825,880,875,876,889,15,833,877,830,878,879,831,799,251,251,883,919,992,1e3,1004,1001,1005,1237,1237,938,1043,1039,1040,1237,1237,1237,1237,1237,1237,1237,1237,1237,1237,858,248,248,248,248,250,252,533,533,533,533,487,590,488,1190,1190,997,1190,997,494,1290,1290,560,997,997,997,997,997,997,997,997,997,997,997,997,1261,1261,1290,1261,340,1190,930,402,677,1279,1190,1190,1190,1190,959,345,1190,1190,1190,1271,1271,1271,1271,606,640,345,345,1273,1273,1273,1273,820,820,805,896,884,840,885,897,345,345,5,345,6,1306,384,535,535,559,535,415,852,597,1257,839,540,524,524,345,1289,1289,642,524,524,524,524,524,524,524,524,524,524,445,805,1140,805,1289,932,932,932,932,1063,1064,445,926,933,386,390,548,587,591,1030,1292,331,554,1259,1259,1030,704,621,623,823,641,1250,319,303,660,664,973,668,676,969,429,553,962,936,936,934,936,703,601,537,971,966,343,344,663,817,595,609,612,613,614,615,634,635,636,680,439,1186,845,454,454,439,439,1266,1267,820,901,1079,454,394,539,551,1183,605,540,539,842,551,978,272,387,618,619,981,536,536,844,707,646,957,567,457,458,459,838,850,254,254,1297,1298,400,401,976,976,464,649,1182,650,1028,404,405,406,1187,661,424,1032,407,564,600,815,338,424,854,848,853,841,1027,1031,1009,1002,1006,1003,1007,1185,941,1188,1247,1248,943,0,1074,439,439,439,439,439,439,439,439,439,439,439,0,468,439,585,1056,931,681,667,667,0,495,673,1054,1171,912,0,0,1172,1175,913,1176,0,0,0,0,0,0,1072,857],t.Parser.prototype.yygcheck=[42,42,72,65,65,166,166,166,119,65,65,65,65,65,65,65,65,65,65,7,9,84,122,84,84,84,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,23,23,23,23,15,104,104,26,75,75,93,104,104,104,104,104,104,104,104,104,104,160,160,24,24,24,24,160,160,160,160,160,160,160,160,160,160,75,75,75,75,75,75,75,75,75,75,15,27,15,15,15,15,75,15,15,15,15,15,15,6,5,5,15,87,87,87,87,87,87,161,161,49,15,15,15,161,161,161,161,161,161,161,161,161,161,45,5,5,5,5,5,5,103,103,103,103,147,103,147,72,72,72,72,72,147,173,173,162,72,72,72,72,72,72,72,72,72,72,72,72,122,122,173,122,169,72,89,89,89,171,72,72,72,72,99,14,72,72,72,9,9,9,9,55,55,14,14,122,122,122,122,22,22,12,72,64,35,64,72,14,14,46,14,46,14,61,19,19,100,19,13,35,13,122,35,14,163,163,14,172,172,63,163,163,163,163,163,163,163,163,163,163,19,12,143,12,172,19,19,19,19,136,136,19,19,19,58,58,58,58,58,122,172,29,48,122,122,122,48,48,48,25,48,14,159,159,48,48,48,48,48,48,109,9,25,25,25,25,25,25,9,25,25,25,93,93,14,18,79,79,79,79,79,79,79,79,79,79,23,20,39,141,141,23,23,168,168,22,17,17,141,28,9,9,152,17,14,9,37,9,17,24,9,83,83,106,24,24,17,95,17,17,9,9,9,9,17,9,5,5,9,9,80,80,103,103,149,80,17,80,121,80,80,80,20,80,113,124,80,2,2,20,80,113,41,9,16,16,16,16,113,113,113,113,113,14,16,20,20,20,92,-1,139,23,23,23,23,23,23,23,23,23,23,23,-1,82,23,8,8,16,8,8,8,-1,8,8,8,78,78,-1,-1,78,78,78,78,-1,-1,-1,-1,-1,-1,16,16],t.Parser.prototype.yygbase=[0,0,-203,0,0,221,208,10,512,7,0,0,24,1,5,-174,47,-23,105,61,38,0,-10,158,181,379,164,205,102,84,0,0,0,0,0,-43,0,107,0,104,0,54,-1,0,0,235,-384,0,-307,210,0,0,0,0,0,266,0,0,324,0,0,286,0,103,298,-236,0,0,0,0,0,0,-6,0,0,-167,0,0,129,62,-14,0,53,-22,-669,0,0,-52,0,-11,0,0,68,-299,0,52,0,0,0,262,288,0,0,227,-73,0,87,0,0,118,0,0,0,209,0,0,0,0,0,6,0,108,15,0,46,0,0,0,0,0,0,0,0,0,0,0,91,0,0,69,0,390,0,86,0,0,0,-224,0,37,0,0,77,0,0,0,0,0,0,70,-57,-8,241,99,0,0,-290,0,65,257,0,261,39,-35,0,0],t.Parser.prototype.yygdefault=[-32768,499,711,4,712,905,788,797,583,515,679,339,610,413,1255,882,1078,565,816,1199,1207,446,819,324,701,864,865,866,391,376,382,389,632,611,481,851,442,843,473,846,441,855,162,410,497,859,3,861,542,892,377,869,378,656,871,550,873,874,385,392,393,1083,558,607,886,243,552,887,375,888,895,380,383,665,453,492,486,403,1058,594,629,450,467,617,616,604,466,425,408,928,474,451,942,341,950,709,1090,624,476,958,625,965,968,516,517,465,980,269,983,477,1015,647,648,995,626,627,1013,460,584,1021,443,1029,1243,444,1033,262,1036,276,409,426,1041,1042,8,1048,671,672,10,273,496,1073,666,440,1089,430,1159,1161,544,478,1179,1178,659,493,1184,1246,438,518,461,310,519,302,327,307,534,289,328,520,462,1252,1260,325,30,1280,1291,335,562,599],t.Parser.prototype.yylhs=[0,1,3,3,2,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,8,8,9,10,11,11,11,12,12,13,13,14,15,15,16,16,17,17,18,18,21,21,22,23,23,24,24,4,4,4,4,4,4,4,4,4,4,4,29,29,30,30,32,34,34,28,36,36,33,38,38,35,35,37,37,39,39,31,40,40,41,43,44,44,45,46,46,48,47,47,47,47,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,25,25,68,68,71,71,70,69,69,62,74,74,75,75,76,76,77,77,78,78,26,26,27,27,27,27,86,86,88,88,81,81,81,82,82,85,85,83,83,89,90,90,56,56,64,64,67,67,67,66,91,91,92,57,57,57,57,93,93,94,94,95,95,96,97,97,98,98,99,99,54,54,50,50,101,52,52,102,51,51,53,53,63,63,63,63,79,79,105,105,107,107,108,108,108,108,106,106,106,110,110,110,110,87,87,113,113,113,111,111,114,114,112,112,115,115,116,116,116,116,109,109,80,80,80,20,20,20,118,117,117,119,119,119,119,59,120,120,121,60,123,123,124,124,125,125,84,126,126,126,126,126,126,131,131,132,132,133,133,133,133,133,134,135,135,130,130,127,127,129,129,137,137,136,136,136,136,136,136,136,128,138,138,140,139,139,61,100,141,141,55,55,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,148,142,142,147,147,150,151,151,152,153,153,153,19,19,72,72,72,72,143,143,143,143,155,155,144,144,146,146,146,149,149,160,160,160,160,160,160,160,160,160,161,161,104,163,163,163,163,145,145,145,145,145,145,145,145,58,58,158,158,158,158,164,164,154,154,154,165,165,165,165,165,165,73,73,65,65,65,65,122,122,122,122,168,167,157,157,157,157,157,157,157,156,156,156,166,166,166,166,103,162,170,170,169,169,171,171,171,171,171,171,171,171,159,159,159,159,173,174,172,172,172,172,172,172,172,172,175,175,175,175],t.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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,2,1,3,4,1,2,0,1,1,1,1,1,3,5,4,3,4,2,3,1,1,7,6,2,3,1,2,3,1,2,3,1,1,3,1,3,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,2,1,1,1,0,2,1,3,8,0,4,2,1,3,0,1,0,1,0,1,3,1,8,9,8,7,6,8,0,2,0,2,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,7,0,2,1,3,3,4,1,4,0,2,5,0,2,6,0,2,0,3,1,2,1,1,2,0,1,3,0,2,1,1,1,1,6,8,6,1,2,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,1,2,1,1,0,1,0,2,2,2,4,3,1,1,3,1,2,2,3,2,3,1,1,2,3,1,1,3,2,0,1,5,5,10,3,5,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,1,2,1,3,1,1,3,2,2,3,1,0,1,1,3,3,3,4,1,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,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,2,8,9,8,9,9,10,9,10,8,3,2,0,4,2,1,3,2,2,2,4,1,1,1,1,1,1,1,1,3,1,1,1,0,3,0,1,1,0,1,1,1,1,1,1,1,1,1,1,3,3,3,4,1,1,3,1,1,1,1,1,3,2,3,0,1,1,3,1,1,1,1,1,3,1,1,4,4,1,4,4,0,1,1,1,3,3,1,4,2,2,1,3,1,4,4,3,3,3,3,1,3,1,1,3,1,1,4,1,1,1,3,1,1,2,1,3,4,3,2,0,2,2,1,2,1,1,1,4,3,3,3,3,6,3,1,1,2,1],E.PHP=t});ace.define("ace/mode/php_worker",[],function(T,E,L){var t=T("../lib/oop"),s=T("../worker/mirror").Mirror,r=T("./php/php").PHP,e=E.PhpWorker=function(o){s.call(this,o),this.setTimeout(500)};t.inherits(e,s),(function(){this.setOptions=function(o){this.inlinePhp=o&&o.inline},this.onUpdate=function(){var o=this.doc.getValue(),a=[];this.inlinePhp&&(o="<?"+o+"?>");var _=r.Lexer(o,{short_open_tag:1});try{new r.Parser(_)}catch(n){a.push({row:n.line-1,column:null,text:n.message.charAt(0).toUpperCase()+n.message.substring(1),type:"error"})}this.sender.emit("annotate",a)}}).call(e.prototype)});const b=U({__proto__:null,default:D},[D]);export{b as w};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
function ye(m,D){for(var $=0;$<D.length;$++){const g=D[$];if(typeof g!="string"&&!Array.isArray(g)){for(const f in g)if(f!=="default"&&!(f in m)){const i=Object.getOwnPropertyDescriptor(g,f);i&&Object.defineProperty(m,f,i.get?i:{enumerable:!0,get:()=>g[f]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var ve={};(function(m){if(typeof m.window<"u"&&m.document||m.require&&m.define)return;m.console||(m.console=function(){var f=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:f})},m.console.error=m.console.warn=m.console.log=m.console.trace=m.console),m.window=m,m.ace=m,m.onerror=function(f,i,n,s,a){postMessage({type:"error",data:{message:f,data:a&&a.data,file:i,line:n,col:s,stack:a&&a.stack}})},m.normalizeModule=function(f,i){if(i.indexOf("!")!==-1){var n=i.split("!");return m.normalizeModule(f,n[0])+"!"+m.normalizeModule(f,n[1])}if(i.charAt(0)=="."){var s=f.split("/").slice(0,-1).join("/");for(i=(s?s+"/":"")+i;i.indexOf(".")!==-1&&a!=i;){var a=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},m.require=function(i,n){if(n||(n=i,i=null),!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=m.normalizeModule(i,n);var s=m.require.modules[n];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!m.require.tlns)return console.log("unable to load "+n);var a=D(n,m.require.tlns);return a.slice(-3)!=".js"&&(a+=".js"),m.require.id=n,m.require.modules[n]={},importScripts(a),m.require(i,n)};function D(f,i){for(var n=f,s="";n;){var a=i[n];if(typeof a=="string")return a+s;if(a)return a.location.replace(/\/*$/,"/")+(s||a.main||a.name);if(a===!1)return"";var c=n.lastIndexOf("/");if(c===-1)break;s=n.substr(c)+s,n=n.slice(0,c)}return f}m.require.modules={},m.require.tlns={},m.define=function(f,i,n){if(arguments.length==2?(n=i,typeof f!="string"&&(i=f,f=m.require.id)):arguments.length==1&&(n=f,i=[],f=m.require.id),typeof n!="function"){m.require.modules[f]={exports:n,initialized:!0};return}i.length||(i=["require","exports","module"]);var s=function(a){return m.require(f,a)};m.require.modules[f]={exports:{},factory:function(){var a=this,c=n.apply(this,i.slice(0,n.length).map(function(r){switch(r){case"require":return s;case"exports":return a.exports;case"module":return a;default:return s(r)}}));return c&&(a.exports=c),a}}},m.define.amd={},m.require.tlns={},m.initBaseUrls=function(i){for(var n in i)this.require.tlns[n]=i[n]},m.initSender=function(){var i=m.require("ace/lib/event_emitter").EventEmitter,n=m.require("ace/lib/oop"),s=function(){};return(function(){n.implement(this,i),this.callback=function(a,c){postMessage({type:"call",id:c,data:a})},this.emit=function(a,c){postMessage({type:"event",name:a,data:c})}}).call(s.prototype),new s};var $=m.main=null,g=m.sender=null;m.onmessage=function(f){var i=f.data;if(i.event&&g)g._signal(i.event,i.data);else if(i.command)if($[i.command])$[i.command].apply($,i.args);else if(m[i.command])m[i.command].apply(m,i.args);else throw new Error("Unknown command:"+i.command);else if(i.init){m.initBaseUrls(i.tlns),g=m.sender=m.initSender();var n=this.require(i.module)[i.classname];$=m.main=new n(g)}}})(ve);ace.define("ace/lib/oop",[],function(m,D,$){D.inherits=function(g,f){g.super_=f,g.prototype=Object.create(f.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}})},D.mixin=function(g,f){for(var i in f)g[i]=f[i];return g},D.implement=function(g,f){D.mixin(g,f)}});ace.define("ace/lib/deep_copy",[],function(m,D,$){D.deepCopy=function g(f){if(typeof f!="object"||!f)return f;var i;if(Array.isArray(f)){i=[];for(var n=0;n<f.length;n++)i[n]=g(f[n]);return i}if(Object.prototype.toString.call(f)!=="[object Object]")return f;i={};for(var n in f)i[n]=g(f[n]);return i}});ace.define("ace/lib/lang",[],function(m,D,$){D.last=function(i){return i[i.length-1]},D.stringReverse=function(i){return i.split("").reverse().join("")},D.stringRepeat=function(i,n){for(var s="";n>0;)n&1&&(s+=i),(n>>=1)&&(i+=i);return s};var g=/^\s\s*/,f=/\s\s*$/;D.stringTrimLeft=function(i){return i.replace(g,"")},D.stringTrimRight=function(i){return i.replace(f,"")},D.copyObject=function(i){var n={};for(var s in i)n[s]=i[s];return n},D.copyArray=function(i){for(var n=[],s=0,a=i.length;s<a;s++)i[s]&&typeof i[s]=="object"?n[s]=this.copyObject(i[s]):n[s]=i[s];return n},D.deepCopy=m("./deep_copy").deepCopy,D.arrayToMap=function(i){for(var n={},s=0;s<i.length;s++)n[i[s]]=1;return n},D.createMap=function(i){var n=Object.create(null);for(var s in i)n[s]=i[s];return n},D.arrayRemove=function(i,n){for(var s=0;s<=i.length;s++)n===i[s]&&i.splice(s,1)},D.escapeRegExp=function(i){return i.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},D.escapeHTML=function(i){return(""+i).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},D.getMatchOffsets=function(i,n){var s=[];return i.replace(n,function(a){s.push({offset:arguments[arguments.length-2],length:a.length})}),s},D.deferredCall=function(i){var n=null,s=function(){n=null,i()},a=function(c){return a.cancel(),n=setTimeout(s,c||0),a};return a.schedule=a,a.call=function(){return this.cancel(),i(),a},a.cancel=function(){return clearTimeout(n),n=null,a},a.isPending=function(){return n},a},D.delayedCall=function(i,n){var s=null,a=function(){s=null,i()},c=function(r){s==null&&(s=setTimeout(a,r||n))};return c.delay=function(r){s&&clearTimeout(s),s=setTimeout(a,r||n)},c.schedule=c,c.call=function(){this.cancel(),i()},c.cancel=function(){s&&clearTimeout(s),s=null},c.isPending=function(){return s},c},D.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},D.skipEmptyMatch=function(i,n,s){return s&&i.codePointAt(n)>65535?2:1}});ace.define("ace/apply_delta",[],function(m,D,$){D.applyDelta=function(g,f,i){var n=f.start.row,s=f.start.column,a=g[n]||"";switch(f.action){case"insert":var c=f.lines;if(c.length===1)g[n]=a.substring(0,s)+f.lines[0]+a.substring(s);else{var r=[n,1].concat(f.lines);g.splice.apply(g,r),g[n]=a.substring(0,s)+g[n],g[n+f.lines.length-1]+=a.substring(s)}break;case"remove":var u=f.end.column,l=f.end.row;n===l?g[n]=a.substring(0,s)+a.substring(u):g.splice(n,l-n+1,a.substring(0,s)+g[l].substring(u));break}}});ace.define("ace/lib/event_emitter",[],function(m,D,$){var g={},f=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};g._emit=g._dispatchEvent=function(n,s){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var a=this._eventRegistry[n]||[],c=this._defaultHandlers[n];if(!(!a.length&&!c)){(typeof s!="object"||!s)&&(s={}),s.type||(s.type=n),s.stopPropagation||(s.stopPropagation=f),s.preventDefault||(s.preventDefault=i),a=a.slice();for(var r=0;r<a.length&&(a[r](s,this),!s.propagationStopped);r++);if(c&&!s.defaultPrevented)return c(s,this)}},g._signal=function(n,s){var a=(this._eventRegistry||{})[n];if(a){a=a.slice();for(var c=0;c<a.length;c++)a[c](s,this)}},g.once=function(n,s){var a=this;if(this.on(n,function c(){a.off(n,c),s.apply(null,arguments)}),!s)return new Promise(function(c){s=c})},g.setDefaultHandler=function(n,s){var a=this._defaultHandlers;if(a||(a=this._defaultHandlers={_disabled_:{}}),a[n]){var c=a[n],r=a._disabled_[n];r||(a._disabled_[n]=r=[]),r.push(c);var u=r.indexOf(s);u!=-1&&r.splice(u,1)}a[n]=s},g.removeDefaultHandler=function(n,s){var a=this._defaultHandlers;if(a){var c=a._disabled_[n];if(a[n]==s)c&&this.setDefaultHandler(n,c.pop());else if(c){var r=c.indexOf(s);r!=-1&&c.splice(r,1)}}},g.on=g.addEventListener=function(n,s,a){this._eventRegistry=this._eventRegistry||{};var c=this._eventRegistry[n];return c||(c=this._eventRegistry[n]=[]),c.indexOf(s)==-1&&c[a?"unshift":"push"](s),s},g.off=g.removeListener=g.removeEventListener=function(n,s){this._eventRegistry=this._eventRegistry||{};var a=this._eventRegistry[n];if(a){var c=a.indexOf(s);c!==-1&&a.splice(c,1)}},g.removeAllListeners=function(n){n||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[n]=void 0),this._defaultHandlers&&(this._defaultHandlers[n]=void 0)},D.EventEmitter=g});ace.define("ace/range",[],function(m,D,$){var g=(function(){function f(i,n,s,a){this.start={row:i,column:n},this.end={row:s,column:a}}return f.prototype.isEqual=function(i){return this.start.row===i.start.row&&this.end.row===i.end.row&&this.start.column===i.start.column&&this.end.column===i.end.column},f.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},f.prototype.contains=function(i,n){return this.compare(i,n)==0},f.prototype.compareRange=function(i){var n,s=i.end,a=i.start;return n=this.compare(s.row,s.column),n==1?(n=this.compare(a.row,a.column),n==1?2:n==0?1:0):n==-1?-2:(n=this.compare(a.row,a.column),n==-1?-1:n==1?42:0)},f.prototype.comparePoint=function(i){return this.compare(i.row,i.column)},f.prototype.containsRange=function(i){return this.comparePoint(i.start)==0&&this.comparePoint(i.end)==0},f.prototype.intersects=function(i){var n=this.compareRange(i);return n==-1||n==0||n==1},f.prototype.isEnd=function(i,n){return this.end.row==i&&this.end.column==n},f.prototype.isStart=function(i,n){return this.start.row==i&&this.start.column==n},f.prototype.setStart=function(i,n){typeof i=="object"?(this.start.column=i.column,this.start.row=i.row):(this.start.row=i,this.start.column=n)},f.prototype.setEnd=function(i,n){typeof i=="object"?(this.end.column=i.column,this.end.row=i.row):(this.end.row=i,this.end.column=n)},f.prototype.inside=function(i,n){return this.compare(i,n)==0?!(this.isEnd(i,n)||this.isStart(i,n)):!1},f.prototype.insideStart=function(i,n){return this.compare(i,n)==0?!this.isEnd(i,n):!1},f.prototype.insideEnd=function(i,n){return this.compare(i,n)==0?!this.isStart(i,n):!1},f.prototype.compare=function(i,n){return!this.isMultiLine()&&i===this.start.row?n<this.start.column?-1:n>this.end.column?1:0:i<this.start.row?-1:i>this.end.row?1:this.start.row===i?n>=this.start.column?0:-1:this.end.row===i?n<=this.end.column?0:1:0},f.prototype.compareStart=function(i,n){return this.start.row==i&&this.start.column==n?-1:this.compare(i,n)},f.prototype.compareEnd=function(i,n){return this.end.row==i&&this.end.column==n?1:this.compare(i,n)},f.prototype.compareInside=function(i,n){return this.end.row==i&&this.end.column==n?1:this.start.row==i&&this.start.column==n?-1:this.compare(i,n)},f.prototype.clipRows=function(i,n){if(this.end.row>n)var s={row:n+1,column:0};else if(this.end.row<i)var s={row:i,column:0};if(this.start.row>n)var a={row:n+1,column:0};else if(this.start.row<i)var a={row:i,column:0};return f.fromPoints(a||this.start,s||this.end)},f.prototype.extend=function(i,n){var s=this.compare(i,n);if(s==0)return this;if(s==-1)var a={row:i,column:n};else var c={row:i,column:n};return f.fromPoints(a||this.start,c||this.end)},f.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},f.prototype.isMultiLine=function(){return this.start.row!==this.end.row},f.prototype.clone=function(){return f.fromPoints(this.start,this.end)},f.prototype.collapseRows=function(){return this.end.column==0?new f(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new f(this.start.row,0,this.end.row,0)},f.prototype.toScreenRange=function(i){var n=i.documentToScreenPosition(this.start),s=i.documentToScreenPosition(this.end);return new f(n.row,n.column,s.row,s.column)},f.prototype.moveBy=function(i,n){this.start.row+=i,this.start.column+=n,this.end.row+=i,this.end.column+=n},f})();g.fromPoints=function(f,i){return new g(f.row,f.column,i.row,i.column)},g.comparePoints=function(f,i){return f.row-i.row||f.column-i.column},D.Range=g});ace.define("ace/anchor",[],function(m,D,$){var g=m("./lib/oop"),f=m("./lib/event_emitter").EventEmitter,i=(function(){function a(c,r,u){this.$onChange=this.onChange.bind(this),this.attach(c),typeof r!="number"?this.setPosition(r.row,r.column):this.setPosition(r,u)}return a.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},a.prototype.getDocument=function(){return this.document},a.prototype.onChange=function(c){if(!(c.start.row==c.end.row&&c.start.row!=this.row)&&!(c.start.row>this.row)){var r=s(c,{row:this.row,column:this.column},this.$insertRight);this.setPosition(r.row,r.column,!0)}},a.prototype.setPosition=function(c,r,u){var l;if(u?l={row:c,column:r}:l=this.$clipPositionToDocument(c,r),!(this.row==l.row&&this.column==l.column)){var d={row:this.row,column:this.column};this.row=l.row,this.column=l.column,this._signal("change",{old:d,value:l})}},a.prototype.detach=function(){this.document.off("change",this.$onChange)},a.prototype.attach=function(c){this.document=c||this.document,this.document.on("change",this.$onChange)},a.prototype.$clipPositionToDocument=function(c,r){var u={};return c>=this.document.getLength()?(u.row=Math.max(0,this.document.getLength()-1),u.column=this.document.getLine(u.row).length):c<0?(u.row=0,u.column=0):(u.row=c,u.column=Math.min(this.document.getLine(u.row).length,Math.max(0,r))),r<0&&(u.column=0),u},a})();i.prototype.$insertRight=!1,g.implement(i.prototype,f);function n(a,c,r){var u=r?a.column<=c.column:a.column<c.column;return a.row<c.row||a.row==c.row&&u}function s(a,c,r){var u=a.action=="insert",l=(u?1:-1)*(a.end.row-a.start.row),d=(u?1:-1)*(a.end.column-a.start.column),y=a.start,b=u?y:a.end;return n(c,y,r)?{row:c.row,column:c.column}:n(b,c,!r)?{row:c.row+l,column:c.column+(c.row==b.row?d:0)}:{row:y.row,column:y.column}}D.Anchor=i});ace.define("ace/document",[],function(m,D,$){var g=m("./lib/oop"),f=m("./apply_delta").applyDelta,i=m("./lib/event_emitter").EventEmitter,n=m("./range").Range,s=m("./anchor").Anchor,a=(function(){function c(r){this.$lines=[""],r.length===0?this.$lines=[""]:Array.isArray(r)?this.insertMergedLines({row:0,column:0},r):this.insert({row:0,column:0},r)}return c.prototype.setValue=function(r){var u=this.getLength()-1;this.remove(new n(0,0,u,this.getLine(u).length)),this.insert({row:0,column:0},r||"")},c.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},c.prototype.createAnchor=function(r,u){return new s(this,r,u)},c.prototype.$detectNewLine=function(r){var u=r.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=u?u[1]:`
|
|
2
|
+
`,this._signal("changeNewLineMode")},c.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
|
3
|
+
`;case"unix":return`
|
|
4
|
+
`;default:return this.$autoNewLine||`
|
|
5
|
+
`}},c.prototype.setNewLineMode=function(r){this.$newLineMode!==r&&(this.$newLineMode=r,this._signal("changeNewLineMode"))},c.prototype.getNewLineMode=function(){return this.$newLineMode},c.prototype.isNewLine=function(r){return r==`\r
|
|
6
|
+
`||r=="\r"||r==`
|
|
7
|
+
`},c.prototype.getLine=function(r){return this.$lines[r]||""},c.prototype.getLines=function(r,u){return this.$lines.slice(r,u+1)},c.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},c.prototype.getLength=function(){return this.$lines.length},c.prototype.getTextRange=function(r){return this.getLinesForRange(r).join(this.getNewLineCharacter())},c.prototype.getLinesForRange=function(r){var u;if(r.start.row===r.end.row)u=[this.getLine(r.start.row).substring(r.start.column,r.end.column)];else{u=this.getLines(r.start.row,r.end.row),u[0]=(u[0]||"").substring(r.start.column);var l=u.length-1;r.end.row-r.start.row==l&&(u[l]=u[l].substring(0,r.end.column))}return u},c.prototype.insertLines=function(r,u){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(r,u)},c.prototype.removeLines=function(r,u){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(r,u)},c.prototype.insertNewLine=function(r){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(r,["",""])},c.prototype.insert=function(r,u){return this.getLength()<=1&&this.$detectNewLine(u),this.insertMergedLines(r,this.$split(u))},c.prototype.insertInLine=function(r,u){var l=this.clippedPos(r.row,r.column),d=this.pos(r.row,r.column+u.length);return this.applyDelta({start:l,end:d,action:"insert",lines:[u]},!0),this.clonePos(d)},c.prototype.clippedPos=function(r,u){var l=this.getLength();r===void 0?r=l:r<0?r=0:r>=l&&(r=l-1,u=void 0);var d=this.getLine(r);return u==null&&(u=d.length),u=Math.min(Math.max(u,0),d.length),{row:r,column:u}},c.prototype.clonePos=function(r){return{row:r.row,column:r.column}},c.prototype.pos=function(r,u){return{row:r,column:u}},c.prototype.$clipPosition=function(r){var u=this.getLength();return r.row>=u?(r.row=Math.max(0,u-1),r.column=this.getLine(u-1).length):(r.row=Math.max(0,r.row),r.column=Math.min(Math.max(r.column,0),this.getLine(r.row).length)),r},c.prototype.insertFullLines=function(r,u){r=Math.min(Math.max(r,0),this.getLength());var l=0;r<this.getLength()?(u=u.concat([""]),l=0):(u=[""].concat(u),r--,l=this.$lines[r].length),this.insertMergedLines({row:r,column:l},u)},c.prototype.insertMergedLines=function(r,u){var l=this.clippedPos(r.row,r.column),d={row:l.row+u.length-1,column:(u.length==1?l.column:0)+u[u.length-1].length};return this.applyDelta({start:l,end:d,action:"insert",lines:u}),this.clonePos(d)},c.prototype.remove=function(r){var u=this.clippedPos(r.start.row,r.start.column),l=this.clippedPos(r.end.row,r.end.column);return this.applyDelta({start:u,end:l,action:"remove",lines:this.getLinesForRange({start:u,end:l})}),this.clonePos(u)},c.prototype.removeInLine=function(r,u,l){var d=this.clippedPos(r,u),y=this.clippedPos(r,l);return this.applyDelta({start:d,end:y,action:"remove",lines:this.getLinesForRange({start:d,end:y})},!0),this.clonePos(d)},c.prototype.removeFullLines=function(r,u){r=Math.min(Math.max(0,r),this.getLength()-1),u=Math.min(Math.max(0,u),this.getLength()-1);var l=u==this.getLength()-1&&r>0,d=u<this.getLength()-1,y=l?r-1:r,b=l?this.getLine(y).length:0,L=d?u+1:u,M=d?0:this.getLine(L).length,U=new n(y,b,L,M),x=this.$lines.slice(r,u+1);return this.applyDelta({start:U.start,end:U.end,action:"remove",lines:this.getLinesForRange(U)}),x},c.prototype.removeNewLine=function(r){r<this.getLength()-1&&r>=0&&this.applyDelta({start:this.pos(r,this.getLine(r).length),end:this.pos(r+1,0),action:"remove",lines:["",""]})},c.prototype.replace=function(r,u){if(r instanceof n||(r=n.fromPoints(r.start,r.end)),u.length===0&&r.isEmpty())return r.start;if(u==this.getTextRange(r))return r.end;this.remove(r);var l;return u?l=this.insert(r.start,u):l=r.start,l},c.prototype.applyDeltas=function(r){for(var u=0;u<r.length;u++)this.applyDelta(r[u])},c.prototype.revertDeltas=function(r){for(var u=r.length-1;u>=0;u--)this.revertDelta(r[u])},c.prototype.applyDelta=function(r,u){var l=r.action=="insert";(l?r.lines.length<=1&&!r.lines[0]:!n.comparePoints(r.start,r.end))||(l&&r.lines.length>2e4?this.$splitAndapplyLargeDelta(r,2e4):(f(this.$lines,r,u),this._signal("change",r)))},c.prototype.$safeApplyDelta=function(r){var u=this.$lines.length;(r.action=="remove"&&r.start.row<u&&r.end.row<u||r.action=="insert"&&r.start.row<=u)&&this.applyDelta(r)},c.prototype.$splitAndapplyLargeDelta=function(r,u){for(var l=r.lines,d=l.length-u+1,y=r.start.row,b=r.start.column,L=0,M=0;L<d;L=M){M+=u-1;var U=l.slice(L,M);U.push(""),this.applyDelta({start:this.pos(y+L,b),end:this.pos(y+M,b=0),action:r.action,lines:U},!0)}r.lines=l.slice(L),r.start.row=y+L,r.start.column=b,this.applyDelta(r,!0)},c.prototype.revertDelta=function(r){this.$safeApplyDelta({start:this.clonePos(r.start),end:this.clonePos(r.end),action:r.action=="insert"?"remove":"insert",lines:r.lines.slice()})},c.prototype.indexToPosition=function(r,u){for(var l=this.$lines||this.getAllLines(),d=this.getNewLineCharacter().length,y=u||0,b=l.length;y<b;y++)if(r-=l[y].length+d,r<0)return{row:y,column:r+l[y].length+d};return{row:b-1,column:r+l[b-1].length+d}},c.prototype.positionToIndex=function(r,u){for(var l=this.$lines||this.getAllLines(),d=this.getNewLineCharacter().length,y=0,b=Math.min(r.row,l.length),L=u||0;L<b;++L)y+=l[L].length+d;return y+r.column},c.prototype.$split=function(r){return r.split(/\r\n|\r|\n/)},c})();a.prototype.$autoNewLine="",a.prototype.$newLineMode="auto",g.implement(a.prototype,i),D.Document=a});ace.define("ace/worker/mirror",[],function(m,D,$){var g=m("../document").Document,f=m("../lib/lang"),i=D.Mirror=function(n){this.sender=n;var s=this.doc=new g(""),a=this.deferredUpdate=f.delayedCall(this.onUpdate.bind(this)),c=this;n.on("change",function(r){var u=r.data;if(u[0].start)s.applyDeltas(u);else for(var l=0;l<u.length;l+=2){var d,y;if(Array.isArray(u[l+1])?d={action:"insert",start:u[l],lines:u[l+1]}:d={action:"remove",start:u[l],end:u[l+1]},(d.action=="insert"?d.start:d.end).row>=s.$lines.length)throw y=new Error("Invalid delta"),y.data={path:c.$path,linesLength:s.$lines.length,start:d.start,end:d.end},y;s.applyDelta(d,!0)}if(c.$timeout)return a.schedule(c.$timeout);c.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(n){this.$timeout=n},this.setValue=function(n){this.doc.setValue(n),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(n){this.sender.callback(this.doc.getValue(),n)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(i.prototype)});ace.define("ace/mode/xml/sax",[],function(m,D,$){var g=/[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]/,f=new RegExp("[\\-\\.0-9"+g.source.slice(1,-1)+"·̀-ͯ\\ux203F-⁀]"),i=new RegExp("^"+g.source+f.source+"*(?::"+g.source+f.source+"*)?$"),n=0,s=1,a=2,c=3,r=4,u=5,l=6,d=7;function y(){}y.prototype={parse:function(p,v,N){var O=this.domBuilder;O.startDocument(),q(v,v={}),b(p,v,N,O,this.errorHandler),O.endDocument()}};function b(p,v,N,O,T){function _(I){if(I>65535){I-=65536;var B=55296+(I>>10),fe=56320+(I&1023);return String.fromCharCode(B,fe)}else return String.fromCharCode(I)}function w(I){var B=I.slice(1,-1);return B in N?N[B]:B.charAt(0)==="#"?_(parseInt(B.substr(1).replace("x","0x"))):(T.error("entity not found:"+I),I)}function S(I){var B=p.substring(F,I).replace(/&#?\w+;/g,w);k&&A(F),O.characters(B,0,I-F),F=I}function A(I,B){for(;I>=C&&(B=z.exec(p));)V=B.index,C=V+B[0].length,k.lineNumber++;k.columnNumber=I-V+1}for(var V=0,C=0,z=/.+(?:\r\n?|\n)|.*$/g,k=O.locator,G=[{currentNSMap:v}],Q={},F=0;;){var P=p.indexOf("<",F);if(P<0){if(!p.substr(F).match(/^\s*$/)){var ne=O.document,se=ne.createTextNode(p.substr(F));ne.appendChild(se),O.currentElement=se}return}switch(P>F&&S(P),p.charAt(P+1)){case"/":var H=p.indexOf(">",P+3),re=p.substring(P+2,H),J;if(G.length>1)J=G.pop();else{T.fatalError("end tag name not found for: "+re);break}var ue=J.localNSMap;if(J.tagName!=re&&T.fatalError("end tag name: "+re+" does not match the current start tagName: "+J.tagName),O.endElement(J.uri,J.localName,re),ue)for(var pe in ue)O.endPrefixMapping(pe);H++;break;case"?":k&&A(P),H=te(p,P,O);break;case"!":k&&A(P),H=he(p,P,O,T);break;default:try{k&&A(P);var Y=new W,H=M(p,P,Y,w,T),ie=Y.length;if(ie&&k){for(var ce=L(k,{}),P=0;P<ie;P++){var le=Y[P];A(le.offset),le.offset=L(k,{})}L(ce,k)}!Y.closed&&R(p,H,Y.tagName,Q)&&(Y.closed=!0,N.nbsp||T.warning("unclosed xml attribute")),U(Y,O,G,T),Y.uri==="http://www.w3.org/1999/xhtml"&&!Y.closed?H=x(p,H,Y.tagName,w,O):H++}catch(I){T.error("element parse error: "+I),H=-1}}H<0?S(P+1):F=H}}function L(p,v){return v.lineNumber=p.lineNumber,v.columnNumber=p.columnNumber,v}function M(p,v,N,O,T){for(var _,w,S=++v,A=n;;){var V=p.charAt(S);switch(V){case"=":if(A===s)_=p.slice(v,S),A=c;else if(A===a)A=c;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(A===c)if(v=S+1,S=p.indexOf(V,v),S>0)w=p.slice(v,S).replace(/&#?\w+;/g,O),N.add(_,w,v-1),A=u;else throw new Error("attribute value no end '"+V+"' match");else if(A==r)w=p.slice(v,S).replace(/&#?\w+;/g,O),N.add(_,w,v),T.warning('attribute "'+_+'" missed start quot('+V+")!!"),v=S+1,A=u;else throw new Error('attribute value must after "="');break;case"/":switch(A){case n:N.setTagName(p.slice(v,S));case u:case l:case d:A=d,N.closed=!0;case r:case s:case a:break;default:throw new Error("attribute invalid close char('/')")}break;case"":T.error("unexpected end of input");case">":switch(A){case n:N.setTagName(p.slice(v,S));case u:case l:case d:break;case r:case s:w=p.slice(v,S),w.slice(-1)==="/"&&(N.closed=!0,w=w.slice(0,-1));case a:A===a&&(w=_),A==r?(T.warning('attribute "'+w+'" missed quot(")!!'),N.add(_,w.replace(/&#?\w+;/g,O),v)):(T.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),N.add(w,w,v));break;case c:throw new Error("attribute value missed!!")}return S;case"":V=" ";default:if(V<=" ")switch(A){case n:N.setTagName(p.slice(v,S)),A=l;break;case s:_=p.slice(v,S),A=a;break;case r:var w=p.slice(v,S).replace(/&#?\w+;/g,O);T.warning('attribute "'+w+'" missed quot(")!!'),N.add(_,w,v);case u:A=l;break}else switch(A){case a:T.warning('attribute "'+_+'" missed value!! "'+_+'" instead!!'),N.add(_,_,v),v=S,A=s;break;case u:T.warning('attribute space is required"'+_+'"!!');case l:A=s,v=S;break;case c:A=r,v=S;break;case d:throw new Error("elements closed character '/' and '>' must be connected to")}}S++}}function U(p,v,N,O){for(var T=p.tagName,_=null,w=N[N.length-1].currentNSMap,G=p.length;G--;){var S=p[G],A=S.qName,V=S.value,Q=A.indexOf(":");if(Q>0)var C=S.prefix=A.slice(0,Q),z=A.slice(Q+1),k=C==="xmlns"&&z;else z=A,C=null,k=A==="xmlns"&&"";S.localName=z,k!==!1&&(_==null&&(_={},q(w,w={})),w[k]=_[k]=V,S.uri="http://www.w3.org/2000/xmlns/",v.startPrefixMapping(k,V))}for(var G=p.length;G--;){S=p[G];var C=S.prefix;C&&(C==="xml"&&(S.uri="http://www.w3.org/XML/1998/namespace"),C!=="xmlns"&&(S.uri=w[C]))}var Q=T.indexOf(":");Q>0?(C=p.prefix=T.slice(0,Q),z=p.localName=T.slice(Q+1)):(C=null,z=p.localName=T);var F=p.uri=w[C||""];if(C&&!F&&O.error("unexpected namespace "+C),v.startElement(F,z,T,p),p.closed){if(v.endElement(F,z,T),_)for(C in _)v.endPrefixMapping(C)}else p.currentNSMap=w,p.localNSMap=_,N.push(p)}function x(p,v,N,O,T){if(/^(?:script|textarea)$/i.test(N)){var _=p.indexOf("</"+N+">",v),w=p.substring(v+1,_);if(/[&<]/.test(w))return/^script$/i.test(N)?(T.characters(w,0,w.length),_):(w=w.replace(/&#?\w+;/g,O),T.characters(w,0,w.length),_)}return v+1}function R(p,v,N,O){var T=O[N];return T==null&&(T=O[N]=p.lastIndexOf("</"+N+">")),T<v}function q(p,v){for(var N in p)v[N]=p[N]}function he(p,v,N,O){var T=p.charAt(v+2);switch(T){case"-":if(p.charAt(v+3)==="-"){var _=p.indexOf("-->",v+4);return _>v?(N.comment(p,v+4,_-v-4),_+3):(O.error("Unclosed comment"),-1)}else return-1;default:if(p.substr(v+3,6)=="CDATA["){var _=p.indexOf("]]>",v+9);return _>v?(N.startCDATA(),N.characters(p,v+9,_-v-9),N.endCDATA(),_+3):(O.error("Unclosed CDATA"),-1)}var w=ae(p,v),S=w.length;if(S>1&&/!doctype/i.test(w[0][0])){var A=w[1][0],V=S>3&&/^public$/i.test(w[2][0])&&w[3][0],C=S>4&&w[4][0],z=w[S-1];return N.startDTD(A,V&&V.replace(/^(['"])(.*?)\1$/,"$2"),C&&C.replace(/^(['"])(.*?)\1$/,"$2")),N.endDTD(),z.index+z[0].length}}return-1}function te(p,v,N){var O=p.indexOf("?>",v);if(O){var T=p.substring(v,O).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return T?(T[0].length,N.processingInstruction(T[1],T[2]),O+2):-1}return-1}function W(p){}W.prototype={setTagName:function(p){if(!i.test(p))throw new Error("invalid tagName:"+p);this.tagName=p},add:function(p,v,N){if(!i.test(p))throw new Error("invalid attribute:"+p);this[this.length++]={qName:p,value:v,offset:N}},length:0,getLocalName:function(p){return this[p].localName},getOffset:function(p){return this[p].offset},getQName:function(p){return this[p].qName},getURI:function(p){return this[p].uri},getValue:function(p){return this[p].value}};function Z(p,v){return p.__proto__=v,p}Z({},Z.prototype)instanceof Z||(Z=function(p,v){function N(){}N.prototype=v,N=new N;for(v in p)N[v]=p[v];return N});function ae(p,v){var N,O=[],T=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(T.lastIndex=v,T.exec(p);N=T.exec(p);)if(O.push(N),N[1])return O}return y});ace.define("ace/mode/xml/dom",[],function(m,D,$){function g(e,t){for(var o in e)t[o]=e[o]}function f(e,t){var o=function(){},h=e.prototype;if(Object.create){var E=Object.create(t.prototype);h.__proto__=E}h instanceof t||(o.prototype=t.prototype,o=new o,g(h,o),e.prototype=h=o),h.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),h.constructor=e)}var i="http://www.w3.org/1999/xhtml",n={},s=n.ELEMENT_NODE=1,a=n.ATTRIBUTE_NODE=2,c=n.TEXT_NODE=3,r=n.CDATA_SECTION_NODE=4,u=n.ENTITY_REFERENCE_NODE=5,l=n.ENTITY_NODE=6,d=n.PROCESSING_INSTRUCTION_NODE=7,y=n.COMMENT_NODE=8,b=n.DOCUMENT_NODE=9,L=n.DOCUMENT_TYPE_NODE=10,M=n.DOCUMENT_FRAGMENT_NODE=11,U=n.NOTATION_NODE=12,x={},R={};x.INDEX_SIZE_ERR=(R[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(R[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(R[3]="Hierarchy request error",3),x.WRONG_DOCUMENT_ERR=(R[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(R[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(R[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(R[7]="No modification allowed",7);var q=x.NOT_FOUND_ERR=(R[8]="Not found",8);x.NOT_SUPPORTED_ERR=(R[9]="Not supported",9);var he=x.INUSE_ATTRIBUTE_ERR=(R[10]="Attribute in use",10);x.INVALID_STATE_ERR=(R[11]="Invalid state",11),x.SYNTAX_ERR=(R[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(R[13]="Invalid modification",13),x.NAMESPACE_ERR=(R[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(R[15]="Invalid access",15);function te(e,t){if(t instanceof Error)var o=t;else o=this,Error.call(this,R[e]),this.message=R[e],Error.captureStackTrace&&Error.captureStackTrace(this,te);return o.code=e,t&&(this.message=this.message+": "+t),o}te.prototype=Error.prototype,g(x,te);function W(){}W.prototype={length:0,item:function(e){return this[e]||null}};function Z(e,t){this._node=e,this._refresh=t,ae(this)}function ae(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var o=e._refresh(e._node);ge(e,"length",o.length),g(o,e),e._inc=t}}Z.prototype.item=function(e){return ae(this),this[e]},f(Z,W);function p(){}function v(e,t){for(var o=e.length;o--;)if(e[o]===t)return o}function N(e,t,o,h){if(h?t[v(t,h)]=o:t[t.length++]=o,e){o.ownerElement=e;var E=e.ownerDocument;E&&(h&&C(E,e,h),V(E,e,o))}}function O(e,t,o){var h=v(t,o);if(h>=0){for(var E=t.length-1;h<E;)t[h]=t[++h];if(t.length=E,e){var j=e.ownerDocument;j&&(C(j,e,o),o.ownerElement=null)}}else throw new te(q,new Error)}p.prototype={length:0,item:W.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var o=this[t];if(o.nodeName==e)return o}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new te(he);var o=this.getNamedItem(e.nodeName);return N(this._ownerElement,this,e,o),o},setNamedItemNS:function(e){var t=e.ownerElement,o;if(t&&t!=this._ownerElement)throw new te(he);return o=this.getNamedItemNS(e.namespaceURI,e.localName),N(this._ownerElement,this,e,o),o},removeNamedItem:function(e){var t=this.getNamedItem(e);return O(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var o=this.getNamedItemNS(e,t);return O(this._ownerElement,this,o),o},getNamedItemNS:function(e,t){for(var o=this.length;o--;){var h=this[o];if(h.localName==t&&h.namespaceURI==e)return h}return null}};function T(e){if(this._features={},e)for(var t in e)this._features=e[t]}T.prototype={hasFeature:function(e,t){var o=this._features[e.toLowerCase()];return!!(o&&(!t||t in o))},createDocument:function(e,t,o){var h=new A;if(h.implementation=this,h.childNodes=new W,h.doctype=o,o&&h.appendChild(o),t){var E=h.createElementNS(e,t);h.appendChild(E)}return h},createDocumentType:function(e,t,o){var h=new J;return h.name=e,h.nodeName=e,h.publicId=t,h.systemId=o,h}};function _(){}_.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 G(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return k(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return fe(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==c&&e.nodeType==c?(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){for(var t=this;t;){var o=t._nsMap;if(o){for(var h in o)if(o[h]==e)return h}t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var o=t._nsMap;if(o&&e in o)return o[e];t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function w(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}g(n,_),g(n,_.prototype);function S(e,t){if(t(e))return!0;if(e=e.firstChild)do if(S(e,t))return!0;while(e=e.nextSibling)}function A(){}function V(e,t,o){e&&e._inc++;var h=o.namespaceURI;h=="http://www.w3.org/2000/xmlns/"&&(t._nsMap[o.prefix?o.localName:""]=o.value)}function C(e,t,o,h){e&&e._inc++;var E=o.namespaceURI;E=="http://www.w3.org/2000/xmlns/"&&delete t._nsMap[o.prefix?o.localName:""]}function z(e,t,o){if(e&&e._inc){e._inc++;var h=t.childNodes;if(o)h[h.length++]=o;else{for(var E=t.firstChild,j=0;E;)h[j++]=E,E=E.nextSibling;h.length=j}}}function k(e,t){var o=t.previousSibling,h=t.nextSibling;return o?o.nextSibling=h:e.firstChild=h,h?h.previousSibling=o:e.lastChild=o,z(e.ownerDocument,e),t}function G(e,t,o){var h=t.parentNode;if(h&&h.removeChild(t),t.nodeType===M){var E=t.firstChild;if(E==null)return t;var j=t.lastChild}else E=j=t;var K=o?o.previousSibling:e.lastChild;E.previousSibling=K,j.nextSibling=o,K?K.nextSibling=E:e.firstChild=E,o==null?e.lastChild=j:o.previousSibling=j;do E.parentNode=e;while(E!==j&&(E=E.nextSibling));return z(e.ownerDocument||e,e),t.nodeType==M&&(t.firstChild=t.lastChild=null),t}function Q(e,t){var o=t.parentNode;if(o){var h=e.lastChild;o.removeChild(t);var h=e.lastChild}var h=e.lastChild;return t.parentNode=e,t.previousSibling=h,t.nextSibling=null,h?h.nextSibling=t:e.firstChild=t,e.lastChild=t,z(e.ownerDocument,e,t),t}A.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==M){for(var o=e.firstChild;o;){var h=o.nextSibling;this.insertBefore(o,t),o=h}return e}return this.documentElement==null&&e.nodeType==1&&(this.documentElement=e),G(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),k(this,e)},importNode:function(e,t){return B(this,e,t)},getElementById:function(e){var t=null;return S(this.documentElement,function(o){if(o.nodeType==1&&o.getAttribute("id")==e)return t=o,!0}),t},createElement:function(e){var t=new F;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new W;var o=t.attributes=new p;return o._ownerElement=t,t},createDocumentFragment:function(){var e=new ie;return e.ownerDocument=this,e.childNodes=new W,e},createTextNode:function(e){var t=new se;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var o=new ce;return o.ownerDocument=this,o.tagName=o.target=e,o.nodeValue=o.data=t,o},createAttribute:function(e){var t=new P;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new Y;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var o=new F,h=t.split(":"),E=o.attributes=new p;return o.childNodes=new W,o.ownerDocument=this,o.nodeName=t,o.tagName=t,o.namespaceURI=e,h.length==2?(o.prefix=h[0],o.localName=h[1]):o.localName=t,E._ownerElement=o,o},createAttributeNS:function(e,t){var o=new P,h=t.split(":");return o.ownerDocument=this,o.nodeName=t,o.name=t,o.namespaceURI=e,o.specified=!0,h.length==2?(o.prefix=h[0],o.localName=h[1]):o.localName=t,o}},f(A,_);function F(){this._nsMap={}}F.prototype={nodeType:s,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 o=this.ownerDocument.createAttribute(e);o.value=o.nodeValue=""+t,this.setAttributeNode(o)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===M?this.insertBefore(e,null):Q(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 o=this.getAttributeNodeNS(e,t);o&&this.removeAttributeNode(o)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var o=this.getAttributeNodeNS(e,t);return o&&o.value||""},setAttributeNS:function(e,t,o){var h=this.ownerDocument.createAttributeNS(e,t);h.value=h.nodeValue=""+o,this.setAttributeNode(h)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new Z(this,function(t){var o=[];return S(t,function(h){h!==t&&h.nodeType==s&&(e==="*"||h.tagName==e)&&o.push(h)}),o})},getElementsByTagNameNS:function(e,t){return new Z(this,function(o){var h=[];return S(o,function(E){E!==o&&E.nodeType===s&&(e==="*"||E.namespaceURI===e)&&(t==="*"||E.localName==t)&&h.push(E)}),h})}},A.prototype.getElementsByTagName=F.prototype.getElementsByTagName,A.prototype.getElementsByTagNameNS=F.prototype.getElementsByTagNameNS,f(F,_);function P(){}P.prototype.nodeType=a,f(P,_);function ne(){}ne.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(R[3])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,o){var h=this.data.substring(0,e),E=this.data.substring(e+t);o=h+o+E,this.nodeValue=this.data=o,this.length=o.length}},f(ne,_);function se(){}se.prototype={nodeName:"#text",nodeType:c,splitText:function(e){var t=this.data,o=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var h=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling),h}},f(se,ne);function H(){}H.prototype={nodeName:"#comment",nodeType:y},f(H,ne);function re(){}re.prototype={nodeName:"#cdata-section",nodeType:r},f(re,ne);function J(){}J.prototype.nodeType=L,f(J,_);function ue(){}ue.prototype.nodeType=U,f(ue,_);function pe(){}pe.prototype.nodeType=l,f(pe,_);function Y(){}Y.prototype.nodeType=u,f(Y,_);function ie(){}ie.prototype.nodeName="#document-fragment",ie.prototype.nodeType=M,f(ie,_);function ce(){}ce.prototype.nodeType=d,f(ce,_);function le(){}le.prototype.serializeToString=function(e){var t=[];return I(e,t),t.join("")},_.prototype.toString=function(){return le.prototype.serializeToString(this)};function I(e,t){switch(e.nodeType){case s:var o=e.attributes,h=o.length,X=e.firstChild,E=e.tagName,j=i===e.namespaceURI;t.push("<",E);for(var K=0;K<h;K++)I(o.item(K),t);if(X||j&&!/^(?:meta|link|img|br|hr|input|button)$/i.test(E)){if(t.push(">"),j&&/^script$/i.test(E))X&&t.push(X.data);else for(;X;)I(X,t),X=X.nextSibling;t.push("</",E,">")}else t.push("/>");return;case b:case M:for(var X=e.firstChild;X;)I(X,t),X=X.nextSibling;return;case a:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,w),'"');case c:return t.push(e.data.replace(/[<&]/g,w));case r:return t.push("<![CDATA[",e.data,"]]>");case y:return t.push("<!--",e.data,"-->");case L:var me=e.publicId,ee=e.systemId;if(t.push("<!DOCTYPE ",e.name),me)t.push(' PUBLIC "',me),ee&&ee!="."&&t.push('" "',ee),t.push('">');else if(ee&&ee!=".")t.push(' SYSTEM "',ee,'">');else{var oe=e.internalSubset;oe&&t.push(" [",oe,"]"),t.push(">")}return;case d:return t.push("<?",e.target," ",e.data,"?>");case u:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function B(e,t,o){var h;switch(t.nodeType){case s:h=t.cloneNode(!1),h.ownerDocument=e;case M:break;case a:o=!0;break}if(h||(h=t.cloneNode(!1)),h.ownerDocument=e,h.parentNode=null,o)for(var E=t.firstChild;E;)h.appendChild(B(e,E,o)),E=E.nextSibling;return h}function fe(e,t,o){var h=new t.constructor;for(var E in t){var j=t[E];typeof j!="object"&&j!=h[E]&&(h[E]=j)}switch(t.childNodes&&(h.childNodes=new W),h.ownerDocument=e,h.nodeType){case s:var K=t.attributes,X=h.attributes=new p,me=K.length;X._ownerElement=h;for(var ee=0;ee<me;ee++)h.setAttributeNode(fe(e,K.item(ee),!0));break;case a:o=!0}if(o)for(var oe=t.firstChild;oe;)h.appendChild(fe(e,oe,o)),oe=oe.nextSibling;return h}function ge(e,t,o){e[t]=o}function de(e){switch(e.nodeType){case 1:case 11:var t=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&t.push(de(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}try{Object.defineProperty&&(Object.defineProperty(Z.prototype,"length",{get:function(){return ae(this),this.$$length}}),Object.defineProperty(_.prototype,"textContent",{get:function(){return de(this)},set:function(e){switch(this.nodeType){case 1:case 11:for(;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}}}),ge=function(e,t,o){e["$$"+t]=o})}catch{}return T});ace.define("ace/mode/xml/dom-parser",[],function(m,D,$){var g=m("./sax"),f=m("./dom");function i(l){this.options=l||{locator:{}}}i.prototype.parseFromString=function(l,d){var y=this.options,b=new g,L=y.domBuilder||new s,M=y.errorHandler,U=y.locator,x=y.xmlns||{},R={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return U&&L.setDocumentLocator(U),b.errorHandler=n(M,L,U),b.domBuilder=y.domBuilder||L,/\/x?html?$/.test(d)&&(R.nbsp=" ",R.copy="©",x[""]="http://www.w3.org/1999/xhtml"),l?b.parse(l,x,R):b.errorHandler.error("invalid document source"),L.document};function n(l,d,y){if(!l){if(d instanceof s)return d;l=d}var b={},L=l instanceof Function;y=y||{};function M(U){var x=l[U];if(!x)if(L)x=l.length==2?function(q){l(U,q)}:l;else for(var R=arguments.length;--R&&!(x=l[arguments[R]]););b[U]=x&&function(q){x(q+c(y),q,y)}||function(){}}return M("warning","warn"),M("error","warn","warning"),M("fatalError","warn","warning","error"),b}function s(){this.cdata=!1}function a(l,d){d.lineNumber=l.lineNumber,d.columnNumber=l.columnNumber}s.prototype={startDocument:function(){this.document=new f().createDocument(null,null,null),this.locator&&(this.document.documentURI=this.locator.systemId)},startElement:function(l,d,y,b){var L=this.document,M=L.createElementNS(l,y||d),U=b.length;u(this,M),this.currentElement=M,this.locator&&a(this.locator,M);for(var x=0;x<U;x++){var l=b.getURI(x),R=b.getValue(x),y=b.getQName(x),q=L.createAttributeNS(l,y);q.getOffset&&a(q.getOffset(1),q),q.value=q.nodeValue=R,M.setAttributeNode(q)}},endElement:function(l,d,y){var b=this.currentElement;b.tagName,this.currentElement=b.parentNode},startPrefixMapping:function(l,d){},endPrefixMapping:function(l){},processingInstruction:function(l,d){var y=this.document.createProcessingInstruction(l,d);this.locator&&a(this.locator,y),u(this,y)},ignorableWhitespace:function(l,d,y){},characters:function(l,d,y){if(l=r.apply(this,arguments),this.currentElement&&l){if(this.cdata){var b=this.document.createCDATASection(l);this.currentElement.appendChild(b)}else{var b=this.document.createTextNode(l);this.currentElement.appendChild(b)}this.locator&&a(this.locator,b)}},skippedEntity:function(l){},endDocument:function(){this.document.normalize()},setDocumentLocator:function(l){(this.locator=l)&&(l.lineNumber=0)},comment:function(l,d,y){l=r.apply(this,arguments);var b=this.document.createComment(l);this.locator&&a(this.locator,b),u(this,b)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(l,d,y){var b=this.document.implementation;if(b&&b.createDocumentType){var L=b.createDocumentType(l,d,y);this.locator&&a(this.locator,L),u(this,L)}},warning:function(l){console.warn(l,c(this.locator))},error:function(l){console.error(l,c(this.locator))},fatalError:function(l){throw console.error(l,c(this.locator)),l}};function c(l){if(l)return`
|
|
8
|
+
@`+(l.systemId||"")+"#[line:"+l.lineNumber+",col:"+l.columnNumber+"]"}function r(l,d,y){return typeof l=="string"?l.substr(d,y):l.length>=d+y||d?new java.lang.String(l,d,y)+"":l}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(l){s.prototype[l]=function(){return null}});function u(l,d){l.currentElement?l.currentElement.appendChild(d):l.document.appendChild(d)}return{DOMParser:i}});ace.define("ace/mode/xml_worker",[],function(m,D,$){var g=m("../lib/oop");m("../lib/lang");var f=m("../worker/mirror").Mirror,i=m("./xml/dom-parser").DOMParser,n=D.Worker=function(s){f.call(this,s),this.setTimeout(400),this.context=null};g.inherits(n,f),(function(){this.setOptions=function(s){this.context=s.context},this.onUpdate=function(){var s=this.doc.getValue();if(s){var a=new i,c=[];a.options.errorHandler={fatalError:function(r,u,l){c.push({row:l.lineNumber,column:l.columnNumber,text:u,type:"error"})},error:function(r,u,l){c.push({row:l.lineNumber,column:l.columnNumber,text:u,type:"error"})},warning:function(r,u,l){c.push({row:l.lineNumber,column:l.columnNumber,text:u,type:"warning"})}},a.parseFromString(s),this.sender.emit("error",c)}}}).call(n.prototype)});const Ne=ye({__proto__:null,default:ve},[ve]);export{Ne as w};
|