@oslokommune/punkt-react 11.18.0 → 11.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/index.d.ts +621 -0
- package/dist/punkt-react.es.js +11897 -37
- package/dist/punkt-react.umd.js +82 -85
- package/package.json +2 -2
- package/src/components/inputwrapper/InputWrapper.tsx +13 -1
- package/src/components/preview/Preview.tsx +1 -1
- package/src/components/searchinput/SearchInput.test.tsx +17 -4
- package/src/components/searchinput/SearchInput.tsx +39 -20
- package/src/components/select/Select.tsx +1 -1
- package/src/components/textarea/Textarea.tsx +5 -7
- package/src/components/textinput/Textinput.tsx +35 -9
- package/dist/abap-08667679.js +0 -85
- package/dist/abnf-6d3c70eb.js +0 -88
- package/dist/actionscript-f525636a.js +0 -44
- package/dist/ada-215714e4.js +0 -53
- package/dist/agda-c69fa2d6.js +0 -57
- package/dist/al-068d550c.js +0 -57
- package/dist/antlr4-16dd29cd.js +0 -97
- package/dist/apacheconf-e5f57638.js +0 -81
- package/dist/apex-4682f19d.js +0 -105
- package/dist/apl-0f35fd2e.js +0 -66
- package/dist/applescript-5028f661.js +0 -51
- package/dist/aql-03953d78.js +0 -83
- package/dist/arduino-032ba3ba.js +0 -42
- package/dist/arff-ff7332f2.js +0 -44
- package/dist/asciidoc-d540336b.js +0 -241
- package/dist/asm6502-33349486.js +0 -63
- package/dist/asmatmel-0edb51e4.js +0 -75
- package/dist/aspnet-4cc79b6f.js +0 -84
- package/dist/autohotkey-12b6b6d2.js +0 -65
- package/dist/autoit-e8600cad.js +0 -68
- package/dist/avisynth-4190a36d.js +0 -196
- package/dist/avro-idl-ab85f2ae.js +0 -75
- package/dist/bash-0c86f65c.js +0 -26
- package/dist/bash-23ecd1ce.js +0 -224
- package/dist/basic-4075c442.js +0 -29
- package/dist/basic-626cb9ac.js +0 -26
- package/dist/batch-b18232ac.js +0 -126
- package/dist/bbcode-b271cf8f.js +0 -61
- package/dist/bicep-4ae930c7.js +0 -103
- package/dist/birb-2b116248.js +0 -54
- package/dist/bison-4fd0865b.js +0 -74
- package/dist/bnf-86787581.js +0 -53
- package/dist/brainfuck-9371a85c.js +0 -54
- package/dist/brightscript-2df1e2b7.js +0 -77
- package/dist/bro-04547de4.js +0 -61
- package/dist/bsl-c9567e6d.js +0 -102
- package/dist/c-a0a33b69.js +0 -26
- package/dist/c-cbb9ff20.js +0 -84
- package/dist/cfscript-f5af1abe.js +0 -72
- package/dist/chaiscript-6042477c.js +0 -90
- package/dist/cil-14af5bb2.js +0 -53
- package/dist/clike-47451d77.js +0 -61
- package/dist/clojure-26386fed.js +0 -64
- package/dist/cmake-4841f8df.js +0 -63
- package/dist/cobol-0ae04d1a.js +0 -83
- package/dist/coffeescript-b26e7337.js +0 -111
- package/dist/concurnas-406f0c2e.js +0 -91
- package/dist/coq-e37f31ad.js +0 -82
- package/dist/core-dd47e39c.js +0 -1712
- package/dist/cpp-a3e3265e.js +0 -26
- package/dist/cpp-fdbd3e19.js +0 -116
- package/dist/crystal-3725beb8.js +0 -88
- package/dist/csharp-c5867cee.js +0 -389
- package/dist/csharp-fd30fe69.js +0 -26
- package/dist/cshtml-936e1325.js +0 -135
- package/dist/csp-fae2ca54.js +0 -91
- package/dist/css-d90be61e.js +0 -90
- package/dist/css-extras-9b627513.js +0 -140
- package/dist/csv-682ac47e.js +0 -38
- package/dist/cypher-fef237f2.js +0 -66
- package/dist/d-f8f06a3f.js +0 -110
- package/dist/dart-8664904d.js +0 -102
- package/dist/dataweave-eb16c70d.js +0 -74
- package/dist/dax-07b8f02a.js +0 -61
- package/dist/dhall-4d61581d.js +0 -96
- package/dist/diff-93cccc44.js +0 -79
- package/dist/django-dafd121f.js +0 -82
- package/dist/dns-zone-file-457d76ab.js +0 -65
- package/dist/docker-332b4413.js +0 -128
- package/dist/dot-494538e3.js +0 -103
- package/dist/ebnf-7c62b313.js +0 -54
- package/dist/editorconfig-9e9fdbbb.js +0 -61
- package/dist/eiffel-3f003827.js +0 -68
- package/dist/ejs-d02cb880.js +0 -59
- package/dist/elixir-d8c10ca1.js +0 -130
- package/dist/elm-c45d03a2.js +0 -79
- package/dist/erb-d88dd943.js +0 -61
- package/dist/erlang-3ee55e82.js +0 -77
- package/dist/etlua-eabd322c.js +0 -59
- package/dist/excel-formula-e41c3440.js +0 -96
- package/dist/factor-a371850c.js +0 -950
- package/dist/false-c46d7a43.js +0 -61
- package/dist/firestore-security-rules-757e2622.js +0 -68
- package/dist/flow-5b8d8ca8.js +0 -58
- package/dist/fortran-ff490a7d.js +0 -74
- package/dist/fsharp-2bc3ee45.js +0 -106
- package/dist/ftl-94d2ce32.js +0 -147
- package/dist/gap-8fd17087.js +0 -79
- package/dist/gcode-6341cadd.js +0 -50
- package/dist/gdscript-3fc25390.js +0 -61
- package/dist/gedcom-a341ec5c.js +0 -62
- package/dist/gherkin-9882c4e4.js +0 -116
- package/dist/git-4a80b321.js +0 -97
- package/dist/glsl-ad5d9118.js +0 -40
- package/dist/gml-7eba9cac.js +0 -41
- package/dist/gn-cbec75da.js +0 -77
- package/dist/go-766bfa1b.js +0 -58
- package/dist/go-module-b8774bf4.js +0 -56
- package/dist/graphql-cb8e2feb.js +0 -155
- package/dist/groovy-ebb15fa5.js +0 -83
- package/dist/haml-65978a94.js +0 -173
- package/dist/handlebars-50594839.js +0 -75
- package/dist/haskell-5775a4fe.js +0 -76
- package/dist/haskell-ab4dc776.js +0 -26
- package/dist/haxe-a4bca023.js +0 -106
- package/dist/hcl-441db672.js +0 -94
- package/dist/hlsl-b07ea1bc.js +0 -56
- package/dist/hoon-23e6c66a.js +0 -48
- package/dist/hpkp-e1840f06.js +0 -42
- package/dist/hsts-8a89a980.js +0 -42
- package/dist/http-7e943d63.js +0 -156
- package/dist/ichigojam-214442c6.js +0 -47
- package/dist/icon-b738b958.js +0 -54
- package/dist/icu-message-format-3b576cc2.js +0 -166
- package/dist/idris-1241db85.js +0 -52
- package/dist/iecst-cf187dc3.js +0 -66
- package/dist/ignore-7683e871.js +0 -52
- package/dist/index-9498f0f6.js +0 -12038
- package/dist/inform7-d15dedca.js +0 -91
- package/dist/ini-9821d403.js +0 -74
- package/dist/io-b45ab04a.js +0 -56
- package/dist/j-4337c2a6.js +0 -62
- package/dist/java-5aa325c9.js +0 -99
- package/dist/java-d89b83f0.js +0 -26
- package/dist/javadoc-898a0fe7.js +0 -119
- package/dist/javadoclike-482a7933.js +0 -60
- package/dist/javadoclike-6eb534c0.js +0 -26
- package/dist/javascript-aa1ea2e4.js +0 -152
- package/dist/javastacktrace-2384fbf2.js +0 -168
- package/dist/jexl-d1cd7ce2.js +0 -48
- package/dist/jolie-b17dc1cc.js +0 -73
- package/dist/jq-56125568.js +0 -101
- package/dist/js-extras-e970942a.js +0 -151
- package/dist/js-templates-f1fbe219.js +0 -198
- package/dist/jsdoc-a20aee51.js +0 -117
- package/dist/json-043ad957.js +0 -36
- package/dist/json-e6539464.js +0 -26
- package/dist/json5-6f122ab8.js +0 -57
- package/dist/jsonp-8b120bc6.js +0 -42
- package/dist/jsstacktrace-f50f8195.js +0 -75
- package/dist/julia-bd96633d.js +0 -69
- package/dist/keepalived-3187f82b.js +0 -82
- package/dist/keyman-b00bc67c.js +0 -77
- package/dist/kotlin-b21aa502.js +0 -109
- package/dist/kumir-0f94715b.js +0 -121
- package/dist/kusto-eff9af15.js +0 -72
- package/dist/latex-e80101de.js +0 -93
- package/dist/latte-a0b8d749.js +0 -102
- package/dist/less-281aa842.js +0 -76
- package/dist/lilypond-cbe2732f.js +0 -105
- package/dist/liquid-27a4e206.js +0 -98
- package/dist/lisp-9e822c78.js +0 -195
- package/dist/livescript-1ce019c1.js +0 -151
- package/dist/llvm-62365d93.js +0 -53
- package/dist/log-24dbab68.js +0 -134
- package/dist/lolcode-8eea8d4f.js +0 -82
- package/dist/lua-ce0e9c68.js +0 -32
- package/dist/lua-f292f69e.js +0 -26
- package/dist/magma-2aa5bc17.js +0 -64
- package/dist/makefile-489ca1ff.js +0 -64
- package/dist/markdown-bc9a3a54.js +0 -356
- package/dist/markup-3c2f908d.js +0 -194
- package/dist/markup-templating-1fc7ac82.js +0 -26
- package/dist/markup-templating-49c15a5f.js +0 -79
- package/dist/matlab-4616d7b3.js +0 -47
- package/dist/maxscript-e2f8ee8a.js +0 -98
- package/dist/mel-83fdb27c.js +0 -75
- package/dist/mermaid-5e3f14a4.js +0 -138
- package/dist/mizar-2c2d2e7d.js +0 -46
- package/dist/mongodb-c1d981a3.js +0 -322
- package/dist/monkey-cb9626ba.js +0 -62
- package/dist/moonscript-77dbeb23.js +0 -88
- package/dist/n1ql-6c813888.js +0 -56
- package/dist/n4js-6eb361a2.js +0 -44
- package/dist/nand2tetris-hdl-1d499a90.js +0 -43
- package/dist/naniscript-63d40cf7.js +0 -166
- package/dist/nasm-661b5e51.js +0 -58
- package/dist/neon-283a3402.js +0 -74
- package/dist/nevod-67f107ce.js +0 -159
- package/dist/nginx-88a0a312.js +0 -83
- package/dist/nim-40a62fa2.js +0 -76
- package/dist/nix-507f5be0.js +0 -70
- package/dist/nsis-d9f039bf.js +0 -59
- package/dist/objectivec-3055d7b5.js +0 -45
- package/dist/ocaml-c01e830a.js +0 -89
- package/dist/opencl-3bfb6002.js +0 -84
- package/dist/openqasm-20ccdae6.js +0 -51
- package/dist/oz-5e382b48.js +0 -62
- package/dist/packages/react/src/components/accordion/Accordion.d.ts +0 -15
- package/dist/packages/react/src/components/accordion/Accordion.test.d.ts +0 -1
- package/dist/packages/react/src/components/accordion/AccordionItem.d.ts +0 -21
- package/dist/packages/react/src/components/alert/Alert.d.ts +0 -12
- package/dist/packages/react/src/components/alert/Alert.test.d.ts +0 -1
- package/dist/packages/react/src/components/backlink/BackLink.d.ts +0 -8
- package/dist/packages/react/src/components/backlink/BackLink.test.d.ts +0 -1
- package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.d.ts +0 -12
- package/dist/packages/react/src/components/breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/dist/packages/react/src/components/button/Button.d.ts +0 -16
- package/dist/packages/react/src/components/button/Button.test.d.ts +0 -1
- package/dist/packages/react/src/components/checkbox/Checkbox.d.ts +0 -16
- package/dist/packages/react/src/components/checkbox/Checkbox.test.d.ts +0 -1
- package/dist/packages/react/src/components/footer/Footer.d.ts +0 -28
- package/dist/packages/react/src/components/footer/Footer.test.d.ts +0 -1
- package/dist/packages/react/src/components/footerSimple/FooterSimple.d.ts +0 -13
- package/dist/packages/react/src/components/footerSimple/FooterSimple.test.d.ts +0 -1
- package/dist/packages/react/src/components/header/Header.d.ts +0 -40
- package/dist/packages/react/src/components/header/Header.test.d.ts +0 -1
- package/dist/packages/react/src/components/icon/DefaultIconFetcher.d.ts +0 -5
- package/dist/packages/react/src/components/icon/Icon.d.ts +0 -8
- package/dist/packages/react/src/components/icon/Icon.test.d.ts +0 -1
- package/dist/packages/react/src/components/icon/IconContext.d.ts +0 -5
- package/dist/packages/react/src/components/index.d.ts +0 -34
- package/dist/packages/react/src/components/input/Input.d.ts +0 -22
- package/dist/packages/react/src/components/inputwrapper/InputWrapper.d.ts +0 -23
- package/dist/packages/react/src/components/linkcard/LinkCard.d.ts +0 -11
- package/dist/packages/react/src/components/linkcard/LinkCard.test.d.ts +0 -1
- package/dist/packages/react/src/components/loader/Loader.d.ts +0 -27
- package/dist/packages/react/src/components/loader/Loader.test.d.ts +0 -1
- package/dist/packages/react/src/components/messagebox/Messagebox.d.ts +0 -10
- package/dist/packages/react/src/components/preview/Preview.d.ts +0 -10
- package/dist/packages/react/src/components/preview/PreviewSpecs.d.ts +0 -24
- package/dist/packages/react/src/components/progressbar/Progressbar.d.ts +0 -20
- package/dist/packages/react/src/components/progressbar/Progressbar.test.d.ts +0 -1
- package/dist/packages/react/src/components/radio/RadioButton.d.ts +0 -13
- package/dist/packages/react/src/components/radio/RadioButton.test.d.ts +0 -1
- package/dist/packages/react/src/components/searchinput/SearchInput.d.ts +0 -25
- package/dist/packages/react/src/components/searchinput/SearchInput.test.d.ts +0 -1
- package/dist/packages/react/src/components/select/Select.d.ts +0 -23
- package/dist/packages/react/src/components/select/Select.test.d.ts +0 -1
- package/dist/packages/react/src/components/stepper/Step.d.ts +0 -21
- package/dist/packages/react/src/components/stepper/Stepper.d.ts +0 -28
- package/dist/packages/react/src/components/stepper/Stepper.test.d.ts +0 -1
- package/dist/packages/react/src/components/table/Table.d.ts +0 -11
- package/dist/packages/react/src/components/table/Table.test.d.ts +0 -1
- package/dist/packages/react/src/components/table/TableBody.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableData.d.ts +0 -6
- package/dist/packages/react/src/components/table/TableDataCell.d.ts +0 -8
- package/dist/packages/react/src/components/table/TableHeader.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableHeaderCell.d.ts +0 -7
- package/dist/packages/react/src/components/table/TableRow.d.ts +0 -7
- package/dist/packages/react/src/components/tabs/Tabs.d.ts +0 -21
- package/dist/packages/react/src/components/tabs/Tabs.test.d.ts +0 -1
- package/dist/packages/react/src/components/tag/Tag.d.ts +0 -11
- package/dist/packages/react/src/components/tag/Tag.test.d.ts +0 -1
- package/dist/packages/react/src/components/textarea/Textarea.d.ts +0 -27
- package/dist/packages/react/src/components/textarea/Textarea.test.d.ts +0 -1
- package/dist/packages/react/src/components/textinput/Textinput.d.ts +0 -31
- package/dist/packages/react/src/components/textinput/Textinput.test.d.ts +0 -1
- package/dist/packages/react/src/index.d.ts +0 -1
- package/dist/parigp-a06dcf26.js +0 -82
- package/dist/parser-6f847eeb.js +0 -107
- package/dist/pascal-a9950fcd.js +0 -96
- package/dist/pascaligo-7545667e.js +0 -116
- package/dist/pcaxis-eea3e687.js +0 -85
- package/dist/peoplecode-8a846e28.js +0 -75
- package/dist/perl-2f3056d2.js +0 -165
- package/dist/php-9a4fecc1.js +0 -335
- package/dist/php-e9145741.js +0 -26
- package/dist/php-extras-0cec569c.js +0 -51
- package/dist/phpdoc-a1a632ca.js +0 -62
- package/dist/plsql-8e48519b.js +0 -52
- package/dist/powerquery-f4fe231c.js +0 -84
- package/dist/powershell-8e07307b.js +0 -89
- package/dist/processing-7a489ca7.js +0 -47
- package/dist/prolog-d2588af5.js +0 -53
- package/dist/promql-6547548d.js +0 -121
- package/dist/properties-6a8174f2.js +0 -43
- package/dist/protobuf-f03d60b4.js +0 -72
- package/dist/psl-1e0c235a.js +0 -69
- package/dist/pug-f3c562dd.js +0 -213
- package/dist/puppet-396c5218.js +0 -168
- package/dist/pure-9cf5d182.js +0 -112
- package/dist/purebasic-02478411.js +0 -88
- package/dist/purescript-cf2309c0.js +0 -63
- package/dist/python-9c9fa97e.js +0 -95
- package/dist/q-21818334.js +0 -84
- package/dist/qml-709fe996.js +0 -104
- package/dist/qore-7709538c.js +0 -54
- package/dist/qsharp-5024098d.js +0 -129
- package/dist/r-d6abce22.js +0 -56
- package/dist/racket-8c099996.js +0 -51
- package/dist/reason-0a29b7da.js +0 -55
- package/dist/regex-196038d7.js +0 -125
- package/dist/rego-59c8a55e.js +0 -59
- package/dist/renpy-da4a363f.js +0 -52
- package/dist/rest-2027cfb4.js +0 -232
- package/dist/rip-a2a00c6a.js +0 -63
- package/dist/roboconf-d99f3c6f.js +0 -61
- package/dist/robotframework-a30c7990.js +0 -123
- package/dist/ruby-90470291.js +0 -183
- package/dist/ruby-f1beefd0.js +0 -26
- package/dist/rust-a7f43c08.js +0 -150
- package/dist/sas-fdd3825d.js +0 -363
- package/dist/sass-8f15af17.js +0 -97
- package/dist/scala-44394d36.js +0 -81
- package/dist/scheme-61aeb1f5.js +0 -123
- package/dist/scheme-93208ff6.js +0 -26
- package/dist/scss-8dd3f77c.js +0 -107
- package/dist/shell-session-af35560f.js +0 -94
- package/dist/smali-2e8bacd2.js +0 -113
- package/dist/smalltalk-da988816.js +0 -72
- package/dist/smarty-4e93cd0d.js +0 -148
- package/dist/sml-20b50201.js +0 -92
- package/dist/solidity-743bfbd1.js +0 -50
- package/dist/solution-file-81ce476c.js +0 -80
- package/dist/soy-715e3d54.js +0 -113
- package/dist/sparql-9d917cd9.js +0 -50
- package/dist/splunk-spl-4999846e.js +0 -58
- package/dist/sqf-340b5c08.js +0 -64
- package/dist/sql-1e928866.js +0 -45
- package/dist/sql-65ac332a.js +0 -26
- package/dist/squirrel-d0bc8028.js +0 -75
- package/dist/stan-2fc57db1.js +0 -87
- package/dist/stylus-576c2c9e.js +0 -166
- package/dist/swift-9b87d61f.js +0 -153
- package/dist/systemd-21fb5c01.js +0 -89
- package/dist/t4-cs-57181735.js +0 -39
- package/dist/t4-templating-5038f5dd.js +0 -26
- package/dist/t4-templating-60958242.js +0 -57
- package/dist/t4-vb-c6890d9d.js +0 -39
- package/dist/tap-0014ba37.js +0 -57
- package/dist/tcl-5931e442.js +0 -80
- package/dist/textile-979f8c72.js +0 -290
- package/dist/toml-c8c14d54.js +0 -87
- package/dist/tremor-3f5ce8c9.js +0 -91
- package/dist/tsx-fa286598.js +0 -46
- package/dist/tt2-d4c7a9bc.js +0 -79
- package/dist/turtle-1ded5458.js +0 -26
- package/dist/turtle-6f0b789b.js +0 -62
- package/dist/twig-ecfd776b.js +0 -73
- package/dist/typescript-16e0b0d0.js +0 -26
- package/dist/typescript-4ee6a303.js +0 -57
- package/dist/typoscript-6f1852b6.js +0 -110
- package/dist/unrealscript-3b076e87.js +0 -72
- package/dist/uorazor-45491673.js +0 -82
- package/dist/uri-9f9a71ca.js +0 -117
- package/dist/v-ac49f8a2.js +0 -107
- package/dist/vala-d9044a47.js +0 -114
- package/dist/vbnet-7e93a4ce.js +0 -26
- package/dist/vbnet-f33c70c2.js +0 -37
- package/dist/velocity-04e48f5c.js +0 -100
- package/dist/verilog-08e95e76.js +0 -60
- package/dist/vhdl-2c25f8d7.js +0 -57
- package/dist/vim-f896fcae.js +0 -44
- package/dist/visual-basic-a24d053f.js +0 -60
- package/dist/warpscript-807f2588.js +0 -55
- package/dist/wasm-a1928fa7.js +0 -65
- package/dist/web-idl-5707ad28.js +0 -119
- package/dist/wiki-1b1313bc.js +0 -111
- package/dist/wolfram-2cbcb298.js +0 -59
- package/dist/wren-6157a66e.js +0 -122
- package/dist/xeora-004f4276.js +0 -148
- package/dist/xml-doc-a2568724.js +0 -57
- package/dist/xojo-4455c68c.js +0 -52
- package/dist/xquery-c4289139.js +0 -119
- package/dist/yaml-045e8847.js +0 -26
- package/dist/yaml-8454c5e5.js +0 -93
- package/dist/yang-937d99d5.js +0 -54
- package/dist/zig-c8c88088.js +0 -118
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { g as v } from "./index-9498f0f6.js";
|
|
2
|
-
function h(r, n) {
|
|
3
|
-
for (var a = 0; a < n.length; a++) {
|
|
4
|
-
const t = n[a];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const e in t)
|
|
7
|
-
if (e !== "default" && !(e in r)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(t, e);
|
|
9
|
-
o && Object.defineProperty(r, e, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[e]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var l, c;
|
|
19
|
-
function y() {
|
|
20
|
-
if (c)
|
|
21
|
-
return l;
|
|
22
|
-
c = 1, l = r, r.displayName = "avisynth", r.aliases = ["avs"];
|
|
23
|
-
function r(n) {
|
|
24
|
-
(function(a) {
|
|
25
|
-
function t(i, s) {
|
|
26
|
-
return i.replace(/<<(\d+)>>/g, function(u, g) {
|
|
27
|
-
return s[+g];
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function e(i, s, u) {
|
|
31
|
-
return RegExp(t(i, s), u || "");
|
|
32
|
-
}
|
|
33
|
-
var o = /bool|clip|float|int|string|val/.source, d = [
|
|
34
|
-
// bools
|
|
35
|
-
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,
|
|
36
|
-
// control
|
|
37
|
-
/apply|assert|default|eval|import|nop|select|undefined/.source,
|
|
38
|
-
// global
|
|
39
|
-
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,
|
|
40
|
-
// conv
|
|
41
|
-
/hex(?:value)?|value/.source,
|
|
42
|
-
// numeric
|
|
43
|
-
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,
|
|
44
|
-
// trig
|
|
45
|
-
/a?sinh?|a?cosh?|a?tan[2h]?/.source,
|
|
46
|
-
// bit
|
|
47
|
-
/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,
|
|
48
|
-
// runtime
|
|
49
|
-
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,
|
|
50
|
-
// script
|
|
51
|
-
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,
|
|
52
|
-
// string
|
|
53
|
-
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,
|
|
54
|
-
// version
|
|
55
|
-
/isversionorgreater|version(?:number|string)/.source,
|
|
56
|
-
// helper
|
|
57
|
-
/buildpixeltype|colorspacenametopixeltype/.source,
|
|
58
|
-
// avsplus
|
|
59
|
-
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
60
|
-
].join("|"), m = [
|
|
61
|
-
// content
|
|
62
|
-
/has(?:audio|video)/.source,
|
|
63
|
-
// resolution
|
|
64
|
-
/height|width/.source,
|
|
65
|
-
// framerate
|
|
66
|
-
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,
|
|
67
|
-
// interlacing
|
|
68
|
-
/getparity|is(?:field|frame)based/.source,
|
|
69
|
-
// color format
|
|
70
|
-
/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,
|
|
71
|
-
// audio
|
|
72
|
-
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source
|
|
73
|
-
].join("|"), f = [
|
|
74
|
-
// source
|
|
75
|
-
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,
|
|
76
|
-
// color
|
|
77
|
-
/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,
|
|
78
|
-
// overlay
|
|
79
|
-
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,
|
|
80
|
-
// geometry
|
|
81
|
-
/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,
|
|
82
|
-
// pixel
|
|
83
|
-
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,
|
|
84
|
-
// timeline
|
|
85
|
-
/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,
|
|
86
|
-
// interlace
|
|
87
|
-
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,
|
|
88
|
-
// audio
|
|
89
|
-
/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,
|
|
90
|
-
// conditional
|
|
91
|
-
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,
|
|
92
|
-
// export
|
|
93
|
-
/imagewriter/.source,
|
|
94
|
-
// debug
|
|
95
|
-
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source
|
|
96
|
-
].join("|"), b = [d, m, f].join("|");
|
|
97
|
-
a.languages.avisynth = {
|
|
98
|
-
comment: [
|
|
99
|
-
{
|
|
100
|
-
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
101
|
-
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
102
|
-
pattern: /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
103
|
-
lookbehind: !0,
|
|
104
|
-
greedy: !0
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
// Matches /* */ block comments
|
|
108
|
-
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
109
|
-
lookbehind: !0,
|
|
110
|
-
greedy: !0
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
// Matches # comments
|
|
114
|
-
pattern: /(^|[^\\$])#.*/,
|
|
115
|
-
lookbehind: !0,
|
|
116
|
-
greedy: !0
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
// Handle before strings because optional arguments are surrounded by double quotes
|
|
120
|
-
argument: {
|
|
121
|
-
pattern: e(/\b(?:<<0>>)\s+("?)\w+\1/.source, [o], "i"),
|
|
122
|
-
inside: {
|
|
123
|
-
keyword: /^\w+/
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
// Optional argument assignment
|
|
127
|
-
"argument-label": {
|
|
128
|
-
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
129
|
-
lookbehind: !0,
|
|
130
|
-
inside: {
|
|
131
|
-
"argument-name": {
|
|
132
|
-
pattern: /^\w+/,
|
|
133
|
-
alias: "punctuation"
|
|
134
|
-
},
|
|
135
|
-
punctuation: /=$/
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
string: [
|
|
139
|
-
{
|
|
140
|
-
// triple double-quoted
|
|
141
|
-
pattern: /"""[\s\S]*?"""/,
|
|
142
|
-
greedy: !0
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
// single double-quoted
|
|
146
|
-
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
147
|
-
greedy: !0,
|
|
148
|
-
inside: {
|
|
149
|
-
constant: {
|
|
150
|
-
// These *are* case-sensitive!
|
|
151
|
-
pattern: /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
157
|
-
variable: /\b(?:last)\b/i,
|
|
158
|
-
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
159
|
-
keyword: /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
160
|
-
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
161
|
-
// AviSynth's internal functions, filters, and properties
|
|
162
|
-
"builtin-function": {
|
|
163
|
-
pattern: e(/\b(?:<<0>>)\b/.source, [b], "i"),
|
|
164
|
-
alias: "function"
|
|
165
|
-
},
|
|
166
|
-
"type-cast": {
|
|
167
|
-
pattern: e(/\b(?:<<0>>)(?=\s*\()/.source, [o], "i"),
|
|
168
|
-
alias: "keyword"
|
|
169
|
-
},
|
|
170
|
-
// External/user-defined filters
|
|
171
|
-
function: {
|
|
172
|
-
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
173
|
-
lookbehind: !0
|
|
174
|
-
},
|
|
175
|
-
// Matches a \ as the first or last character on a line
|
|
176
|
-
"line-continuation": {
|
|
177
|
-
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
178
|
-
lookbehind: !0,
|
|
179
|
-
alias: "punctuation"
|
|
180
|
-
},
|
|
181
|
-
number: /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
182
|
-
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
183
|
-
punctuation: /[{}\[\]();,.]/
|
|
184
|
-
}, a.languages.avs = a.languages.avisynth;
|
|
185
|
-
})(n);
|
|
186
|
-
}
|
|
187
|
-
return l;
|
|
188
|
-
}
|
|
189
|
-
var p = y();
|
|
190
|
-
const w = /* @__PURE__ */ v(p), _ = /* @__PURE__ */ h({
|
|
191
|
-
__proto__: null,
|
|
192
|
-
default: w
|
|
193
|
-
}, [p]);
|
|
194
|
-
export {
|
|
195
|
-
_ as a
|
|
196
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function s(e, r) {
|
|
3
|
-
for (var a = 0; a < r.length; a++) {
|
|
4
|
-
const t = r[a];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const o in t)
|
|
7
|
-
if (o !== "default" && !(o in e)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(t, o);
|
|
9
|
-
n && Object.defineProperty(e, o, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[o]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, d;
|
|
19
|
-
function f() {
|
|
20
|
-
if (d)
|
|
21
|
-
return i;
|
|
22
|
-
d = 1, i = e, e.displayName = "avroIdl", e.aliases = [];
|
|
23
|
-
function e(r) {
|
|
24
|
-
r.languages["avro-idl"] = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
27
|
-
greedy: !0
|
|
28
|
-
},
|
|
29
|
-
string: {
|
|
30
|
-
pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
|
|
31
|
-
lookbehind: !0,
|
|
32
|
-
greedy: !0
|
|
33
|
-
},
|
|
34
|
-
annotation: {
|
|
35
|
-
pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
|
|
36
|
-
greedy: !0,
|
|
37
|
-
alias: "function"
|
|
38
|
-
},
|
|
39
|
-
"function-identifier": {
|
|
40
|
-
pattern: /`[^\r\n`]+`(?=\s*\()/,
|
|
41
|
-
greedy: !0,
|
|
42
|
-
alias: "function"
|
|
43
|
-
},
|
|
44
|
-
identifier: {
|
|
45
|
-
pattern: /`[^\r\n`]+`/,
|
|
46
|
-
greedy: !0
|
|
47
|
-
},
|
|
48
|
-
"class-name": {
|
|
49
|
-
pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
|
|
50
|
-
lookbehind: !0,
|
|
51
|
-
greedy: !0
|
|
52
|
-
},
|
|
53
|
-
keyword: /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
|
|
54
|
-
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
55
|
-
number: [
|
|
56
|
-
{
|
|
57
|
-
pattern: /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
|
|
58
|
-
lookbehind: !0
|
|
59
|
-
},
|
|
60
|
-
/-?\b(?:Infinity|NaN)\b/
|
|
61
|
-
],
|
|
62
|
-
operator: /=/,
|
|
63
|
-
punctuation: /[()\[\]{}<>.:,;-]/
|
|
64
|
-
}, r.languages.avdl = r.languages["avro-idl"];
|
|
65
|
-
}
|
|
66
|
-
return i;
|
|
67
|
-
}
|
|
68
|
-
var l = f();
|
|
69
|
-
const c = /* @__PURE__ */ u(l), g = /* @__PURE__ */ s({
|
|
70
|
-
__proto__: null,
|
|
71
|
-
default: c
|
|
72
|
-
}, [l]);
|
|
73
|
-
export {
|
|
74
|
-
g as a
|
|
75
|
-
};
|
package/dist/bash-0c86f65c.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { g as f } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as i } from "./bash-23ecd1ce.js";
|
|
3
|
-
function c(t, s) {
|
|
4
|
-
for (var o = 0; o < s.length; o++) {
|
|
5
|
-
const e = s[o];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const r in e)
|
|
8
|
-
if (r !== "default" && !(r in t)) {
|
|
9
|
-
const a = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
-
a && Object.defineProperty(t, r, a.get ? a : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var n = i();
|
|
20
|
-
const p = /* @__PURE__ */ f(n), g = /* @__PURE__ */ c({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
default: p
|
|
23
|
-
}, [n]);
|
|
24
|
-
export {
|
|
25
|
-
g as b
|
|
26
|
-
};
|
package/dist/bash-23ecd1ce.js
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
var i, p;
|
|
2
|
-
function u() {
|
|
3
|
-
if (p)
|
|
4
|
-
return i;
|
|
5
|
-
p = 1, i = r, r.displayName = "bash", r.aliases = ["shell"];
|
|
6
|
-
function r(l) {
|
|
7
|
-
(function(e) {
|
|
8
|
-
var n = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", s = {
|
|
9
|
-
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
10
|
-
lookbehind: !0,
|
|
11
|
-
alias: "punctuation",
|
|
12
|
-
// this looks reasonably well in all themes
|
|
13
|
-
inside: null
|
|
14
|
-
// see below
|
|
15
|
-
}, t = {
|
|
16
|
-
bash: s,
|
|
17
|
-
environment: {
|
|
18
|
-
pattern: RegExp("\\$" + n),
|
|
19
|
-
alias: "constant"
|
|
20
|
-
},
|
|
21
|
-
variable: [
|
|
22
|
-
// [0]: Arithmetic Environment
|
|
23
|
-
{
|
|
24
|
-
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
25
|
-
greedy: !0,
|
|
26
|
-
inside: {
|
|
27
|
-
// If there is a $ sign at the beginning highlight $(( and )) as variable
|
|
28
|
-
variable: [
|
|
29
|
-
{
|
|
30
|
-
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
31
|
-
lookbehind: !0
|
|
32
|
-
},
|
|
33
|
-
/^\$\(\(/
|
|
34
|
-
],
|
|
35
|
-
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
36
|
-
// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
|
|
37
|
-
operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
38
|
-
// If there is no $ sign at the beginning highlight (( and )) as punctuation
|
|
39
|
-
punctuation: /\(\(?|\)\)?|,|;/
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
// [1]: Command Substitution
|
|
43
|
-
{
|
|
44
|
-
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
45
|
-
greedy: !0,
|
|
46
|
-
inside: {
|
|
47
|
-
variable: /^\$\(|^`|\)$|`$/
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
// [2]: Brace expansion
|
|
51
|
-
{
|
|
52
|
-
pattern: /\$\{[^}]+\}/,
|
|
53
|
-
greedy: !0,
|
|
54
|
-
inside: {
|
|
55
|
-
operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
56
|
-
punctuation: /[\[\]]/,
|
|
57
|
-
environment: {
|
|
58
|
-
pattern: RegExp("(\\{)" + n),
|
|
59
|
-
lookbehind: !0,
|
|
60
|
-
alias: "constant"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
/\$(?:\w+|[#?*!@$])/
|
|
65
|
-
],
|
|
66
|
-
// Escape sequences from echo and printf's manuals, and escaped quotes.
|
|
67
|
-
entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
|
|
68
|
-
};
|
|
69
|
-
e.languages.bash = {
|
|
70
|
-
shebang: {
|
|
71
|
-
pattern: /^#!\s*\/.*/,
|
|
72
|
-
alias: "important"
|
|
73
|
-
},
|
|
74
|
-
comment: {
|
|
75
|
-
pattern: /(^|[^"{\\$])#.*/,
|
|
76
|
-
lookbehind: !0
|
|
77
|
-
},
|
|
78
|
-
"function-name": [
|
|
79
|
-
// a) function foo {
|
|
80
|
-
// b) foo() {
|
|
81
|
-
// c) function foo() {
|
|
82
|
-
// but not “foo {”
|
|
83
|
-
{
|
|
84
|
-
// a) and c)
|
|
85
|
-
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
86
|
-
lookbehind: !0,
|
|
87
|
-
alias: "function"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
// b)
|
|
91
|
-
pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
|
|
92
|
-
alias: "function"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
// Highlight variable names as variables in for and select beginnings.
|
|
96
|
-
"for-or-select": {
|
|
97
|
-
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
98
|
-
alias: "variable",
|
|
99
|
-
lookbehind: !0
|
|
100
|
-
},
|
|
101
|
-
// Highlight variable names as variables in the left-hand part
|
|
102
|
-
// of assignments (“=” and “+=”).
|
|
103
|
-
"assign-left": {
|
|
104
|
-
pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
|
|
105
|
-
inside: {
|
|
106
|
-
environment: {
|
|
107
|
-
pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + n),
|
|
108
|
-
lookbehind: !0,
|
|
109
|
-
alias: "constant"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
alias: "variable",
|
|
113
|
-
lookbehind: !0
|
|
114
|
-
},
|
|
115
|
-
string: [
|
|
116
|
-
// Support for Here-documents https://en.wikipedia.org/wiki/Here_document
|
|
117
|
-
{
|
|
118
|
-
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
119
|
-
lookbehind: !0,
|
|
120
|
-
greedy: !0,
|
|
121
|
-
inside: t
|
|
122
|
-
},
|
|
123
|
-
// Here-document with quotes around the tag
|
|
124
|
-
// → No expansion (so no “inside”).
|
|
125
|
-
{
|
|
126
|
-
pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
127
|
-
lookbehind: !0,
|
|
128
|
-
greedy: !0,
|
|
129
|
-
inside: {
|
|
130
|
-
bash: s
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
// “Normal” string
|
|
134
|
-
{
|
|
135
|
-
// https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
|
|
136
|
-
pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
137
|
-
lookbehind: !0,
|
|
138
|
-
greedy: !0,
|
|
139
|
-
inside: t
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
// https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
|
|
143
|
-
pattern: /(^|[^$\\])'[^']*'/,
|
|
144
|
-
lookbehind: !0,
|
|
145
|
-
greedy: !0
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
// https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
|
|
149
|
-
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
150
|
-
greedy: !0,
|
|
151
|
-
inside: {
|
|
152
|
-
entity: t.entity
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
environment: {
|
|
157
|
-
pattern: RegExp("\\$?" + n),
|
|
158
|
-
alias: "constant"
|
|
159
|
-
},
|
|
160
|
-
variable: t.variable,
|
|
161
|
-
function: {
|
|
162
|
-
pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
163
|
-
lookbehind: !0
|
|
164
|
-
},
|
|
165
|
-
keyword: {
|
|
166
|
-
pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
167
|
-
lookbehind: !0
|
|
168
|
-
},
|
|
169
|
-
// https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
|
|
170
|
-
builtin: {
|
|
171
|
-
pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
|
|
172
|
-
lookbehind: !0,
|
|
173
|
-
// Alias added to make those easier to distinguish from strings.
|
|
174
|
-
alias: "class-name"
|
|
175
|
-
},
|
|
176
|
-
boolean: {
|
|
177
|
-
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
178
|
-
lookbehind: !0
|
|
179
|
-
},
|
|
180
|
-
"file-descriptor": {
|
|
181
|
-
pattern: /\B&\d\b/,
|
|
182
|
-
alias: "important"
|
|
183
|
-
},
|
|
184
|
-
operator: {
|
|
185
|
-
// Lots of redirections here, but not just that.
|
|
186
|
-
pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
187
|
-
inside: {
|
|
188
|
-
"file-descriptor": {
|
|
189
|
-
pattern: /^\d/,
|
|
190
|
-
alias: "important"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
195
|
-
number: {
|
|
196
|
-
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
197
|
-
lookbehind: !0
|
|
198
|
-
}
|
|
199
|
-
}, s.inside = e.languages.bash;
|
|
200
|
-
for (var o = [
|
|
201
|
-
"comment",
|
|
202
|
-
"function-name",
|
|
203
|
-
"for-or-select",
|
|
204
|
-
"assign-left",
|
|
205
|
-
"string",
|
|
206
|
-
"environment",
|
|
207
|
-
"function",
|
|
208
|
-
"keyword",
|
|
209
|
-
"builtin",
|
|
210
|
-
"boolean",
|
|
211
|
-
"file-descriptor",
|
|
212
|
-
"operator",
|
|
213
|
-
"punctuation",
|
|
214
|
-
"number"
|
|
215
|
-
], d = t.variable[1].inside, a = 0; a < o.length; a++)
|
|
216
|
-
d[o[a]] = e.languages.bash[o[a]];
|
|
217
|
-
e.languages.shell = e.languages.bash;
|
|
218
|
-
})(l);
|
|
219
|
-
}
|
|
220
|
-
return i;
|
|
221
|
-
}
|
|
222
|
-
export {
|
|
223
|
-
u as r
|
|
224
|
-
};
|
package/dist/basic-4075c442.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var T, R;
|
|
2
|
-
function N() {
|
|
3
|
-
if (R)
|
|
4
|
-
return T;
|
|
5
|
-
R = 1, T = E, E.displayName = "basic", E.aliases = [];
|
|
6
|
-
function E(I) {
|
|
7
|
-
I.languages.basic = {
|
|
8
|
-
comment: {
|
|
9
|
-
pattern: /(?:!|REM\b).+/i,
|
|
10
|
-
inside: {
|
|
11
|
-
keyword: /^REM/i
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
string: {
|
|
15
|
-
pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
|
|
16
|
-
greedy: !0
|
|
17
|
-
},
|
|
18
|
-
number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
|
|
19
|
-
keyword: /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
|
|
20
|
-
function: /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
|
|
21
|
-
operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
|
|
22
|
-
punctuation: /[,;:()]/
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
return T;
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
N as r
|
|
29
|
-
};
|
package/dist/basic-626cb9ac.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as n } from "./basic-4075c442.js";
|
|
3
|
-
function f(t, s) {
|
|
4
|
-
for (var o = 0; o < s.length; o++) {
|
|
5
|
-
const e = s[o];
|
|
6
|
-
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
-
for (const r in e)
|
|
8
|
-
if (r !== "default" && !(r in t)) {
|
|
9
|
-
const a = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
-
a && Object.defineProperty(t, r, a.get ? a : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => e[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var i = n();
|
|
20
|
-
const p = /* @__PURE__ */ c(i), g = /* @__PURE__ */ f({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
default: p
|
|
23
|
-
}, [i]);
|
|
24
|
-
export {
|
|
25
|
-
g as b
|
|
26
|
-
};
|