@glodon-aiot/react-components 3.3.0-beta.14 → 3.3.0-beta.17
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/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/prism-core.mjs +4 -0
- package/dist/es/_virtual/types.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/components/Copy/index.mjs +44 -0
- package/dist/es/components/Copy/style.less.mjs +4 -0
- package/dist/es/components/Markdown/ATag/index.mjs +47 -0
- package/dist/es/components/Markdown/Code/index.mjs +69 -0
- package/dist/es/components/Markdown/Image/index.mjs +60 -0
- package/dist/es/components/Markdown/Video/index.mjs +22 -0
- package/dist/es/components/Markdown/index.mjs +75 -0
- package/dist/es/components/Markdown/style.less.mjs +4 -0
- package/dist/es/index.mjs +30 -25
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +908 -0
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +242 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +78 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +14 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/dev-log.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
- package/dist/es/node_modules/antd-mobile/es/utils/is-dev.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/classnames/index.mjs +42 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
- package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
- package/dist/es/node_modules/is-decimal/index.mjs +8 -0
- package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
- package/dist/es/node_modules/parse-entities/index.mjs +83 -0
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
- package/dist/es/node_modules/property-information/find.mjs +25 -0
- package/dist/es/node_modules/property-information/html.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
- package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
- package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
- package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
- package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/property-information/normalize.mjs +7 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
- package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
- package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
- package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
- package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
- package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
- package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
- package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
- package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
- package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
- package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
- package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
- package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
- package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
- package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
- package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
- package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
- package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
- package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
- package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
- package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
- package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
- package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
- package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
- package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
- package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
- package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
- package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
- package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
- package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
- package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
- package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
- package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/lib/index.js +25 -1
- package/dist/src/components/Copy/index.d.ts +5 -0
- package/dist/src/components/Markdown/ATag/index.d.ts +2 -0
- package/dist/src/components/Markdown/Code/index.d.ts +2 -0
- package/dist/src/components/Markdown/Image/index.d.ts +2 -0
- package/dist/src/components/Markdown/Video/index.d.ts +2 -0
- package/dist/src/components/Markdown/index.d.ts +9 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/clipboard.d.ts +11 -0
- package/dist/src/utils/markdown/index.d.ts +10 -0
- package/package.json +18 -2
- package/dist/es/style.css +0 -1
- package/dist/lib/style.css +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __require as o } from "./json.mjs";
|
|
2
|
+
var e, t;
|
|
3
|
+
function d() {
|
|
4
|
+
if (t)
|
|
5
|
+
return e;
|
|
6
|
+
t = 1;
|
|
7
|
+
var u = o();
|
|
8
|
+
e = r, r.displayName = "json5", r.aliases = [];
|
|
9
|
+
function r(n) {
|
|
10
|
+
n.register(u), function(a) {
|
|
11
|
+
var s = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
|
|
12
|
+
a.languages.json5 = a.languages.extend("json", {
|
|
13
|
+
property: [{
|
|
14
|
+
pattern: RegExp(s.source + "(?=\\s*:)"),
|
|
15
|
+
greedy: !0
|
|
16
|
+
}, {
|
|
17
|
+
pattern: /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
|
|
18
|
+
alias: "unquoted"
|
|
19
|
+
}],
|
|
20
|
+
string: {
|
|
21
|
+
pattern: s,
|
|
22
|
+
greedy: !0
|
|
23
|
+
},
|
|
24
|
+
number: /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
|
|
25
|
+
});
|
|
26
|
+
}(n);
|
|
27
|
+
}
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
d as __require
|
|
32
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __require as o } from "./json.mjs";
|
|
2
|
+
var r, s;
|
|
3
|
+
function t() {
|
|
4
|
+
if (s)
|
|
5
|
+
return r;
|
|
6
|
+
s = 1;
|
|
7
|
+
var a = o();
|
|
8
|
+
r = e, e.displayName = "jsonp", e.aliases = [];
|
|
9
|
+
function e(n) {
|
|
10
|
+
n.register(a), n.languages.jsonp = n.languages.extend("json", {
|
|
11
|
+
punctuation: /[{}[\]();,.]/
|
|
12
|
+
}), n.languages.insertBefore("jsonp", "punctuation", {
|
|
13
|
+
function: /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return r;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
t as __require
|
|
20
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var e, t;
|
|
2
|
+
function s() {
|
|
3
|
+
if (t)
|
|
4
|
+
return e;
|
|
5
|
+
t = 1, e = a, a.displayName = "jsstacktrace", a.aliases = [];
|
|
6
|
+
function a(n) {
|
|
7
|
+
n.languages.jsstacktrace = {
|
|
8
|
+
"error-message": {
|
|
9
|
+
pattern: /^\S.*/m,
|
|
10
|
+
alias: "string"
|
|
11
|
+
},
|
|
12
|
+
"stack-frame": {
|
|
13
|
+
pattern: /(^[ \t]+)at[ \t].*/m,
|
|
14
|
+
lookbehind: !0,
|
|
15
|
+
inside: {
|
|
16
|
+
"not-my-code": {
|
|
17
|
+
pattern: /^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,
|
|
18
|
+
alias: "comment"
|
|
19
|
+
},
|
|
20
|
+
filename: {
|
|
21
|
+
pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,
|
|
22
|
+
lookbehind: !0,
|
|
23
|
+
alias: "url"
|
|
24
|
+
},
|
|
25
|
+
function: {
|
|
26
|
+
pattern: /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
|
|
27
|
+
lookbehind: !0,
|
|
28
|
+
inside: {
|
|
29
|
+
punctuation: /\./
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
punctuation: /[()]/,
|
|
33
|
+
keyword: /\b(?:at|new)\b/,
|
|
34
|
+
alias: {
|
|
35
|
+
pattern: /\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
|
|
36
|
+
alias: "variable"
|
|
37
|
+
},
|
|
38
|
+
"line-number": {
|
|
39
|
+
pattern: /:\d+(?::\d+)?\b/,
|
|
40
|
+
alias: "number",
|
|
41
|
+
inside: {
|
|
42
|
+
punctuation: /:/
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
return e;
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
s as __require
|
|
53
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var p, d;
|
|
2
|
+
function v() {
|
|
3
|
+
if (d)
|
|
4
|
+
return p;
|
|
5
|
+
d = 1, p = u, u.displayName = "jsx", u.aliases = [];
|
|
6
|
+
function u(x) {
|
|
7
|
+
(function(a) {
|
|
8
|
+
var i = a.util.clone(a.languages.javascript), j = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, h = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, l = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
|
|
9
|
+
function c(e, t) {
|
|
10
|
+
return e = e.replace(/<S>/g, function() {
|
|
11
|
+
return j;
|
|
12
|
+
}).replace(/<BRACES>/g, function() {
|
|
13
|
+
return h;
|
|
14
|
+
}).replace(/<SPREAD>/g, function() {
|
|
15
|
+
return l;
|
|
16
|
+
}), RegExp(e, t);
|
|
17
|
+
}
|
|
18
|
+
l = c(l).source, a.languages.jsx = a.languages.extend("markup", i), a.languages.jsx.tag.pattern = c(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), a.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, a.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, a.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, a.languages.jsx.tag.inside.comment = i.comment, a.languages.insertBefore("inside", "attr-name", {
|
|
19
|
+
spread: {
|
|
20
|
+
pattern: c(/<SPREAD>/.source),
|
|
21
|
+
inside: a.languages.jsx
|
|
22
|
+
}
|
|
23
|
+
}, a.languages.jsx.tag), a.languages.insertBefore("inside", "special-attr", {
|
|
24
|
+
script: {
|
|
25
|
+
// Allow for two levels of nesting
|
|
26
|
+
pattern: c(/=<BRACES>/.source),
|
|
27
|
+
alias: "language-javascript",
|
|
28
|
+
inside: {
|
|
29
|
+
"script-punctuation": {
|
|
30
|
+
pattern: /^=(?=\{)/,
|
|
31
|
+
alias: "punctuation"
|
|
32
|
+
},
|
|
33
|
+
rest: a.languages.jsx
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}, a.languages.jsx.tag);
|
|
37
|
+
var g = function(e) {
|
|
38
|
+
return e ? typeof e == "string" ? e : typeof e.content == "string" ? e.content : e.content.map(g).join("") : "";
|
|
39
|
+
}, f = function(e) {
|
|
40
|
+
for (var t = [], s = 0; s < e.length; s++) {
|
|
41
|
+
var n = e[s], o = !1;
|
|
42
|
+
if (typeof n != "string" && (n.type === "tag" && n.content[0] && n.content[0].type === "tag" ? n.content[0].content[0].content === "</" ? t.length > 0 && t[t.length - 1].tagName === g(n.content[0].content[1]) && t.pop() : n.content[n.content.length - 1].content === "/>" || t.push({
|
|
43
|
+
tagName: g(n.content[0].content[1]),
|
|
44
|
+
openedBraces: 0
|
|
45
|
+
}) : t.length > 0 && n.type === "punctuation" && n.content === "{" ? t[t.length - 1].openedBraces++ : t.length > 0 && t[t.length - 1].openedBraces > 0 && n.type === "punctuation" && n.content === "}" ? t[t.length - 1].openedBraces-- : o = !0), (o || typeof n == "string") && t.length > 0 && t[t.length - 1].openedBraces === 0) {
|
|
46
|
+
var r = g(n);
|
|
47
|
+
s < e.length - 1 && (typeof e[s + 1] == "string" || e[s + 1].type === "plain-text") && (r += g(e[s + 1]), e.splice(s + 1, 1)), s > 0 && (typeof e[s - 1] == "string" || e[s - 1].type === "plain-text") && (r = g(e[s - 1]) + r, e.splice(s - 1, 1), s--), e[s] = new a.Token("plain-text", r, null, r);
|
|
48
|
+
}
|
|
49
|
+
n.content && typeof n.content != "string" && f(n.content);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
a.hooks.add("after-tokenize", function(e) {
|
|
53
|
+
e.language !== "jsx" && e.language !== "tsx" || f(e.tokens);
|
|
54
|
+
});
|
|
55
|
+
})(x);
|
|
56
|
+
}
|
|
57
|
+
return p;
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
v as __require
|
|
61
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var r, t;
|
|
2
|
+
function n() {
|
|
3
|
+
if (t)
|
|
4
|
+
return r;
|
|
5
|
+
t = 1, r = e, e.displayName = "julia", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
a.languages.julia = {
|
|
8
|
+
comment: {
|
|
9
|
+
// support one level of nested comments
|
|
10
|
+
// https://github.com/JuliaLang/julia/pull/6128
|
|
11
|
+
pattern: /(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,
|
|
12
|
+
lookbehind: !0
|
|
13
|
+
},
|
|
14
|
+
regex: {
|
|
15
|
+
// https://docs.julialang.org/en/v1/manual/strings/#Regular-Expressions-1
|
|
16
|
+
pattern: /r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,
|
|
17
|
+
greedy: !0
|
|
18
|
+
},
|
|
19
|
+
string: {
|
|
20
|
+
// https://docs.julialang.org/en/v1/manual/strings/#String-Basics-1
|
|
21
|
+
// https://docs.julialang.org/en/v1/manual/strings/#non-standard-string-literals-1
|
|
22
|
+
// https://docs.julialang.org/en/v1/manual/running-external-programs/#Running-External-Programs-1
|
|
23
|
+
pattern: /"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,
|
|
24
|
+
greedy: !0
|
|
25
|
+
},
|
|
26
|
+
char: {
|
|
27
|
+
// https://docs.julialang.org/en/v1/manual/strings/#man-characters-1
|
|
28
|
+
pattern: /(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,
|
|
29
|
+
lookbehind: !0,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
keyword: /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,
|
|
33
|
+
boolean: /\b(?:false|true)\b/,
|
|
34
|
+
number: /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,
|
|
35
|
+
// https://docs.julialang.org/en/v1/manual/mathematical-operations/
|
|
36
|
+
// https://docs.julialang.org/en/v1/manual/mathematical-operations/#Operator-Precedence-and-Associativity-1
|
|
37
|
+
operator: /&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,
|
|
38
|
+
punctuation: /::?|[{}[\]();,.?]/,
|
|
39
|
+
// https://docs.julialang.org/en/v1/base/numbers/#Base.im
|
|
40
|
+
constant: /\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return r;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
n as __require
|
|
47
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var r, _;
|
|
2
|
+
function i() {
|
|
3
|
+
if (_)
|
|
4
|
+
return r;
|
|
5
|
+
_ = 1, r = e, e.displayName = "keepalived", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.keepalived = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /[#!].*/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,
|
|
14
|
+
lookbehind: !0,
|
|
15
|
+
greedy: !0
|
|
16
|
+
},
|
|
17
|
+
// support IPv4, IPv6, subnet mask
|
|
18
|
+
ip: {
|
|
19
|
+
pattern: RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g, function() {
|
|
20
|
+
return /(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source;
|
|
21
|
+
}), "i"),
|
|
22
|
+
alias: "number"
|
|
23
|
+
},
|
|
24
|
+
// support *nix / Windows, directory / file
|
|
25
|
+
path: {
|
|
26
|
+
pattern: /(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,
|
|
27
|
+
lookbehind: !0,
|
|
28
|
+
alias: "string"
|
|
29
|
+
},
|
|
30
|
+
variable: /\$\{?\w+\}?/,
|
|
31
|
+
email: {
|
|
32
|
+
pattern: /[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,
|
|
33
|
+
alias: "string"
|
|
34
|
+
},
|
|
35
|
+
"conditional-configuration": {
|
|
36
|
+
pattern: /@\^?[\w-]+/,
|
|
37
|
+
alias: "variable"
|
|
38
|
+
},
|
|
39
|
+
operator: /=/,
|
|
40
|
+
property: /\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,
|
|
41
|
+
constant: /\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,
|
|
42
|
+
number: {
|
|
43
|
+
pattern: /(^|[^\w.-])-?\d+(?:\.\d+)?/,
|
|
44
|
+
lookbehind: !0
|
|
45
|
+
},
|
|
46
|
+
boolean: /\b(?:false|no|off|on|true|yes)\b/,
|
|
47
|
+
punctuation: /[\{\}]/
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
return r;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
i as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
var a, r;
|
|
2
|
+
function n() {
|
|
3
|
+
if (r)
|
|
4
|
+
return a;
|
|
5
|
+
r = 1, a = e, e.displayName = "keyman", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.keyman = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /\bc .*/i,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
"virtual-key": {
|
|
17
|
+
pattern: /\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,
|
|
18
|
+
greedy: !0,
|
|
19
|
+
alias: "function"
|
|
20
|
+
// alias for styles
|
|
21
|
+
},
|
|
22
|
+
// https://help.keyman.com/developer/language/guide/headers
|
|
23
|
+
"header-keyword": {
|
|
24
|
+
pattern: /&\w+/,
|
|
25
|
+
alias: "bold"
|
|
26
|
+
// alias for styles
|
|
27
|
+
},
|
|
28
|
+
"header-statement": {
|
|
29
|
+
pattern: /\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,
|
|
30
|
+
alias: "bold"
|
|
31
|
+
// alias for styles
|
|
32
|
+
},
|
|
33
|
+
"rule-keyword": {
|
|
34
|
+
pattern: /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,
|
|
35
|
+
alias: "keyword"
|
|
36
|
+
},
|
|
37
|
+
"structural-keyword": {
|
|
38
|
+
pattern: /\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,
|
|
39
|
+
alias: "keyword"
|
|
40
|
+
},
|
|
41
|
+
"compile-target": {
|
|
42
|
+
pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,
|
|
43
|
+
alias: "property"
|
|
44
|
+
},
|
|
45
|
+
// U+####, x###, d### characters and numbers
|
|
46
|
+
number: /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,
|
|
47
|
+
operator: /[+>\\$]|\.\./,
|
|
48
|
+
punctuation: /[()=,]/
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
return a;
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
n as __require
|
|
55
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
var t, i;
|
|
2
|
+
function l() {
|
|
3
|
+
if (i)
|
|
4
|
+
return t;
|
|
5
|
+
i = 1, t = n, n.displayName = "kotlin", n.aliases = ["kt", "kts"];
|
|
6
|
+
function n(r) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
e.languages.kotlin = e.languages.extend("clike", {
|
|
9
|
+
keyword: {
|
|
10
|
+
// The lookbehind prevents wrong highlighting of e.g. kotlin.properties.get
|
|
11
|
+
pattern: /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,
|
|
12
|
+
lookbehind: !0
|
|
13
|
+
},
|
|
14
|
+
function: [{
|
|
15
|
+
pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,
|
|
16
|
+
greedy: !0
|
|
17
|
+
}, {
|
|
18
|
+
pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,
|
|
19
|
+
lookbehind: !0,
|
|
20
|
+
greedy: !0
|
|
21
|
+
}],
|
|
22
|
+
number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
|
|
23
|
+
operator: /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
|
|
24
|
+
}), delete e.languages.kotlin["class-name"];
|
|
25
|
+
var a = {
|
|
26
|
+
"interpolation-punctuation": {
|
|
27
|
+
pattern: /^\$\{?|\}$/,
|
|
28
|
+
alias: "punctuation"
|
|
29
|
+
},
|
|
30
|
+
expression: {
|
|
31
|
+
pattern: /[\s\S]+/,
|
|
32
|
+
inside: e.languages.kotlin
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
e.languages.insertBefore("kotlin", "string", {
|
|
36
|
+
// https://kotlinlang.org/spec/expressions.html#string-interpolation-expressions
|
|
37
|
+
"string-literal": [{
|
|
38
|
+
pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,
|
|
39
|
+
alias: "multiline",
|
|
40
|
+
inside: {
|
|
41
|
+
interpolation: {
|
|
42
|
+
pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i,
|
|
43
|
+
inside: a
|
|
44
|
+
},
|
|
45
|
+
string: /[\s\S]+/
|
|
46
|
+
}
|
|
47
|
+
}, {
|
|
48
|
+
pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,
|
|
49
|
+
alias: "singleline",
|
|
50
|
+
inside: {
|
|
51
|
+
interpolation: {
|
|
52
|
+
pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
|
|
53
|
+
lookbehind: !0,
|
|
54
|
+
inside: a
|
|
55
|
+
},
|
|
56
|
+
string: /[\s\S]+/
|
|
57
|
+
}
|
|
58
|
+
}],
|
|
59
|
+
char: {
|
|
60
|
+
// https://kotlinlang.org/spec/expressions.html#character-literals
|
|
61
|
+
pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,
|
|
62
|
+
greedy: !0
|
|
63
|
+
}
|
|
64
|
+
}), delete e.languages.kotlin.string, e.languages.insertBefore("kotlin", "keyword", {
|
|
65
|
+
annotation: {
|
|
66
|
+
pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,
|
|
67
|
+
alias: "builtin"
|
|
68
|
+
}
|
|
69
|
+
}), e.languages.insertBefore("kotlin", "function", {
|
|
70
|
+
label: {
|
|
71
|
+
pattern: /\b\w+@|@\w+\b/,
|
|
72
|
+
alias: "symbol"
|
|
73
|
+
}
|
|
74
|
+
}), e.languages.kt = e.languages.kotlin, e.languages.kts = e.languages.kotlin;
|
|
75
|
+
})(r);
|
|
76
|
+
}
|
|
77
|
+
return t;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
l as __require
|
|
81
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
var o, t;
|
|
2
|
+
function p() {
|
|
3
|
+
if (t)
|
|
4
|
+
return o;
|
|
5
|
+
t = 1, o = e, e.displayName = "kumir", e.aliases = ["kum"];
|
|
6
|
+
function e(a) {
|
|
7
|
+
(function(r) {
|
|
8
|
+
var u = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;
|
|
9
|
+
function n(d, i) {
|
|
10
|
+
return RegExp(d.replace(/<nonId>/g, u), i);
|
|
11
|
+
}
|
|
12
|
+
r.languages.kumir = {
|
|
13
|
+
comment: {
|
|
14
|
+
pattern: /\|.*/
|
|
15
|
+
},
|
|
16
|
+
prolog: {
|
|
17
|
+
pattern: /#.*/,
|
|
18
|
+
greedy: !0
|
|
19
|
+
},
|
|
20
|
+
string: {
|
|
21
|
+
pattern: /"[^\n\r"]*"|'[^\n\r']*'/,
|
|
22
|
+
greedy: !0
|
|
23
|
+
},
|
|
24
|
+
boolean: {
|
|
25
|
+
pattern: n(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),
|
|
26
|
+
lookbehind: !0
|
|
27
|
+
},
|
|
28
|
+
"operator-word": {
|
|
29
|
+
pattern: n(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
alias: "keyword"
|
|
32
|
+
},
|
|
33
|
+
"system-variable": {
|
|
34
|
+
pattern: n(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
alias: "keyword"
|
|
37
|
+
},
|
|
38
|
+
type: [{
|
|
39
|
+
pattern: n(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),
|
|
40
|
+
lookbehind: !0,
|
|
41
|
+
alias: "builtin"
|
|
42
|
+
}, {
|
|
43
|
+
pattern: n(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),
|
|
44
|
+
lookbehind: !0,
|
|
45
|
+
alias: "important"
|
|
46
|
+
}],
|
|
47
|
+
/**
|
|
48
|
+
* Should be performed after searching for type names because of "таб".
|
|
49
|
+
* "таб" is a reserved word, but never used without a preceding type name.
|
|
50
|
+
* "НАЗНАЧИТЬ", "Фввод", and "Фвывод" are not reserved words.
|
|
51
|
+
*/
|
|
52
|
+
keyword: {
|
|
53
|
+
pattern: n(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),
|
|
54
|
+
lookbehind: !0
|
|
55
|
+
},
|
|
56
|
+
/** Should be performed after searching for reserved words. */
|
|
57
|
+
name: {
|
|
58
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
59
|
+
pattern: n(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),
|
|
60
|
+
lookbehind: !0
|
|
61
|
+
},
|
|
62
|
+
/** Should be performed after searching for names. */
|
|
63
|
+
number: {
|
|
64
|
+
pattern: n(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source, "i"),
|
|
65
|
+
lookbehind: !0
|
|
66
|
+
},
|
|
67
|
+
/** Should be performed after searching for words. */
|
|
68
|
+
punctuation: /:=|[(),:;\[\]]/,
|
|
69
|
+
/**
|
|
70
|
+
* Should be performed after searching for
|
|
71
|
+
* - numeric constants (because of "+" and "-");
|
|
72
|
+
* - punctuation marks (because of ":=" and "=").
|
|
73
|
+
*/
|
|
74
|
+
"operator-char": {
|
|
75
|
+
pattern: /\*\*?|<[=>]?|>=?|[-+/=]/,
|
|
76
|
+
alias: "operator"
|
|
77
|
+
}
|
|
78
|
+
}, r.languages.kum = r.languages.kumir;
|
|
79
|
+
})(a);
|
|
80
|
+
}
|
|
81
|
+
return o;
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
p as __require
|
|
85
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var a, t;
|
|
2
|
+
function r() {
|
|
3
|
+
if (t)
|
|
4
|
+
return a;
|
|
5
|
+
t = 1, a = e, e.displayName = "kusto", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages.kusto = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /\/\/.*/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
verb: {
|
|
17
|
+
pattern: /(\|\s*)[a-z][\w-]*/i,
|
|
18
|
+
lookbehind: !0,
|
|
19
|
+
alias: "keyword"
|
|
20
|
+
},
|
|
21
|
+
command: {
|
|
22
|
+
pattern: /\.[a-z][a-z\d-]*\b/,
|
|
23
|
+
alias: "keyword"
|
|
24
|
+
},
|
|
25
|
+
"class-name": /\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,
|
|
26
|
+
keyword: /\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,
|
|
27
|
+
boolean: /\b(?:false|null|true)\b/,
|
|
28
|
+
function: /\b[a-z_]\w*(?=\s*\()/,
|
|
29
|
+
datetime: [{
|
|
30
|
+
// RFC 822 + RFC 850
|
|
31
|
+
pattern: /\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,
|
|
32
|
+
alias: "number"
|
|
33
|
+
}, {
|
|
34
|
+
// ISO 8601
|
|
35
|
+
pattern: /[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,
|
|
36
|
+
alias: "number"
|
|
37
|
+
}],
|
|
38
|
+
number: /\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,
|
|
39
|
+
operator: /=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,
|
|
40
|
+
punctuation: /[()\[\]{},;.:]/
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return a;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
r as __require
|
|
47
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var t, i;
|
|
2
|
+
function u() {
|
|
3
|
+
if (i)
|
|
4
|
+
return t;
|
|
5
|
+
i = 1, t = e, e.displayName = "latex", e.aliases = ["tex", "context"];
|
|
6
|
+
function e(s) {
|
|
7
|
+
(function(a) {
|
|
8
|
+
var n = /\\(?:[^a-z()[\]]|[a-z*]+)/i, r = {
|
|
9
|
+
"equation-command": {
|
|
10
|
+
pattern: n,
|
|
11
|
+
alias: "regex"
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
a.languages.latex = {
|
|
15
|
+
comment: /%.*/,
|
|
16
|
+
// the verbatim environment prints whitespace to the document
|
|
17
|
+
cdata: {
|
|
18
|
+
pattern: /(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
|
|
19
|
+
lookbehind: !0
|
|
20
|
+
},
|
|
21
|
+
/*
|
|
22
|
+
* equations can be between $$ $$ or $ $ or \( \) or \[ \]
|
|
23
|
+
* (all are multiline)
|
|
24
|
+
*/
|
|
25
|
+
equation: [{
|
|
26
|
+
pattern: /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,
|
|
27
|
+
inside: r,
|
|
28
|
+
alias: "string"
|
|
29
|
+
}, {
|
|
30
|
+
pattern: /(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
|
|
31
|
+
lookbehind: !0,
|
|
32
|
+
inside: r,
|
|
33
|
+
alias: "string"
|
|
34
|
+
}],
|
|
35
|
+
/*
|
|
36
|
+
* arguments which are keywords or references are highlighted
|
|
37
|
+
* as keywords
|
|
38
|
+
*/
|
|
39
|
+
keyword: {
|
|
40
|
+
pattern: /(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
|
|
41
|
+
lookbehind: !0
|
|
42
|
+
},
|
|
43
|
+
url: {
|
|
44
|
+
pattern: /(\\url\{)[^}]+(?=\})/,
|
|
45
|
+
lookbehind: !0
|
|
46
|
+
},
|
|
47
|
+
/*
|
|
48
|
+
* section or chapter headlines are highlighted as bold so that
|
|
49
|
+
* they stand out more
|
|
50
|
+
*/
|
|
51
|
+
headline: {
|
|
52
|
+
pattern: /(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
|
|
53
|
+
lookbehind: !0,
|
|
54
|
+
alias: "class-name"
|
|
55
|
+
},
|
|
56
|
+
function: {
|
|
57
|
+
pattern: n,
|
|
58
|
+
alias: "selector"
|
|
59
|
+
},
|
|
60
|
+
punctuation: /[[\]{}&]/
|
|
61
|
+
}, a.languages.tex = a.languages.latex, a.languages.context = a.languages.latex;
|
|
62
|
+
})(s);
|
|
63
|
+
}
|
|
64
|
+
return t;
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
u as __require
|
|
68
|
+
};
|