@marimo-team/islands 0.23.15-dev6 → 0.23.15-dev62
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/{ConnectedDataExplorerComponent-CU4fZJzG.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +85 -84
- package/dist/{ErrorBoundary-DE6tzZf-.js → ErrorBoundary-DXlxsrTF.js} +3 -3
- package/dist/{ImageComparisonComponent-CHrI72em.js → ImageComparisonComponent-C3y7L3eJ.js} +173 -129
- package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-P9tjkj4n.js} +21 -21
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/assets/__vite-browser-external-CjNAy01L.js +1 -0
- package/dist/assets/worker-B3XPCb6y.js +98 -0
- package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +12 -12
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
- package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +6 -6
- package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
- package/dist/{channel-D_PHgcig.js → channel-BN070S0F.js} +1 -1
- package/dist/{chat-ui-DinOvbWu.js → chat-ui-BdSDiVjk.js} +3122 -3116
- package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
- package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
- package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-BxBDji1u.js} +3 -3
- package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-qFiszptQ.js} +2 -2
- package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-B_z2FEHm.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
- package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-D4Y8yV8B.js} +6 -6
- package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-BQPBhApE.js} +2 -2
- package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
- package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
- package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +3 -3
- package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-DWIR9m5O.js} +6 -6
- package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-Bw2HcMNc.js} +7 -7
- package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
- package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-DPBNNzpR.js} +2 -2
- package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-DtC2t9Mk.js} +10 -10
- package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-BdgLc8AM.js} +4 -4
- package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
- package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
- package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
- package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-BzSHcq-K.js} +3 -3
- package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +30 -0
- package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
- package/dist/{code-visibility-Dpab3kCj.js → code-visibility-D7Oaafvl.js} +1554 -1471
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.js} +2 -2
- package/dist/crystal-CCbg5EUH.js +4 -0
- package/dist/css-By8eo-XS.js +4 -0
- package/dist/cypher-DwfHg3nP.js +4 -0
- package/dist/d-Brs1wNbw.js +4 -0
- package/dist/{dagre-6UL2VRFP-J0JKgwOt.js → dagre-6UL2VRFP-DpYjBqQs.js} +11 -11
- package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
- package/dist/{constants-T20xxyNf.js → debounce-BOD3DbfP.js} +1 -24
- package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-D4ftnaua.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-DVlUOgs1.js} +17 -17
- package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-CGh4OMEV.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-DyyjKEYf.js → dist-3NCqaWjt.js} +2 -2
- package/dist/{dist-D-W5ny5a.js → dist-4lVIWUT3.js} +1 -1
- package/dist/dist-5o9uz19x.js +5 -0
- package/dist/{dist-GZXUmt0b.js → dist-B2jmQKKx.js} +2 -2
- package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
- package/dist/{dist-BaoDKvdy.js → dist-BCX980mU.js} +2 -2
- package/dist/{dist-DMjWuVs8.js → dist-BIEt-mlF.js} +1 -1
- package/dist/{dist-BR_gyG9L.js → dist-BO5HRiTf.js} +2 -2
- package/dist/{dist-Dv_Y15yk.js → dist-BOMbzyb3.js} +85 -85
- package/dist/{dist-CIYBwstr.js → dist-BP39XM8u.js} +1 -1
- package/dist/{dist-DZo4nSS0.js → dist-BPF0gTRZ.js} +6 -6
- package/dist/{dist-BSAt6RhH.js → dist-BTdrwBWP.js} +22 -22
- package/dist/{dist-BY018Paw.js → dist-BdqCKQ1O.js} +2 -2
- package/dist/dist-BpDH0DEP.js +5 -0
- package/dist/dist-BpXhbQXO.js +8 -0
- package/dist/{dist-CcWX6tmx.js → dist-BpeiYpG2.js} +2 -2
- package/dist/{dist-A2846XWO.js → dist-BwhXBwMd.js} +1 -1
- package/dist/dist-ByadAk_L.js +5 -0
- package/dist/{dist-abid3KgM.js → dist-C18MUWTj.js} +2 -2
- package/dist/{dist-DZORgqKY.js → dist-C2_4pjuS.js} +1 -1
- package/dist/{dist-BzEzfugY.js → dist-CFSb_Frm.js} +1 -1
- package/dist/dist-CK0g7JvP.js +8 -0
- package/dist/{dist-C_Y3oV3C.js → dist-CRmSjkLP.js} +2 -2
- package/dist/{dist-hT4QzYX-.js → dist-CSlJrrAw.js} +86 -81
- package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
- package/dist/dist-CfzCtiq2.js +5 -0
- package/dist/{dist-CoXAujgg.js → dist-D3bdsa1d.js} +4 -4
- package/dist/dist-D8JtVFrW.js +8 -0
- package/dist/dist-DK2Oocpu.js +6 -0
- package/dist/{dist-LTU8Hdvn.js → dist-DZwp8lro.js} +3 -3
- package/dist/{dist-t9Kf7xqC.js → dist-DaXJPX8F.js} +2 -2
- package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
- package/dist/{dist-M9Vag9Y0.js → dist-DgjbnqTg.js} +125 -125
- package/dist/dist-DnSu977r.js +5 -0
- package/dist/{dist-CxJDU6Bh.js → dist-DviUBLUp.js} +4 -4
- package/dist/{dist-CpxNdDkw.js → dist-DwqBJ014.js} +2 -2
- package/dist/{dist-Bf7SHuNp.js → dist-JGehap7K.js} +5 -5
- package/dist/{dist-Bk75fBZA.js → dist-LpLXa9Lb.js} +2 -2
- package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
- package/dist/dist-UmxJm6sW.js +8 -0
- package/dist/dist-aYSBQSyM.js +5 -0
- package/dist/dist-kkZ1Ztlh.js +6 -0
- package/dist/dist-ngPczwNi.js +5 -0
- package/dist/{dist-DgGbNavJ.js → dist-pqIwD8VD.js} +2 -2
- package/dist/dist-wQRyxyTV.js +5 -0
- package/dist/{dist-Dax--nl9.js → dist-w_gWE5Wf.js} +1 -1
- package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.js} +1 -1
- package/dist/dtd-Dyiazv4N.js +4 -0
- package/dist/dylan-D8Fcw7NA.js +4 -0
- package/dist/ecl-CjKp8Vii.js +4 -0
- package/dist/eiffel-K9ViOX5r.js +4 -0
- package/dist/elm-B5NVtRco.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BU-m41EQ.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
- package/dist/{esm-ga2Bf3O2.js → esm-DKOv6P2M.js} +424 -424
- package/dist/esm-k8PIvuZW.js +1180 -0
- package/dist/{extends-9MVIxxRo.js → extends-Cq2JYHKy.js} +36 -20
- package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +17 -17
- package/dist/{formats-Dzx4J_z1.js → formats-BFhkZJwd.js} +3 -3
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +17 -17
- package/dist/{glide-data-editor-CjTu7ukN.js → glide-data-editor--CaN-f27.js} +13 -13
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/{html-to-image-_wGfk8V-.js → html-to-image-DDENewl2.js} +2649 -2607
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +30 -0
- package/dist/{input-DtsN7xm-.js → input-DStQIuqD.js} +51 -51
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +12 -12
- package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
- package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
- package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
- package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-Boph2xIS.js → loader-CTHCI-qe.js} +5 -16
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +2217 -2116
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
- package/dist/{mermaid-BYqXy_NE.js → mermaid-CdSvixW2.js} +47 -47
- package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
- package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-CCDupjWW.js} +14 -14
- package/dist/mirc-tcwvVugm.js +4 -0
- package/dist/mllike-Dx91i62r.js +6 -0
- package/dist/modelica-_SRt-yU5.js +4 -0
- package/dist/mscgen-GZrGS9gt.js +6 -0
- package/dist/mumps-Cv3ygyod.js +4 -0
- package/dist/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
- package/dist/objects-De59twF-.js +56 -0
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
- package/dist/{process-output-Mh4UrjwM.js → process-output-2QPcgBQg.js} +4 -4
- package/dist/properties-BPgT1xTB.js +4 -0
- package/dist/protobuf-BgHBaIIK.js +4 -0
- package/dist/pug-25-oS0SG.js +4 -0
- package/dist/{pug-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/purify.es-EnR5yhgI.js +783 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
- package/dist/{react-vega-B0sAlDTL.js → react-vega-BazDALhI.js} +469 -469
- package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +14 -14
- package/dist/{reveal-component-BfYO8h-9.js → reveal-component-TK3vi1Xl.js} +629 -622
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-Cz-Bj1JI.js → spec-CnaxwDqy.js} +4 -4
- package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +17 -17
- package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +29 -0
- package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
- package/dist/stex-B5O-env2.js +4 -0
- package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
- package/dist/style.css +1 -1
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +4 -4
- package/dist/{toDate-CWNNlFEX.js → toDate-B3IRfHhw.js} +16 -7
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
- package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.js} +3 -3
- package/dist/troff-DuJAGWKH.js +4 -0
- package/dist/ttcn-BxrcwP21.js +4 -0
- package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
- package/dist/turtle-zCq949as.js +4 -0
- package/dist/{types-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
- package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
- package/dist/{useAsyncData-KfHB8wQR.js → useAsyncData-CvO8WUy3.js} +1 -1
- package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
- package/dist/{useDeepCompareMemoize-nJMtxhm4.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
- package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
- package/dist/{useLifecycle-DegSo0lV.js → useLifecycle-DqPxHgAN.js} +3 -3
- package/dist/{useTheme-6eZ3GOTS.js → useTheme-XMq9mNf_.js} +65 -29
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-DzyyM9fc.js → vega-component-CrFoZT1S.js} +225 -223
- package/dist/vega-embed-container-DAQAMjiO.js +22 -0
- package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
- package/dist/velocity-Di7l-yhe.js +4 -0
- package/dist/verilog-Bzi-S3g2.js +4 -0
- package/dist/vhdl-B0ZZITaW.js +4 -0
- package/dist/webidl-0sviiRcN.js +4 -0
- package/dist/xquery-B4qMVWaB.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BvwftqMA.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
- package/package.json +3 -1
- package/src/__mocks__/requests.ts +3 -0
- package/src/components/charts/lazy.tsx +3 -1
- package/src/components/charts/vega-embed-container.tsx +18 -0
- package/src/components/chat/__tests__/chat-utils.test.ts +244 -1
- package/src/components/chat/__tests__/message-queue.test.tsx +121 -0
- package/src/components/chat/chat-panel.tsx +196 -67
- package/src/components/chat/chat-utils.ts +111 -2
- package/src/components/editor/RecoveryButton.tsx +2 -2
- package/src/components/editor/SortableCell.tsx +6 -2
- package/src/components/editor/__tests__/output-persistence.test.tsx +241 -0
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +153 -0
- package/src/components/editor/actions/pair-with-agent-commands.ts +109 -0
- package/src/components/editor/actions/pair-with-agent-modal.tsx +20 -64
- package/src/components/editor/actions/useNotebookActions.tsx +8 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +14 -5
- package/src/components/editor/ai/ai-completion-editor.tsx +4 -1
- package/src/components/editor/cell/cell-context-menu.tsx +7 -0
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +221 -0
- package/src/components/editor/chrome/components/feedback-button.tsx +308 -77
- package/src/components/editor/chrome/panels/packages-panel.tsx +11 -1
- package/src/components/editor/chrome/panels/write-secret-modal.tsx +3 -2
- package/src/components/editor/columns/__tests__/cell-column.test.tsx +105 -0
- package/src/components/editor/columns/cell-column.tsx +34 -4
- package/src/components/editor/columns/sortable-column.tsx +24 -4
- package/src/components/editor/connections/__tests__/secret-combobox.test.ts +134 -0
- package/src/components/editor/connections/database/schemas.ts +35 -27
- package/src/components/editor/connections/form-renderers.tsx +42 -110
- package/src/components/editor/connections/secret-combobox.tsx +253 -0
- package/src/components/editor/connections/storage/schemas.ts +12 -6
- package/src/components/editor/file-tree/download.ts +46 -0
- package/src/components/editor/file-tree/file-explorer.tsx +3 -21
- package/src/components/editor/file-tree/file-viewer.tsx +4 -27
- package/src/components/editor/navigation/__tests__/navigation.test.ts +33 -0
- package/src/components/editor/navigation/navigation.ts +8 -1
- package/src/components/editor/notebook-cell.tsx +203 -106
- package/src/components/editor/renderers/__tests__/cells-renderer.test.tsx +66 -0
- package/src/components/editor/renderers/cell-array.tsx +26 -13
- package/src/components/editor/renderers/cells-renderer.tsx +8 -2
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +29 -0
- package/src/components/editor/renderers/slides-layout/types.ts +4 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +19 -19
- package/src/components/slides/reveal-component.tsx +37 -17
- package/src/components/slides/slide-form.tsx +72 -0
- package/src/components/ui/toast.tsx +11 -3
- package/src/components/ui/toaster.tsx +65 -9
- package/src/core/ai/context/providers/error.ts +6 -158
- package/src/core/cells/__tests__/utils.test.ts +59 -0
- package/src/core/cells/utils.ts +51 -0
- package/src/core/codemirror/completion/__tests__/signature-hint.test.ts +97 -3
- package/src/core/codemirror/completion/signature-hint.ts +78 -11
- package/src/core/constants.ts +8 -0
- package/src/core/diagnostics/__tests__/issue-details.test.ts +173 -0
- package/src/core/diagnostics/issue-details.ts +139 -0
- package/src/core/errors/__tests__/error-entries.test.ts +25 -0
- package/src/core/errors/error-entries.ts +176 -0
- package/src/core/islands/__tests__/bridge.test.ts +341 -46
- package/src/core/islands/__tests__/main.test.ts +176 -0
- package/src/core/islands/__tests__/parse.test.ts +105 -0
- package/src/core/islands/bootstrap.ts +8 -3
- package/src/core/islands/bridge.ts +117 -23
- package/src/core/islands/components/__tests__/web-components.test.tsx +214 -0
- package/src/core/islands/components/web-components.tsx +76 -15
- package/src/core/islands/constants.ts +1 -0
- package/src/core/islands/main.ts +69 -3
- package/src/core/islands/parse.ts +70 -23
- package/src/core/islands/worker/__tests__/controller.test.ts +173 -0
- package/src/core/islands/worker/worker.tsx +145 -57
- package/src/core/network/__tests__/requests-lazy.test.ts +18 -0
- package/src/core/network/__tests__/requests-network.test.ts +7 -0
- package/src/core/network/requests-lazy.ts +13 -1
- package/src/core/network/requests-network.ts +3 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +3 -0
- package/src/core/runtime/__tests__/runtime.test.ts +64 -0
- package/src/core/runtime/runtime.ts +30 -10
- package/src/core/wasm/bridge.ts +8 -0
- package/src/core/wasm/worker/bootstrap.ts +113 -20
- package/src/core/wasm/worker/types.ts +2 -0
- package/src/css/app/Cell.css +10 -0
- package/src/hooks/__tests__/useHotkey.test.tsx +88 -0
- package/src/hooks/useHotkey.ts +29 -4
- package/src/plugins/impl/anywidget/__tests__/host.test.ts +6 -9
- package/src/plugins/impl/anywidget/__tests__/registry.test.ts +3 -1
- package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +32 -61
- package/src/plugins/impl/anywidget/model-proxy.ts +0 -13
- package/src/plugins/impl/anywidget/runtime.ts +1 -0
- package/src/plugins/impl/anywidget/widget-binding.ts +8 -34
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +53 -2
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +71 -0
- package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
- package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
- package/src/plugins/impl/vega/vega-component.tsx +5 -4
- package/src/theme/__tests__/useTheme.test.ts +68 -0
- package/src/theme/useTheme.ts +16 -1
- package/dist/apl-Bdc61P1y.js +0 -4
- package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
- package/dist/asciiarmor-DVRHDGzT.js +0 -4
- package/dist/asn1-BmuKfkfu.js +0 -4
- package/dist/assets/__vite-browser-external-BQCLNwri.js +0 -1
- package/dist/assets/worker-DAWRHcPq.js +0 -73
- package/dist/brainfuck-DPrRpyTV.js +0 -4
- package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
- package/dist/clojure-DEttQW5T.js +0 -4
- package/dist/cmake-jNlx_DaM.js +0 -4
- package/dist/cobol-BvvIm5MJ.js +0 -4
- package/dist/coffeescript-DTpBMyFU.js +0 -4
- package/dist/commonlisp-BmmUG8jb.js +0 -4
- package/dist/crystal-BxyqmEWC.js +0 -4
- package/dist/css-BGoCtuG3.js +0 -4
- package/dist/cypher-BmCbdl3u.js +0 -4
- package/dist/d-CFrlbjZt.js +0 -4
- package/dist/diff-D6XwL6P8.js +0 -4
- package/dist/dist-7QfXoMdB.js +0 -5
- package/dist/dist-BEXXyZig.js +0 -5
- package/dist/dist-BYj57OV4.js +0 -5
- package/dist/dist-BlSvQzNr.js +0 -5
- package/dist/dist-CCBlxAgS.js +0 -8
- package/dist/dist-CIDTVIUf.js +0 -5
- package/dist/dist-CqQyhAM8.js +0 -8
- package/dist/dist-CwRu2Xzh.js +0 -5
- package/dist/dist-D8CDTVgf.js +0 -6
- package/dist/dist-D8DNB0nO.js +0 -8
- package/dist/dist-DL6N_q-A.js +0 -5
- package/dist/dist-DOFbNV_b.js +0 -8
- package/dist/dist-DPrYzMY0.js +0 -6
- package/dist/dist-cdmMjgsn.js +0 -5
- package/dist/dtd-Bw0lRN0-.js +0 -4
- package/dist/dylan-B55eBHTt.js +0 -4
- package/dist/ecl-C8G4p0wn.js +0 -4
- package/dist/eiffel-BmH46VJl.js +0 -4
- package/dist/elm-DhzeFqkl.js +0 -4
- package/dist/erlang-CY-wdlsU.js +0 -4
- package/dist/esm-M837UxV5.js +0 -1171
- package/dist/factor-DWkgl0xw.js +0 -4
- package/dist/forth-Cij_ie2t.js +0 -4
- package/dist/fortran-Br3X9cfm.js +0 -4
- package/dist/gas-DYsGcMN2.js +0 -4
- package/dist/gherkin-eVgXQ0fQ.js +0 -4
- package/dist/groovy-_NFHIXG7.js +0 -4
- package/dist/haskell-D6xNG_bH.js +0 -4
- package/dist/haxe-sU_rzAwn.js +0 -5
- package/dist/idl-Ds_VbrUx.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
- package/dist/javascript-CztfIl0i.js +0 -4
- package/dist/julia-DDv40QMV.js +0 -4
- package/dist/livescript-BEOngLLc.js +0 -4
- package/dist/lua-9-7BhQ4Y.js +0 -4
- package/dist/mathematica-DDa0Pfxm.js +0 -4
- package/dist/mbox-iO03mmoE.js +0 -4
- package/dist/mirc-C9z5LT4X.js +0 -4
- package/dist/mllike-jGJbdm_C.js +0 -6
- package/dist/modelica-DzF7oIEL.js +0 -4
- package/dist/mscgen-DB-u125o.js +0 -6
- package/dist/mumps-CRTFHhzh.js +0 -4
- package/dist/nsis-C4NPTuox.js +0 -4
- package/dist/ntriples-BCOoGph1.js +0 -4
- package/dist/octave-DTwNlazz.js +0 -4
- package/dist/oz-DD38AzSz.js +0 -4
- package/dist/pascal-BohSp9jV.js +0 -4
- package/dist/perl-f5OutoPM.js +0 -4
- package/dist/pig-Dv7wSmHb.js +0 -4
- package/dist/powershell-rYgjKB39.js +0 -4
- package/dist/properties-BFUNLRDN.js +0 -4
- package/dist/protobuf-B9QJQPPv.js +0 -4
- package/dist/pug-DzvWpaMC.js +0 -4
- package/dist/puppet-B_K-n_xK.js +0 -4
- package/dist/purify.es-H92eMd9-.js +0 -557
- package/dist/python-CAiFcaA2.js +0 -4
- package/dist/q-cLeFIBLK.js +0 -4
- package/dist/r-04Y-Wco3.js +0 -4
- package/dist/react-vega-B6ncY2Tp.js +0 -9
- package/dist/rpm-FUdrIia9.js +0 -5
- package/dist/ruby-DMjFXuEW.js +0 -4
- package/dist/sas-DzHZxjXK.js +0 -4
- package/dist/scheme-DxHd_Rb9.js +0 -4
- package/dist/shell-C8Kwypgf.js +0 -4
- package/dist/sieve-DdyqOKXZ.js +0 -4
- package/dist/smalltalk-pB7X1D9y.js +0 -4
- package/dist/sparql-NhBO6oOa.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-SfWSnzPv.js +0 -4
- package/dist/swift-jRPdq2zR.js +0 -4
- package/dist/tcl-_hpTHGX3.js +0 -4
- package/dist/textile-C9h8slqH.js +0 -4
- package/dist/toml-DWvtinD4.js +0 -4
- package/dist/troff-Dwo_A0y7.js +0 -4
- package/dist/ttcn-V--CPFKq.js +0 -4
- package/dist/ttcn-cfg-CPSMchTG.js +0 -4
- package/dist/turtle-B4rPGBWu.js +0 -4
- package/dist/vb-DaMBBd4j.js +0 -4
- package/dist/vbscript-BMJQqcE2.js +0 -4
- package/dist/vega-loader.browser-CZ-J8Py3.js +0 -1321
- package/dist/velocity-CGq2QRq2.js +0 -4
- package/dist/verilog-CUNo8F5u.js +0 -4
- package/dist/vhdl-CCzA0msW.js +0 -4
- package/dist/webidl-CqIMDIBL.js +0 -4
- package/dist/xquery-XC5Kbr-1.js +0 -4
- package/dist/yacas-CGOv7Dzy.js +0 -4
- package/dist/z80-CXhVmi-f.js +0 -4
- /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
- /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
- /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
- /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
- /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
- /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
- /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
- /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
- /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
- /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
- /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
- /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
- /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
- /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
- /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
- /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
- /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
- /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
- /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
- /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
- /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
- /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
- /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
- /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
- /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
- /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
- /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
- /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
- /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
- /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
- /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
- /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
- /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
- /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
- /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
- /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp,
|
|
2
|
-
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-
|
|
3
|
-
import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-
|
|
4
|
-
import { a as markdown } from "./dist-
|
|
5
|
-
import { n as html, r as htmlCompletionSource } from "./dist-
|
|
6
|
-
import { r as cssLanguage, t as css } from "./dist-
|
|
7
|
-
import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-
|
|
8
|
-
import { r as python } from "./dist-
|
|
9
|
-
import { t as stex } from "./stex-
|
|
10
|
-
import { t as cpp } from "./dist-
|
|
11
|
-
import { t as go } from "./dist-
|
|
12
|
-
import { t as java } from "./dist-
|
|
13
|
-
import { n as jinja } from "./dist-
|
|
14
|
-
import { t as json } from "./dist-
|
|
15
|
-
import { t as less } from "./dist-
|
|
16
|
-
import { n as liquid } from "./dist-
|
|
17
|
-
import { t as php } from "./dist-
|
|
18
|
-
import { t as rust } from "./dist-
|
|
19
|
-
import { t as sass } from "./dist-
|
|
20
|
-
import { t as wast } from "./dist-
|
|
21
|
-
import { r as xml } from "./dist-
|
|
22
|
-
import { t as yaml } from "./dist-
|
|
23
|
-
import { t as apl } from "./apl-
|
|
24
|
-
import { t as asciiArmor } from "./asciiarmor-
|
|
25
|
-
import { t as asn1 } from "./asn1-
|
|
26
|
-
import { t as brainfuck } from "./brainfuck-
|
|
27
|
-
import { t as cobol } from "./cobol-
|
|
28
|
-
import { c as squirrel, i as kotlin, n as csharp, o as objectiveCpp, r as dart, s as scala } from "./clike-
|
|
29
|
-
import { t as clojure } from "./clojure-
|
|
30
|
-
import { t as gss } from "./css-
|
|
31
|
-
import { t as cmake } from "./cmake-
|
|
32
|
-
import { t as coffeeScript } from "./coffeescript-
|
|
33
|
-
import { t as commonLisp } from "./commonlisp-
|
|
34
|
-
import { t as cypher } from "./cypher-
|
|
35
|
-
import { t as cython } from "./python-
|
|
36
|
-
import { t as crystal } from "./crystal-
|
|
37
|
-
import { t as d } from "./d-
|
|
38
|
-
import { t as diff } from "./diff-
|
|
39
|
-
import { t as dtd } from "./dtd-
|
|
40
|
-
import { t as dylan } from "./dylan-
|
|
41
|
-
import { t as ecl } from "./ecl-
|
|
42
|
-
import { t as eiffel } from "./eiffel-
|
|
43
|
-
import { t as elm } from "./elm-
|
|
44
|
-
import { t as erlang } from "./erlang-
|
|
45
|
-
import { t as factor } from "./factor-
|
|
46
|
-
import { t as forth } from "./forth-
|
|
47
|
-
import { t as fortran } from "./fortran-
|
|
48
|
-
import { n as oCaml, r as sml, t as fSharp } from "./mllike-
|
|
49
|
-
import { t as gas } from "./gas-
|
|
50
|
-
import { t as gherkin } from "./gherkin-
|
|
51
|
-
import { t as groovy } from "./groovy-
|
|
52
|
-
import { t as haskell } from "./haskell-
|
|
53
|
-
import { n as hxml, t as haxe } from "./haxe-
|
|
54
|
-
import { t as idl } from "./idl-
|
|
55
|
-
import { n as jsonld } from "./javascript-
|
|
56
|
-
import { t as julia } from "./julia-
|
|
57
|
-
import { t as liveScript } from "./livescript-
|
|
58
|
-
import { t as lua } from "./lua-
|
|
59
|
-
import { t as mirc } from "./mirc-
|
|
60
|
-
import { t as mathematica } from "./mathematica-
|
|
61
|
-
import { t as modelica } from "./modelica-
|
|
62
|
-
import { t as mumps } from "./mumps-
|
|
63
|
-
import { t as mbox } from "./mbox-
|
|
64
|
-
import { t as nsis } from "./nsis-
|
|
65
|
-
import { t as ntriples } from "./ntriples-
|
|
66
|
-
import { t as octave } from "./octave-
|
|
67
|
-
import { t as oz } from "./oz-
|
|
68
|
-
import { t as pascal } from "./pascal-
|
|
69
|
-
import { t as perl } from "./perl-
|
|
70
|
-
import { t as pig } from "./pig-
|
|
71
|
-
import { t as powerShell } from "./powershell-
|
|
72
|
-
import { t as properties } from "./properties-
|
|
73
|
-
import { t as protobuf } from "./protobuf-
|
|
74
|
-
import { t as pug } from "./pug-
|
|
75
|
-
import { t as puppet } from "./puppet-
|
|
76
|
-
import { t as q } from "./q-
|
|
77
|
-
import { t as r } from "./r-
|
|
78
|
-
import { n as rpmSpec } from "./rpm-
|
|
79
|
-
import { t as ruby } from "./ruby-
|
|
80
|
-
import { t as sas } from "./sas-
|
|
81
|
-
import { t as scheme } from "./scheme-
|
|
82
|
-
import { t as shell } from "./shell-
|
|
83
|
-
import { t as sieve } from "./sieve-
|
|
84
|
-
import { t as smalltalk } from "./smalltalk-
|
|
85
|
-
import { t as sparql } from "./sparql-
|
|
86
|
-
import { t as stylus } from "./stylus-
|
|
87
|
-
import { t as swift } from "./swift-
|
|
88
|
-
import { t as verilog } from "./verilog-
|
|
89
|
-
import { t as tcl } from "./tcl-
|
|
90
|
-
import { t as textile } from "./textile-
|
|
91
|
-
import { t as toml } from "./toml-
|
|
92
|
-
import { t as troff } from "./troff-
|
|
93
|
-
import { t as ttcn } from "./ttcn-
|
|
94
|
-
import { t as ttcnCfg } from "./ttcn-cfg-
|
|
95
|
-
import { t as turtle } from "./turtle-
|
|
96
|
-
import { t as webIDL } from "./webidl-
|
|
97
|
-
import { t as vb } from "./vb-
|
|
98
|
-
import { t as vbScript } from "./vbscript-
|
|
99
|
-
import { t as velocity } from "./velocity-
|
|
100
|
-
import { t as vhdl } from "./vhdl-
|
|
101
|
-
import { t as xQuery } from "./xquery-
|
|
102
|
-
import { t as yacas } from "./yacas-
|
|
103
|
-
import { t as z80 } from "./z80-
|
|
104
|
-
import { n as msgenny, r as xu, t as mscgen } from "./mscgen-
|
|
105
|
-
import { t as vue } from "./dist-
|
|
106
|
-
var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((
|
|
107
|
-
for (let
|
|
108
|
-
let { next:
|
|
109
|
-
if (
|
|
110
|
-
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, R as Tag, S as foldInside, V as styleTags, X as parseMixed, f as StreamLanguage, h as continuedIndent, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
|
+
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-CSlJrrAw.js";
|
|
3
|
+
import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-BpeiYpG2.js";
|
|
4
|
+
import { a as markdown } from "./dist-BOMbzyb3.js";
|
|
5
|
+
import { n as html, r as htmlCompletionSource } from "./dist-BTdrwBWP.js";
|
|
6
|
+
import { r as cssLanguage, t as css } from "./dist-4lVIWUT3.js";
|
|
7
|
+
import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-DgjbnqTg.js";
|
|
8
|
+
import { r as python } from "./dist-CRmSjkLP.js";
|
|
9
|
+
import { t as stex } from "./stex-DtMAhV4-.js";
|
|
10
|
+
import { t as cpp } from "./dist-BP39XM8u.js";
|
|
11
|
+
import { t as go } from "./dist-C18MUWTj.js";
|
|
12
|
+
import { t as java } from "./dist-BwhXBwMd.js";
|
|
13
|
+
import { n as jinja } from "./dist-BO5HRiTf.js";
|
|
14
|
+
import { t as json } from "./dist-C2_4pjuS.js";
|
|
15
|
+
import { t as less } from "./dist-DaXJPX8F.js";
|
|
16
|
+
import { n as liquid } from "./dist-DwqBJ014.js";
|
|
17
|
+
import { t as php } from "./dist-BdqCKQ1O.js";
|
|
18
|
+
import { t as rust } from "./dist-w_gWE5Wf.js";
|
|
19
|
+
import { t as sass } from "./dist-3NCqaWjt.js";
|
|
20
|
+
import { t as wast } from "./dist-BIEt-mlF.js";
|
|
21
|
+
import { r as xml } from "./dist-BPF0gTRZ.js";
|
|
22
|
+
import { t as yaml } from "./dist-CFSb_Frm.js";
|
|
23
|
+
import { t as apl } from "./apl-99A7dLQe.js";
|
|
24
|
+
import { t as asciiArmor } from "./asciiarmor-DLEhpFDx.js";
|
|
25
|
+
import { t as asn1 } from "./asn1-CMrcTsT4.js";
|
|
26
|
+
import { t as brainfuck } from "./brainfuck-ChPt5yBe.js";
|
|
27
|
+
import { t as cobol } from "./cobol-DMOKzzky.js";
|
|
28
|
+
import { c as squirrel, i as kotlin, n as csharp, o as objectiveCpp, r as dart, s as scala } from "./clike-CE0fXfM_.js";
|
|
29
|
+
import { t as clojure } from "./clojure-QkBEMU-g.js";
|
|
30
|
+
import { t as gss } from "./css-CNU8w3HJ.js";
|
|
31
|
+
import { t as cmake } from "./cmake-CU1jX7Mo.js";
|
|
32
|
+
import { t as coffeeScript } from "./coffeescript-DjnjLyfk.js";
|
|
33
|
+
import { t as commonLisp } from "./commonlisp-CYd9iOSe.js";
|
|
34
|
+
import { t as cypher } from "./cypher-q47DGzK7.js";
|
|
35
|
+
import { t as cython } from "./python-4QrQ3Ugi.js";
|
|
36
|
+
import { t as crystal } from "./crystal-Dy55yoYG.js";
|
|
37
|
+
import { t as d } from "./d-jEkaLvxX.js";
|
|
38
|
+
import { t as diff } from "./diff-vb2-unFN.js";
|
|
39
|
+
import { t as dtd } from "./dtd-C9kR-bXa.js";
|
|
40
|
+
import { t as dylan } from "./dylan-BLckrK-V.js";
|
|
41
|
+
import { t as ecl } from "./ecl-CEsf6XVg.js";
|
|
42
|
+
import { t as eiffel } from "./eiffel-2KGZNzx6.js";
|
|
43
|
+
import { t as elm } from "./elm-D2s3K5wF.js";
|
|
44
|
+
import { t as erlang } from "./erlang-0PMFOndk.js";
|
|
45
|
+
import { t as factor } from "./factor-Bq2mGIHt.js";
|
|
46
|
+
import { t as forth } from "./forth-DG89iUsu.js";
|
|
47
|
+
import { t as fortran } from "./fortran-ytKsAVvu.js";
|
|
48
|
+
import { n as oCaml, r as sml, t as fSharp } from "./mllike-CjTB1lHF.js";
|
|
49
|
+
import { t as gas } from "./gas-Cg2Fm0N2.js";
|
|
50
|
+
import { t as gherkin } from "./gherkin-B87FEnZ-.js";
|
|
51
|
+
import { t as groovy } from "./groovy-Dcs08AWD.js";
|
|
52
|
+
import { t as haskell } from "./haskell-cwkOuhx6.js";
|
|
53
|
+
import { n as hxml, t as haxe } from "./haxe-DWEo4q10.js";
|
|
54
|
+
import { t as idl } from "./idl-WWQwDcRV.js";
|
|
55
|
+
import { n as jsonld } from "./javascript-BeR74dxD.js";
|
|
56
|
+
import { t as julia } from "./julia-UlvCUYGL.js";
|
|
57
|
+
import { t as liveScript } from "./livescript-GPmFcmYV.js";
|
|
58
|
+
import { t as lua } from "./lua-DYoT_0zM.js";
|
|
59
|
+
import { t as mirc } from "./mirc-CAdIdvHQ.js";
|
|
60
|
+
import { t as mathematica } from "./mathematica-DSFIQlbG.js";
|
|
61
|
+
import { t as modelica } from "./modelica-BB68FYMa.js";
|
|
62
|
+
import { t as mumps } from "./mumps-Cu-28E9F.js";
|
|
63
|
+
import { t as mbox } from "./mbox-ej8lFMdL.js";
|
|
64
|
+
import { t as nsis } from "./nsis-i9_sgigf.js";
|
|
65
|
+
import { t as ntriples } from "./ntriples-D9cQiZxZ.js";
|
|
66
|
+
import { t as octave } from "./octave-BvtAnPX0.js";
|
|
67
|
+
import { t as oz } from "./oz-COaVHk2E.js";
|
|
68
|
+
import { t as pascal } from "./pascal-BFpqVD2x.js";
|
|
69
|
+
import { t as perl } from "./perl-DaiORxHP.js";
|
|
70
|
+
import { t as pig } from "./pig-DFzRhmsF.js";
|
|
71
|
+
import { t as powerShell } from "./powershell-BG2LQNKN.js";
|
|
72
|
+
import { t as properties } from "./properties-CqJJR5QY.js";
|
|
73
|
+
import { t as protobuf } from "./protobuf-WwDYV1yY.js";
|
|
74
|
+
import { t as pug } from "./pug-BhE2JRSg.js";
|
|
75
|
+
import { t as puppet } from "./puppet-QNY3w_uN.js";
|
|
76
|
+
import { t as q } from "./q-DhwXuxE2.js";
|
|
77
|
+
import { t as r } from "./r-Df-nkR25.js";
|
|
78
|
+
import { n as rpmSpec } from "./rpm-Cokue07s.js";
|
|
79
|
+
import { t as ruby } from "./ruby-DrYcL3qF.js";
|
|
80
|
+
import { t as sas } from "./sas-CoiPirA5.js";
|
|
81
|
+
import { t as scheme } from "./scheme-CwFLjzHv.js";
|
|
82
|
+
import { t as shell } from "./shell-BFV-R24I.js";
|
|
83
|
+
import { t as sieve } from "./sieve-CxwXF5T9.js";
|
|
84
|
+
import { t as smalltalk } from "./smalltalk-QivVOCtX.js";
|
|
85
|
+
import { t as sparql } from "./sparql-nKsFk8j7.js";
|
|
86
|
+
import { t as stylus } from "./stylus-BLKQAycn.js";
|
|
87
|
+
import { t as swift } from "./swift-CJoKqiKj.js";
|
|
88
|
+
import { t as verilog } from "./verilog-aNaK_biA.js";
|
|
89
|
+
import { t as tcl } from "./tcl-YTeYFNUc.js";
|
|
90
|
+
import { t as textile } from "./textile-C6rKQqMQ.js";
|
|
91
|
+
import { t as toml } from "./toml-DxlPGbRy.js";
|
|
92
|
+
import { t as troff } from "./troff-DFCfH7Ku.js";
|
|
93
|
+
import { t as ttcn } from "./ttcn-DAW-ERVP.js";
|
|
94
|
+
import { t as ttcnCfg } from "./ttcn-cfg-CpJ8b7EN.js";
|
|
95
|
+
import { t as turtle } from "./turtle-BneV2f8L.js";
|
|
96
|
+
import { t as webIDL } from "./webidl-Bhg8vaMr.js";
|
|
97
|
+
import { t as vb } from "./vb-D973Vxxh.js";
|
|
98
|
+
import { t as vbScript } from "./vbscript-Dckaq3YO.js";
|
|
99
|
+
import { t as velocity } from "./velocity-DKty-GUC.js";
|
|
100
|
+
import { t as vhdl } from "./vhdl-CQuehnQy.js";
|
|
101
|
+
import { t as xQuery } from "./xquery-D2q16GaM.js";
|
|
102
|
+
import { t as yacas } from "./yacas-DHGOHnNa.js";
|
|
103
|
+
import { t as z80 } from "./z80-BPhTmO22.js";
|
|
104
|
+
import { n as msgenny, r as xu, t as mscgen } from "./mscgen-BkbzgGGI.js";
|
|
105
|
+
import { t as vue } from "./dist-DZwp8lro.js";
|
|
106
|
+
var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((b) => {
|
|
107
|
+
for (let K = false, J = 0; ; J++) {
|
|
108
|
+
let { next: Y } = b;
|
|
109
|
+
if (Y < 0) {
|
|
110
|
+
J > 0 && b.acceptToken(strContent);
|
|
111
111
|
break;
|
|
112
|
-
} else if (
|
|
113
|
-
|
|
112
|
+
} else if (Y === quote) {
|
|
113
|
+
J > 0 ? b.acceptToken(strContent) : b.acceptToken(strEnd, 1);
|
|
114
114
|
break;
|
|
115
|
-
} else if (
|
|
116
|
-
|
|
115
|
+
} else if (Y === braceL && K) {
|
|
116
|
+
J == 1 ? b.acceptToken(strDollarBrace, 1) : b.acceptToken(strContent, -1);
|
|
117
117
|
break;
|
|
118
|
-
} else
|
|
119
|
-
|
|
118
|
+
} else Y === backslack && (b.advance(), b.acceptToken(escapeSequence, 1));
|
|
119
|
+
K = Y === dollar, b.advance();
|
|
120
120
|
}
|
|
121
|
-
}), scanIndString = /* @__PURE__ */ new ExternalTokenizer((
|
|
122
|
-
for (let
|
|
123
|
-
let { next:
|
|
124
|
-
if (
|
|
125
|
-
|
|
121
|
+
}), scanIndString = /* @__PURE__ */ new ExternalTokenizer((b) => {
|
|
122
|
+
for (let K = false, J = false, Y = 0; ; Y++) {
|
|
123
|
+
let { next: X } = b;
|
|
124
|
+
if (X < 0) {
|
|
125
|
+
Y > 0 && b.acceptToken(indStrContent);
|
|
126
126
|
break;
|
|
127
|
-
} else if (
|
|
128
|
-
|
|
127
|
+
} else if (X === apostrophe && J) {
|
|
128
|
+
Y > 1 ? b.acceptToken(indStrContent, -1) : b.acceptToken(indStrEnd, 1);
|
|
129
129
|
break;
|
|
130
|
-
} else if (
|
|
131
|
-
|
|
130
|
+
} else if (X === braceL && K) {
|
|
131
|
+
Y == 1 ? b.acceptToken(indStrDollarBrace, 1) : b.acceptToken(indStrContent, -1);
|
|
132
132
|
break;
|
|
133
|
-
} else
|
|
134
|
-
|
|
133
|
+
} else X === backslack && (b.advance(), b.acceptToken(indEscapeSequence, 1));
|
|
134
|
+
K = X === dollar, J = X === apostrophe, b.advance();
|
|
135
135
|
}
|
|
136
136
|
}), spec_Identifier = {
|
|
137
137
|
__proto__: null,
|
|
@@ -190,7 +190,7 @@ var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indS
|
|
|
190
190
|
topRules: { Program: [0, 3] },
|
|
191
191
|
specialized: [{
|
|
192
192
|
term: 5,
|
|
193
|
-
get: (
|
|
193
|
+
get: (b) => spec_Identifier[b] || -1
|
|
194
194
|
}],
|
|
195
195
|
tokenPrec: 2290
|
|
196
196
|
}), nixLanguage = /* @__PURE__ */ LRLanguage.define({
|
|
@@ -205,11 +205,11 @@ var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indS
|
|
|
205
205
|
/* @__PURE__ */ foldNodeProp.add({
|
|
206
206
|
AttrSet: foldInside,
|
|
207
207
|
List: foldInside,
|
|
208
|
-
Let(
|
|
209
|
-
let
|
|
210
|
-
return !
|
|
211
|
-
from:
|
|
212
|
-
to:
|
|
208
|
+
Let(b) {
|
|
209
|
+
let K = b.getChild("let"), J = b.getChild("in");
|
|
210
|
+
return !K || !J ? null : {
|
|
211
|
+
from: K.to,
|
|
212
|
+
to: J.from
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
}),
|
|
@@ -370,26 +370,26 @@ var scriptText = 145, StartCloseScriptTag = 1, styleText = 146, StartCloseStyleT
|
|
|
370
370
|
},
|
|
371
371
|
tr: { tr: true }
|
|
372
372
|
};
|
|
373
|
-
function nameChar(
|
|
374
|
-
return
|
|
373
|
+
function nameChar(b) {
|
|
374
|
+
return b == 45 || b == 46 || b == 58 || b >= 65 && b <= 90 || b == 95 || b >= 97 && b <= 122 || b >= 161;
|
|
375
375
|
}
|
|
376
|
-
function isSpace(
|
|
377
|
-
return
|
|
376
|
+
function isSpace(b) {
|
|
377
|
+
return b == 9 || b == 10 || b == 13 || b == 32;
|
|
378
378
|
}
|
|
379
379
|
var cachedName = null, cachedInput = null, cachedPos = 0;
|
|
380
|
-
function tagNameAfter(
|
|
381
|
-
let
|
|
382
|
-
if (cachedPos ==
|
|
383
|
-
let
|
|
384
|
-
for (; isSpace(
|
|
385
|
-
let
|
|
386
|
-
for (; nameChar(
|
|
387
|
-
return cachedInput =
|
|
380
|
+
function tagNameAfter(b, K) {
|
|
381
|
+
let J = b.pos + K;
|
|
382
|
+
if (cachedPos == J && cachedInput == b) return cachedName;
|
|
383
|
+
let Y = b.peek(K);
|
|
384
|
+
for (; isSpace(Y); ) Y = b.peek(++K);
|
|
385
|
+
let X = "";
|
|
386
|
+
for (; nameChar(Y); ) X += String.fromCharCode(Y), Y = b.peek(++K);
|
|
387
|
+
return cachedInput = b, cachedPos = J, cachedName = X ? X.toLowerCase() : Y == question || Y == bang ? void 0 : null;
|
|
388
388
|
}
|
|
389
389
|
var lessThan = 60, greaterThan$1 = 62, slash$1 = 47, question = 63, bang = 33;
|
|
390
|
-
function ElementContext(
|
|
391
|
-
this.name =
|
|
392
|
-
for (let
|
|
390
|
+
function ElementContext(b, K) {
|
|
391
|
+
this.name = b, this.parent = K, this.hash = K ? K.hash : 0;
|
|
392
|
+
for (let K2 = 0; K2 < b.length; K2++) this.hash += (this.hash << 4) + b.charCodeAt(K2) + (b.charCodeAt(K2) << 8);
|
|
393
393
|
}
|
|
394
394
|
var startTagTerms = [
|
|
395
395
|
StartTag,
|
|
@@ -399,63 +399,63 @@ var startTagTerms = [
|
|
|
399
399
|
StartTextareaTag
|
|
400
400
|
], elementContext = /* @__PURE__ */ new ContextTracker({
|
|
401
401
|
start: null,
|
|
402
|
-
shift(
|
|
403
|
-
return startTagTerms.indexOf(
|
|
402
|
+
shift(b, K, J, Y) {
|
|
403
|
+
return startTagTerms.indexOf(K) > -1 ? new ElementContext(tagNameAfter(Y, 1) || "", b) : b;
|
|
404
404
|
},
|
|
405
|
-
reduce(
|
|
406
|
-
return
|
|
405
|
+
reduce(b, K) {
|
|
406
|
+
return K == Element && b ? b.parent : b;
|
|
407
407
|
},
|
|
408
|
-
reuse(
|
|
409
|
-
let
|
|
410
|
-
return
|
|
408
|
+
reuse(b, K, J, Y) {
|
|
409
|
+
let X = K.type.id;
|
|
410
|
+
return X == StartTag || X == OpenTag ? new ElementContext(tagNameAfter(Y, 1) || "", b) : b;
|
|
411
411
|
},
|
|
412
|
-
hash(
|
|
413
|
-
return
|
|
412
|
+
hash(b) {
|
|
413
|
+
return b ? b.hash : 0;
|
|
414
414
|
},
|
|
415
415
|
strict: false
|
|
416
|
-
}), tagStart = /* @__PURE__ */ new ExternalTokenizer((
|
|
417
|
-
if (
|
|
418
|
-
|
|
416
|
+
}), tagStart = /* @__PURE__ */ new ExternalTokenizer((b, K) => {
|
|
417
|
+
if (b.next != lessThan) {
|
|
418
|
+
b.next < 0 && K.context && b.acceptToken(missingCloseTag);
|
|
419
419
|
return;
|
|
420
420
|
}
|
|
421
|
-
|
|
422
|
-
let
|
|
423
|
-
|
|
424
|
-
let
|
|
425
|
-
if (
|
|
426
|
-
if (!
|
|
427
|
-
let
|
|
428
|
-
if (
|
|
429
|
-
if (
|
|
430
|
-
if (
|
|
431
|
-
for (let
|
|
432
|
-
|
|
421
|
+
b.advance();
|
|
422
|
+
let J = b.next == slash$1;
|
|
423
|
+
J && b.advance();
|
|
424
|
+
let Y = tagNameAfter(b, 0);
|
|
425
|
+
if (Y === void 0) return;
|
|
426
|
+
if (!Y) return b.acceptToken(J ? IncompleteCloseTag : StartTag);
|
|
427
|
+
let X = K.context ? K.context.name : null;
|
|
428
|
+
if (J) {
|
|
429
|
+
if (Y == X) return b.acceptToken(StartCloseTag);
|
|
430
|
+
if (X && implicitlyClosed[X]) return b.acceptToken(missingCloseTag, -2);
|
|
431
|
+
for (let b2 = K.context; b2; b2 = b2.parent) if (b2.name == Y) return;
|
|
432
|
+
b.acceptToken(MismatchedStartCloseTag);
|
|
433
433
|
} else {
|
|
434
|
-
if (
|
|
435
|
-
if (
|
|
436
|
-
if (
|
|
437
|
-
if (selfClosers.hasOwnProperty(
|
|
438
|
-
|
|
434
|
+
if (Y == "script") return b.acceptToken(StartScriptTag);
|
|
435
|
+
if (Y == "style") return b.acceptToken(StartStyleTag);
|
|
436
|
+
if (Y == "textarea") return b.acceptToken(StartTextareaTag);
|
|
437
|
+
if (selfClosers.hasOwnProperty(Y)) return b.acceptToken(StartSelfClosingTag);
|
|
438
|
+
X && closeOnOpen[X] && closeOnOpen[X][Y] ? b.acceptToken(missingCloseTag, -1) : b.acceptToken(StartTag);
|
|
439
439
|
}
|
|
440
440
|
}, { contextual: true });
|
|
441
|
-
function contentTokenizer(
|
|
442
|
-
let
|
|
443
|
-
return new ExternalTokenizer((
|
|
444
|
-
for (let
|
|
445
|
-
if (
|
|
446
|
-
|
|
441
|
+
function contentTokenizer(b, K, J) {
|
|
442
|
+
let Y = 2 + b.length;
|
|
443
|
+
return new ExternalTokenizer((X) => {
|
|
444
|
+
for (let Z = 0, Q = 0, $ = 0; ; $++) {
|
|
445
|
+
if (X.next < 0) {
|
|
446
|
+
$ && X.acceptToken(K);
|
|
447
447
|
break;
|
|
448
448
|
}
|
|
449
|
-
if (
|
|
450
|
-
else if ((
|
|
451
|
-
else if (
|
|
452
|
-
|
|
449
|
+
if (Z == 0 && X.next == lessThan || Z == 1 && X.next == slash$1 || Z >= 2 && Z < Y && X.next == b.charCodeAt(Z - 2)) Z++, Q++;
|
|
450
|
+
else if ((Z == 2 || Z == Y) && isSpace(X.next)) Q++;
|
|
451
|
+
else if (Z == Y && X.next == greaterThan$1) {
|
|
452
|
+
$ > Q ? X.acceptToken(K, -Q) : X.acceptToken(J, -(Q - 2));
|
|
453
453
|
break;
|
|
454
|
-
} else if ((
|
|
455
|
-
|
|
454
|
+
} else if ((X.next == 10 || X.next == 13) && $) {
|
|
455
|
+
X.acceptToken(K, 1);
|
|
456
456
|
break;
|
|
457
|
-
} else
|
|
458
|
-
|
|
457
|
+
} else Z = Q = 0;
|
|
458
|
+
X.advance();
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
461
|
}
|
|
@@ -490,113 +490,113 @@ var scriptTokens = /* @__PURE__ */ contentTokenizer("script", scriptText, StartC
|
|
|
490
490
|
hash,
|
|
491
491
|
at,
|
|
492
492
|
slash
|
|
493
|
-
], commentContent = /* @__PURE__ */ new ExternalTokenizer((
|
|
494
|
-
for (let
|
|
495
|
-
if (
|
|
496
|
-
|
|
493
|
+
], commentContent = /* @__PURE__ */ new ExternalTokenizer((b) => {
|
|
494
|
+
for (let K = 0, J = 0; ; J++) {
|
|
495
|
+
if (b.next < 0) {
|
|
496
|
+
J && b.acceptToken(commentContent$1);
|
|
497
497
|
break;
|
|
498
498
|
}
|
|
499
|
-
if (
|
|
500
|
-
else if (
|
|
501
|
-
|
|
499
|
+
if (b.next == dash) K++;
|
|
500
|
+
else if (b.next == greaterThan && K >= 2) {
|
|
501
|
+
J > 3 && b.acceptToken(commentContent$1, -2);
|
|
502
502
|
break;
|
|
503
|
-
} else
|
|
504
|
-
|
|
503
|
+
} else K = 0;
|
|
504
|
+
b.advance();
|
|
505
505
|
}
|
|
506
506
|
});
|
|
507
|
-
function createStringHandler(
|
|
508
|
-
let
|
|
509
|
-
return () =>
|
|
507
|
+
function createStringHandler(b) {
|
|
508
|
+
let K = false, J = null, Y = false;
|
|
509
|
+
return () => K ? Y ? (Y = false, true) : b.next === backslash ? (Y = true, true) : J === "double" && b.next === quoteDouble || J === "single" && b.next === quoteSingle || J === "template" && b.next === tick ? (K = false, J = null, true) : true : b.next === quoteDouble ? (K = true, J = "double", true) : b.next === quoteSingle ? (K = true, J = "single", true) : b.next === tick ? (K = true, J = "template", true) : false;
|
|
510
510
|
}
|
|
511
|
-
function createCommentHandler(
|
|
512
|
-
let
|
|
513
|
-
return () =>
|
|
511
|
+
function createCommentHandler(b) {
|
|
512
|
+
let K = false, J = false;
|
|
513
|
+
return () => K ? (b.next === newline && (K = false), true) : J ? (b.next === asterisk && b.peek(1) === slash && (J = false), true) : b.next === slash && b.peek(1) === slash ? (K = true, true) : b.next === slash && b.peek(1) === asterisk ? (J = true, true) : false;
|
|
514
514
|
}
|
|
515
|
-
var longExpression = /* @__PURE__ */ new ExternalTokenizer((
|
|
516
|
-
if (prefixes.includes(
|
|
517
|
-
let
|
|
518
|
-
let
|
|
519
|
-
if (
|
|
515
|
+
var longExpression = /* @__PURE__ */ new ExternalTokenizer((b) => {
|
|
516
|
+
if (prefixes.includes(b.next)) return;
|
|
517
|
+
let K = createCommentHandler(b), J = createStringHandler(b), Y = [], X = (b2) => {
|
|
518
|
+
let K2 = Y.lastIndexOf(b2);
|
|
519
|
+
if (K2 !== -1) for (; Y.length > K2; ) Y.pop();
|
|
520
520
|
};
|
|
521
|
-
for (let
|
|
522
|
-
if (
|
|
523
|
-
|
|
521
|
+
for (let Z = 0; ; Z++) {
|
|
522
|
+
if (b.next < 0) {
|
|
523
|
+
Z > 0 && b.acceptToken(LongExpression);
|
|
524
524
|
break;
|
|
525
525
|
}
|
|
526
|
-
if (
|
|
527
|
-
|
|
526
|
+
if (K() || J()) {
|
|
527
|
+
b.advance();
|
|
528
528
|
continue;
|
|
529
529
|
}
|
|
530
|
-
if (
|
|
531
|
-
|
|
530
|
+
if (Y.length === 0 && (b.next === curlyClose || b.next === parenClose || b.next === squareClose)) {
|
|
531
|
+
b.acceptToken(LongExpression);
|
|
532
532
|
break;
|
|
533
533
|
}
|
|
534
|
-
switch (
|
|
534
|
+
switch (b.next) {
|
|
535
535
|
case parenOpen:
|
|
536
|
-
|
|
536
|
+
Y.push("(");
|
|
537
537
|
break;
|
|
538
538
|
case parenClose:
|
|
539
|
-
|
|
539
|
+
X("(");
|
|
540
540
|
break;
|
|
541
541
|
case squareOpen:
|
|
542
|
-
|
|
542
|
+
Y.push("[");
|
|
543
543
|
break;
|
|
544
544
|
case squareClose:
|
|
545
|
-
|
|
545
|
+
X("[");
|
|
546
546
|
break;
|
|
547
547
|
case curlyOpen:
|
|
548
|
-
|
|
548
|
+
Y.push("{");
|
|
549
549
|
break;
|
|
550
550
|
case curlyClose:
|
|
551
|
-
|
|
551
|
+
X("{");
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
b.advance();
|
|
555
555
|
}
|
|
556
|
-
}), shortExpression = /* @__PURE__ */ new ExternalTokenizer((
|
|
557
|
-
if (prefixes.includes(
|
|
558
|
-
let
|
|
559
|
-
let
|
|
560
|
-
if (
|
|
556
|
+
}), shortExpression = /* @__PURE__ */ new ExternalTokenizer((b) => {
|
|
557
|
+
if (prefixes.includes(b.peek(0))) return;
|
|
558
|
+
let K = createCommentHandler(b), J = createStringHandler(b), Y = [], X = (b2) => {
|
|
559
|
+
let K2 = Y.lastIndexOf(b2);
|
|
560
|
+
if (K2 !== -1) for (; Y.length > K2; ) Y.pop();
|
|
561
561
|
};
|
|
562
|
-
for (let
|
|
563
|
-
if (
|
|
564
|
-
|
|
562
|
+
for (let Z = 0; ; Z++) {
|
|
563
|
+
if (b.next < 0) {
|
|
564
|
+
Z > 0 && b.acceptToken(ShortExpression);
|
|
565
565
|
break;
|
|
566
566
|
}
|
|
567
|
-
if (
|
|
568
|
-
|
|
567
|
+
if (K() || J()) {
|
|
568
|
+
b.advance();
|
|
569
569
|
continue;
|
|
570
570
|
}
|
|
571
|
-
if (
|
|
572
|
-
|
|
571
|
+
if (Y.length === 0 && (b.next === curlyClose || b.next === parenClose || b.next === squareClose || b.next === comma)) {
|
|
572
|
+
b.acceptToken(ShortExpression);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
|
-
switch (
|
|
575
|
+
switch (b.next) {
|
|
576
576
|
case parenOpen:
|
|
577
|
-
|
|
577
|
+
Y.push("(");
|
|
578
578
|
break;
|
|
579
579
|
case parenClose:
|
|
580
|
-
|
|
580
|
+
X("(");
|
|
581
581
|
break;
|
|
582
582
|
case squareOpen:
|
|
583
|
-
|
|
583
|
+
Y.push("[");
|
|
584
584
|
break;
|
|
585
585
|
case squareClose:
|
|
586
|
-
|
|
586
|
+
X("[");
|
|
587
587
|
break;
|
|
588
588
|
case curlyOpen:
|
|
589
|
-
|
|
589
|
+
Y.push("{");
|
|
590
590
|
break;
|
|
591
591
|
case curlyClose:
|
|
592
|
-
|
|
592
|
+
X("{");
|
|
593
593
|
break;
|
|
594
594
|
}
|
|
595
|
-
if (
|
|
596
|
-
|
|
595
|
+
if (Z !== 0 && Y.length === 0 && space.includes(b.next)) {
|
|
596
|
+
b.acceptToken(ShortExpression);
|
|
597
597
|
break;
|
|
598
598
|
}
|
|
599
|
-
|
|
599
|
+
b.advance();
|
|
600
600
|
}
|
|
601
601
|
}), svelteHighlighting = /* @__PURE__ */ styleTags({
|
|
602
602
|
"Text RawText": tags.content,
|
|
@@ -847,70 +847,70 @@ var longExpression = /* @__PURE__ */ new ExternalTokenizer((y) => {
|
|
|
847
847
|
specialized: [
|
|
848
848
|
{
|
|
849
849
|
term: 19,
|
|
850
|
-
get: (
|
|
850
|
+
get: (b) => spec_BlockPrefix[b] || -1
|
|
851
851
|
},
|
|
852
852
|
{
|
|
853
853
|
term: 21,
|
|
854
|
-
get: (
|
|
854
|
+
get: (b) => spec_BlockType[b] || -1
|
|
855
855
|
},
|
|
856
856
|
{
|
|
857
857
|
term: 153,
|
|
858
|
-
get: (
|
|
858
|
+
get: (b) => spec_identifier[b] || -1
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
861
|
term: 77,
|
|
862
|
-
get: (
|
|
862
|
+
get: (b) => spec_AttributeName[b] || -1
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
term: 69,
|
|
866
|
-
get: (
|
|
866
|
+
get: (b) => spec_TagName[b] || -1
|
|
867
867
|
}
|
|
868
868
|
],
|
|
869
869
|
tokenPrec: 1571
|
|
870
870
|
});
|
|
871
|
-
function getAttrs(
|
|
872
|
-
let
|
|
873
|
-
for (let
|
|
874
|
-
let
|
|
875
|
-
|
|
871
|
+
function getAttrs(b, K) {
|
|
872
|
+
let J = /* @__PURE__ */ Object.create(null);
|
|
873
|
+
for (let Y of b.firstChild.getChildren("Attribute")) {
|
|
874
|
+
let b2 = Y.getChild("AttributeName"), X = Y.getChild("AttributeValue") || Y.getChild("UnquotedAttributeValue");
|
|
875
|
+
b2 && (J[K.read(b2.from, b2.to)] = X ? X.name == "AttributeValue" ? K.read(X.from + 1, X.to - 1) : K.read(X.from, X.to) : "");
|
|
876
876
|
}
|
|
877
|
-
return
|
|
877
|
+
return J;
|
|
878
878
|
}
|
|
879
|
-
function maybeNest(
|
|
880
|
-
let
|
|
881
|
-
for (let
|
|
879
|
+
function maybeNest(b, K, J) {
|
|
880
|
+
let Y;
|
|
881
|
+
for (let X of J) if (!X.attrs || X.attrs(Y || (Y = getAttrs(b.node.parent, K)))) return { parser: X.parser };
|
|
882
882
|
return null;
|
|
883
883
|
}
|
|
884
884
|
var expressionParser = /* @__PURE__ */ parser$1.configure({ top: "SingleExpression" });
|
|
885
|
-
function configureNesting(
|
|
886
|
-
let
|
|
887
|
-
for (let
|
|
888
|
-
let
|
|
889
|
-
if (!
|
|
890
|
-
|
|
885
|
+
function configureNesting(b) {
|
|
886
|
+
let K = [], J = [], Y = [];
|
|
887
|
+
for (let X of b) {
|
|
888
|
+
let b2 = X.tag == "script" ? K : X.tag == "style" ? J : X.tag == "textarea" ? Y : null;
|
|
889
|
+
if (!b2) throw RangeError("Only script, style, and textarea tags can host nested parsers");
|
|
890
|
+
b2.push(X);
|
|
891
891
|
}
|
|
892
|
-
return parseMixed((
|
|
893
|
-
let
|
|
894
|
-
return
|
|
892
|
+
return parseMixed((b2, X) => {
|
|
893
|
+
let Z = b2.type.id;
|
|
894
|
+
return Z === LongExpression || Z === ShortExpression ? { parser: expressionParser } : Z === ScriptText ? maybeNest(b2, X, K) : Z === StyleText ? maybeNest(b2, X, J) : Z === TextareaText ? maybeNest(b2, X, Y) : null;
|
|
895
895
|
});
|
|
896
896
|
}
|
|
897
897
|
var defaultNesting = [
|
|
898
898
|
{
|
|
899
899
|
tag: "script",
|
|
900
|
-
attrs: (
|
|
900
|
+
attrs: (b) => b.type === "text/typescript" || b.lang === "ts",
|
|
901
901
|
parser: typescriptLanguage.parser
|
|
902
902
|
},
|
|
903
903
|
{
|
|
904
904
|
tag: "script",
|
|
905
|
-
attrs(
|
|
906
|
-
return !
|
|
905
|
+
attrs(b) {
|
|
906
|
+
return !b.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(b.type);
|
|
907
907
|
},
|
|
908
908
|
parser: javascriptLanguage.parser
|
|
909
909
|
},
|
|
910
910
|
{
|
|
911
911
|
tag: "style",
|
|
912
|
-
attrs(
|
|
913
|
-
return (!
|
|
912
|
+
attrs(b) {
|
|
913
|
+
return (!b.lang || b.lang === "css" || b.lang === "scss") && (!b.type || /^(text\/)?(x-)?(stylesheet|css|scss)$/i.test(b.type));
|
|
914
914
|
},
|
|
915
915
|
parser: cssLanguage.parser
|
|
916
916
|
}
|
|
@@ -918,47 +918,47 @@ var defaultNesting = [
|
|
|
918
918
|
parser: /* @__PURE__ */ parser$2.configure({
|
|
919
919
|
wrap: /* @__PURE__ */ configureNesting(defaultNesting),
|
|
920
920
|
props: [/* @__PURE__ */ indentNodeProp.add({
|
|
921
|
-
Element: (
|
|
922
|
-
let
|
|
923
|
-
return
|
|
921
|
+
Element: (b) => {
|
|
922
|
+
let K = /^(\s*)(<\/)?/.exec(b.textAfter);
|
|
923
|
+
return b.node.to <= b.pos + K[0].length ? b.continue() : b.lineIndent(b.node.from) + (K[2] ? 0 : b.unit);
|
|
924
924
|
},
|
|
925
|
-
Block: (
|
|
926
|
-
let
|
|
927
|
-
if (
|
|
928
|
-
let
|
|
929
|
-
return
|
|
925
|
+
Block: (b) => {
|
|
926
|
+
let K = b.node, J = b.textAfter.trim();
|
|
927
|
+
if (J.startsWith("{/")) {
|
|
928
|
+
let Y2 = K.name;
|
|
929
|
+
return Y2 === "IfBlock" && J.startsWith("{/if") || Y2 === "EachBlock" && J.startsWith("{/each") || Y2 === "AwaitBlock" && J.startsWith("{/await") || Y2 === "KeyBlock" && J.startsWith("{/key") ? b.lineIndent(b.node.from) : null;
|
|
930
930
|
}
|
|
931
|
-
if (
|
|
932
|
-
if (
|
|
933
|
-
} else if (
|
|
934
|
-
let
|
|
935
|
-
return
|
|
931
|
+
if (K.name === "IfBlock" || K.name === "EachBlock") {
|
|
932
|
+
if (J.startsWith("{:else")) return b.lineIndent(K.from);
|
|
933
|
+
} else if (K.name === "AwaitBlock" && (J.startsWith("{:then") || J.startsWith("{:catch"))) return b.lineIndent(K.from);
|
|
934
|
+
let Y = /^(\s*)(<\/)?/.exec(b.textAfter);
|
|
935
|
+
return b.node.to <= b.pos + Y[0].length ? b.continue() : b.lineIndent(b.node.from) + (Y[2] ? 0 : b.unit);
|
|
936
936
|
},
|
|
937
|
-
"BlockOpen BlockClose BlockInline": (
|
|
938
|
-
"OpenTag CloseTag SelfClosingTag": (
|
|
939
|
-
Document: (
|
|
940
|
-
if (
|
|
941
|
-
let
|
|
942
|
-
for (let
|
|
943
|
-
let
|
|
944
|
-
if (!
|
|
945
|
-
|
|
937
|
+
"BlockOpen BlockClose BlockInline": (b) => b.column(b.node.from) + b.unit,
|
|
938
|
+
"OpenTag CloseTag SelfClosingTag": (b) => b.column(b.node.from) + b.unit,
|
|
939
|
+
Document: (b) => {
|
|
940
|
+
if (b.pos + /\s*/.exec(b.textAfter)[0].length < b.node.to) return b.continue();
|
|
941
|
+
let K = null, J;
|
|
942
|
+
for (let J2 = b.node; ; ) {
|
|
943
|
+
let b2 = J2.lastChild;
|
|
944
|
+
if (!b2 || b2.name != "Element" || b2.to != J2.to) break;
|
|
945
|
+
K = J2 = b2;
|
|
946
946
|
}
|
|
947
|
-
return
|
|
947
|
+
return K && !((J = K.lastChild) && (J.name === "CloseTag" || J.name === "SelfClosingTag")) ? b.lineIndent(K.from) + b.unit : null;
|
|
948
948
|
}
|
|
949
949
|
}), /* @__PURE__ */ foldNodeProp.add({
|
|
950
|
-
Block: (
|
|
951
|
-
let
|
|
952
|
-
return !
|
|
953
|
-
from:
|
|
954
|
-
to: (
|
|
950
|
+
Block: (b) => {
|
|
951
|
+
let K = `${b.name}Open`, J = `${b.name}Close`, Y = b.firstChild, X = b.lastChild;
|
|
952
|
+
return !Y || Y.name !== K ? null : {
|
|
953
|
+
from: Y.to,
|
|
954
|
+
to: (X == null ? void 0 : X.name) === J ? X.from : b.to
|
|
955
955
|
};
|
|
956
956
|
},
|
|
957
|
-
Element: (
|
|
958
|
-
let
|
|
959
|
-
return !
|
|
960
|
-
from:
|
|
961
|
-
to:
|
|
957
|
+
Element: (b) => {
|
|
958
|
+
let K = b.firstChild, J = b.lastChild;
|
|
959
|
+
return !K || K.name != "OpenTag" ? null : {
|
|
960
|
+
from: K.to,
|
|
961
|
+
to: J.name === "CloseTag" ? J.from : b.to
|
|
962
962
|
};
|
|
963
963
|
}
|
|
964
964
|
})]
|
|
@@ -980,43 +980,43 @@ function svelte() {
|
|
|
980
980
|
autoCloseTags
|
|
981
981
|
]);
|
|
982
982
|
}
|
|
983
|
-
function elementName(
|
|
984
|
-
if (!
|
|
985
|
-
let
|
|
986
|
-
return
|
|
983
|
+
function elementName(b, K, J = b.length) {
|
|
984
|
+
if (!K) return "";
|
|
985
|
+
let Y = K.firstChild, X = Y && (Y.getChild("TagName") || Y.getChild("ComponentName") || Y.getChild("SvelteElementName"));
|
|
986
|
+
return X ? b.sliceString(X.from, Math.min(X.to, J)) : "";
|
|
987
987
|
}
|
|
988
|
-
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((
|
|
989
|
-
if (
|
|
990
|
-
let { state: Z } =
|
|
988
|
+
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((b, K, Y, X) => {
|
|
989
|
+
if (b.composing || b.state.readOnly || K != Y || X != ">" && X != "/" || !svelteLanguage.isActiveAt(b.state, K, -1)) return false;
|
|
990
|
+
let { state: Z } = b, Q = Z.changeByRange((K2) => {
|
|
991
991
|
var _a, _b, _c;
|
|
992
|
-
let { head:
|
|
992
|
+
let { head: Y2 } = K2, Q2 = syntaxTree(Z).resolveInner(Y2, -1), $;
|
|
993
993
|
if ((Q2.name === "TagName" || Q2.name === "ComponentName" || Q2.name === "SvelteElementName" || Q2.name === "StartTag") && (Q2 = Q2.parent), X === ">" && Q2.name === "OpenTag") {
|
|
994
|
-
if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent,
|
|
995
|
-
let
|
|
994
|
+
if (((_b = (_a = Q2.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && ($ = elementName(Z.doc, Q2.parent, Y2))) {
|
|
995
|
+
let K3 = b.state.doc.sliceString(Y2, Y2 + 1) === ">", J = `${K3 ? "" : ">"}</${$}>`;
|
|
996
996
|
return {
|
|
997
|
-
range: EditorSelection.cursor(
|
|
997
|
+
range: EditorSelection.cursor(Y2 + 1),
|
|
998
998
|
changes: {
|
|
999
|
-
from:
|
|
1000
|
-
insert:
|
|
999
|
+
from: Y2 + (K3 ? 1 : 0),
|
|
1000
|
+
insert: J
|
|
1001
1001
|
}
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
1004
1004
|
} else if (X === "/" && Q2.name === "OpenTag") {
|
|
1005
|
-
let
|
|
1006
|
-
if (
|
|
1007
|
-
let
|
|
1005
|
+
let K3 = Q2.parent, J = K3 == null ? void 0 : K3.parent;
|
|
1006
|
+
if (K3.from == Y2 - 1 && ((_c = J.lastChild) == null ? void 0 : _c.name) != "CloseTag" && ($ = elementName(Z.doc, J, Y2))) {
|
|
1007
|
+
let K4 = b.state.doc.sliceString(Y2, Y2 + 1) === ">", J2 = `/${$}${K4 ? "" : ">"}`, X2 = Y2 + J2.length + (K4 ? 1 : 0);
|
|
1008
1008
|
return {
|
|
1009
1009
|
range: EditorSelection.cursor(X2),
|
|
1010
1010
|
changes: {
|
|
1011
|
-
from:
|
|
1012
|
-
insert:
|
|
1011
|
+
from: Y2,
|
|
1012
|
+
insert: J2
|
|
1013
1013
|
}
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
|
-
return { range:
|
|
1017
|
+
return { range: K2 };
|
|
1018
1018
|
});
|
|
1019
|
-
return Q.changes.empty ? false : (
|
|
1019
|
+
return Q.changes.empty ? false : (b.dispatch(Q, {
|
|
1020
1020
|
userEvent: "input.type",
|
|
1021
1021
|
scrollIntoView: true
|
|
1022
1022
|
}), true);
|
|
@@ -1184,129 +1184,129 @@ var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((y, G, J, X) => {
|
|
|
1184
1184
|
true: true,
|
|
1185
1185
|
false: true
|
|
1186
1186
|
}, isOperatorChar = /[+\-*&^%:=<>!|/~]/, isNegativeChar = /[-]/, curPunc;
|
|
1187
|
-
function tokenBase(
|
|
1188
|
-
let
|
|
1189
|
-
if (
|
|
1190
|
-
if (isVersion(
|
|
1191
|
-
if (
|
|
1192
|
-
return
|
|
1187
|
+
function tokenBase(b, K) {
|
|
1188
|
+
let J = b.next();
|
|
1189
|
+
if (J === '"' || J === "'" || J === "`") return K.tokenize = tokenString(J), K.tokenize(b, K);
|
|
1190
|
+
if (isVersion(b, K)) return "version";
|
|
1191
|
+
if (J === "." && keywordsMembersOfAddressType.some(function(K2) {
|
|
1192
|
+
return b.match(`${K2}`);
|
|
1193
1193
|
})) return "addressFunction";
|
|
1194
|
-
if (typeof
|
|
1195
|
-
if (typeof
|
|
1196
|
-
if (
|
|
1197
|
-
if (
|
|
1198
|
-
if (
|
|
1199
|
-
for (
|
|
1200
|
-
if (
|
|
1201
|
-
|
|
1194
|
+
if (typeof J == "string" && isNumber(J, b)) return "number";
|
|
1195
|
+
if (typeof J == "string" && /[[\]{}(),;:.]/.test(J)) return updateGarmmer(J, K);
|
|
1196
|
+
if (J === "/") {
|
|
1197
|
+
if (b.eat("*")) return K.tokenize = tokenComment, tokenComment(b, K);
|
|
1198
|
+
if (b.match(/\/{2}/)) {
|
|
1199
|
+
for (J = b.next(); J; ) {
|
|
1200
|
+
if (J === "@") {
|
|
1201
|
+
b.backUp(1), K.grammar = "doc";
|
|
1202
1202
|
break;
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1204
|
+
J = b.next();
|
|
1205
1205
|
}
|
|
1206
1206
|
return "doc";
|
|
1207
1207
|
}
|
|
1208
|
-
if (
|
|
1208
|
+
if (b.eat("/")) return b.skipToEnd(), "comment";
|
|
1209
1209
|
}
|
|
1210
|
-
if (typeof
|
|
1211
|
-
let
|
|
1212
|
-
return typeof
|
|
1210
|
+
if (typeof J == "string" && isNegativeChar.test(J)) {
|
|
1211
|
+
let K2 = b.peek();
|
|
1212
|
+
return typeof K2 == "string" && isNumber(K2, b) ? "number" : "operator";
|
|
1213
1213
|
}
|
|
1214
|
-
if (typeof
|
|
1215
|
-
|
|
1216
|
-
let
|
|
1217
|
-
return
|
|
1218
|
-
return
|
|
1219
|
-
}) ? "docReserve" : "doc" : (
|
|
1220
|
-
return
|
|
1221
|
-
}) ? "variable-2" :
|
|
1222
|
-
return
|
|
1223
|
-
}) ? "abi" : updateHexLiterals(
|
|
1214
|
+
if (typeof J == "string" && isOperatorChar.test(J)) return b.eatWhile(isOperatorChar), "operator";
|
|
1215
|
+
b.eatWhile(/[\w$_\xa1-\uffff]/);
|
|
1216
|
+
let Y = b.current();
|
|
1217
|
+
return K.grammar === "doc" ? natSpecTags.some(function(b2) {
|
|
1218
|
+
return Y === `@${b2}`;
|
|
1219
|
+
}) ? "docReserve" : "doc" : (Y === "solidity" && K.lastToken === "pragma" && (K.lastToken = K.lastToken + " " + Y), Object.prototype.propertyIsEnumerable.call(keywords, Y) ? ((Y === "case" || Y === "default") && (curPunc = "case"), Object.prototype.propertyIsEnumerable.call(keywordsSpecial, Y) && (K.lastToken = Y), "keyword") : Object.prototype.propertyIsEnumerable.call(keywordsEtherUnit, Y) ? "etherUnit" : Object.prototype.propertyIsEnumerable.call(keywordsContractRelated, Y) ? "contractRelated" : Object.prototype.propertyIsEnumerable.call(keywordsControlStructures, Y) || Object.prototype.propertyIsEnumerable.call(keywordsTypeInformation, Y) || Object.prototype.propertyIsEnumerable.call(keywordsV0505NewReserve, Y) ? "keyword" : Object.prototype.propertyIsEnumerable.call(keywordsValueTypes, Y) || Object.prototype.propertyIsEnumerable.call(keywordsTimeUnit, Y) || isValidInteger(Y) || isValidBytes(Y) || isValidFixed(Y) ? (K.lastToken += "variable", "keyword") : Object.prototype.propertyIsEnumerable.call(atoms, Y) ? "atom" : Object.prototype.propertyIsEnumerable.call(keywordsErrorHandling, Y) ? "errorHandling" : Object.prototype.propertyIsEnumerable.call(keywordsMathematicalAndCryptographicFuctions, Y) ? "mathematicalAndCryptographic" : Object.prototype.propertyIsEnumerable.call(keywordsMoreBlockAndTransactionProperties, Y) || Object.prototype.propertyIsEnumerable.call(keywordsBlockAndTransactionProperties, Y) && keywordsBlockAndTransactionProperties[Y].some(function(K2) {
|
|
1220
|
+
return b.match(`.${K2}`);
|
|
1221
|
+
}) ? "variable-2" : Y === "abi" && keywordsAbiEncodeDecodeFunctions[Y].some(function(K2) {
|
|
1222
|
+
return b.match(`.${K2}`);
|
|
1223
|
+
}) ? "abi" : updateHexLiterals(Y, b) ?? ((K.lastToken === "functionName(" || K.lastToken === "returns(") && Object.prototype.propertyIsEnumerable.call(keywordsContractList, Y) ? (K.lastToken += "variable", "variable") : K.lastToken === "function" ? (K.lastToken = "functionName", K.para ?? (K.para = (K.grammar = "function", "")), K.para += "functionName", "functionName") : K.lastToken === "functionName(variable" ? (K.lastToken = "functionName(", "parameterValue") : K.lastToken === "returns(variable" ? (K.lastToken = "returns(", "parameterValue") : (K.lastToken === "address" && Y === "payable" && (K.lastToken = "address payable"), (K.lastToken === "contract" || K.lastToken === "struct") && (keywordsContractList[Y] = true, K.lastToken = null), K.grammar === "function" ? "parameterValue" : "variable")));
|
|
1224
1224
|
}
|
|
1225
|
-
function tokenString(
|
|
1226
|
-
return function(
|
|
1227
|
-
let
|
|
1228
|
-
for (
|
|
1229
|
-
if (
|
|
1230
|
-
|
|
1225
|
+
function tokenString(b) {
|
|
1226
|
+
return function(K, J) {
|
|
1227
|
+
let Y = false, X, Z = false;
|
|
1228
|
+
for (X = K.next(); X != null; ) {
|
|
1229
|
+
if (X === b && !Y) {
|
|
1230
|
+
Z = true;
|
|
1231
1231
|
break;
|
|
1232
1232
|
}
|
|
1233
|
-
|
|
1233
|
+
Y = !Y && b !== "`" && X === "\\", X = K.next();
|
|
1234
1234
|
}
|
|
1235
|
-
return (
|
|
1235
|
+
return (Z || !(Y || b === "`")) && (J.tokenize = tokenBase), "string";
|
|
1236
1236
|
};
|
|
1237
1237
|
}
|
|
1238
|
-
function tokenComment(
|
|
1239
|
-
let
|
|
1240
|
-
for (;
|
|
1241
|
-
if (
|
|
1242
|
-
|
|
1238
|
+
function tokenComment(b, K) {
|
|
1239
|
+
let J = false, Y = b.next();
|
|
1240
|
+
for (; Y; ) {
|
|
1241
|
+
if (Y === "/" && J) {
|
|
1242
|
+
K.tokenize = tokenBase;
|
|
1243
1243
|
break;
|
|
1244
1244
|
}
|
|
1245
|
-
|
|
1245
|
+
J = Y === "*", Y = b.next();
|
|
1246
1246
|
}
|
|
1247
1247
|
return "comment";
|
|
1248
1248
|
}
|
|
1249
|
-
function isVersion(
|
|
1250
|
-
if (
|
|
1249
|
+
function isVersion(b, K) {
|
|
1250
|
+
if (K.lastToken === "pragma solidity") return K.lastToken = null, !K.startOfLine && (b.match(/[\^{0}][0-9.]+/) || b.match(/[>=]+?[\s]*[0-9.]+[\s]*[<]?[\s]*[0-9.]+/));
|
|
1251
1251
|
}
|
|
1252
|
-
function isNumber(
|
|
1253
|
-
if (/[\d.]/.test(
|
|
1252
|
+
function isNumber(b, K) {
|
|
1253
|
+
if (/[\d.]/.test(b)) return b === "." ? K.match(/^[0-9]+([eE][-+]?[0-9]+)?/) : b === "0" ? K.match(/^[xX][0-9a-fA-F]+/) || K.match(/^0[0-7]+/) : K.match(/^[0-9]*\.?[0-9]*([eE][-+]?[0-9]+)?/), true;
|
|
1254
1254
|
}
|
|
1255
|
-
function isValidInteger(
|
|
1256
|
-
if (
|
|
1257
|
-
if (
|
|
1258
|
-
let
|
|
1259
|
-
return
|
|
1255
|
+
function isValidInteger(b) {
|
|
1256
|
+
if (b.match(/^[u]?int/)) {
|
|
1257
|
+
if (b.indexOf("t") + 1 === b.length) return true;
|
|
1258
|
+
let K = Number(b.substr(b.indexOf("t") + 1, b.length));
|
|
1259
|
+
return K % 8 == 0 && K <= 256;
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
function isValidBytes(
|
|
1263
|
-
if (
|
|
1264
|
-
if (
|
|
1265
|
-
let
|
|
1266
|
-
return Number(
|
|
1262
|
+
function isValidBytes(b) {
|
|
1263
|
+
if (b.match(/^bytes/)) {
|
|
1264
|
+
if (b.indexOf("s") + 1 === b.length) return true;
|
|
1265
|
+
let K = b.substr(b.indexOf("s") + 1, b.length);
|
|
1266
|
+
return Number(K) <= 32;
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
-
function isValidFixed(
|
|
1270
|
-
if (
|
|
1271
|
-
if (
|
|
1272
|
-
let
|
|
1273
|
-
return
|
|
1269
|
+
function isValidFixed(b) {
|
|
1270
|
+
if (b.match(/^[u]?fixed([0-9]+x[0-9]+)?/)) {
|
|
1271
|
+
if (b.indexOf("d") + 1 === b.length) return true;
|
|
1272
|
+
let K = b.substr(b.indexOf("d") + 1, b.length).split("x").map(Number);
|
|
1273
|
+
return K[0] % 8 == 0 && K[0] <= 256 && K[1] <= 80;
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
|
-
function updateHexLiterals(
|
|
1277
|
-
if (
|
|
1278
|
-
let
|
|
1279
|
-
for (
|
|
1280
|
-
if (
|
|
1281
|
-
if (
|
|
1282
|
-
|
|
1276
|
+
function updateHexLiterals(b, K) {
|
|
1277
|
+
if (b.match(/^hex/) && K.peek() === '"') {
|
|
1278
|
+
let b2 = false, J, Y = "", X = "";
|
|
1279
|
+
for (J = K.next(); J; ) {
|
|
1280
|
+
if (X += J, J === '"' && b2) {
|
|
1281
|
+
if (Y = X.substring(1, X.length - 1), Y.match(/^[0-9a-fA-F]+$/)) return "number";
|
|
1282
|
+
K.backUp(X.length);
|
|
1283
1283
|
break;
|
|
1284
1284
|
}
|
|
1285
|
-
|
|
1285
|
+
b2 || (b2 = J === '"'), J = K.next();
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
function updateGarmmer(
|
|
1290
|
-
return
|
|
1289
|
+
function updateGarmmer(b, K) {
|
|
1290
|
+
return b === "," && K.para === "functionName(variable" && (K.para = "functionName("), K.para != null && K.para.startsWith("functionName") && (b === ")" ? K.para.endsWith("(") && (K.para = K.para.substr(0, K.para.length - 1), K.para === "functionName" && (K.grammar = "")) : b === "(" && (K.para += b)), b === "(" && K.lastToken === "functionName" ? K.lastToken += b : b === ")" && K.lastToken === "functionName(" ? K.lastToken = null : b === "(" && K.lastToken === "returns" ? K.lastToken += b : b === ")" && (K.lastToken === "returns(" || K.lastToken === "returns(variable") && (K.lastToken = null), b === "(" && K.lastToken === "address" && (K.lastToken += b), curPunc = b, null;
|
|
1291
1291
|
}
|
|
1292
1292
|
var Context = class {
|
|
1293
|
-
constructor(
|
|
1294
|
-
this.indented =
|
|
1293
|
+
constructor(b, K, J, Y, X) {
|
|
1294
|
+
this.indented = b, this.column = K, this.type = J, this.align = Y, this.prev = X;
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
1297
|
-
function pushContext(
|
|
1298
|
-
return
|
|
1297
|
+
function pushContext(b, K, J) {
|
|
1298
|
+
return b.context = new Context(b.indented, K, J, null, b.context), b.context;
|
|
1299
1299
|
}
|
|
1300
|
-
function popContext(
|
|
1301
|
-
if (!
|
|
1302
|
-
let
|
|
1303
|
-
return (
|
|
1300
|
+
function popContext(b) {
|
|
1301
|
+
if (!b.context.prev) return;
|
|
1302
|
+
let K = b.context.type;
|
|
1303
|
+
return (K === ")" || K === "]" || K === "}") && (b.indented = b.context.indented), b.context = b.context.prev;
|
|
1304
1304
|
}
|
|
1305
1305
|
var parser = {
|
|
1306
|
-
startState(
|
|
1306
|
+
startState(b) {
|
|
1307
1307
|
return {
|
|
1308
1308
|
tokenize: null,
|
|
1309
|
-
context: new Context(0 -
|
|
1309
|
+
context: new Context(0 - b, 0, "top", false, null),
|
|
1310
1310
|
indented: 0,
|
|
1311
1311
|
startOfLine: true,
|
|
1312
1312
|
grammar: null,
|
|
@@ -1314,19 +1314,19 @@ var parser = {
|
|
|
1314
1314
|
para: null
|
|
1315
1315
|
};
|
|
1316
1316
|
},
|
|
1317
|
-
token(
|
|
1318
|
-
let
|
|
1319
|
-
if (
|
|
1317
|
+
token(b, K) {
|
|
1318
|
+
let J = K.context;
|
|
1319
|
+
if (b.sol() && (J.align ?? (J.align = false), K.indented = b.indentation(), K.startOfLine = true, J.type === "case" && (J.type = "}"), K.grammar === "doc" && (K.grammar = null)), b.eatSpace()) return null;
|
|
1320
1320
|
curPunc = null;
|
|
1321
|
-
let
|
|
1322
|
-
return
|
|
1321
|
+
let Y = (K.tokenize || tokenBase)(b, K);
|
|
1322
|
+
return Y === "comment" ? Y : (J.align ?? (J.align = true), curPunc === "{" ? pushContext(K, b.column(), "}") : curPunc === "[" ? pushContext(K, b.column(), "]") : curPunc === "(" ? pushContext(K, b.column(), ")") : curPunc === "case" ? J.type = "case" : (curPunc === "}" && J.type === "}" || curPunc === J.type) && popContext(K), K.startOfLine = false, Y);
|
|
1323
1323
|
},
|
|
1324
|
-
indent(
|
|
1325
|
-
if (
|
|
1326
|
-
let
|
|
1327
|
-
if (
|
|
1328
|
-
let
|
|
1329
|
-
return
|
|
1324
|
+
indent(b, K, J) {
|
|
1325
|
+
if (b.tokenize !== tokenBase && b.tokenize != null) return null;
|
|
1326
|
+
let Y = b.context, X = K && K.charAt(0);
|
|
1327
|
+
if (Y.type === "case" && /^(?:case|default)\b/.test(K)) return b.context.type = "}", Y.indented;
|
|
1328
|
+
let Z = X === Y.type;
|
|
1329
|
+
return Y.align ? Y.column + (Z ? 0 : 1) : Y.indented + (Z ? 0 : J.unit);
|
|
1330
1330
|
},
|
|
1331
1331
|
electricChars: "{}):",
|
|
1332
1332
|
closeBrackets: "()[]{}''\"\"``",
|
|
@@ -1578,8 +1578,8 @@ var parser = {
|
|
|
1578
1578
|
ys: () => StreamLanguage.define(yacas),
|
|
1579
1579
|
z80: () => StreamLanguage.define(z80)
|
|
1580
1580
|
};
|
|
1581
|
-
function loadLanguage(
|
|
1582
|
-
return langs[
|
|
1581
|
+
function loadLanguage(b) {
|
|
1582
|
+
return langs[b] ? langs[b]() : null;
|
|
1583
1583
|
}
|
|
1584
1584
|
export {
|
|
1585
1585
|
loadLanguage as n,
|