@altimateai/ui-components 0.0.78-beta.1 → 0.0.78
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/dist/CoachForm.css +1 -1
- package/dist/CoachForm.js +23919 -67654
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2231 -2829
- package/dist/Switch.js +87 -128
- package/dist/ToggleGroup.js +5100 -6285
- package/dist/_basePickBy.js +60 -60
- package/dist/_baseUniq.js +152 -152
- package/dist/arc.js +53 -53
- package/dist/architectureDiagram-VXUJARFQ.js +4315 -480
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.d.ts +19 -57
- package/dist/chatbotV2/index.js +56 -91
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-DI55MBZ5.js +14 -14
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +2535 -160
- package/dist/dagre-6UL2VRFP.js +101 -101
- package/dist/dayjs.min.js +2 -2
- package/dist/defaultLocale.js +3 -3
- package/dist/diagram-PSM6KHXK.js +414 -198
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +12 -12
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +1718 -843
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +18 -17
- package/dist/index.d.ts +6 -101
- package/dist/index.js +37 -37
- package/dist/index2.js +684 -216
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +42 -42
- package/dist/layout.js +678 -567
- package/dist/lineage/index.js +1309 -1302
- package/dist/linear.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +150 -150
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +28 -28
- package/dist/pieDiagram-ADFJNKIX.js +108 -68
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +555 -563
- package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
- package/dist/sankeyDiagram-TZEHDZUN.js +622 -229
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +8 -11
- package/dist/shadcn/index.js +4733 -6547
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/timeline-definition-IT6M3QCI.js +63 -63
- package/dist/{types-UHJCpYj0.d.ts → types-ByRPUpXR.d.ts} +116 -25
- package/dist/xychartDiagram-PRI3JC2R.js +491 -449
- package/package.json +1 -1
- package/dist/abap.js +0 -6
- package/dist/actionscript-3.js +0 -6
- package/dist/ada.js +0 -6
- package/dist/andromeeda.js +0 -4
- package/dist/angular-html.js +0 -32
- package/dist/angular-ts.js +0 -21
- package/dist/apache.js +0 -6
- package/dist/apex.js +0 -6
- package/dist/apl.js +0 -16
- package/dist/applescript.js +0 -6
- package/dist/ara.js +0 -6
- package/dist/architectureDiagram-VXUJARFQ2.js +0 -831
- package/dist/asciidoc.js +0 -6
- package/dist/asm.js +0 -6
- package/dist/astro.js +0 -18
- package/dist/aurora-x.js +0 -4
- package/dist/awk.js +0 -6
- package/dist/ayu-dark.js +0 -4
- package/dist/ballerina.js +0 -6
- package/dist/band.js +0 -46
- package/dist/bat.js +0 -6
- package/dist/beancount.js +0 -6
- package/dist/berry.js +0 -6
- package/dist/bibtex.js +0 -6
- package/dist/bicep.js +0 -6
- package/dist/blade.js +0 -20
- package/dist/blockDiagram-VD42YOAC2.js +0 -2266
- package/dist/bsl.js +0 -8
- package/dist/c.js +0 -6
- package/dist/c3.js +0 -6
- package/dist/c4Diagram-YG6GDRKO2.js +0 -1582
- package/dist/cadence.js +0 -6
- package/dist/cairo.js +0 -8
- package/dist/catppuccin-frappe.js +0 -4
- package/dist/catppuccin-latte.js +0 -4
- package/dist/catppuccin-macchiato.js +0 -4
- package/dist/catppuccin-mocha.js +0 -4
- package/dist/chunk-4BX2VUAB2.js +0 -9
- package/dist/chunk-55IACEB62.js +0 -9
- package/dist/chunk-B4BG7PRW2.js +0 -1377
- package/dist/chunk-DI55MBZ52.js +0 -1382
- package/dist/chunk-FMBD7UC42.js +0 -19
- package/dist/chunk-QN33PNHL2.js +0 -20
- package/dist/chunk-QZHKN3VN2.js +0 -15
- package/dist/chunk-TZMSLE5B2.js +0 -64
- package/dist/clarity.js +0 -6
- package/dist/classDiagram-2ON5EDUG2.js +0 -17
- package/dist/classDiagram-v2-WZHVMYZB2.js +0 -17
- package/dist/clojure.js +0 -6
- package/dist/cmake.js +0 -6
- package/dist/cobol.js +0 -10
- package/dist/code-block-37QAKDTI.js +0 -27
- package/dist/codeowners.js +0 -6
- package/dist/codeql.js +0 -6
- package/dist/coffee.js +0 -8
- package/dist/common-lisp.js +0 -6
- package/dist/coq.js +0 -6
- package/dist/cose-bilkent-S5V4N54A2.js +0 -231
- package/dist/cpp.js +0 -18
- package/dist/crystal.js +0 -18
- package/dist/csharp.js +0 -6
- package/dist/css.js +0 -6
- package/dist/csv.js +0 -6
- package/dist/cue.js +0 -6
- package/dist/cypher.js +0 -6
- package/dist/cytoscape-cose-bilkent.js +0 -2380
- package/dist/cytoscape-fcose.js +0 -3840
- package/dist/d.js +0 -6
- package/dist/dagre-6UL2VRFP2.js +0 -447
- package/dist/dark-plus.js +0 -4
- package/dist/dart.js +0 -6
- package/dist/dax.js +0 -6
- package/dist/desktop.js +0 -6
- package/dist/diagram-PSM6KHXK2.js +0 -319
- package/dist/diagram-QEK2KX5R2.js +0 -221
- package/dist/diagram-S2PKOQOG2.js +0 -143
- package/dist/diff.js +0 -6
- package/dist/docker.js +0 -6
- package/dist/dotenv.js +0 -6
- package/dist/dracula-soft.js +0 -4
- package/dist/dracula.js +0 -4
- package/dist/dream-maker.js +0 -6
- package/dist/edge.js +0 -12
- package/dist/elixir.js +0 -8
- package/dist/elm.js +0 -8
- package/dist/emacs-lisp.js +0 -6
- package/dist/erDiagram-Q2GNP2WA2.js +0 -843
- package/dist/erb.js +0 -10
- package/dist/erlang.js +0 -8
- package/dist/everforest-dark.js +0 -4
- package/dist/everforest-light.js +0 -4
- package/dist/fennel.js +0 -6
- package/dist/fish.js +0 -6
- package/dist/flowDiagram-NV44I4VS2.js +0 -1628
- package/dist/fluent.js +0 -6
- package/dist/fortran-fixed-form.js +0 -8
- package/dist/fortran-free-form.js +0 -6
- package/dist/fsharp.js +0 -8
- package/dist/ganttDiagram-JELNMOA3.js +0 -1788
- package/dist/gdresource.js +0 -10
- package/dist/gdscript.js +0 -6
- package/dist/gdshader.js +0 -6
- package/dist/genie.js +0 -6
- package/dist/gherkin.js +0 -6
- package/dist/git-commit.js +0 -8
- package/dist/git-rebase.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX2.js +0 -713
- package/dist/github-dark-default.js +0 -4
- package/dist/github-dark-dimmed.js +0 -4
- package/dist/github-dark-high-contrast.js +0 -4
- package/dist/github-dark.js +0 -4
- package/dist/github-light-default.js +0 -4
- package/dist/github-light-high-contrast.js +0 -4
- package/dist/github-light.js +0 -4
- package/dist/gleam.js +0 -6
- package/dist/glimmer-js.js +0 -14
- package/dist/glimmer-ts.js +0 -14
- package/dist/glsl.js +0 -8
- package/dist/gn.js +0 -6
- package/dist/gnuplot.js +0 -6
- package/dist/go.js +0 -6
- package/dist/graph2.js +0 -246
- package/dist/graphql.js +0 -14
- package/dist/groovy.js +0 -6
- package/dist/gruvbox-dark-hard.js +0 -4
- package/dist/gruvbox-dark-medium.js +0 -4
- package/dist/gruvbox-dark-soft.js +0 -4
- package/dist/gruvbox-light-hard.js +0 -4
- package/dist/gruvbox-light-medium.js +0 -4
- package/dist/gruvbox-light-soft.js +0 -4
- package/dist/hack.js +0 -10
- package/dist/haml.js +0 -10
- package/dist/handlebars.js +0 -14
- package/dist/haskell.js +0 -6
- package/dist/haxe.js +0 -6
- package/dist/hcl.js +0 -6
- package/dist/hjson.js +0 -6
- package/dist/hlsl.js +0 -6
- package/dist/houston.js +0 -4
- package/dist/html-derivative.js +0 -8
- package/dist/html.js +0 -10
- package/dist/http.js +0 -14
- package/dist/hurl.js +0 -12
- package/dist/hxml.js +0 -8
- package/dist/hy.js +0 -6
- package/dist/imba.js +0 -6
- package/dist/index3.js +0 -689
- package/dist/infoDiagram-WHAUD3N6.js +0 -24
- package/dist/ini.js +0 -6
- package/dist/java.js +0 -6
- package/dist/javascript.js +0 -6
- package/dist/jinja.js +0 -11
- package/dist/jison.js +0 -8
- package/dist/journeyDiagram-XKPGCS4Q2.js +0 -837
- package/dist/json.js +0 -6
- package/dist/json5.js +0 -6
- package/dist/jsonc.js +0 -6
- package/dist/jsonl.js +0 -6
- package/dist/jsonnet.js +0 -6
- package/dist/jssm.js +0 -6
- package/dist/jsx.js +0 -6
- package/dist/julia.js +0 -16
- package/dist/kanagawa-dragon.js +0 -4
- package/dist/kanagawa-lotus.js +0 -4
- package/dist/kanagawa-wave.js +0 -4
- package/dist/kanban-definition-3W4ZIXB72.js +0 -720
- package/dist/katex2.js +0 -11691
- package/dist/kdl.js +0 -6
- package/dist/kotlin.js +0 -6
- package/dist/kusto.js +0 -6
- package/dist/laserwave.js +0 -4
- package/dist/latex.js +0 -8
- package/dist/layout2.js +0 -1224
- package/dist/lean.js +0 -6
- package/dist/less.js +0 -6
- package/dist/light-plus.js +0 -4
- package/dist/liquid.js +0 -14
- package/dist/llvm.js +0 -6
- package/dist/log.js +0 -6
- package/dist/logo.js +0 -6
- package/dist/lua.js +0 -8
- package/dist/luau.js +0 -6
- package/dist/make.js +0 -6
- package/dist/markdown.js +0 -6
- package/dist/marko.js +0 -14
- package/dist/material-theme-darker.js +0 -4
- package/dist/material-theme-lighter.js +0 -4
- package/dist/material-theme-ocean.js +0 -4
- package/dist/material-theme-palenight.js +0 -4
- package/dist/material-theme.js +0 -4
- package/dist/matlab.js +0 -6
- package/dist/mdc.js +0 -12
- package/dist/mdx.js +0 -6
- package/dist/mermaid-4DMBBIKO.js +0 -4
- package/dist/mermaid.js +0 -6
- package/dist/min-dark.js +0 -4
- package/dist/min-light.js +0 -4
- package/dist/mindmap-definition-VGOIOE7T2.js +0 -786
- package/dist/mipsasm.js +0 -6
- package/dist/mojo.js +0 -6
- package/dist/monokai.js +0 -4
- package/dist/moonbit.js +0 -6
- package/dist/move.js +0 -6
- package/dist/narrat.js +0 -6
- package/dist/nextflow.js +0 -6
- package/dist/nginx.js +0 -8
- package/dist/night-owl.js +0 -4
- package/dist/nim.js +0 -20
- package/dist/nix.js +0 -9
- package/dist/nord.js +0 -4
- package/dist/nushell.js +0 -6
- package/dist/objective-c.js +0 -6
- package/dist/objective-cpp.js +0 -6
- package/dist/ocaml.js +0 -6
- package/dist/one-dark-pro.js +0 -4
- package/dist/one-light.js +0 -4
- package/dist/openscad.js +0 -6
- package/dist/pascal.js +0 -6
- package/dist/perl.js +0 -16
- package/dist/php.js +0 -18
- package/dist/pie.js +0 -45
- package/dist/pieDiagram-ADFJNKIX2.js +0 -123
- package/dist/pkl.js +0 -6
- package/dist/plastic.js +0 -4
- package/dist/plsql.js +0 -6
- package/dist/po.js +0 -6
- package/dist/poimandres.js +0 -4
- package/dist/polar.js +0 -6
- package/dist/postcss.js +0 -6
- package/dist/powerquery.js +0 -6
- package/dist/powershell.js +0 -6
- package/dist/prisma.js +0 -6
- package/dist/prolog.js +0 -6
- package/dist/proto.js +0 -6
- package/dist/pug.js +0 -12
- package/dist/puppet.js +0 -6
- package/dist/purescript.js +0 -6
- package/dist/python.js +0 -6
- package/dist/qml.js +0 -8
- package/dist/qmldir.js +0 -6
- package/dist/qss.js +0 -6
- package/dist/quadrantDiagram-AYHSOK5B2.js +0 -1025
- package/dist/r.js +0 -6
- package/dist/racket.js +0 -6
- package/dist/raku.js +0 -6
- package/dist/razor.js +0 -10
- package/dist/red.js +0 -4
- package/dist/reg.js +0 -6
- package/dist/regexp.js +0 -6
- package/dist/rel.js +0 -6
- package/dist/requirementDiagram-UZGBJVZJ2.js +0 -852
- package/dist/riscv.js +0 -6
- package/dist/rose-pine-dawn.js +0 -4
- package/dist/rose-pine-moon.js +0 -4
- package/dist/rose-pine.js +0 -4
- package/dist/rosmsg.js +0 -6
- package/dist/rst.js +0 -22
- package/dist/ruby.js +0 -30
- package/dist/rust.js +0 -6
- package/dist/sankeyDiagram-TZEHDZUN2.js +0 -418
- package/dist/sankeyLinkHorizontal.js +0 -403
- package/dist/sas.js +0 -8
- package/dist/sass.js +0 -6
- package/dist/scala.js +0 -6
- package/dist/scheme.js +0 -6
- package/dist/scss.js +0 -8
- package/dist/sdbl.js +0 -6
- package/dist/sequenceDiagram-WL72ISMW2.js +0 -2523
- package/dist/shaderlab.js +0 -8
- package/dist/shellscript.js +0 -6
- package/dist/shellsession.js +0 -8
- package/dist/slack-dark.js +0 -4
- package/dist/slack-ochin.js +0 -4
- package/dist/smalltalk.js +0 -6
- package/dist/snazzy-light.js +0 -4
- package/dist/solarized-dark.js +0 -4
- package/dist/solarized-light.js +0 -4
- package/dist/solidity.js +0 -6
- package/dist/soy.js +0 -8
- package/dist/sparql.js +0 -8
- package/dist/splunk.js +0 -6
- package/dist/sql.js +0 -6
- package/dist/ssh-config.js +0 -6
- package/dist/stata.js +0 -8
- package/dist/stateDiagram-FKZM4ZOC2.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC32.js +0 -17
- package/dist/stylus.js +0 -6
- package/dist/svelte.js +0 -14
- package/dist/swift.js +0 -6
- package/dist/synthwave-84.js +0 -4
- package/dist/system-verilog.js +0 -6
- package/dist/systemd.js +0 -6
- package/dist/talonscript.js +0 -6
- package/dist/tasl.js +0 -6
- package/dist/tcl.js +0 -6
- package/dist/templ.js +0 -12
- package/dist/terraform.js +0 -6
- package/dist/tex.js +0 -8
- package/dist/time.js +0 -900
- package/dist/timeline-definition-IT6M3QCI2.js +0 -802
- package/dist/tokyo-night.js +0 -4
- package/dist/toml.js +0 -6
- package/dist/ts-tags.js +0 -41
- package/dist/tsv.js +0 -6
- package/dist/tsx.js +0 -6
- package/dist/turtle.js +0 -6
- package/dist/twig.js +0 -18
- package/dist/typescript.js +0 -6
- package/dist/typespec.js +0 -6
- package/dist/typst.js +0 -6
- package/dist/union.js +0 -8
- package/dist/v.js +0 -6
- package/dist/vala.js +0 -6
- package/dist/vb.js +0 -6
- package/dist/verilog.js +0 -6
- package/dist/vesper.js +0 -4
- package/dist/vhdl.js +0 -6
- package/dist/viml.js +0 -6
- package/dist/vitesse-black.js +0 -4
- package/dist/vitesse-dark.js +0 -4
- package/dist/vitesse-light.js +0 -4
- package/dist/vue-html.js +0 -8
- package/dist/vue-vine.js +0 -18
- package/dist/vue.js +0 -31
- package/dist/vyper.js +0 -6
- package/dist/wasm.js +0 -7
- package/dist/wasm2.js +0 -6
- package/dist/wenyan.js +0 -6
- package/dist/wgsl.js +0 -6
- package/dist/wikitext.js +0 -6
- package/dist/wit.js +0 -6
- package/dist/wolfram.js +0 -6
- package/dist/xml.js +0 -8
- package/dist/xsl.js +0 -8
- package/dist/xychartDiagram-PRI3JC2R2.js +0 -1299
- package/dist/yaml.js +0 -6
- package/dist/zenscript.js +0 -6
- package/dist/zig.js +0 -6
- package/dist/zipObject.js +0 -128
package/dist/rust.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
const e = Object.freeze(JSON.parse(`{"displayName":"Rust","name":"rust","patterns":[{"begin":"(<)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.brackets.angle.rust"},"2":{"name":"punctuation.brackets.square.rust"}},"end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#gtypes"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"3":{"name":"keyword.other.crate.rust"},"4":{"name":"entity.name.type.metavariable.rust"},"6":{"name":"keyword.operator.key-value.rust"},"7":{"name":"variable.other.metavariable.specifier.rust"}},"match":"(\\\\$)((crate)|([A-Z]\\\\w*))(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?","name":"meta.macro.metavariable.type.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"keyword.operator.macro.dollar.rust"},"2":{"name":"variable.other.metavariable.name.rust"},"4":{"name":"keyword.operator.key-value.rust"},"5":{"name":"variable.other.metavariable.specifier.rust"}},"match":"(\\\\$)([a-z]\\\\w*)(\\\\s*(:)\\\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\\\b)?","name":"meta.macro.metavariable.rust","patterns":[{"include":"#keywords"}]},{"captures":{"1":{"name":"entity.name.function.macro.rules.rust"},"3":{"name":"entity.name.function.macro.rust"},"4":{"name":"entity.name.type.macro.rust"},"5":{"name":"punctuation.brackets.curly.rust"}},"match":"\\\\b(macro_rules!)\\\\s+(([0-9_a-z]+)|([A-Z][0-9_a-z]*))\\\\s+(\\\\{)","name":"meta.macro.rules.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"entity.name.module.rust"}},"match":"(mod)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][0-9A-Z_a-z]*)"},{"begin":"\\\\b(extern)\\\\s+(crate)","beginCaptures":{"1":{"name":"storage.type.rust"},"2":{"name":"keyword.other.crate.rust"}},"end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.import.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#punctuation"}]},{"begin":"\\\\b(use)\\\\s","beginCaptures":{"1":{"name":"keyword.other.rust"}},"end":";","endCaptures":{"0":{"name":"punctuation.semi.rust"}},"name":"meta.use.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#types"},{"include":"#lvariables"}]},{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#types"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#variables"}],"repository":{"attributes":{"begin":"(#)(!?)(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.attribute.rust"},"3":{"name":"punctuation.brackets.attribute.rust"}},"end":"]","endCaptures":{"0":{"name":"punctuation.brackets.attribute.rust"}},"name":"meta.attribute.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#gtypes"},{"include":"#types"}]},"block-comments":{"patterns":[{"match":"/\\\\*\\\\*/","name":"comment.block.rust"},{"begin":"/\\\\*\\\\*","end":"\\\\*/","name":"comment.block.documentation.rust","patterns":[{"include":"#block-comments"}]},{"begin":"/\\\\*(?!\\\\*)","end":"\\\\*/","name":"comment.block.rust","patterns":[{"include":"#block-comments"}]}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"match":"(///).*$","name":"comment.line.documentation.rust"},{"captures":{"1":{"name":"punctuation.definition.comment.rust"}},"match":"(//).*$","name":"comment.line.double-slash.rust"}]},"constants":{"patterns":[{"match":"\\\\b[A-Z]{2}[0-9A-Z_]*\\\\b","name":"constant.other.caps.rust"},{"captures":{"1":{"name":"storage.type.rust"},"2":{"name":"constant.other.caps.rust"}},"match":"\\\\b(const)\\\\s+([A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"punctuation.separator.dot.decimal.rust"},"2":{"name":"keyword.operator.exponent.rust"},"3":{"name":"keyword.operator.exponent.sign.rust"},"4":{"name":"constant.numeric.decimal.exponent.mantissa.rust"},"5":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b\\\\d[_\\\\d]*(\\\\.?)[_\\\\d]*(?:([Ee])([-+]?)([_\\\\d]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.decimal.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0x[A-F_a-f\\\\d]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.hex.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.oct.rust"},{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"\\\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\\\b","name":"constant.numeric.bin.rust"},{"match":"\\\\b(true|false)\\\\b","name":"constant.language.bool.rust"}]},"escapes":{"captures":{"1":{"name":"constant.character.escape.backslash.rust"},"2":{"name":"constant.character.escape.bit.rust"},"3":{"name":"constant.character.escape.unicode.rust"},"4":{"name":"constant.character.escape.unicode.punctuation.rust"},"5":{"name":"constant.character.escape.unicode.punctuation.rust"}},"match":"(\\\\\\\\)(?:(x[0-7][A-Fa-f\\\\d])|(u(\\\\{)[A-Fa-f\\\\d]{4,6}(}))|.)","name":"constant.character.escape.rust"},"functions":{"patterns":[{"captures":{"1":{"name":"keyword.other.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"match":"\\\\b(pub)(\\\\()"},{"begin":"\\\\b(fn)\\\\s+((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)((\\\\()|(<))","beginCaptures":{"1":{"name":"keyword.other.fn.rust"},"2":{"name":"entity.name.function.rust"},"4":{"name":"punctuation.brackets.round.rust"},"5":{"name":"punctuation.brackets.angle.rust"}},"end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.brackets.curly.rust"},"2":{"name":"punctuation.semi.rust"}},"name":"meta.function.definition.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"punctuation.brackets.round.rust"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]},{"begin":"((?:r#(?!crate|[Ss]elf|super))?[0-9A-Z_a-z]+)(?=::<.*>\\\\()","beginCaptures":{"1":{"name":"entity.name.function.rust"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.brackets.round.rust"}},"name":"meta.function.call.rust","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#attributes"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}]}]},"gtypes":{"patterns":[{"match":"\\\\b(Some|None)\\\\b","name":"entity.name.type.option.rust"},{"match":"\\\\b(Ok|Err)\\\\b","name":"entity.name.type.result.rust"}]},"interpolations":{"captures":{"1":{"name":"punctuation.definition.interpolation.rust"},"2":{"name":"punctuation.definition.interpolation.rust"}},"match":"(\\\\{)[^\\"{}]*(})","name":"meta.interpolation.rust"},"keywords":{"patterns":[{"match":"\\\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\\\b","name":"keyword.control.rust"},{"match":"\\\\b(extern|let|macro|mod)\\\\b","name":"keyword.other.rust storage.type.rust"},{"match":"\\\\b(const)\\\\b","name":"storage.modifier.rust"},{"match":"\\\\b(type)\\\\b","name":"keyword.declaration.type.rust storage.type.rust"},{"match":"\\\\b(enum)\\\\b","name":"keyword.declaration.enum.rust storage.type.rust"},{"match":"\\\\b(trait)\\\\b","name":"keyword.declaration.trait.rust storage.type.rust"},{"match":"\\\\b(struct)\\\\b","name":"keyword.declaration.struct.rust storage.type.rust"},{"match":"\\\\b(abstract|static)\\\\b","name":"storage.modifier.rust"},{"match":"\\\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\\\b","name":"keyword.other.rust"},{"match":"\\\\bfn\\\\b","name":"keyword.other.fn.rust"},{"match":"\\\\bcrate\\\\b","name":"keyword.other.crate.rust"},{"match":"\\\\bmut\\\\b","name":"storage.modifier.mut.rust"},{"match":"([\\\\^|]|\\\\|\\\\||&&|<<|>>|!)(?!=)","name":"keyword.operator.logical.rust"},{"match":"&(?![\\\\&=])","name":"keyword.operator.borrow.and.rust"},{"match":"((?:[-%\\\\&*+/^|]|<<|>>)=)","name":"keyword.operator.assignment.rust"},{"match":"(?<![<>])=(?![=>])","name":"keyword.operator.assignment.equal.rust"},{"match":"(=(=)?(?!>)|!=|<=|(?<!=)>=)","name":"keyword.operator.comparison.rust"},{"match":"(([%+]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))","name":"keyword.operator.math.rust"},{"captures":{"1":{"name":"punctuation.brackets.round.rust"},"2":{"name":"punctuation.brackets.square.rust"},"3":{"name":"punctuation.brackets.curly.rust"},"4":{"name":"keyword.operator.comparison.rust"},"5":{"name":"punctuation.brackets.round.rust"},"6":{"name":"punctuation.brackets.square.rust"},"7":{"name":"punctuation.brackets.curly.rust"}},"match":"(?:\\\\b|(?:(\\\\))|(])|(})))[\\\\t ]+([<>])[\\\\t ]+(?:\\\\b|(?:(\\\\()|(\\\\[)|(\\\\{)))"},{"match":"::","name":"keyword.operator.namespace.rust"},{"captures":{"1":{"name":"keyword.operator.dereference.rust"}},"match":"(\\\\*)(?=\\\\w+)"},{"match":"@","name":"keyword.operator.subpattern.rust"},{"match":"\\\\.(?!\\\\.)","name":"keyword.operator.access.dot.rust"},{"match":"\\\\.{2}([.=])?","name":"keyword.operator.range.rust"},{"match":":(?!:)","name":"keyword.operator.key-value.rust"},{"match":"->|<-","name":"keyword.operator.arrow.skinny.rust"},{"match":"=>","name":"keyword.operator.arrow.fat.rust"},{"match":"\\\\$","name":"keyword.operator.macro.dollar.rust"},{"match":"\\\\?","name":"keyword.operator.question.rust"}]},"lifetimes":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.lifetime.rust"},"2":{"name":"entity.name.type.lifetime.rust"}},"match":"(')([A-Z_a-z][0-9A-Z_a-z]*)(?!')\\\\b"},{"captures":{"1":{"name":"keyword.operator.borrow.rust"},"2":{"name":"punctuation.definition.lifetime.rust"},"3":{"name":"entity.name.type.lifetime.rust"}},"match":"(&)(')([A-Z_a-z][0-9A-Z_a-z]*)(?!')\\\\b"}]},"lvariables":{"patterns":[{"match":"\\\\b[Ss]elf\\\\b","name":"variable.language.self.rust"},{"match":"\\\\bsuper\\\\b","name":"variable.language.super.rust"}]},"macros":{"patterns":[{"captures":{"2":{"name":"entity.name.function.macro.rust"},"3":{"name":"entity.name.type.macro.rust"}},"match":"(([_a-z][0-9A-Z_a-z]*!)|([A-Z_][0-9A-Z_a-z]*!))","name":"meta.macro.rust"}]},"namespaces":{"patterns":[{"captures":{"1":{"name":"entity.name.namespace.rust"},"2":{"name":"keyword.operator.namespace.rust"}},"match":"(?<![0-9A-Z_a-z])([0-9A-Z_a-z]+)((?<!s(?:uper|elf))::)"}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.comma.rust"},{"match":"[{}]","name":"punctuation.brackets.curly.rust"},{"match":"[()]","name":"punctuation.brackets.round.rust"},{"match":";","name":"punctuation.semi.rust"},{"match":"[]\\\\[]","name":"punctuation.brackets.square.rust"},{"match":"(?<!=)[<>]","name":"punctuation.brackets.angle.rust"}]},"strings":{"patterns":[{"begin":"(b?)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.rust"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.rust"}},"name":"string.quoted.double.rust","patterns":[{"include":"#escapes"},{"include":"#interpolations"}]},{"begin":"(b?r)(#*)(\\")","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.string.raw.rust"},"3":{"name":"punctuation.definition.string.rust"}},"end":"(\\")(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.rust"},"2":{"name":"punctuation.definition.string.raw.rust"}},"name":"string.quoted.double.rust"},{"begin":"(b)?(')","beginCaptures":{"1":{"name":"string.quoted.byte.raw.rust"},"2":{"name":"punctuation.definition.char.rust"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.char.rust"}},"name":"string.quoted.single.char.rust","patterns":[{"include":"#escapes"}]}]},"types":{"patterns":[{"captures":{"1":{"name":"entity.name.type.numeric.rust"}},"match":"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\\\b"},{"begin":"\\\\b(_?[A-Z][0-9A-Z_a-z]*)(<)","beginCaptures":{"1":{"name":"entity.name.type.rust"},"2":{"name":"punctuation.brackets.angle.rust"}},"end":">","endCaptures":{"0":{"name":"punctuation.brackets.angle.rust"}},"patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"},{"include":"#variables"}]},{"match":"\\\\b(bool|char|str)\\\\b","name":"entity.name.type.primitive.rust"},{"captures":{"1":{"name":"keyword.declaration.trait.rust storage.type.rust"},"2":{"name":"entity.name.type.trait.rust"}},"match":"\\\\b(trait)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.struct.rust storage.type.rust"},"2":{"name":"entity.name.type.struct.rust"}},"match":"\\\\b(struct)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.enum.rust storage.type.rust"},"2":{"name":"entity.name.type.enum.rust"}},"match":"\\\\b(enum)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.declaration.type.rust storage.type.rust"},"2":{"name":"entity.name.type.declaration.rust"}},"match":"\\\\b(type)\\\\s+(_?[A-Z][0-9A-Z_a-z]*)\\\\b"},{"match":"\\\\b_?[A-Z][0-9A-Z_a-z]*\\\\b(?!!)","name":"entity.name.type.rust"}]},"variables":{"patterns":[{"match":"\\\\b(?<!(?<!\\\\.)\\\\.)(?:r#(?!(crate|[Ss]elf|super)))?[0-9_a-z]+\\\\b","name":"variable.other.rust"}]}},"scopeName":"source.rust","aliases":["rs"]}`)), t = [
|
|
2
|
-
e
|
|
3
|
-
];
|
|
4
|
-
export {
|
|
5
|
-
t as default
|
|
6
|
-
};
|
|
@@ -1,418 +0,0 @@
|
|
|
1
|
-
import { aG as n, aM as B, aJ as J, aI as q, aK as Z, aL as tt, aW as et, aV as st, b0 as nt, aO as it, b1 as rt, bo as at } from "./CoachForm.js";
|
|
2
|
-
import { s as F } from "./redux-toolkit.modern.js";
|
|
3
|
-
import { S as ot, d as lt, a as ht, l as ct, r as ut, c as yt, j as pt } from "./sankeyLinkHorizontal.js";
|
|
4
|
-
import { o as ft } from "./ordinal.js";
|
|
5
|
-
var X = function() {
|
|
6
|
-
var a = /* @__PURE__ */ n(function(_, t, e, s) {
|
|
7
|
-
for (e = e || {}, s = _.length; s--; e[_[s]] = t) ;
|
|
8
|
-
return e;
|
|
9
|
-
}, "o"), h = [1, 9], d = [1, 10], A = [1, 5, 10, 12], w = {
|
|
10
|
-
trace: /* @__PURE__ */ n(function() {
|
|
11
|
-
}, "trace"),
|
|
12
|
-
yy: {},
|
|
13
|
-
symbols_: { error: 2, start: 3, SANKEY: 4, NEWLINE: 5, csv: 6, opt_eof: 7, record: 8, csv_tail: 9, EOF: 10, "field[source]": 11, COMMA: 12, "field[target]": 13, "field[value]": 14, field: 15, escaped: 16, non_escaped: 17, DQUOTE: 18, ESCAPED_TEXT: 19, NON_ESCAPED_TEXT: 20, $accept: 0, $end: 1 },
|
|
14
|
-
terminals_: { 2: "error", 4: "SANKEY", 5: "NEWLINE", 10: "EOF", 11: "field[source]", 12: "COMMA", 13: "field[target]", 14: "field[value]", 18: "DQUOTE", 19: "ESCAPED_TEXT", 20: "NON_ESCAPED_TEXT" },
|
|
15
|
-
productions_: [0, [3, 4], [6, 2], [9, 2], [9, 0], [7, 1], [7, 0], [8, 5], [15, 1], [15, 1], [16, 3], [17, 1]],
|
|
16
|
-
performAction: /* @__PURE__ */ n(function(t, e, s, o, l, r, T) {
|
|
17
|
-
var x = r.length - 1;
|
|
18
|
-
switch (l) {
|
|
19
|
-
case 7:
|
|
20
|
-
const k = o.findOrCreateNode(r[x - 4].trim().replaceAll('""', '"')), v = o.findOrCreateNode(r[x - 2].trim().replaceAll('""', '"')), M = parseFloat(r[x].trim());
|
|
21
|
-
o.addLink(k, v, M);
|
|
22
|
-
break;
|
|
23
|
-
case 8:
|
|
24
|
-
case 9:
|
|
25
|
-
case 11:
|
|
26
|
-
this.$ = r[x];
|
|
27
|
-
break;
|
|
28
|
-
case 10:
|
|
29
|
-
this.$ = r[x - 1];
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
}, "anonymous"),
|
|
33
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, { 5: [1, 3] }, { 6: 4, 8: 5, 15: 6, 16: 7, 17: 8, 18: h, 20: d }, { 1: [2, 6], 7: 11, 10: [1, 12] }, a(d, [2, 4], { 9: 13, 5: [1, 14] }), { 12: [1, 15] }, a(A, [2, 8]), a(A, [2, 9]), { 19: [1, 16] }, a(A, [2, 11]), { 1: [2, 1] }, { 1: [2, 5] }, a(d, [2, 2]), { 6: 17, 8: 5, 15: 6, 16: 7, 17: 8, 18: h, 20: d }, { 15: 18, 16: 7, 17: 8, 18: h, 20: d }, { 18: [1, 19] }, a(d, [2, 3]), { 12: [1, 20] }, a(A, [2, 10]), { 15: 21, 16: 7, 17: 8, 18: h, 20: d }, a([1, 5, 10], [2, 7])],
|
|
34
|
-
defaultActions: { 11: [2, 1], 12: [2, 5] },
|
|
35
|
-
parseError: /* @__PURE__ */ n(function(t, e) {
|
|
36
|
-
if (e.recoverable)
|
|
37
|
-
this.trace(t);
|
|
38
|
-
else {
|
|
39
|
-
var s = new Error(t);
|
|
40
|
-
throw s.hash = e, s;
|
|
41
|
-
}
|
|
42
|
-
}, "parseError"),
|
|
43
|
-
parse: /* @__PURE__ */ n(function(t) {
|
|
44
|
-
var e = this, s = [0], o = [], l = [null], r = [], T = this.table, x = "", k = 0, v = 0, M = 2, G = 1, K = r.slice.call(arguments, 1), u = Object.create(this.lexer), b = { yy: {} };
|
|
45
|
-
for (var N in this.yy)
|
|
46
|
-
Object.prototype.hasOwnProperty.call(this.yy, N) && (b.yy[N] = this.yy[N]);
|
|
47
|
-
u.setInput(t, b.yy), b.yy.lexer = u, b.yy.parser = this, typeof u.yylloc > "u" && (u.yylloc = {});
|
|
48
|
-
var I = u.yylloc;
|
|
49
|
-
r.push(I);
|
|
50
|
-
var O = u.options && u.options.ranges;
|
|
51
|
-
typeof b.yy.parseError == "function" ? this.parseError = b.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
52
|
-
function i(f) {
|
|
53
|
-
s.length = s.length - 2 * f, l.length = l.length - f, r.length = r.length - f;
|
|
54
|
-
}
|
|
55
|
-
n(i, "popStack");
|
|
56
|
-
function y() {
|
|
57
|
-
var f;
|
|
58
|
-
return f = o.pop() || u.lex() || G, typeof f != "number" && (f instanceof Array && (o = f, f = o.pop()), f = e.symbols_[f] || f), f;
|
|
59
|
-
}
|
|
60
|
-
n(y, "lex");
|
|
61
|
-
for (var p, P, m, U, C = {}, $, S, Q, j; ; ) {
|
|
62
|
-
if (P = s[s.length - 1], this.defaultActions[P] ? m = this.defaultActions[P] : ((p === null || typeof p > "u") && (p = y()), m = T[P] && T[P][p]), typeof m > "u" || !m.length || !m[0]) {
|
|
63
|
-
var Y = "";
|
|
64
|
-
j = [];
|
|
65
|
-
for ($ in T[P])
|
|
66
|
-
this.terminals_[$] && $ > M && j.push("'" + this.terminals_[$] + "'");
|
|
67
|
-
u.showPosition ? Y = "Parse error on line " + (k + 1) + `:
|
|
68
|
-
` + u.showPosition() + `
|
|
69
|
-
Expecting ` + j.join(", ") + ", got '" + (this.terminals_[p] || p) + "'" : Y = "Parse error on line " + (k + 1) + ": Unexpected " + (p == G ? "end of input" : "'" + (this.terminals_[p] || p) + "'"), this.parseError(Y, {
|
|
70
|
-
text: u.match,
|
|
71
|
-
token: this.terminals_[p] || p,
|
|
72
|
-
line: u.yylineno,
|
|
73
|
-
loc: I,
|
|
74
|
-
expected: j
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
if (m[0] instanceof Array && m.length > 1)
|
|
78
|
-
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + p);
|
|
79
|
-
switch (m[0]) {
|
|
80
|
-
case 1:
|
|
81
|
-
s.push(p), l.push(u.yytext), r.push(u.yylloc), s.push(m[1]), p = null, v = u.yyleng, x = u.yytext, k = u.yylineno, I = u.yylloc;
|
|
82
|
-
break;
|
|
83
|
-
case 2:
|
|
84
|
-
if (S = this.productions_[m[1]][1], C.$ = l[l.length - S], C._$ = {
|
|
85
|
-
first_line: r[r.length - (S || 1)].first_line,
|
|
86
|
-
last_line: r[r.length - 1].last_line,
|
|
87
|
-
first_column: r[r.length - (S || 1)].first_column,
|
|
88
|
-
last_column: r[r.length - 1].last_column
|
|
89
|
-
}, O && (C._$.range = [
|
|
90
|
-
r[r.length - (S || 1)].range[0],
|
|
91
|
-
r[r.length - 1].range[1]
|
|
92
|
-
]), U = this.performAction.apply(C, [
|
|
93
|
-
x,
|
|
94
|
-
v,
|
|
95
|
-
k,
|
|
96
|
-
b.yy,
|
|
97
|
-
m[1],
|
|
98
|
-
l,
|
|
99
|
-
r
|
|
100
|
-
].concat(K)), typeof U < "u")
|
|
101
|
-
return U;
|
|
102
|
-
S && (s = s.slice(0, -1 * S * 2), l = l.slice(0, -1 * S), r = r.slice(0, -1 * S)), s.push(this.productions_[m[1]][0]), l.push(C.$), r.push(C._$), Q = T[s[s.length - 2]][s[s.length - 1]], s.push(Q);
|
|
103
|
-
break;
|
|
104
|
-
case 3:
|
|
105
|
-
return !0;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return !0;
|
|
109
|
-
}, "parse")
|
|
110
|
-
}, c = /* @__PURE__ */ function() {
|
|
111
|
-
var _ = {
|
|
112
|
-
EOF: 1,
|
|
113
|
-
parseError: /* @__PURE__ */ n(function(e, s) {
|
|
114
|
-
if (this.yy.parser)
|
|
115
|
-
this.yy.parser.parseError(e, s);
|
|
116
|
-
else
|
|
117
|
-
throw new Error(e);
|
|
118
|
-
}, "parseError"),
|
|
119
|
-
// resets the lexer, sets new input
|
|
120
|
-
setInput: /* @__PURE__ */ n(function(t, e) {
|
|
121
|
-
return this.yy = e || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
122
|
-
first_line: 1,
|
|
123
|
-
first_column: 0,
|
|
124
|
-
last_line: 1,
|
|
125
|
-
last_column: 0
|
|
126
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
127
|
-
}, "setInput"),
|
|
128
|
-
// consumes and returns one char from the input
|
|
129
|
-
input: /* @__PURE__ */ n(function() {
|
|
130
|
-
var t = this._input[0];
|
|
131
|
-
this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
|
|
132
|
-
var e = t.match(/(?:\r\n?|\n).*/g);
|
|
133
|
-
return e ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
|
|
134
|
-
}, "input"),
|
|
135
|
-
// unshifts one char (or a string) into the input
|
|
136
|
-
unput: /* @__PURE__ */ n(function(t) {
|
|
137
|
-
var e = t.length, s = t.split(/(?:\r\n?|\n)/g);
|
|
138
|
-
this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - e), this.offset -= e;
|
|
139
|
-
var o = this.match.split(/(?:\r\n?|\n)/g);
|
|
140
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), s.length - 1 && (this.yylineno -= s.length - 1);
|
|
141
|
-
var l = this.yylloc.range;
|
|
142
|
-
return this.yylloc = {
|
|
143
|
-
first_line: this.yylloc.first_line,
|
|
144
|
-
last_line: this.yylineno + 1,
|
|
145
|
-
first_column: this.yylloc.first_column,
|
|
146
|
-
last_column: s ? (s.length === o.length ? this.yylloc.first_column : 0) + o[o.length - s.length].length - s[0].length : this.yylloc.first_column - e
|
|
147
|
-
}, this.options.ranges && (this.yylloc.range = [l[0], l[0] + this.yyleng - e]), this.yyleng = this.yytext.length, this;
|
|
148
|
-
}, "unput"),
|
|
149
|
-
// When called from action, caches matched text and appends it on next action
|
|
150
|
-
more: /* @__PURE__ */ n(function() {
|
|
151
|
-
return this._more = !0, this;
|
|
152
|
-
}, "more"),
|
|
153
|
-
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
154
|
-
reject: /* @__PURE__ */ n(function() {
|
|
155
|
-
if (this.options.backtrack_lexer)
|
|
156
|
-
this._backtrack = !0;
|
|
157
|
-
else
|
|
158
|
-
return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
159
|
-
` + this.showPosition(), {
|
|
160
|
-
text: "",
|
|
161
|
-
token: null,
|
|
162
|
-
line: this.yylineno
|
|
163
|
-
});
|
|
164
|
-
return this;
|
|
165
|
-
}, "reject"),
|
|
166
|
-
// retain first n characters of the match
|
|
167
|
-
less: /* @__PURE__ */ n(function(t) {
|
|
168
|
-
this.unput(this.match.slice(t));
|
|
169
|
-
}, "less"),
|
|
170
|
-
// displays already matched input, i.e. for error messages
|
|
171
|
-
pastInput: /* @__PURE__ */ n(function() {
|
|
172
|
-
var t = this.matched.substr(0, this.matched.length - this.match.length);
|
|
173
|
-
return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
|
|
174
|
-
}, "pastInput"),
|
|
175
|
-
// displays upcoming input, i.e. for error messages
|
|
176
|
-
upcomingInput: /* @__PURE__ */ n(function() {
|
|
177
|
-
var t = this.match;
|
|
178
|
-
return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
179
|
-
}, "upcomingInput"),
|
|
180
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
181
|
-
showPosition: /* @__PURE__ */ n(function() {
|
|
182
|
-
var t = this.pastInput(), e = new Array(t.length + 1).join("-");
|
|
183
|
-
return t + this.upcomingInput() + `
|
|
184
|
-
` + e + "^";
|
|
185
|
-
}, "showPosition"),
|
|
186
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
187
|
-
test_match: /* @__PURE__ */ n(function(t, e) {
|
|
188
|
-
var s, o, l;
|
|
189
|
-
if (this.options.backtrack_lexer && (l = {
|
|
190
|
-
yylineno: this.yylineno,
|
|
191
|
-
yylloc: {
|
|
192
|
-
first_line: this.yylloc.first_line,
|
|
193
|
-
last_line: this.last_line,
|
|
194
|
-
first_column: this.yylloc.first_column,
|
|
195
|
-
last_column: this.yylloc.last_column
|
|
196
|
-
},
|
|
197
|
-
yytext: this.yytext,
|
|
198
|
-
match: this.match,
|
|
199
|
-
matches: this.matches,
|
|
200
|
-
matched: this.matched,
|
|
201
|
-
yyleng: this.yyleng,
|
|
202
|
-
offset: this.offset,
|
|
203
|
-
_more: this._more,
|
|
204
|
-
_input: this._input,
|
|
205
|
-
yy: this.yy,
|
|
206
|
-
conditionStack: this.conditionStack.slice(0),
|
|
207
|
-
done: this.done
|
|
208
|
-
}, this.options.ranges && (l.yylloc.range = this.yylloc.range.slice(0))), o = t[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
|
|
209
|
-
first_line: this.yylloc.last_line,
|
|
210
|
-
last_line: this.yylineno + 1,
|
|
211
|
-
first_column: this.yylloc.last_column,
|
|
212
|
-
last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
|
|
213
|
-
}, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], s = this.performAction.call(this, this.yy, this, e, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), s)
|
|
214
|
-
return s;
|
|
215
|
-
if (this._backtrack) {
|
|
216
|
-
for (var r in l)
|
|
217
|
-
this[r] = l[r];
|
|
218
|
-
return !1;
|
|
219
|
-
}
|
|
220
|
-
return !1;
|
|
221
|
-
}, "test_match"),
|
|
222
|
-
// return next match in input
|
|
223
|
-
next: /* @__PURE__ */ n(function() {
|
|
224
|
-
if (this.done)
|
|
225
|
-
return this.EOF;
|
|
226
|
-
this._input || (this.done = !0);
|
|
227
|
-
var t, e, s, o;
|
|
228
|
-
this._more || (this.yytext = "", this.match = "");
|
|
229
|
-
for (var l = this._currentRules(), r = 0; r < l.length; r++)
|
|
230
|
-
if (s = this._input.match(this.rules[l[r]]), s && (!e || s[0].length > e[0].length)) {
|
|
231
|
-
if (e = s, o = r, this.options.backtrack_lexer) {
|
|
232
|
-
if (t = this.test_match(s, l[r]), t !== !1)
|
|
233
|
-
return t;
|
|
234
|
-
if (this._backtrack) {
|
|
235
|
-
e = !1;
|
|
236
|
-
continue;
|
|
237
|
-
} else
|
|
238
|
-
return !1;
|
|
239
|
-
} else if (!this.options.flex)
|
|
240
|
-
break;
|
|
241
|
-
}
|
|
242
|
-
return e ? (t = this.test_match(e, l[o]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
243
|
-
` + this.showPosition(), {
|
|
244
|
-
text: "",
|
|
245
|
-
token: null,
|
|
246
|
-
line: this.yylineno
|
|
247
|
-
});
|
|
248
|
-
}, "next"),
|
|
249
|
-
// return next match that has a token
|
|
250
|
-
lex: /* @__PURE__ */ n(function() {
|
|
251
|
-
var e = this.next();
|
|
252
|
-
return e || this.lex();
|
|
253
|
-
}, "lex"),
|
|
254
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
255
|
-
begin: /* @__PURE__ */ n(function(e) {
|
|
256
|
-
this.conditionStack.push(e);
|
|
257
|
-
}, "begin"),
|
|
258
|
-
// pop the previously active lexer condition state off the condition stack
|
|
259
|
-
popState: /* @__PURE__ */ n(function() {
|
|
260
|
-
var e = this.conditionStack.length - 1;
|
|
261
|
-
return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
262
|
-
}, "popState"),
|
|
263
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
264
|
-
_currentRules: /* @__PURE__ */ n(function() {
|
|
265
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
266
|
-
}, "_currentRules"),
|
|
267
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
268
|
-
topState: /* @__PURE__ */ n(function(e) {
|
|
269
|
-
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
270
|
-
}, "topState"),
|
|
271
|
-
// alias for begin(condition)
|
|
272
|
-
pushState: /* @__PURE__ */ n(function(e) {
|
|
273
|
-
this.begin(e);
|
|
274
|
-
}, "pushState"),
|
|
275
|
-
// return the number of states currently on the stack
|
|
276
|
-
stateStackSize: /* @__PURE__ */ n(function() {
|
|
277
|
-
return this.conditionStack.length;
|
|
278
|
-
}, "stateStackSize"),
|
|
279
|
-
options: { "case-insensitive": !0 },
|
|
280
|
-
performAction: /* @__PURE__ */ n(function(e, s, o, l) {
|
|
281
|
-
switch (o) {
|
|
282
|
-
case 0:
|
|
283
|
-
return this.pushState("csv"), 4;
|
|
284
|
-
case 1:
|
|
285
|
-
return this.pushState("csv"), 4;
|
|
286
|
-
case 2:
|
|
287
|
-
return 10;
|
|
288
|
-
case 3:
|
|
289
|
-
return 5;
|
|
290
|
-
case 4:
|
|
291
|
-
return 12;
|
|
292
|
-
case 5:
|
|
293
|
-
return this.pushState("escaped_text"), 18;
|
|
294
|
-
case 6:
|
|
295
|
-
return 20;
|
|
296
|
-
case 7:
|
|
297
|
-
return this.popState("escaped_text"), 18;
|
|
298
|
-
case 8:
|
|
299
|
-
return 19;
|
|
300
|
-
}
|
|
301
|
-
}, "anonymous"),
|
|
302
|
-
rules: [/^(?:sankey-beta\b)/i, /^(?:sankey\b)/i, /^(?:$)/i, /^(?:((\u000D\u000A)|(\u000A)))/i, /^(?:(\u002C))/i, /^(?:(\u0022))/i, /^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i, /^(?:(\u0022)(?!(\u0022)))/i, /^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],
|
|
303
|
-
conditions: { csv: { rules: [2, 3, 4, 5, 6, 7, 8], inclusive: !1 }, escaped_text: { rules: [7, 8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8], inclusive: !0 } }
|
|
304
|
-
};
|
|
305
|
-
return _;
|
|
306
|
-
}();
|
|
307
|
-
w.lexer = c;
|
|
308
|
-
function g() {
|
|
309
|
-
this.yy = {};
|
|
310
|
-
}
|
|
311
|
-
return n(g, "Parser"), g.prototype = w, w.Parser = g, new g();
|
|
312
|
-
}();
|
|
313
|
-
X.parser = X;
|
|
314
|
-
var R = X, V = [], z = [], W = /* @__PURE__ */ new Map(), dt = /* @__PURE__ */ n(() => {
|
|
315
|
-
V = [], z = [], W = /* @__PURE__ */ new Map(), nt();
|
|
316
|
-
}, "clear"), L, gt = (L = class {
|
|
317
|
-
constructor(h, d, A = 0) {
|
|
318
|
-
this.source = h, this.target = d, this.value = A;
|
|
319
|
-
}
|
|
320
|
-
}, n(L, "SankeyLink"), L), mt = /* @__PURE__ */ n((a, h, d) => {
|
|
321
|
-
V.push(new gt(a, h, d));
|
|
322
|
-
}, "addLink"), D, _t = (D = class {
|
|
323
|
-
constructor(h) {
|
|
324
|
-
this.ID = h;
|
|
325
|
-
}
|
|
326
|
-
}, n(D, "SankeyNode"), D), xt = /* @__PURE__ */ n((a) => {
|
|
327
|
-
a = it.sanitizeText(a, B());
|
|
328
|
-
let h = W.get(a);
|
|
329
|
-
return h === void 0 && (h = new _t(a), W.set(a, h), z.push(h)), h;
|
|
330
|
-
}, "findOrCreateNode"), kt = /* @__PURE__ */ n(() => z, "getNodes"), vt = /* @__PURE__ */ n(() => V, "getLinks"), bt = /* @__PURE__ */ n(() => ({
|
|
331
|
-
nodes: z.map((a) => ({ id: a.ID })),
|
|
332
|
-
links: V.map((a) => ({
|
|
333
|
-
source: a.source.ID,
|
|
334
|
-
target: a.target.ID,
|
|
335
|
-
value: a.value
|
|
336
|
-
}))
|
|
337
|
-
}), "getGraph"), St = {
|
|
338
|
-
nodesMap: W,
|
|
339
|
-
getConfig: /* @__PURE__ */ n(() => B().sankey, "getConfig"),
|
|
340
|
-
getNodes: kt,
|
|
341
|
-
getLinks: vt,
|
|
342
|
-
getGraph: bt,
|
|
343
|
-
addLink: mt,
|
|
344
|
-
findOrCreateNode: xt,
|
|
345
|
-
getAccTitle: J,
|
|
346
|
-
setAccTitle: q,
|
|
347
|
-
getAccDescription: Z,
|
|
348
|
-
setAccDescription: tt,
|
|
349
|
-
getDiagramTitle: et,
|
|
350
|
-
setDiagramTitle: st,
|
|
351
|
-
clear: dt
|
|
352
|
-
}, E, H = (E = class {
|
|
353
|
-
static next(h) {
|
|
354
|
-
return new E(h + ++E.count);
|
|
355
|
-
}
|
|
356
|
-
constructor(h) {
|
|
357
|
-
this.id = h, this.href = `#${h}`;
|
|
358
|
-
}
|
|
359
|
-
toString() {
|
|
360
|
-
return "url(" + this.href + ")";
|
|
361
|
-
}
|
|
362
|
-
}, n(E, "Uid"), E.count = 0, E), Et = {
|
|
363
|
-
left: ct,
|
|
364
|
-
right: ut,
|
|
365
|
-
center: yt,
|
|
366
|
-
justify: pt
|
|
367
|
-
}, At = /* @__PURE__ */ n(function(a, h, d, A) {
|
|
368
|
-
const { securityLevel: w, sankey: c } = B(), g = rt.sankey;
|
|
369
|
-
let _;
|
|
370
|
-
w === "sandbox" && (_ = F("#i" + h));
|
|
371
|
-
const t = w === "sandbox" ? F(_.nodes()[0].contentDocument.body) : F("body"), e = w === "sandbox" ? t.select(`[id="${h}"]`) : F(`[id="${h}"]`), s = (c == null ? void 0 : c.width) ?? g.width, o = (c == null ? void 0 : c.height) ?? g.width, l = (c == null ? void 0 : c.useMaxWidth) ?? g.useMaxWidth, r = (c == null ? void 0 : c.nodeAlignment) ?? g.nodeAlignment, T = (c == null ? void 0 : c.prefix) ?? g.prefix, x = (c == null ? void 0 : c.suffix) ?? g.suffix, k = (c == null ? void 0 : c.showValues) ?? g.showValues, v = A.db.getGraph(), M = Et[r];
|
|
372
|
-
ot().nodeId((i) => i.id).nodeWidth(10).nodePadding(10 + (k ? 15 : 0)).nodeAlign(M).extent([
|
|
373
|
-
[0, 0],
|
|
374
|
-
[s, o]
|
|
375
|
-
])(v);
|
|
376
|
-
const u = ft(lt);
|
|
377
|
-
e.append("g").attr("class", "nodes").selectAll(".node").data(v.nodes).join("g").attr("class", "node").attr("id", (i) => (i.uid = H.next("node-")).id).attr("transform", function(i) {
|
|
378
|
-
return "translate(" + i.x0 + "," + i.y0 + ")";
|
|
379
|
-
}).attr("x", (i) => i.x0).attr("y", (i) => i.y0).append("rect").attr("height", (i) => i.y1 - i.y0).attr("width", (i) => i.x1 - i.x0).attr("fill", (i) => u(i.id));
|
|
380
|
-
const b = /* @__PURE__ */ n(({ id: i, value: y }) => k ? `${i}
|
|
381
|
-
${T}${Math.round(y * 100) / 100}${x}` : i, "getText");
|
|
382
|
-
e.append("g").attr("class", "node-labels").attr("font-size", 14).selectAll("text").data(v.nodes).join("text").attr("x", (i) => i.x0 < s / 2 ? i.x1 + 6 : i.x0 - 6).attr("y", (i) => (i.y1 + i.y0) / 2).attr("dy", `${k ? "0" : "0.35"}em`).attr("text-anchor", (i) => i.x0 < s / 2 ? "start" : "end").text(b);
|
|
383
|
-
const N = e.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", 0.5).selectAll(".link").data(v.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), I = (c == null ? void 0 : c.linkColor) ?? "gradient";
|
|
384
|
-
if (I === "gradient") {
|
|
385
|
-
const i = N.append("linearGradient").attr("id", (y) => (y.uid = H.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (y) => y.source.x1).attr("x2", (y) => y.target.x0);
|
|
386
|
-
i.append("stop").attr("offset", "0%").attr("stop-color", (y) => u(y.source.id)), i.append("stop").attr("offset", "100%").attr("stop-color", (y) => u(y.target.id));
|
|
387
|
-
}
|
|
388
|
-
let O;
|
|
389
|
-
switch (I) {
|
|
390
|
-
case "gradient":
|
|
391
|
-
O = /* @__PURE__ */ n((i) => i.uid, "coloring");
|
|
392
|
-
break;
|
|
393
|
-
case "source":
|
|
394
|
-
O = /* @__PURE__ */ n((i) => u(i.source.id), "coloring");
|
|
395
|
-
break;
|
|
396
|
-
case "target":
|
|
397
|
-
O = /* @__PURE__ */ n((i) => u(i.target.id), "coloring");
|
|
398
|
-
break;
|
|
399
|
-
default:
|
|
400
|
-
O = I;
|
|
401
|
-
}
|
|
402
|
-
N.append("path").attr("d", ht()).attr("stroke", O).attr("stroke-width", (i) => Math.max(1, i.width)), at(void 0, e, 0, l);
|
|
403
|
-
}, "draw"), wt = {
|
|
404
|
-
draw: At
|
|
405
|
-
}, Tt = /* @__PURE__ */ n((a) => a.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
|
|
406
|
-
`).trim(), "prepareTextForParsing"), It = /* @__PURE__ */ n((a) => `.label {
|
|
407
|
-
font-family: ${a.fontFamily};
|
|
408
|
-
}`, "getStyles"), Ot = It, Pt = R.parse.bind(R);
|
|
409
|
-
R.parse = (a) => Pt(Tt(a));
|
|
410
|
-
var Mt = {
|
|
411
|
-
styles: Ot,
|
|
412
|
-
parser: R,
|
|
413
|
-
db: St,
|
|
414
|
-
renderer: wt
|
|
415
|
-
};
|
|
416
|
-
export {
|
|
417
|
-
Mt as diagram
|
|
418
|
-
};
|