@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/pug-f3c562dd.js
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { g as c } from "./index-9498f0f6.js";
|
|
2
|
-
function d(a, s) {
|
|
3
|
-
for (var e = 0; e < s.length; e++) {
|
|
4
|
-
const r = s[e];
|
|
5
|
-
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
-
for (const n in r)
|
|
7
|
-
if (n !== "default" && !(n in a)) {
|
|
8
|
-
const i = Object.getOwnPropertyDescriptor(r, n);
|
|
9
|
-
i && Object.defineProperty(a, n, i.get ? i : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => r[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var u, o;
|
|
19
|
-
function f() {
|
|
20
|
-
if (o)
|
|
21
|
-
return u;
|
|
22
|
-
o = 1, u = a, a.displayName = "pug", a.aliases = [];
|
|
23
|
-
function a(s) {
|
|
24
|
-
(function(e) {
|
|
25
|
-
e.languages.pug = {
|
|
26
|
-
// Multiline stuff should appear before the rest
|
|
27
|
-
// This handles both single-line and multi-line comments
|
|
28
|
-
comment: {
|
|
29
|
-
pattern: /(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,
|
|
30
|
-
lookbehind: !0
|
|
31
|
-
},
|
|
32
|
-
// All the tag-related part is in lookbehind
|
|
33
|
-
// so that it can be highlighted by the "tag" pattern
|
|
34
|
-
"multiline-script": {
|
|
35
|
-
pattern: /(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
|
|
36
|
-
lookbehind: !0,
|
|
37
|
-
inside: e.languages.javascript
|
|
38
|
-
},
|
|
39
|
-
// See at the end of the file for known filters
|
|
40
|
-
filter: {
|
|
41
|
-
pattern: /(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
|
|
42
|
-
lookbehind: !0,
|
|
43
|
-
inside: {
|
|
44
|
-
"filter-name": {
|
|
45
|
-
pattern: /^:[\w-]+/,
|
|
46
|
-
alias: "variable"
|
|
47
|
-
},
|
|
48
|
-
text: /\S[\s\S]*/
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"multiline-plain-text": {
|
|
52
|
-
pattern: /(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
|
|
53
|
-
lookbehind: !0
|
|
54
|
-
},
|
|
55
|
-
markup: {
|
|
56
|
-
pattern: /(^[\t ]*)<.+/m,
|
|
57
|
-
lookbehind: !0,
|
|
58
|
-
inside: e.languages.markup
|
|
59
|
-
},
|
|
60
|
-
doctype: {
|
|
61
|
-
pattern: /((?:^|\n)[\t ]*)doctype(?: .+)?/,
|
|
62
|
-
lookbehind: !0
|
|
63
|
-
},
|
|
64
|
-
// This handle all conditional and loop keywords
|
|
65
|
-
"flow-control": {
|
|
66
|
-
pattern: /(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,
|
|
67
|
-
lookbehind: !0,
|
|
68
|
-
inside: {
|
|
69
|
-
each: {
|
|
70
|
-
pattern: /^each .+? in\b/,
|
|
71
|
-
inside: {
|
|
72
|
-
keyword: /\b(?:each|in)\b/,
|
|
73
|
-
punctuation: /,/
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
branch: {
|
|
77
|
-
pattern: /^(?:case|default|else|if|unless|when|while)\b/,
|
|
78
|
-
alias: "keyword"
|
|
79
|
-
},
|
|
80
|
-
rest: e.languages.javascript
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
keyword: {
|
|
84
|
-
pattern: /(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,
|
|
85
|
-
lookbehind: !0
|
|
86
|
-
},
|
|
87
|
-
mixin: [
|
|
88
|
-
// Declaration
|
|
89
|
-
{
|
|
90
|
-
pattern: /(^[\t ]*)mixin .+/m,
|
|
91
|
-
lookbehind: !0,
|
|
92
|
-
inside: {
|
|
93
|
-
keyword: /^mixin/,
|
|
94
|
-
function: /\w+(?=\s*\(|\s*$)/,
|
|
95
|
-
punctuation: /[(),.]/
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
// Usage
|
|
99
|
-
{
|
|
100
|
-
pattern: /(^[\t ]*)\+.+/m,
|
|
101
|
-
lookbehind: !0,
|
|
102
|
-
inside: {
|
|
103
|
-
name: {
|
|
104
|
-
pattern: /^\+\w+/,
|
|
105
|
-
alias: "function"
|
|
106
|
-
},
|
|
107
|
-
rest: e.languages.javascript
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
script: {
|
|
112
|
-
pattern: /(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,
|
|
113
|
-
lookbehind: !0,
|
|
114
|
-
inside: e.languages.javascript
|
|
115
|
-
},
|
|
116
|
-
"plain-text": {
|
|
117
|
-
pattern: /(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,
|
|
118
|
-
lookbehind: !0
|
|
119
|
-
},
|
|
120
|
-
tag: {
|
|
121
|
-
pattern: /(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,
|
|
122
|
-
lookbehind: !0,
|
|
123
|
-
inside: {
|
|
124
|
-
attributes: [
|
|
125
|
-
{
|
|
126
|
-
pattern: /&[^(]+\([^)]+\)/,
|
|
127
|
-
inside: e.languages.javascript
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
pattern: /\([^)]+\)/,
|
|
131
|
-
inside: {
|
|
132
|
-
"attr-value": {
|
|
133
|
-
pattern: /(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,
|
|
134
|
-
lookbehind: !0,
|
|
135
|
-
inside: e.languages.javascript
|
|
136
|
-
},
|
|
137
|
-
"attr-name": /[\w-]+(?=\s*!?=|\s*[,)])/,
|
|
138
|
-
punctuation: /[!=(),]+/
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
punctuation: /:/,
|
|
143
|
-
"attr-id": /#[\w\-]+/,
|
|
144
|
-
"attr-class": /\.[\w\-]+/
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
code: [
|
|
148
|
-
{
|
|
149
|
-
pattern: /(^[\t ]*(?:-|!?=)).+/m,
|
|
150
|
-
lookbehind: !0,
|
|
151
|
-
inside: e.languages.javascript
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
punctuation: /[.\-!=|]+/
|
|
155
|
-
};
|
|
156
|
-
for (var r = /(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source, n = [
|
|
157
|
-
{
|
|
158
|
-
filter: "atpl",
|
|
159
|
-
language: "twig"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
filter: "coffee",
|
|
163
|
-
language: "coffeescript"
|
|
164
|
-
},
|
|
165
|
-
"ejs",
|
|
166
|
-
"handlebars",
|
|
167
|
-
"less",
|
|
168
|
-
"livescript",
|
|
169
|
-
"markdown",
|
|
170
|
-
{
|
|
171
|
-
filter: "sass",
|
|
172
|
-
language: "scss"
|
|
173
|
-
},
|
|
174
|
-
"stylus"
|
|
175
|
-
], i = {}, l = 0, g = n.length; l < g; l++) {
|
|
176
|
-
var t = n[l];
|
|
177
|
-
t = typeof t == "string" ? {
|
|
178
|
-
filter: t,
|
|
179
|
-
language: t
|
|
180
|
-
} : t, e.languages[t.language] && (i["filter-" + t.filter] = {
|
|
181
|
-
pattern: RegExp(
|
|
182
|
-
r.replace("<filter_name>", function() {
|
|
183
|
-
return t.filter;
|
|
184
|
-
}),
|
|
185
|
-
"m"
|
|
186
|
-
),
|
|
187
|
-
lookbehind: !0,
|
|
188
|
-
inside: {
|
|
189
|
-
"filter-name": {
|
|
190
|
-
pattern: /^:[\w-]+/,
|
|
191
|
-
alias: "variable"
|
|
192
|
-
},
|
|
193
|
-
text: {
|
|
194
|
-
pattern: /\S[\s\S]*/,
|
|
195
|
-
alias: [t.language, "language-" + t.language],
|
|
196
|
-
inside: e.languages[t.language]
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
e.languages.insertBefore("pug", "filter", i);
|
|
202
|
-
})(s);
|
|
203
|
-
}
|
|
204
|
-
return u;
|
|
205
|
-
}
|
|
206
|
-
var p = f();
|
|
207
|
-
const b = /* @__PURE__ */ c(p), m = /* @__PURE__ */ d({
|
|
208
|
-
__proto__: null,
|
|
209
|
-
default: b
|
|
210
|
-
}, [p]);
|
|
211
|
-
export {
|
|
212
|
-
m as p
|
|
213
|
-
};
|
package/dist/puppet-396c5218.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { g as s } from "./index-9498f0f6.js";
|
|
2
|
-
function l(n, a) {
|
|
3
|
-
for (var e = 0; e < a.length; e++) {
|
|
4
|
-
const t = a[e];
|
|
5
|
-
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
-
for (const r in t)
|
|
7
|
-
if (r !== "default" && !(r in n)) {
|
|
8
|
-
const i = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
-
i && Object.defineProperty(n, r, i.get ? i : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => t[r]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var o, u;
|
|
19
|
-
function d() {
|
|
20
|
-
if (u)
|
|
21
|
-
return o;
|
|
22
|
-
u = 1, o = n, n.displayName = "puppet", n.aliases = [];
|
|
23
|
-
function n(a) {
|
|
24
|
-
(function(e) {
|
|
25
|
-
e.languages.puppet = {
|
|
26
|
-
heredoc: [
|
|
27
|
-
// Matches the content of a quoted heredoc string (subject to interpolation)
|
|
28
|
-
{
|
|
29
|
-
pattern: /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
|
|
30
|
-
lookbehind: !0,
|
|
31
|
-
alias: "string",
|
|
32
|
-
inside: {
|
|
33
|
-
// Matches the end tag
|
|
34
|
-
punctuation: /(?=\S).*\S(?= *$)/
|
|
35
|
-
// See interpolation below
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
// Matches the content of an unquoted heredoc string (no interpolation)
|
|
39
|
-
{
|
|
40
|
-
pattern: /(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
|
|
41
|
-
lookbehind: !0,
|
|
42
|
-
greedy: !0,
|
|
43
|
-
alias: "string",
|
|
44
|
-
inside: {
|
|
45
|
-
// Matches the end tag
|
|
46
|
-
punctuation: /(?=\S).*\S(?= *$)/
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
// Matches the start tag of heredoc strings
|
|
50
|
-
{
|
|
51
|
-
pattern: /@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,
|
|
52
|
-
alias: "string",
|
|
53
|
-
inside: {
|
|
54
|
-
punctuation: {
|
|
55
|
-
pattern: /(\().+?(?=\))/,
|
|
56
|
-
lookbehind: !0
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"multiline-comment": {
|
|
62
|
-
pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
|
|
63
|
-
lookbehind: !0,
|
|
64
|
-
greedy: !0,
|
|
65
|
-
alias: "comment"
|
|
66
|
-
},
|
|
67
|
-
regex: {
|
|
68
|
-
// Must be prefixed with the keyword "node" or a non-word char
|
|
69
|
-
pattern: /((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,
|
|
70
|
-
lookbehind: !0,
|
|
71
|
-
greedy: !0,
|
|
72
|
-
inside: {
|
|
73
|
-
// Extended regexes must have the x flag. They can contain single-line comments.
|
|
74
|
-
"extended-regex": {
|
|
75
|
-
pattern: /^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,
|
|
76
|
-
inside: {
|
|
77
|
-
comment: /#.*/
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
comment: {
|
|
83
|
-
pattern: /(^|[^\\])#.*/,
|
|
84
|
-
lookbehind: !0,
|
|
85
|
-
greedy: !0
|
|
86
|
-
},
|
|
87
|
-
string: {
|
|
88
|
-
// Allow for one nested level of double quotes inside interpolation
|
|
89
|
-
pattern: /(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,
|
|
90
|
-
greedy: !0,
|
|
91
|
-
inside: {
|
|
92
|
-
"double-quoted": {
|
|
93
|
-
pattern: /^"[\s\S]*"$/,
|
|
94
|
-
inside: {
|
|
95
|
-
// See interpolation below
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
variable: {
|
|
101
|
-
pattern: /\$(?:::)?\w+(?:::\w+)*/,
|
|
102
|
-
inside: {
|
|
103
|
-
punctuation: /::/
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"attr-name": /(?:\b\w+|\*)(?=\s*=>)/,
|
|
107
|
-
function: [
|
|
108
|
-
{
|
|
109
|
-
pattern: /(\.)(?!\d)\w+/,
|
|
110
|
-
lookbehind: !0
|
|
111
|
-
},
|
|
112
|
-
/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/
|
|
113
|
-
],
|
|
114
|
-
number: /\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,
|
|
115
|
-
boolean: /\b(?:false|true)\b/,
|
|
116
|
-
// Includes words reserved for future use
|
|
117
|
-
keyword: /\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,
|
|
118
|
-
datatype: {
|
|
119
|
-
pattern: /\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,
|
|
120
|
-
alias: "symbol"
|
|
121
|
-
},
|
|
122
|
-
operator: /=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,
|
|
123
|
-
punctuation: /[\[\]{}().,;]|:+/
|
|
124
|
-
};
|
|
125
|
-
var t = [
|
|
126
|
-
{
|
|
127
|
-
// Allow for one nested level of braces inside interpolation
|
|
128
|
-
pattern: /(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,
|
|
129
|
-
lookbehind: !0,
|
|
130
|
-
inside: {
|
|
131
|
-
"short-variable": {
|
|
132
|
-
// Negative look-ahead prevent wrong highlighting of functions
|
|
133
|
-
pattern: /(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,
|
|
134
|
-
lookbehind: !0,
|
|
135
|
-
alias: "variable",
|
|
136
|
-
inside: {
|
|
137
|
-
punctuation: /::/
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
delimiter: {
|
|
141
|
-
pattern: /^\$/,
|
|
142
|
-
alias: "variable"
|
|
143
|
-
},
|
|
144
|
-
rest: e.languages.puppet
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
pattern: /(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,
|
|
149
|
-
lookbehind: !0,
|
|
150
|
-
alias: "variable",
|
|
151
|
-
inside: {
|
|
152
|
-
punctuation: /::/
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
];
|
|
156
|
-
e.languages.puppet.heredoc[0].inside.interpolation = t, e.languages.puppet.string.inside["double-quoted"].inside.interpolation = t;
|
|
157
|
-
})(a);
|
|
158
|
-
}
|
|
159
|
-
return o;
|
|
160
|
-
}
|
|
161
|
-
var p = d();
|
|
162
|
-
const b = /* @__PURE__ */ s(p), g = /* @__PURE__ */ l({
|
|
163
|
-
__proto__: null,
|
|
164
|
-
default: b
|
|
165
|
-
}, [p]);
|
|
166
|
-
export {
|
|
167
|
-
g as p
|
|
168
|
-
};
|
package/dist/pure-9cf5d182.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { g as u } from "./index-9498f0f6.js";
|
|
2
|
-
function d(r, p) {
|
|
3
|
-
for (var e = 0; e < p.length; e++) {
|
|
4
|
-
const a = p[e];
|
|
5
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
-
for (const n in a)
|
|
7
|
-
if (n !== "default" && !(n in r)) {
|
|
8
|
-
const t = Object.getOwnPropertyDescriptor(a, n);
|
|
9
|
-
t && Object.defineProperty(r, n, t.get ? t : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => a[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var l, s;
|
|
19
|
-
function f() {
|
|
20
|
-
if (s)
|
|
21
|
-
return l;
|
|
22
|
-
s = 1, l = r, r.displayName = "pure", r.aliases = [];
|
|
23
|
-
function r(p) {
|
|
24
|
-
(function(e) {
|
|
25
|
-
e.languages.pure = {
|
|
26
|
-
comment: [
|
|
27
|
-
{
|
|
28
|
-
pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
|
|
29
|
-
lookbehind: !0
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
pattern: /(^|[^\\:])\/\/.*/,
|
|
33
|
-
lookbehind: !0
|
|
34
|
-
},
|
|
35
|
-
/#!.+/
|
|
36
|
-
],
|
|
37
|
-
"inline-lang": {
|
|
38
|
-
pattern: /%<[\s\S]+?%>/,
|
|
39
|
-
greedy: !0,
|
|
40
|
-
inside: {
|
|
41
|
-
lang: {
|
|
42
|
-
pattern: /(^%< *)-\*-.+?-\*-/,
|
|
43
|
-
lookbehind: !0,
|
|
44
|
-
alias: "comment"
|
|
45
|
-
},
|
|
46
|
-
delimiter: {
|
|
47
|
-
pattern: /^%<.*|%>$/,
|
|
48
|
-
alias: "punctuation"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
string: {
|
|
53
|
-
pattern: /"(?:\\.|[^"\\\r\n])*"/,
|
|
54
|
-
greedy: !0
|
|
55
|
-
},
|
|
56
|
-
number: {
|
|
57
|
-
// The look-behind prevents wrong highlighting of the .. operator
|
|
58
|
-
pattern: /((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,
|
|
59
|
-
lookbehind: !0
|
|
60
|
-
},
|
|
61
|
-
keyword: /\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,
|
|
62
|
-
function: /\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,
|
|
63
|
-
special: {
|
|
64
|
-
pattern: /\b__[a-z]+__\b/i,
|
|
65
|
-
alias: "builtin"
|
|
66
|
-
},
|
|
67
|
-
// Any combination of operator chars can be an operator
|
|
68
|
-
// eslint-disable-next-line no-misleading-character-class
|
|
69
|
-
operator: /(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,
|
|
70
|
-
// FIXME: How can we prevent | and , to be highlighted as operator when they are used alone?
|
|
71
|
-
punctuation: /[(){}\[\];,|]/
|
|
72
|
-
};
|
|
73
|
-
var a = [
|
|
74
|
-
"c",
|
|
75
|
-
{
|
|
76
|
-
lang: "c++",
|
|
77
|
-
alias: "cpp"
|
|
78
|
-
},
|
|
79
|
-
"fortran"
|
|
80
|
-
], n = /%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;
|
|
81
|
-
a.forEach(function(t) {
|
|
82
|
-
var i = t;
|
|
83
|
-
if (typeof t != "string" && (i = t.alias, t = t.lang), e.languages[i]) {
|
|
84
|
-
var o = {};
|
|
85
|
-
o["inline-lang-" + i] = {
|
|
86
|
-
pattern: RegExp(
|
|
87
|
-
n.replace(
|
|
88
|
-
"<lang>",
|
|
89
|
-
t.replace(/([.+*?\/\\(){}\[\]])/g, "\\$1")
|
|
90
|
-
),
|
|
91
|
-
"i"
|
|
92
|
-
),
|
|
93
|
-
inside: e.util.clone(e.languages.pure["inline-lang"].inside)
|
|
94
|
-
}, o["inline-lang-" + i].inside.rest = e.util.clone(
|
|
95
|
-
e.languages[i]
|
|
96
|
-
), e.languages.insertBefore("pure", "inline-lang", o);
|
|
97
|
-
}
|
|
98
|
-
}), e.languages.c && (e.languages.pure["inline-lang"].inside.rest = e.util.clone(
|
|
99
|
-
e.languages.c
|
|
100
|
-
));
|
|
101
|
-
})(p);
|
|
102
|
-
}
|
|
103
|
-
return l;
|
|
104
|
-
}
|
|
105
|
-
var c = f();
|
|
106
|
-
const g = /* @__PURE__ */ u(c), b = /* @__PURE__ */ d({
|
|
107
|
-
__proto__: null,
|
|
108
|
-
default: g
|
|
109
|
-
}, [c]);
|
|
110
|
-
export {
|
|
111
|
-
b as p
|
|
112
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { g as s } from "./index-9498f0f6.js";
|
|
2
|
-
function c(r, e) {
|
|
3
|
-
for (var d = 0; d < e.length; d++) {
|
|
4
|
-
const a = e[d];
|
|
5
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
6
|
-
for (const t in a)
|
|
7
|
-
if (t !== "default" && !(t in r)) {
|
|
8
|
-
const n = Object.getOwnPropertyDescriptor(a, t);
|
|
9
|
-
n && Object.defineProperty(r, t, n.get ? n : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => a[t]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var l, i;
|
|
19
|
-
function u() {
|
|
20
|
-
if (i)
|
|
21
|
-
return l;
|
|
22
|
-
i = 1, l = r, r.displayName = "purebasic", r.aliases = [];
|
|
23
|
-
function r(e) {
|
|
24
|
-
e.languages.purebasic = e.languages.extend("clike", {
|
|
25
|
-
comment: /;.*/,
|
|
26
|
-
keyword: /\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,
|
|
27
|
-
function: /\b\w+(?:\.\w+)?\s*(?=\()/,
|
|
28
|
-
number: /(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,
|
|
29
|
-
operator: /(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/
|
|
30
|
-
}), e.languages.insertBefore("purebasic", "keyword", {
|
|
31
|
-
tag: /#\w+\$?/,
|
|
32
|
-
asm: {
|
|
33
|
-
pattern: /(^[\t ]*)!.*/m,
|
|
34
|
-
lookbehind: !0,
|
|
35
|
-
alias: "tag",
|
|
36
|
-
inside: {
|
|
37
|
-
comment: /;.*/,
|
|
38
|
-
string: {
|
|
39
|
-
pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
40
|
-
greedy: !0
|
|
41
|
-
},
|
|
42
|
-
// Anonymous label references, i.e.: jmp @b
|
|
43
|
-
"label-reference-anonymous": {
|
|
44
|
-
pattern: /(!\s*j[a-z]+\s+)@[fb]/i,
|
|
45
|
-
lookbehind: !0,
|
|
46
|
-
alias: "fasm-label"
|
|
47
|
-
},
|
|
48
|
-
// Named label reference, i.e.: jne label1
|
|
49
|
-
"label-reference-addressed": {
|
|
50
|
-
pattern: /(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,
|
|
51
|
-
lookbehind: !0,
|
|
52
|
-
alias: "fasm-label"
|
|
53
|
-
},
|
|
54
|
-
keyword: [
|
|
55
|
-
/\b(?:extern|global)\b[^;\r\n]*/i,
|
|
56
|
-
/\b(?:CPU|DEFAULT|FLOAT)\b.*/
|
|
57
|
-
],
|
|
58
|
-
function: {
|
|
59
|
-
pattern: /^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,
|
|
60
|
-
lookbehind: !0
|
|
61
|
-
},
|
|
62
|
-
"function-inline": {
|
|
63
|
-
pattern: /(:\s*)[\da-z]+(?=\s)/i,
|
|
64
|
-
lookbehind: !0,
|
|
65
|
-
alias: "function"
|
|
66
|
-
},
|
|
67
|
-
label: {
|
|
68
|
-
pattern: /^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,
|
|
69
|
-
lookbehind: !0,
|
|
70
|
-
alias: "fasm-label"
|
|
71
|
-
},
|
|
72
|
-
register: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,
|
|
73
|
-
number: /(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
|
|
74
|
-
operator: /[\[\]*+\-/%<>=&|$!,.:]/
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}), delete e.languages.purebasic["class-name"], delete e.languages.purebasic.boolean, e.languages.pbfasm = e.languages.purebasic;
|
|
78
|
-
}
|
|
79
|
-
return l;
|
|
80
|
-
}
|
|
81
|
-
var o = u();
|
|
82
|
-
const b = /* @__PURE__ */ s(o), f = /* @__PURE__ */ c({
|
|
83
|
-
__proto__: null,
|
|
84
|
-
default: b
|
|
85
|
-
}, [o]);
|
|
86
|
-
export {
|
|
87
|
-
f as p
|
|
88
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { g as d } from "./index-9498f0f6.js";
|
|
2
|
-
import { r as n } from "./haskell-5775a4fe.js";
|
|
3
|
-
function b(f, e) {
|
|
4
|
-
for (var u = 0; u < e.length; u++) {
|
|
5
|
-
const a = e[u];
|
|
6
|
-
if (typeof a != "string" && !Array.isArray(a)) {
|
|
7
|
-
for (const r in a)
|
|
8
|
-
if (r !== "default" && !(r in f)) {
|
|
9
|
-
const t = Object.getOwnPropertyDescriptor(a, r);
|
|
10
|
-
t && Object.defineProperty(f, r, t.get ? t : {
|
|
11
|
-
enumerable: !0,
|
|
12
|
-
get: () => a[r]
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return Object.freeze(Object.defineProperty(f, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
-
}
|
|
19
|
-
var c, i;
|
|
20
|
-
function s() {
|
|
21
|
-
if (i)
|
|
22
|
-
return c;
|
|
23
|
-
i = 1;
|
|
24
|
-
var f = n();
|
|
25
|
-
c = e, e.displayName = "purescript", e.aliases = ["purs"];
|
|
26
|
-
function e(u) {
|
|
27
|
-
u.register(f), u.languages.purescript = u.languages.extend("haskell", {
|
|
28
|
-
keyword: /\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,
|
|
29
|
-
"import-statement": {
|
|
30
|
-
// The imported or hidden names are not included in this import
|
|
31
|
-
// statement. This is because we want to highlight those exactly like
|
|
32
|
-
// we do for the names in the program.
|
|
33
|
-
pattern: /(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,
|
|
34
|
-
lookbehind: !0,
|
|
35
|
-
inside: {
|
|
36
|
-
keyword: /\b(?:as|hiding|import)\b/,
|
|
37
|
-
punctuation: /\./
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
// These are builtin functions only. Constructors are highlighted later as a constant.
|
|
41
|
-
builtin: /\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,
|
|
42
|
-
operator: [
|
|
43
|
-
// Infix operators
|
|
44
|
-
u.languages.haskell.operator[0],
|
|
45
|
-
// ASCII operators
|
|
46
|
-
u.languages.haskell.operator[2],
|
|
47
|
-
// All UTF16 Unicode operator symbols
|
|
48
|
-
// This regex is equivalent to /(?=[\x80-\uFFFF])[\p{gc=Math_Symbol}\p{gc=Currency_Symbol}\p{Modifier_Symbol}\p{Other_Symbol}]/u
|
|
49
|
-
// See https://github.com/PrismJS/prism/issues/3006 for more details.
|
|
50
|
-
/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/
|
|
51
|
-
]
|
|
52
|
-
}), u.languages.purs = u.languages.purescript;
|
|
53
|
-
}
|
|
54
|
-
return c;
|
|
55
|
-
}
|
|
56
|
-
var o = s();
|
|
57
|
-
const p = /* @__PURE__ */ d(o), m = /* @__PURE__ */ b({
|
|
58
|
-
__proto__: null,
|
|
59
|
-
default: p
|
|
60
|
-
}, [o]);
|
|
61
|
-
export {
|
|
62
|
-
m as p
|
|
63
|
-
};
|