@orsetra/wiki-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +196 -0
- package/dist/apl-B2DGVGxc.mjs +77 -0
- package/dist/apl-B2DGVGxc.mjs.map +1 -0
- package/dist/apl-M-DNMvvR.js +2 -0
- package/dist/apl-M-DNMvvR.js.map +1 -0
- package/dist/asciiarmor-2LVJmxlE.mjs +35 -0
- package/dist/asciiarmor-2LVJmxlE.mjs.map +1 -0
- package/dist/asciiarmor-BMx3XVjX.js +2 -0
- package/dist/asciiarmor-BMx3XVjX.js.map +1 -0
- package/dist/asn1-OOsVM4yU.js +2 -0
- package/dist/asn1-OOsVM4yU.js.map +1 -0
- package/dist/asn1-jKiBa2Ya.mjs +96 -0
- package/dist/asn1-jKiBa2Ya.mjs.map +1 -0
- package/dist/asterisk-B1QUaW1C.js +2 -0
- package/dist/asterisk-B1QUaW1C.js.map +1 -0
- package/dist/asterisk-DS281yxp.mjs +272 -0
- package/dist/asterisk-DS281yxp.mjs.map +1 -0
- package/dist/brainfuck-BjUlYKdF.js +2 -0
- package/dist/brainfuck-BjUlYKdF.js.map +1 -0
- package/dist/brainfuck-C_p9pTT8.mjs +35 -0
- package/dist/brainfuck-C_p9pTT8.mjs.map +1 -0
- package/dist/clike-BMALKCNj.mjs +621 -0
- package/dist/clike-BMALKCNj.mjs.map +1 -0
- package/dist/clike-D0cgxzLA.js +2 -0
- package/dist/clike-D0cgxzLA.js.map +1 -0
- package/dist/clojure-Ap_IXD2I.js +2 -0
- package/dist/clojure-Ap_IXD2I.js.map +1 -0
- package/dist/clojure-CCKyeQKf.mjs +801 -0
- package/dist/clojure-CCKyeQKf.mjs.map +1 -0
- package/dist/cmake-C4D5_VmS.js +2 -0
- package/dist/cmake-C4D5_VmS.js.map +1 -0
- package/dist/cmake-CuaCgAKt.mjs +29 -0
- package/dist/cmake-CuaCgAKt.mjs.map +1 -0
- package/dist/cobol-BlTKFDRj.mjs +73 -0
- package/dist/cobol-BlTKFDRj.mjs.map +1 -0
- package/dist/cobol-Du-cT2hr.js +2 -0
- package/dist/cobol-Du-cT2hr.js.map +1 -0
- package/dist/coffeescript-BVCvwO8I.mjs +180 -0
- package/dist/coffeescript-BVCvwO8I.mjs.map +1 -0
- package/dist/coffeescript-DDFAj2ea.js +2 -0
- package/dist/coffeescript-DDFAj2ea.js.map +1 -0
- package/dist/commonlisp-CXBBRCTx.js +2 -0
- package/dist/commonlisp-CXBBRCTx.js.map +1 -0
- package/dist/commonlisp-D_kxz07b.mjs +76 -0
- package/dist/commonlisp-D_kxz07b.mjs.map +1 -0
- package/dist/components/MarkdownEditor.d.ts +8 -0
- package/dist/components/MarkdownViewer.d.ts +8 -0
- package/dist/components/Modal.d.ts +11 -0
- package/dist/components/Sidebar.d.ts +11 -0
- package/dist/components/Wiki.d.ts +4 -0
- package/dist/crystal-D309uH6_.mjs +218 -0
- package/dist/crystal-D309uH6_.mjs.map +1 -0
- package/dist/crystal-DAFWRDbh.js +2 -0
- package/dist/crystal-DAFWRDbh.js.map +1 -0
- package/dist/css-BkF-NPzE.mjs +1554 -0
- package/dist/css-BkF-NPzE.mjs.map +1 -0
- package/dist/css-DzFJyRJ8.js +2 -0
- package/dist/css-DzFJyRJ8.js.map +1 -0
- package/dist/cypher-BMq4Fwjl.mjs +69 -0
- package/dist/cypher-BMq4Fwjl.mjs.map +1 -0
- package/dist/cypher-BN0-oCze.js +2 -0
- package/dist/cypher-BN0-oCze.js.map +1 -0
- package/dist/d-BHsqGcfm.js +2 -0
- package/dist/d-BHsqGcfm.js.map +1 -0
- package/dist/d-BZcgY6La.mjs +128 -0
- package/dist/d-BZcgY6La.mjs.map +1 -0
- package/dist/diff-CemTHKfk.js +2 -0
- package/dist/diff-CemTHKfk.js.map +1 -0
- package/dist/diff-Cg9d_RX2.mjs +19 -0
- package/dist/diff-Cg9d_RX2.mjs.map +1 -0
- package/dist/dockerfile-BmicwmnY.mjs +195 -0
- package/dist/dockerfile-BmicwmnY.mjs.map +1 -0
- package/dist/dockerfile-BwZiqVB0.js +2 -0
- package/dist/dockerfile-BwZiqVB0.js.map +1 -0
- package/dist/dtd-ChoVQPwv.js +2 -0
- package/dist/dtd-ChoVQPwv.js.map +1 -0
- package/dist/dtd-CtLokQ-U.mjs +85 -0
- package/dist/dtd-CtLokQ-U.mjs.map +1 -0
- package/dist/dylan-QYeExnWK.mjs +235 -0
- package/dist/dylan-QYeExnWK.mjs.map +1 -0
- package/dist/dylan-apTQIgUA.js +2 -0
- package/dist/dylan-apTQIgUA.js.map +1 -0
- package/dist/ebnf-LYmLy17h.js +2 -0
- package/dist/ebnf-LYmLy17h.js.map +1 -0
- package/dist/ebnf-Xa2PN7SI.mjs +78 -0
- package/dist/ebnf-Xa2PN7SI.mjs.map +1 -0
- package/dist/ecl-C7WNQq7-.js +2 -0
- package/dist/ecl-C7WNQq7-.js.map +1 -0
- package/dist/ecl-CiXN-g_D.mjs +122 -0
- package/dist/ecl-CiXN-g_D.mjs.map +1 -0
- package/dist/eiffel-BJThA8RG.js +2 -0
- package/dist/eiffel-BJThA8RG.js.map +1 -0
- package/dist/eiffel-yQhjl4T1.mjs +111 -0
- package/dist/eiffel-yQhjl4T1.mjs.map +1 -0
- package/dist/elm-CNT9vbN0.mjs +109 -0
- package/dist/elm-CNT9vbN0.mjs.map +1 -0
- package/dist/elm-CcXP9T36.js +2 -0
- package/dist/elm-CcXP9T36.js.map +1 -0
- package/dist/erlang-B6mpcObI.js +2 -0
- package/dist/erlang-B6mpcObI.js.map +1 -0
- package/dist/erlang-CFOYdy9e.mjs +488 -0
- package/dist/erlang-CFOYdy9e.mjs.map +1 -0
- package/dist/factor-CYi8BYN3.mjs +66 -0
- package/dist/factor-CYi8BYN3.mjs.map +1 -0
- package/dist/factor-InghB-ob.js +2 -0
- package/dist/factor-InghB-ob.js.map +1 -0
- package/dist/fcl-BzAKklXo.js +2 -0
- package/dist/fcl-BzAKklXo.js.map +1 -0
- package/dist/fcl-CPC2WYrI.mjs +104 -0
- package/dist/fcl-CPC2WYrI.mjs.map +1 -0
- package/dist/forth-BmxRyE9S.mjs +61 -0
- package/dist/forth-BmxRyE9S.mjs.map +1 -0
- package/dist/forth-CPAzyZ_n.js +2 -0
- package/dist/forth-CPAzyZ_n.js.map +1 -0
- package/dist/fortran-9bvPyrOW.mjs +443 -0
- package/dist/fortran-9bvPyrOW.mjs.map +1 -0
- package/dist/fortran-DHiTlGV1.js +2 -0
- package/dist/fortran-DHiTlGV1.js.map +1 -0
- package/dist/gas-BiPtGF2E.js +2 -0
- package/dist/gas-BiPtGF2E.js.map +1 -0
- package/dist/gas-cpmYfFX2.mjs +184 -0
- package/dist/gas-cpmYfFX2.mjs.map +1 -0
- package/dist/gherkin-CJuwpceU.mjs +35 -0
- package/dist/gherkin-CJuwpceU.mjs.map +1 -0
- package/dist/gherkin-Djo7Y51D.js +2 -0
- package/dist/gherkin-Djo7Y51D.js.map +1 -0
- package/dist/groovy-BMVITiCm.js +2 -0
- package/dist/groovy-BMVITiCm.js.map +1 -0
- package/dist/groovy-DZeT_VM-.mjs +147 -0
- package/dist/groovy-DZeT_VM-.mjs.map +1 -0
- package/dist/haskell-Bvt3Qq1t.mjs +376 -0
- package/dist/haskell-Bvt3Qq1t.mjs.map +1 -0
- package/dist/haskell-CngODaW-.js +2 -0
- package/dist/haskell-CngODaW-.js.map +1 -0
- package/dist/haxe-70NVW1pR.mjs +360 -0
- package/dist/haxe-70NVW1pR.mjs.map +1 -0
- package/dist/haxe-Dyk-piTh.js +2 -0
- package/dist/haxe-Dyk-piTh.js.map +1 -0
- package/dist/http-BkLifcnL.js +2 -0
- package/dist/http-BkLifcnL.js.map +1 -0
- package/dist/http-D9LttvKF.mjs +45 -0
- package/dist/http-D9LttvKF.mjs.map +1 -0
- package/dist/idl-B6TRFYjl.mjs +948 -0
- package/dist/idl-B6TRFYjl.mjs.map +1 -0
- package/dist/idl-FmHDmsE-.js +2 -0
- package/dist/idl-FmHDmsE-.js.map +1 -0
- package/dist/index-5NQ_GRzk.mjs +269 -0
- package/dist/index-5NQ_GRzk.mjs.map +1 -0
- package/dist/index-B44LK8Ij.js +2 -0
- package/dist/index-B44LK8Ij.js.map +1 -0
- package/dist/index-BBWPLWCQ.mjs +94 -0
- package/dist/index-BBWPLWCQ.mjs.map +1 -0
- package/dist/index-BEe-FCJC.js +4 -0
- package/dist/index-BEe-FCJC.js.map +1 -0
- package/dist/index-BITH_pLG.mjs +289 -0
- package/dist/index-BITH_pLG.mjs.map +1 -0
- package/dist/index-BMVYCl6V.js +3 -0
- package/dist/index-BMVYCl6V.js.map +1 -0
- package/dist/index-BWOhwi7O.mjs +250 -0
- package/dist/index-BWOhwi7O.mjs.map +1 -0
- package/dist/index-BXHxjBZn.js +2 -0
- package/dist/index-BXHxjBZn.js.map +1 -0
- package/dist/index-BZzC2wSb.js +2 -0
- package/dist/index-BZzC2wSb.js.map +1 -0
- package/dist/index-BfsL370f.js +132 -0
- package/dist/index-BfsL370f.js.map +1 -0
- package/dist/index-BrqlmrLi.js +2 -0
- package/dist/index-BrqlmrLi.js.map +1 -0
- package/dist/index-Bu79INFX.mjs +59 -0
- package/dist/index-Bu79INFX.mjs.map +1 -0
- package/dist/index-Bv0a9ZLs.js +2 -0
- package/dist/index-Bv0a9ZLs.js.map +1 -0
- package/dist/index-BvPdsD4p.js +2 -0
- package/dist/index-BvPdsD4p.js.map +1 -0
- package/dist/index-CE74di9B.js +2 -0
- package/dist/index-CE74di9B.js.map +1 -0
- package/dist/index-CJjawP4l.mjs +612 -0
- package/dist/index-CJjawP4l.mjs.map +1 -0
- package/dist/index-Ce9BFvqJ.js +2 -0
- package/dist/index-Ce9BFvqJ.js.map +1 -0
- package/dist/index-CtmFQJ3k.mjs +342 -0
- package/dist/index-CtmFQJ3k.mjs.map +1 -0
- package/dist/index-DDqdUdVS.mjs +138 -0
- package/dist/index-DDqdUdVS.mjs.map +1 -0
- package/dist/index-DHfWY4nC.js +2 -0
- package/dist/index-DHfWY4nC.js.map +1 -0
- package/dist/index-DV85ftYm.js +8 -0
- package/dist/index-DV85ftYm.js.map +1 -0
- package/dist/index-DYikJvrj.js +2 -0
- package/dist/index-DYikJvrj.js.map +1 -0
- package/dist/index-Dd5okOPF.mjs +135 -0
- package/dist/index-Dd5okOPF.mjs.map +1 -0
- package/dist/index-De3EaYep.js +2 -0
- package/dist/index-De3EaYep.js.map +1 -0
- package/dist/index-Dgfd7uDt.mjs +72 -0
- package/dist/index-Dgfd7uDt.mjs.map +1 -0
- package/dist/index-DnpLQHc8.mjs +157 -0
- package/dist/index-DnpLQHc8.mjs.map +1 -0
- package/dist/index-Dr0ZLr_9.mjs +301 -0
- package/dist/index-Dr0ZLr_9.mjs.map +1 -0
- package/dist/index-DtlFhA0P.mjs +565 -0
- package/dist/index-DtlFhA0P.mjs.map +1 -0
- package/dist/index-DzD8HqGh.mjs +309 -0
- package/dist/index-DzD8HqGh.mjs.map +1 -0
- package/dist/index-IsoI5fWK.js +2 -0
- package/dist/index-IsoI5fWK.js.map +1 -0
- package/dist/index-N7O8LN7P.mjs +77654 -0
- package/dist/index-N7O8LN7P.mjs.map +1 -0
- package/dist/index-X1_65Wm6.js +2 -0
- package/dist/index-X1_65Wm6.js.map +1 -0
- package/dist/index-aCtul_CH.mjs +99 -0
- package/dist/index-aCtul_CH.mjs.map +1 -0
- package/dist/index-yAkuheO7.mjs +76 -0
- package/dist/index-yAkuheO7.mjs.map +1 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +10 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/javascript-C2yteZeJ.mjs +692 -0
- package/dist/javascript-C2yteZeJ.mjs.map +1 -0
- package/dist/javascript-DngSGg_0.js +2 -0
- package/dist/javascript-DngSGg_0.js.map +1 -0
- package/dist/jinja2-DnB6dQmV.mjs +155 -0
- package/dist/jinja2-DnB6dQmV.mjs.map +1 -0
- package/dist/jinja2-wbVbDTNi.js +2 -0
- package/dist/jinja2-wbVbDTNi.js.map +1 -0
- package/dist/julia-DA67Qw9E.js +2 -0
- package/dist/julia-DA67Qw9E.js.map +1 -0
- package/dist/julia-DpvXAuO6.mjs +242 -0
- package/dist/julia-DpvXAuO6.mjs.map +1 -0
- package/dist/livescript-Bg3URadp.js +2 -0
- package/dist/livescript-Bg3URadp.js.map +1 -0
- package/dist/livescript-CanGTf8u.mjs +273 -0
- package/dist/livescript-CanGTf8u.mjs.map +1 -0
- package/dist/lua-CIsxjGwi.js +2 -0
- package/dist/lua-CIsxjGwi.js.map +1 -0
- package/dist/lua-XplVlWi_.mjs +218 -0
- package/dist/lua-XplVlWi_.mjs.map +1 -0
- package/dist/mathematica-BG089QIc.js +2 -0
- package/dist/mathematica-BG089QIc.js.map +1 -0
- package/dist/mathematica-jaRHnSxC.mjs +36 -0
- package/dist/mathematica-jaRHnSxC.mjs.map +1 -0
- package/dist/mbox-BctzC1hL.mjs +77 -0
- package/dist/mbox-BctzC1hL.mjs.map +1 -0
- package/dist/mbox-CySolFFZ.js +2 -0
- package/dist/mbox-CySolFFZ.js.map +1 -0
- package/dist/mirc-BfqEffzk.js +2 -0
- package/dist/mirc-BfqEffzk.js.map +1 -0
- package/dist/mirc-CFBPAOaF.mjs +73 -0
- package/dist/mirc-CFBPAOaF.mjs.map +1 -0
- package/dist/mllike-BSnXJBGA.mjs +273 -0
- package/dist/mllike-BSnXJBGA.mjs.map +1 -0
- package/dist/mllike-QUjwI6zq.js +2 -0
- package/dist/mllike-QUjwI6zq.js.map +1 -0
- package/dist/modelica-B6Zhcb-M.js +2 -0
- package/dist/modelica-B6Zhcb-M.js.map +1 -0
- package/dist/modelica-vUgVs--1.mjs +94 -0
- package/dist/modelica-vUgVs--1.mjs.map +1 -0
- package/dist/mscgen-BToym4Bs.js +2 -0
- package/dist/mscgen-BToym4Bs.js.map +1 -0
- package/dist/mscgen-Cpl0NYLN.mjs +105 -0
- package/dist/mscgen-Cpl0NYLN.mjs.map +1 -0
- package/dist/mumps-CQoS1kWX.mjs +26 -0
- package/dist/mumps-CQoS1kWX.mjs.map +1 -0
- package/dist/mumps-wfyQdxSu.js +2 -0
- package/dist/mumps-wfyQdxSu.js.map +1 -0
- package/dist/nginx-CwqyBUfA.js +2 -0
- package/dist/nginx-CwqyBUfA.js.map +1 -0
- package/dist/nginx-zDPm3Z74.mjs +90 -0
- package/dist/nginx-zDPm3Z74.mjs.map +1 -0
- package/dist/nsis-D9c90ZYp.js +2 -0
- package/dist/nsis-D9c90ZYp.js.map +1 -0
- package/dist/nsis-DYWPgAyk.mjs +63 -0
- package/dist/nsis-DYWPgAyk.mjs.map +1 -0
- package/dist/ntriples-CsNjv2QF.mjs +80 -0
- package/dist/ntriples-CsNjv2QF.mjs.map +1 -0
- package/dist/ntriples-DgwJmozm.js +2 -0
- package/dist/ntriples-DgwJmozm.js.map +1 -0
- package/dist/octave-1pkKrgAA.js +2 -0
- package/dist/octave-1pkKrgAA.js.map +1 -0
- package/dist/octave-C8PmmSRH.mjs +144 -0
- package/dist/octave-C8PmmSRH.mjs.map +1 -0
- package/dist/oz-BXOZCt0U.js +2 -0
- package/dist/oz-BXOZCt0U.js.map +1 -0
- package/dist/oz-Ce8aN8oE.mjs +152 -0
- package/dist/oz-Ce8aN8oE.mjs.map +1 -0
- package/dist/pascal-De0D6mP7.mjs +78 -0
- package/dist/pascal-De0D6mP7.mjs.map +1 -0
- package/dist/pascal-DtY2LEkJ.js +2 -0
- package/dist/pascal-DtY2LEkJ.js.map +1 -0
- package/dist/perl-B4bSCe1C.mjs +916 -0
- package/dist/perl-B4bSCe1C.mjs.map +1 -0
- package/dist/perl-CVDWbEju.js +2 -0
- package/dist/perl-CVDWbEju.js.map +1 -0
- package/dist/pig-D24Z8EXi.mjs +55 -0
- package/dist/pig-D24Z8EXi.mjs.map +1 -0
- package/dist/pig-DMByOrnr.js +2 -0
- package/dist/pig-DMByOrnr.js.map +1 -0
- package/dist/powershell-BaoYaFvj.js +2 -0
- package/dist/powershell-BaoYaFvj.js.map +1 -0
- package/dist/powershell-DkYVfTzP.mjs +250 -0
- package/dist/powershell-DkYVfTzP.mjs.map +1 -0
- package/dist/properties-DXHJZ3WE.js +2 -0
- package/dist/properties-DXHJZ3WE.js.map +1 -0
- package/dist/properties-Dn9wna3M.mjs +27 -0
- package/dist/properties-Dn9wna3M.mjs.map +1 -0
- package/dist/protobuf-BKhXdfH6.js +2 -0
- package/dist/protobuf-BKhXdfH6.js.map +1 -0
- package/dist/protobuf-BPIjwpzm.mjs +50 -0
- package/dist/protobuf-BPIjwpzm.mjs.map +1 -0
- package/dist/pug-CIYIOCVP.js +2 -0
- package/dist/pug-CIYIOCVP.js.map +1 -0
- package/dist/pug-DNXUX8Xe.mjs +249 -0
- package/dist/pug-DNXUX8Xe.mjs.map +1 -0
- package/dist/puppet-8mAyuMbW.js +2 -0
- package/dist/puppet-8mAyuMbW.js.map +1 -0
- package/dist/puppet-nyd4dhjf.mjs +46 -0
- package/dist/puppet-nyd4dhjf.mjs.map +1 -0
- package/dist/python-BkR3uSy8.mjs +314 -0
- package/dist/python-BkR3uSy8.mjs.map +1 -0
- package/dist/python-D-iU6WXz.js +2 -0
- package/dist/python-D-iU6WXz.js.map +1 -0
- package/dist/q-DyHZGnqm.mjs +87 -0
- package/dist/q-DyHZGnqm.mjs.map +1 -0
- package/dist/q-al1YZWDo.js +2 -0
- package/dist/q-al1YZWDo.js.map +1 -0
- package/dist/r-Bz1d3XP0.mjs +105 -0
- package/dist/r-Bz1d3XP0.mjs.map +1 -0
- package/dist/r-C9Q2pnpu.js +2 -0
- package/dist/r-C9Q2pnpu.js.map +1 -0
- package/dist/rpm-IznJm2Xc.mjs +58 -0
- package/dist/rpm-IznJm2Xc.mjs.map +1 -0
- package/dist/rpm-YK81m3qU.js +2 -0
- package/dist/rpm-YK81m3qU.js.map +1 -0
- package/dist/ruby-CcYfvIk6.mjs +229 -0
- package/dist/ruby-CcYfvIk6.mjs.map +1 -0
- package/dist/ruby-Cn1sFkZF.js +2 -0
- package/dist/ruby-Cn1sFkZF.js.map +1 -0
- package/dist/sas-7E8yHoCW.mjs +106 -0
- package/dist/sas-7E8yHoCW.mjs.map +1 -0
- package/dist/sas-DAGcJy94.js +2 -0
- package/dist/sas-DAGcJy94.js.map +1 -0
- package/dist/scheme-B0ZrbojV.js +2 -0
- package/dist/scheme-B0ZrbojV.js.map +1 -0
- package/dist/scheme-DjibxsNh.mjs +125 -0
- package/dist/scheme-DjibxsNh.mjs.map +1 -0
- package/dist/shell-BMYo43V6.js +2 -0
- package/dist/shell-BMYo43V6.js.map +1 -0
- package/dist/shell-C0C2sNA_.mjs +183 -0
- package/dist/shell-C0C2sNA_.mjs.map +1 -0
- package/dist/sieve-Bwz7vjP5.mjs +73 -0
- package/dist/sieve-Bwz7vjP5.mjs.map +1 -0
- package/dist/sieve-CIYW-b_H.js +2 -0
- package/dist/sieve-CIYW-b_H.js.map +1 -0
- package/dist/simple-mode-BuOwkNTN.js +2 -0
- package/dist/simple-mode-BuOwkNTN.js.map +1 -0
- package/dist/simple-mode-mNVtnu0l.mjs +90 -0
- package/dist/simple-mode-mNVtnu0l.mjs.map +1 -0
- package/dist/smalltalk-Bhddl2pB.mjs +49 -0
- package/dist/smalltalk-Bhddl2pB.mjs.map +1 -0
- package/dist/smalltalk-CSslY-3i.js +2 -0
- package/dist/smalltalk-CSslY-3i.js.map +1 -0
- package/dist/solr-A1kSnAwJ.js +2 -0
- package/dist/solr-A1kSnAwJ.js.map +1 -0
- package/dist/solr-BNlsLglM.mjs +42 -0
- package/dist/solr-BNlsLglM.mjs.map +1 -0
- package/dist/sparql-DnHMBLLY.js +2 -0
- package/dist/sparql-DnHMBLLY.js.map +1 -0
- package/dist/sparql-FarWu_Gb.mjs +198 -0
- package/dist/sparql-FarWu_Gb.mjs.map +1 -0
- package/dist/spreadsheet-B7_BK8hB.js +2 -0
- package/dist/spreadsheet-B7_BK8hB.js.map +1 -0
- package/dist/spreadsheet-C-cy4P5N.mjs +50 -0
- package/dist/spreadsheet-C-cy4P5N.mjs.map +1 -0
- package/dist/sql-9VmIWHrZ.js +2 -0
- package/dist/sql-9VmIWHrZ.js.map +1 -0
- package/dist/sql-CfG5lQ3l.mjs +283 -0
- package/dist/sql-CfG5lQ3l.mjs.map +1 -0
- package/dist/stex-B4wyjEnp.js +2 -0
- package/dist/stex-B4wyjEnp.js.map +1 -0
- package/dist/stex-Du4h4KAU.mjs +130 -0
- package/dist/stex-Du4h4KAU.mjs.map +1 -0
- package/dist/store/wikiStore.d.ts +30 -0
- package/dist/style.css +1 -0
- package/dist/stylus-CAdqWld3.mjs +251 -0
- package/dist/stylus-CAdqWld3.mjs.map +1 -0
- package/dist/stylus-D6GYOT3Z.js +2 -0
- package/dist/stylus-D6GYOT3Z.js.map +1 -0
- package/dist/swift-DGw6Cgu8.js +2 -0
- package/dist/swift-DGw6Cgu8.js.map +1 -0
- package/dist/swift-DSxqR9R6.mjs +231 -0
- package/dist/swift-DSxqR9R6.mjs.map +1 -0
- package/dist/tcl-ByLXbQFo.js +2 -0
- package/dist/tcl-ByLXbQFo.js.map +1 -0
- package/dist/tcl-xfoLljhY.mjs +82 -0
- package/dist/tcl-xfoLljhY.mjs.map +1 -0
- package/dist/textile-D1AWE-pc.mjs +296 -0
- package/dist/textile-D1AWE-pc.mjs.map +1 -0
- package/dist/textile-iryw-lTw.js +2 -0
- package/dist/textile-iryw-lTw.js.map +1 -0
- package/dist/tiddlywiki-5wqsXtSk.mjs +156 -0
- package/dist/tiddlywiki-5wqsXtSk.mjs.map +1 -0
- package/dist/tiddlywiki-D8IJz1k7.js +2 -0
- package/dist/tiddlywiki-D8IJz1k7.js.map +1 -0
- package/dist/tiki-C5p5KSQK.js +2 -0
- package/dist/tiki-C5p5KSQK.js.map +1 -0
- package/dist/tiki-D9z-T0ea.mjs +179 -0
- package/dist/tiki-D9z-T0ea.mjs.map +1 -0
- package/dist/toml-CekOMZjo.js +2 -0
- package/dist/toml-CekOMZjo.js.map +1 -0
- package/dist/toml-DWAmxCjl.mjs +59 -0
- package/dist/toml-DWAmxCjl.mjs.map +1 -0
- package/dist/troff-D-3QCOYN.js +2 -0
- package/dist/troff-D-3QCOYN.js.map +1 -0
- package/dist/troff-D2UO-fKf.mjs +36 -0
- package/dist/troff-D2UO-fKf.mjs.map +1 -0
- package/dist/ttcn-Bsa4sfRm.mjs +124 -0
- package/dist/ttcn-Bsa4sfRm.mjs.map +1 -0
- package/dist/ttcn-C2MXAqcM.js +2 -0
- package/dist/ttcn-C2MXAqcM.js.map +1 -0
- package/dist/ttcn-cfg-BYqcMRxC.js +2 -0
- package/dist/ttcn-cfg-BYqcMRxC.js.map +1 -0
- package/dist/ttcn-cfg-Bac_acMi.mjs +89 -0
- package/dist/ttcn-cfg-Bac_acMi.mjs.map +1 -0
- package/dist/turtle-DSJNatSv.js +2 -0
- package/dist/turtle-DSJNatSv.js.map +1 -0
- package/dist/turtle-xwJUxoPV.mjs +81 -0
- package/dist/turtle-xwJUxoPV.mjs.map +1 -0
- package/dist/types.d.ts +14 -0
- package/dist/vb-c2kQGd6-.mjs +75 -0
- package/dist/vb-c2kQGd6-.mjs.map +1 -0
- package/dist/vb-qzHzzvyB.js +2 -0
- package/dist/vb-qzHzzvyB.js.map +1 -0
- package/dist/vbscript-1f_Dhg5H.mjs +325 -0
- package/dist/vbscript-1f_Dhg5H.mjs.map +1 -0
- package/dist/vbscript-CWm8v9tE.js +2 -0
- package/dist/vbscript-CWm8v9tE.js.map +1 -0
- package/dist/velocity-D3_yAIp3.js +2 -0
- package/dist/velocity-D3_yAIp3.js.map +1 -0
- package/dist/velocity-DJd0pTTC.mjs +97 -0
- package/dist/velocity-DJd0pTTC.mjs.map +1 -0
- package/dist/verilog-BOhLNmQo.js +2 -0
- package/dist/verilog-BOhLNmQo.js.map +1 -0
- package/dist/verilog-CiS1jyi5.mjs +263 -0
- package/dist/verilog-CiS1jyi5.mjs.map +1 -0
- package/dist/vhdl-CMFbi8Im.js +2 -0
- package/dist/vhdl-CMFbi8Im.js.map +1 -0
- package/dist/vhdl-T9HkrbI2.mjs +107 -0
- package/dist/vhdl-T9HkrbI2.mjs.map +1 -0
- package/dist/webidl-CWb_flNk.js +2 -0
- package/dist/webidl-CWb_flNk.js.map +1 -0
- package/dist/webidl-CjfDENEo.mjs +156 -0
- package/dist/webidl-CjfDENEo.mjs.map +1 -0
- package/dist/xquery-BUQdORAS.mjs +423 -0
- package/dist/xquery-BUQdORAS.mjs.map +1 -0
- package/dist/xquery-Cjw5fRnG.js +2 -0
- package/dist/xquery-Cjw5fRnG.js.map +1 -0
- package/dist/yacas-C0absKBh.mjs +74 -0
- package/dist/yacas-C0absKBh.mjs.map +1 -0
- package/dist/yacas-urx_N5C8.js +2 -0
- package/dist/yacas-urx_N5C8.js.map +1 -0
- package/dist/z80-CsG3CM6M.js +2 -0
- package/dist/z80-CsG3CM6M.js.map +1 -0
- package/dist/z80-Pki2zAjW.mjs +62 -0
- package/dist/z80-Pki2zAjW.mjs.map +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
function k(b) {
|
|
2
|
+
function h(t, n) {
|
|
3
|
+
t.cmdState.push(n);
|
|
4
|
+
}
|
|
5
|
+
function g(t) {
|
|
6
|
+
return t.cmdState.length > 0 ? t.cmdState[t.cmdState.length - 1] : null;
|
|
7
|
+
}
|
|
8
|
+
function p(t) {
|
|
9
|
+
var n = t.cmdState.pop();
|
|
10
|
+
n && n.closeBracket();
|
|
11
|
+
}
|
|
12
|
+
function s(t) {
|
|
13
|
+
for (var n = t.cmdState, e = n.length - 1; e >= 0; e--) {
|
|
14
|
+
var i = n[e];
|
|
15
|
+
if (i.name != "DEFAULT")
|
|
16
|
+
return i;
|
|
17
|
+
}
|
|
18
|
+
return { styleIdentifier: function() {
|
|
19
|
+
return null;
|
|
20
|
+
} };
|
|
21
|
+
}
|
|
22
|
+
function a(t, n, e) {
|
|
23
|
+
return function() {
|
|
24
|
+
this.name = t, this.bracketNo = 0, this.style = n, this.styles = e, this.argument = null, this.styleIdentifier = function() {
|
|
25
|
+
return this.styles[this.bracketNo - 1] || null;
|
|
26
|
+
}, this.openBracket = function() {
|
|
27
|
+
return this.bracketNo++, "bracket";
|
|
28
|
+
}, this.closeBracket = function() {
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
var r = {};
|
|
33
|
+
r.importmodule = a("importmodule", "tag", ["string", "builtin"]), r.documentclass = a("documentclass", "tag", ["", "atom"]), r.usepackage = a("usepackage", "tag", ["atom"]), r.begin = a("begin", "tag", ["atom"]), r.end = a("end", "tag", ["atom"]), r.label = a("label", "tag", ["atom"]), r.ref = a("ref", "tag", ["atom"]), r.eqref = a("eqref", "tag", ["atom"]), r.cite = a("cite", "tag", ["atom"]), r.bibitem = a("bibitem", "tag", ["atom"]), r.Bibitem = a("Bibitem", "tag", ["atom"]), r.RBibitem = a("RBibitem", "tag", ["atom"]), r.DEFAULT = function() {
|
|
34
|
+
this.name = "DEFAULT", this.style = "tag", this.styleIdentifier = this.openBracket = this.closeBracket = function() {
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
function f(t, n) {
|
|
38
|
+
t.f = n;
|
|
39
|
+
}
|
|
40
|
+
function l(t, n) {
|
|
41
|
+
var e;
|
|
42
|
+
if (t.match(/^\\[a-zA-Z@\xc0-\u1fff\u2060-\uffff]+/)) {
|
|
43
|
+
var i = t.current().slice(1);
|
|
44
|
+
return e = r.hasOwnProperty(i) ? r[i] : r.DEFAULT, e = new e(), h(n, e), f(n, d), e.style;
|
|
45
|
+
}
|
|
46
|
+
if (t.match(/^\\[$&%#{}_]/) || t.match(/^\\[,;!\/\\]/))
|
|
47
|
+
return "tag";
|
|
48
|
+
if (t.match("\\["))
|
|
49
|
+
return f(n, function(m, c) {
|
|
50
|
+
return o(m, c, "\\]");
|
|
51
|
+
}), "keyword";
|
|
52
|
+
if (t.match("\\("))
|
|
53
|
+
return f(n, function(m, c) {
|
|
54
|
+
return o(m, c, "\\)");
|
|
55
|
+
}), "keyword";
|
|
56
|
+
if (t.match("$$"))
|
|
57
|
+
return f(n, function(m, c) {
|
|
58
|
+
return o(m, c, "$$");
|
|
59
|
+
}), "keyword";
|
|
60
|
+
if (t.match("$"))
|
|
61
|
+
return f(n, function(m, c) {
|
|
62
|
+
return o(m, c, "$");
|
|
63
|
+
}), "keyword";
|
|
64
|
+
var u = t.next();
|
|
65
|
+
if (u == "%")
|
|
66
|
+
return t.skipToEnd(), "comment";
|
|
67
|
+
if (u == "}" || u == "]") {
|
|
68
|
+
if (e = g(n), e)
|
|
69
|
+
e.closeBracket(u), f(n, d);
|
|
70
|
+
else
|
|
71
|
+
return "error";
|
|
72
|
+
return "bracket";
|
|
73
|
+
} else return u == "{" || u == "[" ? (e = r.DEFAULT, e = new e(), h(n, e), "bracket") : /\d/.test(u) ? (t.eatWhile(/[\w.%]/), "atom") : (t.eatWhile(/[\w\-_]/), e = s(n), e.name == "begin" && (e.argument = t.current()), e.styleIdentifier());
|
|
74
|
+
}
|
|
75
|
+
function o(t, n, e) {
|
|
76
|
+
if (t.eatSpace())
|
|
77
|
+
return null;
|
|
78
|
+
if (e && t.match(e))
|
|
79
|
+
return f(n, l), "keyword";
|
|
80
|
+
if (t.match(/^\\[a-zA-Z@]+/))
|
|
81
|
+
return "tag";
|
|
82
|
+
if (t.match(/^[a-zA-Z]+/))
|
|
83
|
+
return "variableName.special";
|
|
84
|
+
if (t.match(/^\\[$&%#{}_]/) || t.match(/^\\[,;!\/]/) || t.match(/^[\^_&]/))
|
|
85
|
+
return "tag";
|
|
86
|
+
if (t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))
|
|
87
|
+
return null;
|
|
88
|
+
if (t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))
|
|
89
|
+
return "number";
|
|
90
|
+
var i = t.next();
|
|
91
|
+
return i == "{" || i == "}" || i == "[" || i == "]" || i == "(" || i == ")" ? "bracket" : i == "%" ? (t.skipToEnd(), "comment") : "error";
|
|
92
|
+
}
|
|
93
|
+
function d(t, n) {
|
|
94
|
+
var e = t.peek(), i;
|
|
95
|
+
return e == "{" || e == "[" ? (i = g(n), i.openBracket(e), t.eat(e), f(n, l), "bracket") : /[ \t\r]/.test(e) ? (t.eat(e), null) : (f(n, l), p(n), l(t, n));
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
name: "stex",
|
|
99
|
+
startState: function() {
|
|
100
|
+
var t = b ? function(n, e) {
|
|
101
|
+
return o(n, e);
|
|
102
|
+
} : l;
|
|
103
|
+
return {
|
|
104
|
+
cmdState: [],
|
|
105
|
+
f: t
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
copyState: function(t) {
|
|
109
|
+
return {
|
|
110
|
+
cmdState: t.cmdState.slice(),
|
|
111
|
+
f: t.f
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
token: function(t, n) {
|
|
115
|
+
return n.f(t, n);
|
|
116
|
+
},
|
|
117
|
+
blankLine: function(t) {
|
|
118
|
+
t.f = l, t.cmdState.length = 0;
|
|
119
|
+
},
|
|
120
|
+
languageData: {
|
|
121
|
+
commentTokens: { line: "%" }
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
const y = k(!1);
|
|
126
|
+
k(!0);
|
|
127
|
+
export {
|
|
128
|
+
y as stex
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=stex-Du4h4KAU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stex-Du4h4KAU.mjs","sources":["../node_modules/@codemirror/legacy-modes/mode/stex.js"],"sourcesContent":["function mkStex(mathMode) {\n function pushCommand(state, command) {\n state.cmdState.push(command);\n }\n\n function peekCommand(state) {\n if (state.cmdState.length > 0) {\n return state.cmdState[state.cmdState.length - 1];\n } else {\n return null;\n }\n }\n\n function popCommand(state) {\n var plug = state.cmdState.pop();\n if (plug) {\n plug.closeBracket();\n }\n }\n\n // returns the non-default plugin closest to the end of the list\n function getMostPowerful(state) {\n var context = state.cmdState;\n for (var i = context.length - 1; i >= 0; i--) {\n var plug = context[i];\n if (plug.name == \"DEFAULT\") {\n continue;\n }\n return plug;\n }\n return { styleIdentifier: function() { return null; } };\n }\n\n function addPluginPattern(pluginName, cmdStyle, styles) {\n return function () {\n this.name = pluginName;\n this.bracketNo = 0;\n this.style = cmdStyle;\n this.styles = styles;\n this.argument = null; // \\begin and \\end have arguments that follow. These are stored in the plugin\n\n this.styleIdentifier = function() {\n return this.styles[this.bracketNo - 1] || null;\n };\n this.openBracket = function() {\n this.bracketNo++;\n return \"bracket\";\n };\n this.closeBracket = function() {};\n };\n }\n\n var plugins = {};\n\n plugins[\"importmodule\"] = addPluginPattern(\"importmodule\", \"tag\", [\"string\", \"builtin\"]);\n plugins[\"documentclass\"] = addPluginPattern(\"documentclass\", \"tag\", [\"\", \"atom\"]);\n plugins[\"usepackage\"] = addPluginPattern(\"usepackage\", \"tag\", [\"atom\"]);\n plugins[\"begin\"] = addPluginPattern(\"begin\", \"tag\", [\"atom\"]);\n plugins[\"end\"] = addPluginPattern(\"end\", \"tag\", [\"atom\"]);\n\n plugins[\"label\" ] = addPluginPattern(\"label\" , \"tag\", [\"atom\"]);\n plugins[\"ref\" ] = addPluginPattern(\"ref\" , \"tag\", [\"atom\"]);\n plugins[\"eqref\" ] = addPluginPattern(\"eqref\" , \"tag\", [\"atom\"]);\n plugins[\"cite\" ] = addPluginPattern(\"cite\" , \"tag\", [\"atom\"]);\n plugins[\"bibitem\" ] = addPluginPattern(\"bibitem\" , \"tag\", [\"atom\"]);\n plugins[\"Bibitem\" ] = addPluginPattern(\"Bibitem\" , \"tag\", [\"atom\"]);\n plugins[\"RBibitem\" ] = addPluginPattern(\"RBibitem\" , \"tag\", [\"atom\"]);\n\n plugins[\"DEFAULT\"] = function () {\n this.name = \"DEFAULT\";\n this.style = \"tag\";\n\n this.styleIdentifier = this.openBracket = this.closeBracket = function() {};\n };\n\n function setState(state, f) {\n state.f = f;\n }\n\n // called when in a normal (no environment) context\n function normal(source, state) {\n var plug;\n // Do we look like '\\command' ? If so, attempt to apply the plugin 'command'\n if (source.match(/^\\\\[a-zA-Z@\\xc0-\\u1fff\\u2060-\\uffff]+/)) {\n var cmdName = source.current().slice(1);\n plug = plugins.hasOwnProperty(cmdName) ? plugins[cmdName] : plugins[\"DEFAULT\"];\n plug = new plug();\n pushCommand(state, plug);\n setState(state, beginParams);\n return plug.style;\n }\n\n // escape characters\n if (source.match(/^\\\\[$&%#{}_]/)) {\n return \"tag\";\n }\n\n // white space control characters\n if (source.match(/^\\\\[,;!\\/\\\\]/)) {\n return \"tag\";\n }\n\n // find if we're starting various math modes\n if (source.match(\"\\\\[\")) {\n setState(state, function(source, state){ return inMathMode(source, state, \"\\\\]\"); });\n return \"keyword\";\n }\n if (source.match(\"\\\\(\")) {\n setState(state, function(source, state){ return inMathMode(source, state, \"\\\\)\"); });\n return \"keyword\";\n }\n if (source.match(\"$$\")) {\n setState(state, function(source, state){ return inMathMode(source, state, \"$$\"); });\n return \"keyword\";\n }\n if (source.match(\"$\")) {\n setState(state, function(source, state){ return inMathMode(source, state, \"$\"); });\n return \"keyword\";\n }\n\n var ch = source.next();\n if (ch == \"%\") {\n source.skipToEnd();\n return \"comment\";\n } else if (ch == '}' || ch == ']') {\n plug = peekCommand(state);\n if (plug) {\n plug.closeBracket(ch);\n setState(state, beginParams);\n } else {\n return \"error\";\n }\n return \"bracket\";\n } else if (ch == '{' || ch == '[') {\n plug = plugins[\"DEFAULT\"];\n plug = new plug();\n pushCommand(state, plug);\n return \"bracket\";\n } else if (/\\d/.test(ch)) {\n source.eatWhile(/[\\w.%]/);\n return \"atom\";\n } else {\n source.eatWhile(/[\\w\\-_]/);\n plug = getMostPowerful(state);\n if (plug.name == 'begin') {\n plug.argument = source.current();\n }\n return plug.styleIdentifier();\n }\n }\n\n function inMathMode(source, state, endModeSeq) {\n if (source.eatSpace()) {\n return null;\n }\n if (endModeSeq && source.match(endModeSeq)) {\n setState(state, normal);\n return \"keyword\";\n }\n if (source.match(/^\\\\[a-zA-Z@]+/)) {\n return \"tag\";\n }\n if (source.match(/^[a-zA-Z]+/)) {\n return \"variableName.special\";\n }\n // escape characters\n if (source.match(/^\\\\[$&%#{}_]/)) {\n return \"tag\";\n }\n // white space control characters\n if (source.match(/^\\\\[,;!\\/]/)) {\n return \"tag\";\n }\n // special math-mode characters\n if (source.match(/^[\\^_&]/)) {\n return \"tag\";\n }\n // non-special characters\n if (source.match(/^[+\\-<>|=,\\/@!*:;'\"`~#?]/)) {\n return null;\n }\n if (source.match(/^(\\d+\\.\\d*|\\d*\\.\\d+|\\d+)/)) {\n return \"number\";\n }\n var ch = source.next();\n if (ch == \"{\" || ch == \"}\" || ch == \"[\" || ch == \"]\" || ch == \"(\" || ch == \")\") {\n return \"bracket\";\n }\n\n if (ch == \"%\") {\n source.skipToEnd();\n return \"comment\";\n }\n return \"error\";\n }\n\n function beginParams(source, state) {\n var ch = source.peek(), lastPlug;\n if (ch == '{' || ch == '[') {\n lastPlug = peekCommand(state);\n lastPlug.openBracket(ch);\n source.eat(ch);\n setState(state, normal);\n return \"bracket\";\n }\n if (/[ \\t\\r]/.test(ch)) {\n source.eat(ch);\n return null;\n }\n setState(state, normal);\n popCommand(state);\n\n return normal(source, state);\n }\n\n return {\n name: \"stex\",\n startState: function() {\n var f = mathMode ? function(source, state){ return inMathMode(source, state); } : normal;\n return {\n cmdState: [],\n f: f\n };\n },\n copyState: function(s) {\n return {\n cmdState: s.cmdState.slice(),\n f: s.f\n };\n },\n token: function(stream, state) {\n return state.f(stream, state);\n },\n blankLine: function(state) {\n state.f = normal;\n state.cmdState.length = 0;\n },\n languageData: {\n commentTokens: {line: \"%\"}\n }\n };\n};\n\nexport const stex = mkStex(false)\nexport const stexMath = mkStex(true)\n"],"names":["mkStex","mathMode","pushCommand","state","command","peekCommand","popCommand","plug","getMostPowerful","context","i","addPluginPattern","pluginName","cmdStyle","styles","plugins","setState","f","normal","source","cmdName","beginParams","inMathMode","ch","endModeSeq","lastPlug","s","stream","stex"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PageCache } from '../types';
|
|
2
|
+
|
|
3
|
+
interface WikiState {
|
|
4
|
+
cache: PageCache;
|
|
5
|
+
currentPage: string | null;
|
|
6
|
+
isEditMode: boolean;
|
|
7
|
+
editContent: string;
|
|
8
|
+
pages: string[];
|
|
9
|
+
setCache: (pageName: string, content: string) => void;
|
|
10
|
+
getCache: (pageName: string) => string | undefined;
|
|
11
|
+
clearCache: (pageName: string) => void;
|
|
12
|
+
setCurrentPage: (pageName: string) => void;
|
|
13
|
+
setEditMode: (isEdit: boolean) => void;
|
|
14
|
+
setEditContent: (content: string) => void;
|
|
15
|
+
setPages: (pages: string[]) => void;
|
|
16
|
+
addPage: (pageName: string) => void;
|
|
17
|
+
removePage: (pageName: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useWikiStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<WikiState>, "persist"> & {
|
|
20
|
+
persist: {
|
|
21
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<WikiState, unknown>>) => void;
|
|
22
|
+
clearStorage: () => void;
|
|
23
|
+
rehydrate: () => Promise<void> | void;
|
|
24
|
+
hasHydrated: () => boolean;
|
|
25
|
+
onHydrate: (fn: (state: WikiState) => void) => () => void;
|
|
26
|
+
onFinishHydration: (fn: (state: WikiState) => void) => () => void;
|
|
27
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<WikiState, unknown>>;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
export {};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.md-editor-toolbar{padding:4px 2px 4px 5px;border-radius:3px 3px 0 0;display:flex;flex-wrap:wrap;gap:4px;align-items:center}.md-editor-toolbar-warp{display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;flex-wrap:wrap}.md-editor-toolbar-warp:not(.md-editor-toolbar-bottom){border-bottom:1px solid var(--color-border-muted)}.md-editor-toolbar-bottom{border-top:1px solid var(--color-border-muted);border-radius:0 0 3px 3px}.md-editor-toolbar button{background:none;border:none;cursor:pointer;outline:0;display:inline-block;height:20px;width:20px;padding:0;border-radius:2px;transition:all .3s;display:flex;justify-content:center;align-items:center;color:var(--color-fg-default)}.md-editor-toolbar button:hover{color:var(--color-accent-fg);background-color:var(--color-neutral-muted)}.md-editor-toolbar button.active{color:var(--color-prettylights-syntax-constant);background-color:var(--color-neutral-muted)}.md-editor-toolbar button:active{color:var(--color-danger-fg);background-color:var(--color-neutral-muted)}.md-editor-toolbar button svg{vertical-align:middle}.md-editor-toolbar-mode{padding-right:5px}[data-color-mode*=dark] .md-editor{--color-border-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 rgba(255, 255, 255, 0), 0 1px 1px rgba(255, 255, 255, .2)}[data-color-mode*=light] .md-editor{--color-border-shadow: 0 0 0 1px rgba(16, 22, 26, .1), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, .2)}.md-editor{color:var(--color-fg-default);box-shadow:var(--color-border-shadow);text-align:left;border-radius:3px;position:relative;display:flex;flex-direction:column;background-color:var(--color-canvas-subtle)}.md-editor-content{position:relative;flex:1;overflow:auto}.md-editor-fullscreen .md-editor{border-radius:0}.md-editor-fullscreen{z-index:999;position:fixed;top:0;bottom:0;left:0;right:0}.md-editor-fullscreen .md-editor-toolbar{border-radius:0}.md-editor-preview{padding:20px;width:0%;overflow:hidden;border-left:0;position:absolute;right:0;top:0;bottom:0;box-sizing:border-box;background-color:var(--color-canvas-default)}.md-editor h1 a,.md-editor h2 a,.md-editor h3 a,.md-editor h4 a,.md-editor h5 a,.md-editor h6 a{display:none}@media (prefers-color-scheme: dark){.wmde-markdown,.wmde-markdown-var{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-copied-active-bg: #2e9b33}}@media (prefers-color-scheme: light){.wmde-markdown,.wmde-markdown-var{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-copied-active-bg: #2e9b33}}[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],body[data-color-mode*=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],body[data-color-mode*=light]{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.wmde-markdown{-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word;color:var(--color-fg-default);background-color:var(--color-canvas-default)}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{display:inline-block;border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{box-sizing:content-box;overflow:hidden;background:transparent;border:0;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default)}.wmde-markdown input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:before{display:table;content:""}.wmde-markdown hr:after{display:table;clear:both;content:""}.wmde-markdown table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>*:not(summary){display:none!important}.wmde-markdown kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.wmde-markdown h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown h3{font-weight:600;font-size:1.25em}.wmde-markdown h4{font-weight:600;font-size:1em}.wmde-markdown h5{font-weight:600;font-size:.875em}.wmde-markdown h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.wmde-markdown p{margin-top:0;margin-bottom:10px}.wmde-markdown blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.wmde-markdown ul,.wmde-markdown ol{margin-top:0;margin-bottom:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ul ul ol,.wmde-markdown ul ol ol,.wmde-markdown ol ul ol,.wmde-markdown ol ol ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown tt,.wmde-markdown code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.wmde-markdown .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-outer-spin-button,.wmde-markdown input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:before{display:table;content:""}.wmde-markdown:after{display:table;clear:both;content:""}.wmde-markdown>*:first-child{margin-top:0!important}.wmde-markdown>*:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown p,.wmde-markdown blockquote,.wmde-markdown ul,.wmde-markdown ol,.wmde-markdown dl,.wmde-markdown table,.wmde-markdown pre,.wmde-markdown details{margin-top:0;margin-bottom:16px}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 tt,.wmde-markdown h1 code,.wmde-markdown h2 tt,.wmde-markdown h2 code,.wmde-markdown h3 tt,.wmde-markdown h3 code,.wmde-markdown h4 tt,.wmde-markdown h4 code,.wmde-markdown h5 tt,.wmde-markdown h5 code,.wmde-markdown h6 tt,.wmde-markdown h6 code{padding:0 .2em;font-size:inherit}.wmde-markdown ul.no-list,.wmde-markdown ol.no-list{padding:0;list-style-type:none}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ul ul,.wmde-markdown ul ol,.wmde-markdown ol ol,.wmde-markdown ol ul{margin-top:0;margin-bottom:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.wmde-markdown dl dd{padding:0 16px;margin-bottom:16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table th,.wmde-markdown table td{padding:6px 13px;border:1px solid var(--color-border-default)}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.wmde-markdown span.align-center{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.wmde-markdown pre{font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.wmde-markdown pre code,.wmde-markdown pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.wmde-markdown pre>code{padding:16px;overflow:auto;display:block}.wmde-markdown pre>code::-webkit-scrollbar{background:transparent;width:8px;height:8px}.wmde-markdown pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.wmde-markdown .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .task-list-item-checkbox,.wmde-markdown .contains-task-list input[type=checkbox]{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{visibility:hidden;display:flex;position:absolute;cursor:pointer;color:var(--color-fg-default);top:6px;right:6px;border-radius:5px;background:var(--color-border-default);padding:6px;font-size:12px;transition:all .3s}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre:hover .copied:active,.wmde-markdown pre .copied.active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.wmde-markdown .markdown-alert{padding:.5rem 1em;color:inherit;margin-bottom:16px;border-left:.25em solid var(--borderColor-default, var(--color-border-default))}.wmde-markdown .markdown-alert>:last-child{margin-bottom:0!important}.wmde-markdown .markdown-alert .markdown-alert-title{display:flex;align-items:center;line-height:1;font-weight:500;font-size:14px}.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon{margin-right:var(--base-size-8, 8px)!important}.wmde-markdown .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent, var(--color-accent-fg))}.wmde-markdown .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success, var(--color-success-fg))}.wmde-markdown .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done, var(--color-done-fg))}.wmde-markdown .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis, var(--color-attention-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention, var(--color-attention-fg))}.wmde-markdown .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger, var(--color-danger-fg))}.wmde-markdown .highlight-line{background-color:var(--color-neutral-muted)}.wmde-markdown .code-line.line-number:before{display:inline-block;width:1rem;text-align:right;margin-right:16px;color:var(--color-fg-subtle);content:attr(line);white-space:nowrap}.wmde-markdown .token.comment,.wmde-markdown .token.prolog,.wmde-markdown .token.doctype,.wmde-markdown .token.cdata{color:var(--color-prettylights-syntax-comment)}.wmde-markdown .token.namespace{opacity:.7}.wmde-markdown .token.property,.wmde-markdown .token.tag,.wmde-markdown .token.selector,.wmde-markdown .token.constant,.wmde-markdown .token.symbol,.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-entity-tag)}.wmde-markdown .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.wmde-markdown .token.property-access,.wmde-markdown .token.operator,.wmde-markdown .token.boolean,.wmde-markdown .token.number,.wmde-markdown .token.selector .token.class,.wmde-markdown .token.attr-name,.wmde-markdown .token.string,.wmde-markdown .token.char,.wmde-markdown .token.builtin{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.wmde-markdown .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.wmde-markdown .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.wmde-markdown .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.wmde-markdown .token.variable{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.entity,.wmde-markdown .token.url,.wmde-markdown .language-css .token.string,.wmde-markdown .style .token.string,.wmde-markdown .token.color,.wmde-markdown .token.atrule,.wmde-markdown .token.attr-value,.wmde-markdown .token.function,.wmde-markdown .token.class-name{color:var(--color-prettylights-syntax-string)}.wmde-markdown .token.rule,.wmde-markdown .token.regex,.wmde-markdown .token.important,.wmde-markdown .token.keyword{color:var(--color-prettylights-syntax-keyword)}.wmde-markdown .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.wmde-markdown .token.important,.wmde-markdown .token.bold{font-weight:700}.wmde-markdown .token.italic{font-style:italic}.wmde-markdown .token.entity{cursor:help}:root{--ibm-blue-60: #0f62fe;--ibm-blue-70: #0043ce;--ibm-gray-10: #f4f4f4;--ibm-gray-20: #e0e0e0;--ibm-gray-30: #c6c6c6;--ibm-gray-70: #525252;--ibm-gray-80: #393939;--ibm-gray-100: #161616;--ibm-red-60: #da1e28;--ibm-red-70: #a2191f;--color-bg-primary: #ffffff;--color-bg-secondary: var(--ibm-gray-10);--color-bg-hover: var(--ibm-gray-20);--color-border: var(--ibm-gray-20);--color-text-primary: var(--ibm-gray-100);--color-text-secondary: var(--ibm-gray-70);--color-interactive: var(--ibm-blue-60);--color-interactive-hover: var(--ibm-blue-70);--color-danger: var(--ibm-red-60);--color-danger-hover: var(--ibm-red-70);--spacing-01: 2px;--spacing-02: 4px;--spacing-03: 8px;--spacing-04: 16px;--spacing-05: 24px;--spacing-06: 32px;--spacing-07: 40px;--spacing-08: 48px;--font-sans: "IBM Plex Sans", system-ui, sans-serif;--font-mono: "IBM Plex Mono", monospace;--shadow-layer-1: 0 1px 3px 0 rgba(22, 22, 22, .08);--shadow-layer-2: 0 4px 8px 0 rgba(22, 22, 22, .12)}*{box-sizing:border-box}:focus-visible{outline:2px solid var(--ibm-blue-60);outline-offset:2px}html,body,#root{height:100%;margin:0;padding:0;overflow:hidden}.wiki-container{display:flex;height:100%;font-family:var(--font-sans);color:var(--color-text-primary);background:var(--color-bg-primary)}.wiki-sidebar{background:var(--color-bg-secondary);border-right:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.wiki-sidebar-header{padding:var(--spacing-03) var(--spacing-04);border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center}.wiki-sidebar-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.32px;color:var(--color-text-secondary)}.wiki-sidebar-list{flex:1;overflow-y:visible;padding:var(--spacing-03) 0}.wiki-page-item{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-03) var(--spacing-04);cursor:pointer;transition:background 70ms cubic-bezier(0,0,.38,.9);font-size:14px;color:var(--color-text-primary)}.wiki-page-item:hover{background:var(--color-bg-hover)}.wiki-page-item.active{background:var(--color-interactive);color:#fff}.wiki-page-item.active:hover{background:var(--color-interactive-hover)}.wiki-page-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wiki-delete-btn{opacity:0;background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:var(--color-danger);transition:opacity 70ms}.wiki-page-item:hover .wiki-delete-btn{opacity:1}.wiki-delete-btn:hover{color:var(--color-danger-hover)}.wiki-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.wiki-toolbar{display:flex;gap:var(--spacing-03);padding:var(--spacing-03) var(--spacing-04);border-bottom:1px solid var(--color-border);background:var(--color-bg-primary);box-shadow:var(--shadow-layer-1)}.wiki-toolbar-bottom{border-bottom:none;border-top:1px solid var(--color-border);justify-content:flex-end}.wiki-content{flex:1;overflow:hidden;padding:0;display:flex;flex-direction:column;min-height:0}.wiki-content-view{padding:var(--spacing-06);overflow-y:auto}.wiki-content-edit{padding:0;overflow:hidden}.wiki-btn{display:inline-flex;align-items:center;gap:var(--spacing-02);padding:var(--spacing-03) var(--spacing-04);font-size:14px;font-weight:400;border:none;cursor:pointer;transition:background 70ms cubic-bezier(0,0,.38,.9);outline:none;font-family:var(--font-sans)}.wiki-btn-primary{background:var(--color-interactive);color:#fff}.wiki-btn-primary:hover{background:var(--color-interactive-hover)}.wiki-btn-secondary{background:transparent;color:var(--color-text-primary);border:1px solid var(--color-border)}.wiki-btn-secondary:hover{background:var(--color-bg-hover)}.wiki-btn-ghost{background:transparent;color:var(--color-text-primary)}.wiki-btn-ghost:hover{background:var(--color-bg-hover)}.wiki-btn-icon{padding:var(--spacing-sm);background:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text-primary)}.wiki-btn-icon:hover{background:var(--color-bg-hover)}.wiki-editor-wrapper{flex:1;display:flex;flex-direction:column;min-height:0;overflow:auto}.wiki-editor-wrapper .w-md-editor{flex:1;border:none;font-family:IBM Plex Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:auto}.wiki-editor-wrapper .w-md-editor-toolbar{background:var(--color-bg-secondary);border-bottom:1px solid var(--color-border);padding:var(--spacing-03)}.wiki-editor-wrapper .w-md-editor-content{background:#fff!important}.wiki-editor-wrapper .w-md-editor-text{font-family:var(--font-sans);font-size:14px;line-height:1.6;color:var(--color-text-primary);background:#fff!important}.wiki-editor-wrapper .w-md-editor-text-pre,.wiki-editor-wrapper .w-md-editor-input,.wiki-editor-wrapper .cm-editor{background:#fff!important}.wiki-editor-wrapper .cm-scroller{background:#fff!important;overflow:auto!important}.wiki-editor-wrapper .w-md-editor-text-pre>code{font-family:var(--font-mono)}.wiki-editor{width:100%;flex:1;padding:0;font-family:var(--font-sans);font-size:14px;border:none;outline:none;resize:none;line-height:1.6;background:transparent;color:var(--color-text-primary)}.wiki-editor:focus{outline:none}.wiki-markdown{max-width:800px;line-height:1.6;cursor:text}.wiki-markdown:hover{background:#0f62fe05}.wiki-markdown h1{font-size:32px;font-weight:400;margin-bottom:var(--spacing-05);border-bottom:1px solid var(--color-border);padding-bottom:var(--spacing-03)}.wiki-markdown h2{font-size:24px;font-weight:400;margin-top:var(--spacing-06);margin-bottom:var(--spacing-04)}.wiki-markdown h3{font-size:20px;font-weight:400;margin-top:var(--spacing-05);margin-bottom:var(--spacing-03)}.wiki-markdown p{margin-bottom:var(--spacing-04)}.wiki-markdown code{background:var(--color-bg-secondary);padding:var(--spacing-01) 6px;border-radius:2px;font-family:var(--font-mono);font-size:13px}.wiki-markdown pre{background:var(--color-bg-secondary);padding:var(--spacing-04);border-radius:2px;overflow-x:auto;margin-bottom:var(--spacing-04)}.wiki-markdown pre code{background:none;padding:0}.wiki-markdown ul,.wiki-markdown ol{margin-bottom:var(--spacing-04);padding-left:var(--spacing-05)}.wiki-markdown li{margin-bottom:var(--spacing-02)}.wiki-markdown a{color:var(--color-interactive);text-decoration:none}.wiki-markdown a:hover{text-decoration:underline}.wiki-markdown blockquote{border-left:4px solid var(--color-border);padding-left:var(--spacing-04);margin-left:0;color:var(--color-text-secondary)}.wiki-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#16161680;display:flex;align-items:center;justify-content:center;z-index:1000}.wiki-modal{background:var(--color-bg-primary);border:1px solid var(--color-border);min-width:400px;max-width:600px}.wiki-modal-header{padding:var(--spacing-03) var(--spacing-04);border-bottom:1px solid var(--color-border)}.wiki-modal-title{font-size:16px;font-weight:400;margin:0}.wiki-modal-body{padding:var(--spacing-04)}.wiki-modal-footer{padding:var(--spacing-04);border-top:1px solid var(--color-border);display:flex;gap:var(--spacing-03);justify-content:flex-end}.wiki-input{width:100%;padding:var(--spacing-03) var(--spacing-04);font-size:14px;border:none;border-bottom:1px solid var(--color-border);outline:none;background:var(--color-bg-primary);transition:border-color 70ms;font-family:var(--font-sans)}.wiki-input:focus{border-bottom-color:var(--color-interactive)}.wiki-label{display:block;font-size:12px;font-weight:400;margin-bottom:var(--spacing-02);color:var(--color-text-secondary);font-family:var(--font-sans)}.wiki-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--color-text-secondary);text-align:center}.wiki-empty-title{font-size:20px;margin-bottom:var(--spacing-03);font-family:var(--font-sans)}.wiki-empty-text{font-size:14px}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var B = ["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"], $ = ["domain", "regexp", "url-prefix", "url"], R = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"], I = ["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", "dynamic-range", "video-dynamic-range"], O = ["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"], W = ["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"], C = ["font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"], N = ["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"], S = ["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", "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", "conic-gradient", "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", "high", "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-play-button", "media-slider", "media-sliderthumb", "media-volume-slider", "media-volume-sliderthumb", "medium", "menu", "menulist", "menulist-button", "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", "repeating-conic-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", "standard", "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"], T = ["in", "and", "or", "not", "is not", "is a", "is", "isnt", "defined", "if unless"], E = ["for", "if", "else", "unless", "from", "to"], U = ["null", "true", "false", "href", "title", "type", "not-allowed", "readonly", "disabled"], A = ["@font-face", "@keyframes", "@media", "@viewport", "@page", "@host", "@supports", "@block", "@css"], G = B.concat(
|
|
2
|
+
$,
|
|
3
|
+
R,
|
|
4
|
+
I,
|
|
5
|
+
O,
|
|
6
|
+
W,
|
|
7
|
+
N,
|
|
8
|
+
S,
|
|
9
|
+
C,
|
|
10
|
+
T,
|
|
11
|
+
E,
|
|
12
|
+
U,
|
|
13
|
+
A
|
|
14
|
+
);
|
|
15
|
+
function F(i) {
|
|
16
|
+
return i = i.sort(function(e, r) {
|
|
17
|
+
return r > e;
|
|
18
|
+
}), new RegExp("^((" + i.join(")|(") + "))\\b");
|
|
19
|
+
}
|
|
20
|
+
function p(i) {
|
|
21
|
+
for (var e = {}, r = 0; r < i.length; ++r) e[i[r]] = !0;
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
function H(i) {
|
|
25
|
+
return i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
26
|
+
}
|
|
27
|
+
var J = p(B), j = /^(a|b|i|s|col|em)$/i, Q = p(O), ee = p(W), ie = p(S), re = p(N), ne = p($), oe = F($), te = p(I), ae = p(R), le = p(C), ce = /^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/, de = F(T), se = p(E), X = new RegExp(/^\-(moz|ms|o|webkit)-/i), ue = p(U), q = "", c = {}, g, m, P, t;
|
|
28
|
+
function fe(i, e) {
|
|
29
|
+
if (q = i.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/), e.context.line.firstWord = q ? q[0].replace(/^\s*/, "") : "", e.context.line.indent = i.indentation(), g = i.peek(), i.match("//"))
|
|
30
|
+
return i.skipToEnd(), ["comment", "comment"];
|
|
31
|
+
if (i.match("/*"))
|
|
32
|
+
return e.tokenize = K, K(i, e);
|
|
33
|
+
if (g == '"' || g == "'")
|
|
34
|
+
return i.next(), e.tokenize = Y(g), e.tokenize(i, e);
|
|
35
|
+
if (g == "@")
|
|
36
|
+
return i.next(), i.eatWhile(/[\w\\-]/), ["def", i.current()];
|
|
37
|
+
if (g == "#") {
|
|
38
|
+
if (i.next(), i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))
|
|
39
|
+
return ["atom", "atom"];
|
|
40
|
+
if (i.match(/^[a-z][\w-]*/i))
|
|
41
|
+
return ["builtin", "hash"];
|
|
42
|
+
}
|
|
43
|
+
return i.match(X) ? ["meta", "vendor-prefixes"] : i.match(/^-?[0-9]?\.?[0-9]/) ? (i.eatWhile(/[a-z%]/i), ["number", "unit"]) : g == "!" ? (i.next(), [i.match(/^(important|optional)/i) ? "keyword" : "operator", "important"]) : g == "." && i.match(/^\.[a-z][\w-]*/i) ? ["qualifier", "qualifier"] : i.match(oe) ? (i.peek() == "(" && (e.tokenize = pe), ["property", "word"]) : i.match(/^[a-z][\w-]*\(/i) ? (i.backUp(1), ["keyword", "mixin"]) : i.match(/^(\+|-)[a-z][\w-]*\(/i) ? (i.backUp(1), ["keyword", "block-mixin"]) : i.string.match(/^\s*&/) && i.match(/^[-_]+[a-z][\w-]*/) ? ["qualifier", "qualifier"] : i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/) ? (i.backUp(1), ["variableName.special", "reference"]) : i.match(/^&{1}\s*$/) ? ["variableName.special", "reference"] : i.match(de) ? ["operator", "operator"] : i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i) ? i.match(/^(\.|\[)[\w-\'\"\]]+/i, !1) && !b(i.current()) ? (i.match("."), ["variable", "variable-name"]) : ["variable", "word"] : i.match(ce) ? ["operator", i.current()] : /[:;,{}\[\]\(\)]/.test(g) ? (i.next(), [null, g]) : (i.next(), [null, null]);
|
|
44
|
+
}
|
|
45
|
+
function K(i, e) {
|
|
46
|
+
for (var r = !1, o; (o = i.next()) != null; ) {
|
|
47
|
+
if (r && o == "/") {
|
|
48
|
+
e.tokenize = null;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
r = o == "*";
|
|
52
|
+
}
|
|
53
|
+
return ["comment", "comment"];
|
|
54
|
+
}
|
|
55
|
+
function Y(i) {
|
|
56
|
+
return function(e, r) {
|
|
57
|
+
for (var o = !1, l; (l = e.next()) != null; ) {
|
|
58
|
+
if (l == i && !o) {
|
|
59
|
+
i == ")" && e.backUp(1);
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
o = !o && l == "\\";
|
|
63
|
+
}
|
|
64
|
+
return (l == i || !o && i != ")") && (r.tokenize = null), ["string", "string"];
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function pe(i, e) {
|
|
68
|
+
return i.next(), i.match(/\s*[\"\')]/, !1) ? e.tokenize = null : e.tokenize = Y(")"), [null, "("];
|
|
69
|
+
}
|
|
70
|
+
function Z(i, e, r, o) {
|
|
71
|
+
this.type = i, this.indent = e, this.prev = r, this.line = o || { firstWord: "", indent: 0 };
|
|
72
|
+
}
|
|
73
|
+
function n(i, e, r, o) {
|
|
74
|
+
return o = o >= 0 ? o : e.indentUnit, i.context = new Z(r, e.indentation() + o, i.context), r;
|
|
75
|
+
}
|
|
76
|
+
function v(i, e, r) {
|
|
77
|
+
var o = i.context.indent - e.indentUnit;
|
|
78
|
+
return r = r || !1, i.context = i.context.prev, r && (i.context.indent = o), i.context.type;
|
|
79
|
+
}
|
|
80
|
+
function he(i, e, r) {
|
|
81
|
+
return c[r.context.type](i, e, r);
|
|
82
|
+
}
|
|
83
|
+
function _(i, e, r, o) {
|
|
84
|
+
for (var l = 1; l > 0; l--)
|
|
85
|
+
r.context = r.context.prev;
|
|
86
|
+
return he(i, e, r);
|
|
87
|
+
}
|
|
88
|
+
function b(i) {
|
|
89
|
+
return i.toLowerCase() in J;
|
|
90
|
+
}
|
|
91
|
+
function x(i) {
|
|
92
|
+
return i = i.toLowerCase(), i in Q || i in le;
|
|
93
|
+
}
|
|
94
|
+
function w(i) {
|
|
95
|
+
return i.toLowerCase() in se;
|
|
96
|
+
}
|
|
97
|
+
function L(i) {
|
|
98
|
+
return i.toLowerCase().match(X);
|
|
99
|
+
}
|
|
100
|
+
function y(i) {
|
|
101
|
+
var e = i.toLowerCase(), r = "variable";
|
|
102
|
+
return b(i) ? r = "tag" : w(i) ? r = "block-keyword" : x(i) ? r = "property" : e in ie || e in ue ? r = "atom" : e == "return" || e in re ? r = "keyword" : i.match(/^[A-Z]/) && (r = "string"), r;
|
|
103
|
+
}
|
|
104
|
+
function V(i, e) {
|
|
105
|
+
return a(e) && (i == "{" || i == "]" || i == "hash" || i == "qualifier") || i == "block-mixin";
|
|
106
|
+
}
|
|
107
|
+
function D(i, e) {
|
|
108
|
+
return i == "{" && e.match(/^\s*\$?[\w-]+/i, !1);
|
|
109
|
+
}
|
|
110
|
+
function M(i, e) {
|
|
111
|
+
return i == ":" && e.match(/^[a-z-]+/, !1);
|
|
112
|
+
}
|
|
113
|
+
function k(i) {
|
|
114
|
+
return i.sol() || i.string.match(new RegExp("^\\s*" + H(i.current())));
|
|
115
|
+
}
|
|
116
|
+
function a(i) {
|
|
117
|
+
return i.eol() || i.match(/^\s*$/, !1);
|
|
118
|
+
}
|
|
119
|
+
function u(i) {
|
|
120
|
+
var e = /^\s*[-_]*[a-z0-9]+[\w-]*/i, r = typeof i == "string" ? i.match(e) : i.string.match(e);
|
|
121
|
+
return r ? r[0].replace(/^\s*/, "") : "";
|
|
122
|
+
}
|
|
123
|
+
c.block = function(i, e, r) {
|
|
124
|
+
if (i == "comment" && k(e) || i == "," && a(e) || i == "mixin")
|
|
125
|
+
return n(r, e, "block", 0);
|
|
126
|
+
if (D(i, e))
|
|
127
|
+
return n(r, e, "interpolation");
|
|
128
|
+
if (a(e) && i == "]" && !/^\s*(\.|#|:|\[|\*|&)/.test(e.string) && !b(u(e)))
|
|
129
|
+
return n(r, e, "block", 0);
|
|
130
|
+
if (V(i, e))
|
|
131
|
+
return n(r, e, "block");
|
|
132
|
+
if (i == "}" && a(e))
|
|
133
|
+
return n(r, e, "block", 0);
|
|
134
|
+
if (i == "variable-name")
|
|
135
|
+
return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/) || w(u(e)) ? n(r, e, "variableName") : n(r, e, "variableName", 0);
|
|
136
|
+
if (i == "=")
|
|
137
|
+
return !a(e) && !w(u(e)) ? n(r, e, "block", 0) : n(r, e, "block");
|
|
138
|
+
if (i == "*" && (a(e) || e.match(/\s*(,|\.|#|\[|:|{)/, !1)))
|
|
139
|
+
return t = "tag", n(r, e, "block");
|
|
140
|
+
if (M(i, e))
|
|
141
|
+
return n(r, e, "pseudo");
|
|
142
|
+
if (/@(font-face|media|supports|(-moz-)?document)/.test(i))
|
|
143
|
+
return n(r, e, a(e) ? "block" : "atBlock");
|
|
144
|
+
if (/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))
|
|
145
|
+
return n(r, e, "keyframes");
|
|
146
|
+
if (/@extends?/.test(i))
|
|
147
|
+
return n(r, e, "extend", 0);
|
|
148
|
+
if (i && i.charAt(0) == "@")
|
|
149
|
+
return e.indentation() > 0 && x(e.current().slice(1)) ? (t = "variable", "block") : /(@import|@require|@charset)/.test(i) ? n(r, e, "block", 0) : n(r, e, "block");
|
|
150
|
+
if (i == "reference" && a(e))
|
|
151
|
+
return n(r, e, "block");
|
|
152
|
+
if (i == "(")
|
|
153
|
+
return n(r, e, "parens");
|
|
154
|
+
if (i == "vendor-prefixes")
|
|
155
|
+
return n(r, e, "vendorPrefixes");
|
|
156
|
+
if (i == "word") {
|
|
157
|
+
var o = e.current();
|
|
158
|
+
if (t = y(o), t == "property")
|
|
159
|
+
return k(e) ? n(r, e, "block", 0) : (t = "atom", "block");
|
|
160
|
+
if (t == "tag") {
|
|
161
|
+
if (/embed|menu|pre|progress|sub|table/.test(o) && x(u(e)) || e.string.match(new RegExp("\\[\\s*" + o + "|" + o + "\\s*\\]")))
|
|
162
|
+
return t = "atom", "block";
|
|
163
|
+
if (j.test(o) && (k(e) && e.string.match(/=/) || !k(e) && !e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/) && !b(u(e))))
|
|
164
|
+
return t = "variable", w(u(e)) ? "block" : n(r, e, "block", 0);
|
|
165
|
+
if (a(e)) return n(r, e, "block");
|
|
166
|
+
}
|
|
167
|
+
if (t == "block-keyword")
|
|
168
|
+
return t = "keyword", e.current(/(if|unless)/) && !k(e) ? "block" : n(r, e, "block");
|
|
169
|
+
if (o == "return") return n(r, e, "block", 0);
|
|
170
|
+
if (t == "variable" && e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))
|
|
171
|
+
return n(r, e, "block");
|
|
172
|
+
}
|
|
173
|
+
return r.context.type;
|
|
174
|
+
};
|
|
175
|
+
c.parens = function(i, e, r) {
|
|
176
|
+
if (i == "(") return n(r, e, "parens");
|
|
177
|
+
if (i == ")")
|
|
178
|
+
return r.context.prev.type == "parens" ? v(r, e) : e.string.match(/^[a-z][\w-]*\(/i) && a(e) || w(u(e)) || /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u(e)) || !e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/) && b(u(e)) ? n(r, e, "block") : e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/) || e.string.match(/^\s*(\(|\)|[0-9])/) || e.string.match(/^\s+[a-z][\w-]*\(/i) || e.string.match(/^\s+[\$-]?[a-z]/i) ? n(r, e, "block", 0) : a(e) ? n(r, e, "block") : n(r, e, "block", 0);
|
|
179
|
+
if (i && i.charAt(0) == "@" && x(e.current().slice(1)) && (t = "variable"), i == "word") {
|
|
180
|
+
var o = e.current();
|
|
181
|
+
t = y(o), t == "tag" && j.test(o) && (t = "variable"), (t == "property" || o == "to") && (t = "atom");
|
|
182
|
+
}
|
|
183
|
+
return i == "variable-name" ? n(r, e, "variableName") : M(i, e) ? n(r, e, "pseudo") : r.context.type;
|
|
184
|
+
};
|
|
185
|
+
c.vendorPrefixes = function(i, e, r) {
|
|
186
|
+
return i == "word" ? (t = "property", n(r, e, "block", 0)) : v(r, e);
|
|
187
|
+
};
|
|
188
|
+
c.pseudo = function(i, e, r) {
|
|
189
|
+
return x(u(e.string)) ? _(i, e, r) : (e.match(/^[a-z-]+/), t = "variableName.special", a(e) ? n(r, e, "block") : v(r, e));
|
|
190
|
+
};
|
|
191
|
+
c.atBlock = function(i, e, r) {
|
|
192
|
+
if (i == "(") return n(r, e, "atBlock_parens");
|
|
193
|
+
if (V(i, e))
|
|
194
|
+
return n(r, e, "block");
|
|
195
|
+
if (D(i, e))
|
|
196
|
+
return n(r, e, "interpolation");
|
|
197
|
+
if (i == "word") {
|
|
198
|
+
var o = e.current().toLowerCase();
|
|
199
|
+
if (/^(only|not|and|or)$/.test(o) ? t = "keyword" : ne.hasOwnProperty(o) ? t = "tag" : ae.hasOwnProperty(o) ? t = "attribute" : te.hasOwnProperty(o) ? t = "property" : ee.hasOwnProperty(o) ? t = "string.special" : t = y(e.current()), t == "tag" && a(e))
|
|
200
|
+
return n(r, e, "block");
|
|
201
|
+
}
|
|
202
|
+
return i == "operator" && /^(not|and|or)$/.test(e.current()) && (t = "keyword"), r.context.type;
|
|
203
|
+
};
|
|
204
|
+
c.atBlock_parens = function(i, e, r) {
|
|
205
|
+
if (i == "{" || i == "}") return r.context.type;
|
|
206
|
+
if (i == ")")
|
|
207
|
+
return a(e) ? n(r, e, "block") : n(r, e, "atBlock");
|
|
208
|
+
if (i == "word") {
|
|
209
|
+
var o = e.current().toLowerCase();
|
|
210
|
+
return t = y(o), /^(max|min)/.test(o) && (t = "property"), t == "tag" && (j.test(o) ? t = "variable" : t = "atom"), r.context.type;
|
|
211
|
+
}
|
|
212
|
+
return c.atBlock(i, e, r);
|
|
213
|
+
};
|
|
214
|
+
c.keyframes = function(i, e, r) {
|
|
215
|
+
return e.indentation() == "0" && (i == "}" && k(e) || i == "]" || i == "hash" || i == "qualifier" || b(e.current())) ? _(i, e, r) : i == "{" ? n(r, e, "keyframes") : i == "}" ? k(e) ? v(r, e, !0) : n(r, e, "keyframes") : i == "unit" && /^[0-9]+\%$/.test(e.current()) ? n(r, e, "keyframes") : i == "word" && (t = y(e.current()), t == "block-keyword") ? (t = "keyword", n(r, e, "keyframes")) : /@(font-face|media|supports|(-moz-)?document)/.test(i) ? n(r, e, a(e) ? "block" : "atBlock") : i == "mixin" ? n(r, e, "block", 0) : r.context.type;
|
|
216
|
+
};
|
|
217
|
+
c.interpolation = function(i, e, r) {
|
|
218
|
+
return i == "{" && v(r, e) && n(r, e, "block"), i == "}" ? e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i) || e.string.match(/^\s*[a-z]/i) && b(u(e)) ? n(r, e, "block") : !e.string.match(/^(\{|\s*\&)/) || e.match(/\s*[\w-]/, !1) ? n(r, e, "block", 0) : n(r, e, "block") : i == "variable-name" ? n(r, e, "variableName", 0) : (i == "word" && (t = y(e.current()), t == "tag" && (t = "atom")), r.context.type);
|
|
219
|
+
};
|
|
220
|
+
c.extend = function(i, e, r) {
|
|
221
|
+
return i == "[" || i == "=" ? "extend" : i == "]" ? v(r, e) : i == "word" ? (t = y(e.current()), "extend") : v(r, e);
|
|
222
|
+
};
|
|
223
|
+
c.variableName = function(i, e, r) {
|
|
224
|
+
return i == "string" || i == "[" || i == "]" || e.current().match(/^(\.|\$)/) ? (e.current().match(/^\.[\w-]+/i) && (t = "variable"), "variableName") : _(i, e, r);
|
|
225
|
+
};
|
|
226
|
+
const ge = {
|
|
227
|
+
name: "stylus",
|
|
228
|
+
startState: function() {
|
|
229
|
+
return {
|
|
230
|
+
tokenize: null,
|
|
231
|
+
state: "block",
|
|
232
|
+
context: new Z("block", 0, null)
|
|
233
|
+
};
|
|
234
|
+
},
|
|
235
|
+
token: function(i, e) {
|
|
236
|
+
return !e.tokenize && i.eatSpace() ? null : (m = (e.tokenize || fe)(i, e), m && typeof m == "object" && (P = m[1], m = m[0]), t = m, e.state = c[e.state](P, i, e), t);
|
|
237
|
+
},
|
|
238
|
+
indent: function(i, e, r) {
|
|
239
|
+
var o = i.context, l = e && e.charAt(0), f = o.indent, z = u(e), h = o.line.indent, d = i.context.prev ? i.context.prev.line.firstWord : "", s = i.context.prev ? i.context.prev.line.indent : h;
|
|
240
|
+
return o.prev && (l == "}" && (o.type == "block" || o.type == "atBlock" || o.type == "keyframes") || l == ")" && (o.type == "parens" || o.type == "atBlock_parens") || l == "{" && o.type == "at") ? f = o.indent - r.unit : /(\})/.test(l) || (/@|\$|\d/.test(l) || /^\{/.test(e) || /^\s*\/(\/|\*)/.test(e) || /^\s*\/\*/.test(d) || /^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e) || /^(\+|-)?[a-z][\w-]*\(/i.test(e) || /^return/.test(e) || w(z) ? f = h : /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l) || b(z) ? /\,\s*$/.test(d) ? f = s : /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d) || b(d) ? f = h <= s ? s : s + r.unit : f = h : !/,\s*$/.test(e) && (L(z) || x(z)) && (w(d) ? f = h <= s ? s : s + r.unit : /^\{/.test(d) ? f = h <= s ? h : s + r.unit : L(d) || x(d) ? f = h >= s ? s : h : /^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(d) || /=\s*$/.test(d) || b(d) || /^\$[\w-\.\[\]\'\"]/.test(d) ? f = s + r.unit : f = h)), f;
|
|
241
|
+
},
|
|
242
|
+
languageData: {
|
|
243
|
+
indentOnInput: /^\s*\}$/,
|
|
244
|
+
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
245
|
+
autocomplete: G
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
export {
|
|
249
|
+
ge as stylus
|
|
250
|
+
};
|
|
251
|
+
//# sourceMappingURL=stylus-CAdqWld3.mjs.map
|