@marimo-team/frontend 0.19.12-dev1 → 0.20.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/dist/assets/CellStatus-C-x2V01u.js +1 -0
- package/dist/assets/Combination-CdkqT4eF.js +41 -0
- package/dist/assets/ConnectedDataExplorerComponent-BtaufJqg.js +1 -0
- package/dist/assets/DeferredRequestRegistry-ODyALcIJ.js +1 -0
- package/dist/assets/ErrorBoundary-CL8ByR73.js +1 -0
- package/dist/assets/ImageComparisonComponent-DaRs7UvQ.js +1 -0
- package/dist/assets/ImperativeModal-BcWA2M3r.js +1 -0
- package/dist/assets/Inputs-fHea2UE1.js +1 -0
- package/dist/assets/JsonOutput-GcxmOJYP.js +46 -0
- package/dist/assets/LazyAnyLanguageCodeMirror-Bd0XX4es.js +2 -0
- package/dist/assets/MarimoErrorOutput-DXW0JM3_.js +7 -0
- package/dist/assets/Plot-UGYbSTJ3.js +3789 -0
- package/dist/assets/RenderHTML-Daud0S_p.js +1 -0
- package/dist/assets/add-cell-with-ai-tKFEu3DZ.js +90 -0
- package/dist/assets/add-database-form-CzPD2bTj.js +111 -0
- package/dist/assets/agent-panel-CQbchvK2.js +287 -0
- package/dist/assets/ai-model-dropdown-CKWg_XHD.js +5 -0
- package/dist/assets/alert-Djvdl92y.js +1 -0
- package/dist/assets/alert-dialog-Btfo5nE7.js +11 -0
- package/dist/assets/any-language-editor-D6_jIAss.js +3 -0
- package/dist/assets/apl-m-AMVo9Q.js +1 -0
- package/dist/assets/app-config-button-R5x8Kgdf.js +1 -0
- package/dist/assets/arc-ONRhTAm2.js +1 -0
- package/dist/assets/architecture-U656AL7Q-BXMjPYuG.js +1 -0
- package/dist/assets/architectureDiagram-VXUJARFQ-C7m5iL4C.js +36 -0
- package/dist/assets/arrow-left-CgqvfuXk.js +1 -0
- package/dist/assets/asciiarmor-BCgPMx-s.js +1 -0
- package/dist/assets/asn1-f2_lxsgc.js +1 -0
- package/dist/assets/assertNever-eF2N5g4Y.js +1 -0
- package/dist/assets/badge-Duqg7hNv.js +1 -0
- package/dist/assets/blockDiagram-VD42YOAC-D3VTcGtQ.js +122 -0
- package/dist/assets/bot-message-square-BNUYewXt.js +1 -0
- package/dist/assets/brainfuck-ZYebo2B9.js +1 -0
- package/dist/assets/button-DOOm_ggu.js +1 -0
- package/dist/assets/c4Diagram-YG6GDRKO-DeGX1mCC.js +10 -0
- package/dist/assets/cache-panel-DTR5L2Ml.js +1 -0
- package/dist/assets/capabilities-DTeDSdGM.js +1 -0
- package/dist/assets/capitalize-O1rWkjI6.js +1 -0
- package/dist/assets/card-Cl7Rwjou.js +1 -0
- package/dist/assets/cell-editor-Dwrvpw6E.js +23 -0
- package/dist/assets/cell-link-Bhvw0on1.js +1 -0
- package/dist/assets/cells-3SLwRjPd.js +254 -0
- package/dist/assets/channel-uqHqvwkh.js +1 -0
- package/dist/assets/chart-no-axes-column-BXq2PuKd.js +1 -0
- package/dist/assets/chat-display-CjlWzBMp.js +1 -0
- package/dist/assets/chat-panel-C7GNMsJo.js +3 -0
- package/dist/assets/check-CAiA4SIb.js +1 -0
- package/dist/assets/chevron-right-Cez-Jqdk.js +1 -0
- package/dist/assets/chunk-4BX2VUAB-KawmK-5L.js +1 -0
- package/dist/assets/chunk-55IACEB6-yE5HX-Wz.js +1 -0
- package/dist/assets/chunk-5FQGJX7Z-BuHQ2zZJ.js +113 -0
- package/dist/assets/chunk-76Q3JFCE-DgTNlWLG.js +1 -0
- package/dist/assets/chunk-ABZYJK2D-zjU2RqNw.js +80 -0
- package/dist/assets/chunk-ATLVNIR6-D5Snp2DL.js +1 -0
- package/dist/assets/chunk-B4BG7PRW-kcvpFVyq.js +165 -0
- package/dist/assets/chunk-CVBHYZKI-DU48rJVu.js +1 -0
- package/dist/assets/chunk-DI55MBZ5-CuaKj0HK.js +220 -0
- package/dist/assets/chunk-EXTU4WIE-DQBwRCkx.js +1 -0
- package/dist/assets/chunk-FMBD7UC4-CHJv683r.js +15 -0
- package/dist/assets/chunk-FPAJGGOC-CbeZEPWm.js +125 -0
- package/dist/assets/chunk-FWNWRKHM-BJqoIuVF.js +1 -0
- package/dist/assets/chunk-HN2XXSSU-Bdbi3Mns.js +1 -0
- package/dist/assets/chunk-JA3XYJ7Z-DX4bo94N.js +70 -0
- package/dist/assets/chunk-JZLCHNYA-DYuUuKtZ.js +54 -0
- package/dist/assets/chunk-LBM3YZW2-XGgejlQq.js +1 -0
- package/dist/assets/chunk-LHMN2FUI-BEi6IUQb.js +1 -0
- package/dist/assets/chunk-MI3HLSF2-n3vxgSbN.js +32 -0
- package/dist/assets/chunk-N4CR4FBY-BON0Mwrl.js +2 -0
- package/dist/assets/chunk-O7ZBX7Z2-LHfZUTOA.js +1 -0
- package/dist/assets/chunk-QN33PNHL-CVYbno5t.js +1 -0
- package/dist/assets/chunk-QXUST7PY-BIvSztQy.js +7 -0
- package/dist/assets/chunk-QZHKN3VN-Cp_TxrNJ.js +1 -0
- package/dist/assets/chunk-S3R3BYOJ-v5Xg6aqf.js +2 -0
- package/dist/assets/chunk-S6J4BHB3-CrigYXUL.js +1 -0
- package/dist/assets/chunk-T53DSG4Q-gqM1xQ36.js +1 -0
- package/dist/assets/chunk-TZMSLE5B-BxAGWPcZ.js +1 -0
- package/dist/assets/circle-check-DwXZ6wul.js +1 -0
- package/dist/assets/circle-play-DjSRfMkE.js +1 -0
- package/dist/assets/circle-plus-yTkn5aIV.js +1 -0
- package/dist/assets/classDiagram-2ON5EDUG-UKFp8UX6.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-DP5SaZcv.js +1 -0
- package/dist/assets/clear-button-Iy93qpY9.js +1 -0
- package/dist/assets/clike-O99jWPIc.js +1 -0
- package/dist/assets/clipboard-paste-D6NlptzF.js +1 -0
- package/dist/assets/clojure-NE6UT6b9.js +1 -0
- package/dist/assets/cmake-7TIUAxVu.js +1 -0
- package/dist/assets/cn-BfqzeB_k.js +1 -0
- package/dist/assets/cobol-BdI6-uBH.js +1 -0
- package/dist/assets/code-block-37QAKDTI-VG5NaJEQ.js +2 -0
- package/dist/assets/code-xml-CAMyACkU.js +1 -0
- package/dist/assets/coffeescript-CLx5m4GS.js +1 -0
- package/dist/assets/column-preview-3XIyjT9T.js +1 -0
- package/dist/assets/command-palette-CqYF4pMC.js +1 -0
- package/dist/assets/command-zI_q-_PG.js +1 -0
- package/dist/assets/common-DORX-NKD.js +1 -0
- package/dist/assets/commonlisp-8d9AwdCm.js +1 -0
- package/dist/assets/config-BHy9GZrJ.js +1 -0
- package/dist/assets/context-DoXuYYBM.js +1 -0
- package/dist/assets/copy-CmJTXGCp.js +1 -0
- package/dist/assets/copy-fZotD7fi.js +1 -0
- package/dist/assets/copy-icon-DQ4_WQe7.js +1 -0
- package/dist/assets/cose-bilkent-S5V4N54A-CbgVOhIY.js +1 -0
- package/dist/assets/createReducer-DhUZtGnB.js +1 -0
- package/dist/assets/crystal-Bn-cOTHZ.js +1 -0
- package/dist/assets/css-Ctj1grpW.js +1 -0
- package/dist/assets/cypher-DnT9gfY3.js +1 -0
- package/dist/assets/d-DCjbmG72.js +1 -0
- package/dist/assets/dagre-6UL2VRFP-DU6p50BW.js +4 -0
- package/dist/assets/data-grid-overlay-editor-P1nXBnKB.js +1 -0
- package/dist/assets/database-zap-DjyjptVG.js +1 -0
- package/dist/assets/datasource-BNFc5bM1.js +3 -0
- package/dist/assets/dates-CeHtKOEz.js +1 -0
- package/dist/assets/dependency-graph-panel--665IS5c.js +4 -0
- package/dist/assets/diagram-PSM6KHXK-DE5xwnbv.js +24 -0
- package/dist/assets/diagram-QEK2KX5R-D2cX-DID.js +43 -0
- package/dist/assets/diagram-S2PKOQOG-ruaXlG20.js +24 -0
- package/dist/assets/dialog-BY1JTkTv.js +1 -0
- package/dist/assets/diff-DtVdhdPz.js +1 -0
- package/dist/assets/dist-58osgSTy.js +1 -0
- package/dist/assets/dist-B3moP5J0.js +1 -0
- package/dist/assets/dist-B9UvQEKY.js +1 -0
- package/dist/assets/dist-BDH5XYf0.js +1 -0
- package/dist/assets/dist-BFIBAOoU.js +3 -0
- package/dist/assets/dist-BGj9ey0m.js +1 -0
- package/dist/assets/dist-BGl4L4Qw.js +1 -0
- package/dist/assets/dist-BKGFUG98.js +1 -0
- package/dist/assets/dist-BPM4RU79.js +1 -0
- package/dist/assets/dist-BZl-Tewq.js +1 -0
- package/dist/assets/dist-BbnY99Cn.js +1 -0
- package/dist/assets/dist-Bie__U8O.js +1 -0
- package/dist/assets/dist-Bsp55hDJ.js +2 -0
- package/dist/assets/dist-C4tIy6GA.js +1 -0
- package/dist/assets/dist-C8PtNoUO.js +1 -0
- package/dist/assets/dist-CCYZUpo1.js +1 -0
- package/dist/assets/dist-CFRIjHXV.js +1 -0
- package/dist/assets/dist-CY9T8Ye8.js +1 -0
- package/dist/assets/dist-CaKf4gjo.js +1 -0
- package/dist/assets/dist-CehSYLRr.js +1 -0
- package/dist/assets/dist-CfOw57vq.js +1 -0
- package/dist/assets/dist-ChjglRRU.js +13 -0
- package/dist/assets/dist-CkDKNI-t.js +1 -0
- package/dist/assets/dist-Cka1pjxF.js +1 -0
- package/dist/assets/dist-D-SgQKH_.js +1 -0
- package/dist/assets/dist-D9xGHqiw.js +2 -0
- package/dist/assets/dist-DAxpo7DH.js +1 -0
- package/dist/assets/dist-DP8UD8yK.js +1 -0
- package/dist/assets/dist-DQ1HIq9U.js +1 -0
- package/dist/assets/dist-DXEbN9dc.js +1 -0
- package/dist/assets/dist-DitzHVlf.js +1 -0
- package/dist/assets/dist-Dq6dViu8.js +3 -0
- package/dist/assets/dist-DrUzA1yp.js +1 -0
- package/dist/assets/dist-DvlYinQM.js +1 -0
- package/dist/assets/dist-Dw5p3QBM.js +1 -0
- package/dist/assets/dist-GhfjlQt5.js +1 -0
- package/dist/assets/dist-HoBrI5Oq.js +1 -0
- package/dist/assets/dist-Qq3FmokF.js +1 -0
- package/dist/assets/dist-Sapk1n6W.js +6 -0
- package/dist/assets/dist-XYfs_NJs.js +1 -0
- package/dist/assets/dist-bE7sV_bx.js +7 -0
- package/dist/assets/dist-oFpLdR8n.js +1 -0
- package/dist/assets/dist-qpoyijSp.js +1 -0
- package/dist/assets/dist-sLPsrFJ9.js +1 -0
- package/dist/assets/dist-slVnaZ55.js +1 -0
- package/dist/assets/dist-vZkxMoNS.js +1 -0
- package/dist/assets/dist-yCrXzwf-.js +1 -0
- package/dist/assets/dockerfile-DLv42vp6.js +1 -0
- package/dist/assets/documentation-panel-CaE2ohYn.js +1 -0
- package/dist/assets/download-BWdagSya.js +9 -0
- package/dist/assets/download-Jiq5cuc9.js +1 -0
- package/dist/assets/dropdown-menu-BjqFXaqX.js +1 -0
- package/dist/assets/dtd-CHKGQo-k.js +1 -0
- package/dist/assets/dylan-DKXsKw9e.js +1 -0
- package/dist/assets/ecl-BJuToLkm.js +1 -0
- package/dist/assets/edit-page-D3xQ9L_f.js +13 -0
- package/dist/assets/eiffel-Bs0gRCeB.js +1 -0
- package/dist/assets/ellipsis-3ww_PRTI.js +1 -0
- package/dist/assets/ellipsis-vertical-49SoChzg.js +1 -0
- package/dist/assets/elm-BXUbhN4m.js +1 -0
- package/dist/assets/empty-state-DlQg-nUq.js +1 -0
- package/dist/assets/en-US-DyCX-qVi.js +1 -0
- package/dist/assets/erDiagram-Q2GNP2WA-mfrxCDrL.js +60 -0
- package/dist/assets/erlang-B9b7RAaI.js +1 -0
- package/dist/assets/error-banner-ClreFLcv.js +1 -0
- package/dist/assets/error-panel-CUvQCWJt.js +1 -0
- package/dist/assets/es-BAwLP160.js +5 -0
- package/dist/assets/esm-CP9RsJ4O.js +1 -0
- package/dist/assets/esm-DPool9PJ.js +1 -0
- package/dist/assets/eye-off-D6Gma1GF.js +1 -0
- package/dist/assets/factor-BbYo7zsD.js +1 -0
- package/dist/assets/factor-C2NWkG3V.js +1 -0
- package/dist/assets/field-0rGb7K7u.js +1 -0
- package/dist/assets/file-BH6mbfdw.js +1 -0
- package/dist/assets/file-explorer-panel-DeybZaOo.js +1 -0
- package/dist/assets/file-plus-corner-BEHHIF2L.js +1 -0
- package/dist/assets/file-video-camera-o8CZtjRQ.js +1 -0
- package/dist/assets/floating-outline-2m6YWlpq.js +1 -0
- package/dist/assets/flowDiagram-NV44I4VS-BEP3c13J.js +162 -0
- package/dist/assets/focus-DyBJP5Y2.js +1 -0
- package/dist/assets/form-B3o-gHpb.js +2 -0
- package/dist/assets/formats-DekCK0sB.js +1 -0
- package/dist/assets/forth-DAh7UX6C.js +1 -0
- package/dist/assets/fortran-Dy64-0b5.js +1 -0
- package/dist/assets/gallery-page-DST6-asz.js +1 -0
- package/dist/assets/ganttDiagram-JELNMOA3-Bh21ZsxH.js +267 -0
- package/dist/assets/gas-DC-7PUFB.js +1 -0
- package/dist/assets/gherkin-ByiMyVl5.js +1 -0
- package/dist/assets/gitGraph-F6HP7TQM-DWQaw9OD.js +1 -0
- package/dist/assets/gitGraphDiagram-NY62KEGX-BT8AJ_oS.js +65 -0
- package/dist/assets/glide-data-editor-CcAOmSAy.js +132 -0
- package/dist/assets/globals-rTjtfYVE.js +1 -0
- package/dist/assets/groovy-DaM0RAwa.js +1 -0
- package/dist/assets/haskell-BwRtIbXW.js +1 -0
- package/dist/assets/haxe-DFGSCjmC.js +1 -0
- package/dist/assets/home-page-Dd3yQLeM.js +4 -0
- package/dist/assets/hooks-C44T-jvI.js +1 -0
- package/dist/assets/html-to-image-BODKgB04.js +2 -0
- package/dist/assets/icons-iU3GgPzu.js +1 -0
- package/dist/assets/idl-Ip8qszMi.js +1 -0
- package/dist/assets/index-CUYYOT3v.js +38 -0
- package/dist/assets/index-DHVzmQ5n.css +2 -0
- package/dist/assets/info-NVLQJR56-1OAJDwaV.js +1 -0
- package/dist/assets/infoDiagram-WHAUD3N6-DGsING1X.js +2 -0
- package/dist/assets/input-lGnR5jA2.js +1 -0
- package/dist/assets/isValid-B3O42hgP.js +1 -0
- package/dist/assets/javascript-DmUu6wxV.js +1 -0
- package/dist/assets/journeyDiagram-XKPGCS4Q-DSd8IIQu.js +139 -0
- package/dist/assets/julia-C8K-9kxt.js +1 -0
- package/dist/assets/kanban-definition-3W4ZIXB7-ArgMxQwL.js +89 -0
- package/dist/assets/katex-DKG5nadA.js +1 -0
- package/dist/assets/kbd-CxD_4JZI.js +1 -0
- package/dist/assets/kiosk-mode-DBQu1lzt.js +1 -0
- package/dist/assets/label-DjfzNSto.js +1 -0
- package/dist/assets/layout-DvylFImy.js +5 -0
- package/dist/assets/line-j0cbFv7-.js +1 -0
- package/dist/assets/linear-CuVR7XfL.js +1 -0
- package/dist/assets/link-mqDMswUJ.js +1 -0
- package/dist/assets/links-BJkZcoxM.js +1 -0
- package/dist/assets/links-C5-xPFlM.js +1 -0
- package/dist/assets/livescript-B3MfBDE2.js +1 -0
- package/dist/assets/logs-panel-HEDRaCpU.js +1 -0
- package/dist/assets/loro_wasm_bg-C00qP84v.js +1 -0
- package/dist/assets/lua-B2YpVx0h.js +1 -0
- package/dist/assets/maps-BNf8B88H.js +1 -0
- package/dist/assets/markdown-renderer-DKn81PWh.js +10 -0
- package/dist/assets/mathematica-D9tSC-hw.js +1 -0
- package/dist/assets/mbox-CjoMCyMH.js +1 -0
- package/dist/assets/menu-items-BrytomlJ.js +1 -0
- package/dist/assets/mermaid-4DMBBIKO-8jBrJ6he.js +1 -0
- package/dist/assets/mermaid-D0AUvq3m.js +11 -0
- package/dist/assets/mermaid-parser.core-Bxb_w1Y_.js +4 -0
- package/dist/assets/mhchem-DL3I7eG_.js +1 -0
- package/dist/assets/mindmap-definition-VGOIOE7T-CO9Z_oJe.js +68 -0
- package/dist/assets/mirc-DvJdMBLZ.js +1 -0
- package/dist/assets/mllike-5ykSeapn.js +1 -0
- package/dist/assets/mode-CuFbHwND.js +1 -0
- package/dist/assets/modelica-laYOX8Zo.js +1 -0
- package/dist/assets/mscgen-z_sYErek.js +1 -0
- package/dist/assets/multi-icon-D7W4mYWz.js +1 -0
- package/dist/assets/multi-map-CfaU7is9.js +1 -0
- package/dist/assets/mumps-BwcCoPkA.js +1 -0
- package/dist/assets/name-cell-input-CIs7Aqay.js +1 -0
- package/dist/assets/nsis-CpSPdWjV.js +1 -0
- package/dist/assets/nsis-Cr8jf68z.js +1 -0
- package/dist/assets/ntriples-D2ki9JZ6.js +1 -0
- package/dist/assets/number-overlay-editor-C-FFb-0C.js +9 -0
- package/dist/assets/numbers-C8M1-yNT.js +1 -0
- package/dist/assets/octave-D817mWs9.js +1 -0
- package/dist/assets/ordinal-BgBuquWg.js +1 -0
- package/dist/assets/outline-panel-B2F8-xpS.js +1 -0
- package/dist/assets/oz-3GS03IG4.js +1 -0
- package/dist/assets/packages-panel-CPc1z9d4.js +1 -0
- package/dist/assets/packet-BFZMPI3H-OC_C0-SD.js +1 -0
- package/dist/assets/panels-Dh7M-Zzp.js +1 -0
- package/dist/assets/pascal-C08wXab2.js +1 -0
- package/dist/assets/perl-Ija-iETI.js +1 -0
- package/dist/assets/pie-7BOR55EZ-BSzfjxO9.js +1 -0
- package/dist/assets/pieDiagram-ADFJNKIX-crDibg1h.js +30 -0
- package/dist/assets/pig-BlBD3yVJ.js +1 -0
- package/dist/assets/play-BqVslMWT.js +1 -0
- package/dist/assets/plus-lLt9OnHP.js +1 -0
- package/dist/assets/popover-Ds94yD5w.js +1 -0
- package/dist/assets/powershell-CjOQ_PjD.js +1 -0
- package/dist/assets/precisionRound-CC3g-1mL.js +1 -0
- package/dist/assets/process-output-BpbC_Aow.js +1 -0
- package/dist/assets/properties-5yVGVBrw.js +1 -0
- package/dist/assets/protobuf-hlm5v2rk.js +1 -0
- package/dist/assets/pug-CKg66ZCy.js +1 -0
- package/dist/assets/pug-DifRb20b.js +1 -0
- package/dist/assets/puppet-BpFPuj45.js +1 -0
- package/dist/assets/python-B_AEFhuO.js +1 -0
- package/dist/assets/q-BzDxfEQq.js +1 -0
- package/dist/assets/quadrantDiagram-AYHSOK5B-CJc8o4d8.js +7 -0
- package/dist/assets/r-BJ9VYyYa.js +1 -0
- package/dist/assets/radar-NHE76QYJ-B6FFI1V5.js +1 -0
- package/dist/assets/react-vega-BAVgRRRE.js +190 -0
- package/dist/assets/react-vega-DgZywl4q.js +1 -0
- package/dist/assets/readonly-python-code-D3Z8uYT4.js +1 -0
- package/dist/assets/refresh-ccw-ClD7bKJN.js +1 -0
- package/dist/assets/refresh-cw-g2lXkmkk.js +1 -0
- package/dist/assets/renderShortcut-DpJiiIXp.js +1 -0
- package/dist/assets/request-registry-BSmhL1H2.js +1 -0
- package/dist/assets/requirementDiagram-UZGBJVZJ-BYtm3tqW.js +64 -0
- package/dist/assets/rotate-ccw-ek_QGiK_.js +1 -0
- package/dist/assets/rpm-Ez4HwV9T.js +1 -0
- package/dist/assets/ruby-BcHOM0EI.js +1 -0
- package/dist/assets/run-page-DwpujfMt.js +1 -0
- package/dist/assets/runs-CeGA8yfw.js +1 -0
- package/dist/assets/sankeyDiagram-TZEHDZUN-CITCOQqx.js +10 -0
- package/dist/assets/sas-Qmf5gHIU.js +1 -0
- package/dist/assets/save-XAnt-ceT.js +1 -0
- package/dist/assets/scheme-Ctib9V77.js +1 -0
- package/dist/assets/scratchpad-panel-BlFZic7K.js +1 -0
- package/dist/assets/secrets-panel-BVIrZtkg.js +1 -0
- package/dist/assets/select-BvXsf3Xf.js +1 -0
- package/dist/assets/sequenceDiagram-WL72ISMW-C0F5nOqB.js +145 -0
- package/dist/assets/session-BH_ggR75.js +1 -0
- package/dist/assets/session-panel-C40jAnsp.js +1 -0
- package/dist/assets/settings-CfA0GMiv.js +1 -0
- package/dist/assets/share-ZGgmy4Y2.js +1 -0
- package/dist/assets/shell-BtgVCAhn.js +1 -0
- package/dist/assets/sieve-CMsTkuH0.js +1 -0
- package/dist/assets/slides-component-C82fZBn2.js +1 -0
- package/dist/assets/smalltalk-BKSCdMTS.js +1 -0
- package/dist/assets/snippets-panel-DQ_FNiaw.js +1 -0
- package/dist/assets/sparql-TK6HapG4.js +1 -0
- package/dist/assets/spec-D4b3DLJL.js +1 -0
- package/dist/assets/spinner-BBkRPIE-.js +1 -0
- package/dist/assets/square-H4PcQmi-.js +1 -0
- package/dist/assets/square-function-anVqGjs0.js +1 -0
- package/dist/assets/src-CyeQdfB6.js +1 -0
- package/dist/assets/state-CcHiS-2P.js +1 -0
- package/dist/assets/state-EtDJEfA8.js +1 -0
- package/dist/assets/stateDiagram-FKZM4ZOC-uYDMAqgO.js +1 -0
- package/dist/assets/stateDiagram-v2-4FDKWEC3-uOKkKYXc.js +1 -0
- package/dist/assets/step-BE8c2ivx.js +1 -0
- package/dist/assets/stex-CttlPN-j.js +1 -0
- package/dist/assets/stylus-C8FKVvgQ.js +1 -0
- package/dist/assets/swift-D7BZKS_y.js +1 -0
- package/dist/assets/switch-KP9aBLRd.js +1 -0
- package/dist/assets/table-CP7epTk0.js +1 -0
- package/dist/assets/table-CqXVb6os.js +1 -0
- package/dist/assets/tcl-DFrjfFmM.js +1 -0
- package/dist/assets/terminal-CX81S9mS.js +62 -0
- package/dist/assets/textarea-BeKvrxrf.js +1 -0
- package/dist/assets/textile-Bj913nF7.js +1 -0
- package/dist/assets/time-DsekpC83.js +1 -0
- package/dist/assets/timeline-definition-IT6M3QCI-CoII4u2b.js +61 -0
- package/dist/assets/toDate-D_5B1mPf.js +1 -0
- package/dist/assets/toggle-CUhRontP.js +1 -0
- package/dist/assets/toml-B6qgmS36.js +1 -0
- package/dist/assets/tooltip-D13BIptq.js +1 -0
- package/dist/assets/tooltip-DuBjDOOi.js +61 -0
- package/dist/assets/tracing-DXW2T0PZ.js +1 -0
- package/dist/assets/tracing-panel-BakKzZZ8.js +2 -0
- package/dist/assets/trash-2-xM9f8S8N.js +1 -0
- package/dist/assets/trash-dqgOOChU.js +1 -0
- package/dist/assets/tree-CLkssdQm.js +3 -0
- package/dist/assets/treemap-KMMF4GRG-Dm59wMtG.js +1 -0
- package/dist/assets/triangle-alert-CEPiiwZT.js +1 -0
- package/dist/assets/troff-CysSpyUG.js +1 -0
- package/dist/assets/ttcn-DG1k5i1B.js +1 -0
- package/dist/assets/ttcn-cfg-p1jV7x_I.js +1 -0
- package/dist/assets/turtle-DSkxUncB.js +1 -0
- package/dist/assets/types-B02j-0zo.js +1 -0
- package/dist/assets/types-BWsfSnQV.js +17 -0
- package/dist/assets/useAddCell-Bxc74D8L.js +1 -0
- package/dist/assets/useBoolean-YzhJ5RKx.js +1 -0
- package/dist/assets/useCellActionButton-CYbF-pxP.js +1 -0
- package/dist/assets/useDateFormatter-D2wb2n1M.js +1 -0
- package/dist/assets/useDeleteCell-MooOUPWp.js +1 -0
- package/dist/assets/useDependencyPanelTab-BJ-miHJJ.js +1 -0
- package/dist/assets/useEventListener-B3HCnU20.js +1 -0
- package/dist/assets/useIframeCapabilities-C-JfwMug.js +1 -0
- package/dist/assets/useInstallPackage-BPxx1pVW.js +1 -0
- package/dist/assets/useInterval-BjNoiPwK.js +1 -0
- package/dist/assets/useLifecycle-CKk7uG4E.js +1 -0
- package/dist/assets/useNotebookActions-CMrugtYC.js +1 -0
- package/dist/assets/useNumberFormatter-DBQ_eVX1.js +1 -0
- package/dist/assets/usePress-a6K9HmSS.js +7 -0
- package/dist/assets/useRunCells-DQIUBAoK.js +1 -0
- package/dist/assets/useSplitCell-DPGiPYwq.js +1 -0
- package/dist/assets/useTheme-BHn95Ieq.js +1 -0
- package/dist/assets/utilities.esm-BHFwaIGQ.js +3 -0
- package/dist/assets/utils-Cul5vKXJ.js +1 -0
- package/dist/assets/vb-BIvYC4My.js +1 -0
- package/dist/assets/vbscript-Coxg2EVQ.js +1 -0
- package/dist/assets/vega-component-DL4Ss3K1.js +1 -0
- package/dist/assets/vega-loader.browser-BR6dmQ_3.js +6 -0
- package/dist/assets/velocity-Cy90c7hC.js +1 -0
- package/dist/assets/verilog-CTtn3HA0.js +1 -0
- package/dist/assets/vhdl-D3r3mwOF.js +1 -0
- package/dist/assets/webidl-CHPMhkWI.js +1 -0
- package/dist/assets/workflow-DJ_gxPAG.js +1 -0
- package/dist/assets/write-secret-modal-D7m5yRRP.js +1 -0
- package/dist/assets/x-CvUjX6Qu.js +1 -0
- package/dist/assets/xquery-d-YlNlXH.js +1 -0
- package/dist/assets/xychartDiagram-PRI3JC2R-CUZdyvgx.js +7 -0
- package/dist/assets/yacas-BfZ0gs5_.js +1 -0
- package/dist/assets/youtube-B6DpFVdU.js +1 -0
- package/dist/assets/z80-cYJ4lyZA.js +1 -0
- package/dist/index.html +158 -159
- package/package.json +1 -1
- package/src/components/editor/Output.tsx +8 -6
- package/src/components/editor/__tests__/Output.test.tsx +59 -0
- package/src/components/editor/chrome/__tests__/state.test.ts +321 -0
- package/src/components/editor/chrome/state.ts +27 -2
- package/src/components/editor/file-tree/upload.tsx +46 -23
- package/src/components/editor/links/cell-link.tsx +3 -2
- package/src/components/editor/output/console/ConsoleOutput.tsx +13 -3
- package/src/components/pages/gallery-page.tsx +1 -1
- package/src/components/pages/home-page.tsx +5 -3
- package/src/components/tracing/tracing.tsx +50 -39
- package/src/core/documentation/DocHoverTarget.tsx +23 -0
- package/src/core/documentation/doc-lookup.ts +50 -0
- package/src/core/islands/main.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +3 -0
- package/src/css/app/Cell.css +5 -0
- package/src/mount.tsx +2 -2
- package/src/plugins/core/RenderHTML.tsx +15 -0
- package/src/plugins/core/__test__/registerReactComponent.test.ts +204 -0
- package/src/plugins/core/registerReactComponent.tsx +33 -0
- package/src/plugins/impl/MatrixPlugin.tsx +275 -0
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +415 -0
- package/src/plugins/impl/anywidget/model.ts +1 -2
- package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +70 -0
- package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +152 -0
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +781 -0
- package/src/plugins/impl/matrix.css +45 -0
- package/src/plugins/layout/mermaid/mermaid.tsx +11 -3
- package/src/plugins/plugins.ts +4 -0
- package/src/utils/__tests__/download.test.tsx +47 -0
- package/src/utils/download.ts +13 -1
- package/src/utils/links.ts +1 -1
- package/src/utils/urls.ts +1 -1
- package/dist/assets/CellStatus-RX44AhjN.js +0 -1
- package/dist/assets/Combination-BAEdC-rz.js +0 -41
- package/dist/assets/ConnectedDataExplorerComponent-HbY4uSsv.js +0 -1
- package/dist/assets/DeferredRequestRegistry-CMf25YiV.js +0 -1
- package/dist/assets/ErrorBoundary-B9Ifj8Jf.js +0 -1
- package/dist/assets/ImageComparisonComponent-BmIQwrIS.js +0 -1
- package/dist/assets/ImperativeModal-BNN1HA7x.js +0 -1
- package/dist/assets/Inputs-GV-aQbOR.js +0 -1
- package/dist/assets/JsonOutput-ChH_9MPt.js +0 -46
- package/dist/assets/LazyAnyLanguageCodeMirror-BTO7DS3k.js +0 -2
- package/dist/assets/MarimoErrorOutput-a6bY4dzO.js +0 -7
- package/dist/assets/Plot-DolV1EVq.js +0 -3789
- package/dist/assets/RenderHTML-CG3x4AfR.js +0 -1
- package/dist/assets/add-cell-with-ai-C09q01JF.js +0 -90
- package/dist/assets/add-database-form-CIVTpquv.js +0 -111
- package/dist/assets/agent-panel-BegTm8dL.js +0 -287
- package/dist/assets/ai-model-dropdown-BMv5J-EA.js +0 -5
- package/dist/assets/alert-BOoN6gJ1.js +0 -1
- package/dist/assets/alert-dialog-BW4srmS0.js +0 -11
- package/dist/assets/any-language-editor-BdrnE_3i.js +0 -3
- package/dist/assets/apl-CaYjM5u2.js +0 -1
- package/dist/assets/app-config-button-CgwXO7yc.js +0 -1
- package/dist/assets/arc-D1owqr0z.js +0 -1
- package/dist/assets/architecture-U656AL7Q-DQB1ihe9.js +0 -1
- package/dist/assets/architectureDiagram-VXUJARFQ-aV-hwsKI.js +0 -36
- package/dist/assets/arrow-left-VDC1u5rq.js +0 -1
- package/dist/assets/asciiarmor-D2cJUKTq.js +0 -1
- package/dist/assets/asn1-CZDBKivQ.js +0 -1
- package/dist/assets/assertNever-CBU83Y6o.js +0 -1
- package/dist/assets/badge-DX6CQ6PA.js +0 -1
- package/dist/assets/blockDiagram-VD42YOAC-CJeGIMJm.js +0 -122
- package/dist/assets/bot-message-square-B2ThzDUZ.js +0 -1
- package/dist/assets/brainfuck-D5O26WTe.js +0 -1
- package/dist/assets/button-CZ3Cs4qb.js +0 -1
- package/dist/assets/c4Diagram-YG6GDRKO-aLqv1M3N.js +0 -10
- package/dist/assets/cache-panel-D07YsKqa.js +0 -1
- package/dist/assets/capabilities-MM7JYRxj.js +0 -1
- package/dist/assets/capitalize-CmNnkG9y.js +0 -1
- package/dist/assets/card-OlSjYhmd.js +0 -1
- package/dist/assets/cell-editor-CQQfwfJI.js +0 -23
- package/dist/assets/cell-link-DvW8RUk0.js +0 -1
- package/dist/assets/cells-Botr-aL3.js +0 -254
- package/dist/assets/channel-C1Usuv02.js +0 -1
- package/dist/assets/chart-no-axes-column-qvVRjhv1.js +0 -1
- package/dist/assets/chat-display-DLmJWehR.js +0 -1
- package/dist/assets/chat-panel-Bc4kjYhc.js +0 -3
- package/dist/assets/check-Dr3SxUsb.js +0 -1
- package/dist/assets/chevron-right--18M_6o9.js +0 -1
- package/dist/assets/chunk-4BX2VUAB-BP-RGZn9.js +0 -1
- package/dist/assets/chunk-55IACEB6-DJOXjhUm.js +0 -1
- package/dist/assets/chunk-5FQGJX7Z-DPlx2kjA.js +0 -113
- package/dist/assets/chunk-76Q3JFCE-B261Xkae.js +0 -1
- package/dist/assets/chunk-ABZYJK2D-CNf44YbG.js +0 -80
- package/dist/assets/chunk-ATLVNIR6-dMFR1SFQ.js +0 -1
- package/dist/assets/chunk-B4BG7PRW-CtXWCWTB.js +0 -165
- package/dist/assets/chunk-CVBHYZKI-Brsoob-W.js +0 -1
- package/dist/assets/chunk-DI55MBZ5-BAPPLtVz.js +0 -220
- package/dist/assets/chunk-EXTU4WIE-DhUL3hgE.js +0 -1
- package/dist/assets/chunk-FMBD7UC4-kejklSRQ.js +0 -15
- package/dist/assets/chunk-FPAJGGOC-DOBSZjU2.js +0 -125
- package/dist/assets/chunk-FWNWRKHM-C0b0DIG0.js +0 -1
- package/dist/assets/chunk-HN2XXSSU-BBxJMYrA.js +0 -1
- package/dist/assets/chunk-JA3XYJ7Z-BBDBNwto.js +0 -70
- package/dist/assets/chunk-JZLCHNYA-BXs7PoCi.js +0 -54
- package/dist/assets/chunk-LBM3YZW2-D3uTpSOd.js +0 -1
- package/dist/assets/chunk-LHMN2FUI-2FK1AIwU.js +0 -1
- package/dist/assets/chunk-MI3HLSF2-D6we5Ftb.js +0 -32
- package/dist/assets/chunk-N4CR4FBY-G8sTCjxn.js +0 -2
- package/dist/assets/chunk-O7ZBX7Z2-DoE29Zoe.js +0 -1
- package/dist/assets/chunk-QN33PNHL-BXnZwF56.js +0 -1
- package/dist/assets/chunk-QXUST7PY-DaTIHluG.js +0 -7
- package/dist/assets/chunk-QZHKN3VN-DCq7JxLD.js +0 -1
- package/dist/assets/chunk-S3R3BYOJ-OezEEdUG.js +0 -2
- package/dist/assets/chunk-S6J4BHB3-Cvr0itXK.js +0 -1
- package/dist/assets/chunk-T53DSG4Q-C7bPrBIt.js +0 -1
- package/dist/assets/chunk-TZMSLE5B-BUnfEuEz.js +0 -1
- package/dist/assets/circle-check-DquVD4wZ.js +0 -1
- package/dist/assets/circle-play-EowqxNIC.js +0 -1
- package/dist/assets/circle-plus-haI9GLDP.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-DQZw7BDP.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-BBniC-qJ.js +0 -1
- package/dist/assets/clear-button-DMZhBF9S.js +0 -1
- package/dist/assets/clike-TwxwxEw_.js +0 -1
- package/dist/assets/clipboard-paste-CpyPR-HZ.js +0 -1
- package/dist/assets/clojure-B8dfjAV6.js +0 -1
- package/dist/assets/cmake-D3vlGJdL.js +0 -1
- package/dist/assets/cn-BKtXLv3a.js +0 -1
- package/dist/assets/cobol-S-4I_F1W.js +0 -1
- package/dist/assets/code-block-37QAKDTI-DnnrjIZy.js +0 -2
- package/dist/assets/code-xml-CgN_Yig7.js +0 -1
- package/dist/assets/coffeescript-DG-Oj54u.js +0 -1
- package/dist/assets/column-preview-BZevmZKp.js +0 -1
- package/dist/assets/command-BMidGaii.js +0 -1
- package/dist/assets/command-palette-Crbebk2n.js +0 -1
- package/dist/assets/common-BOSf3pij.js +0 -1
- package/dist/assets/commonlisp-CWlOS49U.js +0 -1
- package/dist/assets/config-Q0O7_stz.js +0 -1
- package/dist/assets/context-BfYAMNLF.js +0 -1
- package/dist/assets/copy-D-8y6iMN.js +0 -1
- package/dist/assets/copy-DHrHayPa.js +0 -1
- package/dist/assets/copy-icon-v8ME_JKB.js +0 -1
- package/dist/assets/cose-bilkent-S5V4N54A-BjwT10E5.js +0 -1
- package/dist/assets/createReducer-B3rBsy4P.js +0 -1
- package/dist/assets/crystal-CD-LQ3E-.js +0 -1
- package/dist/assets/css-sdrF9ahV.js +0 -1
- package/dist/assets/cypher-oiVTIRlU.js +0 -1
- package/dist/assets/d-KaoGirPa.js +0 -1
- package/dist/assets/dagre-6UL2VRFP-oY6KaDGH.js +0 -4
- package/dist/assets/data-grid-overlay-editor-lP_r54zS.js +0 -1
- package/dist/assets/database-zap-k4ePIFAU.js +0 -1
- package/dist/assets/datasource-acoDY9Ku.js +0 -3
- package/dist/assets/dates-CrvjILe3.js +0 -1
- package/dist/assets/dependency-graph-panel-7rjOVu1-.js +0 -4
- package/dist/assets/diagram-PSM6KHXK-D3RUn56c.js +0 -24
- package/dist/assets/diagram-QEK2KX5R-BDPgp5cV.js +0 -43
- package/dist/assets/diagram-S2PKOQOG-NhFH98y0.js +0 -24
- package/dist/assets/dialog-eb-NieZw.js +0 -1
- package/dist/assets/diff-Df1QxxZl.js +0 -1
- package/dist/assets/dist--lWkNwLa.js +0 -1
- package/dist/assets/dist-8qtC33as.js +0 -1
- package/dist/assets/dist-B0T008FI.js +0 -1
- package/dist/assets/dist-B1Jd_IvQ.js +0 -1
- package/dist/assets/dist-B5vqrkGM.js +0 -1
- package/dist/assets/dist-BDTS_4tQ.js +0 -1
- package/dist/assets/dist-BHxWJlYy.js +0 -7
- package/dist/assets/dist-BNkRH34W.js +0 -13
- package/dist/assets/dist-BP9zs-JA.js +0 -1
- package/dist/assets/dist-BZP3Xxma.js +0 -1
- package/dist/assets/dist-BeHHM5ER.js +0 -1
- package/dist/assets/dist-BkTLZYtq.js +0 -1
- package/dist/assets/dist-Bl-MdZlw.js +0 -1
- package/dist/assets/dist-Bouhdq2b.js +0 -1
- package/dist/assets/dist-BqBWjk9M.js +0 -3
- package/dist/assets/dist-Bt3KRZho.js +0 -2
- package/dist/assets/dist-BtnFSOCN.js +0 -1
- package/dist/assets/dist-C0vFollF.js +0 -1
- package/dist/assets/dist-CBgJfRVh.js +0 -1
- package/dist/assets/dist-CCX32maQ.js +0 -1
- package/dist/assets/dist-CDTDwVaL.js +0 -1
- package/dist/assets/dist-CDXJRSCj.js +0 -1
- package/dist/assets/dist-CF9gSfGe.js +0 -2
- package/dist/assets/dist-CShMY7yu.js +0 -1
- package/dist/assets/dist-CUeuuHG_.js +0 -1
- package/dist/assets/dist-CY47RP0T.js +0 -1
- package/dist/assets/dist-D1HV0xoM.js +0 -1
- package/dist/assets/dist-DDhEwFtR.js +0 -1
- package/dist/assets/dist-DDoTyiJg.js +0 -1
- package/dist/assets/dist-DKmfcej2.js +0 -1
- package/dist/assets/dist-DPQdWUrU.js +0 -1
- package/dist/assets/dist-DYjR2ilN.js +0 -1
- package/dist/assets/dist-D_DbFqxl.js +0 -1
- package/dist/assets/dist-DdDowPeI.js +0 -1
- package/dist/assets/dist-Dt1by2kD.js +0 -1
- package/dist/assets/dist-Dt_gLA9L.js +0 -1
- package/dist/assets/dist-DwV58Fb1.js +0 -1
- package/dist/assets/dist-Dz922FNY.js +0 -1
- package/dist/assets/dist-GRPM_OuL.js +0 -1
- package/dist/assets/dist-K8bI26Ke.js +0 -1
- package/dist/assets/dist-LUpffRIq.js +0 -1
- package/dist/assets/dist-MyTWYTLd.js +0 -6
- package/dist/assets/dist-NOntBqny.js +0 -1
- package/dist/assets/dist-PzrizfuL.js +0 -1
- package/dist/assets/dist-dnoBqBf0.js +0 -1
- package/dist/assets/dist-kjrKkhgz.js +0 -1
- package/dist/assets/dist-maX8rbyb.js +0 -3
- package/dist/assets/dockerfile-Cq6vOmt3.js +0 -1
- package/dist/assets/documentation-panel-CJ43lrJj.js +0 -1
- package/dist/assets/download-COpfLoar.js +0 -9
- package/dist/assets/download-Dg7clfkc.js +0 -1
- package/dist/assets/dropdown-menu-ldcmQvIV.js +0 -1
- package/dist/assets/dtd-Aj5m459l.js +0 -1
- package/dist/assets/dylan-CdSB1nh8.js +0 -1
- package/dist/assets/ecl-CvwsCfi6.js +0 -1
- package/dist/assets/edit-page-DM-ntufl.js +0 -13
- package/dist/assets/eiffel-Bws25dAs.js +0 -1
- package/dist/assets/ellipsis-DfDsMPvA.js +0 -1
- package/dist/assets/ellipsis-vertical-J1F7_WS9.js +0 -1
- package/dist/assets/elm--WkcLZ1a.js +0 -1
- package/dist/assets/empty-state-B8Cxr9nj.js +0 -1
- package/dist/assets/en-US-CCVfmA-q.js +0 -1
- package/dist/assets/erDiagram-Q2GNP2WA-DKwbR5cV.js +0 -60
- package/dist/assets/erlang-Ct30wW1o.js +0 -1
- package/dist/assets/error-banner-B9ts0mNl.js +0 -1
- package/dist/assets/error-panel-ByzTWszC.js +0 -1
- package/dist/assets/es-BYgU_srD.js +0 -5
- package/dist/assets/esm-BeuExXY6.js +0 -1
- package/dist/assets/esm-BqiVbELQ.js +0 -1
- package/dist/assets/eye-off-AK_9uodG.js +0 -1
- package/dist/assets/factor-B3fhZG6W.js +0 -1
- package/dist/assets/factor-DbSpQa-0.js +0 -1
- package/dist/assets/field-CySaBlkz.js +0 -1
- package/dist/assets/file-Ch78NKWp.js +0 -1
- package/dist/assets/file-explorer-panel-Crhfdp-q.js +0 -1
- package/dist/assets/file-plus-corner-CvAy4H5W.js +0 -1
- package/dist/assets/file-video-camera-C3wGzBnE.js +0 -1
- package/dist/assets/floating-outline-CMt2sk--.js +0 -1
- package/dist/assets/flowDiagram-NV44I4VS-uysyk7eQ.js +0 -162
- package/dist/assets/focus--DQRDy9D.js +0 -1
- package/dist/assets/form-CEIWhPlm.js +0 -2
- package/dist/assets/formats-CobRswjh.js +0 -1
- package/dist/assets/forth-BP0pXyoR.js +0 -1
- package/dist/assets/fortran-DpX_2iww.js +0 -1
- package/dist/assets/gallery-page-D5ulMArd.js +0 -1
- package/dist/assets/ganttDiagram-JELNMOA3-Dl5P96jD.js +0 -267
- package/dist/assets/gas-CiUR6fHB.js +0 -1
- package/dist/assets/gherkin-C9v48C48.js +0 -1
- package/dist/assets/gitGraph-F6HP7TQM-ULnyMCh9.js +0 -1
- package/dist/assets/gitGraphDiagram-NY62KEGX-66npzzTR.js +0 -65
- package/dist/assets/glide-data-editor-DXeMF5KH.js +0 -132
- package/dist/assets/globals-DVVNoYwt.js +0 -1
- package/dist/assets/groovy-psUnKwK-.js +0 -1
- package/dist/assets/haskell-DZHQAKUV.js +0 -1
- package/dist/assets/haxe-AOvPCF-w.js +0 -1
- package/dist/assets/home-page-DXg5FO14.js +0 -4
- package/dist/assets/hooks-B_8Fdjnr.js +0 -1
- package/dist/assets/hotkeys-BHHWjLlp.js +0 -1
- package/dist/assets/html-to-image-CVa2JapI.js +0 -2
- package/dist/assets/icons-CCHmxi8d.js +0 -1
- package/dist/assets/idl-CSA8C1ck.js +0 -1
- package/dist/assets/index-CeUwN_0i.css +0 -2
- package/dist/assets/index-DVgeLSg0.js +0 -38
- package/dist/assets/info-NVLQJR56-gsco60Pt.js +0 -1
- package/dist/assets/infoDiagram-WHAUD3N6-DneTtUPV.js +0 -2
- package/dist/assets/input-DUrq2DiR.js +0 -1
- package/dist/assets/isValid-DDt9wNjK.js +0 -1
- package/dist/assets/javascript-XMYUq5-t.js +0 -1
- package/dist/assets/journeyDiagram-XKPGCS4Q-Cpn7DMNv.js +0 -139
- package/dist/assets/julia-oON8zLDW.js +0 -1
- package/dist/assets/kanban-definition-3W4ZIXB7-Dt7HC9K8.js +0 -89
- package/dist/assets/katex-DF982Ty5.js +0 -1
- package/dist/assets/kbd-Cm6Ba9qg.js +0 -1
- package/dist/assets/kiosk-mode-BpV4owU-.js +0 -1
- package/dist/assets/label-E64zk6_7.js +0 -1
- package/dist/assets/layout-DJRMYC1a.js +0 -5
- package/dist/assets/line-BA7eTS55.js +0 -1
- package/dist/assets/linear-BWciPXnd.js +0 -1
- package/dist/assets/link-DxicfMbs.js +0 -1
- package/dist/assets/links-7AQBmdyV.js +0 -1
- package/dist/assets/links-DWIqY1l5.js +0 -1
- package/dist/assets/livescript--BxQO5G_.js +0 -1
- package/dist/assets/logs-panel-BHiVLv9Z.js +0 -1
- package/dist/assets/loro_wasm_bg-C3Vl7VMX.js +0 -1
- package/dist/assets/lua-CUyaVUOv.js +0 -1
- package/dist/assets/maps-D2_Mq1pZ.js +0 -1
- package/dist/assets/markdown-renderer-DqiLSa6X.js +0 -10
- package/dist/assets/mathematica-ONd8izyd.js +0 -1
- package/dist/assets/mbox-kjl3g9N-.js +0 -1
- package/dist/assets/menu-items-BMjcEb2j.js +0 -1
- package/dist/assets/mermaid-4DMBBIKO-DyygmIT8.js +0 -1
- package/dist/assets/mermaid-8YdCU498.js +0 -11
- package/dist/assets/mermaid-parser.core-DWPZKg0k.js +0 -4
- package/dist/assets/mhchem-CJmb5HsA.js +0 -1
- package/dist/assets/mindmap-definition-VGOIOE7T-D81SsTqK.js +0 -68
- package/dist/assets/mirc-BZ6TyuOO.js +0 -1
- package/dist/assets/mllike-Dxt2U6MQ.js +0 -1
- package/dist/assets/mode-C1hn9AVp.js +0 -1
- package/dist/assets/modelica-B9sdhdtj.js +0 -1
- package/dist/assets/mscgen-5e5Z5trn.js +0 -1
- package/dist/assets/multi-icon-jM74Rbvg.js +0 -1
- package/dist/assets/multi-map-DxdLNTBd.js +0 -1
- package/dist/assets/mumps-BUfWDrRe.js +0 -1
- package/dist/assets/name-cell-input-Cg9inB7a.js +0 -1
- package/dist/assets/nsis-Dq7T79DJ.js +0 -1
- package/dist/assets/nsis-QuE155sg.js +0 -1
- package/dist/assets/ntriples-Dqzi7kwu.js +0 -1
- package/dist/assets/number-overlay-editor-CY6Dxl9c.js +0 -9
- package/dist/assets/numbers-D7O23mOZ.js +0 -1
- package/dist/assets/octave-v4IgjFm5.js +0 -1
- package/dist/assets/ordinal-DG_POl79.js +0 -1
- package/dist/assets/outline-panel-BhI-In5K.js +0 -1
- package/dist/assets/oz-BtUsXhbc.js +0 -1
- package/dist/assets/packages-panel-xyxV0R4N.js +0 -1
- package/dist/assets/packet-BFZMPI3H-CnHEXEVi.js +0 -1
- package/dist/assets/panels-DZzenPfr.js +0 -1
- package/dist/assets/pascal-DV7k6vJ0.js +0 -1
- package/dist/assets/perl-Bz7YaP_R.js +0 -1
- package/dist/assets/pie-7BOR55EZ-C5Sp4r8f.js +0 -1
- package/dist/assets/pieDiagram-ADFJNKIX-DhavwtGF.js +0 -30
- package/dist/assets/pig-BQWmcOEQ.js +0 -1
- package/dist/assets/play-GLWQQs7F.js +0 -1
- package/dist/assets/plus-B7DF33lD.js +0 -1
- package/dist/assets/popover-CH1FzjxU.js +0 -1
- package/dist/assets/powershell-CmIFs71i.js +0 -1
- package/dist/assets/precisionRound-CU2C3Vxx.js +0 -1
- package/dist/assets/process-output-uzyiTMlC.js +0 -1
- package/dist/assets/properties-D7F2Eomu.js +0 -1
- package/dist/assets/protobuf-BMELuvny.js +0 -1
- package/dist/assets/pug-C2KbP_v3.js +0 -1
- package/dist/assets/pug-NA-6TsNe.js +0 -1
- package/dist/assets/puppet-C7MviiPj.js +0 -1
- package/dist/assets/python-BUl8uFIl.js +0 -1
- package/dist/assets/q-B5bIbNKB.js +0 -1
- package/dist/assets/quadrantDiagram-AYHSOK5B-DMBGpNwx.js +0 -7
- package/dist/assets/r-B0lU_x8o.js +0 -1
- package/dist/assets/radar-NHE76QYJ-DAElyE_r.js +0 -1
- package/dist/assets/react-vega-BL1HBBjq.js +0 -190
- package/dist/assets/react-vega-gERE3HQc.js +0 -1
- package/dist/assets/readonly-python-code-Co1fGZLh.js +0 -1
- package/dist/assets/refresh-ccw-DN_xCV6A.js +0 -1
- package/dist/assets/refresh-cw-Dx8TEWFP.js +0 -1
- package/dist/assets/renderShortcut-BckyRbYt.js +0 -1
- package/dist/assets/request-registry-C5_pVc8Y.js +0 -1
- package/dist/assets/requirementDiagram-UZGBJVZJ-Cjwe-82R.js +0 -64
- package/dist/assets/rotate-ccw-DPbJxVVN.js +0 -1
- package/dist/assets/rpm-BqQ3VFpY.js +0 -1
- package/dist/assets/ruby-AFh8QoqR.js +0 -1
- package/dist/assets/run-page-hCb-PpgP.js +0 -1
- package/dist/assets/runs-YUGrkyfE.js +0 -1
- package/dist/assets/sankeyDiagram-TZEHDZUN-5-vnnmzf.js +0 -10
- package/dist/assets/sas-CeRTI9sn.js +0 -1
- package/dist/assets/save-DZodxFnE.js +0 -1
- package/dist/assets/scheme-D0VcE_o1.js +0 -1
- package/dist/assets/scratchpad-panel-CJEXOEx5.js +0 -1
- package/dist/assets/secrets-panel-Db_JucCn.js +0 -1
- package/dist/assets/select-BVdzZKAh.js +0 -1
- package/dist/assets/sequenceDiagram-WL72ISMW-Co6SHGCI.js +0 -145
- package/dist/assets/session-BOFn9QrD.js +0 -1
- package/dist/assets/session-panel-DGXSCgf8.js +0 -1
- package/dist/assets/settings-OBbrbhij.js +0 -1
- package/dist/assets/share-ipf2hrOh.js +0 -1
- package/dist/assets/shell-BBh9RTgS.js +0 -1
- package/dist/assets/sieve-BSX0MHaT.js +0 -1
- package/dist/assets/slides-component-JYH8kck6.js +0 -1
- package/dist/assets/smalltalk-PvrpLgKW.js +0 -1
- package/dist/assets/snippets-panel-CiadqrQM.js +0 -1
- package/dist/assets/sparql-CXsmb8zq.js +0 -1
- package/dist/assets/spec-Ch0xnJY4.js +0 -1
- package/dist/assets/spinner-DA8-7wQv.js +0 -1
- package/dist/assets/square-CuJ72M8f.js +0 -1
- package/dist/assets/square-function-B6mgCeFJ.js +0 -1
- package/dist/assets/src-CvyFXpBy.js +0 -1
- package/dist/assets/state-AxOl5_1Q.js +0 -1
- package/dist/assets/state-BrMfOLl1.js +0 -1
- package/dist/assets/stateDiagram-FKZM4ZOC-Bhirefzg.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-CJnByxam.js +0 -1
- package/dist/assets/step-CVy5FnKg.js +0 -1
- package/dist/assets/stex-Dn4qnyVB.js +0 -1
- package/dist/assets/stylus-B60bUBy2.js +0 -1
- package/dist/assets/swift-BwnHGvoR.js +0 -1
- package/dist/assets/switch-Vbll2pdD.js +0 -1
- package/dist/assets/table-CfDbAm78.js +0 -1
- package/dist/assets/table-DScsXgJW.js +0 -1
- package/dist/assets/tcl-Bj8phnhq.js +0 -1
- package/dist/assets/terminal-CjhjkmtR.js +0 -62
- package/dist/assets/textarea-BmPX99zz.js +0 -1
- package/dist/assets/textile-WPCmEeGb.js +0 -1
- package/dist/assets/time-DkuObi5n.js +0 -1
- package/dist/assets/timeline-definition-IT6M3QCI-C5mDI6KK.js +0 -61
- package/dist/assets/toDate-DETS9bBd.js +0 -1
- package/dist/assets/toggle-zVW4FXNz.js +0 -1
- package/dist/assets/toml-Cdfp0vaG.js +0 -1
- package/dist/assets/tooltip-CMQz28hC.js +0 -1
- package/dist/assets/tooltip-DxKBXCGp.js +0 -61
- package/dist/assets/tracing-B9dnDRot.js +0 -1
- package/dist/assets/tracing-panel-eneKK8b3.js +0 -2
- package/dist/assets/trash-2-DDsWrxuJ.js +0 -1
- package/dist/assets/trash-DCF6Krvi.js +0 -1
- package/dist/assets/tree-B--q0-tu.js +0 -3
- package/dist/assets/treemap-KMMF4GRG-Bf9yeA5X.js +0 -1
- package/dist/assets/triangle-alert-CebQ7XwA.js +0 -1
- package/dist/assets/troff-D4suUzlg.js +0 -1
- package/dist/assets/ttcn-CvD_6RGm.js +0 -1
- package/dist/assets/ttcn-cfg-BX59kgnW.js +0 -1
- package/dist/assets/turtle-midFOTTV.js +0 -1
- package/dist/assets/types-C1UhS3qM.js +0 -1
- package/dist/assets/types-Dv1-Phf0.js +0 -17
- package/dist/assets/useAddCell-DKJ0NHXX.js +0 -1
- package/dist/assets/useBoolean-Ck_unDZw.js +0 -1
- package/dist/assets/useCellActionButton-DhJ0t-YB.js +0 -1
- package/dist/assets/useDateFormatter-CqhdUl2n.js +0 -1
- package/dist/assets/useDeleteCell-CRLMdzIa.js +0 -1
- package/dist/assets/useDependencyPanelTab-BbQF7hN4.js +0 -1
- package/dist/assets/useEventListener-Cb-RVVEn.js +0 -1
- package/dist/assets/useIframeCapabilities-B_pQb20b.js +0 -1
- package/dist/assets/useInstallPackage-D4fX0Ee_.js +0 -1
- package/dist/assets/useInterval-B-PjgTm9.js +0 -1
- package/dist/assets/useLifecycle-ClI_npeg.js +0 -1
- package/dist/assets/useNotebookActions-DYS32x5Q.js +0 -1
- package/dist/assets/useNumberFormatter-Db6Vjve5.js +0 -1
- package/dist/assets/usePress-C__vuri5.js +0 -7
- package/dist/assets/useRunCells-DrrCdLgV.js +0 -1
- package/dist/assets/useSplitCell-C0BNDhtt.js +0 -1
- package/dist/assets/useTheme-DQozhcp1.js +0 -1
- package/dist/assets/utilities.esm-Di0IV3nO.js +0 -3
- package/dist/assets/utils-YqBXNpsM.js +0 -1
- package/dist/assets/vb-CSNH0UHQ.js +0 -1
- package/dist/assets/vbscript-DTgXfl5y.js +0 -1
- package/dist/assets/vega-component-BxXt5fsA.js +0 -1
- package/dist/assets/vega-loader.browser-DXARUlxo.js +0 -6
- package/dist/assets/velocity-CKgzALh9.js +0 -1
- package/dist/assets/verilog-NDqaS3bW.js +0 -1
- package/dist/assets/vhdl-BibQgFNM.js +0 -1
- package/dist/assets/webidl-BjqVurO-.js +0 -1
- package/dist/assets/workflow-BphwJiK3.js +0 -1
- package/dist/assets/write-secret-modal-1fGKmd5H.js +0 -1
- package/dist/assets/x-ZP5cObgf.js +0 -1
- package/dist/assets/xquery-DQLXMdMd.js +0 -1
- package/dist/assets/xychartDiagram-PRI3JC2R-BhdCuImZ.js +0 -7
- package/dist/assets/yacas-DlkZlCdY.js +0 -1
- package/dist/assets/youtube--tNPNRy6.js +0 -1
- package/dist/assets/z80-YKwwCjvZ.js +0 -1
- /package/dist/assets/{Deferred-DxQeE5uh.js → Deferred-C3YDyEAR.js} +0 -0
- /package/dist/assets/{SSRProvider-BIDQNg9Q.js → SSRProvider-CkFAAHXw.js} +0 -0
- /package/dist/assets/{apl-DHQPYmx2.js → apl-T0uH_RjM.js} +0 -0
- /package/dist/assets/{array-Cf4PUXPA.js → array-BCwZq3ts.js} +0 -0
- /package/dist/assets/{asciiarmor-fnQAw8T8.js → asciiarmor-D3ol7c2G.js} +0 -0
- /package/dist/assets/{asn1-5lb7I37s.js → asn1-DA-fXXsk.js} +0 -0
- /package/dist/assets/{asterisk-Cy-53Fu-.js → asterisk-B04IJwAt.js} +0 -0
- /package/dist/assets/{blob-D-eV0cU3.js → blob-CTort_or.js} +0 -0
- /package/dist/assets/{brainfuck-D30bRgvC.js → brainfuck-exn1QR7H.js} +0 -0
- /package/dist/assets/{bundle.esm-i_UbZC0w.js → bundle.esm-CvMga-X6.js} +0 -0
- /package/dist/assets/{chunk-XAJISQIX-TwS9jXHm.js → chunk-XAJISQIX-0gvwv13B.js} +0 -0
- /package/dist/assets/{cjs-CH5Rj0g8.js → cjs-BFk44HyO.js} +0 -0
- /package/dist/assets/{click-outside-container-BXzp0MYr.js → click-outside-container-ChOZeHlm.js} +0 -0
- /package/dist/assets/{clike-jZeb2kFn.js → clike-BK27e5qn.js} +0 -0
- /package/dist/assets/{clojure-C0pkR8m2.js → clojure-Df1U5nhC.js} +0 -0
- /package/dist/assets/{clsx-D8GwTfvk.js → clsx-nlQpVU_5.js} +0 -0
- /package/dist/assets/{cmake-DlvFtk_M.js → cmake-DrCf0yvp.js} +0 -0
- /package/dist/assets/{cobol-C_yb45mr.js → cobol-BWxHqof4.js} +0 -0
- /package/dist/assets/{coffeescript-DBK0AeMT.js → coffeescript-nKvg8y_U.js} +0 -0
- /package/dist/assets/{colors-DUsH-HF1.js → colors-CI3VyX7X.js} +0 -0
- /package/dist/assets/{common-keywords-CU-S2Vqm.js → common-keywords-D6ImdZX8.js} +0 -0
- /package/dist/assets/{commonlisp-Bo8hOdn-.js → commonlisp-Dm562cBV.js} +0 -0
- /package/dist/assets/{createLucideIcon-BCdY6lG5.js → createLucideIcon-C5NDK5NL.js} +0 -0
- /package/dist/assets/{crystal-DYrQEMVi.js → crystal-CrCmK2Cb.js} +0 -0
- /package/dist/assets/{css-zh47N2UC.js → css-jpfGFPDE.js} +0 -0
- /package/dist/assets/{cypher-BWPAHm69.js → cypher-RQ5M28al.js} +0 -0
- /package/dist/assets/{cytoscape.esm-BihqZ2_-.js → cytoscape.esm-BauVghWH.js} +0 -0
- /package/dist/assets/{d-CMuL95tt.js → d-CNQ_nPqU.js} +0 -0
- /package/dist/assets/{defaultLocale-BLne0bXb.js → defaultLocale-BgG6rTtO.js} +0 -0
- /package/dist/assets/{defaultLocale-JieDVWC_.js → defaultLocale-YxeC1tYk.js} +0 -0
- /package/dist/assets/{diff-oor_HZ51.js → diff-DOODcY7A.js} +0 -0
- /package/dist/assets/{dist-DxxvVPQH.js → dist-C1VXabOr.js} +0 -0
- /package/dist/assets/{dist-DxWb3aMV.js → dist-m6mzfYjs.js} +0 -0
- /package/dist/assets/{dtd-Fe_Eikw6.js → dtd-CRYKjxdR.js} +0 -0
- /package/dist/assets/{duckdb-keywords-CR9f4wu5.js → duckdb-keywords-5i8us9ML.js} +0 -0
- /package/dist/assets/{dylan-DjUZAjRK.js → dylan-Bg0sO2y3.js} +0 -0
- /package/dist/assets/{ebnf-BdwTqLUx.js → ebnf--2SLsnbd.js} +0 -0
- /package/dist/assets/{ecl-qgyT1LqI.js → ecl-DaBeV7OZ.js} +0 -0
- /package/dist/assets/{eiffel-Dgulx8rf.js → eiffel-BtJc6fqQ.js} +0 -0
- /package/dist/assets/{elm-BvFY4GJb.js → elm-D9Rly7Qq.js} +0 -0
- /package/dist/assets/{emotion-is-prop-valid.esm-C59xfSYt.js → emotion-is-prop-valid.esm-C4tLsq6-.js} +0 -0
- /package/dist/assets/{erlang-Ba0XOLlj.js → erlang-FZMRuv-7.js} +0 -0
- /package/dist/assets/{errors-TZBmrJmc.js → errors-CZb6hI2x.js} +0 -0
- /package/dist/assets/{esm-vpVfqVb3.js → esm-CMMkDitC.js} +0 -0
- /package/dist/assets/{extends-BiFDv3jB.js → extends-C9xCLRj9.js} +0 -0
- /package/dist/assets/{fcl-BFWIADMy.js → fcl-CcJxrJDr.js} +0 -0
- /package/dist/assets/{forth-gbBFxz8f.js → forth-C6jh4lHA.js} +0 -0
- /package/dist/assets/{fortran-CXijpPbh.js → fortran-DuxTe5qi.js} +0 -0
- /package/dist/assets/{gas-CnHGSLCd.js → gas-D7RWbiQ0.js} +0 -0
- /package/dist/assets/{gherkin-DfEZpSxY.js → gherkin-DV4l4nlf.js} +0 -0
- /package/dist/assets/{groovy-9JiNA9gq.js → groovy-Ij7mXzwd.js} +0 -0
- /package/dist/assets/{haskell-CKr_RZFK.js → haskell-BT_ZNgUJ.js} +0 -0
- /package/dist/assets/{haxe-DsAAHfaR.js → haxe-DYYwGmM8.js} +0 -0
- /package/dist/assets/{http-CgzOAOXj.js → http-BBXW5Cu0.js} +0 -0
- /package/dist/assets/{icon-32x32-DH9kM4Sh.js → icon-32x32-BRWY2pQ7.js} +0 -0
- /package/dist/assets/{idl-Djz72z1a.js → idl-CjBvIccU.js} +0 -0
- /package/dist/assets/{init-DRQmrFIb.js → init-DE_uL9Ns.js} +0 -0
- /package/dist/assets/{javascript-CsBr0q2-.js → javascript-DQz7szA1.js} +0 -0
- /package/dist/assets/{jsx-runtime-ZmTK25f3.js → jsx-runtime-BttUhiRM.js} +0 -0
- /package/dist/assets/{julia-BCYfl68O.js → julia-U0NSUEwm.js} +0 -0
- /package/dist/assets/{katex-CDLTCvjQ.js → katex-bTFStUqL.js} +0 -0
- /package/dist/assets/{livescript-BEw7FNJP.js → livescript-D7jeebX7.js} +0 -0
- /package/dist/assets/{loro_wasm_bg-DzFUi5p_.js → loro_wasm_bg-CDlYurK8.js} +0 -0
- /package/dist/assets/{lua-DqxHXOsz.js → lua-CT4vrRvN.js} +0 -0
- /package/dist/assets/{main-U5Goe76G.js → main-Drs5hZkn.js} +0 -0
- /package/dist/assets/{math-BJjKGmt3.js → math-Bf0RgaKx.js} +0 -0
- /package/dist/assets/{mathematica-Do-octY0.js → mathematica-DmzlinOc.js} +0 -0
- /package/dist/assets/{mbox-VgrgGytk.js → mbox-DYDL20A1.js} +0 -0
- /package/dist/assets/{mirc-DkD5mNIp.js → mirc-6LiBC6Dw.js} +0 -0
- /package/dist/assets/{mllike-C8Ah4kKN.js → mllike-orSu1SHG.js} +0 -0
- /package/dist/assets/{modelica-2q7w6nLE.js → modelica-BsibU-7c.js} +0 -0
- /package/dist/assets/{mscgen-BRqvO7u4.js → mscgen-vX4NsSXf.js} +0 -0
- /package/dist/assets/{mumps-CjtiTT1a.js → mumps-DIZYQE11.js} +0 -0
- /package/dist/assets/{nginx-CFpObAqg.js → nginx-CiiHaY6Q.js} +0 -0
- /package/dist/assets/{node-sql-parser-UQ9Ur_LP.js → node-sql-parser-Bzh-sm1v.js} +0 -0
- /package/dist/assets/{ntriples-4lauqsM6.js → ntriples-CwlUIE0o.js} +0 -0
- /package/dist/assets/{objectWithoutPropertiesLoose-DfWeGRFv.js → objectWithoutPropertiesLoose-B0M-wzEz.js} +0 -0
- /package/dist/assets/{octave-A2kFK0nR.js → octave-BWtN_wao.js} +0 -0
- /package/dist/assets/{once-Bul8mtFs.js → once-BF7GI0Uf.js} +0 -0
- /package/dist/assets/{oz-CvXDMSbl.js → oz-CJMVKlqL.js} +0 -0
- /package/dist/assets/{panel-context-HhzMRtZm.js → panel-context-Dt_6WOwy.js} +0 -0
- /package/dist/assets/{pascal-6Jinj26u.js → pascal-C9rPtth-.js} +0 -0
- /package/dist/assets/{path-D7fidI_g.js → path-LDcaQ64B.js} +0 -0
- /package/dist/assets/{paths-BzSgteR-.js → paths-gUC_uwid.js} +0 -0
- /package/dist/assets/{perl-CXauYQdN.js → perl-CF7pKLbl.js} +0 -0
- /package/dist/assets/{pig-Dl0QLQI6.js → pig-Bu0nn8JT.js} +0 -0
- /package/dist/assets/{powershell-6bdy_rHW.js → powershell-Bzwpi8yQ.js} +0 -0
- /package/dist/assets/{preload-helper-D2MJg03u.js → preload-helper-reX6CfMN.js} +0 -0
- /package/dist/assets/{prop-types-DaaA-ptl.js → prop-types-dQH5VuL1.js} +0 -0
- /package/dist/assets/{properties-p1rx3aF7.js → properties-Cfh_Lj0j.js} +0 -0
- /package/dist/assets/{protobuf-BZ6p9Xh_.js → protobuf-Vz3fs9Hb.js} +0 -0
- /package/dist/assets/{puppet-CjdIRV7D.js → puppet-JwSHf4DX.js} +0 -0
- /package/dist/assets/{purify.es-DZrAQFIu.js → purify.es-CPiHmTAE.js} +0 -0
- /package/dist/assets/{python-uzyJYIWU.js → python-BRHQZrcc.js} +0 -0
- /package/dist/assets/{q-CfD3i9uI.js → q-DWFQ7YI_.js} +0 -0
- /package/dist/assets/{r-JyJdYHQB.js → r-DHkTNFL2.js} +0 -0
- /package/dist/assets/{range-1DwpgXvM.js → range-CRQCYhPr.js} +0 -0
- /package/dist/assets/{react-resizable-panels.browser.esm-Da3ksQXL.js → react-resizable-panels.browser.esm-DzNEmH2W.js} +0 -0
- /package/dist/assets/{requests-De5yEBc8.js → requests-BBq_BAOb.js} +0 -0
- /package/dist/assets/{requests-B4FYHTZl.js → requests-DqPjMMrg.js} +0 -0
- /package/dist/assets/{rpm-DuGPfDyX.js → rpm-zbaZz_dk.js} +0 -0
- /package/dist/assets/{ruby-CA1TzLxZ.js → ruby-COvM5Bj_.js} +0 -0
- /package/dist/assets/{sas-BJPWZC7M.js → sas-Be8P6y_s.js} +0 -0
- /package/dist/assets/{scheme-IRagAY3r.js → scheme-B9Zors0b.js} +0 -0
- /package/dist/assets/{shell-BVpF3W_J.js → shell-CaaQwZ-W.js} +0 -0
- /package/dist/assets/{sieve-BSfPMeZl.js → sieve-CdflT_3W.js} +0 -0
- /package/dist/assets/{simple-mode-BmS_AmGQ.js → simple-mode-BJAT_N3M.js} +0 -0
- /package/dist/assets/{smalltalk-CkHVehky.js → smalltalk-CRO88y3z.js} +0 -0
- /package/dist/assets/{solr-BkyoAXqg.js → solr-DYYuHZ7Q.js} +0 -0
- /package/dist/assets/{sparql-CmKKjr-f.js → sparql-DEker8ZS.js} +0 -0
- /package/dist/assets/{spreadsheet-7FZkhkVo.js → spreadsheet-hVThRh5Z.js} +0 -0
- /package/dist/assets/{sql-BNnXxKXA.js → sql-DG1AJQLP.js} +0 -0
- /package/dist/assets/{src-CmKhyEBC.js → src-CsZby044.js} +0 -0
- /package/dist/assets/{stex-jWatZkll.js → stex-iJ-Q_35P.js} +0 -0
- /package/dist/assets/{stylus-D28PuRsm.js → stylus-DAJwnVOa.js} +0 -0
- /package/dist/assets/{swift-D-jfpPuv.js → swift-D5F-FU3-.js} +0 -0
- /package/dist/assets/{tcl-BrQdCDVA.js → tcl-DirNbhYm.js} +0 -0
- /package/dist/assets/{textile-DXBc8HMq.js → textile-DhHo4rKl.js} +0 -0
- /package/dist/assets/{tiddlywiki-DE5lnTl3.js → tiddlywiki-Dc8c_QaF.js} +0 -0
- /package/dist/assets/{tiki-Dt9oCY2i.js → tiki-CwGnGueS.js} +0 -0
- /package/dist/assets/{timer-B6DpdVnC.js → timer-BgiWPhV9.js} +0 -0
- /package/dist/assets/{toml-ClSouHPE.js → toml-CrP9HWVu.js} +0 -0
- /package/dist/assets/{treemap-CZF0Enj1.js → treemap-BKxvGXqJ.js} +0 -0
- /package/dist/assets/{troff-BGDyQn9x.js → troff-BWD1WiE0.js} +0 -0
- /package/dist/assets/{ttcn-De1OdISX.js → ttcn-CQzcRj0D.js} +0 -0
- /package/dist/assets/{ttcn-cfg-CQMSrhCz.js → ttcn-cfg-jzTcqwRW.js} +0 -0
- /package/dist/assets/{turtle-DNhfxysg.js → turtle-BAqH2D2z.js} +0 -0
- /package/dist/assets/{types-iYXk7c05.js → types-Cpe-qFT-.js} +0 -0
- /package/dist/assets/{use-toast-BDYuj3zG.js → use-toast-CAzHts2e.js} +0 -0
- /package/dist/assets/{useAsyncData-BMGLSTg8.js → useAsyncData-BwpzRwt1.js} +0 -0
- /package/dist/assets/{useDebounce-7iEVSqwM.js → useDebounce-WGQaRdB8.js} +0 -0
- /package/dist/assets/{useDeepCompareMemoize-5OUgerQ3.js → useDeepCompareMemoize-BharaTWq.js} +0 -0
- /package/dist/assets/{useNonce-CS26E0hA.js → useNonce-CGCAoh-I.js} +0 -0
- /package/dist/assets/{uuid-DXdzqzcr.js → uuid-BW_8PQB5.js} +0 -0
- /package/dist/assets/{vb-BX7-Md9G.js → vb-CrUpzy4g.js} +0 -0
- /package/dist/assets/{vbscript-DNMzJOTU.js → vbscript-DEuHZ0Y0.js} +0 -0
- /package/dist/assets/{velocity-viirwPm7.js → velocity-D99sTvXl.js} +0 -0
- /package/dist/assets/{verilog-CZguTLBV.js → verilog-XWBMMjwd.js} +0 -0
- /package/dist/assets/{vhdl-CAEhCBOl.js → vhdl-BAGmVXDV.js} +0 -0
- /package/dist/assets/{web-vitals-CUbDLLN1.js → web-vitals-BV7RJGkj.js} +0 -0
- /package/dist/assets/{webidl-BNJg_7gX.js → webidl-xagG_7hd.js} +0 -0
- /package/dist/assets/{ws-DcVtI9Wj.js → ws-BZQmQxZ7.js} +0 -0
- /package/dist/assets/{xquery-CGV_r322.js → xquery-B8Mguhly.js} +0 -0
- /package/dist/assets/{yacas-uRzw7z7m.js → yacas-XW2NxGKw.js} +0 -0
- /package/dist/assets/{z80-CBK8t-9T.js → z80-DhICfTcL.js} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var lr=Object.defineProperty;var St=y=>{throw TypeError(y)};var ur=(y,b,_)=>b in y?lr(y,b,{enumerable:!0,configurable:!0,writable:!0,value:_}):y[b]=_;var a=(y,b,_)=>ur(y,typeof b!="symbol"?b+"":b,_),qe=(y,b,_)=>b.has(y)||St("Cannot "+_);var l=(y,b,_)=>(qe(y,b,"read from private field"),_?_.call(y):b.get(y)),k=(y,b,_)=>b.has(y)?St("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(y):b.set(y,_),F=(y,b,_,ce)=>(qe(y,b,"write to private field"),ce?ce.call(y,_):b.set(y,_),_),$=(y,b,_)=>(qe(y,b,"access private method"),_);import{s as kt}from"./chunk-LvLJmgfZ.js";import{i as ie,l as we,p as V,u as dr}from"./useEvent-BhXAndur.js";import{t as cr}from"./react-Bj1aDYRI.js";import{Kr as fr,Ur as hr,Yr as mr,b as pr,ei as gr,mn as yr,qr as br,ti as ae,y as wr,__tla as vr}from"./cells-Botr-aL3.js";import{t as Ft}from"./compiler-runtime-B3qBwwSJ.js";import{t as xr}from"./get-6uJrSKbw.js";import{t as Er}from"./assertNever-CBU83Y6o.js";import{t as _r}from"./debounce-B3mjKxHe.js";import{t as Cr}from"./_baseSet-5Rdwpmr3.js";import{d as g,p as R}from"./hotkeys-BHHWjLlp.js";import{t as Rr}from"./invariant-CAG_dYON.js";import{S as Sr}from"./utils-YqBXNpsM.js";import{S as kr,n as Fr}from"./config-Q0O7_stz.js";import{a as Mr}from"./switch-Vbll2pdD.js";import{n as Mt}from"./globals-DVVNoYwt.js";import{t as Nt}from"./ErrorBoundary-B9Ifj8Jf.js";import{t as Nr}from"./jsx-runtime-ZmTK25f3.js";import{t as qr}from"./button-CZ3Cs4qb.js";import{t as Pr}from"./cn-BKtXLv3a.js";import{Q as jr,X as qt,Y as Pe,__tla as Lr}from"./JsonOutput-ChH_9MPt.js";import{t as Ar}from"./createReducer-B3rBsy4P.js";import{t as je}from"./requests-B4FYHTZl.js";import{t as Pt}from"./createLucideIcon-BCdY6lG5.js";import{t as Ir}from"./x-ZP5cObgf.js";import{a as jt,l as Tr,r as Lt}from"./markdown-renderer-DqiLSa6X.js";import{t as Ur}from"./DeferredRequestRegistry-CMf25YiV.js";import{t as Or}from"./preload-helper-D2MJg03u.js";import{t as At}from"./Deferred-DxQeE5uh.js";import{t as It}from"./uuid-DXdzqzcr.js";import{t as Wr}from"./use-toast-BDYuj3zG.js";import{t as Tt}from"./tooltip-CMQz28hC.js";import{t as Ut}from"./mode-C1hn9AVp.js";import{n as zr,r as Dr,t as Br}from"./share-ipf2hrOh.js";import{t as Hr}from"./blob-D-eV0cU3.js";import{r as $r,t as Vr}from"./react-resizable-panels.browser.esm-Da3ksQXL.js";import{t as Ot}from"./toggle-zVW4FXNz.js";let Le,Wt,Ae,zt,Ie,Te,Dt,Ue,Bt,Oe,Ht,$t,Vt,Xt,Yt,We,Qt,Kt,ze,Gt,Jt,ve,De,Zt,en,Be,oe,tn,nn,rn,sn,He,xe,Ee,$e,Ve,Xe,an,on,ln,Ye,Qe,Ke,le,un,dn,cn,fn,hn,ue,mn,Ge,pn,G,Je,_e,de,gn,Ce,yn,bn,wn,Ze,Xr=Promise.all([(()=>{try{return vr}catch{}})(),(()=>{try{return Lr}catch{}})()]).then(async()=>{var X,ge,xn,xt,U,Y,I,Et,W,_t,O,ne,J,Re,Ct,Rt,ye,z,D,Z,M,Q,B,En,_n,Cn,be;function y(t,e,n){return t==null?t:Cr(t,e,n)}let b,_;le=y,b=Pt("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]),_=Pt("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);function ce(t){return{all:t||(t=new Map),on:function(e,n){var r=t.get(e);r?r.push(n):t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&(n?r.splice(r.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var r=t.get(e);r&&r.slice().map(function(s){s(n)}),(r=t.get("*"))&&r.slice().map(function(s){s(e,n)})}}}var c=kt(cr(),1),Se=(0,c.createContext)(null),Sn=t=>{let{controller:e}=(0,c.useContext)(Se),n=c.useRef(Symbol("fill"));return(0,c.useEffect)(()=>(e.mount({name:t.name,ref:n.current,children:t.children}),()=>{e.unmount({name:t.name,ref:n.current})}),[]),(0,c.useEffect)(()=>{e.update({name:t.name,ref:n.current,children:t.children})}),null},kn=Object.defineProperty,Fn=(t,e,n)=>e in t?kn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tt=(t,e,n)=>(Fn(t,typeof e=="symbol"?e:e+"",n),n),nt=console,Mn=class{constructor(t){tt(this,"_bus"),tt(this,"_db"),this._bus=t,this.handleFillMount=this.handleFillMount.bind(this),this.handleFillUpdated=this.handleFillUpdated.bind(this),this.handleFillUnmount=this.handleFillUnmount.bind(this),this._db={byName:new Map,byFill:new Map}}mount(){this._bus.on("fill-mount",this.handleFillMount),this._bus.on("fill-updated",this.handleFillUpdated),this._bus.on("fill-unmount",this.handleFillUnmount)}unmount(){this._bus.off("fill-mount",this.handleFillMount),this._bus.off("fill-updated",this.handleFillUpdated),this._bus.off("fill-unmount",this.handleFillUnmount)}handleFillMount({fill:t}){let e=c.Children.toArray(t.children),n=t.name,r={fill:t,children:e,name:n},s=this._db.byName.get(n);s?(s.components.push(r),s.listeners.forEach(i=>i([...s.components]))):this._db.byName.set(n,{listeners:[],components:[r]}),this._db.byFill.set(t.ref,r)}handleFillUpdated({fill:t}){let e=this._db.byFill.get(t.ref),n=c.Children.toArray(t.children);if(e){e.children=n;let r=this._db.byName.get(e.name);if(r)r.listeners.forEach(s=>s([...r.components]));else throw Error("registration was expected to be defined")}else{nt.error("[handleFillUpdated] component was expected to be defined");return}}handleFillUnmount({fill:t}){let e=this._db.byFill.get(t.ref);if(!e){nt.error("[handleFillUnmount] component was expected to be defined");return}let n=e.name,r=this._db.byName.get(n);if(!r)throw Error("registration was expected to be defined");r.components=r.components.filter(s=>s!==e),this._db.byFill.delete(t.ref),r.listeners.length===0&&r.components.length===0?this._db.byName.delete(n):r.listeners.forEach(s=>s([...r.components]))}onComponentsChange(t,e){let n=this._db.byName.get(t);n?(n.listeners.push(e),e(n.components)):(this._db.byName.set(t,{listeners:[e],components:[]}),e([]))}getFillsByName(t){let e=this._db.byName.get(t);return e?e.components.map(n=>n.fill):[]}getChildrenByName(t){let e=this._db.byName.get(t);return e?e.components.map(n=>n.children).reduce((n,r)=>n.concat(r),[]):[]}removeOnComponentsChange(t,e){let n=this._db.byName.get(t);if(!n)throw Error("expected registration to be defined");let r=n.listeners;r.splice(r.indexOf(e),1)}},Nn=Object.defineProperty,qn=(t,e,n)=>e in t?Nn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Pn=(t,e,n)=>(qn(t,typeof e=="symbol"?e:e+"",n),n),rt=class{constructor(){Pn(this,"bus",ce())}mount(t){this.bus.emit("fill-mount",{fill:t})}unmount(t){this.bus.emit("fill-unmount",{fill:t})}update(t){this.bus.emit("fill-updated",{fill:t})}};function jn(t){let e=t||new rt;return{controller:e,manager:new Mn(e.bus)}}hn=({controller:t,children:e})=>{let[n]=c.useState(()=>{let r=jn(t);return r.manager.mount(),r});return c.useEffect(()=>()=>{n.manager.unmount()},[]),c.createElement(Se.Provider,{value:n},e)},xe=function(t,e){let[n,r]=(0,c.useState)([]),{manager:s}=(0,c.useContext)(Se);return(0,c.useEffect)(()=>(s.onComponentsChange(t,r),()=>{s.removeOnComponentsChange(t,r)}),[t]),n.flatMap((i,d)=>{let{children:u}=i;return u.map((p,w)=>{if(typeof p=="number"||typeof p=="string")throw Error("Only element children will work here");return c.cloneElement(p,{key:d.toString()+w.toString(),...e})})})},Je=t=>{let e=xe(t.name,t.childProps);if(typeof t.children=="function"){let n=t.children(e);if(c.isValidElement(n)||n===null)return n;throw Error("Slot rendered with function must return a valid React Element.")}return e},pn=V(null);var{valueAtom:Ln,useActions:An}=Ar(()=>({banners:[]}),{addBanner:(t,e)=>({...t,banners:[...t.banners,{...e,id:It()}]}),removeBanner:(t,e)=>({...t,banners:t.banners.filter(n=>n.id!==e)}),clearBanners:t=>({...t,banners:[]})});ln=()=>dr(Ln),rn=function(){return An()},cn=new rt,de={SIDEBAR:"sidebar",CONTEXT_AWARE_PANEL:"context-aware-panel"};let st,it,at;st=class{constructor(){a(this,"subscriptions",new Map)}addSubscription(t,e){var n;this.subscriptions.has(t)||this.subscriptions.set(t,new Set),(n=this.subscriptions.get(t))==null||n.add(e)}removeSubscription(t,e){var n;(n=this.subscriptions.get(t))==null||n.delete(e)}notify(t,e){for(let n of this.subscriptions.get(t)??[])n(e)}},$e=class et{constructor(e){a(this,"subscriptions",new st);this.producer=e}static withProducerCallback(e){return new et(e)}static empty(){return new et}startProducer(){this.producer&&this.producer(e=>{this.subscriptions.notify("message",e)})}connect(){return new Promise(e=>setTimeout(e,0)).then(()=>{this.subscriptions.notify("open",new Event("open"))})}get readyState(){return WebSocket.OPEN}reconnect(e,n){this.close(),this.connect()}close(){this.subscriptions.notify("close",new Event("close"))}send(e){return this.subscriptions.notify("message",new MessageEvent("message",{data:e})),Promise.resolve()}addEventListener(e,n){this.subscriptions.addSubscription(e,n),e==="open"&&n(new Event("open")),e==="message"&&this.startProducer()}removeEventListener(e,n){this.subscriptions.removeSubscription(e,n)}},it=1e10,at=1e3;function fe(t,e){let n=t.map(r=>`"${r}"`).join(", ");return Error(`This RPC instance cannot ${e} because the transport did not provide one or more of these methods: ${n}`)}function In(t={}){let e={};function n(o){e=o}let r={};function s(o){var m;r.unregisterHandler&&r.unregisterHandler(),r=o,(m=r.registerHandler)==null||m.call(r,se)}let i;function d(o){if(typeof o=="function"){i=o;return}i=(m,x)=>{let f=o[m];if(f)return f(x);let v=o._;if(!v)throw Error(`The requested method has no handler: ${m}`);return v(m,x)}}let{maxRequestTime:u=at}=t;t.transport&&s(t.transport),t.requestHandler&&d(t.requestHandler),t._debugHooks&&n(t._debugHooks);let p=0;function w(){return p<=it?++p:p=0}let C=new Map,E=new Map;function N(o,...m){let x=m[0];return new Promise((f,v)=>{var te;if(!r.send)throw fe(["send"],"make requests");let T=w(),K={type:"request",id:T,method:o,params:x};C.set(T,{resolve:f,reject:v}),u!==1/0&&E.set(T,setTimeout(()=>{E.delete(T),v(Error("RPC request timed out."))},u)),(te=e.onSend)==null||te.call(e,K),r.send(K)})}let q=new Proxy(N,{get:(o,m,x)=>m in o?Reflect.get(o,m,x):f=>N(m,f)}),P=q;function j(o,...m){var v;let x=m[0];if(!r.send)throw fe(["send"],"send messages");let f={type:"message",id:o,payload:x};(v=e.onSend)==null||v.call(e,f),r.send(f)}let L=new Proxy(j,{get:(o,m,x)=>m in o?Reflect.get(o,m,x):f=>j(m,f)}),S=L,A=new Map,H=new Set;function ee(o,m){var x;if(!r.registerHandler)throw fe(["registerHandler"],"register message listeners");if(o==="*"){H.add(m);return}A.has(o)||A.set(o,new Set),(x=A.get(o))==null||x.add(m)}function re(o,m){var x,f;if(o==="*"){H.delete(m);return}(x=A.get(o))==null||x.delete(m),((f=A.get(o))==null?void 0:f.size)===0&&A.delete(o)}async function se(o){var m,x;if((m=e.onReceive)==null||m.call(e,o),!("type"in o))throw Error("Message does not contain a type.");if(o.type==="request"){if(!r.send||!i)throw fe(["send","requestHandler"],"handle requests");let{id:f,method:v,params:T}=o,K;try{K={type:"response",id:f,success:!0,payload:await i(v,T)}}catch(te){if(!(te instanceof Error))throw te;K={type:"response",id:f,success:!1,error:te.message}}(x=e.onSend)==null||x.call(e,K),r.send(K);return}if(o.type==="response"){let f=E.get(o.id);f!=null&&clearTimeout(f);let{resolve:v,reject:T}=C.get(o.id)??{};o.success?v==null||v(o.payload):T==null||T(Error(o.error));return}if(o.type==="message"){for(let v of H)v(o.id,o.payload);let f=A.get(o.id);if(!f)return;for(let v of f)v(o.payload);return}throw Error(`Unexpected RPC message type: ${o.type}`)}return{setTransport:s,setRequestHandler:d,request:q,requestProxy:P,send:L,sendProxy:S,addMessageListener:ee,removeMessageListener:re,proxy:{send:S,request:P},_setDebugHooks:n}}function Tn(t){return In(t)}var ot="[transport-id]";function Un(t,e){let{transportId:n}=e;return n==null?t:{[ot]:n,data:t}}function On(t,e){let{transportId:n,filter:r}=e,s=r==null?void 0:r();if(n!=null&&s!=null)throw Error("Cannot use both `transportId` and `filter` at the same time");let i=t;if(n){if(t[ot]!==n)return[!0];i=t.data}return s===!1?[!0]:[!1,i]}function Wn(t,e={}){let{transportId:n,filter:r,remotePort:s}=e,i=t,d=s??t,u;return{send(p){d.postMessage(Un(p,{transportId:n}))},registerHandler(p){u=w=>{let C=w.data,[E,N]=On(C,{transportId:n,filter:()=>r==null?void 0:r(w)});E||p(N)},i.addEventListener("message",u)},unregisterHandler(){u&&i.removeEventListener("message",u)}}}function zn(t,e){return Wn(t,e)}function lt(t){return Tn({transport:zn(t,{transportId:"marimo-transport"}),maxRequestTime:2e4,_debugHooks:{onSend:e=>{g.debug("[rpc] Parent -> Worker",e)},onReceive:e=>{g.debug("[rpc] Worker -> Parent",e)}}})}Le=V("Initializing..."),Kt=V(t=>{let e=t(wr),n=Object.values(e.cellRuntime);return n.some(r=>!Tr(r.output))?!0:n.every(r=>r.status==="idle")});var ut=zr(),dt="marimo:file",ct=new hr(null);const Dn={saveFile(t){ct.set(dt,t)},readFile(){return ct.get(dt)}};var Bn={saveFile(t){ae.setCodeForHash((0,ut.compressToEncodedURIComponent)(t))},readFile(){let t=ae.getCodeFromHash()||ae.getCodeFromSearchParam();return t?(0,ut.decompressFromEncodedURIComponent)(t):null}};const Hn={saveFile(t){},readFile(){let t=document.querySelector("marimo-code");return t?decodeURIComponent(t.textContent||"").trim():null}};var $n={saveFile(t){},readFile(){if(window.location.hostname!=="marimo.app")return null;let t=new URL("files/wasm-intro.py",document.baseURI);return fetch(t.toString()).then(e=>e.ok?e.text():null).catch(()=>null)}};const Vn={saveFile(t){},readFile(){return ie.get(fr)??null}};var Xn={saveFile(t){},readFile(){return["import marimo","app = marimo.App()","","@app.cell","def __():"," return","",'if __name__ == "__main__":'," app.run()"].join(`
|
|
2
|
-
`)}},ft=class{constructor(t){this.stores=t}insert(t,e){this.stores.splice(t,0,e)}saveFile(t){this.stores.forEach(e=>e.saveFile(t))}readFile(){for(let t of this.stores){let e=t.readFile();if(e)return e}return null}};let he;oe=new ft([Vn,Hn,Bn]),he=new ft([Dn,$n,Xn]),Be=class vn{constructor(){a(this,"initialized",new At);a(this,"sendRename",async({filename:e})=>(e===null||(ae.setFilename(e),await this.rpc.proxy.request.bridge({functionName:"rename_file",payload:e})),null));a(this,"sendSave",async e=>{if(!this.saveRpc)return g.warn("Save RPC not initialized"),null;await this.saveRpc.saveNotebook(e);let n=await this.readCode();return n.contents&&(oe.saveFile(n.contents),he.saveFile(n.contents)),this.rpc.proxy.request.saveNotebook(e).catch(r=>{g.error(r)}),null});a(this,"sendCopy",async()=>{R()});a(this,"sendStdin",async e=>(await this.rpc.proxy.request.bridge({functionName:"put_input",payload:e.text}),null));a(this,"sendPdb",async()=>{R()});a(this,"sendRun",async e=>(await this.rpc.proxy.request.loadPackages(e.codes.join(`
|
|
3
|
-
`)),await this.putControlRequest({type:"execute-cells",...e}),null));a(this,"sendRunScratchpad",async e=>(await this.rpc.proxy.request.loadPackages(e.code),await this.putControlRequest({type:"execute-scratchpad",...e}),null));a(this,"sendInterrupt",async()=>(this.interruptBuffer!==void 0&&(this.interruptBuffer[0]=2),null));a(this,"sendShutdown",async()=>(window.close(),null));a(this,"sendFormat",async e=>await this.rpc.proxy.request.bridge({functionName:"format",payload:e}));a(this,"sendDeleteCell",async e=>(await this.putControlRequest({type:"delete-cell",...e}),null));a(this,"sendInstallMissingPackages",async e=>(this.putControlRequest({type:"install-packages",...e}),null));a(this,"sendCodeCompletionRequest",async e=>(ie.get(pr)||await this.rpc.proxy.request.bridge({functionName:"code_complete",payload:e}),null));a(this,"saveUserConfig",async e=>(await this.rpc.proxy.request.bridge({functionName:"save_user_config",payload:e}),Mr.post("/kernel/save_user_config",e,{baseUrl:"/"}).catch(n=>(g.error(n),null))));a(this,"saveAppConfig",async e=>(await this.rpc.proxy.request.bridge({functionName:"save_app_config",payload:e}),null));a(this,"saveCellConfig",async e=>(await this.putControlRequest({type:"update-cell-config",...e}),null));a(this,"sendRestart",async()=>{let e=await this.readCode();return e.contents&&(oe.saveFile(e.contents),he.saveFile(e.contents)),Dr(),null});a(this,"readCode",async()=>this.saveRpc?{contents:await this.saveRpc.readNotebook()}:(g.warn("Save RPC not initialized"),{contents:""}));a(this,"readSnippets",async()=>await this.rpc.proxy.request.bridge({functionName:"read_snippets",payload:void 0}));a(this,"openFile",async({path:e})=>{let n=Br({code:null,baseUrl:window.location.origin});return window.open(n,"_blank"),null});a(this,"sendListFiles",async e=>await this.rpc.proxy.request.bridge({functionName:"list_files",payload:e}));a(this,"sendSearchFiles",async e=>await this.rpc.proxy.request.bridge({functionName:"search_files",payload:e}));a(this,"sendComponentValues",async e=>(await this.putControlRequest({type:"update-ui-element",...e,token:It()}),null));a(this,"sendInstantiate",async e=>null);a(this,"sendFunctionRequest",async e=>(await this.putControlRequest({type:"invoke-function",...e}),null));a(this,"sendCreateFileOrFolder",async e=>await this.rpc.proxy.request.bridge({functionName:"create_file_or_directory",payload:e}));a(this,"sendDeleteFileOrFolder",async e=>await this.rpc.proxy.request.bridge({functionName:"delete_file_or_directory",payload:e}));a(this,"sendRenameFileOrFolder",async e=>await this.rpc.proxy.request.bridge({functionName:"move_file_or_directory",payload:e}));a(this,"sendUpdateFile",async e=>await this.rpc.proxy.request.bridge({functionName:"update_file",payload:e}));a(this,"sendFileDetails",async e=>await this.rpc.proxy.request.bridge({functionName:"file_details",payload:e}));a(this,"exportAsHTML",async e=>await this.rpc.proxy.request.bridge({functionName:"export_html",payload:e}));a(this,"exportAsMarkdown",async e=>await this.rpc.proxy.request.bridge({functionName:"export_markdown",payload:e}));a(this,"previewDatasetColumn",async e=>(await this.putControlRequest({type:"preview-dataset-column",...e}),null));a(this,"previewSQLTable",async e=>(await this.putControlRequest({type:"preview-sql-table",...e}),null));a(this,"previewSQLTableList",async e=>(await this.putControlRequest({type:"list-sql-tables",...e}),null));a(this,"previewDataSourceConnection",async e=>(await this.putControlRequest({type:"list-data-source-connection",...e}),null));a(this,"validateSQL",async e=>(await this.putControlRequest({type:"validate-sql",...e}),null));a(this,"sendModelValue",async e=>(await this.putControlRequest({type:"model",...e}),null));a(this,"syncCellIds",()=>Promise.resolve(null));a(this,"addPackage",async e=>this.rpc.proxy.request.addPackage(e));a(this,"removePackage",async e=>this.rpc.proxy.request.removePackage(e));a(this,"getPackageList",async()=>await this.rpc.proxy.request.listPackages());a(this,"getDependencyTree",async()=>({tree:{dependencies:[],name:"",tags:[],version:null}}));a(this,"listSecretKeys",async e=>(await this.putControlRequest({type:"list-secret-keys",...e}),null));a(this,"getUsageStats",R);a(this,"openTutorial",R);a(this,"getRecentFiles",R);a(this,"getWorkspaceFiles",R);a(this,"getRunningNotebooks",R);a(this,"shutdownSession",R);a(this,"exportAsPDF",R);a(this,"autoExportAsHTML",R);a(this,"autoExportAsMarkdown",R);a(this,"autoExportAsIPYNB",R);a(this,"updateCellOutputs",R);a(this,"writeSecret",R);a(this,"invokeAiTool",R);a(this,"clearCache",R);a(this,"getCacheInfo",R);kr()&&(this.rpc=lt(new Worker(new URL(""+new URL("worker-BPV9SmHz.js",import.meta.url).href,""+import.meta.url),{type:"module",name:Mt()})),this.rpc.addMessageListener("ready",()=>{this.startSession()}),this.rpc.addMessageListener("initialized",()=>{this.saveRpc=this.getSaveWorker(),this.setInterruptBuffer(),this.initialized.resolve()}),this.rpc.addMessageListener("initializingMessage",({message:e})=>{ie.set(Le,e)}),this.rpc.addMessageListener("initializedError",({error:e})=>{this.initialized.status==="resolved"&&(g.error(e),Wr({title:"Error initializing",description:e,variant:"danger"})),this.initialized.reject(Error(e))}),this.rpc.addMessageListener("kernelMessage",({message:e})=>{var n;(n=this.messageConsumer)==null||n.call(this,new MessageEvent("message",{data:e}))}))}static get INSTANCE(){let e="_marimo_private_PyodideBridge";return window[e]||(window[e]=new vn),window[e]}getSaveWorker(){return Ut()==="read"?(g.debug("Skipping SaveWorker in read-mode"),{readFile:R,readNotebook:R,saveNotebook:R}):lt(new Worker(new URL(""+new URL("save-worker-CtJsIYIM.js",import.meta.url).href,""+import.meta.url),{type:"module",name:Mt()})).proxy.request}async startSession(){let e=await oe.readFile(),n=await he.readFile(),r=ie.get(br)??ae.getFilename(),s=ie.get(Sr),i={},d=new URLSearchParams(window.location.search);for(let u of d.keys()){let p=d.getAll(u);i[u]=p.length===1?p[0]:p}await this.rpc.proxy.request.startSession({queryParameters:i,code:e||n||"",filename:r,userConfig:{...s,runtime:{...s.runtime,auto_instantiate:Ut()==="read"?!0:s.runtime.auto_instantiate}}})}setInterruptBuffer(){crossOriginIsolated?(this.interruptBuffer=new Uint8Array(new SharedArrayBuffer(1)),this.rpc.proxy.request.setInterruptBuffer(this.interruptBuffer)):g.warn("Not running in a secure context; interrupts are not available.")}attachMessageConsumer(e){this.messageConsumer=e,this.rpc.proxy.send.consumerReady({})}async putControlRequest(e){await this.rpc.proxy.request.bridge({functionName:"put_control_request",payload:e})}},en=function(){return $e.withProducerCallback(t=>{Be.INSTANCE.attachMessageConsumer(t)})},mn=function(t=Pe()){let e=window.fetch;return window.fetch=async(n,r)=>{let s=n instanceof Request?n.url:n.toString();if(s.startsWith("data:"))return e(n,r);try{let i=me(s,t);if(i){let d=await(await e(i)).arrayBuffer();return new Response(d,{headers:{"Content-Type":Yn(s)}})}return e(n,r)}catch(i){return g.error("Error parsing URL",i),e(n,r)}},()=>{window.fetch=e}};function Yn(t){return t.endsWith(".csv")?"text/csv":t.endsWith(".json")?"application/json":t.endsWith(".txt")?"text/plain":"application/octet-stream"}Ht=function(t,e=Pe()){let n=t.http.bind(t),r=t.load.bind(t);return t.http=async s=>{let i=me(s,e);if(i)return await window.fetch(i).then(d=>d.text());try{return await n(s)}catch(d){if(s.startsWith("data:"))return await window.fetch(s).then(u=>u.text());throw d}},t.load=async s=>{let i=me(s,e);if(i)return await window.fetch(i).then(d=>d.text());try{return await r(s)}catch(d){if(s.startsWith("data:"))return await window.fetch(s).then(u=>u.text());throw d}},()=>{t.http=n,t.load=r}};function ht(t){return t.startsWith(".")?t.slice(1):t}function Qn(t,e=Pe()){let n=me(t,e);if(!n)return t;let r=Hr(n);return URL.createObjectURL(r)}function me(t,e){let n=document.baseURI;n.startsWith("blob:")&&(n=n.replace("blob:",""));let r=new URL(t,n).pathname,s=mt(t),i=mt(r);return e[t]||e[ht(t)]||e[r]||e[ht(r)]||s&&e[s]||i&&e[i]}function mt(t){let e=t.indexOf("/@file/");return e===-1?null:t.slice(e)}function ke(t,e=[]){let n=[];if(t instanceof DataView)n.push(e);else if(Array.isArray(t))for(let[r,s]of t.entries())n.push(...ke(s,[...e,r]));else if(typeof t=="object"&&t)for(let[r,s]of Object.entries(t))n.push(...ke(s,[...e,r]));return n}function Kn(t){let e=ke(t);if(e.length===0)return{state:t,buffers:[],bufferPaths:[]};let n=structuredClone(t),r=[],s=[];for(let i of e){let d=xr(t,i);if(d instanceof DataView){let u=jt(d);r.push(u),s.push(i),le(n,i,u)}}return{state:n,buffers:r,bufferPaths:s}}function pt(t){let{state:e,bufferPaths:n,buffers:r}=t;if(!n||n.length===0)return e;r&&Rr(r.length===n.length,"Buffers and buffer paths not the same length");let s=e;for(let[i,d]of n.entries()){let u=r==null?void 0:r[i];if(u==null){g.warn("[anywidget] Could not find buffer at path",d);continue}typeof u=="string"?le(s,d,Lt(u)):le(s,d,u)}return s}const gt={invoke:async()=>{let t="anywidget.invoke not supported in marimo. Please file an issue at https://github.com/marimo-team/marimo/issues";throw g.warn(t),Error(t)}};function Gn(t){if(typeof AbortSignal.any=="function")return AbortSignal.any(t);let e=new AbortController;for(let n of t){if(n.aborted)return e.abort(n.reason),e.signal;n.addEventListener("abort",()=>e.abort(n.reason),{once:!0})}return e.signal}var Jn=(xt=class{constructor(){k(this,ge);k(this,X,new Map)}getModule(t,e){let n=l(this,X).get(e);if(n)return n;let r=$(this,ge,xn).call(this,t).catch(s=>{throw l(this,X).delete(e),s});return l(this,X).set(e,r),r}invalidate(t){g.debug(`[WidgetDefRegistry] Invalidating module cache for hash=${t}`),l(this,X).delete(t)}},X=new WeakMap,ge=new WeakSet,xn=async function(t){let e=Fr(t).toString();return qt()&&(e=Qn(e)),Or(()=>import(e).then(async n=>(await n.__tla,n)),[],import.meta.url)},xt),Zn=(Et=class{constructor(){k(this,U);k(this,Y);k(this,I)}async bind(t,e){var i,d;if(l(this,I)&&l(this,Y)===t)return l(this,I);l(this,I)&&l(this,Y)!==t&&(g.debug("[WidgetBinding] Hot-reload detected, aborting previous binding"),(i=l(this,U))==null||i.abort(),F(this,U,void 0),F(this,I,void 0)),F(this,Y,t),F(this,U,new AbortController);let n=l(this,U).signal,r=typeof t=="function"?await t():t,s=await((d=r.initialize)==null?void 0:d.call(r,{model:e,experimental:gt}));return s&&n.addEventListener("abort",s),F(this,I,async(u,p)=>{var C;let w=await((C=r.render)==null?void 0:C.call(r,{model:e,el:u,experimental:gt}));w&&Gn([p,n]).addEventListener("abort",()=>{let E=p.aborted?"view unmount":"binding destroyed";g.debug(`[WidgetBinding] Render cleanup triggered (reason: ${E})`),w()})}),l(this,I)}destroy(){var t;g.debug("[WidgetBinding] Destroying binding, aborting initialize lifecycle"),(t=l(this,U))==null||t.abort(),F(this,U,void 0),F(this,Y,void 0),F(this,I,void 0)}},U=new WeakMap,Y=new WeakMap,I=new WeakMap,Et),er=(_t=class{constructor(){k(this,W,new Map)}getOrCreate(t){let e=l(this,W).get(t);return e||(e=new Zn,l(this,W).set(t,e)),e}destroy(t){let e=l(this,W).get(t);e&&(g.debug(`[BindingManager] Destroying binding for model=${t}`),e.destroy(),l(this,W).delete(t))}has(t){return l(this,W).has(t)}},W=new WeakMap,_t);$t=new Jn,Ue=new er;var tr=(Ct=class{constructor(t=1e4){k(this,J);k(this,O,new Map);k(this,ne);F(this,ne,t)}get(t){let e=$(this,J,Re).call(this,t);return e.deferred.status==="pending"&&setTimeout(()=>{e.deferred.status==="pending"&&(e.deferred.reject(Error(`Model not found for key: ${t}`)),l(this,O).delete(t))},l(this,ne)),e.deferred.promise}create(t,e){let n=$(this,J,Re).call(this,t);n.deferred.resolve(e(n.controller.signal))}set(t,e){$(this,J,Re).call(this,t).deferred.resolve(e)}getSync(t){let e=l(this,O).get(t);if(e&&e.deferred.status==="resolved")return e.deferred.value}delete(t){var e;g.debug(`[ModelManager] Deleting model=${t}, aborting lifecycle signal`),(e=l(this,O).get(t))==null||e.controller.abort(),l(this,O).delete(t)}},O=new WeakMap,ne=new WeakMap,J=new WeakSet,Re=function(t){let e=l(this,O).get(t);return e||(e={deferred:new At,controller:new AbortController},l(this,O).set(t,e)),e},Ct),yt=Symbol("marimo");function Fe(t){return t[yt]}ve=new tr;var nr=(Rt=yt,Q=class{constructor(e,n,r){k(this,B);k(this,ye,"change");k(this,z);k(this,D);k(this,Z);k(this,M,{});a(this,Rt,{updateAndEmitDiffs:e=>$(this,B,_n).call(this,e),emitCustomMessage:(e,n)=>$(this,B,Cn).call(this,e,n)});a(this,"widget_manager",{async get_model(e){let n=await Q._modelManager.get(e);if(!n)throw Error(`Model not found with id: ${e}. This is likely because the model was not registered.`);return n}});k(this,be,_r(()=>{let e=l(this,M)[l(this,ye)];if(e)for(let n of e)try{n()}catch(r){g.error("Error emitting event",r)}},0));F(this,D,e),F(this,Z,n),F(this,z,new Map),r&&r.addEventListener("abort",()=>{g.debug("[Model] Signal aborted, clearing all listeners"),F(this,M,{})})}off(e,n){var r;if(!e){F(this,M,{});return}if(!n){l(this,M)[e]=new Set;return}(r=l(this,M)[e])==null||r.delete(n)}send(e,n,r){let s=(r??[]).map(i=>i instanceof ArrayBuffer?new DataView(i):new DataView(i.buffer,i.byteOffset,i.byteLength));return l(this,Z).sendCustomMessage(e,s).then(()=>n==null?void 0:n())}get(e){return l(this,D)[e]}set(e,n){F(this,D,{...l(this,D),[e]:n}),l(this,z).set(e,n),$(this,B,En).call(this,`change:${e}`,n),l(this,be).call(this)}save_changes(){if(l(this,z).size===0)return;let e=Object.fromEntries(l(this,z).entries());l(this,z).clear(),l(this,Z).sendUpdate(e)}on(e,n){l(this,M)[e]||(l(this,M)[e]=new Set),l(this,M)[e].add(n)}},ye=new WeakMap,z=new WeakMap,D=new WeakMap,Z=new WeakMap,M=new WeakMap,B=new WeakSet,En=function(e,n){if(!l(this,M)[e])return;let r=l(this,M)[e];for(let s of r)try{s(n)}catch(i){g.error("Error emitting event",i)}},_n=function(e){e!=null&&Object.keys(e).forEach(n=>{let r=n;l(this,D)[r]!==e[r]&&this.set(r,e[r])})},Cn=function(e,n=[]){let r=l(this,M)["msg:custom"];if(r)for(let s of r)try{s(e.content,n)}catch(i){g.error("Error emitting event",i)}},be=new WeakMap,a(Q,"_modelManager",ve),Q);Zt=async function(t,e){let n=e.model_id,r=e.message,s=("buffers"in r?r.buffers:[]).map(Lt);switch(r.method){case"open":{let{state:i,buffer_paths:d=[]}=r,u=pt({state:i,bufferPaths:d,buffers:s}),p=t.getSync(n);if(p){Fe(p).updateAndEmitDiffs(u);return}t.create(n,w=>new nr(u,qt()?{sendUpdate:async()=>{},sendCustomMessage:async()=>{}}:{async sendUpdate(C){if(w.aborted){g.debug(`[Model] sendUpdate suppressed for model=${n} (signal aborted)`);return}let{state:E,buffers:N,bufferPaths:q}=Kn(C);await je().sendModelValue({modelId:n,message:{method:"update",state:E,bufferPaths:q},buffers:N})},async sendCustomMessage(C,E){if(w.aborted){g.debug(`[Model] sendCustomMessage suppressed for model=${n} (signal aborted)`);return}await je().sendModelValue({modelId:n,message:{method:"custom",content:C},buffers:E.map(jt)})}},w));return}case"custom":Fe(await t.get(n)).emitCustomMessage({method:"custom",content:r.content},s);return;case"close":Ue.destroy(n),t.delete(n);return;case"update":{let{state:i,buffer_paths:d=[]}=r,u=pt({state:i,bufferPaths:d,buffers:s});Fe(await t.get(n)).updateAndEmitDiffs(u);return}default:Er(r)}},yr(ve,"MODEL_MANAGER");function pe(t){return()=>({TYPE:t,is(e){return e.type===t},create(e){return new CustomEvent(t,e)}})}Ze=pe("marimo-value-input")(),De=pe("marimo-value-update")(),Ae=pe("marimo-value-ready")(),ze=pe("marimo-incoming-message")(),Bt=function(t,e){return Ze.create({bubbles:!0,composed:!0,detail:{value:t,element:e}})},Oe=class Rn{static get INSTANCE(){let e="_marimo_private_UIElementRegistry";return window[e]||(window[e]=new Rn),window[e]}constructor(){this.entries=new Map}has(e){return this.entries.has(e)}set(e,n){this.entries.has(e)&&g.debug("UIElementRegistry overwriting entry for objectId.",e),this.entries.set(e,{objectId:e,value:n,elements:new Set})}registerInstance(e,n){let r=this.entries.get(e);r===void 0?this.entries.set(e,{objectId:e,value:gr(n,this),elements:new Set([n])}):r.elements.add(n)}removeInstance(e,n){let r=this.entries.get(e);r!=null&&r.elements.has(n)&&r.elements.delete(n)}removeElementsByCell(e){[...this.entries.keys()].filter(n=>n.startsWith(`${e}-`)).forEach(n=>{this.entries.delete(n)})}lookupValue(e){let n=this.entries.get(e);return n===void 0?void 0:n.value}broadcastMessage(e,n,r){let s=this.entries.get(e);s===void 0?g.warn("UIElementRegistry missing entry",e):s.elements.forEach(i=>{i.dispatchEvent(ze.create({bubbles:!1,composed:!0,detail:{objectId:e,message:n,buffers:r}}))})}broadcastValueUpdate(e,n,r){let s=this.entries.get(n);s===void 0?g.warn("UIElementRegistry missing entry",n):(s.value=r,s.elements.forEach(i=>{i!==e&&i.dispatchEvent(De.create({bubbles:!1,composed:!0,detail:{value:r,element:i}}))}),document.dispatchEvent(Ae.create({bubbles:!0,composed:!0,detail:{objectId:n}})))}},Vt=Oe.INSTANCE,Dt=new Ur("function-call-result",async(t,e)=>{await je().sendFunctionRequest({functionCallId:t,...e})}),Xt="68px";var rr="288px";let bt;Yt=t=>t?/^\d+$/.test(t)?`${t}px`:t:rr,Qt=mr({isOpen:!0},(t,e)=>{if(!e)return t;switch(e.type){case"toggle":return{...t,isOpen:e.isOpen??t.isOpen};case"setWidth":return{...t,width:e.width};default:return t}}),Qe=V(null),Wt=V(null),We=V(!1),bt=V(!1),Ye=V(!1);var sr=Ft();Ie=t=>{let e=(0,sr.c)(8),{onResize:n,startingWidth:r,minWidth:s,maxWidth:i}=t,d=(0,c.useRef)(null),u=(0,c.useRef)(null),p=(0,c.useRef)(null),w,C;e[0]!==i||e[1]!==s||e[2]!==n?(w=()=>{let P=d.current,j=u.current,L=p.current;if(!P||!j&&!L)return;let S=Number.parseInt(window.getComputedStyle(P).width,10),A=0,H=!1,ee=null,re=f=>{if(!P||!H||!ee)return;let v=f.clientX-A;A=f.clientX,S=ee==="left"?S-v:S+v,s&&(S=Math.max(s,S)),i&&(S=Math.min(i,S)),P.style.width=`${S}px`},se=()=>{H&&(n==null||n(S),H=!1,ee=null),document.removeEventListener("mousemove",re),document.removeEventListener("mouseup",se)},o=(f,v)=>{f.preventDefault(),H=!0,ee=v,A=f.clientX,document.addEventListener("mousemove",re),document.addEventListener("mouseup",se)},m=f=>o(f,"left"),x=f=>o(f,"right");return j&&j.addEventListener("mousedown",m),L&&L.addEventListener("mousedown",x),()=>{j&&j.removeEventListener("mousedown",m),L&&L.removeEventListener("mousedown",x),document.removeEventListener("mousemove",re),document.removeEventListener("mouseup",se)}},C=[s,i,n],e[0]=i,e[1]=s,e[2]=n,e[3]=w,e[4]=C):(w=e[3],C=e[4]),(0,c.useEffect)(w,C);let E;e[5]===Symbol.for("react.memo_cache_sentinel")?(E={left:u,right:p},e[5]=E):E=e[5];let N=r==="contentWidth"?"var(--content-width-medium)":`${r}px`,q;return e[6]===N?q=e[7]:(q={resizableDivRef:d,handleRefs:E,style:{width:N}},e[6]=N,e[7]=q),q},Te=function(t){t||window.dispatchEvent(new Event("resize"))};var wt=Ft(),h=kt(Nr(),1);yn=()=>{let t=(0,wt.c)(16),[e,n]=we(Qe),[r,s]=we(We),[i,d]=we(bt),[u,p]=we(Ye),w;t[0]!==s||t[1]!==n?(w=()=>{n(null),s(!1)},t[0]=s,t[1]=n,t[2]=w):w=t[2];let C=w;if(xe(de.CONTEXT_AWARE_PANEL).length===0||!e||!r)return null;let E;t[3]!==u||t[4]!==i||t[5]!==p||t[6]!==d?(E=()=>(0,h.jsxs)("div",{className:"flex flex-row items-center gap-3",children:[(0,h.jsx)(Tt,{content:i?"Unpin panel":"Pin panel",children:(0,h.jsx)(Ot,{size:"xs",onPressedChange:()=>d(!i),pressed:i,"aria-label":i?"Unpin panel":"Pin panel",children:i?(0,h.jsx)(_,{className:"w-4 h-4"}):(0,h.jsx)(jr,{className:"w-4 h-4"})})}),(0,h.jsx)(Tt,{content:u?(0,h.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,h.jsx)("span",{children:"Follow focused table"}),(0,h.jsx)("span",{className:"text-xs text-muted-foreground w-64",children:"The panel updates as cells that output tables are focused. Click to fix to the current cell."})]}):(0,h.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,h.jsx)("span",{children:"Focus on current table"}),(0,h.jsx)("span",{className:"text-xs text-muted-foreground w-64",children:"The panel is focused on the current table. Click to update based on which cell is focused."})]}),children:(0,h.jsx)(Ot,{size:"xs",onPressedChange:()=>p(!u),pressed:u,"aria-label":u?"Follow focused cell":"Fixed",children:(0,h.jsx)(b,{className:Pr("w-4 h-4",u&&"text-primary")})})})]}),t[3]=u,t[4]=i,t[5]=p,t[6]=d,t[7]=E):E=t[7];let N=E,q;t[8]!==C||t[9]!==N?(q=()=>(0,h.jsxs)("div",{className:"mt-2 pb-7 mb-4 h-full overflow-auto",children:[(0,h.jsxs)("div",{className:"flex flex-row justify-between items-center mx-2",children:[N(),(0,h.jsx)(qr,{variant:"linkDestructive",size:"icon",onClick:C,"aria-label":"Close selection panel",children:(0,h.jsx)(Ir,{className:"w-4 h-4"})})]}),(0,h.jsx)(Nt,{children:(0,h.jsx)(Je,{name:de.CONTEXT_AWARE_PANEL})})]}),t[8]=C,t[9]=N,t[10]=q):q=t[10];let P=q;if(!i){let S;return t[11]===P?S=t[12]:(S=(0,h.jsx)(ir,{children:P()}),t[11]=P,t[12]=S),S}let j;t[13]===Symbol.for("react.memo_cache_sentinel")?(j=(0,h.jsx)($r,{onDragging:Te,className:"resize-handle border-border z-20 print:hidden border-l"}),t[13]=j):j=t[13];let L;return t[14]===P?L=t[15]:(L=(0,h.jsxs)(h.Fragment,{children:[j,(0,h.jsx)(Vr,{defaultSize:20,minSize:15,maxSize:80,children:P()})]}),t[14]=P,t[15]=L),L},Jt=t=>{let e=(0,wt.c)(2),{children:n}=t,r;return e[0]===n?r=e[1]:(r=(0,h.jsx)(Nt,{children:(0,h.jsx)(Sn,{name:de.CONTEXT_AWARE_PANEL,children:n})}),e[0]=n,e[1]=r),r};var ir=({children:t})=>{let{resizableDivRef:e,handleRefs:n,style:r}=Ie({startingWidth:400,minWidth:300,maxWidth:1500});return(0,h.jsxs)("div",{className:"absolute z-40 right-0 h-full bg-background flex flex-row",children:[(0,h.jsx)("div",{ref:n.left,className:"w-1 h-full cursor-col-resize border-l"}),(0,h.jsx)("div",{ref:e,style:r,children:t})]})};an=function(){var t=[...arguments];return(0,c.useMemo)(()=>e=>{t.forEach(n=>n(e))},t)},Ge=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,ue=function(t){let e=Object.prototype.toString.call(t);return e==="[object Window]"||e==="[object global]"},Ee=function(t){return"nodeType"in t},G=function(t){var e;return t?ue(t)?t:Ee(t)?((e=t.ownerDocument)==null?void 0:e.defaultView)??window:window:window},He=function(t){let{Document:e}=G(t);return t instanceof e},Ke=function(t){return ue(t)?!1:t instanceof G(t).HTMLElement},Ve=function(t){return t instanceof G(t).SVGElement},fn=function(t){return t?ue(t)?t.document:Ee(t)?He(t)?t:Ke(t)||Ve(t)?t.ownerDocument:document:document:document},Ce=Ge?c.useLayoutEffect:c.useEffect,Xe=function(t){let e=(0,c.useRef)(t);return Ce(()=>{e.current=t}),(0,c.useCallback)(function(){var n=[...arguments];return e.current==null?void 0:e.current(...n)},[])},tn=function(){let t=(0,c.useRef)(null);return[(0,c.useCallback)((e,n)=>{t.current=setInterval(e,n)},[]),(0,c.useCallback)(()=>{t.current!==null&&(clearInterval(t.current),t.current=null)},[])]},wn=function(t,e){e===void 0&&(e=[t]);let n=(0,c.useRef)(t);return Ce(()=>{n.current!==t&&(n.current=t)},e),n},sn=function(t,e){let n=(0,c.useRef)();return(0,c.useMemo)(()=>{let r=t(n.current);return n.current=r,r},[...e])},bn=function(t){let e=Xe(t),n=(0,c.useRef)(null);return[n,(0,c.useCallback)(r=>{r!==n.current&&(e==null||e(r,n.current)),n.current=r},[])]},Gt=function(t){let e=(0,c.useRef)();return(0,c.useEffect)(()=>{e.current=t},[t]),e.current};var Me={};zt=function(t,e){return(0,c.useMemo)(()=>{if(e)return e;let n=Me[t]==null?0:Me[t]+1;return Me[t]=n,t+"-"+n},[t,e])};function vt(t){return function(e){return[...arguments].slice(1).reduce((n,r)=>{let s=Object.entries(r);for(let[i,d]of s){let u=n[i];u!=null&&(n[i]=u+t*d)}return n},{...e})}}dn=vt(1),un=vt(-1);function ar(t){return"clientX"in t&&"clientY"in t}gn=function(t){if(!t)return!1;let{KeyboardEvent:e}=G(t.target);return e&&t instanceof e};function or(t){if(!t)return!1;let{TouchEvent:e}=G(t.target);return e&&t instanceof e}nn=function(t){if(or(t)){if(t.touches&&t.touches.length){let{clientX:e,clientY:n}=t.touches[0];return{x:e,y:n}}else if(t.changedTouches&&t.changedTouches.length){let{clientX:e,clientY:n}=t.changedTouches[0];return{x:e,y:n}}}return ar(t)?{x:t.clientX,y:t.clientY}:null};let Ne;_e=Object.freeze({Translate:{toString(t){if(!t)return;let{x:e,y:n}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;let{scaleX:e,scaleY:n}=t;return"scaleX("+e+") scaleY("+n+")"}},Transform:{toString(t){if(t)return[_e.Translate.toString(t),_e.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:n,easing:r}=t;return e+" "+n+"ms "+r}}}),Ne="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]",on=function(t){return t.matches(Ne)?t:t.querySelector(Ne)}});export{Le as $,Wt as A,Ae as B,zt as C,Ie as D,Te as E,Dt as F,Ue as G,Bt as H,Oe as I,Ht as J,$t as K,Vt as L,Xt as M,Yt as N,We as O,Qt as P,Kt as Q,ze as R,Gt as S,Jt as T,ve as U,De as V,Zt as W,en as X,Be as Y,oe as Z,tn as _,Xr as __tla,nn as a,rn as at,sn as b,He as c,xe as ct,Ee as d,$e as et,Ve as f,Xe as g,an as h,on as i,ln as it,Ye as j,Qe as k,Ke as l,le as lt,un as m,dn as n,cn as nt,fn as o,hn as ot,ue as p,mn as q,Ge as r,pn as rt,G as s,Je as st,_e as t,de as tt,gn as u,Ce as v,yn as w,bn as x,wn as y,Ze as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as k,i as x,l as z,p as o,u as C}from"./useEvent-BhXAndur.js";import{A as n,B as D,I as j,J as I,N as d,P as h,R as t,T as l,U as J,b as r,w as _}from"./zod-H_cgTO0M.js";import{t as N}from"./compiler-runtime-B3qBwwSJ.js";import{t as R}from"./merge-BBX6ug-N.js";import{d as f,n as S,u as U}from"./hotkeys-BHHWjLlp.js";import{t as F}from"./invariant-CAG_dYON.js";const M=["pip","uv","rye","poetry","pixi"];var $=["normal","compact","medium","full","columns"],q=["auto","native","polars","lazy-polars","pandas"];const G="openai/gpt-4o";var O=["html","markdown","ipynb"];const H=["manual","ask","agent"];var u=h({api_key:t().optional(),base_url:t().optional(),project:t().optional()}).loose(),K=h({chat_model:t().nullish(),edit_model:t().nullish(),autocomplete_model:t().nullish(),displayed_models:_(t()).default([]),custom_models:_(t()).default([])});const y=n({completion:h({activate_on_typing:l().prefault(!0),signature_hint_on_typing:l().prefault(!1),copilot:D([l(),r(["github","codeium","custom"])]).prefault(!1).transform(a=>a===!0?"github":a),codeium_api_key:t().nullish()}).prefault({}),save:n({autosave:r(["off","after_delay"]).prefault("after_delay"),autosave_delay:d().nonnegative().transform(a=>Math.max(a,1e3)).prefault(1e3),format_on_save:l().prefault(!1)}).prefault({}),formatting:n({line_length:d().nonnegative().prefault(79).transform(a=>Math.min(a,1e3))}).prefault({}),keymap:n({preset:r(["default","vim"]).prefault("default"),overrides:j(t(),t()).prefault({}),destructive_delete:l().prefault(!0)}).prefault({}),runtime:n({auto_instantiate:l().prefault(!0),on_cell_change:r(["lazy","autorun"]).prefault("autorun"),auto_reload:r(["off","lazy","autorun"]).prefault("off"),reactive_tests:l().prefault(!0),watcher_on_save:r(["lazy","autorun"]).prefault("lazy"),default_sql_output:r(q).prefault("auto"),default_auto_download:_(r(O)).prefault([])}).prefault({}),display:n({theme:r(["light","dark","system"]).prefault("light"),code_editor_font_size:d().nonnegative().prefault(14),cell_output:r(["above","below"]).prefault("below"),dataframes:r(["rich","plain"]).prefault("rich"),default_table_page_size:d().prefault(10),default_table_max_columns:d().prefault(50),default_width:r($).prefault("medium").transform(a=>a==="normal"?"compact":a),locale:t().nullable().optional(),reference_highlighting:l().prefault(!0)}).prefault({}),package_management:n({manager:r(M).prefault("pip")}).prefault({}),ai:n({rules:t().prefault(""),mode:r(H).prefault("manual"),inline_tooltip:l().prefault(!1),open_ai:u.optional(),anthropic:u.optional(),google:u.optional(),ollama:u.optional(),openrouter:u.optional(),wandb:u.optional(),open_ai_compatible:u.optional(),azure:u.optional(),bedrock:n({region_name:t().optional(),profile_name:t().optional(),aws_access_key_id:t().optional(),aws_secret_access_key:t().optional()}).optional(),custom_providers:j(t(),u).prefault({}),models:K.prefault({displayed_models:[],custom_models:[]})}).prefault({}),experimental:n({markdown:l().optional(),rtc:l().optional()}).prefault(()=>({})),server:n({disable_file_downloads:l().optional()}).prefault(()=>({})),diagnostics:n({enabled:l().optional(),sql_linter:l().optional()}).prefault(()=>({})),sharing:n({html:l().optional(),wasm:l().optional()}).optional(),mcp:n({presets:_(r(["marimo","context7"])).optional()}).optional().prefault({})}).partial().prefault(()=>({completion:{},save:{},formatting:{},keymap:{},runtime:{},display:{},diagnostics:{},experimental:{},server:{},ai:{},package_management:{},mcp:{}})),A=t(),L=r(q).prefault("auto"),b=h({width:r($).prefault("medium").transform(a=>a==="normal"?"compact":a),app_title:A.nullish(),css_file:t().nullish(),html_head_file:t().nullish(),auto_download:_(r(O)).prefault([]),sql_output:L}).prefault(()=>({width:"medium",auto_download:[],sql_output:"auto"}));function E(a){try{return b.parse(a)}catch(e){return f.error(`Marimo got an unexpected value in the configuration file: ${e}`),b.parse({})}}function Q(a){try{let e=y.parse(a);for(let[p,s]of Object.entries(e.experimental??{}))s===!0&&f.log(`\u{1F9EA} Experimental feature "${p}" is enabled.`);return e}catch(e){return e instanceof J?f.error(`Marimo got an unexpected value in the configuration file: ${I(e)}`):f.error(`Marimo got an unexpected value in the configuration file: ${e}`),P()}}function V(a){try{let e=a;return F(typeof e=="object","internal-error: marimo-config-overrides is not an object"),Object.keys(e).length>0&&f.log("\u{1F527} Project configuration overrides:",e),e}catch(e){return f.error(`Marimo got an unexpected configuration overrides: ${e}`),{}}}function P(){return y.parse({completion:{},save:{},formatting:{},keymap:{},runtime:{},display:{},diagnostics:{},experimental:{},server:{},ai:{},package_management:{},mcp:{}})}var W=N();const v=o(P()),T=o({}),i=o(a=>{let e=a(T);return R({},a(v),e)}),X=o(a=>a(i).runtime.auto_instantiate),Y=o(a=>a(i).keymap.overrides??{}),Z=o(U()),aa=o(a=>new S(a(Y),{platform:a(Z)})),ea=o(a=>a(i).save),ta=o(a=>a(i).ai),oa=o(a=>a(i).completion),ra=o(a=>a(i).keymap.preset);function la(){return z(v)}function na(){let a=(0,W.c)(3),e=C(i),p=k(v),s;return a[0]!==e||a[1]!==p?(s=[e,p],a[0]=e,a[1]=p,a[2]=s):s=a[2],s}function ia(){return x.get(i)}const sa=o(a=>B(a(i)));o(a=>a(i).display.code_editor_font_size);const pa=o(a=>a(i).display.locale);function B(a){var e,p,s,m,c,w;return!!((p=(e=a.ai)==null?void 0:e.models)!=null&&p.chat_model)||!!((m=(s=a.ai)==null?void 0:s.models)!=null&&m.edit_model)||!!((w=(c=a.ai)==null?void 0:c.models)!=null&&w.autocomplete_model)}const g=o(E({}));function ua(){return z(g)}function fa(){return k(g)}function ma(){return x.get(g)}const ca=o(a=>a(g).width);o(a=>{var m,c;let e=a(i),p=((m=e.snippets)==null?void 0:m.custom_paths)??[],s=(c=e.snippets)==null?void 0:c.include_default_snippets;return p.length>0||s===!0});const da=o(a=>{var e;return((e=a(i).server)==null?void 0:e.disable_file_downloads)??!1});function _a(){return!1}export{Q as A,b as C,y as D,M as E,E as O,v as S,G as T,i as _,ca as a,fa as b,oa as c,ma as d,ia as f,pa as g,ra as h,g as i,V as k,T as l,B as m,ta as n,X as o,aa as p,sa as r,ea as s,_a as t,da as u,ua as v,A as w,la as x,na as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as o}from"./vb-BX7-Md9G.js";export{o as vb};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as r,t}from"./vbscript-DNMzJOTU.js";export{t as vbScript,r as vbScriptASP};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as Z}from"./chunk-LvLJmgfZ.js";import{n as C}from"./useEvent-BhXAndur.js";import{t as R}from"./react-Bj1aDYRI.js";import"./react-dom-CSu739Rf.js";import{t as tt}from"./compiler-runtime-B3qBwwSJ.js";import{t as nt}from"./_baseUniq-BP3iN0f3.js";import{t as et}from"./debounce-B3mjKxHe.js";import{r as rt,t as at}from"./tooltip-DxKBXCGp.js";import{a as V,d as j}from"./hotkeys-BHHWjLlp.js";import{n as z}from"./config-Q0O7_stz.js";import{t as it}from"./jsx-runtime-ZmTK25f3.js";import{r as ot}from"./button-CZ3Cs4qb.js";import{u as lt}from"./toDate-DETS9bBd.js";import"./session-BOFn9QrD.js";import{r as ct}from"./useTheme-DQozhcp1.js";import"./Combination-BAEdC-rz.js";import{t as st}from"./tooltip-CMQz28hC.js";import{t as mt}from"./isValid-DDt9wNjK.js";import{n as pt}from"./vega-loader.browser-DXARUlxo.js";import{t as ut}from"./react-vega-BL1HBBjq.js";import"./defaultLocale-JieDVWC_.js";import"./defaultLocale-BLne0bXb.js";import{r as ft,t as dt}from"./alert-BOoN6gJ1.js";import{n as ht}from"./error-banner-B9ts0mNl.js";import{n as gt}from"./useAsyncData-BMGLSTg8.js";import{t as yt}from"./formats-CobRswjh.js";import{t as H}from"./useDeepCompareMemoize-5OUgerQ3.js";function vt(t){return t&&t.length?nt(t):[]}var N=vt,kt=tt(),x=Z(R(),1);function bt(t){return t.data&&"url"in t.data&&(t.data.url=z(t.data.url).href),t}const u={arc:"arc",area:"area",bar:"bar",image:"image",line:"line",point:"point",rect:"rect",rule:"rule",text:"text",tick:"tick",trail:"trail",circle:"circle",square:"square",geoshape:"geoshape"};var F=new Set(["boxplot","errorband","errorbar"]);const S={getMarkType(t){let n=typeof t=="string"?t:t.type;if(F.has(n))throw Error("Not supported");return n},isInteractive(t){let n=typeof t=="string"?t:t.type;return!F.has(n)},makeClickable(t){let n=typeof t=="string"?t:t.type;return n in u?typeof t=="string"?{type:t,cursor:"pointer",tooltip:!0}:{...t,type:n,cursor:"pointer",tooltip:!0}:t},getOpacity(t){return typeof t=="string"?null:"opacity"in t&&typeof t.opacity=="number"?t.opacity:null}},y={point(t){return t==null?"select_point":`select_point_${t}`},interval(t){return t==null?"select_interval":`select_interval_${t}`},legendSelection(t){return`legend_selection_${t}`},binColoring(t){return t==null?"bin_coloring":`bin_coloring_${t}`},HIGHLIGHT:"highlight",PAN_ZOOM:"pan_zoom",hasPoint(t){return t.some(n=>n.startsWith("select_point"))},hasInterval(t){return t.some(n=>n.startsWith("select_interval"))},hasLegend(t){return t.some(n=>n.startsWith("legend_selection"))},hasPanZoom(t){return t.some(n=>n.startsWith("pan_zoom"))},isBinColoring(t){return t.startsWith("bin_coloring")}},O={highlight(){return{name:y.HIGHLIGHT,select:{type:"point",on:"mouseover"}}},interval(t,n){return{name:y.interval(n),select:{type:"interval",encodings:W(t),mark:{fill:"#669EFF",fillOpacity:.07,stroke:"#669EFF",strokeOpacity:.4},on:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]",translate:"[mousedown[!event.metaKey], mouseup] > mousemove[!event.metaKey]"}}},point(t,n){return{name:y.point(n),select:{type:"point",encodings:W(t),on:"click[!event.metaKey]"}}},binColoring(t){return{name:y.binColoring(t),select:{type:"point",on:"click[!event.metaKey]"}}},legend(t){return{name:y.legendSelection(t),select:{type:"point",fields:[t]},bind:"legend"}},panZoom(){return{name:y.PAN_ZOOM,bind:"scales",select:{type:"interval",on:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",translate:"[mousedown[event.metaKey], window:mouseup] > window:mousemove!",zoom:"wheel![event.metaKey]"}}}};function W(t){switch(S.getMarkType(t.mark)){case u.image:case u.trail:return;case u.area:case u.arc:return["color"];case u.bar:{let n=wt(t);return n==="horizontal"?["y"]:n==="vertical"?["x"]:void 0}case u.circle:case u.geoshape:case u.line:case u.point:case u.rect:case u.rule:case u.square:case u.text:case u.tick:return["x","y"]}}function P(t){return"params"in t&&t.params&&t.params.length>0?N(t.params.filter(n=>n==null?!1:"select"in n&&n.select!==void 0).map(n=>n.name)):"layer"in t?N(t.layer.flatMap(P)):"vconcat"in t?N(t.vconcat.flatMap(P)):"hconcat"in t?N(t.hconcat.flatMap(P)):[]}function wt(t){var a,r;if(!t||!("mark"in t))return;let n=(a=t.encoding)==null?void 0:a.x,e=(r=t.encoding)==null?void 0:r.y;if(n&&"type"in n&&n.type==="nominal")return"vertical";if(e&&"type"in e&&e.type==="nominal"||n&&"aggregate"in n)return"horizontal";if(e&&"aggregate"in e)return"vertical"}function xt(t){if(!t.encoding)return[];let n=[];for(let e of Object.values(t.encoding))e&&typeof e=="object"&&"bin"in e&&e.bin&&"field"in e&&typeof e.field=="string"&&n.push(e.field);return n}function D(t){if(!t||!("encoding"in t))return[];let{encoding:n}=t;return n?Object.entries(n).flatMap(e=>{let[a,r]=e;return!r||!St.has(a)?[]:"field"in r&&typeof r.field=="string"?[r.field]:"condition"in r&&r.condition&&typeof r.condition=="object"&&"field"in r.condition&&r.condition.field&&typeof r.condition.field=="string"?[r.condition.field]:[]}):[]}var St=new Set(["color","fill","fillOpacity","opacity","shape","size"]);function G(t,n,e,a){let r=e.filter(o=>y.isBinColoring(o)),i={and:(r.length>0?r:e).map(o=>({param:o}))};if(t==="opacity"){let o=S.getOpacity(a)||1;return{...n,opacity:{condition:{test:i,value:o},value:o/5}}}else return n}function At(t){if(!("select"in t)||!t.select)return JSON.stringify(t);let n=t.select;if(typeof n=="string")return JSON.stringify({type:n,bind:t.bind});let e={type:n.type,encodings:"encodings"in n&&n.encodings?[...n.encodings].sort():void 0,fields:"fields"in n&&n.fields?[...n.fields].sort():void 0,bind:t.bind};return JSON.stringify(e)}function $(t){let n=E(t);if(n.length===0)return t;let e=jt(n);return e.length===0?t:{...L(K(t,new Set(e.map(a=>a.name))),e.map(a=>a.name)),params:[...t.params||[],...e]}}function E(t){let n=[];if("vconcat"in t&&Array.isArray(t.vconcat))for(let e of t.vconcat)n.push(...E(e));else if("hconcat"in t&&Array.isArray(t.hconcat))for(let e of t.hconcat)n.push(...E(e));else{if("layer"in t)return[];"mark"in t&&"params"in t&&t.params&&t.params.length>0&&n.push({params:t.params})}return n}function jt(t){if(t.length===0)return[];let n=new Map,e=t.length;for(let{params:r}of t){let i=new Set;for(let o of r){let l=At(o);i.has(l)||(i.add(l),n.has(l)||n.set(l,{count:0,param:o}),n.get(l).count++)}}let a=[];for(let[,{count:r,param:i}]of n)r===e&&a.push(i);return a}function K(t,n){if("vconcat"in t&&Array.isArray(t.vconcat))return{...t,vconcat:t.vconcat.map(e=>K(e,n))};if("hconcat"in t&&Array.isArray(t.hconcat))return{...t,hconcat:t.hconcat.map(e=>K(e,n))};if("mark"in t&&"params"in t&&t.params){let e=t.params,a=[];for(let r of e){if(!r||typeof r!="object"||!("name"in r)){a.push(r);continue}n.has(r.name)||a.push(r)}if(a.length===0){let{params:r,...i}=t;return i}return{...t,params:a}}return t}function L(t,n){return"vconcat"in t&&Array.isArray(t.vconcat)?{...t,vconcat:t.vconcat.map(e=>L(e,n))}:"hconcat"in t&&Array.isArray(t.hconcat)?{...t,hconcat:t.hconcat.map(e=>L(e,n))}:"layer"in t?t:"mark"in t&&S.isInteractive(t.mark)?{...t,mark:S.makeClickable(t.mark),encoding:G("opacity",t.encoding||{},n,t.mark)}:t}function T(t,n){var l,k;let{chartSelection:e=!0,fieldSelection:a=!0}=n;if(!e&&!a)return t;(l=t.params)!=null&&l.some(s=>s.bind==="legend")&&(a=!1);let r=(k=t.params)==null?void 0:k.some(s=>!s.bind);r&&(e=!1);let i="vconcat"in t||"hconcat"in t;if(r&&i)return t;if("vconcat"in t){let s=t.vconcat.map(m=>"mark"in m?T(m,{chartSelection:e,fieldSelection:a}):m);return $({...t,vconcat:s})}if("hconcat"in t){let s=t.hconcat.map(m=>"mark"in m?T(m,{chartSelection:e,fieldSelection:a}):m);return $({...t,hconcat:s})}if("layer"in t){let s=t.params&&t.params.length>0,m=a!==!1&&!s,v=[];if(m){let p=t.layer.flatMap(f=>"mark"in f?D(f):[]);v=[...new Set(p)],Array.isArray(a)&&(v=v.filter(f=>a.includes(f)))}let w=t.layer.map((p,f)=>{if(!("mark"in p))return p;let h=p;if(f===0&&v.length>0){let _=v.map(M=>O.legend(M));h={...h,params:[...h.params||[],..._]}}return h=q(h,e,f),h=J(h),f===0&&(h=B(h)),h});return{...t,layer:w}}if(!("mark"in t)||!S.isInteractive(t.mark))return t;let o=t;return o=Ot(o,a),o=q(o,e,void 0),o=J(o),o=B(o),o}function Ot(t,n){if(n===!1)return t;let e=D(t);Array.isArray(n)&&(e=e.filter(i=>n.includes(i)));let a=e.map(i=>O.legend(i)),r=[...t.params||[],...a];return{...t,params:r}}function q(t,n,e){if(n===!1)return t;let a;try{a=S.getMarkType(t.mark)}catch{return t}if(a==="geoshape")return t;let r=xt(t),i=n===!0?r.length>0?["point"]:_t(a):[n];if(!i||i.length===0)return t;let o=i.map(k=>k==="interval"?O.interval(t,e):O.point(t,e)),l=[...t.params||[],...o];return r.length>0&&i.includes("point")&&l.push(O.binColoring(e)),{...t,params:l}}function B(t){let n;try{n=S.getMarkType(t.mark)}catch{}if(n==="geoshape")return t;let e=t.params||[];return e.some(a=>a.bind==="scales")?t:{...t,params:[...e,O.panZoom()]}}function J(t){let n="encoding"in t?t.encoding:void 0,e=t.params||[],a=e.map(r=>r.name);return e.length===0||!S.isInteractive(t.mark)?t:{...t,mark:S.makeClickable(t.mark),encoding:G("opacity",n||{},a,t.mark)}}function _t(t){switch(t){case"arc":case"area":return["point"];case"text":case"bar":return["point","interval"];case"line":return;default:return["point","interval"]}}async function Mt(t){if(!t)return t;let n="datasets"in t?{...t.datasets}:{},e=async r=>{if(!r)return r;if("layer"in r){let l=await Promise.all(r.layer.map(e));r={...r,layer:l}}if("hconcat"in r){let l=await Promise.all(r.hconcat.map(e));r={...r,hconcat:l}}if("vconcat"in r){let l=await Promise.all(r.vconcat.map(e));r={...r,vconcat:l}}if("spec"in r&&(r={...r,spec:await e(r.spec)}),!r.data||!("url"in r.data))return r;let i;try{i=z(r.data.url)}catch{return r}let o=await rt(i.href,r.data.format);return n[i.pathname]=o,{...r,data:{name:i.pathname}}},a=await e(t);return Object.keys(n).length===0?a:{...a,datasets:n}}var d=Z(it(),1);pt("arrow",yt);var Nt=t=>{let n=(0,kt.c)(12),{value:e,setValue:a,chartSelection:r,fieldSelection:i,spec:o,embedOptions:l}=t,k,s;n[0]===o?(k=n[1],s=n[2]):(k=async()=>Mt(o),s=[o],n[0]=o,n[1]=k,n[2]=s);let{data:m,error:v}=gt(k,s);if(v){let p;return n[3]===v?p=n[4]:(p=(0,d.jsx)(ht,{error:v}),n[3]=v,n[4]=p),p}if(!m)return null;let w;return n[5]!==r||n[6]!==l||n[7]!==i||n[8]!==m||n[9]!==a||n[10]!==e?(w=(0,d.jsx)(Pt,{value:e,setValue:a,chartSelection:r,fieldSelection:i,spec:m,embedOptions:l}),n[5]=r,n[6]=l,n[7]=i,n[8]=m,n[9]=a,n[10]=e,n[11]=w):w=n[11],w},Pt=({value:t,setValue:n,chartSelection:e,fieldSelection:a,spec:r,embedOptions:i})=>{let{theme:o}=ct(),l=(0,x.useRef)(null),k=(0,x.useRef)(void 0),[s,m]=(0,x.useState)(),v=(0,x.useMemo)(()=>i&&"actions"in i?i.actions:{source:!1,compiled:!1},[i]),w=H(r),p=(0,x.useMemo)(()=>T(bt(w),{chartSelection:e,fieldSelection:a}),[w,e,a]),f=(0,x.useMemo)(()=>P(p),[p]),h=C(c=>{n({...t,...c})}),_=(0,x.useMemo)(()=>et((c,g)=>{j.debug("[Vega signal]",c,g);let b=V.mapValues(g,Ct);b=V.mapValues(b,It),h({[c]:b})},100),[h]),M=H(f),I=(0,x.useMemo)(()=>M.reduce((c,g)=>(y.PAN_ZOOM===g||y.isBinColoring(g)||c.push({signalName:g,handler:(b,Y)=>_(b,Y)}),c),[]),[M,_]),Q=C(c=>{j.error(c),j.debug(p),m(c)}),U=C(c=>{j.debug("[Vega view] created",c),k.current=c,m(void 0)}),X=()=>{let c=[];return y.hasPoint(f)&&c.push(["Point selection","click to select a point; hold shift for multi-select"]),y.hasInterval(f)&&c.push(["Interval selection","click and drag to select an interval"]),y.hasLegend(f)&&c.push(["Legend selection","click to select a legend item; hold shift for multi-select"]),y.hasPanZoom(f)&&c.push(["Pan","hold the meta key and drag"],["Zoom","hold the meta key and scroll"]),c.length===0?null:(0,d.jsx)(st,{delayDuration:300,side:"left",content:(0,d.jsx)("div",{className:"text-xs flex flex-col",children:c.map((g,b)=>(0,d.jsxs)("div",{children:[(0,d.jsxs)("span",{className:"font-bold tracking-wide",children:[g[0],":"]})," ",g[1]]},b))}),children:(0,d.jsx)(lt,{className:"absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground"})})},A=ut({ref:l,spec:p,options:{theme:o==="dark"?"dark":void 0,actions:v,mode:"vega-lite",tooltip:at.call,renderer:"canvas"},onError:Q,onEmbed:U});return(0,x.useEffect)(()=>(I.forEach(({signalName:c,handler:g})=>{try{A==null||A.view.addSignalListener(c,g)}catch(b){j.error(b)}}),()=>{I.forEach(({signalName:c,handler:g})=>{try{A==null||A.view.removeSignalListener(c,g)}catch(b){j.error(b)}})}),[A,I]),(0,d.jsxs)(d.Fragment,{children:[s&&(0,d.jsxs)(dt,{variant:"destructive",children:[(0,d.jsx)(ft,{children:s.message}),(0,d.jsx)("div",{className:"text-md",children:s.stack})]}),(0,d.jsxs)("div",{className:"relative",onPointerDown:ot.stopPropagation(),children:[(0,d.jsx)("div",{ref:l}),X()]})]})};function It(t){return t instanceof Set?[...t]:t}function Ct(t){return Array.isArray(t)?t.map(n=>n instanceof Date&&mt(n)?new Date(n).getTime():n):t}var Et=Nt;export{Et as default};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{a as Tt,n as _n,r as Wn,s as Jn,t as qn}from"./precisionRound-CU2C3Vxx.js";import{i as _t,n as Hn,r as Gn,t as Zn}from"./defaultLocale-JieDVWC_.js";import{C as Vn,N as Wt,S as Qn,T as Jt,_ as qt,a as Kn,b as it,c as Ht,i as Xn,l as Gt,n as tr,o as nr,p as Zt,r as rr,s as er,t as ar,v as st,w as ur,x as or}from"./defaultLocale-BLne0bXb.js";function E(t,n,r){return t.fields=n||[],t.fname=r,t}function ir(t){return t==null?null:t.fname}function Vt(t){return t==null?null:t.fields}function Qt(t){return t.length===1?sr(t[0]):lr(t)}var sr=t=>function(n){return n[t]},lr=t=>{let n=t.length;return function(r){for(let e=0;e<n;++e)r=r[t[e]];return r}};function v(t){throw Error(t)}function wt(t){let n=[],r=t.length,e=null,a=0,u="",o,i,c;t+="";function l(){n.push(u+t.substring(o,i)),u="",o=i+1}for(o=i=0;i<r;++i)if(c=t[i],c==="\\")u+=t.substring(o,i++),o=i;else if(c===e)l(),e=null,a=-1;else{if(e)continue;o===a&&c==='"'||o===a&&c==="'"?(o=i+1,e=c):c==="."&&!a?i>o?l():o=i+1:c==="["?(i>o&&l(),a=o=i+1):c==="]"&&(a||v("Access path missing open bracket: "+t),a>0&&l(),a=0,o=i+1)}return a&&v("Access path missing closing bracket: "+t),e&&v("Access path missing closing quote: "+t),i>o&&(i++,l()),n}function lt(t,n,r){let e=wt(t);return t=e.length===1?e[0]:t,E((r&&r.get||Qt)(e),[t],n||t)}var cr=lt("id"),W=E(t=>t,[],"identity"),I=E(()=>0,[],"zero"),Kt=E(()=>1,[],"one"),fr=E(()=>!0,[],"true"),hr=E(()=>!1,[],"false"),gr=new Set([...Object.getOwnPropertyNames(Object.prototype).filter(t=>typeof Object.prototype[t]=="function"),"__proto__"]);function pr(t,n,r){let e=[n].concat([].slice.call(r));console[t].apply(console,e)}var mr=0,dr=1,yr=2,vr=3,br=4;function Mr(t,n,r=pr){let e=t||0;return{level(a){return arguments.length?(e=+a,this):e},error(){return e>=1&&r(n||"error","ERROR",arguments),this},warn(){return e>=2&&r(n||"warn","WARN",arguments),this},info(){return e>=3&&r(n||"log","INFO",arguments),this},debug(){return e>=4&&r(n||"log","DEBUG",arguments),this}}}var J=Array.isArray;function $(t){return t===Object(t)}var Xt=t=>t!=="__proto__";function Cr(...t){return t.reduce((n,r)=>{for(let e in r)if(e==="signals")n.signals=Tr(n.signals,r.signals);else{let a=e==="legend"?{layout:1}:e==="style"?!0:null;jt(n,e,r[e],a)}return n},{})}function jt(t,n,r,e){if(!Xt(n))return;let a,u;if($(r)&&!J(r))for(a in u=$(t[n])?t[n]:t[n]={},r)e&&(e===!0||e[a])?jt(u,a,r[a]):Xt(a)&&(u[a]=r[a]);else t[n]=r}function Tr(t,n){if(t==null)return n;let r={},e=[];function a(u){r[u.name]||(r[u.name]=1,e.push(u))}return n.forEach(a),t.forEach(a),e}function P(t){return t[t.length-1]}function q(t){return t==null||t===""?null:+t}var tn=t=>n=>t*Math.exp(n),nn=t=>n=>Math.log(t*n),rn=t=>n=>Math.sign(n)*Math.log1p(Math.abs(n/t)),en=t=>n=>Math.sign(n)*Math.expm1(Math.abs(n))*t,ct=t=>n=>n<0?-((-n)**+t):n**+t;function ft(t,n,r,e){let a=r(t[0]),u=r(P(t)),o=(u-a)*n;return[e(a-o),e(u-o)]}function wr(t,n){return ft(t,n,q,W)}function jr(t,n){var r=Math.sign(t[0]);return ft(t,n,nn(r),tn(r))}function Dr(t,n,r){return ft(t,n,ct(r),ct(1/r))}function kr(t,n,r){return ft(t,n,rn(r),en(r))}function ht(t,n,r,e,a){let u=e(t[0]),o=e(P(t)),i=n==null?(u+o)/2:e(n);return[a(i+(u-i)*r),a(i+(o-i)*r)]}function Or(t,n,r){return ht(t,n,r,q,W)}function Ur(t,n,r){let e=Math.sign(t[0]);return ht(t,n,r,nn(e),tn(e))}function xr(t,n,r,e){return ht(t,n,r,ct(e),ct(1/e))}function Nr(t,n,r,e){return ht(t,n,r,rn(e),en(e))}function Ar(t){return 1+~~(new Date(t).getMonth()/3)}function Er(t){return 1+~~(new Date(t).getUTCMonth()/3)}function R(t){return t==null?[]:J(t)?t:[t]}function Sr(t,n,r){let e=t[0],a=t[1],u;return a<e&&(u=a,a=e,e=u),u=a-e,u>=r-n?[n,r]:[e=Math.min(Math.max(e,n),r-u),e+u]}function B(t){return typeof t=="function"}var Fr="descending";function Pr(t,n,r){r||(r={}),n=R(n)||[];let e=[],a=[],u={},o=r.comparator||zr;return R(t).forEach((i,c)=>{i!=null&&(e.push(n[c]===Fr?-1:1),a.push(i=B(i)?i:lt(i,null,r)),(Vt(i)||[]).forEach(l=>u[l]=1))}),a.length===0?null:E(o(a,e),Object.keys(u))}var Dt=(t,n)=>(t<n||t==null)&&n!=null?-1:(t>n||n==null)&&t!=null?1:(n=n instanceof Date?+n:n,(t=t instanceof Date?+t:t)!==t&&n===n?-1:n!==n&&t===t?1:0),zr=(t,n)=>t.length===1?Yr(t[0],n[0]):Ir(t,n,t.length),Yr=(t,n)=>function(r,e){return Dt(t(r),t(e))*n},Ir=(t,n,r)=>(n.push(0),function(e,a){let u,o=0,i=-1;for(;o===0&&++i<r;)u=t[i],o=Dt(u(e),u(a));return o*n[i]});function an(t){return B(t)?t:()=>t}function $r(t,n){let r;return e=>{r&&clearTimeout(r),r=setTimeout(()=>(n(e),r=null),t)}}function z(t){for(let n,r,e=1,a=arguments.length;e<a;++e)for(r in n=arguments[e],n)t[r]=n[r];return t}function Rr(t,n){let r=0,e,a,u,o;if(t&&(e=t.length))if(n==null){for(a=t[r];r<e&&(a==null||a!==a);a=t[++r]);for(u=o=a;r<e;++r)a=t[r],a!=null&&(a<u&&(u=a),a>o&&(o=a))}else{for(a=n(t[r]);r<e&&(a==null||a!==a);a=n(t[++r]));for(u=o=a;r<e;++r)a=n(t[r]),a!=null&&(a<u&&(u=a),a>o&&(o=a))}return[u,o]}function Br(t,n){let r=t.length,e=-1,a,u,o,i,c;if(n==null){for(;++e<r;)if(u=t[e],u!=null&&u>=u){a=o=u;break}if(e===r)return[-1,-1];for(i=c=e;++e<r;)u=t[e],u!=null&&(a>u&&(a=u,i=e),o<u&&(o=u,c=e))}else{for(;++e<r;)if(u=n(t[e],e,t),u!=null&&u>=u){a=o=u;break}if(e===r)return[-1,-1];for(i=c=e;++e<r;)u=n(t[e],e,t),u!=null&&(a>u&&(a=u,i=e),o<u&&(o=u,c=e))}return[i,c]}function N(t,n){return Object.hasOwn(t,n)}var gt={};function Lr(t){let n={},r;function e(u){return N(n,u)&&n[u]!==gt}let a={size:0,empty:0,object:n,has:e,get(u){return e(u)?n[u]:void 0},set(u,o){return e(u)||(++a.size,n[u]===gt&&--a.empty),n[u]=o,this},delete(u){return e(u)&&(--a.size,++a.empty,n[u]=gt),this},clear(){a.size=a.empty=0,a.object=n={}},test(u){return arguments.length?(r=u,a):r},clean(){let u={},o=0;for(let i in n){let c=n[i];c!==gt&&(!r||!r(c))&&(u[i]=c,++o)}a.size=o,a.empty=0,a.object=n=u}};return t&&Object.keys(t).forEach(u=>{a.set(u,t[u])}),a}function _r(t,n,r,e,a,u){if(!r&&r!==0)return u;let o=+r,i=t[0],c=P(t),l;c<i&&(l=i,i=c,c=l),l=Math.abs(n-i);let h=Math.abs(c-n);return l<h&&l<=o?e:h<=o?a:u}function Wr(t,n,r){let e=t.prototype=Object.create(n.prototype);return Object.defineProperty(e,"constructor",{value:t,writable:!0,enumerable:!0,configurable:!0}),z(e,r)}function Jr(t,n,r,e){let a=n[0],u=n[n.length-1],o;return a>u&&(o=a,a=u,u=o),r=r===void 0||r,e=e===void 0||e,(r?a<=t:a<t)&&(e?t<=u:t<u)}function qr(t){return typeof t=="boolean"}function un(t){return Object.prototype.toString.call(t)==="[object Date]"}function on(t){return t&&B(t[Symbol.iterator])}function sn(t){return typeof t=="number"}function Hr(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function pt(t){return typeof t=="string"}function Gr(t,n,r){t&&(t=n?R(t).map(i=>i.replace(/\\(.)/g,"$1")):R(t));let e=t&&t.length,a=r&&r.get||Qt,u=i=>a(n?[i]:wt(i)),o;if(!e)o=function(){return""};else if(e===1){let i=u(t[0]);o=function(c){return""+i(c)}}else{let i=t.map(u);o=function(c){let l=""+i[0](c),h=0;for(;++h<e;)l+="|"+i[h](c);return l}}return E(o,t,"key")}function Zr(t,n){let r=t[0],e=P(t),a=+n;return a?a===1?e:r+a*(e-r):r}var Vr=1e4;function Qr(t){t=+t||Vr;let n,r,e,a=()=>{n={},r={},e=0},u=(o,i)=>(++e>t&&(r=n,n={},e=1),n[o]=i);return a(),{clear:a,has:o=>N(n,o)||N(r,o),get:o=>N(n,o)?n[o]:N(r,o)?u(o,r[o]):void 0,set:(o,i)=>N(n,o)?n[o]=i:u(o,i)}}function Kr(t,n,r,e){let a=n.length,u=r.length;if(!u)return n;if(!a)return r;let o=e||new n.constructor(a+u),i=0,c=0,l=0;for(;i<a&&c<u;++l)o[l]=t(n[i],r[c])>0?r[c++]:n[i++];for(;i<a;++i,++l)o[l]=n[i];for(;c<u;++c,++l)o[l]=r[c];return o}function H(t,n){let r="";for(;--n>=0;)r+=t;return r}function Xr(t,n,r,e){let a=r||" ",u=t+"",o=n-u.length;return o<=0?u:e==="left"?H(a,o)+u:e==="center"?H(a,~~(o/2))+u+H(a,Math.ceil(o/2)):u+H(a,o)}function ln(t){return t&&P(t)-t[0]||0}function mt(t){return J(t)?`[${t.map(n=>n===null?"null":mt(n))}]`:$(t)||pt(t)?JSON.stringify(t).replaceAll("\u2028","\\u2028").replaceAll("\u2029","\\u2029"):t}function cn(t){return t==null||t===""?null:!t||t==="false"||t==="0"?!1:!!t}var te=t=>sn(t)||un(t)?t:Date.parse(t);function fn(t,n){return n||(n=te),t==null||t===""?null:n(t)}function hn(t){return t==null||t===""?null:t+""}function gn(t){let n={},r=t.length;for(let e=0;e<r;++e)n[t[e]]=!0;return n}function ne(t,n,r,e){let a=e??"\u2026",u=t+"",o=u.length,i=Math.max(0,n-a.length);return o<=n?u:r==="left"?a+u.slice(o-i):r==="center"?u.slice(0,Math.ceil(i/2))+a+u.slice(o-~~(i/2)):u.slice(0,i)+a}function re(t,n,r){if(t)if(n){let e=t.length;for(let a=0;a<e;++a){let u=n(t[a]);u&&r(u,a,t)}}else t.forEach(r)}var pn={},kt={},Ot=34,G=10,Ut=13;function mn(t){return Function("d","return {"+t.map(function(n,r){return JSON.stringify(n)+": d["+r+'] || ""'}).join(",")+"}")}function ee(t,n){var r=mn(t);return function(e,a){return n(r(e),a,t)}}function dn(t){var n=Object.create(null),r=[];return t.forEach(function(e){for(var a in e)a in n||r.push(n[a]=a)}),r}function T(t,n){var r=t+"",e=r.length;return e<n?Array(n-e+1).join(0)+r:r}function ae(t){return t<0?"-"+T(-t,6):t>9999?"+"+T(t,6):T(t,4)}function ue(t){var n=t.getUTCHours(),r=t.getUTCMinutes(),e=t.getUTCSeconds(),a=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":ae(t.getUTCFullYear(),4)+"-"+T(t.getUTCMonth()+1,2)+"-"+T(t.getUTCDate(),2)+(a?"T"+T(n,2)+":"+T(r,2)+":"+T(e,2)+"."+T(a,3)+"Z":e?"T"+T(n,2)+":"+T(r,2)+":"+T(e,2)+"Z":r||n?"T"+T(n,2)+":"+T(r,2)+"Z":"")}function oe(t){var n=RegExp('["'+t+`
|
|
2
|
-
\r]`),r=t.charCodeAt(0);function e(s,f){var g,p,m=a(s,function(d,C){if(g)return g(d,C-1);p=d,g=f?ee(d,f):mn(d)});return m.columns=p||[],m}function a(s,f){var g=[],p=s.length,m=0,d=0,C,x=p<=0,j=!1;s.charCodeAt(p-1)===G&&--p,s.charCodeAt(p-1)===Ut&&--p;function y(){if(x)return kt;if(j)return j=!1,pn;var ut,ot=m,_;if(s.charCodeAt(ot)===Ot){for(;m++<p&&s.charCodeAt(m)!==Ot||s.charCodeAt(++m)===Ot;);return(ut=m)>=p?x=!0:(_=s.charCodeAt(m++))===G?j=!0:_===Ut&&(j=!0,s.charCodeAt(m)===G&&++m),s.slice(ot+1,ut-1).replace(/""/g,'"')}for(;m<p;){if((_=s.charCodeAt(ut=m++))===G)j=!0;else if(_===Ut)j=!0,s.charCodeAt(m)===G&&++m;else if(_!==r)continue;return s.slice(ot,ut)}return x=!0,s.slice(ot,p)}for(;(C=y())!==kt;){for(var at=[];C!==pn&&C!==kt;)at.push(C),C=y();f&&(at=f(at,d++))==null||g.push(at)}return g}function u(s,f){return s.map(function(g){return f.map(function(p){return h(g[p])}).join(t)})}function o(s,f){return f??(f=dn(s)),[f.map(h).join(t)].concat(u(s,f)).join(`
|
|
3
|
-
`)}function i(s,f){return f??(f=dn(s)),u(s,f).join(`
|
|
4
|
-
`)}function c(s){return s.map(l).join(`
|
|
5
|
-
`)}function l(s){return s.map(h).join(t)}function h(s){return s==null?"":s instanceof Date?ue(s):n.test(s+="")?'"'+s.replace(/"/g,'""')+'"':s}return{parse:e,parseRows:a,format:o,formatBody:i,formatRows:c,formatRow:l,formatValue:h}}function ie(t){return t}function se(t){if(t==null)return ie;var n,r,e=t.scale[0],a=t.scale[1],u=t.translate[0],o=t.translate[1];return function(i,c){c||(n=r=0);var l=2,h=i.length,s=Array(h);for(s[0]=(n+=i[0])*e+u,s[1]=(r+=i[1])*a+o;l<h;)s[l]=i[l],++l;return s}}function le(t,n){for(var r,e=t.length,a=e-n;a<--e;)r=t[a],t[a++]=t[e],t[e]=r}function ce(t,n){return typeof n=="string"&&(n=t.objects[n]),n.type==="GeometryCollection"?{type:"FeatureCollection",features:n.geometries.map(function(r){return yn(t,r)})}:yn(t,n)}function yn(t,n){var r=n.id,e=n.bbox,a=n.properties==null?{}:n.properties,u=vn(t,n);return r==null&&e==null?{type:"Feature",properties:a,geometry:u}:e==null?{type:"Feature",id:r,properties:a,geometry:u}:{type:"Feature",id:r,bbox:e,properties:a,geometry:u}}function vn(t,n){var r=se(t.transform),e=t.arcs;function a(h,s){s.length&&s.pop();for(var f=e[h<0?~h:h],g=0,p=f.length;g<p;++g)s.push(r(f[g],g));h<0&&le(s,p)}function u(h){return r(h)}function o(h){for(var s=[],f=0,g=h.length;f<g;++f)a(h[f],s);return s.length<2&&s.push(s[0]),s}function i(h){for(var s=o(h);s.length<4;)s.push(s[0]);return s}function c(h){return h.map(i)}function l(h){var s=h.type,f;switch(s){case"GeometryCollection":return{type:s,geometries:h.geometries.map(l)};case"Point":f=u(h.coordinates);break;case"MultiPoint":f=h.coordinates.map(u);break;case"LineString":f=o(h.arcs);break;case"MultiLineString":f=h.arcs.map(o);break;case"Polygon":f=c(h.arcs);break;case"MultiPolygon":f=h.arcs.map(c);break;default:return null}return{type:s,coordinates:f}}return l(n)}function fe(t,n){var r={},e={},a={},u=[],o=-1;n.forEach(function(l,h){var s=t.arcs[l<0?~l:l],f;s.length<3&&!s[1][0]&&!s[1][1]&&(f=n[++o],n[o]=l,n[h]=f)}),n.forEach(function(l){var h=i(l),s=h[0],f=h[1],g,p;if(g=a[s])if(delete a[g.end],g.push(l),g.end=f,p=e[f]){delete e[p.start];var m=p===g?g:g.concat(p);e[m.start=g.start]=a[m.end=p.end]=m}else e[g.start]=a[g.end]=g;else if(g=e[f])if(delete e[g.start],g.unshift(l),g.start=s,p=a[s]){delete a[p.end];var d=p===g?g:p.concat(g);e[d.start=p.start]=a[d.end=g.end]=d}else e[g.start]=a[g.end]=g;else g=[l],e[g.start=s]=a[g.end=f]=g});function i(l){var h=t.arcs[l<0?~l:l],s=h[0],f;return t.transform?(f=[0,0],h.forEach(function(g){f[0]+=g[0],f[1]+=g[1]})):f=h[h.length-1],l<0?[f,s]:[s,f]}function c(l,h){for(var s in l){var f=l[s];delete h[f.start],delete f.start,delete f.end,f.forEach(function(g){r[g<0?~g:g]=1}),u.push(f)}}return c(a,e),c(e,a),n.forEach(function(l){r[l<0?~l:l]||u.push([l])}),u}function he(t){return vn(t,ge.apply(this,arguments))}function ge(t,n,r){var e,a,u;if(arguments.length>1)e=pe(t,n,r);else for(a=0,e=Array(u=t.arcs.length);a<u;++a)e[a]=a;return{type:"MultiLineString",arcs:fe(t,e)}}function pe(t,n,r){var e=[],a=[],u;function o(s){var f=s<0?~s:s;(a[f]||(a[f]=[])).push({i:s,g:u})}function i(s){s.forEach(o)}function c(s){s.forEach(i)}function l(s){s.forEach(c)}function h(s){switch(u=s,s.type){case"GeometryCollection":s.geometries.forEach(h);break;case"LineString":i(s.arcs);break;case"MultiLineString":case"Polygon":c(s.arcs);break;case"MultiPolygon":l(s.arcs);break}}return h(n),a.forEach(r==null?function(s){e.push(s[0].i)}:function(s){r(s[0].g,s[s.length-1].g)&&e.push(s[0].i)}),e}var b="year",D="quarter",w="month",M="week",k="date",me="day",F="dayofyear",O="hours",U="minutes",A="seconds",S="milliseconds",bn=[b,D,w,M,k,"day",F,O,U,A,S],xt=bn.reduce((t,n,r)=>(t[n]=1+r,t),{});function Mn(t){let n=R(t).slice(),r={};return n.length||v("Missing time unit."),n.forEach(e=>{N(xt,e)?r[e]=1:v(`Invalid time unit: ${e}.`)}),(r.week||r.day?1:0)+(r.quarter||r.month||r.date?1:0)+(r.dayofyear?1:0)>1&&v(`Incompatible time units: ${t}`),n.sort((e,a)=>xt[e]-xt[a]),n}var de={[b]:"%Y ",[D]:"Q%q ",[w]:"%b ",[k]:"%d ",[M]:"W%U ",day:"%a ",[F]:"%j ",[O]:"%H:00",[U]:"00:%M",[A]:":%S",[S]:".%L",[`${b}-${w}`]:"%Y-%m ",[`${b}-${w}-${k}`]:"%Y-%m-%d ",[`${O}-${U}`]:"%H:%M"};function ye(t,n){let r=z({},de,n),e=Mn(t),a=e.length,u="",o=0,i,c;for(o=0;o<a;)for(i=e.length;i>o;--i)if(c=e.slice(o,i).join("-"),r[c]!=null){u+=r[c],o=i;break}return u.trim()}var Y=new Date;function Nt(t){return Y.setFullYear(t),Y.setMonth(0),Y.setDate(1),Y.setHours(0,0,0,0),Y}function ve(t){return Cn(new Date(t))}function be(t){return At(new Date(t))}function Cn(t){return st.count(Nt(t.getFullYear())-1,t)}function At(t){return Zt.count(Nt(t.getFullYear())-1,t)}function Et(t){return Nt(t).getDay()}function Me(t,n,r,e,a,u,o){if(0<=t&&t<100){let i=new Date(-1,n,r,e,a,u,o);return i.setFullYear(t),i}return new Date(t,n,r,e,a,u,o)}function Ce(t){return Tn(new Date(t))}function Te(t){return St(new Date(t))}function Tn(t){let n=Date.UTC(t.getUTCFullYear(),0,1);return it.count(n-1,t)}function St(t){let n=Date.UTC(t.getUTCFullYear(),0,1);return qt.count(n-1,t)}function Ft(t){return Y.setTime(Date.UTC(t,0,1)),Y.getUTCDay()}function we(t,n,r,e,a,u,o){if(0<=t&&t<100){let i=new Date(Date.UTC(-1,n,r,e,a,u,o));return i.setUTCFullYear(r.y),i}return new Date(Date.UTC(t,n,r,e,a,u,o))}function wn(t,n,r,e,a){let u=n||1,o=P(t),i=(C,x,j)=>(j||(j=C),je(r[j],e[j],C===o&&u,x)),c=new Date,l=gn(t),h=l.year?i(b):an(2012),s=l.month?i(w):l.quarter?i(D):I,f=l.week&&l.day?i("day",1,M+"day"):l.week?i(M,1):l.day?i("day",1):l.date?i(k,1):l.dayofyear?i(F,1):Kt,g=l.hours?i(O):I,p=l.minutes?i(U):I,m=l.seconds?i(A):I,d=l.milliseconds?i(S):I;return function(C){c.setTime(+C);let x=h(c);return a(x,s(c),f(c,x),g(c),p(c),m(c),d(c))}}function je(t,n,r,e){let a=r<=1?t:e?(u,o)=>e+r*Math.floor((t(u,o)-e)/r):(u,o)=>r*Math.floor(t(u,o)/r);return n?(u,o)=>n(a(u,o),o):a}function L(t,n,r){return n+t*7-(r+6)%7}var De={[b]:t=>t.getFullYear(),[D]:t=>Math.floor(t.getMonth()/3),[w]:t=>t.getMonth(),[k]:t=>t.getDate(),[O]:t=>t.getHours(),[U]:t=>t.getMinutes(),[A]:t=>t.getSeconds(),[S]:t=>t.getMilliseconds(),[F]:t=>Cn(t),[M]:t=>At(t),[M+"day"]:(t,n)=>L(At(t),t.getDay(),Et(n)),day:(t,n)=>L(1,t.getDay(),Et(n))},ke={[D]:t=>3*t,[M]:(t,n)=>L(t,0,Et(n))};function Oe(t,n){return wn(t,n||1,De,ke,Me)}var Ue={[b]:t=>t.getUTCFullYear(),[D]:t=>Math.floor(t.getUTCMonth()/3),[w]:t=>t.getUTCMonth(),[k]:t=>t.getUTCDate(),[O]:t=>t.getUTCHours(),[U]:t=>t.getUTCMinutes(),[A]:t=>t.getUTCSeconds(),[S]:t=>t.getUTCMilliseconds(),[F]:t=>Tn(t),[M]:t=>St(t),day:(t,n)=>L(1,t.getUTCDay(),Ft(n)),[M+"day"]:(t,n)=>L(St(t),t.getUTCDay(),Ft(n))},xe={[D]:t=>3*t,[M]:(t,n)=>L(t,0,Ft(n))};function Ne(t,n){return wn(t,n||1,Ue,xe,we)}var Ae={[b]:nr,[D]:Ht.every(3),[w]:Ht,[M]:Zt,[k]:st,day:st,[F]:st,[O]:or,[U]:Vn,[A]:Jt,[S]:Wt},Ee={[b]:er,[D]:Gt.every(3),[w]:Gt,[M]:qt,[k]:it,day:it,[F]:it,[O]:Qn,[U]:ur,[A]:Jt,[S]:Wt};function dt(t){return Ae[t]}function yt(t){return Ee[t]}function jn(t,n,r){return t?t.offset(n,r):void 0}function Se(t,n,r){return jn(dt(t),n,r)}function Fe(t,n,r){return jn(yt(t),n,r)}function Dn(t,n,r,e){return t?t.range(n,r,e):void 0}function Pe(t,n,r,e){return Dn(dt(t),n,r,e)}function ze(t,n,r,e){return Dn(yt(t),n,r,e)}var Z=1e3,V=Z*60,Q=V*60,vt=Q*24,Ye=vt*7,kn=vt*30,Pt=vt*365,On=[b,w,k,O,U,A,S],K=On.slice(0,-1),X=K.slice(0,-1),tt=X.slice(0,-1),Ie=tt.slice(0,-1),$e=[b,M],Un=[b,w],xn=[b],nt=[[K,1,Z],[K,5,5*Z],[K,15,15*Z],[K,30,30*Z],[X,1,V],[X,5,5*V],[X,15,15*V],[X,30,30*V],[tt,1,Q],[tt,3,3*Q],[tt,6,6*Q],[tt,12,12*Q],[Ie,1,vt],[$e,1,Ye],[Un,1,kn],[Un,3,3*kn],[xn,1,Pt]];function Re(t){let n=t.extent,r=t.maxbins||40,e=Math.abs(ln(n))/r,a=Jn(i=>i[2]).right(nt,e),u,o;return a===nt.length?(u=xn,o=Tt(n[0]/Pt,n[1]/Pt,r)):a?(a=nt[e/nt[a-1][2]<nt[a][2]/e?a-1:a],u=a[0],o=a[1]):(u=On,o=Math.max(Tt(n[0],n[1],r),1)),{units:u,step:o}}function rt(t){let n={};return r=>n[r]||(n[r]=t(r))}function Be(t,n){return r=>{let e=t(r),a=e.indexOf(n);if(a<0)return e;let u=Le(e,a),o=u<e.length?e.slice(u):"";for(;--u>a;)if(e[u]!=="0"){++u;break}return e.slice(0,u)+o}}function Le(t,n){let r=t.lastIndexOf("e"),e;if(r>0)return r;for(r=t.length;--r>n;)if(e=t.charCodeAt(r),e>=48&&e<=57)return r+1}function Nn(t){let n=rt(t.format),r=t.formatPrefix;return{format:n,formatPrefix:r,formatFloat(e){let a=_t(e||",");if(a.precision==null){switch(a.precision=12,a.type){case"%":a.precision-=2;break;case"e":--a.precision;break}return Be(n(a),n(".1f")(1)[1])}else return n(a)},formatSpan(e,a,u,o){o=_t(o??",f");let i=Tt(e,a,u),c=Math.max(Math.abs(e),Math.abs(a)),l;if(o.precision==null)switch(o.type){case"s":return isNaN(l=_n(i,c))||(o.precision=l),r(o,c);case"":case"e":case"g":case"p":case"r":isNaN(l=qn(i,c))||(o.precision=l-(o.type==="e"));break;case"f":case"%":isNaN(l=Wn(i))||(o.precision=l-(o.type==="%")*2);break}return n(o)}}}var zt;An();function An(){return zt=Nn({format:Zn,formatPrefix:Hn})}function En(t){return Nn(Gn(t))}function bt(t){return arguments.length?zt=En(t):zt}function Sn(t,n,r){r||(r={}),$(r)||v(`Invalid time multi-format specifier: ${r}`);let e=n(A),a=n(U),u=n(O),o=n(k),i=n(M),c=n(w),l=n(D),h=n(b),s=t(r.milliseconds||".%L"),f=t(r.seconds||":%S"),g=t(r.minutes||"%I:%M"),p=t(r.hours||"%I %p"),m=t(r.date||r.day||"%a %d"),d=t(r.week||"%b %d"),C=t(r.month||"%B"),x=t(r.quarter||"%B"),j=t(r.year||"%Y");return y=>(e(y)<y?s:a(y)<y?f:u(y)<y?g:o(y)<y?p:c(y)<y?i(y)<y?m:d:h(y)<y?l(y)<y?C:x:j)(y)}function Fn(t){let n=rt(t.format),r=rt(t.utcFormat);return{timeFormat:e=>pt(e)?n(e):Sn(n,dt,e),utcFormat:e=>pt(e)?r(e):Sn(r,yt,e),timeParse:rt(t.parse),utcParse:rt(t.utcParse)}}var Yt;Pn();function Pn(){return Yt=Fn({format:ar,parse:tr,utcFormat:rr,utcParse:Xn})}function zn(t){return Fn(Kn(t))}function et(t){return arguments.length?Yt=zn(t):Yt}var It=(t,n)=>z({},t,n);function _e(t,n){return It(t?En(t):bt(),n?zn(n):et())}function Yn(t,n){let r=arguments.length;return r&&r!==2&&v("defaultLocale expects either zero or two arguments."),r?It(bt(t),et(n)):It(bt(),et())}function We(){return An(),Pn(),Yn()}var Je=/^(data:|([A-Za-z]+:)?\/\/)/,qe=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,He=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Ge="file://";function Ze(t){return n=>({options:n||{},sanitize:Qe,load:Ve,fileAccess:!1,file:Ke(),http:ta})}async function Ve(t,n){let r=await this.sanitize(t,n),e=r.href;return r.localFile?this.file(e):this.http(e,n==null?void 0:n.http)}async function Qe(t,n){n=z({},this.options,n);let r=this.fileAccess,e={href:null},a,u,o,i=qe.test(t.replace(He,""));(t==null||typeof t!="string"||!i)&&v("Sanitize failure, invalid URI: "+mt(t));let c=Je.test(t);return(o=n.baseURL)&&!c&&(!t.startsWith("/")&&!o.endsWith("/")&&(t="/"+t),t=o+t),u=(a=t.startsWith(Ge))||n.mode==="file"||n.mode!=="http"&&!c&&r,a?t=t.slice(7):t.startsWith("//")&&(n.defaultProtocol==="file"?(t=t.slice(2),u=!0):t=(n.defaultProtocol||"http")+":"+t),Object.defineProperty(e,"localFile",{value:!!u}),e.href=t,n.target&&(e.target=n.target+""),n.rel&&(e.rel=n.rel+""),n.context==="image"&&n.crossOrigin&&(e.crossOrigin=n.crossOrigin+""),e}function Ke(t){return Xe}async function Xe(){v("No file system access.")}async function ta(t,n){let r=z({},this.options.http,n),e=n&&n.response,a=await fetch(t,r);return a.ok?B(a[e])?a[e]():a.text():v(a.status+""+a.statusText)}var na=t=>t!=null&&t===t,ra=t=>t==="true"||t==="false"||t===!0||t===!1,ea=t=>!Number.isNaN(Date.parse(t)),In=t=>!Number.isNaN(+t)&&!(t instanceof Date),aa=t=>In(t)&&Number.isInteger(+t),$t={boolean:cn,integer:q,number:q,date:fn,string:hn,unknown:W},Mt=[ra,aa,In,ea],ua=["boolean","integer","number","date"];function $n(t,n){if(!t||!t.length)return"unknown";let r=t.length,e=Mt.length,a=Mt.map((u,o)=>o+1);for(let u=0,o=0,i,c;u<r;++u)for(c=n?t[u][n]:t[u],i=0;i<e;++i)if(a[i]&&na(c)&&!Mt[i](c)&&(a[i]=0,++o,o===Mt.length))return"string";return ua[a.reduce((u,o)=>u===0?o:u,0)-1]}function Rn(t,n){return n.reduce((r,e)=>(r[e]=$n(t,e),r),{})}function Bn(t){let n=function(r,e){let a={delimiter:t};return Rt(r,e?z(e,a):a)};return n.responseType="text",n}function Rt(t,n){return n.header&&(t=n.header.map(mt).join(n.delimiter)+`
|
|
6
|
-
`+t),oe(n.delimiter).parse(t+"")}Rt.responseType="text";function oa(t){return typeof Buffer=="function"&&B(Buffer.isBuffer)?Buffer.isBuffer(t):!1}function Bt(t,n){let r=n&&n.property?lt(n.property):W;return $(t)&&!oa(t)?ia(r(t),n):r(JSON.parse(t))}Bt.responseType="json";function ia(t,n){return!J(t)&&on(t)&&(t=[...t]),n&&n.copy?JSON.parse(JSON.stringify(t)):t}var sa={interior:(t,n)=>t!==n,exterior:(t,n)=>t===n};function Ln(t,n){let r,e,a,u;return t=Bt(t,n),n&&n.feature?(r=ce,a=n.feature):n&&n.mesh?(r=he,a=n.mesh,u=sa[n.filter]):v("Missing TopoJSON feature or mesh parameter."),e=(e=t.objects[a])?r(t,e,u):v("Invalid TopoJSON object: "+a),e&&e.features||[e]}Ln.responseType="json";var Ct={dsv:Rt,csv:Bn(","),tsv:Bn(" "),json:Bt,topojson:Ln};function Lt(t,n){return arguments.length>1?(Ct[t]=n,this):N(Ct,t)?Ct[t]:null}function la(t){let n=Lt(t);return n&&n.responseType||"text"}function ca(t,n,r,e){n||(n={});let a=Lt(n.type||"json");return a||v("Unknown data format type: "+n.type),t=a(t,n),n.parse&&fa(t,n.parse,r,e),N(t,"columns")&&delete t.columns,t}function fa(t,n,r,e){if(!t.length)return;let a=et();r||(r=a.timeParse),e||(e=a.utcParse);let u=t.columns||Object.keys(t[0]),o,i,c,l,h,s;n==="auto"&&(n=Rn(t,u)),u=Object.keys(n);let f=u.map(g=>{let p=n[g],m,d;if(p&&(p.startsWith("date:")||p.startsWith("utc:")))return m=p.split(/:(.+)?/,2),d=m[1],(d[0]==="'"&&d[d.length-1]==="'"||d[0]==='"'&&d[d.length-1]==='"')&&(d=d.slice(1,-1)),(m[0]==="utc"?e:r)(d);if(!$t[p])throw Error("Illegal format pattern: "+g+":"+p);return $t[p]});for(c=0,h=t.length,s=u.length;c<h;++c)for(o=t[c],l=0;l<s;++l)i=u[l],o[i]=f[l](o[i])}var ha=Ze();export{Sr as $,Or as $t,Se as A,Cr as At,be as B,ln as Bt,bn as C,Hr as Ct,ve as D,Mr as Dt,Re as E,Zr as Et,yt as F,Dr as Ft,vr as G,gn as Gt,br as H,cn as Ht,Fe as I,kr as It,E as J,fr as Jt,mr as K,hn as Kt,ze as L,P as Lt,ye as M,Xr as Mt,Mn as N,wr as Nt,Oe as O,Qr as Ot,Ne as P,jr as Pt,Dt as Q,I as Qt,Ce as R,Ar as Rt,A as S,$ as St,b as T,Gr as Tt,gr as U,fn as Ut,mt as V,wt as Vt,dr as W,q as Wt,ir as X,re as Xt,Vt as Y,Er as Yt,R as Z,jt as Zt,O as _,qr as _t,ha as a,Rr as at,w as b,on as bt,$t as c,Lr as ct,bt as d,N as dt,Ur as en,Pr as et,We as f,cr as ft,F as g,J as gt,me as h,Jr as ht,Rn as i,z as it,Pe as j,Kt as jt,dt as k,Kr as kt,Yn as l,lt,k as m,Wr as mt,Lt as n,Nr as nn,$r as nt,ca as o,Br as ot,et as p,W as pt,yr as q,ne as qt,$n as r,v as rt,la as s,hr as st,Ct as t,xr as tn,an as tt,_e as u,_r as ut,S as v,un as vt,M as w,pt as wt,D as x,sn as xt,U as y,B as yt,Te as z,H as zt};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as o}from"./velocity-viirwPm7.js";export{o as velocity};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as o,t as r}from"./verilog-CZguTLBV.js";export{r as tlv,o as verilog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as o}from"./vhdl-CAEhCBOl.js";export{o as vhdl};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./webidl-BNJg_7gX.js";export{e as webIDL};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t}from"./createLucideIcon-BCdY6lG5.js";var e=t("workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);export{e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as V}from"./chunk-LvLJmgfZ.js";import{t as B}from"./react-Bj1aDYRI.js";import{t as G}from"./compiler-runtime-B3qBwwSJ.js";import{t as H}from"./jsx-runtime-ZmTK25f3.js";import{t as W}from"./button-CZ3Cs4qb.js";import{r as I}from"./requests-B4FYHTZl.js";import{r as D}from"./input-DUrq2DiR.js";import{t as E}from"./use-toast-BDYuj3zG.js";import{c as J,i as O,n as Q,s as U,t as X}from"./select-BVdzZKAh.js";import{a as Z,c as $,i as ee,n as te,r as re}from"./dialog-eb-NieZw.js";import{t as ae}from"./links-7AQBmdyV.js";import{t as P}from"./label-E64zk6_7.js";import{r as L}from"./field-CySaBlkz.js";var oe=G(),T=V(B(),1),t=V(H(),1);function le(a){return a.sort((e,r)=>e.provider==="env"?1:r.provider==="env"?-1:0)}const ne=a=>{let e=(0,oe.c)(43),{providerNames:r,onClose:A,onSuccess:F}=a,{writeSecret:Y}=I(),[o,M]=T.useState(""),[n,R]=T.useState(""),[l,z]=T.useState(r[0]),g;e[0]!==o||e[1]!==l||e[2]!==F||e[3]!==n||e[4]!==Y?(g=async i=>{if(i.preventDefault(),!l){E({title:"Error",description:"No location selected for the secret.",variant:"danger"});return}if(!o||!n||!l){E({title:"Error",description:"Please fill in all fields.",variant:"danger"});return}try{await Y({key:o,value:n,provider:"dotenv",name:l}),E({title:"Secret created",description:"The secret has been created successfully."}),F(o)}catch{E({title:"Error",description:"Failed to create secret. Please try again.",variant:"danger"})}},e[0]=o,e[1]=l,e[2]=F,e[3]=n,e[4]=Y,e[5]=g):g=e[5];let q=g,j;e[6]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsxs)(Z,{children:[(0,t.jsx)($,{children:"Add Secret"}),(0,t.jsx)(re,{children:"Add a new secret to your environment variables."})]}),e[6]=j):j=e[6];let y;e[7]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(P,{htmlFor:"key",children:"Key"}),e[7]=y):y=e[7];let S;e[8]===Symbol.for("react.memo_cache_sentinel")?(S=i=>{M(ie(i.target.value))},e[8]=S):S=e[8];let s;e[9]===o?s=e[10]:(s=(0,t.jsxs)("div",{className:"grid gap-2",children:[y,(0,t.jsx)(D,{id:"key",value:o,onChange:S,placeholder:"MY_SECRET_KEY",required:!0})]}),e[9]=o,e[10]=s);let _;e[11]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(P,{htmlFor:"value",children:"Value"}),e[11]=_):_=e[11];let b;e[12]===Symbol.for("react.memo_cache_sentinel")?(b=i=>R(i.target.value),e[12]=b):b=e[12];let c;e[13]===n?c=e[14]:(c=(0,t.jsx)(D,{id:"value",type:"password",value:n,onChange:b,required:!0,autoComplete:"off"}),e[13]=n,e[14]=c);let C;e[15]===Symbol.for("react.memo_cache_sentinel")?(C=se()&&(0,t.jsx)(L,{children:"Note: You are sending this key over http."}),e[15]=C):C=e[15];let d;e[16]===c?d=e[17]:(d=(0,t.jsxs)("div",{className:"grid gap-2",children:[_,c,C]}),e[16]=c,e[17]=d);let N;e[18]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(P,{htmlFor:"location",children:"Location"}),e[18]=N):N=e[18];let m;e[19]===r.length?m=e[20]:(m=r.length===0&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No dotenv locations configured."}),e[19]=r.length,e[20]=m);let h;e[21]!==l||e[22]!==r?(h=r.length>0&&(0,t.jsxs)(X,{value:l,onValueChange:i=>z(i),children:[(0,t.jsx)(U,{children:(0,t.jsx)(J,{placeholder:"Select a provider"})}),(0,t.jsx)(Q,{children:r.map(ce)})]}),e[21]=l,e[22]=r,e[23]=h):h=e[23];let k;e[24]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsxs)(L,{children:["You can configure the location by setting the"," ",(0,t.jsx)(ae,{href:"https://links.marimo.app/dotenv",children:"dotenv configuration"}),"."]}),e[24]=k):k=e[24];let p;e[25]!==m||e[26]!==h?(p=(0,t.jsxs)("div",{className:"grid gap-2",children:[N,m,h,k]}),e[25]=m,e[26]=h,e[27]=p):p=e[27];let u;e[28]!==d||e[29]!==p||e[30]!==s?(u=(0,t.jsxs)("div",{className:"grid gap-4 py-4",children:[s,d,p]}),e[28]=d,e[29]=p,e[30]=s,e[31]=u):u=e[31];let f;e[32]===A?f=e[33]:(f=(0,t.jsx)(W,{type:"button",variant:"outline",onClick:A,children:"Cancel"}),e[32]=A,e[33]=f);let K=!o||!n||!l,v;e[34]===K?v=e[35]:(v=(0,t.jsx)(W,{type:"submit",disabled:K,children:"Add Secret"}),e[34]=K,e[35]=v);let x;e[36]!==f||e[37]!==v?(x=(0,t.jsxs)(ee,{children:[f,v]}),e[36]=f,e[37]=v,e[38]=x):x=e[38];let w;return e[39]!==q||e[40]!==u||e[41]!==x?(w=(0,t.jsx)(te,{children:(0,t.jsxs)("form",{onSubmit:q,children:[j,u,x]})}),e[39]=q,e[40]=u,e[41]=x,e[42]=w):w=e[42],w};function ie(a){return a.replaceAll(/\W/g,"_")}function se(){return window.location.href.startsWith("http://")}function ce(a){return(0,t.jsx)(O,{value:a,children:a},a)}export{le as n,ne as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as r}from"./createLucideIcon-BCdY6lG5.js";var t=r("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),a=r("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),e=r("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);export{a as n,t as r,e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as r}from"./xquery-CGV_r322.js";export{r as xQuery};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var j,Q,K,Z,q,J,tt,it,et,st;import{t as zt}from"./linear-BWciPXnd.js";import{n as ui}from"./ordinal-DG_POl79.js";import{t as xi}from"./range-1DwpgXvM.js";import"./defaultLocale-JieDVWC_.js";import"./purify.es-DZrAQFIu.js";import"./src-CvyFXpBy.js";import{t as Ot}from"./line-BA7eTS55.js";import{i as Wt}from"./chunk-S3R3BYOJ-OezEEdUG.js";import{n as di}from"./init-DRQmrFIb.js";import{n,r as Ft}from"./src-CmKhyEBC.js";import{B as pi,C as Xt,I as fi,T as mi,U as yi,_ as bi,a as Ai,c as Ci,d as wi,v as Si,y as mt,z as ki}from"./chunk-ABZYJK2D-CNf44YbG.js";import{t as _i}from"./chunk-EXTU4WIE-DhUL3hgE.js";import"./dist-DxxvVPQH.js";import{t as Ti}from"./chunk-JA3XYJ7Z-BBDBNwto.js";function yt(){var e=ui().unknown(void 0),t=e.domain,i=e.range,s=0,a=1,l,g,f=!1,p=0,_=0,L=.5;delete e.unknown;function w(){var b=t().length,v=a<s,D=v?a:s,P=v?s:a;l=(P-D)/Math.max(1,b-p+_*2),f&&(l=Math.floor(l)),D+=(P-D-l*(b-p))*L,g=l*(1-p),f&&(D=Math.round(D),g=Math.round(g));var E=xi(b).map(function(m){return D+l*m});return i(v?E.reverse():E)}return e.domain=function(b){return arguments.length?(t(b),w()):t()},e.range=function(b){return arguments.length?([s,a]=b,s=+s,a=+a,w()):[s,a]},e.rangeRound=function(b){return[s,a]=b,s=+s,a=+a,f=!0,w()},e.bandwidth=function(){return g},e.step=function(){return l},e.round=function(b){return arguments.length?(f=!!b,w()):f},e.padding=function(b){return arguments.length?(p=Math.min(1,_=+b),w()):p},e.paddingInner=function(b){return arguments.length?(p=Math.min(1,b),w()):p},e.paddingOuter=function(b){return arguments.length?(_=+b,w()):_},e.align=function(b){return arguments.length?(L=Math.max(0,Math.min(1,b)),w()):L},e.copy=function(){return yt(t(),[s,a]).round(f).paddingInner(p).paddingOuter(_).align(L)},di.apply(w(),arguments)}var bt=(function(){var e=n(function(h,A,x,u){for(x||(x={}),u=h.length;u--;x[h[u]]=A);return x},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],l=[1,6],g=[1,7],f=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],_=[1,26],L=[1,28],w=[1,29],b=[1,30],v=[1,31],D=[1,32],P=[1,33],E=[1,34],m=[1,35],T=[1,36],r=[1,37],z=[1,43],O=[1,42],V=[1,47],S=[1,50],c=[1,10,12,14,16,18,19,21,23,34,35,36],M=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],y=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Y=[1,64],U={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n(function(h,A,x,u,k,o,at){var d=o.length-1;switch(k){case 5:u.setOrientation(o[d]);break;case 9:u.setDiagramTitle(o[d].text.trim());break;case 12:u.setLineData({text:"",type:"text"},o[d]);break;case 13:u.setLineData(o[d-1],o[d]);break;case 14:u.setBarData({text:"",type:"text"},o[d]);break;case 15:u.setBarData(o[d-1],o[d]);break;case 16:this.$=o[d].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=o[d].trim(),u.setAccDescription(this.$);break;case 19:this.$=o[d-1];break;case 20:this.$=[Number(o[d-2]),...o[d]];break;case 21:this.$=[Number(o[d])];break;case 22:u.setXAxisTitle(o[d]);break;case 23:u.setXAxisTitle(o[d-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(o[d]);break;case 26:u.setXAxisRangeData(Number(o[d-2]),Number(o[d]));break;case 27:this.$=o[d-1];break;case 28:this.$=[o[d-2],...o[d]];break;case 29:this.$=[o[d]];break;case 30:u.setYAxisTitle(o[d]);break;case 31:u.setYAxisTitle(o[d-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(o[d-2]),Number(o[d]));break;case 37:this.$={text:o[d],type:"text"};break;case 38:this.$={text:o[d],type:"text"};break;case 39:this.$={text:o[d],type:"markdown"};break;case 40:this.$=o[d];break;case 41:this.$=o[d-1]+""+o[d];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:a,35:l,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:a,35:l,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:l,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,34]),e(f,[2,35]),e(f,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:a,35:l,36:g}),{1:[2,3]},e(f,[2,5]),e(t,[2,7],{4:22,34:a,35:l,36:g}),{11:23,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},{11:39,13:38,24:z,27:O,29:40,30:41,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},{11:45,15:44,27:V,33:46,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},{11:49,17:48,24:S,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},{11:52,17:51,24:S,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},{20:[1,53]},{22:[1,54]},e(c,[2,18]),{1:[2,2]},e(c,[2,8]),e(c,[2,9]),e(M,[2,37],{40:55,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r}),e(M,[2,38]),e(M,[2,39]),e(y,[2,40]),e(y,[2,42]),e(y,[2,43]),e(y,[2,44]),e(y,[2,45]),e(y,[2,46]),e(y,[2,47]),e(y,[2,48]),e(y,[2,49]),e(y,[2,50]),e(y,[2,51]),e(c,[2,10]),e(c,[2,22],{30:41,29:56,24:z,27:O}),e(c,[2,24]),e(c,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},e(c,[2,11]),e(c,[2,30],{33:60,27:V}),e(c,[2,32]),{31:[1,61]},e(c,[2,12]),{17:62,24:S},{25:63,27:Y},e(c,[2,14]),{17:65,24:S},e(c,[2,16]),e(c,[2,17]),e(y,[2,41]),e(c,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(c,[2,31]),{27:[1,69]},e(c,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(c,[2,15]),e(c,[2,26]),e(c,[2,27]),{11:59,32:72,37:24,38:p,39:_,40:27,41:L,42:w,43:b,44:v,45:D,46:P,47:E,48:m,49:T,50:r},e(c,[2,33]),e(c,[2,19]),{25:73,27:Y},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(h,A){if(A.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=A,x}},"parseError"),parse:n(function(h){var A=this,x=[0],u=[],k=[null],o=[],at=this.table,d="",rt=0,vt=0,Et=0,ri=2,Mt=1,li=o.slice.call(arguments,1),R=Object.create(this.lexer),X={yy:{}};for(var xt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xt)&&(X.yy[xt]=this.yy[xt]);R.setInput(h,X.yy),X.yy.lexer=R,X.yy.parser=this,R.yylloc===void 0&&(R.yylloc={});var dt=R.yylloc;o.push(dt);var ci=R.options&&R.options.ranges;typeof X.yy.parseError=="function"?this.parseError=X.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function gi(B){x.length-=2*B,k.length-=B,o.length-=B}n(gi,"popStack");function It(){var B=u.pop()||R.lex()||Mt;return typeof B!="number"&&(B instanceof Array&&(u=B,B=u.pop()),B=A.symbols_[B]||B),B}n(It,"lex");for(var I,pt,N,$,ft,H={},lt,W,$t,ct;;){if(N=x[x.length-1],this.defaultActions[N]?$=this.defaultActions[N]:(I??(I=It()),$=at[N]&&at[N][I]),$===void 0||!$.length||!$[0]){var Bt="";for(lt in ct=[],at[N])this.terminals_[lt]&<>ri&&ct.push("'"+this.terminals_[lt]+"'");Bt=R.showPosition?"Parse error on line "+(rt+1)+`:
|
|
2
|
-
`+R.showPosition()+`
|
|
3
|
-
Expecting `+ct.join(", ")+", got '"+(this.terminals_[I]||I)+"'":"Parse error on line "+(rt+1)+": Unexpected "+(I==Mt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Bt,{text:R.match,token:this.terminals_[I]||I,line:R.yylineno,loc:dt,expected:ct})}if($[0]instanceof Array&&$.length>1)throw Error("Parse Error: multiple actions possible at state: "+N+", token: "+I);switch($[0]){case 1:x.push(I),k.push(R.yytext),o.push(R.yylloc),x.push($[1]),I=null,pt?(I=pt,pt=null):(vt=R.yyleng,d=R.yytext,rt=R.yylineno,dt=R.yylloc,Et>0&&Et--);break;case 2:if(W=this.productions_[$[1]][1],H.$=k[k.length-W],H._$={first_line:o[o.length-(W||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(W||1)].first_column,last_column:o[o.length-1].last_column},ci&&(H._$.range=[o[o.length-(W||1)].range[0],o[o.length-1].range[1]]),ft=this.performAction.apply(H,[d,vt,rt,X.yy,$[1],k,o].concat(li)),ft!==void 0)return ft;W&&(x=x.slice(0,-1*W*2),k=k.slice(0,-1*W),o=o.slice(0,-1*W)),x.push(this.productions_[$[1]][0]),k.push(H.$),o.push(H._$),$t=at[x[x.length-2]][x[x.length-1]],x.push($t);break;case 3:return!0}}return!0},"parse")};U.lexer=(function(){return{EOF:1,parseError:n(function(h,A){if(this.yy.parser)this.yy.parser.parseError(h,A);else throw Error(h)},"parseError"),setInput:n(function(h,A){return this.yy=A||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var h=this._input[0];return this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h,h.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:n(function(h){var A=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1&&(this.yylineno-=x.length-1);var k=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===u.length?this.yylloc.first_column:0)+u[u.length-x.length].length-x[0].length:this.yylloc.first_column-A},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-A]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else 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).
|
|
4
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(h){this.unput(this.match.slice(h))},"less"),pastInput:n(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var h=this.pastInput(),A=Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
5
|
-
`+A+"^"},"showPosition"),test_match:n(function(h,A){var x,u,k;if(this.options.backtrack_lexer&&(k={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(k.yylloc.range=this.yylloc.range.slice(0))),u=h[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,A,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),x)return x;if(this._backtrack){for(var o in k)this[o]=k[o];return!1}return!1},"test_match"),next:n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var h,A,x,u;this._more||(this.yytext="",this.match="");for(var k=this._currentRules(),o=0;o<k.length;o++)if(x=this._input.match(this.rules[k[o]]),x&&(!A||x[0].length>A[0].length)){if(A=x,u=o,this.options.backtrack_lexer){if(h=this.test_match(x,k[o]),h!==!1)return h;if(this._backtrack){A=!1;continue}else return!1}else if(!this.options.flex)break}return A?(h=this.test_match(A,k[u]),h===!1?!1:h):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n(function(){return this.next()||this.lex()},"lex"),begin:n(function(h){this.conditionStack.push(h)},"begin"),popState:n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n(function(h){return h=this.conditionStack.length-1-Math.abs(h||0),h>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:n(function(h){this.begin(h)},"pushState"),stateStackSize:n(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n(function(h,A,x,u){switch(x){case 0:break;case 1:break;case 2:return this.popState(),34;case 3:return this.popState(),34;case 4:return 34;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 31;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 27;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 44:break;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}})();function F(){this.yy={}}return n(F,"Parser"),F.prototype=U,U.Parser=F,new F})();bt.parser=bt;var Ri=bt;function At(e){return e.type==="bar"}n(At,"isBarPlot");function Ct(e){return e.type==="band"}n(Ct,"isBandAxisData");function G(e){return e.type==="linear"}n(G,"isLinearAxisData");var Nt=(j=class{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((l,g)=>Math.max(g.length,l),0)*i,height:i};let s={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(let l of t){let g=Ti(a,1,l),f=g?g.width:l.length*i,p=g?g.height:i;s.width=Math.max(s.width,f),s.height=Math.max(s.height,p)}return a.remove(),s}},n(j,"TextDimensionCalculatorWithFont"),j),Vt=.7,Yt=.2,Ut=(Q=class{constructor(t,i,s,a){this.axisConfig=t,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){Vt*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(Vt*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let s=this.getLabelDimension(),a=Yt*t.width;this.outerPadding=Math.min(s.width/2,a);let l=s.height+this.axisConfig.labelPadding*2;this.labelTextHeight=s.height,l<=i&&(i-=l,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,a<=i&&(i-=a,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let s=this.getLabelDimension(),a=Yt*t.height;this.outerPadding=Math.min(s.height/2,a);let l=s.width+this.axisConfig.labelPadding*2;l<=i&&(i-=l,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,a<=i&&(i-=a,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}},n(Q,"BaseAxis"),Q),Di=(K=class extends Ut{constructor(t,i,s,a,l){super(t,a,l,i),this.categories=s,this.scale=yt().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=yt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Ft.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},n(K,"BandAxis"),K),Li=(Z=class extends Ut{constructor(t,i,s,a,l){super(t,a,l,i),this.domain=s,this.scale=zt().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];this.axisPosition==="left"&&t.reverse(),this.scale=zt().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}},n(Z,"LinearAxis"),Z);function wt(e,t,i,s){let a=new Nt(s);return Ct(e)?new Di(t,i,e.categories,e.title,a):new Li(t,i,[e.min,e.max],e.title,a)}n(wt,"getAxis");var Pi=(q=class{constructor(t,i,s,a){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,t.width),a=i.height+2*this.chartConfig.titlePadding;return i.width<=s&&i.height<=a&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=s,this.boundingRect.height=a,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}},n(q,"ChartTitle"),q);function Ht(e,t,i,s){return new Pi(new Nt(s),e,t,i)}n(Ht,"getChartTitleComponent");var vi=(J=class{constructor(t,i,s,a,l){this.plotData=t,this.xAxis=i,this.yAxis=s,this.orientation=a,this.plotIndex=l}getDrawableElement(){let t=this.plotData.data.map(s=>[this.xAxis.getScaleValue(s[0]),this.yAxis.getScaleValue(s[1])]),i;return i=this.orientation==="horizontal"?Ot().y(s=>s[0]).x(s=>s[1])(t):Ot().x(s=>s[0]).y(s=>s[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},n(J,"LinePlot"),J),Ei=(tt=class{constructor(t,i,s,a,l,g){this.barData=t,this.boundingRect=i,this.xAxis=s,this.yAxis=a,this.orientation=l,this.plotIndex=g}getDrawableElement(){let t=this.barData.data.map(a=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),i=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*.95,s=i/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(a=>({x:this.boundingRect.x,y:a[0]-s,height:i,width:a[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(a=>({x:a[0]-s,y:a[1],width:i,height:this.boundingRect.y+this.boundingRect.height-a[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},n(tt,"BarPlot"),tt),Mi=(it=class{constructor(t,i,s){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{let a=new vi(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...a.getDrawableElement())}break;case"bar":{let a=new Ei(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...a.getDrawableElement())}break}return t}},n(it,"BasePlot"),it);function Gt(e,t,i){return new Mi(e,t,i)}n(Gt,"getPlotComponent");var Ii=(et=class{constructor(t,i,s,a){this.chartConfig=t,this.chartData=i,this.componentStore={title:Ht(t,i,s,a),plot:Gt(t,i,s),xAxis:wt(i.xAxis,t.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},a),yAxis:wt(i.yAxis,t.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},a)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,a=0,l=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),g=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:l,height:g});t-=f.width,i-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),a=f.height,i-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:t,height:i}),s=f.width,t-=f.width,t>0&&(l+=t,t=0),i>0&&(g+=i,i=0),this.componentStore.plot.calculateSpace({width:l,height:g}),this.componentStore.plot.setBoundingBoxXY({x:s,y:a}),this.componentStore.xAxis.setRange([s,s+l]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:a+g}),this.componentStore.yAxis.setRange([a,a+g]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(p=>At(p))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,a=0,l=0,g=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),p=this.componentStore.plot.calculateSpace({width:g,height:f});t-=p.width,i-=p.height,p=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=p.height,i-=p.height,this.componentStore.xAxis.setAxisPosition("left"),p=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=p.width,a=p.width,this.componentStore.yAxis.setAxisPosition("top"),p=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=p.height,l=s+p.height,t>0&&(g+=t,t=0),i>0&&(f+=i,i=0),this.componentStore.plot.calculateSpace({width:g,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:l}),this.componentStore.yAxis.setRange([a,a+g]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:s}),this.componentStore.xAxis.setRange([l,l+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:l}),this.chartData.plots.some(_=>At(_))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},n(et,"Orchestrator"),et),$i=(st=class{static build(t,i,s,a){return new Ii(t,i,s,a).getDrawableElement()}},n(st,"XYChartBuilder"),st),nt=0,jt,ht=Tt(),ot=_t(),C=Rt(),St=ot.plotColorPalette.split(",").map(e=>e.trim()),gt=!1,kt=!1;function _t(){let e=mi(),t=mt();return Wt(e.xyChart,t.themeVariables.xyChart)}n(_t,"getChartDefaultThemeConfig");function Tt(){let e=mt();return Wt(wi.xyChart,e.xyChart)}n(Tt,"getChartDefaultConfig");function Rt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}n(Rt,"getChartDefaultData");function ut(e){let t=mt();return fi(e.trim(),t)}n(ut,"textSanitizer");function Qt(e){jt=e}n(Qt,"setTmpSVGG");function Kt(e){e==="horizontal"?ht.chartOrientation="horizontal":ht.chartOrientation="vertical"}n(Kt,"setOrientation");function Zt(e){C.xAxis.title=ut(e.text)}n(Zt,"setXAxisTitle");function Dt(e,t){C.xAxis={type:"linear",title:C.xAxis.title,min:e,max:t},gt=!0}n(Dt,"setXAxisRangeData");function qt(e){C.xAxis={type:"band",title:C.xAxis.title,categories:e.map(t=>ut(t.text))},gt=!0}n(qt,"setXAxisBand");function Jt(e){C.yAxis.title=ut(e.text)}n(Jt,"setYAxisTitle");function ti(e,t){C.yAxis={type:"linear",title:C.yAxis.title,min:e,max:t},kt=!0}n(ti,"setYAxisRangeData");function ii(e){let t=Math.min(...e),i=Math.max(...e),s=G(C.yAxis)?C.yAxis.min:1/0,a=G(C.yAxis)?C.yAxis.max:-1/0;C.yAxis={type:"linear",title:C.yAxis.title,min:Math.min(s,t),max:Math.max(a,i)}}n(ii,"setYAxisRangeFromPlotData");function Lt(e){let t=[];if(e.length===0)return t;if(!gt){let i=G(C.xAxis)?C.xAxis.min:1/0,s=G(C.xAxis)?C.xAxis.max:-1/0;Dt(Math.min(i,1),Math.max(s,e.length))}if(kt||ii(e),Ct(C.xAxis)&&(t=C.xAxis.categories.map((i,s)=>[i,e[s]])),G(C.xAxis)){let i=C.xAxis.min,s=C.xAxis.max,a=(s-i)/(e.length-1),l=[];for(let g=i;g<=s;g+=a)l.push(`${g}`);t=l.map((g,f)=>[g,e[f]])}return t}n(Lt,"transformDataWithoutCategory");function Pt(e){return St[e===0?0:e%St.length]}n(Pt,"getPlotColorFromPalette");function ei(e,t){let i=Lt(t);C.plots.push({type:"line",strokeFill:Pt(nt),strokeWidth:2,data:i}),nt++}n(ei,"setLineData");function si(e,t){let i=Lt(t);C.plots.push({type:"bar",fill:Pt(nt),data:i}),nt++}n(si,"setBarData");function ai(){if(C.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return C.title=Xt(),$i.build(ht,C,ot,jt)}n(ai,"getDrawableElem");function ni(){return ot}n(ni,"getChartThemeConfig");function hi(){return ht}n(hi,"getChartConfig");function oi(){return C}n(oi,"getXYChartData");var Bi={parser:Ri,db:{getDrawableElem:ai,clear:n(function(){Ai(),nt=0,ht=Tt(),C=Rt(),ot=_t(),St=ot.plotColorPalette.split(",").map(e=>e.trim()),gt=!1,kt=!1},"clear"),setAccTitle:pi,getAccTitle:Si,setDiagramTitle:yi,getDiagramTitle:Xt,getAccDescription:bi,setAccDescription:ki,setOrientation:Kt,setXAxisTitle:Zt,setXAxisRangeData:Dt,setXAxisBand:qt,setYAxisTitle:Jt,setYAxisRangeData:ti,setLineData:ei,setBarData:si,setTmpSVGG:Qt,getChartThemeConfig:ni,getChartConfig:hi,getXYChartData:oi},renderer:{draw:n((e,t,i,s)=>{let a=s.db,l=a.getChartThemeConfig(),g=a.getChartConfig(),f=a.getXYChartData().plots[0].data.map(m=>m[1]);function p(m){return m==="top"?"text-before-edge":"middle"}n(p,"getDominantBaseLine");function _(m){return m==="left"?"start":m==="right"?"end":"middle"}n(_,"getTextAnchor");function L(m){return`translate(${m.x}, ${m.y}) rotate(${m.rotation||0})`}n(L,"getTextTransformation"),Ft.debug(`Rendering xychart chart
|
|
7
|
-
`+e);let w=_i(t),b=w.append("g").attr("class","main"),v=b.append("rect").attr("width",g.width).attr("height",g.height).attr("class","background");Ci(w,g.height,g.width,!0),w.attr("viewBox",`0 0 ${g.width} ${g.height}`),v.attr("fill",l.backgroundColor),a.setTmpSVGG(w.append("g").attr("class","mermaid-tmp-group"));let D=a.getDrawableElem(),P={};function E(m){let T=b,r="";for(let[z]of m.entries()){let O=b;z>0&&P[r]&&(O=P[r]),r+=m[z],T=P[r],T||(T=P[r]=O.append("g").attr("class",m[z]))}return T}n(E,"getGroup");for(let m of D){if(m.data.length===0)continue;let T=E(m.groupTexts);switch(m.type){case"rect":if(T.selectAll("rect").data(m.data).enter().append("rect").attr("x",r=>r.x).attr("y",r=>r.y).attr("width",r=>r.width).attr("height",r=>r.height).attr("fill",r=>r.fill).attr("stroke",r=>r.strokeFill).attr("stroke-width",r=>r.strokeWidth),g.showDataLabel)if(g.chartOrientation==="horizontal"){let r=function(c,M){let{data:y,label:Y}=c;return M*Y.length*z<=y.width-10};n(r,"fitsHorizontally");let z=.7,O=m.data.map((c,M)=>({data:c,label:f[M].toString()})).filter(c=>c.data.width>0&&c.data.height>0),V=O.map(c=>{let{data:M}=c,y=M.height*.7;for(;!r(c,y)&&y>0;)--y;return y}),S=Math.floor(Math.min(...V));T.selectAll("text").data(O).enter().append("text").attr("x",c=>c.data.x+c.data.width-10).attr("y",c=>c.data.y+c.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",`${S}px`).text(c=>c.label)}else{let r=function(S,c,M){let{data:y,label:Y}=S,U=c*Y.length*.7,F=y.x+y.width/2,h=F-U/2,A=F+U/2,x=h>=y.x&&A<=y.x+y.width,u=y.y+M+c<=y.y+y.height;return x&&u};n(r,"fitsInBar");let z=m.data.map((S,c)=>({data:S,label:f[c].toString()})).filter(S=>S.data.width>0&&S.data.height>0),O=z.map(S=>{let{data:c,label:M}=S,y=c.width/(M.length*.7);for(;!r(S,y,10)&&y>0;)--y;return y}),V=Math.floor(Math.min(...O));T.selectAll("text").data(z).enter().append("text").attr("x",S=>S.data.x+S.data.width/2).attr("y",S=>S.data.y+10).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",`${V}px`).text(S=>S.label)}break;case"text":T.selectAll("text").data(m.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",r=>r.fill).attr("font-size",r=>r.fontSize).attr("dominant-baseline",r=>p(r.verticalPos)).attr("text-anchor",r=>_(r.horizontalPos)).attr("transform",r=>L(r)).text(r=>r.text);break;case"path":T.selectAll("path").data(m.data).enter().append("path").attr("d",r=>r.path).attr("fill",r=>r.fill?r.fill:"none").attr("stroke",r=>r.strokeFill).attr("stroke-width",r=>r.strokeWidth);break}}},"draw")}};export{Bi as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./yacas-uRzw7z7m.js";export{a as yacas};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-BCdY6lG5.js";var t=a("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),e=a("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),h=a("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]]),p=a("youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);export{t as i,h as n,e as r,p as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as a,t as e}from"./z80-CBK8t-9T.js";export{e as ez80,a as z80};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/assets/{click-outside-container-BXzp0MYr.js → click-outside-container-ChOZeHlm.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/assets/{emotion-is-prop-valid.esm-C59xfSYt.js → emotion-is-prop-valid.esm-C4tLsq6-.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|