@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,84 @@
|
|
|
1
|
+
var t, n;
|
|
2
|
+
function r() {
|
|
3
|
+
if (n)
|
|
4
|
+
return t;
|
|
5
|
+
n = 1, t = a, a.displayName = "haxe", a.aliases = [];
|
|
6
|
+
function a(e) {
|
|
7
|
+
e.languages.haxe = e.languages.extend("clike", {
|
|
8
|
+
string: {
|
|
9
|
+
// Strings can be multi-line
|
|
10
|
+
pattern: /"(?:[^"\\]|\\[\s\S])*"/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
"class-name": [
|
|
14
|
+
{
|
|
15
|
+
pattern: /(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,
|
|
16
|
+
lookbehind: !0
|
|
17
|
+
},
|
|
18
|
+
// based on naming convention
|
|
19
|
+
/\b[A-Z]\w*/
|
|
20
|
+
],
|
|
21
|
+
// The final look-ahead prevents highlighting of keywords if expressions such as "haxe.macro.Expr"
|
|
22
|
+
keyword: /\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,
|
|
23
|
+
function: {
|
|
24
|
+
pattern: /\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,
|
|
25
|
+
greedy: !0
|
|
26
|
+
},
|
|
27
|
+
operator: /\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/
|
|
28
|
+
}), e.languages.insertBefore("haxe", "string", {
|
|
29
|
+
"string-interpolation": {
|
|
30
|
+
pattern: /'(?:[^'\\]|\\[\s\S])*'/,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
inside: {
|
|
33
|
+
interpolation: {
|
|
34
|
+
pattern: /(^|[^\\])\$(?:\w+|\{[^{}]+\})/,
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
inside: {
|
|
37
|
+
"interpolation-punctuation": {
|
|
38
|
+
pattern: /^\$\{?|\}$/,
|
|
39
|
+
alias: "punctuation"
|
|
40
|
+
},
|
|
41
|
+
expression: {
|
|
42
|
+
pattern: /[\s\S]+/,
|
|
43
|
+
inside: e.languages.haxe
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
string: /[\s\S]+/
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}), e.languages.insertBefore("haxe", "class-name", {
|
|
51
|
+
regex: {
|
|
52
|
+
pattern: /~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,
|
|
53
|
+
greedy: !0,
|
|
54
|
+
inside: {
|
|
55
|
+
"regex-flags": /\b[a-z]+$/,
|
|
56
|
+
"regex-source": {
|
|
57
|
+
pattern: /^(~\/)[\s\S]+(?=\/$)/,
|
|
58
|
+
lookbehind: !0,
|
|
59
|
+
alias: "language-regex",
|
|
60
|
+
inside: e.languages.regex
|
|
61
|
+
},
|
|
62
|
+
"regex-delimiter": /^~\/|\/$/
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}), e.languages.insertBefore("haxe", "keyword", {
|
|
66
|
+
preprocessor: {
|
|
67
|
+
pattern: /#(?:else|elseif|end|if)\b.*/,
|
|
68
|
+
alias: "property"
|
|
69
|
+
},
|
|
70
|
+
metadata: {
|
|
71
|
+
pattern: /@:?[\w.]+/,
|
|
72
|
+
alias: "symbol"
|
|
73
|
+
},
|
|
74
|
+
reification: {
|
|
75
|
+
pattern: /\$(?:\w+|(?=\{))/,
|
|
76
|
+
alias: "important"
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return t;
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
r as __require
|
|
84
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var r, a;
|
|
2
|
+
function i() {
|
|
3
|
+
if (a)
|
|
4
|
+
return r;
|
|
5
|
+
a = 1, r = e, e.displayName = "hcl", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.hcl = {
|
|
8
|
+
comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
9
|
+
heredoc: {
|
|
10
|
+
pattern: /<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,
|
|
11
|
+
greedy: !0,
|
|
12
|
+
alias: "string"
|
|
13
|
+
},
|
|
14
|
+
keyword: [{
|
|
15
|
+
pattern: /(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,
|
|
16
|
+
inside: {
|
|
17
|
+
type: {
|
|
18
|
+
pattern: /(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,
|
|
19
|
+
lookbehind: !0,
|
|
20
|
+
alias: "variable"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
pattern: /(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,
|
|
25
|
+
inside: {
|
|
26
|
+
type: {
|
|
27
|
+
pattern: /(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
alias: "variable"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, /[\w-]+(?=\s+\{)/],
|
|
33
|
+
property: [/[-\w\.]+(?=\s*=(?!=))/, /"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],
|
|
34
|
+
string: {
|
|
35
|
+
pattern: /"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
inside: {
|
|
38
|
+
interpolation: {
|
|
39
|
+
pattern: /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,
|
|
40
|
+
lookbehind: !0,
|
|
41
|
+
inside: {
|
|
42
|
+
type: {
|
|
43
|
+
pattern: /(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,
|
|
44
|
+
lookbehind: !0,
|
|
45
|
+
alias: "variable"
|
|
46
|
+
},
|
|
47
|
+
keyword: /\b(?:count|data|local|module|path|self|terraform|var)\b/i,
|
|
48
|
+
function: /\w+(?=\()/,
|
|
49
|
+
string: {
|
|
50
|
+
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
|
|
51
|
+
greedy: !0
|
|
52
|
+
},
|
|
53
|
+
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
54
|
+
punctuation: /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
60
|
+
boolean: /\b(?:false|true)\b/i,
|
|
61
|
+
punctuation: /[=\[\]{}]/
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
return r;
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
i as __require
|
|
68
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { __require as i } from "./c.mjs";
|
|
2
|
+
var t, a;
|
|
3
|
+
function l() {
|
|
4
|
+
if (a)
|
|
5
|
+
return t;
|
|
6
|
+
a = 1;
|
|
7
|
+
var n = i();
|
|
8
|
+
t = r, r.displayName = "hlsl", r.aliases = [];
|
|
9
|
+
function r(e) {
|
|
10
|
+
e.register(n), e.languages.hlsl = e.languages.extend("c", {
|
|
11
|
+
// Regarding keywords and class names:
|
|
12
|
+
// The list of all keywords was split into 'keyword' and 'class-name' tokens based on whether they are capitalized.
|
|
13
|
+
// https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-keywords
|
|
14
|
+
// https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-reserved-words
|
|
15
|
+
"class-name": [e.languages.c["class-name"], /\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],
|
|
16
|
+
keyword: [
|
|
17
|
+
// HLSL keyword
|
|
18
|
+
/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,
|
|
19
|
+
// scalar, vector, and matrix types
|
|
20
|
+
/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/
|
|
21
|
+
],
|
|
22
|
+
// https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-grammar#floating-point-numbers
|
|
23
|
+
number: /(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,
|
|
24
|
+
boolean: /\b(?:false|true)\b/
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return t;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
l as __require
|
|
31
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var n, a;
|
|
2
|
+
function o() {
|
|
3
|
+
if (a)
|
|
4
|
+
return n;
|
|
5
|
+
a = 1, n = e, e.displayName = "hoon", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages.hoon = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /::.*/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /"[^"]*"|'[^']*'/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
constant: /%(?:\.[ny]|[\w-]+)/,
|
|
17
|
+
"class-name": /@(?:[a-z0-9-]*[a-z0-9])?|\*/i,
|
|
18
|
+
function: /(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,
|
|
19
|
+
keyword: /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
return n;
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
o as __require
|
|
26
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var p, e;
|
|
2
|
+
function i() {
|
|
3
|
+
if (e)
|
|
4
|
+
return p;
|
|
5
|
+
e = 1, p = r, r.displayName = "hpkp", r.aliases = [];
|
|
6
|
+
function r(a) {
|
|
7
|
+
a.languages.hpkp = {
|
|
8
|
+
directive: {
|
|
9
|
+
pattern: /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,
|
|
10
|
+
alias: "property"
|
|
11
|
+
},
|
|
12
|
+
operator: /=/,
|
|
13
|
+
punctuation: /;/
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
return p;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
i as __require
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var e, a;
|
|
2
|
+
function t() {
|
|
3
|
+
if (a)
|
|
4
|
+
return e;
|
|
5
|
+
a = 1, e = s, s.displayName = "hsts", s.aliases = [];
|
|
6
|
+
function s(r) {
|
|
7
|
+
r.languages.hsts = {
|
|
8
|
+
directive: {
|
|
9
|
+
pattern: /\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,
|
|
10
|
+
alias: "property"
|
|
11
|
+
},
|
|
12
|
+
operator: /=/,
|
|
13
|
+
punctuation: /;/
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
return e;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
t as __require
|
|
20
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
var u, l;
|
|
2
|
+
function v() {
|
|
3
|
+
if (l)
|
|
4
|
+
return u;
|
|
5
|
+
l = 1, u = i, i.displayName = "http", i.aliases = [];
|
|
6
|
+
function i(o) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
function s(n) {
|
|
9
|
+
return RegExp("(^(?:" + n + "):[ ]*(?![ ]))[^]+", "i");
|
|
10
|
+
}
|
|
11
|
+
e.languages.http = {
|
|
12
|
+
"request-line": {
|
|
13
|
+
pattern: /^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,
|
|
14
|
+
inside: {
|
|
15
|
+
// HTTP Method
|
|
16
|
+
method: {
|
|
17
|
+
pattern: /^[A-Z]+\b/,
|
|
18
|
+
alias: "property"
|
|
19
|
+
},
|
|
20
|
+
// Request Target e.g. http://example.com, /path/to/file
|
|
21
|
+
"request-target": {
|
|
22
|
+
pattern: /^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,
|
|
23
|
+
lookbehind: !0,
|
|
24
|
+
alias: "url",
|
|
25
|
+
inside: e.languages.uri
|
|
26
|
+
},
|
|
27
|
+
// HTTP Version
|
|
28
|
+
"http-version": {
|
|
29
|
+
pattern: /^(\s)HTTP\/[\d.]+/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
alias: "property"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"response-status": {
|
|
36
|
+
pattern: /^HTTP\/[\d.]+ \d+ .+/m,
|
|
37
|
+
inside: {
|
|
38
|
+
// HTTP Version
|
|
39
|
+
"http-version": {
|
|
40
|
+
pattern: /^HTTP\/[\d.]+/,
|
|
41
|
+
alias: "property"
|
|
42
|
+
},
|
|
43
|
+
// Status Code
|
|
44
|
+
"status-code": {
|
|
45
|
+
pattern: /^(\s)\d+(?=\s)/,
|
|
46
|
+
lookbehind: !0,
|
|
47
|
+
alias: "number"
|
|
48
|
+
},
|
|
49
|
+
// Reason Phrase
|
|
50
|
+
"reason-phrase": {
|
|
51
|
+
pattern: /^(\s).+/,
|
|
52
|
+
lookbehind: !0,
|
|
53
|
+
alias: "string"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
header: {
|
|
58
|
+
pattern: /^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,
|
|
59
|
+
inside: {
|
|
60
|
+
"header-value": [{
|
|
61
|
+
pattern: s(/Content-Security-Policy/.source),
|
|
62
|
+
lookbehind: !0,
|
|
63
|
+
alias: ["csp", "languages-csp"],
|
|
64
|
+
inside: e.languages.csp
|
|
65
|
+
}, {
|
|
66
|
+
pattern: s(/Public-Key-Pins(?:-Report-Only)?/.source),
|
|
67
|
+
lookbehind: !0,
|
|
68
|
+
alias: ["hpkp", "languages-hpkp"],
|
|
69
|
+
inside: e.languages.hpkp
|
|
70
|
+
}, {
|
|
71
|
+
pattern: s(/Strict-Transport-Security/.source),
|
|
72
|
+
lookbehind: !0,
|
|
73
|
+
alias: ["hsts", "languages-hsts"],
|
|
74
|
+
inside: e.languages.hsts
|
|
75
|
+
}, {
|
|
76
|
+
pattern: s(/[^:]+/.source),
|
|
77
|
+
lookbehind: !0
|
|
78
|
+
}],
|
|
79
|
+
"header-name": {
|
|
80
|
+
pattern: /^[^:]+/,
|
|
81
|
+
alias: "keyword"
|
|
82
|
+
},
|
|
83
|
+
punctuation: /^:/
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var t = e.languages, p = {
|
|
88
|
+
"application/javascript": t.javascript,
|
|
89
|
+
"application/json": t.json || t.javascript,
|
|
90
|
+
"application/xml": t.xml,
|
|
91
|
+
"text/xml": t.xml,
|
|
92
|
+
"text/html": t.html,
|
|
93
|
+
"text/css": t.css,
|
|
94
|
+
"text/plain": t.plain
|
|
95
|
+
}, h = {
|
|
96
|
+
"application/json": !0,
|
|
97
|
+
"application/xml": !0
|
|
98
|
+
};
|
|
99
|
+
function d(n) {
|
|
100
|
+
var g = n.replace(/^[a-z]+\//, ""), f = "\\w+/(?:[\\w.-]+\\+)+" + g + "(?![+\\w.-])";
|
|
101
|
+
return "(?:" + n + "|" + f + ")";
|
|
102
|
+
}
|
|
103
|
+
var r;
|
|
104
|
+
for (var a in p)
|
|
105
|
+
if (p[a]) {
|
|
106
|
+
r = r || {};
|
|
107
|
+
var c = h[a] ? d(a) : a;
|
|
108
|
+
r[a.replace(/\//g, "-")] = {
|
|
109
|
+
pattern: RegExp("(" + /content-type:\s*/.source + c + /(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source + ")" + // This is a little interesting:
|
|
110
|
+
// The HTTP format spec required 1 empty line before the body to make everything unambiguous.
|
|
111
|
+
// However, when writing code by hand (e.g. to display on a website) people can forget about this,
|
|
112
|
+
// so we want to be liberal here. We will allow the empty line to be omitted if the first line of
|
|
113
|
+
// the body does not start with a [\w-] character (as headers do).
|
|
114
|
+
/[^ \t\w-][\s\S]*/.source, "i"),
|
|
115
|
+
lookbehind: !0,
|
|
116
|
+
inside: p[a]
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
r && e.languages.insertBefore("http", "header", r);
|
|
120
|
+
})(o);
|
|
121
|
+
}
|
|
122
|
+
return u;
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
v as __require
|
|
126
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var i, N;
|
|
2
|
+
function T() {
|
|
3
|
+
if (N)
|
|
4
|
+
return i;
|
|
5
|
+
N = 1, i = E, E.displayName = "ichigojam", E.aliases = [];
|
|
6
|
+
function E(R) {
|
|
7
|
+
R.languages.ichigojam = {
|
|
8
|
+
comment: /(?:\B'|REM)(?:[^\n\r]*)/i,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
number: /\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
|
|
14
|
+
keyword: /\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,
|
|
15
|
+
function: /\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,
|
|
16
|
+
label: /(?:\B@\S+)/,
|
|
17
|
+
operator: /<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,
|
|
18
|
+
punctuation: /[\[,;:()\]]/
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return i;
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
T as __require
|
|
25
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var r, t;
|
|
2
|
+
function n() {
|
|
3
|
+
if (t)
|
|
4
|
+
return r;
|
|
5
|
+
t = 1, r = e, e.displayName = "icon", e.aliases = [];
|
|
6
|
+
function e(i) {
|
|
7
|
+
i.languages.icon = {
|
|
8
|
+
comment: /#.*/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
number: /\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,
|
|
14
|
+
"builtin-keyword": {
|
|
15
|
+
pattern: /&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,
|
|
16
|
+
alias: "variable"
|
|
17
|
+
},
|
|
18
|
+
directive: {
|
|
19
|
+
pattern: /\$\w+/,
|
|
20
|
+
alias: "builtin"
|
|
21
|
+
},
|
|
22
|
+
keyword: /\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,
|
|
23
|
+
function: /\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,
|
|
24
|
+
operator: /[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,
|
|
25
|
+
punctuation: /[\[\](){},;]/
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
n as __require
|
|
32
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
var n, d;
|
|
2
|
+
function p() {
|
|
3
|
+
if (d)
|
|
4
|
+
return n;
|
|
5
|
+
d = 1, n = t, t.displayName = "icuMessageFormat", t.aliases = [];
|
|
6
|
+
function t(c) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
function s(u, l) {
|
|
9
|
+
return l <= 0 ? /[]/.source : u.replace(/<SELF>/g, function() {
|
|
10
|
+
return s(u, l - 1);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
var a = /'[{}:=,](?:[^']|'')*'(?!')/, i = {
|
|
14
|
+
pattern: /''/,
|
|
15
|
+
greedy: !0,
|
|
16
|
+
alias: "operator"
|
|
17
|
+
}, g = {
|
|
18
|
+
pattern: a,
|
|
19
|
+
greedy: !0,
|
|
20
|
+
inside: {
|
|
21
|
+
escape: i
|
|
22
|
+
}
|
|
23
|
+
}, o = s(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g, function() {
|
|
24
|
+
return a.source;
|
|
25
|
+
}), 8), r = {
|
|
26
|
+
pattern: RegExp(o),
|
|
27
|
+
inside: {
|
|
28
|
+
message: {
|
|
29
|
+
pattern: /^(\{)[\s\S]+(?=\}$)/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
inside: null
|
|
32
|
+
// see below
|
|
33
|
+
},
|
|
34
|
+
"message-delimiter": {
|
|
35
|
+
pattern: /./,
|
|
36
|
+
alias: "punctuation"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
e.languages["icu-message-format"] = {
|
|
41
|
+
argument: {
|
|
42
|
+
pattern: RegExp(o),
|
|
43
|
+
greedy: !0,
|
|
44
|
+
inside: {
|
|
45
|
+
content: {
|
|
46
|
+
pattern: /^(\{)[\s\S]+(?=\}$)/,
|
|
47
|
+
lookbehind: !0,
|
|
48
|
+
inside: {
|
|
49
|
+
"argument-name": {
|
|
50
|
+
pattern: /^(\s*)[^{}:=,\s]+/,
|
|
51
|
+
lookbehind: !0
|
|
52
|
+
},
|
|
53
|
+
"choice-style": {
|
|
54
|
+
// https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1ChoiceFormat.html#details
|
|
55
|
+
pattern: /^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,
|
|
56
|
+
lookbehind: !0,
|
|
57
|
+
inside: {
|
|
58
|
+
punctuation: /\|/,
|
|
59
|
+
range: {
|
|
60
|
+
pattern: /^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,
|
|
61
|
+
lookbehind: !0,
|
|
62
|
+
inside: {
|
|
63
|
+
operator: /[<#\u2264]/,
|
|
64
|
+
number: /\S+/
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
rest: null
|
|
68
|
+
// see below
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"plural-style": {
|
|
72
|
+
// https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/PluralFormat.html#:~:text=Patterns%20and%20Their%20Interpretation
|
|
73
|
+
pattern: /^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,
|
|
74
|
+
lookbehind: !0,
|
|
75
|
+
inside: {
|
|
76
|
+
offset: /^offset:\s*\d+/,
|
|
77
|
+
"nested-message": r,
|
|
78
|
+
selector: {
|
|
79
|
+
pattern: /=\d+|[^{}:=,\s]+/,
|
|
80
|
+
inside: {
|
|
81
|
+
keyword: /^(?:few|many|one|other|two|zero)$/
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"select-style": {
|
|
87
|
+
// https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/SelectFormat.html#:~:text=Patterns%20and%20Their%20Interpretation
|
|
88
|
+
pattern: /^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,
|
|
89
|
+
lookbehind: !0,
|
|
90
|
+
inside: {
|
|
91
|
+
"nested-message": r,
|
|
92
|
+
selector: {
|
|
93
|
+
pattern: /[^{}:=,\s]+/,
|
|
94
|
+
inside: {
|
|
95
|
+
keyword: /^other$/
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
keyword: /\b(?:choice|plural|select|selectordinal)\b/,
|
|
101
|
+
"arg-type": {
|
|
102
|
+
pattern: /\b(?:date|duration|number|ordinal|spellout|time)\b/,
|
|
103
|
+
alias: "keyword"
|
|
104
|
+
},
|
|
105
|
+
"arg-skeleton": {
|
|
106
|
+
pattern: /(,\s*)::[^{}:=,\s]+/,
|
|
107
|
+
lookbehind: !0
|
|
108
|
+
},
|
|
109
|
+
"arg-style": {
|
|
110
|
+
pattern: /(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,
|
|
111
|
+
lookbehind: !0
|
|
112
|
+
},
|
|
113
|
+
"arg-style-text": {
|
|
114
|
+
pattern: RegExp(/(^\s*,\s*(?=\S))/.source + s(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source, 8) + "$"),
|
|
115
|
+
lookbehind: !0,
|
|
116
|
+
alias: "string"
|
|
117
|
+
},
|
|
118
|
+
punctuation: /,/
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"argument-delimiter": {
|
|
122
|
+
pattern: /./,
|
|
123
|
+
alias: "operator"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
escape: i,
|
|
128
|
+
string: g
|
|
129
|
+
}, r.inside.message.inside = e.languages["icu-message-format"], e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest = e.languages["icu-message-format"];
|
|
130
|
+
})(c);
|
|
131
|
+
}
|
|
132
|
+
return n;
|
|
133
|
+
}
|
|
134
|
+
export {
|
|
135
|
+
p as __require
|
|
136
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __require as n } from "./haskell.mjs";
|
|
2
|
+
var r, a;
|
|
3
|
+
function o() {
|
|
4
|
+
if (a)
|
|
5
|
+
return r;
|
|
6
|
+
a = 1;
|
|
7
|
+
var t = n();
|
|
8
|
+
r = i, i.displayName = "idris", i.aliases = ["idr"];
|
|
9
|
+
function i(e) {
|
|
10
|
+
e.register(t), e.languages.idris = e.languages.extend("haskell", {
|
|
11
|
+
comment: {
|
|
12
|
+
pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m
|
|
13
|
+
},
|
|
14
|
+
keyword: /\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,
|
|
15
|
+
builtin: void 0
|
|
16
|
+
}), e.languages.insertBefore("idris", "keyword", {
|
|
17
|
+
"import-statement": {
|
|
18
|
+
pattern: /(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,
|
|
19
|
+
lookbehind: !0,
|
|
20
|
+
inside: {
|
|
21
|
+
punctuation: /\./
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}), e.languages.idr = e.languages.idris;
|
|
25
|
+
}
|
|
26
|
+
return r;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
o as __require
|
|
30
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var E, N;
|
|
2
|
+
function I() {
|
|
3
|
+
if (N)
|
|
4
|
+
return E;
|
|
5
|
+
N = 1, E = T, T.displayName = "iecst", T.aliases = [];
|
|
6
|
+
function T(e) {
|
|
7
|
+
e.languages.iecst = {
|
|
8
|
+
comment: [{
|
|
9
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,
|
|
10
|
+
lookbehind: !0,
|
|
11
|
+
greedy: !0
|
|
12
|
+
}, {
|
|
13
|
+
pattern: /(^|[^\\:])\/\/.*/,
|
|
14
|
+
lookbehind: !0,
|
|
15
|
+
greedy: !0
|
|
16
|
+
}],
|
|
17
|
+
string: {
|
|
18
|
+
pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
19
|
+
greedy: !0
|
|
20
|
+
},
|
|
21
|
+
keyword: [/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i, /\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],
|
|
22
|
+
"class-name": /\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,
|
|
23
|
+
address: {
|
|
24
|
+
pattern: /%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,
|
|
25
|
+
alias: "symbol"
|
|
26
|
+
},
|
|
27
|
+
number: /\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
28
|
+
boolean: /\b(?:FALSE|NULL|TRUE)\b/,
|
|
29
|
+
operator: /S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,
|
|
30
|
+
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
31
|
+
punctuation: /[()[\].,;]/
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return E;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
I as __require
|
|
38
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var g, r;
|
|
2
|
+
function o() {
|
|
3
|
+
if (r)
|
|
4
|
+
return g;
|
|
5
|
+
r = 1, g = n, n.displayName = "ignore", n.aliases = ["gitignore", "hgignore", "npmignore"];
|
|
6
|
+
function n(a) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
e.languages.ignore = {
|
|
9
|
+
// https://git-scm.com/docs/gitignore
|
|
10
|
+
comment: /^#.*/m,
|
|
11
|
+
entry: {
|
|
12
|
+
pattern: /\S(?:.*(?:(?:\\ )|\S))?/,
|
|
13
|
+
alias: "string",
|
|
14
|
+
inside: {
|
|
15
|
+
operator: /^!|\*\*?|\?/,
|
|
16
|
+
regex: {
|
|
17
|
+
pattern: /(^|[^\\])\[[^\[\]]*\]/,
|
|
18
|
+
lookbehind: !0
|
|
19
|
+
},
|
|
20
|
+
punctuation: /\//
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, e.languages.gitignore = e.languages.ignore, e.languages.hgignore = e.languages.ignore, e.languages.npmignore = e.languages.ignore;
|
|
24
|
+
})(a);
|
|
25
|
+
}
|
|
26
|
+
return g;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
o as __require
|
|
30
|
+
};
|