@aiao/code-editor-vue 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/apl-B2DGVGxc-Dd6D39pP.js +76 -0
  2. package/dist/asciiarmor-2LVJmxlE-CAn4gnoC.js +34 -0
  3. package/dist/asn1-jKiBa2Ya-xsKwdyq9.js +95 -0
  4. package/dist/asterisk-DS281yxp-B5eTWk_B.js +271 -0
  5. package/dist/brainfuck-C_p9pTT8-DKVQ9poL.js +34 -0
  6. package/dist/clike-BMALKCNj-Ck7Gc35_.js +620 -0
  7. package/dist/clojure-CCKyeQKf-N9sg777Z.js +800 -0
  8. package/dist/cmake-CuaCgAKt-BbEgXraO.js +28 -0
  9. package/dist/cobol-BlTKFDRj-CHCoWafp.js +72 -0
  10. package/dist/coffeescript-BVCvwO8I-Z15ai5ac.js +179 -0
  11. package/dist/commonlisp-D_kxz07b-Ce7sn14o.js +75 -0
  12. package/dist/crystal-D309uH6_-DS6LrXoE.js +217 -0
  13. package/dist/css-BkF-NPzE-DiJu9Nkd.js +1553 -0
  14. package/dist/cypher-BMq4Fwjl-Ml-omWgp.js +68 -0
  15. package/dist/d-BZcgY6La-KCW6-bIm.js +127 -0
  16. package/dist/diff-Cg9d_RX2-C01qBVFc.js +18 -0
  17. package/dist/dockerfile-DFX8bq9N-BIbYUQV0.js +194 -0
  18. package/dist/dtd-CtLokQ-U-DCbNdeIA.js +84 -0
  19. package/dist/dylan-QYeExnWK-DIUVpsct.js +234 -0
  20. package/dist/ebnf-DUPDuY4r-7HIXKmWn.js +78 -0
  21. package/dist/ecl-CiXN-g_D-DOI-W0if.js +121 -0
  22. package/dist/eiffel-yQhjl4T1-DIX8Ceq1.js +110 -0
  23. package/dist/elm-CNT9vbN0-BcYlydpO.js +108 -0
  24. package/dist/erlang-CFOYdy9e-DULXsFZl.js +487 -0
  25. package/dist/factor-Clf6BoVk-DBb2EHMF.js +65 -0
  26. package/dist/fcl-CPC2WYrI-CuXG3fcK.js +103 -0
  27. package/dist/forth-BmxRyE9S-BcFwWpeL.js +60 -0
  28. package/dist/fortran-9bvPyrOW-CuLcq-Iu.js +442 -0
  29. package/dist/gas-cpmYfFX2-sZgGhMxB.js +183 -0
  30. package/dist/gherkin-CJuwpceU-BRrr8yjO.js +34 -0
  31. package/dist/groovy-DZeT_VM--CmF8wcSo.js +146 -0
  32. package/dist/haskell-CxiO_7JL-BuULsXvv.js +375 -0
  33. package/dist/haxe-70NVW1pR-CM27SfgM.js +359 -0
  34. package/dist/http-D9LttvKF-j9E8oQ7o.js +44 -0
  35. package/dist/idl-B6TRFYjl-B6TRFYjl.js +947 -0
  36. package/dist/index-BMiCCEB1-Bhkem_yf.js +305 -0
  37. package/dist/index-BNuasEBW-Djq6JMRj.js +94 -0
  38. package/dist/index-Bg1KDWyt-DaNGMguF.js +290 -0
  39. package/dist/{index-D6_k5ZgA.js → index-BuVm7ZG6-BZLKs8s6.js} +106 -106
  40. package/dist/index-BvS1cnHq-DM0hbFEQ.js +613 -0
  41. package/dist/index-C44L0DmY-BmmnwVzM.js +138 -0
  42. package/dist/index-C71CZfUx-CXN80Lrt.js +247 -0
  43. package/dist/{index-BluJGN_u.js → index-CQ6JWNwi-BkIQd0CX.js} +131 -130
  44. package/dist/index-CpRVx97--qRVKhpm0.js +342 -0
  45. package/dist/index-CqvQj6d--Cks52f8R.js +270 -0
  46. package/dist/index-CrbQBmWq-CH-PcW1J.js +157 -0
  47. package/dist/index-CzovO10m-BGtdggaq.js +301 -0
  48. package/dist/index-D0BZOY-S-DP1N-_JY.js +101 -0
  49. package/dist/{index-DcMCsmYb.js → index-D0svJS59-B1ELwWap.js} +79 -78
  50. package/dist/index-D93XVMi1-BA3BTMNq.js +136 -0
  51. package/dist/index-DEB5VK0f-DmPMy-wS.js +252 -0
  52. package/dist/index-Dp8osI_J-_47iGH9z.js +960 -0
  53. package/dist/index-Ds4AioqO-C6aO_ISw.js +1917 -0
  54. package/dist/{index-DBgKi_NE.js → index-Dy-OpkyQ-BBMsyHBR.js} +18 -18
  55. package/dist/index-Dyi9rNIT-DTaMAKyY.js +391 -0
  56. package/dist/index-ZJkjD9tT-CsDrbsME.js +74 -0
  57. package/dist/index-qH2lMs0G-VT1Nd_LF.js +944 -0
  58. package/dist/index-srIksFxX-jkv39JhL.js +59 -0
  59. package/dist/index-wcsJ2mym.js +31598 -0
  60. package/dist/index.d.ts +0 -1
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +2 -3
  63. package/dist/javascript-DOuB9oqA-BxiygWgm.js +691 -0
  64. package/dist/julia-DpvXAuO6-Bk_IfD8X.js +241 -0
  65. package/dist/livescript-CanGTf8u-Cx6PrvS4.js +272 -0
  66. package/dist/lua-XplVlWi_-8f8obHzY.js +217 -0
  67. package/dist/mathematica-jaRHnSxC-B83gQsL2.js +35 -0
  68. package/dist/mbox-BctzC1hL-Hg5U2B4l.js +76 -0
  69. package/dist/mirc-CFBPAOaF-CfzSSk9W.js +72 -0
  70. package/dist/mllike-BSnXJBGA-Ao1NpT2u.js +272 -0
  71. package/dist/modelica-vUgVs--1-BObVpYBg.js +93 -0
  72. package/dist/mscgen-Cpl0NYLN-DqNArLGH.js +104 -0
  73. package/dist/mumps-CQoS1kWX-CkTUOQnt.js +25 -0
  74. package/dist/nginx-zDPm3Z74-DJk4KP7N.js +87 -0
  75. package/dist/nsis-BCLyjY7m-C2MffOQ3.js +62 -0
  76. package/dist/ntriples-CsNjv2QF-C4aZn3EO.js +79 -0
  77. package/dist/octave-C8PmmSRH-DM5vTWlU.js +143 -0
  78. package/dist/oz-Ce8aN8oE-BcJM4SVy.js +151 -0
  79. package/dist/pascal-De0D6mP7-D7DGFFKL.js +77 -0
  80. package/dist/perl-B4bSCe1C-6aIa2glS.js +915 -0
  81. package/dist/pig-D24Z8EXi-BD-qt5FU.js +54 -0
  82. package/dist/powershell-DkYVfTzP-Blt1Rodi.js +249 -0
  83. package/dist/properties-Dn9wna3M-EOOwnCnk.js +26 -0
  84. package/dist/protobuf-BPIjwpzm-DAButU8_.js +49 -0
  85. package/dist/pug-TGXr6c5j-C9HfQ86E.js +248 -0
  86. package/dist/puppet-nyd4dhjf-CGzH5dsa.js +45 -0
  87. package/dist/python-BkR3uSy8-CjDnyp3B.js +313 -0
  88. package/dist/q-DyHZGnqm-DGuqeH_T.js +86 -0
  89. package/dist/r-LKEuhEGI-BFQhJnTP.js +104 -0
  90. package/dist/rpm-IznJm2Xc-CbZqrWCM.js +57 -0
  91. package/dist/ruby-CcYfvIk6-DzPSfSGo.js +228 -0
  92. package/dist/sas-7E8yHoCW-D726Uzkw.js +105 -0
  93. package/dist/scheme-DjibxsNh-Bp5gVFkm.js +124 -0
  94. package/dist/shell-C0C2sNA_-BTeYg6ir.js +182 -0
  95. package/dist/sieve-Bwz7vjP5-Cw8iTBf7.js +72 -0
  96. package/dist/simple-mode-mNVtnu0l-BC8mf7KF.js +89 -0
  97. package/dist/smalltalk-Bhddl2pB-B7URiJSp.js +48 -0
  98. package/dist/solr-BNlsLglM-BM2OpfTI.js +41 -0
  99. package/dist/sparql-FarWu_Gb-FN_uQNd4.js +197 -0
  100. package/dist/spreadsheet-C-cy4P5N-5CSTwVYq.js +49 -0
  101. package/dist/sql-CfG5lQ3l-Bd4dgm_8.js +278 -0
  102. package/dist/stex-Du4h4KAU-QOov_zHj.js +129 -0
  103. package/dist/stylus-CAdqWld3-BcRBbBxD.js +250 -0
  104. package/dist/swift-DSxqR9R6-2Hz4NOoF.js +230 -0
  105. package/dist/tcl-xfoLljhY-DAZBRGQI.js +81 -0
  106. package/dist/textile-D1AWE-pc-DuiIfEnb.js +295 -0
  107. package/dist/tiddlywiki-5wqsXtSk-WuF_8VUv.js +155 -0
  108. package/dist/tiki-__Kn3CeS-CWcR9ib_.js +181 -0
  109. package/dist/toml-DWAmxCjl-CyJoDzs6.js +56 -0
  110. package/dist/troff-D2UO-fKf-DVoIzS-O.js +35 -0
  111. package/dist/ttcn-Bsa4sfRm-hoy08sYQ.js +123 -0
  112. package/dist/ttcn-cfg-Bac_acMi-DaC4kQpd.js +88 -0
  113. package/dist/turtle-xwJUxoPV-fs94wdNM.js +80 -0
  114. package/dist/vb-c2kQGd6--DU726qF0.js +74 -0
  115. package/dist/vbscript-1f_Dhg5H-DriA32xD.js +324 -0
  116. package/dist/velocity-DJd0pTTC-BG368IR6.js +96 -0
  117. package/dist/verilog-CiS1jyi5-giQA8J-e.js +259 -0
  118. package/dist/vhdl-T9HkrbI2-BJ8LEDog.js +106 -0
  119. package/dist/webidl-CjfDENEo-BM8KXKJ5.js +155 -0
  120. package/dist/xquery-Ct6lEb4B-C5KDc61l.js +422 -0
  121. package/dist/yacas-C0absKBh-B82QJ76F.js +73 -0
  122. package/dist/z80-Pki2zAjW-B0IQoIbR.js +61 -0
  123. package/package.json +8 -10
  124. package/dist/index-3d5LPf68.js +0 -19017
  125. package/dist/languages.d.ts +0 -3
  126. package/dist/languages.d.ts.map +0 -1
@@ -0,0 +1,250 @@
1
+ var C = ["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"], _ = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"], U = ["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"], E = ["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"], O = ["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"], W = ["font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"], A = ["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"], R = ["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"], S = ["in", "and", "or", "not", "is not", "is a", "is", "isnt", "defined", "if unless"], X = ["for", "if", "else", "unless", "from", "to"], Y = ["null", "true", "false", "href", "title", "type", "not-allowed", "readonly", "disabled"], J = ["@font-face", "@keyframes", "@media", "@viewport", "@page", "@host", "@supports", "@block", "@css"], K = C.concat(
2
+ $,
3
+ _,
4
+ U,
5
+ E,
6
+ O,
7
+ A,
8
+ R,
9
+ W,
10
+ S,
11
+ X,
12
+ Y,
13
+ J
14
+ );
15
+ function Z(t) {
16
+ return t = t.sort(function(e, r) {
17
+ return r > e;
18
+ }), new RegExp("^((" + t.join(")|(") + "))\\b");
19
+ }
20
+ function p(t) {
21
+ for (var e = {}, r = 0; r < t.length; ++r) e[t[r]] = !0;
22
+ return e;
23
+ }
24
+ function M(t) {
25
+ return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
26
+ }
27
+ var Q = p(C), j = /^(a|b|i|s|col|em)$/i, V = p(E), ee = p(O), te = p(R), re = p(A), ae = p($), oe = Z($), ne = p(U), ie = p(_), le = p(W), se = /^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/, ce = Z(S), de = p(X), T = new RegExp(/^\-(moz|ms|o|webkit)-/i), ue = p(Y), q = "", s = {}, b, f, N, n;
28
+ function me(t, e) {
29
+ if (q = t.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 = t.indentation(), b = t.peek(), t.match("//"))
30
+ return t.skipToEnd(), ["comment", "comment"];
31
+ if (t.match("/*"))
32
+ return e.tokenize = L, L(t, e);
33
+ if (b == '"' || b == "'")
34
+ return t.next(), e.tokenize = D(b), e.tokenize(t, e);
35
+ if (b == "@")
36
+ return t.next(), t.eatWhile(/[\w\\-]/), ["def", t.current()];
37
+ if (b == "#") {
38
+ if (t.next(), t.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))
39
+ return ["atom", "atom"];
40
+ if (t.match(/^[a-z][\w-]*/i))
41
+ return ["builtin", "hash"];
42
+ }
43
+ return t.match(T) ? ["meta", "vendor-prefixes"] : t.match(/^-?[0-9]?\.?[0-9]/) ? (t.eatWhile(/[a-z%]/i), ["number", "unit"]) : b == "!" ? (t.next(), [t.match(/^(important|optional)/i) ? "keyword" : "operator", "important"]) : b == "." && t.match(/^\.[a-z][\w-]*/i) ? ["qualifier", "qualifier"] : t.match(oe) ? (t.peek() == "(" && (e.tokenize = pe), ["property", "word"]) : t.match(/^[a-z][\w-]*\(/i) ? (t.backUp(1), ["keyword", "mixin"]) : t.match(/^(\+|-)[a-z][\w-]*\(/i) ? (t.backUp(1), ["keyword", "block-mixin"]) : t.string.match(/^\s*&/) && t.match(/^[-_]+[a-z][\w-]*/) ? ["qualifier", "qualifier"] : t.match(/^(\/|&)(-|_|:|\.|#|[a-z])/) ? (t.backUp(1), ["variableName.special", "reference"]) : t.match(/^&{1}\s*$/) ? ["variableName.special", "reference"] : t.match(ce) ? ["operator", "operator"] : t.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i) ? t.match(/^(\.|\[)[\w-\'\"\]]+/i, !1) && !g(t.current()) ? (t.match("."), ["variable", "variable-name"]) : ["variable", "word"] : t.match(se) ? ["operator", t.current()] : /[:;,{}\[\]\(\)]/.test(b) ? (t.next(), [null, b]) : (t.next(), [null, null]);
44
+ }
45
+ function L(t, e) {
46
+ for (var r = !1, o; (o = t.next()) != null; ) {
47
+ if (r && o == "/") {
48
+ e.tokenize = null;
49
+ break;
50
+ }
51
+ r = o == "*";
52
+ }
53
+ return ["comment", "comment"];
54
+ }
55
+ function D(t) {
56
+ return function(e, r) {
57
+ for (var o = !1, l; (l = e.next()) != null; ) {
58
+ if (l == t && !o) {
59
+ t == ")" && e.backUp(1);
60
+ break;
61
+ }
62
+ o = !o && l == "\\";
63
+ }
64
+ return (l == t || !o && t != ")") && (r.tokenize = null), ["string", "string"];
65
+ };
66
+ }
67
+ function pe(t, e) {
68
+ return t.next(), t.match(/\s*[\"\')]/, !1) ? e.tokenize = null : e.tokenize = D(")"), [null, "("];
69
+ }
70
+ function F(t, e, r, o) {
71
+ this.type = t, this.indent = e, this.prev = r, this.line = o || { firstWord: "", indent: 0 };
72
+ }
73
+ function a(t, e, r, o) {
74
+ return o = o >= 0 ? o : e.indentUnit, t.context = new F(r, e.indentation() + o, t.context), r;
75
+ }
76
+ function y(t, e, r) {
77
+ var o = t.context.indent - e.indentUnit;
78
+ return r = r || !1, t.context = t.context.prev, r && (t.context.indent = o), t.context.type;
79
+ }
80
+ function he(t, e, r) {
81
+ return s[r.context.type](t, e, r);
82
+ }
83
+ function B(t, e, r, o) {
84
+ for (var l = 1; l > 0; l--)
85
+ r.context = r.context.prev;
86
+ return he(t, e, r);
87
+ }
88
+ function g(t) {
89
+ return t.toLowerCase() in Q;
90
+ }
91
+ function v(t) {
92
+ return t = t.toLowerCase(), t in V || t in le;
93
+ }
94
+ function w(t) {
95
+ return t.toLowerCase() in de;
96
+ }
97
+ function P(t) {
98
+ return t.toLowerCase().match(T);
99
+ }
100
+ function x(t) {
101
+ var e = t.toLowerCase(), r = "variable";
102
+ return g(t) ? r = "tag" : w(t) ? r = "block-keyword" : v(t) ? r = "property" : e in te || e in ue ? r = "atom" : e == "return" || e in re ? r = "keyword" : t.match(/^[A-Z]/) && (r = "string"), r;
103
+ }
104
+ function I(t, e) {
105
+ return i(e) && (t == "{" || t == "]" || t == "hash" || t == "qualifier") || t == "block-mixin";
106
+ }
107
+ function G(t, e) {
108
+ return t == "{" && e.match(/^\s*\$?[\w-]+/i, !1);
109
+ }
110
+ function H(t, e) {
111
+ return t == ":" && e.match(/^[a-z-]+/, !1);
112
+ }
113
+ function k(t) {
114
+ return t.sol() || t.string.match(new RegExp("^\\s*" + M(t.current())));
115
+ }
116
+ function i(t) {
117
+ return t.eol() || t.match(/^\s*$/, !1);
118
+ }
119
+ function u(t) {
120
+ var e = /^\s*[-_]*[a-z0-9]+[\w-]*/i, r = typeof t == "string" ? t.match(e) : t.string.match(e);
121
+ return r ? r[0].replace(/^\s*/, "") : "";
122
+ }
123
+ s.block = function(t, e, r) {
124
+ if (t == "comment" && k(e) || t == "," && i(e) || t == "mixin")
125
+ return a(r, e, "block", 0);
126
+ if (G(t, e))
127
+ return a(r, e, "interpolation");
128
+ if (i(e) && t == "]" && !/^\s*(\.|#|:|\[|\*|&)/.test(e.string) && !g(u(e)))
129
+ return a(r, e, "block", 0);
130
+ if (I(t, e))
131
+ return a(r, e, "block");
132
+ if (t == "}" && i(e))
133
+ return a(r, e, "block", 0);
134
+ if (t == "variable-name")
135
+ return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/) || w(u(e)) ? a(r, e, "variableName") : a(r, e, "variableName", 0);
136
+ if (t == "=")
137
+ return !i(e) && !w(u(e)) ? a(r, e, "block", 0) : a(r, e, "block");
138
+ if (t == "*" && (i(e) || e.match(/\s*(,|\.|#|\[|:|{)/, !1)))
139
+ return n = "tag", a(r, e, "block");
140
+ if (H(t, e))
141
+ return a(r, e, "pseudo");
142
+ if (/@(font-face|media|supports|(-moz-)?document)/.test(t))
143
+ return a(r, e, i(e) ? "block" : "atBlock");
144
+ if (/@(-(moz|ms|o|webkit)-)?keyframes$/.test(t))
145
+ return a(r, e, "keyframes");
146
+ if (/@extends?/.test(t))
147
+ return a(r, e, "extend", 0);
148
+ if (t && t.charAt(0) == "@")
149
+ return e.indentation() > 0 && v(e.current().slice(1)) ? (n = "variable", "block") : /(@import|@require|@charset)/.test(t) ? a(r, e, "block", 0) : a(r, e, "block");
150
+ if (t == "reference" && i(e))
151
+ return a(r, e, "block");
152
+ if (t == "(")
153
+ return a(r, e, "parens");
154
+ if (t == "vendor-prefixes")
155
+ return a(r, e, "vendorPrefixes");
156
+ if (t == "word") {
157
+ var o = e.current();
158
+ if (n = x(o), n == "property")
159
+ return k(e) ? a(r, e, "block", 0) : (n = "atom", "block");
160
+ if (n == "tag") {
161
+ if (/embed|menu|pre|progress|sub|table/.test(o) && v(u(e)) || e.string.match(new RegExp("\\[\\s*" + o + "|" + o + "\\s*\\]")))
162
+ return n = "atom", "block";
163
+ if (j.test(o) && (k(e) && e.string.match(/=/) || !k(e) && !e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/) && !g(u(e))))
164
+ return n = "variable", w(u(e)) ? "block" : a(r, e, "block", 0);
165
+ if (i(e)) return a(r, e, "block");
166
+ }
167
+ if (n == "block-keyword")
168
+ return n = "keyword", e.current(/(if|unless)/) && !k(e) ? "block" : a(r, e, "block");
169
+ if (o == "return") return a(r, e, "block", 0);
170
+ if (n == "variable" && e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))
171
+ return a(r, e, "block");
172
+ }
173
+ return r.context.type;
174
+ };
175
+ s.parens = function(t, e, r) {
176
+ if (t == "(") return a(r, e, "parens");
177
+ if (t == ")")
178
+ return r.context.prev.type == "parens" ? y(r, e) : e.string.match(/^[a-z][\w-]*\(/i) && i(e) || w(u(e)) || /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u(e)) || !e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/) && g(u(e)) ? a(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) ? a(r, e, "block", 0) : i(e) ? a(r, e, "block") : a(r, e, "block", 0);
179
+ if (t && t.charAt(0) == "@" && v(e.current().slice(1)) && (n = "variable"), t == "word") {
180
+ var o = e.current();
181
+ n = x(o), n == "tag" && j.test(o) && (n = "variable"), (n == "property" || o == "to") && (n = "atom");
182
+ }
183
+ return t == "variable-name" ? a(r, e, "variableName") : H(t, e) ? a(r, e, "pseudo") : r.context.type;
184
+ };
185
+ s.vendorPrefixes = function(t, e, r) {
186
+ return t == "word" ? (n = "property", a(r, e, "block", 0)) : y(r, e);
187
+ };
188
+ s.pseudo = function(t, e, r) {
189
+ return v(u(e.string)) ? B(t, e, r) : (e.match(/^[a-z-]+/), n = "variableName.special", i(e) ? a(r, e, "block") : y(r, e));
190
+ };
191
+ s.atBlock = function(t, e, r) {
192
+ if (t == "(") return a(r, e, "atBlock_parens");
193
+ if (I(t, e))
194
+ return a(r, e, "block");
195
+ if (G(t, e))
196
+ return a(r, e, "interpolation");
197
+ if (t == "word") {
198
+ var o = e.current().toLowerCase();
199
+ if (/^(only|not|and|or)$/.test(o) ? n = "keyword" : ae.hasOwnProperty(o) ? n = "tag" : ie.hasOwnProperty(o) ? n = "attribute" : ne.hasOwnProperty(o) ? n = "property" : ee.hasOwnProperty(o) ? n = "string.special" : n = x(e.current()), n == "tag" && i(e))
200
+ return a(r, e, "block");
201
+ }
202
+ return t == "operator" && /^(not|and|or)$/.test(e.current()) && (n = "keyword"), r.context.type;
203
+ };
204
+ s.atBlock_parens = function(t, e, r) {
205
+ if (t == "{" || t == "}") return r.context.type;
206
+ if (t == ")")
207
+ return i(e) ? a(r, e, "block") : a(r, e, "atBlock");
208
+ if (t == "word") {
209
+ var o = e.current().toLowerCase();
210
+ return n = x(o), /^(max|min)/.test(o) && (n = "property"), n == "tag" && (j.test(o) ? n = "variable" : n = "atom"), r.context.type;
211
+ }
212
+ return s.atBlock(t, e, r);
213
+ };
214
+ s.keyframes = function(t, e, r) {
215
+ return e.indentation() == "0" && (t == "}" && k(e) || t == "]" || t == "hash" || t == "qualifier" || g(e.current())) ? B(t, e, r) : t == "{" ? a(r, e, "keyframes") : t == "}" ? k(e) ? y(r, e, !0) : a(r, e, "keyframes") : t == "unit" && /^[0-9]+\%$/.test(e.current()) ? a(r, e, "keyframes") : t == "word" && (n = x(e.current()), n == "block-keyword") ? (n = "keyword", a(r, e, "keyframes")) : /@(font-face|media|supports|(-moz-)?document)/.test(t) ? a(r, e, i(e) ? "block" : "atBlock") : t == "mixin" ? a(r, e, "block", 0) : r.context.type;
216
+ };
217
+ s.interpolation = function(t, e, r) {
218
+ return t == "{" && y(r, e) && a(r, e, "block"), t == "}" ? e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i) || e.string.match(/^\s*[a-z]/i) && g(u(e)) ? a(r, e, "block") : !e.string.match(/^(\{|\s*\&)/) || e.match(/\s*[\w-]/, !1) ? a(r, e, "block", 0) : a(r, e, "block") : t == "variable-name" ? a(r, e, "variableName", 0) : (t == "word" && (n = x(e.current()), n == "tag" && (n = "atom")), r.context.type);
219
+ };
220
+ s.extend = function(t, e, r) {
221
+ return t == "[" || t == "=" ? "extend" : t == "]" ? y(r, e) : t == "word" ? (n = x(e.current()), "extend") : y(r, e);
222
+ };
223
+ s.variableName = function(t, e, r) {
224
+ return t == "string" || t == "[" || t == "]" || e.current().match(/^(\.|\$)/) ? (e.current().match(/^\.[\w-]+/i) && (n = "variable"), "variableName") : B(t, e, r);
225
+ };
226
+ const be = {
227
+ name: "stylus",
228
+ startState: function() {
229
+ return {
230
+ tokenize: null,
231
+ state: "block",
232
+ context: new F("block", 0, null)
233
+ };
234
+ },
235
+ token: function(t, e) {
236
+ return !e.tokenize && t.eatSpace() ? null : (f = (e.tokenize || me)(t, e), f && typeof f == "object" && (N = f[1], f = f[0]), n = f, e.state = s[e.state](N, t, e), n);
237
+ },
238
+ indent: function(t, e, r) {
239
+ var o = t.context, l = e && e.charAt(0), m = o.indent, z = u(e), h = o.line.indent, c = t.context.prev ? t.context.prev.line.firstWord : "", d = t.context.prev ? t.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") ? m = o.indent - r.unit : /(\})/.test(l) || (/@|\$|\d/.test(l) || /^\{/.test(e) || /^\s*\/(\/|\*)/.test(e) || /^\s*\/\*/.test(c) || /^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e) || /^(\+|-)?[a-z][\w-]*\(/i.test(e) || /^return/.test(e) || w(z) ? m = h : /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l) || g(z) ? /\,\s*$/.test(c) ? m = d : /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(c) || g(c) ? m = h <= d ? d : d + r.unit : m = h : !/,\s*$/.test(e) && (P(z) || v(z)) && (w(c) ? m = h <= d ? d : d + r.unit : /^\{/.test(c) ? m = h <= d ? h : d + r.unit : P(c) || v(c) ? m = h >= d ? d : h : /^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(c) || /=\s*$/.test(c) || g(c) || /^\$[\w-\.\[\]\'\"]/.test(c) ? m = d + r.unit : m = h)), m;
241
+ },
242
+ languageData: {
243
+ indentOnInput: /^\s*\}$/,
244
+ commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
245
+ autocomplete: K
246
+ }
247
+ };
248
+ export {
249
+ be as stylus
250
+ };
@@ -0,0 +1,230 @@
1
+ function c(t) {
2
+ for (var e = {}, n = 0; n < t.length; n++) e[t[n]] = !0;
3
+ return e;
4
+ }
5
+ var f = c([
6
+ "_",
7
+ "var",
8
+ "let",
9
+ "actor",
10
+ "class",
11
+ "enum",
12
+ "extension",
13
+ "import",
14
+ "protocol",
15
+ "struct",
16
+ "func",
17
+ "typealias",
18
+ "associatedtype",
19
+ "open",
20
+ "public",
21
+ "internal",
22
+ "fileprivate",
23
+ "private",
24
+ "deinit",
25
+ "init",
26
+ "new",
27
+ "override",
28
+ "self",
29
+ "subscript",
30
+ "super",
31
+ "convenience",
32
+ "dynamic",
33
+ "final",
34
+ "indirect",
35
+ "lazy",
36
+ "required",
37
+ "static",
38
+ "unowned",
39
+ "unowned(safe)",
40
+ "unowned(unsafe)",
41
+ "weak",
42
+ "as",
43
+ "is",
44
+ "break",
45
+ "case",
46
+ "continue",
47
+ "default",
48
+ "else",
49
+ "fallthrough",
50
+ "for",
51
+ "guard",
52
+ "if",
53
+ "in",
54
+ "repeat",
55
+ "switch",
56
+ "where",
57
+ "while",
58
+ "defer",
59
+ "return",
60
+ "inout",
61
+ "mutating",
62
+ "nonmutating",
63
+ "isolated",
64
+ "nonisolated",
65
+ "catch",
66
+ "do",
67
+ "rethrows",
68
+ "throw",
69
+ "throws",
70
+ "async",
71
+ "await",
72
+ "try",
73
+ "didSet",
74
+ "get",
75
+ "set",
76
+ "willSet",
77
+ "assignment",
78
+ "associativity",
79
+ "infix",
80
+ "left",
81
+ "none",
82
+ "operator",
83
+ "postfix",
84
+ "precedence",
85
+ "precedencegroup",
86
+ "prefix",
87
+ "right",
88
+ "Any",
89
+ "AnyObject",
90
+ "Type",
91
+ "dynamicType",
92
+ "Self",
93
+ "Protocol",
94
+ "__COLUMN__",
95
+ "__FILE__",
96
+ "__FUNCTION__",
97
+ "__LINE__"
98
+ ]), l = c(["var", "let", "actor", "class", "enum", "extension", "import", "protocol", "struct", "func", "typealias", "associatedtype", "for"]), p = c(["true", "false", "nil", "self", "super", "_"]), d = c([
99
+ "Array",
100
+ "Bool",
101
+ "Character",
102
+ "Dictionary",
103
+ "Double",
104
+ "Float",
105
+ "Int",
106
+ "Int8",
107
+ "Int16",
108
+ "Int32",
109
+ "Int64",
110
+ "Never",
111
+ "Optional",
112
+ "Set",
113
+ "String",
114
+ "UInt8",
115
+ "UInt16",
116
+ "UInt32",
117
+ "UInt64",
118
+ "Void"
119
+ ]), h = "+-/*%=|&<>~^?!", m = ":;,.(){}[]", v = /^\-?0b[01][01_]*/, _ = /^\-?0o[0-7][0-7_]*/, k = /^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/, x = /^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/, y = /^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/, g = /^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/, w = /^\#[A-Za-z]+/, z = /^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;
120
+ function s(t, e, n) {
121
+ if (t.sol() && (e.indented = t.indentation()), t.eatSpace()) return null;
122
+ var i = t.peek();
123
+ if (i == "/") {
124
+ if (t.match("//"))
125
+ return t.skipToEnd(), "comment";
126
+ if (t.match("/*"))
127
+ return e.tokenize.push(u), u(t, e);
128
+ }
129
+ if (t.match(w)) return "builtin";
130
+ if (t.match(z)) return "attribute";
131
+ if (t.match(v) || t.match(_) || t.match(k) || t.match(x)) return "number";
132
+ if (t.match(g)) return "property";
133
+ if (h.indexOf(i) > -1)
134
+ return t.next(), "operator";
135
+ if (m.indexOf(i) > -1)
136
+ return t.next(), t.match(".."), "punctuation";
137
+ var r;
138
+ if (r = t.match(/("""|"|')/)) {
139
+ var a = A.bind(null, r[0]);
140
+ return e.tokenize.push(a), a(t, e);
141
+ }
142
+ if (t.match(y)) {
143
+ var o = t.current();
144
+ return d.hasOwnProperty(o) ? "type" : p.hasOwnProperty(o) ? "atom" : f.hasOwnProperty(o) ? (l.hasOwnProperty(o) && (e.prev = "define"), "keyword") : n == "define" ? "def" : "variable";
145
+ }
146
+ return t.next(), null;
147
+ }
148
+ function b() {
149
+ var t = 0;
150
+ return function(e, n, i) {
151
+ var r = s(e, n, i);
152
+ if (r == "punctuation") {
153
+ if (e.current() == "(") ++t;
154
+ else if (e.current() == ")") {
155
+ if (t == 0)
156
+ return e.backUp(1), n.tokenize.pop(), n.tokenize[n.tokenize.length - 1](e, n);
157
+ --t;
158
+ }
159
+ }
160
+ return r;
161
+ };
162
+ }
163
+ function A(t, e, n) {
164
+ for (var i = t.length == 1, r, a = !1; r = e.peek(); )
165
+ if (a) {
166
+ if (e.next(), r == "(")
167
+ return n.tokenize.push(b()), "string";
168
+ a = !1;
169
+ } else {
170
+ if (e.match(t))
171
+ return n.tokenize.pop(), "string";
172
+ e.next(), a = r == "\\";
173
+ }
174
+ return i && n.tokenize.pop(), "string";
175
+ }
176
+ function u(t, e) {
177
+ for (var n; n = t.next(); )
178
+ if (n === "/" && t.eat("*"))
179
+ e.tokenize.push(u);
180
+ else if (n === "*" && t.eat("/")) {
181
+ e.tokenize.pop();
182
+ break;
183
+ }
184
+ return "comment";
185
+ }
186
+ function I(t, e, n) {
187
+ this.prev = t, this.align = e, this.indented = n;
188
+ }
189
+ function O(t, e) {
190
+ var n = e.match(/^\s*($|\/[\/\*]|[)}\]])/, !1) ? null : e.column() + 1;
191
+ t.context = new I(t.context, n, t.indented);
192
+ }
193
+ function S(t) {
194
+ t.context && (t.indented = t.context.indented, t.context = t.context.prev);
195
+ }
196
+ const $ = {
197
+ name: "swift",
198
+ startState: function() {
199
+ return {
200
+ prev: null,
201
+ context: null,
202
+ indented: 0,
203
+ tokenize: []
204
+ };
205
+ },
206
+ token: function(t, e) {
207
+ var n = e.prev;
208
+ e.prev = null;
209
+ var i = e.tokenize[e.tokenize.length - 1] || s, r = i(t, e, n);
210
+ if (!r || r == "comment" ? e.prev = n : e.prev || (e.prev = r), r == "punctuation") {
211
+ var a = /[\(\[\{]|([\]\)\}])/.exec(t.current());
212
+ a && (a[1] ? S : O)(e, t);
213
+ }
214
+ return r;
215
+ },
216
+ indent: function(t, e, n) {
217
+ var i = t.context;
218
+ if (!i) return 0;
219
+ var r = /^[\]\}\)]/.test(e);
220
+ return i.align != null ? i.align - (r ? 1 : 0) : i.indented + (r ? 0 : n.unit);
221
+ },
222
+ languageData: {
223
+ indentOnInput: /^\s*[\)\}\]]$/,
224
+ commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
225
+ closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] }
226
+ }
227
+ };
228
+ export {
229
+ $ as swift
230
+ };
@@ -0,0 +1,81 @@
1
+ function c(t) {
2
+ for (var r = {}, a = t.split(" "), e = 0; e < a.length; ++e) r[a[e]] = !0;
3
+ return r;
4
+ }
5
+ var f = c("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"), s = c("if elseif else and not or eq ne in ni for foreach while switch"), u = /[+\-*&%=<>!?^\/\|]/;
6
+ function i(t, r, a) {
7
+ return r.tokenize = a, a(t, r);
8
+ }
9
+ function o(t, r) {
10
+ var a = r.beforeParams;
11
+ r.beforeParams = !1;
12
+ var e = t.next();
13
+ if ((e == '"' || e == "'") && r.inParams)
14
+ return i(t, r, m(e));
15
+ if (/[\[\]{}\(\),;\.]/.test(e))
16
+ return e == "(" && a ? r.inParams = !0 : e == ")" && (r.inParams = !1), null;
17
+ if (/\d/.test(e))
18
+ return t.eatWhile(/[\w\.]/), "number";
19
+ if (e == "#")
20
+ return t.eat("*") ? i(t, r, p) : e == "#" && t.match(/ *\[ *\[/) ? i(t, r, d) : (t.skipToEnd(), "comment");
21
+ if (e == '"')
22
+ return t.skipTo(/"/), "comment";
23
+ if (e == "$")
24
+ return t.eatWhile(/[$_a-z0-9A-Z\.{:]/), t.eatWhile(/}/), r.beforeParams = !0, "builtin";
25
+ if (u.test(e))
26
+ return t.eatWhile(u), "comment";
27
+ t.eatWhile(/[\w\$_{}\xa1-\uffff]/);
28
+ var n = t.current().toLowerCase();
29
+ return f && f.propertyIsEnumerable(n) ? "keyword" : s && s.propertyIsEnumerable(n) ? (r.beforeParams = !0, "keyword") : null;
30
+ }
31
+ function m(t) {
32
+ return function(r, a) {
33
+ for (var e = !1, n, l = !1; (n = r.next()) != null; ) {
34
+ if (n == t && !e) {
35
+ l = !0;
36
+ break;
37
+ }
38
+ e = !e && n == "\\";
39
+ }
40
+ return l && (a.tokenize = o), "string";
41
+ };
42
+ }
43
+ function p(t, r) {
44
+ for (var a = !1, e; e = t.next(); ) {
45
+ if (e == "#" && a) {
46
+ r.tokenize = o;
47
+ break;
48
+ }
49
+ a = e == "*";
50
+ }
51
+ return "comment";
52
+ }
53
+ function d(t, r) {
54
+ for (var a = 0, e; e = t.next(); ) {
55
+ if (e == "#" && a == 2) {
56
+ r.tokenize = o;
57
+ break;
58
+ }
59
+ e == "]" ? a++ : e != " " && (a = 0);
60
+ }
61
+ return "meta";
62
+ }
63
+ const k = {
64
+ name: "tcl",
65
+ startState: function() {
66
+ return {
67
+ tokenize: o,
68
+ beforeParams: !1,
69
+ inParams: !1
70
+ };
71
+ },
72
+ token: function(t, r) {
73
+ return t.eatSpace() ? null : r.tokenize(t, r);
74
+ },
75
+ languageData: {
76
+ commentTokens: { line: "#" }
77
+ }
78
+ };
79
+ export {
80
+ k as tcl
81
+ };