@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
package/dist/less-281aa842.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function p(e, t) {
|
|
3
|
-
for (var n = 0; n < t.length; n++) {
|
|
4
|
-
const s = t[n];
|
|
5
|
-
if (typeof s != "string" && !Array.isArray(s)) {
|
|
6
|
-
for (const r in s)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const a = Object.getOwnPropertyDescriptor(s, r);
|
|
9
|
-
a && Object.defineProperty(e, r, a.get ? a : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => s[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, i;
|
|
19
|
-
function c() {
|
|
20
|
-
if (i)
|
|
21
|
-
return o;
|
|
22
|
-
i = 1, o = e, e.displayName = "less", e.aliases = [];
|
|
23
|
-
function e(t) {
|
|
24
|
-
t.languages.less = t.languages.extend("css", {
|
|
25
|
-
comment: [
|
|
26
|
-
/\/\*[\s\S]*?\*\//,
|
|
27
|
-
{
|
|
28
|
-
pattern: /(^|[^\\])\/\/.*/,
|
|
29
|
-
lookbehind: !0
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
atrule: {
|
|
33
|
-
pattern: /@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,
|
|
34
|
-
inside: {
|
|
35
|
-
punctuation: /[:()]/
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
// selectors and mixins are considered the same
|
|
39
|
-
selector: {
|
|
40
|
-
pattern: /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,
|
|
41
|
-
inside: {
|
|
42
|
-
// mixin parameters
|
|
43
|
-
variable: /@+[\w-]+/
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
property: /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,
|
|
47
|
-
operator: /[+\-*\/]/
|
|
48
|
-
}), t.languages.insertBefore("less", "property", {
|
|
49
|
-
variable: [
|
|
50
|
-
// Variable declaration (the colon must be consumed!)
|
|
51
|
-
{
|
|
52
|
-
pattern: /@[\w-]+\s*:/,
|
|
53
|
-
inside: {
|
|
54
|
-
punctuation: /:/
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
// Variable usage
|
|
58
|
-
/@@?[\w-]+/
|
|
59
|
-
],
|
|
60
|
-
"mixin-usage": {
|
|
61
|
-
pattern: /([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,
|
|
62
|
-
lookbehind: !0,
|
|
63
|
-
alias: "function"
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
return o;
|
|
68
|
-
}
|
|
69
|
-
var l = c();
|
|
70
|
-
const f = /* @__PURE__ */ u(l), d = /* @__PURE__ */ p({
|
|
71
|
-
__proto__: null,
|
|
72
|
-
default: f
|
|
73
|
-
}, [l]);
|
|
74
|
-
export {
|
|
75
|
-
d as l
|
|
76
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as c } from "./scheme-61aeb1f5.js";
|
|
3
|
-
function g(o, n) {
|
|
4
|
-
for (var t = 0; t < n.length; t++) {
|
|
5
|
-
const r = n[t];
|
|
6
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
7
|
-
for (const e in r)
|
|
8
|
-
if (e !== "default" && !(e in o)) {
|
|
9
|
-
const i = Object.getOwnPropertyDescriptor(r, e);
|
|
10
|
-
i && Object.defineProperty(o, e, i.get ? i : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => r[e]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var s, d;
|
|
20
|
-
function y() {
|
|
21
|
-
if (d)
|
|
22
|
-
return s;
|
|
23
|
-
d = 1;
|
|
24
|
-
var o = c();
|
|
25
|
-
s = n, n.displayName = "lilypond", n.aliases = [];
|
|
26
|
-
function n(t) {
|
|
27
|
-
t.register(o), function(r) {
|
|
28
|
-
for (var e = /\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source, i = 5, l = 0; l < i; l++)
|
|
29
|
-
e = e.replace(/<expr>/g, function() {
|
|
30
|
-
return e;
|
|
31
|
-
});
|
|
32
|
-
e = e.replace(/<expr>/g, /[^\s\S]/.source);
|
|
33
|
-
var a = r.languages.lilypond = {
|
|
34
|
-
comment: /%(?:(?!\{).*|\{[\s\S]*?%\})/,
|
|
35
|
-
"embedded-scheme": {
|
|
36
|
-
pattern: RegExp(
|
|
37
|
-
/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(
|
|
38
|
-
/<expr>/g,
|
|
39
|
-
function() {
|
|
40
|
-
return e;
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
"m"
|
|
44
|
-
),
|
|
45
|
-
lookbehind: !0,
|
|
46
|
-
greedy: !0,
|
|
47
|
-
inside: {
|
|
48
|
-
scheme: {
|
|
49
|
-
pattern: /^(#)[\s\S]+$/,
|
|
50
|
-
lookbehind: !0,
|
|
51
|
-
alias: "language-scheme",
|
|
52
|
-
inside: {
|
|
53
|
-
"embedded-lilypond": {
|
|
54
|
-
pattern: /#\{[\s\S]*?#\}/,
|
|
55
|
-
greedy: !0,
|
|
56
|
-
inside: {
|
|
57
|
-
punctuation: /^#\{|#\}$/,
|
|
58
|
-
lilypond: {
|
|
59
|
-
pattern: /[\s\S]+/,
|
|
60
|
-
alias: "language-lilypond",
|
|
61
|
-
inside: null
|
|
62
|
-
// see below
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
rest: r.languages.scheme
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
punctuation: /#/
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
string: {
|
|
73
|
-
pattern: /"(?:[^"\\]|\\.)*"/,
|
|
74
|
-
greedy: !0
|
|
75
|
-
},
|
|
76
|
-
"class-name": {
|
|
77
|
-
pattern: /(\\new\s+)[\w-]+/,
|
|
78
|
-
lookbehind: !0
|
|
79
|
-
},
|
|
80
|
-
keyword: {
|
|
81
|
-
pattern: /\\[a-z][-\w]*/i,
|
|
82
|
-
inside: {
|
|
83
|
-
punctuation: /^\\/
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
operator: /[=|]|<<|>>/,
|
|
87
|
-
punctuation: {
|
|
88
|
-
pattern: /(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,
|
|
89
|
-
lookbehind: !0
|
|
90
|
-
},
|
|
91
|
-
number: /\b\d+(?:\/\d+)?\b/
|
|
92
|
-
};
|
|
93
|
-
a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside = a, r.languages.ly = a;
|
|
94
|
-
}(t);
|
|
95
|
-
}
|
|
96
|
-
return s;
|
|
97
|
-
}
|
|
98
|
-
var p = y();
|
|
99
|
-
const m = /* @__PURE__ */ u(p), h = /* @__PURE__ */ g({
|
|
100
|
-
__proto__: null,
|
|
101
|
-
default: m
|
|
102
|
-
}, [p]);
|
|
103
|
-
export {
|
|
104
|
-
h as l
|
|
105
|
-
};
|
package/dist/liquid-27a4e206.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { g as p } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as m } from "./markup-templating-49c15a5f.js";
|
|
3
|
-
function f(n, i) {
|
|
4
|
-
for (var e = 0; e < i.length; e++) {
|
|
5
|
-
const t = i[e];
|
|
6
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
7
|
-
for (const a in t)
|
|
8
|
-
if (a !== "default" && !(a in n)) {
|
|
9
|
-
const r = Object.getOwnPropertyDescriptor(t, a);
|
|
10
|
-
r && Object.defineProperty(n, a, r.get ? r : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => t[a]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var o, u;
|
|
20
|
-
function g() {
|
|
21
|
-
if (u)
|
|
22
|
-
return o;
|
|
23
|
-
u = 1;
|
|
24
|
-
var n = m();
|
|
25
|
-
o = i, i.displayName = "liquid", i.aliases = [];
|
|
26
|
-
function i(e) {
|
|
27
|
-
e.register(n), e.languages.liquid = {
|
|
28
|
-
comment: {
|
|
29
|
-
pattern: /(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,
|
|
30
|
-
lookbehind: !0
|
|
31
|
-
},
|
|
32
|
-
delimiter: {
|
|
33
|
-
pattern: /^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,
|
|
34
|
-
alias: "punctuation"
|
|
35
|
-
},
|
|
36
|
-
string: {
|
|
37
|
-
pattern: /"[^"]*"|'[^']*'/,
|
|
38
|
-
greedy: !0
|
|
39
|
-
},
|
|
40
|
-
keyword: /\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,
|
|
41
|
-
object: /\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,
|
|
42
|
-
function: [
|
|
43
|
-
{
|
|
44
|
-
pattern: /(\|\s*)\w+/,
|
|
45
|
-
lookbehind: !0,
|
|
46
|
-
alias: "filter"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
// array functions
|
|
50
|
-
pattern: /(\.\s*)(?:first|last|size)/,
|
|
51
|
-
lookbehind: !0
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
boolean: /\b(?:false|nil|true)\b/,
|
|
55
|
-
range: {
|
|
56
|
-
pattern: /\.\./,
|
|
57
|
-
alias: "operator"
|
|
58
|
-
},
|
|
59
|
-
// https://github.com/Shopify/liquid/blob/698f5e0d967423e013f6169d9111bd969bd78337/lib/liquid/lexer.rb#L21
|
|
60
|
-
number: /\b\d+(?:\.\d+)?\b/,
|
|
61
|
-
operator: /[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,
|
|
62
|
-
punctuation: /[.,\[\]()]/,
|
|
63
|
-
empty: {
|
|
64
|
-
pattern: /\bempty\b/,
|
|
65
|
-
alias: "keyword"
|
|
66
|
-
}
|
|
67
|
-
}, e.hooks.add("before-tokenize", function(t) {
|
|
68
|
-
var a = /\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g, r = !1;
|
|
69
|
-
e.languages["markup-templating"].buildPlaceholders(
|
|
70
|
-
t,
|
|
71
|
-
"liquid",
|
|
72
|
-
a,
|
|
73
|
-
function(d) {
|
|
74
|
-
var l = /^\{%-?\s*(\w+)/.exec(d);
|
|
75
|
-
if (l) {
|
|
76
|
-
var s = l[1];
|
|
77
|
-
if (s === "raw" && !r)
|
|
78
|
-
return r = !0, !0;
|
|
79
|
-
if (s === "endraw")
|
|
80
|
-
return r = !1, !0;
|
|
81
|
-
}
|
|
82
|
-
return !r;
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
}), e.hooks.add("after-tokenize", function(t) {
|
|
86
|
-
e.languages["markup-templating"].tokenizePlaceholders(t, "liquid");
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
return o;
|
|
90
|
-
}
|
|
91
|
-
var c = g();
|
|
92
|
-
const _ = /* @__PURE__ */ p(c), y = /* @__PURE__ */ f({
|
|
93
|
-
__proto__: null,
|
|
94
|
-
default: _
|
|
95
|
-
}, [c]);
|
|
96
|
-
export {
|
|
97
|
-
y as l
|
|
98
|
-
};
|
package/dist/lisp-9e822c78.js
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import { g as k } from "./index-9498f0f6.js";
|
|
2
|
-
function x(s, i) {
|
|
3
|
-
for (var r = 0; r < i.length; r++) {
|
|
4
|
-
const a = i[r];
|
|
5
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
-
for (const n in a)
|
|
7
|
-
if (n !== "default" && !(n in s)) {
|
|
8
|
-
const e = Object.getOwnPropertyDescriptor(a, n);
|
|
9
|
-
e && Object.defineProperty(s, n, e.get ? e : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => a[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var g, m;
|
|
19
|
-
function E() {
|
|
20
|
-
if (m)
|
|
21
|
-
return g;
|
|
22
|
-
m = 1, g = s, s.displayName = "lisp", s.aliases = [];
|
|
23
|
-
function s(i) {
|
|
24
|
-
(function(r) {
|
|
25
|
-
function a(c) {
|
|
26
|
-
return RegExp(/(\()/.source + "(?:" + c + ")" + /(?=[\s\)])/.source);
|
|
27
|
-
}
|
|
28
|
-
function n(c) {
|
|
29
|
-
return RegExp(
|
|
30
|
-
/([\s([])/.source + "(?:" + c + ")" + /(?=[\s)])/.source
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
var e = /(?!\d)[-+*/~!@$%^=<>{}\w]+/.source, y = "&" + e, o = "(\\()", v = "(?=\\))", b = "(?=\\s)", l = /(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source, t = {
|
|
34
|
-
// Three or four semicolons are considered a heading.
|
|
35
|
-
// See https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html
|
|
36
|
-
heading: {
|
|
37
|
-
pattern: /;;;.*/,
|
|
38
|
-
alias: ["comment", "title"]
|
|
39
|
-
},
|
|
40
|
-
comment: /;.*/,
|
|
41
|
-
string: {
|
|
42
|
-
pattern: /"(?:[^"\\]|\\.)*"/,
|
|
43
|
-
greedy: !0,
|
|
44
|
-
inside: {
|
|
45
|
-
argument: /[-A-Z]+(?=[.,\s])/,
|
|
46
|
-
symbol: RegExp("`" + e + "'")
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"quoted-symbol": {
|
|
50
|
-
pattern: RegExp("#?'" + e),
|
|
51
|
-
alias: ["variable", "symbol"]
|
|
52
|
-
},
|
|
53
|
-
"lisp-property": {
|
|
54
|
-
pattern: RegExp(":" + e),
|
|
55
|
-
alias: "property"
|
|
56
|
-
},
|
|
57
|
-
splice: {
|
|
58
|
-
pattern: RegExp(",@?" + e),
|
|
59
|
-
alias: ["symbol", "variable"]
|
|
60
|
-
},
|
|
61
|
-
keyword: [
|
|
62
|
-
{
|
|
63
|
-
pattern: RegExp(
|
|
64
|
-
o + "(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)" + b
|
|
65
|
-
),
|
|
66
|
-
lookbehind: !0
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
pattern: RegExp(
|
|
70
|
-
o + "(?:append|by|collect|concat|do|finally|for|in|return)" + b
|
|
71
|
-
),
|
|
72
|
-
lookbehind: !0
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
declare: {
|
|
76
|
-
pattern: a(/declare/.source),
|
|
77
|
-
lookbehind: !0,
|
|
78
|
-
alias: "keyword"
|
|
79
|
-
},
|
|
80
|
-
interactive: {
|
|
81
|
-
pattern: a(/interactive/.source),
|
|
82
|
-
lookbehind: !0,
|
|
83
|
-
alias: "keyword"
|
|
84
|
-
},
|
|
85
|
-
boolean: {
|
|
86
|
-
pattern: n(/nil|t/.source),
|
|
87
|
-
lookbehind: !0
|
|
88
|
-
},
|
|
89
|
-
number: {
|
|
90
|
-
pattern: n(/[-+]?\d+(?:\.\d*)?/.source),
|
|
91
|
-
lookbehind: !0
|
|
92
|
-
},
|
|
93
|
-
defvar: {
|
|
94
|
-
pattern: RegExp(o + "def(?:const|custom|group|var)\\s+" + e),
|
|
95
|
-
lookbehind: !0,
|
|
96
|
-
inside: {
|
|
97
|
-
keyword: /^def[a-z]+/,
|
|
98
|
-
variable: RegExp(e)
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
defun: {
|
|
102
|
-
pattern: RegExp(
|
|
103
|
-
o + /(?:cl-)?(?:defmacro|defun\*?)\s+/.source + e + /\s+\(/.source + l + /\)/.source
|
|
104
|
-
),
|
|
105
|
-
lookbehind: !0,
|
|
106
|
-
greedy: !0,
|
|
107
|
-
inside: {
|
|
108
|
-
keyword: /^(?:cl-)?def\S+/,
|
|
109
|
-
// See below, this property needs to be defined later so that it can
|
|
110
|
-
// reference the language object.
|
|
111
|
-
arguments: null,
|
|
112
|
-
function: {
|
|
113
|
-
pattern: RegExp("(^\\s)" + e),
|
|
114
|
-
lookbehind: !0
|
|
115
|
-
},
|
|
116
|
-
punctuation: /[()]/
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
lambda: {
|
|
120
|
-
pattern: RegExp(
|
|
121
|
-
o + "lambda\\s+\\(\\s*(?:&?" + e + "(?:\\s+&?" + e + ")*\\s*)?\\)"
|
|
122
|
-
),
|
|
123
|
-
lookbehind: !0,
|
|
124
|
-
greedy: !0,
|
|
125
|
-
inside: {
|
|
126
|
-
keyword: /^lambda/,
|
|
127
|
-
// See below, this property needs to be defined later so that it can
|
|
128
|
-
// reference the language object.
|
|
129
|
-
arguments: null,
|
|
130
|
-
punctuation: /[()]/
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
car: {
|
|
134
|
-
pattern: RegExp(o + e),
|
|
135
|
-
lookbehind: !0
|
|
136
|
-
},
|
|
137
|
-
punctuation: [
|
|
138
|
-
// open paren, brackets, and close paren
|
|
139
|
-
/(?:['`,]?\(|[)\[\]])/,
|
|
140
|
-
// cons
|
|
141
|
-
{
|
|
142
|
-
pattern: /(\s)\.(?=\s)/,
|
|
143
|
-
lookbehind: !0
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
}, u = {
|
|
147
|
-
"lisp-marker": RegExp(y),
|
|
148
|
-
varform: {
|
|
149
|
-
pattern: RegExp(
|
|
150
|
-
/\(/.source + e + /\s+(?=\S)/.source + l + /\)/.source
|
|
151
|
-
),
|
|
152
|
-
inside: t
|
|
153
|
-
},
|
|
154
|
-
argument: {
|
|
155
|
-
pattern: RegExp(/(^|[\s(])/.source + e),
|
|
156
|
-
lookbehind: !0,
|
|
157
|
-
alias: "variable"
|
|
158
|
-
},
|
|
159
|
-
rest: t
|
|
160
|
-
}, p = "\\S+(?:\\s+\\S+)*", d = {
|
|
161
|
-
pattern: RegExp(o + l + v),
|
|
162
|
-
lookbehind: !0,
|
|
163
|
-
inside: {
|
|
164
|
-
"rest-vars": {
|
|
165
|
-
pattern: RegExp("&(?:body|rest)\\s+" + p),
|
|
166
|
-
inside: u
|
|
167
|
-
},
|
|
168
|
-
"other-marker-vars": {
|
|
169
|
-
pattern: RegExp("&(?:aux|optional)\\s+" + p),
|
|
170
|
-
inside: u
|
|
171
|
-
},
|
|
172
|
-
keys: {
|
|
173
|
-
pattern: RegExp("&key\\s+" + p + "(?:\\s+&allow-other-keys)?"),
|
|
174
|
-
inside: u
|
|
175
|
-
},
|
|
176
|
-
argument: {
|
|
177
|
-
pattern: RegExp(e),
|
|
178
|
-
alias: "variable"
|
|
179
|
-
},
|
|
180
|
-
punctuation: /[()]/
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
t.lambda.inside.arguments = d, t.defun.inside.arguments = r.util.clone(d), t.defun.inside.arguments.inside.sublist = d, r.languages.lisp = t, r.languages.elisp = t, r.languages.emacs = t, r.languages["emacs-lisp"] = t;
|
|
184
|
-
})(i);
|
|
185
|
-
}
|
|
186
|
-
return g;
|
|
187
|
-
}
|
|
188
|
-
var f = E();
|
|
189
|
-
const R = /* @__PURE__ */ k(f), w = /* @__PURE__ */ x({
|
|
190
|
-
__proto__: null,
|
|
191
|
-
default: R
|
|
192
|
-
}, [f]);
|
|
193
|
-
export {
|
|
194
|
-
w as l
|
|
195
|
-
};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { g as p } from "./index-9498f0f6.js";
|
|
2
|
-
function u(e, t) {
|
|
3
|
-
for (var i = 0; i < t.length; i++) {
|
|
4
|
-
const r = t[i];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const n in r)
|
|
7
|
-
if (n !== "default" && !(n in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
-
o && Object.defineProperty(e, n, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var a, l;
|
|
19
|
-
function d() {
|
|
20
|
-
if (l)
|
|
21
|
-
return a;
|
|
22
|
-
l = 1, a = e, e.displayName = "livescript", e.aliases = [];
|
|
23
|
-
function e(t) {
|
|
24
|
-
t.languages.livescript = {
|
|
25
|
-
comment: [
|
|
26
|
-
{
|
|
27
|
-
pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
|
|
28
|
-
lookbehind: !0
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
pattern: /(^|[^\\])#.*/,
|
|
32
|
-
lookbehind: !0
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"interpolated-string": {
|
|
36
|
-
/* Look-behind and look-ahead prevents wrong behavior of the greedy pattern
|
|
37
|
-
* forcing it to match """-quoted string when it would otherwise match "-quoted first. */
|
|
38
|
-
pattern: /(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,
|
|
39
|
-
lookbehind: !0,
|
|
40
|
-
greedy: !0,
|
|
41
|
-
inside: {
|
|
42
|
-
variable: {
|
|
43
|
-
pattern: /(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,
|
|
44
|
-
lookbehind: !0
|
|
45
|
-
},
|
|
46
|
-
interpolation: {
|
|
47
|
-
pattern: /(^|[^\\])#\{[^}]+\}/m,
|
|
48
|
-
lookbehind: !0,
|
|
49
|
-
inside: {
|
|
50
|
-
"interpolation-punctuation": {
|
|
51
|
-
pattern: /^#\{|\}$/,
|
|
52
|
-
alias: "variable"
|
|
53
|
-
}
|
|
54
|
-
// See rest below
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
string: /[\s\S]+/
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
string: [
|
|
61
|
-
{
|
|
62
|
-
pattern: /('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
|
63
|
-
greedy: !0
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
pattern: /<\[[\s\S]*?\]>/,
|
|
67
|
-
greedy: !0
|
|
68
|
-
},
|
|
69
|
-
/\\[^\s,;\])}]+/
|
|
70
|
-
],
|
|
71
|
-
regex: [
|
|
72
|
-
{
|
|
73
|
-
pattern: /\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,
|
|
74
|
-
greedy: !0,
|
|
75
|
-
inside: {
|
|
76
|
-
comment: {
|
|
77
|
-
pattern: /(^|[^\\])#.*/,
|
|
78
|
-
lookbehind: !0
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
pattern: /\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,
|
|
84
|
-
greedy: !0
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
keyword: {
|
|
88
|
-
pattern: /(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,
|
|
89
|
-
lookbehind: !0
|
|
90
|
-
},
|
|
91
|
-
"keyword-operator": {
|
|
92
|
-
pattern: /(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,
|
|
93
|
-
lookbehind: !0,
|
|
94
|
-
alias: "operator"
|
|
95
|
-
},
|
|
96
|
-
boolean: {
|
|
97
|
-
pattern: /(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,
|
|
98
|
-
lookbehind: !0
|
|
99
|
-
},
|
|
100
|
-
argument: {
|
|
101
|
-
// Don't match .&. nor &&
|
|
102
|
-
pattern: /(^|(?!\.&\.)[^&])&(?!&)\d*/m,
|
|
103
|
-
lookbehind: !0,
|
|
104
|
-
alias: "variable"
|
|
105
|
-
},
|
|
106
|
-
number: /\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,
|
|
107
|
-
identifier: /[a-z_](?:-?[a-z]|[\d_])*/i,
|
|
108
|
-
operator: [
|
|
109
|
-
// Spaced .
|
|
110
|
-
{
|
|
111
|
-
pattern: /( )\.(?= )/,
|
|
112
|
-
lookbehind: !0
|
|
113
|
-
},
|
|
114
|
-
// Full list, in order:
|
|
115
|
-
// .= .~ .. ...
|
|
116
|
-
// .&. .^. .<<. .>>. .>>>.
|
|
117
|
-
// := :: ::=
|
|
118
|
-
// &&
|
|
119
|
-
// || |>
|
|
120
|
-
// < << <<< <<<<
|
|
121
|
-
// <- <-- <-! <--!
|
|
122
|
-
// <~ <~~ <~! <~~!
|
|
123
|
-
// <| <= <?
|
|
124
|
-
// > >> >= >?
|
|
125
|
-
// - -- -> -->
|
|
126
|
-
// + ++
|
|
127
|
-
// @ @@
|
|
128
|
-
// % %%
|
|
129
|
-
// * **
|
|
130
|
-
// ! != !~=
|
|
131
|
-
// !~> !~~>
|
|
132
|
-
// !-> !-->
|
|
133
|
-
// ~ ~> ~~> ~=
|
|
134
|
-
// = ==
|
|
135
|
-
// ^ ^^
|
|
136
|
-
// / ?
|
|
137
|
-
/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/
|
|
138
|
-
],
|
|
139
|
-
punctuation: /[(){}\[\]|.,:;`]/
|
|
140
|
-
}, t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest = t.languages.livescript;
|
|
141
|
-
}
|
|
142
|
-
return a;
|
|
143
|
-
}
|
|
144
|
-
var s = d();
|
|
145
|
-
const c = /* @__PURE__ */ p(s), b = /* @__PURE__ */ u({
|
|
146
|
-
__proto__: null,
|
|
147
|
-
default: c
|
|
148
|
-
}, [s]);
|
|
149
|
-
export {
|
|
150
|
-
b as l
|
|
151
|
-
};
|
package/dist/llvm-62365d93.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { g as i } from "./index-9498f0f6.js";
|
|
2
|
-
function d(e, l) {
|
|
3
|
-
for (var t = 0; t < l.length; t++) {
|
|
4
|
-
const a = l[t];
|
|
5
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
-
for (const r in a)
|
|
7
|
-
if (r !== "default" && !(r in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(a, r);
|
|
9
|
-
o && Object.defineProperty(e, r, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => a[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var n, f;
|
|
19
|
-
function s() {
|
|
20
|
-
if (f)
|
|
21
|
-
return n;
|
|
22
|
-
f = 1, n = e, e.displayName = "llvm", e.aliases = [];
|
|
23
|
-
function e(l) {
|
|
24
|
-
(function(t) {
|
|
25
|
-
t.languages.llvm = {
|
|
26
|
-
comment: /;.*/,
|
|
27
|
-
string: {
|
|
28
|
-
pattern: /"[^"]*"/,
|
|
29
|
-
greedy: !0
|
|
30
|
-
},
|
|
31
|
-
boolean: /\b(?:false|true)\b/,
|
|
32
|
-
variable: /[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,
|
|
33
|
-
label: /(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,
|
|
34
|
-
type: {
|
|
35
|
-
pattern: /\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,
|
|
36
|
-
alias: "class-name"
|
|
37
|
-
},
|
|
38
|
-
keyword: /\b[a-z_][a-z_0-9]*\b/,
|
|
39
|
-
number: /[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,
|
|
40
|
-
punctuation: /[{}[\];(),.!*=<>]/
|
|
41
|
-
};
|
|
42
|
-
})(l);
|
|
43
|
-
}
|
|
44
|
-
return n;
|
|
45
|
-
}
|
|
46
|
-
var b = s();
|
|
47
|
-
const u = /* @__PURE__ */ i(b), p = /* @__PURE__ */ d({
|
|
48
|
-
__proto__: null,
|
|
49
|
-
default: u
|
|
50
|
-
}, [b]);
|
|
51
|
-
export {
|
|
52
|
-
p as l
|
|
53
|
-
};
|