@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.
Files changed (414) hide show
  1. package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
  2. package/dist/es/_virtual/index.mjs +4 -0
  3. package/dist/es/_virtual/index2.mjs +4 -0
  4. package/dist/es/_virtual/index3.mjs +4 -0
  5. package/dist/es/_virtual/lib.mjs +4 -0
  6. package/dist/es/_virtual/prism-core.mjs +4 -0
  7. package/dist/es/_virtual/types.mjs +4 -0
  8. package/dist/es/_virtual/ua-parser.min.mjs +4 -0
  9. package/dist/es/components/Copy/index.mjs +44 -0
  10. package/dist/es/components/Copy/style.less.mjs +4 -0
  11. package/dist/es/components/Markdown/ATag/index.mjs +47 -0
  12. package/dist/es/components/Markdown/Code/index.mjs +69 -0
  13. package/dist/es/components/Markdown/Image/index.mjs +60 -0
  14. package/dist/es/components/Markdown/Video/index.mjs +22 -0
  15. package/dist/es/components/Markdown/index.mjs +75 -0
  16. package/dist/es/components/Markdown/style.less.mjs +4 -0
  17. package/dist/es/index.mjs +30 -25
  18. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
  19. package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
  20. package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
  21. package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
  22. package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
  23. package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
  24. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
  25. package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
  26. package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
  27. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
  28. package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
  29. package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
  30. package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
  31. package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
  32. package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
  33. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
  34. package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
  35. package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
  36. package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +908 -0
  37. package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
  38. package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +242 -0
  39. package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
  40. package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
  41. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +4 -0
  42. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +78 -0
  43. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +14 -0
  44. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
  45. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
  46. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
  47. package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +5 -0
  48. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +4 -0
  49. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
  50. package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +5 -0
  51. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +4 -0
  52. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
  53. package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +4 -0
  54. package/dist/es/node_modules/antd-mobile/es/global/index.mjs +4 -0
  55. package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
  56. package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
  57. package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
  58. package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
  59. package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +11 -0
  60. package/dist/es/node_modules/antd-mobile/es/utils/dev-log.mjs +7 -0
  61. package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
  62. package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
  63. package/dist/es/node_modules/antd-mobile/es/utils/is-dev.mjs +4 -0
  64. package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
  65. package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
  66. package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
  67. package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
  68. package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
  69. package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
  70. package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
  71. package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
  72. package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
  73. package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
  74. package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
  75. package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
  76. package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
  77. package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
  78. package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
  79. package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
  80. package/dist/es/node_modules/classnames/index.mjs +42 -0
  81. package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
  82. package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
  83. package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
  84. package/dist/es/node_modules/is-decimal/index.mjs +8 -0
  85. package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
  86. package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
  87. package/dist/es/node_modules/parse-entities/index.mjs +83 -0
  88. package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
  89. package/dist/es/node_modules/property-information/find.mjs +25 -0
  90. package/dist/es/node_modules/property-information/html.mjs +10 -0
  91. package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
  92. package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
  93. package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
  94. package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
  95. package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
  96. package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
  97. package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
  98. package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
  99. package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
  100. package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
  101. package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
  102. package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
  103. package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
  104. package/dist/es/node_modules/property-information/normalize.mjs +7 -0
  105. package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
  106. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
  107. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
  108. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
  109. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
  110. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
  111. package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
  112. package/dist/es/node_modules/refractor/core.mjs +111 -0
  113. package/dist/es/node_modules/refractor/index.mjs +553 -0
  114. package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
  115. package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
  116. package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
  117. package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
  118. package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
  119. package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
  120. package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
  121. package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
  122. package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
  123. package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
  124. package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
  125. package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
  126. package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
  127. package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
  128. package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
  129. package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
  130. package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
  131. package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
  132. package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
  133. package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
  134. package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
  135. package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
  136. package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
  137. package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
  138. package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
  139. package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
  140. package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
  141. package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
  142. package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
  143. package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
  144. package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
  145. package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
  146. package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
  147. package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
  148. package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
  149. package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
  150. package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
  151. package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
  152. package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
  153. package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
  154. package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
  155. package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
  156. package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
  157. package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
  158. package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
  159. package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
  160. package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
  161. package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
  162. package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
  163. package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
  164. package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
  165. package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
  166. package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
  167. package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
  168. package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
  169. package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
  170. package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
  171. package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
  172. package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
  173. package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
  174. package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
  175. package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
  176. package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
  177. package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
  178. package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
  179. package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
  180. package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
  181. package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
  182. package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
  183. package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
  184. package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
  185. package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
  186. package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
  187. package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
  188. package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
  189. package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
  190. package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
  191. package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
  192. package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
  193. package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
  194. package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
  195. package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
  196. package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
  197. package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
  198. package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
  199. package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
  200. package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
  201. package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
  202. package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
  203. package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
  204. package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
  205. package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
  206. package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
  207. package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
  208. package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
  209. package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
  210. package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
  211. package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
  212. package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
  213. package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
  214. package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
  215. package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
  216. package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
  217. package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
  218. package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
  219. package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
  220. package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
  221. package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
  222. package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
  223. package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
  224. package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
  225. package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
  226. package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
  227. package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
  228. package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
  229. package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
  230. package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
  231. package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
  232. package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
  233. package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
  234. package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
  235. package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
  236. package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
  237. package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
  238. package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
  239. package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
  240. package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
  241. package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
  242. package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
  243. package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
  244. package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
  245. package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
  246. package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
  247. package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
  248. package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
  249. package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
  250. package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
  251. package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
  252. package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
  253. package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
  254. package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
  255. package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
  256. package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
  257. package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
  258. package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
  259. package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
  260. package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
  261. package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
  262. package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
  263. package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
  264. package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
  265. package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
  266. package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
  267. package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
  268. package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
  269. package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
  270. package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
  271. package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
  272. package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
  273. package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
  274. package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
  275. package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
  276. package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
  277. package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
  278. package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
  279. package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
  280. package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
  281. package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
  282. package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
  283. package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
  284. package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
  285. package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
  286. package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
  287. package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
  288. package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
  289. package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
  290. package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
  291. package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
  292. package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
  293. package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
  294. package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
  295. package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
  296. package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
  297. package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
  298. package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
  299. package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
  300. package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
  301. package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
  302. package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
  303. package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
  304. package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
  305. package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
  306. package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
  307. package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
  308. package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
  309. package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
  310. package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
  311. package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
  312. package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
  313. package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
  314. package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
  315. package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
  316. package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
  317. package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
  318. package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
  319. package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
  320. package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
  321. package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
  322. package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
  323. package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
  324. package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
  325. package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
  326. package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
  327. package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
  328. package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
  329. package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
  330. package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
  331. package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
  332. package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
  333. package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
  334. package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
  335. package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
  336. package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
  337. package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
  338. package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
  339. package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
  340. package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
  341. package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
  342. package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
  343. package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
  344. package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
  345. package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
  346. package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
  347. package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
  348. package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
  349. package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
  350. package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
  351. package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
  352. package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
  353. package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
  354. package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
  355. package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
  356. package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
  357. package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
  358. package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
  359. package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
  360. package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
  361. package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
  362. package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
  363. package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
  364. package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
  365. package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
  366. package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
  367. package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
  368. package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
  369. package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
  370. package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
  371. package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
  372. package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
  373. package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
  374. package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
  375. package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
  376. package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
  377. package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
  378. package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
  379. package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
  380. package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
  381. package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
  382. package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
  383. package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
  384. package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
  385. package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
  386. package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
  387. package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
  388. package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
  389. package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
  390. package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
  391. package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
  392. package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
  393. package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
  394. package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
  395. package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
  396. package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
  397. package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
  398. package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
  399. package/dist/es/node_modules/xtend/immutable.mjs +12 -0
  400. package/dist/es/utils/clipboard.mjs +38 -0
  401. package/dist/es/utils/markdown/index.mjs +29 -0
  402. package/dist/lib/index.js +25 -1
  403. package/dist/src/components/Copy/index.d.ts +5 -0
  404. package/dist/src/components/Markdown/ATag/index.d.ts +2 -0
  405. package/dist/src/components/Markdown/Code/index.d.ts +2 -0
  406. package/dist/src/components/Markdown/Image/index.d.ts +2 -0
  407. package/dist/src/components/Markdown/Video/index.d.ts +2 -0
  408. package/dist/src/components/Markdown/index.d.ts +9 -0
  409. package/dist/src/index.d.ts +2 -0
  410. package/dist/src/utils/clipboard.d.ts +11 -0
  411. package/dist/src/utils/markdown/index.d.ts +10 -0
  412. package/package.json +18 -2
  413. package/dist/es/style.css +0 -1
  414. package/dist/lib/style.css +0 -1
@@ -0,0 +1,199 @@
1
+ var n, i;
2
+ function r() {
3
+ if (i)
4
+ return n;
5
+ i = 1, n = t, t.displayName = "rest", t.aliases = [];
6
+ function t(e) {
7
+ e.languages.rest = {
8
+ table: [{
9
+ pattern: /(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,
10
+ lookbehind: !0,
11
+ inside: {
12
+ punctuation: /\||(?:\+[=-]+)+\+/
13
+ }
14
+ }, {
15
+ pattern: /(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,
16
+ lookbehind: !0,
17
+ inside: {
18
+ punctuation: /[=-]+/
19
+ }
20
+ }],
21
+ // Directive-like patterns
22
+ "substitution-def": {
23
+ pattern: /(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,
24
+ lookbehind: !0,
25
+ inside: {
26
+ substitution: {
27
+ pattern: /^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,
28
+ alias: "attr-value",
29
+ inside: {
30
+ punctuation: /^\||\|$/
31
+ }
32
+ },
33
+ directive: {
34
+ pattern: /( )(?! )[^:]+::/,
35
+ lookbehind: !0,
36
+ alias: "function",
37
+ inside: {
38
+ punctuation: /::$/
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "link-target": [{
44
+ pattern: /(^[\t ]*\.\. )\[[^\]]+\]/m,
45
+ lookbehind: !0,
46
+ alias: "string",
47
+ inside: {
48
+ punctuation: /^\[|\]$/
49
+ }
50
+ }, {
51
+ pattern: /(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,
52
+ lookbehind: !0,
53
+ alias: "string",
54
+ inside: {
55
+ punctuation: /^_|:$/
56
+ }
57
+ }],
58
+ directive: {
59
+ pattern: /(^[\t ]*\.\. )[^:]+::/m,
60
+ lookbehind: !0,
61
+ alias: "function",
62
+ inside: {
63
+ punctuation: /::$/
64
+ }
65
+ },
66
+ comment: {
67
+ // The two alternatives try to prevent highlighting of blank comments
68
+ pattern: /(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,
69
+ lookbehind: !0
70
+ },
71
+ title: [
72
+ // Overlined and underlined
73
+ {
74
+ pattern: /^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,
75
+ inside: {
76
+ punctuation: /^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,
77
+ important: /.+/
78
+ }
79
+ },
80
+ // Underlined only
81
+ {
82
+ pattern: /(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,
83
+ lookbehind: !0,
84
+ inside: {
85
+ punctuation: /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,
86
+ important: /.+/
87
+ }
88
+ }
89
+ ],
90
+ hr: {
91
+ pattern: /((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,
92
+ lookbehind: !0,
93
+ alias: "punctuation"
94
+ },
95
+ field: {
96
+ pattern: /(^[\t ]*):[^:\r\n]+:(?= )/m,
97
+ lookbehind: !0,
98
+ alias: "attr-name"
99
+ },
100
+ "command-line-option": {
101
+ pattern: /(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,
102
+ lookbehind: !0,
103
+ alias: "symbol"
104
+ },
105
+ "literal-block": {
106
+ pattern: /::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,
107
+ inside: {
108
+ "literal-block-punctuation": {
109
+ pattern: /^::/,
110
+ alias: "punctuation"
111
+ }
112
+ }
113
+ },
114
+ "quoted-literal-block": {
115
+ pattern: /::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,
116
+ inside: {
117
+ "literal-block-punctuation": {
118
+ pattern: /^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,
119
+ alias: "punctuation"
120
+ }
121
+ }
122
+ },
123
+ "list-bullet": {
124
+ pattern: /(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,
125
+ lookbehind: !0,
126
+ alias: "punctuation"
127
+ },
128
+ "doctest-block": {
129
+ pattern: /(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,
130
+ lookbehind: !0,
131
+ inside: {
132
+ punctuation: /^>>>/
133
+ }
134
+ },
135
+ inline: [{
136
+ pattern: /(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,
137
+ lookbehind: !0,
138
+ inside: {
139
+ bold: {
140
+ pattern: /(^\*\*).+(?=\*\*$)/,
141
+ lookbehind: !0
142
+ },
143
+ italic: {
144
+ pattern: /(^\*).+(?=\*$)/,
145
+ lookbehind: !0
146
+ },
147
+ "inline-literal": {
148
+ pattern: /(^``).+(?=``$)/,
149
+ lookbehind: !0,
150
+ alias: "symbol"
151
+ },
152
+ role: {
153
+ pattern: /^:[^:]+:|:[^:]+:$/,
154
+ alias: "function",
155
+ inside: {
156
+ punctuation: /^:|:$/
157
+ }
158
+ },
159
+ "interpreted-text": {
160
+ pattern: /(^`).+(?=`$)/,
161
+ lookbehind: !0,
162
+ alias: "attr-value"
163
+ },
164
+ substitution: {
165
+ pattern: /(^\|).+(?=\|$)/,
166
+ lookbehind: !0,
167
+ alias: "attr-value"
168
+ },
169
+ punctuation: /\*\*?|``?|\|/
170
+ }
171
+ }],
172
+ link: [{
173
+ pattern: /\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,
174
+ alias: "string",
175
+ inside: {
176
+ punctuation: /^\[|\]_$/
177
+ }
178
+ }, {
179
+ pattern: /(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,
180
+ alias: "string",
181
+ inside: {
182
+ punctuation: /^_?`|`$|`?_?_$/
183
+ }
184
+ }],
185
+ // Line block start,
186
+ // quote attribution,
187
+ // explicit markup start,
188
+ // and anonymous hyperlink target shortcut (__)
189
+ punctuation: {
190
+ pattern: /(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,
191
+ lookbehind: !0
192
+ }
193
+ };
194
+ }
195
+ return n;
196
+ }
197
+ export {
198
+ r as __require
199
+ };
@@ -0,0 +1,41 @@
1
+ var r, t;
2
+ function i() {
3
+ if (t)
4
+ return r;
5
+ t = 1, r = e, e.displayName = "rip", e.aliases = [];
6
+ function e(d) {
7
+ d.languages.rip = {
8
+ comment: {
9
+ pattern: /#.*/,
10
+ greedy: !0
11
+ },
12
+ char: {
13
+ pattern: /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,
14
+ greedy: !0
15
+ },
16
+ string: {
17
+ pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
18
+ greedy: !0
19
+ },
20
+ regex: {
21
+ pattern: /(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,
22
+ lookbehind: !0,
23
+ greedy: !0
24
+ },
25
+ keyword: /(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,
26
+ builtin: /@|\bSystem\b/,
27
+ boolean: /\b(?:false|true)\b/,
28
+ date: /\b\d{4}-\d{2}-\d{2}\b/,
29
+ time: /\b\d{2}:\d{2}:\d{2}\b/,
30
+ datetime: /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,
31
+ symbol: /:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,
32
+ number: /[+-]?\b(?:\d+\.\d+|\d+)\b/,
33
+ punctuation: /(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,
34
+ reference: /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/
35
+ };
36
+ }
37
+ return r;
38
+ }
39
+ export {
40
+ i as __require
41
+ };
@@ -0,0 +1,39 @@
1
+ var t, a;
2
+ function r() {
3
+ if (a)
4
+ return t;
5
+ a = 1, t = o, o.displayName = "roboconf", o.aliases = [];
6
+ function o(e) {
7
+ e.languages.roboconf = {
8
+ comment: /#.*/,
9
+ keyword: {
10
+ pattern: /(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,
11
+ lookbehind: !0
12
+ },
13
+ component: {
14
+ pattern: /[\w-]+(?=[ \t]*\{)/,
15
+ alias: "variable"
16
+ },
17
+ property: /[\w.-]+(?=[ \t]*:)/,
18
+ value: {
19
+ pattern: /(=[ \t]*(?![ \t]))[^,;]+/,
20
+ lookbehind: !0,
21
+ alias: "attr-value"
22
+ },
23
+ optional: {
24
+ pattern: /\(optional\)/,
25
+ alias: "builtin"
26
+ },
27
+ wildcard: {
28
+ pattern: /(\.)\*/,
29
+ lookbehind: !0,
30
+ alias: "operator"
31
+ },
32
+ punctuation: /[{},.;:=]/
33
+ };
34
+ }
35
+ return t;
36
+ }
37
+ export {
38
+ r as __require
39
+ };
@@ -0,0 +1,95 @@
1
+ var u, l;
2
+ function k() {
3
+ if (l)
4
+ return u;
5
+ l = 1, u = r, r.displayName = "robotframework", r.aliases = [];
6
+ function r(p) {
7
+ (function(n) {
8
+ var d = {
9
+ pattern: /(^[ \t]*| {2}|\t)#.*/m,
10
+ lookbehind: !0,
11
+ greedy: !0
12
+ }, a = {
13
+ pattern: /((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,
14
+ lookbehind: !0,
15
+ inside: {
16
+ punctuation: /^[$@&%]\{|\}$/
17
+ }
18
+ };
19
+ function e(b, c) {
20
+ var t = {};
21
+ t["section-header"] = {
22
+ pattern: /^ ?\*{3}.+?\*{3}/,
23
+ alias: "keyword"
24
+ };
25
+ for (var m in c)
26
+ t[m] = c[m];
27
+ return t.tag = {
28
+ pattern: /([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,
29
+ lookbehind: !0,
30
+ inside: {
31
+ punctuation: /\[|\]/
32
+ }
33
+ }, t.variable = a, t.comment = d, {
34
+ pattern: RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g, function() {
35
+ return b;
36
+ }), "im"),
37
+ alias: "section",
38
+ inside: t
39
+ };
40
+ }
41
+ var o = {
42
+ pattern: /(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,
43
+ lookbehind: !0,
44
+ alias: "string"
45
+ }, i = {
46
+ pattern: /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,
47
+ lookbehind: !0,
48
+ alias: "function",
49
+ inside: {
50
+ variable: a
51
+ }
52
+ }, s = {
53
+ pattern: /([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,
54
+ lookbehind: !0,
55
+ inside: {
56
+ variable: a
57
+ }
58
+ };
59
+ n.languages.robotframework = {
60
+ settings: e("Settings", {
61
+ documentation: {
62
+ pattern: /([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,
63
+ lookbehind: !0,
64
+ alias: "string"
65
+ },
66
+ property: {
67
+ pattern: /([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,
68
+ lookbehind: !0
69
+ }
70
+ }),
71
+ variables: e("Variables"),
72
+ "test-cases": e("Test Cases", {
73
+ "test-name": i,
74
+ documentation: o,
75
+ property: s
76
+ }),
77
+ keywords: e("Keywords", {
78
+ "keyword-name": i,
79
+ documentation: o,
80
+ property: s
81
+ }),
82
+ tasks: e("Tasks", {
83
+ "task-name": i,
84
+ documentation: o,
85
+ property: s
86
+ }),
87
+ comment: d
88
+ }, n.languages.robot = n.languages.robotframework;
89
+ })(p);
90
+ }
91
+ return u;
92
+ }
93
+ export {
94
+ k as __require
95
+ };
@@ -0,0 +1,159 @@
1
+ var i, s;
2
+ function u() {
3
+ if (s)
4
+ return i;
5
+ s = 1, i = r, r.displayName = "ruby", r.aliases = ["rb"];
6
+ function r(o) {
7
+ (function(e) {
8
+ e.languages.ruby = e.languages.extend("clike", {
9
+ comment: {
10
+ pattern: /#.*|^=begin\s[\s\S]*?^=end/m,
11
+ greedy: !0
12
+ },
13
+ "class-name": {
14
+ pattern: /(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,
15
+ lookbehind: !0,
16
+ inside: {
17
+ punctuation: /[.\\]/
18
+ }
19
+ },
20
+ keyword: /\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,
21
+ operator: /\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,
22
+ punctuation: /[(){}[\].,;]/
23
+ }), e.languages.insertBefore("ruby", "operator", {
24
+ "double-colon": {
25
+ pattern: /::/,
26
+ alias: "punctuation"
27
+ }
28
+ });
29
+ var n = {
30
+ pattern: /((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,
31
+ lookbehind: !0,
32
+ inside: {
33
+ content: {
34
+ pattern: /^(#\{)[\s\S]+(?=\}$)/,
35
+ lookbehind: !0,
36
+ inside: e.languages.ruby
37
+ },
38
+ delimiter: {
39
+ pattern: /^#\{|\}$/,
40
+ alias: "punctuation"
41
+ }
42
+ }
43
+ };
44
+ delete e.languages.ruby.function;
45
+ var t = "(?:" + [/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source, /\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source, /\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source, /\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source, /<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|") + ")", a = /(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;
46
+ e.languages.insertBefore("ruby", "keyword", {
47
+ "regex-literal": [{
48
+ pattern: RegExp(/%r/.source + t + /[egimnosux]{0,6}/.source),
49
+ greedy: !0,
50
+ inside: {
51
+ interpolation: n,
52
+ regex: /[\s\S]+/
53
+ }
54
+ }, {
55
+ pattern: /(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,
56
+ lookbehind: !0,
57
+ greedy: !0,
58
+ inside: {
59
+ interpolation: n,
60
+ regex: /[\s\S]+/
61
+ }
62
+ }],
63
+ variable: /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,
64
+ symbol: [{
65
+ pattern: RegExp(/(^|[^:]):/.source + a),
66
+ lookbehind: !0,
67
+ greedy: !0
68
+ }, {
69
+ pattern: RegExp(/([\r\n{(,][ \t]*)/.source + a + /(?=:(?!:))/.source),
70
+ lookbehind: !0,
71
+ greedy: !0
72
+ }],
73
+ "method-definition": {
74
+ pattern: /(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,
75
+ lookbehind: !0,
76
+ inside: {
77
+ function: /\b\w+$/,
78
+ keyword: /^self\b/,
79
+ "class-name": /^\w+/,
80
+ punctuation: /\./
81
+ }
82
+ }
83
+ }), e.languages.insertBefore("ruby", "string", {
84
+ "string-literal": [{
85
+ pattern: RegExp(/%[qQiIwWs]?/.source + t),
86
+ greedy: !0,
87
+ inside: {
88
+ interpolation: n,
89
+ string: /[\s\S]+/
90
+ }
91
+ }, {
92
+ pattern: /("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,
93
+ greedy: !0,
94
+ inside: {
95
+ interpolation: n,
96
+ string: /[\s\S]+/
97
+ }
98
+ }, {
99
+ pattern: /<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
100
+ alias: "heredoc-string",
101
+ greedy: !0,
102
+ inside: {
103
+ delimiter: {
104
+ pattern: /^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,
105
+ inside: {
106
+ symbol: /\b\w+/,
107
+ punctuation: /^<<[-~]?/
108
+ }
109
+ },
110
+ interpolation: n,
111
+ string: /[\s\S]+/
112
+ }
113
+ }, {
114
+ pattern: /<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
115
+ alias: "heredoc-string",
116
+ greedy: !0,
117
+ inside: {
118
+ delimiter: {
119
+ pattern: /^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,
120
+ inside: {
121
+ symbol: /\b\w+/,
122
+ punctuation: /^<<[-~]?'|'$/
123
+ }
124
+ },
125
+ string: /[\s\S]+/
126
+ }
127
+ }],
128
+ "command-literal": [{
129
+ pattern: RegExp(/%x/.source + t),
130
+ greedy: !0,
131
+ inside: {
132
+ interpolation: n,
133
+ command: {
134
+ pattern: /[\s\S]+/,
135
+ alias: "string"
136
+ }
137
+ }
138
+ }, {
139
+ pattern: /`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,
140
+ greedy: !0,
141
+ inside: {
142
+ interpolation: n,
143
+ command: {
144
+ pattern: /[\s\S]+/,
145
+ alias: "string"
146
+ }
147
+ }
148
+ }]
149
+ }), delete e.languages.ruby.string, e.languages.insertBefore("ruby", "number", {
150
+ builtin: /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,
151
+ constant: /\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/
152
+ }), e.languages.rb = e.languages.ruby;
153
+ })(o);
154
+ }
155
+ return i;
156
+ }
157
+ export {
158
+ u as __require
159
+ };
@@ -0,0 +1,122 @@
1
+ var r, s;
2
+ function i() {
3
+ if (s)
4
+ return r;
5
+ s = 1, r = a, a.displayName = "rust", a.aliases = [];
6
+ function a(u) {
7
+ (function(t) {
8
+ for (var e = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source, n = 0; n < 2; n++)
9
+ e = e.replace(/<self>/g, function() {
10
+ return e;
11
+ });
12
+ e = e.replace(/<self>/g, function() {
13
+ return /[^\s\S]/.source;
14
+ }), t.languages.rust = {
15
+ comment: [{
16
+ pattern: RegExp(/(^|[^\\])/.source + e),
17
+ lookbehind: !0,
18
+ greedy: !0
19
+ }, {
20
+ pattern: /(^|[^\\:])\/\/.*/,
21
+ lookbehind: !0,
22
+ greedy: !0
23
+ }],
24
+ string: {
25
+ pattern: /b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,
26
+ greedy: !0
27
+ },
28
+ char: {
29
+ pattern: /b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,
30
+ greedy: !0
31
+ },
32
+ attribute: {
33
+ pattern: /#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,
34
+ greedy: !0,
35
+ alias: "attr-name",
36
+ inside: {
37
+ string: null
38
+ // see below
39
+ }
40
+ },
41
+ // Closure params should not be confused with bitwise OR |
42
+ "closure-params": {
43
+ pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,
44
+ lookbehind: !0,
45
+ greedy: !0,
46
+ inside: {
47
+ "closure-punctuation": {
48
+ pattern: /^\||\|$/,
49
+ alias: "punctuation"
50
+ },
51
+ rest: null
52
+ // see below
53
+ }
54
+ },
55
+ "lifetime-annotation": {
56
+ pattern: /'\w+/,
57
+ alias: "symbol"
58
+ },
59
+ "fragment-specifier": {
60
+ pattern: /(\$\w+:)[a-z]+/,
61
+ lookbehind: !0,
62
+ alias: "punctuation"
63
+ },
64
+ variable: /\$\w+/,
65
+ "function-definition": {
66
+ pattern: /(\bfn\s+)\w+/,
67
+ lookbehind: !0,
68
+ alias: "function"
69
+ },
70
+ "type-definition": {
71
+ pattern: /(\b(?:enum|struct|trait|type|union)\s+)\w+/,
72
+ lookbehind: !0,
73
+ alias: "class-name"
74
+ },
75
+ "module-declaration": [{
76
+ pattern: /(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,
77
+ lookbehind: !0,
78
+ alias: "namespace"
79
+ }, {
80
+ pattern: /(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,
81
+ lookbehind: !0,
82
+ alias: "namespace",
83
+ inside: {
84
+ punctuation: /::/
85
+ }
86
+ }],
87
+ keyword: [
88
+ // https://github.com/rust-lang/reference/blob/master/src/keywords.md
89
+ /\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,
90
+ // primitives and str
91
+ // https://doc.rust-lang.org/stable/rust-by-example/primitives.html
92
+ /\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/
93
+ ],
94
+ // functions can technically start with an upper-case letter, but this will introduce a lot of false positives
95
+ // and Rust's naming conventions recommend snake_case anyway.
96
+ // https://doc.rust-lang.org/1.0.0/style/style/naming/README.html
97
+ function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,
98
+ macro: {
99
+ pattern: /\b\w+!/,
100
+ alias: "property"
101
+ },
102
+ constant: /\b[A-Z_][A-Z_\d]+\b/,
103
+ "class-name": /\b[A-Z]\w*\b/,
104
+ namespace: {
105
+ pattern: /(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,
106
+ inside: {
107
+ punctuation: /::/
108
+ }
109
+ },
110
+ // Hex, oct, bin, dec numbers with visual separators and type suffix
111
+ number: /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,
112
+ boolean: /\b(?:false|true)\b/,
113
+ punctuation: /->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,
114
+ operator: /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/
115
+ }, t.languages.rust["closure-params"].inside.rest = t.languages.rust, t.languages.rust.attribute.inside.string = t.languages.rust.string;
116
+ })(u);
117
+ }
118
+ return r;
119
+ }
120
+ export {
121
+ i as __require
122
+ };