From f536efb30a077dbd353b340f6c51b55ba20d6f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com> Date: Tue, 1 Jun 2021 16:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/factory.php | 6 +- core/function.php | 2 +- package.json | 2 +- typecho/write/css/joe.write.min.css | 2 +- typecho/write/css/joe.write.min.scss | 26 +- typecho/write/dist/apl-2030b4c5.js | 1 + typecho/write/dist/asciiarmor-093bcdbd.js | 1 + typecho/write/dist/asn1-afa00132.js | 1 + typecho/write/dist/asterisk-09307b50.js | 1 + typecho/write/dist/brainfuck-80b1f4f5.js | 1 + typecho/write/dist/clike-e2a9d212.js | 1 + typecho/write/dist/clojure-32cc1305.js | 1 + typecho/write/dist/cmake-2227f645.js | 1 + typecho/write/dist/cobol-43d95731.js | 1 + typecho/write/dist/coffeescript-fc762049.js | 1 + typecho/write/dist/commonlisp-ba6e115c.js | 1 + typecho/write/dist/crystal-5772ab5b.js | 1 + typecho/write/dist/css-79b391c7.js | 1 + typecho/write/dist/cypher-5d7834b7.js | 1 + typecho/write/dist/d-7ec7aa31.js | 1 + typecho/write/dist/diff-e72a85b3.js | 1 + typecho/write/dist/dockerfile-f2730f07.js | 1 + typecho/write/dist/dtd-da1e6af8.js | 1 + typecho/write/dist/dylan-f2ba9f15.js | 1 + typecho/write/dist/ebnf-2174d665.js | 1 + typecho/write/dist/ecl-e5271367.js | 1 + typecho/write/dist/eiffel-efa88d90.js | 1 + typecho/write/dist/elm-63fbccd1.js | 1 + typecho/write/dist/erlang-8c025459.js | 1 + typecho/write/dist/factor-b9688504.js | 1 + typecho/write/dist/fcl-d6276f3f.js | 1 + typecho/write/dist/forth-02de8e5b.js | 1 + typecho/write/dist/fortran-92612c49.js | 1 + typecho/write/dist/gas-c1ef3a64.js | 1 + typecho/write/dist/gherkin-446ca897.js | 1 + typecho/write/dist/go-7157bdcf.js | 1 + typecho/write/dist/groovy-15bb0a05.js | 1 + typecho/write/dist/haskell-659ae93f.js | 1 + typecho/write/dist/haxe-8482e88f.js | 1 + typecho/write/dist/http-6c3ca047.js | 1 + typecho/write/dist/idl-0ef7209d.js | 1 + typecho/write/dist/index-4ff54fbd.js | 1 + typecho/write/dist/index-5cf29f46.js | 1 + typecho/write/dist/index-7bc70213.js | 1 + typecho/write/dist/index-94295a51.js | 1 + typecho/write/dist/index-9567a91c.js | 1 + typecho/write/dist/index-a879143b.js | 1 + typecho/write/dist/index-ec1dad61.js | 1 + typecho/write/dist/index-eddd0dfb.js | 1 + typecho/write/dist/index.js | 288 ++++++++++++++++++ typecho/write/dist/javascript-9e8f260e.js | 1 + typecho/write/dist/jinja2-7915044e.js | 1 + typecho/write/dist/julia-94b55ee6.js | 1 + typecho/write/dist/livescript-18d3ed4b.js | 1 + typecho/write/dist/lua-9cec5372.js | 1 + typecho/write/dist/mathematica-4c7527d5.js | 1 + typecho/write/dist/mbox-c94b8e5d.js | 1 + typecho/write/dist/mirc-959c94b1.js | 1 + typecho/write/dist/mllike-10ca148e.js | 1 + typecho/write/dist/modelica-decd8598.js | 1 + typecho/write/dist/mscgen-ceec9b1f.js | 1 + typecho/write/dist/mumps-067a7108.js | 1 + typecho/write/dist/nginx-a6f68c33.js | 1 + typecho/write/dist/nsis-dc357a04.js | 1 + typecho/write/dist/ntriples-12e84b21.js | 1 + typecho/write/dist/octave-dfed99d7.js | 1 + typecho/write/dist/oz-2401d70e.js | 1 + typecho/write/dist/pascal-05191d71.js | 1 + typecho/write/dist/perl-1568efe3.js | 1 + typecho/write/dist/pig-5d168e86.js | 1 + typecho/write/dist/powershell-c9f2935d.js | 1 + typecho/write/dist/properties-c93e40cd.js | 1 + typecho/write/dist/protobuf-04fc4e3b.js | 1 + typecho/write/dist/puppet-ce3af938.js | 1 + typecho/write/dist/python-103af9e0.js | 1 + typecho/write/dist/q-7adde666.js | 1 + typecho/write/dist/r-5c65ce1c.js | 1 + typecho/write/dist/rpm-c892928b.js | 1 + typecho/write/dist/ruby-21600654.js | 1 + typecho/write/dist/sas-3cd85309.js | 1 + typecho/write/dist/scheme-9512b48c.js | 1 + typecho/write/dist/shell-c1b04770.js | 1 + typecho/write/dist/sieve-1e0e521e.js | 1 + typecho/write/dist/simple-mode-3ccd66eb.js | 1 + typecho/write/dist/smalltalk-e6b766b8.js | 1 + typecho/write/dist/solr-5597a2d7.js | 1 + typecho/write/dist/sparql-fc490387.js | 1 + typecho/write/dist/spreadsheet-9174e23d.js | 1 + typecho/write/dist/sql-fbfc84a5.js | 1 + typecho/write/dist/stex-9c1a0609.js | 1 + typecho/write/dist/stylus-6249521d.js | 1 + typecho/write/dist/swift-7fa7f33a.js | 1 + typecho/write/dist/tcl-64088cb9.js | 1 + typecho/write/dist/textile-b43085a6.js | 1 + typecho/write/dist/tiddlywiki-719a9b51.js | 1 + typecho/write/dist/tiki-c7f18a22.js | 1 + typecho/write/dist/toml-adb7882d.js | 1 + typecho/write/dist/troff-1f82bf74.js | 1 + typecho/write/dist/ttcn-59c626fc.js | 1 + typecho/write/dist/ttcn-cfg-078eba3a.js | 1 + typecho/write/dist/turtle-1cd5251a.js | 1 + typecho/write/dist/vb-48de61b2.js | 1 + typecho/write/dist/vbscript-5aa6df10.js | 1 + typecho/write/dist/velocity-e1fbbfb7.js | 1 + typecho/write/dist/verilog-026cb9a4.js | 1 + typecho/write/dist/vhdl-1e8a014b.js | 1 + typecho/write/dist/wast-e15ed0e8.js | 1 + typecho/write/dist/webidl-dc65d1d3.js | 1 + typecho/write/dist/xquery-7782f779.js | 1 + typecho/write/dist/yacas-21340496.js | 1 + typecho/write/dist/yaml-b685a442.js | 1 + typecho/write/dist/z80-01cbb90e.js | 1 + typecho/write/js/{joe.write.js => index.js} | 6 +- typecho/write/js/joe.write.chunk.js | 288 ------------------ typecho/write/package.json | 1 + .../write/{js/joe.parse.js => parse/parse.js} | 0 .../joe.parse.min.js => parse/parse.min.js} | 0 typecho/write/rollup.config.js | 7 +- 118 files changed, 433 insertions(+), 301 deletions(-) create mode 100644 typecho/write/dist/apl-2030b4c5.js create mode 100644 typecho/write/dist/asciiarmor-093bcdbd.js create mode 100644 typecho/write/dist/asn1-afa00132.js create mode 100644 typecho/write/dist/asterisk-09307b50.js create mode 100644 typecho/write/dist/brainfuck-80b1f4f5.js create mode 100644 typecho/write/dist/clike-e2a9d212.js create mode 100644 typecho/write/dist/clojure-32cc1305.js create mode 100644 typecho/write/dist/cmake-2227f645.js create mode 100644 typecho/write/dist/cobol-43d95731.js create mode 100644 typecho/write/dist/coffeescript-fc762049.js create mode 100644 typecho/write/dist/commonlisp-ba6e115c.js create mode 100644 typecho/write/dist/crystal-5772ab5b.js create mode 100644 typecho/write/dist/css-79b391c7.js create mode 100644 typecho/write/dist/cypher-5d7834b7.js create mode 100644 typecho/write/dist/d-7ec7aa31.js create mode 100644 typecho/write/dist/diff-e72a85b3.js create mode 100644 typecho/write/dist/dockerfile-f2730f07.js create mode 100644 typecho/write/dist/dtd-da1e6af8.js create mode 100644 typecho/write/dist/dylan-f2ba9f15.js create mode 100644 typecho/write/dist/ebnf-2174d665.js create mode 100644 typecho/write/dist/ecl-e5271367.js create mode 100644 typecho/write/dist/eiffel-efa88d90.js create mode 100644 typecho/write/dist/elm-63fbccd1.js create mode 100644 typecho/write/dist/erlang-8c025459.js create mode 100644 typecho/write/dist/factor-b9688504.js create mode 100644 typecho/write/dist/fcl-d6276f3f.js create mode 100644 typecho/write/dist/forth-02de8e5b.js create mode 100644 typecho/write/dist/fortran-92612c49.js create mode 100644 typecho/write/dist/gas-c1ef3a64.js create mode 100644 typecho/write/dist/gherkin-446ca897.js create mode 100644 typecho/write/dist/go-7157bdcf.js create mode 100644 typecho/write/dist/groovy-15bb0a05.js create mode 100644 typecho/write/dist/haskell-659ae93f.js create mode 100644 typecho/write/dist/haxe-8482e88f.js create mode 100644 typecho/write/dist/http-6c3ca047.js create mode 100644 typecho/write/dist/idl-0ef7209d.js create mode 100644 typecho/write/dist/index-4ff54fbd.js create mode 100644 typecho/write/dist/index-5cf29f46.js create mode 100644 typecho/write/dist/index-7bc70213.js create mode 100644 typecho/write/dist/index-94295a51.js create mode 100644 typecho/write/dist/index-9567a91c.js create mode 100644 typecho/write/dist/index-a879143b.js create mode 100644 typecho/write/dist/index-ec1dad61.js create mode 100644 typecho/write/dist/index-eddd0dfb.js create mode 100644 typecho/write/dist/index.js create mode 100644 typecho/write/dist/javascript-9e8f260e.js create mode 100644 typecho/write/dist/jinja2-7915044e.js create mode 100644 typecho/write/dist/julia-94b55ee6.js create mode 100644 typecho/write/dist/livescript-18d3ed4b.js create mode 100644 typecho/write/dist/lua-9cec5372.js create mode 100644 typecho/write/dist/mathematica-4c7527d5.js create mode 100644 typecho/write/dist/mbox-c94b8e5d.js create mode 100644 typecho/write/dist/mirc-959c94b1.js create mode 100644 typecho/write/dist/mllike-10ca148e.js create mode 100644 typecho/write/dist/modelica-decd8598.js create mode 100644 typecho/write/dist/mscgen-ceec9b1f.js create mode 100644 typecho/write/dist/mumps-067a7108.js create mode 100644 typecho/write/dist/nginx-a6f68c33.js create mode 100644 typecho/write/dist/nsis-dc357a04.js create mode 100644 typecho/write/dist/ntriples-12e84b21.js create mode 100644 typecho/write/dist/octave-dfed99d7.js create mode 100644 typecho/write/dist/oz-2401d70e.js create mode 100644 typecho/write/dist/pascal-05191d71.js create mode 100644 typecho/write/dist/perl-1568efe3.js create mode 100644 typecho/write/dist/pig-5d168e86.js create mode 100644 typecho/write/dist/powershell-c9f2935d.js create mode 100644 typecho/write/dist/properties-c93e40cd.js create mode 100644 typecho/write/dist/protobuf-04fc4e3b.js create mode 100644 typecho/write/dist/puppet-ce3af938.js create mode 100644 typecho/write/dist/python-103af9e0.js create mode 100644 typecho/write/dist/q-7adde666.js create mode 100644 typecho/write/dist/r-5c65ce1c.js create mode 100644 typecho/write/dist/rpm-c892928b.js create mode 100644 typecho/write/dist/ruby-21600654.js create mode 100644 typecho/write/dist/sas-3cd85309.js create mode 100644 typecho/write/dist/scheme-9512b48c.js create mode 100644 typecho/write/dist/shell-c1b04770.js create mode 100644 typecho/write/dist/sieve-1e0e521e.js create mode 100644 typecho/write/dist/simple-mode-3ccd66eb.js create mode 100644 typecho/write/dist/smalltalk-e6b766b8.js create mode 100644 typecho/write/dist/solr-5597a2d7.js create mode 100644 typecho/write/dist/sparql-fc490387.js create mode 100644 typecho/write/dist/spreadsheet-9174e23d.js create mode 100644 typecho/write/dist/sql-fbfc84a5.js create mode 100644 typecho/write/dist/stex-9c1a0609.js create mode 100644 typecho/write/dist/stylus-6249521d.js create mode 100644 typecho/write/dist/swift-7fa7f33a.js create mode 100644 typecho/write/dist/tcl-64088cb9.js create mode 100644 typecho/write/dist/textile-b43085a6.js create mode 100644 typecho/write/dist/tiddlywiki-719a9b51.js create mode 100644 typecho/write/dist/tiki-c7f18a22.js create mode 100644 typecho/write/dist/toml-adb7882d.js create mode 100644 typecho/write/dist/troff-1f82bf74.js create mode 100644 typecho/write/dist/ttcn-59c626fc.js create mode 100644 typecho/write/dist/ttcn-cfg-078eba3a.js create mode 100644 typecho/write/dist/turtle-1cd5251a.js create mode 100644 typecho/write/dist/vb-48de61b2.js create mode 100644 typecho/write/dist/vbscript-5aa6df10.js create mode 100644 typecho/write/dist/velocity-e1fbbfb7.js create mode 100644 typecho/write/dist/verilog-026cb9a4.js create mode 100644 typecho/write/dist/vhdl-1e8a014b.js create mode 100644 typecho/write/dist/wast-e15ed0e8.js create mode 100644 typecho/write/dist/webidl-dc65d1d3.js create mode 100644 typecho/write/dist/xquery-7782f779.js create mode 100644 typecho/write/dist/yacas-21340496.js create mode 100644 typecho/write/dist/yaml-b685a442.js create mode 100644 typecho/write/dist/z80-01cbb90e.js rename typecho/write/js/{joe.write.js => index.js} (98%) delete mode 100644 typecho/write/js/joe.write.chunk.js rename typecho/write/{js/joe.parse.js => parse/parse.js} (100%) rename typecho/write/{js/joe.parse.min.js => parse/parse.min.js} (100%) diff --git a/core/factory.php b/core/factory.php index eb6121b..8fc707f 100644 --- a/core/factory.php +++ b/core/factory.php @@ -172,7 +172,7 @@ class Editor - + - - + + ":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},isOperator=/[\.\/⌿⍀¨⍣]/,isNiladic=/⍬/,isFunction=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,isArrow=/←/,isComment=/[⍝#].*$/,stringEater=function(n){var t;return function(e){return(t=e)!==n||"\\"===t}};const apl={startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(e,n){var t;return e.eatSpace()?null:'"'===(t=e.next())||"'"===t?(e.eatWhile(stringEater(t)),e.next(),n.prev=!0,"string"):/[\[{\(]/.test(t)?(n.prev=!1,null):/[\]}\)]/.test(t)?(n.prev=!0,null):isNiladic.test(t)?(n.prev=!1,"atom"):/[¯\d]/.test(t)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,e.eatWhile(/[\w\.]/),"number"):isOperator.test(t)||isArrow.test(t)?"operator":isFunction.test(t)?(n.func=!0,n.prev=!1,builtInFuncs[t]?"variableName.function.standard":"variableName.function"):isComment.test(t)?(e.skipToEnd(),"comment"):"∘"===t&&"."===e.peek()?(e.next(),"variableName.function"):(e.eatWhile(/[\w\$_]/),n.prev=!0,"keyword")}};export{apl}; diff --git a/typecho/write/dist/asciiarmor-093bcdbd.js b/typecho/write/dist/asciiarmor-093bcdbd.js new file mode 100644 index 0000000..fd8a15c --- /dev/null +++ b/typecho/write/dist/asciiarmor-093bcdbd.js @@ -0,0 +1 @@ +function errorIfNotEmpty(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}const asciiArmor={token:function(t,e){var r;if("top"==e.state)return t.sol()&&(r=t.match(/^-----BEGIN (.*)?-----\s*$/))?(e.state="headers",e.type=r[1],"tag"):errorIfNotEmpty(t);if("headers"!=e.state)return"header"==e.state?(t.skipToEnd(),e.state="headers","string"):"body"==e.state?t.sol()&&(r=t.match(/^-----END (.*)?-----\s*$/))?r[1]!=e.type?"error":(e.state="end","tag"):t.eatWhile(/[A-Za-z0-9+\/=]/)?null:(t.next(),"error"):"end"==e.state?errorIfNotEmpty(t):void 0;if(t.sol()&&t.match(/^\w+:/))return e.state="header","atom";t=errorIfNotEmpty(t);return t&&(e.state="body"),t},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}};export{asciiArmor}; diff --git a/typecho/write/dist/asn1-afa00132.js b/typecho/write/dist/asn1-afa00132.js new file mode 100644 index 0000000..a2f6547 --- /dev/null +++ b/typecho/write/dist/asn1-afa00132.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=e.split(" "),r=0;r?$/.test(a)?(t.extenExten=!0,t.extenStart=!1,"strong"):(t.extenStart=!1,e.skipToEnd(),"error")):t.extenExten?(t.extenExten=!1,t.extenPriority=!0,e.eatWhile(/[^,]/),t.extenInclude&&(e.skipToEnd(),t.extenPriority=!1,t.extenInclude=!1),t.extenSame&&(t.extenPriority=!1,t.extenSame=!1,t.extenApplication=!0),"tag"):t.extenPriority?(t.extenPriority=!1,t.extenApplication=!0,e.next(),t.extenSame?null:(e.eatWhile(/[^,]/),"number")):t.extenApplication?(e.eatWhile(/,/),","===(a=e.current())?null:(e.eatWhile(/\w/),a=e.current().toLowerCase(),t.extenApplication=!1,-1!==apps.indexOf(a)?"def":null)):basicToken(e,t)},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}};export{asterisk}; diff --git a/typecho/write/dist/brainfuck-80b1f4f5.js b/typecho/write/dist/brainfuck-80b1f4f5.js new file mode 100644 index 0000000..5af9059 --- /dev/null +++ b/typecho/write/dist/brainfuck-80b1f4f5.js @@ -0,0 +1 @@ +var reserve="><+-.,[]".split("");const brainfuck={startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,t){if(e.eatSpace())return null;e.sol()&&(t.commentLine=!1);var n=e.next().toString();return-1===reserve.indexOf(n)?(t.commentLine=!0,e.eol()&&(t.commentLine=!1),"comment"):!0===t.commentLine?(e.eol()&&(t.commentLine=!1),"comment"):"]"===n||"["===n?("["===n?t.left++:t.right++,"bracket"):"+"===n||"-"===n?"keyword":"<"===n||">"===n?"atom":"."===n||","===n?"def":void(e.eol()&&(t.commentLine=!1))}};export{brainfuck}; diff --git a/typecho/write/dist/clike-e2a9d212.js b/typecho/write/dist/clike-e2a9d212.js new file mode 100644 index 0000000..3259f40 --- /dev/null +++ b/typecho/write/dist/clike-e2a9d212.js @@ -0,0 +1 @@ +function Context(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=i}function pushContext(e,t,n,r){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new Context(o,t,n,r,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function clike(s){var a,l,c=s.statementIndentUnit,u=s.dontAlignCalls,o=s.keywords||{},d=s.types||{},p=s.builtin||{},f=s.blockKeywords||{},y=s.defKeywords||{},k=s.atoms||{},m=s.hooks||{},h=s.multiLineStrings,i=!1!==s.indentStatements,e=!1!==s.indentSwitch,g=s.namespaceSeparator,w=s.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,b=s.numberStart||/[\d\.]/,v=s.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,x=s.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=s.isIdentifierChar||/[\w\$_\xa1-\uffff]/,S=s.isReservedIdentifier||!1;function T(e,t){var i,n=e.next();if(m[n]){var r=m[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=(i=n,function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==i&&!r){o=!0;break}r=!r&&"\\"==n}return!o&&(r||h)||(t.tokenize=null),"string"}),t.tokenize(e,t);if(b.test(n)){if(e.backUp(1),e.match(v))return"number";e.next()}if(w.test(n))return a=n,null;if("/"==n){if(e.eat("*"))return(t.tokenize=C)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(x););return"operator"}if(e.eatWhile(_),g)for(;e.match(g);)e.eatWhile(_);n=e.current();return contains(o,n)?(contains(f,n)&&(a="newstatement"),contains(y,n)&&(l=!0),"keyword"):contains(d,n)?"type":contains(p,n)||S&&S(n)?(contains(f,n)&&(a="newstatement"),"builtin"):contains(k,n)?"atom":"variable"}function C(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function I(e,t){s.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new Context(-e,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return I(e,t),null;a=l=null;var r,o=(t.tokenize||T)(e,t);if("comment"==o||"meta"==o)return o;if(null==n.align&&(n.align=!0),";"==a||":"==a||","==a&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==a)pushContext(t,e.column(),"}");else if("["==a)pushContext(t,e.column(),"]");else if("("==a)pushContext(t,e.column(),")");else if("}"==a){for(;"statement"==n.type;)n=popContext(t);for("}"==n.type&&(n=popContext(t));"statement"==n.type;)n=popContext(t)}else a==n.type?popContext(t):i&&(("}"==n.type||"top"==n.type)&&";"!=a||"statement"==n.type&&"newstatement"==a)&&pushContext(t,e.column(),"statement",e.current());return"variable"==o&&("def"==t.prevToken||s.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(o="def"),!m.token||void 0!==(r=m.token(e,t,o))&&(o=r),"def"==o&&!1===s.styleDefs&&(o="variable"),t.startOfLine=!1,t.prevToken=l?"def":o||a,I(e,t),o},indent:function(e,t,n){if(e.tokenize!=T&&null!=e.tokenize||e.typeAtEndOfLine)return null;var r=e.context,o=t&&t.charAt(0),i=o==r.type;if("statement"==r.type&&"}"==o&&(r=r.prev),s.dontIndentStatements)for(;"statement"==r.type&&s.dontIndentStatements.test(r.info);)r=r.prev;if(m.indent){var a=m.indent(e,r,t,n.unit);if("number"==typeof a)return a}a=r.prev&&"switch"==r.prev.info;if(s.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=r.type&&"}"!=r.type;)r=r.prev;return r.indented}return"statement"==r.type?r.indented+("{"==o?0:c||n.unit):!r.align||u&&")"==r.type?")"!=r.type||i?r.indented+(i?0:n.unit)+(i||!a||/^(?:case|default)\b/.test(t)?0:n.unit):r.indented+(c||n.unit):r.column+(i?0:1)},languageData:{indentOnInput:e?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(o).concat(Object.keys(d)).concat(Object.keys(p)).concat(Object.keys(k)),...s.languageData}}}function words(e){for(var t={},n=e.split(" "),r=0;r!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new Context(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function tokenKotlinString(i){return function(e,t){for(var n,r=!1,o=!1;!e.eol();){if(!i&&!r&&e.match('"')){o=!0;break}if(i&&e.match('"""')){o=!0;break}n=e.next(),!r&&"$"==n&&e.match("{")&&e.skipTo("}"),r=!r&&"\\"==n&&!i}return!o&&i||(t.tokenize=null),"string"}}const kotlin=clike({keywords:words("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){return t.tokenize=tokenKotlinString(e.match('""')),t.tokenize(e,t)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))},indent:function(e,t,n,r){var o=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n&&"}"!=e.context.type||"variable"==e.prevToken&&"."==o||("}"==e.prevToken||")"==e.prevToken)&&"."==o?2*r+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:r):void 0:e.indented}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),shader=clike({keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook}}),nesC=clike({keywords:words(cKeywords+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:cTypes,blockKeywords:words(cBlockKeywords),atoms:words("null true false"),hooks:{"#":cppHook}}),objectiveC=clike({keywords:words(cKeywords+" "+objCKeywords),types:objCTypes,builtin:words(objCBuiltins),blockKeywords:words(cBlockKeywords+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:words(cDefKeywords+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:words("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:cIsReservedIdentifier,hooks:{"#":cppHook,"*":pointerHook}}),objectiveCpp=clike({keywords:words(cKeywords+" "+objCKeywords+" "+cppKeywords),types:objCTypes,builtin:words(objCBuiltins),blockKeywords:words(cBlockKeywords+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:words(cDefKeywords+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:words("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:cIsReservedIdentifier,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&cppLooksLikeConstructor(e.current()))return"def"}},namespaceSeparator:"::"}),squirrel=clike({keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:cTypes,blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook}});var stringTokenizer=null;function tokenCeylonString(i){return function(e,t){for(var n,r=!1,o=!1;!e.eol();){if(!r&&e.match('"')&&("single"==i||e.match('""'))){o=!0;break}if(!r&&e.match("``")){stringTokenizer=tokenCeylonString(i),o=!0;break}n=e.next(),r="single"==i&&!r&&"\\"==n}return o&&(t.tokenize=null),"string"}}const ceylon=clike({keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){e=e.charAt(0);return e===e.toUpperCase()&&e!==e.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!stringTokenizer||!e.match("`"))&&(t.tokenize=stringTokenizer,stringTokenizer=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function pushInterpolationStack(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function popInterpolationStack(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function sizeInterpolationStack(e){return e.interpolationStack?e.interpolationStack.length:0}function tokenDartString(o,e,t,i){var a=!1;if(e.eat(o)){if(!e.eat(o))return"string";a=!0}function n(e,t){for(var n=!1;!e.eol();){if(!i&&!n&&"$"==e.peek())return pushInterpolationStack(t),t.tokenize=tokenInterpolation,"string";var r=e.next();if(r==o&&!n&&(!a||e.match(o+o))){t.tokenize=null;break}n=!i&&!n&&"\\"==r}return"string"}return(t.tokenize=n)(e,t)}function tokenInterpolation(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=tokenInterpolationIdentifier,null}function tokenInterpolationIdentifier(e,t){return e.eatWhile(/[\w_]/),t.tokenize=popInterpolationStack(t),"variable"}const dart=clike({keywords:words("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required"),blockKeywords:words("try catch finally do else for if switch while"),builtin:words("void bool num int double dynamic var String Null Never"),atoms:words("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return tokenDartString("'",e,t,!1)},'"':function(e,t){return tokenDartString('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&tokenDartString(e.next(),e,t,!0)},"}":function(e,t){return 0","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],haveBodyParameter=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"],atom=createLookupMap(atoms),specialForm=createLookupMap(specialForms),coreSymbol=createLookupMap(coreSymbols),hasBodyParameter=createLookupMap(haveBodyParameter),delimiter=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,numberLiteral=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characterLiteral=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,qualifiedSymbol=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function base(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(numberLiteral))return[null,"number"];if(e.match(characterLiteral))return[null,"string.special"];if(e.eat(/^"/))return(t.tokenize=inString)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var n=e.match(qualifiedSymbol),n=n&&n[0];return n?"comment"===n&&"("===t.lastToken?(t.tokenize=inComment)(e,t):is(n,atom)||":"===n.charAt(0)?["symbol","atom"]:is(n,specialForm)||is(n,coreSymbol)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile(function(e){return!is(e,delimiter)}),[null,"error"])}function inString(e,t){for(var n,r=!1;n=e.next();){if('"'===n&&!r){t.tokenize=base;break}r=!r&&"\\"===n}return[null,"string"]}function inComment(e,t){for(var n,r=1;n=e.next();)if(")"===n&&r--,"("===n&&r++,0===r){e.backUp(1),t.tokenize=base;break}return["space","comment"]}function createLookupMap(e){for(var t={},n=0;n >= "),tests={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function isNumber(E,T){return"0"===E&&T.eat(/x/i)?(T.eatWhile(tests.hex),!0):("+"!=E&&"-"!=E||!tests.digit.test(T.peek())||(T.eat(tests.sign),E=T.next()),!!tests.digit.test(E)&&(T.eat(E),T.eatWhile(tests.digit),"."==T.peek()&&(T.eat("."),T.eatWhile(tests.digit)),T.eat(tests.exponent)&&(T.eat(tests.sign),T.eatWhile(tests.digit)),!0))}const cobol={startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(null==T.indentStack&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var N=null;if("string"===T.mode){for(var I;null!=(I=E.next());)if('"'==I||"'"==I){T.mode=!1;break}N=STRING}else{var R=E.next(),O=E.column();if(0<=O&&O<=5)N=COBOLLINENUM;else if(72<=O&&O<=79)E.skipToEnd(),N=MODTAG;else if("*"==R&&6==O)E.skipToEnd(),N=COMMENT;else if('"'==R||"'"==R)T.mode="string",N=STRING;else if("'"!=R||tests.digit_or_colon.test(E.peek()))if("."==R)N=PERIOD;else if(isNumber(R,E))N=NUMBER;else{if(E.current().match(tests.symbol))for(;O<71&&void 0!==E.eat(tests.symbol);)O++;N=keywords&&keywords.propertyIsEnumerable(E.current().toUpperCase())?KEYWORD:builtins&&builtins.propertyIsEnumerable(E.current().toUpperCase())?BUILTIN:atoms&&atoms.propertyIsEnumerable(E.current().toUpperCase())?ATOM:null}else N=ATOM}return N},indent:function(E){return null==E.indentStack?E.indentation:E.indentStack.indent}};export{cobol}; diff --git a/typecho/write/dist/coffeescript-fc762049.js b/typecho/write/dist/coffeescript-fc762049.js new file mode 100644 index 0000000..316441f --- /dev/null +++ b/typecho/write/dist/coffeescript-fc762049.js @@ -0,0 +1 @@ +var ERRORCLASS="error";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var operators=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,delimiters=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,identifiers=/^[_A-Za-z$][_A-Za-z$0-9]*/,atProp=/^@[_A-Za-z$][_A-Za-z$0-9]*/,wordOperators=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),commonKeywords=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],keywords=wordRegexp((indentKeywords=["for","while","loop","if","unless","else","switch","try","catch","finally","class"]).concat(commonKeywords)),indentKeywords=wordRegexp(indentKeywords),stringPrefixes=/^('{3}|\"{3}|['\"])/,regexPrefixes=/^(\/{3}|\/)/,commonConstants=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],constants=wordRegexp(commonConstants);function tokenBase(e,n){if(e.sol()){null===n.scope.align&&(n.scope.align=!1);var t=n.scope.offset;if(e.eatSpace()){var o=e.indentation();return t"!==o&&"=>"!==o||!e.eol())&&"indent"!==t||indent(e,n);var r="[({".indexOf(o);if(-1!==r&&indent(e,n,"])}".slice(r,r+1)),indentKeywords.exec(o)&&indent(e,n),"then"==o&&dedent(e,n),"dedent"===t&&dedent(e,n))return ERRORCLASS;if(-1!==(r="])}".indexOf(o))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==o&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),"indent"==t||"dedent"==t?null:t}const coffeeScript={startState:function(){return{tokenize:tokenBase,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var t=null===n.scope.align&&n.scope;t&&e.sol()&&(t.align=!1);var o=tokenLexer(e,n);return o&&"comment"!=o&&(t&&(t.align=!0),n.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,n){if(e.tokenize!=tokenBase)return 0;var t=e.scope,e=n&&-1<"])}".indexOf(n.charAt(0));if(e)for(;"coffee"==t.type&&t.prev;)t=t.prev;n=e&&t.type===n.charAt(0);return t.align?t.alignOffset-(n?1:0):(n?t.prev:t).offset},languageData:{commentTokens:{line:"#"}}};export{coffeeScript}; diff --git a/typecho/write/dist/commonlisp-ba6e115c.js b/typecho/write/dist/commonlisp-ba6e115c.js new file mode 100644 index 0000000..0800150 --- /dev/null +++ b/typecho/write/dist/commonlisp-ba6e115c.js @@ -0,0 +1 @@ +var type,specialForm=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,assumeBody=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,numLiteral=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,symbol=/[^\s'`,@()\[\]";]/;function readSym(e){for(var t;t=e.next();)if("\\"==t)e.next();else if(!symbol.test(t)){e.backUp(1);break}return e.current()}function base(e,t){if(e.eatSpace())return type="ws",null;if(e.match(numLiteral))return"number";var n=e.next();if('"'==(n="\\"==n?e.next():n))return(t.tokenize=inString)(e,t);if("("==n)return type="open","bracket";if(")"==n||"]"==n)return type="close","bracket";if(";"==n)return e.skipToEnd(),type="ws","comment";if(/['`,@]/.test(n))return null;if("|"==n)return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if("#"==n)return"("==(n=e.next())?(type="open","bracket"):/[+\-=\.']/.test(n)||/\d/.test(n)&&e.match(/^\d*#/)?null:"|"==n?(t.tokenize=inComment)(e,t):":"==n?(readSym(e),"meta"):"\\"==n?(e.next(),readSym(e),"string.special"):"error";e=readSym(e);return"."==e?null:(type="symbol","nil"==e||"t"==e||":"==e.charAt(0)?"atom":"open"==t.lastType&&(specialForm.test(e)||assumeBody.test(e))?"keyword":"&"==e.charAt(0)?"variableName.special":"variableName")}function inString(e,t){for(var n,r=!1;n=e.next();){if('"'==n&&!r){t.tokenize=base;break}r=!r&&"\\"==n}return"string"}function inComment(e,t){for(var n,r;n=e.next();){if("#"==n&&"|"==r){t.tokenize=base;break}r=n}return type="ws","comment"}const commonLisp={startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:base}},token:function(e,t){e.sol()&&"number"!=typeof t.ctx.indentTo&&(t.ctx.indentTo=t.ctx.start+1),type=null;var n=t.tokenize(e,t);return"ws"!=type&&(null==t.ctx.indentTo?"symbol"==type&&assumeBody.test(e.current())?t.ctx.indentTo=t.ctx.start+e.indentUnit:t.ctx.indentTo="next":"next"==t.ctx.indentTo&&(t.ctx.indentTo=e.column()),t.lastType=type),"open"==type?t.ctx={prev:t.ctx,start:e.column(),indentTo:null}:"close"==type&&(t.ctx=t.ctx.prev||t.ctx),n},indent:function(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{commonLisp}; diff --git a/typecho/write/dist/crystal-5772ab5b.js b/typecho/write/dist/crystal-5772ab5b.js new file mode 100644 index 0000000..c1c381d --- /dev/null +++ b/typecho/write/dist/crystal-5772ab5b.js @@ -0,0 +1 @@ +function wordRegExp(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}var operators=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,conditionalOperators=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,indexingOperators=/^(?:\[\][?=]?)/,anotherOperators=/^(?:\.(?:\.{2})?|->|[?:])/,idents=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,types=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,keywords=wordRegExp(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),atomWords=wordRegExp(["true","false","nil","self"]),indentKeywordsArray=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],indentKeywords=wordRegExp(indentKeywordsArray),indentExpressionKeywordsArray=["if","unless","case","while","until","begin","then"],indentExpressionKeywords=wordRegExp(indentExpressionKeywordsArray),dedentKeywordsArray=["end","else","elsif","rescue","ensure"],dedentKeywords=wordRegExp(dedentKeywordsArray),dedentPunctualsArray=["\\)","\\}","\\]"],dedentPunctuals=new RegExp("^(?:"+dedentPunctualsArray.join("|")+")$"),nextTokenizer={def:tokenFollowIdent,fun:tokenFollowIdent,macro:tokenMacroDef,class:tokenFollowType,module:tokenFollowType,struct:tokenFollowType,lib:tokenFollowType,enum:tokenFollowType,union:tokenFollowType},matching={"[":"]","{":"}","(":")","<":">"};function tokenBase(e,t){if(e.eatSpace())return null;if("\\"!=t.lastToken&&e.match("{%",!1))return chain(tokenMacro("%","%"),e,t);if("\\"!=t.lastToken&&e.match("{{",!1))return chain(tokenMacro("{","}"),e,t);if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(idents))return e.eat(/[?!]/),o=e.current(),e.eat(":")?"atom":"."==t.lastToken?"property":keywords.test(o)?(indentKeywords.test(o)?"fun"==o&&0<=t.blocks.indexOf("lib")||"def"==o&&"abstract"==t.lastToken||(t.blocks.push(o),t.currentIndent+=1):"operator"!=t.lastStyle&&t.lastStyle||!indentExpressionKeywords.test(o)?"end"==o&&(t.blocks.pop(),--t.currentIndent):(t.blocks.push(o),t.currentIndent+=1),nextTokenizer.hasOwnProperty(o)&&t.tokenize.push(nextTokenizer[o]),"keyword"):atomWords.test(o)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?chain(tokenNest("[","]","meta"),e,t):(e.eat("@"),e.match(idents)||e.match(types),"propertyName");if(e.match(types))return"tag";if(e.eat(":"))return e.eat('"')?chain(tokenQuote('"',"atom",!1),e,t):e.match(idents)||e.match(types)||e.match(operators)||e.match(conditionalOperators)||e.match(indexingOperators)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return chain(tokenQuote('"',"string",!0),e,t);if("%"!=e.peek())return(o=e.match(/^<<-('?)([A-Z]\w*)\1/))?chain(tokenHereDoc(o[2],!o[1]),e,t):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F]+/):e.eat("o")?e.match(/^[0-7]+/):e.eat("b")&&e.match(/^[01]+/),"number"):e.eat(/^\d/)?(e.match(/^\d*(?:\.\d+)?(?:[eE][+-]?\d+)?/),"number"):e.match(operators)?(e.eat("="),"operator"):e.match(conditionalOperators)||e.match(anotherOperators)?"operator":(o=e.match(/[({[]/,!1))?chain(tokenNest(o=o[0],matching[o],null),e,t):e.eat("\\")?(e.next(),"meta"):(e.next(),null);var n,r="string",o=!0;if(e.match("%r"))r="string.special",n=e.next();else if(e.match("%w"))o=!1,n=e.next();else if(e.match("%q"))o=!1,n=e.next();else{if(!(n=e.match(/^%([^\w\s=])/)))return e.match(/^%[a-zA-Z0-9_\u009F-\uFFFF]*/)?"meta":"operator";n=n[1]}return chain(tokenQuote(n=matching.hasOwnProperty(n)?matching[n]:n,r,o),e,t)}function tokenNest(r,o,a,i){return function(e,t){if(!i&&e.match(r))return t.tokenize[t.tokenize.length-1]=tokenNest(r,o,a,!0),t.currentIndent+=1,a;var n=tokenBase(e,t);return e.current()===o&&(t.tokenize.pop(),--t.currentIndent,n=a),n}}function tokenMacro(n,r,o){return function(e,t){return!o&&e.match("{"+n)?(t.currentIndent+=1,t.tokenize[t.tokenize.length-1]=tokenMacro(n,r,!0),"meta"):e.match(r+"}")?(--t.currentIndent,t.tokenize.pop(),"meta"):tokenBase(e,t)}}function tokenMacroDef(e,t){if(e.eatSpace())return null;var n;if(n=e.match(idents)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"}function tokenFollowIdent(e,t){return e.eatSpace()?null:(e.match(idents)?e.eat(/[!?]/):e.match(operators)||e.match(conditionalOperators)||e.match(indexingOperators),t.tokenize.pop(),"def")}function tokenFollowType(e,t){return e.eatSpace()?null:(e.match(types),t.tokenize.pop(),"def")}function tokenQuote(o,a,i){return function(e,t){for(var n=!1;e.peek();)if(n)e.next(),n=!1;else{if(e.match("{%",!1))return t.tokenize.push(tokenMacro("%","%")),a;if(e.match("{{",!1))return t.tokenize.push(tokenMacro("{","}")),a;if(i&&e.match("#{",!1))return t.tokenize.push(tokenNest("#{","}","meta")),a;var r=e.next();if(r==o)return t.tokenize.pop(),a;n=i&&"\\"==r}return a}}function tokenHereDoc(r,o){return function(e,t){if(e.sol()&&(e.eatSpace(),e.match(r)))return t.tokenize.pop(),"string";for(var n=!1;e.peek();)if(n)e.next(),n=!1;else{if(e.match("{%",!1))return t.tokenize.push(tokenMacro("%","%")),"string";if(e.match("{{",!1))return t.tokenize.push(tokenMacro("{","}")),"string";if(o&&e.match("#{",!1))return t.tokenize.push(tokenNest("#{","}","meta")),"string";n=o&&"\\"==e.next()}return"string"}}const crystal={startState:function(){return{tokenize:[tokenBase],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),e=e.current();return n&&"comment"!=n&&(t.lastToken=e,t.lastStyle=n),n},indent:function(e,t,n){return t=t.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),dedentKeywords.test(t)||dedentPunctuals.test(t)?n.unit*(e.currentIndent-1):n.unit*e.currentIndent},languageData:{indentOnInput:wordRegExp(dedentPunctualsArray.concat(dedentKeywordsArray),!0),commentTokens:{line:"#"}}};export{crystal}; diff --git a/typecho/write/dist/css-79b391c7.js b/typecho/write/dist/css-79b391c7.js new file mode 100644 index 0000000..3cc2374 --- /dev/null +++ b/typecho/write/dist/css-79b391c7.js @@ -0,0 +1 @@ +function mkCSS(e){var a,o,t=(e={...defaults,...e}).inline,i=e.tokenHooks,n=e.documentTypes||{},l=e.mediaTypes||{},s=e.mediaFeatures||{},d=e.mediaValueKeywords||{},c=e.propertyKeywords||{},p=e.nonStandardPropertyKeywords||{},u=e.fontProperties||{},m=e.counterDescriptors||{},g=e.colorKeywords||{},b=e.valueKeywords||{},h=e.allowNested,r=e.lineComment,f=!0===e.supportsAtComponent,y=!1!==e.highlightNonStandardPropertyKeywords;function k(e,t){return a=t,e}function w(i){return function(e,t){for(var r,o=!1;null!=(r=e.next());){if(r==i&&!o){")"==i&&e.backUp(1);break}o=!o&&"\\"==r}return r!=i&&(o||")"==i)||(t.tokenize=null),a="string"}}function v(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=w(")"),a="(",null}function x(e,t,r){this.type=e,this.indent=t,this.prev=r}function z(e,t,r,o){return e.context=new x(r,t.indentation()+(!1===o?0:t.indentUnit),e.context),r}function K(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function _(e,t,r){return C[r.context.type](e,t,r)}function S(e,t,r,o){for(var i=o||1;0*\/]/.test(r)?(a="select-op",null):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?a="qualifier":/[:;{}\[\]\(\)]/.test(r)?k(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=v),a="variable","variableName.function"):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),a="word","property"):a=null})(e,t);return r&&"object"==typeof r&&(a=r[1],r=r[0]),o=r,"comment"!=a&&(t.state=C[t.state](a,e,t)),o},indent:function(e,t,r){var o=e.context,e=t&&t.charAt(0),t=o.indent;return(o="prop"==o.type&&("}"==e||")"==e)?o.prev:o).prev&&("}"!=e||"block"!=o.type&&"top"!=o.type&&"interpolation"!=o.type&&"restricted_atBlock"!=o.type?(")"!=e||"parens"!=o.type&&"atBlock_parens"!=o.type)&&("{"!=e||"at"!=o.type&&"atBlock"!=o.type)||(t=Math.max(0,o.indent-r.unit)):t=(o=o.prev).indent),t},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:r,block:{open:"/*",close:"*/"}},autocomplete:allWords}}}function keySet(e){for(var t={},r=0;r=&|~%^]/;const cypher={startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!==n&&t.context&&null==t.context.align&&"pattern"!==t.context.type&&(t.context.align=!0),"("===curPunc)pushContext(t,")",e.column());else if("["===curPunc)pushContext(t,"]",e.column());else if("{"===curPunc)pushContext(t,"}",e.column());else if(/[\]\}\)]/.test(curPunc)){for(;t.context&&"pattern"===t.context.type;)popContext(t);t.context&&curPunc===t.context.type&&popContext(t)}else"."===curPunc&&t.context&&"pattern"===t.context.type?popContext(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?pushContext(t,"pattern",e.column()):"pattern"!==t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var t=t&&t.charAt(0),r=e.context;if(/[\]\}]/.test(t))for(;r&&"pattern"===r.type;)r=r.prev;t=r&&t===r.type;return r?"keywords"===r.type?null:r.align?r.col+(t?0:1):r.indent+(t?0:n.unit):0}};export{cypher}; diff --git a/typecho/write/dist/d-7ec7aa31.js b/typecho/write/dist/d-7ec7aa31.js new file mode 100644 index 0000000..ba4f2ab --- /dev/null +++ b/typecho/write/dist/d-7ec7aa31.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function tokenBase(e,t){var n=e.next();if(hooks[n]){var r=hooks[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n||"`"==n)return t.tokenize=tokenString(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return curPunc=n,null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("/"==n){if(e.eat("+"))return(t.tokenize=tokenNestedComment)(e,t);if(e.eat("*"))return(t.tokenize=tokenComment)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);e=e.current();return keywords.propertyIsEnumerable(e)?(blockKeywords.propertyIsEnumerable(e)&&(curPunc="newstatement"),"keyword"):builtin.propertyIsEnumerable(e)?(blockKeywords.propertyIsEnumerable(e)&&(curPunc="newstatement"),"builtin"):atoms.propertyIsEnumerable(e)?"atom":"variable"}function tokenString(i){return function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==i&&!r){o=!0;break}r=!r&&"\\"==n}return!o&&(r||multiLineStrings)||(t.tokenize=null),"string"}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function tokenNestedComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="+"==n}return"comment"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new Context(r,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const d={startState:function(e){return{tokenize:null,context:new Context(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;curPunc=null;var r=(t.tokenize||tokenBase)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=curPunc&&":"!=curPunc&&","!=curPunc||"statement"!=n.type)if("{"==curPunc)pushContext(t,e.column(),"}");else if("["==curPunc)pushContext(t,e.column(),"]");else if("("==curPunc)pushContext(t,e.column(),")");else if("}"==curPunc){for(;"statement"==n.type;)n=popContext(t);for("}"==n.type&&(n=popContext(t));"statement"==n.type;)n=popContext(t)}else curPunc==n.type?popContext(t):(("}"==n.type||"top"==n.type)&&";"!=curPunc||"statement"==n.type&&"newstatement"==curPunc)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return null;var r=e.context,e=t&&t.charAt(0),t=e==(r="statement"==r.type&&"}"==e?r.prev:r).type;return"statement"==r.type?r.indented+("{"==e?0:n.unit):r.align?r.column+(t?0:1):r.indented+(t?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{d}; diff --git a/typecho/write/dist/diff-e72a85b3.js b/typecho/write/dist/diff-e72a85b3.js new file mode 100644 index 0000000..79868be --- /dev/null +++ b/typecho/write/dist/diff-e72a85b3.js @@ -0,0 +1 @@ +var TOKEN_NAMES={"+":"inserted","-":"deleted","@":"meta"};const diff={token:function(r){var e=r.string.search(/[\t ]+?$/);if(!r.sol()||0===e)return r.skipToEnd(),("error "+(TOKEN_NAMES[r.string.charAt(0)]||"")).replace(/ $/,"");var t=TOKEN_NAMES[r.peek()]||r.skipToEnd();return-1===e?r.skipToEnd():r.pos=e,t}};export{diff}; diff --git a/typecho/write/dist/dockerfile-f2730f07.js b/typecho/write/dist/dockerfile-f2730f07.js new file mode 100644 index 0000000..c94e5a1 --- /dev/null +++ b/typecho/write/dist/dockerfile-f2730f07.js @@ -0,0 +1 @@ +import{s as simpleMode}from"./simple-mode-3ccd66eb.js";var from="from",fromRegex=new RegExp("^(\\s*)\\b("+from+")\\b","i"),shells=["run","cmd","entrypoint","shell"],shellsAsArrayRegex=new RegExp("^(\\s*)("+shells.join("|")+")(\\s+\\[)","i"),expose="expose",exposeRegex=new RegExp("^(\\s*)("+expose+")(\\s+)","i"),others=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],instructions=[from,expose].concat(shells).concat(others),instructionRegex="("+instructions.join("|")+")",instructionOnlyLine=new RegExp("^(\\s*)"+instructionRegex+"(\\s*)(#.*)?$","i"),instructionWithArguments=new RegExp("^(\\s*)"+instructionRegex+"(\\s+)","i");const dockerFile=simpleMode({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:fromRegex,token:[null,"keyword"],sol:!0,next:"from"},{regex:instructionOnlyLine,token:[null,"keyword",null,"error"],sol:!0},{regex:shellsAsArrayRegex,token:[null,"keyword",null],sol:!0,next:"array"},{regex:exposeRegex,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:instructionWithArguments,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});export{dockerFile}; diff --git a/typecho/write/dist/dtd-da1e6af8.js b/typecho/write/dist/dtd-da1e6af8.js new file mode 100644 index 0000000..f05c194 --- /dev/null +++ b/typecho/write/dist/dtd-da1e6af8.js @@ -0,0 +1 @@ +var type;function ret(t,e){return type=e,t}function tokenBase(t,e){var n=t.next();if("<"==n&&t.eat("!"))return t.eatWhile(/[\-]/)?(e.tokenize=tokenSGMLComment)(t,e):t.eatWhile(/[\w]/)?ret("keyword","doindent"):void 0;if("<"==n&&t.eat("?"))return e.tokenize=inBlock("meta","?>"),ret("meta",n);if("#"==n&&t.eatWhile(/[\w]/))return ret("atom","tag");if("|"==n)return ret("keyword","separator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return ret(null,n);if(n.match(/[\[\]]/))return ret("rule",n);if('"'==n||"'"==n)return e.tokenize=tokenString(n),e.tokenize(t,e);if(t.eatWhile(/[a-zA-Z\?\+\d]/)){e=t.current();return null!==e.substr(e.length-1,e.length).match(/\?|\+/)&&t.backUp(1),ret("tag","tag")}return"%"==n||"*"==n?ret("number","number"):(t.eatWhile(/[\w\\\-_%.{,]/),ret(null,null))}function tokenSGMLComment(t,e){for(var n,r=0;null!=(n=t.next());){if(2<=r&&">"==n){e.tokenize=tokenBase;break}r="-"==n?r+1:0}return ret("comment","comment")}function tokenString(a){return function(t,e){for(var n,r=!1;null!=(n=t.next());){if(n==a&&!r){e.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("string","tag")}}function inBlock(n,r){return function(t,e){for(;!t.eol();){if(t.match(r)){e.tokenize=tokenBase;break}t.next()}return n}}const dtd={startState:function(){return{tokenize:tokenBase,baseIndent:0,stack:[]}},token:function(t,e){if(t.eatSpace())return null;var n=e.tokenize(t,e),r=e.stack[e.stack.length-1];return"["==t.current()||"doindent"===type||"["==type?e.stack.push("rule"):"endtag"===type?e.stack[e.stack.length-1]="endtag":"]"==t.current()||"]"==type||">"==type&&"rule"==r?e.stack.pop():"["==type&&e.stack.push("["),n},indent:function(t,e,n){var r=t.stack.length;return"]"===e.charAt(0)?r--:">"===e.substr(e.length-1,e.length)&&("<"===e.substr(0,1)||"doindent"==type&&1"==type&&1"!==e||("tag"==type&&"rule"==t.stack[t.stack.length-1]?r--:"tag"==type?r++:">"===e&&"rule"==t.stack[t.stack.length-1]&&">"===type?r--:">"===e&&"rule"==t.stack[t.stack.length-1]||("<"===e.substr(0,1)||">"!==e.substr(0,1))&&">"===e||(r-=1))),null!=type&&"]"!=type||r--),t.baseIndent+r*n.unit},languageData:{indentOnInput:/^\s*[\]>]$/}};export{dtd}; diff --git a/typecho/write/dist/dylan-f2ba9f15.js b/typecho/write/dist/dylan-f2ba9f15.js new file mode 100644 index 0000000..30b4d8e --- /dev/null +++ b/typecho/write/dist/dylan-f2ba9f15.js @@ -0,0 +1 @@ +function forEach(e,t){for(var n=0;n",symbolGlobal:"\\*"+symbolPattern+"\\*",symbolConstant:"\\$"+symbolPattern},patternStyles={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(patternName in patterns)patterns.hasOwnProperty(patternName)&&(patterns[patternName]=new RegExp("^"+patterns[patternName]));patterns.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var styles={keyword:"keyword",definition:"def",simpleDefinition:"def",signalingCalls:"builtin"},wordLookup={},styleLookup={};function chain(e,t,n){return(t.tokenize=n)(e,t)}function tokenBase(t,e){var n,r=t.peek();if("'"==r||'"'==r)return t.next(),chain(t,e,tokenString(r,"string"));if("/"==r){if(t.next(),t.eat("*"))return chain(t,e,tokenComment);if(t.eat("/"))return t.skipToEnd(),"comment";t.backUp(1)}else if(/[+\-\d\.]/.test(r)){if(t.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||t.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||t.match(/^[+-]?\d+/))return"number"}else{if("#"==r)return t.next(),'"'==(r=t.peek())?(t.next(),chain(t,e,tokenString('"',"string"))):"b"==r?(t.next(),t.eatWhile(/[01]/),"number"):"x"==r?(t.next(),t.eatWhile(/[\da-f]/i),"number"):"o"==r?(t.next(),t.eatWhile(/[0-7]/),"number"):"#"==r?(t.next(),"punctuation"):"["==r||"("==r?(t.next(),"bracket"):t.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(t.eatWhile(/[-a-zA-Z]/),"error");if("~"==r)return t.next(),"="==(r=t.peek())?(t.next(),"="==(r=t.peek())&&t.next(),"operator"):"operator";if(":"==r){if(t.next(),"="==(r=t.peek()))return t.next(),"operator";if(":"==r)return t.next(),"punctuation"}else{if(-1!="[](){}".indexOf(r))return t.next(),"bracket";if(-1!=".,".indexOf(r))return t.next(),"punctuation";if(t.match("end"))return"keyword"}}for(n in patterns)if(patterns.hasOwnProperty(n)){var o=patterns[n];if(o instanceof Array&&some(o,function(e){return t.match(e)})||t.match(o))return patternStyles[n]}return/[+\-*\/^=<>&|]/.test(r)?(t.next(),"operator"):t.match("define")?"def":(t.eatWhile(/[\w\-]/),wordLookup.hasOwnProperty(t.current())?styleLookup[t.current()]:t.current().match(symbol)?"variable":(t.next(),"variableName.standard"))}function tokenComment(e,t){for(var n,r=!1,o=!1,i=0;n=e.next();){if("/"==n&&r){if(!(0>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{ebnf}; diff --git a/typecho/write/dist/ecl-e5271367.js b/typecho/write/dist/ecl-e5271367.js new file mode 100644 index 0000000..922b3e2 --- /dev/null +++ b/typecho/write/dist/ecl-e5271367.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function tokenBase(e,t){var n=e.next();if(hooks[n]){var r=hooks[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=tokenString(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return curPunc=n,null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("/"==n){if(e.eat("*"))return(t.tokenize=tokenComment)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_]/);var o=e.current().toLowerCase();if(keyword.propertyIsEnumerable(o))return blockKeywords.propertyIsEnumerable(o)&&(curPunc="newstatement"),"keyword";if(variable.propertyIsEnumerable(o))return blockKeywords.propertyIsEnumerable(o)&&(curPunc="newstatement"),"variable";if(variable_2.propertyIsEnumerable(o))return blockKeywords.propertyIsEnumerable(o)&&(curPunc="newstatement"),"modifier";if(variable_3.propertyIsEnumerable(o))return blockKeywords.propertyIsEnumerable(o)&&(curPunc="newstatement"),"type";if(builtin.propertyIsEnumerable(o))return blockKeywords.propertyIsEnumerable(o)&&(curPunc="newstatement"),"builtin";for(var a=o.length-1;0<=a&&(!isNaN(o[a])||"_"==o[a]);)--a;if(0>"]);function chain(e,t,r){return r.tokenize.push(e),e(t,r)}function tokenBase(e,t){if(e.eatSpace())return null;var r=e.next();return'"'==r||"'"==r?chain(readQuoted(r,"string"),e,t):"-"==r&&e.eat("-")?(e.skipToEnd(),"comment"):":"==r&&e.eat("=")?"operator":/[0-9]/.test(r)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(r)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(r)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function readQuoted(a,o,i){return function(e,t){for(var r,n=!1;null!=(r=e.next());){if(r==a&&(i||!n)){t.tokenize.pop();break}n=!n&&"%"==r}return o}}const eiffel={startState:function(){return{tokenize:[tokenBase]}},token:function(e,t){var r=t.tokenize[t.tokenize.length-1](e,t);return"variable"==r&&(t=e.current(),r=keywords.propertyIsEnumerable(e.current())?"keyword":operators.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"),r},languageData:{commentTokens:{line:"--"}}};export{eiffel}; diff --git a/typecho/write/dist/elm-63fbccd1.js b/typecho/write/dist/elm-63fbccd1.js new file mode 100644 index 0000000..0702101 --- /dev/null +++ b/typecho/write/dist/elm-63fbccd1.js @@ -0,0 +1 @@ +function switchState(t,e,n){return e(n),n(t,e)}var lowerRE=/[a-z]/,upperRE=/[A-Z]/,innerRE=/[a-zA-Z0-9_]/,digitRE=/[0-9]/,hexRE=/[0-9A-Fa-f]/,symbolRE=/[-&*+.\\/<>=?^|:]/,specialRE=/[(),[\]{}]/,spacesRE=/[ \v\f]/;function normal(){return function(t,e){if(t.eatWhile(spacesRE))return null;var n=t.next();if(specialRE.test(n))return"{"===n&&t.eat("-")?switchState(t,e,chompMultiComment(1)):"["===n&&t.match("glsl|")?switchState(t,e,chompGlsl):"builtin";if("'"===n)return switchState(t,e,chompChar);if('"'===n)return t.eat('"')?t.eat('"')?switchState(t,e,chompMultiString):"string":switchState(t,e,chompSingleString);if(upperRE.test(n))return t.eatWhile(innerRE),"type";if(lowerRE.test(n)){e=1===t.pos;return t.eatWhile(innerRE),e?"def":"variable"}if(digitRE.test(n)){if("0"===n){if(t.eat(/[xX]/))return t.eatWhile(hexRE),"number"}else t.eatWhile(digitRE);return t.eat(".")&&t.eatWhile(digitRE),t.eat(/[eE]/)&&(t.eat(/[-+]/),t.eatWhile(digitRE)),"number"}return symbolRE.test(n)?"-"===n&&t.eat("-")?(t.skipToEnd(),"comment"):(t.eatWhile(symbolRE),"keyword"):"_"===n?"keyword":"error"}}function chompMultiComment(r){return 0==r?normal():function(t,e){for(;!t.eol();){var n=t.next();if("{"==n&&t.eat("-"))++r;else if("-"==n&&t.eat("}")&&0===--r)return e(normal()),"comment"}return e(chompMultiComment(r)),"comment"}}function chompMultiString(t,e){for(;!t.eol();)if('"'===t.next()&&t.eat('"')&&t.eat('"'))return e(normal()),"string";return"string"}function chompSingleString(t,e){for(;t.skipTo('\\"');)t.next(),t.next();return t.skipTo('"')?(t.next(),e(normal()),"string"):(t.skipToEnd(),e(normal()),"error")}function chompChar(t,e){for(;t.skipTo("\\'");)t.next(),t.next();return t.skipTo("'")?(t.next(),e(normal()),"string"):(t.skipToEnd(),e(normal()),"error")}function chompGlsl(t,e){for(;!t.eol();)if("|"===t.next()&&t.eat("]"))return e(normal()),"string";return"string"}var wellKnownWords={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const elm={startState:function(){return{f:normal()}},copyState:function(t){return{f:t.f}},token:function(t,e){var n=e.f(t,function(t){e.f=t}),t=t.current();return wellKnownWords.hasOwnProperty(t)?"keyword":n}};export{elm}; diff --git a/typecho/write/dist/erlang-8c025459.js b/typecho/write/dist/erlang-8c025459.js new file mode 100644 index 0000000..440d42c --- /dev/null +++ b/typecho/write/dist/erlang-8c025459.js @@ -0,0 +1 @@ +var typeWords=["-type","-spec","-export_type","-opaque"],keywordWords=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],separatorRE=/[\->,;]/,separatorWords=["->",";",","],operatorAtomWords=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],operatorSymbolRE=/[\+\-\*\/<>=\|:!]/,operatorSymbolWords=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],openParenRE=/[<\(\[\{]/,openParenWords=["<<","(","[","{"],closeParenRE=/[>\)\]\}]/,closeParenWords=["}","]",")",">>"],guardWords=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],bifWords=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],anumRE=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,escapesRE=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function tokenizer(e,r){if(r.in_string)return r.in_string=!doubleQuote(e),rval(r,e,"string");if(r.in_atom)return r.in_atom=!singleQuote(e),rval(r,e,"atom");if(e.eatSpace())return rval(r,e,"whitespace");if(!peekToken(r)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return is_member(e.current(),typeWords)?rval(r,e,"type"):rval(r,e,"attribute");var t=e.next();if("%"==t)return e.skipToEnd(),rval(r,e,"comment");if(":"==t)return rval(r,e,"colon");if("?"==t)return e.eatSpace(),e.eatWhile(anumRE),rval(r,e,"macro");if("#"==t)return e.eatSpace(),e.eatWhile(anumRE),rval(r,e,"record");if("$"==t)return"\\"!=e.next()||e.match(escapesRE)?rval(r,e,"number"):rval(r,e,"error");if("."==t)return rval(r,e,"dot");if("'"==t){if(!(r.in_atom=!singleQuote(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(r,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return rval(r,e,"function")}return rval(r,e,"atom")}if('"'==t)return r.in_string=!doubleQuote(e),rval(r,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(t))return e.eatWhile(anumRE),rval(r,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(t)){if(e.eatWhile(anumRE),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(r,e,"fun");var n=e.current();return is_member(n,keywordWords)?rval(r,e,"keyword"):is_member(n,operatorAtomWords)?rval(r,e,"operator"):e.match(/\s*\(/,!1)?!is_member(n,bifWords)||":"==peekToken(r).token&&"erlang"!=peekToken(r,2).token?is_member(n,guardWords)?rval(r,e,"guard"):rval(r,e,"function"):rval(r,e,"builtin"):":"==lookahead(e)?rval(r,e,"erlang"==n?"builtin":"function"):is_member(n,["true","false"])?rval(r,e,"boolean"):rval(r,e,"atom")}n=/[0-9]/;return n.test(t)?(e.eatWhile(n),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(n)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(n)||e.backUp(2):e.eatWhile(n)||e.backUp(1)):e.backUp(1)),rval(r,e,"number")):nongreedy(e,openParenRE,openParenWords)?rval(r,e,"open_paren"):nongreedy(e,closeParenRE,closeParenWords)?rval(r,e,"close_paren"):greedy(e,separatorRE,separatorWords)?rval(r,e,"separator"):greedy(e,operatorSymbolRE,operatorSymbolWords)?rval(r,e,"operator"):rval(r,e,null)}function nongreedy(e,r,t){if(1==e.current().length&&r.test(e.current())){for(e.backUp(1);r.test(e.peek());)if(e.next(),is_member(e.current(),t))return!0;e.backUp(e.current().length-1)}return!1}function greedy(e,r,t){if(1==e.current().length&&r.test(e.current())){for(;r.test(e.peek());)e.next();for(;0>":return d(e,{i:["<<"]});case"end":return d(e,{i:["begin","case","fun","if","receive","try"]});case",":return d(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return d(e,{r:["when"],m:["try","if","case","receive"]});case";":return d(e,{E:["case","fun","if","receive","try","when"]});case"catch":return d(e,{e:["try"]});case"of":return d(e,{e:["case"]});case"after":return d(e,{e:["receive","try"]});default:return e}}function d(e,r){for(var t in r)for(var n=e.length-1,o=r[t],a=n-1;-1"==a.token?is_member(r.token,["receive","case","if","try"])?r.column+t.unit+t.unit:r.column+t.unit:is_member(a.token,openParenWords)?a.column+a.token.length:truthy(n=defaultToken(e))?n.column+t.unit:0:0}function wordafter(e){e=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return truthy(e)&&0===e.index?e[0]:""}function postcommaToken(e){var r=e.tokenStack.slice(0,-1),e=getTokenIndex(r,"type",["open_paren"]);return!!truthy(r[e])&&r[e]}function defaultToken(e){var r=e.tokenStack,t=getTokenIndex(r,"type",["open_paren","separator","keyword"]),e=getTokenIndex(r,"type",["operator"]);return truthy(t)&&truthy(e)&&t|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}});export{factor}; diff --git a/typecho/write/dist/fcl-d6276f3f.js b/typecho/write/dist/fcl-d6276f3f.js new file mode 100644 index 0000000..ca4f751 --- /dev/null +++ b/typecho/write/dist/fcl-d6276f3f.js @@ -0,0 +1 @@ +var keywords={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},start_blocks={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},end_blocks={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},atoms={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},isOperatorChar=/[+\-*&^%:=<>!|\/]/;function tokenBase(e,t){var n=e.next();if(/[\d\.]/.test(n))return"."==n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==n||"("==n){if(e.eat("*"))return(t.tokenize=tokenComment)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);e=e.current().toLowerCase();return keywords.propertyIsEnumerable(e)||start_blocks.propertyIsEnumerable(e)||end_blocks.propertyIsEnumerable(e)?"keyword":atoms.propertyIsEnumerable(e)?"atom":"variable"}function tokenComment(e,t){for(var n,o=!1;n=e.next();){if(("/"==n||")"==n)&&o){t.tokenize=tokenBase;break}o="*"==n}return"comment"}function Context(e,t,n,o,r){this.indented=e,this.column=t,this.type=n,this.align=o,this.prev=r}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){if(e.context.prev)return"end_block"==e.context.type&&(e.indented=e.context.indented),e.context=e.context.prev}const fcl={startState:function(e){return{tokenize:null,context:new Context(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var o=(t.tokenize||tokenBase)(e,t);if("comment"==o)return o;null==n.align&&(n.align=!0);n=e.current().toLowerCase();return start_blocks.propertyIsEnumerable(n)?pushContext(t,e.column(),"end_block"):end_blocks.propertyIsEnumerable(n)&&popContext(t),t.startOfLine=!1,o},indent:function(e,t,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;e=e.context,t=end_blocks.propertyIsEnumerable(t);return e.align?e.column+(t?0:1):e.indented+(t?0:n.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}};export{fcl}; diff --git a/typecho/write/dist/forth-02de8e5b.js b/typecho/write/dist/forth-02de8e5b.js new file mode 100644 index 0000000..b026721 --- /dev/null +++ b/typecho/write/dist/forth-02de8e5b.js @@ -0,0 +1 @@ +function toWordList(t){var E=[];return t.split(" ").forEach(function(t){E.push({name:t})}),E}var coreWordList=toWordList("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),immediateWordList=toWordList("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function searchWordList(t,E){for(var i=t.length-1;0<=i;i--)if(t[i].name===E.toUpperCase())return t[i]}const forth={startState:function(){return{state:"",base:10,coreWordList:coreWordList,immediateWordList:immediateWordList,wordList:[]}},token:function(t,E){var i;if(t.eatSpace())return null;if(""===E.state){if(t.match(/^(\]|:NONAME)(\s|$)/i))return E.state=" compilation","builtin";if(i=t.match(/^(\:)\s+(\S+)(\s|$)+/))return E.wordList.push({name:i[2].toUpperCase()}),E.state=" compilation","def";if(i=t.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return E.wordList.push({name:i[2].toUpperCase()}),"def";if(i=t.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"}else{if(t.match(/^(\;|\[)(\s)/))return E.state="",t.backUp(1),"builtin";if(t.match(/^(\;|\[)($)/))return E.state="","builtin";if(t.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return(i=t.match(/^(\S+)(\s+|$)/))?void 0!==searchWordList(E.wordList,i[1])?"variable":"\\"===i[1]?(t.skipToEnd(),"comment"):void 0!==searchWordList(E.coreWordList,i[1])?"builtin":void 0!==searchWordList(E.immediateWordList,i[1])?"keyword":"("===i[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"comment"):".("===i[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"string"):'S"'===i[1]||'."'===i[1]||'C"'===i[1]?(t.eatWhile(function(t){return'"'!==t}),t.eat('"'),"string"):i[1]-68719476735?"number":"atom":void 0}};export{forth}; diff --git a/typecho/write/dist/fortran-92612c49.js b/typecho/write/dist/fortran-92612c49.js new file mode 100644 index 0000000..0a0218c --- /dev/null +++ b/typecho/write/dist/fortran-92612c49.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=0;n\/\:]/,litOperator=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");function tokenBase(e,t){if(e.match(litOperator))return"operator";var n=e.next();if("!"==n)return e.skipToEnd(),"comment";if('"'==n||"'"==n)return t.tokenize=tokenString(n),t.tokenize(e,t);if(/[\[\]\(\),]/.test(n))return null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_]/);e=e.current().toLowerCase();return keywords.hasOwnProperty(e)?"keyword":builtins.hasOwnProperty(e)||dataTypes.hasOwnProperty(e)?"builtin":"variable"}function tokenString(r){return function(e,t){for(var n,a=!1,i=!1;null!=(n=e.next());){if(n==r&&!a){i=!0;break}a=!a&&"\\"==n}return!i&&a||(t.tokenize=null),"string"}}const fortran={startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;t=(t.tokenize||tokenBase)(e,t);return t}};export{fortran}; diff --git a/typecho/write/dist/gas-c1ef3a64.js b/typecho/write/dist/gas-c1ef3a64.js new file mode 100644 index 0000000..fb59c0f --- /dev/null +++ b/typecho/write/dist/gas-c1ef3a64.js @@ -0,0 +1 @@ +function mkGas(i){var b=[],r="",u={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},s={};function c(i,l){for(var e,t=!1;null!=(e=i.next());){if("/"===e&&t){l.tokenize=null;break}t="*"===e}return"comment"}return"x86"===i?(r="#",s.ax="variable",s.eax="variableName.special",s.rax="variableName.special",s.bx="variable",s.ebx="variableName.special",s.rbx="variableName.special",s.cx="variable",s.ecx="variableName.special",s.rcx="variableName.special",s.dx="variable",s.edx="variableName.special",s.rdx="variableName.special",s.si="variable",s.esi="variableName.special",s.rsi="variableName.special",s.di="variable",s.edi="variableName.special",s.rdi="variableName.special",s.sp="variable",s.esp="variableName.special",s.rsp="variableName.special",s.bp="variable",s.ebp="variableName.special",s.rbp="variableName.special",s.ip="variable",s.eip="variableName.special",s.rip="variableName.special",s.cs="keyword",s.ds="keyword",s.ss="keyword",s.es="keyword",s.fs="keyword",s.gs="keyword"):"arm"!==i&&"armv6"!==i||(r="@",u.syntax="builtin",s.r0="variable",s.r1="variable",s.r2="variable",s.r3="variable",s.r4="variable",s.r5="variable",s.r6="variable",s.r7="variable",s.r8="variable",s.r9="variable",s.r10="variable",s.r11="variable",s.r12="variable",s.sp="variableName.special",s.lr="variableName.special",s.pc="variableName.special",s.r13=s.sp,s.r14=s.lr,s.r15=s.pc,b.push(function(i,l){if("#"===i)return l.eatWhile(/\w/),"number"})),{startState:function(){return{tokenize:null}},token:function(i,l){if(l.tokenize)return l.tokenize(i,l);if(i.eatSpace())return null;var e,t,n=i.next();if("/"===n&&i.eat("*"))return(l.tokenize=c)(i,l);if(n===r)return i.skipToEnd(),"comment";if('"'===n)return function(i,l){for(var e,t=!1;null!=(e=i.next());){if(e===l&&!t)return;t=!t&&"\\"===e}}(i,'"'),"string";if("."===n)return i.eatWhile(/\w/),t=i.current().toLowerCase(),(e=u[t])||null;if("="===n)return i.eatWhile(/\w/),"tag";if("{"===n)return"bracket";if("}"===n)return"bracket";if(/\d/.test(n))return"0"===n&&i.eat("x")?i.eatWhile(/[0-9a-fA-F]/):i.eatWhile(/\d/),"number";if(/\w/.test(n))return i.eatWhile(/\w/),i.eat(":")?"tag":(t=i.current().toLowerCase(),(e=s[t])||null);for(var a=0;a]*>?/)?"variable":(a.next(),a.eatWhile(/[^@"<#]/),null)}};export{gherkin}; diff --git a/typecho/write/dist/go-7157bdcf.js b/typecho/write/dist/go-7157bdcf.js new file mode 100644 index 0000000..3909e4a --- /dev/null +++ b/typecho/write/dist/go-7157bdcf.js @@ -0,0 +1 @@ +var curPunc,keywords={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},atoms={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},isOperatorChar=/[+\-*&^%:=<>!|\/]/;function tokenBase(t,e){var n=t.next();if('"'==n||"'"==n||"`"==n)return e.tokenize=tokenString(n),e.tokenize(t,e);if(/[\d\.]/.test(n))return"."==n?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return curPunc=n,null;if("/"==n){if(t.eat("*"))return(e.tokenize=tokenComment)(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(isOperatorChar.test(n))return t.eatWhile(isOperatorChar),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);t=t.current();return keywords.propertyIsEnumerable(t)?("case"!=t&&"default"!=t||(curPunc="case"),"keyword"):atoms.propertyIsEnumerable(t)?"atom":"variable"}function tokenString(i){return function(t,e){for(var n,r=!1,o=!1;null!=(n=t.next());){if(n==i&&!r){o=!0;break}r=!r&&"`"!=i&&"\\"==n}return(o||!r&&"`"!=i)&&(e.tokenize=tokenBase),"string"}}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=tokenBase;break}r="*"==n}return"comment"}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){return t.context=new Context(t.indented,e,n,null,t.context)}function popContext(t){if(t.context.prev){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}}const go={startState:function(t){return{tokenize:null,context:new Context(-t,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(null==n.align&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0,"case"==n.type&&(n.type="}")),t.eatSpace())return null;curPunc=null;var r=(e.tokenize||tokenBase)(t,e);return"comment"==r||(null==n.align&&(n.align=!0),"{"==curPunc?pushContext(e,t.column(),"}"):"["==curPunc?pushContext(e,t.column(),"]"):"("==curPunc?pushContext(e,t.column(),")"):"case"==curPunc?n.type="case":("}"==curPunc&&"}"==n.type||curPunc==n.type)&&popContext(e),e.startOfLine=!1),r},indent:function(t,e,n){if(t.tokenize!=tokenBase&&null!=t.tokenize)return null;var r=t.context,o=e&&e.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(e))return t.context.type="}",r.indented;o=o==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{go}; diff --git a/typecho/write/dist/groovy-15bb0a05.js b/typecho/write/dist/groovy-15bb0a05.js new file mode 100644 index 0000000..6631626 --- /dev/null +++ b/typecho/write/dist/groovy-15bb0a05.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=e.split(" "),r=0;r"))return curPunc="->",null;if(/[+\-*&%=<>!?|\/~]/.test(n))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==n)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return curPunc="proplabel","property";e=e.current();return atoms.propertyIsEnumerable(e)?"atom":keywords.propertyIsEnumerable(e)?(blockKeywords.propertyIsEnumerable(e)?curPunc="newstatement":standaloneKeywords.propertyIsEnumerable(e)&&(curPunc="standalone"),"keyword"):"variable"}function startString(i,e,t){var a=!1;if("/"!=i&&e.eat(i)){if(!e.eat(i))return"string";a=!0}function n(e,t){for(var n,r=!1,o=!a;null!=(n=e.next());){if(n==i&&!r){if(!a)break;if(e.match(i+i)){o=!0;break}}if('"'==i&&"$"==n&&!r&&e.eat("{"))return t.tokenize.push(tokenBaseUntilBrace()),"string";r=!r&&"\\"==n}return o&&t.tokenize.pop(),"string"}return t.tokenize.push(n),n(e,t)}function tokenBaseUntilBrace(){var n=1;function e(e,t){if("}"==e.peek()){if(0==--n)return t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t)}else"{"==e.peek()&&n++;return tokenBase(e,t)}return e.isBase=!0,e}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize.pop();break}r="*"==n}return"comment"}function expectExpression(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}tokenBase.isBase=!0;const groovy={startState:function(e){return{tokenize:[tokenBase],context:new Context(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=n.type||expectExpression(t.lastToken,!0)||(popContext(t),n=t.context)),e.eatSpace())return null;curPunc=null;var r=t.tokenize[t.tokenize.length-1](e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=curPunc&&":"!=curPunc||"statement"!=n.type)if("->"==curPunc&&"statement"==n.type&&"}"==n.prev.type)popContext(t),t.context.align=!1;else if("{"==curPunc)pushContext(t,e.column(),"}");else if("["==curPunc)pushContext(t,e.column(),"]");else if("("==curPunc)pushContext(t,e.column(),")");else if("}"==curPunc){for(;"statement"==n.type;)n=popContext(t);for("}"==n.type&&(n=popContext(t));"statement"==n.type;)n=popContext(t)}else curPunc==n.type?popContext(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==curPunc)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,t.lastToken=curPunc||r,r},indent:function(e,t,n){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var r=t&&t.charAt(0),t=e.context,e=r==(t="statement"==t.type&&!expectExpression(e.lastToken,!0)?t.prev:t).type;return"statement"==t.type?t.indented+("{"==r?0:n.unit):t.align?t.column+(e?0:1):t.indented+(e?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}};export{groovy}; diff --git a/typecho/write/dist/haskell-659ae93f.js b/typecho/write/dist/haskell-659ae93f.js new file mode 100644 index 0000000..d73fe28 --- /dev/null +++ b/typecho/write/dist/haskell-659ae93f.js @@ -0,0 +1 @@ +function switchState(e,t,r){return t(r),r(e,t)}var smallRE=/[a-z_]/,largeRE=/[A-Z]/,digitRE=/\d/,hexitRE=/[0-9A-Fa-f]/,octitRE=/[0-7]/,idRE=/[a-z_A-Z0-9'\xa1-\uffff]/,symbolRE=/[-!#$%&*+.\/<=>?@\\^|~:]/,specialRE=/[(),;[\]`{}]/,whiteCharRE=/[ \t\v\f]/;function normal(e,t){if(e.eatWhile(whiteCharRE))return null;var r=e.next();if(specialRE.test(r)){if("{"==r&&e.eat("-")){var n="comment";return e.eat("#")&&(n="meta"),switchState(e,t,ncomment(n,1))}return null}if("'"==r)return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if('"'==r)return switchState(e,t,stringLiteral);if(largeRE.test(r))return e.eatWhile(idRE),e.eat(".")?"qualifier":"type";if(smallRE.test(r))return e.eatWhile(idRE),"variable";if(digitRE.test(r)){if("0"==r){if(e.eat(/[xX]/))return e.eatWhile(hexitRE),"integer";if(e.eat(/[oO]/))return e.eatWhile(octitRE),"number"}e.eatWhile(digitRE);n="number";return e.match(/^\.\d+/)&&(n="number"),e.eat(/[eE]/)&&(n="number",e.eat(/[-+]/),e.eatWhile(digitRE)),n}return"."==r&&e.eat(".")?"keyword":symbolRE.test(r)?"-"==r&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(symbolRE))?(e.skipToEnd(),"comment"):(e.eatWhile(symbolRE),"variable"):"error"}function ncomment(a,i){return 0==i?normal:function(e,t){for(var r=i;!e.eol();){var n=e.next();if("{"==n&&e.eat("-"))++r;else if("-"==n&&e.eat("}")&&0==--r)return t(normal),a}return t(ncomment(a,r)),a}}function stringLiteral(e,t){for(;!e.eol();){var r=e.next();if('"'==r)return t(normal),"string";if("\\"==r){if(e.eol()||e.eat(whiteCharRE))return t(stringGap),"string";e.eat("&")||e.next()}}return t(normal),"error"}function stringGap(e,t){return e.eat("\\")?switchState(e,t,stringLiteral):(e.next(),t(normal),"error")}var wellKnownWords=function(){var r={};function e(t){return function(){for(var e=0;e","@","~","=>"),e("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),e("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),e("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),r}();const haskell={startState:function(){return{f:normal}},copyState:function(e){return{f:e.f}},token:function(e,t){var r=t.f(e,function(e){t.f=e}),e=e.current();return wellKnownWords.hasOwnProperty(e)?wellKnownWords[e]:r},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}};export{haskell}; diff --git a/typecho/write/dist/haxe-8482e88f.js b/typecho/write/dist/haxe-8482e88f.js new file mode 100644 index 0000000..969ab06 --- /dev/null +++ b/typecho/write/dist/haxe-8482e88f.js @@ -0,0 +1 @@ +function kw(e){return{type:e,style:"keyword"}}var content,A=kw("keyword a"),B=kw("keyword b"),C=kw("keyword c"),operator=kw("operator"),atom={type:"atom",style:"atom"},attribute={type:"attribute",style:"attribute"},type=kw("typedef"),keywords={if:A,while:A,else:B,do:B,try:B,return:C,break:C,continue:C,new:C,throw:C,var:kw("var"),inline:attribute,static:attribute,using:kw("import"),public:attribute,private:attribute,cast:kw("cast"),import:kw("import"),macro:kw("macro"),function:kw("function"),catch:kw("catch"),untyped:kw("untyped"),callback:kw("cb"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:operator,never:kw("property_access"),trace:kw("trace"),class:type,abstract:type,enum:type,interface:type,typedef:type,extends:type,implements:type,dynamic:type,true:atom,false:atom,null:atom},isOperatorChar=/[+\-*&%=<>!?|]/;function chain(e,t,n){return(t.tokenize=n)(e,t)}function toUnescaped(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function ret(e,t,n){return type=e,content=n,t}function haxeTokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return chain(e,t,haxeTokenString(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),ret("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return toUnescaped(e,"/"),e.eatWhile(/[gimsu]/),ret("regexp","string.special");if("/"==n)return e.eat("*")?chain(e,t,haxeTokenComment):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):(e.eatWhile(isOperatorChar),ret("operator",null,e.current()));if("#"==n)return e.skipToEnd(),ret("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),ret("metadata","meta");if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),ret("operator",null,e.current());if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),ret("type","type",r=e.current());e.eatWhile(/[\w_]/);var r=e.current(),e=keywords.propertyIsEnumerable(r)&&keywords[r];return e&&t.kwAllowed?ret(e.type,e.style,r):ret("variable","variable",r)}function haxeTokenString(n){return function(e,t){return toUnescaped(e,n)&&(t.tokenize=haxeTokenBase),ret("string","string")}}function haxeTokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=haxeTokenBase;break}r="*"==n}return ret("comment","comment")}var atomicTypes={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function HaxeLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function parseHaxe(e,t,n,r,o){var a=e.cc;for(cx.state=e,cx.stream=o,cx.marked=null,cx.cc=a,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return cx.marked?cx.marked:"variable"==n&&inScope(e,r)?"variableName.local":"variable"==n&&imported(e,r)?"variableName.special":t}}function imported(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r\/@#~$]/,boolOperators=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function tokenBase(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(keywords)?"keyword":e.match(builtins)?"builtin":e.match(identifiers)?"variable":e.match(singleOperators)||e.match(boolOperators)?"operator":(e.next(),null)}const idl={token:function(e){return tokenBase(e)},languageData:{autocomplete:builtinArray.concat(keywordArray)}};export{idl}; diff --git a/typecho/write/dist/index-4ff54fbd.js b/typecho/write/dist/index-4ff54fbd.js new file mode 100644 index 0000000..9d12559 --- /dev/null +++ b/typecho/write/dist/index-4ff54fbd.js @@ -0,0 +1 @@ +import{E as ExternalTokenizer,P as Parser,o as NodeProp,j as LezerLanguage,e as indentNodeProp,f as continuedIndent,p as flatIndent,h as foldNodeProp,q as foldInside,a as styleTags,t as tags,n as LanguageSupport}from"./index.js";const rawStringStart=305,rawStringContent=306,rawStringEnd=307,templateArgsEndFallback=1,MacroName=2,R=82,L=76,u=117,U=85,a=97,z=122,A=65,Z=90,Underscore=95,Zero=48,Quote=34,ParenL=40,ParenR=41,Space=32,Newline=10,GreaterThan=62,rawString=new ExternalTokenizer((O,Q)=>{let $=Q.start,e=O.get($++);if(e==L||e==U?e=O.get($++):e==u&&(e=O.get($++),e==Zero+8&&(e=O.get($++))),e==R&&(e=O.get($++),e==Quote)){for(e=O.get($++);e!=ParenL;){if(e==Space||e<=13||e==ParenR)return;e=O.get($++)}return Q.accept(rawStringStart,$)}}),rawStringContinue=new ExternalTokenizer((O,Q,$)=>{let e=Q.start,a=O.get(e++),i=null;for(;;){if(a<0)return void(e>Q.start+1&&Q.accept(rawStringContent,e-1));if(a==ParenR){if(!i){var X=$.ruleStart,X=/"(\S*?)\(/.exec(O.read(X,Math.min(Q.start,X+100)));if(!X)return;i=X[1]+'"'}if(O.read(e,e+i.length)==i)return void Q.accept(rawStringEnd,e+i.length)}else if(a==Newline)return void Q.accept(rawStringContent,e);a=O.get(e++)}},{contextual:!0}),fallback=new ExternalTokenizer((Q,$)=>{let e=$.start,i=Q.get(e);if(i==GreaterThan)Q.get(e+1)==GreaterThan&&$.accept(templateArgsEndFallback,e+1);else{let O=!1;for(;;i=Q.get(++e))if(i>=A&&i<=Z)O=!0;else{if(i>=a&&i<=z)return;if(i!=Underscore&&!(i>=Zero&&i<=Zero+9))break}O&&e>=$.start+2&&$.accept(MacroName,e)}},{extend:!0}),spec_identifier={__proto__:null,bool:32,char:32,int:32,float:32,double:32,void:32,size_t:32,ssize_t:32,intptr_t:32,uintptr_t:32,charptr_t:32,int8_t:32,int16_t:32,int32_t:32,int64_t:32,uint8_t:32,uint16_t:32,uint32_t:32,uint64_t:32,char8_t:32,char16_t:32,char32_t:32,char64_t:32,const:66,volatile:68,restrict:70,_Atomic:72,mutable:74,constexpr:76,struct:80,__declspec:84,final:88,override:88,public:92,private:92,protected:92,virtual:154,extern:156,static:158,register:160,inline:162,__attribute__:166,__based:172,__restrict:174,__uptr:174,__sptr:174,_unaligned:174,__unaligned:174,noexcept:188,throw:192,template:248,typename:254,class:256,using:266,__cdecl:274,__clrcall:274,__stdcall:274,__fastcall:274,__thiscall:274,__vectorcall:274,case:284,default:286,if:298,else:304,switch:308,do:312,while:314,for:322,return:326,break:330,continue:334,goto:338,typedef:342,try:356,catch:360,namespace:366,static_assert:372,explicit:382,delete:392,operator:400,friend:420,union:422,enum:430,signed:434,unsigned:434,long:434,short:434,decltype:446,auto:448,sizeof:480,TRUE:742,true:742,FALSE:744,false:744,NULL:488,new:494,nullptr:508,this:510},spec_={__proto__:null,"<":137},spec_templateArgsEnd={__proto__:null,">":141},spec_scopedIdentifier={__proto__:null,operator:398,new:492,delete:500},parser=Parser.deserialize({version:13,states:"$BhQ!QQ]OOP&tO[OOO'fO`O'#CcO+PQ[O'#CfO+ZQ[O'#FdO-SQtO'#CvO-ZQ[O'#CvO.yQ[O'#J_O/QQ[O'#CuO/]OQO'#DxO/eO!bO'#DyO/mQ#xO'#DaOOQS'#IV'#IVO/xQ[O'#J|O1iQ[O'#I[OOQS'#I['#I[O4nQ[O'#JpO7oQ[O'#JpO9vQ]O'#EZO:WQ[O'#EZO:]Q[OOO:eQ]O'#EhO_,5>_O!;UQ]O'#CgO!>nQ[O'#CxOOQS,59b,59bOOQS,59a,59aOOQS,5;U,5;UO!1YQ[O,5=UO!4eQ[O,5>VO!@cQ]O,5>ZO!@jQtO,59bO!@xQ]O'#EwOOQS,5>R,5>RONbQ]O,59UOOOQ'#IY'#IYO!AYOQO,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j}!O!U!V!f!i!n!q#O#Q#]#_#b#f#g#h#i#j#k#l#m#n#o#q#x#z#|$r%T%Y%Z%[%]%h%u%w&S&a&b&f&g&r&w&z'R'n'p'v(l(r)k)m)w*O*U*]*^*_*l*n*w*y*{+[+_+e+q+t+{-[-_-e-k-r-t-y-{.i.m.q.u/Q/`/q/s0O0Q0S0V0^0c0f1V1Y1l1x2y3X3_3a3e3h3i3k3r3t4]4d4g5c5e5n5x5|6T6V6f6i6p6s6z6{7R7j7k7l7m7n7o7p7q7r7s7t8O8S8p9}:`:a:d:m;P;Q;U;i;n;r=O=SU%it%j3zQ&Z!_Q'w#Rd.V)O.S.T.U.X2c2d2e2h5UR3z0kdhObef}!O%w&w*^+{#n%Pgnuv!t$[$j$k$p$}%O%p'P'Q'T'X)Z)`)b)o*a+Y+d+r,X,i,o,q.c.n.o.r.s/z2u8d8e8f8k8l8m8n9w9x9y9z:e:f:j:s;a;b;c MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr StructSpecifier struct MsDeclspecModifier __declspec ) VirtualSpecifier BaseClassClause Access , FieldDeclarationList { FieldDeclaration Attribute AttributeName Identifier AttributeArgs } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp Number RawString CharLiteral AttributeArgs virtual extern static register inline AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept ThrowSpecifier throw TrailingReturnType AbstractPointerDeclarator AbstractFunctionDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator ScopedIdentifier Identifier OperatorName TemplateFunction StructuredBindingDeclarator OptionalParameterDeclaration VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause InitializerList InitializerPair SubscriptDesignator FieldDesignator TemplateDeclaration template TemplateParameterList TypeParameterDeclaration typename class OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration AliasDeclaration using Declaration InitDeclarator FunctionDefinition MsCallModifier CompoundStatement LinkageSpecification DeclarationList CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement CommaExpression IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while ParenthesizedExpression WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ForRangeLoop TryStatement try CatchClause catch ThrowStatement NamespaceDefinition namespace UsingDeclaration StaticAssertDeclaration static_assert ConcatenatedString TemplateInstantiation FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause delete FunctionDefinition OperatorCast operator operator Declaration FunctionDefinition FunctionDefinition FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration FriendDeclaration friend union AccessSpecifier UnionSpecifier EnumSpecifier enum SizedTypeSpecifier TypeSize EnumeratorList Enumerator ClassSpecifier DependentType Decltype decltype auto ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CompoundLiteralExpression True False NULL NewExpression new new NewDeclarator DeleteExpression delete LambdaExpression LambdaCaptureSpecifier ParameterPackExpansion nullptr this #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:377,nodeProps:[[NodeProp.group,-30,7,10,13,14,15,17,73,74,75,106,109,158,187,228,229,230,234,237,238,239,241,242,243,244,245,249,251,253,254,255,"Expression",-12,16,23,24,25,39,213,214,216,220,221,222,224,"Type",-16,138,141,144,146,148,153,155,159,160,162,164,166,168,176,177,181,"Statement"]],skippedNodes:[0,2,3,4,5,6,9,256,257,258,259,260,261,262,263,264,265,303],repeatNodeCount:37,tokenData:"':`&iR!UOX$eXY'mYZ,iZ]$e]^)k^p$epq'mqr-Prs.ost/^tu$euv!/wvw!1gwx!3Yxy!3wyz!4lz{!5a{|!6[|}!8Q}!O!8u!O!P!:n!P!Q##Y!Q!R#4m!R![$6p![!]%Ki!]!^%MX!^!_%M|!_!`&*k!`!a&+f!a!b&.S!b!c$e!c!n&.w!n!o&0Y!o!w&.w!w!x&2s!x!}&.w!}#O&4U#O#P&5q#P#Q&Ep#Q#R&G]#R#S&.w#S#T$e#T#c&.w#c#d&HW#d#i&.w#i#j'0Z#j#o&.w#o#p'3T#p#q'3x#q#r'5n#r#s'6c#s~$e!l$nW(aW'tQ&k!bOY$eZr$ers%Wsw$ewx'Sx#O$e#O#P&S#P~$e!j%_U(aW&k!bOY%WZw%Wwx%qx#O%W#O#P&S#P~%W!b%vS&k!bOY%qZ#O%q#O#P&S#P~%q!b&XV&k!bOY%qYZ%qZ]%q]^&n^#O%q#O#P&S#P~%q!b&sT&k!bOY%qYZ%qZ#O%q#O#P&S#P~%q!d'ZU'tQ&k!bOY'SZr'Srs%qs#O'S#O#P&S#P~'S&i'z^(aW'tQ'r$Z&k!b)X#SOX$eXY'mYZ(vZ]$e]^)k^p$epq'mqr$ers%Wsw$ewx'Sx#O$e#O#P*r#P~$e$Z({T'r$ZXY(vYZ(v]^(vpq(v#O#P)[$Z)_QYZ(v]^)e$Z)hPYZ(v%w)v^(aW'tQ'r$Z&k!bOX$eXY)kYZ(vZ]$e]^)k^p$epq)kqr$ers%Wsw$ewx'Sx#O$e#O#P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1,98:1,104:-10,105:1,110:-1,116:-10,117:1,172:1,175:-10,221:-1,225:2,226:2,265:-10,323:3,367:1,368:3,369:1,370:1},specialized:[{term:314,get:O=>spec_identifier[O]||-1},{term:31,get:O=>spec_[O]||-1},{term:69,get:O=>spec_templateArgsEnd[O]||-1},{term:321,get:O=>spec_scopedIdentifier[O]||-1}],tokenPrec:22015}),cppLanguage=LezerLanguage.define({parser:parser.configure({props:[indentNodeProp.add({IfStatement:continuedIndent({except:/^\s*({|else\b)/}),TryStatement:continuedIndent({except:/^\s*({|catch)\b/}),LabeledStatement:flatIndent,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>-1,Statement:continuedIndent({except:/^{/})}),foldNodeProp.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":foldInside,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),styleTags({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using __attribute__ __declspec __based":tags.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register inline const volatile restrict _Atomic mutable constexpr virtual explicit VirtualSpecifier Access":tags.modifier,"if else switch for while do case default return break continue goto throw try catch":tags.controlKeyword,"new sizeof delete static_assert":tags.operatorKeyword,"NULL nullptr":tags.null,this:tags.self,"True False":tags.bool,"TypeSize PrimitiveType":tags.standard(tags.typeName),TypeIdentifier:tags.typeName,FieldIdentifier:tags.propertyName,"CallExpression/FieldExpression/FieldIdentifier":tags.function(tags.propertyName),StatementIdentifier:tags.labelName,Identifier:tags.variableName,"CallExpression/Identifier":tags.function(tags.variableName),"CallExpression/ScopedIdentifier/Identifier":tags.function(tags.variableName),DestructorName:tags.name,NamespaceIdentifier:tags.namespace,OperatorName:tags.operator,ArithOp:tags.arithmeticOperator,LogicOp:tags.logicOperator,BitOp:tags.bitwiseOperator,CompareOp:tags.compareOperator,AssignOp:tags.definitionOperator,UpdateOp:tags.updateOperator,LineComment:tags.lineComment,BlockComment:tags.blockComment,Number:tags.number,String:tags.string,"RawString SystemLibString":tags.special(tags.string),CharLiteral:tags.character,EscapeSequence:tags.escape,PreProcArg:tags.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":tags.processingInstruction,MacroName:tags.special(tags.name),"( )":tags.paren,"[ ]":tags.squareBracket,"{ }":tags.brace,"< >":tags.angleBracket,". ->":tags.derefOperator,", ;":tags.separator})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function cpp(){return new LanguageSupport(cppLanguage)}export{cpp,cppLanguage}; diff --git a/typecho/write/dist/index-5cf29f46.js b/typecho/write/dist/index-5cf29f46.js new file mode 100644 index 0000000..4dd39db --- /dev/null +++ b/typecho/write/dist/index-5cf29f46.js @@ -0,0 +1 @@ +import{E as ExternalTokenizer,C as ContextTracker,P as Parser,o as NodeProp,j as LezerLanguage,e as indentNodeProp,f as continuedIndent,h as foldNodeProp,q as foldInside,a as styleTags,t as tags,n as LanguageSupport}from"./index.js";const printKeyword=1,indent=162,dedent=163,newline=164,newlineBracketed=165,newlineEmpty=166,eof=167,ParenthesizedExpression=21,TupleExpression=47,ComprehensionExpression=48,ArrayExpression=52,ArrayComprehensionExpression=55,DictionaryExpression=56,DictionaryComprehensionExpression=59,SetExpression=60,SetComprehensionExpression=61,newline$1=10,carriageReturn=13,space=32,tab=9,hash=35,parenOpen=40,dot=46,bracketed=[ParenthesizedExpression,TupleExpression,ComprehensionExpression,ArrayExpression,ArrayComprehensionExpression,DictionaryExpression,DictionaryComprehensionExpression,SetExpression,SetComprehensionExpression];let cachedIndent=0,cachedInput=null,cachedPos=0;function getIndent(O,$){return $==cachedPos&&O==cachedInput?cachedIndent:(cachedInput=O,cachedPos=$,cachedIndent=getIndentInner(O,$))}function getIndentInner($,s){for(let O=0;;s++){var r=$.get(s);if(r==space)O++;else{if(r!=tab)return r==newline$1||r==carriageReturn||r==hash?-1:O;O+=8-O%8}}}const newlines=new ExternalTokenizer((O,$,s)=>{var r=O.get($.start);r<0?$.accept(eof,$.start):r!=newline$1&&r!=carriageReturn||(null!=s.startOf(bracketed)?$.accept(newlineBracketed,$.start+1):getIndent(O,$.start+1)<0?$.accept(newlineEmpty,$.start+1):$.accept(newline,$.start+1))},{contextual:!0,fallback:!0}),indentation=new ExternalTokenizer((O,$,s)=>{let r=O.get($.start-1),p;(r==newline$1||r==carriageReturn)&&0<=(p=getIndent(O,$.start))&&p!=s.context.depth&&null==s.startOf(bracketed)&&$.accept(p{let r=O.start;for(let O="print",$=0;$gQ$I[O,5mQ$IZO<TAN>TO#FVQ$IWO<aAN>aO/gQ$IWO1G1^O#FgQ$I[O1G1^P#FqQ$IWO'#FWOOQ$IS1G1d1G1dP#GOQ$IWO'#F^O#G]Q$IWO7+(lOOOO-E9]-E9]O#GsQ$IWO7+'qOOQ$ISAN?VAN?VO#H^Q$IWO,5j!Q!R&AY!R![&GW![!]'$S!]!^'&f!^!_''l!_!`'*[!`!a'+h!a!b$}!b!c'.T!c!d'/c!d!e'1T!e!h'/c!h!i'=R!i!t'/c!t!u'Fg!u!w'/c!w!x';a!x!}'/c!}#O'Hq#O#P'Iw#P#Q'Ji#Q#R'Ko#R#S'/c#S#T$}#T#U'/c#U#V'1T#V#Y'/c#Y#Z'=R#Z#f'/c#f#g'Fg#g#i'/c#i#j';a#j#o'/c#o#p'L{#p#q'Mq#q#r'N}#r#s( {#s$g$}$g~'/cv#p#q(y#q#r5T#r~(y8z)UZ%p7[%gS%jW%v!bOr(yrs)wsw(ywx(Px#O(y#O#PAU#P#o(y#o#p?p#p#q(y#q#r5T#r~(y8z*QZ%p7[%gS%v!bOr(yrs*ssw(ywx(Px#O(y#O#P@p#P#o(y#o#p?p#p#q(y#q#r5T#r~(y8z*|Z%p7[%gS%v!bOr(yrs+osw(ywx(Px#O(y#O#P4o#P#o(y#o#p?p#p#q(y#q#r5T#r~(y8r+xX%p7[%gS%v!bOw+owx,ex#O+o#O#P4Z#P#o+o#o#p3Z#p#q+o#q#r.k#r~+o8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! Ux!Q$}!Q!['!d![!c$}!c!i'!d!i#O$}#O#P!3Q#P#R$}#R#S'!d#S#T$}#T#Z'!d#Z#o$}#o#p!4h#p#q$}#q#r!3f#r~$}Gy'!wc!f,V%p7[%gS%jW%m`%sp%v!b%x#tOr$}rs&Rsw$}wx! Ux!Q$}!Q!['!d![!c$}!c!i'!d!i#O$}#O#P!3Q#P#R$}#R#S'!d#S#T$}#T#Z'!d#Z#o$}#o#p!4h#p#q$}#q#r!3f#r~$}Mg'$g]x1s%p7[%gS%jW%m`%sp%v!b%x#tOr$}rs&Rsw$}wx! Ux!_$}!_!`'%`!`#O$}#O#P!3Q#P#o$}#o#p!4h#p#q$}#q#r!3f#r~$}yx#O!j#P#o;W#o#p!3f#p~;WGz'NU]$uQ%p7[%gS%jW%m`%sp%v!b%x#tOr$}rs&Rsw$}wx! Ux!_$}!_!`%4a!`#O$}#O#P!3Q#P#o$}#o#p!4h#p#q$}#q#r!3f#r~$}spec_identifier[O]||-1}],tokenPrec:6594}),pythonLanguage=LezerLanguage.define({parser:parser.configure({props:[indentNodeProp.add({Body:continuedIndent()}),foldNodeProp.add({"Body ArrayExpression DictionaryExpression":foldInside}),styleTags({"async '*' '**' FormatConversion":tags.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield":tags.controlKeyword,"in not and or is del":tags.operatorKeyword,"import from def class global nonlocal lambda":tags.definitionKeyword,"with as print":tags.keyword,self:tags.self,Boolean:tags.bool,None:tags.null,VariableName:tags.variableName,"CallExpression/VariableName":tags.function(tags.variableName),"FunctionDefinition/VariableName":tags.function(tags.definition(tags.variableName)),"ClassDefinition/VariableName":tags.definition(tags.className),PropertyName:tags.propertyName,"CallExpression/MemberExpression/ProperyName":tags.function(tags.propertyName),Comment:tags.lineComment,Number:tags.number,String:tags.string,FormatString:tags.special(tags.string),UpdateOp:tags.updateOperator,ArithOp:tags.arithmeticOperator,BitOp:tags.bitwiseOperator,CompareOp:tags.compareOperator,AssignOp:tags.definitionOperator,Ellipsis:tags.punctuation,At:tags.meta,"( )":tags.paren,"[ ]":tags.squareBracket,"{ }":tags.brace,".":tags.derefOperator,", ;":tags.separator})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']},commentTokens:{line:"#"},indentOnInput:/^\s*[\}\]\)]$/}});function python(){return new LanguageSupport(pythonLanguage)}export{python,pythonLanguage}; diff --git a/typecho/write/dist/index-7bc70213.js b/typecho/write/dist/index-7bc70213.js new file mode 100644 index 0000000..628c8e0 --- /dev/null +++ b/typecho/write/dist/index-7bc70213.js @@ -0,0 +1 @@ +import{c as countColumn,L as Language,d as defineLanguageFacet,i as indentService,s as syntaxTree,T as Tree,N as NodeType,a as styleTags,l as languageDataProp,g as getIndentUnit,b as NodeSet,t as tags}from"./index.js";function countCol(t,e,s,n=0,r=0){return null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length),countColumn(t.slice(n,e),r,s)}class StringStream{constructor(t,e,s){this.string=t,this.tabSize=e,this.indentUnit=s,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pose}eatSpace(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){t=this.string.indexOf(t,this.pos);if(-1s?t.toLowerCase():t;return n(this.string.substr(this.pos,t.length))==n(t)?(!1!==e&&(this.pos+=t.length),!0):null}t=this.string.slice(this.pos).match(t);return t&&0{}),startState:t.startState||(()=>!0),copyState:t.copyState||defaultCopyState,indent:t.indent||(()=>null),languageData:t.languageData||{}}}function defaultCopyState(e){if("object"!=typeof e)return e;let s={};for(var n in e){let t=e[n];s[n]=t instanceof Array?t.slice():t}return s}class StreamLanguage extends Language{constructor(t){var e=defineLanguageFacet(t.languageData),t=fullParser(t);super(e,{startParse:(t,e,s)=>new Parse(this,t,e,s)},docID(e),[indentService.of((t,e)=>this.getIndent(t,e))]),this.streamParser=t,this.stateAfter=new WeakMap}static define(t){return new StreamLanguage(t)}getIndent(t,e){let s=syntaxTree(t.state),n=s.resolve(e);for(;n&&n.type!=this.topNode;)n=n.parent;if(!n)return null;let r=findState(this,s,0,n.from,e),i,a;if(i=r?(a=r.state,r.pos+1):(a=this.streamParser.startState(t.unit),0),1e4=s.length)return s;i||s.type!=e.topNode||(i=!0);for(let t=s.children.length-1;0<=t;t--){var a=s.positions[t]+n,o=s.children[t];if(an&&findState(s,r.tree,0-r.offset,n,r.to),e;if(t&&(e=cutTree(s,r.tree,n+r.offset,t.pos+r.offset,!1)))return{state:t.state,tree:e}}return{state:s.streamParser.startState(getIndentUnit(e)),tree:Tree.empty}}class Parse{constructor(t,e,s,n){this.lang=t,this.input=e,this.startPos=s,this.context=n,this.chunks=[],this.chunkPos=[],this.chunk=[];var{state:e,tree:t}=findStartInFragments(t,n.fragments,s,n.state);this.state=e,this.pos=this.chunkStart=s+t.length,t.length&&(this.chunks.push(t),this.chunkPos.push(0)),this.poss.start)return r}throw new Error("Stream parser failed to advance stream.")}const tokenTable=Object.create(null),typeArray=[NodeType.none],nodeSet=new NodeSet(typeArray),warned=[];function tokenID(t){return t?tokenTable[t]||(tokenTable[t]=createTokenType(t)):0}for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","typeName"],["attribute","propertyName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])tokenTable[t]=tokenID(e);function warnForPart(t,e){-1t)]});return typeArray.push(e),e}export{StreamLanguage,StringStream}; diff --git a/typecho/write/dist/index-94295a51.js b/typecho/write/dist/index-94295a51.js new file mode 100644 index 0000000..25ef2e4 --- /dev/null +++ b/typecho/write/dist/index-94295a51.js @@ -0,0 +1 @@ +import{E as ExternalTokenizer,P as Parser,o as NodeProp,j as LezerLanguage,e as indentNodeProp,f as continuedIndent,h as foldNodeProp,q as foldInside,a as styleTags,t as tags,n as LanguageSupport}from"./index.js";const closureParamDelim=1,tpOpen=2,tpClose=3,RawString=4,Float=5,_b=98,_e=101,_f=102,_r=114,_E=69,Dot=46,Plus=43,Minus=45,Hash=35,Quote=34,Pipe=124,LessThan=60,GreaterThan=62;function isNum(O){return 48<=O&&O<=57}function isNum_(O){return isNum(O)||95==O}const literalTokens=new ExternalTokenizer((P,$,O)=>{let X=$.start,i=P.get(X);if(isNum(i)){let O=!1;for(;i=P.get(++X),isNum_(i););if(i==Dot)if(O=!0,i=P.get(++X),isNum(i))for(;i=P.get(++X),isNum_(i););else if(i==Dot||127{O.get(Q.start)==Pipe&&Q.accept(closureParamDelim,Q.start+1)}),tpDelim=new ExternalTokenizer((O,Q)=>{var P=Q.start,O=O.get(P);O==LessThan?Q.accept(tpOpen,P+1):O==GreaterThan&&Q.accept(tpClose,P+1)}),spec_identifier={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},parser=Parser.deserialize({version:13,states:"$3tQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#IaOOQP'#Ia'#IaOOQQ'#If'#IfO)hO`O'#C}OOQR'#Ii'#IiO)sQWO'#IvOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Ix'#IxO)xQWO'#DpO*ZQWO'#DpOOQO'#Iw'#IwO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=s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P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](p)R)T)h)r)u)w)x)}*O*Q*U*Z*]*d*m*v*w+T+U+g+n+|-h-s-u.T._.o.s.w.x/Y/Z/z/|0_0q0v0}1X1Y1z2b2i2k2n2t2w3W3w3}4O4T4W4a4g4v5e5i5{6W6_6u6{6}7h7y8nR0j+YR0i+YQ'R!qQ)b%XQ+v&|R4{1OX'Q!q%X&|1OR+x&|R+w&|T/R*R4VT/Q*R4VR.n)rR.m)rR)z%pR1f,kR1e,k",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens BracketedTokens BracedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:361,nodeProps:[[NodeProp.group,-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],[NodeProp.openedBy,9,"[",38,"{",47,"("],[NodeProp.closedBy,12,"]",39,"}",45,")"]],skippedNodes:[0,6,7,240],repeatNodeCount:33,tokenData:"#CO_R!VOX$hXY1_YZ2ZZ]$h]^1_^p$hpq1_qr2srs4qst5Ztu6Vuv9lvw;jwx=nxy!#yyz!$uz{!%q{|!'k|}!(m}!O!)i!O!P!+j!P!Q!/f!Q!R!7q!R![!9f![!]!La!]!^!N_!^!_# Z!_!`##b!`!a#%c!a!b#'j!b!c#(f!c!}#)b!}#O#+X#O#P#,T#P#Q#4d#Q#R#5`#R#S#)b#S#T$h#T#U#)b#U#V#6b#V#f#)b#f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P!Q*p!Q#O$h#O#P%x#P~$h_#B]ZvX'`Q'PSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P~$h",tokenizers:[closureParam,tpDelim,literalTokens,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:282,get:O=>spec_identifier[O]||-1}],tokenPrec:15890}),rustLanguage=LezerLanguage.define({parser:parser.configure({props:[indentNodeProp.add({IfExpression:continuedIndent({except:/^\s*({|else\b)/}),"String BlockComment":()=>-1,"Statement MatchArm":continuedIndent()}),foldNodeProp.add(O=>/(Block|edTokens|List)$/.test(O.name)?foldInside:"BlockComment"==O.name?O=>({from:O.from+2,to:O.to-2}):void 0),styleTags({"const macro_rules mod struct union enum type fn impl trait let use crate static":tags.definitionKeyword,"pub unsafe async mut extern default move":tags.modifier,"for if else loop while match continue break return await":tags.controlKeyword,"as in ref":tags.operatorKeyword,"where _ crate super dyn":tags.keyword,self:tags.self,String:tags.string,RawString:tags.special(tags.string),Boolean:tags.bool,Identifier:tags.variableName,"CallExpression/Identifier":tags.function(tags.variableName),BoundIdentifier:tags.definition(tags.variableName),LoopLabel:tags.labelName,FieldIdentifier:tags.propertyName,"CallExpression/FieldExpression/FieldIdentifier":tags.function(tags.propertyName),Lifetime:tags.special(tags.variableName),ScopeIdentifier:tags.namespace,TypeIdentifier:tags.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":tags.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":tags.macroName,'"!"':tags.macroName,UpdateOp:tags.updateOperator,LineComment:tags.lineComment,BlockComment:tags.blockComment,Integer:tags.integer,Float:tags.float,ArithOp:tags.arithmeticOperator,LogicOp:tags.logicOperator,BitOp:tags.bitwiseOperator,CompareOp:tags.compareOperator,"=":tags.definitionOperator,".. ... => ->":tags.punctuation,"( )":tags.paren,"[ ]":tags.squareBracket,"{ }":tags.brace,".":tags.derefOperator,"&":tags.operator,", ; ::":tags.separator})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/}});function rust(){return new LanguageSupport(rustLanguage)}export{rust,rustLanguage}; diff --git a/typecho/write/dist/index-9567a91c.js b/typecho/write/dist/index-9567a91c.js new file mode 100644 index 0000000..af562a0 --- /dev/null +++ b/typecho/write/dist/index-9567a91c.js @@ -0,0 +1 @@ +import{C as ContextTracker,E as ExternalTokenizer,P as Parser,o as NodeProp,j as LezerLanguage,e as indentNodeProp,h as foldNodeProp,a as styleTags,t as tags,n as LanguageSupport,s as syntaxTree}from"./index.js";const StartTag=1,StartCloseTag=2,mismatchedStartCloseTag=3,incompleteStartCloseTag=4,commentContent=35,piContent=36,cdataContent=37,Element$1=9,OpenTag=11;function nameChar(e){return 45==e||46==e||58==e||65<=e&&e<=90||95==e||97<=e&&e<=122||161<=e}function isSpace(e){return 9==e||10==e||13==e||32==e}let cachedName=null,cachedInput=null,cachedPos=0;function tagNameAfter(e,t){if(cachedPos==t&&cachedInput==e)return cachedName;let O=e.get(t);for(;isSpace(O);)O=e.get(++t);for(var a=t;nameChar(O);)O=e.get(++t);return cachedInput=e,cachedPos=t,cachedName=a{let a=t.start;if(60==e.get(a++)){var n=e.get(a);if(47==n){a++;var r=tagNameAfter(e,a);if(!r)return t.accept(incompleteStartCloseTag,a);if(O.context&&r==O.context.name)return t.accept(StartCloseTag,a);for(let e=O.context;e;e=e.parent)if(e.name==r)return;t.accept(mismatchedStartCloseTag,a)}else if(33!=n&&63!=n)return t.accept(StartTag,a)}});function scanTo(r,o){return new ExternalTokenizer((e,t)=>{let O=t.start,a=0;for(;;){var n=e.get(O);if(n<0)break;if(O++,n==o.charCodeAt(a)){if(a++,a==o.length){O-=o.length;break}}else a=0}O>t.start&&t.accept(r,O)})}const commentContent$1=scanTo(commentContent,"--\x3e"),piContent$1=scanTo(piContent,"?>"),cdataContent$1=scanTo(cdataContent,"?>"),parser=Parser.deserialize({version:13,states:"-OOQOa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liceString(t.from,t.to):""}function elementName(e,t){t=t&&t.firstChild;return t&&"OpenTag"==t.name?tagName(e,t):""}function attrName(e,t,O){let a=t&&t.getChildren("Attribute").find(e=>e.from<=O&&e.to>=O);t=a&&a.getChild("AttributeName");return t?e.sliceString(t.from,t.to):""}function findParentElement(t){for(let e=t&&t.parent;e;e=e.parent)if("Element"==e.name)return e;return null}function findLocation(e,t){var O;let a=syntaxTree(e).resolve(t,-1),n=null;for(let e=a;!n&&e.parent;e=e.parent)"OpenTag"!=e.name&&"CloseTag"!=e.name&&"SelfClosingTag"!=e.name&&"MismatchedCloseTag"!=e.name||(n=e);if(n&&(n.to>t||n.lastChild.type.isError)){var r=n.parent;if("TagName"==a.name)return"CloseTag"==n.name||"MismatchedCloseTag"==n.name?{type:"closeTag",from:a.from,context:r}:{type:"openTag",from:a.from,context:findParentElement(r)};if("AttributeName"==a.name)return{type:"attrName",from:a.from,context:n};if("AttributeValue"==a.name)return{type:"attrValue",from:a.from,context:n};e=a==n||"Attribute"==a.name?a.childBefore(t):a;return"StartTag"==(null==e?void 0:e.name)?{type:"openTag",from:t,context:findParentElement(r)}:"StartCloseTag"==(null==e?void 0:e.name)&&e.to<=t?{type:"closeTag",from:t,context:r}:"Is"==(null==e?void 0:e.name)?{type:"attrValue",from:t,context:n}:e?{type:"attrName",from:t,context:n}:null}if("StartCloseTag"==a.name)return{type:"closeTag",from:t,context:a.parent};for(;a.parent&&a.to==t&&(null===(O=a.lastChild)||void 0===O||!O.type.isError);)a=a.parent;return"Element"==a.name||"Text"==a.name||"Document"==a.name?{type:"tag",from:t,context:"Element"==a.name?a:findParentElement(a)}:null}class Element{constructor(e,t,O){this.attrs=t,this.attrValues=O,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}}const Identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function attrCompletion(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function valueCompletion(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function completeFromSchema(a,e){let n=[],i=[],c=Object.create(null);for(var t of e){var O=attrCompletion(t);n.push(O),t.global&&i.push(O),t.values&&(c[t.name]=t.values.map(valueCompletion))}let m=[],g=[],p=Object.create(null);for(var r of a){let e=i,O=c;r.attributes&&(e=e.concat(r.attributes.map(t=>"string"==typeof t?n.find(e=>e.label==t)||{label:t,type:"property"}:(t.values&&(O==c&&(O=Object.create(O)),O[t.name]=t.values.map(valueCompletion)),attrCompletion(t)))));var o=new Element(r,e,O);p[o.name]=o,m.push(o),r.top&&g.push(o)}g.length||(g=m);for(let O=0;O{let{doc:o}=r.state,e=findLocation(r.state,r.pos);if(!e||"tag"==e.type&&!r.explicit)return null;var{type:t,from:s,context:l}=e;if("openTag"==t){let e=g;var O,a=elementName(o,l);return a&&(O=p[a],e=(null==O?void 0:O.children)||m),{from:s,options:e.map(e=>e.completion),span:Identifier}}if("closeTag"==t){var n=elementName(o,l);return n?{from:s,to:r.pos+(">"==o.sliceString(r.pos,r.pos+1)?1:0),options:[(null===(O=p[n])||void 0===O?void 0:O.closeNameCompletion)||{label:n+">",type:"type"}],span:Identifier}:null}if("attrName"==t){var d=p[tagName(o,l)];return{from:s,options:(null==d?void 0:d.attrs)||i,span:Identifier}}if("attrValue"==t){n=attrName(o,l,s);if(!n)return null;d=p[tagName(o,l)],n=((null==d?void 0:d.attrValues)||c)[n];return n&&n.length?{from:s,to:r.pos+('"'==o.sliceString(r.pos,r.pos+1)?1:0),options:n,span:/^"[^"]*"?$/}:null}if("tag"!=t)return null;{let e=elementName(o,l),t=p[e],O=[],a=l&&l.lastChild;!e||a&&"CloseTag"==a.name&&tagName(o,a)==e||O.push(t?t.closeCompletion:{label:"",type:"type",boost:2});let n=O.concat(((null===t||void 0===t?void 0:t.children)||(l?m:g)).map(e=>e.openCompletion));return l&&null!==t&&void 0!==t&&t.text.length&&((l=l.firstChild).to>r.pos-20&&!/\S/.test(r.state.sliceDoc(l.to,r.pos))&&(n=n.concat(t.text))),{from:s,options:n,span:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}const xmlLanguage=LezerLanguage.define({parser:parser.configure({props:[indentNodeProp.add({Element(e){var t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.state.doc.lineAt(e.node.from))+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),foldNodeProp.add({Element(e){var t=e.firstChild,O=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==O.name?O.from:e.to}:null}}),styleTags({AttributeValue:tags.string,Text:tags.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":tags.angleBracket,TagName:tags.tagName,"MismatchedCloseTag/Tagname":[tags.tagName,tags.invalid],AttributeName:tags.propertyName,UnquotedAttributeValue:tags.string,Is:tags.definitionOperator,"EntityReference CharacterReference":tags.character,Comment:tags.blockComment,ProcessingInst:tags.processingInstruction,DoctypeDecl:tags.documentMeta,Cdata:tags.special(tags.string)})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function xml(e={}){return new LanguageSupport(xmlLanguage,xmlLanguage.data.of({autocomplete:completeFromSchema(e.elements||[],e.attributes||[])}))}export{completeFromSchema,xml,xmlLanguage}; diff --git a/typecho/write/dist/index-a879143b.js b/typecho/write/dist/index-a879143b.js new file mode 100644 index 0000000..5aee35d --- /dev/null +++ b/typecho/write/dist/index-a879143b.js @@ -0,0 +1 @@ +import{P as Parser,j as LezerLanguage,e as indentNodeProp,f as continuedIndent,h as foldNodeProp,q as foldInside,a as styleTags,n as LanguageSupport,t as tags}from"./index.js";const parser=Parser.deserialize({version:13,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CcOvQPO'#CfOOQO'#Cl'#ClQOQPOOOOQO'#Ce'#CeO}QPO'#CdO!SQPO'#CpOOQO,58},58}O![QPO,58}O!aQPO'#CuOOQO,59Q,59QO!iQPO,59QOVQPO,59OO!nQPO'#CgO!sQPO,59[OOQO1G.i1G.iOVQPO'#ChO!{QPO,59aOOQO1G.l1G.lOOQO1G.j1G.jOOQO,59R,59ROOQO-E6e-E6eOOQO,59S,59SOOQO-E6f-E6f",stateData:"#T~O_OS~OQSORSOSSOTSOaPOcQOhRO~OaUObXO~Og[O~PVOe^O~Of_ObdX~ObaO~OfbOgiX~OgdO~OaUO~Of_Obda~OfbOgia~O",goto:"!kjPPPPPPkkqwk{!RPPP!XPPP!ePPPP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String Object Property PropertyName Array",maxTerm:25,skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]O_~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOa~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOf~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOe~~&rOh~~&wOg~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOc~~(pOb~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),jsonParseLinter=()=>O=>{try{JSON.parse(O.state.doc.toString())}catch(e){if(!(e instanceof SyntaxError))throw e;O=getErrorPosition(e,O.state.doc);return[{from:O,message:e.message,severity:"error",to:O}]}return[]};function getErrorPosition(e,O){let a;return(a=e.message.match(/at position (\d+)/))?Math.min(+a[1],O.length):(a=e.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+a[1]).from+ +a[2]-1,O.length):0}const jsonLanguage=LezerLanguage.define({parser:parser.configure({props:[indentNodeProp.add({Object:continuedIndent({except:/^\s*\}/}),Array:continuedIndent({except:/^\s*\]/})}),foldNodeProp.add({"Object Array":foldInside}),styleTags({String:tags.string,Number:tags.number,"True False":tags.bool,PropertyName:tags.propertyName,null:tags.null,",":tags.separator,"[ ]":tags.squareBracket,"{ }":tags.brace})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function json(){return new LanguageSupport(jsonLanguage)}export{json,jsonLanguage,jsonParseLinter}; diff --git a/typecho/write/dist/index-ec1dad61.js b/typecho/write/dist/index-ec1dad61.js new file mode 100644 index 0000000..45deefa --- /dev/null +++ b/typecho/write/dist/index-ec1dad61.js @@ -0,0 +1 @@ +import{E as ExternalTokenizer,P as Parser,e as indentNodeProp,f as continuedIndent,h as foldNodeProp,a as styleTags,t as tags,j as LezerLanguage,k as ifNotIn,m as completeFromList,n as LanguageSupport,s as syntaxTree}from"./index.js";const whitespace=34,LineComment=1,BlockComment=2,String=3,Number=4,Bool=5,Null=6,ParenL=7,ParenR=8,BraceL=9,BraceR=10,BracketL=11,BracketR=12,Semi=13,Dot=14,Operator=15,Punctuation=16,SpecialVar=17,Identifier=18,QuotedIdentifier=19,Keyword=20,Type=21,Builtin=22;function isAlpha(e){return 65<=e&&e<=90||97<=e&&e<=122||48<=e&&e<=57}function isHexDigit(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function readLiteral(t,r,a,i){for(let e=!1;;){var n=t.get(r++);if(n<0)return r-1;if(n==a&&!e)return r;e=i&&!e&&92==n}}function readWord(e,t){for(;;t++){var r=e.get(t);if(95!=r&&!isAlpha(r))break}return t}function readWordOrQuoted(e,t){var r=e.get(t);return 39==r||34==r||96==r?readLiteral(e,t+1,r,!1):readWord(e,t)}function readNumber(e,t,r){let a;for(;;t++)if(a=e.get(t),46==a){if(r)break;r=!0}else if(a<48||57!=&|~^/",specialVar:"?",identifierQuotes:'"',words:keywords(SQLKeywords,SQLTypes)};function dialect(e,t,r,a){let i={};for(var n in defaults)i[n]=(e.hasOwnProperty(n)?e:defaults)[n];return t&&(i.words=keywords(t,r||"",a)),i}function tokensFor(l){return new ExternalTokenizer((a,e)=>{let i=e.start,t=a.get(i++),r=a.get(i);if(inString(t,Space)){for(;inString(a.get(i),Space);)i++;e.accept(whitespace,i)}else if(39==t||34==t&&l.doubleQuotedStrings)e.accept(String,readLiteral(a,i,t,l.backslashEscapes));else if(35==t&&l.hashComments||47==t&&47==r&&l.slashComments)e.accept(LineComment,eol(a,i));else if(45!=t||45!=r||l.spaceAfterDashes&&32!=a.get(i+1))if(47==t&&42==r){i++;for(let t=-1,r=1;;){let e=a.get(i++);if(e<0){i--;break}if(42==t&&47==e){if(r--,!r)break;e=-1}else 47==t&&42==e&&(r++,e=-1);t=e}e.accept(BlockComment,i)}else if(101!=t&&69!=t||39!=r)if(110!=t&&78!=t||39!=r||!l.charSetCasts)if(95==t&&l.charSetCasts)for(;;){var n=a.get(i++);if(39==n&&i>e.start+2){e.accept(String,readLiteral(a,i,39,l.backslashEscapes));break}if(!isAlpha(n))break}else if(40==t)e.accept(ParenL,i);else if(41==t)e.accept(ParenR,i);else if(123==t)e.accept(BraceL,i);else if(125==t)e.accept(BraceR,i);else if(91==t)e.accept(BracketL,i);else if(93==t)e.accept(BracketR,i);else if(59==t)e.accept(Semi,i);else if(48==t&&(98==r||66==r)||(98==t||66==t)&&39==r){var o=39==r;for(i++;48==(t=a.get(i))||49==t;)i++;o&&39==t&&i++,e.accept(Number,i)}else if(48==t&&(120==r||88==r)||(120==t||88==t)&&39==r){var s=39==r;for(i++;isHexDigit(t=a.get(i));)i++;s&&39==t&&i++,e.accept(Number,i)}else if(46==t&&48<=r&&r<=57)e.accept(Number,readNumber(a,i+1,!0));else if(46==t)e.accept(Dot,i);else if(48<=t&&t<=57)e.accept(Number,readNumber(a,i,!1));else if(inString(t,l.operatorChars)){for(;inString(a.get(i),l.operatorChars);)i++;e.accept(Operator,i)}else inString(t,l.specialVar)?e.accept(SpecialVar,readWordOrQuoted(a,r==t?i+1:i)):inString(t,l.identifierQuotes)?e.accept(QuotedIdentifier,readLiteral(a,i,t,!1)):58==t||44==t?e.accept(Punctuation,i):isAlpha(t)&&(i=readWord(a,i),e.accept(null!==(s=l.words[a.read(e.start,i).toLowerCase()])&&void 0!==s?s:Identifier,i));else e.accept(String,readLiteral(a,i+1,39,l.backslashEscapes));else e.accept(String,readLiteral(a,i+1,39,!0));else e.accept(LineComment,eol(a,i+1))})}const tokens=tokensFor(defaults),parser=Parser.deserialize({version:13,states:"%dQ]QQOOO#kQRO'#DQO#rQQO'#CuO%RQQO'#CvO%YQQO'#CwO%aQQO'#CxOOQQ'#DQ'#DQOOQQ'#C{'#C{O&lQRO'#CyOOQQ'#Ct'#CtOOQQ'#Cz'#CzQ]QQOOQOQQOOO&vQQO,59aO'RQQO,59aO'WQQO'#DQOOQQ,59b,59bO'eQQO,59bOOQQ,59c,59cO'lQQO,59cOOQQ,59d,59dO'sQQO,59dOOQQ-E6y-E6yOOQQ,59`,59`OOQQ-E6x-E6xOOQQ'#C|'#C|OOQQ1G.{1G.{O&vQQO1G.{OOQQ1G.|1G.|OOQQ1G.}1G.}OOQQ1G/O1G/OP'zQQO'#C{POQQ-E6z-E6zOOQQ7+$g7+$g",stateData:"(R~OrOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUO~O^]ORtXStXTtXUtXVtXXtXZtX]tX_tX`tXatXbtXctXdtXetXftX~OqtX~P!dOa^Ob^Oc^O~ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOa_Ob_Oc_OdUOeUOfUO~OW`O~P#}OYbO~P#}O[dO~P#}ORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUO~O]gOqmX~P%hOaiObiOciO~O^kO~OWtXYtX[tX~P!dOWlO~P#}OYmO~P#}O[nO~P#}O]gO~P#}O",goto:"#YuPPPPPPPPPPPPPPPPPPPPPPPPvzzzz!W![!b!vPPP!|TYOZeUORSTWZaceoT[OZQZORhZSWOZQaRQcSQeTZfWaceoQj]RqkeVORSTWZaceo",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) [ ] { } ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:36,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,tokens],topRules:{Script:[0,23]},tokenPrec:0});function tokenBefore(e){let t=e.cursor.moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function stripQuotes(e){var t=/^[`'"](.*)[`'"]$/.exec(e);return t?t[1]:e}function sourceContext(t,e){var r=syntaxTree(t).resolve(e,-1);let a=!1;if("Identifier"==r.name||"QuotedIdentifier"==r.name){a=!1;let e=null;var i=tokenBefore(r);return!i||"."!=i.name||((i=tokenBefore(i))&&"Identifier"==i.name||"QuotedIdentifier"==i.name)&&(e=stripQuotes(t.sliceDoc(i.from,i.to).toLowerCase())),{parent:e,from:r.from,quoted:"QuotedIdentifier"==r.name?t.sliceDoc(r.from,r.from+1):null}}if("."==r.name){r=tokenBefore(r);if(r&&"Identifier"==r.name||"QuotedIdentifier"==r.name)return{parent:stripQuotes(t.sliceDoc(r.from,r.to).toLowerCase()),from:e,quoted:null}}else a=!0;return{parent:null,from:e,quoted:null,empty:a}}function maybeQuoteCompletions(t,e){return t?e.map(e=>Object.assign(Object.assign({},e),{label:t+e.label+t,apply:void 0})):e}const Span=/^\w*$/,QuotedSpan=/^[`'"]?\w*[`'"]?$/;function completeFromSchema(e,t,r){let o=Object.create(null);for(var a in e)o[a]=e[a].map(e=>"string"==typeof e?{label:e,type:"property"}:e);let s=(t||Object.keys(o).map(e=>({label:e,type:"type"}))).concat(r&&o[r]||[]);return e=>{var{parent:t,from:r,quoted:a,empty:i}=sourceContext(e.state,e.pos);if(i&&!e.explicit)return null;let n=s;if(t){t=o[t];if(!t)return null;n=t}return{from:r,to:a&&e.state.sliceDoc(e.pos,e.pos+1)==a?e.pos+1:void 0,options:maybeQuoteCompletions(a,n),span:a?QuotedSpan:Span}}}function completeKeywords(t,r){var e=Object.keys(t).map(e=>({label:r?e.toUpperCase():e,type:t[e]==Type?"type":t[e]==Keyword?"keyword":"variable",boost:-1}));return ifNotIn(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],completeFromList(e))}let parser$1=parser.configure({props:[indentNodeProp.add({Statement:continuedIndent()}),foldNodeProp.add({Statement(e){return{from:e.firstChild.to,to:e.to}},BlockComment(e){return{from:e.from+2,to:e.to-2}}}),styleTags({Keyword:tags.keyword,Type:tags.typeName,Builtin:tags.standard(tags.name),Bool:tags.bool,Null:tags.null,Number:tags.number,String:tags.string,Identifier:tags.name,QuotedIdentifier:tags.special(tags.string),SpecialVar:tags.special(tags.name),LineComment:tags.lineComment,BlockComment:tags.blockComment,Operator:tags.operator,"Semi Punctuation":tags.punctuation,"( )":tags.paren,"{ }":tags.brace,"[ ]":tags.squareBracket})]});class SQLDialect{constructor(e,t){this.dialect=e,this.language=t}get extension(){return this.language.extension}static define(e){var t=dialect(e,e.keywords,e.types,e.builtin),e=LezerLanguage.define({parser:parser$1.configure({tokenizers:[{from:tokens,to:tokensFor(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new SQLDialect(t,e)}}function keywordCompletion(e,t=!1){return e.language.data.of({autocomplete:completeKeywords(e.dialect.words,t)})}function schemaCompletion(e){return e.schema?(e.dialect||StandardSQL).language.data.of({autocomplete:completeFromSchema(e.schema,e.tables,e.defaultTable)}):[]}function sql(e={}){var t=e.dialect||StandardSQL;return new LanguageSupport(t.language,[schemaCompletion(e),keywordCompletion(t,!!e.upperCaseKeywords)])}const StandardSQL=SQLDialect.define({}),PostgreSQL=SQLDialect.define({charSetCasts:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:SQLKeywords+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:SQLTypes+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric path pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text without zone with timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),MySQLKeywords="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",MySQLTypes=SQLTypes+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime year unsigned signed",MySQLBuiltin="charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee",MySQL=SQLDialect.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:SQLKeywords+"group_concat "+MySQLKeywords,types:MySQLTypes,builtin:MySQLBuiltin}),MariaSQL=SQLDialect.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:SQLKeywords+"always generated groupby_concat hard persistent shutdown soft virtual "+MySQLKeywords,types:MySQLTypes,builtin:MySQLBuiltin}),MSSQL=SQLDialect.define({keywords:SQLKeywords+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:SQLTypes+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image cursor hierarchyid uniqueidentifier sql_variant xml table",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),SQLite=SQLDialect.define({keywords:SQLKeywords+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:SQLTypes+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 year unsigned signed real",builtin:"auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),Cassandra=SQLDialect.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:SQLTypes+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),PLSQL=SQLDialect.define({keywords:SQLKeywords+"abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap",types:SQLTypes+"ascii bfile bfilename bigserial bit blob dec number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0});export{Cassandra,MSSQL,MariaSQL,MySQL,PLSQL,PostgreSQL,SQLDialect,SQLite,StandardSQL,keywordCompletion,schemaCompletion,sql}; diff --git a/typecho/write/dist/index-eddd0dfb.js b/typecho/write/dist/index-eddd0dfb.js new file mode 100644 index 0000000..342870c --- /dev/null +++ b/typecho/write/dist/index-eddd0dfb.js @@ -0,0 +1 @@ +import{P as Parser,o as NodeProp,j as LezerLanguage,e as indentNodeProp,f as continuedIndent,p as flatIndent,h as foldNodeProp,q as foldInside,a as styleTags,t as tags,n as LanguageSupport}from"./index.js";const spec_identifier={__proto__:null,true:34,false:34,null:40,void:44,byte:46,short:46,int:46,long:46,char:46,float:46,double:46,boolean:46,extends:60,super:62,class:74,this:76,new:82,public:98,protected:100,private:102,abstract:104,static:106,final:108,strictfp:110,default:112,synchronized:114,native:116,transient:118,volatile:120,throws:148,implements:158,interface:164,enum:174,instanceof:234,open:263,module:265,requires:270,transitive:272,exports:274,to:276,opens:278,uses:280,provides:282,with:284,package:288,import:292,if:304,else:306,while:310,for:314,assert:326,switch:330,case:336,do:340,break:344,continue:350,return:356,throw:362,try:366,catch:370,finally:378},parser=Parser.deserialize({version:13,states:"#'fQ]QPOOO&nQQO'#H[O)OQQO'#CbOOQO'#Cb'#CbO)VQPO'#CaOOQO'#Ha'#HaOOQO'#Ct'#CtO*oQPO'#D^O+YQQO'#HhOOQO'#Hh'#HhO-nQQO'#HcO-uQQO'#HcOOQO'#Hc'#HcOOQO'#Hb'#HbO-|QPO'#DTO0PQPO'#GlO1dQPO'#D^O2tQPO'#DyO)VQPO'#EZO2{QPO'#EZOOQO'#DU'#DUO4nQQO'#H_O6rQQO'#EdO6yQPO'#EcO7OQPO'#EeOOQO'#H`'#H`O5UQQO'#H`O8RQQO'#FfO8YQPO'#EvO8_QPO'#E{O8_QPO'#E}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&c&f&y'S(j)c)r*W*`*g*l+z+|,Y,[-P.P.R.S.`.t/^1bS!rW&zS%k#X*YS+V(g)nQ+q)ZS-h+X,_R-v+sf!pW#X$v%V(](g)Z)n+X+s,_U%U!y%_.OQ([%ZQ*X&zQ*e'^Q,q*YQ,|*fQ.w-UR/p.xQ'{$uQ*y'xR.|-bR*z'x[)^&[&f)c)r,[.`T+t)[)pR)W&ZW+r)Z)n+s,_Q-{+vR/Z-|U!}^+z1bR%a#OS)h&^&gR.X,PR)m&cW)`&[)c,[.`R+u)[T#R^1bR*s'mR'q$jT,h*P,iQ.g,kR/f.hR/f.i",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType Dimension [ ] class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp BitOp BitOp LogicOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break Label ContinueStatement continue Label ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource",maxTerm:271,nodeProps:[[NodeProp.group,-26,4,46,75,76,81,86,91,143,145,148,149,151,154,156,159,160,162,164,169,171,174,177,179,180,182,190,"Statement",-24,6,13,14,15,16,17,18,19,20,21,38,39,40,98,99,101,102,105,116,118,120,123,125,128,"Expression",-7,22,23,24,25,26,28,33,"Type"],[NodeProp.openedBy,10,"(",43,"{"],[NodeProp.closedBy,11,")",44,"}"]],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"Cr~R{X^#xpq#xqr$mrs$ztu%ruv&Wvw&ewx&uxy(]yz(bz{(g{|(q|})R}!O)W!O!P)k!P!Q-S!Q!R.b!R![3S![!]?[!]!^?i!^!_?n!_!`@R!`!a@Z!a!b@q!b!c@x!c!}BX!}#OBm#P#QBr#Q#RBw#R#S%r#T#o%r#o#pCP#p#qCU#q#rCh#r#sCm#y#z#x$f$g#x#BY#BZ#x$IS$I_#x$I|$JO#x$JT$JU#x$KV$KW#x&FU&FV#x~#}Y%w~X^#xpq#x#y#z#x$f$g#x#BY#BZ#x$IS$I_#x$I|$JO#x$JT$JU#x$KV$KW#x&FU&FV#xR$rP#rP!_!`$uQ$zO#^Q~$}UOY$zZr$zrs%as#O$z#O#P%f#P~$z~%fOc~~%iROY$zYZ$zZ~$z~%wT%}~tu%r!Q![%r!c!}%r#R#S%r#T#o%r~&]P#f~!_!`&`Q&eO#[Q~&jQ&i~vw&p!_!`&`~&uO#`~~&xTOY'XZw'Xx#O'X#O#P(P#P~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)/}),TryStatement:continuedIndent({except:/^\s*({|catch|finally)\b/}),LabeledStatement:flatIndent,SwitchBlock:O=>{var Q=O.textAfter,P=/^\s*\}/.test(Q),Q=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(P?0:Q?1:2)*O.unit},BlockComment:()=>-1,Statement:continuedIndent({except:/^{/})}),foldNodeProp.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":foldInside,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),styleTags({null:tags.null,instanceof:tags.operatorKeyword,this:tags.self,"new super assert open to with void":tags.keyword,"class interface extends implements module package import enum":tags.definitionKeyword,"switch while for if else case default do break continue return try catch finally throw":tags.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":tags.modifier,IntegerLiteral:tags.integer,FloatLiteral:tags.float,StringLiteral:tags.string,CharacterLiteral:tags.character,LineComment:tags.lineComment,BlockComment:tags.blockComment,BooleanLiteral:tags.bool,PrimitiveType:tags.standard(tags.typeName),TypeName:tags.typeName,Identifier:tags.variableName,"MethodName/Identifier":tags.function(tags.variableName),Definition:tags.definition(tags.variableName),ArithOp:tags.arithmeticOperator,LogicOp:tags.logicOperator,BitOp:tags.bitwiseOperator,CompareOp:tags.compareOperator,AssignOp:tags.definitionOperator,UpdateOp:tags.updateOperator,Asterisk:tags.punctuation,Label:tags.labelName,"( )":tags.paren,"[ ]":tags.squareBracket,"{ }":tags.brace,".":tags.derefOperator,", ;":tags.separator})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function java(){return new LanguageSupport(javaLanguage)}export{java,javaLanguage}; diff --git a/typecho/write/dist/index.js b/typecho/write/dist/index.js new file mode 100644 index 0000000..2ea1fc5 --- /dev/null +++ b/typecho/write/dist/index.js @@ -0,0 +1,288 @@ +let extend="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,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40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=1;et)return extend[e-1]<=t;return!1}function isRegionalIndicator(e){return 127462<=e&&e<=127487}const ZWJ=8205;function findClusterBreak(e,t,i=!0){return(i?nextClusterBreak:prevClusterBreak)(e,t)}function nextClusterBreak(i,n){if(n==i.length)return n;n&&surrogateLow(i.charCodeAt(n))&&surrogateHigh(i.charCodeAt(n-1))&&n--;let e=codePointAt(i,n);for(n+=codePointSize(e);n>10),56320+(1023&e)))}function codePointSize(e){return e<65536?1:2}function countColumn(t,i,n){for(let e=0;ethis.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){var n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(t,this.length,n,1),TextNode.from(n,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){var i=[];return this.decompose(e,t,i,0),TextNode.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=new RawTextCursor(this),i=new RawTextCursor(e);for(;;){if(t.next(),i.next(),t.lineBreak!=i.lineBreak||t.done!=i.done||t.value!=i.value)return!1;if(t.done)return!0}}iter(e=1){return new RawTextCursor(this,e)}iterRange(e,t=this.length){return new PartialTextCursor(this,e,t)}toString(){return this.sliceString(0)}toJSON(){var e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new TextLeaf(e):TextNode.from(TextLeaf.split(e,[])):Text.empty}}"undefined"!=typeof Symbol&&(Text.prototype[Symbol.iterator]=function(){return this.iter()});class TextLeaf extends Text{constructor(e,t=textLength(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(t,i,n,r){for(let e=0;;e++){var s=this.text[e],a=r+s.length;if(t<=(i?n:a))return new Line$1(r,a,n,s);r=a+1,n++}}decompose(i,e,n,r){i=i<=0&&e>=this.length?this:new TextLeaf(sliceText(this.text,i,e),Math.min(e,this.length)-Math.max(0,i));if(1&r){let e=n.pop(),t=appendText(i.text,e.text.slice(),0,i.length);t.length<=32?n.push(new TextLeaf(t,e.length+i.length)):(r=t.length>>1,n.push(new TextLeaf(t.slice(0,r)),new TextLeaf(t.slice(r))))}else n.push(i)}replace(e,t,i){if(!(i instanceof TextLeaf))return super.replace(e,t,i);var n=appendText(this.text,appendText(i.text,sliceText(this.text,0,e)),t),e=this.length+i.length-(t-e);return n.length<=32?new TextLeaf(n,e):TextNode.from(TextLeaf.split(n,[]),e)}sliceString(r,s=this.length,a="\n"){let o="";for(let i=0,n=0;i<=s&&nr&&n&&(o+=a),ri&&(o+=e.slice(Math.max(0,r-i),s-i)),i=t+1}return o}flatten(e){for(var t of this.text)e.push(t)}static split(e,t){let i=[],n=-1;for(var r of e)i.push(r),n+=r.length+1,32==i.length&&(t.push(new TextLeaf(i,n)),i=[],n=-1);return-1=n&&(l=o&((n<=r?1:0)|(s<=t?2:0)),n>=r&&t<=s&&!l?a.push(e):e.decompose(r-n,s-n,a,l)),n=t+1}}replace(r,s,a){if(a.lines=n&&s<=t){var o=e.replace(r-n,s-n,a),l=this.lines-e.lines+o.lines;if(o.lines>4&&o.lines>l>>6){let e=this.children.slice();return e[i]=o,new TextNode(e,this.length-(s-r)+a.length)}return super.replace(n,t,o)}n=t+1}return super.replace(r,s,a)}sliceString(r,s=this.length,a="\n"){let o="";for(let i=0,n=0;ir&&i&&(o+=a),rn&&(o+=e.sliceString(r-n,s-n,a)),n=t+1}return o}flatten(e){for(var t of this.children)t.flatten(e)}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let i=0;for(var n of e)i+=n.lines;if(i<32){var r,s=[];for(r of e)r.flatten(s);return new TextLeaf(s,t)}let a=Math.max(32,i>>5),o=a<<1,l=a>>1,c=[],h=0,d=-1,u=[];function p(){0!=h&&(c.push(1==u.length?u[0]:TextNode.from(u,d)),d=-1,h=u.length=0)}for(var O of e)!function e(t){let i;if(t.lines>o&&t instanceof TextNode)for(var n of t.children)e(n);else t.lines>l&&(h>l||!h)?(p(),c.push(t)):t instanceof TextLeaf&&h&&(i=u[u.length-1])instanceof TextLeaf&&t.lines+i.lines<=32?(h+=t.lines,d+=t.length+1,u[u.length-1]=new TextLeaf(i.text.concat(t.text),i.length+1+t.length)):(h+t.lines>a&&p(),h+=t.lines,d+=t.length+1,u.push(t))}(O);return p(),1==c.length?c[0]:new TextNode(c,t)}}function textLength(e){let t=-1;for(var i of e)t+=i.length+1;return t}function appendText(s,a,o=0,l=1e9){for(let i=0,n=0,r=!0;nMath.max(0,n))return this.value=0==n?e:0e.length?n-=e.length:(this.nodes.push(e),this.offsets.push(0this.limit&&(this.value=0r)throw new RangeError(`Position ${t} is out of range for changeset of length ${r}`);return s}touchesRange(i,n=i){for(let e=0,t=0;e"number"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ChangeDesc(e)}}class ChangeSet extends ChangeDesc{constructor(e,t){super(e),this.inserted=t}apply(s){if(this.length!=s.length)throw new RangeError("Applying change set to a document with the wrong length");return iterChanges(this,(e,t,i,n,r)=>s=s.replace(i,i+(t-e),r),!1),s}mapDesc(e,t=!1){return mapSet(this,e,t,!0)}invert(i){let n=this.sections.slice(),r=[];for(let e=0,t=0;e>1;r.length>1].toJSON()))}return n}static of(e,s,a){let o=[],l=[],c=0,i=null;function h(e=!1){if(e||o.length){cc&&addSection(o,e-c,-1),addSection(o,t-e,n),addInsert(l,o,r),c=t)}}(e),h(!i),i}static empty(e){return new ChangeSet(e?[e,-1]:[],[])}static fromJSON(i){if(!Array.isArray(i))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let t=0;tt&&"string"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==e.length)n.push(e[0],0);else{for(;r.length>1;if(n>1])),!(h||o==l.sections.length||l.sections[o+1]<0);)n=l.sections[o++],r=l.sections[o++];c(s,e,a,t,i),s=e,a=t}}}function mapSet(e,t,r,i=!1){var s=[],a=i?[]:null;let o=new SectionIter(e),l=new SectionIter(t);for(let i=0,n=0;;)if(-1==o.ins)i+=o.len,o.next();else if(-1==l.ins&&nn&&!o.done&&i+o.leni&&n+l.lenl||0<=a.ins&&a.len>l)&&(e||c>1;return t>=e.length?Text.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?Text.empty:t[i].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class SelectionRange{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){var e=3&this.flags;return 3==e?null:e}get goalColumn(){var e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){var i=e.mapPos(this.from,t),t=e.mapPos(this.to,t);return i==this.from&&t==this.to?this:new SelectionRange(i,t,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return EditorSelection.range(e,t);t=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return EditorSelection.range(this.anchor,t)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return EditorSelection.range(e.anchor,e.head)}}class EditorSelection{constructor(e,t=0){this.ranges=e,this.mainIndex=t}map(t,i=-1){return t.empty?this:EditorSelection.create(this.ranges.map(e=>e.map(t,i)),this.mainIndex)}eq(t){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let e=0;ee.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new EditorSelection(e.ranges.map(e=>SelectionRange.fromJSON(e)),e.main)}static single(e,t=e){return new EditorSelection([EditorSelection.range(e,t)],0)}static create(i,n=0){if(0==i.length)throw new RangeError("A selection needs at least one range");for(let e=0,t=0;te.from-t.from),i=t.indexOf(e);for(let e=1;er.head?EditorSelection.range(s,n):EditorSelection.range(n,s)))}return new EditorSelection(t,i)}function checkSelection(e,t){for(var i of e.ranges)if(i.to>t)throw new RangeError("Selection points outside of document")}let nextID=0;class Facet{constructor(e,t,i,n,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=n,this.extensions=r,this.id=nextID++,this.default=e([])}static define(e={}){return new Facet(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:sameArray$1),!!e.static,e.enables)}of(e){return new FacetProvider([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new FacetProvider(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new FacetProvider(e,this,2,t)}from(t,i){return i=i||(e=>e),this.compute([t],e=>i(e.field(t)))}}function sameArray$1(e,i){return e==i||e.length==i.length&&e.every((e,t)=>e===i[t])}class FacetProvider{constructor(e,t,i,n){this.dependencies=e,this.facet=t,this.type=i,this.value=n,this.id=nextID++}dynamicSlot(e){var t,i;let n=this.value,r=this.facet.compareInput,s=e[this.id]>>1,a=2==this.type,o=!1,l=!1,c=[];for(i of this.dependencies)"doc"==i?o=!0:"selection"==i?l=!0:0==(1&(null!==(t=e[i.id])&&void 0!==t?t:1))&&c.push(e[i.id]);return(t,e)=>{if(!e||e.reconfigured)return t.values[s]=n(t),1;if(!(o&&e.docChanged||l&&(e.docChanged||e.selection)||c.some(e=>0<(1&ensureAddr(t,e)))))return 0;var i=n(t),e=e.startState.values[s];return(a?compareArray(i,e,r):r(i,e))?0:(t.values[s]=i,1)}}}function compareArray(t,i,n){if(t.length!=i.length)return!1;for(let e=0;et[e.id]),d=e.map(e=>e.type),u=h.filter(e=>!(1&e)),p=t[c.id]>>1;return(t,e)=>{var i,n=e?e.reconfigured?e.startState.config.address[c.id]:p<<1:null;let r=null==n;for(i of u)1&ensureAddr(t,i)&&(r=!0);if(!r)return 0;let s=[];for(let e=0;e>1}const initField=Facet.define({static:!0});class StateField{constructor(e,t,i,n,r){this.id=e,this.createF=t,this.updateF=i,this.compareF=n,this.spec=r,this.provides=void 0}static define(e){let t=new StateField(nextID++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(initField).find(e=>e.field==this);return((null===t||void 0===t?void 0:t.create)||this.createF)(e)}slot(e){let r=e[this.id]>>1;return(e,t)=>{if(!t||t.reconfigured&&null==maybeIndex(t.startState,this.id))return e.values[r]=this.create(e),1;let i,n=0;t.reconfigured?(i=t.startState.values[maybeIndex(t.startState,this.id)],n=1):i=t.startState.values[r];t=this.updateF(i,t);return n||this.compareF(i,t)||(n=1),n&&(e.values[r]=t),n}}init(e){return[this,initField.of({field:this,create:e})]}get extension(){return this}}const Prec_={fallback:3,default:2,extend:1,override:0};function prec(t){return e=>new PrecExtension(e,t)}const Prec={fallback:prec(Prec_.fallback),default:prec(Prec_.default),extend:prec(Prec_.extend),override:prec(Prec_.override)};class PrecExtension{constructor(e,t){this.inner=e,this.prec=t}}class Compartment{of(e){return new CompartmentInstance(this,e)}reconfigure(e){return Compartment.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class CompartmentInstance{constructor(e,t){this.compartment=e,this.inner=t}}class Configuration{constructor(e,t,i,n,r){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i=[],r=Object.create(null);var s,a,o=new Map;for(s of flatten(e,t,o))(s instanceof StateField?i:r[s.facet.id]||(r[s.facet.id]=[])).push(s);let l=Object.create(null),c=[],h=[];for(let t of i)l[t.id]=h.length<<1,h.push(e=>t.slot(e));for(a in r){let i=r[a],t=i[0].facet;if(i.every(e=>0==e.type)){l[t.id]=c.length<<1|1;let e=t.combine(i.map(e=>e.value));var d=n?n.config.address[t.id]:null;null!=d&&(d=getAddr(n,d),t.compare(e,d)&&(e=d)),c.push(e)}else{for(let t of i)0==t.type?(l[t.id]=c.length<<1|1,c.push(t.value)):(l[t.id]=h.length<<1,h.push(e=>t.dynamicSlot(e)));l[t.id]=h.length<<1,h.push(e=>dynamicFacetSlot(e,t,i))}}return new Configuration(e,o,h.map(e=>e(l)),l,c)}}function flatten(e,o,l){let c=[[],[],[],[]],h=new Map;return function e(t,i){var n=h.get(t);if(null!=n){if(i<=n)return;var r=c[n].indexOf(t);-1e.concat(t))}function ensureAddr(e,t){if(1&t)return 2;var i=t>>1,t=e.status[i];if(4==t)throw new Error("Cyclic dependency between fields and/or facets");if(2&t)return t;e.status[i]=4;t=e.config.dynamicSlots[i](e,e.applying);return e.status[i]=2|t}function getAddr(e,t){return(1&t?e.config.staticValues:e.values)[t>>1]}const languageData=Facet.define(),allowMultipleSelections=Facet.define({combine:e=>e.some(e=>e),static:!0}),lineSeparator=Facet.define({combine:e=>e.length?e[0]:void 0,static:!0}),changeFilter=Facet.define(),transactionFilter=Facet.define(),transactionExtender=Facet.define();class Annotation{constructor(e,t){this.type=e,this.value=t}static define(){return new AnnotationType}}class AnnotationType{of(e){return new Annotation(this,e)}}class StateEffectType{constructor(e){this.map=e}of(e){return new StateEffect(this,e)}}class StateEffect{constructor(e,t){this.type=e,this.value=t}map(e){e=this.type.map(this.value,e);return void 0===e?void 0:e==this.value?this:new StateEffect(this.type,e)}is(e){return this.type==e}static define(e={}){return new StateEffectType(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(var n of e){n=n.map(t);n&&i.push(n)}return i}}StateEffect.reconfigure=StateEffect.define(),StateEffect.appendConfig=StateEffect.define();class Transaction{constructor(e,t,i,n,r,s){this.startState=e,this.changes=t,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,i&&checkSelection(i,t.newLength),r.some(e=>e.type==Transaction.time)||(this.annotations=r.concat(Transaction.time.of(Date.now())))}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(var t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}}function joinRanges(r,s){let a=[];for(let i=0,n=0;;){let e,t;if(i=r[i]))e=r[i++],t=r[i++];else{if(!(n{if(!/\S/.test(t))return CharCategory.Space;if(hasWordChar(t))return CharCategory.Word;for(let e=0;enull),n)for(var r in e.address){var s=e.address[r],r=n.startState.config.address[r];null!=r&&0==(1&s)&&(this.values[s>>1]=getAddr(n.startState,r))}(this.applying=n)&&(n._state=this);for(let e=0;en.set(t,e)),t=null),n.set(r.value.compartment,r.value.extension)):r.is(StateEffect.reconfigure)?(t=null,i=r.value):r.is(StateEffect.appendConfig)&&(t=null,i=asArray(i).concat(r.value));new EditorState(t||Configuration.resolve(i,n,this),e.newDoc,e.newSelection,e)}replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:t},range:EditorSelection.cursor(e.from+t.length)}))}changeByRange(r){var s=this.selection,e=r(s.ranges[0]);let a=this.changes(e.changes),o=[e.range],l=asArray(e.effects);for(let n=1;nt.spec.fromJSON(i,e)))}return EditorState.create({doc:e.doc,selection:EditorSelection.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=Configuration.resolve(e.extensions||[],new Map);var i=e.doc instanceof Text?e.doc:Text.of((e.doc||"").split(t.staticFacet(EditorState.lineSeparator)||DefaultSplit));let n=e.selection?e.selection instanceof EditorSelection?e.selection:EditorSelection.single(e.selection.anchor,e.selection.head):EditorSelection.single(0);return checkSelection(n,i.length),t.staticFacet(allowMultipleSelections)||(n=n.asSingle()),new EditorState(t,i,n)}get tabSize(){return this.facet(EditorState.tabSize)}get lineBreak(){return this.facet(EditorState.lineSeparator)||"\n"}phrase(e){for(var t of this.facet(EditorState.phrases))if(Object.prototype.hasOwnProperty.call(t,e))return t[e];return e}languageDataAt(e,t){let i=[];for(var n of this.facet(languageData))for(var r of n(this,t))Object.prototype.hasOwnProperty.call(r,e)&&i.push(r[e]);return i}charCategorizer(e){return makeCategorizer(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:n}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-i,a=e-i;for(;0e.length?e[0]:4}),EditorState.lineSeparator=lineSeparator,EditorState.phrases=Facet.define(),EditorState.languageData=languageData,EditorState.changeFilter=changeFilter,EditorState.transactionFilter=transactionFilter,EditorState.transactionExtender=transactionExtender,Compartment.reconfigure=StateEffect.define();const C="ͼ",COUNT="undefined"==typeof Symbol?"__"+C:Symbol.for(C),SET="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),top="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class StyleModule{constructor(e,t){this.rules=[];let{finish:h}=t||{};function d(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(var i in e)!function e(i,t,n,r){let s=[],a=/^@(\w+)\b/.exec(i[0]),o=a&&"keyframes"==a[1];if(a&&null==t)return n.push(i[0]+";");for(var l in t){var c=t[l];if(/&/.test(l))e(l.split(/,\s*/).map(t=>i.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),c,n);else if(c&&"object"==typeof c){if(!a)throw new RangeError("The value of a property ("+l+") should be a primitive value.");e(d(l),c,s,o)}else null!=c&&s.push(l.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+c+";")}(s.length||o)&&n.push((!h||a||r?i:i.map(h)).join(", ")+" {"+s.join(" ")+"}")}(d(i),e[i],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=top[COUNT]||1;return top[COUNT]=e+1,C+e.toString(36)}static mount(e,t){(e[SET]||new StyleSet(e)).mount(Array.isArray(t)?t:[t])}}let adoptedSet=null;class StyleSet{constructor(t){if(!t.head&&t.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(adoptedSet)return t.adoptedStyleSheets=[adoptedSet.sheet].concat(t.adoptedStyleSheets),t[SET]=adoptedSet;this.sheet=new CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat(t.adoptedStyleSheets),adoptedSet=this}else{this.styleTag=(t.ownerDocument||t).createElement("style");let e=t.head||t;e.insertBefore(this.styleTag,e.firstChild)}this.modules=[],t[SET]=this}mount(n){let r=this.sheet,s=0,a=0;for(let i=0;i>1,l=a[o]-i||(n<0?this.value[o].startSide:this.value[o].endSide)-r;if(o==e)return 0<=l?e:t;0<=l?t=o:e=1+o}}between(i,n,r,s){for(let e=this.findIndex(n,-1),t=this.findIndex(r,1,void 0,e);er||n==r&&0this.chunkEnd(a.chunkIndex)||ra.to||r500<=e.maxPoint||e!=RangeSet.empty&&i.indexOf(e)<0&&e.maxPoint>=r),a=i.filter(e=>500<=e.maxPoint||e!=RangeSet.empty&&t.indexOf(e)<0&&e.maxPoint>=r),o=findSharedChunks(s,a);let l=new SpanCursor(s,o,r),c=new SpanCursor(a,o,r);e.iterGaps((e,t,i)=>compare(l,e,c,t,i,n)),e.empty&&0==e.length&&compare(l,0,c,0,0,n)}static spans(e,t,i,n,r=-1){let s=new SpanCursor(e,null,r).goto(t),a=t,o=s.openStart;for(;;){var l=Math.min(s.to,i);if(s.point?(n.point(a,l,s.point,s.activeForPoint(s.to),o),o=s.openEnd(l)+(s.to>l?1:0)):l>a&&(n.span(a,l,s.active,o),o=s.openEnd(l)),s.to>i)break;a=s.to,s.next()}return o}static of(e,t=!1){let i=new RangeSetBuilder;for(var n of e instanceof Range?[e]:t?e.slice().sort(cmpRange):e)i.add(n.from,n.to,n.value);return i.finish()}}RangeSet.empty=new RangeSet([],[],null,-1),RangeSet.empty.nextLayer=RangeSet.empty;class RangeSetBuilder{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new Chunk(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new RangeSetBuilder)).add(e,t,i)}addInner(e,t,i){var n=e-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);var i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(RangeSet.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;e=new RangeSet(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,e}}function findSharedChunks(e,t){let i=new Map;for(var n of e)for(let e=0;e=this.minPoint)break}}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.to-e.to||this.endSide-e.endSide}}class HeapCursor{constructor(e){this.heap=e}static from(i,n=null,r=-1){let s=[];for(let t=0;t=r&&s.push(new LayerCursor(e,n,r,t));return 1==s.length?s[0]:new HeapCursor(s)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(var i of this.heap)i.goto(e,t);for(let e=this.heap.length>>1;0<=e;e--)heapBubble(this.heap,e);return this.next(),this}forward(e,t){for(var i of this.heap)i.forward(e,t);for(let e=this.heap.length>>1;0<=e;e--)heapBubble(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),heapBubble(this.heap,0)}}}function heapBubble(n,r){for(let i=n[r];;){let e=1+(r<<1);if(e>=n.length)break;let t=n[e];if(e+1t){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&remove(i,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}r=this.cursor.value;if(r.point){if(!(e&&this.cursor.to==this.to&&this.cursor.fromt&&this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(i),this.cursor.next()}}if(i){let e=0;for(;et||this.activeTo[e]==t&&this.active[e].endSide>this.point.endSide)&&i.push(this.active[e]);return i.reverse()}openEnd(t){let i=0;for(let e=this.activeTo.length-1;0<=e&&this.activeTo[e]>t;e--)i++;return i}}function compare(e,t,i,n,r,s){e.goto(t),i.goto(n);var a=n+r;let o=n,l=n-t;for(;;){var c=e.to+l-i.to||e.endSide-i.endSide,h=c<0?e.to+l:i.to,d=Math.min(h,a);if(e.point||i.point?e.point&&i.point&&(e.point==i.point||e.point.eq(i.point))||s.comparePoint(o,d,e.point,i.point):d>o&&!sameValues(e.active,i.active)&&s.compareRange(o,d,e.active,i.active),a=i;e--)t[e+1]=t[e];t[i]=e}function findMinIndex(t,i){let n=-1,r=1e9;for(let e=0;e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},chrome$1="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),safari$1="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),gecko$1="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),mac="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),ie$1="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),brokenModifierNames=chrome$1&&(mac||+chrome$1[1]<57)||gecko$1&&mac,i=0;i<10;i++)base[48+i]=base[96+i]=String(i);for(i=1;i<=24;i++)base[i+111]="F"+i;for(var code,i=65;i<=90;i++)base[i]=String.fromCharCode(i+32),shift[i]=String.fromCharCode(i);for(code in base)shift.hasOwnProperty(code)||(shift[code]=base[code]);function keyName(e){e=!(brokenModifierNames&&(e.ctrlKey||e.altKey||e.metaKey)||(safari$1||ie$1)&&e.shiftKey&&e.key&&1==e.key.length)&&e.key||(e.shiftKey?shift:base)[e.keyCode]||e.key||"Unidentified";return e="Down"==(e="Right"==(e="Up"==(e="Left"==(e="Del"==(e="Esc"==e?"Escape":e)?"Delete":e)?"ArrowLeft":e)?"ArrowUp":e)?"ArrowRight":e)?"ArrowDown":e}function getSelection(e){return(e.getSelection?e:document).getSelection()}function contains(e,t){return!!t&&e.contains(1!=t.nodeType?t.parentNode:t)}function deepActiveElement(){let e=document.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function hasSelection(e,t){if(!t.anchorNode)return!1;try{return contains(e,t.anchorNode)}catch(e){return!1}}function clientRectsFor(e){return 3==e.nodeType?textRange(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function isEquivalentPosition(e,t,i,n){return!!i&&(scanFor(e,t,i,n,-1)||scanFor(e,t,i,n,1))}function domIndex(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function scanFor(e,t,i,n,r){for(;;){if(e==i&&t==n)return!0;if(t==(r<0?0:maxOffset(e))){if("DIV"==e.nodeName)return!1;var s=e.parentNode;if(!s||1!=s.nodeType)return!1;t=domIndex(e)+(r<0?0:1),e=s}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(r<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=r<0?maxOffset(e):0}}}function maxOffset(e){return(3==e.nodeType?e.nodeValue:e.childNodes).length}const Rect0={left:0,right:0,top:0,bottom:0};function flattenRect(e,t){t=t?e.left:e.right;return{left:t,right:t,top:e.top,bottom:e.bottom}}function windowRect(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}const ScrollSpace=5;function scrollRectIntoView(e,s){let t=e.ownerDocument,a=t.defaultView;for(let r=e.parentNode;r;)if(1==r.nodeType){let e,t=r==document.body;if(t)e=windowRect(a);else{if(r.scrollHeight<=r.clientHeight&&r.scrollWidth<=r.clientWidth){r=r.parentNode;continue}var o=r.getBoundingClientRect();e={left:o.left,right:o.left+r.clientWidth,top:o.top,bottom:o.top+r.clientHeight}}let i=0,n=0;var l;if(s.tope.bottom&&(n=s.bottom-e.bottom+ScrollSpace),s.lefte.right&&(i=s.right-e.right+ScrollSpace),(i||n)&&(t?a.scrollBy(i,n):(n&&(l=r.scrollTop,r.scrollTop+=n,n=r.scrollTop-l),i&&(l=r.scrollLeft,r.scrollLeft+=i,i=r.scrollLeft-l),s={left:s.left-i,top:s.top-n,right:s.right-i,bottom:s.bottom-n})),t)break;r=r.assignedSlot||r.parentNode}else{if(11!=r.nodeType)break;r=r.host}}class DOMSelection{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}}let preventScrollSupported=null;function focusPreventScroll(t){if(t.setActive)return t.setActive();if(preventScrollSupported)return t.focus(preventScrollSupported);let r=[];for(let e=t;e&&(r.push(e,e.scrollTop,e.scrollLeft),e!=e.ownerDocument);e=e.parentNode);if(t.focus(null==preventScrollSupported?{get preventScroll(){return preventScrollSupported={preventScroll:!0},!0}}:void 0),!preventScrollSupported){preventScrollSupported=!1;for(let n=0;na&&e.dom.parentNode==this.dom){c=i,h=r;break}r=t,n=t+e.breakAfter}return{from:l,to:h<0?e+this.length:h,startDOM:(o?this.children[o-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:cthis.pos||e==this.pos&&(0MaxJoinLen))&&(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}slice(e){return new TextView(this.text.slice(e))}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new DOMPos(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return textCoords(this.dom,e,t)}}class MarkView extends InlineView{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(var n of t)n.setParent(this)}createDOM(){let e=document.createElement(this.mark.tagName);if(this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(var t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);this.setDOM(e)}sync(e){this.dom||this.createDOM(),super.sync(e)}merge(e,t,i,n,r){return(!i||!(!(i instanceof MarkView&&i.mark.eq(this.mark))||e&&n<=0||te.width)||o),a?flattenRect(o,a<0):o}class WidgetView extends InlineView{constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i}static create(e,t,i){return new(e.customView||WidgetView)(e,t,i)}slice(e){return WidgetView.create(this.widget,this.length-e,this.side)}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,n,r){return!(i&&(!(i instanceof WidgetView&&this.widget.compare(i.widget))||0i&&se?i[r]=Math.max(i[r],t):i.push(e,t)}PointDecoration.prototype.point=!0;class LineView extends ContentView{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,n,r,s){if(i){if(!(i instanceof LineView))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),mergeInlineChildren(this,e,t,i?i.children:none$1$1,r,s),!0}split(e){let t=new LineView;if(t.breakAfter=this.breakAfter,0==this.length)return t;let{i,off:n}=this.childPos(e);n&&(t.append(this.children[i].slice(n),0),this.children[i].merge(n,this.children[i].length,null,0,0),i++);for(let e=i;ee instanceof TextView))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||20!e.length||e[0]});class PluginFieldProvider{constructor(e,t){this.field=e,this.get=t}}class PluginField{from(e){return new PluginFieldProvider(this,e)}static define(){return new PluginField}}PluginField.decorations=PluginField.define(),PluginField.atomicRanges=PluginField.define(),PluginField.scrollMargins=PluginField.define();let nextPluginID=0;const viewPlugin=Facet.define();class ViewPlugin{constructor(e,t,i){this.id=e,this.create=t,this.fields=i,this.extension=viewPlugin.of(this)}static define(e,t){let{eventHandlers:i,provide:n,decorations:r}=t||{},s=[];if(n)for(var a of Array.isArray(n)?n:[n])s.push(a);return i&&s.push(domEventHandlers.from(e=>({plugin:e,handlers:i}))),r&&s.push(PluginField.decorations.from(r)),new ViewPlugin(nextPluginID++,e,s)}static fromClass(t,e){return ViewPlugin.define(e=>new t(e),e)}}const domEventHandlers=PluginField.define();class PluginInstance{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}takeField(e,t){for(var{field:i,get:n}of this.spec.fields)i==e&&t.push(n(this.value))}update(t){if(this.value){if(this.mustUpdate){var i=this.mustUpdate;if(this.mustUpdate=null,!this.value.update)return this;try{this.value.update(i)}catch(e){if(logException(i.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}return PluginInstance.dummy}}}else try{this.value=this.spec.create(t)}catch(e){return logException(t.state,e,"CodeMirror plugin crashed"),PluginInstance.dummy}return this}destroy(t){var e;if(null!==(e=this.value)&&void 0!==e&&e.destroy)try{this.value.destroy()}catch(e){logException(t.state,e,"CodeMirror plugin crashed")}}}PluginInstance.dummy=new PluginInstance(ViewPlugin.define(()=>({})));const editorAttributes=Facet.define({combine:e=>e.reduce((e,t)=>combineAttrs(t,e),{})}),contentAttributes=Facet.define({combine:e=>e.reduce((e,t)=>combineAttrs(t,e),{})}),decorations=Facet.define(),styleModule=Facet.define();class ChangedRange{constructor(e,t,i,n){this.fromA=e,this.toA=t,this.fromB=i,this.toB=n}join(e){return new ChangedRange(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;0i.toA)){if(n.toAr.push(new ChangedRange(e,t,i,n))),this.changedRanges=r;i=e.hasFocus;i!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=i,this.flags|=1),this.docChanged&&(this.flags|=2)}get viewportChanged(){return 0<(4&this.flags)}get heightChanged(){return 0<(2&this.flags)}get geometryChanged(){return this.docChanged||0<(18&this.flags)}get focusChanged(){return 0<(1&this.flags)}get docChanged(){return this.transactions.some(e=>e.docChanged)}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}class DocView extends ContentView{constructor(e){super(),this.view=e,this.compositionDeco=Decoration.none,this.decorations=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.setDOM(e.contentDOM),this.children=[new LineView],this.children[0].setParent(this),this.updateInner([new ChangedRange(0,0,0,e.state.doc.length)],this.updateDeco(),0)}get root(){return this.view.root}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;0tthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=0),this.view.inputState.composing<0?this.compositionDeco=Decoration.none:e.transactions.length&&(this.compositionDeco=computeCompositionDeco(this.view,e.changes));var i=(browser.ie||browser.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines,n=this.decorations,r=this.updateDeco(),n=findChangedDeco(n,r,e.changes);t=ChangedRange.extendWithRanges(t,n);n=e.transactions.some(e=>"pointerselection"==e.annotation(Transaction.userEvent));return 0==this.dirty&&0==t.length&&!(12&e.flags)&&e.state.selection.main.from>=this.view.viewport.from&&e.state.selection.main.to<=this.view.viewport.to?(this.updateSelection(i,n),!1):(this.updateInner(t,r,e.startState.doc.length,i,n),!0)}updateInner(e,t,i,n=!1,r=!1){this.updateChildren(e,t,i);let{observer:s}=this.view;s.ignore(()=>{this.dom.style.height=this.view.viewState.domHeight+"px",this.dom.style.minWidth=this.minWidth?this.minWidth+"px":"";var e=browser.chrome||browser.ios?{node:s.selectionRange.focusNode,written:!1}:void 0;this.sync(e),this.dirty=0,e&&(e.written||s.selectionRange.focusNode!=e.node)&&(n=!0),this.updateSelection(n,r),this.dom.style.height=""})}updateChildren(t,i,e){let n=this.childCursor(e);for(let e=t.length-1;;e--){var r=0<=e?t[e]:null;if(!r)break;var{fromA:s,toA:a,fromB:o,toB:l}=r,{content:c,breakAtStart:h,openStart:d,openEnd:r}=ContentBuilder.build(this.view.state.doc,o,l,i),{i:o,off:l}=n.findPos(a,1),{i:a,off:s}=n.findPos(s,-1);this.replaceRange(a,s,o,l,c,h,d,r)}}replaceRange(t,i,n,r,s,a,o,l){let c=this.children[t],h=s.length?s[s.length-1]:null;var d=h?h.breakAfter:a;if(t!=n||a||d||!(s.length<2)||!c.merge(i,r,s.length?h:null,0==i,o,l)){let e=this.children[n];for(rr.node.insertBefore(e,r.node.childNodes[r.offset]||null)),r=s=new DOMPos(e,0),t=!0}let a=this.view.observer.selectionRange;!(t||!a.focusNode||browser.gecko&&n.empty&&nextToUneditable(a.focusNode,a.focusOffset))&&isEquivalentPosition(r.node,r.offset,a.anchorNode,a.anchorOffset)&&isEquivalentPosition(s.node,s.offset,a.focusNode,a.focusOffset)||(this.view.observer.ignore(()=>{let t=getSelection(this.root);var e,i;if(n.empty)browser.gecko&&(!(e=nextToUneditable(r.node,r.offset))||3==e||(i=nearbyTextNode(r.node,r.offset,1==e?1:-1))&&(r=new DOMPos(i,1==e?0:i.nodeValue.length))),t.collapse(r.node,r.offset),null!=n.bidiLevel&&null!=a.cursorBidiLevel&&(a.cursorBidiLevel=n.bidiLevel);else if(t.extend)t.collapse(r.node,r.offset),t.extend(s.node,s.offset);else{let e=document.createRange();n.anchor>n.head&&([r,s]=[s,r]),e.setEnd(s.node,s.offset),e.setStart(r.node,r.offset),t.removeAllRanges(),t.addRange(e)}}),this.view.observer.setSelectionRange(r,s)),this.impreciseAnchor=r.precise?null:new DOMPos(a.anchorNode,a.anchorOffset),this.impreciseHead=s.precise?null:new DOMPos(a.focusNode,a.focusOffset)}}enforceCursorAssoc(){var e,t,i=this.view.state.selection.main;let n=getSelection(this.root);i.empty&&i.assoc&&n.modify&&((t=LineView.find(this,i.head))&&(e=t.posAtStart,i.head!=e&&i.head!=e+t.length&&(e=this.coordsAt(i.head,-1),t=this.coordsAt(i.head,1),!e||!t||e.bottom>t.top||(t=this.domAtPos(i.head+i.assoc),n.collapse(t.node,t.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary")))))}mayControlSelection(){return this.view.state.facet(editable)?this.root.activeElement==this.dom:hasSelection(this.dom,this.view.observer.selectionRange)}nearest(t){for(let e=t;e;){var i=ContentView.get(e);if(i&&i.rootView==this)return i;e=e.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;t=s&&(r.push(e.dom.getBoundingClientRect().height),(l=e.dom.scrollWidth)>o&&(this.minWidth=o=l,this.minWidthFrom=i,this.minWidthTo=t)),i=t+e.breakAfter}return r}measureTextSize(){for(var e of this.children)if(e instanceof LineView){e=e.measureTextSize();if(e)return e}let t=document.createElement("div"),i,n;return t.className="cm-line",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);var e=clientRectsFor(t.firstChild)[0];i=t.getBoundingClientRect().height,n=e?e.width/27:7,t.remove()}),{lineHeight:i,charWidth:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new ChildCursor(this.children,e,t)}computeBlockGapDeco(){let i=[],n=this.view.viewState;for(let e=0,t=0;;t++){var r,s=t==n.viewports.length?null:n.viewports[t],a=s?s.from-1:this.length;if(a>e&&(r=n.lineAt(a,0).bottom-n.lineAt(e,0).top,i.push(Decoration.replace({widget:new BlockGapWidget(r),block:!0,inclusive:!0}).range(e,a))),!s)break;e=s.to+1}return Decoration.set(i)}updateDeco(){return this.decorations=[this.computeBlockGapDeco(),this.view.viewState.lineGapDeco,this.compositionDeco,...this.view.state.facet(decorations),...this.view.pluginField(PluginField.decorations)]}scrollPosIntoView(e,r){var s,a,o,r=this.coordsAt(e,r);if(r){let e=0,t=0,i=0,n=0;for(var l of this.view.pluginField(PluginField.scrollMargins))l&&({left:s,right:a,top:o,bottom:l}=l,null!=s&&(e=Math.max(e,s)),null!=a&&(t=Math.max(t,a)),null!=o&&(i=Math.max(i,o)),null!=l&&(n=Math.max(n,l)));scrollRectIntoView(this.dom,{left:r.left-e,top:r.top-i,right:r.right+t,bottom:r.bottom+n})}}}function betweenUneditable(e){return 1==e.node.nodeType&&e.node.firstChild&&(0==e.offset||"false"==e.node.childNodes[e.offset-1].contentEditable)&&(e.offset==e.node.childNodes.length||"false"==e.node.childNodes[e.offset].contentEditable)}class BlockGapWidget extends WidgetType{constructor(e){super(),this.height=e}toDOM(){var e=document.createElement("div");return this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}}function computeCompositionDeco(e,t){var i=e.observer.selectionRange,i=i.focusNode&&nearbyTextNode(i.focusNode,i.focusOffset,0);if(!i)return Decoration.none;let n=e.docView.nearest(i),r,s,a=i;if(n instanceof InlineView){for(;n.parent instanceof InlineView;)n=n.parent;r=n.posAtStart,s=r+n.length,a=n.dom}else{if(!(n instanceof LineView))return Decoration.none;{for(;a.parentNode!=n.dom;)a=a.parentNode;let e=a.previousSibling;for(;e&&!ContentView.get(e);)e=e.previousSibling;r=s=e?ContentView.get(e).posAtEnd:n.posAtStart}}let o=t.mapPos(r,1),l=Math.max(o,t.mapPos(s,-1)),c=i.nodeValue,{state:h}=e;if(l-o=i){if(a.level==n)return e;(s<0||(0!=r?r<0?a.fromi:t[s].level>a.level))&&(s=e)}}if(s<0)throw new RangeError("Index out of range");return s}}const types=[];function computeOrder(a,e){var o=a.length,l=e==LTR?1:2,c=e==LTR?2:1;if(!a||1==l&&!BidiRE.test(a))return trivialOrder(o);for(let t=0,i=l,n=l;tp;){for(var f=e,g=2!=types[--e];e>p&&g==(2!=types[e-1]);)e--;i.push(new BidiSpan(e,f,g?2:1))}else i.push(new BidiSpan(p,t,0))}else for(let e=0;ee?t.left-e:Math.max(0,e-t.right)}function getdy(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function yOverlap(e,t){return e.topt.top+1}function upTop(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function domPosAtCoords(e,n,r){let s,a,o,l,c,h,d,u;for(let i=e.firstChild;i;i=i.nextSibling){var p=clientRectsFor(i);for(let t=0;tf||l==f&&o>O)&&(s=i,a=e,o=O,l=f),0==O?r>e.bottom&&(!d||d.bottome.top)&&(h=i,u=e):d&&yOverlap(d,e)?d=upBot(d,e.bottom):u&&yOverlap(u,e)&&(u=upTop(u,e.top))}}if(d&&d.bottom>=r?(s=c,a=d):u&&u.top<=r&&(s=h,a=u),!s)return{node:e,offset:0};var t=Math.max(a.left,Math.min(a.right,n));return 3==s.nodeType?domPosInText(s,t,r):o||"true"!=s.contentEditable?{node:e,offset:Array.prototype.indexOf.call(e.childNodes,s)+(n>=(a.left+a.right)/2?1:0)}:domPosAtCoords(s,t,r)}function domPosInText(n,r,t){var e=n.nodeValue.length;let s=-1,a=1e9,o=0;for(let i=0;it?c.top-t:t-c.bottom)-1;if(c.left-1<=r&&c.right+1>=r&&h=(c.left+c.right)/2,t=e;if((browser.chrome||browser.gecko)&&textRange(n,i).getBoundingClientRect().left==c.right&&(t=!e),h<=0)return{node:n,offset:i+(t?1:0)};s=i+(t?1:0),a=h}}}}return{node:n,offset:-1i||s.bottomi?-1:1,i=Math.min(s.bottom-a,Math.max(s.top+a,i)),e)return null;e=!0}if(s.type==BlockType.Text)break;i=0t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:null;e=Math.max(r.left+1,Math.min(r.right-1,e));let c=t.root,h=c.elementFromPoint(e,i),d,u=-1;return!h||!t.contentDOM.contains(h)||t.docView.nearest(h)instanceof WidgetView||(c.caretPositionFromPoint?(o=c.caretPositionFromPoint(e,i))&&({offsetNode:d,offset:u}=o):!c.caretRangeFromPoint||(o=c.caretRangeFromPoint(e,i))&&({startContainer:d,startOffset:u}=o,browser.safari&&isSuspiciousCaretResult(d,u,e)&&(d=void 0))),d&&t.docView.dom.contains(d)||(l=LineView.find(t.docView,l),{node:d,offset:u}=domPosAtCoords(l.dom,e,i)),t.docView.posFromDOM(d,u)}function isSuspiciousCaretResult(t,e,i){let n;if(3!=t.nodeType||e!=(n=t.nodeValue.length))return!1;for(let e=t.nextSibling;e;e=t.nextSibling)if(1!=e.nodeType||"BR"!=e.nodeName)return!1;return textRange(t,n-1,n).getBoundingClientRect().left>i}function moveToLineBoundary(e,t,i,n){var r=e.state.doc.lineAt(t.head),s=n&&e.lineWrapping?e.coordsAtPos(t.assoc<0&&t.head>r.from?t.head-1:t.head):null;if(s){n=e.dom.getBoundingClientRect(),s=e.posAtCoords({x:i==(e.textDirection==Direction.LTR)?n.right-1:n.left+1,y:(s.top+s.bottom)/2});if(null!=s)return EditorSelection.cursor(s,i?-1:1)}t=LineView.find(e.docView,t.head),r=t?i?t.posAtEnd:t.posAtStart:i?r.to:r.from;return EditorSelection.cursor(r,i?-1:1)}function moveByChar(r,e,s,a){let o=r.state.doc.lineAt(e.head),l=r.bidiSpans(o);for(let i=e,n=null;;){let e=moveVisually(o,l,r.textDirection,i,s),t=movedOver;if(!e){if(o.number==(s?r.state.doc.lines:1))return i;t="\n",o=r.state.doc.line(o.number+(s?1:-1)),l=r.bidiSpans(o),e=EditorSelection.cursor(s?o.from:o.to)}if(n){if(!n(t))return i}else{if(!a)return e;n=a(t)}i=e}}function byGroup(e,t,i){let n=e.state.charCategorizer(t),r=n(i);return e=>{e=n(e);return r==CharCategory.Space&&(r=e),r==e}}function moveVertically(i,e,t,n){var r=e.head,s=t?1:-1;if(r==(t?i.state.doc.length:0))return EditorSelection.cursor(r);var a=i.coordsAtPos(r);if(a){var o=i.dom.getBoundingClientRect(),l=null!==(t=e.goalColumn)&&void 0!==t?t:a.left-o.left,c=o.left+l,h=null!=n?n:i.defaultLineHeight>>1;for(let e=s<0?a.top:a.bottom,t=0;t<50;t+=10){var d=posAtCoords(i,{x:c,y:e+(h+t)*s},s);if(null==d)break;if(d!=r)return EditorSelection.cursor(d,void 0,void 0,l)}}let{doc:u}=i.state,p=u.lineAt(r),O=i.state.tabSize,f=e.goalColumn,g=0;if(null==f){for(const w=u.iterRange(p.from,r);!w.next().done;)g=countColumn(w.value,g,O);f=g*i.defaultCharacterWidth}else g=Math.round(f/i.defaultCharacterWidth);if(s<0&&0==p.from)return EditorSelection.cursor(0);if(0=g&&!S.next().done;){var{offset:y,leftOver:Q}=findColumn(S.value,v,g,O);v=g-Q,m+=y}return EditorSelection.cursor(m,void 0,void 0,f)}function skipAtoms(e,r,s){for(var t=e.pluginField(PluginField.atomicRanges);;){let n=!1;for(var i of t)i.between(s.from-1,s.from+1,(e,t,i)=>{s.from>e&&s.froms.from?EditorSelection.cursor(e,1):EditorSelection.cursor(t,-1),n=!0)});if(!n)return s}}class InputState{constructor(n){this.lastKeyCode=0,this.lastKeyTime=0,this.pendingIOSKey=null,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionEndedAt=0,this.mouseSelection=null;for(let i in handlers){let t=handlers[i];n.contentDOM.addEventListener(i,e=>{"keydown"==i&&this.keydown(n,e)||eventBelongsToEditor(n,e)&&!this.ignoreDuringComposition(e)&&(this.mustFlushObserver(e)&&n.observer.forceFlush(),this.runCustomHandlers(i,n,e)?e.preventDefault():t(n,e))}),this.registeredEvents.push(i)}this.notifiedFocused=n.hasFocus,this.ensureHandlers(n),browser.safari&&n.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(i){var e;for(e of this.customHandlers=i.pluginField(domEventHandlers))for(let t in e.handlers)this.registeredEvents.indexOf(t)<0&&"scroll"!=t&&(this.registeredEvents.push(t),i.contentDOM.addEventListener(t,e=>{eventBelongsToEditor(i,e)&&this.runCustomHandlers(t,i,e)&&e.preventDefault()}))}runCustomHandlers(i,n,r){for(var s of this.customHandlers){let e=s.handlers[i],t=!1;if(e){try{t=e.call(s.plugin,r,n)}catch(e){logException(n.state,e)}if(t||r.defaultPrevented)return browser.android&&"keydown"==i&&13==r.keyCode&&n.observer.flushSoon(),!0}}return!1}runScrollHandlers(t,i){for(var n of this.customHandlers){let e=n.handlers.scroll;if(e)try{e.call(n.plugin,i,t)}catch(e){logException(t.state,e)}}}keydown(e,t){return this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),!!this.screenKeyEvent(e,t)||!(!browser.ios||13!=t.keyCode&&8!=t.keyCode||t.ctrlKey||t.altKey||t.metaKey||t.synthetic)&&(this.pendingIOSKey=13==t.keyCode?"enter":"backspace",setTimeout(()=>this.flushIOSKey(e),250),!0)}flushIOSKey(e){if(!this.pendingIOSKey)return!1;var t=e.contentDOM,e=this.pendingIOSKey;return this.pendingIOSKey=null,"enter"==e?dispatchKey(t,"Enter",13):dispatchKey(t,"Backspace",8)}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(0=t.clientX&&s.top<=t.clientY&&s.bottom>=t.clientY)return!0}return!1}function eventBelongsToEditor(i,n){if(!n.bubbles)return!0;if(n.defaultPrevented)return!1;for(let e=n.target,t;e!=i.contentDOM;e=e.parentNode)if(!e||11==e.nodeType||(t=ContentView.get(e))&&t.ignoreEvent(n))return!1;return!0}const handlers=Object.create(null),brokenClipboardAPI=browser.ie&&browser.ie_version<15||browser.ios&&browser.webkit_version<604;function capturePaste(t){let i=t.dom.parentNode;if(i){let e=i.appendChild(document.createElement("textarea"));e.style.cssText="position: fixed; left: -10000px; top: 10px",e.focus(),setTimeout(()=>{t.focus(),e.remove(),doPaste(t,e.value)},50)}}function doPaste(e,r){let{state:s}=e,t,a=1,o=s.toText(r),l=o.lines==s.selection.ranges.length;if(lastLinewiseCopy&&s.selection.ranges.every(e=>e.empty)&&lastLinewiseCopy==o.toString()){let n=-1;t=s.changeByRange(e=>{var t=s.doc.lineAt(e.from);if(t.from==n)return{range:e};n=t.from;var i=s.toText((l?o.line(a++).text:r)+s.lineBreak);return{changes:{from:t.from,insert:i},range:EditorSelection.cursor(e.from+i.length)}})}else t=l?s.changeByRange(e=>{var t=o.line(a++);return{changes:{from:e.from,to:e.to,insert:t.text},range:EditorSelection.cursor(e.from+t.length)}}):s.replaceSelection(o);e.dispatch(t,{annotations:Transaction.userEvent.of("paste"),scrollIntoView:!0})}handlers.keydown=(e,t)=>{e.inputState.setSelectionOrigin("keyboardselection")};let lastTouch=0;function rangeForClick(i,n,r,e){if(1==e)return EditorSelection.cursor(n,r);if(2==e)return groupAt(i.state,n,r);{r=LineView.find(i.docView,n),n=i.state.doc.lineAt(r?r.posAtEnd:n);let e=r?r.posAtStart:n.from,t=r?r.posAtEnd:n.to;return t{lastTouch=Date.now(),e.inputState.setSelectionOrigin("pointerselection")},handlers.touchmove=e=>{e.inputState.setSelectionOrigin("pointerselection")},handlers.mousedown=(t,i)=>{if(t.observer.flush(),!(lastTouch>Date.now()-2e3)){let e=null;for(var n of t.state.facet(mouseSelectionStyle))if(e=n(t,i),e)break;e||0!=i.button||(e=basicMouseSelection(t,i)),e&&(t.root.activeElement!=t.contentDOM&&t.observer.ignore(()=>focusPreventScroll(t.contentDOM)),t.inputState.startMouseSelection(t,i,e))}};let insideY=(e,t)=>e>=t.top&&e<=t.bottom,inside=(e,t,i)=>insideY(t,i)&&e>=i.left&&e<=i.right;function findPositionSide(e,t,i,n){let r=LineView.find(e.docView,t);if(!r)return 1;e=t-r.posAtStart;if(0==e)return 1;if(e==r.length)return-1;t=r.coordsAt(e,-1);if(t&&inside(i,n,t))return-1;e=r.coordsAt(e,1);return(!e||!inside(i,n,e))&&t&&insideY(n,t)?-1:1}function queryPos(e,t){var i=e.posAtCoords({x:t.clientX,y:t.clientY});return null==i?null:{pos:i,bias:findPositionSide(e,i,t.clientX,t.clientY)}}const BadMouseDetail=browser.ie&&browser.ie_version<=11;let lastMouseDown=null,lastMouseDownCount=0,lastMouseDownTime=0;function getClickType(e){if(!BadMouseDetail)return e.detail;var t=lastMouseDown,i=lastMouseDownTime;return lastMouseDown=e,lastMouseDownTime=Date.now(),lastMouseDownCount=!t||i>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(lastMouseDownCount+1)%3:1}function basicMouseSelection(a,e){let o=queryPos(a,e),l=getClickType(e),c=a.state.selection,h=o,d=e;return{update(e){e.changes&&(o&&(o.pos=e.changes.mapPos(o.pos)),c=c.map(e.changes))},get(e,t,i){let n;if(e.clientX==d.clientX&&e.clientY==d.clientY?n=h:(n=h=queryPos(a,e),d=e),!n||!o)return c;let r=rangeForClick(a,n.pos,n.bias,l);var s;return o.pos==n.pos||t||(s=rangeForClick(a,o.pos,o.bias,l),e=Math.min(s.from,r.from),s=Math.max(s.to,r.to),r=e{e.remove(),t.focus()},50)}}function copiedRange(t){let i=[],n=[],r=!1;for(var e of t.selection.ranges)e.empty||(i.push(t.sliceDoc(e.from,e.to)),n.push(e));if(!i.length){let e=-1;for(var{from:s}of t.selection.ranges){s=t.doc.lineAt(s);s.number>e&&(i.push(s.text),n.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),e=s.number}r=!0}return{text:i.join(t.lineBreak),ranges:n,linewise:r}}handlers.dragstart=(e,t)=>{var{selection:{main:i}}=e.state;let{mouseSelection:n}=e.inputState;n&&(n.dragging=i),t.dataTransfer&&(t.dataTransfer.setData("Text",e.state.sliceDoc(i.from,i.to)),t.dataTransfer.effectAllowed="copyMove")},handlers.drop=(t,s)=>{if(s.dataTransfer&&t.state.facet(editable)){let r=s.dataTransfer.files;if(r&&r.length){s.preventDefault();let i=Array(r.length),e=0,n=()=>{++e==r.length&&dropText(t,s,i.filter(e=>null!=e).join(t.state.lineBreak),!1)};for(let t=0;t{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(i[t]=e.result),n()},e.readAsText(r[t])}}else dropText(t,s,s.dataTransfer.getData("Text"),!0)}},handlers.paste=(t,i)=>{if(t.state.facet(editable)){t.observer.flush();let e=brokenClipboardAPI?null:i.clipboardData;var n=e&&e.getData("text/plain");n?(doPaste(t,n),i.preventDefault()):capturePaste(t)}};let lastLinewiseCopy=null;function forceClearComposition(e){e.docView.compositionDeco.size&&e.update([])}handlers.copy=handlers.cut=(t,i)=>{var{text:n,ranges:r,linewise:s}=copiedRange(t.state);if(n){lastLinewiseCopy=s?n:null;let e=brokenClipboardAPI?null:i.clipboardData;e?(i.preventDefault(),e.clearData(),e.setData("text/plain",n)):captureCopy(t,n),"cut"==i.type&&t.state.facet(editable)&&t.dispatch({changes:r,scrollIntoView:!0,annotations:Transaction.userEvent.of("cut")})}},handlers.focus=handlers.blur=e=>{setTimeout(()=>{e.hasFocus!=e.inputState.notifiedFocused&&e.update([])},10)},handlers.beforeprint=e=>{e.viewState.printing=!0,e.requestMeasure(),setTimeout(()=>{e.viewState.printing=!1,e.requestMeasure()},2e3)},handlers.compositionstart=handlers.compositionupdate=e=>{e.inputState.composing<0&&(e.docView.compositionDeco.size&&(e.observer.flush(),forceClearComposition(e)),e.inputState.composing=0)},handlers.compositionend=e=>{e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),setTimeout(()=>{e.inputState.composing<0&&forceClearComposition(e)},50)},handlers.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};const wrappingWhiteSpace=["pre-wrap","normal","pre-line"];class HeightOracle{constructor(){this.doc=Text.empty,this.lineWrapping=!1,this.direction=Direction.LTR,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefresh(t,e,i){let n=!1;for(let e=0;eEpsilon&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return HeightMap.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(a,o,l,c){let h=this;for(let s=c.length-1;0<=s;s--){let{fromA:e,toA:t,fromB:i,toB:n}=c[s],r=h.lineAt(e,QueryType.ByPosNoHeight,o,0,0);var d=r.to>=t?r:h.lineAt(t,QueryType.ByPosNoHeight,o,0,0);for(n+=d.to-t,t=d.to;02*r){var a=e[t-1];a.break?e.splice(--t,1,a.left,null,a.right):e.splice(--t,1,a.left,a.right),i+=1+a.break,n-=a.size}else{if(!(r>2*n))break;a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,r-=a.size}else ne&&t.push(new HeightMapGap(r.from-e-1).updateHeight(n,e));i<=s&&r.more;){var a=n.doc.lineAt(i).length;t.length&&t.push(null);let e=new HeightMapText(a,r.heights[r.index++]);e.outdated=!1,t.push(e),i+=a+1}return i<=s&&t.push(null,new HeightMapGap(s-i).updateHeight(n,i)),n.heightChanged=!0,HeightMap.of(t)}return(t||this.outdated)&&(this.setHeight(n,n.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class HeightMapBranch extends HeightMap{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return 1&this.flags}blockAt(e,t,i,n){var r=i+this.left.height;return ea))return l;t=t==QueryType.ByPosNoHeight?QueryType.ByPosNoHeight:QueryType.ByPos;return o?l.join(this.right.lineAt(a,t,i,s,a)):this.left.lineAt(a,t,i,n,r).join(l)}forEachLine(e,t,i,n,r,s){var a,o=n+this.left.height,l=r+this.left.length+this.break;this.break?(e=e&&a.from<=t&&s(a),t>a.to&&this.right.forEachLine(a.to+1,t,i,o,l,s))}replace(e,t,i){var n=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-n,t-n,i));let r=[];0=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){var i=this.left.length,n=i+this.break;if(n<=e)return this.right.decomposeRight(e-n,t);e2*t.size||t.size>2*e.size?HeightMap.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,n){let{left:r,right:s}=this,a=t+r.length+this.break,o=null;return n&&n.from<=t+r.length&&n.more?o=r=r.updateHeight(e,t,i,n):r.updateHeight(e,t,i),n&&n.from<=a+s.length&&n.more?o=s=s.updateHeight(e,a,i,n):s.updateHeight(e,a,i),o?this.balanced(r,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function mergeGaps(e,t){let i,n;null==e[t]&&(i=e[t-1])instanceof HeightMapGap&&(n=e[t+1])instanceof HeightMapGap&&e.splice(t-1,3,new HeightMapGap(i.length+1+n.length))}const relevantWidgetHeight=5;class NodeBuilder{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(-1this.pos||!this.isCovered)&&this.nodes.push(new HeightMapText(e-this.pos,-1)),(this.writtenTo=e)=relevantWidgetHeight)&&this.addLineDeco(n,r)):ee&&this.nodes.push(new HeightMapText(this.pos-e,-1)),this.writtenTo=this.pos)}blankContent(e,t){let i=new HeightMapGap(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();var e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof HeightMapText)return e;e=new HeightMapText(0,-1);return this.nodes.push(e),e}addBlock(e){this.enterLine(),e.type!=BlockType.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=BlockType.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let i=this.ensureLine();i.length+=t,i.collapsed+=t,i.widgetHeight=Math.max(i.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){var t,i=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(-1e.clientHeight||e.scrollWidth>e.clientWidth)&&"visible"!=l.overflow&&(o=e.getBoundingClientRect(),n=Math.max(n,o.left),r=Math.min(r,o.right),s=Math.max(s,o.top),a=Math.min(a,o.bottom)),e="absolute"==l.position||"fixed"==l.position?e.offsetParent:e.parentNode}else{if(11!=e.nodeType)break;e=e.host}return{left:n-i.left,right:r-i.left,top:s-(i.top+e),bottom:a-(i.top+e)}}class LineGap{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(t,i){if(t.length!=i.length)return!1;for(let e=0;ee.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:n}=this.state.selection;for(let e=0;e<=1;e++){let i=e?n.head:n.anchor;var r,s;t.some(({from:e,to:t})=>i>=e&&i<=t)||({from:r,to:s}=this.lineAt(i,0),t.push(new Viewport(r,s)))}this.viewports=t.sort((e,t)=>e.from-t.from),this.scaler=this.heightMap.height<=7e6?IdScaler:new BigScaler(this.heightOracle.doc,this.heightMap,this.viewports)}update(e,t=null){var i=this.state;this.state=e.state;var n=this.state.facet(decorations),r=e.changedRanges,s=ChangedRange.extendWithRanges(r,heightRelevantDecoChanges(e.startState.facet(decorations),n,e?e.changes:ChangeSet.empty(this.state.doc.length))),r=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(n,i.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=r&&(e.flags|=2);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t)),a.eq(this.viewport)||(this.viewport=a,e.flags|=4),this.updateForViewport(),(this.lineGaps.length||15e3this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left,!this.inView)return 0;var l,c=e.measureVisibleLineHeights();let h=!1,d=0,u=0,p=this.heightOracle;return t||(l=e.dom.clientWidth,(p.mustRefresh(c,n,r)||p.lineWrapping&&Math.abs(l-this.contentWidth)>p.charWidth)&&({lineHeight:s,charWidth:t}=e.measureTextSize(),h=p.refresh(n,r,s,t,l/t,c),h&&(e.minWidth=0,u|=16)),this.contentWidth!=l&&(this.contentWidth=l,u|=16),0this.viewport.to))&&((c=this.getViewport(d,this.scrollTo)).from==this.viewport.from&&c.to==this.viewport.to||(this.viewport=c,u|=4)),this.updateForViewport(),(this.lineGaps.length||15e3a.to&&({bottom:t}=i.lineAt(t.head,QueryType.ByPos,n,0,0),a=new Viewport(i.lineAt(t-(s-r)-500,QueryType.ByHeight,n,0,0).from,i.lineAt(t+500,QueryType.ByHeight,n,0,0).to))),a}mapViewport(e,t){var i=t.mapPos(e.from,-1),e=t.mapPos(e.to,1);return new Viewport(this.heightMap.lineAt(i,QueryType.ByPos,this.state.doc,0,0).from,this.heightMap.lineAt(e,QueryType.ByPos,this.state.doc,0,0).to)}viewportIsAppropriate({from:e,to:t},i=0){var{top:n}=this.heightMap.lineAt(e,QueryType.ByPos,this.state.doc,0,0),{bottom:r}=this.heightMap.lineAt(t,QueryType.ByPos,this.state.doc,0,0),{visibleTop:s,visibleBottom:a}=this;return(0==e||n<=s-Math.max(10,Math.min(-i,250)))&&(t==this.state.doc.length||r>=a+Math.max(10,Math.min(i,250)))&&s-2e3{if(!(r.length<1e4)){var s=lineStructure(r.from,r.to,this.state);if(!(s.total<1e4)){let e,t;t=this.heightOracle.lineWrapping?(e=r.from!=this.viewport.from?r.from:findPosition(s,(this.visibleTop-r.top)/r.height),r.to!=this.viewport.to?r.to:findPosition(s,(this.visibleBottom-r.top)/r.height)):(a=s.total*this.heightOracle.charWidth,e=findPosition(s,this.pixelViewport.left/a),findPosition(s,this.pixelViewport.right/a));var a=this.state.selection.main;a.from<=e&&a.to>=r.from&&(e=a.from),a.from<=r.to&&a.to>=t&&(t=a.to);let i=e-1e4,n=t+1e4;i>r.from+5e3&&l.push(find(o,e=>e.from==r.from&&e.to>i-5e3&&e.to<5e3+i)||new LineGap(r.from,i,this.gapSize(r,i,!0,s))),ne.to==r.to&&e.from>n-5e3&&e.frome.draw(this.heightOracle.lineWrapping))),8)}computeVisibleRanges(){let e=this.state.facet(decorations);this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];RangeSet.spans(e,this.viewport.from,this.viewport.to,{span(e,t){i.push({from:e,to:t})},point(){}},20),this.visibleRanges=i}lineAt(e,t){return t+=this.paddingTop,scaleBlock(this.heightMap.lineAt(e,QueryType.ByPos,this.state.doc,t,0),this.scaler,t)}lineAtHeight(e,t){return t+=this.paddingTop,scaleBlock(this.heightMap.lineAt(this.scaler.fromDOM(e,t),QueryType.ByHeight,this.state.doc,t,0),this.scaler,t)}blockAtHeight(e,t){return t+=this.paddingTop,scaleBlock(this.heightMap.blockAt(this.scaler.fromDOM(e,t),this.state.doc,t,0),this.scaler,t)}forEachLine(e,t,i,n){return n+=this.paddingTop,this.heightMap.forEachLine(e,t,this.state.doc,n,0,1==this.scaler.scale?i:e=>i(scaleBlock(e,this.scaler,n)))}get contentHeight(){return this.domHeight+this.paddingTop+this.paddingBottom}get domHeight(){return this.scaler.toDOM(this.heightMap.height,this.paddingTop)}}class Viewport{constructor(e,t){this.from=e,this.to=t}eq(e){return this.from==e.from&&this.to==e.to}}function lineStructure(e,t,i){let n=[],r=e,s=0;return RangeSet.spans(i.facet(decorations),e,t,{span(){},point(e,t){e>r&&(n.push({from:r,to:e}),s+=e-r),r=t}},20),r{var i=s.lineAt(e,QueryType.ByPos,r,0,0).top,n=s.lineAt(t,QueryType.ByPos,r,0,0).bottom;return a+=n-i,{from:e,to:t,top:i,bottom:n,domTop:0,domBottom:0}}),this.scale=(7e6-a)/(s.height-a);for(var n of this.viewports)n.domTop=i+(n.top-t)*this.scale,i=n.domBottom=n.domTop+(n.bottom-n.top),t=n.bottom}toDOM(n,r){n-=r;for(let e=0,t=0,i=0;;e++){var s=escaleBlock(e,t,i)):e.type)}const theme=Facet.define({combine:e=>e.join(" ")}),darkTheme=Facet.define({combine:e=>-1{if("&"==e)return t;if(!i||!i[e])throw new RangeError(`Unsupported selector: ${e}`);return i[e]}):t+" "+e}})}const baseTheme$2=buildTheme("."+baseThemeID,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none"},".cm-lineWrapping":{whiteSpace:"pre-wrap",overflowWrap:"anywhere"},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},".cm-cursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none",display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-placeholder":{color:"#888",display:"inline-block"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"3px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},lightDarkIDs),observeOptions={childList:!0,characterData:!0,subtree:!0,characterDataOldValue:!0},useCharData=browser.ie&&browser.ie_version<=11;class DOMObserver{constructor(i,e,t){this.view=i,this.onChange=e,this.onScrollChanged=t,this.active=!1,this.ignoreSelection=new DOMSelection,this.delayedFlush=-1,this.queue=[],this.lastFlush=0,this.scrollTargets=[],this.intersection=null,this.intersecting=!1,this._selectionRange=null,this.parentCheck=-1,this.dom=i.contentDOM,this.observer=new MutationObserver(e=>{for(var t of e)this.queue.push(t);this._selectionRange=null,(browser.ie&&browser.ie_version<=11||browser.ios&&i.composing)&&e.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),useCharData&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.start(),this.onScroll=this.onScroll.bind(this),window.addEventListener("scroll",this.onScroll),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),0{this.delayedFlush=-1,this.flush()},20))}forceFlush(){0<=this.delayedFlush&&(window.clearTimeout(this.delayedFlush),this.delayedFlush=-1,this.flush())}flush(){if(!(0<=this.delayedFlush)){this.lastFlush=Date.now();let n=this.queue;for(var e of this.observer.takeRecords())n.push(e);n.length&&(this.queue=[]);var r=this.selectionRange,s=!this.ignoreSelection.eq(r)&&hasSelection(this.dom,r);if(0!=n.length||s){let e=-1,t=-1,i=!1;for(var a of n){a=this.readMutation(a);a&&(a.typeOver&&(i=!0),-1==e?{from:e,to:t}=a:(e=Math.min(a.from,e),t=Math.max(a.to,t)))}r=this.view.state;(-1this.view.docView.sync()),this.view.docView.dirty=0),this.view.docView.updateSelection()),this.clearSelection()}}}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(),"childList"!=e.type)return{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue};var i=findChild(t,e.previousSibling||e.target.previousSibling,-1),e=findChild(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:e?t.posBefore(e):t.posAtEnd,typeOver:!1}}destroy(){this.stop(),this.intersection&&this.intersection.disconnect();for(var e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);window.removeEventListener("scroll",this.onScroll),clearTimeout(this.parentCheck)}}function findChild(e,t,i){for(;t;){var n=ContentView.get(t);if(n&&n.parent==e)return n;n=t.parentNode;t=n!=e.dom?n:0Date.now()-100||browser.android&&e.text.length=o.from&&s.to<=o.to&&(s.from!=o.from||s.to!=o.to)&&o.to-o.from-(s.to-s.from)<=4&&(s={from:o.from,to:o.to,insert:n.state.doc.slice(o.from,s.from).append(s.insert).append(n.state.doc.slice(s.to,o.to))}),s){let i=n.state;if(!(browser.android&&(s.from==o.from&&s.to==o.to&&1==s.insert.length&&2==s.insert.lines&&dispatchKey(n.contentDOM,"Enter",13)||s.from==o.from-1&&s.to==o.to&&0==s.insert.length&&dispatchKey(n.contentDOM,"Backspace",8)||s.from==o.from&&s.to==o.to+1&&0==s.insert.length&&dispatchKey(n.contentDOM,"Delete",46))||browser.ios&&n.inputState.flushIOSKey(n))){let t=s.insert.toString();if(!n.state.facet(inputHandler).some(e=>e(n,s.from,s.to,t))){0<=n.inputState.composing&&n.inputState.composing++;let e;var u;e=s.from>=o.from&&s.to<=o.to&&s.to-s.from>=(o.to-o.from)/3&&(!a||a.main.empty&&a.main.from==s.from+s.insert.length)?(r=o.froms.to?i.sliceDoc(s.to,o.to):"",i.replaceSelection(n.state.toText(r+s.insert.sliceString(0,void 0,n.state.lineBreak)+u))):{changes:u=i.changes(s),selection:a&&!i.selection.main.eq(a.main)&&a.main.to<=u.newLength?i.selection.replaceRange(a.main):void 0},n.dispatch(e,{scrollIntoView:!0,annotations:Transaction.userEvent.of("input")})}}}else if(a&&!a.main.eq(o)){let e=!1,t;n.inputState.lastSelectionTime>Date.now()-50&&("keyboardselection"==n.inputState.lastSelectionOrigin?e=!0:t=Transaction.userEvent.of(n.inputState.lastSelectionOrigin)),n.dispatch({selection:a,scrollIntoView:e,annotations:t})}}function findDiff(e,t,i,n){var r,s=Math.min(e.length,t.length);let a=0;for(;a=o?a-i:0,a-=r,l=a+(l-o),o=a):l=l?a-i:0,a-=i,o=a+(o-l),l=a),{from:a,toA:o,toB:l}}class DOMReader{constructor(e,t){this.points=e,this.view=t,this.text="",this.lineBreak=t.state.lineBreak}readRange(t,i){if(t){var n=t.parentNode;for(let e=t;;){this.findPointBefore(n,e),this.readNode(e);var r=e.nextSibling;if(r==i)break;var s=ContentView.get(e),a=ContentView.get(r);((s?s.breakAfter:isBlockElement(e))||(a?a.breakAfter:isBlockElement(r))&&("BR"!=e.nodeName||e.cmIgnore))&&(this.text+=this.lineBreak),e=r}this.findPointBefore(n,i)}}readNode(i){if(!i.cmIgnore){var n=ContentView.get(i);let e=n&&n.overrideDOMText,t;null!=e?t=e.sliceString(0,void 0,this.lineBreak):3==i.nodeType?t=i.nodeValue:"BR"==i.nodeName?t=i.nextSibling?this.lineBreak:"":1==i.nodeType&&this.readRange(i.firstChild,null),null!=t&&(this.findPointIn(i,t.length),this.text+=t,browser.chrome&&13==this.view.inputState.lastKeyCode&&!i.nextSibling&&/\n\n$/.test(this.text)&&(this.text=this.text.slice(0,-1)))}}findPointBefore(e,t){for(var i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointIn(e,t){for(var i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t))}}function isBlockElement(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}class DOMPoint{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}function selectionPoints(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;var{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:e}=e.observer.selectionRange;return i&&(t.push(new DOMPoint(i,n)),r==i&&e==n||t.push(new DOMPoint(r,e))),t}function selectionFromPoints(e,t){if(0==e.length)return null;var i=e[0].pos,e=2==e.length?e[1].pos:i;return-1this.update([e])),this.dispatch=this.dispatch.bind(this),this.root=e.root||document,this.viewState=new ViewState(e.state||EditorState.create()),this.plugins=this.state.facet(viewPlugin).map(e=>new PluginInstance(e).update(this)),this.observer=new DOMObserver(this,(e,t,i)=>{applyDOMChange(this,e,t,i)},e=>{this.inputState.runScrollHandlers(this,e),this.observer.intersecting&&this.measure()}),this.inputState=new InputState(this),this.docView=new DocView(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,ensureGlobalHandler(),this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return 0e.scrollIntoView)?n.selection.main:null,this.viewState.update(i,s),this.bidiCache=CachedOrder.update(this.bidiCache,i.changes),i.empty||this.updatePlugins(i),t=this.docView.update(i),this.state.facet(styleModule)!=this.styleModules&&this.mountStyles(),this.updateAttrs(),this.showAnnouncements(e)}finally{this.updateState=0}if((t||s||this.viewState.mustEnforceCursorAssoc)&&this.requestMeasure(),!i.empty)for(var a of this.state.facet(updateListener))a(i)}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");this.updateState=2;try{for(var t of this.plugins)t.destroy(this);this.viewState=new ViewState(e),this.plugins=e.facet(viewPlugin).map(e=>new PluginInstance(e).update(this)),this.docView=new DocView(this),this.inputState.ensureHandlers(this),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}this.requestMeasure()}updatePlugins(i){let e=i.startState.facet(viewPlugin),n=i.state.facet(viewPlugin);if(e!=n){let t=[];for(var r of n){var s=e.indexOf(r);if(s<0)t.push(new PluginInstance(r));else{let e=this.plugins[s];e.mustUpdate=i,t.push(e)}}for(var a of this.plugins)a.mustUpdate!=i&&a.destroy(this);this.plugins=t,this.inputState.ensureHandlers(this)}else for(var t of this.plugins)t.mustUpdate=i;for(let e=0;e{try{return e.read(this)}catch(e){return logException(this.state,e),BadMeasure}});let e=new ViewUpdate(this,this.state);e.flags|=r,n?n.flags|=r:n=e,this.updateState=2,e.empty||this.updatePlugins(e),this.updateAttrs(),r&&this.docView.update(e);for(let e=0;ethis.measure())),t){if(null!=t.key)for(let e=0;ebyGroup(this,t.head,e)))}moveToLineBoundary(e,t,i=!0){return moveToLineBoundary(this,e,t,i)}moveVertically(e,t,i){return skipAtoms(this,e,moveVertically(this,e,t,i))}scrollPosIntoView(e){this.viewState.scrollTo=EditorSelection.cursor(e),this.requestMeasure()}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e){return this.readMeasured(),posAtCoords(this,e)}coordsAtPos(e,t=1){this.readMeasured();var i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;var n=this.state.doc.lineAt(e),r=this.bidiSpans(n);return flattenRect(i,r[BidiSpan.find(r,e-n.from,-1,t)].dir==Direction.LTR==0MaxBidiLine)return trivialOrder(e.length);var t,i=this.textDirection;for(t of this.bidiCache)if(t.from==e.from&&t.dir==i)return t.order;var n=computeOrder(e.text,this.textDirection);return this.bidiCache.push(new CachedOrder(e.from,e.to,i,n)),n}get hasFocus(){var e;return(document.hasFocus()||browser.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{focusPreventScroll(this.contentDOM),this.docView.updateSelection()})}destroy(){for(var e of this.plugins)e.destroy(this);this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),-1({}),{eventHandlers:e})}static theme(e,t){var i=StyleModule.newName();let n=[theme.of(i),styleModule.of(buildTheme(`.${i}`,e))];return t&&t.dark&&n.push(darkTheme.of(!0)),n}static baseTheme(e){return Prec.fallback(styleModule.of(buildTheme("."+baseThemeID,e,lightDarkIDs)))}}EditorView.styleModule=styleModule,EditorView.inputHandler=inputHandler,EditorView.exceptionSink=exceptionSink,EditorView.updateListener=updateListener,EditorView.editable=editable,EditorView.mouseSelectionStyle=mouseSelectionStyle,EditorView.dragMovesSelection=dragMovesSelection$1,EditorView.clickAddsSelectionRange=clickAddsSelectionRange,EditorView.decorations=decorations,EditorView.contentAttributes=contentAttributes,EditorView.editorAttributes=editorAttributes,EditorView.lineWrapping=EditorView.contentAttributes.of({class:"cm-lineWrapping"}),EditorView.announce=StateEffect.define();const MaxBidiLine=4096;function ensureTop(e,t){return null==e?t.getBoundingClientRect().top:e}let resizeDebounce=-1;function ensureGlobalHandler(){window.addEventListener("resize",()=>{-1==resizeDebounce&&(resizeDebounce=setTimeout(handleResize,50))})}function handleResize(){resizeDebounce=-1;var i=document.querySelectorAll(".cm-content");for(let t=0;te.concat(t),[]))),i}let storedPrefix=null;const PrefixTimeout=4e3;function buildKeymap(e,o=currentPlatform){let l=Object.create(null),n=Object.create(null),c=(e,t)=>{var i=n[e];if(null==i)n[e]=t;else if(i!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")};var t,i=(n,e,t,i)=>{let r=l[n]||(l[n]=Object.create(null)),s=e.split(/ (?!$)/).map(e=>normalizeKeyName(e,o));for(let e=1;e{let t=storedPrefix={view:e,prefix:i,scope:n};return setTimeout(()=>{storedPrefix==t&&(storedPrefix=null)},PrefixTimeout),!0}]})}e=s.join(" ");c(e,!1);let a=r[e]||(r[e]={preventDefault:!1,commands:[]});a.commands.push(t),i&&(a.preventDefault=!0)};for(t of e){var r=t[o]||t.key;if(r)for(var s of t.scope?t.scope.split(" "):["editor"])i(s,r,t.run,t.preventDefault),t.shift&&i(s,"Shift-"+r,t.shift,t.preventDefault)}return l}function runHandlers(e,t,i,n){var r=keyName(t),s=1==r.length&&" "!=r;let a="",o=!1;storedPrefix&&storedPrefix.view==i&&storedPrefix.scope==n&&(a=storedPrefix.prefix+" ",(o=modifierCodes.indexOf(t.keyCode)<0)&&(storedPrefix=null));var l=e=>{if(e){for(var t of e.commands)if(t(i))return!0;e.preventDefault&&(o=!0)}return!1};let c=e[n],h;if(c){if(l(c[a+modifiers(r,t,!s)]))return!0;if(s&&(t.shiftKey||t.altKey||t.metaKey)&&(h=base[t.keyCode])&&h!=r){if(l(c[a+modifiers(h,t,!0)]))return!0}else if(s&&t.shiftKey&&l(c[a+modifiers(r,t,!0)]))return!0}return o}const CanHidePrimary=!browser.ios,themeSpec={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};function highlightActiveLine(){return activeLineHighlighter}CanHidePrimary&&(themeSpec[".cm-line"].caretColor="transparent !important");const lineDeco=Decoration.line({attributes:{class:"cm-activeLine"}}),activeLineHighlighter=ViewPlugin.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,i=[];for(var n of e.state.selection.ranges){if(!n.empty)return Decoration.none;n=e.visualLineAt(n.head);n.from>t&&(i.push(lineDeco.range(n.from)),t=n.from)}return Decoration.set(i)}},{decorations:e=>e.decorations}),DefaultBufferLength=1024;let nextPropID=0;const CachedNode=new WeakMap;class NodeProp{constructor({deserialize:e}={}){this.id=nextPropID++,this.deserialize=e||(()=>{throw new Error("This node type doesn't define a deserialize function")})}static string(){return new NodeProp({deserialize:e=>e})}static number(){return new NodeProp({deserialize:Number})}static flag(){return new NodeProp({deserialize:()=>!0})}set(e,t){return e[this.id]=t,e}add(t){return"function"!=typeof t&&(t=NodeType.match(t)),e=>{e=t(e);return void 0===e?null:[this,e]}}}NodeProp.closedBy=new NodeProp({deserialize:e=>e.split(" ")}),NodeProp.openedBy=new NodeProp({deserialize:e=>e.split(" ")}),NodeProp.group=new NodeProp({deserialize:e=>e.split(" ")});const noProps=Object.create(null);class NodeType{constructor(e,t,i,n=0){this.name=e,this.props=t,this.id=i,this.flags=n}static define(e){var t=e.props&&e.props.length?Object.create(null):noProps,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),n=new NodeType(e.name||"",t,e.id,i);if(e.props)for(var r of e.props)Array.isArray(r)||(r=r(n)),r&&r[0].set(t,r[1]);return n}prop(e){return this.props[e.id]}get isTop(){return 0<(1&this.flags)}get isSkipped(){return 0<(2&this.flags)}get isError(){return 0<(4&this.flags)}get isAnonymous(){return 0<(8&this.flags)}is(t){if("string"!=typeof t)return this.id==t;{if(this.name==t)return!0;let e=this.prop(NodeProp.group);return!!e&&-1{for(let e=i.prop(NodeProp.group),t=-1;t<(e?e.length:0);t++){var n=r[t<0?i.name:e[t]];if(n)return n}}}}NodeType.none=new NodeType("",Object.create(null),0,8);class NodeSet{constructor(t){this.types=t;for(let e=0;ee.toString()).join();return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(e.length?"("+e+")":""):e}cursor(e,t=0){var i=null!=e&&CachedNode.get(this)||this.topNode;let n=new TreeCursor(i);return null!=e&&(n.moveTo(e,t),CachedNode.set(this,n._tree)),n}fullCursor(){return new TreeCursor(this.topNode,!0)}get topNode(){return new TreeNode(this,0,0,null)}resolve(e,t=0){return this.cursor(e,t).node}iterate(e){let{enter:i,leave:n,from:r=0,to:s=this.length}=e;for(let t=this.cursor();;){let e=!1;if(t.from<=s&&t.to>=r&&(t.type.isAnonymous||!1!==i(t.type,t.from,t.to))){if(t.firstChild())continue;t.type.isAnonymous||(e=!0)}for(;e&&n&&n(t.type,t.from,t.to),e=t.type.isAnonymous,!t.nextSibling();){if(!t.parent())return;e=!0}}}balance(e=DefaultBufferLength){return this.children.length<=BalanceBranchFactor?this:balanceRange(this.type,NodeType.none,this.children,this.positions,0,this.children.length,0,e,this.length,0)}static build(e){return buildTree(e)}}function withHash(e,t){return t&&(e.contextHash=t),e}Tree.empty=new Tree(NodeType.none,[],[],0);class TreeBuffer{constructor(e,t,i,n=NodeType.none){this.buffer=e,this.length=t,this.set=i,this.type=n}toString(){let t=[];for(let e=0;e=e:this.from>e)||(-1=e:this.from>e)||(-1!e.type.isAnonymous||e instanceof TreeBuffer||hasChild(e))}class FlatBufferCursor{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new FlatBufferCursor(this.buffer,this.index)}}const BalanceBranchFactor=8;function buildTree(e){let{buffer:t,nodeSet:g,topID:i=0,maxBufferLength:m=DefaultBufferLength,reused:v=[],minRepeatType:y=g.types.length}=e,Q=Array.isArray(t)?new FlatBufferCursor(t,t.length):t,w=g.types,S=0;function $(i,e,t,n,r){var{id:s,start:a,end:o,size:l}=Q;let c=a-i;if(l<0)return-1==l?(t.push(v[s]),n.push(c)):S=s,void Q.next();let h=w[s],d,u;if(o-a<=m&&(u=function(e,t){let i=Q.fork(),n=0,r=0,s=0,a=i.end-m,o={size:0,start:0,skip:0};e:for(var l=i.pos-e;i.pos>l;)if(i.id!=t){var c=i.size,h=i.pos-c;if(c<0||h=y?4:0;var d=i.start;for(i.next();i.pos>h;){if(i.size<0)break e;i.id>=y&&(e+=4),i.next()}r=d,n+=c,s+=e}else o.size=n,o.start=r,o.skip=s,s+=4,n+=4,i.next();(t<0||n==e)&&(o.size=n,o.start=r,o.skip=s);return 4e;)t=function t(i,n,r,s){let{id:e,start:a,end:o,size:l}=Q;Q.next();if(e==s)return r;let c=r;if(4e;)r=t(i,n,r,s)}e=y?s:-1;Q.pos>O;)Q.id==f?Q.next():$(a,O,e,t,f);e.reverse(),t.reverse(),d=-1BalanceBranchFactor?balanceRange(h,h,e,t,0,e.length,0,m,o-a,S):withHash(new Tree(h,e,t,o-a),S)}t.push(d),n.push(c)}let n=[],r=[];for(;0u<<1){for(let e=0;e=i)for(;s&&s.from=e.from||u<=e.to||l)&&(c=Math.max(e.from,o)-l,h=Math.min(e.to,u)-l,e=h<=c?null:new TreeFragment(c,h,e.tree,e.offset+l,(0u)break;s=re.length&&n.push(r);return n}}function stringInput(e){return new StringInput(e)}class StringInput{constructor(e,t=e.length){this.string=e,this.length=t}get(e){return e<0||e>=this.length?-1:this.string.charCodeAt(e)}lineAfter(e){if(e<0)return"";var t=this.string.indexOf("\n",e);return this.string.slice(e,t<0?this.length:Math.min(t,this.length))}read(e,t){return this.string.slice(e,Math.min(this.length,t))}clip(e){return new StringInput(this.string,e)}}const languageDataProp=new NodeProp;function defineLanguageFacet(t){return Facet.define({combine:t?e=>e.concat(t):void 0})}class Language{constructor(e,t,i,n=[]){this.data=e,this.topNode=i,EditorState.prototype.hasOwnProperty("tree")||Object.defineProperty(EditorState.prototype,"tree",{get(){return syntaxTree(this)}}),this.parser=t,this.extension=[language.of(this),EditorState.languageData.of((e,t)=>e.facet(languageDataFacetAt(e,t)))].concat(n)}isActiveAt(e,t){return languageDataFacetAt(e,t)==this.data}findRegions(e){var t=e.facet(language);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[];return syntaxTree(e).iterate({enter:(e,t,i)=>{if(e.isTop&&e.prop(languageDataProp)==this.data)return n.push({from:t,to:i}),!1}}),n}get allowsNesting(){return!0}parseString(e){var t=Text.of(e.split("\n"));let i=this.parser.startParse(new DocInput(t),0,new EditorParseContext(this.parser,EditorState.create({doc:t}),[],Tree.empty,{from:0,to:e.length},[],null)),n;for(;!(n=i.advance()););return n}}function languageDataFacetAt(e,t){var i=e.facet(language);if(!i)return null;if(!i.allowsNesting)return i.data;let n=syntaxTree(e),r=n.resolve(t,-1);for(;r;){var s=r.type.prop(languageDataProp);if(s)return s;r=r.parent}return i.data}Language.setState=StateEffect.define();class LezerLanguage extends Language{constructor(e,t){super(e,t,t.topNode),this.parser=t}static define(e){let t=defineLanguageFacet(e.languageData);return new LezerLanguage(t,e.parser.configure({props:[languageDataProp.add(e=>e.isTop?t:void 0)]}))}configure(e){return new LezerLanguage(this.data,this.parser.configure(e))}get allowsNesting(){return this.parser.hasNested}}function syntaxTree(e){e=e.field(Language.state,!1);return e?e.tree:Tree.empty}class DocInput{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.prevString="",this.cursor=e.iter()}syncTo(e){return e=this.length)return-1;let t=this.cursorPos-this.string.length;if(e=this.cursorPos){if(e=t-this.prevString.length)return this.prevString.charCodeAt(e-(t-this.prevString.length));t=this.syncTo(e)}return this.string.charCodeAt(e-t)}lineAfter(e){if(e>=this.length||e<0)return"";let t=this.cursorPos-this.string.length;return(e=this.cursorPos)&&(t=this.syncTo(e)),this.cursor.lineBreak?"":this.string.slice(e-t,Math.min(this.length-t,this.string.length))}read(e,t){var i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}clip(e){return new DocInput(this.doc,e)}}class EditorParseContext{constructor(e,t,i=[],n,r,s,a){this.parser=e,this.state=t,this.fragments=i,this.tree=n,this.viewport=r,this.skipped=s,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}work(e,t){if(this.tree!=Tree.empty&&(null==t?this.tree.length==this.state.doc.length:this.tree.length>=t))return this.takeTree(),!0;this.parse||(this.parse=this.parser.startParse(new DocInput(this.state.doc),0,this));for(var i=Date.now()+e;;){var n=this.parse.advance();if(n)return this.fragments=this.withoutTempSkipped(TreeFragment.addTree(n)),this.parse=null,this.tree=n,!0;if(null!=t&&this.parse.pos>=t)return this.takeTree(),!0;if(Date.now()>i)return!1}}takeTree(){this.parse&&this.parse.pos>this.tree.length&&(this.tree=this.parse.forceFinish(),this.fragments=this.withoutTempSkipped(TreeFragment.addTree(this.tree,this.fragments,!0)))}withoutTempSkipped(e){for(var t;t=this.tempSkipped.pop();)e=cutFragments(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:n,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let r=[];if(e.iterChangedRanges((e,t,i,n)=>r.push({fromA:e,toA:t,fromB:i,toB:n})),i=TreeFragment.applyChanges(i,r),n=Tree.empty,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(var o of this.skipped){var l=e.mapPos(o.from,1),o=e.mapPos(o.to,-1);lt.from&&(this.fragments=cutFragments(this.fragments,i,n),this.skipped.splice(e--,1))}return this.skipped.length=e}}function cutFragments(e,t,i){return TreeFragment.applyChanges(e,[{fromA:t,toA:i,fromB:t,toB:i}])}EditorParseContext.skippingParser=EditorParseContext.getSkippingParser();class LanguageState{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged)return this;let t=this.context.changes(e.changes,e.state);e=this.context.tree.length==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.tree.length),t.viewport.to);return t.work(25,e)||t.takeTree(),new LanguageState(t)}static init(e){let t=new EditorParseContext(e.facet(language).parser,e,[],Tree.empty,{from:0,to:e.doc.length},[],null);return t.work(25)||t.takeTree(),new LanguageState(t)}}Language.state=StateField.define({create:LanguageState.init,update(e,t){for(var i of t.effects)if(i.is(Language.setState))return i.value;return t.startState.facet(language)!=t.state.facet(language)?LanguageState.init(t.state):e.apply(t)}});let requestIdle="undefined"!=typeof window&&window.requestIdleCallback||((e,{timeout:t})=>setTimeout(e,t)),cancelIdle="undefined"!=typeof window&&window.cancelIdleCallback||clearTimeout;const parseWorker=ViewPlugin.fromClass(class{constructor(e){this.view=e,this.working=-1,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Language.state).context;e.viewportChanged&&(t.updateViewport(e.view.viewport)&&t.reset(),this.view.viewport.to>t.tree.length&&this.scheduleWork()),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(i=!1){if(!(-1=e.doc.length||(this.working=requestIdle(this.work,{timeout:500}))}}work(n){this.working=-1;var r=Date.now();if(this.chunkEnd=t+1e6||(n=Math.min(this.chunkBudget,n?Math.max(25,n.timeRemaining()):100),n=i.context.work(n,t+1e6),this.chunkBudget-=Date.now()-r,(n||this.chunkBudget<=0||i.context.movedPast(t))&&(i.context.takeTree(),this.view.dispatch({effects:Language.setState.of(new LanguageState(i.context))})),!n&&0this.scheduleWork(!0)),e.scheduleOn=null)}destroy(){0<=this.working&&cancelIdle(this.working)}},{eventHandlers:{focus(){this.scheduleWork()}}}),language=Facet.define({combine(e){return e.length?e[0]:null},enables:[Language.state,parseWorker]});class LanguageSupport{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class LanguageDescription{constructor(e,t,i,n,r){this.name=e,this.alias=t,this.extensions=i,this.filename=n,this.loadFunc=r,this.support=void 0,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){return new LanguageDescription(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,e.load)}static matchFilename(e,t){for(var i of e)if(i.filename&&i.filename.test(t))return i;var n=/\.([^.]+)$/.exec(t);if(n)for(var r of e)if(-1e==t))return n;if(i)for(var r of e)for(var s of r.alias){var a=t.indexOf(s);if(-1{if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function getIndentUnit(e){let t=e.facet(indentUnit);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function indentString(e,t){let i="",n=e.tabSize;if(9==e.facet(indentUnit).charCodeAt(0))for(;n<=t;)i+="\t",t-=n;for(let e=0;edelimitedStrategy(e,!0,1,void 0,i&&!ignoreClosed(e)?t.from:void 0)}return null==e.parent?topIndent:null}function indentFrom(t,i,n){for(;t;t=t.parent){let e=indentStrategy(t);if(e)return e(new TreeIndentContext(n,i,t))}return null}function topIndent(){return 0}class TreeIndentContext extends IndentContext{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.node=i}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let t=this.state.doc.lineAt(this.node.from);for(;;){let e=this.node.resolve(t.from);for(;e.parent&&e.parent.from==e.from;)e=e.parent;if(isParent(e,this.node))break;t=this.state.doc.lineAt(e.from)}return this.lineIndent(t)}continue(){var e=this.node.parent;return e?indentFrom(e,this.pos,this.base):0}}function isParent(t,i){for(let e=i;e;e=e.parent)if(t==e)return!0;return!1}function bracketedAligned(e){let t=e.node;var i=t.childAfter(t.from),n=t.lastChild;if(!i)return null;var r=null===(r=e.options)||void 0===r?void 0:r.simulateBreak,e=e.state.doc.lineAt(i.from),s=null==r||r<=e.from?e.to:Math.min(e.to,r);for(let e=i.to;;){var a=t.childAfter(e);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromdelimitedStrategy(e,i,n,t)}function delimitedStrategy(e,t,i,n,r){let s=e.textAfter,a=s.match(/^\s*/)[0].length;r=n&&s.slice(a,a+n.length)==n||r==e.pos+a,t=t?bracketedAligned(e):null;return t?r?e.column(t.from):e.column(t.to):e.baseIndent+(r?0:e.unit*i)}const flatIndent=e=>e.baseIndent;function continuedIndent({except:i,units:n=1}={}){return e=>{var t=i&&i.test(e.textAfter);return e.baseIndent+(t?0:n*e.unit)}}Facet.define();const foldNodeProp=new NodeProp;function foldInside(e){var t=e.firstChild,i=e.lastChild;return t&&t.toEditorView.decorations.from(e)}),bracketMatchingUnique=[bracketMatchingState,baseTheme$1];function bracketMatching(e={}){return[bracketMatchingConfig.of(e),bracketMatchingUnique]}function matchingNodes(e,t,i){var n=e.prop(t<0?NodeProp.openedBy:NodeProp.closedBy);if(n)return n;if(1==e.name.length){e=i.indexOf(e.name);if(-1=n.to){if(0==l&&-1>1==l>>1};d--}}0"},closeBracketEffect=StateEffect.define({map(e,t){e=t.mapPos(e,-1,MapMode.TrackAfter);return null==e?void 0:e}}),skipBracketEffect=StateEffect.define({map(e,t){return t.mapPos(e)}}),closedBracket=new class extends RangeValue{};closedBracket.startSide=1,closedBracket.endSide=-1;const bracketState=StateField.define({create(){return RangeSet.empty},update(e,i){var t,n;i.selection&&(t=i.state.doc.lineAt(i.selection.main.head).from,n=i.startState.doc.lineAt(i.startState.selection.main.head).from,t!=i.changes.mapPos(n,-1)&&(e=RangeSet.empty)),e=e.map(i.changes);for(let t of i.effects)t.is(closeBracketEffect)?e=e.update({add:[closedBracket.range(t.value,t.value+1)]}):t.is(skipBracketEffect)&&(e=e.update({filter:e=>e!=t.value}));return e}});function closeBrackets(){return[EditorView.inputHandler.of(handleInput),bracketState]}const definedClosing="()[]{}<>";function closing(t){for(let e=0;e{let r=config(n,n.selection.main.head).brackets||defaults.brackets,s=null,t=n.changeByRange(e=>{if(e.empty){var t,i=prevChar(n.doc,e.head);for(t of r)if(t==i&&nextChar(n.doc,e.head)==closing(codePointAt(t,0)))return{changes:{from:e.head-t.length,to:e.head+t.length},range:EditorSelection.cursor(e.head-t.length),annotations:Transaction.userEvent.of("delete")}}return{range:s=e}});return s||e(n.update(t,{scrollIntoView:!0})),!s},closeBracketsKeymap=[{key:"Backspace",run:deleteBracketPair}];function insertBracket(e,t){var i,n=config(e,e.selection.main.head);let r=n.brackets||defaults.brackets;for(i of r){var s=closing(codePointAt(i,0));if(t==i)return s==i?handleSame(e,i,-1{e==t&&(i=!0)}),i}function nextChar(e,t){let i=e.sliceString(t,t+2);return i.slice(0,codePointSize(codePointAt(i,0)))}function prevChar(e,t){let i=e.sliceString(t-2,t);return codePointSize(codePointAt(i,0))==i.length?i:i.slice(1)}function handleOpen(i,n,r,s){let a=null,e=i.changeByRange(e=>{if(!e.empty)return{changes:[{insert:n,from:e.from},{insert:r,from:e.to}],effects:closeBracketEffect.of(e.to+n.length),range:EditorSelection.range(e.anchor+n.length,e.head+n.length)};var t=nextChar(i.doc,e.head);return!t||/\s/.test(t)||-1e.empty&&nextChar(t.doc,e.head)==i?EditorSelection.cursor(e.head+i.length):n=e);return n?null:t.update({selection:EditorSelection.create(r,t.selection.mainIndex),scrollIntoView:!0,effects:t.selection.ranges.map(({from:e})=>skipBracketEffect.of(e))})}function handleSame(r,s,a){let o=null,e=r.changeByRange(e=>{if(!e.empty)return{changes:[{insert:s,from:e.from},{insert:s,from:e.to}],effects:closeBracketEffect.of(e.to+s.length),range:EditorSelection.range(e.anchor+s.length,e.head+s.length)};var t=e.head,i=nextChar(r.doc,t);if(i==s){if(nodeStart$1(r,t))return{changes:{insert:s+s,from:t},effects:closeBracketEffect.of(t+s.length),range:EditorSelection.cursor(t+s.length)};if(closedBracketAt(r,t)){var n=a&&r.sliceDoc(t,t+3*s.length)==s+s+s;return{range:EditorSelection.cursor(t+s.length*(n?3:1)),effects:skipBracketEffect.of(t)}}}else{if(a&&r.sliceDoc(t-2*s.length,t)==s+s&&nodeStart$1(r,t-2*s.length))return{changes:{insert:s+s+s+s,from:t},effects:closeBracketEffect.of(t+s.length),range:EditorSelection.cursor(t+s.length)};if(r.charCategorizer(t)(i)!=CharCategory.Word){i=r.sliceDoc(t-1,t);if(i!=s&&r.charCategorizer(t)(i)!=CharCategory.Word)return{changes:{insert:s+s,from:t},effects:closeBracketEffect.of(t+s.length),range:EditorSelection.cursor(t+s.length)}}}return{range:o=e}});return o?null:r.update(e,{scrollIntoView:!0,annotations:Transaction.userEvent.of("input")})}function nodeStart$1(e,t){e=syntaxTree(e).resolve(t+1);return e.parent&&e.from==t}function updateSel(e,t){return EditorSelection.create(e.ranges.map(t),e.mainIndex)}function setSel(e,t){return e.update({selection:t,scrollIntoView:!0,annotations:Transaction.userEvent.of("keyboardselection")})}function moveSel({state:e,dispatch:t},i){let n=updateSel(e.selection,i);return!n.eq(e.selection)&&(t(setSel(e,n)),!0)}function rangeEnd(e,t){return EditorSelection.cursor(t?e.to:e.from)}function cursorByChar(t,i){return moveSel(t,e=>e.empty?t.moveByChar(e,i):rangeEnd(e,i))}const cursorCharLeft=e=>cursorByChar(e,e.textDirection!=Direction.LTR),cursorCharRight=e=>cursorByChar(e,e.textDirection==Direction.LTR);function cursorByGroup(t,i){return moveSel(t,e=>e.empty?t.moveByGroup(e,i):rangeEnd(e,i))}const cursorGroupLeft=e=>cursorByGroup(e,e.textDirection!=Direction.LTR),cursorGroupRight=e=>cursorByGroup(e,e.textDirection==Direction.LTR),cursorGroupForward=e=>cursorByGroup(e,!0),cursorGroupBackward=e=>cursorByGroup(e,!1);function interestingNode(e,t,i){if(t.type.prop(i))return!0;i=t.to-t.from;return i&&(2moveSel(t,e=>moveBySyntax(t.state,e,t.textDirection!=Direction.LTR)),cursorSyntaxRight=t=>moveSel(t,e=>moveBySyntax(t.state,e,t.textDirection==Direction.LTR));function cursorByLine(t,i){return moveSel(t,e=>e.empty?t.moveVertically(e,i):rangeEnd(e,i))}const cursorLineUp=e=>cursorByLine(e,!1),cursorLineDown=e=>cursorByLine(e,!0);function cursorByPage(t,i){return moveSel(t,e=>e.empty?t.moveVertically(e,i,t.dom.clientHeight):rangeEnd(e,i))}const cursorPageUp=e=>cursorByPage(e,!1),cursorPageDown=e=>cursorByPage(e,!0);function moveByLineBoundary(e,t,i){let n=e.visualLineAt(t.head),r=e.moveToLineBoundary(t,i);return r.head==t.head&&r.head!=(i?n.to:n.from)&&(r=e.moveToLineBoundary(t,i,!1)),i||r.head!=n.from||!n.length||(e=/^\s*/.exec(e.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length)&&t.head!=n.from+e&&(r=EditorSelection.cursor(n.from+e)),r}const cursorLineBoundaryForward=t=>moveSel(t,e=>moveByLineBoundary(t,e,!0)),cursorLineBoundaryBackward=t=>moveSel(t,e=>moveByLineBoundary(t,e,!1)),cursorLineStart=t=>moveSel(t,e=>EditorSelection.cursor(t.visualLineAt(e.head).from,1)),cursorLineEnd=t=>moveSel(t,e=>EditorSelection.cursor(t.visualLineAt(e.head).to,-1));function toMatchingBracket(i,e,n){let r=!1,t=updateSel(i.selection,e=>{var t=matchBrackets(i,e.head,-1)||matchBrackets(i,e.head,1)||0toMatchingBracket(e,t,!1);function extendSel(e,i){let t=updateSel(e.state.selection,e=>{var t=i(e);return EditorSelection.range(e.anchor,t.head,t.goalColumn)});return!t.eq(e.state.selection)&&(e.dispatch(setSel(e.state,t)),!0)}function selectByChar(t,i){return extendSel(t,e=>t.moveByChar(e,i))}const selectCharLeft=e=>selectByChar(e,e.textDirection!=Direction.LTR),selectCharRight=e=>selectByChar(e,e.textDirection==Direction.LTR);function selectByGroup(t,i){return extendSel(t,e=>t.moveByGroup(e,i))}const selectGroupLeft=e=>selectByGroup(e,e.textDirection!=Direction.LTR),selectGroupRight=e=>selectByGroup(e,e.textDirection==Direction.LTR),selectGroupForward=e=>selectByGroup(e,!0),selectGroupBackward=e=>selectByGroup(e,!1),selectSyntaxLeft=t=>extendSel(t,e=>moveBySyntax(t.state,e,t.textDirection!=Direction.LTR)),selectSyntaxRight=t=>extendSel(t,e=>moveBySyntax(t.state,e,t.textDirection==Direction.LTR));function selectByLine(t,i){return extendSel(t,e=>t.moveVertically(e,i))}const selectLineUp=e=>selectByLine(e,!1),selectLineDown=e=>selectByLine(e,!0);function selectByPage(t,i){return extendSel(t,e=>t.moveVertically(e,i,t.dom.clientHeight))}const selectPageUp=e=>selectByPage(e,!1),selectPageDown=e=>selectByPage(e,!0),selectLineBoundaryForward=t=>extendSel(t,e=>moveByLineBoundary(t,e,!0)),selectLineBoundaryBackward=t=>extendSel(t,e=>moveByLineBoundary(t,e,!1)),selectLineStart=t=>extendSel(t,e=>EditorSelection.cursor(t.visualLineAt(e.head).from)),selectLineEnd=t=>extendSel(t,e=>EditorSelection.cursor(t.visualLineAt(e.head).to)),cursorDocStart=({state:e,dispatch:t})=>(t(setSel(e,{anchor:0})),!0),cursorDocEnd=({state:e,dispatch:t})=>(t(setSel(e,{anchor:e.doc.length})),!0),selectDocStart=({state:e,dispatch:t})=>(t(setSel(e,{anchor:e.selection.main.anchor,head:0})),!0),selectDocEnd=({state:e,dispatch:t})=>(t(setSel(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),selectAll=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},annotations:Transaction.userEvent.of("keyboardselection")})),!0),selectLine=({state:i,dispatch:e})=>{var t=selectedLineBlocks(i).map(({from:e,to:t})=>EditorSelection.range(e,Math.min(t+1,i.doc.length)));return e(i.update({selection:EditorSelection.create(t),annotations:Transaction.userEvent.of("keyboardselection")})),!0},selectParentSyntax=({state:n,dispatch:e})=>{var t=updateSel(n.selection,e=>{var t;let i=syntaxTree(n).resolve(e.head,1);for(;!(i.from=e.to||i.to>e.to&&i.from<=e.from||null===(t=i.parent)||void 0===t)&&t.parent;)i=i.parent;return EditorSelection.range(i.to,i.from)});return e(setSel(n,t)),!0},simplifySelection=({state:e,dispatch:t})=>{let i=e.selection,n=null;return 1{let{from:t,to:i}=e;var n;return t==i&&(n=r(t),t=Math.min(t,n),i=Math.max(i,n)),t==i?{range:e}:{changes:{from:t,to:i},range:EditorSelection.cursor(t)}});return!i.changes.empty&&(t(e.update(i,{scrollIntoView:!0,annotations:Transaction.userEvent.of("delete")})),!0)}const deleteByChar=(o,l,c)=>deleteBy(o,t=>{let{state:e}=o,i=e.doc.lineAt(t),n;if(!l&&t>i.from&&tdeleteByChar(e,!1,!0),deleteCharBackward=e=>deleteByChar(e,!1,!1),deleteCharForward=e=>deleteByChar(e,!0,!1),deleteByGroup=(e,c)=>deleteBy(e,t=>{let i=t,{state:n}=e,r=n.doc.lineAt(i),s=n.charCategorizer(i);for(let e=null;;){if(i==(c?r.to:r.from)){i==t&&r.number!=(c?n.doc.lines:1)&&(i+=c?1:-1);break}var a=findClusterBreak(r.text,i-r.from,c)+r.from,o=r.text.slice(Math.min(i,a)-r.from,Math.max(i,a)-r.from),l=s(o);if(null!=e&&l!=e)break;" "==o&&i==t||(e=l),i=a}return i}),deleteGroupBackward=e=>deleteByGroup(e,!1),deleteGroupForward=e=>deleteByGroup(e,!0),deleteToLineEnd=i=>deleteBy(i,e=>{var t=i.visualLineAt(e).to;return edeleteBy(i,e=>{var t=i.visualLineAt(e).from;return t{var i=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:Text.of(["",""])},range:EditorSelection.cursor(e.from)}));return t(e.update(i,{scrollIntoView:!0,annotations:Transaction.userEvent.of("input")})),!0},transposeChars=({state:n,dispatch:e})=>{var t=n.changeByRange(e=>{if(!e.empty||0==e.from||e.from==n.doc.length)return{range:e};var t=e.from,i=n.doc.lineAt(t),e=t==i.from?t-1:findClusterBreak(i.text,t-i.from,!1)+i.from,i=t==i.to?t+1:findClusterBreak(i.text,t-i.from,!0)+i.from;return{changes:{from:e,to:i,insert:n.doc.slice(t,i).append(n.doc.slice(e,t))},range:EditorSelection.cursor(i)}});return!t.changes.empty&&(e(n.update(t,{scrollIntoView:!0})),!0)};function selectedLineBlocks(e){let t=[],i=-1;for(var n of e.selection.ranges){var r=e.doc.lineAt(n.from),n=e.doc.lineAt(n.to);i==r.number?t[t.length-1].to=n.to:t.push({from:r.from,to:n.to}),i=n.number}return t}function moveLine(e,t,i){let n=[];for(var r of selectedLineBlocks(e)){var s;(i?r.to!=e.doc.length:0!=r.from)&&(s=e.doc.lineAt(i?r.to+1:r.from-1),i?n.push({from:r.to,to:s.to},{from:r.from,insert:s.text+e.lineBreak}):n.push({from:s.from,to:r.from},{from:r.to,insert:e.lineBreak+s.text}))}return!!n.length&&(t(e.update({changes:n,scrollIntoView:!0})),!0)}const moveLineUp=({state:e,dispatch:t})=>moveLine(e,t,!1),moveLineDown=({state:e,dispatch:t})=>moveLine(e,t,!0);function copyLine(e,t,i){let n=[];for(var r of selectedLineBlocks(e))i?n.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):n.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:n,scrollIntoView:!0})),!0}const copyLineUp=({state:e,dispatch:t})=>copyLine(e,t,!1),copyLineDown=({state:e,dispatch:t})=>copyLine(e,t,!0),deleteLine=t=>{let{state:i}=t,e=i.changes(selectedLineBlocks(i).map(({from:e,to:t})=>(0t.moveVertically(e,!0)).map(e);return t.dispatch({changes:e,selection:n,scrollIntoView:!0}),!0};function isBetweenBrackets(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let i=syntaxTree(e).resolve(t),n=i.childBefore(t),r=i.childAfter(t),s;return n&&r&&n.to<=t&&r.from>=t&&(s=n.type.prop(NodeProp.closedBy))&&-1{var t=o.changeByRange(({from:e,to:t})=>{var i=e==t&&isBetweenBrackets(o,e);let n=new IndentContext(o,{simulateBreak:e,simulateDoubleBreak:!!i}),r=getIndentation(n,e);null==r&&(r=/^\s*/.exec(o.doc.lineAt(e).text)[0].length);let s=o.doc.lineAt(e);for(;ts.from&&e{var i=[];for(let e=t.from;e<=t.to;){var n=r.doc.lineAt(e);n.number>a&&(t.empty||t.to>n.from)&&(s(n,i,t),a=n.number),e=n.to+1}let e=r.changes(i);return{changes:i,range:EditorSelection.range(e.mapPos(t.anchor,1),e.mapPos(t.head,1))}})}const indentSelection=({state:a,dispatch:e})=>{let o=Object.create(null),l=new IndentContext(a,{overrideIndentation:e=>{e=o[e];return null==e?-1:e}});var t=changeBySelectedLine(a,(e,t,i)=>{var n,r,s=getIndentation(l,e.from);null==s||((n=/^\s*/.exec(e.text)[0])!=(r=indentString(a,s))||i.from(e(i.update(changeBySelectedLine(i,(e,t)=>{t.push({from:e.from,insert:i.facet(indentUnit)})}))),!0),indentLess=({state:a,dispatch:e})=>(e(a.update(changeBySelectedLine(a,(n,r)=>{let s=/^\s*/.exec(n.text)[0];if(s){let e=countColumn(s,0,a.tabSize),t=0,i=indentString(a,Math.max(0,e-getIndentUnit(a)));for(;te.selection.ranges.some(e=>!e.empty)?indentMore({state:e,dispatch:t}):(t(e.update(e.replaceSelection("\t"),{scrollIntoView:!0,annotations:Transaction.userEvent.of("input")})),!0),emacsStyleKeymap=[{key:"Ctrl-b",run:cursorCharLeft,shift:selectCharLeft,preventDefault:!0},{key:"Ctrl-f",run:cursorCharRight,shift:selectCharRight},{key:"Ctrl-p",run:cursorLineUp,shift:selectLineUp},{key:"Ctrl-n",run:cursorLineDown,shift:selectLineDown},{key:"Ctrl-a",run:cursorLineStart,shift:selectLineStart},{key:"Ctrl-e",run:cursorLineEnd,shift:selectLineEnd},{key:"Ctrl-d",run:deleteCharForward},{key:"Ctrl-h",run:deleteCharBackward},{key:"Ctrl-k",run:deleteToLineEnd},{key:"Alt-d",run:deleteGroupForward},{key:"Ctrl-Alt-h",run:deleteGroupBackward},{key:"Ctrl-o",run:splitLine},{key:"Ctrl-t",run:transposeChars},{key:"Alt-f",run:cursorGroupForward,shift:selectGroupForward},{key:"Alt-b",run:cursorGroupBackward,shift:selectGroupBackward},{key:"Alt-<",run:cursorDocStart},{key:"Alt->",run:cursorDocEnd},{key:"Ctrl-v",run:cursorPageDown},{key:"Alt-v",run:cursorPageUp}],standardKeymap=[{key:"ArrowLeft",run:cursorCharLeft,shift:selectCharLeft},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:cursorGroupLeft,shift:selectGroupLeft},{mac:"Cmd-ArrowLeft",run:cursorLineBoundaryBackward,shift:selectLineBoundaryBackward},{key:"ArrowRight",run:cursorCharRight,shift:selectCharRight},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:cursorGroupRight,shift:selectGroupRight},{mac:"Cmd-ArrowRight",run:cursorLineBoundaryForward,shift:selectLineBoundaryForward},{key:"ArrowUp",run:cursorLineUp,shift:selectLineUp},{mac:"Cmd-ArrowUp",run:cursorDocStart,shift:selectDocStart},{mac:"Ctrl-ArrowUp",run:cursorPageUp,shift:selectPageUp},{key:"ArrowDown",run:cursorLineDown,shift:selectLineDown},{mac:"Cmd-ArrowDown",run:cursorDocEnd,shift:selectDocEnd},{mac:"Ctrl-ArrowDown",run:cursorPageDown,shift:selectPageDown},{key:"PageUp",run:cursorPageUp,shift:selectPageUp},{key:"PageDown",run:cursorPageDown,shift:selectPageDown},{key:"Home",run:cursorLineBoundaryBackward,shift:selectLineBoundaryBackward},{key:"Mod-Home",run:cursorDocStart,shift:selectDocStart},{key:"End",run:cursorLineBoundaryForward,shift:selectLineBoundaryForward},{key:"Mod-End",run:cursorDocEnd,shift:selectDocEnd},{key:"Enter",run:insertNewlineAndIndent},{key:"Mod-a",run:selectAll},{key:"Backspace",run:deleteCodePointBackward,shift:deleteCodePointBackward},{key:"Delete",run:deleteCharForward,shift:deleteCharForward},{key:"Mod-Backspace",mac:"Alt-Backspace",run:deleteGroupBackward},{key:"Mod-Delete",mac:"Alt-Delete",run:deleteGroupForward},{mac:"Mod-Backspace",run:deleteToLineStart},{mac:"Mod-Delete",run:deleteToLineEnd}].concat(emacsStyleKeymap.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),defaultKeymap=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:cursorSyntaxLeft,shift:selectSyntaxLeft},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:cursorSyntaxRight,shift:selectSyntaxRight},{key:"Alt-ArrowUp",run:moveLineUp},{key:"Shift-Alt-ArrowUp",run:copyLineUp},{key:"Alt-ArrowDown",run:moveLineDown},{key:"Shift-Alt-ArrowDown",run:copyLineDown},{key:"Escape",run:simplifySelection},{key:"Alt-l",mac:"Ctrl-l",run:selectLine},{key:"Mod-i",run:selectParentSyntax,preventDefault:!0},{key:"Mod-[",run:indentLess},{key:"Mod-]",run:indentMore},{key:"Mod-Alt-\\",run:indentSelection},{key:"Shift-Mod-k",run:deleteLine},{key:"Shift-Mod-\\",run:cursorMatchingBracket}].concat(standardKeymap),defaultTabBinding={key:"Tab",run:insertTab,shift:indentSelection},fromHistory=Annotation.define(),isolateHistory=Annotation.define(),invertedEffects=Facet.define(),historyConfig=Facet.define({combine(e){return combineConfig(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}}),historyField_=StateField.define({create(){return HistoryState.empty},update(t,i){var n=i.state.facet(historyConfig),r=i.annotation(fromHistory);if(r){var s=HistEvent.fromTransaction(i),a=r.side;let e=0==a?t.undone:t.done;return e=s?updateBranch(e,e.length,n.minDepth,s):addSelection(e,i.startState.selection),new HistoryState(0==a?r.rest:e,0==a?e:r.rest)}var e=i.annotation(isolateHistory);if("full"!=e&&"before"!=e||(t=t.isolate()),!1===i.annotation(Transaction.addToHistory))return i.changes.empty?t:t.addMapping(i.changes.desc);s=HistEvent.fromTransaction(i),a=i.annotation(Transaction.time),r=i.annotation(Transaction.userEvent);return s?t=t.addChanges(s,a,r,n.newGroupDelay,n.minDepth):i.selection&&(t=t.addSelection(i.startState.selection,a,r,n.newGroupDelay)),t="full"==e||"after"==e?t.isolate():t},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new HistoryState(e.done.map(HistEvent.fromJSON),e.undone.map(HistEvent.fromJSON))}});function history(e={}){return[historyField_,historyConfig.of(e),EditorView.domEventHandlers({beforeinput(e,t){return"historyUndo"==e.inputType?undo(t):"historyRedo"==e.inputType&&redo(t)}})]}function cmd(n,r){return function({state:e,dispatch:t}){let i=e.field(historyField_,!1);if(!i)return!1;e=i.pop(n,e,r);return!!e&&(t(e),!0)}}const undo=cmd(0,!1),redo=cmd(1,!1),undoSelection=cmd(0,!0),redoSelection=cmd(1,!0);class HistEvent{constructor(e,t,i,n,r){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=n,this.selectionsAfter=r}setSelAfter(e){return new HistEvent(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(e=this.mapped)||void 0===e?void 0:e.toJSON(),startSelection:null===(e=this.startSelection)||void 0===e?void 0:e.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new HistEvent(e.changes&&ChangeSet.fromJSON(e.changes),[],e.mapped&&ChangeDesc.fromJSON(e.mapped),e.startSelection&&EditorSelection.fromJSON(e.startSelection),e.selectionsAfter.map(EditorSelection.fromJSON))}static fromTransaction(e){let t=none$1;for(var i of e.startState.facet(invertedEffects)){i=i(e);i.length&&(t=t.concat(i))}return!t.length&&e.changes.empty?null:new HistEvent(e.changes.invert(e.startState.doc),t,void 0,e.startState.selection,none$1)}static selection(e){return new HistEvent(void 0,none$1,void 0,void 0,e)}}function updateBranch(e,t,i,n){let r=e.slice(i+20a.push(e,t)),t.iterChangedRanges((e,t,i,n)=>{for(let e=0;ee.empty!=i.ranges[t].empty).length}function conc(e,t){return e.length?t.length?e.concat(t):e:t}const none$1=[],MaxSelectionsPerEvent=200;function addSelection(i,n){if(i.length){let e=i[i.length-1],t=e.selectionsAfter.slice(Math.max(0,e.selectionsAfter.length-MaxSelectionsPerEvent));return t.length&&t[t.length-1].eq(n)?i:(t.push(n),updateBranch(i,i.length-1,1e9,e.setSelAfter(t)))}return[HistEvent.selection([n])]}function popSelection(e){let t=e[e.length-1],i=e.slice();return i[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),i}function addMappingToBranch(t,e){if(!t.length)return t;let i=t.length,n=none$1;for(;i;){var r=mapEvent(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let e=t.slice(0,i);return e[i-1]=r,e}e=r.mapped,i--,n=r.selectionsAfter}return n.length?[HistEvent.selection(n)]:none$1}function mapEvent(e,t,i){var n=conc(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):none$1,i);if(!e.changes)return HistEvent.selection(n);var r=e.changes.map(t),s=t.mapDesc(e.changes,!0),i=e.mapped?e.mapped.composeDesc(s):s;return new HistEvent(r,StateEffect.mapEffects(e.effects,t),i,e.startSelection.map(s),n)}class HistoryState{constructor(e,t,i=0,n=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new HistoryState(this.done,this.undone):this}addChanges(e,t,i,n,r){let s=this.done,a=s[s.length-1];return s=a&&a.changes&&t-this.prevTime-1e.id-t.id))}}let nextModifierID=0;class Modifier{constructor(){this.instances=[],this.id=nextModifierID++}static get(t,i){if(!i.length)return t;var e,n=i[0].instances.find(e=>e.base==t&&sameArray(i,e.modified));if(n)return n;let r=[],s=new Tag(r,t,i);for(e of i)e.instances.push(s);var a,o=permute(i);for(a of t.set)for(var l of o)r.push(Modifier.get(a,l));return s}}function sameArray(e,i){return e.length==i.length&&e.every((e,t)=>e==i[t])}function permute(t){let i=[t];for(let e=0;ee.scope)?void 0:Object.create(null);return(e,t)=>{var i,n=o&&o[e.id];if(void 0!==n)return n;let r=null;for(i of a){var s=i.match(e,t);s&&(r=r?r+" "+s:s)}return o&&(o[e.id]=r),r}}static define(e,t){return new HighlightStyle(e,t||{})}static get(e,t,i){let n=getHighlightStyle(e);return n&&n(t,i||NodeType.none)}}class TreeHighlighter{constructor(e){this.markCache=Object.create(null),this.tree=syntaxTree(e.state),this.decorations=this.buildDeco(e,getHighlightStyle(e.state))}update(e){var t=syntaxTree(e.state),i=getHighlightStyle(e.state),n=i!=e.startState.facet(highlightStyle);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=Decoration.mark({class:i})))});return n.finish()}}const treeHighlighter=Prec.fallback(ViewPlugin.fromClass(TreeHighlighter,{decorations:e=>e.decorations})),nodeStack=[""];function highlightTreeRange(e,t,i,u,n){let r=t,p="",O=e.topNode.cursor;function f(e,t){p&&n(r,e,p),r=e,p=t}!function r(s,a,o){let{type:l,from:c,to:h}=O;if(!(i<=c||h<=t)){nodeStack[a]=l.name,l.isTop&&(o=l);let e=s,t=l.prop(ruleNodeProp),i=!1;for(;t;){if(!t.context||matchContext(t.context,nodeStack,a)){for(var d of t.tags)(d=u(d,o))&&(e&&(e+=" "),e+=d,1==t.mode?s+=(s?" ":"")+d:0==t.mode&&(i=!0));break}t=t.next}let n=c;if(!i&&O.firstChild()){for(;O.from>n&&p!=e&&f(n,e),n=O.to,r(s,a+1,o),O.nextSibling(););O.parent()}h>n&&p!=e&&f(n,e)}}("",0,e.type),f(i,"")}function matchContext(i,n,r){if(i.length>r-1)return!1;for(let e=r-1,t=i.length-1;0<=t;t--,e--){var s=i[t];if(s&&s!=n[e])return!1}return!0}const t=Tag.define,comment=t(),name=t(),typeName=t(name),literal=t(),string=t(literal),number=t(literal),content=t(),heading=t(content),keyword=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={comment:comment,lineComment:t(comment),blockComment:t(comment),docComment:t(comment),name:name,variableName:t(name),typeName:typeName,tagName:t(typeName),propertyName:t(name),className:t(name),labelName:t(name),namespace:t(name),macroName:t(name),literal:literal,string:string,docString:t(string),character:t(string),number:number,integer:t(number),float:t(number),bool:t(literal),regexp:t(literal),escape:t(literal),color:t(literal),url:t(literal),keyword:keyword,self:t(keyword),null:t(keyword),atom:t(keyword),unit:t(keyword),modifier:t(keyword),operatorKeyword:t(keyword),controlKeyword:t(keyword),definitionKeyword:t(keyword),operator:operator,derefOperator:t(operator),arithmeticOperator:t(operator),logicOperator:t(operator),bitwiseOperator:t(operator),compareOperator:t(operator),updateOperator:t(operator),definitionOperator:t(operator),typeOperator:t(operator),controlOperator:t(operator),punctuation:punctuation,separator:t(punctuation),bracket:bracket,angleBracket:t(bracket),squareBracket:t(bracket),paren:t(bracket),brace:t(bracket),content:content,heading:heading,heading1:t(heading),heading2:t(heading),heading3:t(heading),heading4:t(heading),heading5:t(heading),heading6:t(heading),contentSeparator:t(content),list:t(content),quote:t(content),emphasis:t(content),strong:t(content),link:t(content),monospace:t(content),strikethrough:t(content),inserted:t(),deleted:t(),changed:t(),invalid:t(),meta:meta,documentMeta:t(meta),annotation:t(meta),processingInstruction:t(meta),definition:Tag.defineModifier(),constant:Tag.defineModifier(),function:Tag.defineModifier(),standard:Tag.defineModifier(),local:Tag.defineModifier(),special:Tag.defineModifier()},classHighlightStyle=HighlightStyle.define([{tag:tags$1.link,class:"cmt-link"},{tag:tags$1.heading,class:"cmt-heading"},{tag:tags$1.emphasis,class:"cmt-emphasis"},{tag:tags$1.strong,class:"cmt-strong"},{tag:tags$1.keyword,class:"cmt-keyword"},{tag:tags$1.atom,class:"cmt-atom"},{tag:tags$1.bool,class:"cmt-bool"},{tag:tags$1.url,class:"cmt-url"},{tag:tags$1.labelName,class:"cmt-labelName"},{tag:tags$1.inserted,class:"cmt-inserted"},{tag:tags$1.deleted,class:"cmt-deleted"},{tag:tags$1.literal,class:"cmt-literal"},{tag:tags$1.string,class:"cmt-string"},{tag:tags$1.number,class:"cmt-number"},{tag:[tags$1.regexp,tags$1.escape,tags$1.special(tags$1.string)],class:"cmt-string2"},{tag:tags$1.variableName,class:"cmt-variableName"},{tag:tags$1.local(tags$1.variableName),class:"cmt-variableName cmt-local"},{tag:tags$1.definition(tags$1.variableName),class:"cmt-variableName cmt-definition"},{tag:tags$1.special(tags$1.variableName),class:"cmt-variableName2"},{tag:tags$1.typeName,class:"cmt-typeName"},{tag:tags$1.namespace,class:"cmt-namespace"},{tag:tags$1.macroName,class:"cmt-macroName"},{tag:tags$1.propertyName,class:"cmt-propertyName"},{tag:tags$1.operator,class:"cmt-operator"},{tag:tags$1.comment,class:"cmt-comment"},{tag:tags$1.meta,class:"cmt-meta"},{tag:tags$1.invalid,class:"cmt-invalid"},{tag:tags$1.punctuation,class:"cmt-punctuation"}]);class CompositeBlock{constructor(e,t,i,n,r,s,a){this.type=e,this.value=t,this.from=i,this.hash=n,this.end=r,this.children=s,this.positions=a}static create(e,t,i,n,r){n=n+(n<<8)+e+(t<<4)|0;return new CompositeBlock(e,t,i,n,r,[],[])}toTree(e,t=this.end){var i=this.children.length-1;0<=i&&(t=Math.max(t,this.positions[i]+this.children[i].length+this.from));t=new Tree(e.types[this.type],this.children,this.positions,t-this.from).balance(2048);return stampContext(t.children,this.hash),t}copy(){return new CompositeBlock(this.type,this.value,this.from,this.hash,this.end,this.children.slice(),this.positions.slice())}}!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.URL=33]="URL",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeInfo=40]="CodeInfo",e[e.LinkTitle=41]="LinkTitle",e[e.LinkLabel=42]="LinkLabel"}(Type=Type||{});class LeafBlock{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class Line{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){var e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return skipSpace(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(t,i=0,n=0){for(let e=i;e=t.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;var n=(e.type==Type.OrderedList?isOrderedList:isBulletList)(i,t,!1);return 0e.pos+9||46!=r&&41!=r||ne.pos+1||49!=e.next)?-1:n+1-e.pos}function isAtxHeading(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t=e.baseIndent+4)return-1;let t=e.pos+1;for(;t/,ProcessingEnd=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(r);if(e)return t.append(elt(Type.Comment,n,n+1+e[0].length));e=/^\?[^]*?\?>/.exec(r);if(e)return t.append(elt(Type.ProcessingInstruction,n,n+1+e[0].length));r=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);if(!r)return-1;let s=[];if(t.parser.htmlParser){let e=t.parser.htmlParser.startParse(stringInput(t.slice(n,n+1+r[0].length)),0,{}),i;for(;!(i=e.advance()););s=i.children.map((e,t)=>new TreeElement(e,n+i.positions[t]))}return t.append(elt(Type.HTMLTag,n,n+1+r[0].length,s))},Emphasis(e,t,i){if(95!=t&&42!=t)return-1;let n=i+1;for(;e.char(n)==t;)n++;var r=e.slice(i-1,i),s=e.slice(n,n+1),a=Punctuation.test(r),o=Punctuation.test(s),l=/\s|^$/.test(r),r=/\s|^$/.test(s),s=!r&&(!o||l||a),r=!l&&(!a||r||o),a=s&&(42==t||!r||a),o=r&&(42==t||!s||o);return e.append(new InlineDelimiter(95==t?EmphasisUnderscore:EmphasisAsterisk,i,n,(a?1:0)|(o?2:0)))},HardBreak(t,e,i){if(92==e&&10==t.char(i+1))return t.append(elt(Type.HardBreak,i,i+2));if(32==e){let e=i+1;for(;32==t.char(e);)e++;if(10==t.char(e)&&e>=i+2)return t.append(elt(Type.HardBreak,i,e+1))}return-1},Link(e,t,i){return 91==t?e.append(new InlineDelimiter(LinkStart,i,i+1,1)):-1},Image(e,t,i){return 33==t&&91==e.char(i+1)?e.append(new InlineDelimiter(ImageStart,i,i+2,1)):-1},LinkEnd(i,e,t){if(93!=e)return-1;for(let e=i.parts.length-1;0<=e;e--){var n=i.parts[e];if(n instanceof InlineDelimiter&&(n.type==LinkStart||n.type==ImageStart)){if(!n.side||i.skipSpace(n.to)==t&&!/[(\[]/.test(i.slice(t+1,t+2)))return i.parts[e]=null,-1;var r=i.takeContent(e),r=i.parts[e]=finishLink(i,r,n.type==LinkStart?Type.Link:Type.Image,n.from,t+1);if(n.type==LinkStart)for(let t=0;tr?elt(Type.URL,r+s,i+s):i==n.length&&null}}function parseLinkTitle(i,n,r){var e=i.charCodeAt(n);if(39!=e&&34!=e&&40!=e)return!1;var s=40==e?41:e;for(let e=n+1,t=!1;e=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,i,n,r){return this.append(new InlineDelimiter(e,t,i,(n?1:0)|(r?2:0)))}addElement(e){return this.append(e)}resolveMarkers(t){for(let a=t;a=t;s--){var e=this.parts[s];if(e instanceof InlineDelimiter&&1&e.side&&e.type==o.type&&!(l&&(1&o.side||2&e.side)&&(e.to-e.from+c)%3==0&&((e.to-e.from)%3||c%3))){r=e;break}}if(r){let e=o.type.resolve,t=[],i=r.from,n=o.to;l&&(h=Math.min(2,r.to-r.from,c),i=r.to-h,n=o.from+h,e=1==h?"Emphasis":"StrongEmphasis"),r.type.mark&&t.push(this.elt(r.type.mark,i,r.to));for(let e=s+1;e(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;0=n)return this.fragment.from<=t;if(!i.childAfter(n))return!1}}matches(e){var t=this.cursor.tree;return t&&ContextHash.get(t)==e}takeNodes(e){let t=this.cursor,i=this.fragment.offset,n=e.lineStart,r=n,s=e.block.children.length,a=r,o=s;for(;;){if(t.to-i>=this.fragmentEnd){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.addNode(t.tree,t.from-i),t.type.is("Block")&&(NotLast.indexOf(t.type.id)<0?(r=t.to-i,s=e.block.children.length):(r=a,s=o,a=t.to-i,o=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return r-n}}const parser$4=new MarkdownParser(new NodeSet(nodeTypes),null,null,Object.keys(DefaultBlockParsers).map(e=>DefaultBlockParsers[e]),Object.keys(DefaultBlockParsers).map(e=>DefaultLeafBlocks[e]),Object.keys(DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object.keys(DefaultInline).map(e=>DefaultInline[e]),Object.keys(DefaultInline)),StrikethroughDelim={resolve:"Strikethrough",mark:"StrikethroughMark"},Strikethrough={defineNodes:["Strikethrough","StrikethroughMark"],parseInline:[{name:"Strikethrough",parse(e,t,i){return 126!=t||126!=e.char(i+1)?-1:e.addDelimiter(StrikethroughDelim,i,i+2,!0,!0)},after:"Emphasis"}]};function parseRow(t,i,n=0,r,s=0){let a=0,o=!0,l=-1,c=-1,h=!1;var d=()=>{r.push(t.elt("TableCell",s+l,s+c,t.parser.parseInline(i.slice(l,c),s+l)))};for(let e=n;e{if(e!=s||t.char(i+1)==s)return-1;let n=[t.elt(o,i,i+1)];for(let e=i+1;et%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){var n=e.parser.context;return new Stack(e,[],t,i,i,0,[],0,n?new StackContext(n,n.start):null,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t=e>>19,i=65535&e;let{parser:n}=this.p;var r=n.dynamicPrecedence(i);if(r&&(this.score+=r),0==t)return is;)this.stack.pop();this.reduceContext(i)}storeNode(t,i,n,r=4,e=!1){if(0==t){let e=this,t=this.buffer.length;if(0==t&&e.parent&&(t=e.bufferBase-e.parent.bufferBase,e=e.parent),0=i)return void(e.buffer[t-2]=n)}}if(e&&this.pos!=n){let e=this.buffer.length;if(0n;)this.buffer[e]=this.buffer[e-4],this.buffer[e+1]=this.buffer[e-3],this.buffer[e+2]=this.buffer[e-2],this.buffer[e+3]=this.buffer[e-1],e-=4,4this.pos||r<=i.maxNode)&&(this.pos=s,i.stateFlag(t,1)||(this.reducePos=s)),this.pushState(t,e),r<=i.maxNode&&this.buffer.push(r,e,s,4),this.shiftContext(r)}else r<=this.p.parser.maxNode&&this.buffer.push(r,this.pos,s,4),this.pos=s}apply(e,t,i){65536&e?this.reduce(e):this.shift(e,t,i)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);var n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(t,n),this.buffer.push(i,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this.p.input,this))}split(){let e=this,t=e.buffer.length;for(;0e.reducePos;)t-=4;for(var i=e.buffer.slice(t),n=e.bufferBase+t;e&&n==e.bufferBase;)e=e.parent;return new Stack(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,this.curContext,e)}recoverByDelete(e,t){var i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=200}canShift(t){for(let e=new SimulatedStack(this);;){var i=this.p.parser.stateSlot(e.top,4)||this.p.parser.hasAction(e.top,t);if(0==(65536&i))return!0;if(0==i)return!1;e.reduce(i)}}get ruleStart(){for(let e=this.state,t=this.stack.length;;){var i=this.p.parser.stateSlot(e,5);if(!(65536&i))return 0;if(t-=3*(i>>19),(65535&i)>19,o=65535&s;if(-1>19),s=this.stack[1+s];if(null==t||s1&t&&e==i)||n.push(r[e],i)}r=n}let n=[];for(let t=0;t>19;0==e?(this.rest==this.stack.stack&&(this.rest=this.rest.slice()),this.rest.push(this.top,0,0),this.offset+=3):this.offset-=3*(e-1);t=this.stack.p.parser.getGoto(this.rest[this.offset-3],t,!0);this.top=t}}class StackBufferCursor{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e){return new StackBufferCursor(e,e.bufferBase+e.buffer.length,e.buffer.length)}maybeNext(){var e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new StackBufferCursor(this.stack,this.pos,this.index)}}class Token{constructor(){this.start=-1,this.value=-1,this.end=-1}accept(e,t){this.value=e,this.end=t}}class TokenGroup{constructor(e,t){this.data=e,this.id=t}token(e,t,i){readToken(this.data,e,t,i,this.id)}}TokenGroup.prototype.contextual=TokenGroup.prototype.fallback=TokenGroup.prototype.extend=!1;class ExternalTokenizer{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function readToken(i,e,n,r,t){let s=0,a=1<>1,u=l+d+(d<<1),p=i[u],O=i[u+1];if(ht)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,t-5)):Math.min(e.length,Math.max(n.from+1,t+5));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:e.length}}class FragmentCursor{constructor(e){this.fragments=e,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){var e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?cutAt(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?cutAt(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e=this.safeFrom?r:null;r instanceof TreeBuffer?(this.index[t]++,this.nextStart=n+r.length):(this.index[t]++,n+r.length>=e&&(this.trees.push(r),this.start.push(n),this.index.push(0)))}else this.trees.pop(),this.start.pop(),this.index.pop()}}}class CachedToken extends Token{constructor(){super(...arguments),this.extended=-1,this.mask=0,this.context=0}clear(e){this.start=e,this.value=this.extended=-1}}const dummyToken=new Token;class TokenCache{constructor(e){this.tokens=[],this.mainToken=dummyToken,this.actions=[],this.tokens=e.tokenizers.map(e=>new CachedToken)}getActions(n,r){let s=0,a=null,{parser:e}=n.p,{tokenizers:o}=e;var l=e.stateSlot(n.state,3),c=n.curContext?n.curContext.hash:0;for(let i=0;ih))break}}for(;this.actions.length>s;)this.actions.pop();return a||(a=dummyToken,a.start=n.pos,n.pos==r.length?a.accept(n.p.parser.eofTerm,n.pos):a.accept(0,n.pos+1)),this.mainToken=a,this.actions}updateCachedToken(i,e,n,r){if(i.clear(n.pos),e.token(r,i,n),-1>1)){0==(1&s)?i.value=s>>1:i.extended=s>>1;break}}}else n.pos==r.length?i.accept(n.p.parser.eofTerm,n.pos):i.accept(0,n.pos+1)}putAction(t,e,i,n){for(let e=0;ei)n.push(o);else if(l=this.checkNest(o))(!a||a.stack.scorec)for(n.sort((e,t)=>t.score-e.score);n.length>c;)n.pop();n.some(e=>e.reducePos>i)&&this.recovering--}else if(1 ":"";if(this.fragments){var t=i.curContext&&i.curContext.tracker.strict,l=t?i.curContext.hash:0;for(let e=this.fragments.nodeAt(s);e;){var c=this.parser.nodeSet.types[e.type.id]==e.type?a.getGoto(i.state,e.type.id):-1;if(-1s?n:r).push(e)}return!1}advanceFully(e,t){for(var i=e.pos;;){var n=this.checkNest(e);if(n)return n;if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return pushStackDedup(e,t),!0}}runRecovery(a,o,l){let c=null,h=!1,d;for(let s=0;s ":"";if(e.deadEnd){if(h)continue;h=!0,e.restart(),verbose&&console.log(p+this.stackID(e)+" (restarted)");var O=this.advanceFully(e,l);if(O){!0!==O&&(d=O);continue}}let n=e.split(),r=p;for(let e=0;n.forceReduce()&&e<10;e++){verbose&&console.log(r+this.stackID(n)+" (via force-reduce)");var f=this.advanceFully(n,l);if(f){!0!==f&&(d=f);break}verbose&&(r=this.stackID(n)+" -> ")}for(u of e.recoverByInsert(t))verbose&&console.log(p+this.stackID(u)+" (via recover-insert)"),this.advanceFully(u,l);this.input.length>e.pos?(i==e.pos&&(i++,t=0),e.recoverByDelete(t,i),verbose&&console.log(p+this.stackID(e)+` (via recover-delete ${this.parser.getName(t)})`),pushStackDedup(e,l)):(!c||c.scored.stack.score){d=void 0;break}return d&&this.startNested(d),null}forceFinish(){let e=this.stacks[0].split();return this.nested&&this.finishNested(e,this.nested.forceFinish()),this.stackToTree(e.forceAll())}stackToTree(e,t=e.pos){return this.parser.context&&e.emitContext(),Tree.build({buffer:StackBufferCursor.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.startPos,length:t-this.startPos,minRepeatType:this.parser.minRepeatTerm})}checkNest(e){var t=this.parser.findNested(e.state);if(!t)return null;let i=t.value;return"function"==typeof i&&(i=i(this.input,e)),i?{stack:e,info:t,spec:i}:null}startNested(e){let{stack:t,info:i,spec:n}=e;this.stacks=[t],this.nestEnd=this.scanForNestEnd(t,i.end,n.filterEnd),this.nestWrap="number"==typeof n.wrapType?this.parser.nodeSet.types[n.wrapType]:n.wrapType||null,n.startParse?this.nested=n.startParse(this.input.clip(this.nestEnd),t.pos,this.context):this.finishNested(t)}scanForNestEnd(t,i,n){for(let e=t.pos;ee;class ContextTracker{constructor(e){this.start=e.start,this.shift=e.shift||id,this.reduce=e.reduce||id,this.reuse=e.reuse||id,this.hash=e.hash,this.strict=!1!==e.strict}}class Parser{constructor(i){if(this.bufferLength=DefaultBufferLength,this.strict=!1,this.cachedDialect=null,13!=i.version)throw new RangeError(`Parser version (${i.version}) doesn't match runtime version (13)`);let t=decodeArray(i.tokenData),n=i.nodeNames.split(" ");this.minRepeatTerm=n.length,this.context=i.context;for(let e=0;ei.topRules[e][1]);this.nodeSet=new NodeSet(n.map((e,t)=>NodeType.define({name:t>=this.minRepeatTerm?void 0:e,id:t,props:r[t],top:-1"number"==typeof e?new TokenGroup(t,e):e),this.topRules=i.topRules,this.nested=(i.nested||[]).map(([e,t,i,n])=>({name:e,value:t,end:new TokenGroup(decodeArray(i),0),placeholder:n})),this.dialects=i.dialects||{},this.dynamicPrecedences=i.dynamicPrecedences||null,this.tokenPrecTable=i.tokenPrec,this.termNames=i.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}parse(e,t=0,i={}){"string"==typeof e&&(e=stringInput(e));let n=new Parse(this,e,t,i);for(;;){var r=n.advance();if(r)return r}}startParse(e,t=0,i={}){return"string"==typeof e&&(e=stringInput(e)),new Parse(this,e,t,i)}getGoto(t,i,n=!1){var r=this.goto;if(i>=r[0])return-1;for(let e=r[i+1];;){var s=r[e++],a=1&s,o=r[e++];if(a&&n)return o;for(var l=e+(s>>1);e>10]:null}validAction(t,i){if(i==this.stateSlot(t,4))return!0;for(let e=this.stateSlot(t,1);;e+=3){if(65535==this.data[e]){if(1!=this.data[e+1])return!1;e=pair(this.data,e+2)}if(i==pair(this.data,e+1))return!0}}nextStates(t){let n=[];for(let e=this.stateSlot(t,1);;e+=3){if(65535==this.data[e]){if(1!=this.data[e+1])break;e=pair(this.data,e+2)}if(0==(1&this.data[e+2])){let i=this.data[e+1];n.some((e,t)=>1&t&&e==i)||n.push(this.data[e],i)}}return n}overrides(e,t){t=findOffset(this.data,this.tokenPrecTable,t);return t<0||findOffset(this.data,this.tokenPrecTable,e){var e=i.tokenizers.find(e=>e.from==t);return e?e.to:t})),i.dialect&&(e.dialect=this.parseDialect(i.dialect)),i.nested&&(e.nested=this.nested.map(e=>Object.prototype.hasOwnProperty.call(i.nested,e.name)?{name:e.name,value:i.nested[e.name],end:e.end,placeholder:e.placeholder}:e)),null!=i.strict&&(e.strict=i.strict),null!=i.bufferLength&&(e.bufferLength=i.bufferLength),e}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get hasNested(){return 0!1);if(e)for(var i of e.split(" ")){i=n.indexOf(i);0<=i&&(t[i]=!0)}let r=null;for(let i=0;i{let n=t.start,r=e.get(n),s;if(r<0&&i.context&&t.accept(missingCloseTag,t.start),r==lessThan){n++,(s=e.get(n)==slash$1)&&n++;var a=tagNameAfter(e,n);if(void 0!==a){if(!a)return t.accept(s?IncompleteCloseTag:StartTag,n);e=i.context?i.context.name:null;if(s){if(a==e)return t.accept(StartCloseTag,n);if(e&&implicitlyClosed[e])return t.accept(missingCloseTag,t.start);if(i.dialectEnabled(Dialect_noMatch))return t.accept(StartCloseTag,n);for(let e=i.context;e;e=e.parent)if(e.name==a)return;t.accept(MismatchedStartCloseTag,n)}else e&&closeOnOpen[e]&&closeOnOpen[e][a]?t.accept(missingCloseTag,t.start):t.accept(StartTag,n)}}}),selfClosed=new ExternalTokenizer((e,t,i)=>{let n=e.get(t.start),r=t.start+1;if(n==slash$1){if(e.get(r)!=greaterThan)return;r++}else if(n!=greaterThan)return;i.context&&selfClosers[i.context.name]&&t.accept(SelfCloseEndTag,r)}),commentContent$1=new ExternalTokenizer((e,t)=>{let i=t.start,n=0;for(;;){var r=e.get(i);if(r<0)break;if(i++,r=="--\x3e".charCodeAt(n)){if(n++,3==n){i-=3;break}}else n=0}i>t.start&&t.accept(commentContent,i)}),openTag=/^<\/?\s*([\.\-\:\w\xa1-\uffff]+)/;function tagName(e){let t=openTag.exec(e);return t?t[1].toLowerCase():null}function attributes(i){let n=openTag.exec(i),r={};if(n){let e=/\s*([\.\-\:\w\xa1-\uffff]+)\s*(?:=\s*(?:"([^"]*)"|'([^']*)'|([^\s=<>"'/]+)))?/g,t;for(e.lastIndex=n.index+n[0].length;t=e.exec(i);)r[t[1]]=t[4]||t[3]||t[2]||t[1]}return r}function skip(t){return e=>tagName(e)==t}function resolveContent(e){let o=null;for(var t of e)o=o||Object.create(null),(o[t.tag]||(o[t.tag]=[])).push({attrs:t.attrs,value:{filterEnd:skip(t.tag),startParse:t.parser.startParse.bind(t.parser)}});return function(e,t){var i=e.read(t.ruleStart,t.pos);let n=tagName(i),r,s;if(!n)return null;if(o&&(r=o[n]))for(var a of r)if(!a.attrs||a.attrs(s=s||attributes(i)))return a.value;return"script"==n||"textarea"==n||"style"==n?{filterEnd:skip(n),wrapType:RawText}:null}}const elementContent=resolveContent([]);function configureNesting(e){return{elementContent:resolveContent(e)}}const parser$3=Parser.deserialize({version:13,states:"'OOVOXOOOtQ`O'#CgS!eOXO'#CfOOOP'#Cf'#CfO!oOdO'#CqO!wQ`O'#CsOOOP'#DR'#DROOOP'#Cv'#CvQVOXOOO!|QrO,59ROOOP'#Cz'#CzO#XOXO'#DWO#cOPO,59QOOOS'#C{'#C{O#kOdO,59]OOOP,59],59]O#sQ`O,59_OOOP-E6t-E6tO#xQrO'#CiOOQQ'#Cw'#CwO$WQrO1G.mOOOP1G.m1G.mOOOP1G.v1G.vOOOP-E6x-E6xO$cQ`O'#CoOOOP1G.l1G.lOOOS-E6y-E6yOOOP1G.w1G.wOOOP1G.y1G.yO$hQ!bO,59TOOQQ-E6u-E6uOOOP7+$X7+$XOOOP7+$b7+$bO$sQ`O,59ZO$xO#tO'#ClO%WO&jO'#ClOOQQ1G.o1G.oOOOP1G.u1G.uOOOO'#Cx'#CxO%fO#tO,59WOOQQ,59W,59WOOOO'#Cy'#CyO%tO&jO,59WOOOO-E6v-E6vOOQQ1G.r1G.rOOOO-E6w-E6w",stateData:"&X~OtOS~OPPORTOSUOVUOWUOXUOfUOhVO{SO~O[XO~OPPORTOSUOVUOWUOXUOfUO{SO~OQzPqzP~PyOr]O|_O~O[`O~OTfO^bObeO~OQzXqzX~PyOQhOqiO~Or]O|kO~OblO~O_mOT]X^]Xb]X~OTpO^bOboO~O[qO~OatOvrOxsO~ObuO~OWvOXvOvxOwvO~OWyOXyOxxOyyO~OWvOXvOv|OwvO~OWyOXyOx|OyyO~O{fhf~",goto:"#k{PPPPPPPPPP|!SP!YPP!^PP!a!d|P|PP!j!p!v!|#S#YPPPPP#`PPPP#hXUOQWZXQOQWZTcXdRtmRi[XROQWZQWORaWQdXRndQwrR{wQzsR}zQZQRgZQ^SRj^SVOWTYQZR[Q",nodeNames:"⚠ StartTag StartCloseTag StartCloseTag IncompleteCloseTag SelfCloseEndTag Document Text EntityReference CharacterReference Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl RawText",maxTerm:44,context:elementContext,nodeProps:[[NodeProp.closedBy,-2,1,2,"EndTag SelfCloseEndTag",11,"CloseTag"],[NodeProp.openedBy,5,"StartTag",18,"StartTag StartCloseTag",19,"OpenTag"]],skippedNodes:[0,25],repeatNodeCount:6,tokenData:"!#`!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2wx}$k}!O3d!O!P$k!P!Q7]!Q![$k![!]8s!]!^$k!^!_>`!_!`!!n!`!a8R!a!c$k!c!}8s!}#R$k#R#S8s#S#T$k#T#o8s#o$f$k$f$g&R$g%W$k%W%o8s%o%p$k%p&a8s&a&b$k&b1p8s1p4U$k4U4d8s4d4e$k4e$IS8s$IS$I`$k$I`$Ib8s$Ib$Kh$k$Kh%#t8s%#t&/x$k&/x&Et8s&Et&FV$k&FV;'S8s;'S;:jgWw`ypOq(kqr?Prs'gsv(kwx(]x!a(k!a!bKh!b~(k!R?WZw`ypOr(krs'gsv(kwx(]x}(k}!O?y!O!f(k!f!gAP!g#W(k#W#XGx#X~(k!R@QVw`ypOr(krs'gsv(kwx(]x}(k}!O@g!O~(k!R@pTw`yp{POr(krs'gsv(kwx(]x~(k!RAWVw`ypOr(krs'gsv(kwx(]x!q(k!q!rAm!r~(k!RAtVw`ypOr(krs'gsv(kwx(]x!e(k!e!fBZ!f~(k!RBbVw`ypOr(krs'gsv(kwx(]x!v(k!v!wBw!w~(k!RCOVw`ypOr(krs'gsv(kwx(]x!{(k!{!|Ce!|~(k!RClVw`ypOr(krs'gsv(kwx(]x!r(k!r!sDR!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d!m4e$IS!m$I`$Ib!m$Kh%#t!m&/x&Et!m&FV;'S!m;'S;:j$|?&r?Ah!m?BY?Mn!m~!pkXY$eYZ$e]^$epq$e}!O!m!O!P!m!Q![!m![!]!m!`!a$w!c!}!m#R#S!m#T#o!m$}%O!m%W%o!m%p&a!m&b1p!m1p4U!m4U4d!m4e$IS!m$I`$Ib!m$Je$Jg!m$Kh%#t!m&/x&Et!m&FV;'S!m;'S;:j$|?&r?Ah!m?BY?Mn!m~$hTXY$eYZ$e]^$epq$e!`!a$w~$|Op~~%PP;=`<%l!m",42]],dialects:{noMatch:0},tokenPrec:234}),descendantOp=92,Unit=1,callee=93,identifier$1=94,space$1=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],colon=58,parenL=40,underscore=95,bracketL=91,dash=45,period=46,hash=35,percent=37;function isAlpha(e){return 65<=e&&e<=90||97<=e&&e<=122||161<=e}function isDigit(e){return 48<=e&&e<=57}const identifiers=new ExternalTokenizer((e,t)=>{let i=t.start,n=i,r=!1;for(;;){var s=e.get(n);if(!(isAlpha(s)||s==dash||s==underscore||r&&isDigit(s))){r&&t.accept(s==parenL?callee:identifier$1,n);break}!r&&(s!=dash||n>i)&&(r=!0),n++}}),descendant=new ExternalTokenizer((e,t)=>{space$1.includes(e.get(t.start-1))&&(!isAlpha(e=e.get(t.start))&&e!=underscore&&e!=hash&&e!=period&&e!=bracketL&&e!=colon&&e!=dash||t.accept(descendantOp,t.start))}),unitToken=new ExternalTokenizer((t,i)=>{var{start:n}=i;if(!space$1.includes(t.get(n-1))){var e=t.get(n);if(e==percent&&i.accept(Unit,n+1),isAlpha(e)){let e=n+1;for(;isAlpha(t.get(e));)e++;i.accept(Unit,e)}}}),spec_callee={__proto__:null,not:30,url:64,"url-prefix":64,domain:64,regexp:64,selector:132},spec_AtKeyword={__proto__:null,"@import":112,"@media":136,"@charset":140,"@namespace":144,"@keyframes":150,"@supports":162},spec_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:93,get:e=>spec_callee[e]||-1},{term:55,get:e=>spec_AtKeyword[e]||-1},{term:94,get:e=>spec_identifier$1[e]||-1}],tokenPrec:1060});let _properties=null;function properties(){if(!_properties&&"object"==typeof document&&document.body){let e=[];for(var t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);_properties=e.sort().map(e=>({type:"property",label:e}))}return _properties||[]}const pseudoClasses=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map(e=>({type:"class",label:e})),values=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),tags=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),span=/^[\w-]*/,completeCSS=e=>{let{state:t,pos:i}=e,n=syntaxTree(t).resolve(i,-1);if("PropertyName"==n.name)return{from:n.from,options:properties(),span:span};if("ValueName"==n.name)return{from:n.from,options:values,span:span};if("PseudoClassName"==n.name)return{from:n.from,options:pseudoClasses,span:span};if("TagName"==n.name){for(let{parent:e}=n;e;e=e.parent)if("Block"==e.name)return{from:n.from,options:properties(),span:span};return{from:n.from,options:tags,span:span}}if(!e.explicit)return null;let r=n.resolve(i),s=r.childBefore(i);return s&&":"==s.name&&"PseudoClassSelector"==r.name?{from:i,options:pseudoClasses,span:span}:s&&":"==s.name&&"Declaration"==r.name||"ArgList"==r.name?{from:i,options:values,span:span}:"Block"==r.name?{from:i,options:properties(),span:span}:null},cssLanguage=LezerLanguage.define({parser:parser$2.configure({props:[indentNodeProp.add({Declaration:continuedIndent()}),foldNodeProp.add({Block:foldInside}),styleTags({"import charset namespace keyframes":tags$1.definitionKeyword,"media supports":tags$1.controlKeyword,"from to":tags$1.keyword,NamespaceName:tags$1.namespace,KeyframeName:tags$1.labelName,TagName:tags$1.typeName,ClassName:tags$1.className,PseudoClassName:tags$1.constant(tags$1.className),not:tags$1.operatorKeyword,IdName:tags$1.labelName,"FeatureName PropertyName AttributeName":tags$1.propertyName,NumberLiteral:tags$1.number,KeywordQuery:tags$1.keyword,UnaryQueryOp:tags$1.operatorKeyword,callee:tags$1.keyword,"CallTag ValueName":tags$1.atom,Callee:tags$1.variableName,Unit:tags$1.unit,"UniversalSelector NestingSelector":tags$1.definitionOperator,AtKeyword:tags$1.keyword,MatchOp:tags$1.compareOperator,"ChildOp SiblingOp, LogicOp":tags$1.logicOperator,BinOp:tags$1.arithmeticOperator,Important:tags$1.modifier,Comment:tags$1.blockComment,ParenthesizedContent:tags$1.special(tags$1.name),ColorLiteral:tags$1.color,StringLiteral:tags$1.string,":":tags$1.punctuation,"PseudoOp #":tags$1.derefOperator,"; ,":tags$1.separator,"( )":tags$1.paren,"[ ]":tags$1.squareBracket,"{ }":tags$1.brace})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/}}),cssCompletion=cssLanguage.data.of({autocomplete:completeCSS});function css(){return new LanguageSupport(cssLanguage,cssCompletion)}var index$3=Object.freeze({__proto__:null,css:css,cssCompletion:cssCompletion,cssLanguage:cssLanguage});const noSemi=269,incdec=1,incdecPrefix=2,templateContent=270,templateDollarBrace=271,templateEnd=272,insertSemi=273,TSExtends=3,Dialect_ts=1,newline=[10,13,8232,8233],space=[9,11,12,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288],braceR=125,braceL=123,semicolon=59,slash=47,star=42,plus=43,minus=45,dollar=36,backtick=96,backslash=92;function newlineBefore(t,i){for(let e=i-1;0<=e;e--){var n=t.get(e);if(-1{var n=t.start,r=e.get(n);(r==braceR||-1==r||newlineBefore(e,n))&&i.canShift(insertSemi)&&t.accept(insertSemi,t.start)},{contextual:!0,fallback:!0}),noSemicolon=new ExternalTokenizer((e,t,i)=>{var n=t.start,r=e.get(n++);if(!(-1{var n=t.start,r=e.get(n);r!=plus&&r!=minus||r!=e.get(n+1)||(i=!newlineBefore(e,t.start)&&i.canShift(incdec),t.accept(i?incdec:incdecPrefix,n+2))},{contextual:!0}),template=new ExternalTokenizer((e,t)=>{let i=t.start,n=!1;for(;;){var r=e.get(i++);if(r<0){i-1>t.start&&t.accept(templateContent,i-1);break}if(r==backtick){i==t.start+1?t.accept(templateEnd,i):t.accept(templateContent,i-1);break}if(r==braceL&&n){i==t.start+2?t.accept(templateDollarBrace,i):t.accept(templateContent,i-2);break}if(10==r&&i>t.start+1){t.accept(templateContent,i);break}r==backslash&&i!=e.length&&i++,n=r==dollar}});function tsExtends(e,t){return"extends"==e&&t.dialectEnabled(Dialect_ts)?TSExtends:-1}const spec_identifier={__proto__:null,export:16,as:21,from:25,default:30,async:35,function:36,this:46,true:54,false:54,void:58,typeof:62,null:76,super:78,new:112,await:129,yield:131,delete:132,class:142,extends:144,public:181,private:181,protected:181,readonly:183,in:202,instanceof:204,const:206,import:238,keyof:289,unique:293,infer:299,is:333,abstract:353,implements:355,type:357,let:360,var:362,interface:369,enum:373,namespace:379,module:381,declare:385,global:389,for:410,of:419,while:422,with:426,do:430,if:434,else:436,switch:440,case:446,try:452,catch:454,finally:456,return:460,throw:464,break:468,continue:472,debugger:476},spec_word={__proto__:null,async:99,get:101,set:103,public:151,private:151,protected:151,static:153,abstract:155,readonly:159,new:337},spec_LessThan={__proto__:null,"<":119},parser$1=Parser.deserialize({version:13,states:"$,lO]QYOOO&zQ!LdO'#CgO'ROSO'#DRO)ZQYO'#DWO)kQYO'#DcO)rQYO'#DmO-iQYO'#DsOOQO'#ET'#ETO-|QWO'#ESO.RQWO'#ESO0QQ!LdO'#IgO2hQ!LdO'#IhO3UQWO'#EqO3ZQpO'#FWOOQ!LS'#Ey'#EyO3cO!bO'#EyO3qQWO'#F_O4{QWO'#F^OOQ!LS'#Ih'#IhOOQ!LQ'#Ig'#IgOOQQ'#JR'#JRO5QQWO'#HeO5VQ!LYO'#HfOOQQ'#I['#I[OOQQ'#Hg'#HgQ]QYOOO)rQYO'#DeO5_QWO'#GRO5dQ#tO'#ClO5rQWO'#ERO5}Q#tO'#ExO6iQWO'#GRO6nQWO'#GVO6yQWO'#GVO7XQWO'#GYO7XQWO'#GZO7XQWO'#G]O5_QWO'#G`O7xQWO'#GcO9WQWO'#CcO9hQWO'#GpO9pQWO'#GvO9pQWO'#GxO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!;uR#{W']#wO!^$t!_#o$t#p~$t~!tsExtends(e,t)<<1|1},{term:277,get:e=>spec_identifier[e]||-1},{term:286,get:e=>spec_word[e]||-1},{term:58,get:e=>spec_LessThan[e]||-1}],tokenPrec:11096});function toSet(e){let t=Object.keys(e).join("");e=/\w/.test(t);return e&&(t=t.replace(/\w/g,"")),`[${e?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function prefixMatch(e){let t=Object.create(null),i=Object.create(null);for(var{label:n}of e){t[n[0]]=!0;for(let e=1;e"string"==typeof e?{label:e}:e),[n,r]=i.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:prefixMatch(i);return e=>{var t=e.matchBefore(r);return t||e.explicit?{from:t?t.from:e.pos,options:i,span:n}:null}}function ifNotIn(i,e){return t=>{for(let e=syntaxTree(t.state).resolve(t.pos,-1);e;e=e.parent)if(-1 ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{cursor:"pointer",padding:"1px 1em 1px 3px",lineHeight:1.2},"& > li[aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"}}},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:MaxInfoWidth+"px"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class FieldPos{constructor(e,t,i,n){this.field=e,this.line=t,this.from=i,this.to=n}}class FieldRange{constructor(e,t,i){this.field=e,this.from=t,this.to=i}map(e){return new FieldRange(this.field,e.mapPos(this.from,-1),e.mapPos(this.to,1))}}class Snippet{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(n,e){let t=[],r=[e];var s,i=n.doc.lineAt(e),a=/^\s*/.exec(i.text)[0];for(s of this.lines){if(t.length){let t=a,i=/^\t*/.exec(s)[0].length;for(let e=0;enew FieldRange(e.field,r[e.line]+e.from,r[e.line]+e.to));return{text:t,ranges:i}}static parse(e){let r=[],s=[],a=[],o;for(var l of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(l);){let t=o[1]?+o[1]:null,i=o[2]||o[3],n=-1;for(let e=0;e=n&&c.field++}a.push(new FieldPos(n,s.length,o.index,o.index+i.length)),l=l.slice(0,o.index)+i+l.slice(o.index+o[0].length)}s.push(l)}return new Snippet(s,a)}}let fieldMarker=Decoration.widget({widget:new class extends WidgetType{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),fieldRange=Decoration.mark({class:"cm-snippetField"});class ActiveSnippet{constructor(e,t){this.ranges=e,this.active=t,this.deco=Decoration.set(e.map(e=>(e.from==e.to?fieldMarker:fieldRange).range(e.from,e.to)))}map(t){return new ActiveSnippet(this.ranges.map(e=>e.map(t)),this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))}}const setActive=StateEffect.define({map(e,t){return e&&e.map(t)}}),moveToField=StateEffect.define(),snippetState=StateField.define({create(){return null},update(e,t){for(var i of t.effects){if(i.is(setActive))return i.value;if(i.is(moveToField)&&e)return new ActiveSnippet(e.ranges,i.value)}return e=(e=e&&t.docChanged?e.map(t.changes):e)&&t.selection&&!e.selectionInsideField(t.selection)?null:e},provide:e=>EditorView.decorations.from(e,e=>e?e.deco:Decoration.none)});function fieldSelection(e,t){return EditorSelection.create(e.filter(e=>e.field==t).map(e=>EditorSelection.range(e.from,e.to)))}function snippet(e){let o=Snippet.parse(e);return(i,e,t,n)=>{var{text:r,ranges:s}=o.instantiate(i.state,t);let a={changes:{from:t,to:n,insert:Text.of(r)}};if(s.length&&(a.selection=fieldSelection(s,0)),1e),addSnippetKeymap,snippetPointerHandler,baseTheme]))}i.dispatch(i.state.update(a))}}function moveField(s){return({state:e,dispatch:t})=>{let i=e.field(snippetState,!1);if(!i||s<0&&0==i.active)return!1;let n=i.active+s,r=0e.field==n+s);return t(e.update({selection:fieldSelection(i.ranges,n),effects:setActive.of(r?null:new ActiveSnippet(i.ranges,n))})),!0}}const clearSnippet=({state:e,dispatch:t})=>{return!!e.field(snippetState,!1)&&(t(e.update({effects:setActive.of(null)})),!0)},nextSnippetField=moveField(1),prevSnippetField=moveField(-1),defaultSnippetKeymap=[{key:"Tab",run:nextSnippetField,shift:prevSnippetField},{key:"Escape",run:clearSnippet}],snippetKeymap=Facet.define({combine(e){return e.length?e[0]:defaultSnippetKeymap}}),addSnippetKeymap=Prec.override(keymap.compute([snippetKeymap],e=>e.facet(snippetKeymap)));function snippetCompletion(e,t){return Object.assign(Object.assign({},t),{apply:snippet(e)})}const snippetPointerHandler=EditorView.domEventHandlers({mousedown(e,t){let i=t.state.field(snippetState,!1),n;if(!i||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=i.ranges.find(e=>e.from<=n&&e.to>=n);return!(!r||r.field==i.active)&&(t.dispatch({selection:fieldSelection(i.ranges,r.field),effects:setActive.of(i.ranges.some(e=>e.field>r.field)?new ActiveSnippet(i.ranges,r.field):null)}),!0)}}),snippets=[snippetCompletion("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),snippetCompletion("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),snippetCompletion("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),snippetCompletion("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"block",type:"keyword"}),snippetCompletion("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),snippetCompletion('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),snippetCompletion('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],javascriptLanguage=LezerLanguage.define({parser:parser$1.configure({props:[indentNodeProp.add({IfStatement:continuedIndent({except:/^\s*({|else\b)/}),TryStatement:continuedIndent({except:/^\s*({|catch|finally)\b/}),LabeledStatement:flatIndent,SwitchBody:e=>{var t=e.textAfter,i=/^\s*\}/.test(t),t=/^\s*(case|default)\b/.test(t);return e.baseIndent+(i?0:t?1:2)*e.unit},Block:delimitedIndent({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>-1,"Statement Property":continuedIndent({except:/^{/}),JSXElement(e){var t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.state.doc.lineAt(e.node.from))+(t?0:e.unit)},JSXEscape(e){var t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.state.doc.lineAt(e.node.from))+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),foldNodeProp.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":foldInside,BlockComment(e){return{from:e.from+2,to:e.to-2}}}),styleTags({"get set async static":tags$1.modifier,"for while do if else switch try catch finally return throw break continue default case":tags$1.controlKeyword,"in of await yield void typeof delete instanceof":tags$1.operatorKeyword,"export import let var const function class extends":tags$1.definitionKeyword,"with debugger from as new":tags$1.keyword,TemplateString:tags$1.special(tags$1.string),Super:tags$1.atom,BooleanLiteral:tags$1.bool,this:tags$1.self,null:tags$1.null,Star:tags$1.modifier,VariableName:tags$1.variableName,"CallExpression/VariableName":tags$1.function(tags$1.variableName),VariableDefinition:tags$1.definition(tags$1.variableName),Label:tags$1.labelName,PropertyName:tags$1.propertyName,"CallExpression/MemberExpression/PropertyName":tags$1.function(tags$1.propertyName),"FunctionDeclaration/VariableDefinition":tags$1.function(tags$1.definition(tags$1.variableName)),"ClassDeclaration/VariableDefinition":tags$1.definition(tags$1.className),PropertyNameDefinition:tags$1.definition(tags$1.propertyName),UpdateOp:tags$1.updateOperator,LineComment:tags$1.lineComment,BlockComment:tags$1.blockComment,Number:tags$1.number,String:tags$1.string,ArithOp:tags$1.arithmeticOperator,LogicOp:tags$1.logicOperator,BitOp:tags$1.bitwiseOperator,CompareOp:tags$1.compareOperator,RegExp:tags$1.regexp,Equals:tags$1.definitionOperator,"Arrow : Spread":tags$1.punctuation,"( )":tags$1.paren,"[ ]":tags$1.squareBracket,"{ }":tags$1.brace,".":tags$1.derefOperator,", ;":tags$1.separator,TypeName:tags$1.typeName,TypeDefinition:tags$1.definition(tags$1.typeName),"type enum interface implements namespace module declare":tags$1.definitionKeyword,"abstract global privacy readonly":tags$1.modifier,"is keyof unique infer":tags$1.operatorKeyword,JSXAttributeValue:tags$1.string,JSXText:tags$1.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":tags$1.angleBracket,"JSXIdentifier JSXNameSpacedName":tags$1.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":tags$1.propertyName})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),typescriptLanguage=javascriptLanguage.configure({dialect:"ts"}),jsxLanguage=javascriptLanguage.configure({dialect:"jsx"}),tsxLanguage=javascriptLanguage.configure({dialect:"jsx ts"});function javascript(e={}){e=e.jsx?e.typescript?tsxLanguage:jsxLanguage:e.typescript?typescriptLanguage:javascriptLanguage;return new LanguageSupport(e,javascriptLanguage.data.of({autocomplete:ifNotIn(["LineComment","BlockComment","String"],completeFromList(snippets))}))}function esLint(l,c){return c||(c={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},l.getRules().forEach((e,t)=>{e.meta.docs.recommended&&(c.rules[t]=2)})),e=>{let{state:t}=e,i=[];for(var{from:n,to:r}of javascriptLanguage.findRegions(t)){var s,a=t.doc.lineAt(n),o={line:a.number-1,col:n-a.from,pos:n};for(s of l.verify(t.sliceDoc(n,r),c))i.push(translateDiagnostic(s,t.doc,o))}return i}}function mapPos(e,t,i,n){return i.line(e+n.line).from+t+(1==e?n.col-1:-1)}function translateDiagnostic(t,e,s){var a=mapPos(t.line,t.column,e,s);let o={from:a,to:null!=t.endLine&&1!=t.endColumn?mapPos(t.endLine,t.endColumn,e,s):a,message:t.message,source:t.ruleId?"jshint:"+t.ruleId:"jshint",severity:1==t.severity?"warning":"error"};if(t.fix){let{range:e,text:i}=t.fix,n=e[0]+s.pos-a,r=e[1]+s.pos-a;o.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+n,to:t+r,insert:i},scrollIntoView:!0})}}]}return o}var index$2=Object.freeze({__proto__:null,esLint:esLint,javascript:javascript,javascriptLanguage:javascriptLanguage,jsxLanguage:jsxLanguage,snippets:snippets,tsxLanguage:tsxLanguage,typescriptLanguage:typescriptLanguage});const Targets=["_blank","_self","_top","_parent"],Charsets=["ascii","utf-8","utf-16","latin1","latin1"],Methods=["get","post","put","delete"],Encs=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Bool=["true","false"],S={},Tags={a:{attrs:{href:null,ping:null,type:null,media:null,target:Targets,hreflang:null}},abbr:S,acronym:S,address:S,applet:S,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:S,aside:S,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:S,base:{attrs:{href:null,target:Targets}},basefont:S,bdi:S,bdo:S,big:S,blockquote:{attrs:{cite:null}},body:S,br:S,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Encs,formmethod:Methods,formnovalidate:["novalidate"],formtarget:Targets,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:S,center:S,cite:S,code:S,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:S,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:S,dir:S,div:S,dl:S,dt:S,em:S,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:S,figure:S,font:S,footer:S,form:{attrs:{action:null,name:null,"accept-charset":Charsets,autocomplete:["on","off"],enctype:Encs,method:Methods,novalidate:["novalidate"],target:Targets}},frame:S,frameset:S,h1:S,h2:S,h3:S,h4:S,h5:S,h6:S,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:S,hgroup:S,hr:S,html:{attrs:{manifest:null},children:["head","body"]},i:S,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Encs,formmethod:Methods,formnovalidate:["novalidate"],formtarget:Targets,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:S,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:S,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:S,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Charsets,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:S,noframes:S,noscript:S,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:S,param:{attrs:{name:null,value:null}},pre:S,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:S,rt:S,ruby:S,s:S,samp:S,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Charsets}},section:S,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},small:S,source:{attrs:{src:null,type:null,media:null}},span:S,strike:S,strong:S,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:S,summary:S,sup:S,table:S,tbody:S,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:S,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:S,time:{attrs:{datetime:null}},title:S,tr:S,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:S,u:S,ul:{children:["li","script","template","ul","ol"]},var:S,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:S},GlobalAttrs={accesskey:null,class:null,contenteditable:Bool,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Bool,autocorrect:Bool,autocapitalize:Bool,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Bool,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Bool,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Bool,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Bool,"aria-hidden":Bool,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Bool,"aria-multiselectable":Bool,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Bool,"aria-relevant":null,"aria-required":Bool,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},AllTags=Object.keys(Tags),GlobalAttrNames=Object.keys(GlobalAttrs);function elementName(e,t){let i=t.firstChild;t=i&&i.getChild("TagName");return t?e.sliceString(t.from,t.to):""}function findParentElement(t,i=!1){for(let e=t.parent;e;e=e.parent)if("Element"==e.name){if(!i)return e;i=!1}return null}function allowedChildren(e,t){t=findParentElement(t,!0),t=t?Tags[elementName(e,t)]:null;return(null==t?void 0:t.children)||AllTags}function openTags(t,i){let n=[];for(let e=i;e=findParentElement(e);){var r=elementName(t,e);if(r&&"CloseTag"==e.lastChild.name)break;r&&n.indexOf(r)<0&&("EndTag"==i.name||i.from>=e.firstChild.to)&&n.push(r)}return n}const identifier=/^[:\-\.\w\u00b7-\uffff]+$/;function completeTag(e,t,i,n){let r=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:allowedChildren(e.doc,t).map(e=>({label:e,type:"type"})).concat(openTags(e.doc,t).map((e,t)=>({label:"/"+e,apply:"/"+e+r,type:"type",boost:99-t}))),span:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function completeCloseTag(e,t,i,n){let r=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:openTags(e.doc,t).map((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t})),span:identifier}}function completeStartTag(e,t,i){let n=[],r=0;for(var s of allowedChildren(e.doc,t))n.push({label:"<"+s,type:"type"});for(var a of openTags(e.doc,t))n.push({label:"",type:"type",boost:99-r++});return{from:i,to:i,options:n,span:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function completeAttrName(e,t,i,n){t=findParentElement(t),t=t?Tags[elementName(e.doc,t)]:null;let r=t&&t.attrs?Object.keys(t.attrs).concat(GlobalAttrNames):GlobalAttrNames;return{from:i,to:n,options:r.map(e=>({label:e,type:"property"})),span:identifier}}function completeAttrValue(r,e,s,a){var t=null===(t=e.parent)||void 0===t?void 0:t.getChild("AttributeName");let o=[],l=void 0;if(t){t=r.sliceDoc(t.from,t.to);let n=GlobalAttrs[t];if(n||(e=(e=findParentElement(e))?Tags[elementName(r.doc,e)]:null,n=(null==e?void 0:e.attrs)&&e.attrs[t]),n){let e=r.sliceDoc(s,a).toLowerCase(),t='"',i='"';/^['"]/.test(e)?(l='"'==e[0]?/^[^"]*$/:/^[^']*$/,t="",i=r.sliceDoc(a,a+1)==e[0]?"":e[0],e=e.slice(1),s++):l=/^[^\s<>='"]*$/;for(var c of n)o.push({label:c,apply:t+c+i,type:"constant"})}}return{from:s,to:a,options:o,span:l}}function completeHTML(e){let{state:t,pos:i}=e,n=syntaxTree(t).resolve(i),r=n.resolve(i,-1);return"TagName"==r.name?(r.parent&&/CloseTag$/.test(r.parent.name)?completeCloseTag:completeTag)(t,r,r.from,i):"StartTag"==r.name?completeTag(t,r,i,i):"StartCloseTag"==r.name||"IncompleteCloseTag"==r.name?completeCloseTag(t,r,i,i):e.explicit&&("OpenTag"==r.name||"SelfClosingTag"==r.name)||"AttributeName"==r.name?completeAttrName(t,r,"AttributeName"==r.name?r.from:i,i):"Is"==r.name||"AttributeValue"==r.name||"UnquotedAttributeValue"==r.name?completeAttrValue(t,r,"Is"==r.name?i:r.from,i):!e.explicit||"Element"!=n.name&&"Text"!=n.name&&"Document"!=n.name?null:completeStartTag(t,r,i)}const htmlLanguage=LezerLanguage.define({parser:parser$3.configure({props:[indentNodeProp.add({Element(e){var t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.state.doc.lineAt(e.node.from))+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length{if(e.is("Block")&&!e.is("Document"))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),indentNodeProp.add({Document:()=>null}),languageDataProp.add({Document:data})],htmlParser:htmlLanguage.parser.configure({dialect:"noMatch"})}),commonmarkLanguage=mkLang(commonmark),extended=commonmark.configure([GFM,Subscript,Superscript,Emoji,{props:[styleTags({"TableDelimiter SubscriptMark SuperscriptMark StrikethroughMark":tags$1.processingInstruction,"TableHeader/...":tags$1.heading,"Strikethrough/...":tags$1.strikethrough,TaskMarker:tags$1.atom,Task:tags$1.list,Emoji:tags$1.character,"Subscript Superscript":tags$1.special(tags$1.content),TableCell:tags$1.content})]}]),markdownLanguage=mkLang(extended);function mkLang(e){return new Language(data,e,e.nodeSet.types.find(e=>"Document"==e.name))}function addCodeLanguages(i,n){return{codeParser(e){let t=e&&LanguageDescription.matchLanguageName(i,e,!0);return t?t.support?t.support.language.parser:EditorParseContext.getSkippingParser(t.load()):n?n.parser:null}}}function nodeStart(e,t){return t.sliceString(e.from,e.from+50)}function gatherMarkup(t,n,r){let s=[];for(let e=t;e&&"Document"!=e.name;e=e.parent)"ListItem"!=e.name&&"Blockquote"!=e.name||s.push(e);let a=[],o=0;for(let i=s.length-1;0<=i;i--){let e=s[i],t;var l;"Blockquote"==e.name&&(t=/^\s*> ?/.exec(n.slice(o)))?(a.push({from:o,string:t[0],node:e}),o+=t[0].length):"ListItem"==e.name&&"OrderedList"==e.parent.name&&(t=/^\s*\d+([.)])\s*/.exec(nodeStart(e,r)))?(l=4<=t[1].length?t[0].length-t[1].length+1:t[0].length,a.push({from:o,string:n.slice(o,o+l).replace(/\S/g," "),node:e}),o+=l):"ListItem"==e.name&&"BulletList"==e.parent.name&&(t=/^\s*[-+*] (\s*)/.exec(nodeStart(e,r)))&&(l=4<=t[1].length?t[0].length-t[1].length:t[0].length,a.push({from:o,string:n.slice(o,o+l).replace(/\S/g," "),node:e}),o+=l)}return a}function renumberList(i,n,r){for(let e=-1,t=i;;){if("ListItem"==t.name){var s=/^(\s*)(\d+)(?=[.)])/.exec(n.sliceString(t.from,t.from+10));if(!s)return;var a=+s[2];if(0<=e){if(a!=e+1)return;r.push({from:t.from+s[1].length,to:t.from+s[0].length,insert:String(e+2)})}e=a}a=t.nextSibling;if(!a)break;t=a}}const insertNewlineContinueMarkup=({state:l,dispatch:e})=>{let i=syntaxTree(l),t=null,n=l.changeByRange(a=>{if(a.empty&&markdownLanguage.isActiveAt(l,a.from)){let n=l.doc.lineAt(a.from),e=gatherMarkup(i.resolve(a.from,-1),n.text,l.doc),r=a.from,s=[];if(e.length){let t=e[e.length-1],i=t.from+t.string.length;var o=a.from-n.from>=i&&!/\S/.test(n.text.slice(i,a.from-n.from));if(o){let e=/List/.test(t.node.name)?t.from:i;for(;0]/.test(l.doc.lineAt(n.from-1).text))return{range:EditorSelection.cursor(r),changes:{from:r,to:a.from}};r=n.from?t.string=n.text.slice(t.from,t.from+t.string.length):t.string=/^\s*/.exec(n.text)[0].slice(0,t.string.length),"OrderedList"==t.node.parent.name&&r==a.from&&(t.string=t.string.replace(/\d+/,e=>+e+1),renumberList(t.node,l.doc,s)))}}let t=e.map(e=>e.string).join("");return a.from-n.from{let a=syntaxTree(s),o=null,t=s.changeByRange(t=>{if(t.empty&&markdownLanguage.isActiveAt(s,t.from)){let e=s.doc.lineAt(t.from);var i=gatherMarkup(a.resolve(t.from,-1),e.text,s.doc);if(i.length){var n=i[i.length-1],r=n.from+n.string.length;if(t.from>r+e.from&&!/\S/.test(e.text.slice(r,t.from-e.from)))return{range:EditorSelection.cursor(r+e.from),changes:{from:r+e.from,to:t.from}};if(t.from-e.from==r){i=e.from+n.from;return"ListItem"==n.node.name&&n.node.parent.fromnew LanguageSupport(e.StreamLanguage.define(t)))}function sql(t){return import("./index-ec1dad61.js").then(e=>e.sql({dialect:e[t]}))}const languages=[LanguageDescription.of({name:"C",extensions:["c","h","ino"],load(){return import("./index-4ff54fbd.js").then(e=>e.cpp())}}),LanguageDescription.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return import("./index-4ff54fbd.js").then(e=>e.cpp())}}),LanguageDescription.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return sql("Cassandra")}}),LanguageDescription.of({name:"CSS",extensions:["css"],load(){return Promise.resolve().then(function(){return index$3}).then(e=>e.css())}}),LanguageDescription.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return Promise.resolve().then(function(){return index$1}).then(e=>e.html())}}),LanguageDescription.of({name:"Java",extensions:["java"],load(){return import("./index-eddd0dfb.js").then(e=>e.java())}}),LanguageDescription.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return Promise.resolve().then(function(){return index$2}).then(e=>e.javascript())}}),LanguageDescription.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return import("./index-a879143b.js").then(e=>e.json())}}),LanguageDescription.of({name:"JSX",extensions:["jsx"],load(){return Promise.resolve().then(function(){return index$2}).then(e=>e.javascript({jsx:!0}))}}),LanguageDescription.of({name:"MariaDB SQL",load(){return sql("MariaSQL")}}),LanguageDescription.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return Promise.resolve().then(function(){return index}).then(e=>e.markdown())}}),LanguageDescription.of({name:"MS SQL",load(){return sql("MSSQL")}}),LanguageDescription.of({name:"MySQL",load(){return sql("MySQL")}}),LanguageDescription.of({name:"PLSQL",extensions:["pls"],load(){return sql("PLSQL")}}),LanguageDescription.of({name:"PostgreSQL",load(){return sql("PostgreSQL")}}),LanguageDescription.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return import("./index-5cf29f46.js").then(e=>e.python())}}),LanguageDescription.of({name:"Rust",extensions:["rs"],load(){return import("./index-94295a51.js").then(e=>e.rust())}}),LanguageDescription.of({name:"SQL",extensions:["sql"],load(){return sql("StandardSQL")}}),LanguageDescription.of({name:"SQLite",load(){return sql("SQLite")}}),LanguageDescription.of({name:"TSX",extensions:["tsx"],load(){return Promise.resolve().then(function(){return index$2}).then(e=>e.javascript({jsx:!0,typescript:!0}))}}),LanguageDescription.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load(){return Promise.resolve().then(function(){return index$2}).then(e=>e.javascript({typescript:!0}))}}),LanguageDescription.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return import("./index-9567a91c.js").then(e=>e.xml())}}),LanguageDescription.of({name:"APL",extensions:["dyalog","apl"],load(){return import("./apl-2030b4c5.js").then(e=>legacy(e.apl))}}),LanguageDescription.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return import("./asciiarmor-093bcdbd.js").then(e=>legacy(e.asciiArmor))}}),LanguageDescription.of({name:"ASN.1",extensions:["asn","asn1"],load(){return import("./asn1-afa00132.js").then(e=>legacy(e.asn1({})))}}),LanguageDescription.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return import("./asterisk-09307b50.js").then(e=>legacy(e.asterisk))}}),LanguageDescription.of({name:"Brainfuck",extensions:["b","bf"],load(){return import("./brainfuck-80b1f4f5.js").then(e=>legacy(e.brainfuck))}}),LanguageDescription.of({name:"Cobol",extensions:["cob","cpy"],load(){return import("./cobol-43d95731.js").then(e=>legacy(e.cobol))}}),LanguageDescription.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.csharp))}}),LanguageDescription.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return import("./clojure-32cc1305.js").then(e=>legacy(e.clojure))}}),LanguageDescription.of({name:"ClojureScript",extensions:["cljs"],load(){return import("./clojure-32cc1305.js").then(e=>legacy(e.clojure))}}),LanguageDescription.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return import("./css-79b391c7.js").then(e=>legacy(e.gss))}}),LanguageDescription.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return import("./cmake-2227f645.js").then(e=>legacy(e.cmake))}}),LanguageDescription.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return import("./coffeescript-fc762049.js").then(e=>legacy(e.coffeeScript))}}),LanguageDescription.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return import("./commonlisp-ba6e115c.js").then(e=>legacy(e.commonLisp))}}),LanguageDescription.of({name:"Cypher",extensions:["cyp","cypher"],load(){return import("./cypher-5d7834b7.js").then(e=>legacy(e.cypher))}}),LanguageDescription.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return import("./python-103af9e0.js").then(e=>legacy(e.cython))}}),LanguageDescription.of({name:"Crystal",extensions:["cr"],load(){return import("./crystal-5772ab5b.js").then(e=>legacy(e.crystal))}}),LanguageDescription.of({name:"D",extensions:["d"],load(){return import("./d-7ec7aa31.js").then(e=>legacy(e.d))}}),LanguageDescription.of({name:"Dart",extensions:["dart"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.dart))}}),LanguageDescription.of({name:"diff",extensions:["diff","patch"],load(){return import("./diff-e72a85b3.js").then(e=>legacy(e.diff))}}),LanguageDescription.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return import("./dockerfile-f2730f07.js").then(e=>legacy(e.dockerFile))}}),LanguageDescription.of({name:"DTD",extensions:["dtd"],load(){return import("./dtd-da1e6af8.js").then(e=>legacy(e.dtd))}}),LanguageDescription.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return import("./dylan-f2ba9f15.js").then(e=>legacy(e.dylan))}}),LanguageDescription.of({name:"EBNF",load(){return import("./ebnf-2174d665.js").then(e=>legacy(e.ebnf))}}),LanguageDescription.of({name:"ECL",extensions:["ecl"],load(){return import("./ecl-e5271367.js").then(e=>legacy(e.ecl))}}),LanguageDescription.of({name:"edn",extensions:["edn"],load(){return import("./clojure-32cc1305.js").then(e=>legacy(e.clojure))}}),LanguageDescription.of({name:"Eiffel",extensions:["e"],load(){return import("./eiffel-efa88d90.js").then(e=>legacy(e.eiffel))}}),LanguageDescription.of({name:"Elm",extensions:["elm"],load(){return import("./elm-63fbccd1.js").then(e=>legacy(e.elm))}}),LanguageDescription.of({name:"Erlang",extensions:["erl"],load(){return import("./erlang-8c025459.js").then(e=>legacy(e.erlang))}}),LanguageDescription.of({name:"Esper",load(){return import("./sql-fbfc84a5.js").then(e=>legacy(e.esper))}}),LanguageDescription.of({name:"Factor",extensions:["factor"],load(){return import("./factor-b9688504.js").then(e=>legacy(e.factor))}}),LanguageDescription.of({name:"FCL",load(){return import("./fcl-d6276f3f.js").then(e=>legacy(e.fcl))}}),LanguageDescription.of({name:"Forth",extensions:["forth","fth","4th"],load(){return import("./forth-02de8e5b.js").then(e=>legacy(e.forth))}}),LanguageDescription.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return import("./fortran-92612c49.js").then(e=>legacy(e.fortran))}}),LanguageDescription.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return import("./mllike-10ca148e.js").then(e=>legacy(e.fSharp))}}),LanguageDescription.of({name:"Gas",extensions:["s"],load(){return import("./gas-c1ef3a64.js").then(e=>legacy(e.gas))}}),LanguageDescription.of({name:"Gherkin",extensions:["feature"],load(){return import("./gherkin-446ca897.js").then(e=>legacy(e.gherkin))}}),LanguageDescription.of({name:"Go",extensions:["go"],load(){return import("./go-7157bdcf.js").then(e=>legacy(e.go))}}),LanguageDescription.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return import("./groovy-15bb0a05.js").then(e=>legacy(e.groovy))}}),LanguageDescription.of({name:"Haskell",extensions:["hs"],load(){return import("./haskell-659ae93f.js").then(e=>legacy(e.haskell))}}),LanguageDescription.of({name:"Haxe",extensions:["hx"],load(){return import("./haxe-8482e88f.js").then(e=>legacy(e.haxe))}}),LanguageDescription.of({name:"HXML",extensions:["hxml"],load(){return import("./haxe-8482e88f.js").then(e=>legacy(e.hxml))}}),LanguageDescription.of({name:"HTTP",load(){return import("./http-6c3ca047.js").then(e=>legacy(e.http))}}),LanguageDescription.of({name:"IDL",extensions:["pro"],load(){return import("./idl-0ef7209d.js").then(e=>legacy(e.idl))}}),LanguageDescription.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return import("./javascript-9e8f260e.js").then(e=>legacy(e.jsonld))}}),LanguageDescription.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load(){return import("./jinja2-7915044e.js").then(e=>legacy(e.jinja2))}}),LanguageDescription.of({name:"Julia",extensions:["jl"],load(){return import("./julia-94b55ee6.js").then(e=>legacy(e.julia))}}),LanguageDescription.of({name:"Kotlin",extensions:["kt"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.kotlin))}}),LanguageDescription.of({name:"LESS",extensions:["less"],load(){return import("./css-79b391c7.js").then(e=>legacy(e.less))}}),LanguageDescription.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return import("./livescript-18d3ed4b.js").then(e=>legacy(e.liveScript))}}),LanguageDescription.of({name:"Lua",extensions:["lua"],load(){return import("./lua-9cec5372.js").then(e=>legacy(e.lua))}}),LanguageDescription.of({name:"mIRC",load(){return import("./mirc-959c94b1.js").then(e=>legacy(e.mirc))}}),LanguageDescription.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return import("./mathematica-4c7527d5.js").then(e=>legacy(e.mathematica))}}),LanguageDescription.of({name:"Modelica",extensions:["mo"],load(){return import("./modelica-decd8598.js").then(e=>legacy(e.modelica))}}),LanguageDescription.of({name:"MUMPS",extensions:["mps"],load(){return import("./mumps-067a7108.js").then(e=>legacy(e.mumps))}}),LanguageDescription.of({name:"mbox",extensions:["mbox"],load(){return import("./mbox-c94b8e5d.js").then(e=>legacy(e.mbox))}}),LanguageDescription.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return import("./nginx-a6f68c33.js").then(e=>legacy(e.nginx))}}),LanguageDescription.of({name:"NSIS",extensions:["nsh","nsi"],load(){return import("./nsis-dc357a04.js").then(e=>legacy(e.nsis))}}),LanguageDescription.of({name:"NTriples",extensions:["nt","nq"],load(){return import("./ntriples-12e84b21.js").then(e=>legacy(e.ntriples))}}),LanguageDescription.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.objectiveC))}}),LanguageDescription.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.objectiveCpp))}}),LanguageDescription.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return import("./mllike-10ca148e.js").then(e=>legacy(e.oCaml))}}),LanguageDescription.of({name:"Octave",extensions:["m"],load(){return import("./octave-dfed99d7.js").then(e=>legacy(e.octave))}}),LanguageDescription.of({name:"Oz",extensions:["oz"],load(){return import("./oz-2401d70e.js").then(e=>legacy(e.oz))}}),LanguageDescription.of({name:"Pascal",extensions:["p","pas"],load(){return import("./pascal-05191d71.js").then(e=>legacy(e.pascal))}}),LanguageDescription.of({name:"Perl",extensions:["pl","pm"],load(){return import("./perl-1568efe3.js").then(e=>legacy(e.perl))}}),LanguageDescription.of({name:"Pig",extensions:["pig"],load(){return import("./pig-5d168e86.js").then(e=>legacy(e.pig))}}),LanguageDescription.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return import("./powershell-c9f2935d.js").then(e=>legacy(e.powerShell))}}),LanguageDescription.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return import("./properties-c93e40cd.js").then(e=>legacy(e.properties))}}),LanguageDescription.of({name:"ProtoBuf",extensions:["proto"],load(){return import("./protobuf-04fc4e3b.js").then(e=>legacy(e.protobuf))}}),LanguageDescription.of({name:"Puppet",extensions:["pp"],load(){return import("./puppet-ce3af938.js").then(e=>legacy(e.puppet))}}),LanguageDescription.of({name:"Q",extensions:["q"],load(){return import("./q-7adde666.js").then(e=>legacy(e.q))}}),LanguageDescription.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return import("./r-5c65ce1c.js").then(e=>legacy(e.r))}}),LanguageDescription.of({name:"RPM Changes",load(){return import("./rpm-c892928b.js").then(e=>legacy(e.rpmChanges))}}),LanguageDescription.of({name:"RPM Spec",extensions:["spec"],load(){return import("./rpm-c892928b.js").then(e=>legacy(e.rpmSpec))}}),LanguageDescription.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load(){return import("./ruby-21600654.js").then(e=>legacy(e.ruby))}}),LanguageDescription.of({name:"SAS",extensions:["sas"],load(){return import("./sas-3cd85309.js").then(e=>legacy(e.sas))}}),LanguageDescription.of({name:"Scala",extensions:["scala"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.scala))}}),LanguageDescription.of({name:"Scheme",extensions:["scm","ss"],load(){return import("./scheme-9512b48c.js").then(e=>legacy(e.scheme))}}),LanguageDescription.of({name:"SCSS",extensions:["scss"],load(){return import("./css-79b391c7.js").then(e=>legacy(e.sCSS))}}),LanguageDescription.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return import("./shell-c1b04770.js").then(e=>legacy(e.shell))}}),LanguageDescription.of({name:"Sieve",extensions:["siv","sieve"],load(){return import("./sieve-1e0e521e.js").then(e=>legacy(e.sieve))}}),LanguageDescription.of({name:"Smalltalk",extensions:["st"],load(){return import("./smalltalk-e6b766b8.js").then(e=>legacy(e.smalltalk))}}),LanguageDescription.of({name:"Solr",load(){return import("./solr-5597a2d7.js").then(e=>legacy(e.solr))}}),LanguageDescription.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return import("./mllike-10ca148e.js").then(e=>legacy(e.sml))}}),LanguageDescription.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return import("./sparql-fc490387.js").then(e=>legacy(e.sparql))}}),LanguageDescription.of({name:"Spreadsheet",alias:["excel","formula"],load(){return import("./spreadsheet-9174e23d.js").then(e=>legacy(e.spreadsheet))}}),LanguageDescription.of({name:"SQL",extensions:["sql"],load(){return import("./sql-fbfc84a5.js").then(e=>legacy(e.standardSQL))}}),LanguageDescription.of({name:"SQLite",load(){return import("./sql-fbfc84a5.js").then(e=>legacy(e.sqlite))}}),LanguageDescription.of({name:"Squirrel",extensions:["nut"],load(){return import("./clike-e2a9d212.js").then(e=>legacy(e.squirrel))}}),LanguageDescription.of({name:"Stylus",extensions:["styl"],load(){return import("./stylus-6249521d.js").then(e=>legacy(e.stylus))}}),LanguageDescription.of({name:"Swift",extensions:["swift"],load(){return import("./swift-7fa7f33a.js").then(e=>legacy(e.swift))}}),LanguageDescription.of({name:"sTeX",load(){return import("./stex-9c1a0609.js").then(e=>legacy(e.stex))}}),LanguageDescription.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return import("./stex-9c1a0609.js").then(e=>legacy(e.stex))}}),LanguageDescription.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return import("./verilog-026cb9a4.js").then(e=>legacy(e.verilog))}}),LanguageDescription.of({name:"Tcl",extensions:["tcl"],load(){return import("./tcl-64088cb9.js").then(e=>legacy(e.tcl))}}),LanguageDescription.of({name:"Textile",extensions:["textile"],load(){return import("./textile-b43085a6.js").then(e=>legacy(e.textile))}}),LanguageDescription.of({name:"TiddlyWiki",load(){return import("./tiddlywiki-719a9b51.js").then(e=>legacy(e.tiddlyWiki))}}),LanguageDescription.of({name:"Tiki wiki",load(){return import("./tiki-c7f18a22.js").then(e=>legacy(e.tiki))}}),LanguageDescription.of({name:"TOML",extensions:["toml"],load(){return import("./toml-adb7882d.js").then(e=>legacy(e.toml))}}),LanguageDescription.of({name:"troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return import("./troff-1f82bf74.js").then(e=>legacy(e.troff))}}),LanguageDescription.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return import("./ttcn-59c626fc.js").then(e=>legacy(e.ttcn))}}),LanguageDescription.of({name:"TTCN_CFG",extensions:["cfg"],load(){return import("./ttcn-cfg-078eba3a.js").then(e=>legacy(e.ttcnCfg))}}),LanguageDescription.of({name:"Turtle",extensions:["ttl"],load(){return import("./turtle-1cd5251a.js").then(e=>legacy(e.turtle))}}),LanguageDescription.of({name:"Web IDL",extensions:["webidl"],load(){return import("./webidl-dc65d1d3.js").then(e=>legacy(e.webIDL))}}),LanguageDescription.of({name:"VB.NET",extensions:["vb"],load(){return import("./vb-48de61b2.js").then(e=>legacy(e.vb))}}),LanguageDescription.of({name:"VBScript",extensions:["vbs"],load(){return import("./vbscript-5aa6df10.js").then(e=>legacy(e.vbScript))}}),LanguageDescription.of({name:"Velocity",extensions:["vtl"],load(){return import("./velocity-e1fbbfb7.js").then(e=>legacy(e.velocity))}}),LanguageDescription.of({name:"Verilog",extensions:["v"],load(){return import("./verilog-026cb9a4.js").then(e=>legacy(e.verilog))}}),LanguageDescription.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return import("./vhdl-1e8a014b.js").then(e=>legacy(e.vhdl))}}),LanguageDescription.of({name:"XQuery",extensions:["xy","xquery"],load(){return import("./xquery-7782f779.js").then(e=>legacy(e.xQuery))}}),LanguageDescription.of({name:"Yacas",extensions:["ys"],load(){return import("./yacas-21340496.js").then(e=>legacy(e.yacas))}}),LanguageDescription.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return import("./yaml-b685a442.js").then(e=>legacy(e.yaml))}}),LanguageDescription.of({name:"Z80",extensions:["z80"],load(){return import("./z80-01cbb90e.js").then(e=>legacy(e.z80))}}),LanguageDescription.of({name:"mscgen",extensions:["mscgen","mscin","msc"],load(){return import("./mscgen-ceec9b1f.js").then(e=>legacy(e.mscgen))}}),LanguageDescription.of({name:"xu",extensions:["xu"],load(){return import("./mscgen-ceec9b1f.js").then(e=>legacy(e.xu))}}),LanguageDescription.of({name:"msgenny",extensions:["msgenny"],load(){return import("./mscgen-ceec9b1f.js").then(e=>legacy(e.msgenny))}}),LanguageDescription.of({name:"WebAssembly",extensions:["wat","wast"],load(){return import("./wast-e15ed0e8.js").then(e=>legacy(e.wast))}})];var tools=[{type:"undo",title:"撤销",innerHTML:''},{type:"redo",title:"重做",innerHTML:''},{type:"bold",title:"加粗",innerHTML:''},{type:"italic",title:"倾斜",innerHTML:''},{type:"delete",title:"删除",innerHTML:''},{type:"code-inline",title:"行内代码",innerHTML:''},{type:"hr",title:"横线",innerHTML:''},{type:"quote",title:"引用",innerHTML:''},{type:"title",title:"标题",innerHTML:''},{type:"ordered-list",title:"有序列表",innerHTML:''},{type:"unordered-list",title:"无序列表",innerHTML:''},{type:"link",title:"超链接",innerHTML:''},{type:"image",title:"插入图片",innerHTML:''},{type:"table",title:"表格",innerHTML:''},{type:"code-block",title:"代码块",innerHTML:''},{type:"html",title:"原生HTML",innerHTML:''},{type:"time",title:"当前时间",innerHTML:''},{type:"indent",title:"缩进",innerHTML:''},{type:"character",title:"实体符号",innerHTML:''},{type:"emoji",title:"符号表情",innerHTML:''},{type:"expression",title:"图片表情",innerHTML:''},{type:"task-no",title:"任务 - 未完成",innerHTML:''},{type:"task-yes",title:"任务 - 已完成",innerHTML:''},{type:"mtitle",title:"居中标题",innerHTML:''},{type:"dplayer",title:"M3U8/MP4视频",innerHTML:''},{type:"bilibili",title:"哔哩哔哩视频",innerHTML:''},{type:"netease-list",title:"网易云列表",innerHTML:''},{type:"netease-single",title:"网易云单首",innerHTML:''},{type:"abtn",title:"多彩按钮",innerHTML:''},{type:"anote",title:"便条按钮",innerHTML:''},{type:"dotted",title:"彩色虚线",innerHTML:''},{type:"hide",title:"回复可见",innerHTML:''},{type:"card-default",title:"默认卡片",innerHTML:''},{type:"message",title:"消息提示",innerHTML:''},{type:"progress",title:"进度条",innerHTML:''},{type:"callout",title:"标注",innerHTML:''},{type:"mp3",title:"外部音乐",innerHTML:''},{type:"tabs",title:"标签页",innerHTML:''},{type:"card-list",title:"卡片列表",innerHTML:''},{type:"timeline",title:"时间轴",innerHTML:''},{type:"copy",title:"复制文本",innerHTML:''},{type:"card-describe",title:"描述卡片",innerHTML:''},{type:"lamp",title:"跑马灯",innerHTML:''},{type:"collapse",title:"折叠面板",innerHTML:''},{type:"cloud",title:"云盘下载",innerHTML:''},{type:"gird",title:"宫格",innerHTML:''},{type:"alert",title:"提示",innerHTML:''},{type:"clean",title:"清屏",innerHTML:''},{type:"download",title:"下载",innerHTML:''},{type:"fullScreen",title:"全屏/取消全屏",innerHTML:''},{type:"preview",title:"预览/取消预览",innerHTML:''},{type:"draft",title:"保存草稿",innerHTML:''},{type:"publish",title:"发布文章",innerHTML:''},{type:"about",title:"关于",innerHTML:''}];class JoeAction{constructor(){$("body").append(` +
+
+
+
+
×
+
+
+ +
+
+ `),$(".cm-modal__wrapper-footer--cancle, .cm-modal__wrapper-header--close").on("click",()=>$(".cm-modal").removeClass("active")),$(".cm-modal__wrapper-footer--confirm").on("click",()=>{this.options.confirm(),$(".cm-modal").removeClass("active")})}_openModal(e={}){this.options=Object.assign({title:"提示",innerHtml:"内容",hasFooter:!0,confirm:()=>{},handler:()=>{}},e),$(".cm-modal__wrapper-header--text").html(this.options.title),$(".cm-modal__wrapper-bodyer").html(this.options.innerHtml),this.options.hasFooter?$(".cm-modal__wrapper-footer").show():$(".cm-modal__wrapper-footer").hide(),$(".cm-modal").addClass("active"),this.options.handler()}_getLineCh(e){var t=e.state.selection.main.head;return t-e.state.doc.lineAt(t).from}_replaceSelection(e,t){e.dispatch(e.state.replaceSelection(t))}_setCursor(e,t){e.dispatch({selection:{anchor:t}})}_getSelection(e){return e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to)}_insetAmboText(e,t){var i=e.state.selection.main.head,n=this._getSelection(e);this._replaceSelection(e,` ${t+n+t} `),""===n&&this._setCursor(e,i+t.length+1),e.focus()}_createTableLists(s,e,a="",o){$.ajax({url:e,dataType:"json",success:e=>{let t="",i="";for(var n in e){const r=e[n].split(" ");t+=`
${n}
`,i+=`
${r.map(e=>`
${e}
`).join(" ")}
`}this._openModal({title:o,hasFooter:!1,innerHtml:`
${t}
${i}`,handler:()=>{$(".cm-modal__wrapper-bodyer .tabbar-item").on("click",function(){const e=$(this);var t=e.attr("data-show");const i=$(".cm-modal__wrapper-bodyer .tabbar");e.addClass("active").siblings().removeClass("active"),i.stop().animate({scrollLeft:e[0].offsetLeft-i[0].offsetWidth/2+e[0].offsetWidth/2-15}),$(".cm-modal__wrapper-bodyer .lists").removeClass("active"),$(".cm-modal__wrapper-bodyer .lists[data-show='"+t+"']").addClass("active")});const t=this;$(".cm-modal__wrapper-bodyer .lists-item").on("click",function(){var e=$(this).attr("data-text");t._replaceSelection(s,` ${e} `),$(".cm-modal").removeClass("active"),s.focus()})}})}})}_updateScroller(e,t){e=e.scrollTop/(e.scrollHeight-e.offsetHeight);t.scrollTop=e*(t.scrollHeight-t.offsetHeight)}handleFullScreen(e){e.toggleClass("active"),$("body").toggleClass("fullscreen"),$(".cm-container").toggleClass("fullscreen"),$(".cm-preview").width(0)}handlePublish(){$("#btn-submit").click()}handleUndo(e){undo(e),e.focus()}handleRedo(e){redo(e),e.focus()}handleIndent(e){this._replaceSelection(e," "),e.focus()}handleTime(e){const t=new Date;var i=t.getFullYear(),n=String(t.getMonth()+1).padStart(2,0),r=String(t.getDate()).padStart(2,0),s=String(t.getHours()).padStart(2,0),a=String(t.getMinutes()).padStart(2,0),o=String(t.getSeconds()).padStart(2,0),l=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][t.getDay()],l=`${this._getLineCh(e)?"\n":""}${i}-${n}-${r} ${s}:${a}:${o} ${l}\n`;this._replaceSelection(e,l),e.focus()}handleHr(e){var t=`${this._getLineCh(e)?"\n":""}\n------------\n\n`;this._replaceSelection(e,t),e.focus()}handleClean(e){e.dispatch({changes:{from:0,to:e.state.doc.length,insert:""}}),e.focus()}handleOrdered(e){const t=this._getSelection(e);if(""===t){var i=(this._getLineCh(e)?"\n\n":"")+"1. ";this._replaceSelection(e,i)}else{const n=t.split("\n");for(let e=0,t=n.length;e `);else{const n=t.split("\n");for(let e=0,t=n.length;e "+n[e];var i=(this._getLineCh(e)?"\n":"")+n.join("\n");this._replaceSelection(e,i)}e.focus()}handleDownload(e){var t=$("#title").val()||"新文章";const i=document.createElement("a");e=new Blob([e.state.doc.toString()]);i.download=t+".md",i.href=URL.createObjectURL(e),i.click(),URL.revokeObjectURL(e)}handleTitle(t,e){const i=$(` +
+ ${e.innerHTML} +
+
H1
+
H2
+
H3
+
H4
+
H5
+
H6
+
+
+ `);i.on("click",function(e){e.stopPropagation(),$(this).toggleClass("active")});const n=this;i.on("click",".cm-tools__dropdown-item",function(e){e.stopPropagation();e=$(this).attr("data-text");n._getLineCh(t)?n._replaceSelection(t,"\n\n"+e):n._replaceSelection(t,e),i.removeClass("active"),t.focus()}),$(document).on("click",()=>i.removeClass("active")),$(".cm-tools").append(i)}handleLink(i){this._openModal({title:"插入链接",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal input[name='title']").val()||"Test",t=$(".cm-modal input[name='url']").val()||"http://";this._replaceSelection(i,` [${e}](${t}) `),i.focus()}})}handleImage(i){this._openModal({title:"插入图片",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal input[name='title']").val()||"Test",t=$(".cm-modal input[name='url']").val()||"http://";this._replaceSelection(i,` ![${e}](${t}) `),i.focus()}})}handleTable(a){this._openModal({title:"插入表格",innerHtml:` +
+ + + + +
+ `,confirm:()=>{let t=$(".cm-modal input[name='row']").val(),i=$(".cm-modal input[name='column']").val();isNaN(t)&&(t=3),isNaN(i)&&(i=3);let n="",r="",s="";for(let e=0;e + + + +
+ + +
+ `,confirm:()=>{var e=`{gird column="${$(".cm-modal input[name='column']").val()}" gap="${$(".cm-modal input[name='gap']").val()}"}\n{gird-item}\n 宫格内容一\n{/gird-item}\n{gird-item}\n 宫格内容二\n{/gird-item}\n{gird-item}\n 宫格内容三\n{/gird-item}\n{/gird}`;this._getLineCh(t)?this._replaceSelection(t,"\n\n"+e):this._replaceSelection(t,e),t.focus()}})}handleCodeBlock(i){const e="rss+atom+ssml+mathml+svg+html+markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apex+apl+applescript+aql+arduino+arff+asciidoc+aspnet+asm6502+autohotkey+autoit+bash+basic+batch+bbcode+birb+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cfscript+chaiscript+cil+clojure+cmake+cobol+coffeescript+concurnas+csp+coq+crystal+css-extras+csv+cypher+d+dart+dataweave+dax+dhall+diff+django+dns-zone-file+docker+dot+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+false+firestore-security-rules+flow+fortran+ftl+gml+gcode+gdscript+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+http+hpkp+hsts+ichigojam+icon+icu-message-format+idris+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jexl+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keyman+kotlin+kumir+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+log+lolcode+lua+makefile+markdown+markup-templating+matlab+mel+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nevod+nginx+nim+nix+nsis+objectivec+ocaml+opencl+openqasm+oz+parigp+parser+pascal+pascaligo+psl+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plsql+powerquery+powershell+processing+prolog+promql+properties+protobuf+pug+puppet+pure+purebasic+purescript+python+qsharp+q+qml+qore+r+racket+jsx+tsx+reason+regex+rego+renpy+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+sml+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+squirrel+stan+iecst+stylus+swift+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+turtle+twig+typescript+typoscript+unrealscript+uri+v+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+wiki+xeora+xml-doc+xojo+xquery+yaml+yang+zig".split("+").sort((e,t)=>e.localeCompare(t)),t=sessionStorage.getItem("selectType")||"";let n="";e.forEach(e=>{n+=``}),this._openModal({title:"插入代码块",innerHtml:` +
+ + +
+ `,confirm:()=>{var e,t=$(".cm-modal select[name='type']").val();t&&(e=`\`\`\`${t}\ncode here...\n\`\`\``,this._getLineCh(i)?this._replaceSelection(i,"\n\n"+e):this._replaceSelection(i,e),i.focus(),sessionStorage.setItem("selectType",t))}})}handleAbout(){this._openModal({title:"关于",hasFooter:!1,innerHtml:` +
    +
  • 短代码功能正在开发中...
  • +
  • 仅支持网络图片粘贴上传(截图等)
  • +
  • 本编辑器仅供Joe主题使用,未经允许不得移植至其他主题!
  • +
+ `})}handleTask(e,t){this._replaceSelection(e,` ${t?"{x}":"{ }"} `),e.focus()}handleNetease(n,r){this._openModal({title:r?"网易云歌单":"网易云单首",innerHtml:` +
+ + +
+
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal input[name='id']").val(),t=$(".cm-modal input[name='color']").val(),i=$(".cm-modal select[name='autoplay']").val(),i=`\n{${r?"music-list":"music"} id="${e}" color="${t}" ${"1"===i?'autoplay="autoplay"':""}/}\n\n`;this._getLineCh(n)?this._replaceSelection(n,"\n"+i):this._replaceSelection(n,i),n.focus()}})}handleBilibili(t){this._openModal({title:"BiliBili视频",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{bilibili bvid="${$(".cm-modal input[name='bvid']").val()}" page="${$(".cm-modal input[name='page']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleDplayer(t){this._openModal({title:"M3U8/MP4视频",innerHtml:` +
+ + +
+ `,confirm:()=>{var e=`\n{dplayer src="${$(".cm-modal input[name='src']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleDraft(){$("#btn-save").click()}handleExpression(s){$.ajax({url:window.JoeConfig.expressionAPI,dataType:"json",success:e=>{let i="",n="";for(let t in e){const r=e[t];i+=`
${t}
`,n+=`
${r.map(e=>`
${"颜文字"===t?e.icon:``}
`).join(" ")}
`}this._openModal({title:"普通表情",hasFooter:!1,innerHtml:`
${i}
${n}`,handler:()=>{$(".cm-modal__wrapper-bodyer .tabbar-item").on("click",function(){var e=$(this).attr("data-show");$(this).addClass("active").siblings().removeClass("active"),$(".cm-modal__wrapper-bodyer .lists").removeClass("active"),$(".cm-modal__wrapper-bodyer .lists[data-show='"+e+"']").addClass("active")});const t=this;$(".cm-modal__wrapper-bodyer .lists-item").on("click",function(){var e=$(this).attr("data-text");t._replaceSelection(s,` ${e} `),$(".cm-modal").removeClass("active"),s.focus()})}})}})}handleMtitle(t){this._openModal({title:"居中标题",innerHtml:` +
+ + +
+ `,confirm:()=>{var e=`\n{mtitle title="${$(".cm-modal input[name='text']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleHtml(e){var t=`${this._getLineCh(e)?"\n":""}!!!\n

居中

\n

居右

\n颜色大小\n!!!\n`;this._replaceSelection(e,t),e.focus()}handleHide(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{hide}\n需要隐藏的内容\n{/hide}\n\n`;this._replaceSelection(e,t),e.focus()}handleAbtn(s){this._openModal({title:"多彩按钮",innerHtml:` +
+ + +
+
+ + fontawesome.dashgame.com +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal input[name='icon']").val(),t=$(".cm-modal input[name='color']").val(),i=$(".cm-modal input[name='href']").val(),n=$(".cm-modal input[name='radius']").val(),r=$(".cm-modal input[name='content']").val();this._replaceSelection(s,` {abtn icon="${e}" color="${t}" href="${i}" radius="${n}" content="${r}"/} `),s.focus()}})}handleAnote(r){this._openModal({title:"便条按钮",innerHtml:` +
+ + +
+
+ + fontawesome.dashgame.com +
+
+ + +
+
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal input[name='icon']").val(),t=$(".cm-modal input[name='href']").val(),i=$(".cm-modal select[name='type']").val(),n=$(".cm-modal input[name='content']").val();this._replaceSelection(r,` {anote icon="${e}" href="${t}" type="${i}" content="${n}"/} `),r.focus()}})}handleDotted(t){this._openModal({title:"彩色虚线",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{dotted startColor="${$(".cm-modal input[name='startColor']").val()}" endColor="${$(".cm-modal input[name='endColor']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleCardDefault(t){this._openModal({title:"默认卡片",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{card-default label="${$(".cm-modal input[name='label']").val()}" width="${$(".cm-modal input[name='width']").val()}"}\n卡片内容\n{/card-default}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleMessage(t){this._openModal({title:"消息提示",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{message type="${$(".cm-modal select[name='type']").val()}" content="${$(".cm-modal textarea[name='content']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleProgress(t){this._openModal({title:"进度条",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{progress percentage="${$(".cm-modal input[name='percentage']").val()}" color="${$(".cm-modal input[name='color']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleCallout(t){this._openModal({title:"插入标注",innerHtml:` +
+ + +
+ `,confirm:()=>{var e=`\n{callout color="${$(".cm-modal input[name='color']").val()}"}\n标注内容\n{/callout}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleMp3(t){this._openModal({title:"插入音乐",innerHtml:` +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{mp3 name="${$(".cm-modal input[name='name']").val()}" url="${$(".cm-modal input[name='url']").val()}" cover="${$(".cm-modal input[name='cover']").val()}" theme="${$(".cm-modal input[name='theme']").val()}" ${"1"===$(".cm-modal select[name='autoplay']").val()?'autoplay="autoplay"':""}/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleTabs(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{tabs}\n{tabs-pane label="标签一"}\n 标签一内容\n{/tabs-pane}\n{tabs-pane label="标签二"}\n 标签二内容\n{/tabs-pane}\n{/tabs}\n\n`;this._replaceSelection(e,t),e.focus()}handleCardList(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{card-list}\n{card-list-item}\n 列表一内容\n{/card-list-item}\n{card-list-item}\n 列表二内容\n{/card-list-item}\n{/card-list}\n\n`;this._replaceSelection(e,t),e.focus()}handleTimeline(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{timeline}\n{timeline-item color="#19be6b"}\n 正式上线\n{/timeline-item}\n{timeline-item color="#ed4014"}\n 删库跑路\n{/timeline-item}\n{/timeline}\n\n`;this._replaceSelection(e,t),e.focus()}handleCardDescribe(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{card-describe title="卡片描述"}\n卡片内容\n{/card-describe}\n\n`;this._replaceSelection(e,t),e.focus()}handleCopy(t){this._openModal({title:"复制文本",innerHtml:` +
+ + +
+
+ + +
+ `,confirm:()=>{var e=`\n{copy showText="${$(".cm-modal input[name='showText']").val()}" copyText="${$(".cm-modal textarea[name='copyText']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleLamp(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{lamp/}\n\n`;this._replaceSelection(e,t),e.focus()}handleCollapse(e){var t=`${this._getLineCh(e)?"\n\n":"\n"}{collapse}\n{collapse-item label="折叠标题一" open}\n 折叠内容一\n{/collapse-item}\n{collapse-item label="折叠标题二"}\n 折叠内容二\n{/collapse-item}\n{/collapse}\n\n`;this._replaceSelection(e,t),e.focus()}handleAlert(t){this._openModal({title:"警告提示",innerHtml:` +
+ + +
+ `,confirm:()=>{var e=`\n{alert type="${$(".cm-modal select[name='type']").val()}"}\n警告提示\n{/alert}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}handleCloud(t){this._openModal({title:"网盘下载",innerHtml:` +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ `,confirm:()=>{var e=$(".cm-modal select[name='type']").val(),e=`\n{cloud title="${$(".cm-modal input[name='title']").val()}" type="${e}" url="${$(".cm-modal input[name='url']").val()}" password="${$(".cm-modal input[name='password']").val()}"/}\n\n`;this._getLineCh(t)?this._replaceSelection(t,"\n"+e):this._replaceSelection(t,e),t.focus()}})}}const parser=new HyperDown,player=window.JoeConfig.playerAPI;function createPreviewHtml(e){if(!window.JoeConfig.canPreview)return $(".cm-preview-content").html("1. 预览已默认关闭
2. 点击上方预览按钮启用预览
3. 若编辑器卡顿可尝试关闭预览");-1!==e.indexOf(" ")&&(e=e.replace(/ /g," ")),-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=-1!==(e=(e=(e=parser.makeHtml(e)).replace(/\:\:\(\s*(呵呵|哈哈|吐舌|太开心|笑眼|花心|小乖|乖|捂嘴笑|滑稽|你懂的|不高兴|怒|汗|黑线|泪|真棒|喷|惊哭|阴险|鄙视|酷|啊|狂汗|what|疑问|酸爽|呀咩爹|委屈|惊讶|睡觉|笑尿|挖鼻|吐|犀利|小红脸|懒得理|勉强|爱心|心碎|玫瑰|礼物|彩虹|太阳|星星月亮|钱币|茶杯|蛋糕|大拇指|胜利|haha|OK|沙发|手纸|香蕉|便便|药丸|红领巾|蜡烛|音乐|灯泡|开心|钱|咦|呼|冷|生气|弱|吐血|狗头)\s*\)/g,function(e,t){return t=encodeURI(t).replace(/%/g,""),``})).replace(/\:\@\(\s*(高兴|小怒|脸红|内伤|装大款|赞一个|害羞|汗|吐血倒地|深思|不高兴|无语|亲亲|口水|尴尬|中指|想一想|哭泣|便便|献花|皱眉|傻笑|狂汗|吐|喷水|看不见|鼓掌|阴暗|长草|献黄瓜|邪恶|期待|得意|吐舌|喷血|无所谓|观察|暗地观察|肿包|中枪|大囧|呲牙|抠鼻|不说话|咽气|欢呼|锁眉|蜡烛|坐等|击掌|惊喜|喜极而泣|抽烟|不出所料|愤怒|无奈|黑线|投降|看热闹|扇耳光|小眼睛|中刀)\s*\)/g,function(e,t){return t=encodeURI(t).replace(/%/g,""),``})).indexOf("{lamp")?e.replace(/{lamp\/}/g,''):e).indexOf("{x}")?e.replace(/{x}/g,''):e).indexOf("{ }")?e.replace(/{ }/g,''):e).indexOf("{mtitle")?e.replace(/{mtitle([^}]*)\/}/g,""):e).indexOf("{dplayer")?e.replace(/{dplayer([^}]*)\/}/g,''):e).indexOf("{bilibili")?e.replace(/{bilibili([^}]*)\/}/g,""):e).indexOf("{music-list")?e.replace(/{music-list([^}]*)\/}/g,""):e).indexOf("{music")?e.replace(/{music([^}]*)\/}/g,""):e).indexOf("{mp3")?e.replace(/{mp3([^}]*)\/}/g,""):e).indexOf("{abtn")?e.replace(/{abtn([^}]*)\/}/g,""):e).indexOf("{anote")?e.replace(/{anote([^}]*)\/}/g,""):e).indexOf("{copy")?e.replace(/{copy([^}]*)\/}/g,""):e).indexOf("{dotted")?e.replace(/{dotted([^}]*)\/}/g,""):e).indexOf("{message")?e.replace(/{message([^}]*)\/}/g,""):e).indexOf("{progress")?e.replace(/{progress([^}]*)\/}/g,""):e).indexOf("{cloud")?e.replace(/{cloud([^}]*)\/}/g,""):e).indexOf("{hide")?e.replace(/{hide[^}]*}([\s\S]*?){\/hide}/g,""):e).indexOf("{card-default")?e.replace(/{card-default([^}]*)}([\s\S]*?){\/card-default}/g,'
'):e).indexOf("{callout")?e.replace(/{callout([^}]*)}([\s\S]*?){\/callout}/g,'
'):e).indexOf("{card-describe")?e.replace(/{card-describe([^}]*)}([\s\S]*?){\/card-describe}/g,'
'):e).indexOf("{tabs")?e.replace(/{tabs}([\s\S]*?){\/tabs}/g,'
'):e).indexOf("{card-list")?e.replace(/{card-list}([\s\S]*?){\/card-list}/g,'
'):e).indexOf("{timeline")?e.replace(/{timeline}([\s\S]*?){\/timeline}/g,'
'):e).indexOf("{collapse")?e.replace(/{collapse}([\s\S]*?){\/collapse}/g,'
'):e).indexOf("{alert")?e.replace(/{alert([^}]*)}([\s\S]*?){\/alert}/g,'
'):e).indexOf("{gird")&&(e=e.replace(/{gird([^}]*)}([\s\S]*?){\/gird}/g,'
')),$(".cm-preview-content").html(e),$(".cm-preview-content p:empty").remove(),Prism.highlightAll()}class Joe extends JoeAction{constructor(){super(),this.plugins=[classHighlightStyle,history(),bracketMatching(),closeBrackets(),highlightActiveLine()],this._isPasting=!1,this.init_ViewPort(),this.init_Editor(),this.init_Preview(),this.init_Tools(),this.init_Insert(),this.init_AutoSave()}init_ViewPort(){0<$('meta[name="viewport"]').length?$('meta[name="viewport"]').attr("content","width=device-width, user-scalable=no, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover"):$("head").append('')}init_Editor(){$("#text").before(` +
+
+
+
+
+
+
+
+
+
+ `),createPreviewHtml(null);let t=null,i=null;const s=new EditorView({state:EditorState.create({doc:$("#text").val(),extensions:[...this.plugins,markdown({base:markdownLanguage,codeLanguages:languages}),keymap.of([defaultTabBinding,...closeBracketsKeymap,...defaultKeymap,...historyKeymap]),EditorView.updateListener.of(e=>{e.docChanged&&t!==e.state.doc.toString()&&(t=e.state.doc.toString(),clearTimeout(i),i=setTimeout(createPreviewHtml.bind(null,e.state.doc.toString()),200))}),EditorView.domEventHandlers({paste:t=>{var n=t.clipboardData;if(n&&n.items){const r=n.items;if(r.length){let i=null;for(let e=0;e{const e=$.ajaxSettings.xhr();if(e.upload)return e.upload.addEventListener("progress",e=>{e=e.loaded/e.total*100;$(".cm-progress-left").width(e/2+"%"),$(".cm-progress-right").width(e/2+"%")},!1),e},success:e=>{$(".cm-progress-left").width(0),$(".cm-progress-right").width(0),this._isPasting=!1;e=`${super._getLineCh(s)?"\n":""}![${e[1].title}](${e[0]})\n`;super._replaceSelection(s,e),s.focus()},error:()=>{$(".cm-progress-left").width(0),$(".cm-progress-right").width(0),this._isPasting=!1}})}}}}}},scroll:e=>{window.JoeConfig.canPreview&&e&&e.target&&"cm-scroller"===e.target.className&&(window.requestAnimationFrame?window.requestAnimationFrame(()=>super._updateScroller(e.target,document.querySelector(".cm-preview"))):super._updateScroller(e.target,document.querySelector(".cm-preview")))}})],tabSize:4})});$(".cm-mainer").prepend(s.dom),$("#text")[0].form&&$("#text")[0].form.addEventListener("submit",()=>$("#text").val(s.state.doc.toString())),this.cm=s}init_Preview(){const n=(e,t,i)=>{let n=t+(e-i);n<=0&&(n=0),n>=$(".cm-mainer").outerWidth()-16&&(n=$(".cm-mainer").outerWidth()-16),$(".cm-preview").width(n)};$(".cm-resize").on({mousedown:e=>{e.preventDefault(),e.stopPropagation();const t=$(".cm-preview").outerWidth(),i=e.clientX;return $(".cm-preview").addClass("move"),document.onmousemove=e=>{window.requestAnimationFrame?requestAnimationFrame(()=>n(i,t,e.clientX)):n(i,t,e.clientX)},!(document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,$(".cm-preview").removeClass("move")})},touchstart:e=>{e.preventDefault(),e.stopPropagation();const t=$(".cm-preview").outerWidth(),i=e.originalEvent.targetTouches[0].clientX;return $(".cm-preview").addClass("move"),document.ontouchmove=e=>{window.requestAnimationFrame?requestAnimationFrame(()=>n(i,t,e.targetTouches[0].clientX)):n(i,t,e.targetTouches[0].clientX)},!(document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null,$(".cm-preview").removeClass("move")})}})}init_Tools(){tools.forEach(t=>{if("title"===t.type)super.handleTitle(this.cm,t);else{const i=$(`
${t.innerHTML}
`);i.on("click",e=>{switch(e.preventDefault(),t.type){case"fullScreen":super.handleFullScreen(i);break;case"publish":super.handlePublish();break;case"undo":super.handleUndo(this.cm);break;case"redo":super.handleRedo(this.cm);break;case"time":super.handleTime(this.cm);break;case"bold":super._insetAmboText(this.cm,"**");break;case"italic":super._insetAmboText(this.cm,"*");break;case"delete":super._insetAmboText(this.cm,"~~");break;case"code-inline":super._insetAmboText(this.cm,"`");break;case"indent":super.handleIndent(this.cm);break;case"hr":super.handleHr(this.cm);break;case"clean":super.handleClean(this.cm);break;case"ordered-list":super.handleOrdered(this.cm);break;case"unordered-list":super.handleUnordered(this.cm);break;case"quote":super.handleQuote(this.cm);break;case"download":super.handleDownload(this.cm);break;case"link":super.handleLink(this.cm);break;case"image":super.handleImage(this.cm);break;case"table":super.handleTable(this.cm);break;case"code-block":super.handleCodeBlock(this.cm);break;case"about":super.handleAbout();break;case"character":super._createTableLists(this.cm,JoeConfig.characterAPI,"星星符号","字符大全");break;case"emoji":super._createTableLists(this.cm,JoeConfig.emojiAPI,"表情","符号表情(需数据库支持)");break;case"task-no":super.handleTask(this.cm,!1);break;case"task-yes":super.handleTask(this.cm,!0);break;case"netease-list":super.handleNetease(this.cm,!0);break;case"netease-single":super.handleNetease(this.cm,!1);break;case"bilibili":super.handleBilibili(this.cm);break;case"dplayer":super.handleDplayer(this.cm);break;case"draft":super.handleDraft();break;case"expression":super.handleExpression(this.cm);break;case"mtitle":super.handleMtitle(this.cm);break;case"html":super.handleHtml(this.cm);break;case"abtn":super.handleAbtn(this.cm);break;case"anote":super.handleAnote(this.cm);break;case"dotted":super.handleDotted(this.cm);break;case"hide":super.handleHide(this.cm);break;case"card-default":super.handleCardDefault(this.cm);break;case"message":super.handleMessage(this.cm);break;case"progress":super.handleProgress(this.cm);break;case"callout":super.handleCallout(this.cm);break;case"mp3":super.handleMp3(this.cm);break;case"tabs":super.handleTabs(this.cm);break;case"card-list":super.handleCardList(this.cm);break;case"timeline":super.handleTimeline(this.cm);break;case"copy":super.handleCopy(this.cm);break;case"card-describe":super.handleCardDescribe(this.cm);break;case"lamp":super.handleLamp(this.cm);break;case"collapse":super.handleCollapse(this.cm);break;case"cloud":super.handleCloud(this.cm);break;case"gird":super.handleGird(this.cm);break;case"alert":super.handleAlert(this.cm);break;case"preview":i.toggleClass("active"),i.hasClass("active")?window.JoeConfig.canPreview=!0:window.JoeConfig.canPreview=!1,createPreviewHtml(this.cm.state.doc.toString()),window.JoeConfig.canPreview&&super._updateScroller(document.querySelector(".cm-scroller"),document.querySelector(".cm-preview"))}}),$(".cm-tools").append(i)}})}init_Insert(){Typecho.insertFileToEditor=(e,t,i)=>{t=`${super._getLineCh(this.cm)?"\n":""}${i?"!":""}[${e}](${t})\n`;super._replaceSelection(this.cm,t),this.cm.focus()}}init_AutoSave(){if(1===window.JoeConfig.autoSave){const a=$("#text")[0].form;let i=$(a).find('input[name="cid"]').val(),n=null,r=$(a).find('input[name="title"]').val(),s=$(a).find('textarea[name="text"]').val();setInterval(()=>{$(a).find('input[name="cid"]').val(i),$(a).find('textarea[name="text"]').val(this.cm.state.doc.toString());let e=$(a).find('input[name="title"]').val();var t=$(a).find('textarea[name="text"]').val();""!==e.trim()&&(r===e&&s===t||(r=e,s=t,$(".cm-autosave").addClass("active"),$.ajax({url:a.action,type:"POST",data:$(a).serialize()+"&do=save",dataType:"json",success:e=>{i=e.cid,n=setTimeout(()=>{$(".cm-autosave").removeClass("active"),clearTimeout(n)},1e3)}})))},5e3)}}}document.addEventListener("DOMContentLoaded",()=>new Joe);export{ContextTracker as C,ExternalTokenizer as E,Language as L,NodeType as N,Parser as P,Tree as T,styleTags as a,NodeSet as b,countColumn as c,defineLanguageFacet as d,indentNodeProp as e,continuedIndent as f,getIndentUnit as g,foldNodeProp as h,indentService as i,LezerLanguage as j,ifNotIn as k,languageDataProp as l,completeFromList as m,LanguageSupport as n,NodeProp as o,flatIndent as p,foldInside as q,syntaxTree as s,tags$1 as t}; diff --git a/typecho/write/dist/javascript-9e8f260e.js b/typecho/write/dist/javascript-9e8f260e.js new file mode 100644 index 0000000..39ece91 --- /dev/null +++ b/typecho/write/dist/javascript-9e8f260e.js @@ -0,0 +1 @@ +function mkJavaScript(f){var e,t,r,n,a,d=f.statementIndent,u=f.jsonld,o=f.json||u,s=f.typescript,l=f.wordCharacters||/[\w$\xa1-\uffff]/,c=(e=i("keyword a"),t=i("keyword b"),r=i("keyword c"),n=i("keyword d"),a=i("operator"),{if:i("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:i("new"),delete:r,void:r,throw:r,debugger:i("debugger"),var:i("var"),const:i("var"),let:i("var"),function:i("function"),catch:i("catch"),for:i("for"),switch:i("switch"),case:i("case"),default:i("default"),in:a,typeof:a,instanceof:a,true:a={type:"atom",style:"atom"},false:a,null:a,undefined:a,NaN:a,Infinity:a,this:i("this"),class:i("class"),super:i("atom"),yield:r,export:i("export"),import:i("import"),extends:r,await:r});function i(e){return{type:e,style:"keyword"}}var m,p,k=/[+\-*&%=<>!?|~^@]/,v=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function y(e,t,r){return m=e,p=r,t}function w(e,t){var r,n,a,i,o=e.next();if('"'==o||"'"==o)return t.tokenize=(i=o,function(e,t){var r,n=!1;if(u&&"@"==e.peek()&&e.match(v))return t.tokenize=w,y("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=i||n);)n=!n&&"\\"==r;return n||(t.tokenize=w),y("string","string")}),t.tokenize(e,t);if("."==o&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return y("number","number");if("."==o&&e.match(".."))return y("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(o))return y(o);if("="==o&&e.eat(">"))return y("=>","operator");if("0"==o&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return y("number","number");if(/\d/.test(o))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),y("number","number");if("/"==o)return e.eat("*")?(t.tokenize=b)(e,t):e.eat("/")?(e.skipToEnd(),y("comment","comment")):(r=e,a=1,(n=t).tokenize==w&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(n.lastType)||"quasi"==n.lastType&&/\{\s*$/.test(r.string.slice(0,r.pos-(a||0)))?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),y("regexp","string.special")):(e.eat("="),y("operator","operator",e.current())));if("`"==o)return(t.tokenize=h)(e,t);if("#"==o&&"!"==e.peek())return e.skipToEnd(),y("meta","meta");if("#"==o&&e.eatWhile(l))return y("variable","property");if("<"==o&&e.match("!--")||"-"==o&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),y("comment","comment");if(k.test(o))return">"==o&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=o&&"="!=o||e.eat("="):/[<>*+\-|&?]/.test(o)&&(e.eat(o),">"==o&&e.eat(o))),"?"==o&&e.eat(".")?y("."):y("operator","operator",e.current());if(l.test(o)){e.eatWhile(l);o=e.current();if("."!=t.lastType){if(c.propertyIsEnumerable(o)){t=c[o];return y(t.type,t.style,o)}if("async"==o&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return y("async","keyword",o)}return y("variable","variable",o)}}function b(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=w;break}n="*"==r}return y("comment","comment")}function h(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=w;break}n=!n&&"\\"==r}return y("quasi","string.special",e.current())}var x="([{}])";function g(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r,n=e.string.indexOf("=>",e.start);if(!(n<0)){!s||(r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n)))&&(n=r.index);for(var a=0,i=!1,o=n-1;0<=o;--o){var u=e.string.charAt(o),c=x.indexOf(u);if(0<=c&&c<3){if(!a){++o;break}if(0==--a){"("==u&&(i=!0);break}}else if(3<=c&&c<6)++a;else if(l.test(u))i=!0;else if(/["'\/`]/.test(u))for(;;--o){if(0==o)return;if(e.string.charAt(o-1)==u&&"\\"!=e.string.charAt(o-2)){o--;break}}else if(i&&!a){++o;break}}i&&!a&&(t.fatArrowAt=o)}}var V={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function A(e,t,r,n,a,i){this.indented=e,this.column=t,this.type=r,this.prev=a,this.info=i,null!=n&&(this.align=n)}function z(e,t,r,n,a){var i=e.cc;for(j.state=e,j.stream=a,j.marked=null,j.cc=i,j.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():o?U:D)(r,n)){for(;i.length&&i[i.length-1].lex;)i.pop()();return j.marked?j.marked:"variable"==r&&function(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return 1;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return 1}(e,n)?"variableName.local":t}}var j={state:null,column:null,marked:null,cc:null};function T(){for(var e=arguments.length-1;0<=e;e--)j.cc.push(arguments[e])}function $(){return T.apply(null,arguments),!0}function S(e,t){for(var r=t;r;r=r.next)if(r.name==e)return 1}function O(e){var t=j.state;if(j.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,r){{if(r){if(r.block){var n=e(t,r.prev);return n?n==r.prev?r:new E(n,r.vars,!0):null}return S(t,r.vars)?r:new E(r.prev,new q(t,r.vars),!1)}return null}}(e,t.context);if(null!=r)return void(t.context=r)}else if(!S(e,t.localVars))return void(t.localVars=new q(e,t.localVars));f.globalVars&&!S(e,t.globalVars)&&(t.globalVars=new q(e,t.globalVars))}function _(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function E(e,t,r){this.prev=e,this.vars=t,this.block=r}function q(e,t){this.name=e,this.next=t}var I=new q("this",new q("arguments",null));function J(){j.state.context=new E(j.state.context,j.state.localVars,!1),j.state.localVars=I}function N(){j.state.context=new E(j.state.context,j.state.localVars,!0),j.state.localVars=null}function P(){j.state.localVars=j.state.context.vars,j.state.context=j.state.context.prev}function C(n,a){function e(){var e=j.state,t=e.indented;if("stat"==e.lexical.type)t=e.lexical.indented;else for(var r=e.lexical;r&&")"==r.type&&r.align;r=r.prev)t=r.indented;e.lexical=new A(t,j.stream.column(),n,null,e.lexical,a)}return e.lex=!0,e}function W(){var e=j.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function B(r){return function e(t){return t==r?$():";"==r||"}"==t||")"==t||"]"==t?T():$(e)}}function D(e,t){return"var"==e?$(C("vardef",t),Ve,B(";"),W):"keyword a"==e?$(C("form"),H,D,W):"keyword b"==e?$(C("form"),D,W):"keyword d"==e?j.stream.match(/^\s*$/,!1)?$():$(C("stat"),L,B(";"),W):"debugger"==e?$(B(";")):"{"==e?$(C("}"),N,se,W,P):";"==e?$():"if"==e?("else"==j.state.lexical.info&&j.state.cc[j.state.cc.length-1]==W&&j.state.cc.pop()(),$(C("form"),H,D,W,Se)):"function"==e?$(qe):"for"==e?$(C("form"),Oe,D,W):"class"==e||s&&"interface"==t?(j.marked="keyword",$(C("form","class"==e?e:t),Ce,W)):"variable"==e?s&&"declare"==t?(j.marked="keyword",$(D)):s&&("module"==t||"enum"==t||"type"==t)&&j.stream.match(/^\s*\w/,!1)?(j.marked="keyword","enum"==t?$(Re):"type"==t?$(Je,B("operator"),pe,B(";")):$(C("form"),Ae,B("{"),C("}"),se,W,W)):s&&"namespace"==t?(j.marked="keyword",$(C("form"),U,D,W)):s&&"abstract"==t?(j.marked="keyword",$(D)):$(C("stat"),re):"switch"==e?$(C("form"),H,B("{"),C("}","switch"),N,se,W,W,P):"case"==e?$(U,B(":")):"default"==e?$(B(":")):"catch"==e?$(C("form"),J,F,D,W,P):"export"==e?$(C("stat"),Fe,W):"import"==e?$(C("stat"),Ge,W):"async"==e?$(D):"@"==t?$(U,D):T(C("stat"),U,B(";"),W)}function F(e){if("("==e)return $(Ne,B(")"))}function U(e,t){return K(e,t,!1)}function G(e,t){return K(e,t,!0)}function H(e){return"("!=e?T():$(C(")"),L,B(")"),W)}function K(e,t,r){if(j.state.fatArrowAt==j.stream.start){var n=r?Z:Y;if("("==e)return $(J,C(")"),ue(Ne,")"),W,B("=>"),n,P);if("variable"==e)return T(J,Ae,B("=>"),n,P)}var a,n=r?Q:M;return V.hasOwnProperty(e)?$(n):"function"==e?$(qe,n):"class"==e||s&&"interface"==t?(j.marked="keyword",$(C("form"),Pe,W)):"keyword c"==e||"async"==e?$(r?G:U):"("==e?$(C(")"),L,B(")"),W,n):"operator"==e||"spread"==e?$(r?G:U):"["==e?$(C("]"),Qe,W,n):"{"==e?ce(ae,"}",null,n):"quasi"==e?T(R,n):"new"==e?$((a=r,function(e){return"."==e?$(a?te:ee):"variable"==e&&s?$(he,a?Q:M):T(a?G:U)})):$()}function L(e){return e.match(/[;\}\)\],]/)?T():T(U)}function M(e,t){return","==e?$(L):Q(e,t,!1)}function Q(e,t,r){var n=0==r?M:Q,a=0==r?U:G;return"=>"==e?$(J,r?Z:Y,P):"operator"==e?/\+\+|--/.test(t)||s&&"!"==t?$(n):s&&"<"==t&&j.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?$(C(">"),ue(pe,">"),W,n):"?"==t?$(U,B(":"),a):$(a):"quasi"==e?T(R,n):";"!=e?"("==e?ce(G,")","call",n):"."==e?$(ne,n):"["==e?$(C("]"),L,B("]"),W,n):s&&"as"==t?(j.marked="keyword",$(pe,n)):"regexp"==e?(j.state.lastType=j.marked="operator",j.stream.backUp(j.stream.pos-j.stream.start-1),$(a)):void 0:void 0}function R(e,t){return"quasi"!=e?T():"${"!=t.slice(t.length-2)?$(R):$(U,X)}function X(e){if("}"==e)return j.marked="string.special",j.state.tokenize=h,$(R)}function Y(e){return g(j.stream,j.state),T("{"==e?D:U)}function Z(e){return g(j.stream,j.state),T("{"==e?D:G)}function ee(e,t){if("target"==t)return j.marked="keyword",$(M)}function te(e,t){if("target"==t)return j.marked="keyword",$(Q)}function re(e){return":"==e?$(W,D):T(M,B(";"),W)}function ne(e){if("variable"==e)return j.marked="property",$()}function ae(e,t){return"async"==e?(j.marked="property",$(ae)):"variable"!=e&&"keyword"!=j.style?"number"==e||"string"==e?(j.marked=u?"property":j.style+" property",$(oe)):"jsonld-keyword"==e?$(oe):s&&_(t)?(j.marked="keyword",$(ae)):"["==e?$(U,le,B("]"),oe):"spread"==e?$(G,oe):"*"==t?(j.marked="keyword",$(ae)):":"==e?T(oe):void 0:(j.marked="property","get"==t||"set"==t?$(ie):(s&&j.state.fatArrowAt==j.stream.start&&(r=j.stream.match(/^\s*:\s*/,!1))&&(j.state.fatArrowAt=j.stream.pos+r[0].length),$(oe)));var r}function ie(e){return"variable"!=e?T(oe):(j.marked="property",$(qe))}function oe(e){return":"==e?$(G):"("==e?T(qe):void 0}function ue(n,a,i){function o(e,t){if(i?-1"),pe):void 0}function ke(e){if("=>"==e)return $(pe)}function ve(e){return e.match(/[\}\)\]]/)?$():","==e||";"==e?$(ve):T(ye,ve)}function ye(e,t){return"variable"==e||"keyword"==j.style?(j.marked="property",$(ye)):"?"==t||"number"==e||"string"==e?$(ye):":"==e?$(pe):"["==e?$(B("variable"),fe,B("]"),ye):"("==e?T(Ie,ye):e.match(/[;\}\)\],]/)?void 0:$()}function we(e,t){return"variable"==e&&j.stream.match(/^\s*[?:]/,!1)||"?"==t?$(we):":"==e?$(pe):"spread"==e?$(we):T(pe)}function be(e,t){return"<"==t?$(C(">"),ue(pe,">"),W,be):"|"==t||"."==e||"&"==t?$(pe):"["==e?$(pe,B("]"),be):"extends"==t||"implements"==t?(j.marked="keyword",$(pe)):"?"==t?$(pe,B(":"),pe):void 0}function he(e,t){if("<"==t)return $(C(">"),ue(pe,">"),W,be)}function xe(){return T(pe,ge)}function ge(e,t){if("="==t)return $(pe)}function Ve(e,t){return"enum"==t?(j.marked="keyword",$(Re)):T(Ae,le,Te,$e)}function Ae(e,t){return s&&_(t)?(j.marked="keyword",$(Ae)):"variable"==e?(O(t),$()):"spread"==e?$(Ae):"["==e?ce(je,"]"):"{"==e?ce(ze,"}"):void 0}function ze(e,t){return"variable"!=e||j.stream.match(/^\s*:/,!1)?("variable"==e&&(j.marked="property"),"spread"==e?$(Ae):"}"==e?T():"["==e?$(U,B("]"),B(":"),ze):$(B(":"),Ae,Te)):(O(t),$(Te))}function je(){return T(Ae,Te)}function Te(e,t){if("="==t)return $(G)}function $e(e){if(","==e)return $(Ve)}function Se(e,t){if("keyword b"==e&&"else"==t)return $(C("form","else"),D,W)}function Oe(e,t){return"await"==t?$(Oe):"("==e?$(C(")"),_e,W):void 0}function _e(e){return"var"==e?$(Ve,Ee):("variable"==e?$:T)(Ee)}function Ee(e,t){return")"==e?$():";"==e?$(Ee):"in"==t||"of"==t?(j.marked="keyword",$(U,Ee)):T(U,Ee)}function qe(e,t){return"*"==t?(j.marked="keyword",$(qe)):"variable"==e?(O(t),$(qe)):"("==e?$(J,C(")"),ue(Ne,")"),W,de,D,P):s&&"<"==t?$(C(">"),ue(xe,">"),W,qe):void 0}function Ie(e,t){return"*"==t?(j.marked="keyword",$(Ie)):"variable"==e?(O(t),$(Ie)):"("==e?$(J,C(")"),ue(Ne,")"),W,de,P):s&&"<"==t?$(C(">"),ue(xe,">"),W,Ie):void 0}function Je(e,t){return"keyword"==e||"variable"==e?(j.marked="type",$(Je)):"<"==t?$(C(">"),ue(xe,">"),W):void 0}function Ne(e,t){return"@"==t&&$(U,Ne),"spread"==e?$(Ne):s&&_(t)?(j.marked="keyword",$(Ne)):s&&"this"==e?$(le,Te):T(Ae,le,Te)}function Pe(e,t){return("variable"==e?Ce:We)(e,t)}function Ce(e,t){if("variable"==e)return O(t),$(We)}function We(e,t){return"<"==t?$(C(">"),ue(xe,">"),W,We):"extends"==t||"implements"==t||s&&","==e?("implements"==t&&(j.marked="keyword"),$(s?pe:U,We)):"{"==e?$(C("}"),Be,W):void 0}function Be(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||s&&_(t))&&j.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(j.marked="keyword",$(Be)):"variable"==e||"keyword"==j.style?(j.marked="property",$(De,Be)):"number"==e||"string"==e?$(De,Be):"["==e?$(U,le,B("]"),De,Be):"*"==t?(j.marked="keyword",$(Be)):s&&"("==e?T(Ie,Be):";"==e||","==e?$(Be):"}"==e?$():"@"==t?$(U,Be):void 0}function De(e,t){if("?"==t)return $(De);if(":"==e)return $(pe,Te);if("="==t)return $(G);t=j.state.lexical.prev;return T(t&&"interface"==t.info?Ie:qe)}function Fe(e,t){return"*"==t?(j.marked="keyword",$(Me,B(";"))):"default"==t?(j.marked="keyword",$(U,B(";"))):"{"==e?$(ue(Ue,"}"),Me,B(";")):T(D)}function Ue(e,t){return"as"==t?(j.marked="keyword",$(B("variable"))):"variable"==e?T(G,Ue):void 0}function Ge(e){return"string"==e?$():"("==e?T(U):"."==e?T(M):T(He,Ke,Me)}function He(e,t){return"{"==e?ce(He,"}"):("variable"==e&&O(t),"*"==t&&(j.marked="keyword"),$(Le))}function Ke(e){if(","==e)return $(He,Ke)}function Le(e,t){if("as"==t)return j.marked="keyword",$(He)}function Me(e,t){if("from"==t)return j.marked="keyword",$(U)}function Qe(e){return"]"==e?$():T(ue(G,"]"))}function Re(){return T(C("form"),Ae,B("{"),C("}"),ue(Xe,"}"),W,W)}function Xe(){return T(Ae,Te)}return W.lex=P.lex=!0,{startState:function(e){e={tokenize:w,lastType:"sof",cc:[],lexical:new A(-e,0,"block",!1),localVars:f.localVars,context:f.localVars&&new E(null,null,!1),indented:0};return f.globalVars&&"object"==typeof f.globalVars&&(e.globalVars=f.globalVars),e},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),g(e,t)),t.tokenize!=b&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==m?r:(t.lastType="operator"!=m||"++"!=p&&"--"!=p?m:"incdec",z(t,r,m,p,e))},indent:function(e,t,r){if(e.tokenize==b||e.tokenize==h)return null;if(e.tokenize!=w)return 0;var n,a=t&&t.charAt(0),i=e.lexical;if(!/^\s*else\b/.test(t))for(var o=e.cc.length-1;0<=o;--o){var u=e.cc[o];if(u==W)i=i.prev;else if(u!=Se)break}for(;("stat"==i.type||"form"==i.type)&&("}"==a||(n=e.cc[e.cc.length-1])&&(n==M||n==Q)&&!/^[,\.=+\-*:?[\(]/.test(t));)i=i.prev;var c,s=(i=d&&")"==i.type&&"stat"==i.prev.type?i.prev:i).type,l=a==s;return"vardef"==s?i.indented+("operator"==e.lastType||","==e.lastType?i.info.length+1:0):"form"==s&&"{"==a?i.indented:"form"==s?i.indented+r.unit:"stat"==s?i.indented+(c=t,"operator"==(s=e).lastType||","==s.lastType||k.test(c.charAt(0))||/[,.]/.test(c.charAt(0))?d||r.unit:0):"switch"!=i.info||l||0==f.doubleIndentSwitch?i.align?i.column+(l?0:1):i.indented+(l?0:r.unit):i.indented+(/^(?:case|default)\b/.test(t)?r.unit:2*r.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:o?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}const javascript=mkJavaScript({}),json=mkJavaScript({json:!0}),jsonld=mkJavaScript({jsonld:!0}),typescript=mkJavaScript({typescript:!0});export{javascript,json,jsonld,typescript}; diff --git a/typecho/write/dist/jinja2-7915044e.js b/typecho/write/dist/jinja2-7915044e.js new file mode 100644 index 0000000..b02987b --- /dev/null +++ b/typecho/write/dist/jinja2-7915044e.js @@ -0,0 +1 @@ +var keywords=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],operator=/^[+\-*&%=<>!?|~^]/,sign=/^[:\[\(\{]/,atom=["true","false"],number=/^(\d[+\-\*\/])?\d+(\.\d+)?/;function tokenBase(e,n){var t=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(atom))return"atom";if(e.match(number))return"number"}if(n.sign){if(n.sign=!1,e.match(atom))return"atom";if(e.match(number))return"number"}if(n.instring)return t==n.instring&&(n.instring=!1),e.next(),"string";if("'"==t||'"'==t)return n.instring=t,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(operator))return n.operator=!0,"operator";if(e.match(sign))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(keywords))return"keyword";if(e.match(atom))return"atom";if(e.match(number))return"number";e.sol()&&e.next()}else e.next();return"variable"}if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(t=e.eat(/\{|%/))return"{"==(n.intag=t)&&(n.intag="}"),e.eat("-"),"tag"}e.next()}keywords=new RegExp("(("+keywords.join(")|(")+"))\\b"),atom=new RegExp("(("+atom.join(")|(")+"))\\b");const jinja2={startState:function(){return{tokenize:tokenBase}},token:function(e,n){return n.tokenize(e,n)},languageData:{commentTokens:{block:{open:"{#",close:"#}"}}}};export{jinja2}; diff --git a/typecho/write/dist/julia-94b55ee6.js b/typecho/write/dist/julia-94b55ee6.js new file mode 100644 index 0000000..bb23456 --- /dev/null +++ b/typecho/write/dist/julia-94b55ee6.js @@ -0,0 +1 @@ +function wordRegexp(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t)}var octChar="\\\\[0-7]{1,3}",hexChar="\\\\x[A-Fa-f0-9]{1,2}",sChar="\\\\[abefnrtv0%?'\"\\\\]",uChar="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",operators=wordRegexp(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),delimiters=/^[;,()[\]{}]/,identifiers=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,chars=wordRegexp([octChar,hexChar,sChar,uChar],"'"),openersList=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],closersList=["end","else","elseif","catch","finally"],keywordsList=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],builtinsList=["true","false","nothing","NaN","Inf"],openers=wordRegexp(openersList),closers=wordRegexp(closersList),keywords=wordRegexp(keywordsList),builtins=wordRegexp(builtinsList),macro=/^@[_A-Za-z][\w]*/,symbol=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,stringPrefixes=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;function inArray(e){return 0]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(operators))return"operator";if(e.match(/^\.?\d/,!1)){var i=RegExp(/^im\b/),n=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(n=!0),e.match(/^0x[0-9a-f_]+/i)&&(n=!0),e.match(/^0b[01_]+/i)&&(n=!0),e.match(/^0o[0-7_]+/i)&&(n=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(n=!0),n=e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)?!0:n)return e.match(i),t.leavingExpr=!0,"number"}if(e.match("'"))return t.tokenize=tokenChar,t.tokenize(e,t);if(e.match(stringPrefixes))return t.tokenize=tokenStringFactory(e.current()),t.tokenize(e,t);if(e.match(macro))return"meta";if(e.match(delimiters))return null;if(e.match(keywords))return"keyword";if(e.match(builtins))return"builtin";i=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(identifiers)?i?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function tokenAnnotation(e,t){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?t.nestedParameters++:e.match("}")&&0|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+identifier+")?))\\s*$"),keywordend="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",stringfill={token:"string",regex:".+"},Rules={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+keywordend},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+keywordend},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+keywordend},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+keywordend},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+keywordend},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+keywordend},{token:"variableName",regex:identifier+"\\s*:(?![:=])"},{token:"variableName",regex:identifier},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:identifier,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},stringfill],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},stringfill],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},stringfill],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},stringfill],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},stringfill],words:[{token:"string",regex:".*?\\]>",next:"key"},stringfill]};for(idx in Rules){var r=Rules[idx];if(r.splice)for(var i=0,len=r.length;i~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(reIdInContext,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function tokenString(e,a){for(var t,n=!1,o=!1;null!=(t=e.next());){if('"'===t&&!o){n=!0;break}o=!o&&"\\"===t}return n&&!o&&(a.tokenize=tokenBase),"string"}function tokenComment(e,a){for(var t,n;0/,untilBracketedEmail=/^.*?(?=<.*>)/;function styleForHeader(e){return"Subject"===e?"header":"string"}function readToken(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(whitespace))return null;if(r.inHeader=!1,r.header=null,e.match(separator))return r.inHeaders=!0,r.inSeparator=!0,"atom";var a=!1;return(t=e.match(rfc2822HeaderNoEmail))||(a=!0,t=e.match(rfc2822Header))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=a,r.header=t[1],"atom"):r.inHeaders&&(t=e.match(header))?(r.inHeader=!0,r.emailPermitted=!0,r.header=t[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(email)?"link":(e.match(untilEmail)||e.skipToEnd(),"atom");if(r.inHeader){var t=styleForHeader(r.header);if(r.emailPermitted){if(e.match(bracketedEmail))return t+" link";if(e.match(untilBracketedEmail))return t}return e.skipToEnd(),t}return e.skipToEnd(),null}const mbox={startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:readToken,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:rfc2822.concat(rfc2822NoEmail)}};export{mbox}; diff --git a/typecho/write/dist/mirc-959c94b1.js b/typecho/write/dist/mirc-959c94b1.js new file mode 100644 index 0000000..cee624d --- /dev/null +++ b/typecho/write/dist/mirc-959c94b1.js @@ -0,0 +1 @@ +function parseWords(e){for(var i={},$=e.split(" "),r=0;r<$.length;++r)i[$[r]]=!0;return i}var specials=parseWords("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),keywords=parseWords("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),functions=parseWords("if elseif else and not or eq ne in ni for foreach while switch"),isOperatorChar=/[+\-*&%=<>!?^\/\|]/;function chain(e,i,$){return(i.tokenize=$)(e,i)}function tokenBase(e,i){var $=i.beforeParams;i.beforeParams=!1;var r=e.next();if(/[\[\]{}\(\),\.]/.test(r))return"("==r&&$?i.inParams=!0:")"==r&&(i.inParams=!1),null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("\\"==r)return e.eat("\\"),e.eat(/./),"number";if("/"==r&&e.eat("*"))return chain(e,i,tokenComment);if(";"==r&&e.match(/ *\( *\(/))return chain(e,i,tokenUnparsed);if(";"!=r||i.inParams){if('"'==r)return e.eat(/"/),"keyword";if("$"==r)return e.eatWhile(/[$_a-z0-9A-Z\.:]/),specials&&specials.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(i.beforeParams=!0,"builtin");if("%"==r)return e.eatWhile(/[^,\s()]/),i.beforeParams=!0,"string";if(isOperatorChar.test(r))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_{}]/);r=e.current().toLowerCase();return keywords&&keywords.propertyIsEnumerable(r)?"keyword":functions&&functions.propertyIsEnumerable(r)?(i.beforeParams=!0,"keyword"):null}return e.skipToEnd(),"comment"}function tokenComment(e,i){for(var $,r=!1;$=e.next();){if("/"==$&&r){i.tokenize=tokenBase;break}r="*"==$}return"comment"}function tokenUnparsed(e,i){for(var $,r=0;$=e.next();){if(";"==$&&2==r){i.tokenize=tokenBase;break}")"==$?r++:" "!=$&&(r=0)}return"meta"}const mirc={startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)}};export{mirc}; diff --git a/typecho/write/dist/mllike-10ca148e.js b/typecho/write/dist/mllike-10ca148e.js new file mode 100644 index 0000000..dabc2b5 --- /dev/null +++ b/typecho/write/dist/mllike-10ca148e.js @@ -0,0 +1 @@ +function mlLike(t){var e,n={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},r=t.extraWords||{};for(e in r)r.hasOwnProperty(e)&&(n[e]=t.extraWords[e]);var o,i=[];for(o in n)i.push(o);function d(e,r){var o=e.next();if('"'===o)return r.tokenize=k,r.tokenize(e,r);if("{"===o&&e.eat("|"))return r.longString=!0,r.tokenize=w,r.tokenize(e,r);if("("===o&&e.eat("*"))return r.commentLevel++,r.tokenize=y,r.tokenize(e,r);if("~"===o||"?"===o)return e.eatWhile(/\w/),"variableName.special";if("`"===o)return e.eatWhile(/\w/),"quote";if("/"===o&&t.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return"0"===o&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),"0"===o&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),"0"===o&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);e=e.current();return n.hasOwnProperty(e)?n[e]:"variable"}return null}function k(e,r){for(var o,t=!1,n=!1;null!=(o=e.next());){if('"'===o&&!n){t=!0;break}n=!n&&"\\"===o}return t&&!n&&(r.tokenize=d),"string"}function y(e,r){for(var o,t;0+\-\/^\[\]]/,isDoubleOperatorChar=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,isDigit=/[0-9]/,isNonDigit=/[_a-zA-Z]/;function tokenLineComment(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function tokenBlockComment(e,t){for(var n,i=!1;n=e.next();){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return"comment"}function tokenString(e,t){for(var n,i=!1;null!=(n=e.next());){if('"'==n&&!i){t.tokenize=null,t.sol=!1;break}i=!i&&"\\"==n}return"string"}function tokenIdent(e,t){for(e.eatWhile(isDigit);e.eat(isDigit)||e.eat(isNonDigit););var n=e.current();return!t.sol||"package"!=n&&"model"!=n&&"when"!=n&&"connector"!=n?t.sol&&"end"==n&&0","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),msgenny=mkParser({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),xu=mkParser({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function wordRegexpBoundary(t){return new RegExp("^\\b("+t.join("|")+")\\b","i")}function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")","i")}function startStateFn(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function copyStateFn(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function produceTokenFunction(e){return function(t,r){if(t.match(wordRegexp(e.brackets),!0,!0))return"bracket";if(!r.inComment){if(t.match(/\/\*[^\*\/]*/,!0,!0))return r.inComment=!0,"comment";if(t.match(wordRegexp(e.singlecomment),!0,!0))return t.skipToEnd(),"comment"}if(r.inComment)return t.match(/[^\*\/]*\*\//,!0,!0)?r.inComment=!1:t.skipToEnd(),"comment";if(!r.inString&&t.match(/\"(\\\"|[^\"])*/,!0,!0))return r.inString=!0,"string";if(r.inString)return t.match(/[^\"]*\"/,!0,!0)?r.inString=!1:t.skipToEnd(),"string";if(e.keywords&&t.match(wordRegexpBoundary(e.keywords),!0,!0))return"keyword";if(t.match(wordRegexpBoundary(e.options),!0,!0))return"keyword";if(t.match(wordRegexpBoundary(e.arcsWords),!0,!0))return"keyword";if(t.match(wordRegexp(e.arcsOthers),!0,!0))return"keyword";if(e.operators&&t.match(wordRegexp(e.operators),!0,!0))return"operator";if(e.constants&&t.match(wordRegexp(e.constants),!0,!0))return"variable";if(!e.inAttributeList&&e.attributes&&t.match("[",!0,!0))return e.inAttributeList=!0,"bracket";if(e.inAttributeList){if(null!==e.attributes&&t.match(wordRegexpBoundary(e.attributes),!0,!0))return"attribute";if(t.match("]",!0,!0))return e.inAttributeList=!1,"bracket"}return t.next(),null}}export{mscgen,msgenny,xu}; diff --git a/typecho/write/dist/mumps-067a7108.js b/typecho/write/dist/mumps-067a7108.js new file mode 100644 index 0000000..6dbe0a0 --- /dev/null +++ b/typecho/write/dist/mumps-067a7108.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var singleOperators=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),doubleOperators=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),singleDelimiters=new RegExp("^[\\.,:]"),brackets=new RegExp("[()]"),identifiers=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),commandKeywords=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],intrinsicFuncsWords=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],intrinsicFuncs=wordRegexp(intrinsicFuncsWords),command=wordRegexp(commandKeywords);function tokenBase(e,t){e.sol()&&(t.label=!0,t.commandMode=0);var n=e.peek();return" "==n||"\t"==n?(t.label=!1,0==t.commandMode?t.commandMode=1:(t.commandMode<0||2==t.commandMode)&&(t.commandMode=0)):"."!=n&&0*\/]/.test(t)?ret(null,"select-op"):/[;{}:\[\]]/.test(t)?ret(null,t):(e.eatWhile(/[\w\\\-]/),ret("variable","variable")):ret(null,"compare"):void ret(null,"compare")}function tokenCComment(e,_){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){_.tokenize=tokenBase;break}r="*"==t}return ret("comment","comment")}function tokenSGMLComment(e,_){for(var t,r=0;null!=(t=e.next());){if(2<=r&&">"==t){_.tokenize=tokenBase;break}r="-"==t?r+1:0}return ret("comment","comment")}function tokenString(s){return function(e,_){for(var t,r=!1;null!=(t=e.next())&&(t!=s||r);)r=!r&&"\\"==t;return r||(_.tokenize=tokenBase),ret("string","string")}}const nginx={startState:function(){return{tokenize:tokenBase,baseIndent:0,stack:[]}},token:function(e,_){if(e.eatSpace())return null;type=null;var t=_.tokenize(e,_),e=_.stack[_.stack.length-1];return"hash"==type&&"rule"==e?t="atom":"variable"==t&&("rule"==e?t="number":e&&"@media{"!=e||(t="tag")),"rule"==e&&/^[\{\};]$/.test(type)&&_.stack.pop(),"{"==type?"@media"==e?_.stack[_.stack.length-1]="@media{":_.stack.push("{"):"}"==type?_.stack.pop():"@media"==type?_.stack.push("@media"):"{"==e&&"comment"!=type&&_.stack.push("rule"),t},indent:function(e,_,t){var r=e.stack.length;return/^\}/.test(_)&&(r-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+r*t.unit},languageData:{indentOnInput:/^\s*\}$/}};export{nginx}; diff --git a/typecho/write/dist/nsis-dc357a04.js b/typecho/write/dist/nsis-dc357a04.js new file mode 100644 index 0000000..79f570a --- /dev/null +++ b/typecho/write/dist/nsis-dc357a04.js @@ -0,0 +1 @@ +import{s as simpleMode}from"./simple-mode-3ccd66eb.js";const nsis=simpleMode({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|pragma|finalize|getdllversion|gettlbversion|system|tempfile|warning|verbose|define|undef|insertmacro|macro|macroend|makensis|searchparse|searchreplace))\b/,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,token:"atom"},{regex:/\b(?:admin|all|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|zlib)\b/,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/,token:"controlKeyword",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/,token:"modifier",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/,token:"controlKeyword",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/,token:"keyword",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w+/,token:"variable"},{regex:/\${[\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}});export{nsis}; diff --git a/typecho/write/dist/ntriples-12e84b21.js b/typecho/write/dist/ntriples-12e84b21.js new file mode 100644 index 0000000..83947ca --- /dev/null +++ b/typecho/write/dist/ntriples-12e84b21.js @@ -0,0 +1 @@ +var Location={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function transitState(t,n){var a=t.location,a=a==Location.PRE_SUBJECT&&"<"==n?Location.WRITING_SUB_URI:a==Location.PRE_SUBJECT&&"_"==n?Location.WRITING_BNODE_URI:a==Location.PRE_PRED&&"<"==n?Location.WRITING_PRED_URI:a==Location.PRE_OBJ&&"<"==n?Location.WRITING_OBJ_URI:a==Location.PRE_OBJ&&"_"==n?Location.WRITING_OBJ_BNODE:a==Location.PRE_OBJ&&'"'==n?Location.WRITING_OBJ_LITERAL:a==Location.WRITING_SUB_URI&&">"==n||a==Location.WRITING_BNODE_URI&&" "==n?Location.PRE_PRED:a==Location.WRITING_PRED_URI&&">"==n?Location.PRE_OBJ:a==Location.WRITING_OBJ_URI&&">"==n||a==Location.WRITING_OBJ_BNODE&&" "==n||a==Location.WRITING_OBJ_LITERAL&&'"'==n||a==Location.WRITING_LIT_LANG&&" "==n||a==Location.WRITING_LIT_TYPE&&">"==n?Location.POST_OBJ:a==Location.WRITING_OBJ_LITERAL&&"@"==n?Location.WRITING_LIT_LANG:a==Location.WRITING_OBJ_LITERAL&&"^"==n?Location.WRITING_LIT_TYPE:" "!=n||a!=Location.PRE_SUBJECT&&a!=Location.PRE_PRED&&a!=Location.PRE_OBJ&&a!=Location.POST_OBJ?a==Location.POST_OBJ&&"."==n?Location.PRE_SUBJECT:Location.ERROR:a;t.location=a}const ntriples={startState:function(){return{location:Location.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(t,n){var a=t.next();if("<"==a){transitState(n,a);var o="";return(t.eatWhile(function(t){return"#"!=t&&">"!=t&&(o+=t,!0)}),n.uris.push(o),t.match("#",!1))?"variable":(t.next(),transitState(n,">"),"variable")}if("#"==a){var i="";return t.eatWhile(function(t){return">"!=t&&" "!=t&&(i+=t,!0)}),n.anchors.push(i),"url"}if(">"==a)return transitState(n,">"),"variable";if("_"==a){transitState(n,a);var I="";return t.eatWhile(function(t){return" "!=t&&(I+=t,!0)}),n.bnodes.push(I),t.next(),transitState(n," "),"builtin"}if('"'==a)return transitState(n,a),t.eatWhile(function(t){return'"'!=t}),t.next(),"@"!=t.peek()&&"^"!=t.peek()&&transitState(n,'"'),"string";if("@"==a){transitState(n,"@");var _="";return t.eatWhile(function(t){return" "!=t&&(_+=t,!0)}),n.langs.push(_),t.next(),transitState(n," "),"string.special"}if("^"==a){t.next(),transitState(n,"^");var R="";return t.eatWhile(function(t){return">"!=t&&(R+=t,!0)}),n.types.push(R),t.next(),transitState(n,">"),"variable"}" "==a&&transitState(n,a),"."==a&&transitState(n,a)}};export{ntriples}; diff --git a/typecho/write/dist/octave-dfed99d7.js b/typecho/write/dist/octave-dfed99d7.js new file mode 100644 index 0000000..5bcc41d --- /dev/null +++ b/typecho/write/dist/octave-dfed99d7.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var singleOperators=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),singleDelimiters=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),doubleOperators=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),doubleDelimiters=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),tripleDelimiters=new RegExp("^((>>=)|(<<=))"),expressionEnd=new RegExp("^[\\]\\)]"),identifiers=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),builtins=wordRegexp(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),keywords=wordRegexp(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function tokenTranspose(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=tokenBase)(e,n):(e.next(),n.tokenize=tokenBase,"operator")}function tokenComment(e,n){return e.match(/^.*%}/)?n.tokenize=tokenBase:e.skipToEnd(),"comment"}function tokenBase(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=tokenComment,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=tokenBase,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(wordRegexp(["nan","NaN","inf","Inf"])))return"number";var t=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return t?t[1]?"string":"error":e.match(keywords)?"keyword":e.match(builtins)?"builtin":e.match(identifiers)?"variable":e.match(singleOperators)||e.match(doubleOperators)?"operator":e.match(singleDelimiters)||e.match(doubleDelimiters)||e.match(tripleDelimiters)?null:e.match(expressionEnd)?(n.tokenize=tokenTranspose,null):(e.next(),"error")}const octave={startState:function(){return{tokenize:tokenBase}},token:function(e,n){e=n.tokenize(e,n);return"number"!==e&&"variable"!==e||(n.tokenize=tokenTranspose),e},languageData:{commentTokens:{line:"%"}}};export{octave}; diff --git a/typecho/write/dist/oz-2401d70e.js b/typecho/write/dist/oz-2401d70e.js new file mode 100644 index 0000000..443012a --- /dev/null +++ b/typecho/write/dist/oz-2401d70e.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var singleOperators=/[\^@!\|<>#~\.\*\-\+\\/,=]/,doubleOperators=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,tripleOperators=/(:::)|(\.\.\.)|(=<:)|(>=:)/,middle=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],end=["end"],atoms=wordRegexp(["true","false","nil","unit"]),commonKeywords=wordRegexp(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),openingKeywords=wordRegexp(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),middleKeywords=wordRegexp(middle),endKeywords=wordRegexp(end);function tokenBase(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(tripleOperators)||e.match(doubleOperators))return"operator";if(e.match(atoms))return"atom";var n=e.match(openingKeywords);if(n)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==n[0]||"fun"==n[0]?t.tokenize=tokenFunProc:"class"==n[0]?t.tokenize=tokenClass:"meth"==n[0]&&(t.tokenize=tokenMeth),"keyword";if(e.match(middleKeywords)||e.match(commonKeywords))return"keyword";if(e.match(endKeywords))return t.currentIndent--,"keyword";n=e.next();if('"'==n||"'"==n)return t.tokenize=tokenString(n),t.tokenize(e,t);if(/[~\d]/.test(n)){if("~"==n){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==n?(e.skipToEnd(),"comment"):"/"==n&&e.eat("*")?(t.tokenize=tokenComment)(e,t):singleOperators.test(n)?"operator":(e.eatWhile(/\w/),"variable")}function tokenClass(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"type")}function tokenMeth(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"def")}function tokenFunProc(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=tokenBase,"def"):(t.tokenize=tokenBase,null)}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function tokenString(a){return function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==a&&!r){o=!0;break}r=!r&&"\\"==n}return!o&&r||(t.tokenize=tokenBase),"string"}}function buildElectricInputRegEx(){var e=middle.concat(end);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}const oz={startState:function(){return{tokenize:tokenBase,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(e,t,n){t=t.replace(/^\s+|\s+$/g,"");return t.match(endKeywords)||t.match(middleKeywords)||t.match(/(\[])/)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{indentOnInut:buildElectricInputRegEx(),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}};export{oz}; diff --git a/typecho/write/dist/pascal-05191d71.js b/typecho/write/dist/pascal-05191d71.js new file mode 100644 index 0000000..14d7ce1 --- /dev/null +++ b/typecho/write/dist/pascal-05191d71.js @@ -0,0 +1 @@ +function words(e){for(var t={},r=e.split(" "),n=0;n!?|\/]/;function tokenBase(e,t){var r=e.next();if("#"==r&&t.startOfLine)return e.skipToEnd(),"meta";if('"'==r||"'"==r)return t.tokenize=tokenString(r),t.tokenize(e,t);if("("==r&&e.eat("*"))return(t.tokenize=tokenComment)(e,t);if("{"==r)return(t.tokenize=tokenCommentBraces)(e,t);if(/[\[\]\(\),;\:\.]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(isOperatorChar.test(r))return e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_]/);e=e.current();return keywords.propertyIsEnumerable(e)?"keyword":atoms.propertyIsEnumerable(e)?"atom":"variable"}function tokenString(o){return function(e,t){for(var r,n=!1,a=!1;null!=(r=e.next());){if(r==o&&!n){a=!0;break}n=!n&&"\\"==r}return!a&&n||(t.tokenize=null),"string"}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if(")"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function tokenCommentBraces(e,t){for(var r;r=e.next();)if("}"==r){t.tokenize=null;break}return"comment"}const pascal={startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;t=(t.tokenize||tokenBase)(e,t);return t},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}};export{pascal}; diff --git a/typecho/write/dist/perl-1568efe3.js b/typecho/write/dist/perl-1568efe3.js new file mode 100644 index 0000000..6dab62a --- /dev/null +++ b/typecho/write/dist/perl-1568efe3.js @@ -0,0 +1 @@ +function look(e,t){return e.string.charAt(e.pos+(t||0))}function prefix(e,t){if(t){var n=e.pos-t;return e.string.substr(0<=n?n:0,t)}return e.string.substr(0,e.pos-1)}function suffix(e,t){var n=e.string.length,i=n-e.pos+1;return e.string.substr(e.pos,t&&t=(t=e.string.length-1)?e.pos=t:e.pos=n}var PERL={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},RXstyle="string.special",RXmodifiers=/[goseximacplud]/;function tokenChain(e,t,o,s,a){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var n,i=!1,r=0;n=e.next();){if(n===o[r]&&!i)return void 0!==o[++r]?(t.chain=o[r],t.style=s,t.tail=a):a&&e.eatWhile(a),t.tokenize=tokenPerl,s;i=!i&&"\\"==n}return s},t.tokenize(e,t)}function tokenSOMETHING(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=tokenPerl),e.skipToEnd(),"string"},t.tokenize(e,t)}function tokenPerl(e,t){if(e.eatSpace())return null;if(t.chain)return tokenChain(e,t,t.chain,t.style,t.tail);if(e.match(/^\-?[\d\.]/,!1)&&e.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(e.match(/^<<(?=[_a-zA-Z])/))return e.eatWhile(/\w/),tokenSOMETHING(e,t,e.current().substr(2));if(e.sol()&&e.match(/^\=item(?!\w)/))return tokenSOMETHING(e,t,"=cut");var n=e.next();if('"'==n||"'"==n){if(prefix(e,3)=="<<"+n){var i=e.pos;e.eatWhile(/\w/);var r=e.current().substr(1);if(r&&e.eat(n))return tokenSOMETHING(e,t,r);e.pos=i}return tokenChain(e,t,[n],"string")}if("q"==n&&(!(o=look(e,-2))||!/\w/.test(o)))if("x"==(o=look(e,0))){if("("==(o=look(e,1)))return eatSuffix(e,2),tokenChain(e,t,[")"],RXstyle,RXmodifiers);if("["==o)return eatSuffix(e,2),tokenChain(e,t,["]"],RXstyle,RXmodifiers);if("{"==o)return eatSuffix(e,2),tokenChain(e,t,["}"],RXstyle,RXmodifiers);if("<"==o)return eatSuffix(e,2),tokenChain(e,t,[">"],RXstyle,RXmodifiers);if(/[\^'"!~\/]/.test(o))return eatSuffix(e,1),tokenChain(e,t,[e.eat(o)],RXstyle,RXmodifiers)}else if("q"==o){if("("==(o=look(e,1)))return eatSuffix(e,2),tokenChain(e,t,[")"],"string");if("["==o)return eatSuffix(e,2),tokenChain(e,t,["]"],"string");if("{"==o)return eatSuffix(e,2),tokenChain(e,t,["}"],"string");if("<"==o)return eatSuffix(e,2),tokenChain(e,t,[">"],"string");if(/[\^'"!~\/]/.test(o))return eatSuffix(e,1),tokenChain(e,t,[e.eat(o)],"string")}else if("w"==o){if("("==(o=look(e,1)))return eatSuffix(e,2),tokenChain(e,t,[")"],"bracket");if("["==o)return eatSuffix(e,2),tokenChain(e,t,["]"],"bracket");if("{"==o)return eatSuffix(e,2),tokenChain(e,t,["}"],"bracket");if("<"==o)return eatSuffix(e,2),tokenChain(e,t,[">"],"bracket");if(/[\^'"!~\/]/.test(o))return eatSuffix(e,1),tokenChain(e,t,[e.eat(o)],"bracket")}else if("r"==o){if("("==(o=look(e,1)))return eatSuffix(e,2),tokenChain(e,t,[")"],RXstyle,RXmodifiers);if("["==o)return eatSuffix(e,2),tokenChain(e,t,["]"],RXstyle,RXmodifiers);if("{"==o)return eatSuffix(e,2),tokenChain(e,t,["}"],RXstyle,RXmodifiers);if("<"==o)return eatSuffix(e,2),tokenChain(e,t,[">"],RXstyle,RXmodifiers);if(/[\^'"!~\/]/.test(o))return eatSuffix(e,1),tokenChain(e,t,[e.eat(o)],RXstyle,RXmodifiers)}else if(/[\^'"!~\/(\[{<]/.test(o)){if("("==o)return eatSuffix(e,1),tokenChain(e,t,[")"],"string");if("["==o)return eatSuffix(e,1),tokenChain(e,t,["]"],"string");if("{"==o)return eatSuffix(e,1),tokenChain(e,t,["}"],"string");if("<"==o)return eatSuffix(e,1),tokenChain(e,t,[">"],"string");if(/[\^'"!~\/]/.test(o))return tokenChain(e,t,[e.eat(o)],"string")}if("m"==n){var o=look(e,-2);if((!o||!/\w/.test(o))&&(o=e.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(o))return tokenChain(e,t,[o],RXstyle,RXmodifiers);if("("==o)return tokenChain(e,t,[")"],RXstyle,RXmodifiers);if("["==o)return tokenChain(e,t,["]"],RXstyle,RXmodifiers);if("{"==o)return tokenChain(e,t,["}"],RXstyle,RXmodifiers);if("<"==o)return tokenChain(e,t,[">"],RXstyle,RXmodifiers)}}if("s"==n){o=/[\/>\]})\w]/.test(look(e,-2));if(!o&&(o=e.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],RXstyle,RXmodifiers)}if("y"==n){o=/[\/>\]})\w]/.test(look(e,-2));if(!o&&(o=e.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],RXstyle,RXmodifiers)}if("t"==n){o=/[\/>\]})\w]/.test(look(e,-2));if(!o&&(o=(o=e.eat("r"))&&e.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(e,t,"["==o?["]","]"]:"{"==o?["}","}"]:"<"==o?[">",">"]:"("==o?[")",")"]:[o,o],RXstyle,RXmodifiers)}if("`"==n)return tokenChain(e,t,[n],"builtin");if("/"==n)return/~\s*$/.test(prefix(e))?tokenChain(e,t,[n],RXstyle,RXmodifiers):"operator";if("$"==n){i=e.pos;if(e.eatWhile(/\d/)||e.eat("{")&&e.eatWhile(/\d/)&&e.eat("}"))return"builtin";e.pos=i}if(/[$@%]/.test(n)){i=e.pos;if(e.eat("^")&&e.eat(/[A-Z]/)||!/[@$%&]/.test(look(e,-2))&&e.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){o=e.current();if(PERL[o])return"builtin"}e.pos=i}if(/[$@%&]/.test(n)&&(e.eatWhile(/[\w$]/)||e.eat("{")&&e.eatWhile(/[\w$]/)&&e.eat("}"))){o=e.current();return PERL[o]?"builtin":"variable"}if("#"==n&&"$"!=look(e,-2))return e.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(n)){i=e.pos;if(e.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),PERL[e.current()])return"operator";e.pos=i}if("_"==n&&1==e.pos){if("_END__"==suffix(e,6))return tokenChain(e,t,["\0"],"comment");if("_DATA__"==suffix(e,7))return tokenChain(e,t,["\0"],"builtin");if("_C__"==suffix(e,7))return tokenChain(e,t,["\0"],"string")}if(/\w/.test(n)){i=e.pos;if("{"==look(e,-2)&&("}"==look(e,0)||e.eatWhile(/\w/)&&"}"==look(e,0)))return"string";e.pos=i}if(/[A-Z]/.test(n)){var s=look(e,-2),i=e.pos;if(e.eatWhile(/[A-Z_]/),!/[\da-z]/.test(look(e,0)))return(o=PERL[e.current()])?(o[1]&&(o=o[0]),":"!=s?1==o?"keyword":2==o?"def":3==o?"atom":4==o?"operator":5==o?"builtin":"meta":"meta"):"meta";e.pos=i}if(/[a-zA-Z_]/.test(n)){s=look(e,-2);return e.eatWhile(/\w/),(o=PERL[e.current()])?(o[1]&&(o=o[0]),":"!=s?1==o?"keyword":2==o?"def":3==o?"atom":4==o?"operator":5==o?"builtin":"meta":"meta"):"meta"}return null}const perl={startState:function(){return{tokenize:tokenPerl,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||tokenPerl)(e,t)},languageData:{commentTokens:{line:"#"},wordChars:"$"}};export{perl}; diff --git a/typecho/write/dist/pig-5d168e86.js b/typecho/write/dist/pig-5d168e86.js new file mode 100644 index 0000000..76090a2 --- /dev/null +++ b/typecho/write/dist/pig-5d168e86.js @@ -0,0 +1 @@ +function words(O){for(var T={},e=O.split(" "),E=0;E=&?:\/!|]/;function chain(O,T,e){return(T.tokenize=e)(O,T)}function tokenComment(O,T){for(var e,E=!1;e=O.next();){if("/"==e&&E){T.tokenize=tokenBase;break}E="*"==e}return"comment"}function tokenString(r){return function(O,T){for(var e,E=!1,t=!1;null!=(e=O.next());){if(e==r&&!E){t=!0;break}E=!E&&"\\"==e}return!t&&E||(T.tokenize=tokenBase),"error"}}function tokenBase(O,T){var e=O.next();return'"'==e||"'"==e?chain(O,T,tokenString(e)):/[\[\]{}\(\),;\.]/.test(e)?null:/\d/.test(e)?(O.eatWhile(/[\w\.]/),"number"):"/"==e?O.eat("*")?chain(O,T,tokenComment):(O.eatWhile(isOperatorChar),"operator"):"-"==e?O.eat("-")?(O.skipToEnd(),"comment"):(O.eatWhile(isOperatorChar),"operator"):isOperatorChar.test(e)?(O.eatWhile(isOperatorChar),"operator"):(O.eatWhile(/[\w\$_]/),keywords&&keywords.propertyIsEnumerable(O.current().toUpperCase())&&!O.eat(")")&&!O.eat(".")?"keyword":builtins&&builtins.propertyIsEnumerable(O.current().toUpperCase())?"builtin":types&&types.propertyIsEnumerable(O.current().toUpperCase())?"type":"variable")}const pig={startState:function(){return{tokenize:tokenBase,startOfLine:!0}},token:function(O,T){return O.eatSpace()?null:T.tokenize(O,T)},languageData:{autocomplete:(pBuiltins+pTypes+pKeywords).split(" ")}};export{pig}; diff --git a/typecho/write/dist/powershell-c9f2935d.js b/typecho/write/dist/powershell-c9f2935d.js new file mode 100644 index 0000000..6430f0c --- /dev/null +++ b/typecho/write/dist/powershell-c9f2935d.js @@ -0,0 +1 @@ +function buildRegexp(e,t){for(var n=void 0!==(t=t||{}).prefix?t.prefix:"^",t=void 0!==t.suffix?t.suffix:"\\b",r=0;r/,operators=buildRegexp([wordOperators,symbolOperators],{suffix:""}),numbers=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,identifiers=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,symbolBuiltins=/[A-Z]:|%|\?/i,namedBuiltins=buildRegexp([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),variableBuiltins=buildRegexp([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),builtins=buildRegexp([symbolBuiltins,namedBuiltins,variableBuiltins],{suffix:notCharacterOrDash}),grammar={keyword:keywords,number:numbers,operator:operators,builtin:builtins,punctuation:punctuation,variable:identifiers};function tokenBase(e,t){var n,r=t.returnStack[t.returnStack.length-1];if(r&&r.shouldReturnFrom(t))return t.tokenize=r.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return--t.bracketNesting,"punctuation";for(n in grammar)if(e.match(grammar[n]))return n;r=e.next();if("'"===r)return tokenSingleQuoteString(e,t);if("$"===r)return tokenVariable(e,t);if('"'===r)return tokenDoubleQuoteString(e,t);if("<"===r&&e.eat("#"))return(t.tokenize=tokenComment)(e,t);if("#"===r)return e.skipToEnd(),"comment";if("@"===r){r=e.eat(/["']/);if(r&&e.eol())return t.tokenize=tokenMultiString,t.startQuote=r[0],tokenMultiString(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(varNames))return tokenVariable(e,t)}return"error"}function tokenSingleQuoteString(e,t){for(var n;null!=(n=e.peek());)if(e.next(),"'"===n&&!e.eat("'"))return t.tokenize=tokenBase,"string";return"error"}function tokenDoubleQuoteString(e,t){for(var n;null!=(n=e.peek());){if("$"===n)return t.tokenize=tokenStringInterpolation,"string";if(e.next(),"`"!==n){if('"'===n&&!e.eat('"'))return t.tokenize=tokenBase,"string"}else e.next()}return"error"}function tokenStringInterpolation(e,t){return tokenInterpolation(e,t,tokenDoubleQuoteString)}function tokenMultiStringReturn(e,t){return t.tokenize=tokenMultiString,t.startQuote='"',tokenMultiString(e,t)}function tokenHereStringInterpolation(e,t){return tokenInterpolation(e,t,tokenMultiStringReturn)}function tokenInterpolation(e,t,n){if(e.match("$(")){var r=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===r},tokenize:n}),t.tokenize=tokenBase,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),t.tokenize=tokenVariable,t.tokenize(e,t)}function tokenComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&">"==n){t.tokenize=tokenBase;break}r="#"===n}return"comment"}function tokenVariable(e,t){var n=e.peek();return e.eat("{")?(t.tokenize=tokenVariableWithBraces)(e,t):null!=n&&n.match(varNames)?(e.eatWhile(varNames),t.tokenize=tokenBase,"variable"):(t.tokenize=tokenBase,"error")}function tokenVariableWithBraces(e,t){for(var n;null!=(n=e.next());)if("}"===n){t.tokenize=tokenBase;break}return"variable"}function tokenMultiString(e,t){var n=t.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))t.tokenize=tokenBase;else if('"'===n)for(;!e.eol();){var r=e.peek();if("$"===r)return t.tokenize=tokenHereStringInterpolation,"string";e.next(),"`"===r&&e.next()}else e.skipToEnd();return"string"}const powerShell={startState:function(){return{returnStack:[],bracketNesting:0,tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}};export{powerShell}; diff --git a/typecho/write/dist/properties-c93e40cd.js b/typecho/write/dist/properties-c93e40cd.js new file mode 100644 index 0000000..4e9ff45 --- /dev/null +++ b/typecho/write/dist/properties-c93e40cd.js @@ -0,0 +1 @@ +const properties={token:function(t,e){var i=t.sol()||e.afterSection,n=t.eol();if(e.afterSection=!1,i&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),n&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),i)for(;t.eatSpace(););n=t.next();return!i||"#"!==n&&"!"!==n&&";"!==n?i&&"["===n?(e.afterSection=!0,t.skipTo("]"),t.eat("]"),"header"):"="===n||":"===n?(e.position="quote",null):("\\"===n&&"quote"===e.position&&t.eol()&&(e.nextMultiline=!0),e.position):(e.position="comment",t.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}};export{properties}; diff --git a/typecho/write/dist/protobuf-04fc4e3b.js b/typecho/write/dist/protobuf-04fc4e3b.js new file mode 100644 index 0000000..58cdcc8 --- /dev/null +++ b/typecho/write/dist/protobuf-04fc4e3b.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var keywordArray=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],keywords=wordRegexp(keywordArray),identifiers=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function tokenBase(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(keywords)?"keyword":e.match(identifiers)?"variable":(e.next(),null)}const protobuf={token:tokenBase,languageData:{autocomplete:keywordArray}};export{protobuf}; diff --git a/typecho/write/dist/puppet-ce3af938.js b/typecho/write/dist/puppet-ce3af938.js new file mode 100644 index 0000000..2849207 --- /dev/null +++ b/typecho/write/dist/puppet-ce3af938.js @@ -0,0 +1 @@ +var words={},variable_regex=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function define(e,n){for(var t=n.split(" "),i=0;i.*/,!1),a=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),o=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),s=e.next();if("$"===s)return e.match(variable_regex)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),tokenString(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):i?(e.match(/(\s+)?\w+/),"tag"):t&&words.hasOwnProperty(t)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),"include"==t&&(n.inInclude=!0),words[t]):/(^|\s+)[A-Z][\w:_]+/.test(t)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):a?(e.match(/(\s+)?[\w:_]+/),"def"):o?(e.match(/(\s+)?[@]{1,2}/),"atom"):"#"==s?(e.skipToEnd(),"comment"):"'"==s||'"'==s?(n.pending=s,tokenString(e,n)):"{"==s||"}"==s?"bracket":"/"==s?(e.match(/^[^\/]*\//),"string.special"):s.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):"="==s?(">"==e.peek()&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}define("keyword","class define site node include import inherits"),define("keyword","case if else in and elsif default or"),define("atom","false true running present absent file directory undef"),define("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");const puppet={startState:function(){var e={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return e},token:function(e,n){return e.eatSpace()?null:tokenize(e,n)}};export{puppet}; diff --git a/typecho/write/dist/python-103af9e0.js b/typecho/write/dist/python-103af9e0.js new file mode 100644 index 0000000..c5fc274 --- /dev/null +++ b/typecho/write/dist/python-103af9e0.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var wordOperators=wordRegexp(["and","or","not","is"]),commonKeywords=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],commonBuiltins=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function top(e){return e.scopes[e.scopes.length-1]}function mkPython(s){for(var c="error",i=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,a=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],e=0;en;){if("py"!=top(t).type)return 1;t.scopes.pop()}return top(t).offset!=n}function y(e,t){e.sol()&&(t.beginningOfLine=!0);var n,r,o,i,a=t.tokenize(e,t),s=e.current();if(t.beginningOfLine&&"@"==s)return e.match(p,!1)?"meta":f?"operator":c;if(/\S/.test(s)&&(t.beginningOfLine=!1),"variable"!=a&&"builtin"!=a||"meta"!=t.lastToken||(a="meta"),"pass"!=s&&"return"!=s||(t.dedent+=1),"lambda"==s&&(t.lambda=!0),":"!=s||t.lambda||"py"!=top(t).type||g(e,t),1==s.length&&!/string|comment/.test(a)){var l="[({".indexOf(s);if(-1!=l&&(n=e,r=t,o="])}".slice(l,l+1),i=n.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:n.column()+1,r.scopes.push({offset:r.indent+(u||n.indentUnit),type:o,align:i})),-1!=(l="])}".indexOf(s))){if(top(t).type!=s)return c;t.indent=t.scopes.pop().offset-(u||e.indentUnit)}}return 0<,?_\'\"\[\(\]\)\s{}]/;function buildRE(t){return new RegExp("^("+t.join("|")+")$")}function tokenBase(t,e){var n=t.sol(),o=t.next();if(curPunc=null,n){if("/"==o)return(e.tokenize=tokenLineComment)(t,e);if("\\"==o)return t.eol()||/\s/.test(t.peek())?(t.skipToEnd(),/^\\\s*$/.test(t.current())?(e.tokenize=tokenCommentToEOF)(t):e.tokenize=tokenBase,"comment"):(e.tokenize=tokenBase,"builtin")}if(/\s/.test(o))return"/"==t.peek()?(t.skipToEnd(),"comment"):"null";if('"'==o)return(e.tokenize=tokenString)(t,e);if("`"==o)return t.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if("."==o&&/\d/.test(t.peek())||/\d/.test(o)){e=null;return t.backUp(1),t.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||t.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||t.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||t.match(/^\d+[ptuv]{1}/)?e="temporal":(t.match(/^0[NwW]{1}/)||t.match(/^0x[\da-fA-F]*/)||t.match(/^[01]+[b]{1}/)||t.match(/^\d+[chijn]{1}/)||t.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(e="number"),!e||(o=t.peek())&&!E.test(o)?(t.next(),"error"):e}return/[A-Za-z]|\./.test(o)?(t.eatWhile(/[A-Za-z._\d]/),keywords.test(t.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(o)||/[{}\(\[\]\)]/.test(o)?null:"error"}function tokenLineComment(t,e){return t.skipToEnd(),/\/\s*$/.test(t.current())?(e.tokenize=tokenBlockComment)(t,e):e.tokenize=tokenBase,"comment"}function tokenBlockComment(t,e){var n=t.sol()&&"\\"==t.peek();return t.skipToEnd(),n&&/^\\\s*$/.test(t.current())&&(e.tokenize=tokenBase),"comment"}function tokenCommentToEOF(t){return t.skipToEnd(),"comment"}function tokenString(t,e){for(var n,o=!1,r=!1;n=t.next();){if('"'==n&&!o){r=!0;break}o=!o&&"\\"==n}return r&&(e.tokenize=tokenBase),"string"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}const q={startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,e){t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation());var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==curPunc)pushContext(e,")",t.column());else if("["==curPunc)pushContext(e,"]",t.column());else if("{"==curPunc)pushContext(e,"}",t.column());else if(/[\]\}\)]/.test(curPunc)){for(;e.context&&"pattern"==e.context.type;)popContext(e);e.context&&curPunc==e.context.type&&popContext(e)}else"."==curPunc&&e.context&&"pattern"==e.context.type?popContext(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?pushContext(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var e=e&&e.charAt(0),o=t.context;if(/[\]\}]/.test(e))for(;o&&"pattern"==o.type;)o=o.prev;e=o&&e==o.type;return o?"pattern"==o.type?o.col:o.align?o.col+(e?0:1):o.indent+(e?0:n.unit):0}};export{q}; diff --git a/typecho/write/dist/r-5c65ce1c.js b/typecho/write/dist/r-5c65ce1c.js new file mode 100644 index 0000000..e018898 --- /dev/null +++ b/typecho/write/dist/r-5c65ce1c.js @@ -0,0 +1 @@ +function wordObj(t){for(var e={},n=0;n=!&|~$:]/;function tokenBase(t,e){curPunc=null;var n=t.next();if("#"==n)return t.skipToEnd(),"comment";if("0"==n&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if("."==n&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==n||'"'==n)return e.tokenize=tokenString(n),"string";if("`"==n)return t.match(/[^`]+`/),"string.special";if("."==n&&t.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(n)&&"_"!=n){t.eatWhile(/[\w\.]/);var r=t.current();return atoms.propertyIsEnumerable(r)?"atom":keywords.propertyIsEnumerable(r)?(blockkeywords.propertyIsEnumerable(r)&&!t.match(/\s*if(\s+|$)/,!1)&&(curPunc="block"),"keyword"):builtins.propertyIsEnumerable(r)?"builtin":"variable"}return"%"==n?(t.skipTo("%")&&t.next(),"variableName.special"):"<"==n&&t.eat("-")||"<"==n&&t.match("<-")||"-"==n&&t.match(/>>?/)||"="==n&&e.ctx.argList?"operator":opChars.test(n)?("$"==n||t.eatWhile(opChars),"operator"):/[\(\){}\[\];]/.test(n)&&";"==(curPunc=n)?"punctuation":null}function tokenString(o){return function(t,e){if(t.eat("\\")){var n=t.next();return"x"==n?t.match(/^[a-f0-9]{2}/i):("u"==n||"U"==n)&&t.eat("{")&&t.skipTo("}")?t.next():"u"==n?t.match(/^[a-f0-9]{4}/i):"U"==n?t.match(/^[a-f0-9]{8}/i):/[0-7]/.test(n)&&t.match(/^[0-7]{1,2}/),"string.special"}for(var r;null!=(r=t.next());){if(r==o){e.tokenize=tokenBase;break}if("\\"==r){t.backUp(1);break}}return"string"}}var ALIGN_YES=1,ALIGN_NO=2,BRACELESS=4;function push(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function setFlag(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function pop(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}const r={startState:function(t){return{tokenize:tokenBase,ctx:{type:"top",indent:-t,flags:ALIGN_NO},indent:0,afterIdent:!1}},token:function(t,e){if(t.sol()&&(0==(3&e.ctx.flags)&&(e.ctx.flags|=ALIGN_NO),e.ctx.flags&BRACELESS&&pop(e),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);return"comment"!=n&&0==(e.ctx.flags&ALIGN_NO)&&setFlag(e,ALIGN_YES),";"!=curPunc&&"{"!=curPunc&&"}"!=curPunc||"block"!=e.ctx.type||pop(e),"{"==curPunc?push(e,"}",t):"("==curPunc?(push(e,")",t),e.afterIdent&&(e.ctx.argList=!0)):"["==curPunc?push(e,"]",t):"block"==curPunc?push(e,"block",t):curPunc==e.ctx.type?pop(e):"block"==e.ctx.type&&"comment"!=n&&setFlag(e,BRACELESS),e.afterIdent="variable"==n||"keyword"==n,n},indent:function(t,e,n){if(t.tokenize!=tokenBase)return 0;var r=e&&e.charAt(0),e=t.ctx,t=r==e.type;return"block"==(e=e.flags&BRACELESS?e.prev:e).type?e.indent+("{"==r?0:n.unit):e.flags&ALIGN_YES?e.column+(t?0:1):e.indent+(t?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:commonAtoms.concat(commonBuiltins,commonKeywords)}};export{r}; diff --git a/typecho/write/dist/rpm-c892928b.js b/typecho/write/dist/rpm-c892928b.js new file mode 100644 index 0000000..f540f4c --- /dev/null +++ b/typecho/write/dist/rpm-c892928b.js @@ -0,0 +1 @@ +var headerSeparator=/^-+$/,headerLine=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,simpleEmail=/^[\w+.-]+@[\w.-]+/;const rpmChanges={token:function(r){if(r.sol()){if(r.match(headerSeparator))return"tag";if(r.match(headerLine))return"tag"}return r.match(simpleEmail)?"string":(r.next(),null)}};var arch=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,preamble=/^[a-zA-Z0-9()]+:/,section=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,control_flow_complex=/^%(ifnarch|ifarch|if)/,control_flow_simple=/^%(else|endif)/,operators=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const rpmSpec={startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){if("#"==r.peek())return r.skipToEnd(),"comment";if(r.sol()){if(r.match(preamble))return"header";if(r.match(section))return"atom"}if(r.match(/^\$\w+/))return"def";if(r.match(/^\$\{\w+\}/))return"def";if(r.match(control_flow_simple))return"keyword";if(r.match(control_flow_complex))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(operators))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(arch))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}};export{rpmChanges,rpmSpec}; diff --git a/typecho/write/dist/ruby-21600654.js b/typecho/write/dist/ruby-21600654.js new file mode 100644 index 0000000..e0d2f1f --- /dev/null +++ b/typecho/write/dist/ruby-21600654.js @@ -0,0 +1 @@ +function wordObj(e){for(var t={},n=0,r=e.length;n]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==r&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if("$"==r)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(r))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if("|"!=r||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(r))return curPunc=r,null;if("-"==r&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(r)){t=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=r||t||(curPunc="."),"operator"}return null}return curPunc="|",null}function regexpAhead(e){for(var t,n=e.pos,r=0,o=!1,a=!1;null!=(t=e.next());)if(a)a=!1;else{if(-1<"[{(".indexOf(t))r++;else if(-1<"]})".indexOf(t)){if(--r<0)break}else if("/"==t&&0==r){o=!0;break}a="\\"==t}return e.backUp(e.pos-n),o}function tokenBaseUntilBrace(n){return n=n||1,function(e,t){if("}"==e.peek()){if(1==n)return t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t);t.tokenize[t.tokenize.length-1]=tokenBaseUntilBrace(n-1)}else"{"==e.peek()&&(t.tokenize[t.tokenize.length-1]=tokenBaseUntilBrace(n+1));return tokenBase(e,t)}}function tokenBaseOnce(){var n=!1;return function(e,t){return n?(t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t)):(n=!0,tokenBase(e,t))}}function readQuoted(o,a,i,u){return function(e,t){var n,r=!1;for("read-quoted-paused"===t.context.type&&(t.context=t.context.prev,e.eat("}"));null!=(n=e.next());){if(n==o&&(u||!r)){t.tokenize.pop();break}if(i&&"#"==n&&!r){if(e.eat("{")){"}"==o&&(t.context={prev:t.context,type:"read-quoted-paused"}),t.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(e.peek())){t.tokenize.push(tokenBaseOnce());break}}r=!r&&"\\"==n}return a}}function readHereDoc(n,r){return function(e,t){return r&&e.eatSpace(),e.match(n)?t.tokenize.pop():e.skipToEnd(),"string"}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}const ruby={startState:function(e){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){curPunc=null,e.sol()&&(t.indented=e.indentation());var n,r,o=t.tokenize[t.tokenize.length-1](e,t),a=curPunc;return"variable"==o&&(r=e.current(),"keyword"==(o="."==t.lastTok?"property":keywords.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(r)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(indentWords.propertyIsEnumerable(a=r)?n="indent":dedentWords.propertyIsEnumerable(r)?n="dedent":(("if"==r||"unless"==r)&&e.column()==e.indentation()||"do"==r&&t.context.indented=|!=|<>)/,isSingleOperatorChar=/[=\(:\),{}.*<>+\-\/^\[\]]/;function define(e,t,n){if(n)for(var r=t.split(" "),s=0;sinteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),indentKeys=makeKeywords("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function stateStack(e,t,n){this.indent=e,this.type=t,this.prev=n}function pushStack(e,t,n){e.indentStack=new stateStack(t,n,e.indentStack)}function popStack(e){e.indentStack=e.indentStack.prev}var binaryMatcher=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),octalMatcher=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),hexMatcher=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),decimalMatcher=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function isBinaryNumber(e){return e.match(binaryMatcher)}function isOctalNumber(e){return e.match(octalMatcher)}function isDecimalNumber(e,t){return!0===t&&e.backUp(1),e.match(decimalMatcher)}function isHexNumber(e){return e.match(hexMatcher)}const scheme={startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(t.mode){case"string":for(var r=!1;null!=(a=e.next());){if('"'==a&&!r){t.mode=!1;break}r=!r&&"\\"==a}n=STRING;break;case"comment":for(var a,i=!1;null!=(a=e.next());){if("#"==a&&i){t.mode=!1;break}i="|"==a}n=COMMENT;break;case"s-expr-comment":if(t.mode=!1,"("!=e.peek()&&"["!=e.peek()){e.eatWhile(/[^\s\(\)\[\]]/),n=COMMENT;break}t.sExprComment=0;default:var c,s,l=e.next();if('"'==l)t.mode="string",n=STRING;else if("'"==l)n=("("==e.peek()||"["==e.peek()?"number"!=typeof t.sExprQuote&&(t.sExprQuote=0):e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),ATOM);else if("#"==l)e.eat("|")?(t.mode="comment",n=COMMENT):e.eat(/[tf]/i)?n=ATOM:e.eat(";")?(t.mode="s-expr-comment",n=COMMENT):(u=null,s=!(c=!1),e.eat(/[ei]/i)?c=!0:e.backUp(1),e.match(/^#b/i)?u=isBinaryNumber:e.match(/^#o/i)?u=isOctalNumber:e.match(/^#x/i)?u=isHexNumber:e.match(/^#d/i)?u=isDecimalNumber:e.match(/^[-+0-9.]/,!1)?(s=!1,u=isDecimalNumber):c||e.eat("#"),null!=u&&(s&&!c&&e.match(/^#[ei]/i),u(e)&&(n=NUMBER)));else if(/^[-+0-9.]/.test(l)&&isDecimalNumber(e,!0))n=NUMBER;else if(";"==l)e.skipToEnd(),n=COMMENT;else if("("==l||"["==l){for(var o,d="",u=e.column();null!=(o=e.eat(/[^\s\(\[\;\)\]]/));)d+=o;0?@\^~]/),n=keywords&&keywords.propertyIsEnumerable(e.current())?BUILTIN:"variable")}return"number"==typeof t.sExprComment?COMMENT:"number"==typeof t.sExprQuote?ATOM:n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}};export{scheme}; diff --git a/typecho/write/dist/shell-c1b04770.js b/typecho/write/dist/shell-c1b04770.js new file mode 100644 index 0000000..395e6c4 --- /dev/null +++ b/typecho/write/dist/shell-c1b04770.js @@ -0,0 +1 @@ +var words={};function define(e,t){for(var n=0;n=@%|&?!.,:;^]/,keywords=/true|false|nil|self|super|thisContext/,Context=function(e,t){this.next=e,this.parent=t},Token=function(e,t,n){this.name=e,this.context=t,this.eos=n},State=function(){this.context=new Context(next,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};State.prototype.userIndent=function(e,t){this.userIndentationDelta=0]/),e.next()),a.name="string.special"):"|"===i&&n.expectVariable?a.context=new Context(nextTemporaries,t):/[\[\]{}()]/.test(i)?(a.name="bracket",a.eos=/[\[{(]/.test(i),"["===i?n.indentation++:"]"===i&&(n.indentation=Math.max(0,n.indentation-1))):specialChars.test(i)?(e.eatWhile(specialChars),a.name="operator",a.eos=";"!==i):/\d/.test(i)?(e.eatWhile(/[\w\d]/),a.name="number"):/[\w_]/.test(i)?(e.eatWhile(/[\w\d_]/),a.name=n.expectVariable?keywords.test(e.current())?"keyword":"variable":null):a.eos=n.expectVariable,a},nextComment=function(e,t){return e.eatWhile(/[^"]/),new Token("comment",e.eat('"')?t.parent:t,!0)},nextString=function(e,t){return e.eatWhile(/[^']/),new Token("string",e.eat("'")?t.parent:t,!1)},nextSymbol=function(e,t){return e.eatWhile(/[^']/),new Token("string.special",e.eat("'")?t.parent:t,!1)},nextTemporaries=function(e,t){var n=new Token(null,t,!1);return"|"===e.next()?(n.context=t.parent,n.eos=!0):(e.eatWhile(/[^|]/),n.name="variable"),n};const smalltalk={startState:function(){return new State},token:function(e,t){if(t.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;e=t.context.next(e,t.context,t);return t.context=e.context,t.expectVariable=e.eos,e.name},blankLine:function(e,t){e.userIndent(0,t)},indent:function(e,t,n){t=e.context.next===next&&t&&"]"===t.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+t)*n.unit},languageData:{indentOnInput:/^\s*\]$/}};export{smalltalk}; diff --git a/typecho/write/dist/solr-5597a2d7.js b/typecho/write/dist/solr-5597a2d7.js new file mode 100644 index 0000000..c183101 --- /dev/null +++ b/typecho/write/dist/solr-5597a2d7.js @@ -0,0 +1 @@ +var isStringChar=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,isOperatorChar=/[\|\!\+\-\*\?\~\^\&]/,isOperatorString=/^(OR|AND|NOT|TO)$/i;function isNumber(t){return parseFloat(t).toString()===t}function tokenString(o){return function(t,e){for(var n,r=!1;null!=(n=t.next())&&(n!=o||r);)r=!r&&"\\"==n;return r||(e.tokenize=tokenBase),"string"}}function tokenOperator(n){return function(t,e){return"|"==n?t.eat(/\|/):"&"==n&&t.eat(/\&/),e.tokenize=tokenBase,"operator"}}function tokenWord(r){return function(t,e){for(var n=r;(r=t.peek())&&null!=r.match(isStringChar);)n+=t.next();return e.tokenize=tokenBase,isOperatorString.test(n)?"operator":isNumber(n)?"number":":"==t.peek()?"propertyName":"string"}}function tokenBase(t,e){var n=t.next();return'"'==n?e.tokenize=tokenString(n):isOperatorChar.test(n)?e.tokenize=tokenOperator(n):isStringChar.test(n)&&(e.tokenize=tokenWord(n)),e.tokenize!=tokenBase?e.tokenize(t,e):null}const solr={startState:function(){return{tokenize:tokenBase}},token:function(t,e){return t.eatSpace()?null:e.tokenize(t,e)}};export{solr}; diff --git a/typecho/write/dist/sparql-fc490387.js b/typecho/write/dist/sparql-fc490387.js new file mode 100644 index 0000000..f2a182e --- /dev/null +++ b/typecho/write/dist/sparql-fc490387.js @@ -0,0 +1 @@ +var curPunc;function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")$","i")}var ops=wordRegexp(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),keywords=wordRegexp(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load"]),operatorChars=/[*+\-<>=&|\^\/!\?]/;function tokenBase(t,e){var n=t.next();if(curPunc=null,"$"==n||"?"==n)return"?"==n&&t.match(/\s/,!1)?"operator":(t.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if("<"!=n||t.match(/^[\s\u00a0=]/,!1)){if('"'==n||"'"==n)return e.tokenize=tokenLiteral(n),e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(n))return curPunc=n,"bracket";if("#"==n)return t.skipToEnd(),"comment";if("^"===n)return"^"===(n=t.peek())?t.eat("^"):t.eatWhile(operatorChars),"operator";if(operatorChars.test(n))return t.eatWhile(operatorChars),"operator";if(":"==n)return eatPnLocal(t),"atom";if("@"==n)return t.eatWhile(/[a-z\d\-]/i),"meta";if(t.eatWhile(/[_\w\d]/),t.eat(":"))return eatPnLocal(t),"atom";n=t.current();return ops.test(n)?"builtin":keywords.test(n)?"keyword":"variable"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function eatPnLocal(t){for(;t.match(/([:\w\d._-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-fA-F0-9][a-fA-F0-9])/););}function tokenLiteral(o){return function(t,e){for(var n,r=!1;null!=(n=t.next());){if(n==o&&!r){e.tokenize=tokenBase;break}r=!r&&"\\"==n}return"string"}}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}const sparql={startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==curPunc)pushContext(e,")",t.column());else if("["==curPunc)pushContext(e,"]",t.column());else if("{"==curPunc)pushContext(e,"}",t.column());else if(/[\]\}\)]/.test(curPunc)){for(;e.context&&"pattern"==e.context.type;)popContext(e);e.context&&curPunc==e.context.type&&(popContext(e),"}"==curPunc&&e.context&&"pattern"==e.context.type&&popContext(e))}else"."==curPunc&&e.context&&"pattern"==e.context.type?popContext(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?pushContext(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var e=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(e))for(;r&&"pattern"==r.type;)r=r.prev;e=r&&e==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(e?0:1):r.indent+(e?0:n.unit):0},languageData:{commentTokens:{line:"#"}}};export{sparql}; diff --git a/typecho/write/dist/spreadsheet-9174e23d.js b/typecho/write/dist/spreadsheet-9174e23d.js new file mode 100644 index 0000000..6122bbc --- /dev/null +++ b/typecho/write/dist/spreadsheet-9174e23d.js @@ -0,0 +1 @@ +const spreadsheet={startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":-1!=["[","]","(",")","{","}"].indexOf(a)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{spreadsheet}; diff --git a/typecho/write/dist/sql-fbfc84a5.js b/typecho/write/dist/sql-fbfc84a5.js new file mode 100644 index 0000000..db2841c --- /dev/null +++ b/typecho/write/dist/sql-fbfc84a5.js @@ -0,0 +1 @@ +function sql(e){var i=e.client||{},n=e.atoms||{false:!0,true:!0,null:!0},s=e.builtin||set(defaultBuiltin),o=e.keywords||set(sqlKeywords),l=e.operatorChars||/^[*+\-%<>!=&|~^\/]/,c=e.support||{},u=e.hooks||{},d=e.dateSQL||{date:!0,time:!0,timestamp:!0},m=!1!==e.backslashStringEscapes,p=e.brackets||/^[\{}\(\)\[\]]/,g=e.punctuation||/^[;.,:]/;function h(e,t){var r=e.next();if(u[r]){var a=u[r](e,t);if(!1!==a)return a}if(c.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(c.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(47!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:set("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":hookVar}}),mySQL=sql({client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(sqlKeywords+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),mariaDB=sql({client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(sqlKeywords+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),sqlite=sql({client:set("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:set(sqlKeywords+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:set("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set("date time timestamp datetime"),support:set("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':hookIdentifierDoublequote,"`":hookIdentifier}}),cassandra=sql({client:{},keywords:set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:set("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:set("commentSlashSlash decimallessFloat"),hooks:{}}),plSQL=sql({client:set("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:set("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:set("date time timestamp"),support:set("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),hive=sql({keywords:set("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:set("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),pgSQL=sql({client:set("source"),keywords:set(sqlKeywords+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),gql=sql({keywords:set("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:set("false true"),builtin:set("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),gpSQL=sql({client:set("source"),keywords:set("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),sparkSQL=sql({keywords:set("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:set("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:set("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote zerolessFloat")}),esper=sql({client:set("source"),keywords:set("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:set("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("time"),support:set("decimallessFloat zerolessFloat binaryNumber hexNumber")});export{cassandra,esper,gpSQL,gql,hive,mariaDB,msSQL,mySQL,pgSQL,plSQL,sparkSQL,sql,sqlite,standardSQL}; diff --git a/typecho/write/dist/stex-9c1a0609.js b/typecho/write/dist/stex-9c1a0609.js new file mode 100644 index 0000000..216dca5 --- /dev/null +++ b/typecho/write/dist/stex-9c1a0609.js @@ -0,0 +1 @@ +function mkStex(t){function a(t,e){t.cmdState.push(e)}function i(t){return 0|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";e=t.next();return"{"==e||"}"==e||"["==e||"]"==e||"("==e||")"==e?"bracket":"%"==e?(t.skipToEnd(),"comment"):"error"}function m(t,e){var n=t.peek();return"{"==n||"["==n?(i(e).openBracket(n),t.eat(n),u(e,r),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(u(e,r),(n=(n=e).cmdState.pop())&&n.closeBracket(),r(t,e))}return c.importmodule=e("importmodule","tag",["string","builtin"]),c.documentclass=e("documentclass","tag",["","atom"]),c.usepackage=e("usepackage","tag",["atom"]),c.begin=e("begin","tag",["atom"]),c.end=e("end","tag",["atom"]),c.label=e("label","tag",["atom"]),c.ref=e("ref","tag",["atom"]),c.eqref=e("eqref","tag",["atom"]),c.cite=e("cite","tag",["atom"]),c.bibitem=e("bibitem","tag",["atom"]),c.Bibitem=e("Bibitem","tag",["atom"]),c.RBibitem=e("RBibitem","tag",["atom"]),c.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:t?function(t,e){return o(t,e)}:r}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=r,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}const stex=mkStex(!1),stexMath=mkStex(!0);export{stex,stexMath}; diff --git a/typecho/write/dist/stylus-6249521d.js b/typecho/write/dist/stylus-6249521d.js new file mode 100644 index 0000000..a0c32d6 --- /dev/null +++ b/typecho/write/dist/stylus-6249521d.js @@ -0,0 +1 @@ +var tagKeywords_=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],documentTypes_=["domain","regexp","url-prefix","url"],mediaTypes_=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],mediaFeatures_=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],propertyKeywords_=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],nonStandardPropertyKeywords_=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],fontProperties_=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],colorKeywords_=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],valueKeywords_=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],wordOperatorKeywords_=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],blockKeywords_=["for","if","else","unless","from","to"],commonAtoms_=["null","true","false","href","title","type","not-allowed","readonly","disabled"],commonDef_=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],hintWords=tagKeywords_.concat(documentTypes_,mediaTypes_,mediaFeatures_,propertyKeywords_,nonStandardPropertyKeywords_,colorKeywords_,valueKeywords_,fontProperties_,wordOperatorKeywords_,blockKeywords_,commonAtoms_,commonDef_);function wordRegexp(e){return e=e.sort(function(e,t){return e]=?|\?:|\~)/,wordOperatorKeywordsRegexp=wordRegexp(wordOperatorKeywords_),blockKeywords=keySet(blockKeywords_),vendorPrefixesRegexp=new RegExp(/^\-(moz|ms|o|webkit)-/i),commonAtoms=keySet(commonAtoms_),firstWordMatch="",states={};function tokenBase(e,t){if(firstWordMatch=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=firstWordMatch?firstWordMatch[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),ch=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return(t.tokenize=tokenCComment)(e,t);if('"'==ch||"'"==ch)return e.next(),t.tokenize=tokenString(ch),t.tokenize(e,t);if("@"==ch)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==ch){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(vendorPrefixesRegexp)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==ch?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==ch&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(documentTypesRegexp)?("("==e.peek()&&(t.tokenize=tokenParenthesized),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variableName.special","reference"]):e.match(/^&{1}\s*$/)?["variableName.special","reference"]:e.match(wordOperatorKeywordsRegexp)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(e.current())?(e.match("."),["variable","variable-name"]):["variable","word"]:e.match(operatorsRegexp)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(ch)?(e.next(),[null,ch]):(e.next(),[null,null])}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}function tokenString(i){return function(e,t){for(var r,o=!1;null!=(r=e.next());){if(r==i&&!o){")"==i&&e.backUp(1);break}o=!o&&"\\"==r}return r!=i&&(o||")"==i)||(t.tokenize=null),["string","string"]}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),[null,"("]}function Context(e,t,r,o){this.type=e,this.indent=t,this.prev=r,this.line=o||{firstWord:"",indent:0}}function pushContext(e,t,r,o){return o=0<=o?o:t.indentUnit,e.context=new Context(r,t.indentation()+o,e.context),r}function popContext(e,t,r){t=e.context.indent-t.indentUnit;return r=r||!1,e.context=e.context.prev,r&&(e.context.indent=t),e.context.type}function pass(e,t,r){return states[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var i=o||1;0|\*)/)&&!wordIsTag(firstWordOfLine(t))))return override="variable",wordIsBlock(firstWordOfLine(t))?"block":pushContext(r,t,"block",0);if(endOfLine(t))return pushContext(r,t,"block")}if("block-keyword"==override)return override="keyword",t.current(/(if|unless)/)&&!startOfLine(t)?"block":pushContext(r,t,"block");if("return"==e)return pushContext(r,t,"block",0);if("variable"==override&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(r,t,"block")}return r.context.type},states.parens=function(e,t,r){return"("==e?pushContext(r,t,"parens"):")"==e?"parens"==r.context.prev.type?popContext(r,t):t.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(t)||wordIsBlock(firstWordOfLine(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(t))||!(t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i))&&endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"block",0):(e&&"@"==e.charAt(0)&&wordIsProperty(t.current().slice(1))&&(override="variable"),"word"==e&&(o=t.current(),"property"!=(override="tag"==(override=wordAsValue(o))&&tagVariablesRegexp.test(o)?"variable":override)&&"to"!=o||(override="atom")),"variable-name"==e?pushContext(r,t,"variableName"):typeIsPseudo(e,t)?pushContext(r,t,"pseudo"):r.context.type);var o},states.vendorPrefixes=function(e,t,r){return"word"==e?(override="property",pushContext(r,t,"block",0)):popContext(r,t)},states.pseudo=function(e,t,r){return wordIsProperty(firstWordOfLine(t.string))?popAndPass(e,t,r):(t.match(/^[a-z-]+/),override="variableName.special",endOfLine(t)?pushContext(r,t,"block"):popContext(r,t))},states.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if(typeIsBlock(e,t))return pushContext(r,t,"block");if(typeIsInterpolation(e,t))return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();if("tag"==(override=/^(only|not|and|or)$/.test(o)?"keyword":documentTypes.hasOwnProperty(o)?"tag":mediaTypes.hasOwnProperty(o)?"attribute":mediaFeatures.hasOwnProperty(o)?"property":nonStandardPropertyKeywords.hasOwnProperty(o)?"string.special":wordAsValue(t.current()))&&endOfLine(t))return pushContext(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(override="keyword"),r.context.type},states.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"atBlock");if("word"!=e)return states.atBlock(e,t,r);t=t.current().toLowerCase();return override=wordAsValue(t),"tag"==(override=/^(max|min)/.test(t)?"property":override)&&(override=tagVariablesRegexp.test(t)?"variable":"atom"),r.context.type},states.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&startOfLine(t)||"]"==e||"hash"==e||"qualifier"==e||wordIsTag(t.current()))?popAndPass(e,t,r):"{"==e?pushContext(r,t,"keyframes"):"}"==e?startOfLine(t)?popContext(r,t,!0):pushContext(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?pushContext(r,t,"keyframes"):"word"==e&&"block-keyword"==(override=wordAsValue(t.current()))?(override="keyword",pushContext(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?pushContext(r,t,endOfLine(t)?"block":"atBlock"):"mixin"==e?pushContext(r,t,"block",0):r.context.type},states.interpolation=function(e,t,r){return"{"==e&&popContext(r,t)&&pushContext(r,t,"block"),"}"==e?!(t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(t)))&&(!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1))?pushContext(r,t,"block",0):pushContext(r,t,"block"):"variable-name"==e?pushContext(r,t,"variableName",0):("word"==e&&"tag"==(override=wordAsValue(t.current()))&&(override="atom"),r.context.type)},states.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"!=e&&"word"==e?(override=wordAsValue(t.current()),"extend"):popContext(r,t)},states.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(override="variable"),"variableName"):popAndPass(e,t,r)};const stylus={startState:function(){return{tokenize:null,state:"block",context:new Context("block",0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((style=(t.tokenize||tokenBase)(e,t))&&"object"==typeof style&&(type=style[1],style=style[0]),override=style,t.state=states[t.state](type,e,t),override)},indent:function(e,t,r){var o=e.context,i=t&&t.charAt(0),a=o.indent,n=firstWordOfLine(t),s=r.lineIndent(r.state.doc.lineAt(r.pos).number),l=e.context.prev?e.context.prev.line.firstWord:"",d=e.context.prev?e.context.prev.line.indent:s;return o.prev&&("}"==i&&("block"==o.type||"atBlock"==o.type||"keyframes"==o.type)||")"==i&&("parens"==o.type||"atBlock_parens"==o.type)||"{"==i&&"at"==o.type)?a=o.indent-r.unit:/(\})/.test(i)||(/@|\$|\d/.test(i)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||wordIsBlock(n)?a=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(i)||wordIsTag(n)?a=/\,\s*$/.test(l)?d:e.sol()||!/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)&&!wordIsTag(l)?s:s<=d?d:d+r.unit:/,\s*$/.test(t)||!wordIsVendorPrefix(n)&&!wordIsProperty(n)||(a=wordIsBlock(l)?s<=d?d:d+r.unit:/^\{/.test(l)?s<=d?s:d+r.unit:wordIsVendorPrefix(l)||wordIsProperty(l)?d<=s?d:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||wordIsTag(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?d+r.unit:s)),a},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:hintWords}};export{stylus}; diff --git a/typecho/write/dist/swift-7fa7f33a.js b/typecho/write/dist/swift-7fa7f33a.js new file mode 100644 index 0000000..7bf1bb2 --- /dev/null +++ b/typecho/write/dist/swift-7fa7f33a.js @@ -0,0 +1 @@ +function wordSet(e){for(var t={},n=0;n~^?!",punc=":;,.(){}[]",binary=/^\-?0b[01][01_]*/,octal=/^\-?0o[0-7][0-7_]*/,hexadecimal=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,decimal=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,identifier=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,property=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,instruction=/^\#[A-Za-z]+/,attribute=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function tokenBase(e,t,n){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var r=e.peek();if("/"==r){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(tokenComment),tokenComment(e,t)}if(e.match(instruction))return"builtin";if(e.match(attribute))return"attribute";if(e.match(binary))return"number";if(e.match(octal))return"number";if(e.match(hexadecimal))return"number";if(e.match(decimal))return"number";if(e.match(property))return"property";if(-1!?^\/\|]/;function chain(e,r,t){return(r.tokenize=t)(e,r)}function tokenBase(e,r){var t=r.beforeParams;r.beforeParams=!1;var n=e.next();if('"'!=n&&"'"!=n||!r.inParams){if(/[\[\]{}\(\),;\.]/.test(n))return"("==n&&t?r.inParams=!0:")"==n&&(r.inParams=!1),null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("#"==n)return e.eat("*")?chain(e,r,tokenComment):"#"==n&&e.match(/ *\[ *\[/)?chain(e,r,tokenUnparsed):(e.skipToEnd(),"comment");if('"'==n)return e.skipTo(/"/),"comment";if("$"==n)return e.eatWhile(/[$_a-z0-9A-Z\.{:]/),e.eatWhile(/}/),r.beforeParams=!0,"builtin";if(isOperatorChar.test(n))return e.eatWhile(isOperatorChar),"comment";e.eatWhile(/[\w\$_{}\xa1-\uffff]/);t=e.current().toLowerCase();return keywords&&keywords.propertyIsEnumerable(t)?"keyword":functions&&functions.propertyIsEnumerable(t)?(r.beforeParams=!0,"keyword"):null}return chain(e,r,tokenString(n))}function tokenString(o){return function(e,r){for(var t,n=!1,a=!1;null!=(t=e.next());){if(t==o&&!n){a=!0;break}n=!n&&"\\"==t}return a&&(r.tokenize=tokenBase),"string"}}function tokenComment(e,r){for(var t,n=!1;t=e.next();){if("#"==t&&n){r.tokenize=tokenBase;break}n="*"==t}return"comment"}function tokenUnparsed(e,r){for(var t,n=0;t=e.next();){if("#"==t&&2==n){r.tokenize=tokenBase;break}"]"==t?n++:" "!=t&&(n=0)}return"meta"}const tcl={startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{commentTokens:{line:"#"}}};export{tcl}; diff --git a/typecho/write/dist/textile-b43085a6.js b/typecho/write/dist/textile-b43085a6.js new file mode 100644 index 0000000..ff5ba62 --- /dev/null +++ b/typecho/write/dist/textile-b43085a6.js @@ -0,0 +1 @@ +var TOKEN_STYLES={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function startNewLine(e,t){t.mode=Modes.newLayout,t.tableHeading=!1,"definitionList"===t.layoutType&&t.spanningLayout&&e.match(RE("definitionListEnd"),!1)&&(t.spanningLayout=!1)}function handlePhraseModifier(e,t,i){if("_"===i)return e.eat("_")?togglePhraseModifier(e,t,"italic",/__/,2):togglePhraseModifier(e,t,"em",/_/,1);if("*"===i)return e.eat("*")?togglePhraseModifier(e,t,"bold",/\*\*/,2):togglePhraseModifier(e,t,"strong",/\*/,1);if("["===i)return e.match(/\d+\]/)&&(t.footCite=!0),tokenStyles(t);if("("===i&&e.match(/^(r|tm|c)\)/))return TOKEN_STYLES.specialChar;if("<"===i&&e.match(/(\w+)[^>]+>[^<]+<\/\1>/))return TOKEN_STYLES.html;if("?"===i&&e.eat("?"))return togglePhraseModifier(e,t,"cite",/\?\?/,2);if("="===i&&e.eat("="))return togglePhraseModifier(e,t,"notextile",/==/,2);if("-"===i&&!e.eat("-"))return togglePhraseModifier(e,t,"deletion",/-/,1);if("+"===i)return togglePhraseModifier(e,t,"addition",/\+/,1);if("~"===i)return togglePhraseModifier(e,t,"sub",/~/,1);if("^"===i)return togglePhraseModifier(e,t,"sup",/\^/,1);if("%"===i)return togglePhraseModifier(e,t,"span",/%/,1);if("@"===i)return togglePhraseModifier(e,t,"code",/@/,1);if("!"!==i)return tokenStyles(t);t=togglePhraseModifier(e,t,"image",/(?:\([^\)]+\))?!/,1);return e.match(/^:\S+/),t}function togglePhraseModifier(e,t,i,n,a){var s=e.pos>a?e.string.charAt(e.pos-a-1):null,o=e.peek();if(t[i]){if((!o||/\W/.test(o))&&s&&/\S/.test(s)){a=tokenStyles(t);return t[i]=!1,a}}else(!s||/\W/.test(s))&&o&&/\S/.test(o)&&e.match(new RegExp("^.*\\S"+n.source+"(?:\\W|$)"),!1)&&(t[i]=!0,t.mode=Modes.attributes);return tokenStyles(t)}function tokenStyles(e){var t=textileDisabled(e);if(t)return t;t=[];return e.layoutType&&t.push(TOKEN_STYLES[e.layoutType]),t=t.concat(activeStyles(e,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),"header"===e.layoutType&&t.push(TOKEN_STYLES.header+"-"+e.header),t.length?t.join(" "):null}function textileDisabled(e){var t=e.layoutType;switch(t){case"notextile":case"code":case"pre":return TOKEN_STYLES[t];default:return e.notextile?TOKEN_STYLES.notextile+(t?" "+TOKEN_STYLES[t]:""):null}}function activeStyles(e){for(var t=[],i=1;i]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(e){switch(e){case"drawTable":return REs.makeRe("^",REs.single.drawTable,"$");case"html":return REs.makeRe("^",REs.single.html,"(?:",REs.single.html,")*","$");case"linkDefinition":return REs.makeRe("^",REs.single.linkDefinition,"$");case"listLayout":return REs.makeRe("^",REs.single.list,RE("allAttributes"),"*\\s+");case"tableCellAttributes":return REs.makeRe("^",REs.choiceRe(REs.single.tableCellAttributes,RE("allAttributes")),"+\\.");case"type":return REs.makeRe("^",RE("allTypes"));case"typeLayout":return REs.makeRe("^",RE("allTypes"),RE("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return REs.makeRe("^",RE("allAttributes"),"+");case"allTypes":return REs.choiceRe(REs.single.div,REs.single.foot,REs.single.header,REs.single.bc,REs.single.bq,REs.single.notextile,REs.single.pre,REs.single.table,REs.single.para);case"allAttributes":return REs.choiceRe(REs.attributes.selector,REs.attributes.css,REs.attributes.lang,REs.attributes.align,REs.attributes.pad);default:return REs.makeRe("^",REs.single[e])}},makeRe:function(){for(var e="",t=0;t$/,reXmlCodeStop=/^$/,reCodeBlockStart=/^\{\{\{$/,reCodeBlockStop=/^\}\}\}$/,reUntilCodeStop=/.*?\}\}\}/;function chain(e,t,r){return(t.tokenize=r)(e,t)}function tokenBase(e,t){var r=e.sol(),n=e.peek();if(t.block=!1,r&&/[<\/\*{}\-]/.test(n)){if(e.match(reCodeBlockStart))return t.block=!0,chain(e,t,twTokenCode);if(e.match(reBlockQuote))return"quote";if(e.match(reWikiCommentStart)||e.match(reWikiCommentStop))return"comment";if(e.match(reJsCodeStart)||e.match(reJsCodeStop)||e.match(reXmlCodeStart)||e.match(reXmlCodeStop))return"comment";if(e.match(reHR))return"contentSeparator"}if(e.next(),r&&/[\/\*!#;:>|]/.test(n)){if("!"==n)return e.skipToEnd(),"header";if("*"==n)return e.eatWhile("*"),"comment";if("#"==n)return e.eatWhile("#"),"comment";if(";"==n)return e.eatWhile(";"),"comment";if(":"==n)return e.eatWhile(":"),"comment";if(">"==n)return e.eatWhile(">"),"quote";if("|"==n)return"header"}if("{"==n&&e.match("{{"))return chain(e,t,twTokenCode);if(/[hf]/i.test(n)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==n)return"string";if("~"==n)return"brace";if(/[\[\]]/.test(n)&&e.match(n))return"brace";if("@"==n)return e.eatWhile(isSpaceName),"link";if(/\d/.test(n))return e.eatWhile(/\d/),"number";if("/"==n){if(e.eat("%"))return chain(e,t,twTokenComment);if(e.eat("/"))return chain(e,t,twTokenEm)}if("_"==n&&e.eat("_"))return chain(e,t,twTokenUnderline);if("-"==n&&e.eat("-")){if(" "!=e.peek())return chain(e,t,twTokenStrike);if(" "==e.peek())return"brace"}return"'"==n&&e.eat("'")?chain(e,t,twTokenStrong):"<"==n&&e.eat("<")?chain(e,t,twTokenMacro):(e.eatWhile(/[\w\$_]/),textwords.propertyIsEnumerable(e.current())?"keyword":null)}function twTokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="%"==r}return"comment"}function twTokenStrong(e,t){for(var r,n=!1;r=e.next();){if("'"==r&&n){t.tokenize=tokenBase;break}n="'"==r}return"strong"}function twTokenCode(e,t){var r=t.block;return r&&e.current()||(!r&&e.match(reUntilCodeStop)||r&&e.sol()&&e.match(reCodeBlockStop)?t.tokenize=tokenBase:e.next()),"comment"}function twTokenEm(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="/"==r}return"emphasis"}function twTokenUnderline(e,t){for(var r,n=!1;r=e.next();){if("_"==r&&n){t.tokenize=tokenBase;break}n="_"==r}return"link"}function twTokenStrike(e,t){for(var r,n=!1;r=e.next();){if("-"==r&&n){t.tokenize=tokenBase;break}n="-"==r}return"deleted"}function twTokenMacro(e,t){if("<<"==e.current())return"meta";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),t.tokenize=tokenBase,"meta"):(e.eatWhile(/[\w\$_]/),keywords.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=tokenBase,null)}const tiddlyWiki={startState:function(){return{tokenize:tokenBase}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}};export{tiddlyWiki}; diff --git a/typecho/write/dist/tiki-c7f18a22.js b/typecho/write/dist/tiki-c7f18a22.js new file mode 100644 index 0000000..2082a54 --- /dev/null +++ b/typecho/write/dist/tiki-c7f18a22.js @@ -0,0 +1 @@ +function inBlock(n,r,i){return function(t,e){for(;!t.eol();){if(t.match(r)){e.tokenize=inText;break}t.next()}return i&&(e.tokenize=i),n}}function inLine(n){return function(t,e){for(;!t.eol();)t.next();return e.tokenize=inText,n}}function inText(e,n){function t(t){return(n.tokenize=t)(e,n)}var r=e.sol(),i=e.next();switch(i){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),n.tokenize=inPlugin,"tag";case"_":if(e.eat("_"))return t(inBlock("strong","__",inText));break;case"'":if(e.eat("'"))return t(inBlock("em","''",inText));break;case"(":if(e.eat("("))return t(inBlock("link","))",inText));break;case"[":return t(inBlock("url","]",inText));case"|":if(e.eat("|"))return t(inBlock("comment","||"));break;case"-":if(e.eat("="))return t(inBlock("header string","=-",inText));if(e.eat("-"))return t(inBlock("error tw-deleted","--",inText));break;case"=":if(e.match("=="))return t(inBlock("tw-underline","===",inText));break;case":":if(e.eat(":"))return t(inBlock("comment","::"));break;case"^":return t(inBlock("tw-box","^"));case"~":if(e.match("np~"))return t(inBlock("meta","~/np~"))}if(r)switch(i){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),t(inLine("header string"));case"*":case"#":case"+":return t(inLine("tw-listitem bracket"))}return null}var pluginName,type,curState,setStyle;function inPlugin(t,e){var n=t.next(),r=t.peek();return"}"==n?(e.tokenize=inText,"tag"):"("==n||")"==n?"bracket":"="==n?(type="equals",">"==r&&(t.next(),r=t.peek()),/[\'\"]/.test(r)||(e.tokenize=inAttributeNoQuote()),"operator"):/[\'\"]/.test(n)?(e.tokenize=inAttribute(n),e.tokenize(t,e)):(t.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function inAttribute(n){return function(t,e){for(;!t.eol();)if(t.next()==n){e.tokenize=inPlugin;break}return"string"}}function inAttributeNoQuote(){return function(t,e){for(;!t.eol();){var n=t.next(),r=t.peek();if(" "==n||","==n||/[ )}]/.test(r)){e.tokenize=inPlugin;break}}return"string"}}function pass(){for(var t=arguments.length-1;0<=t;t--)curState.cc.push(arguments[t])}function cont(){return pass.apply(null,arguments),!0}function pushContext(t,e){var n=curState.context&&curState.context.noIndent;curState.context={prev:curState.context,pluginName:t,indent:curState.indented,startOfLine:e,noIndent:n}}function popContext(){curState.context&&(curState.context=curState.context.prev)}function element(t){if("openPlugin"==t)return curState.pluginName=pluginName,cont(attributes,endplugin(curState.startOfLine));if("closePlugin"!=t)return"string"==t&&(curState.context&&"!cdata"==curState.context.name||pushContext("!cdata"),curState.tokenize==inText&&popContext()),cont();t=!1;return curState.context?(t=curState.context.pluginName!=pluginName,popContext()):t=!0,t&&(setStyle="error"),cont(endcloseplugin(t))}function endplugin(e){return function(t){return"selfclosePlugin"==t||"endPlugin"==t||"endPlugin"==t&&pushContext(curState.pluginName,e),cont()}}function endcloseplugin(e){return function(t){return e&&(setStyle="error"),("endPlugin"==t?cont:pass)()}}function attributes(t){return"keyword"==t?(setStyle="attribute",cont(attributes)):"equals"==t?cont(attvalue,attributes):pass()}function attvalue(t){return"keyword"==t?(setStyle="string",cont()):"string"==t?cont(attvaluemaybe):pass()}function attvaluemaybe(t){return"string"==t?cont(attvaluemaybe):pass()}const tiki={startState:function(){return{tokenize:inText,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(t,e){if(t.sol()&&(e.startOfLine=!0,e.indented=t.indentation()),t.eatSpace())return null;setStyle=type=pluginName=null;var n=e.tokenize(t,e);if((n||type)&&"comment"!=n)for(curState=e;;)if((e.cc.pop()||element)(type||n))break;return e.startOfLine=!1,setStyle||n},indent:function(t,e,n){var r=t.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(e)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}};export{tiki}; diff --git a/typecho/write/dist/toml-adb7882d.js b/typecho/write/dist/toml-adb7882d.js new file mode 100644 index 0000000..1cd82af --- /dev/null +++ b/typecho/write/dist/toml-adb7882d.js @@ -0,0 +1 @@ +const toml={startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):(t.lhs||!e.match(/^\d\d\d\d[\d\-\:\.T]*Z/))&&(t.lhs||!e.match("true")&&!e.match("false"))?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}};export{toml}; diff --git a/typecho/write/dist/troff-1f82bf74.js b/typecho/write/dist/troff-1f82bf74.js new file mode 100644 index 0000000..972f60f --- /dev/null +++ b/typecho/write/dist/troff-1f82bf74.js @@ -0,0 +1 @@ +var words={};function tokenBase(t){if(t.eatSpace())return null;var a=t.sol(),e=t.next();if("\\"===e)return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")||(t.match("m[")?(t.skipTo("]"),t.next()):t.match("s+")||t.match("s-")?t.eatWhile(/[\d-]/):(t.match("(")||t.match("*("))&&t.eatWhile(/[\w-]/)),"string";if(a&&("."===e||"'"===e)&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(a&&"."===e){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);t=t.current();return words.hasOwnProperty(t)?words[t]:null}function tokenize(t,a){return(a.tokens[0]||tokenBase)(t,a)}const troff={startState:function(){return{tokens:[]}},token:function(t,a){return tokenize(t,a)}};export{troff}; diff --git a/typecho/write/dist/ttcn-59c626fc.js b/typecho/write/dist/ttcn-59c626fc.js new file mode 100644 index 0000000..6296a0c --- /dev/null +++ b/typecho/write/dist/ttcn-59c626fc.js @@ -0,0 +1 @@ +function words(t){for(var e={},n=t.split(" "),r=0;r!\/]/;function tokenBase(t,e){var n=t.next();if('"'==n||"'"==n)return e.tokenize=tokenString(n),e.tokenize(t,e);if(/[\[\]{}\(\),;\\:\?\.]/.test(n))return curPunc=n,"punctuation";if("#"==n)return t.skipToEnd(),"atom";if("%"==n)return t.eatWhile(/\b/),"atom";if(/\d/.test(n))return t.eatWhile(/[\w\.]/),"number";if("/"==n){if(t.eat("*"))return(e.tokenize=tokenComment)(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(isOperatorChar.test(n))return"@"==n&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(isOperatorChar),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);t=t.current();return keywords.propertyIsEnumerable(t)?"keyword":builtin.propertyIsEnumerable(t)?"builtin":timerOps.propertyIsEnumerable(t)||configOps.propertyIsEnumerable(t)||verdictOps.propertyIsEnumerable(t)||portOps.propertyIsEnumerable(t)||sutOps.propertyIsEnumerable(t)||functionOps.propertyIsEnumerable(t)?"def":verdictConsts.propertyIsEnumerable(t)||booleanConsts.propertyIsEnumerable(t)||otherConsts.propertyIsEnumerable(t)?"string":types.propertyIsEnumerable(t)?"typeName.standard":visibilityModifiers.propertyIsEnumerable(t)?"modifier":templateMatch.propertyIsEnumerable(t)?"atom":"variable"}function tokenString(s){return function(t,e){for(var n,r=!1,o=!1;null!=(n=t.next());){if(n==s&&!r){var i=t.peek();i&&("b"!=(i=i.toLowerCase())&&"h"!=i&&"o"!=i||t.next()),o=!0;break}r=!r&&"\\"==n}return!o&&(r||multiLineStrings)||(e.tokenize=null),"string"}}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=null;break}r="*"==n}return"comment"}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){var r=t.indented;return t.context&&"statement"==t.context.type&&(r=t.context.indented),t.context=new Context(r,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}const ttcn={startState:function(){return{tokenize:null,context:new Context(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(null==n.align&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;curPunc=null;var r=(e.tokenize||tokenBase)(t,e);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=curPunc&&":"!=curPunc&&","!=curPunc||"statement"!=n.type)if("{"==curPunc)pushContext(e,t.column(),"}");else if("["==curPunc)pushContext(e,t.column(),"]");else if("("==curPunc)pushContext(e,t.column(),")");else if("}"==curPunc){for(;"statement"==n.type;)n=popContext(e);for("}"==n.type&&(n=popContext(e));"statement"==n.type;)n=popContext(e)}else curPunc==n.type?popContext(e):(("}"==n.type||"top"==n.type)&&";"!=curPunc||"statement"==n.type&&"newstatement"==curPunc)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:wordList}};export{ttcn}; diff --git a/typecho/write/dist/ttcn-cfg-078eba3a.js b/typecho/write/dist/ttcn-cfg-078eba3a.js new file mode 100644 index 0000000..12ee275 --- /dev/null +++ b/typecho/write/dist/ttcn-cfg-078eba3a.js @@ -0,0 +1 @@ +function words(t){for(var e={},n=t.split(" "),T=0;T=&|]/;function tokenBase(t,e){var n=t.next();if(curPunc=null,"<"!=n||t.match(/^[\s\u00a0=]/,!1)){if('"'==n||"'"==n)return e.tokenize=tokenLiteral(n),e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(n))return curPunc=n,null;if("#"==n)return t.skipToEnd(),"comment";if(operatorChars.test(n))return t.eatWhile(operatorChars),null;if(":"==n)return"operator";if(t.eatWhile(/[_\w\d]/),":"==t.peek())return"variableName.special";e=t.current();return keywords.test(e)?"meta":"A"<=n&&n<="Z"?"comment":"keyword"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function tokenLiteral(r){return function(t,e){for(var n,o=!1;null!=(n=t.next());){if(n==r&&!o){e.tokenize=tokenBase;break}o=!o&&"\\"==n}return"string"}}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}const turtle={startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==curPunc)pushContext(e,")",t.column());else if("["==curPunc)pushContext(e,"]",t.column());else if("{"==curPunc)pushContext(e,"}",t.column());else if(/[\]\}\)]/.test(curPunc)){for(;e.context&&"pattern"==e.context.type;)popContext(e);e.context&&curPunc==e.context.type&&popContext(e)}else"."==curPunc&&e.context&&"pattern"==e.context.type?popContext(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?pushContext(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var e=e&&e.charAt(0),o=t.context;if(/[\]\}]/.test(e))for(;o&&"pattern"==o.type;)o=o.prev;e=o&&e==o.type;return o?"pattern"==o.type?o.col:o.align?o.col+(e?0:1):o.indent+(e?0:n.unit):0},languageData:{commentTokens:{line:"#"}}};export{turtle}; diff --git a/typecho/write/dist/vb-48de61b2.js b/typecho/write/dist/vb-48de61b2.js new file mode 100644 index 0000000..0703812 --- /dev/null +++ b/typecho/write/dist/vb-48de61b2.js @@ -0,0 +1 @@ +var ERRORCLASS="error";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var singleOperators=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),singleDelimiters=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),doubleOperators=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),doubleDelimiters=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),tripleDelimiters=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),identifiers=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),openingKeywords=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],middleKeywords=["else","elseif","case","catch","finally"],endKeywords=["next","loop"],operatorKeywords=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],wordOperators=wordRegexp(operatorKeywords),commonKeywords=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],commontypes=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],keywords=wordRegexp(commonKeywords),types=wordRegexp(commontypes),stringPrefixes='"',opening=wordRegexp(openingKeywords),middle=wordRegexp(middleKeywords),closing=wordRegexp(endKeywords),doubleClosing=wordRegexp(["end"]),doOpening=wordRegexp(["do"]);function indent(e,t){t.currentIndent++}function dedent(e,t){t.currentIndent--}function tokenBase(e,t){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var n=!1;if(n=e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/)?!0:n)return e.eat(/J/i),"number";n=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?n=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),n=!0):e.match(/^0(?![\dx])/i)&&(n=!0),n)return e.eat(/L/i),"number"}return e.match(stringPrefixes)?(t.tokenize=tokenStringFactory(e.current()),t.tokenize(e,t)):e.match(tripleDelimiters)||e.match(doubleDelimiters)?null:e.match(doubleOperators)||e.match(singleOperators)||e.match(wordOperators)?"operator":e.match(singleDelimiters)?null:e.match(doOpening)?(indent(e,t),t.doInCurrentLine=!0,"keyword"):e.match(opening)?(t.doInCurrentLine?t.doInCurrentLine=!1:indent(e,t),"keyword"):e.match(middle)?"keyword":e.match(doubleClosing)?(dedent(e,t),dedent(e,t),"keyword"):e.match(closing)?(dedent(e,t),"keyword"):e.match(types)||e.match(keywords)?"keyword":e.match(identifiers)?"variable":(e.next(),ERRORCLASS)}function tokenStringFactory(n){var r=1==n.length,o="string";return function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(n))return t.tokenize=tokenBase,o;e.eat(/['"]/)}return r&&(t.tokenize=tokenBase),o}}function tokenLexer(e,t){var n=t.tokenize(e,t),r=e.current();return"."===r?"variable"===(n=t.tokenize(e,t))?"variable":ERRORCLASS:(-1!=="[({".indexOf(r)&&indent(e,t),-1!=="])}".indexOf(r)&&dedent(e,t)?ERRORCLASS:n)}const vb={startState:function(){return{tokenize:tokenBase,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=tokenLexer(e,t);return t.lastToken={style:n,content:e.current()},n},indent:function(e,t,n){t=t.replace(/^\s+|\s+$/g,"");return t.match(closing)||t.match(doubleClosing)||t.match(middle)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:openingKeywords.concat(middleKeywords).concat(endKeywords).concat(operatorKeywords).concat(commonKeywords).concat(commontypes)}};export{vb}; diff --git a/typecho/write/dist/vbscript-5aa6df10.js b/typecho/write/dist/vbscript-5aa6df10.js new file mode 100644 index 0000000..fbe2f41 --- /dev/null +++ b/typecho/write/dist/vbscript-5aa6df10.js @@ -0,0 +1 @@ +function mkVBScript(e){var o="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var c=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),b=new RegExp("^((<>)|(<=)|(>=))"),l=new RegExp("^[\\.,]"),s=new RegExp("^[\\(\\)]"),u=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),v=t(["and","or","not","xor","is","mod","eqv","imp"]),n=["WScript","err","debug","RegExp"],d=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]),n=n.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]);e.isASP&&(n=n.concat(["server","response","request","session","application"]),d=d.concat(["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"]));var m=t(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),p=t(["true","false","nothing","empty","null"]),h=t(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),y=t(n),f=t(d),g='"',k=t(["class","sub","select","while","if","function","property","with","for"]),x=t(["else","elseif","case"]),w=t(["next","loop","wend"]),S=t(["end"]),I=t(["do"]),C=t(["on error resume next","exit"]),L=t(["rem"]);function D(e,t){t.currentIndent++}function E(e,t){t.currentIndent--}function B(e,t){if(e.eatSpace())return null;var n,r,a;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(L))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var i=!1;if(i=e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/)?!0:i)return e.eat(/J/i),"number";i=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?i=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),i=!0):e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}return e.match(g)?(t.tokenize=(n=e.current(),r=1==n.length,a="string",function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(n))return t.tokenize=B,a;e.eat(/['"]/)}return r&&(t.tokenize=B),a}),t.tokenize(e,t)):e.match(b)||e.match(c)||e.match(v)?"operator":e.match(l)?null:e.match(s)?"bracket":e.match(C)?(t.doInCurrentLine=!0,"keyword"):e.match(I)?(D(0,t),t.doInCurrentLine=!0,"keyword"):e.match(k)?(t.doInCurrentLine?t.doInCurrentLine=!1:D(0,t),"keyword"):e.match(x)?"keyword":e.match(S)?(E(0,t),E(0,t),"keyword"):e.match(w)?(t.doInCurrentLine?t.doInCurrentLine=!1:E(0,t),"keyword"):e.match(m)?"keyword":e.match(p)?"atom":e.match(f)?"variableName.special":e.match(h)||e.match(y)?"builtin":e.match(u)?"variable":(e.next(),o)}return{startState:function(){return{tokenize:B,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n,r,a,i,a=(n=e,a=(r=t).tokenize(n,r),"."===(i=n.current())?(a=r.tokenize(n,r),i=n.current(),!a||"variable"!==a.substr(0,8)&&"builtin"!==a&&"keyword"!==a?o:("builtin"!==a&&"keyword"!==a||(a="variable"),-1!?:\/|]/;function chain(e,n,t){return(n.tokenize=t)(e,n)}function tokenBase(e,n){var t=n.beforeParams;n.beforeParams=!1;var r=e.next();if("'"==r&&!n.inString&&n.inParams)return n.lastTokenWasBuiltin=!1,chain(e,n,tokenString(r));if('"'==r)return n.lastTokenWasBuiltin=!1,n.inString?(n.inString=!1,"string"):n.inParams?chain(e,n,tokenString(r)):void 0;if(/[\[\]{}\(\),;\.]/.test(r))return"("==r&&t?n.inParams=!0:")"==r&&(n.inParams=!1,n.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return n.lastTokenWasBuiltin=!1,e.eatWhile(/[\w\.]/),"number";if("#"==r&&e.eat("*"))return n.lastTokenWasBuiltin=!1,chain(e,n,tokenComment);if("#"==r&&e.match(/ *\[ *\[/))return n.lastTokenWasBuiltin=!1,chain(e,n,tokenUnparsed);if("#"==r&&e.eat("#"))return n.lastTokenWasBuiltin=!1,e.skipToEnd(),"comment";if("$"==r)return e.eatWhile(/[\w\d\$_\.{}-]/),specials&&specials.propertyIsEnumerable(e.current())?"keyword":(n.lastTokenWasBuiltin=!0,n.beforeParams=!0,"builtin");if(isOperatorChar.test(r))return n.lastTokenWasBuiltin=!1,e.eatWhile(isOperatorChar),"operator";e.eatWhile(/[\w\$_{}@]/);r=e.current();return keywords&&keywords.propertyIsEnumerable(r)?"keyword":functions&&functions.propertyIsEnumerable(r)||e.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==e.peek()&&(!functions||!functions.propertyIsEnumerable(r.toLowerCase()))?(n.beforeParams=!0,n.lastTokenWasBuiltin=!1,"keyword"):n.inString?(n.lastTokenWasBuiltin=!1,"string"):e.pos>r.length&&"."==e.string.charAt(e.pos-r.length-1)&&n.lastTokenWasBuiltin?"builtin":(n.lastTokenWasBuiltin=!1,null)}function tokenString(i){return function(e,n){for(var t,r=!1,a=!1;null!=(t=e.next());){if(t==i&&!r){a=!0;break}if('"'==i&&"$"==e.peek()&&!r){a=n.inString=!0;break}r=!r&&"\\"==t}return a&&(n.tokenize=tokenBase),"string"}}function tokenComment(e,n){for(var t,r=!1;t=e.next();){if("#"==t&&r){n.tokenize=tokenBase;break}r="*"==t}return"comment"}function tokenUnparsed(e,n){for(var t,r=0;t=e.next();){if("#"==t&&2==r){n.tokenize=tokenBase;break}"]"==t?r++:" "!=t&&(r=0)}return"meta"}const velocity={startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}};export{velocity}; diff --git a/typecho/write/dist/verilog-026cb9a4.js b/typecho/write/dist/verilog-026cb9a4.js new file mode 100644 index 0000000..c8bec8e --- /dev/null +++ b/typecho/write/dist/verilog-026cb9a4.js @@ -0,0 +1 @@ +function mkVerilog(e){var a=e.statementIndentUnit,o=e.dontAlignCalls,t=e.noIndentKeywords||[],l=e.multiLineStrings,c=e.hooks||{};function n(e){for(var t={},n=e.split(" "),i=0;i":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},tlvScopePrefixChars={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},tlvIndentUnit=3,tlvIdentMatch=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,tlvLineIndentationMatch=/^[! ] */,tlvCommentMatch=/^\/[\/\*]/;const tlv=mkVerilog({hooks:{electricInput:!1,token:function(e,t){var n,i=void 0;if(e.sol()&&!t.tlvInBlockComment){"\\"==e.peek()&&(i="def",e.skipToEnd(),e.string.match(/\\SV/)?t.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(t.tlvCodeActive=!0)),t.tlvCodeActive&&0==e.pos&&0==t.indented&&(n=e.match(tlvLineIndentationMatch,!1))&&(t.indented=n[0].length);var r=t.indented,a=r/tlvIndentUnit;if(a<=t.tlvIndentationStyle.length){var o,l,c=e.string.length==r,s=a*tlvIndentUnit;if(sa;)t.tlvIndentationStyle.pop()}t.tlvNextIndent=r}return t.tlvCodeActive?void 0!==i||(t.tlvInBlockComment?(e.match(/^.*?\*\//)?t.tlvInBlockComment=!1:e.skipToEnd(),i="comment"):(n=e.match(tlvCommentMatch))&&!t.tlvInBlockComment?("//"==n[0]?e.skipToEnd():t.tlvInBlockComment=!0,i="comment"):(n=e.match(tlvIdentMatch))?(c=n[1],r=n[2],tlvIdentifierStyle.hasOwnProperty(c)&&(0!\?@#$%&|:\.]+)/,token:"variable"},{regex:/"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/,token:"string"},{regex:/\(;.*?/,token:"comment",next:"comment"},{regex:/;;.*$/,token:"comment"},{regex:/\(/,indent:!0},{regex:/\)/,dedent:!0}],comment:[{regex:/.*?;\)/,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"]}});export{wast}; diff --git a/typecho/write/dist/webidl-dc65d1d3.js b/typecho/write/dist/webidl-dc65d1d3.js new file mode 100644 index 0000000..7552356 --- /dev/null +++ b/typecho/write/dist/webidl-dc65d1d3.js @@ -0,0 +1 @@ +function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var builtinArray=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],builtins=wordRegexp(builtinArray),typeArray=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],types=wordRegexp(typeArray),keywordArray=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],keywords=wordRegexp(keywordArray),atomArray=["true","false","Infinity","NaN","null"],atoms=wordRegexp(atomArray),startDefArray=["callback","dictionary","enum","interface"],startDefs=wordRegexp(startDefArray),endDefArray=["typedef"],endDefs=wordRegexp(endDefArray),singleOperators=/^[:<=>?]/,integers=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,floats=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,identifiers=/^_?[A-Za-z][0-9A-Z_a-z-]*/,identifiersEnd=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,strings=/^"[^"]*"/,multilineComments=/^\/\*.*?\*\//,multilineCommentsStart=/^\/\*.*/,multilineCommentsEnd=/^.*?\*\//;function readToken(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(multilineCommentsEnd)?t.inComment=!1:e.skipToEnd(),"comment";if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(multilineComments))return"comment";if(e.match(multilineCommentsStart))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(integers)||e.match(floats)))return"number";if(e.match(strings))return"string";if(t.startDef&&e.match(identifiers))return"def";if(t.endDef&&e.match(identifiersEnd))return t.endDef=!1,"def";if(e.match(keywords))return"keyword";if(e.match(types)){var r=t.lastToken,t=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===r||"implements"===r||"implements"===t||"="===t?"builtin":"type"}return e.match(builtins)?"builtin":e.match(atoms)?"atom":e.match(identifiers)?"variable":e.match(singleOperators)?"operator":(e.next(),null)}const webIDL={startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var r=readToken(e,t);return r&&(e=e.current(),t.lastToken=e,"keyword"===r?(t.startDef=startDefs.test(e),t.endDef=t.endDef||endDefs.test(e)):t.startDef=!1),r},languageData:{autocomplete:builtinArray.concat(typeArray).concat(keywordArray).concat(atomArray)}};export{webIDL}; diff --git a/typecho/write/dist/xquery-7782f779.js b/typecho/write/dist/xquery-7782f779.js new file mode 100644 index 0000000..f49dc17 --- /dev/null +++ b/typecho/write/dist/xquery-7782f779.js @@ -0,0 +1 @@ +var keywords=function(){function t(t){return{type:t,style:"keyword"}}for(var e=t("operator"),n={type:"atom",style:"atom"},a={type:"axis_specifier",style:"qualifier"},r={",":{type:"punctuation",style:null}},i=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],o=0,s=i.length;o",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],o=0,s=u.length;o\"\'\/?]/);)s+=o;return chain(t,e,tokenTag(s,i))}if("{"==n)return pushStateStack(e,{type:"codeblock"}),null;if("}"==n)return popStateStack(e),null;if(isInXmlBlock(e))return">"==n?"tag":"/"==n&&t.eat(">")?(popStateStack(e),"tag"):"variable";if(/\d/.test(n))return t.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===n&&t.eat(":"))return pushStateStack(e,{type:"comment"}),chain(t,e,tokenComment);if(r||'"'!==n&&"'"!==n){if("$"===n)return chain(t,e,tokenVariable);if(":"===n&&t.eat("="))return"keyword";if("("===n)return pushStateStack(e,{type:"paren"}),null;if(")"===n)return popStateStack(e),null;if("["===n)return pushStateStack(e,{type:"bracket"}),null;if("]"===n)return popStateStack(e),null;i=keywords.propertyIsEnumerable(n)&&keywords[n];if(r&&'"'===n)for(;'"'!==t.next(););if(r&&"'"===n)for(;"'"!==t.next(););i||t.eatWhile(/[\w\$_-]/);r=t.eat(":");!t.eat(":")&&r&&t.eatWhile(/[\w\$_-]/),t.match(/^[ \t]*\(/,!1)&&(a=!0);r=t.current(),i=keywords.propertyIsEnumerable(r)&&keywords[r];return a&&!i&&(i={type:"function_call",style:"def"}),isInXmlConstructor(e)?(popStateStack(e),"variable"):("element"!=r&&"attribute"!=r&&"axis_specifier"!=i.type||pushStateStack(e,{type:"xmlconstructor"}),i?i.style:"variable")}return chain(t,e,tokenString(n))}function tokenComment(t,e){for(var n,a=!1,r=!1,i=0;n=t.next();){if(")"==n&&a){if(!(0")?(popStateStack(e),e.tokenize=tokenBase,"tag"):(t.eat("/")||pushStateStack(e,{type:"tag",name:n,tokenize:tokenBase}),t.eat(">")?e.tokenize=tokenBase:e.tokenize=tokenAttribute,"tag")}}function tokenAttribute(t,e){var n=t.next();return"/"==n&&t.eat(">")?(isInXmlAttributeBlock(e)&&popStateStack(e),isInXmlBlock(e)&&popStateStack(e),"tag"):">"==n?(isInXmlAttributeBlock(e)&&popStateStack(e),"tag"):"="==n?null:'"'==n||"'"==n?chain(t,e,tokenString(n,tokenAttribute)):(isInXmlAttributeBlock(e)||pushStateStack(e,{type:"attribute",tokenize:tokenAttribute}),t.eat(/[a-zA-Z_:]/),t.eatWhile(/[-a-zA-Z0-9_:.]/),t.eatSpace(),(t.match(">",!1)||t.match("/",!1))&&(popStateStack(e),e.tokenize=tokenBase),"attribute")}function tokenXMLComment(t,e){for(var n;n=t.next();)if("-"==n&&t.match("->",!0))return e.tokenize=tokenBase,"comment"}function tokenCDATA(t,e){for(var n;n=t.next();)if("]"==n&&t.match("]",!0))return e.tokenize=tokenBase,"comment"}function tokenPreProcessing(t,e){for(var n;n=t.next();)if("?"==n&&t.match(">",!0))return e.tokenize=tokenBase,"processingInstruction"}function isInXmlBlock(t){return isIn(t,"tag")}function isInXmlAttributeBlock(t){return isIn(t,"attribute")}function isInXmlConstructor(t){return isIn(t,"xmlconstructor")}function isInString(t){return isIn(t,"string")}function isEQNameAhead(t){return'"'===t.current()?t.match(/^[^\"]+\"\:/,!1):"'"===t.current()&&t.match(/^[^\"]+\'\:/,!1)}function isIn(t,e){return t.stack.length&&t.stack[t.stack.length-1].type==e}function pushStateStack(t,e){t.stack.push(e)}function popStateStack(t){t.stack.pop();var e=t.stack.length&&t.stack[t.stack.length-1].tokenize;t.tokenize=e||tokenBase}const xQuery={startState:function(){return{tokenize:tokenBase,cc:[],stack:[]}},token:function(t,e){return t.eatSpace()?null:e.tokenize(t,e)},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}};export{xQuery}; diff --git a/typecho/write/dist/yacas-21340496.js b/typecho/write/dist/yacas-21340496.js new file mode 100644 index 0000000..dfa61d3 --- /dev/null +++ b/typecho/write/dist/yacas-21340496.js @@ -0,0 +1 @@ +function words(e){for(var t={},n=e.split(" "),r=0;r|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function tokenString(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if('"'===n&&!o){r=!0;break}o=!o&&"\\"===n}return r&&!o&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var n,r;null!=(r=e.next());){if("*"===n&&"/"===r){t.tokenize=tokenBase;break}n=r}return"comment"}function currentScope(e){var t=null;return t=0t.keyCol)return e.skipToEnd(),"string";if(t.literal&&(t.literal=!1),e.sol()){if(t.keyCol=0,t.pair=!1,t.pairStart=!1,e.match("---"))return"def";if(e.match("..."))return"def";if(e.match(/^\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==i?t.inlinePairs++:"}"==i?t.inlinePairs--:"["==i?t.inlineList++:t.inlineList--,"meta";if(0)\s*/))return t.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(0==t.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(0'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(t.pair=!0,t.keyCol=e.indentation(),"atom"):t.pair&&e.match(/^:\s*/)?(t.pairStart=!0,"meta"):(t.pairStart=!1,t.escaped="\\"==i,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};export{yaml}; diff --git a/typecho/write/dist/z80-01cbb90e.js b/typecho/write/dist/z80-01cbb90e.js new file mode 100644 index 0000000..816cddc --- /dev/null +++ b/typecho/write/dist/z80-01cbb90e.js @@ -0,0 +1 @@ +function mkZ80(i){var n,l=i?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i),a=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,c=/^(n?[zc]|p[oe]?|m)\b/i,s=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,o=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,t){if(e.column()||(t.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/)){if(i&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),!e.indentation())return e.match(o)?"number":null;if((1==t.context||4==t.context)&&a.test(r))return t.context=4,"variable";if(2==t.context&&c.test(r))return t.context=4,"variableName.special";if(n.test(r))return t.context=1,"keyword";if(l.test(r))return t.context=2,"keyword";if(4==t.context&&o.test(r))return"number";if(s.test(r))return"error"}else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&'"'!=r;)"\\"==r&&e.next();return"string"}if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(t.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const z80=mkZ80(!1),ez80=mkZ80(!0);export{ez80,z80}; diff --git a/typecho/write/js/joe.write.js b/typecho/write/js/index.js similarity index 98% rename from typecho/write/js/joe.write.js rename to typecho/write/js/index.js index f6fcadf..74ed031 100644 --- a/typecho/write/js/joe.write.js +++ b/typecho/write/js/index.js @@ -6,6 +6,7 @@ import { defaultKeymap, defaultTabBinding } from '@codemirror/commands'; import { history, historyKeymap } from '@codemirror/history'; import { classHighlightStyle } from '@codemirror/highlight'; import { markdown, markdownLanguage } from '@codemirror/lang-markdown'; +import { languages } from '@codemirror/language-data'; import tools from './_tools'; import JoeAction from './_actions'; import createPreviewHtml from './_create'; @@ -52,7 +53,8 @@ class Joe extends JoeAction { extensions: [ ...this.plugins, markdown({ - base: markdownLanguage + base: markdownLanguage, + codeLanguages: languages }), keymap.of([defaultTabBinding, ...closeBracketsKeymap, ...defaultKeymap, ...historyKeymap]), EditorView.updateListener.of(update => { @@ -60,7 +62,7 @@ class Joe extends JoeAction { if (_temp !== update.state.doc.toString()) { _temp = update.state.doc.toString(); clearTimeout(_debounce); - _debounce = setTimeout(createPreviewHtml.bind(null, update.state.doc.toString()), 180); + _debounce = setTimeout(createPreviewHtml.bind(null, update.state.doc.toString()), 200); } }), EditorView.domEventHandlers({ diff --git a/typecho/write/js/joe.write.chunk.js b/typecho/write/js/joe.write.chunk.js deleted file mode 100644 index 6bfbc81..0000000 --- a/typecho/write/js/joe.write.chunk.js +++ /dev/null @@ -1,288 +0,0 @@ -!function(){"use strict";let r="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,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e&&s(c(i,e));)t++,e-=2;if(t%2==0)break;n+=2}}}return n}function a(t,e){for(;0this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,i){var n=[];return this.decompose(0,t,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(e,this.length,n,1),m.from(n,this.length-(e-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){var i=[];return this.decompose(t,e,i,0),m.from(i,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=new g(this),i=new g(t);for(;;){if(e.next(),i.next(),e.lineBreak!=i.lineBreak||e.done!=i.done||e.value!=i.value)return!1;if(e.done)return!0}}iter(t=1){return new g(this,t)}iterRange(t,e=this.length){return new i(this,t,e)}toString(){return this.sliceString(0)}toJSON(){var t=[];return this.flatten(t),t}static of(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new p(t):m.from(p.split(t,[])):d.empty}}"undefined"!=typeof Symbol&&(d.prototype[Symbol.iterator]=function(){return this.iter()});class p extends d{constructor(t,e=function(t){let e=-1;for(var i of t)e+=i.length+1;return e}(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let t=0;;t++){var s=this.text[t],o=r+s.length;if(e<=(i?n:o))return new v(r,o,n,s);r=o+1,n++}}decompose(i,t,n,r){i=i<=0&&t>=this.length?this:new p(f(this.text,i,t),Math.min(t,this.length)-Math.max(0,i));if(1&r){let t=n.pop(),e=u(i.text,t.text.slice(),0,i.length);e.length<=32?n.push(new p(e,t.length+i.length)):(r=e.length>>1,n.push(new p(e.slice(0,r)),new p(e.slice(r))))}else n.push(i)}replace(t,e,i){if(!(i instanceof p))return super.replace(t,e,i);var n=u(this.text,u(i.text,f(this.text,0,t)),e),t=this.length+i.length-(e-t);return n.length<=32?new p(n,t):m.from(p.split(n,[]),t)}sliceString(r,s=this.length,o="\n"){let a="";for(let i=0,n=0;i<=s&&nr&&n&&(a+=o),ri&&(a+=t.slice(Math.max(0,r-i),s-i)),i=e+1}return a}flatten(t){for(var e of this.text)t.push(e)}static split(t,e){let i=[],n=-1;for(var r of t)i.push(r),n+=r.length+1,32==i.length&&(e.push(new p(i,n)),i=[],n=-1);return-1=n&&(l=a&((n<=r?1:0)|(s<=e?2:0)),n>=r&&e<=s&&!l?o.push(t):t.decompose(r-n,s-n,o,l)),n=e+1}}replace(r,s,o){if(o.lines=n&&s<=e){var a=t.replace(r-n,s-n,o),l=this.lines-t.lines+a.lines;if(a.lines>4&&a.lines>l>>6){let t=this.children.slice();return t[i]=a,new m(t,this.length-(s-r)+o.length)}return super.replace(n,e,a)}n=e+1}return super.replace(r,s,o)}sliceString(r,s=this.length,o="\n"){let a="";for(let i=0,n=0;ir&&i&&(a+=o),rn&&(a+=t.sliceString(r-n,s-n,o)),n=e+1}return a}flatten(t){for(var e of this.children)e.flatten(t)}static from(t,e=t.reduce((t,e)=>t+e.length+1,-1)){let i=0;for(var n of t)i+=n.lines;if(i<32){var r,s=[];for(r of t)r.flatten(s);return new p(s,e)}let o=Math.max(32,i>>5),a=o<<1,l=o>>1,h=[],c=0,O=-1,d=[];function u(){0!=c&&(h.push(1==d.length?d[0]:m.from(d,O)),O=-1,c=d.length=0)}for(var f of t)!function t(e){let i;if(e.lines>a&&e instanceof m)for(var n of e.children)t(n);else e.lines>l&&(c>l||!c)?(u(),h.push(e)):e instanceof p&&c&&(i=d[d.length-1])instanceof p&&e.lines+i.lines<=32?(c+=e.lines,O+=e.length+1,d[d.length-1]=new p(i.text.concat(e.text),i.length+1+e.length)):(c+e.lines>o&&u(),c+=e.lines,O+=e.length+1,d.push(e))}(f);return u(),1==h.length?h[0]:new m(h,e)}}function u(s,o,a=0,l=1e9){for(let i=0,n=0,r=!0;nMath.max(0,n))return this.value=0==n?t:0t.length?n-=t.length:(this.nodes.push(t),this.offsets.push(0this.limit&&(this.value=0r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(i,n=i){for(let t=0,e=0;t"number"!=typeof t))throw new RangeError("Invalid JSON representation of ChangeDesc");return new y(t)}}class k extends y{constructor(t,e){super(t),this.inserted=e}apply(s){if(this.length!=s.length)throw new RangeError("Applying change set to a document with the wrong length");return T(this,(t,e,i,n,r)=>s=s.replace(i,i+(e-t),r),!1),s}mapDesc(t,e=!1){return W(this,t,e,!0)}invert(i){let n=this.sections.slice(),r=[];for(let t=0,e=0;t>1;r.length>1].toJSON()))}return n}static of(t,s,o){let a=[],l=[],h=0,i=null;function c(t=!1){if(t||a.length){hh&&S(a,t-h,-1),S(a,e-t,n),P(l,a,r),h=e)}}(t),c(!i),i}static empty(t){return new k(t?[t,-1]:[],[])}static fromJSON(i){if(!Array.isArray(i))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let e=0;ee&&"string"!=typeof t))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==t.length)n.push(t[0],0);else{for(;r.length>1;if(n>1])),!(c||a==l.sections.length||l.sections[a+1]<0);)n=l.sections[a++],r=l.sections[a++];h(s,t,o,e,i),s=t,o=e}}}function W(t,e,r,i=!1){var s=[],o=i?[]:null;let a=new X(t),l=new X(e);for(let i=0,n=0;;)if(-1==a.ins)i+=a.len,a.next();else if(-1==l.ins&&nn&&!a.done&&i+a.leni&&n+l.lenl||0<=o.ins&&o.len>l)&&(t||h>1;return e>=t.length?d.empty:t[e]}textBit(t){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length&&!t?d.empty:e[i].slice(this.off,null==t?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class R{constructor(t,e,i){this.from=t,this.to=e,this.flags=i}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){var t=3&this.flags;return 3==t?null:t}get goalColumn(){var t=this.flags>>5;return 33554431==t?void 0:t}map(t,e=-1){var i=t.mapPos(this.from,e),e=t.mapPos(this.to,e);return i==this.from&&e==this.to?this:new R(i,e,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return _.range(t,e);e=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return _.range(this.anchor,e)}eq(t){return this.anchor==t.anchor&&this.head==t.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid JSON representation for SelectionRange");return _.range(t.anchor,t.head)}}class _{constructor(t,e=0){this.ranges=t,this.mainIndex=e}map(e,i=-1){return e.empty?this:_.create(this.ranges.map(t=>t.map(e,i)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;tt.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new _(t.ranges.map(t=>R.fromJSON(t)),t.main)}static single(t,e=t){return new _([_.range(t,e)],0)}static create(i,n=0){if(0==i.length)throw new RangeError("A selection needs at least one range");for(let t=0,e=0;et.from-e.from),i=e.indexOf(t);for(let t=1;tr.head?_.range(s,n):_.range(n,s)))}return new _(e,i)}(i.slice(),n);t=r.to}return new _(i,n)}static cursor(t,e=0,i,n){return new R(t,t,(0==e?0:e<0?4:8)|(null==i?3:Math.min(2,i))|(null!=n?n:33554431)<<5)}static range(t,e,i){i=(null!=i?i:33554431)<<5;return ee)throw new RangeError("Selection points outside of document")}let A=0;class L{constructor(t,e,i,n,r){this.combine=t,this.compareInput=e,this.compare=i,this.isStatic=n,this.extensions=r,this.id=A++,this.default=t([])}static define(t={}){return new L(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(t.combine?(t,e)=>t===e:z),!!t.static,t.enables)}of(t){return new q([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new q(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new q(t,this,2,e)}from(e,i){return i=i||(t=>t),this.compute([e],t=>i(t.field(e)))}}function z(t,i){return t==i||t.length==i.length&&t.every((t,e)=>t===i[e])}class q{constructor(t,e,i,n){this.dependencies=t,this.facet=e,this.type=i,this.value=n,this.id=A++}dynamicSlot(t){var e,i;let n=this.value,r=this.facet.compareInput,s=t[this.id]>>1,o=2==this.type,a=!1,l=!1,h=[];for(i of this.dependencies)"doc"==i?a=!0:"selection"==i?l=!0:0==(1&(null!==(e=t[i.id])&&void 0!==e?e:1))&&h.push(t[i.id]);return(e,t)=>{if(!t||t.reconfigured)return e.values[s]=n(e),1;if(!(a&&t.docChanged||l&&(t.docChanged||t.selection)||h.some(t=>0<(1&G(e,t)))))return 0;var i=n(e),t=t.startState.values[s];return(o?function(e,i,n){if(e.length!=i.length)return!1;for(let t=0;t>1}const Y=L.define({static:!0});class M{constructor(t,e,i,n,r){this.id=t,this.createF=e,this.updateF=i,this.compareF=n,this.spec=r,this.provides=void 0}static define(t){let e=new M(A++,t.create,t.update,t.compare||((t,e)=>t===e),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(Y).find(t=>t.field==this);return((null===e||void 0===e?void 0:e.create)||this.createF)(t)}slot(t){let r=t[this.id]>>1;return(t,e)=>{if(!e||e.reconfigured&&null==V(e.startState,this.id))return t.values[r]=this.create(t),1;let i,n=0;e.reconfigured?(i=e.startState.values[V(e.startState,this.id)],n=1):i=e.startState.values[r];e=this.updateF(i,e);return n||this.compareF(i,e)||(n=1),n&&(t.values[r]=e),n}}init(t){return[this,Y.of({field:this,create:t})]}get extension(){return this}}const Z={fallback:3,default:2,extend:1,override:0};function t(e){return t=>new D(t,e)}const E={fallback:t(Z.fallback),default:t(Z.default),extend:t(Z.extend),override:t(Z.override)};class D{constructor(t,e){this.inner=t,this.prec=e}}class j{of(t){return new H(this,t)}reconfigure(t){return j.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class H{constructor(t,e){this.compartment=t,this.inner=e}}class I{constructor(t,e,i,n,r){for(this.base=t,this.compartments=e,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,e,n){let i=[],r=Object.create(null);var s,o,a=new Map;for(s of function(t,a,l){let h=[[],[],[],[]],c=new Map;return function t(e,i){var n=c.get(e);if(null!=n){if(i<=n)return;var r=h[n].indexOf(e);-1t.concat(e))}(t,e,a))(s instanceof M?i:r[s.facet.id]||(r[s.facet.id]=[])).push(s);let l=Object.create(null),h=[],c=[];for(let e of i)l[e.id]=c.length<<1,c.push(t=>e.slot(t));for(o in r){let i=r[o],e=i[0].facet;if(i.every(t=>0==t.type)){l[e.id]=h.length<<1|1;let t=e.combine(i.map(t=>t.value));var O=n?n.config.address[e.id]:null;null!=O&&(O=B(n,O),e.compare(t,O)&&(t=O)),h.push(t)}else{for(let e of i)0==e.type?(l[e.id]=h.length<<1|1,h.push(e.value)):(l[e.id]=c.length<<1,c.push(t=>e.dynamicSlot(t)));l[e.id]=c.length<<1,c.push(t=>function(e,h,t){let c=t.map(t=>e[t.id]),O=t.map(t=>t.type),d=c.filter(t=>!(1&t)),u=e[h.id]>>1;return(e,t)=>{var i,n=t?t.reconfigured?t.startState.config.address[h.id]:u<<1:null;let r=null==n;for(i of d)1&G(e,i)&&(r=!0);if(!r)return 0;let s=[];for(let t=0;tt(l)),l,h)}}function G(t,e){if(1&e)return 2;var i=e>>1,e=t.status[i];if(4==e)throw new Error("Cyclic dependency between fields and/or facets");if(2&e)return e;t.status[i]=4;e=t.config.dynamicSlots[i](t,t.applying);return t.status[i]=2|e}function B(t,e){return(1&e?t.config.staticValues:t.values)[e>>1]}const N=L.define(),U=L.define({combine:t=>t.some(t=>t),static:!0}),F=L.define({combine:t=>t.length?t[0]:void 0,static:!0}),J=L.define(),K=L.define(),tt=L.define();class et{constructor(t,e){this.type=t,this.value=e}static define(){return new it}}class it{of(t){return new et(this,t)}}class nt{constructor(t){this.map=t}of(t){return new rt(this,t)}}class rt{constructor(t,e){this.type=t,this.value=e}map(t){t=this.type.map(this.value,t);return void 0===t?void 0:t==this.value?this:new rt(this.type,t)}is(t){return this.type==t}static define(t={}){return new nt(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let i=[];for(var n of t){n=n.map(e);n&&i.push(n)}return i}}rt.reconfigure=rt.define(),rt.appendConfig=rt.define();class st{constructor(t,e,i,n,r,s){this.startState=t,this.changes=e,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,i&&C(i,e.newLength),r.some(t=>t.type==st.time)||(this.annotations=r.concat(st.time.of(Date.now())))}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(var e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}}function ot(t,e,i){let n,r,s;return s=i?(n=e.changes,r=k.empty(e.changes.length),t.changes.compose(e.changes)):(n=e.changes.map(t.changes),r=t.changes.mapDesc(e.changes,!0),t.changes.compose(n)),{changes:s,selection:e.selection?e.selection.map(r):null===(i=t.selection)||void 0===i?void 0:i.map(n),effects:rt.mapEffects(t.effects,n).concat(rt.mapEffects(e.effects,r)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function at(t,e,i){var n=e.selection;return{changes:e.changes instanceof k?e.changes:k.of(e.changes||[],i,t.facet(F)),selection:n&&(n instanceof _?n:_.single(n.anchor,n.head)),effects:ct(e.effects),annotations:ct(e.annotations),scrollIntoView:!!e.scrollIntoView}}function lt(e,i,n){let r=at(e,i.length?i[0]:{},e.doc.length);i.length&&!1===i[0].filter&&(n=!1);for(let t=1;t=r[i]))t=r[i++],e=r[i++];else{if(!(n{if(!/\S/.test(e))return Ot.Space;if(function(i){if(ut)return ut.test(i);for(let e=0;enull),n)for(var r in t.address){var s=t.address[r],r=n.startState.config.address[r];null!=r&&0==(1&s)&&(this.values[s>>1]=B(n.startState,r))}(this.applying=n)&&(n._state=this);for(let t=0;tn.set(e,t)),e=null),n.set(r.value.compartment,r.value.extension)):r.is(rt.reconfigure)?(e=null,i=r.value):r.is(rt.appendConfig)&&(e=null,i=ct(i).concat(r.value));new pt(e||I.resolve(i,n,this),t.newDoc,t.newSelection,t)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:_.cursor(t.from+e.length)}))}changeByRange(r){var s=this.selection,t=r(s.ranges[0]);let o=this.changes(t.changes),a=[t.range],l=ct(t.effects);for(let n=1;ne.spec.fromJSON(i,t)))}return pt.create({doc:t.doc,selection:_.fromJSON(t.selection),extensions:e.extensions?r.concat([e.extensions]):r})}static create(t={}){let e=I.resolve(t.extensions||[],new Map);var i=t.doc instanceof d?t.doc:d.of((t.doc||"").split(e.staticFacet(pt.lineSeparator)||Q));let n=t.selection?t.selection instanceof _?t.selection:_.single(t.selection.anchor,t.selection.head):_.single(0);return C(n,i.length),e.staticFacet(U)||(n=n.asSingle()),new pt(e,i,n)}get tabSize(){return this.facet(pt.tabSize)}get lineBreak(){return this.facet(pt.lineSeparator)||"\n"}phrase(t){for(var e of this.facet(pt.phrases))if(Object.prototype.hasOwnProperty.call(e,t))return e[t];return t}languageDataAt(t,e){let i=[];for(var n of this.facet(N))for(var r of n(this,e))Object.prototype.hasOwnProperty.call(r,t)&&i.push(r[t]);return i}charCategorizer(t){return ft(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:e,from:i,length:n}=this.doc.lineAt(t),r=this.charCategorizer(t),s=t-i,o=t-i;for(;0t.length?t[0]:4}),pt.lineSeparator=F,pt.phrases=L.define(),pt.languageData=N,pt.changeFilter=J,pt.transactionFilter=K,pt.transactionExtender=tt,j.reconfigure=rt.define();const gt="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),vt="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Qt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class wt{constructor(t,e){this.rules=[];let{finish:c}=e||{};function O(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}for(var i in t)!function t(i,e,n,r){let s=[],o=/^@(\w+)\b/.exec(i[0]),a=o&&"keyframes"==o[1];if(o&&null==e)return n.push(i[0]+";");for(var l in e){var h=e[l];if(/&/.test(l))t(l.split(/,\s*/).map(e=>i.map(t=>e.replace(/&/,t))).reduce((t,e)=>t.concat(e)),h,n);else if(h&&"object"==typeof h){if(!o)throw new RangeError("The value of a property ("+l+") should be a primitive value.");t(O(l),h,s,a)}else null!=h&&s.push(l.replace(/_.*/,"").replace(/[A-Z]/g,t=>"-"+t.toLowerCase())+": "+h+";")}(s.length||a)&&n.push((!c||o||r?i:i.map(c)).join(", ")+" {"+s.join(" ")+"}")}(O(i),t[i],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let t=Qt[gt]||1;return Qt[gt]=t+1,"ͼ"+t.toString(36)}static mount(t,e){(t[vt]||new yt(t)).mount(Array.isArray(e)?e:[e])}}let $t=null;class yt{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if($t)return e.adoptedStyleSheets=[$t.sheet].concat(e.adoptedStyleSheets),e[vt]=$t;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),$t=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[vt]=this}mount(n){let r=this.sheet,s=0,o=0;for(let i=0;i>1,l=o[a]-i||(n<0?this.value[a].startSide:this.value[a].endSide)-r;if(a==t)return 0<=l?t:e;0<=l?e=a:t=1+a}}between(i,n,r,s){for(let t=this.findIndex(n,-1),e=this.findIndex(r,1,void 0,t);tr||n==r&&0this.chunkEnd(o.chunkIndex)||ro.to||r500<=t.maxPoint||t!=Pt.empty&&i.indexOf(t)<0&&t.maxPoint>=r),o=i.filter(t=>500<=t.maxPoint||t!=Pt.empty&&e.indexOf(t)<0&&t.maxPoint>=r),a=function(t,e){let i=new Map;for(var n of t)for(let t=0;tCt(l,t,h,e,i,n)),t.empty&&0==t.length&&Ct(l,0,h,0,0,n)}static spans(t,e,i,n,r=-1){let s=new _t(t,null,r).goto(e),o=e,a=s.openStart;for(;;){var l=Math.min(s.to,i);if(s.point?(n.point(o,l,s.point,s.activeForPoint(s.to),a),a=s.openEnd(l)+(s.to>l?1:0)):l>o&&(n.span(o,l,s.active,a),a=s.openEnd(l)),s.to>i)break;o=s.to,s.next()}return a}static of(t,e=!1){let i=new Tt;for(var n of t instanceof xt?[t]:e?t.slice().sort(kt):t)i.add(n.from,n.to,n.value);return i.finish()}}Pt.empty=new Pt([],[],null,-1),Pt.empty.nextLayer=Pt.empty;class Tt{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(t){this.chunks.push(new St(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}add(t,e,i){this.addInner(t,e,i)||(this.nextLayer||(this.nextLayer=new Tt)).add(t,e,i)}addInner(t,e,i){var n=t-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(t-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(e-this.chunkStart),this.last=i,this.lastFrom=t,this.lastTo=e,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,e-t)),!0)}addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint),this.chunks.push(e),this.chunkPos.push(t);var i=e.value.length-1;return this.last=e.value[i],this.lastFrom=e.from[i]+t,this.lastTo=e.to[i]+t,!0}finish(){return this.finishInner(Pt.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return t;t=new Pt(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,t}}class Wt{constructor(t,e,i,n=0){this.layer=t,this.skip=e,this.minPoint=i,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,e=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,e,!1),this}gotoInner(t,e,i){for(;this.chunkIndex=this.minPoint)break}}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.to-t.to||this.endSide-t.endSide}}class Xt{constructor(t){this.heap=t}static from(i,n=null,r=-1){let s=[];for(let e=0;e=r&&s.push(new Wt(t,n,r,e));return 1==s.length?s[0]:new Xt(s)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(var i of this.heap)i.goto(t,e);for(let t=this.heap.length>>1;0<=t;t--)Rt(this.heap,t);return this.next(),this}forward(t,e){for(var i of this.heap)i.forward(t,e);for(let t=this.heap.length>>1;0<=t;t--)Rt(this.heap,t);(this.to-t||this.value.endSide-e)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),Rt(this.heap,0)}}}function Rt(n,r){for(let i=n[r];;){let t=1+(r<<1);if(t>=n.length)break;let e=n[t];if(t+1e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),i&&At(i,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}r=this.cursor.value;if(r.point){if(!(t&&this.cursor.to==this.to&&this.cursor.frome&&this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(i),this.cursor.next()}}if(i){let t=0;for(;te||this.activeTo[t]==e&&this.active[t].endSide>this.point.endSide)&&i.push(this.active[t]);return i.reverse()}openEnd(e){let i=0;for(let t=this.activeTo.length-1;0<=t&&this.activeTo[t]>e;t--)i++;return i}}function Ct(t,e,i,n,r,s){t.goto(e),i.goto(n);var o=n+r;let a=n,l=n-e;for(;;){var h=t.to+l-i.to||t.endSide-i.endSide,c=h<0?t.to+l:i.to,O=Math.min(c,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))||s.comparePoint(a,O,t.point,i.point):O>a&&!function(e,i){if(e.length!=i.length)return!1;for(let t=0;t=i;t--)e[t+1]=e[t];e[i]=t}function zt(e,i){let n=-1,r=1e9;for(let t=0;t",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},Yt="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),Mt="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),Zt="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),Et="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Dt="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),jt=Yt&&(Et||+Yt[1]<57)||Zt&&Et,Ht=0;Ht<10;Ht++)qt[48+Ht]=qt[96+Ht]=String(Ht);for(Ht=1;Ht<=24;Ht++)qt[Ht+111]="F"+Ht;for(var It,Ht=65;Ht<=90;Ht++)qt[Ht]=String.fromCharCode(Ht+32),Vt[Ht]=String.fromCharCode(Ht);for(It in qt)Vt.hasOwnProperty(It)||(Vt[It]=qt[It]);function Gt(t){return(t.getSelection?t:document).getSelection()}function Bt(t,e){return!!e&&t.contains(1!=e.nodeType?e.parentNode:e)}function Nt(t,e){if(!e.anchorNode)return!1;try{return Bt(t,e.anchorNode)}catch(t){return!1}}function Ut(t){return 3==t.nodeType?ae(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function Ft(t,e,i,n){return i&&(Kt(t,e,i,n,-1)||Kt(t,e,i,n,1))}function Jt(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e}function Kt(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:te(t))){if("DIV"==t.nodeName)return!1;var s=t.parentNode;if(!s||1!=s.nodeType)return!1;e=Jt(t)+(r<0?0:1),t=s}else{if(1!=t.nodeType)return!1;if(1==(t=t.childNodes[e+(r<0?-1:0)]).nodeType&&"false"==t.contentEditable)return!1;e=r<0?te(t):0}}}function te(t){return(3==t.nodeType?t.nodeValue:t.childNodes).length}const ee={left:0,right:0,top:0,bottom:0};function ie(t,e){e=e?t.left:t.right;return{left:e,right:e,top:t.top,bottom:t.bottom}}class ne{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}}let re=null;function se(e){if(e.setActive)return e.setActive();if(re)return e.focus(re);let r=[];for(let t=e;t&&(r.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(e.focus(null==re?{get preventScroll(){return re={preventScroll:!0},!0}}:void 0),!re){re=!1;for(let n=0;no&&t.dom.parentNode==this.dom){h=i,c=r;break}r=e,n=e+t.breakAfter}return{from:l,to:c<0?t+this.length:c,startDOM:(a?this.children[a-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:hthis.pos||t==this.pos&&(0t.width)||a),o?ie(a,o<0):a}class Xe extends Se{constructor(t,e,i){super(),this.widget=t,this.length=e,this.side=i}static create(t,e,i){return new(t.customView||Xe)(t,e,i)}slice(t){return Xe.create(this.widget,this.length-t,this.side)}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(t,e,i,n,r){return!(i&&(!(i instanceof Xe&&this.widget.compare(i.widget))||0i&&st?i[r]=Math.max(i[r],e):i.push(t,e)}De.prototype.point=!0;class Ie extends Oe{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,i,n,r,s){if(i){if(!(i instanceof Ie))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),_e(this,t,e,i?i.children:Ge,r,s),!0}split(t){let e=new Ie;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i,off:n}=this.childPos(t);n&&(e.append(this.children[i].slice(n),0),this.children[i].merge(n,this.children[i].length,null,0,0),i++);for(let t=i;tt instanceof Pe))){let t=document.createElement("BR");t.cmIgnore=!0,this.dom.appendChild(t)}}measureTextSize(){if(0==this.children.length||20!t.length||t[0]});class oi{constructor(t,e){this.field=t,this.get=e}}class ai{from(t){return new oi(this,t)}static define(){return new ai}}ai.decorations=ai.define(),ai.atomicRanges=ai.define(),ai.scrollMargins=ai.define();let li=0;const hi=L.define();class ci{constructor(t,e,i){this.id=t,this.create=e,this.fields=i,this.extension=hi.of(this)}static define(t,e){let{eventHandlers:i,provide:n,decorations:r}=e||{},s=[];if(n)for(var o of Array.isArray(n)?n:[n])s.push(o);return i&&s.push(Oi.from(t=>({plugin:t,handlers:i}))),r&&s.push(ai.decorations.from(r)),new ci(li++,t,s)}static fromClass(e,t){return ci.define(t=>new e(t),t)}}const Oi=ai.define();class di{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}takeField(t,e){for(var{field:i,get:n}of this.spec.fields)i==t&&e.push(n(this.value))}update(e){if(this.value){if(this.mustUpdate){var i=this.mustUpdate;if(this.mustUpdate=null,!this.value.update)return this;try{this.value.update(i)}catch(t){if(ri(i.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(t){}return di.dummy}}}else try{this.value=this.spec.create(e)}catch(t){return ri(e.state,t,"CodeMirror plugin crashed"),di.dummy}return this}destroy(e){var t;if(null!==(t=this.value)&&void 0!==t&&t.destroy)try{this.value.destroy()}catch(t){ri(e.state,t,"CodeMirror plugin crashed")}}}di.dummy=new di(ci.define(()=>({})));const ui=L.define({combine:t=>t.reduce((t,e)=>Le(e,t),{})}),fi=L.define({combine:t=>t.reduce((t,e)=>Le(e,t),{})}),pi=L.define(),mi=L.define();class gi{constructor(t,e,i,n){this.fromA=t,this.toA=e,this.fromB=i,this.toB=n}join(t){return new gi(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;0i.toA)){if(n.toAr.push(new gi(t,e,i,n))),this.changedRanges=r;i=t.hasFocus;i!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=i,this.flags|=1),this.docChanged&&(this.flags|=2)}get viewportChanged(){return 0<(4&this.flags)}get heightChanged(){return 0<(2&this.flags)}get geometryChanged(){return this.docChanged||0<(18&this.flags)}get focusChanged(){return 0<(1&this.flags)}get docChanged(){return this.transactions.some(t=>t.docChanged)}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}class Qi extends Oe{constructor(t){super(),this.view=t,this.compositionDeco=Me.none,this.decorations=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.setDOM(t.contentDOM),this.children=[new Ie],this.children[0].setParent(this),this.updateInner([new gi(0,0,0,t.state.doc.length)],this.updateDeco(),0)}get root(){return this.view.root}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(t){let e=t.changedRanges;0ethis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=0),this.view.inputState.composing<0?this.compositionDeco=Me.none:t.transactions.length&&(this.compositionDeco=function(t,e){var i=t.observer.selectionRange,i=i.focusNode&&yi(i.focusNode,i.focusOffset,0);if(!i)return Me.none;let n=t.docView.nearest(i),r,s,o=i;if(n instanceof Se){for(;n.parent instanceof Se;)n=n.parent;r=n.posAtStart,s=r+n.length,o=n.dom}else{if(!(n instanceof Ie))return Me.none;{for(;o.parentNode!=n.dom;)o=o.parentNode;let t=o.previousSibling;for(;t&&!Oe.get(t);)t=t.previousSibling;r=s=t?Oe.get(t).posAtEnd:n.posAtStart}}let a=e.mapPos(r,1),l=Math.max(a,e.mapPos(s,-1)),h=i.nodeValue,{state:c}=t;if(l-a"pointerselection"==t.annotation(st.userEvent));return 0==this.dirty&&0==e.length&&!(12&t.flags)&&t.state.selection.main.from>=this.view.viewport.from&&t.state.selection.main.to<=this.view.viewport.to?(this.updateSelection(s,o),!1):(this.updateInner(e,a,t.startState.doc.length,s,o),!0)}updateInner(t,e,i,n=!1,r=!1){this.updateChildren(t,e,i);let{observer:s}=this.view;s.ignore(()=>{this.dom.style.height=this.view.viewState.domHeight+"px",this.dom.style.minWidth=this.minWidth?this.minWidth+"px":"";var t=xe.chrome||xe.ios?{node:s.selectionRange.focusNode,written:!1}:void 0;this.sync(t),this.dirty=0,t&&(t.written||s.selectionRange.focusNode!=t.node)&&(n=!0),this.updateSelection(n,r),this.dom.style.height=""})}updateChildren(e,i,t){let n=this.childCursor(t);for(let t=e.length-1;;t--){var r=0<=t?e[t]:null;if(!r)break;var{fromA:s,toA:o,fromB:a,toB:l}=r,{content:h,breakAtStart:c,openStart:O,openEnd:r}=Ne.build(this.view.state.doc,a,l,i),{i:a,off:l}=n.findPos(o,1),{i:o,off:s}=n.findPos(s,-1);this.replaceRange(o,s,a,l,h,c,O,r)}}replaceRange(e,i,n,r,s,o,a,l){let h=this.children[e],c=s.length?s[s.length-1]:null;var O=c?c.breakAfter:o;if(e!=n||o||O||!(s.length<2)||!h.merge(i,r,s.length?c:null,0==i,a,l)){let t=this.children[n];for(rr.node.insertBefore(t,r.node.childNodes[r.offset]||null)),r=s=new he(t,0),e=!0}let o=this.view.observer.selectionRange;!(e||!o.focusNode||xe.gecko&&n.empty&&bi(o.focusNode,o.focusOffset))&&Ft(r.node,r.offset,o.anchorNode,o.anchorOffset)&&Ft(s.node,s.offset,o.focusNode,o.focusOffset)||(this.view.observer.ignore(()=>{let e=Gt(this.root);var t,i;if(n.empty)xe.gecko&&(!(t=bi(r.node,r.offset))||3==t||(i=yi(r.node,r.offset,1==t?1:-1))&&(r=new he(i,1==t?0:i.nodeValue.length))),e.collapse(r.node,r.offset),null!=n.bidiLevel&&null!=o.cursorBidiLevel&&(o.cursorBidiLevel=n.bidiLevel);else if(e.extend)e.collapse(r.node,r.offset),e.extend(s.node,s.offset);else{let t=document.createRange();n.anchor>n.head&&([r,s]=[s,r]),t.setEnd(s.node,s.offset),t.setStart(r.node,r.offset),e.removeAllRanges(),e.addRange(t)}}),this.view.observer.setSelectionRange(r,s)),this.impreciseAnchor=r.precise?null:new he(o.anchorNode,o.anchorOffset),this.impreciseHead=s.precise?null:new he(o.focusNode,o.focusOffset)}}enforceCursorAssoc(){var t,e,i=this.view.state.selection.main;let n=Gt(this.root);i.empty&&i.assoc&&n.modify&&((e=Ie.find(this,i.head))&&(t=e.posAtStart,i.head!=t&&i.head!=t+e.length&&(t=this.coordsAt(i.head,-1),e=this.coordsAt(i.head,1),!t||!e||t.bottom>e.top||(e=this.domAtPos(i.head+i.assoc),n.collapse(e.node,e.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary")))))}mayControlSelection(){return this.view.state.facet(si)?this.root.activeElement==this.dom:Nt(this.dom,this.view.observer.selectionRange)}nearest(e){for(let t=e;t;){var i=Oe.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(t,e){let i=this.nearest(t);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(t,e)+i.posAtStart}domAtPos(t){let{i:e,off:i}=this.childCursor().findPos(t,-1);for(;e=s&&(r.push(t.dom.getBoundingClientRect().height),(l=t.dom.scrollWidth)>a&&(this.minWidth=a=l,this.minWidthFrom=i,this.minWidthTo=e)),i=e+t.breakAfter}return r}measureTextSize(){for(var t of this.children)if(t instanceof Ie){t=t.measureTextSize();if(t)return t}let e=document.createElement("div"),i,n;return e.className="cm-line",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);var t=Ut(e.firstChild)[0];i=e.getBoundingClientRect().height,n=t?t.width/27:7,e.remove()}),{lineHeight:i,charWidth:n}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new ue(this.children,t,e)}computeBlockGapDeco(){let i=[],n=this.view.viewState;for(let t=0,e=0;;e++){var r,s=e==n.viewports.length?null:n.viewports[e],o=s?s.from-1:this.length;if(o>t&&(r=n.lineAt(o,0).bottom-n.lineAt(t,0).top,i.push(Me.replace({widget:new wi(r),block:!0,inclusive:!0}).range(t,o))),!s)break;t=s.to+1}return Me.set(i)}updateDeco(){return this.decorations=[this.computeBlockGapDeco(),this.view.viewState.lineGapDeco,this.compositionDeco,...this.view.state.facet(pi),...this.view.pluginField(ai.decorations)]}scrollPosIntoView(t,r){var s,o,a,r=this.coordsAt(t,r);if(r){let t=0,e=0,i=0,n=0;for(var l of this.view.pluginField(ai.scrollMargins))l&&({left:s,right:o,top:a,bottom:l}=l,null!=s&&(t=Math.max(t,s)),null!=o&&(e=Math.max(e,o)),null!=a&&(i=Math.max(i,a)),null!=l&&(n=Math.max(n,l)));!function(t,s){let e=t.ownerDocument,o=e.defaultView;for(let r=t.parentNode;r;)if(1==r.nodeType){let t,e=r==document.body;if(e)t={left:0,right:(l=o).innerWidth,top:0,bottom:l.innerHeight};else{if(r.scrollHeight<=r.clientHeight&&r.scrollWidth<=r.clientWidth){r=r.parentNode;continue}l=r.getBoundingClientRect();t={left:l.left,right:l.left+r.clientWidth,top:l.top,bottom:l.top+r.clientHeight}}let i=0,n=0;var a;if(s.topt.bottom&&(n=s.bottom-t.bottom+5),s.leftt.right&&(i=s.right-t.right+5),(i||n)&&(e?o.scrollBy(i,n):(n&&(a=r.scrollTop,r.scrollTop+=n,n=r.scrollTop-a),i&&(a=r.scrollLeft,r.scrollLeft+=i,i=r.scrollLeft-a),s={left:s.left-i,top:s.top-n,right:s.right-i,bottom:s.bottom-n})),e)break;r=r.assignedSlot||r.parentNode}else{if(11!=r.nodeType)break;r=r.host}var l}(this.dom,{left:r.left-t,top:r.top-i,right:r.right+e,bottom:r.bottom+n})}}}class wi extends Ve{constructor(t){super(),this.height=t}toDOM(){var t=document.createElement("div");return this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}}class $i extends Ve{constructor(t,e){super(),this.top=t,this.text=e}eq(t){return this.top==t.top&&this.text==t.text}toDOM(){return this.top}ignoreEvent(){return!1}get customView(){return Re}}function yi(t,e,i){for(;;){if(3==t.nodeType)return t;if(1==t.nodeType&&0=i){if(o.level==n)return t;(s<0||(0!=r?r<0?o.fromi:e[s].level>o.level))&&(s=t)}}if(s<0)throw new RangeError("Index out of range");return s}}const Vi=[];function Yi(o,t){var r,a=o.length,l=t==Pi?1:2,h=t==Pi?2:1;if(!o||1==l&&!zi.test(o))return Mi(a);for(let e=0,i=l,n=l;ef;){for(var m=t,g=2!=Vi[--t];t>f&&g==(2!=Vi[t-1]);)t--;i.push(new qi(t,m,g?2:1))}else i.push(new qi(f,e,0))}else for(let t=0;te.top+1}function Di(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Hi(t,n,r){let s,o,a,l,h,c,O,d;for(let i=t.firstChild;i;i=i.nextSibling){var u=Ut(i);for(let e=0;em?p.left-m:Math.max(0,m-p.right)),p=(m=r,(p=t).top>m?p.top-m:Math.max(0,m-p.bottom));if(0==f&&0==p)return(3==i.nodeType?Ii:Hi)(i,n,r);(!s||l>p||l==p&&a>f)&&(s=i,o=t,a=f,l=p),0==f?r>t.bottom&&(!O||O.bottomt.top)&&(c=i,d=t):O&&Ei(O,t)?O=ji(O,t.bottom):d&&Ei(d,t)&&(d=Di(d,t.top))}}var m,p;if(O&&O.bottom>=r?(s=h,o=O):d&&d.top<=r&&(s=c,o=d),!s)return{node:t,offset:0};var e=Math.max(o.left,Math.min(o.right,n));return 3==s.nodeType?Ii(s,e,r):a||"true"!=s.contentEditable?{node:t,offset:Array.prototype.indexOf.call(t.childNodes,s)+(n>=(o.left+o.right)/2?1:0)}:Hi(s,e,r)}function Ii(n,r,e){var t=n.nodeValue.length;let s=-1,o=1e9,a=0;for(let i=0;ie?h.top-e:e-h.bottom)-1;if(h.left-1<=r&&h.right+1>=r&&c=(h.left+h.right)/2,e=t;if((xe.chrome||xe.gecko)&&ae(n,i).getBoundingClientRect().left==h.right&&(e=!t),c<=0)return{node:n,offset:i+(e?1:0)};s=i+(e?1:0),o=c}}}}return{node:n,offset:-1i||s.bottomi?-1:1,i=Math.min(s.bottom-o,Math.max(s.top+o,i)),t)return null;t=!0}if(s.type==Ye.Text)break;i=0e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:null;t=Math.max(r.left+1,Math.min(r.right-1,t));let h=e.root,c=h.elementFromPoint(t,i),O,d=-1;return!c||!e.contentDOM.contains(c)||e.docView.nearest(c)instanceof Xe||(h.caretPositionFromPoint?(a=h.caretPositionFromPoint(t,i))&&({offsetNode:O,offset:d}=a):!h.caretRangeFromPoint||(a=h.caretRangeFromPoint(t,i))&&({startContainer:O,startOffset:d}=a,xe.safari&&function(e,t,i){let n;if(3!=e.nodeType||t!=(n=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=e.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return ae(e,n-1,n).getBoundingClientRect().left>i}(O,d,t)&&(O=void 0))),O&&e.docView.dom.contains(O)||(l=Ie.find(e.docView,l),{node:O,offset:d}=Hi(l.dom,t,i)),e.docView.posFromDOM(O,d)}function Bi(r,t,s,o){let a=r.state.doc.lineAt(t.head),l=r.bidiSpans(a);for(let i=t,n=null;;){let t=function(t,e,i,n,r){let s=n.head-t.from,o=-1;if(0==s){if(!r||!t.length)return null;e[0].level!=i&&(s=e[0].side(!1,i),o=0)}else if(s==t.length){if(r)return null;let t=e[e.length-1];t.level!=i&&(s=t.side(!0,i),o=e.length-1)}o<0&&(o=qi.find(e,s,null!==(l=n.bidiLevel)&&void 0!==l?l:-1,n.assoc));let a=e[o];s==a.side(r,i)&&(a=e[o+=r?1:-1],s=a.side(!r,i));var l=r==(a.dir==i),n=b(t.text,s,l);if(Zi=t.text.slice(Math.min(s,n),Math.max(s,n)),n!=a.side(r,i))return _.cursor(n+t.from,l?-1:1,a.level);let h=o==(r?e.length-1:0)?null:e[o+(r?1:-1)];return h||a.level==i?h&&h.level>1;for(let t=s<0?o.top:o.bottom,e=0;e<50;e+=10){var O=Gi(i,{x:h,y:t+(c+e)*s},s);if(null==O)break;if(O!=r)return _.cursor(O,void 0,void 0,l)}}let{doc:d}=i.state,u=d.lineAt(r),f=i.state.tabSize,p=t.goalColumn,m=0;if(null==p){for(const $=d.iterRange(u.from,r);!$.next().done;)m=x($.value,m,f);p=m*i.defaultCharacterWidth}else m=Math.round(p/i.defaultCharacterWidth);if(s<0&&0==u.from)return _.cursor(0);if(0=m&&!y.next().done;){var{offset:Q,leftOver:w}=function(e,i,n,r){for(let t=0;t{s.from>t&&s.froms.from?_.cursor(t,1):_.cursor(e,-1),n=!0)});if(!n)return s}}class Fi{constructor(n){this.lastKeyCode=0,this.lastKeyTime=0,this.pendingIOSKey=null,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionEndedAt=0,this.mouseSelection=null;for(let i in en){let e=en[i];n.contentDOM.addEventListener(i,t=>{"keydown"==i&&this.keydown(n,t)||tn(n,t)&&!this.ignoreDuringComposition(t)&&(this.mustFlushObserver(t)&&n.observer.forceFlush(),this.runCustomHandlers(i,n,t)?t.preventDefault():e(n,t))}),this.registeredEvents.push(i)}this.notifiedFocused=n.hasFocus,this.ensureHandlers(n),xe.safari&&n.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}ensureHandlers(i){var t;for(t of this.customHandlers=i.pluginField(Oi))for(let e in t.handlers)this.registeredEvents.indexOf(e)<0&&"scroll"!=e&&(this.registeredEvents.push(e),i.contentDOM.addEventListener(e,t=>{tn(i,t)&&this.runCustomHandlers(e,i,t)&&t.preventDefault()}))}runCustomHandlers(i,n,r){for(var s of this.customHandlers){let t=s.handlers[i],e=!1;if(t){try{e=t.call(s.plugin,r,n)}catch(t){ri(n.state,t)}if(e||r.defaultPrevented)return xe.android&&"keydown"==i&&13==r.keyCode&&n.observer.flushSoon(),!0}}return!1}runScrollHandlers(e,i){for(var n of this.customHandlers){let t=n.handlers.scroll;if(t)try{t.call(n.plugin,i,e)}catch(t){ri(e.state,t)}}}keydown(t,e){return this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),!!this.screenKeyEvent(t,e)||!(!xe.ios||13!=e.keyCode&&8!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey||e.synthetic)&&(this.pendingIOSKey=13==e.keyCode?"enter":"backspace",setTimeout(()=>this.flushIOSKey(t),250),!0)}flushIOSKey(t){if(!this.pendingIOSKey)return!1;var e=t.contentDOM,t=this.pendingIOSKey;return this.pendingIOSKey=null,"enter"==t?le(e,"Enter",13):le(e,"Backspace",8)}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(0=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}(e,i)&&null,!1===this.dragging&&(i.preventDefault(),this.select(i))}move(t){if(0==t.buttons)return this.destroy();!1===this.dragging&&this.select(t)}up(t){null==this.dragging&&this.select(this.startEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.inputState.mouseSelection=null}select(t){let e=this.style.get(t,this.extend,this.multiple);e.eq(this.view.state.selection)&&e.main.assoc==this.view.state.selection.main.assoc||this.view.dispatch({selection:e,annotations:st.userEvent.of("pointerselection"),scrollIntoView:!0})}update(t){t.docChanged&&this.dragging&&(this.dragging=this.dragging.map(t.changes)),this.style.update(t)}}function tn(i,n){if(!n.bubbles)return 1;if(!n.defaultPrevented){for(let t=n.target,e;t!=i.contentDOM;t=t.parentNode)if(!t||11==t.nodeType||(e=Oe.get(t))&&e.ignoreEvent(n))return;return 1}}const en=Object.create(null),nn=xe.ie&&xe.ie_version<15||xe.ios&&xe.webkit_version<604;function rn(t,r){let{state:s}=t,e,o=1,a=s.toText(r),l=a.lines==s.selection.ranges.length;if(pn&&s.selection.ranges.every(t=>t.empty)&&pn==a.toString()){let n=-1;e=s.changeByRange(t=>{var e=s.doc.lineAt(t.from);if(e.from==n)return{range:t};n=e.from;var i=s.toText((l?a.line(o++).text:r)+s.lineBreak);return{changes:{from:e.from,insert:i},range:_.cursor(t.from+i.length)}})}else e=l?s.changeByRange(t=>{var e=a.line(o++);return{changes:{from:t.from,to:t.to,insert:e.text},range:_.cursor(t.from+e.length)}}):s.replaceSelection(a);t.dispatch(e,{annotations:st.userEvent.of("paste"),scrollIntoView:!0})}en.keydown=(t,e)=>{t.inputState.setSelectionOrigin("keyboardselection")};let sn=0;function on(i,n,r,t){if(1==t)return _.cursor(n,r);if(2==t)return function(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(0==r.length)return _.cursor(e);0==s?i=1:s==r.length&&(i=-1);let o=s,a=s;i<0?o=b(r.text,s,!1):a=b(r.text,s);for(var l=n(r.text.slice(o,a));0{sn=Date.now(),t.inputState.setSelectionOrigin("pointerselection")},en.touchmove=t=>{t.inputState.setSelectionOrigin("pointerselection")},en.mousedown=(e,i)=>{if(e.observer.flush(),!(sn>Date.now()-2e3)){let t=null;for(var n of e.state.facet(ti))if(t=n(e,i),t)break;t||0!=i.button||(t=function(o,t){let a=hn(o,t),l=function(t){if(!cn)return t.detail;var e=On,i=un;return On=t,un=Date.now(),dn=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(dn+1)%3:1}(t),h=o.state.selection,c=a,O=t;return{update(t){t.changes&&(a&&(a.pos=t.changes.mapPos(a.pos)),h=h.map(t.changes))},get(t,e,i){let n;if(t.clientX==O.clientX&&t.clientY==O.clientY?n=c:(n=c=hn(o,t),O=t),!n||!a)return h;let r=on(o,n.pos,n.bias,l);var s;return a.pos==n.pos||e||(s=on(o,a.pos,a.bias,l),t=Math.min(s.from,r.from),s=Math.max(s.to,r.to),r=tse(e.contentDOM)),e.inputState.startMouseSelection(e,i,t))}};let an=(t,e)=>t>=e.top&&t<=e.bottom,ln=(t,e,i)=>an(e,i)&&t>=i.left&&t<=i.right;function hn(t,e){var i=t.posAtCoords({x:e.clientX,y:e.clientY});return null==i?null:{pos:i,bias:function(t,e,i,n){let r=Ie.find(t.docView,e);return r&&0!=(t=e-r.posAtStart)&&(t==r.length||(e=r.coordsAt(t,-1))&&ln(i,n,e)||(!(t=r.coordsAt(t,1))||!ln(i,n,t))&&e&&an(n,e))?-1:1}(t,i,e.clientX,e.clientY)}}const cn=xe.ie&&xe.ie_version<=11;let On=null,dn=0,un=0;function fn(e,i,n,r){var s=e.posAtCoords({x:i.clientX,y:i.clientY});if(null!=s&&n){i.preventDefault();var{mouseSelection:i}=e.inputState,i=r&&i&&i.dragging&&i.dragMove?{from:i.dragging.from,to:i.dragging.to}:null,n={from:s,insert:n};let t=e.state.changes(i?[i,n]:n);e.focus(),e.dispatch({changes:t,selection:{anchor:t.mapPos(s,-1),head:t.mapPos(s,1)},annotations:st.userEvent.of("drop")})}}en.dragstart=(t,e)=>{var{selection:{main:i}}=t.state;let{mouseSelection:n}=t.inputState;n&&(n.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")},en.drop=(e,s)=>{if(s.dataTransfer&&e.state.facet(si)){let r=s.dataTransfer.files;if(r&&r.length){s.preventDefault();let i=Array(r.length),t=0,n=()=>{++t==r.length&&fn(e,s,i.filter(t=>null!=t).join(e.state.lineBreak),!1)};for(let e=0;e{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(i[e]=t.result),n()},t.readAsText(r[e])}}else fn(e,s,s.dataTransfer.getData("Text"),!0)}},en.paste=(e,i)=>{if(e.state.facet(si)){e.observer.flush();let t=nn?null:i.clipboardData;var n=t&&t.getData("text/plain");n?(rn(e,n),i.preventDefault()):function(e){let i=e.dom.parentNode;if(i){let t=i.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{e.focus(),t.remove(),rn(e,t.value)},50)}}(e)}};let pn=null;function mn(t){t.docView.compositionDeco.size&&t.update([])}en.copy=en.cut=(e,i)=>{var{text:n,ranges:r,linewise:s}=function(e){let i=[],n=[],r=!1;for(var t of e.selection.ranges)t.empty||(i.push(e.sliceDoc(t.from,t.to)),n.push(t));if(!i.length){let t=-1;for(var{from:s}of e.selection.ranges){s=e.doc.lineAt(s);s.number>t&&(i.push(s.text),n.push({from:s.from,to:Math.min(e.doc.length,s.to+1)})),t=s.number}r=!0}return{text:i.join(e.lineBreak),ranges:n,linewise:r}}(e.state);if(n){pn=s?n:null;let t=nn?null:i.clipboardData;t?(i.preventDefault(),t.clearData(),t.setData("text/plain",n)):function(e,i){let n=e.dom.parentNode;if(n){let t=n.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.value=i,t.focus(),t.selectionEnd=i.length,t.selectionStart=0,setTimeout(()=>{t.remove(),e.focus()},50)}}(e,n),"cut"==i.type&&e.state.facet(si)&&e.dispatch({changes:r,scrollIntoView:!0,annotations:st.userEvent.of("cut")})}},en.focus=en.blur=t=>{setTimeout(()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])},10)},en.beforeprint=t=>{t.viewState.printing=!0,t.requestMeasure(),setTimeout(()=>{t.viewState.printing=!1,t.requestMeasure()},2e3)},en.compositionstart=en.compositionupdate=t=>{t.inputState.composing<0&&(t.docView.compositionDeco.size&&(t.observer.flush(),mn(t)),t.inputState.composing=0)},en.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),setTimeout(()=>{t.inputState.composing<0&&mn(t)},50)},en.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};const gn=["pre-wrap","normal","pre-line"];class vn{constructor(){this.doc=d.empty,this.lineWrapping=!1,this.direction=Si.LTR,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefresh(e,t,i){let n=!1;for(let t=0;t=e?r:c.lineAt(e,$n.ByPosNoHeight,a,0,0);for(n+=O.to-e,e=O.to;02*r){var o=t[e-1];o.break?t.splice(--e,1,o.left,null,o.right):t.splice(--e,1,o.left,o.right),i+=1+o.break,n-=o.size}else{if(!(r>2*n))break;o=t[i];o.break?t.splice(i,1,o.left,null,o.right):t.splice(i,1,o.left,o.right),i+=2+o.break,r-=o.size}else nt&&e.push(new kn(r.from-t-1).updateHeight(n,t));i<=s&&r.more;){var o=n.doc.lineAt(i).length;e.length&&e.push(null);let t=new xn(o,r.heights[r.index++]);t.outdated=!1,e.push(t),i+=o+1}return i<=s&&e.push(null,new kn(s-i).updateHeight(n,i)),n.heightChanged=!0,yn.of(e)}return(e||this.outdated)&&(this.setHeight(n,n.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class Sn extends yn{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,n){var r=i+this.left.height;return to))return l;e=e==$n.ByPosNoHeight?$n.ByPosNoHeight:$n.ByPos;return a?l.join(this.right.lineAt(o,e,i,s,o)):this.left.lineAt(o,e,i,n,r).join(l)}forEachLine(t,e,i,n,r,s){var o,a=n+this.left.height,l=r+this.left.length+this.break;this.break?(t=t&&o.from<=e&&s(o),e>o.to&&this.right.forEachLine(o.to+1,e,i,a,l,s))}replace(t,e,i){var n=this.left.length+this.break;if(ethis.left.length)return this.balanced(this.left,this.right.replace(t-n,e-n,i));let r=[];0=i&&e.push(null)),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){var i=this.left.length,n=i+this.break;if(n<=t)return this.right.decomposeRight(t-n,e);t2*e.size||e.size>2*t.size?yn.of(this.break?[t,null,e]:[t,e]):(this.left=t,this.right=e,this.height=t.height+e.height,this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,n){let{left:r,right:s}=this,o=e+r.length+this.break,a=null;return n&&n.from<=e+r.length&&n.more?a=r=r.updateHeight(t,e,i,n):r.updateHeight(t,e,i),n&&n.from<=o+s.length&&n.more?a=s=s.updateHeight(t,o,i,n):s.updateHeight(t,o,i),a?this.balanced(r,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Pn(t,e){let i,n;null==t[e]&&(i=t[e-1])instanceof kn&&(n=t[e+1])instanceof kn&&t.splice(e-1,3,new kn(i.length+1+n.length))}class Tn{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,i){if(-1this.pos||!this.isCovered)&&this.nodes.push(new xn(t-this.pos,-1)),(this.writtenTo=t)t&&this.nodes.push(new xn(this.pos-t,-1)),this.writtenTo=this.pos)}blankContent(t,e){let i=new kn(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();var t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof xn)return t;t=new xn(0,-1);return this.nodes.push(t),t}addBlock(t){this.enterLine(),t.type!=Ye.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,t.type!=Ye.WidgetBefore&&(this.covering=t)}addLineDeco(t,e){let i=this.ensureLine();i.length+=e,i.collapsed+=e,i.widgetHeight=Math.max(i.widgetHeight,t),this.writtenTo=this.pos=this.pos+e}finish(t){var e,i=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(-1t.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let t=0;t<=1;t++){let i=t?n.head:n.anchor;var r,s;e.some(({from:t,to:e})=>i>=t&&i<=e)||({from:r,to:s}=this.lineAt(i,0),e.push(new Cn(r,s)))}this.viewports=e.sort((t,e)=>t.from-e.from),this.scaler=this.heightMap.height<=7e6?qn:new Vn(this.heightOracle.doc,this.heightMap,this.viewports)}update(t,e=null){var i=this.state;this.state=t.state;var n,r,s,o=this.state.facet(pi),a=t.changedRanges,s=gi.extendWithRanges(a,(n=t.startState.facet(pi),r=o,s=t?t.changes:k.empty(this.state.doc.length),a=new Wn,Pt.compare(n,r,s,a,0),a.changes)),a=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(o,i.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=a&&(t.flags|=2);let l=s.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,e)),l.eq(this.viewport)||(this.viewport=l,t.flags|=4),this.updateForViewport(),(this.lineGaps.length||15e3t.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=l.overflow&&(a=t.getBoundingClientRect(),n=Math.max(n,a.left),r=Math.min(r,a.right),s=Math.max(s,a.top),o=Math.min(o,a.bottom)),t="absolute"==l.position||"fixed"==l.position?t.offsetParent:t.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:n-i.left,right:r-i.left,top:s-(i.top+t),bottom:o-(i.top+t)}}(i,this.paddingTop),o=s.top-this.pixelViewport.top,a=s.bottom-this.pixelViewport.bottom;if(this.pixelViewport=s,this.inView=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left,!this.inView)return 0;var l,h=t.measureVisibleLineHeights();let c=!1,O=0,d=0,u=this.heightOracle;return e||(l=t.dom.clientWidth,(u.mustRefresh(h,n,r)||u.lineWrapping&&Math.abs(l-this.contentWidth)>u.charWidth)&&({lineHeight:s,charWidth:e}=t.measureTextSize(),c=u.refresh(n,r,s,e,l/e,h),c&&(t.minWidth=0,d|=16)),this.contentWidth!=l&&(this.contentWidth=l,d|=16),0this.viewport.to))&&((h=this.getViewport(O,this.scrollTo)).from==this.viewport.from&&h.to==this.viewport.to||(this.viewport=h,d|=4)),this.updateForViewport(),(this.lineGaps.length||15e3o.to&&({bottom:e}=i.lineAt(e.head,$n.ByPos,n,0,0),o=new Cn(i.lineAt(e-(s-r)-500,$n.ByHeight,n,0,0).from,i.lineAt(e+500,$n.ByHeight,n,0,0).to))),o}mapViewport(t,e){var i=e.mapPos(t.from,-1),t=e.mapPos(t.to,1);return new Cn(this.heightMap.lineAt(i,$n.ByPos,this.state.doc,0,0).from,this.heightMap.lineAt(t,$n.ByPos,this.state.doc,0,0).to)}viewportIsAppropriate({from:t,to:e},i=0){var{top:n}=this.heightMap.lineAt(t,$n.ByPos,this.state.doc,0,0),{bottom:r}=this.heightMap.lineAt(e,$n.ByPos,this.state.doc,0,0),{visibleTop:s,visibleBottom:o}=this;return(0==t||n<=s-Math.max(10,Math.min(-i,250)))&&(e==this.state.doc.length||r>=o+Math.max(10,Math.min(i,250)))&&s-2e3{if(!(r.length<1e4)){var s=function(t,e,i){let n=[],r=t,s=0;Pt.spans(i.facet(pi),t,e,{span(){},point(t,e){t>r&&(n.push({from:r,to:t}),s+=t-r),r=e}},20),r=r.from&&(t=o.from),o.from<=r.to&&o.to>=e&&(e=o.to);let i=t-1e4,n=e+1e4;i>r.from+5e3&&l.push(zn(a,t=>t.from==r.from&&t.to>i-5e3&&t.to<5e3+i)||new Xn(r.from,i,this.gapSize(r,i,!0,s))),nt.to==r.to&&t.from>n-5e3&&t.fromt.draw(this.heightOracle.lineWrapping))),8)}computeVisibleRanges(){let t=this.state.facet(pi);this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let i=[];Pt.spans(t,this.viewport.from,this.viewport.to,{span(t,e){i.push({from:t,to:e})},point(){}},20),this.visibleRanges=i}lineAt(t,e){return e+=this.paddingTop,Yn(this.heightMap.lineAt(t,$n.ByPos,this.state.doc,e,0),this.scaler,e)}lineAtHeight(t,e){return e+=this.paddingTop,Yn(this.heightMap.lineAt(this.scaler.fromDOM(t,e),$n.ByHeight,this.state.doc,e,0),this.scaler,e)}blockAtHeight(t,e){return e+=this.paddingTop,Yn(this.heightMap.blockAt(this.scaler.fromDOM(t,e),this.state.doc,e,0),this.scaler,e)}forEachLine(t,e,i,n){return n+=this.paddingTop,this.heightMap.forEachLine(t,e,this.state.doc,n,0,1==this.scaler.scale?i:t=>i(Yn(t,this.scaler,n)))}get contentHeight(){return this.domHeight+this.paddingTop+this.paddingBottom}get domHeight(){return this.scaler.toDOM(this.heightMap.height,this.paddingTop)}}class Cn{constructor(t,e){this.from=t,this.to=e}eq(t){return this.from==t.from&&this.to==t.to}}function An({total:t,ranges:e},i){if(i<=0)return e[0].from;if(1<=i)return e[e.length-1].to;let n=Math.floor(t*i);for(let t=0;;t++){var{from:r,to:s}=e[t],s=s-r;if(n<=s)return r+n;n-=s}}function Ln(t,e){let i=0;for(var{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function zn(t,e){for(var i of t)if(e(i))return i}const qn={toDOM(t){return t},fromDOM(t){return t},scale:1};class Vn{constructor(r,s,t){let o=0,e=0,i=0;this.viewports=t.map(({from:t,to:e})=>{var i=s.lineAt(t,$n.ByPos,r,0,0).top,n=s.lineAt(e,$n.ByPos,r,0,0).bottom;return o+=n-i,{from:t,to:e,top:i,bottom:n,domTop:0,domBottom:0}}),this.scale=(7e6-o)/(s.height-o);for(var n of this.viewports)n.domTop=i+(n.top-e)*this.scale,i=n.domBottom=n.domTop+(n.bottom-n.top),e=n.bottom}toDOM(n,r){n-=r;for(let t=0,e=0,i=0;;t++){var s=tYn(t,e,i)):t.type)}const Mn=L.define({combine:t=>t.join(" ")}),Zn=L.define({combine:t=>-1{if("&"==t)return e;if(!i||!i[t])throw new RangeError(`Unsupported selector: ${t}`);return i[t]}):e+" "+t}})}const Gn=In("."+En,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none"},".cm-lineWrapping":{whiteSpace:"pre-wrap",overflowWrap:"anywhere"},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},".cm-cursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none",display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-placeholder":{color:"#888",display:"inline-block"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"3px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Hn),Bn={childList:!0,characterData:!0,subtree:!0,characterDataOldValue:!0},Nn=xe.ie&&xe.ie_version<=11;class Un{constructor(i,t,e){this.view=i,this.onChange=t,this.onScrollChanged=e,this.active=!1,this.ignoreSelection=new ne,this.delayedFlush=-1,this.queue=[],this.lastFlush=0,this.scrollTargets=[],this.intersection=null,this.intersecting=!1,this._selectionRange=null,this.parentCheck=-1,this.dom=i.contentDOM,this.observer=new MutationObserver(t=>{for(var e of t)this.queue.push(e);this._selectionRange=null,(xe.ie&&xe.ie_version<=11||xe.ios&&i.composing)&&t.some(t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length)?this.flushSoon():this.flush()}),Nn&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.start(),this.onScroll=this.onScroll.bind(this),window.addEventListener("scroll",this.onScroll),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),0{this.delayedFlush=-1,this.flush()},20))}forceFlush(){0<=this.delayedFlush&&(window.clearTimeout(this.delayedFlush),this.delayedFlush=-1,this.flush())}flush(){if(!(0<=this.delayedFlush)){this.lastFlush=Date.now();let n=this.queue;for(var t of this.observer.takeRecords())n.push(t);n.length&&(this.queue=[]);var r=this.selectionRange,s=!this.ignoreSelection.eq(r)&&Nt(this.dom,r);if(0!=n.length||s){let t=-1,e=-1,i=!1;for(var o of n){o=this.readMutation(o);o&&(o.typeOver&&(i=!0),-1==t?{from:t,to:e}=o:(t=Math.min(o.from,t),e=Math.max(o.to,e)))}r=this.view.state;(-1this.view.docView.sync()),this.view.docView.dirty=0),this.view.docView.updateSelection()),this.clearSelection()}}}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty(),"childList"!=t.type)return{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue};var i=Fn(e,t.previousSibling||t.target.previousSibling,-1),t=Fn(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:t?e.posBefore(t):e.posAtEnd,typeOver:!1}}destroy(){this.stop(),this.intersection&&this.intersection.disconnect();for(var t of this.scrollTargets)t.removeEventListener("scroll",this.onScroll);window.removeEventListener("scroll",this.onScroll),clearTimeout(this.parentCheck)}}function Fn(t,e,i){for(;e;){var n=Oe.get(e);if(n&&n.parent==t)return n;n=e.parentNode;e=n!=t.dom?n:0Date.now()-100||xe.android&&t.text.length=o?s-i:0,s-=l,a=s+(a-o),o=s):a=a?s-i:0,s-=i,o=s+(o-a),a=s)}return{from:s,toA:o,toB:a}}(n.state.sliceDoc(h,c),t.text,e-h,i);O&&(s={from:h+O.from,to:h+O.toA,insert:n.state.toText(t.text.slice(O.from,O.toB))})}else!n.hasFocus&&n.state.facet(si)||(c=n.observer.selectionRange,{impreciseHead:h,impreciseAnchor:O}=n.docView,h=h&&h.node==c.focusNode&&h.offset==c.focusOffset||!Bt(n.contentDOM,c.focusNode)?n.state.selection.main.head:n.docView.posFromDOM(c.focusNode,c.focusOffset),c=O&&O.node==c.anchorNode&&O.offset==c.anchorOffset||!Bt(n.contentDOM,c.anchorNode)?n.state.selection.main.anchor:n.docView.posFromDOM(c.anchorNode,c.anchorOffset),h==a.head&&c==a.anchor||(o=_.single(c,h)));if(s||o)if(!s&&r&&!a.empty&&o&&o.main.empty?s={from:a.from,to:a.to,insert:n.state.doc.slice(a.from,a.to)}:s&&s.from>=a.from&&s.to<=a.to&&(s.from!=a.from||s.to!=a.to)&&a.to-a.from-(s.to-s.from)<=4&&(s={from:a.from,to:a.to,insert:n.state.doc.slice(a.from,s.from).append(s.insert).append(n.state.doc.slice(s.to,a.to))}),s){let i=n.state;if(!(xe.android&&(s.from==a.from&&s.to==a.to&&1==s.insert.length&&2==s.insert.lines&&le(n.contentDOM,"Enter",13)||s.from==a.from-1&&s.to==a.to&&0==s.insert.length&&le(n.contentDOM,"Backspace",8)||s.from==a.from&&s.to==a.to+1&&0==s.insert.length&&le(n.contentDOM,"Delete",46))||xe.ios&&n.inputState.flushIOSKey(n))){let e=s.insert.toString();if(!n.state.facet(ni).some(t=>t(n,s.from,s.to,e))){0<=n.inputState.composing&&n.inputState.composing++;let t;var d;t=s.from>=a.from&&s.to<=a.to&&s.to-s.from>=(a.to-a.from)/3&&(!o||o.main.empty&&o.main.from==s.from+s.insert.length)?(r=a.froms.to?i.sliceDoc(s.to,a.to):"",i.replaceSelection(n.state.toText(r+s.insert.sliceString(0,void 0,n.state.lineBreak)+d))):{changes:d=i.changes(s),selection:o&&!i.selection.main.eq(o.main)&&o.main.to<=d.newLength?i.selection.replaceRange(o.main):void 0},n.dispatch(t,{scrollIntoView:!0,annotations:st.userEvent.of("input")})}}}else if(o&&!o.main.eq(a)){let t=!1,e;n.inputState.lastSelectionTime>Date.now()-50&&("keyboardselection"==n.inputState.lastSelectionOrigin?t=!0:e=st.userEvent.of(n.inputState.lastSelectionOrigin)),n.dispatch({selection:o,scrollIntoView:t,annotations:e})}}class Kn{constructor(t,e){this.points=t,this.view=e,this.text="",this.lineBreak=e.state.lineBreak}readRange(e,i){if(e){var n=e.parentNode;for(let t=e;;){this.findPointBefore(n,t),this.readNode(t);var r=t.nextSibling;if(r==i)break;var s=Oe.get(t),o=Oe.get(r);((s?s.breakAfter:tr(t))||(o?o.breakAfter:tr(r))&&("BR"!=t.nodeName||t.cmIgnore))&&(this.text+=this.lineBreak),t=r}this.findPointBefore(n,i)}}readNode(i){if(!i.cmIgnore){var n=Oe.get(i);let t=n&&n.overrideDOMText,e;null!=t?e=t.sliceString(0,void 0,this.lineBreak):3==i.nodeType?e=i.nodeValue:"BR"==i.nodeName?e=i.nextSibling?this.lineBreak:"":1==i.nodeType&&this.readRange(i.firstChild,null),null!=e&&(this.findPointIn(i,e.length),this.text+=e,xe.chrome&&13==this.view.inputState.lastKeyCode&&!i.nextSibling&&/\n\n$/.test(this.text)&&(this.text=this.text.slice(0,-1)))}}findPointBefore(t,e){for(var i of this.points)i.node==t&&t.childNodes[i.offset]==e&&(i.pos=this.text.length)}findPointIn(t,e){for(var i of this.points)i.node==t&&(i.pos=this.text.length+Math.min(i.offset,e))}}function tr(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class er{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class ir{constructor(t={}){this.plugins=[],this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=t.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this.root=t.root||document,this.viewState=new _n(t.state||pt.create()),this.plugins=this.state.facet(hi).map(t=>new di(t).update(this)),this.observer=new Un(this,(t,e,i)=>{Jn(this,t,e,i)},t=>{this.inputState.runScrollHandlers(this,t),this.observer.intersecting&&this.measure()}),this.inputState=new Fi(this),this.docView=new Qi(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,window.addEventListener("resize",()=>{-1==sr&&(sr=setTimeout(or,50))}),this.requestMeasure(),t.parent&&t.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return 0t.scrollIntoView)?n.selection.main:null,this.viewState.update(i,s),this.bidiCache=lr.update(this.bidiCache,i.changes),i.empty||this.updatePlugins(i),e=this.docView.update(i),this.state.facet(mi)!=this.styleModules&&this.mountStyles(),this.updateAttrs(),this.showAnnouncements(t)}finally{this.updateState=0}if((e||s||this.viewState.mustEnforceCursorAssoc)&&this.requestMeasure(),!i.empty)for(var o of this.state.facet(ii))o(i)}setState(t){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");this.updateState=2;try{for(var e of this.plugins)e.destroy(this);this.viewState=new _n(t),this.plugins=t.facet(hi).map(t=>new di(t).update(this)),this.docView=new Qi(this),this.inputState.ensureHandlers(this),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}this.requestMeasure()}updatePlugins(i){let t=i.startState.facet(hi),n=i.state.facet(hi);if(t!=n){let e=[];for(var r of n){var s=t.indexOf(r);if(s<0)e.push(new di(r));else{let t=this.plugins[s];t.mustUpdate=i,e.push(t)}}for(var o of this.plugins)o.mustUpdate!=i&&o.destroy(this);this.plugins=e,this.inputState.ensureHandlers(this)}else for(var e of this.plugins)e.mustUpdate=i;for(let t=0;t{try{return t.read(this)}catch(t){return ri(this.state,t),ar}});let t=new vi(this,this.state);t.flags|=r,n?n.flags|=r:n=t,this.updateState=2,t.empty||this.updatePlugins(t),this.updateAttrs(),r&&this.docView.update(t);for(let t=0;tthis.measure())),e){if(null!=e.key)for(let t=0;tfunction(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return t=>{t=n(t);return r==Ot.Space&&(r=t),r==t}}(this,e.head,t)))}moveToLineBoundary(t,e,i=!0){return function(t,e,i,n){var r=t.state.doc.lineAt(e.head),s=n&&t.lineWrapping?t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head):null;if(s){n=t.dom.getBoundingClientRect(),s=t.posAtCoords({x:i==(t.textDirection==Si.LTR)?n.right-1:n.left+1,y:(s.top+s.bottom)/2});if(null!=s)return _.cursor(s,i?-1:1)}return e=Ie.find(t.docView,e.head),r=e?i?e.posAtEnd:e.posAtStart:i?r.to:r.from,_.cursor(r,i?-1:1)}(this,t,e,i)}moveVertically(t,e,i){return Ui(this,t,Ni(this,t,e,i))}scrollPosIntoView(t){this.viewState.scrollTo=_.cursor(t),this.requestMeasure()}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t){return this.readMeasured(),Gi(this,t)}coordsAtPos(t,e=1){this.readMeasured();var i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;var n=this.state.doc.lineAt(t),r=this.bidiSpans(n);return ie(i,r[qi.find(r,t-n.from,-1,e)].dir==Si.LTR==0nr)return Mi(t.length);var e,i=this.textDirection;for(e of this.bidiCache)if(e.from==t.from&&e.dir==i)return e.order;var n=Yi(t.text,this.textDirection);return this.bidiCache.push(new lr(t.from,t.to,i,n)),n}get hasFocus(){var t;return(document.hasFocus()||xe.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{se(this.contentDOM),this.docView.updateSelection()})}destroy(){for(var t of this.plugins)t.destroy(this);this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),-1({}),{eventHandlers:t})}static theme(t,e){var i=wt.newName();let n=[Mn.of(i),mi.of(In(`.${i}`,t))];return e&&e.dark&&n.push(Zn.of(!0)),n}static baseTheme(t){return E.fallback(mi.of(In("."+En,t,Hn)))}}ir.styleModule=mi,ir.inputHandler=ni,ir.exceptionSink=ei,ir.updateListener=ii,ir.editable=si,ir.mouseSelectionStyle=ti,ir.dragMovesSelection=Ke,ir.clickAddsSelectionRange=Je,ir.decorations=pi,ir.contentAttributes=fi,ir.editorAttributes=ui,ir.lineWrapping=ir.contentAttributes.of({class:"cm-lineWrapping"}),ir.announce=rt.define();const nr=4096;function rr(t,e){return null==t?e.getBoundingClientRect().top:t}let sr=-1;function or(){sr=-1;var i=document.querySelectorAll(".cm-content");for(let e=0;e{if(t){for(var e of t.commands)if(e(i))return!0;t.preventDefault&&(a=!0)}return!1},h=t[n],c;if(h){if(l(h[o+cr(r,e,!s)]))return!0;if(s&&(e.shiftKey||e.altKey||e.metaKey)&&(c=qt[e.keyCode])&&c!=r){if(l(h[o+cr(c,e,!0)]))return!0}else if(s&&e.shiftKey&&l(h[o+cr(r,e,!0)]))return!0}return a}(function(t){let e=t.facet(Or),i=dr.get(e);i||dr.set(e,i=function(t,a=hr){let l=Object.create(null),n=Object.create(null),h=(t,e)=>{var i=n[t];if(null==i)n[t]=e;else if(i!=e)throw new Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},e=(n,t,e,i)=>{let r=l[n]||(l[n]=Object.create(null)),s=t.split(/ (?!$)/).map(t=>function(t,e){var i=t.split(/-(?!$)/);let n=i[i.length-1];"Space"==n&&(n=" ");let r,s,o,a;for(let t=0;t{let e=ur={view:t,prefix:i,scope:n};return setTimeout(()=>{ur==e&&(ur=null)},fr),!0}]})}t=s.join(" ");h(t,!1);let o=r[t]||(r[t]={preventDefault:!1,commands:[]});o.commands.push(e),i&&(o.preventDefault=!0)};for(var i of t){var r=i[a]||i.key;if(r)for(var s of i.scope?i.scope.split(" "):["editor"])e(s,r,i.run,i.preventDefault),i.shift&&e(s,"Shift-"+r,i.shift,i.preventDefault)}return l}(e.reduce((t,e)=>t.concat(e),[])));return i}(e.state),t,e,"editor")}})}),dr=new WeakMap;let ur=null;const fr=4e3;xe.ios;const pr=Me.line({attributes:{class:"cm-activeLine"}}),mr=ci.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(var n of t.state.selection.ranges){if(!n.empty)return Me.none;n=t.visualLineAt(n.head);n.from>e&&(i.push(pr.range(n.from)),e=n.from)}return Me.set(i)}},{decorations:t=>t.decorations});let gr=0;const vr=new WeakMap;class Qr{constructor({deserialize:t}={}){this.id=gr++,this.deserialize=t||(()=>{throw new Error("This node type doesn't define a deserialize function")})}static string(){return new Qr({deserialize:t=>t})}static number(){return new Qr({deserialize:Number})}static flag(){return new Qr({deserialize:()=>!0})}set(t,e){return t[this.id]=e,t}add(e){return"function"!=typeof e&&(e=$r.match(e)),t=>{t=e(t);return void 0===t?null:[this,t]}}}Qr.closedBy=new Qr({deserialize:t=>t.split(" ")}),Qr.openedBy=new Qr({deserialize:t=>t.split(" ")}),Qr.group=new Qr({deserialize:t=>t.split(" ")});const wr=Object.create(null);class $r{constructor(t,e,i,n=0){this.name=t,this.props=e,this.id=i,this.flags=n}static define(t){var e=t.props&&t.props.length?Object.create(null):wr,i=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),n=new $r(t.name||"",e,t.id,i);if(t.props)for(var r of t.props)Array.isArray(r)||(r=r(n)),r&&r[0].set(e,r[1]);return n}prop(t){return this.props[t.id]}get isTop(){return 0<(1&this.flags)}get isSkipped(){return 0<(2&this.flags)}get isError(){return 0<(4&this.flags)}get isAnonymous(){return 0<(8&this.flags)}is(e){if("string"!=typeof e)return this.id==e;{if(this.name==e)return!0;let t=this.prop(Qr.group);return!!t&&-1{for(let t=i.prop(Qr.group),e=-1;e<(t?t.length:0);e++){var n=r[e<0?i.name:t[e]];if(n)return n}}}}$r.none=new $r("",Object.create(null),0,8);class yr{constructor(e){this.types=e;for(let t=0;tt.toString()).join();return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(t,e=0){var i=null!=t&&vr.get(this)||this.topNode;let n=new Xr(i);return null!=t&&(n.moveTo(t,e),vr.set(this,n._tree)),n}fullCursor(){return new Xr(this.topNode,!0)}get topNode(){return new Sr(this,0,0,null)}resolve(t,e=0){return this.cursor(t,e).node}iterate(t){let{enter:i,leave:n,from:r=0,to:s=this.length}=t;for(let e=this.cursor();;){let t=!1;if(e.from<=s&&e.to>=r&&(e.type.isAnonymous||!1!==i(e.type,e.from,e.to))){if(e.firstChild())continue;e.type.isAnonymous||(t=!0)}for(;t&&n&&n(e.type,e.from,e.to),t=e.type.isAnonymous,!e.nextSibling();){if(!e.parent())return;t=!0}}}balance(t=1024){return this.children.length<=Cr?this:Ar(this.type,$r.none,this.children,this.positions,0,this.children.length,0,t,this.length,0)}static build(t){let{buffer:e,nodeSet:m,topID:i=0,maxBufferLength:g=1024,reused:v=[],minRepeatType:Q=m.types.length}=t,w=Array.isArray(e)?new _r(e,e.length):e,$=m.types,y=0;function b(i,t,e,n,r){var{id:s,start:o,end:a,size:l}=w;let h=o-i;if(l<0)return-1==l?(e.push(v[s]),n.push(h)):y=s,void w.next();let c=$[s],O,d;if(a-o<=g&&(d=function(t,e){let i=w.fork(),n=0,r=0,s=0,o=i.end-g,a={size:0,start:0,skip:0};t:for(var l=i.pos-t;i.pos>l;)if(i.id!=e){var h=i.size,c=i.pos-h;if(h<0||c=Q?4:0;var O=i.start;for(i.next();i.pos>c;){if(i.size<0)break t;i.id>=Q&&(t+=4),i.next()}r=O,n+=h,s+=t}else a.size=n,a.start=r,a.skip=s,s+=4,n+=4,i.next();(e<0||n==t)&&(a.size=n,a.start=r,a.skip=s);return 4t;)e=function e(i,n,r,s){let{id:t,start:o,end:a,size:l}=w;w.next();if(t==s)return r;let h=r;if(4t;)r=e(i,n,r,s)}t=Q?s:-1;w.pos>f;)w.id==p?w.next():b(o,f,t,e,p);t.reverse(),e.reverse(),O=-1Cr?Ar(c,c,t,e,0,t.length,0,g,a-o,y):xr(new br(c,t,e,a-o),y)}e.push(O),n.push(h)}let n=[],r=[];for(;0=t:this.from>t)||(-1=t:this.from>t)||(-1!t.type.isAnonymous||t instanceof kr||Rr(t))}class _r{constructor(t,e){this.buffer=t,this.index=e}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new _r(this.buffer,this.index)}}const Cr=8;function Ar(t,i,n,r,s,o,a,l,e,h){let c=[],O=[];if(e<=l)for(let t=s;td<<1){for(let t=0;t=i)for(;s&&s.from=t.from||d<=t.to||l)&&(h=Math.max(t.from,a)-l,c=Math.min(t.to,d)-l,t=c<=h?null:new Lr(h,c,t.tree,t.offset+l,(0d)break;s=rt.length&&n.push(r);return n}}function zr(t){return new qr(t)}class qr{constructor(t,e=t.length){this.string=t,this.length=e}get(t){return t<0||t>=this.length?-1:this.string.charCodeAt(t)}lineAfter(t){if(t<0)return"";var e=this.string.indexOf("\n",t);return this.string.slice(t,e<0?this.length:Math.min(e,this.length))}read(t,e){return this.string.slice(t,Math.min(this.length,e))}clip(t){return new qr(this.string,t)}}const Vr=new Qr;function Yr(e){return L.define({combine:e?t=>t.concat(e):void 0})}class Mr{constructor(t,e,i,n=[]){this.data=t,this.topNode=i,pt.prototype.hasOwnProperty("tree")||Object.defineProperty(pt.prototype,"tree",{get(){return Dr(this)}}),this.parser=e,this.extension=[Fr.of(this),pt.languageData.of((t,e)=>t.facet(Zr(t,e)))].concat(n)}isActiveAt(t,e){return Zr(t,e)==this.data}findRegions(t){var e=t.facet(Fr);if((null==e?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[];return Dr(t).iterate({enter:(t,e,i)=>{if(t.isTop&&t.prop(Vr)==this.data)return n.push({from:e,to:i}),!1}}),n}get allowsNesting(){return!0}parseString(t){var e=d.of(t.split("\n"));let i=this.parser.startParse(new jr(e),0,new Hr(this.parser,pt.create({doc:e}),[],br.empty,{from:0,to:t.length},[],null)),n;for(;!(n=i.advance()););return n}}function Zr(t,e){var i=t.facet(Fr);if(!i)return null;if(!i.allowsNesting)return i.data;let n=Dr(t),r=n.resolve(e,-1);for(;r;){var s=r.type.prop(Vr);if(s)return s;r=r.parent}return i.data}Mr.setState=rt.define();class Er extends Mr{constructor(t,e){super(t,e,e.topNode),this.parser=e}static define(t){let e=Yr(t.languageData);return new Er(e,t.parser.configure({props:[Vr.add(t=>t.isTop?e:void 0)]}))}configure(t){return new Er(this.data,this.parser.configure(t))}get allowsNesting(){return this.parser.hasNested}}function Dr(t){t=t.field(Mr.state,!1);return t?t.tree:br.empty}class jr{constructor(t,e=t.length){this.doc=t,this.length=e,this.cursorPos=0,this.string="",this.prevString="",this.cursor=t.iter()}syncTo(t){return t=this.length)return-1;let e=this.cursorPos-this.string.length;if(t=this.cursorPos){if(t=e-this.prevString.length)return this.prevString.charCodeAt(t-(e-this.prevString.length));e=this.syncTo(t)}return this.string.charCodeAt(t-e)}lineAfter(t){if(t>=this.length||t<0)return"";let e=this.cursorPos-this.string.length;return(t=this.cursorPos)&&(e=this.syncTo(t)),this.cursor.lineBreak?"":this.string.slice(t-e,Math.min(this.length-e,this.string.length))}read(t,e){var i=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-i,e-i)}clip(t){return new jr(this.doc,t)}}class Hr{constructor(t,e,i=[],n,r,s,o){this.parser=t,this.state=e,this.fragments=i,this.tree=n,this.viewport=r,this.skipped=s,this.scheduleOn=o,this.parse=null,this.tempSkipped=[]}work(t,e){if(this.tree!=br.empty&&(null==e?this.tree.length==this.state.doc.length:this.tree.length>=e))return this.takeTree(),!0;this.parse||(this.parse=this.parser.startParse(new jr(this.state.doc),0,this));for(var i=Date.now()+t;;){var n=this.parse.advance();if(n)return this.fragments=this.withoutTempSkipped(Lr.addTree(n)),this.parse=null,this.tree=n,!0;if(null!=e&&this.parse.pos>=e)return this.takeTree(),!0;if(Date.now()>i)return!1}}takeTree(){this.parse&&this.parse.pos>this.tree.length&&(this.tree=this.parse.forceFinish(),this.fragments=this.withoutTempSkipped(Lr.addTree(this.tree,this.fragments,!0)))}withoutTempSkipped(t){for(var e;e=this.tempSkipped.pop();)t=Ir(t,e.from,e.to);return t}changes(t,e){let{fragments:i,tree:n,viewport:s,skipped:o}=this;if(this.takeTree(),!t.empty){let r=[];if(t.iterChangedRanges((t,e,i,n)=>r.push({fromA:t,toA:e,fromB:i,toB:n})),i=Lr.applyChanges(i,r),n=br.empty,s={from:t.mapPos(s.from,-1),to:t.mapPos(s.to,1)},this.skipped.length){o=[];for(var a of this.skipped){var l=t.mapPos(a.from,1),a=t.mapPos(a.to,-1);le.from&&(this.fragments=Ir(this.fragments,i,n),this.skipped.splice(t--,1))}return this.skipped.length=t}}function Ir(t,e,i){return Lr.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}Hr.skippingParser=Hr.getSkippingParser();class Gr{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged)return this;let e=this.context.changes(t.changes,t.state);t=this.context.tree.length==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.tree.length),e.viewport.to);return e.work(25,t)||e.takeTree(),new Gr(e)}static init(t){let e=new Hr(t.facet(Fr).parser,t,[],br.empty,{from:0,to:t.doc.length},[],null);return e.work(25)||e.takeTree(),new Gr(e)}}Mr.state=M.define({create:Gr.init,update(t,e){for(var i of e.effects)if(i.is(Mr.setState))return i.value;return e.startState.facet(Fr)!=e.state.facet(Fr)?Gr.init(e.state):t.apply(e)}});let Br="undefined"!=typeof window&&window.requestIdleCallback||((t,{timeout:e})=>setTimeout(t,e)),Nr="undefined"!=typeof window&&window.cancelIdleCallback||clearTimeout;var Ur=ci.fromClass(class{constructor(t){this.view=t,this.working=-1,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(Mr.state).context;t.viewportChanged&&(e.updateViewport(t.view.viewport)&&e.reset(),this.view.viewport.to>e.tree.length&&this.scheduleWork()),t.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(i=!1){if(!(-1=t.doc.length||(this.working=Br(this.work,{timeout:500}))}}work(n){this.working=-1;var r=Date.now();if(this.chunkEnd=e+1e6||(n=Math.min(this.chunkBudget,n?Math.max(25,n.timeRemaining()):100),n=i.context.work(n,e+1e6),this.chunkBudget-=Date.now()-r,(n||this.chunkBudget<=0||i.context.movedPast(e))&&(i.context.takeTree(),this.view.dispatch({effects:Mr.setState.of(new Gr(i.context))})),!n&&0this.scheduleWork(!0)),t.scheduleOn=null)}destroy(){0<=this.working&&Nr(this.working)}},{eventHandlers:{focus(){this.scheduleWork()}}});const Fr=L.define({combine(t){return t.length?t[0]:null},enables:[Mr.state,Ur]});class Jr{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}class Kr{constructor(t,e,i,n,r){this.name=t,this.alias=e,this.extensions=i,this.filename=n,this.loadFunc=r,this.support=void 0,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(t=>this.support=t,t=>{throw this.loading=null,t}))}static of(t){return new Kr(t.name,(t.alias||[]).concat(t.name).map(t=>t.toLowerCase()),t.extensions||[],t.filename,t.load)}static matchFilename(t,e){for(var i of t)if(i.filename&&i.filename.test(e))return i;var n=/\.([^.]+)$/.exec(e);if(n)for(var r of t)if(-1t==e))return n;if(i)for(var r of t)for(var s of r.alias){var o=e.indexOf(s);if(-1{if(!t.length)return" ";if(!/^(?: +|\t+)$/.test(t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return t[0]}});function is(t){let e=t.facet(es);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function ns(t,e){let i="",n=t.tabSize;if(9==t.facet(es).charCodeAt(0))for(;n<=e;)i+="\t",e-=n;for(let t=0;tOs(t,!0,1,void 0,i&&!function(t){var e,i;return t.pos==(null===(e=t.options)||void 0===e?void 0:e.simulateBreak)&&null!==(i=t.options)&&void 0!==i&&i.simulateDoubleBreak}(t)?e.from:void 0)}return null==t.parent?hs:null}function ls(e,i,n){for(;e;e=e.parent){let t=as(e);if(t)return t(new cs(n,i,e))}return null}function hs(){return 0}class cs extends ss{constructor(t,e,i){super(t.state,t.options),this.base=t,this.pos=e,this.node=i}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,i){for(let t=i;t;t=t.parent)if(e==t)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e)}continue(){var t=this.node.parent;return t?ls(t,this.pos,this.base):0}}function Os(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length;r=n&&s.slice(o,o+n.length)==n||r==t.pos+o,e=e?function(t){let e=t.node;var i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;var r=null===(r=t.options)||void 0===r?void 0:r.simulateBreak,t=t.state.doc.lineAt(i.from),s=null==r||r<=t.from?t.to:Math.min(t.to,r);for(let t=i.to;;){var o=e.childAfter(t);if(!o||o==n)return null;if(!o.type.isSkipped)return o.from{var e=i&&i.test(t.textAfter);return t.baseIndent+(e?0:n*t.unit)}}L.define();const us=new Qr;function fs(t){var e=t.firstChild,i=t.lastChild;return e&&e.toir.decorations.from(t)}),ps];function ys(t,e,i){var n=t.prop(e<0?Qr.openedBy:Qr.closedBy);if(n)return n;if(1==t.name.length){t=i.indexOf(t.name);if(-1=e.to){if(0==o&&-1>1==l>>1};O--}}0"},ks=rt.define({map(t,e){t=e.mapPos(t,-1,w.TrackAfter);return null==t?void 0:t}}),Ss=rt.define({map(t,e){return e.mapPos(t)}}),Ps=new class extends bt{};Ps.startSide=1,Ps.endSide=-1;const Ts=M.define({create(){return Pt.empty},update(t,i){var e,n;i.selection&&(e=i.state.doc.lineAt(i.selection.main.head).from,n=i.startState.doc.lineAt(i.startState.selection.main.head).from,e!=i.changes.mapPos(n,-1)&&(t=Pt.empty)),t=t.map(i.changes);for(let e of i.effects)e.is(ks)?t=t.update({add:[Ps.range(e.value,e.value+1)]}):e.is(Ss)&&(t=t.update({filter:t=>t!=e.value}));return t}});const Ws="()[]{}<>";function Xs(e){for(let t=0;t>10),56320+(1023&t)));var t}function Rs(t,e){return t.languageDataAt("closeBrackets",e)[0]||xs}function _s(t,e,i,n){if(t.composing)return!1;var r=t.state.selection.main;if(2{if(!t.empty)return{changes:[{insert:s,from:t.from},{insert:s,from:t.to}],effects:ks.of(t.to+s.length),range:_.range(t.anchor+s.length,t.head+s.length)};var e=t.head,i=Ls(r.doc,e);if(i==s){if(zs(r,e))return{changes:{insert:s+s,from:e},effects:ks.of(e+s.length),range:_.cursor(e+s.length)};if(As(r,e)){var n=o&&r.sliceDoc(e,e+3*s.length)==s+s+s;return{range:_.cursor(e+s.length*(n?3:1)),effects:Ss.of(e)}}}else{if(o&&r.sliceDoc(e-2*s.length,e)==s+s&&zs(r,e-2*s.length))return{changes:{insert:s+s+s+s,from:e},effects:ks.of(e+s.length),range:_.cursor(e+s.length)};if(r.charCategorizer(e)(i)!=Ot.Word){i=r.sliceDoc(e-1,e);if(i!=s&&r.charCategorizer(e)(i)!=Ot.Word)return{changes:{insert:s+s,from:e},effects:ks.of(e+s.length),range:_.cursor(e+s.length)}}}return{range:a=t}});return a?null:r.update(t,{scrollIntoView:!0,annotations:st.userEvent.of("input")})}(t,r,-1{if(!t.empty)return{changes:[{insert:n,from:t.from},{insert:r,from:t.to}],effects:ks.of(t.to+n.length),range:_.range(t.anchor+n.length,t.head+n.length)};var e=Ls(i.doc,t.head);return!e||/\s/.test(e)||-1t.empty&&Ls(e.doc,t.head)==i?_.cursor(t.head+i.length):n=t);return n?null:e.update({selection:_.create(t,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:t})=>Ss.of(t))})}(t,(r,s))}return null}(t.state,n);return!!n&&(t.dispatch(n),!0)}const Cs=[{key:"Backspace",run:({state:n,dispatch:t})=>{let r=Rs(n,n.selection.main.head).brackets||xs.brackets,s=null,e=n.changeByRange(t=>{if(t.empty){var e,i=function(t,e){let i=t.sliceString(e-2,e);return O(c(i,0))==i.length?i:i.slice(1)}(n.doc,t.head);for(e of r)if(e==i&&Ls(n.doc,t.head)==Xs(c(e,0)))return{changes:{from:t.head-e.length,to:t.head+e.length},range:_.cursor(t.head-e.length),annotations:st.userEvent.of("delete")}}return{range:s=t}});return s||t(n.update(e,{scrollIntoView:!0})),!s}}];function As(t,e){let i=!1;return t.field(Ts).between(0,t.doc.length,t=>{t==e&&(i=!0)}),i}function Ls(t,e){let i=t.sliceString(e,e+2);return i.slice(0,O(c(i,0)))}function zs(t,e){t=Dr(t).resolve(e+1);return t.parent&&t.from==e}function qs(t,e){return _.create(t.ranges.map(e),t.mainIndex)}function Vs(t,e){return t.update({selection:e,scrollIntoView:!0,annotations:st.userEvent.of("keyboardselection")})}function Ys({state:t,dispatch:e},i){let n=qs(t.selection,i);return!n.eq(t.selection)&&(e(Vs(t,n)),!0)}function Ms(t,e){return _.cursor(e?t.to:t.from)}function Zs(e,i){return Ys(e,t=>t.empty?e.moveByChar(t,i):Ms(t,i))}var Es=t=>Zs(t,t.textDirection!=Si.LTR),Ds=t=>Zs(t,t.textDirection==Si.LTR);function js(e,i){return Ys(e,t=>t.empty?e.moveByGroup(t,i):Ms(t,i))}function Hs(e,i,n){let r=Dr(e).resolve(i.head);var s,o,a,l=n?Qr.closedBy:Qr.openedBy;for(let t=i.head;;){var h=n?r.childAfter(t):r.childBefore(t);if(!h)break;s=e,a=l,(o=h).type.prop(a)||((a=o.to-o.from)&&(2t.empty?e.moveVertically(t,i):Ms(t,i))}var Gs=t=>Is(t,!1),Bs=t=>Is(t,!0);function Ns(e,i){return Ys(e,t=>t.empty?e.moveVertically(t,i,e.dom.clientHeight):Ms(t,i))}var Us=t=>Ns(t,!1),Fs=t=>Ns(t,!0);function Js(t,e,i){let n=t.visualLineAt(e.head),r=t.moveToLineBoundary(e,i);return r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),i||r.head!=n.from||!n.length||(t=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length)&&e.head!=n.from+t&&(r=_.cursor(n.from+t)),r}var Ks=e=>Ys(e,t=>Js(e,t,!0)),to=e=>Ys(e,t=>Js(e,t,!1));function eo(t,i){let e=qs(t.state.selection,t=>{var e=i(t);return _.range(t.anchor,e.head,e.goalColumn)});return!e.eq(t.state.selection)&&(t.dispatch(Vs(t.state,e)),!0)}function io(e,i){return eo(e,t=>e.moveByChar(t,i))}var no=t=>io(t,t.textDirection!=Si.LTR),ro=t=>io(t,t.textDirection==Si.LTR);function so(e,i){return eo(e,t=>e.moveByGroup(t,i))}function oo(e,i){return eo(e,t=>e.moveVertically(t,i))}var ao=t=>oo(t,!1),Yt=t=>oo(t,!0);function lo(e,i){return eo(e,t=>e.moveVertically(t,i,e.dom.clientHeight))}Zt=t=>lo(t,!1),Et=t=>lo(t,!0),Qe=e=>eo(e,t=>Js(e,t,!0)),ge=e=>eo(e,t=>Js(e,t,!1)),ve=({state:t,dispatch:e})=>(e(Vs(t,{anchor:0})),!0),me=({state:t,dispatch:e})=>(e(Vs(t,{anchor:t.doc.length})),!0),we=({state:t,dispatch:e})=>(e(Vs(t,{anchor:t.selection.main.anchor,head:0})),!0),$e=({state:t,dispatch:e})=>(e(Vs(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0);function ho({state:t,dispatch:e},r){var i=t.changeByRange(t=>{let{from:e,to:i}=t;var n;return e==i&&(n=r(e),e=Math.min(e,n),i=Math.max(i,n)),e==i?{range:t}:{changes:{from:e,to:i},range:_.cursor(e)}});return!i.changes.empty&&(e(t.update(i,{scrollIntoView:!0,annotations:st.userEvent.of("delete")})),!0)}const co=(a,l,h)=>ho(a,e=>{let{state:t}=a,i=t.doc.lineAt(e),n;if(!l&&e>i.from&&eco(t,!1,!0),be=t=>co(t,!0,!1);const Oo=(t,h)=>ho(t,e=>{let i=e,{state:n}=t,r=n.doc.lineAt(i),s=n.charCategorizer(i);for(let t=null;;){if(i==(h?r.to:r.from)){i==e&&r.number!=(h?n.doc.lines:1)&&(i+=h?1:-1);break}var o=b(r.text,i-r.from,h)+r.from,a=r.text.slice(Math.min(i,o)-r.from,Math.max(i,o)-r.from),l=s(a);if(null!=t&&l!=t)break;" "==a&&i==e||(t=l),i=o}return i});ye=t=>Oo(t,!1),pe=t=>Oo(t,!0),Ur=i=>ho(i,t=>{var e=i.visualLineAt(t).to;return t{var i=[];for(let t=e.from;t<=e.to;){var n=r.doc.lineAt(t);n.number>o&&(e.empty||e.to>n.from)&&(s(n,i,e),o=n.number),t=n.to+1}let t=r.changes(i);return{changes:i,range:_.range(t.mapPos(e.anchor,1),t.mapPos(e.head,1))}})}ps=({state:o,dispatch:t})=>{let a=Object.create(null),l=new ss(o,{overrideIndentation:t=>{t=a[t];return null==t?-1:t}});var e=mo(o,(t,e,i)=>{var n,r,s=rs(l,t.from);null==s||((n=/^\s*/.exec(t.text)[0])!=(r=ns(o,s))||i.from(t(i.update(mo(i,(t,e)=>{e.push({from:t.from,insert:i.facet(es)})}))),!0);const vo=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>Ys(e,t=>Hs(e.state,t,e.textDirection!=Si.LTR)),shift:e=>eo(e,t=>Hs(e.state,t,e.textDirection!=Si.LTR))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>Ys(e,t=>Hs(e.state,t,e.textDirection==Si.LTR)),shift:e=>eo(e,t=>Hs(e.state,t,e.textDirection==Si.LTR))},{key:"Alt-ArrowUp",run:({state:t,dispatch:e})=>fo(t,e,!1)},{key:"Shift-Alt-ArrowUp",run:({state:t,dispatch:e})=>po(t,e,!1)},{key:"Alt-ArrowDown",run:({state:t,dispatch:e})=>fo(t,e,!0)},{key:"Shift-Alt-ArrowDown",run:({state:t,dispatch:e})=>po(t,e,!0)},{key:"Escape",run:({state:t,dispatch:e})=>{let i=t.selection,n=null;return 1{var e=uo(i).map(({from:t,to:e})=>_.range(t,Math.min(e+1,i.doc.length)));return t(i.update({selection:_.create(e),annotations:st.userEvent.of("keyboardselection")})),!0}},{key:"Mod-i",run:({state:n,dispatch:t})=>{var e=qs(n.selection,t=>{var e;let i=Dr(n).resolve(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||null===(e=i.parent)||void 0===e)&&e.parent;)i=i.parent;return _.range(i.to,i.from)});return t(Vs(n,e)),!0},preventDefault:!0},{key:"Mod-[",run:({state:o,dispatch:t})=>(t(o.update(mo(o,(n,r)=>{let s=/^\s*/.exec(n.text)[0];if(s){let t=x(s,0,o.tabSize),e=0,i=ns(o,Math.max(0,t-is(o)));for(;e{let{state:i}=e,t=i.changes(uo(i).map(({from:t,to:e})=>(0e.moveVertically(t,!0)).map(t);return e.dispatch({changes:t,selection:n,scrollIntoView:!0}),!0}},{key:"Shift-Mod-\\",run:({state:t,dispatch:e})=>function(i,t,n){let r=!1,e=qs(i.selection,t=>{var e=bs(i,t.head,-1)||bs(i,t.head,1)||0js(t,t.textDirection!=Si.LTR),shift:t=>so(t,t.textDirection!=Si.LTR)},{mac:"Cmd-ArrowLeft",run:to,shift:ge},{key:"ArrowRight",run:Ds,shift:ro},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:t=>js(t,t.textDirection==Si.LTR),shift:t=>so(t,t.textDirection==Si.LTR)},{mac:"Cmd-ArrowRight",run:Ks,shift:Qe},{key:"ArrowUp",run:Gs,shift:ao},{mac:"Cmd-ArrowUp",run:ve,shift:we},{mac:"Ctrl-ArrowUp",run:Us,shift:Zt},{key:"ArrowDown",run:Bs,shift:Yt},{mac:"Cmd-ArrowDown",run:me,shift:$e},{mac:"Ctrl-ArrowDown",run:Fs,shift:Et},{key:"PageUp",run:Us,shift:Zt},{key:"PageDown",run:Fs,shift:Et},{key:"Home",run:to,shift:ge},{key:"Mod-Home",run:ve,shift:we},{key:"End",run:Ks,shift:Qe},{key:"Mod-End",run:me,shift:$e},{key:"Enter",run:({state:a,dispatch:t})=>{var e=a.changeByRange(({from:t,to:e})=>{var i=t==e&&function(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Dr(t).resolve(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(Qr.closedBy))&&-1s.from&&t(e(t.update({selection:{anchor:0,head:t.doc.length},annotations:st.userEvent.of("keyboardselection")})),!0)},{key:"Backspace",run:fe,shift:fe},{key:"Delete",run:be,shift:be},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ye},{key:"Mod-Delete",mac:"Alt-Delete",run:pe},{mac:"Mod-Backspace",run:i=>ho(i,t=>{var e=i.visualLineAt(t).from;return eYs(e,t=>_.cursor(e.visualLineAt(t.head).from,1)),shift:e=>eo(e,t=>_.cursor(e.visualLineAt(t.head).from))},{key:"Ctrl-e",run:e=>Ys(e,t=>_.cursor(e.visualLineAt(t.head).to,-1)),shift:e=>eo(e,t=>_.cursor(e.visualLineAt(t.head).to))},{key:"Ctrl-d",run:be},{key:"Ctrl-h",run:t=>co(t,!1,!1)},{key:"Ctrl-k",run:Ur},{key:"Alt-d",run:pe},{key:"Ctrl-Alt-h",run:ye},{key:"Ctrl-o",run:({state:t,dispatch:e})=>{var i=t.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:d.of(["",""])},range:_.cursor(t.from)}));return e(t.update(i,{scrollIntoView:!0,annotations:st.userEvent.of("input")})),!0}},{key:"Ctrl-t",run:({state:n,dispatch:t})=>{var e=n.changeByRange(t=>{if(!t.empty||0==t.from||t.from==n.doc.length)return{range:t};var e=t.from,i=n.doc.lineAt(e),t=e==i.from?e-1:b(i.text,e-i.from,!1)+i.from,i=e==i.to?e+1:b(i.text,e-i.from,!0)+i.from;return{changes:{from:t,to:i,insert:n.doc.slice(e,i).append(n.doc.slice(t,e))},range:_.cursor(i)}});return!e.changes.empty&&(t(n.update(e,{scrollIntoView:!0})),!0)}},{key:"Alt-f",run:t=>js(t,!0),shift:t=>so(t,!0)},{key:"Alt-b",run:t=>js(t,!1),shift:t=>so(t,!1)},{key:"Alt-<",run:ve},{key:"Alt->",run:me},{key:"Ctrl-v",run:Fs},{key:"Alt-v",run:Us}].map(t=>({mac:t.key,run:t.run,shift:t.shift})))),Qo={key:"Tab",run:({state:t,dispatch:e})=>t.selection.ranges.some(t=>!t.empty)?go({state:t,dispatch:e}):(e(t.update(t.replaceSelection("\t"),{scrollIntoView:!0,annotations:st.userEvent.of("input")})),!0),shift:ps},wo=et.define(),$o=et.define(),yo=L.define(),bo=L.define({combine(t){return mt(t,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}}),xo=M.define({create(){return Lo.empty},update(e,i){var n=i.state.facet(bo),r=i.annotation(wo);if(r){var s=To.fromTransaction(i),o=r.side;let t=0==o?e.undone:e.done;return t=s?Wo(t,t.length,n.minDepth,s):Co(t,i.startState.selection),new Lo(0==o?r.rest:t,0==o?t:r.rest)}var t=i.annotation($o);if("full"!=t&&"before"!=t||(e=e.isolate()),!1===i.annotation(st.addToHistory))return i.changes.empty?e:e.addMapping(i.changes.desc);s=To.fromTransaction(i),o=i.annotation(st.time),r=i.annotation(st.userEvent);return s?e=e.addChanges(s,o,r,n.newGroupDelay,n.minDepth):i.selection&&(e=e.addSelection(i.startState.selection,o,r,n.newGroupDelay)),e="full"==t||"after"==t?e.isolate():e},toJSON(t){return{done:t.done.map(t=>t.toJSON()),undone:t.undone.map(t=>t.toJSON())}},fromJSON(t){return new Lo(t.done.map(To.fromJSON),t.undone.map(To.fromJSON))}});function ko(n,r){return function({state:t,dispatch:e}){let i=t.field(xo,!1);if(!i)return!1;t=i.pop(n,t,r);return!!t&&(e(t),!0)}}const So=ko(0,!1),Po=ko(1,!1);ro=ko(0,!0),Gs=ko(1,!0);class To{constructor(t,e,i,n,r){this.changes=t,this.effects=e,this.mapped=i,this.startSelection=n,this.selectionsAfter=r}setSelAfter(t){return new To(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(t=this.startSelection)||void 0===t?void 0:t.toJSON(),selectionsAfter:this.selectionsAfter.map(t=>t.toJSON())}}static fromJSON(t){return new To(t.changes&&k.fromJSON(t.changes),[],t.mapped&&y.fromJSON(t.mapped),t.startSelection&&_.fromJSON(t.startSelection),t.selectionsAfter.map(_.fromJSON))}static fromTransaction(t){let e=Ro;for(var i of t.startState.facet(yo)){i=i(t);i.length&&(e=e.concat(i))}return!e.length&&t.changes.empty?null:new To(t.changes.invert(t.startState.doc),e,void 0,t.startState.selection,Ro)}static selection(t){return new To(void 0,Ro,void 0,void 0,t)}}function Wo(t,e,i,n){let r=t.slice(i+20t.map(e)):Ro,i);if(!t.changes)return To.selection(n);var r=t.changes.map(e),s=e.mapDesc(t.changes,!0),i=t.mapped?t.mapped.composeDesc(s):s;return new To(r,rt.mapEffects(t.effects,e),i,t.startSelection.map(s),n)}(e[i-1],t,n);if(r.changes&&!r.changes.empty||r.effects.length){let t=e.slice(0,i);return t[i-1]=r,t}t=r.mapped,i--,n=r.selectionsAfter}return n.length?[To.selection(n)]:Ro}class Lo{constructor(t,e,i=0,n=void 0){this.done=t,this.undone=e,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new Lo(this.done,this.undone):this}addChanges(t,e,i,n,r){let s=this.done,o=s[s.length-1];return s=o&&o.changes&&e-this.prevTimeo.push(t,e)),e.iterChangedRanges((t,e,i,n)=>{for(let t=0;tt.empty!=r.ranges[e].empty).length)?this:new Lo(Co(this.done,t),this.undone,e,i)}addMapping(t){return new Lo(Ao(this.done,t),Ao(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,i,t){let n=0==e?this.done:this.undone;if(0==n.length)return null;var r=n[n.length-1];if(t&&r.selectionsAfter.length)return i.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:wo.of({side:e,rest:function(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}(n)})});if(r.changes){let t=1==n.length?Ro:n.slice(0,n.length-1);return r.mapped&&(t=Ao(t,r.mapped)),i.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:wo.of({side:e,rest:t}),filter:!1})}return null}}Lo.empty=new Lo(Ro,Ro);const zo=[{key:"Mod-z",run:So,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Po,preventDefault:!0},{key:"Mod-u",run:ro,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Gs,preventDefault:!0}];let qo=0;class Vo{constructor(t,e,i){this.set=t,this.base=e,this.modified=i,this.id=qo++}static define(t){if(null!=t&&t.base)throw new Error("Can not derive from a modified tag");let e=new Vo([],null,[]);if(e.set.push(e),t)for(var i of t.set)e.set.push(i);return e}static defineModifier(){let e=new Mo;return t=>-1t.id-e.id))}}let Yo=0;class Mo{constructor(){this.instances=[],this.id=Yo++}static get(e,i){if(!i.length)return e;var t,n=i[0].instances.find(t=>t.base==e&&function(t,i){return t.length==i.length&&t.every((t,e)=>t==i[e])}(i,t.modified));if(n)return n;let r=[],s=new Vo(r,e,i);for(t of i)t.instances.push(s);var o,a=function e(i){let n=[i];for(let t=0;tt.scope)?void 0:Object.create(null);return(t,e)=>{var i,n=a&&a[t.id];if(void 0!==n)return n;let r=null;for(i of o){var s=i.match(t,e);s&&(r=r?r+" "+s:s)}return a&&(a[t.id]=r),r}}static define(t,e){return new Go(t,e||{})}static get(t,e,i){let n=Ho(t);return n&&n(e,i||$r.none)}}class Bo{constructor(t){this.markCache=Object.create(null),this.tree=Dr(t.state),this.decorations=this.buildDeco(t,Ho(t.state))}update(t){var e=Dr(t.state),i=Ho(t.state),n=i!=t.startState.facet(Do);e.lengthr-1)){for(let t=r-1,e=i.length-1;0<=e;e--,t--){var s=i[e];if(s&&s!=n[t])return}return 1}}(e.context,Uo,o)){for(var O of e.tags)(O=d(O,a))&&(t&&(t+=" "),t+=O,1==e.mode?s+=(s?" ":"")+O:0==e.mode&&(i=!0));break}e=e.next}let n=h;if(!i&&f.firstChild()){for(;f.from>n&&u!=t&&p(n,t),n=f.to,r(s,o+1,a),f.nextSibling(););f.parent()}c>n&&u!=t&&p(n,t)}})("",0,t.type),p(i,"")}(this.tree,i,r,e,(t,e,i)=>{n.add(t,e,this.markCache[i]||(this.markCache[i]=Me.mark({class:i})))});return n.finish()}}const No=E.fallback(ci.fromClass(Bo,{decorations:t=>t.decorations})),Uo=[""];var Fo,ao=Vo.define,Bs=ao(),Yt=ao(),be=ao(Yt),Ur=ao(),pe=ao(Ur),ye=ao(Ur),ve=ao(),me=ao(ve),Fs=ao(),Us=ao(),ps=ao(),ro=ao(ps),Gs=ao();const Jo={comment:Bs,lineComment:ao(Bs),blockComment:ao(Bs),docComment:ao(Bs),name:Yt,variableName:ao(Yt),typeName:be,tagName:ao(be),propertyName:ao(Yt),className:ao(Yt),labelName:ao(Yt),namespace:ao(Yt),macroName:ao(Yt),literal:Ur,string:pe,docString:ao(pe),character:ao(pe),number:ye,integer:ao(ye),float:ao(ye),bool:ao(Ur),regexp:ao(Ur),escape:ao(Ur),color:ao(Ur),url:ao(Ur),keyword:Fs,self:ao(Fs),null:ao(Fs),atom:ao(Fs),unit:ao(Fs),modifier:ao(Fs),operatorKeyword:ao(Fs),controlKeyword:ao(Fs),definitionKeyword:ao(Fs),operator:Us,derefOperator:ao(Us),arithmeticOperator:ao(Us),logicOperator:ao(Us),bitwiseOperator:ao(Us),compareOperator:ao(Us),updateOperator:ao(Us),definitionOperator:ao(Us),typeOperator:ao(Us),controlOperator:ao(Us),punctuation:ps,separator:ao(ps),bracket:ro,angleBracket:ao(ro),squareBracket:ao(ro),paren:ao(ro),brace:ao(ro),content:ve,heading:me,heading1:ao(me),heading2:ao(me),heading3:ao(me),heading4:ao(me),heading5:ao(me),heading6:ao(me),contentSeparator:ao(ve),list:ao(ve),quote:ao(ve),emphasis:ao(ve),strong:ao(ve),link:ao(ve),monospace:ao(ve),strikethrough:ao(ve),inserted:ao(),deleted:ao(),changed:ao(),invalid:ao(),meta:Gs,documentMeta:ao(Gs),annotation:ao(Gs),processingInstruction:ao(Gs),definition:Vo.defineModifier(),constant:Vo.defineModifier(),function:Vo.defineModifier(),standard:Vo.defineModifier(),local:Vo.defineModifier(),special:Vo.defineModifier()},Ko=Go.define([{tag:Jo.link,class:"cmt-link"},{tag:Jo.heading,class:"cmt-heading"},{tag:Jo.emphasis,class:"cmt-emphasis"},{tag:Jo.strong,class:"cmt-strong"},{tag:Jo.keyword,class:"cmt-keyword"},{tag:Jo.atom,class:"cmt-atom"},{tag:Jo.bool,class:"cmt-bool"},{tag:Jo.url,class:"cmt-url"},{tag:Jo.labelName,class:"cmt-labelName"},{tag:Jo.inserted,class:"cmt-inserted"},{tag:Jo.deleted,class:"cmt-deleted"},{tag:Jo.literal,class:"cmt-literal"},{tag:Jo.string,class:"cmt-string"},{tag:Jo.number,class:"cmt-number"},{tag:[Jo.regexp,Jo.escape,Jo.special(Jo.string)],class:"cmt-string2"},{tag:Jo.variableName,class:"cmt-variableName"},{tag:Jo.local(Jo.variableName),class:"cmt-variableName cmt-local"},{tag:Jo.definition(Jo.variableName),class:"cmt-variableName cmt-definition"},{tag:Jo.special(Jo.variableName),class:"cmt-variableName2"},{tag:Jo.typeName,class:"cmt-typeName"},{tag:Jo.namespace,class:"cmt-namespace"},{tag:Jo.macroName,class:"cmt-macroName"},{tag:Jo.propertyName,class:"cmt-propertyName"},{tag:Jo.operator,class:"cmt-operator"},{tag:Jo.comment,class:"cmt-comment"},{tag:Jo.meta,class:"cmt-meta"},{tag:Jo.invalid,class:"cmt-invalid"},{tag:Jo.punctuation,class:"cmt-punctuation"}]);class ta{constructor(t,e,i,n,r,s,o){this.type=t,this.value=e,this.from=i,this.hash=n,this.end=r,this.children=s,this.positions=o}static create(t,e,i,n,r){n=n+(n<<8)+t+(e<<4)|0;return new ta(t,e,i,n,r,[],[])}toTree(t,e=this.end){var i=this.children.length-1;0<=i&&(e=Math.max(e,this.positions[i]+this.children[i].length+this.from));e=new br(t.types[this.type],this.children,this.positions,e-this.from).balance(2048);return function t(e,i){for(var n of e)Ja.set(n,i),n instanceof br&&n.type.isAnonymous&&t(n.children,i)}(e.children,this.hash),e}copy(){return new ta(this.type,this.value,this.from,this.hash,this.end,this.children.slice(),this.positions.slice())}}(Fs=Fo=Fo||{})[Fs.Document=1]="Document",Fs[Fs.CodeBlock=2]="CodeBlock",Fs[Fs.FencedCode=3]="FencedCode",Fs[Fs.Blockquote=4]="Blockquote",Fs[Fs.HorizontalRule=5]="HorizontalRule",Fs[Fs.BulletList=6]="BulletList",Fs[Fs.OrderedList=7]="OrderedList",Fs[Fs.ListItem=8]="ListItem",Fs[Fs.ATXHeading1=9]="ATXHeading1",Fs[Fs.ATXHeading2=10]="ATXHeading2",Fs[Fs.ATXHeading3=11]="ATXHeading3",Fs[Fs.ATXHeading4=12]="ATXHeading4",Fs[Fs.ATXHeading5=13]="ATXHeading5",Fs[Fs.ATXHeading6=14]="ATXHeading6",Fs[Fs.SetextHeading1=15]="SetextHeading1",Fs[Fs.SetextHeading2=16]="SetextHeading2",Fs[Fs.HTMLBlock=17]="HTMLBlock",Fs[Fs.LinkReference=18]="LinkReference",Fs[Fs.Paragraph=19]="Paragraph",Fs[Fs.CommentBlock=20]="CommentBlock",Fs[Fs.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",Fs[Fs.Escape=22]="Escape",Fs[Fs.Entity=23]="Entity",Fs[Fs.HardBreak=24]="HardBreak",Fs[Fs.Emphasis=25]="Emphasis",Fs[Fs.StrongEmphasis=26]="StrongEmphasis",Fs[Fs.Link=27]="Link",Fs[Fs.Image=28]="Image",Fs[Fs.InlineCode=29]="InlineCode",Fs[Fs.HTMLTag=30]="HTMLTag",Fs[Fs.Comment=31]="Comment",Fs[Fs.ProcessingInstruction=32]="ProcessingInstruction",Fs[Fs.URL=33]="URL",Fs[Fs.HeaderMark=34]="HeaderMark",Fs[Fs.QuoteMark=35]="QuoteMark",Fs[Fs.ListMark=36]="ListMark",Fs[Fs.LinkMark=37]="LinkMark",Fs[Fs.EmphasisMark=38]="EmphasisMark",Fs[Fs.CodeMark=39]="CodeMark",Fs[Fs.CodeInfo=40]="CodeInfo",Fs[Fs.LinkTitle=41]="LinkTitle",Fs[Fs.LinkLabel=42]="LinkLabel";class ea{constructor(t,e){this.start=t,this.content=e,this.marks=[],this.parsers=[]}}class ia{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){var t=this.skipSpace(this.basePos);this.indent=this.countIndent(t,this.pos,this.indent),this.pos=t,this.next=t==this.text.length?-1:this.text.charCodeAt(t)}skipSpace(t){return oa(this.text,t)}reset(t){for(this.text=t,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(t){this.basePos=t,this.baseIndent=this.countIndent(t,this.pos,this.indent)}moveBaseColumn(t){this.baseIndent=t,this.basePos=this.findColumn(t)}addMarker(t){this.markers.push(t)}countIndent(e,i=0,n=0){for(let t=i;t=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;var n=(t.type==Fo.OrderedList?ua:da)(i,e,!1);return 0t.pos+9||46!=r&&41!=r||nt.pos+1||49!=t.next)?-1:n+1-t.pos}function fa(t){if(35!=t.next)return-1;let e=t.pos+1;for(;e=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,va=/\?>/,Qa=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(r);if(t)return e.append(Va(Fo.Comment,n,n+1+t[0].length));t=/^\?[^]*?\?>/.exec(r);if(t)return e.append(Va(Fo.ProcessingInstruction,n,n+1+t[0].length));r=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);if(!r)return-1;let s=[];if(e.parser.htmlParser){let t=e.parser.htmlParser.startParse(zr(e.slice(n,n+1+r[0].length)),0,{}),i;for(;!(i=t.advance()););s=i.children.map((t,e)=>new qa(t,n+i.positions[e]))}return e.append(Va(Fo.HTMLTag,n,n+1+r[0].length,s))},Emphasis(t,e,i){if(95!=e&&42!=e)return-1;let n=i+1;for(;t.char(n)==e;)n++;var r=t.slice(i-1,i),s=t.slice(n,n+1),o=Ha.test(r),a=Ha.test(s),l=/\s|^$/.test(r),r=/\s|^$/.test(s),s=!r&&(!a||l||o),r=!l&&(!o||r||a),o=s&&(42==e||!r||o),a=r&&(42==e||!s||a);return t.append(new Da(95==e?Ya:Ma,i,n,(o?1:0)|(a?2:0)))},HardBreak(e,t,i){if(92==t&&10==e.char(i+1))return e.append(Va(Fo.HardBreak,i,i+2));if(32==t){let t=i+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=i+2)return e.append(Va(Fo.HardBreak,i,t+1))}return-1},Link(t,e,i){return 91==e?t.append(new Da(Za,i,i+1,1)):-1},Image(t,e,i){return 33==e&&91==t.char(i+1)?t.append(new Da(Ea,i,i+2,1)):-1},LinkEnd(i,t,e){if(93!=t)return-1;for(let t=i.parts.length-1;0<=t;t--){var n=i.parts[t];if(n instanceof Da&&(n.type==Za||n.type==Ea)){if(!n.side||i.skipSpace(n.to)==e&&!/[(\[]/.test(i.slice(e+1,e+2)))return i.parts[t]=null,-1;var r=i.takeContent(t),r=i.parts[t]=function(n,r,t,e,s){let{text:o}=n,i=n.char(s),a=s;if(r.unshift(Va(Fo.LinkMark,e,e+(t==Fo.Image?2:1))),r.push(Va(Fo.LinkMark,s-1,s)),40==i){let t=n.skipSpace(s+1),e=Ga(o,t-n.offset,n.offset),i;e&&(t=n.skipSpace(e.to),i=Ba(o,t-n.offset,n.offset),i&&(t=n.skipSpace(i.to))),41==n.char(t)&&(r.push(Va(Fo.LinkMark,s,s+1)),a=t+1,e&&r.push(e),i&&r.push(i),r.push(Va(Fo.LinkMark,t,a)))}else 91!=i||(n=Na(o,s-n.offset,n.offset,!1))&&(r.push(n),a=n.to);return Va(t,e,a,r)}(i,r,n.type==Za?Fo.Link:Fo.Image,n.from,e+1);if(n.type==Za)for(let e=0;er?Va(Fo.URL,r+s,i+s):i==n.length&&null}}function Ba(i,n,r){var t=i.charCodeAt(n);if(39!=t&&34!=t&&40!=t)return!1;var s=40==t?41:t;for(let t=n+1,e=!1;t=this.end?-1:this.text.charCodeAt(t-this.offset)}get end(){return this.offset+this.text.length}slice(t,e){return this.text.slice(t-this.offset,e-this.offset)}append(t){return this.parts.push(t),t.to}addDelimiter(t,e,i,n,r){return this.append(new Da(t,e,i,(n?1:0)|(r?2:0)))}addElement(t){return this.append(t)}resolveMarkers(e){for(let o=e;o=e;s--){var t=this.parts[s];if(t instanceof Da&&1&t.side&&t.type==a.type&&!(l&&(1&a.side||2&t.side)&&(t.to-t.from+h)%3==0&&((t.to-t.from)%3||h%3))){r=t;break}}if(r){let t=a.type.resolve,e=[],i=r.from,n=a.to;l&&(c=Math.min(2,r.to-r.from,h),i=r.to-c,n=a.from+c,t=1==c?"Emphasis":"StrongEmphasis"),r.type.mark&&e.push(this.elt(r.type.mark,i,r.to));for(let t=s+1;t(t?t-1:0))return!1;if(this.fragmentEnd<0){let t=this.fragment.to;for(;0=n)return this.fragment.from<=e;if(!i.childAfter(n))return!1}}matches(t){var e=this.cursor.tree;return e&&Ja.get(e)==t}takeNodes(t){let e=this.cursor,i=this.fragment.offset,n=t.lineStart,r=n,s=t.block.children.length,o=r,a=s;for(;;){if(e.to-i>=this.fragmentEnd){if(e.type.isAnonymous&&e.firstChild())continue;break}if(t.addNode(e.tree,e.from-i),e.type.is("Block")&&(Ka.indexOf(e.type.id)<0?(r=e.to-i,s=t.block.children.length):(r=o,s=a,o=e.to-i,a=t.block.children.length)),!e.nextSibling())break}for(;t.block.children.length>s;)t.block.children.pop(),t.block.positions.pop();return r-n}}const el=new Wa(new yr(_a),null,null,Object.keys(ya).map(t=>ya[t]),Object.keys(ya).map(t=>Sa[t]),Object.keys(ya),Us,ra,Object.keys(Ia).map(t=>Ia[t]),Object.keys(Ia)),il={resolve:"Strikethrough",mark:"StrikethroughMark"};function nl(e,i,n=0,r,s=0){let o=0,a=!0,l=-1,h=-1,c=!1;var O=()=>{r.push(e.elt("TableCell",s+l,s+h,e.parser.parseInline(i.slice(l,h),s+l)))};for(let t=n;t{if(t!=s||e.char(i+1)==s)return-1;let n=[e.elt(a,i,i+1)];for(let t=i+1;te%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,i=0){var n=t.parser.context;return new al(t,[],e,i,i,0,[],0,n?new ll(n,n.start):null,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var e=t>>19,i=65535&t;let{parser:n}=this.p;var r=n.dynamicPrecedence(i);if(r&&(this.score+=r),0==e)return is;)this.stack.pop();this.reduceContext(i)}storeNode(e,i,n,r=4,t=!1){if(0==e){let t=this,e=this.buffer.length;if(0==e&&t.parent&&(e=t.bufferBase-t.parent.bufferBase,t=t.parent),0=i)return void(t.buffer[e-2]=n)}}if(t&&this.pos!=n){let t=this.buffer.length;if(0n;)this.buffer[t]=this.buffer[t-4],this.buffer[t+1]=this.buffer[t-3],this.buffer[t+2]=this.buffer[t-2],this.buffer[t+3]=this.buffer[t-1],t-=4,4this.pos||r<=i.maxNode)&&(this.pos=s,i.stateFlag(e,1)||(this.reducePos=s)),this.pushState(e,t),r<=i.maxNode&&this.buffer.push(r,t,s,4),this.shiftContext(r)}else r<=this.p.parser.maxNode&&this.buffer.push(r,this.pos,s,4),this.pos=s}apply(t,e,i){65536&t?this.reduce(t):this.shift(t,e,i)}useNode(t,e){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=t)&&(this.p.reused.push(t),i++);var n=this.pos;this.reducePos=this.pos=n+t.length,this.pushState(e,n),this.buffer.push(i,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this.p.input,this))}split(){let t=this,e=t.buffer.length;for(;0t.reducePos;)e-=4;for(var i=t.buffer.slice(e),n=t.bufferBase+e;t&&n==t.bufferBase;)t=t.parent;return new al(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,this.curContext,t)}recoverByDelete(t,e){var i=t<=this.p.parser.maxNode;i&&this.storeNode(t,this.pos,e),this.storeNode(0,this.pos,e,i?8:4),this.pos=this.reducePos=e,this.score-=200}canShift(e){for(let t=new hl(this);;){var i=this.p.parser.stateSlot(t.top,4)||this.p.parser.hasAction(t.top,e);if(0==(65536&i))return!0;if(0==i)return!1;t.reduce(i)}}get ruleStart(){for(let t=this.state,e=this.stack.length;;){var i=this.p.parser.stateSlot(t,5);if(!(65536&i))return 0;if(e-=3*(i>>19),(65535&i)>19,a=65535&s;if(-1>19),s=this.stack[1+s];if(null==e||s1&e&&t==i)||n.push(r[t],i)}r=n}let n=[];for(let e=0;e>19;0==t?(this.rest==this.stack.stack&&(this.rest=this.rest.slice()),this.rest.push(this.top,0,0),this.offset+=3):this.offset-=3*(t-1);e=this.stack.p.parser.getGoto(this.rest[this.offset-3],e,!0);this.top=e}}class cl{constructor(t,e,i){this.stack=t,this.pos=e,this.index=i,this.buffer=t.buffer,0==this.index&&this.maybeNext()}static create(t){return new cl(t,t.bufferBase+t.buffer.length,t.buffer.length)}maybeNext(){var t=this.stack.parent;null!=t&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new cl(this.stack,this.pos,this.index)}}class Ol{constructor(){this.start=-1,this.value=-1,this.end=-1}accept(t,e){this.value=t,this.end=e}}class dl{constructor(t,e){this.data=t,this.id=e}token(t,e,i){!function(i,t,n,r,e){let s=0,o=1<>1,d=l+O+(O<<1),u=i[d],f=i[d+1];if(ce)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-5)):Math.min(t.length,Math.max(n.from+1,e+5));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class vl{constructor(t){this.fragments=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){var t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?gl(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?gl(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t=this.safeFrom?r:null;r instanceof kr?(this.index[e]++,this.nextStart=n+r.length):(this.index[e]++,n+r.length>=t&&(this.trees.push(r),this.start.push(n),this.index.push(0)))}else this.trees.pop(),this.start.pop(),this.index.pop()}}}class Ql extends Ol{constructor(){super(...arguments),this.extended=-1,this.mask=0,this.context=0}clear(t){this.start=t,this.value=this.extended=-1}}const wl=new Ol;class $l{constructor(t){this.tokens=[],this.mainToken=wl,this.actions=[],this.tokens=t.tokenizers.map(t=>new Ql)}getActions(n,r){let s=0,o=null,{parser:t}=n.p,{tokenizers:a}=t;var l=t.stateSlot(n.state,3),h=n.curContext?n.curContext.hash:0;for(let i=0;ic))break}}for(;this.actions.length>s;)this.actions.pop();return o||(o=wl,o.start=n.pos,n.pos==r.length?o.accept(n.p.parser.eofTerm,n.pos):o.accept(0,n.pos+1)),this.mainToken=o,this.actions}updateCachedToken(i,t,n,r){if(i.clear(n.pos),t.token(r,i,n),-1>1)){0==(1&s)?i.value=s>>1:i.extended=s>>1;break}}}else n.pos==r.length?i.accept(n.p.parser.eofTerm,n.pos):i.accept(0,n.pos+1)}putAction(e,t,i,n){for(let t=0;ti)n.push(a);else if(l=this.checkNest(a))(!o||o.stack.scoreh)for(n.sort((t,e)=>e.score-t.score);n.length>h;)n.pop();n.some(t=>t.reducePos>i)&&this.recovering--}else if(1 ":"";if(this.fragments){var e=i.curContext&&i.curContext.tracker.strict,l=e?i.curContext.hash:0;for(let t=this.fragments.nodeAt(s);t;){var h=this.parser.nodeSet.types[t.type.id]==t.type?o.getGoto(i.state,t.type.id):-1;if(-1s?n:r).push(t)}return!1}advanceFully(t,e){for(var i=t.pos;;){var n=this.checkNest(t);if(n)return n;if(!this.advanceStack(t,null,null))return!1;if(t.pos>i)return bl(t,e),!0}}runRecovery(o,a,l){let h=null,c=!1,O;for(let s=0;s ":"";if(t.deadEnd){if(c)continue;c=!0,t.restart(),pl&&console.log(u+this.stackID(t)+" (restarted)");var f=this.advanceFully(t,l);if(f){!0!==f&&(O=f);continue}}let n=t.split(),r=u;for(let t=0;n.forceReduce()&&t<10;t++){pl&&console.log(r+this.stackID(n)+" (via force-reduce)");var p=this.advanceFully(n,l);if(p){!0!==p&&(O=p);break}pl&&(r=this.stackID(n)+" -> ")}for(d of t.recoverByInsert(e))pl&&console.log(u+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,l);this.input.length>t.pos?(i==t.pos&&(i++,e=0),t.recoverByDelete(e,i),pl&&console.log(u+this.stackID(t)+` (via recover-delete ${this.parser.getName(e)})`),bl(t,l)):(!h||h.scoreO.stack.score){O=void 0;break}return O&&this.startNested(O),null}forceFinish(){let t=this.stacks[0].split();return this.nested&&this.finishNested(t,this.nested.forceFinish()),this.stackToTree(t.forceAll())}stackToTree(t,e=t.pos){return this.parser.context&&t.emitContext(),br.build({buffer:cl.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.startPos,length:e-this.startPos,minRepeatType:this.parser.minRepeatTerm})}checkNest(t){var e=this.parser.findNested(t.state);if(!e)return null;let i=e.value;return"function"==typeof i&&(i=i(this.input,t)),i?{stack:t,info:e,spec:i}:null}startNested(t){let{stack:e,info:i,spec:n}=t;this.stacks=[e],this.nestEnd=this.scanForNestEnd(e,i.end,n.filterEnd),this.nestWrap="number"==typeof n.wrapType?this.parser.nodeSet.types[n.wrapType]:n.wrapType||null,n.startParse?this.nested=n.startParse(this.input.clip(this.nestEnd),e.pos,this.context):this.finishNested(e)}scanForNestEnd(e,i,n){for(let t=e.pos;tt;class Sl{constructor(i){if(this.bufferLength=1024,this.strict=!1,this.cachedDialect=null,13!=i.version)throw new RangeError(`Parser version (${i.version}) doesn't match runtime version (13)`);let e=fl(i.tokenData),n=i.nodeNames.split(" ");this.minRepeatTerm=n.length,this.context=i.context;for(let t=0;ti.topRules[t][1]);this.nodeSet=new yr(n.map((t,e)=>$r.define({name:e>=this.minRepeatTerm?void 0:t,id:e,props:r[e],top:-1"number"==typeof t?new dl(e,t):t),this.topRules=i.topRules,this.nested=(i.nested||[]).map(([t,e,i,n])=>({name:t,value:e,end:new dl(fl(i),0),placeholder:n})),this.dialects=i.dialects||{},this.dynamicPrecedences=i.dynamicPrecedences||null,this.tokenPrecTable=i.tokenPrec,this.termNames=i.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}parse(t,e=0,i={}){"string"==typeof t&&(t=zr(t));let n=new yl(this,t,e,i);for(;;){var r=n.advance();if(r)return r}}startParse(t,e=0,i={}){return"string"==typeof t&&(t=zr(t)),new yl(this,t,e,i)}getGoto(e,i,n=!1){var r=this.goto;if(i>=r[0])return-1;for(let t=r[i+1];;){var s=r[t++],o=1&s,a=r[t++];if(o&&n)return a;for(var l=t+(s>>1);t>10]:null}validAction(e,i){if(i==this.stateSlot(e,4))return!0;for(let t=this.stateSlot(e,1);;t+=3){if(65535==this.data[t]){if(1!=this.data[t+1])return!1;t=Pl(this.data,t+2)}if(i==Pl(this.data,t+1))return!0}}nextStates(e){let n=[];for(let t=this.stateSlot(e,1);;t+=3){if(65535==this.data[t]){if(1!=this.data[t+1])break;t=Pl(this.data,t+2)}if(0==(1&this.data[t+2])){let i=this.data[t+1];n.some((t,e)=>1&e&&t==i)||n.push(this.data[t],i)}}return n}overrides(t,e){e=Tl(this.data,this.tokenPrecTable,e);return e<0||Tl(this.data,this.tokenPrecTable,t){var t=i.tokenizers.find(t=>t.from==e);return t?t.to:e})),i.dialect&&(t.dialect=this.parseDialect(i.dialect)),i.nested&&(t.nested=this.nested.map(t=>Object.prototype.hasOwnProperty.call(i.nested,t.name)?{name:t.name,value:i.nested[t.name],end:t.end,placeholder:t.placeholder}:t)),null!=i.strict&&(t.strict=i.strict),null!=i.bufferLength&&(t.bufferLength=i.bufferLength),t}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get hasNested(){return 0!1);if(t)for(var i of t.split(" ")){i=n.indexOf(i);0<=i&&(e[i]=!0)}let r=null;for(let i=0;i{let n=e.start,r=t.get(n),s;if(r<0&&i.context&&e.accept(33,e.start),60==r){n++,(s=47==t.get(n))&&n++;var o=zl(t,n);if(void 0!==o){if(!o)return e.accept(s?4:1,n);t=i.context?i.context.name:null;if(s){if(o==t)return e.accept(2,n);if(t&&Rl[t])return e.accept(33,e.start);if(i.dialectEnabled(0))return e.accept(2,n);for(let t=i.context;t;t=t.parent)if(t.name==o)return;e.accept(3,n)}else t&&_l[t]&&_l[t][o]?e.accept(33,e.start):e.accept(1,n)}}}),Us=new ul((t,e,i)=>{let n=t.get(e.start),r=e.start+1;if(47==n){if(62!=t.get(r))return;r++}else if(62!=n)return;i.context&&Xl[i.context.name]&&e.accept(5,r)}),ve=new ul((t,e)=>{let i=e.start,n=0;for(;;){var r=t.get(i);if(r<0)break;if(i++,r=="--\x3e".charCodeAt(n)){if(n++,3==n){i-=3;break}}else n=0}i>e.start&&e.accept(34,i)});const Vl=/^<\/?\s*([\.\-\:\w\xa1-\uffff]+)/;function Yl(t){let e=Vl.exec(t);return e?e[1].toLowerCase():null}function Ml(e){return t=>Yl(t)==e}function Zl(t){let a=null;for(var e of t)a=a||Object.create(null),(a[e.tag]||(a[e.tag]=[])).push({attrs:e.attrs,value:{filterEnd:Ml(e.tag),startParse:e.parser.startParse.bind(e.parser)}});return function(t,e){var i=t.read(e.ruleStart,e.pos);let n=Yl(i),r,s;if(!n)return null;if(a&&(r=a[n]))for(var o of r)if(!o.attrs||o.attrs(s=s||function(i){let n=Vl.exec(i),r={};if(n){let t=/\s*([\.\-\:\w\xa1-\uffff]+)\s*(?:=\s*(?:"([^"]*)"|'([^']*)'|([^\s=<>"'/]+)))?/g,e;for(t.lastIndex=n.index+n[0].length;e=t.exec(i);)r[e[1]]=e[4]||e[3]||e[2]||e[1]}return r}(i)))return o.value;return"script"==n||"textarea"==n||"style"==n?{filterEnd:Ml(n),wrapType:Wl}:null}}ao=Zl([]);function El(t){return{elementContent:Zl(t)}}Gs=Sl.deserialize({version:13,states:"'OOVOXOOOtQ`O'#CgS!eOXO'#CfOOOP'#Cf'#CfO!oOdO'#CqO!wQ`O'#CsOOOP'#DR'#DROOOP'#Cv'#CvQVOXOOO!|QrO,59ROOOP'#Cz'#CzO#XOXO'#DWO#cOPO,59QOOOS'#C{'#C{O#kOdO,59]OOOP,59],59]O#sQ`O,59_OOOP-E6t-E6tO#xQrO'#CiOOQQ'#Cw'#CwO$WQrO1G.mOOOP1G.m1G.mOOOP1G.v1G.vOOOP-E6x-E6xO$cQ`O'#CoOOOP1G.l1G.lOOOS-E6y-E6yOOOP1G.w1G.wOOOP1G.y1G.yO$hQ!bO,59TOOQQ-E6u-E6uOOOP7+$X7+$XOOOP7+$b7+$bO$sQ`O,59ZO$xO#tO'#ClO%WO&jO'#ClOOQQ1G.o1G.oOOOP1G.u1G.uOOOO'#Cx'#CxO%fO#tO,59WOOQQ,59W,59WOOOO'#Cy'#CyO%tO&jO,59WOOOO-E6v-E6vOOQQ1G.r1G.rOOOO-E6w-E6w",stateData:"&X~OtOS~OPPORTOSUOVUOWUOXUOfUOhVO{SO~O[XO~OPPORTOSUOVUOWUOXUOfUO{SO~OQzPqzP~PyOr]O|_O~O[`O~OTfO^bObeO~OQzXqzX~PyOQhOqiO~Or]O|kO~OblO~O_mOT]X^]Xb]X~OTpO^bOboO~O[qO~OatOvrOxsO~ObuO~OWvOXvOvxOwvO~OWyOXyOxxOyyO~OWvOXvOv|OwvO~OWyOXyOx|OyyO~O{fhf~",goto:"#k{PPPPPPPPPP|!SP!YPP!^PP!a!d|P|PP!j!p!v!|#S#YPPPPP#`PPPP#hXUOQWZXQOQWZTcXdRtmRi[XROQWZQWORaWQdXRndQwrR{wQzsR}zQZQRgZQ^SRj^SVOWTYQZR[Q",nodeNames:"⚠ StartTag StartCloseTag StartCloseTag IncompleteCloseTag SelfCloseEndTag Document Text EntityReference CharacterReference Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl RawText",maxTerm:44,context:Gs,nodeProps:[[Qr.closedBy,-2,1,2,"EndTag SelfCloseEndTag",11,"CloseTag"],[Qr.openedBy,5,"StartTag",18,"StartTag StartCloseTag",19,"OpenTag"]],skippedNodes:[0,25],repeatNodeCount:6,tokenData:"!#`!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2wx}$k}!O3d!O!P$k!P!Q7]!Q![$k![!]8s!]!^$k!^!_>`!_!`!!n!`!a8R!a!c$k!c!}8s!}#R$k#R#S8s#S#T$k#T#o8s#o$f$k$f$g&R$g%W$k%W%o8s%o%p$k%p&a8s&a&b$k&b1p8s1p4U$k4U4d8s4d4e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bLy!b~LmPL|RO!`Lm!`!aMV!a~LmPM[OfPqMaTypOvLXvxLmx!`LX!`!aMp!a~LXqMwQypfPOv'gx~'gaNSVw`OrM}rsLmsvM}vwLmw!aM}!a!bNi!b~M}aNnVw`OrM}rsLmsvM}vwLmw!`M}!`!a! T!a~M}a! [Rw`fPOr(]sv(]w~(]!R! lWw`ypOrKhrsLXsvKhvwLmwxM}x!`Kh!`!a!!U!a~Kh!R!!_Tw`ypfPOr(krs'gsv(kwx(]x~(k!V!!yV_SVPw`ypOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[Fs,Us,ve,0,1,2,3,4,5],topRules:{Document:[0,6]},nested:[["elementContent",ao,"%S~RP!^!_U~XP!P!Q[~_dXY[YZ[]^[pq[![!]!m!c!}!m#R#S!m#T#o!m%W%o!m%p&a!m&b1p!m4U4d!m4e$IS!m$I`$Ib!m$Kh%#t!m&/x&Et!m&FV;'S!m;'S;:j$|?&r?Ah!m?BY?Mn!m~!pkXY$eYZ$e]^$epq$e}!O!m!O!P!m!Q![!m![!]!m!`!a$w!c!}!m#R#S!m#T#o!m$}%O!m%W%o!m%p&a!m&b1p!m1p4U!m4U4d!m4e$IS!m$I`$Ib!m$Je$Jg!m$Kh%#t!m&/x&Et!m&FV;'S!m;'S;:j$|?&r?Ah!m?BY?Mn!m~$hTXY$eYZ$e]^$epq$e!`!a$w~$|Op~~%PP;=`<%l!m",42]],dialects:{noMatch:0},tokenPrec:234});const Dl=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function jl(t){return 65<=t&&t<=90||97<=t&&t<=122||161<=t}Fs=new ul((t,e)=>{let i=e.start,n=i,r=!1;for(;;){var s=t.get(n);if(!(jl(s)||45==s||95==s||r&&(48<=(o=s)&&o<=57))){r&&e.accept(40==s?93:94,n);break}!r&&(45!=s||n>i)&&(r=!0),n++}var o}),Us=new ul((t,e)=>{Dl.includes(t.get(e.start-1))&&(!jl(t=t.get(e.start))&&95!=t&&35!=t&&46!=t&&91!=t&&58!=t&&45!=t||e.accept(92,e.start))}),ve=new ul((e,i)=>{var{start:n}=i;if(!Dl.includes(e.get(n-1))){var t=e.get(n);if(37==t&&i.accept(1,n+1),jl(t)){let t=n+1;for(;jl(e.get(t));)t++;i.accept(1,t)}}});const Hl={__proto__:null,not:30,url:64,"url-prefix":64,domain:64,regexp:64,selector:132},Il={__proto__:null,"@import":112,"@media":136,"@charset":140,"@namespace":144,"@keyframes":150,"@supports":162},Gl={__proto__:null,not:126,only:126,from:156,to:158},Bl=Sl.deserialize({version:13,states:"7WOYQ[OOOOQP'#Cc'#CcOOQP'#Cb'#CbO!ZQ[O'#CeO!}QXO'#C`O#UQ[O'#CgO#aQ[O'#DOO#fQ[O'#DSOOQP'#Eb'#EbO#kQdO'#DdO$SQ[O'#DqO#kQdO'#DsO$eQ[O'#DuO$pQ[O'#DxO$uQ[O'#EOO%TQ[O'#EQOOQS'#Ea'#EaOOQS'#ER'#ERQYQ[OOOOQP'#Cf'#CfOOQP,59P,59PO!ZQ[O,59PO%[Q[O'#ESO%vQWO,58zO&OQ[O,59RO#aQ[O,59jO#fQ[O,59nO%[Q[O,59rO%[Q[O,59tO%[Q[O,59uO'[Q[O'#D_OOQS,58z,58zOOQP'#Cj'#CjOOQO'#Cp'#CpOOQP,59R,59RO'cQWO,59RO'hQWO,59ROOQP'#DQ'#DQOOQP,59j,59jOOQO'#DU'#DUO'mQ`O,59nOOQS'#Cr'#CrO#kQdO'#CsO'uQvO'#CuO(|QtO,5:OOOQO'#Cz'#CzO'hQWO'#CyO)bQWO'#C{OOQS'#Ef'#EfOOQO'#Dg'#DgO)gQ[O'#DnO)uQWO'#EhO$uQ[O'#DlO*TQWO'#DoOOQO'#Ei'#EiO%yQWO,5:]O*YQpO,5:_OOQS'#Dw'#DwO*bQWO,5:aO*gQ[O,5:aOOQO'#Dz'#DzO*oQWO,5:dO*tQWO,5:jO*|QWO,5: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%Q!c!}?U!}#T%Q#T#o?U#o~%QX@QQwPOy%Qz~%Q^@]QuUOy%Qz~%QX@fSOy%Qz#b%Q#b#c@r#c~%QX@wSqWOy%Qz#W%Q#W#XAT#X~%QXA[Q!_PqWOy%Qz~%QXAeSOy%Qz#f%Q#f#gAT#g~%QXAvQ!QPOy%Qz~%Q_BRQ!PVOy%Qz~%QZB^S!OPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[Us,ve,Fs,0,1,2,3],topRules:{StyleSheet:[0,3]},specialized:[{term:93,get:t=>Hl[t]||-1},{term:55,get:t=>Il[t]||-1},{term:94,get:t=>Gl[t]||-1}],tokenPrec:1060});let Nl=null;function Ul(){if(!Nl&&"object"==typeof document&&document.body){let t=[];for(var e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||t.push(e);Nl=t.sort().map(t=>({type:"property",label:t}))}return Nl||[]}const Fl=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map(t=>({type:"class",label:t})),Jl=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),Kl=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),th=/^[\w-]*/;const eh=Er.define({parser:Bl.configure({props:[os.add({Declaration:ds()}),us.add({Block:fs}),Zo({"import charset namespace keyframes":Jo.definitionKeyword,"media supports":Jo.controlKeyword,"from to":Jo.keyword,NamespaceName:Jo.namespace,KeyframeName:Jo.labelName,TagName:Jo.typeName,ClassName:Jo.className,PseudoClassName:Jo.constant(Jo.className),not:Jo.operatorKeyword,IdName:Jo.labelName,"FeatureName PropertyName AttributeName":Jo.propertyName,NumberLiteral:Jo.number,KeywordQuery:Jo.keyword,UnaryQueryOp:Jo.operatorKeyword,callee:Jo.keyword,"CallTag ValueName":Jo.atom,Callee:Jo.variableName,Unit:Jo.unit,"UniversalSelector NestingSelector":Jo.definitionOperator,AtKeyword:Jo.keyword,MatchOp:Jo.compareOperator,"ChildOp SiblingOp, LogicOp":Jo.logicOperator,BinOp:Jo.arithmeticOperator,Important:Jo.modifier,Comment:Jo.blockComment,ParenthesizedContent:Jo.special(Jo.name),ColorLiteral:Jo.color,StringLiteral:Jo.string,":":Jo.punctuation,"PseudoOp #":Jo.derefOperator,"; ,":Jo.separator,"( )":Jo.paren,"[ ]":Jo.squareBracket,"{ }":Jo.brace})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/}});eh.data.of({autocomplete:t=>{let{state:e,pos:i}=t,n=Dr(e).resolve(i,-1);if("PropertyName"==n.name)return{from:n.from,options:Ul(),span:th};if("ValueName"==n.name)return{from:n.from,options:Jl,span:th};if("PseudoClassName"==n.name)return{from:n.from,options:Fl,span:th};if("TagName"==n.name){for(let{parent:t}=n;t;t=t.parent)if("Block"==t.name)return{from:n.from,options:Ul(),span:th};return{from:n.from,options:Kl,span:th}}if(!t.explicit)return null;let r=n.resolve(i),s=r.childBefore(i);return s&&":"==s.name&&"PseudoClassSelector"==r.name?{from:i,options:Fl,span:th}:s&&":"==s.name&&"Declaration"==r.name||"ArgList"==r.name?{from:i,options:Jl,span:th}:"Block"==r.name?{from:i,options:Ul(),span:th}:null}});const ih=[10,13,8232,8233],nh=[9,11,12,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288];function rh(e,i){for(let t=i-1;0<=t;t--){var n=e.get(t);if(-1{var n=e.start,r=t.get(n);(125==r||-1==r||rh(t,n))&&i.canShift(273)&&e.accept(273,e.start)},{contextual:!0,fallback:!0}),Us=new ul((t,e,i)=>{var n=e.start,r=t.get(n++);if(!(-1{var n=e.start,r=t.get(n);43!=r&&45!=r||r!=t.get(n+1)||(i=!rh(t,e.start)&&i.canShift(1),e.accept(i?1:2,n+2))},{contextual:!0}),Fs=new ul((t,e)=>{let i=e.start,n=!1;for(;;){var r=t.get(i++);if(r<0){i-1>e.start&&e.accept(270,i-1);break}if(96==r){i==e.start+1?e.accept(272,i):e.accept(270,i-1);break}if(123==r&&n){i==e.start+2?e.accept(271,i):e.accept(270,i-2);break}if(10==r&&i>e.start+1){e.accept(270,i);break}92==r&&i!=t.length&&i++,n=36==r}});const sh={__proto__:null,export:16,as:21,from:25,default:30,async:35,function:36,this:46,true:54,false:54,void:58,typeof:62,null:76,super:78,new:112,await:129,yield:131,delete:132,class:142,extends:144,public:181,private:181,protected:181,readonly:183,in:202,instanceof:204,const:206,import:238,keyof:289,unique:293,infer:299,is:333,abstract:353,implements:355,type:357,let:360,var:362,interface:369,enum:373,namespace:379,module:381,declare:385,global:389,for:410,of:419,while:422,with:426,do:430,if:434,else:436,switch:440,case:446,try:452,catch:454,finally:456,return:460,throw:464,break:468,continue:472,debugger:476},oh={__proto__:null,async:99,get:101,set:103,public:151,private:151,protected:151,static:153,abstract:155,readonly:159,new:337},ah={__proto__:null,"<":119},lh=Sl.deserialize({version:13,states:"$,lO]QYOOO&zQ!LdO'#CgO'ROSO'#DRO)ZQYO'#DWO)kQYO'#DcO)rQYO'#DmO-iQYO'#DsOOQO'#ET'#ETO-|QWO'#ESO.RQWO'#ESO0QQ!LdO'#IgO2hQ!LdO'#IhO3UQWO'#EqO3ZQpO'#FWOOQ!LS'#Ey'#EyO3cO!bO'#EyO3qQWO'#F_O4{QWO'#F^OOQ!LS'#Ih'#IhOOQ!LQ'#Ig'#IgOOQQ'#JR'#JRO5QQWO'#HeO5VQ!LYO'#HfOOQQ'#I['#I[OOQQ'#Hg'#HgQ]QYOOO)rQYO'#DeO5_QWO'#GRO5dQ#tO'#ClO5rQWO'#ERO5}Q#tO'#ExO6iQWO'#GRO6nQWO'#GVO6yQWO'#GVO7XQWO'#GYO7XQWO'#GZO7XQWO'#G]O5_QWO'#G`O7xQWO'#GcO9WQWO'#CcO9hQWO'#GpO9pQWO'#GvO9pQWO'#GxO]QYO'#GzO9pQWO'#G|O9pQWO'#HPO9uQWO'#HVO9zQ!LZO'#HZO)rQYO'#H]O:VQ!LZO'#H_O:bQ!LZO'#HaO5VQ!LYO'#HcO)rQYO'#IjOOOS'#Hh'#HhO:mOSO,59mOOQ!LS,59m,59mO=OQbO'#CgO=YQYO'#HiO=gQWO'#IlO?fQbO'#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{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{cursor:"pointer",padding:"1px 1em 1px 3px",lineHeight:1.2},"& > li[aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"}}},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"300px"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ch{constructor(t,e,i,n){this.field=t,this.line=e,this.from=i,this.to=n}}class Oh{constructor(t,e,i){this.field=t,this.from=e,this.to=i}map(t){return new Oh(this.field,t.mapPos(this.from,-1),t.mapPos(this.to,1))}}class dh{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate(n,t){let e=[],r=[t];var s,i=n.doc.lineAt(t),o=/^\s*/.exec(i.text)[0];for(s of this.lines){if(e.length){let e=o,i=/^\t*/.exec(s)[0].length;for(let t=0;tnew Oh(t.field,r[t.line]+t.from,r[t.line]+t.to));return{text:e,ranges:i}}static parse(t){let r=[],s=[],o=[],a;for(var l of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(l);){let e=a[1]?+a[1]:null,i=a[2]||a[3],n=-1;for(let t=0;t=n&&h.field++}o.push(new ch(n,s.length,a.index,a.index+i.length)),l=l.slice(0,a.index)+i+l.slice(a.index+a[0].length)}s.push(l)}return new dh(s,o)}}let uh=Me.widget({widget:new class extends Ve{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),fh=Me.mark({class:"cm-snippetField"});class ph{constructor(t,e){this.ranges=t,this.active=e,this.deco=Me.set(t.map(t=>(t.from==t.to?uh:fh).range(t.from,t.to)))}map(e){return new ph(this.ranges.map(t=>t.map(e)),this.active)}selectionInsideField(t){return t.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}const mh=rt.define({map(t,e){return t&&t.map(e)}}),gh=rt.define(),vh=M.define({create(){return null},update(t,e){for(var i of e.effects){if(i.is(mh))return i.value;if(i.is(gh)&&t)return new ph(t.ranges,i.value)}return t=(t=t&&e.docChanged?t.map(e.changes):t)&&e.selection&&!t.selectionInsideField(e.selection)?null:t},provide:t=>ir.decorations.from(t,t=>t?t.deco:Me.none)});function Qh(t,e){return _.create(t.filter(t=>t.field==e).map(t=>_.range(t.from,t.to)))}function wh(s){return({state:t,dispatch:e})=>{let i=t.field(vh,!1);if(!i||s<0&&0==i.active)return!1;let n=i.active+s,r=0t.field==n+s);return e(t.update({selection:Qh(i.ranges,n),effects:mh.of(r?null:new ph(i.ranges,n))})),!0}}var $h,yh,bh;const xh=[{key:"Tab",run:wh(1),shift:wh(-1)},{key:"Escape",run:({state:t,dispatch:e})=>{return!!t.field(vh,!1)&&(e(t.update({effects:mh.of(null)})),!0)}}],kh=L.define({combine(t){return t.length?t[0]:xh}}),Sh=E.override(Or.compute([kh],t=>t.facet(kh)));function Ph(t,e){return Object.assign(Object.assign({},e),{apply:function(t){let a=dh.parse(t);return(i,t,e,n)=>{var{text:r,ranges:s}=a.instantiate(i.state,e);let o={changes:{from:e,to:n,insert:d.of(r)}};if(s.length&&(o.selection=Qh(s,0)),1t),Sh,Th,hh]))}i.dispatch(i.state.update(o))}}(t)})}const Th=ir.domEventHandlers({mousedown(t,e){let i=e.state.field(vh,!1),n;if(!i||null==(n=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;let r=i.ranges.find(t=>t.from<=n&&t.to>=n);return!(!r||r.field==i.active)&&(e.dispatch({selection:Qh(i.ranges,r.field),effects:mh.of(i.ranges.some(t=>t.field>r.field)?new ph(i.ranges,r.field):null)}),!0)}});Ph("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),Ph("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),Ph("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Ph("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"block",type:"keyword"}),Ph("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),Ph('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Ph('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"});const Wh=Er.define({parser:lh.configure({props:[os.add({IfStatement:ds({except:/^\s*({|else\b)/}),TryStatement:ds({except:/^\s*({|catch|finally)\b/}),LabeledStatement:t=>t.baseIndent,SwitchBody:t=>{var e=t.textAfter,i=/^\s*\}/.test(e),e=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:e?1:2)*t.unit},Block:([{closing:$h,align:yh=!0,units:bh=1}]=[{closing:"}"}],t=>Os(t,yh,bh,$h)),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>-1,"Statement Property":ds({except:/^{/}),JSXElement(t){var e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.state.doc.lineAt(t.node.from))+(e?0:t.unit)},JSXEscape(t){var e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.state.doc.lineAt(t.node.from))+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),us.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":fs,BlockComment(t){return{from:t.from+2,to:t.to-2}}}),Zo({"get set async static":Jo.modifier,"for while do if else switch try catch finally return throw break continue default case":Jo.controlKeyword,"in of await yield void typeof delete instanceof":Jo.operatorKeyword,"export import let var const function class extends":Jo.definitionKeyword,"with debugger from as new":Jo.keyword,TemplateString:Jo.special(Jo.string),Super:Jo.atom,BooleanLiteral:Jo.bool,this:Jo.self,null:Jo.null,Star:Jo.modifier,VariableName:Jo.variableName,"CallExpression/VariableName":Jo.function(Jo.variableName),VariableDefinition:Jo.definition(Jo.variableName),Label:Jo.labelName,PropertyName:Jo.propertyName,"CallExpression/MemberExpression/PropertyName":Jo.function(Jo.propertyName),"FunctionDeclaration/VariableDefinition":Jo.function(Jo.definition(Jo.variableName)),"ClassDeclaration/VariableDefinition":Jo.definition(Jo.className),PropertyNameDefinition:Jo.definition(Jo.propertyName),UpdateOp:Jo.updateOperator,LineComment:Jo.lineComment,BlockComment:Jo.blockComment,Number:Jo.number,String:Jo.string,ArithOp:Jo.arithmeticOperator,LogicOp:Jo.logicOperator,BitOp:Jo.bitwiseOperator,CompareOp:Jo.compareOperator,RegExp:Jo.regexp,Equals:Jo.definitionOperator,"Arrow : Spread":Jo.punctuation,"( )":Jo.paren,"[ ]":Jo.squareBracket,"{ }":Jo.brace,".":Jo.derefOperator,", ;":Jo.separator,TypeName:Jo.typeName,TypeDefinition:Jo.definition(Jo.typeName),"type enum interface implements namespace module declare":Jo.definitionKeyword,"abstract global privacy readonly":Jo.modifier,"is keyof unique infer":Jo.operatorKeyword,JSXAttributeValue:Jo.string,JSXText:Jo.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Jo.angleBracket,"JSXIdentifier JSXNameSpacedName":Jo.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Jo.propertyName})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}});Wh.configure({dialect:"ts"}),Wh.configure({dialect:"jsx"}),Wh.configure({dialect:"jsx ts"});Gs=Er.define({parser:Gs.configure({props:[os.add({Element(t){var e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.state.doc.lineAt(t.node.from))+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length{if(t.is("Block")&&!t.is("Document"))return(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})}),os.add({Document:()=>null}),Vr.add({Document:Xh})],htmlParser:Gs.parser.configure({dialect:"noMatch"})});const Rh=Ch(Gs),_h=Ch(Gs.configure([ps,me,ro,{defineNodes:["Emoji"],parseInline:[{name:"Emoji",parse(t,e,i){let n;return 58==e&&(n=/^[a-zA-Z_0-9]+:/.exec(t.slice(i+1,t.end)))?t.addElement(t.elt("Emoji",i,i+1+n[0].length)):-1}}]},{props:[Zo({"TableDelimiter SubscriptMark SuperscriptMark StrikethroughMark":Jo.processingInstruction,"TableHeader/...":Jo.heading,"Strikethrough/...":Jo.strikethrough,TaskMarker:Jo.atom,Task:Jo.list,Emoji:Jo.character,"Subscript Superscript":Jo.special(Jo.content),TableCell:Jo.content})]}]));function Ch(t){return new Mr(Xh,t,t.nodeSet.types.find(t=>"Document"==t.name))}function Ah(t,e){return e.sliceString(t.from,t.from+50)}function Lh(e,n,r){let s=[];for(let t=e;t&&"Document"!=t.name;t=t.parent)"ListItem"!=t.name&&"Blockquote"!=t.name||s.push(t);let o=[],a=0;for(let i=s.length-1;0<=i;i--){let t=s[i],e;var l;"Blockquote"==t.name&&(e=/^\s*> ?/.exec(n.slice(a)))?(o.push({from:a,string:e[0],node:t}),a+=e[0].length):"ListItem"==t.name&&"OrderedList"==t.parent.name&&(e=/^\s*\d+([.)])\s*/.exec(Ah(t,r)))?(l=4<=e[1].length?e[0].length-e[1].length+1:e[0].length,o.push({from:a,string:n.slice(a,a+l).replace(/\S/g," "),node:t}),a+=l):"ListItem"==t.name&&"BulletList"==t.parent.name&&(e=/^\s*[-+*] (\s*)/.exec(Ah(t,r)))&&(l=4<=e[1].length?e[0].length-e[1].length:e[0].length,o.push({from:a,string:n.slice(a,a+l).replace(/\S/g," "),node:t}),a+=l)}return o}const zh=[{key:"Enter",run:({state:l,dispatch:t})=>{let i=Dr(l),e=null,n=l.changeByRange(o=>{if(o.empty&&_h.isActiveAt(l,o.from)){let n=l.doc.lineAt(o.from),t=Lh(i.resolve(o.from,-1),n.text,l.doc),r=o.from,s=[];if(t.length){let e=t[t.length-1],i=e.from+e.string.length;var a=o.from-n.from>=i&&!/\S/.test(n.text.slice(i,o.from-n.from));if(a){let t=/List/.test(e.node.name)?e.from:i;for(;0]/.test(l.doc.lineAt(n.from-1).text))return{range:_.cursor(r),changes:{from:r,to:o.from}};r=n.from?e.string=n.text.slice(e.from,e.from+e.string.length):e.string=/^\s*/.exec(n.text)[0].slice(0,e.string.length),"OrderedList"==e.node.parent.name&&r==o.from&&(e.string=e.string.replace(/\d+/,t=>+t+1),function(i,n,r){for(let t=-1,e=i;;){if("ListItem"==e.name){var s=/^(\s*)(\d+)(?=[.)])/.exec(n.sliceString(e.from,e.from+10));if(!s)return;var o=+s[2];if(0<=t){if(o!=t+1)return;r.push({from:e.from+s[1].length,to:e.from+s[0].length,insert:String(t+2)})}t=o}o=e.nextSibling;if(!o)break;e=o}}(e.node,l.doc,s)))}}let e=t.map(t=>t.string).join("");return o.from-n.from{let o=Dr(s),a=null,e=s.changeByRange(e=>{if(e.empty&&_h.isActiveAt(s,e.from)){let t=s.doc.lineAt(e.from);var i=Lh(o.resolve(e.from,-1),t.text,s.doc);if(i.length){var n=i[i.length-1],r=n.from+n.string.length;if(e.from>r+t.from&&!/\S/.test(t.text.slice(r,e.from-t.from)))return{range:_.cursor(r+t.from),changes:{from:r+t.from,to:e.from}};if(e.from-t.from==r){i=t.from+n.from;return"ListItem"==n.node.name&&n.node.parent.from'},{type:"redo",title:"重做",innerHTML:''},{type:"bold",title:"加粗",innerHTML:''},{type:"italic",title:"倾斜",innerHTML:''},{type:"delete",title:"删除",innerHTML:''},{type:"code-inline",title:"行内代码",innerHTML:''},{type:"hr",title:"横线",innerHTML:''},{type:"quote",title:"引用",innerHTML:''},{type:"title",title:"标题",innerHTML:''},{type:"ordered-list",title:"有序列表",innerHTML:''},{type:"unordered-list",title:"无序列表",innerHTML:''},{type:"link",title:"超链接",innerHTML:''},{type:"image",title:"插入图片",innerHTML:''},{type:"table",title:"表格",innerHTML:''},{type:"code-block",title:"代码块",innerHTML:''},{type:"html",title:"原生HTML",innerHTML:''},{type:"time",title:"当前时间",innerHTML:''},{type:"indent",title:"缩进",innerHTML:''},{type:"character",title:"实体符号",innerHTML:''},{type:"emoji",title:"符号表情",innerHTML:''},{type:"expression",title:"图片表情",innerHTML:''},{type:"task-no",title:"任务 - 未完成",innerHTML:''},{type:"task-yes",title:"任务 - 已完成",innerHTML:''},{type:"mtitle",title:"居中标题",innerHTML:''},{type:"dplayer",title:"M3U8/MP4视频",innerHTML:''},{type:"bilibili",title:"哔哩哔哩视频",innerHTML:''},{type:"netease-list",title:"网易云列表",innerHTML:''},{type:"netease-single",title:"网易云单首",innerHTML:''},{type:"abtn",title:"多彩按钮",innerHTML:''},{type:"anote",title:"便条按钮",innerHTML:''},{type:"dotted",title:"彩色虚线",innerHTML:''},{type:"hide",title:"回复可见",innerHTML:''},{type:"card-default",title:"默认卡片",innerHTML:''},{type:"message",title:"消息提示",innerHTML:''},{type:"progress",title:"进度条",innerHTML:''},{type:"callout",title:"标注",innerHTML:''},{type:"mp3",title:"外部音乐",innerHTML:''},{type:"tabs",title:"标签页",innerHTML:''},{type:"card-list",title:"卡片列表",innerHTML:''},{type:"timeline",title:"时间轴",innerHTML:''},{type:"copy",title:"复制文本",innerHTML:''},{type:"card-describe",title:"描述卡片",innerHTML:''},{type:"lamp",title:"跑马灯",innerHTML:''},{type:"collapse",title:"折叠面板",innerHTML:''},{type:"cloud",title:"云盘下载",innerHTML:''},{type:"gird",title:"宫格",innerHTML:''},{type:"alert",title:"提示",innerHTML:''},{type:"clean",title:"清屏",innerHTML:''},{type:"download",title:"下载",innerHTML:''},{type:"fullScreen",title:"全屏/取消全屏",innerHTML:''},{type:"preview",title:"预览/取消预览",innerHTML:''},{type:"draft",title:"保存草稿",innerHTML:''},{type:"publish",title:"发布文章",innerHTML:''},{type:"about",title:"关于",innerHTML:''}];const Yh=new HyperDown,Mh=window.JoeConfig.playerAPI;function Zh(t){if(!window.JoeConfig.canPreview)return $(".cm-preview-content").html("1. 预览已默认关闭
2. 点击上方预览按钮启用预览
3. 若编辑器卡顿可尝试关闭预览");-1!==t.indexOf(" ")&&(t=t.replace(/ /g," ")),-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=-1!==(t=(t=(t=Yh.makeHtml(t)).replace(/\:\:\(\s*(呵呵|哈哈|吐舌|太开心|笑眼|花心|小乖|乖|捂嘴笑|滑稽|你懂的|不高兴|怒|汗|黑线|泪|真棒|喷|惊哭|阴险|鄙视|酷|啊|狂汗|what|疑问|酸爽|呀咩爹|委屈|惊讶|睡觉|笑尿|挖鼻|吐|犀利|小红脸|懒得理|勉强|爱心|心碎|玫瑰|礼物|彩虹|太阳|星星月亮|钱币|茶杯|蛋糕|大拇指|胜利|haha|OK|沙发|手纸|香蕉|便便|药丸|红领巾|蜡烛|音乐|灯泡|开心|钱|咦|呼|冷|生气|弱|吐血|狗头)\s*\)/g,function(t,e){return e=encodeURI(e).replace(/%/g,""),``})).replace(/\:\@\(\s*(高兴|小怒|脸红|内伤|装大款|赞一个|害羞|汗|吐血倒地|深思|不高兴|无语|亲亲|口水|尴尬|中指|想一想|哭泣|便便|献花|皱眉|傻笑|狂汗|吐|喷水|看不见|鼓掌|阴暗|长草|献黄瓜|邪恶|期待|得意|吐舌|喷血|无所谓|观察|暗地观察|肿包|中枪|大囧|呲牙|抠鼻|不说话|咽气|欢呼|锁眉|蜡烛|坐等|击掌|惊喜|喜极而泣|抽烟|不出所料|愤怒|无奈|黑线|投降|看热闹|扇耳光|小眼睛|中刀)\s*\)/g,function(t,e){return e=encodeURI(e).replace(/%/g,""),``})).indexOf("{lamp")?t.replace(/{lamp\/}/g,''):t).indexOf("{x}")?t.replace(/{x}/g,''):t).indexOf("{ }")?t.replace(/{ }/g,''):t).indexOf("{mtitle")?t.replace(/{mtitle([^}]*)\/}/g,""):t).indexOf("{dplayer")?t.replace(/{dplayer([^}]*)\/}/g,''):t).indexOf("{bilibili")?t.replace(/{bilibili([^}]*)\/}/g,""):t).indexOf("{music-list")?t.replace(/{music-list([^}]*)\/}/g,""):t).indexOf("{music")?t.replace(/{music([^}]*)\/}/g,""):t).indexOf("{mp3")?t.replace(/{mp3([^}]*)\/}/g,""):t).indexOf("{abtn")?t.replace(/{abtn([^}]*)\/}/g,""):t).indexOf("{anote")?t.replace(/{anote([^}]*)\/}/g,""):t).indexOf("{copy")?t.replace(/{copy([^}]*)\/}/g,""):t).indexOf("{dotted")?t.replace(/{dotted([^}]*)\/}/g,""):t).indexOf("{message")?t.replace(/{message([^}]*)\/}/g,""):t).indexOf("{progress")?t.replace(/{progress([^}]*)\/}/g,""):t).indexOf("{cloud")?t.replace(/{cloud([^}]*)\/}/g,""):t).indexOf("{hide")?t.replace(/{hide[^}]*}([\s\S]*?){\/hide}/g,""):t).indexOf("{card-default")?t.replace(/{card-default([^}]*)}([\s\S]*?){\/card-default}/g,'
'):t).indexOf("{callout")?t.replace(/{callout([^}]*)}([\s\S]*?){\/callout}/g,'
'):t).indexOf("{card-describe")?t.replace(/{card-describe([^}]*)}([\s\S]*?){\/card-describe}/g,'
'):t).indexOf("{tabs")?t.replace(/{tabs}([\s\S]*?){\/tabs}/g,'
'):t).indexOf("{card-list")?t.replace(/{card-list}([\s\S]*?){\/card-list}/g,'
'):t).indexOf("{timeline")?t.replace(/{timeline}([\s\S]*?){\/timeline}/g,'
'):t).indexOf("{collapse")?t.replace(/{collapse}([\s\S]*?){\/collapse}/g,'
'):t).indexOf("{alert")?t.replace(/{alert([^}]*)}([\s\S]*?){\/alert}/g,'
'):t).indexOf("{gird")&&(t=t.replace(/{gird([^}]*)}([\s\S]*?){\/gird}/g,'
')),$(".cm-preview-content").html(t),$(".cm-preview-content p:empty").remove(),Prism.highlightAll()}class Eh extends class{constructor(){$("body").append(` -
-
-
-
-
×
-
-
- -
-
- `),$(".cm-modal__wrapper-footer--cancle, .cm-modal__wrapper-header--close").on("click",()=>$(".cm-modal").removeClass("active")),$(".cm-modal__wrapper-footer--confirm").on("click",()=>{this.options.confirm(),$(".cm-modal").removeClass("active")})}_openModal(t={}){this.options=Object.assign({title:"提示",innerHtml:"内容",hasFooter:!0,confirm:()=>{},handler:()=>{}},t),$(".cm-modal__wrapper-header--text").html(this.options.title),$(".cm-modal__wrapper-bodyer").html(this.options.innerHtml),this.options.hasFooter?$(".cm-modal__wrapper-footer").show():$(".cm-modal__wrapper-footer").hide(),$(".cm-modal").addClass("active"),this.options.handler()}_getLineCh(t){var e=t.state.selection.main.head;return e-t.state.doc.lineAt(e).from}_replaceSelection(t,e){t.dispatch(t.state.replaceSelection(e))}_setCursor(t,e){t.dispatch({selection:{anchor:e}})}_getSelection(t){return t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to)}_insetAmboText(t,e){var i=t.state.selection.main.head,n=this._getSelection(t);this._replaceSelection(t,` ${e+n+e} `),""===n&&this._setCursor(t,i+e.length+1),t.focus()}_createTableLists(s,t,o="",a){$.ajax({url:t,dataType:"json",success:t=>{let e="",i="";for(var n in t){const r=t[n].split(" ");e+=`
${n}
`,i+=`
${r.map(t=>`
${t}
`).join(" ")}
`}this._openModal({title:a,hasFooter:!1,innerHtml:`
${e}
${i}`,handler:()=>{$(".cm-modal__wrapper-bodyer .tabbar-item").on("click",function(){const t=$(this);var e=t.attr("data-show");const i=$(".cm-modal__wrapper-bodyer .tabbar");t.addClass("active").siblings().removeClass("active"),i.stop().animate({scrollLeft:t[0].offsetLeft-i[0].offsetWidth/2+t[0].offsetWidth/2-15}),$(".cm-modal__wrapper-bodyer .lists").removeClass("active"),$(".cm-modal__wrapper-bodyer .lists[data-show='"+e+"']").addClass("active")});const e=this;$(".cm-modal__wrapper-bodyer .lists-item").on("click",function(){var t=$(this).attr("data-text");e._replaceSelection(s,` ${t} `),$(".cm-modal").removeClass("active"),s.focus()})}})}})}_updateScroller(t,e){t=t.scrollTop/(t.scrollHeight-t.offsetHeight);e.scrollTop=t*(e.scrollHeight-e.offsetHeight)}handleFullScreen(t){t.toggleClass("active"),$("body").toggleClass("fullscreen"),$(".cm-container").toggleClass("fullscreen"),$(".cm-preview").width(0)}handlePublish(){$("#btn-submit").click()}handleUndo(t){So(t),t.focus()}handleRedo(t){Po(t),t.focus()}handleIndent(t){this._replaceSelection(t," "),t.focus()}handleTime(t){const e=new Date;var i=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,0),r=String(e.getDate()).padStart(2,0),s=String(e.getHours()).padStart(2,0),o=String(e.getMinutes()).padStart(2,0),a=String(e.getSeconds()).padStart(2,0),l=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][e.getDay()],l=`${this._getLineCh(t)?"\n":""}${i}-${n}-${r} ${s}:${o}:${a} ${l}\n`;this._replaceSelection(t,l),t.focus()}handleHr(t){var e=`${this._getLineCh(t)?"\n":""}\n------------\n\n`;this._replaceSelection(t,e),t.focus()}handleClean(t){t.dispatch({changes:{from:0,to:t.state.doc.length,insert:""}}),t.focus()}handleOrdered(t){const e=this._getSelection(t);if(""===e){var i=(this._getLineCh(t)?"\n\n":"")+"1. ";this._replaceSelection(t,i)}else{const n=e.split("\n");for(let t=0,e=n.length;t `);else{const n=e.split("\n");for(let t=0,e=n.length;t "+n[t];var i=(this._getLineCh(t)?"\n":"")+n.join("\n");this._replaceSelection(t,i)}t.focus()}handleDownload(t){var e=$("#title").val()||"新文章";const i=document.createElement("a");t=new Blob([t.state.doc.toString()]);i.download=e+".md",i.href=URL.createObjectURL(t),i.click(),URL.revokeObjectURL(t)}handleTitle(e,t){const i=$(` -
- ${t.innerHTML} -
-
H1
-
H2
-
H3
-
H4
-
H5
-
H6
-
-
- `);i.on("click",function(t){t.stopPropagation(),$(this).toggleClass("active")});const n=this;i.on("click",".cm-tools__dropdown-item",function(t){t.stopPropagation();t=$(this).attr("data-text");n._getLineCh(e)?n._replaceSelection(e,"\n\n"+t):n._replaceSelection(e,t),i.removeClass("active"),e.focus()}),$(document).on("click",()=>i.removeClass("active")),$(".cm-tools").append(i)}handleLink(i){this._openModal({title:"插入链接",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal input[name='title']").val()||"Test",e=$(".cm-modal input[name='url']").val()||"http://";this._replaceSelection(i,` [${t}](${e}) `),i.focus()}})}handleImage(i){this._openModal({title:"插入图片",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal input[name='title']").val()||"Test",e=$(".cm-modal input[name='url']").val()||"http://";this._replaceSelection(i,` ![${t}](${e}) `),i.focus()}})}handleTable(o){this._openModal({title:"插入表格",innerHtml:` -
- - - - -
- `,confirm:()=>{let e=$(".cm-modal input[name='row']").val(),i=$(".cm-modal input[name='column']").val();isNaN(e)&&(e=3),isNaN(i)&&(i=3);let n="",r="",s="";for(let t=0;t - - - -
- - -
- `,confirm:()=>{var t=`{gird column="${$(".cm-modal input[name='column']").val()}" gap="${$(".cm-modal input[name='gap']").val()}"}\n{gird-item}\n 宫格内容一\n{/gird-item}\n{gird-item}\n 宫格内容二\n{/gird-item}\n{gird-item}\n 宫格内容三\n{/gird-item}\n{/gird}`;this._getLineCh(e)?this._replaceSelection(e,"\n\n"+t):this._replaceSelection(e,t),e.focus()}})}handleCodeBlock(i){const t="rss+atom+ssml+mathml+svg+html+markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apex+apl+applescript+aql+arduino+arff+asciidoc+aspnet+asm6502+autohotkey+autoit+bash+basic+batch+bbcode+birb+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cfscript+chaiscript+cil+clojure+cmake+cobol+coffeescript+concurnas+csp+coq+crystal+css-extras+csv+cypher+d+dart+dataweave+dax+dhall+diff+django+dns-zone-file+docker+dot+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+false+firestore-security-rules+flow+fortran+ftl+gml+gcode+gdscript+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+http+hpkp+hsts+ichigojam+icon+icu-message-format+idris+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jexl+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keyman+kotlin+kumir+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+log+lolcode+lua+makefile+markdown+markup-templating+matlab+mel+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nevod+nginx+nim+nix+nsis+objectivec+ocaml+opencl+openqasm+oz+parigp+parser+pascal+pascaligo+psl+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plsql+powerquery+powershell+processing+prolog+promql+properties+protobuf+pug+puppet+pure+purebasic+purescript+python+qsharp+q+qml+qore+r+racket+jsx+tsx+reason+regex+rego+renpy+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+sml+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+squirrel+stan+iecst+stylus+swift+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+turtle+twig+typescript+typoscript+unrealscript+uri+v+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+wiki+xeora+xml-doc+xojo+xquery+yaml+yang+zig".split("+").sort((t,e)=>t.localeCompare(e)),e=sessionStorage.getItem("selectType")||"";let n="";t.forEach(t=>{n+=``}),this._openModal({title:"插入代码块",innerHtml:` -
- - -
- `,confirm:()=>{var t,e=$(".cm-modal select[name='type']").val();e&&(t=`\`\`\`${e}\ncode here...\n\`\`\``,this._getLineCh(i)?this._replaceSelection(i,"\n\n"+t):this._replaceSelection(i,t),i.focus(),sessionStorage.setItem("selectType",e))}})}handleAbout(){this._openModal({title:"关于",hasFooter:!1,innerHtml:` -
    -
  • 短代码功能正在开发中...
  • -
  • 仅支持网络图片粘贴上传(截图等)
  • -
  • 本编辑器仅供Joe主题使用,未经允许不得移植至其他主题!
  • -
- `})}handleTask(t,e){this._replaceSelection(t,` ${e?"{x}":"{ }"} `),t.focus()}handleNetease(n,r){this._openModal({title:r?"网易云歌单":"网易云单首",innerHtml:` -
- - -
-
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal input[name='id']").val(),e=$(".cm-modal input[name='color']").val(),i=$(".cm-modal select[name='autoplay']").val(),i=`\n{${r?"music-list":"music"} id="${t}" color="${e}" ${"1"===i?'autoplay="autoplay"':""}/}\n\n`;this._getLineCh(n)?this._replaceSelection(n,"\n"+i):this._replaceSelection(n,i),n.focus()}})}handleBilibili(e){this._openModal({title:"BiliBili视频",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{bilibili bvid="${$(".cm-modal input[name='bvid']").val()}" page="${$(".cm-modal input[name='page']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleDplayer(e){this._openModal({title:"M3U8/MP4视频",innerHtml:` -
- - -
- `,confirm:()=>{var t=`\n{dplayer src="${$(".cm-modal input[name='src']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleDraft(){$("#btn-save").click()}handleExpression(s){$.ajax({url:window.JoeConfig.expressionAPI,dataType:"json",success:t=>{let i="",n="";for(let e in t){const r=t[e];i+=`
${e}
`,n+=`
${r.map(t=>`
${"颜文字"===e?t.icon:``}
`).join(" ")}
`}this._openModal({title:"普通表情",hasFooter:!1,innerHtml:`
${i}
${n}`,handler:()=>{$(".cm-modal__wrapper-bodyer .tabbar-item").on("click",function(){var t=$(this).attr("data-show");$(this).addClass("active").siblings().removeClass("active"),$(".cm-modal__wrapper-bodyer .lists").removeClass("active"),$(".cm-modal__wrapper-bodyer .lists[data-show='"+t+"']").addClass("active")});const e=this;$(".cm-modal__wrapper-bodyer .lists-item").on("click",function(){var t=$(this).attr("data-text");e._replaceSelection(s,` ${t} `),$(".cm-modal").removeClass("active"),s.focus()})}})}})}handleMtitle(e){this._openModal({title:"居中标题",innerHtml:` -
- - -
- `,confirm:()=>{var t=`\n{mtitle title="${$(".cm-modal input[name='text']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleHtml(t){var e=`${this._getLineCh(t)?"\n":""}!!!\n

居中

\n

居右

\n颜色大小\n!!!\n`;this._replaceSelection(t,e),t.focus()}handleHide(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{hide}\n需要隐藏的内容\n{/hide}\n\n`;this._replaceSelection(t,e),t.focus()}handleAbtn(s){this._openModal({title:"多彩按钮",innerHtml:` -
- - -
-
- - fontawesome.dashgame.com -
-
- - -
-
- - -
-
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal input[name='icon']").val(),e=$(".cm-modal input[name='color']").val(),i=$(".cm-modal input[name='href']").val(),n=$(".cm-modal input[name='radius']").val(),r=$(".cm-modal input[name='content']").val();this._replaceSelection(s,` {abtn icon="${t}" color="${e}" href="${i}" radius="${n}" content="${r}"/} `),s.focus()}})}handleAnote(r){this._openModal({title:"便条按钮",innerHtml:` -
- - -
-
- - fontawesome.dashgame.com -
-
- - -
-
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal input[name='icon']").val(),e=$(".cm-modal input[name='href']").val(),i=$(".cm-modal select[name='type']").val(),n=$(".cm-modal input[name='content']").val();this._replaceSelection(r,` {anote icon="${t}" href="${e}" type="${i}" content="${n}"/} `),r.focus()}})}handleDotted(e){this._openModal({title:"彩色虚线",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{dotted startColor="${$(".cm-modal input[name='startColor']").val()}" endColor="${$(".cm-modal input[name='endColor']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleCardDefault(e){this._openModal({title:"默认卡片",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{card-default label="${$(".cm-modal input[name='label']").val()}" width="${$(".cm-modal input[name='width']").val()}"}\n卡片内容\n{/card-default}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleMessage(e){this._openModal({title:"消息提示",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{message type="${$(".cm-modal select[name='type']").val()}" content="${$(".cm-modal textarea[name='content']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleProgress(e){this._openModal({title:"进度条",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{progress percentage="${$(".cm-modal input[name='percentage']").val()}" color="${$(".cm-modal input[name='color']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleCallout(e){this._openModal({title:"插入标注",innerHtml:` -
- - -
- `,confirm:()=>{var t=`\n{callout color="${$(".cm-modal input[name='color']").val()}"}\n标注内容\n{/callout}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleMp3(e){this._openModal({title:"插入音乐",innerHtml:` -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- `,confirm:()=>{var t=`\n{mp3 name="${$(".cm-modal input[name='name']").val()}" url="${$(".cm-modal input[name='url']").val()}" cover="${$(".cm-modal input[name='cover']").val()}" theme="${$(".cm-modal input[name='theme']").val()}" ${"1"===$(".cm-modal select[name='autoplay']").val()?'autoplay="autoplay"':""}/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleTabs(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{tabs}\n{tabs-pane label="标签一"}\n 标签一内容\n{/tabs-pane}\n{tabs-pane label="标签二"}\n 标签二内容\n{/tabs-pane}\n{/tabs}\n\n`;this._replaceSelection(t,e),t.focus()}handleCardList(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{card-list}\n{card-list-item}\n 列表一内容\n{/card-list-item}\n{card-list-item}\n 列表二内容\n{/card-list-item}\n{/card-list}\n\n`;this._replaceSelection(t,e),t.focus()}handleTimeline(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{timeline}\n{timeline-item color="#19be6b"}\n 正式上线\n{/timeline-item}\n{timeline-item color="#ed4014"}\n 删库跑路\n{/timeline-item}\n{/timeline}\n\n`;this._replaceSelection(t,e),t.focus()}handleCardDescribe(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{card-describe title="卡片描述"}\n卡片内容\n{/card-describe}\n\n`;this._replaceSelection(t,e),t.focus()}handleCopy(e){this._openModal({title:"复制文本",innerHtml:` -
- - -
-
- - -
- `,confirm:()=>{var t=`\n{copy showText="${$(".cm-modal input[name='showText']").val()}" copyText="${$(".cm-modal textarea[name='copyText']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleLamp(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{lamp/}\n\n`;this._replaceSelection(t,e),t.focus()}handleCollapse(t){var e=`${this._getLineCh(t)?"\n\n":"\n"}{collapse}\n{collapse-item label="折叠标题一" open}\n 折叠内容一\n{/collapse-item}\n{collapse-item label="折叠标题二"}\n 折叠内容二\n{/collapse-item}\n{/collapse}\n\n`;this._replaceSelection(t,e),t.focus()}handleAlert(e){this._openModal({title:"警告提示",innerHtml:` -
- - -
- `,confirm:()=>{var t=`\n{alert type="${$(".cm-modal select[name='type']").val()}"}\n警告提示\n{/alert}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}handleCloud(e){this._openModal({title:"网盘下载",innerHtml:` -
- - -
-
- - -
-
- - -
-
- - -
- `,confirm:()=>{var t=$(".cm-modal select[name='type']").val(),t=`\n{cloud title="${$(".cm-modal input[name='title']").val()}" type="${t}" url="${$(".cm-modal input[name='url']").val()}" password="${$(".cm-modal input[name='password']").val()}"/}\n\n`;this._getLineCh(e)?this._replaceSelection(e,"\n"+t):this._replaceSelection(e,t),e.focus()}})}}{constructor(){var t;super(),this.plugins=[Ko,(t={},[xo,bo.of(t),ir.domEventHandlers({beforeinput(t,e){return"historyUndo"==t.inputType?So(e):"historyRedo"==t.inputType&&Po(e)}})]),(t={},[vs.of(t),$s]),[ir.inputHandler.of(_s),Ts],mr],this._isPasting=!1,this.init_ViewPort(),this.init_Editor(),this.init_Preview(),this.init_Tools(),this.init_Insert(),this.init_AutoSave()}init_ViewPort(){0<$('meta[name="viewport"]').length?$('meta[name="viewport"]').attr("content","width=device-width, user-scalable=no, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover"):$("head").append('')}init_Editor(){$("#text").before(` -
-
-
-
-
-
-
-
-
-
- `),Zh(null);let e=null,i=null;const s=new ir({state:pt.create({doc:$("#text").val(),extensions:[...this.plugins,qh({base:_h}),Or.of([Qo,...Cs,...vo,...zo]),ir.updateListener.of(t=>{t.docChanged&&e!==t.state.doc.toString()&&(e=t.state.doc.toString(),clearTimeout(i),i=setTimeout(Zh.bind(null,t.state.doc.toString()),180))}),ir.domEventHandlers({paste:e=>{var n=e.clipboardData;if(n&&n.items){const r=n.items;if(r.length){let i=null;for(let t=0;t{const t=$.ajaxSettings.xhr();if(t.upload)return t.upload.addEventListener("progress",t=>{t=t.loaded/t.total*100;$(".cm-progress-left").width(t/2+"%"),$(".cm-progress-right").width(t/2+"%")},!1),t},success:t=>{$(".cm-progress-left").width(0),$(".cm-progress-right").width(0),this._isPasting=!1;t=`${super._getLineCh(s)?"\n":""}![${t[1].title}](${t[0]})\n`;super._replaceSelection(s,t),s.focus()},error:()=>{$(".cm-progress-left").width(0),$(".cm-progress-right").width(0),this._isPasting=!1}})}}}}}},scroll:t=>{window.JoeConfig.canPreview&&t&&t.target&&"cm-scroller"===t.target.className&&(window.requestAnimationFrame?window.requestAnimationFrame(()=>super._updateScroller(t.target,document.querySelector(".cm-preview"))):super._updateScroller(t.target,document.querySelector(".cm-preview")))}})],tabSize:4})});$(".cm-mainer").prepend(s.dom),$("#text")[0].form&&$("#text")[0].form.addEventListener("submit",()=>$("#text").val(s.state.doc.toString())),this.cm=s}init_Preview(){const n=(t,e,i)=>{let n=e+(t-i);n<=0&&(n=0),n>=$(".cm-mainer").outerWidth()-16&&(n=$(".cm-mainer").outerWidth()-16),$(".cm-preview").width(n)};$(".cm-resize").on({mousedown:t=>{t.preventDefault(),t.stopPropagation();const e=$(".cm-preview").outerWidth(),i=t.clientX;return $(".cm-preview").addClass("move"),document.onmousemove=t=>{window.requestAnimationFrame?requestAnimationFrame(()=>n(i,e,t.clientX)):n(i,e,t.clientX)},!(document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,$(".cm-preview").removeClass("move")})},touchstart:t=>{t.preventDefault(),t.stopPropagation();const e=$(".cm-preview").outerWidth(),i=t.originalEvent.targetTouches[0].clientX;return $(".cm-preview").addClass("move"),document.ontouchmove=t=>{window.requestAnimationFrame?requestAnimationFrame(()=>n(i,e,t.targetTouches[0].clientX)):n(i,e,t.targetTouches[0].clientX)},!(document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null,$(".cm-preview").removeClass("move")})}})}init_Tools(){Vh.forEach(e=>{if("title"===e.type)super.handleTitle(this.cm,e);else{const i=$(`
${e.innerHTML}
`);i.on("click",t=>{switch(t.preventDefault(),e.type){case"fullScreen":super.handleFullScreen(i);break;case"publish":super.handlePublish();break;case"undo":super.handleUndo(this.cm);break;case"redo":super.handleRedo(this.cm);break;case"time":super.handleTime(this.cm);break;case"bold":super._insetAmboText(this.cm,"**");break;case"italic":super._insetAmboText(this.cm,"*");break;case"delete":super._insetAmboText(this.cm,"~~");break;case"code-inline":super._insetAmboText(this.cm,"`");break;case"indent":super.handleIndent(this.cm);break;case"hr":super.handleHr(this.cm);break;case"clean":super.handleClean(this.cm);break;case"ordered-list":super.handleOrdered(this.cm);break;case"unordered-list":super.handleUnordered(this.cm);break;case"quote":super.handleQuote(this.cm);break;case"download":super.handleDownload(this.cm);break;case"link":super.handleLink(this.cm);break;case"image":super.handleImage(this.cm);break;case"table":super.handleTable(this.cm);break;case"code-block":super.handleCodeBlock(this.cm);break;case"about":super.handleAbout();break;case"character":super._createTableLists(this.cm,JoeConfig.characterAPI,"星星符号","字符大全");break;case"emoji":super._createTableLists(this.cm,JoeConfig.emojiAPI,"表情","符号表情(需数据库支持)");break;case"task-no":super.handleTask(this.cm,!1);break;case"task-yes":super.handleTask(this.cm,!0);break;case"netease-list":super.handleNetease(this.cm,!0);break;case"netease-single":super.handleNetease(this.cm,!1);break;case"bilibili":super.handleBilibili(this.cm);break;case"dplayer":super.handleDplayer(this.cm);break;case"draft":super.handleDraft();break;case"expression":super.handleExpression(this.cm);break;case"mtitle":super.handleMtitle(this.cm);break;case"html":super.handleHtml(this.cm);break;case"abtn":super.handleAbtn(this.cm);break;case"anote":super.handleAnote(this.cm);break;case"dotted":super.handleDotted(this.cm);break;case"hide":super.handleHide(this.cm);break;case"card-default":super.handleCardDefault(this.cm);break;case"message":super.handleMessage(this.cm);break;case"progress":super.handleProgress(this.cm);break;case"callout":super.handleCallout(this.cm);break;case"mp3":super.handleMp3(this.cm);break;case"tabs":super.handleTabs(this.cm);break;case"card-list":super.handleCardList(this.cm);break;case"timeline":super.handleTimeline(this.cm);break;case"copy":super.handleCopy(this.cm);break;case"card-describe":super.handleCardDescribe(this.cm);break;case"lamp":super.handleLamp(this.cm);break;case"collapse":super.handleCollapse(this.cm);break;case"cloud":super.handleCloud(this.cm);break;case"gird":super.handleGird(this.cm);break;case"alert":super.handleAlert(this.cm);break;case"preview":i.toggleClass("active"),i.hasClass("active")?window.JoeConfig.canPreview=!0:window.JoeConfig.canPreview=!1,Zh(this.cm.state.doc.toString()),window.JoeConfig.canPreview&&super._updateScroller(document.querySelector(".cm-scroller"),document.querySelector(".cm-preview"))}}),$(".cm-tools").append(i)}})}init_Insert(){Typecho.insertFileToEditor=(t,e,i)=>{e=`${super._getLineCh(this.cm)?"\n":""}${i?"!":""}[${t}](${e})\n`;super._replaceSelection(this.cm,e),this.cm.focus()}}init_AutoSave(){if(1===window.JoeConfig.autoSave){const o=$("#text")[0].form;let i=$(o).find('input[name="cid"]').val(),n=null,r=$(o).find('input[name="title"]').val(),s=$(o).find('textarea[name="text"]').val();setInterval(()=>{$(o).find('input[name="cid"]').val(i),$(o).find('textarea[name="text"]').val(this.cm.state.doc.toString());let t=$(o).find('input[name="title"]').val();var e=$(o).find('textarea[name="text"]').val();""!==t.trim()&&(r===t&&s===e||(r=t,s=e,$(".cm-autosave").addClass("active"),$.ajax({url:o.action,type:"POST",data:$(o).serialize()+"&do=save",dataType:"json",success:t=>{i=t.cid,n=setTimeout(()=>{$(".cm-autosave").removeClass("active"),clearTimeout(n)},1e3)}})))},5e3)}}}document.addEventListener("DOMContentLoaded",()=>new Eh)}(); diff --git a/typecho/write/package.json b/typecho/write/package.json index 3a82c81..e44d4d7 100644 --- a/typecho/write/package.json +++ b/typecho/write/package.json @@ -8,6 +8,7 @@ "@codemirror/highlight": "^0.18.4", "@codemirror/history": "^0.18.1", "@codemirror/lang-markdown": "^0.18.3", + "@codemirror/language-data": "^0.18.0", "@codemirror/matchbrackets": "^0.18.0", "@codemirror/state": "^0.18.7", "@codemirror/view": "^0.18.14", diff --git a/typecho/write/js/joe.parse.js b/typecho/write/parse/parse.js similarity index 100% rename from typecho/write/js/joe.parse.js rename to typecho/write/parse/parse.js diff --git a/typecho/write/js/joe.parse.min.js b/typecho/write/parse/parse.min.js similarity index 100% rename from typecho/write/js/joe.parse.min.js rename to typecho/write/parse/parse.min.js diff --git a/typecho/write/rollup.config.js b/typecho/write/rollup.config.js index f77b53f..c4572ef 100644 --- a/typecho/write/rollup.config.js +++ b/typecho/write/rollup.config.js @@ -1,10 +1,11 @@ import { nodeResolve } from '@rollup/plugin-node-resolve'; import { uglify } from 'rollup-plugin-uglify'; export default { - input: './js/joe.write.js', + input: './js/index.js', output: { - file: './js/joe.write.chunk.js', - format: 'iife' + dir: './dist', + format: 'es' }, + preserveEntrySignatures: false, plugins: [nodeResolve(), uglify()] };