@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/python-9c9fa97e.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { g as p } from "./index-9498f0f6.js";
|
|
2
|
-
function u(t, e) {
|
|
3
|
-
for (var a = 0; a < e.length; a++) {
|
|
4
|
-
const r = e[a];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const n in r)
|
|
7
|
-
if (n !== "default" && !(n in t)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
-
o && Object.defineProperty(t, n, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, s;
|
|
19
|
-
function d() {
|
|
20
|
-
if (s)
|
|
21
|
-
return i;
|
|
22
|
-
s = 1, i = t, t.displayName = "python", t.aliases = ["py"];
|
|
23
|
-
function t(e) {
|
|
24
|
-
e.languages.python = {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /(^|[^\\])#.*/,
|
|
27
|
-
lookbehind: !0,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
"string-interpolation": {
|
|
31
|
-
pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
32
|
-
greedy: !0,
|
|
33
|
-
inside: {
|
|
34
|
-
interpolation: {
|
|
35
|
-
// "{" <expression> <optional "!s", "!r", or "!a"> <optional ":" format specifier> "}"
|
|
36
|
-
pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
37
|
-
lookbehind: !0,
|
|
38
|
-
inside: {
|
|
39
|
-
"format-spec": {
|
|
40
|
-
pattern: /(:)[^:(){}]+(?=\}$)/,
|
|
41
|
-
lookbehind: !0
|
|
42
|
-
},
|
|
43
|
-
"conversion-option": {
|
|
44
|
-
pattern: //,
|
|
45
|
-
alias: "punctuation"
|
|
46
|
-
},
|
|
47
|
-
rest: null
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
string: /[\s\S]+/
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"triple-quoted-string": {
|
|
54
|
-
pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
|
|
55
|
-
greedy: !0,
|
|
56
|
-
alias: "string"
|
|
57
|
-
},
|
|
58
|
-
string: {
|
|
59
|
-
pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
|
|
60
|
-
greedy: !0
|
|
61
|
-
},
|
|
62
|
-
function: {
|
|
63
|
-
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
|
|
64
|
-
lookbehind: !0
|
|
65
|
-
},
|
|
66
|
-
"class-name": {
|
|
67
|
-
pattern: /(\bclass\s+)\w+/i,
|
|
68
|
-
lookbehind: !0
|
|
69
|
-
},
|
|
70
|
-
decorator: {
|
|
71
|
-
pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
|
|
72
|
-
lookbehind: !0,
|
|
73
|
-
alias: ["annotation", "punctuation"],
|
|
74
|
-
inside: {
|
|
75
|
-
punctuation: /\./
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
79
|
-
builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
80
|
-
boolean: /\b(?:False|None|True)\b/,
|
|
81
|
-
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
82
|
-
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
83
|
-
punctuation: /[{}[\];(),.:]/
|
|
84
|
-
}, e.languages.python["string-interpolation"].inside.interpolation.inside.rest = e.languages.python, e.languages.py = e.languages.python;
|
|
85
|
-
}
|
|
86
|
-
return i;
|
|
87
|
-
}
|
|
88
|
-
var l = d();
|
|
89
|
-
const c = /* @__PURE__ */ p(l), y = /* @__PURE__ */ u({
|
|
90
|
-
__proto__: null,
|
|
91
|
-
default: c
|
|
92
|
-
}, [l]);
|
|
93
|
-
export {
|
|
94
|
-
y as p
|
|
95
|
-
};
|
package/dist/q-21818334.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { g as l } from "./index-9498f0f6.js";
|
|
2
|
-
function u(e, s) {
|
|
3
|
-
for (var a = 0; a < s.length; a++) {
|
|
4
|
-
const r = s[a];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const t in r)
|
|
7
|
-
if (t !== "default" && !(t in e)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
-
n && Object.defineProperty(e, t, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var d, i;
|
|
19
|
-
function c() {
|
|
20
|
-
if (i)
|
|
21
|
-
return d;
|
|
22
|
-
i = 1, d = e, e.displayName = "q", e.aliases = [];
|
|
23
|
-
function e(s) {
|
|
24
|
-
s.languages.q = {
|
|
25
|
-
string: /"(?:\\.|[^"\\\r\n])*"/,
|
|
26
|
-
comment: [
|
|
27
|
-
// From http://code.kx.com/wiki/Reference/Slash:
|
|
28
|
-
// When / is following a space (or a right parenthesis, bracket, or brace), it is ignored with the rest of the line.
|
|
29
|
-
{
|
|
30
|
-
pattern: /([\t )\]}])\/.*/,
|
|
31
|
-
lookbehind: !0,
|
|
32
|
-
greedy: !0
|
|
33
|
-
},
|
|
34
|
-
// From http://code.kx.com/wiki/Reference/Slash:
|
|
35
|
-
// A line which has / as its first character and contains at least one other non-whitespace character is a whole-line comment and is ignored entirely.
|
|
36
|
-
// A / on a line by itself begins a multiline comment which is terminated by the next \ on a line by itself.
|
|
37
|
-
// If a / is not matched by a \, the multiline comment is unterminated and continues to end of file.
|
|
38
|
-
// The / and \ must be the first char on the line, but may be followed by any amount of whitespace.
|
|
39
|
-
{
|
|
40
|
-
pattern: /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,
|
|
41
|
-
lookbehind: !0,
|
|
42
|
-
greedy: !0
|
|
43
|
-
},
|
|
44
|
-
// From http://code.kx.com/wiki/Reference/Slash:
|
|
45
|
-
// A \ on a line by itself with no preceding matching / will comment to end of file.
|
|
46
|
-
{
|
|
47
|
-
pattern: /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,
|
|
48
|
-
greedy: !0
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
pattern: /^#!.+/m,
|
|
52
|
-
greedy: !0
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
symbol: /`(?::\S+|[\w.]*)/,
|
|
56
|
-
datetime: {
|
|
57
|
-
pattern: /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,
|
|
58
|
-
alias: "number"
|
|
59
|
-
},
|
|
60
|
-
// The negative look-ahead prevents bad highlighting
|
|
61
|
-
// of verbs 0: and 1:
|
|
62
|
-
number: /\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,
|
|
63
|
-
keyword: /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,
|
|
64
|
-
adverb: {
|
|
65
|
-
pattern: /['\/\\]:?|\beach\b/,
|
|
66
|
-
alias: "function"
|
|
67
|
-
},
|
|
68
|
-
verb: {
|
|
69
|
-
pattern: /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,
|
|
70
|
-
alias: "operator"
|
|
71
|
-
},
|
|
72
|
-
punctuation: /[(){}\[\];.]/
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
return d;
|
|
76
|
-
}
|
|
77
|
-
var o = c();
|
|
78
|
-
const m = /* @__PURE__ */ l(o), v = /* @__PURE__ */ u({
|
|
79
|
-
__proto__: null,
|
|
80
|
-
default: m
|
|
81
|
-
}, [o]);
|
|
82
|
-
export {
|
|
83
|
-
v as q
|
|
84
|
-
};
|
package/dist/qml-709fe996.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
function l(r, o) {
|
|
3
|
-
for (var t = 0; t < o.length; t++) {
|
|
4
|
-
const n = o[t];
|
|
5
|
-
if (typeof n != "string" && !Array.isArray(n)) {
|
|
6
|
-
for (const a in n)
|
|
7
|
-
if (a !== "default" && !(a in r)) {
|
|
8
|
-
const e = Object.getOwnPropertyDescriptor(n, a);
|
|
9
|
-
e && Object.defineProperty(r, a, e.get ? e : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => n[a]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var s, p;
|
|
19
|
-
function g() {
|
|
20
|
-
if (p)
|
|
21
|
-
return s;
|
|
22
|
-
p = 1, s = r, r.displayName = "qml", r.aliases = [];
|
|
23
|
-
function r(o) {
|
|
24
|
-
(function(t) {
|
|
25
|
-
for (var n = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, a = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source, e = /(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g, function() {
|
|
26
|
-
return n;
|
|
27
|
-
}).replace(/<comment>/g, function() {
|
|
28
|
-
return a;
|
|
29
|
-
}), u = 0; u < 2; u++)
|
|
30
|
-
e = e.replace(/<expr>/g, function() {
|
|
31
|
-
return e;
|
|
32
|
-
});
|
|
33
|
-
e = e.replace(/<expr>/g, "[^\\s\\S]"), t.languages.qml = {
|
|
34
|
-
comment: {
|
|
35
|
-
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
36
|
-
greedy: !0
|
|
37
|
-
},
|
|
38
|
-
"javascript-function": {
|
|
39
|
-
pattern: RegExp(
|
|
40
|
-
/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(
|
|
41
|
-
/<js>/g,
|
|
42
|
-
function() {
|
|
43
|
-
return e;
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
"m"
|
|
47
|
-
),
|
|
48
|
-
lookbehind: !0,
|
|
49
|
-
greedy: !0,
|
|
50
|
-
alias: "language-javascript",
|
|
51
|
-
inside: t.languages.javascript
|
|
52
|
-
},
|
|
53
|
-
"class-name": {
|
|
54
|
-
pattern: /((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,
|
|
55
|
-
lookbehind: !0
|
|
56
|
-
},
|
|
57
|
-
property: [
|
|
58
|
-
{
|
|
59
|
-
pattern: /((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
60
|
-
lookbehind: !0
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
pattern: /((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
64
|
-
lookbehind: !0,
|
|
65
|
-
inside: {
|
|
66
|
-
keyword: /^property/,
|
|
67
|
-
property: /\w+(?:\.\w+)*/
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"javascript-expression": {
|
|
72
|
-
pattern: RegExp(
|
|
73
|
-
/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(
|
|
74
|
-
/<js>/g,
|
|
75
|
-
function() {
|
|
76
|
-
return e;
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
"m"
|
|
80
|
-
),
|
|
81
|
-
lookbehind: !0,
|
|
82
|
-
greedy: !0,
|
|
83
|
-
alias: "language-javascript",
|
|
84
|
-
inside: t.languages.javascript
|
|
85
|
-
},
|
|
86
|
-
string: {
|
|
87
|
-
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
88
|
-
greedy: !0
|
|
89
|
-
},
|
|
90
|
-
keyword: /\b(?:as|import|on)\b/,
|
|
91
|
-
punctuation: /[{}[\]:;,]/
|
|
92
|
-
};
|
|
93
|
-
})(o);
|
|
94
|
-
}
|
|
95
|
-
return s;
|
|
96
|
-
}
|
|
97
|
-
var i = g();
|
|
98
|
-
const m = /* @__PURE__ */ c(i), f = /* @__PURE__ */ l({
|
|
99
|
-
__proto__: null,
|
|
100
|
-
default: m
|
|
101
|
-
}, [i]);
|
|
102
|
-
export {
|
|
103
|
-
f as q
|
|
104
|
-
};
|
package/dist/qore-7709538c.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
function d(e, t) {
|
|
3
|
-
for (var n = 0; n < t.length; n++) {
|
|
4
|
-
const r = t[n];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const o in r)
|
|
7
|
-
if (o !== "default" && !(o in e)) {
|
|
8
|
-
const a = Object.getOwnPropertyDescriptor(r, o);
|
|
9
|
-
a && Object.defineProperty(e, o, a.get ? a : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[o]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, s;
|
|
19
|
-
function f() {
|
|
20
|
-
if (s)
|
|
21
|
-
return i;
|
|
22
|
-
s = 1, i = e, e.displayName = "qore", e.aliases = [];
|
|
23
|
-
function e(t) {
|
|
24
|
-
t.languages.qore = t.languages.extend("clike", {
|
|
25
|
-
comment: {
|
|
26
|
-
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,
|
|
27
|
-
lookbehind: !0
|
|
28
|
-
},
|
|
29
|
-
// Overridden to allow unescaped multi-line strings
|
|
30
|
-
string: {
|
|
31
|
-
pattern: /("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
|
32
|
-
greedy: !0
|
|
33
|
-
},
|
|
34
|
-
keyword: /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,
|
|
35
|
-
boolean: /\b(?:false|true)\b/i,
|
|
36
|
-
function: /\$?\b(?!\d)\w+(?=\()/,
|
|
37
|
-
number: /\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,
|
|
38
|
-
operator: {
|
|
39
|
-
pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,
|
|
40
|
-
lookbehind: !0
|
|
41
|
-
},
|
|
42
|
-
variable: /\$(?!\d)\w+\b/
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return i;
|
|
46
|
-
}
|
|
47
|
-
var l = f();
|
|
48
|
-
const u = /* @__PURE__ */ c(l), p = /* @__PURE__ */ d({
|
|
49
|
-
__proto__: null,
|
|
50
|
-
default: u
|
|
51
|
-
}, [l]);
|
|
52
|
-
export {
|
|
53
|
-
p as q
|
|
54
|
-
};
|
package/dist/qsharp-5024098d.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { g as m } from "./index-9498f0f6.js";
|
|
2
|
-
function k(a, o) {
|
|
3
|
-
for (var n = 0; n < o.length; n++) {
|
|
4
|
-
const t = o[n];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const e in t)
|
|
7
|
-
if (e !== "default" && !(e in a)) {
|
|
8
|
-
const i = Object.getOwnPropertyDescriptor(t, e);
|
|
9
|
-
i && Object.defineProperty(a, e, i.get ? i : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[e]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var l, h;
|
|
19
|
-
function x() {
|
|
20
|
-
if (h)
|
|
21
|
-
return l;
|
|
22
|
-
h = 1, l = a, a.displayName = "qsharp", a.aliases = ["qs"];
|
|
23
|
-
function a(o) {
|
|
24
|
-
(function(n) {
|
|
25
|
-
function t(r, s) {
|
|
26
|
-
return r.replace(/<<(\d+)>>/g, function(u, w) {
|
|
27
|
-
return "(?:" + s[+w] + ")";
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function e(r, s, u) {
|
|
31
|
-
return RegExp(t(r, s), u || "");
|
|
32
|
-
}
|
|
33
|
-
function i(r, s) {
|
|
34
|
-
for (var u = 0; u < s; u++)
|
|
35
|
-
r = r.replace(/<<self>>/g, function() {
|
|
36
|
-
return "(?:" + r + ")";
|
|
37
|
-
});
|
|
38
|
-
return r.replace(/<<self>>/g, "[^\\s\\S]");
|
|
39
|
-
}
|
|
40
|
-
var p = {
|
|
41
|
-
// keywords which represent a return or variable type
|
|
42
|
-
type: "Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",
|
|
43
|
-
// all other keywords
|
|
44
|
-
other: "Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"
|
|
45
|
-
};
|
|
46
|
-
function q(r) {
|
|
47
|
-
return "\\b(?:" + r.trim().replace(/ /g, "|") + ")\\b";
|
|
48
|
-
}
|
|
49
|
-
var c = RegExp(
|
|
50
|
-
q(p.type + " " + p.other)
|
|
51
|
-
), v = /\b[A-Za-z_]\w*\b/.source, g = t(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [v]), d = {
|
|
52
|
-
keyword: c,
|
|
53
|
-
punctuation: /[<>()?,.:[\]]/
|
|
54
|
-
}, f = /"(?:\\.|[^\\"])*"/.source;
|
|
55
|
-
n.languages.qsharp = n.languages.extend("clike", {
|
|
56
|
-
comment: /\/\/.*/,
|
|
57
|
-
string: [
|
|
58
|
-
{
|
|
59
|
-
pattern: e(/(^|[^$\\])<<0>>/.source, [f]),
|
|
60
|
-
lookbehind: !0,
|
|
61
|
-
greedy: !0
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"class-name": [
|
|
65
|
-
{
|
|
66
|
-
// open Microsoft.Quantum.Canon;
|
|
67
|
-
// open Microsoft.Quantum.Canon as CN;
|
|
68
|
-
pattern: e(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source, [
|
|
69
|
-
g
|
|
70
|
-
]),
|
|
71
|
-
lookbehind: !0,
|
|
72
|
-
inside: d
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
// namespace Quantum.App1;
|
|
76
|
-
pattern: e(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source, [g]),
|
|
77
|
-
lookbehind: !0,
|
|
78
|
-
inside: d
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
keyword: c,
|
|
82
|
-
number: /(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,
|
|
83
|
-
operator: /\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,
|
|
84
|
-
punctuation: /::|[{}[\];(),.:]/
|
|
85
|
-
}), n.languages.insertBefore("qsharp", "number", {
|
|
86
|
-
range: {
|
|
87
|
-
pattern: /\.\./,
|
|
88
|
-
alias: "operator"
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
var b = i(
|
|
92
|
-
t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source, [f]),
|
|
93
|
-
2
|
|
94
|
-
);
|
|
95
|
-
n.languages.insertBefore("qsharp", "string", {
|
|
96
|
-
"interpolation-string": {
|
|
97
|
-
pattern: e(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source, [b]),
|
|
98
|
-
greedy: !0,
|
|
99
|
-
inside: {
|
|
100
|
-
interpolation: {
|
|
101
|
-
pattern: e(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source, [
|
|
102
|
-
b
|
|
103
|
-
]),
|
|
104
|
-
lookbehind: !0,
|
|
105
|
-
inside: {
|
|
106
|
-
punctuation: /^\{|\}$/,
|
|
107
|
-
expression: {
|
|
108
|
-
pattern: /[\s\S]+/,
|
|
109
|
-
alias: "language-qsharp",
|
|
110
|
-
inside: n.languages.qsharp
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
string: /[\s\S]+/
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
})(o), o.languages.qs = o.languages.qsharp;
|
|
119
|
-
}
|
|
120
|
-
return l;
|
|
121
|
-
}
|
|
122
|
-
var y = x();
|
|
123
|
-
const j = /* @__PURE__ */ m(y), _ = /* @__PURE__ */ k({
|
|
124
|
-
__proto__: null,
|
|
125
|
-
default: j
|
|
126
|
-
}, [y]);
|
|
127
|
-
export {
|
|
128
|
-
_ as q
|
|
129
|
-
};
|
package/dist/r-d6abce22.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { g as f } from "./index-9498f0f6.js";
|
|
2
|
-
function u(e, o) {
|
|
3
|
-
for (var a = 0; a < o.length; a++) {
|
|
4
|
-
const r = o[a];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const t in r)
|
|
7
|
-
if (t !== "default" && !(t in e)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
-
n && Object.defineProperty(e, t, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var i, s;
|
|
19
|
-
function c() {
|
|
20
|
-
if (s)
|
|
21
|
-
return i;
|
|
22
|
-
s = 1, i = e, e.displayName = "r", e.aliases = [];
|
|
23
|
-
function e(o) {
|
|
24
|
-
o.languages.r = {
|
|
25
|
-
comment: /#.*/,
|
|
26
|
-
string: {
|
|
27
|
-
pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
28
|
-
greedy: !0
|
|
29
|
-
},
|
|
30
|
-
"percent-operator": {
|
|
31
|
-
// Includes user-defined operators
|
|
32
|
-
// and %%, %*%, %/%, %in%, %o%, %x%
|
|
33
|
-
pattern: /%[^%\s]*%/,
|
|
34
|
-
alias: "operator"
|
|
35
|
-
},
|
|
36
|
-
boolean: /\b(?:FALSE|TRUE)\b/,
|
|
37
|
-
ellipsis: /\.\.(?:\.|\d+)/,
|
|
38
|
-
number: [
|
|
39
|
-
/\b(?:Inf|NaN)\b/,
|
|
40
|
-
/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/
|
|
41
|
-
],
|
|
42
|
-
keyword: /\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,
|
|
43
|
-
operator: /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,
|
|
44
|
-
punctuation: /[(){}\[\],;]/
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
return i;
|
|
48
|
-
}
|
|
49
|
-
var p = c();
|
|
50
|
-
const l = /* @__PURE__ */ f(p), d = /* @__PURE__ */ u({
|
|
51
|
-
__proto__: null,
|
|
52
|
-
default: l
|
|
53
|
-
}, [p]);
|
|
54
|
-
export {
|
|
55
|
-
d as r
|
|
56
|
-
};
|
package/dist/racket-8c099996.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as l } from "./scheme-61aeb1f5.js";
|
|
3
|
-
function f(t, r) {
|
|
4
|
-
for (var e = 0; e < r.length; e++) {
|
|
5
|
-
const a = r[e];
|
|
6
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
7
|
-
for (const n in a)
|
|
8
|
-
if (n !== "default" && !(n in t)) {
|
|
9
|
-
const o = Object.getOwnPropertyDescriptor(a, n);
|
|
10
|
-
o && Object.defineProperty(t, n, o.get ? o : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => a[n]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var c, s;
|
|
20
|
-
function i() {
|
|
21
|
-
if (s)
|
|
22
|
-
return c;
|
|
23
|
-
s = 1;
|
|
24
|
-
var t = l();
|
|
25
|
-
c = r, r.displayName = "racket", r.aliases = ["rkt"];
|
|
26
|
-
function r(e) {
|
|
27
|
-
e.register(t), e.languages.racket = e.languages.extend("scheme", {
|
|
28
|
-
"lambda-parameter": {
|
|
29
|
-
// the racket lambda syntax is a lot more complex, so we won't even attempt to capture it.
|
|
30
|
-
// this will just prevent false positives of the `function` pattern
|
|
31
|
-
pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,
|
|
32
|
-
lookbehind: !0
|
|
33
|
-
}
|
|
34
|
-
}), e.languages.insertBefore("racket", "string", {
|
|
35
|
-
lang: {
|
|
36
|
-
pattern: /^#lang.+/m,
|
|
37
|
-
greedy: !0,
|
|
38
|
-
alias: "keyword"
|
|
39
|
-
}
|
|
40
|
-
}), e.languages.rkt = e.languages.racket;
|
|
41
|
-
}
|
|
42
|
-
return c;
|
|
43
|
-
}
|
|
44
|
-
var g = i();
|
|
45
|
-
const k = /* @__PURE__ */ u(g), m = /* @__PURE__ */ f({
|
|
46
|
-
__proto__: null,
|
|
47
|
-
default: k
|
|
48
|
-
}, [g]);
|
|
49
|
-
export {
|
|
50
|
-
m as r
|
|
51
|
-
};
|
package/dist/reason-0a29b7da.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
function u(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 n in t)
|
|
7
|
-
if (n !== "default" && !(n in e)) {
|
|
8
|
-
const o = Object.getOwnPropertyDescriptor(t, n);
|
|
9
|
-
o && Object.defineProperty(e, n, o.get ? o : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var s, l;
|
|
19
|
-
function f() {
|
|
20
|
-
if (l)
|
|
21
|
-
return s;
|
|
22
|
-
l = 1, s = e, e.displayName = "reason", e.aliases = [];
|
|
23
|
-
function e(r) {
|
|
24
|
-
r.languages.reason = r.languages.extend("clike", {
|
|
25
|
-
string: {
|
|
26
|
-
pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
|
|
27
|
-
greedy: !0
|
|
28
|
-
},
|
|
29
|
-
// 'class-name' must be matched *after* 'constructor' defined below
|
|
30
|
-
"class-name": /\b[A-Z]\w*/,
|
|
31
|
-
keyword: /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,
|
|
32
|
-
operator: /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/
|
|
33
|
-
}), r.languages.insertBefore("reason", "class-name", {
|
|
34
|
-
char: {
|
|
35
|
-
pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,
|
|
36
|
-
greedy: !0
|
|
37
|
-
},
|
|
38
|
-
// Negative look-ahead prevents from matching things like String.capitalize
|
|
39
|
-
constructor: /\b[A-Z]\w*\b(?!\s*\.)/,
|
|
40
|
-
label: {
|
|
41
|
-
pattern: /\b[a-z]\w*(?=::)/,
|
|
42
|
-
alias: "symbol"
|
|
43
|
-
}
|
|
44
|
-
}), delete r.languages.reason.function;
|
|
45
|
-
}
|
|
46
|
-
return s;
|
|
47
|
-
}
|
|
48
|
-
var i = f();
|
|
49
|
-
const d = /* @__PURE__ */ c(i), p = /* @__PURE__ */ u({
|
|
50
|
-
__proto__: null,
|
|
51
|
-
default: d
|
|
52
|
-
}, [i]);
|
|
53
|
-
export {
|
|
54
|
-
p as r
|
|
55
|
-
};
|