@marimo-team/islands 0.16.5 → 0.17.1
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/{fullscreen-D1yTiBlu.js → Combination-De9yoNY5.js} +855 -795
- package/dist/{ConnectedDataExplorerComponent-D96i9G-X.js → ConnectedDataExplorerComponent-DuvpJOKp.js} +102 -123
- package/dist/{ImageComparisonComponent-D4Tv9QzJ.js → ImageComparisonComponent--etUl2pp.js} +2 -2
- package/dist/{_baseIsEqual-oN7pRNcM.js → _baseIsEqual-BFlyFUxC.js} +20 -20
- package/dist/{_basePickBy-CYvzhRjy.js → _basePickBy-gCCvtjgp.js} +3 -3
- package/dist/{_baseProperty-DGUdIBuu.js → _baseProperty-BuqBC0Ie.js} +5 -5
- package/dist/{_baseUniq-B5gfSl8S.js → _baseUniq-CKN9mEDq.js} +5 -5
- package/dist/any-language-editor-Du2Q_6IK.js +156 -0
- package/dist/apl-CUm2DGqh.js +4 -0
- package/dist/{arc-B1iVbHTB.js → arc-C_O2hc-b.js} +2 -2
- package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +21 -0
- package/dist/{architectureDiagram-W76B3OCA-DkEhipkW.js → architectureDiagram-W76B3OCA-CrK99pJi.js} +41 -40
- package/dist/asciiarmor-lqJ78U01.js +4 -0
- package/dist/asn1-CjwpSTlW.js +4 -0
- package/dist/assets/__vite-browser-external-DHoMWs4M.js +1 -0
- package/dist/assets/worker-B6tH8gPO.js +54 -0
- package/dist/{blockDiagram-QIGZ2CNN-DZOqLMYa.js → blockDiagram-QIGZ2CNN-BJOEyO6w.js} +101 -111
- package/dist/brainfuck-ClvDI1dq.js +4 -0
- package/dist/{button-CEcjneWG.js → button-ADXOb_gX.js} +37 -40
- package/dist/{c4Diagram-FPNF74CW-DVaR7c9q.js → c4Diagram-FPNF74CW-7Pz_X9wF.js} +31 -54
- package/dist/{channel-Uh0KpgGW.js → channel-X-wRUxX6.js} +1 -1
- package/dist/{check-BK9zDfQk.js → check-COlaG7Ss.js} +1 -1
- package/dist/{chunk-3AY6CYHV-Dk2R2-S1.js → chunk-3AY6CYHV-BQH2fFpA.js} +37 -37
- package/dist/{chunk-4BX2VUAB-CqO6zUIz.js → chunk-4BX2VUAB-D-QtDCKM.js} +1 -1
- package/dist/{chunk-4KMFLZZN-CloTfTwP.js → chunk-4KMFLZZN-BirZvvJS.js} +220 -329
- package/dist/{chunk-55IACEB6-I0rmqTua.js → chunk-55IACEB6-DjtPYZKs.js} +1 -1
- package/dist/{chunk-6OXUPJBA-BuROSTmo.js → chunk-6OXUPJBA-CTnnqlzw.js} +7 -7
- package/dist/{chunk-7GE3RBXV-B1-tsIPP.js → chunk-7GE3RBXV-CT47hCrL.js} +1 -1
- package/dist/{chunk-ABZYJK2D-CLlso8tj.js → chunk-ABZYJK2D-B6ZsU6SR.js} +484 -1043
- package/dist/{chunk-BN7GFLIU-Db2-FjLn.js → chunk-BN7GFLIU-DYWEsrG4.js} +1 -1
- package/dist/{chunk-CVBHYZKI-BONeiloK.js → chunk-CVBHYZKI-BuzDGXz0.js} +3 -3
- package/dist/{chunk-CXMOBAN2-U9GJSP1d.js → chunk-CXMOBAN2-Bas2S5w1.js} +46 -54
- package/dist/chunk-EXTU4WIE-DXwNSukz.js +10 -0
- package/dist/{chunk-FMBD7UC4-DyV3BR_I.js → chunk-FMBD7UC4-CYKEpuPr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C9A1076P.js → chunk-JA3XYJ7Z-DcxfkcDC.js} +21 -25
- package/dist/{chunk-JEIROHC2-BGnFkSVq.js → chunk-JEIROHC2-C01ZIcIG.js} +1 -1
- package/dist/{chunk-K7UQS3LO-033LOsjK.js → chunk-K7UQS3LO-CmbT97MV.js} +7 -7
- package/dist/{chunk-KMC2YHZD-DT4Sq4Ld.js → chunk-KMC2YHZD-D64m-1E1.js} +1 -1
- package/dist/{chunk-QN33PNHL-gs44MZla.js → chunk-QN33PNHL-DjB0j8Dr.js} +2 -2
- package/dist/{chunk-QYVHNE3D-B8BO1AnT.js → chunk-QYVHNE3D-VA4W4oxG.js} +3 -4
- package/dist/{chunk-QZHKN3VN-CeN_GkU6.js → chunk-QZHKN3VN-KT0fl3Em.js} +1 -1
- package/dist/chunk-S3R3BYOJ-C5zmcMvn.js +380 -0
- package/dist/{chunk-T44TD3VJ-BwzD6YE0.js → chunk-T44TD3VJ-BMOgu-Hk.js} +1 -1
- package/dist/{chunk-TVAH2DTR-Bi6jpQJQ.js → chunk-TVAH2DTR-eKm8SKnH.js} +7 -8
- package/dist/{chunk-TZMSLE5B-D8klz2H_.js → chunk-TZMSLE5B-CQxFRiI2.js} +5 -6
- package/dist/{chunk-WFRQ32O7-CzSwSlN0.js → chunk-WFRQ32O7-Dg51o277.js} +1 -1
- package/dist/{chunk-WFWHJNB7-DN_cavM6.js → chunk-WFWHJNB7-DVLO98ge.js} +1 -1
- package/dist/{chunk-XRWGC2XP-Bb5eGNM2.js → chunk-XRWGC2XP-UNFKdWQh.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-S5UYNb0V.js → chunk-ZPAFE4SF-DbCSwfLK.js} +22 -22
- package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +40 -0
- package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +40 -0
- package/dist/{click-outside-container-DE4e7p1p.js → click-outside-container-2BH589Bq.js} +9 -14
- package/dist/{clike-Cg_DBrJ0.js → clike-Bc2PZzZQ.js} +1 -1
- package/dist/{clike-CxAz4p9E.js → clike-CytFO-kN.js} +1 -1
- package/dist/clojure-8GefCgPe.js +4 -0
- package/dist/{clone-Dk4FkKH0.js → clone-CCgVUJ6x.js} +1 -1
- package/dist/cmake-yAhT9H0F.js +4 -0
- package/dist/cobol-BmltueOY.js +4 -0
- package/dist/coffeescript-C7KEQBcH.js +4 -0
- package/dist/commonlisp-CNbiJRU-.js +4 -0
- package/dist/{constants-Cjd_3kwd.js → constants-BaCMVd12.js} +3 -3
- package/dist/{copy-C5RFg7ok.js → copy-GNcK40wy.js} +6 -2
- package/dist/{cose-bilkent-S5V4N54A-B3iOTGu5.js → cose-bilkent-S5V4N54A-BnvuJG6Y.js} +20 -20
- package/dist/crystal-OdjZZ8bc.js +4 -0
- package/dist/css-DhTxMmL_.js +5 -0
- package/dist/cypher-CgN8E3YI.js +4 -0
- package/dist/{cytoscape.esm-DTDV0Nbj.js → cytoscape.esm-BFEMljQI.js} +586 -661
- package/dist/d-g41sJcBC.js +4 -0
- package/dist/{dagre-5GWH7T2D-KM4Z11yT.js → dagre-5GWH7T2D-rn7tZYaQ.js} +41 -45
- package/dist/{dagre-B0u1urxE.js → dagre-Bghq6VKO.js} +58 -77
- package/dist/data-grid-overlay-editor-B4_Caieu.js +133 -0
- package/dist/{diagram-N5W7TBWH-CtO7az4G.js → diagram-N5W7TBWH-lbF94o-g.js} +46 -61
- package/dist/diagram-QEK2KX5R-CKBhSzsO.js +246 -0
- package/dist/{diagram-S2PKOQOG-CiXElLNQ.js → diagram-S2PKOQOG-161_1f53.js} +35 -34
- package/dist/diff-ViRYYhhg.js +4 -0
- package/dist/{dist-C3WYsf4K.js → dist-28HYzERB.js} +4 -10
- package/dist/{dist-CChOkSUg.js → dist-4dtbqf8A.js} +3 -3
- package/dist/{dist-CUnh_3Ii.js → dist-71jYYbWP.js} +2 -2
- package/dist/{dist-elblfNXO.js → dist-B8Pbw5ln.js} +2 -2
- package/dist/{dist-DPF5TTUg.js → dist-BAqp4Vtl.js} +126 -115
- package/dist/{dist-BEvIw5Nh.js → dist-BBhmkni2.js} +1 -1
- package/dist/{dist-C7ASiFxI.js → dist-BNRdMfJH.js} +273 -263
- package/dist/dist-BSyYM1Gi.js +15 -0
- package/dist/{dist-DzOpMdwb.js → dist-BYHiiJB-.js} +4 -4
- package/dist/{dist-DKFaZRVk.js → dist-B_wjJqqS.js} +2 -2
- package/dist/{dist-CutXTm8t.js → dist-BaPjLM6s.js} +1 -1
- package/dist/dist-BfJO8Bm9.js +12 -0
- package/dist/{dist-CGIZPq3J.js → dist-BqdQPWpQ.js} +2 -2
- package/dist/{dist--I6Htnlv.js → dist-C2IEc8og.js} +5 -5
- package/dist/{dist-CLvpViod.js → dist-C9-uHBqC.js} +2 -3
- package/dist/{dist-DBhzmFyH.js → dist-CJb8EiFO.js} +3 -3
- package/dist/dist-CLuF3AtO.js +6 -0
- package/dist/{dist-Dzk1C8l5.js → dist-CNAkUyxv.js} +11 -14
- package/dist/{dist-DNnYAdRE.js → dist-CNvMOZu9.js} +2 -2
- package/dist/{dist-CxD5E6Sh.js → dist-CPNnKuPh.js} +24 -22
- package/dist/{dist-C3QUag__.js → dist-CTIyD_KU.js} +3 -3
- package/dist/dist-CU04U4NL.js +10 -0
- package/dist/{dist-CZfRM7pE.js → dist-CWh5ZwcC.js} +2 -2
- package/dist/{dist-DW9er3Zq.js → dist-CWqB4bg8.js} +44 -23
- package/dist/{dist-CbRkrKrP.js → dist-CtOeHDJp.js} +5 -5
- package/dist/{dist-DL_ci7Yc.js → dist-Cw0F6l-7.js} +1 -1
- package/dist/{dist-BZBitvuL.js → dist-CwZcC4om.js} +1 -1
- package/dist/dist-DNUT6b47.js +6 -0
- package/dist/{dist-BBlFk9ki.js → dist-Da046MhT.js} +1 -1
- package/dist/{dist-Cib4sGDA.js → dist-DaTVdKJa.js} +2 -2
- package/dist/dist-DbAb2sY7.js +6 -0
- package/dist/dist-DiDFQ2Rk.js +6 -0
- package/dist/{dist-BQmQQqFH.js → dist-DlK420ke.js} +1 -1
- package/dist/{dist-o7fhJC7U.js → dist-Drf3cyIW.js} +3 -3
- package/dist/{dist-CdE2C2In.js → dist-DxESp2-T.js} +15 -20
- package/dist/{dist-JCAky9ND.js → dist-DzJem5xc.js} +17 -22
- package/dist/{dist-C5zMs_n5.js → dist-O0zVziwn.js} +3 -3
- package/dist/dist-SNAyAOJ-.js +6 -0
- package/dist/{dist-Bar1QnNM.js → dist-_4cudra1.js} +3 -3
- package/dist/dist-cbW5xJNV.js +6 -0
- package/dist/dist-h8eGLSbK.js +10 -0
- package/dist/{dist-BqgkUnEN.js → dist-xLN9qCAp.js} +3 -3
- package/dist/{dockerfile-Dum_1b-5.js → dockerfile-Cmlcqk35.js} +1 -1
- package/dist/dtd-RplB6hDg.js +4 -0
- package/dist/dylan-BX8KJufP.js +4 -0
- package/dist/ecl-CWtLaNMH.js +4 -0
- package/dist/eiffel-C-mlZPMn.js +4 -0
- package/dist/elm-CWp06vcb.js +4 -0
- package/dist/{erDiagram-AWTI2OKA-ZTIl9iQO.js → erDiagram-AWTI2OKA-BU7Qig7n.js} +32 -31
- package/dist/erlang-pfp22AZM.js +4 -0
- package/dist/error-banner-BAWlXn49.js +1012 -0
- package/dist/{esm-d0g2RsOH.js → esm-AtKNNGYO.js} +7 -9
- package/dist/esm-B2pocBPL.js +26 -0
- package/dist/{esm-DxFkg7a6.js → esm-Oo8OvZ6m.js} +1529 -1493
- package/dist/{esm-1_Mp6VD2.js → esm-YVnxJqkD.js} +340 -411
- package/dist/{factor-CdgiDGiu.js → factor-BZnBK3CG.js} +1 -1
- package/dist/factor-CEn53jua.js +5 -0
- package/dist/{flowDiagram-PVAE7QVJ-DsbofOzu.js → flowDiagram-PVAE7QVJ-JKJebWeY.js} +41 -40
- package/dist/{formats-ChrNdVdJ.js → formats-DOEuF6TR.js} +15 -19
- package/dist/forth-CL8vu_y8.js +4 -0
- package/dist/fortran-DsmXkYtE.js +4 -0
- package/dist/{ganttDiagram-OWAHRB6G-FnCH1Yj3.js → ganttDiagram-OWAHRB6G-BvWRfg05.js} +17 -16
- package/dist/gas-mYt9Rtlx.js +4 -0
- package/dist/gherkin-DHNCKBNj.js +4 -0
- package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +21 -0
- package/dist/{gitGraphDiagram-NY62KEGX-B0wvMNqU.js → gitGraphDiagram-NY62KEGX-VEJJBf5L.js} +38 -40
- package/dist/{glide-data-editor-D_kEsT07.js → glide-data-editor-Bne10icG.js} +1703 -1771
- package/dist/{graphlib-BGmr7CYF.js → graphlib-DRS8CrjA.js} +5 -5
- package/dist/groovy-DzRtOS5a.js +4 -0
- package/dist/haskell-Bl9iT_Mp.js +4 -0
- package/dist/haxe-DqA0ED6k.js +5 -0
- package/dist/{hotkeys-yFrUwyJK.js → hotkeys-DVxFjl2s.js} +16 -7
- package/dist/idl-WU2hil4i.js +4 -0
- package/dist/info-63CPKGFF-CG-xzUJo.js +21 -0
- package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +45 -0
- package/dist/invariant-D3JoRb4I.js +6 -0
- package/dist/{isArrayLikeObject-DiDsNamC.js → isArrayLikeObject-DU5MCuQM.js} +3 -5
- package/dist/{isEmpty-BBG-u1GM.js → isEmpty-Do_v2sls.js} +2 -2
- package/dist/{isSymbol-BxF-_8BA.js → isSymbol-CtkA8Y0a.js} +1 -1
- package/dist/{javascript-Dfq1qI35.js → javascript-DGukg1sB.js} +2 -2
- package/dist/javascript-QY2BGJeV.js +5 -0
- package/dist/jinja2-Czleq7Sk.js +4 -0
- package/dist/{journeyDiagram-BIP6EPQ6-B3PotfAW.js → journeyDiagram-BIP6EPQ6-CsgEQgxh.js} +28 -28
- package/dist/julia-Dru3Qi0y.js +4 -0
- package/dist/{kanban-definition-6OIFK2YF-BTrQZ3LN.js → kanban-definition-6OIFK2YF-Bi8Ete2P.js} +42 -41
- package/dist/{katex-dN__NFdn.js → katex-C-g3rKKt.js} +1 -1
- package/dist/{katex-BE4xflfm.js → katex-DgfMWJY9.js} +149 -173
- package/dist/{label-BinTsX-u.js → label-BiVIU_wb.js} +252 -253
- package/dist/{line-C6-zz71o.js → line-B7-GoF1m.js} +3 -3
- package/dist/{linear-DyTdUIqX.js → linear-DeGGALuc.js} +4 -4
- package/dist/livescript-Dxqi_HLT.js +4 -0
- package/dist/{loader-Dijti3y4.js → loader-BBqwtZWj.js} +19 -26
- package/dist/lua-ByH1cUQZ.js +4 -0
- package/dist/main.js +17025 -17039
- package/dist/{marked.esm-3RjvXPoO.js → marked.esm-DkVwEwtO.js} +5 -5
- package/dist/mathematica-CWJIFuES.js +4 -0
- package/dist/mbox-qhPIGaUI.js +4 -0
- package/dist/{memoize-Dq87l1O_.js → memoize-D7eDkf3R.js} +1 -1
- package/dist/{merge-BPDCIm8P.js → merge-C_6cGM6o.js} +1 -1
- package/dist/{mermaid-MWiyXDcI.js → mermaid-BmtvsZ2m.js} +323 -339
- package/dist/{mermaid-parser.core-CSFx6MQ7.js → mermaid-parser.core-geyG_6o0.js} +8 -8
- package/dist/{mhchem-DZ68WS0G.js → mhchem-OhAaJ0fA.js} +1 -1
- package/dist/{min-BzhKOmZo.js → min-Dwa_NbP6.js} +7 -7
- package/dist/{mindmap-definition-Q6HEUPPD-9hhnrO1k.js → mindmap-definition-Q6HEUPPD-B-wmX1oG.js} +29 -28
- package/dist/mirc-yYcXhXBY.js +4 -0
- package/dist/mllike-BfT_Nl9x.js +6 -0
- package/dist/modelica-lVDtz1Rm.js +4 -0
- package/dist/mscgen-DvwdD1QJ.js +6 -0
- package/dist/mumps-BiY3GwKd.js +4 -0
- package/dist/{node-sql-parser-13oju30e.js → node-sql-parser-CoPWN4hn.js} +14343 -14351
- package/dist/{now-DVBcRCoE.js → now-DumxsrcX.js} +1 -1
- package/dist/{nsis-BW6_XagK.js → nsis-D4bLR_Y1.js} +1 -1
- package/dist/nsis-Dk18Sq_4.js +5 -0
- package/dist/ntriples-Cj-8VqKF.js +4 -0
- package/dist/{number-overlay-editor-D1YdiOrm.js → number-overlay-editor-D6r-48ka.js} +18 -24
- package/dist/octave-BgFAaYjU.js +4 -0
- package/dist/once-3OSMKEsL.js +74 -0
- package/dist/{ordinal-BXk5xAj2.js → ordinal-DpEbSVPc.js} +1 -1
- package/dist/oz-IsEG1I1m.js +4 -0
- package/dist/packet-HUATNLJX-Cafuo3IG.js +21 -0
- package/dist/pascal-BVf7FtIE.js +4 -0
- package/dist/perl-BM0-y4mZ.js +4 -0
- package/dist/pie-WTHONI2E-BE0pHBwB.js +21 -0
- package/dist/{pieDiagram-ADFJNKIX-CSBC0ZgF.js → pieDiagram-ADFJNKIX-C3GvPNUL.js} +40 -39
- package/dist/pig-CLBjzQmc.js +4 -0
- package/dist/powershell-B_qvE33J.js +4 -0
- package/dist/powershell-Dr7WZMDU.js +236 -0
- package/dist/{precisionRound-DbP73hkf.js → precisionRound-7YYJq2rW.js} +1 -1
- package/dist/properties-CUTpsH2y.js +4 -0
- package/dist/protobuf-DqCP8a-0.js +4 -0
- package/dist/pug-BvexKkw4.js +5 -0
- package/dist/{pug-Bmups_z0.js → pug-Dv3gE36O.js} +1 -1
- package/dist/puppet-CoIi0R3f.js +4 -0
- package/dist/purify.es-CrfFzTyi.js +536 -0
- package/dist/python-C-11-YMh.js +5 -0
- package/dist/{q-BzWcnVri.js → q-BzRpKgfd.js} +3 -2
- package/dist/q-CCVgEip7.js +4 -0
- package/dist/{quadrantDiagram-LMRXKWRM-h7nHf8xG.js → quadrantDiagram-LMRXKWRM-DPXwGNVa.js} +11 -10
- package/dist/r-CIdR0Sfs.js +4 -0
- package/dist/radar-NJJJXTRR-0adgjw0u.js +21 -0
- package/dist/{range-CgK0-PEw.js → range-CIbLpsrs.js} +3 -3
- package/dist/{react-plotly-BZakcxdv.js → react-plotly-DYyvxcRD.js} +4365 -4706
- package/dist/{requirementDiagram-4UW4RH46-BGEurQYq.js → requirementDiagram-4UW4RH46-Cs3Hqnm0.js} +24 -23
- package/dist/rpm-Dwvm039g.js +5 -0
- package/dist/ruby-DpTnO5gb.js +4 -0
- package/dist/{sankeyDiagram-GR3RE2ED-CxeJ_jfl.js → sankeyDiagram-GR3RE2ED-Be1d_Xf7.js} +7 -6
- package/dist/sas-CK9boxgv.js +4 -0
- package/dist/scheme-Y1aYL-Qq.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-CbFxwyr_.js → sequenceDiagram-C3RYC4MD-lbtovKTa.js} +24 -33
- package/dist/shell-D3eXGsHd.js +4 -0
- package/dist/sieve-BdwSFdWJ.js +4 -0
- package/dist/{simple-mode-Cgyya8F-.js → simple-mode-BMmwP_vI.js} +1 -1
- package/dist/{slides-component-BEyG25AH.js → slides-component-BoeQU7-s.js} +1012 -1033
- package/dist/smalltalk-BTYJquCm.js +4 -0
- package/dist/sparql-CYF0g4Cc.js +4 -0
- package/dist/{src-BNNJRxz3.js → src-BTqT1mA1.js} +6 -6
- package/dist/{stateDiagram-KXAO66HF-A61bMf29.js → stateDiagram-KXAO66HF-BmbR-Rol.js} +48 -49
- package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +39 -0
- package/dist/{step-IHYrujTc.js → step-2RJrMSSG.js} +1 -1
- package/dist/stex-CyWhoWHt.js +5 -0
- package/dist/style.css +1 -1
- package/dist/stylus-BBiKaI2h.js +4 -0
- package/dist/swift-COb15qFR.js +4 -0
- package/dist/tcl-Jik1LXu9.js +4 -0
- package/dist/textile-BFHPD3wr.js +4 -0
- package/dist/{time-D3tzCqJ6.js → time-BB30r1tK.js} +4 -4
- package/dist/{timeline-definition-XQNQX7LJ-BwdsB7CR.js → timeline-definition-XQNQX7LJ-1mv5caPW.js} +17 -17
- package/dist/{timer-D3Zlu9ow.js → timer-CcUhugb0.js} +2 -2
- package/dist/{toNumber-efKT08hh.js → toNumber-D3Ystr3y.js} +2 -2
- package/dist/{toString-BvCd3yJc.js → toString-CbuxCRDG.js} +2 -2
- package/dist/{toml-CIUkU1CP.js → toml-BqNUJWRI.js} +6 -2
- package/dist/toml-Brp9fBXs.js +4 -0
- package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +21 -0
- package/dist/troff-CcZRW4vg.js +4 -0
- package/dist/ttcn-Bz_6ifRd.js +4 -0
- package/dist/ttcn-cfg-v-yi2rKc.js +4 -0
- package/dist/turtle-CDOsZYhB.js +4 -0
- package/dist/{types-1X1uZB4y.js → types-BPohCsA7.js} +198 -278
- package/dist/{useAsyncData-C4IqQK0g.js → useAsyncData-DHBqeb9a.js} +3 -2
- package/dist/{useDateFormatter-BCsBqetx.js → useDateFormatter-BkbjKw83.js} +9 -9
- package/dist/useIframeCapabilities-BEvvwlwt.js +46 -0
- package/dist/{useTheme-C2pgJzDH.js → useTheme-CnMbo-iq.js} +32 -29
- package/dist/vb-CL7fRwRw.js +4 -0
- package/dist/vbscript-CR2xfxpw.js +4 -0
- package/dist/{vega-component-Cv4J8CHz.js → vega-component-BfFcXZxw.js} +40 -39
- package/dist/{vega-loader.browser.module-Bi3ttvdj.js → vega-loader.browser.module-CFMtdrNw.js} +4 -5
- package/dist/velocity-CfuZoxPt.js +4 -0
- package/dist/verilog-CySTkzw_.js +4 -0
- package/dist/vhdl-Dvcd8KHW.js +4 -0
- package/dist/webidl-tbJt7sKk.js +4 -0
- package/dist/xquery-DJQVztyc.js +4 -0
- package/dist/{xychartDiagram-6GGTOJPD-BJRRi5HC.js → xychartDiagram-6GGTOJPD-njc-naaw.js} +24 -24
- package/dist/yacas-BbgBReEH.js +4 -0
- package/dist/z80-DPyb8VGz.js +4 -0
- package/dist/{zod-UPQf9SGn.js → zod-mAEs2ITo.js} +71 -81
- package/package.json +21 -17
- package/src/__mocks__/requests.ts +2 -0
- package/src/components/app-config/ai-config.tsx +1 -3
- package/src/components/app-config/common.tsx +14 -0
- package/src/components/app-config/data-form.tsx +282 -0
- package/src/components/app-config/user-config-form.tsx +36 -219
- package/src/components/chat/acp/__tests__/state.test.ts +75 -2
- package/src/components/chat/acp/agent-panel.tsx +143 -89
- package/src/components/chat/acp/blocks.tsx +77 -34
- package/src/components/chat/acp/state.ts +5 -1
- package/src/components/chat/acp/thread.tsx +12 -1
- package/src/components/chat/chat-panel.tsx +38 -5
- package/src/components/chat/chat-utils.ts +16 -5
- package/src/components/chat/markdown-renderer.css +1 -0
- package/src/components/chat/tool-call-accordion.tsx +7 -1
- package/src/components/data-table/__tests__/header-items.test.tsx +117 -0
- package/src/components/data-table/charts/__tests__/storage.test.ts +12 -6
- package/src/components/data-table/charts/charts.tsx +8 -2
- package/src/components/data-table/charts/storage.ts +1 -1
- package/src/components/data-table/column-header.tsx +4 -2
- package/src/components/data-table/column-wrapping/feature.ts +2 -0
- package/src/components/data-table/columns.tsx +12 -3
- package/src/components/data-table/data-table.tsx +7 -2
- package/src/components/data-table/header-items.tsx +63 -10
- package/src/components/data-table/renderers.tsx +3 -2
- package/src/components/dependency-graph/custom-node.tsx +11 -11
- package/src/components/dependency-graph/elements.ts +9 -4
- package/src/components/dependency-graph/panels.tsx +6 -4
- package/src/components/editor/Output.tsx +34 -25
- package/src/components/editor/actions/useCellActionButton.tsx +20 -4
- package/src/components/editor/ai/add-cell-with-ai.tsx +17 -3
- package/src/components/editor/ai/ai-completion-editor.tsx +203 -26
- package/src/components/editor/ai/completion-handlers.tsx +126 -23
- package/src/components/editor/cell/StagedAICell.tsx +81 -12
- package/src/components/editor/cell/code/cell-editor.tsx +6 -2
- package/src/components/editor/cell/useRunCells.ts +62 -30
- package/src/components/editor/chrome/panels/cache-panel.tsx +216 -0
- package/src/components/editor/chrome/panels/empty-state.tsx +3 -1
- package/src/components/editor/chrome/panels/packages-panel.tsx +1 -1
- package/src/components/editor/chrome/state.ts +1 -1
- package/src/components/editor/chrome/types.ts +66 -22
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +4 -0
- package/src/components/editor/chrome/wrapper/minimap.tsx +2 -0
- package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +108 -0
- package/src/components/editor/chrome/wrapper/sidebar.tsx +1 -1
- package/src/components/editor/code/readonly-diff.tsx +49 -0
- package/src/components/editor/columns/storage.ts +1 -1
- package/src/components/editor/errors/auto-fix.tsx +138 -32
- package/src/components/editor/errors/fix-mode.ts +20 -0
- package/src/components/editor/inputs/Inputs.styles.ts +1 -1
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +0 -5
- package/src/components/editor/navigation/clipboard.ts +2 -1
- package/src/components/editor/notebook-cell.tsx +20 -7
- package/src/components/editor/output/CalloutOutput.tsx +1 -1
- package/src/components/editor/output/ConsoleOutput.tsx +27 -33
- package/src/components/editor/output/HtmlOutput.tsx +3 -2
- package/src/components/editor/output/JsonOutput.tsx +15 -1
- package/src/components/editor/output/MarimoTracebackOutput.tsx +69 -52
- package/src/components/editor/output/__tests__/HtmlOutput.test.tsx +134 -0
- package/src/components/editor/output/__tests__/json-output.test.ts +43 -0
- package/src/components/editor/output/__tests__/traceback.test.tsx +8 -1
- package/src/components/editor/output/useWrapText.ts +6 -1
- package/src/components/editor/package-alert.tsx +37 -32
- package/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx +5 -2
- package/src/components/forms/__tests__/form-utils.test.ts +4 -2
- package/src/components/home/state.ts +3 -2
- package/src/components/icons/copy-icon.tsx +11 -5
- package/src/components/scratchpad/scratchpad-history.ts +6 -1
- package/src/components/shortcuts/renderShortcut.tsx +3 -1
- package/src/components/slides/slides-component.tsx +25 -21
- package/src/components/ui/button.tsx +2 -0
- package/src/components/ui/confirmation-button.tsx +85 -0
- package/src/components/ui/context-menu.tsx +14 -4
- package/src/components/ui/dropdown-menu.tsx +14 -4
- package/src/components/ui/fullscreen.tsx +115 -1
- package/src/components/ui/popover.tsx +11 -3
- package/src/components/ui/range-slider.tsx +1 -1
- package/src/components/ui/select.tsx +7 -3
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/switch.tsx +2 -0
- package/src/components/ui/tooltip.tsx +10 -3
- package/src/core/ai/__tests__/staged-cells.test.ts +189 -64
- package/src/core/ai/config.ts +6 -2
- package/src/core/ai/context/providers/__tests__/__snapshots__/cell-output.test.ts.snap +17 -0
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +194 -10
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +9 -1
- package/src/core/ai/context/providers/cell-output.ts +170 -112
- package/src/core/ai/context/providers/datasource.ts +25 -1
- package/src/core/ai/context/providers/tables.ts +2 -2
- package/src/core/ai/staged-cells.ts +32 -16
- package/src/core/ai/state.ts +8 -4
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +556 -0
- package/src/core/ai/tools/__tests__/registry.test.ts +41 -8
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +450 -0
- package/src/core/ai/tools/__tests__/utils.test.ts +87 -0
- package/src/core/ai/tools/base.ts +109 -6
- package/src/core/ai/tools/edit-notebook-tool.ts +239 -0
- package/src/core/ai/tools/registry.ts +48 -15
- package/src/core/ai/tools/run-cells-tool.ts +233 -0
- package/src/core/ai/tools/sample-tool.ts +53 -15
- package/src/core/ai/tools/utils.ts +23 -0
- package/src/core/cache/requests.ts +5 -0
- package/src/core/cells/__tests__/cells.test.ts +19 -1
- package/src/core/cells/__tests__/session.test.ts +20 -3
- package/src/core/cells/cells.ts +13 -8
- package/src/core/cells/session.ts +1 -1
- package/src/core/codemirror/__tests__/__snapshots__/setup.test.ts.snap +2 -0
- package/src/core/codemirror/__tests__/replace-editor-content.test.ts +336 -0
- package/src/core/codemirror/ai/resources.ts +13 -2
- package/src/core/codemirror/copilot/state.ts +4 -2
- package/src/core/codemirror/find-replace/navigate.ts +2 -2
- package/src/core/codemirror/format.ts +2 -9
- package/src/core/codemirror/language/__tests__/extension.test.ts +10 -2
- package/src/core/codemirror/language/__tests__/sql.test.ts +24 -6
- package/src/core/codemirror/language/languages/markdown.ts +16 -153
- package/src/core/codemirror/language/languages/python.ts +13 -10
- package/src/core/codemirror/language/languages/sql/sql-mode.ts +6 -1
- package/src/core/codemirror/language/languages/sql/sql.ts +43 -306
- package/src/core/codemirror/language/panel/markdown.tsx +2 -1
- package/src/core/codemirror/language/panel/panel.tsx +2 -7
- package/src/core/codemirror/language/utils.ts +3 -8
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +21 -14
- package/src/core/codemirror/lsp/federated-lsp.ts +20 -9
- package/src/core/codemirror/lsp/notebook-lsp.ts +35 -29
- package/src/core/codemirror/lsp/transports.ts +7 -13
- package/src/core/codemirror/lsp/types.ts +0 -13
- package/src/core/codemirror/replace-editor-content.ts +87 -0
- package/src/core/config/__tests__/config-schema.test.ts +3 -0
- package/src/core/config/config-schema.ts +12 -1
- package/src/core/config/feature-flag.tsx +2 -4
- package/src/core/errors/__tests__/errors.test.ts +1 -0
- package/src/core/errors/errors.ts +20 -6
- package/src/core/hotkeys/hotkeys.ts +12 -0
- package/src/core/islands/bridge.ts +2 -0
- package/src/core/islands/main.ts +4 -0
- package/src/core/kernel/messages.ts +1 -0
- package/src/core/lsp/__tests__/transport.test.ts +233 -0
- package/src/core/lsp/transport.ts +139 -0
- package/src/core/network/requests-network.ts +14 -0
- package/src/core/network/requests-static.ts +2 -0
- package/src/core/network/requests-toasting.ts +2 -0
- package/src/core/network/types.ts +5 -0
- package/src/core/rtc/state.ts +6 -1
- package/src/core/saving/save-component.tsx +43 -36
- package/src/core/vscode/is-in-vscode.ts +9 -0
- package/src/core/wasm/bridge.ts +2 -0
- package/src/core/wasm/store.ts +1 -1
- package/src/core/websocket/useMarimoWebSocket.tsx +8 -0
- package/src/css/app/Cell.css +31 -0
- package/src/css/app/codemirror-completions.css +1 -1
- package/src/css/globals.css +5 -0
- package/src/custom.d.ts +2 -0
- package/src/hooks/useIframeCapabilities.ts +14 -0
- package/src/hooks/useLocalStorage.ts +1 -1
- package/src/plugins/core/RenderHTML.tsx +65 -5
- package/src/plugins/core/__test__/RenderHTML.test.ts +25 -23
- package/src/plugins/core/__test__/renderHTML-sanitization.test.tsx +131 -0
- package/src/plugins/core/__test__/sanitize.test.ts +465 -0
- package/src/plugins/core/registerReactComponent.tsx +19 -2
- package/src/plugins/core/sanitize.ts +76 -0
- package/src/plugins/impl/DataTablePlugin.tsx +20 -19
- package/src/plugins/impl/FileBrowserPlugin.tsx +1 -3
- package/src/plugins/impl/FileUploadPlugin.tsx +1 -3
- package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +40 -1
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +6 -0
- package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +8 -1
- package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +3 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/chat/chat-ui.tsx +17 -2
- package/src/plugins/impl/chat/types.ts +1 -1
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +7 -2
- package/src/plugins/impl/plotly/__tests__/parse-from-template.test.ts +17 -0
- package/src/plugins/impl/plotly/parse-from-template.ts +2 -1
- package/src/utils/__tests__/arrays.test.ts +42 -0
- package/src/utils/__tests__/capabilities.test.ts +453 -0
- package/src/utils/__tests__/formatting.test.ts +107 -0
- package/src/utils/__tests__/json-parser.test.ts +13 -0
- package/src/utils/__tests__/local-storage.test.ts +1 -1
- package/src/utils/__tests__/storage.test.ts +21 -21
- package/src/utils/arrays.ts +25 -0
- package/src/utils/capabilities.ts +114 -0
- package/src/utils/copy.ts +6 -0
- package/src/utils/formatting.ts +51 -0
- package/src/utils/json/json-parser.ts +28 -3
- package/src/utils/numbers.ts +2 -2
- package/src/utils/{storage.ts → storage/jotai.ts} +16 -4
- package/src/utils/storage/storage.ts +57 -0
- package/src/utils/{localStorage.ts → storage/typed.ts} +22 -12
- package/dist/any-language-editor-CVFQlioK.js +0 -156
- package/dist/apl-ChlaBfxB.js +0 -4
- package/dist/architecture-O4VJ6CD3-BVeaxUcM.js +0 -21
- package/dist/asciiarmor-CcJmm3l_.js +0 -4
- package/dist/asn1-ThRYxoBE.js +0 -4
- package/dist/assets/__vite-browser-external-Dv_SHu1h.js +0 -1
- package/dist/assets/worker-DVOR9oZG.js +0 -54
- package/dist/brainfuck-CEM0JgDn.js +0 -4
- package/dist/chunk-EXTU4WIE-DECT9AAK.js +0 -14
- package/dist/chunk-S3R3BYOJ-DMQ1yeyq.js +0 -386
- package/dist/classDiagram-KNZD7YFC-BG53O6Jt.js +0 -39
- package/dist/classDiagram-v2-RKCZMP56-BmKILsGU.js +0 -39
- package/dist/clojure-B7RHyE9t.js +0 -4
- package/dist/cmake-TeTMP4I5.js +0 -4
- package/dist/cobol-DI-mxUER.js +0 -4
- package/dist/coffeescript-DHUFLqWp.js +0 -4
- package/dist/commonlisp-SLiUrh1m.js +0 -4
- package/dist/crystal-B4fY1ZfJ.js +0 -4
- package/dist/css-Bdoq3TzK.js +0 -5
- package/dist/cypher-CBU182fp.js +0 -4
- package/dist/d-D8myDZeH.js +0 -4
- package/dist/data-grid-overlay-editor-qNmJk2x0.js +0 -135
- package/dist/diagram-QEK2KX5R-fu8Noi3H.js +0 -245
- package/dist/diff-DJF_UB7H.js +0 -4
- package/dist/dist-52-_pKoy.js +0 -6
- package/dist/dist-6DOMStFn.js +0 -6
- package/dist/dist-B334aW7p.js +0 -10
- package/dist/dist-BOI9lUz-.js +0 -12
- package/dist/dist-C06uhBzF.js +0 -6
- package/dist/dist-CGkpguCB.js +0 -6
- package/dist/dist-CrApzUED.js +0 -6
- package/dist/dist-Dp2GLdCl.js +0 -14
- package/dist/dist-WHFsbMDr.js +0 -6
- package/dist/dist-hyKcTPG9.js +0 -10
- package/dist/dtd-DY8q65lC.js +0 -4
- package/dist/dylan-CBLcjWCi.js +0 -4
- package/dist/ecl-BSXPNfOw.js +0 -4
- package/dist/eiffel-BJf0PQX-.js +0 -4
- package/dist/elm-DWQwPCZS.js +0 -4
- package/dist/erlang-BWBaGZ5e.js +0 -4
- package/dist/error-banner-OQIGTqFR.js +0 -1012
- package/dist/esm-BO9n_s6u.js +0 -26
- package/dist/factor-DT1-MBPl.js +0 -5
- package/dist/forth-D9GDt3FB.js +0 -4
- package/dist/fortran-DHkRhDWw.js +0 -4
- package/dist/gas-7lQEOM0H.js +0 -4
- package/dist/gherkin-BLLyroYi.js +0 -4
- package/dist/gitGraph-ZV4HHKMB-z2v_cInC.js +0 -21
- package/dist/groovy-C-wabwj0.js +0 -4
- package/dist/haskell-DaxVQ_d1.js +0 -4
- package/dist/haxe-C2yLoC7h.js +0 -5
- package/dist/idl-DQBP8i7k.js +0 -4
- package/dist/info-63CPKGFF-GS4w6pCB.js +0 -21
- package/dist/infoDiagram-STP46IZ2-DE9YYPFg.js +0 -44
- package/dist/javascript-DRwFV9r5.js +0 -5
- package/dist/jinja2-CNoIpVmN.js +0 -4
- package/dist/julia-DXDf-GhP.js +0 -4
- package/dist/livescript-S2uhJQx7.js +0 -4
- package/dist/lua-Bvgs0y2G.js +0 -4
- package/dist/mathematica-D2zqfwIg.js +0 -4
- package/dist/mbox-SBcPaDuZ.js +0 -4
- package/dist/mirc-hkQc7sVF.js +0 -4
- package/dist/mllike-DRWPBlr9.js +0 -6
- package/dist/modelica-CO2ROGlP.js +0 -4
- package/dist/mscgen-BpX61bO6.js +0 -6
- package/dist/mumps-BCnFeIn6.js +0 -4
- package/dist/nsis-BaTOxlD1.js +0 -5
- package/dist/ntriples-zEo5BWjr.js +0 -4
- package/dist/octave-BE0RnCM9.js +0 -4
- package/dist/oz-C4_2Ttul.js +0 -4
- package/dist/packet-HUATNLJX-CjHqJIqk.js +0 -21
- package/dist/pascal-Q3jJucpw.js +0 -4
- package/dist/perl-DkXZIWHF.js +0 -4
- package/dist/pie-WTHONI2E-D67gLWtR.js +0 -21
- package/dist/pig-DCgEHdsu.js +0 -4
- package/dist/powershell-3rK_nRRJ.js +0 -236
- package/dist/powershell-Eo2-7MoM.js +0 -4
- package/dist/properties-C0IOX8WR.js +0 -4
- package/dist/protobuf--lGQUSRO.js +0 -4
- package/dist/pug-Cf8AQHMJ.js +0 -5
- package/dist/puppet-D7Z3dTJn.js +0 -4
- package/dist/python-FHIx_i8Y.js +0 -5
- package/dist/q-B7UA1feM.js +0 -4
- package/dist/r-Cc9R2A7N.js +0 -4
- package/dist/radar-NJJJXTRR-C-AZP_Te.js +0 -21
- package/dist/rpm-vhJNlrQ6.js +0 -5
- package/dist/ruby-CVluPY0M.js +0 -4
- package/dist/sas-A8DL8oy3.js +0 -4
- package/dist/scheme-6xHHcSXC.js +0 -4
- package/dist/shell-DHN-e5rf.js +0 -4
- package/dist/sieve-BuQwLY02.js +0 -4
- package/dist/smalltalk-BA4HPg2H.js +0 -4
- package/dist/sparql-Bf4yCuy3.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-C_0FUzzk.js +0 -38
- package/dist/stex-D-I1cYeE.js +0 -5
- package/dist/stylus-BMeped2l.js +0 -4
- package/dist/swift-lwEdlZoC.js +0 -4
- package/dist/tcl-B03ipeqv.js +0 -4
- package/dist/textile-Cy55fYGC.js +0 -4
- package/dist/toml-BLgrVtfu.js +0 -4
- package/dist/treemap-75Q7IDZK-DTvwfpWt.js +0 -21
- package/dist/troff-g6EjN2O2.js +0 -4
- package/dist/ttcn-Dzvba8jK.js +0 -4
- package/dist/ttcn-cfg-CadG0p1K.js +0 -4
- package/dist/turtle-DkXAMWo9.js +0 -4
- package/dist/vb-C5dCiel8.js +0 -4
- package/dist/vbscript-I4bDEQln.js +0 -4
- package/dist/velocity-mt0fDwFH.js +0 -4
- package/dist/verilog-Dxq3KJkc.js +0 -4
- package/dist/vhdl-Km0QUlV-.js +0 -4
- package/dist/webidl-B3lJ2MRL.js +0 -4
- package/dist/xquery-CcIxNPEe.js +0 -4
- package/dist/yacas-oMa-f-tN.js +0 -4
- package/dist/z80-D03Nvn6l.js +0 -4
- package/src/core/codemirror/language/__tests__/ast.test.ts +0 -124
- package/src/core/codemirror/language/utils/ast.ts +0 -84
- package/src/core/codemirror/language/utils/quotes.ts +0 -18
- /package/dist/{_arrayReduce-CVwxyrBP.js → _arrayReduce-Cd9xQjbl.js} +0 -0
- /package/dist/{_baseSlice-OgpvpOOJ.js → _baseSlice-CE9WsQZm.js} +0 -0
- /package/dist/{_hasUnicode-BgIggCqE.js → _hasUnicode-DkEebvtD.js} +0 -0
- /package/dist/{apl-DZqo8Elt.js → apl-aGhy11IM.js} +0 -0
- /package/dist/{array-aAxy08hN.js → array-DYSXIreg.js} +0 -0
- /package/dist/{asciiarmor-DTzHAIeX.js → asciiarmor-DJKJ3Gkn.js} +0 -0
- /package/dist/{asn1-DrAXKsZH.js → asn1-C6f5IeNs.js} +0 -0
- /package/dist/{asterisk-oF4U3h48.js → asterisk-DB1poX9_.js} +0 -0
- /package/dist/{brainfuck-BYgLey30.js → brainfuck-Ch9vjun0.js} +0 -0
- /package/dist/{chunk-57QY23SG-0TxCfmy_.js → chunk-57QY23SG-BpXU7ph4.js} +0 -0
- /package/dist/{clojure-Bs2M3OUY.js → clojure-B_lpr3zt.js} +0 -0
- /package/dist/{cmake-DpI8vxJN.js → cmake-DaocNF4I.js} +0 -0
- /package/dist/{cobol-BQyrWo72.js → cobol-suTPtt7c.js} +0 -0
- /package/dist/{coffeescript-9ke9UHmw.js → coffeescript-CPLIvtqJ.js} +0 -0
- /package/dist/{colors-Cr_mZ2aH.js → colors-BXlG8Lmz.js} +0 -0
- /package/dist/{common-keywords-BzgeAvH1.js → common-keywords-Bhll7O3b.js} +0 -0
- /package/dist/{commonlisp-DghUdrUH.js → commonlisp-BqM3qFK7.js} +0 -0
- /package/dist/{crystal-DEf_SInh.js → crystal-AsSFu4ke.js} +0 -0
- /package/dist/{css-BzTU9lNO.js → css-Df7Sdeyh.js} +0 -0
- /package/dist/{cypher-a2v0c11S.js → cypher-CaVKL6Gu.js} +0 -0
- /package/dist/{d-SAswny-M.js → d-DCGWK7NQ.js} +0 -0
- /package/dist/{defaultLocale-BAgEOGks.js → defaultLocale-CYgZlqDF.js} +0 -0
- /package/dist/{defaultLocale-471SYAPk.js → defaultLocale-Cto8YOmX.js} +0 -0
- /package/dist/{diff-OJ-xLXcG.js → diff-CsxOM4Tr.js} +0 -0
- /package/dist/{dist-CK8Gj3GX.js → dist-C76MUPD3.js} +0 -0
- /package/dist/{dtd-BsUf-rer.js → dtd-Dwr0Jmks.js} +0 -0
- /package/dist/{duckdb-keywords-B0NOra5o.js → duckdb-keywords-7wAWf848.js} +0 -0
- /package/dist/{dylan-C0ZYngjn.js → dylan-A7-ZBSey.js} +0 -0
- /package/dist/{ebnf-DF1xx0b_.js → ebnf-9_SaGDUz.js} +0 -0
- /package/dist/{ecl-Bsuvoouq.js → ecl-BzJVIQDc.js} +0 -0
- /package/dist/{eiffel-DgfSpLi-.js → eiffel-CO9eC_Op.js} +0 -0
- /package/dist/{elm-GNxDj-5E.js → elm-CVAWj8SB.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-BHMWayAG.js → emotion-is-prop-valid.esm-C3Yi5GQt.js} +0 -0
- /package/dist/{erlang-Ds3uY1kL.js → erlang-DWbZP546.js} +0 -0
- /package/dist/{fcl-CqBgSioc.js → fcl-CM9t2iay.js} +0 -0
- /package/dist/{forth-JCaLysGk.js → forth-BTYqUuu3.js} +0 -0
- /package/dist/{fortran-Dc2AoKAl.js → fortran-DgAjHcCq.js} +0 -0
- /package/dist/{gas-Q4Uz82YW.js → gas-BjDSWPZd.js} +0 -0
- /package/dist/{gherkin-Dpxe49sQ.js → gherkin-ClRqqpKv.js} +0 -0
- /package/dist/{groovy-D8mTRCu6.js → groovy-BzNjnc8x.js} +0 -0
- /package/dist/{haskell-2_8cC4wY.js → haskell-DLdk34Jq.js} +0 -0
- /package/dist/{haxe-Bl9zkZlz.js → haxe-l6gaY_IS.js} +0 -0
- /package/dist/{http-DKCqY6yS.js → http-6Qg7z_h2.js} +0 -0
- /package/dist/{idl-Dn-HNfGW.js → idl-hlWT4D26.js} +0 -0
- /package/dist/{init-D6eDd7H0.js → init-tZ42Torz.js} +0 -0
- /package/dist/{jinja2-JjFiAGKk.js → jinja2-DI5k_Er3.js} +0 -0
- /package/dist/{julia-R5wne8eu.js → julia-BvDZDiIT.js} +0 -0
- /package/dist/{livescript-DSwokrYj.js → livescript-2YMQfkfI.js} +0 -0
- /package/dist/{lua-CgXfrp2-.js → lua-DIUrQRfA.js} +0 -0
- /package/dist/{main-Czi9-LVy.js → main-BMTpe7M0.js} +0 -0
- /package/dist/{math-C7wLpe9K.js → math-qsHyz2Eo.js} +0 -0
- /package/dist/{mathematica-BVli92MR.js → mathematica-Dqmg_BwL.js} +0 -0
- /package/dist/{mbox-CMFlocdS.js → mbox-Cng-P-F1.js} +0 -0
- /package/dist/{mirc-BkW04Zpc.js → mirc-CNDqOVhQ.js} +0 -0
- /package/dist/{mllike-DEjvHvNV.js → mllike-C1n2UDyX.js} +0 -0
- /package/dist/{modelica-CxDn-oje.js → modelica-QqQC2pFj.js} +0 -0
- /package/dist/{mscgen-D78wmE-w.js → mscgen-C3fl8uhp.js} +0 -0
- /package/dist/{mumps-Bi0IvPOV.js → mumps-BeCUbMej.js} +0 -0
- /package/dist/{nginx-DErPZFhX.js → nginx-ejv7DsBz.js} +0 -0
- /package/dist/{ntriples-Btyp6wRL.js → ntriples-CUgUpcma.js} +0 -0
- /package/dist/{octave-CZA6-2F8.js → octave-BD652tGl.js} +0 -0
- /package/dist/{oz-Bm6LSNfE.js → oz-DrRsFa0K.js} +0 -0
- /package/dist/{pascal-B4J6a9BH.js → pascal-hpcx9sVn.js} +0 -0
- /package/dist/{path-VDkDgx1I.js → path-Bbv2tLY1.js} +0 -0
- /package/dist/{perl-CzVqxS08.js → perl-DW8XHeFc.js} +0 -0
- /package/dist/{pig-Clh03cnn.js → pig-Cv7Nxbfo.js} +0 -0
- /package/dist/{prop-types-0wNc-99T.js → prop-types-Bd16OEUP.js} +0 -0
- /package/dist/{properties-D7ch1Wyb.js → properties-D-qJDXAM.js} +0 -0
- /package/dist/{protobuf-DrkdrMPK.js → protobuf-B48QZbd3.js} +0 -0
- /package/dist/{puppet-BtZG8zdO.js → puppet-15JDyiY2.js} +0 -0
- /package/dist/{python-B6FKOVIv.js → python-DWkQA94h.js} +0 -0
- /package/dist/{r-Dnvo5-96.js → r-dcNRe_Q8.js} +0 -0
- /package/dist/{range-PcytnUSJ.js → range-CQvYp_qE.js} +0 -0
- /package/dist/{rpm-B1DrgfnX.js → rpm-Djl3Dsf1.js} +0 -0
- /package/dist/{ruby-CelfUg17.js → ruby-Dd2CZTip.js} +0 -0
- /package/dist/{sas-DfSQFMWG.js → sas-DYF5_Iqu.js} +0 -0
- /package/dist/{scheme-BplhaWuO.js → scheme-YtWcji1H.js} +0 -0
- /package/dist/{shell-DqU5OS2c.js → shell-C3uC3Y0Z.js} +0 -0
- /package/dist/{sieve-BE4_IyGa.js → sieve-DHB17sQG.js} +0 -0
- /package/dist/{smalltalk-B_WPL8Nx.js → smalltalk-Y5v1Np3H.js} +0 -0
- /package/dist/{solr-DlJFg7H5.js → solr-DvRJLlRD.js} +0 -0
- /package/dist/{sparql-7XIlcOgW.js → sparql-BEt3GJwM.js} +0 -0
- /package/dist/{spreadsheet-BdZSVwVp.js → spreadsheet-Dp4B9_rc.js} +0 -0
- /package/dist/{sql-CCrq7lfJ.js → sql-DBsUs8nQ.js} +0 -0
- /package/dist/{stex-BiFc8QAu.js → stex-C6-x52ei.js} +0 -0
- /package/dist/{stylus-DlSH9xpH.js → stylus-DroA8via.js} +0 -0
- /package/dist/{swift-e3tMTZgJ.js → swift-DR0x1ESK.js} +0 -0
- /package/dist/{tcl-DfZMC20G.js → tcl-BeuTFc_c.js} +0 -0
- /package/dist/{textile-DaSeca5U.js → textile-C0ikhHN3.js} +0 -0
- /package/dist/{tiddlywiki-dfoiz8pS.js → tiddlywiki-C_2Nvsgu.js} +0 -0
- /package/dist/{tiki-yJbQzhma.js → tiki-CKQlhmQQ.js} +0 -0
- /package/dist/{treemap-BpgMKHv-.js → treemap-BYLUKIzA.js} +0 -0
- /package/dist/{troff-FN_FrCXR.js → troff-DkK0f2ZH.js} +0 -0
- /package/dist/{tslib.es6-DofFyd9S.js → tslib.es6-3ZL768sZ.js} +0 -0
- /package/dist/{ttcn-7_i4HlyB.js → ttcn-Bf8vrg-_.js} +0 -0
- /package/dist/{ttcn-cfg-B46AlBUV.js → ttcn-cfg-DjCKzd95.js} +0 -0
- /package/dist/{turtle-QQfeFveR.js → turtle-SSc84S9m.js} +0 -0
- /package/dist/{vb-DToPVnLa.js → vb-CQ6DC3cL.js} +0 -0
- /package/dist/{vbscript-CtsNaTz4.js → vbscript-Dw0gFssg.js} +0 -0
- /package/dist/{velocity-CAoNe6ns.js → velocity-BvJQyBmj.js} +0 -0
- /package/dist/{verilog-DrDOMiJq.js → verilog-CKGAvQjj.js} +0 -0
- /package/dist/{vhdl-DnO0OEPh.js → vhdl-B40_x6fM.js} +0 -0
- /package/dist/{webidl-Or6d1ZfA.js → webidl-Bi9hczCv.js} +0 -0
- /package/dist/{xquery-CEp_Mcpr.js → xquery-DwWUXvP3.js} +0 -0
- /package/dist/{yacas-DgnYrSlp.js → yacas-ClUs0mmH.js} +0 -0
- /package/dist/{z80-DlG_kyeB.js → z80-DPC4UGzR.js} +0 -0
|
@@ -980,8 +980,7 @@ var Prec = {
|
|
|
980
980
|
A[T2.id] = M.length << 1, M.push((e67) => dynamicFacetSlot(e67, T2, w2));
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
|
|
984
|
-
return new e11(w, k, P, A, j, O);
|
|
983
|
+
return new e11(w, k, M.map((e66) => e66(A)), A, j, O);
|
|
985
984
|
}
|
|
986
985
|
};
|
|
987
986
|
function flatten(e66, w, T) {
|
|
@@ -1937,6 +1936,28 @@ function add(e66, w) {
|
|
|
1937
1936
|
else if (Array.isArray(w)) for (var T = 0; T < w.length; T++) add(e66, w[T]);
|
|
1938
1937
|
else throw RangeError("Unsupported child node: " + w);
|
|
1939
1938
|
}
|
|
1939
|
+
var nav = typeof navigator < "u" ? navigator : {
|
|
1940
|
+
userAgent: "",
|
|
1941
|
+
vendor: "",
|
|
1942
|
+
platform: ""
|
|
1943
|
+
}, doc = typeof document < "u" ? document : { documentElement: { style: {} } }, ie_edge = /* @__PURE__ */ /Edge\/(\d+)/.exec(nav.userAgent), ie_upto10 = /* @__PURE__ */ /MSIE \d/.test(nav.userAgent), ie_11up = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nav.userAgent), ie = !!(ie_upto10 || ie_11up || ie_edge), gecko = !ie && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent), chrome = !ie && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent), webkit = "webkitFontSmoothing" in doc.documentElement.style, safari = !ie && /* @__PURE__ */ /Apple Computer/.test(nav.vendor), ios = safari && (/* @__PURE__ */ /Mobile\/\w+/.test(nav.userAgent) || nav.maxTouchPoints > 2), browser = {
|
|
1944
|
+
mac: ios || /* @__PURE__ */ /Mac/.test(nav.platform),
|
|
1945
|
+
windows: /* @__PURE__ */ /Win/.test(nav.platform),
|
|
1946
|
+
linux: /* @__PURE__ */ /Linux|X11/.test(nav.platform),
|
|
1947
|
+
ie,
|
|
1948
|
+
ie_version: ie_upto10 ? doc.documentMode || 6 : ie_11up ? +ie_11up[1] : ie_edge ? +ie_edge[1] : 0,
|
|
1949
|
+
gecko,
|
|
1950
|
+
gecko_version: gecko ? +(/* @__PURE__ */ /Firefox\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
1951
|
+
chrome: !!chrome,
|
|
1952
|
+
chrome_version: chrome ? +chrome[1] : 0,
|
|
1953
|
+
ios,
|
|
1954
|
+
android: /* @__PURE__ */ /Android\b/.test(nav.userAgent),
|
|
1955
|
+
webkit,
|
|
1956
|
+
webkit_version: webkit ? +(/* @__PURE__ */ /\bAppleWebKit\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
1957
|
+
safari,
|
|
1958
|
+
safari_version: safari ? +(/* @__PURE__ */ /\bVersion\/(\d+(\.\d+)?)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
1959
|
+
tabSize: doc.documentElement.style.tabSize == null ? "-moz-tab-size" : "tab-size"
|
|
1960
|
+
};
|
|
1940
1961
|
function getSelection(e66) {
|
|
1941
1962
|
let w;
|
|
1942
1963
|
return w = e66.nodeType == 11 ? e66.getSelection ? e66 : e66.ownerDocument : e66, w.getSelection();
|
|
@@ -2088,6 +2109,7 @@ var DOMSelectionState = class {
|
|
|
2088
2109
|
this.anchorNode = e66, this.anchorOffset = w, this.focusNode = T, this.focusOffset = E;
|
|
2089
2110
|
}
|
|
2090
2111
|
}, preventScrollSupported = null;
|
|
2112
|
+
browser.safari && browser.safari_version >= 26 && (preventScrollSupported = false);
|
|
2091
2113
|
function focusPreventScroll(e66) {
|
|
2092
2114
|
if (e66.setActive) return e66.setActive();
|
|
2093
2115
|
if (preventScrollSupported) return e66.focus(preventScrollSupported);
|
|
@@ -2371,27 +2393,7 @@ function mergeChildrenInto(e66, w, T, E, D, O) {
|
|
|
2371
2393
|
for (let e67 of E) P += e67.length;
|
|
2372
2394
|
e66.length += P, replaceRange(e66, M, N, A, j, E, 0, D, O);
|
|
2373
2395
|
}
|
|
2374
|
-
var
|
|
2375
|
-
userAgent: "",
|
|
2376
|
-
vendor: "",
|
|
2377
|
-
platform: ""
|
|
2378
|
-
}, doc = typeof document < "u" ? document : { documentElement: { style: {} } }, ie_edge = /* @__PURE__ */ /Edge\/(\d+)/.exec(nav.userAgent), ie_upto10 = /* @__PURE__ */ /MSIE \d/.test(nav.userAgent), ie_11up = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nav.userAgent), ie = !!(ie_upto10 || ie_11up || ie_edge), gecko = !ie && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent), chrome = !ie && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent), webkit = "webkitFontSmoothing" in doc.documentElement.style, safari = !ie && /* @__PURE__ */ /Apple Computer/.test(nav.vendor), ios = safari && (/* @__PURE__ */ /Mobile\/\w+/.test(nav.userAgent) || nav.maxTouchPoints > 2), browser = {
|
|
2379
|
-
mac: ios || /* @__PURE__ */ /Mac/.test(nav.platform),
|
|
2380
|
-
windows: /* @__PURE__ */ /Win/.test(nav.platform),
|
|
2381
|
-
linux: /* @__PURE__ */ /Linux|X11/.test(nav.platform),
|
|
2382
|
-
ie,
|
|
2383
|
-
ie_version: ie_upto10 ? doc.documentMode || 6 : ie_11up ? +ie_11up[1] : ie_edge ? +ie_edge[1] : 0,
|
|
2384
|
-
gecko,
|
|
2385
|
-
gecko_version: gecko ? +(/* @__PURE__ */ /Firefox\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
2386
|
-
chrome: !!chrome,
|
|
2387
|
-
chrome_version: chrome ? +chrome[1] : 0,
|
|
2388
|
-
ios,
|
|
2389
|
-
android: /* @__PURE__ */ /Android\b/.test(nav.userAgent),
|
|
2390
|
-
webkit,
|
|
2391
|
-
safari,
|
|
2392
|
-
webkit_version: webkit ? +(/* @__PURE__ */ /\bAppleWebKit\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
2393
|
-
tabSize: doc.documentElement.style.tabSize == null ? "-moz-tab-size" : "tab-size"
|
|
2394
|
-
}, MaxJoinLen = 256, TextView = class e22 extends ContentView {
|
|
2396
|
+
var MaxJoinLen = 256, TextView = class e22 extends ContentView {
|
|
2395
2397
|
constructor(e66) {
|
|
2396
2398
|
super(), this.text = e66;
|
|
2397
2399
|
}
|
|
@@ -2991,8 +2993,8 @@ var LineView = class e29 extends ContentView {
|
|
|
2991
2993
|
continue;
|
|
2992
2994
|
} else this.text = w2, this.textOff = 0;
|
|
2993
2995
|
}
|
|
2994
|
-
let E = Math.min(this.text.length - this.textOff, e66, 512);
|
|
2995
|
-
this.flushBuffer(w.slice(w.length - T)), this.getLine().append(wrapMarks(new TextView(this.text.slice(this.textOff, this.textOff +
|
|
2996
|
+
let E = Math.min(this.text.length - this.textOff, e66), D = Math.min(E, 512);
|
|
2997
|
+
this.flushBuffer(w.slice(w.length - T)), this.getLine().append(wrapMarks(new TextView(this.text.slice(this.textOff, this.textOff + D)), w), T), this.atCursorPos = true, this.textOff += D, e66 -= D, T = E <= D ? 0 : w.length;
|
|
2996
2998
|
}
|
|
2997
2999
|
}
|
|
2998
3000
|
span(e66, w, T, E) {
|
|
@@ -3154,8 +3156,8 @@ function processNeutrals(e66, w, T, E) {
|
|
|
3154
3156
|
k3 = T[D++].to, A = D < T.length ? T[D].from : w;
|
|
3155
3157
|
} else if (types[k3] == 256) k3++;
|
|
3156
3158
|
else break;
|
|
3157
|
-
let M = O == 1, N = (k3 < w ? types[k3] : E) == 1
|
|
3158
|
-
for (let w2 = k3, E2 = D, O2 = E2 ? T[E2 - 1].to : e66; w2 > j; ) w2 == O2 && (w2 = T[--E2].from, O2 = E2 ? T[E2 - 1].to : e66), types[--w2] =
|
|
3159
|
+
let M = O == 1, N = M == ((k3 < w ? types[k3] : E) == 1) ? M ? 1 : 2 : E;
|
|
3160
|
+
for (let w2 = k3, E2 = D, O2 = E2 ? T[E2 - 1].to : e66; w2 > j; ) w2 == O2 && (w2 = T[--E2].from, O2 = E2 ? T[E2 - 1].to : e66), types[--w2] = N;
|
|
3159
3161
|
j = k3;
|
|
3160
3162
|
} else O = k2, j++;
|
|
3161
3163
|
}
|
|
@@ -3179,13 +3181,7 @@ function emitSpans(e66, w, T, E, D, O, k) {
|
|
|
3179
3181
|
else if (types[e67] == A) break run;
|
|
3180
3182
|
else break;
|
|
3181
3183
|
}
|
|
3182
|
-
|
|
3183
|
-
else {
|
|
3184
|
-
L.from > j && k.push(new BidiSpan(j, L.from, F));
|
|
3185
|
-
let w3 = L.direction == LTR != !(F % 2);
|
|
3186
|
-
computeSectionOrder(e66, w3 ? E + 1 : E, D, L.inner, L.from, L.to, k), j = L.to;
|
|
3187
|
-
}
|
|
3188
|
-
I = L.to;
|
|
3184
|
+
M++, P ? P.push(L) : (L.from > j && k.push(new BidiSpan(j, L.from, F)), computeSectionOrder(e66, L.direction == LTR == !(F % 2) ? E : E + 1, D, L.inner, L.from, L.to, k), j = L.to), I = L.to;
|
|
3189
3185
|
} else if (I == T || (w2 ? types[I] != A : types[I] == A)) break;
|
|
3190
3186
|
else I++;
|
|
3191
3187
|
P ? emitSpans(e66, j, I, E + 1, D, P, k) : j < I && k.push(new BidiSpan(j, I, F)), j = I;
|
|
@@ -3206,13 +3202,7 @@ function emitSpans(e66, w, T, E, D, O, k) {
|
|
|
3206
3202
|
else if (types[e67 - 1] == A) break run;
|
|
3207
3203
|
else break;
|
|
3208
3204
|
}
|
|
3209
|
-
|
|
3210
|
-
else {
|
|
3211
|
-
L.to < j && k.push(new BidiSpan(L.to, j, F));
|
|
3212
|
-
let w2 = L.direction == LTR != !(F % 2);
|
|
3213
|
-
computeSectionOrder(e66, w2 ? E + 1 : E, D, L.inner, L.from, L.to, k), j = L.from;
|
|
3214
|
-
}
|
|
3215
|
-
I = L.from;
|
|
3205
|
+
P ? P.push(L) : (L.to < j && k.push(new BidiSpan(L.to, j, F)), computeSectionOrder(e66, L.direction == LTR == !(F % 2) ? E : E + 1, D, L.inner, L.from, L.to, k), j = L.from), I = L.from;
|
|
3216
3206
|
} else if (I == w || (T2 ? types[I - 1] != A : types[I - 1] == A)) break;
|
|
3217
3207
|
else I--;
|
|
3218
3208
|
P ? emitSpans(e66, I, j, E + 1, D, P, k) : I < j && k.push(new BidiSpan(I, j, F)), j = I;
|
|
@@ -3467,8 +3457,8 @@ var styleModule = /* @__PURE__ */ Facet.define(), ChangedRange = class e34 {
|
|
|
3467
3457
|
from: E.range.fromB,
|
|
3468
3458
|
to: E.range.toB
|
|
3469
3459
|
} : null, (browser.ie || browser.chrome) && !E && e66 && e66.state.doc.lines != e66.startState.doc.lines && (this.forceSelection = true);
|
|
3470
|
-
let D = this.decorations, O = this.updateDeco(),
|
|
3471
|
-
return w = ChangedRange.extendWithRanges(w,
|
|
3460
|
+
let D = this.decorations, O = findChangedDeco(D, this.updateDeco(), e66.changes);
|
|
3461
|
+
return w = ChangedRange.extendWithRanges(w, O), !(this.flags & 7) && w.length == 0 ? false : (this.updateInner(w, e66.startState.doc.length, E), e66.transactions.length && (this.lastUpdate = Date.now()), true);
|
|
3472
3462
|
}
|
|
3473
3463
|
updateInner(e66, w, T) {
|
|
3474
3464
|
this.view.viewState.mustMeasureContent = true, this.updateChildren(e66, w, T);
|
|
@@ -3880,12 +3870,12 @@ function domPosAtCoords(e66, w, T) {
|
|
|
3880
3870
|
let E, D, O, k, A = false, j, M, N, P;
|
|
3881
3871
|
for (let F2 = e66.firstChild; F2; F2 = F2.nextSibling) {
|
|
3882
3872
|
let e67 = clientRectsFor(F2);
|
|
3883
|
-
for (let
|
|
3884
|
-
let L = e67[
|
|
3873
|
+
for (let I = 0; I < e67.length; I++) {
|
|
3874
|
+
let L = e67[I];
|
|
3885
3875
|
D && yOverlap(D, L) && (L = upTop(upBot(L, D.bottom), D.top));
|
|
3886
3876
|
let R = getdx(w, L), z = getdy(T, L);
|
|
3887
3877
|
if (R == 0 && z == 0) return F2.nodeType == 3 ? domPosInText(F2, w, T) : domPosAtCoords(F2, w, T);
|
|
3888
|
-
(!E || k > z || k == z && O > R) && (E = F2, D = L, O = R, k = z, A = R ? w < L.left ?
|
|
3878
|
+
(!E || k > z || k == z && O > R) && (E = F2, D = L, O = R, k = z, A = R ? w < L.left ? I > 0 : I < e67.length - 1 : true), R == 0 ? T > L.bottom && (!N || N.bottom < L.bottom) ? (j = F2, N = L) : T < L.top && (!P || P.top > L.top) && (M = F2, P = L) : N && yOverlap(N, L) ? N = upBot(N, L.bottom) : P && yOverlap(P, L) && (P = upTop(P, L.top));
|
|
3889
3879
|
}
|
|
3890
3880
|
}
|
|
3891
3881
|
if (N && N.bottom >= T ? (E = j, D = N) : P && P.top <= T && (E = M, D = P), !E) return {
|
|
@@ -3893,12 +3883,9 @@ function domPosAtCoords(e66, w, T) {
|
|
|
3893
3883
|
offset: 0
|
|
3894
3884
|
};
|
|
3895
3885
|
let F = Math.max(D.left, Math.min(D.right, w));
|
|
3896
|
-
|
|
3897
|
-
if (A && E.contentEditable != "false") return domPosAtCoords(E, F, T);
|
|
3898
|
-
let I = Array.prototype.indexOf.call(e66.childNodes, E) + (w >= (D.left + D.right) / 2 ? 1 : 0);
|
|
3899
|
-
return {
|
|
3886
|
+
return E.nodeType == 3 ? domPosInText(E, F, T) : A && E.contentEditable != "false" ? domPosAtCoords(E, F, T) : {
|
|
3900
3887
|
node: e66,
|
|
3901
|
-
offset:
|
|
3888
|
+
offset: Array.prototype.indexOf.call(e66.childNodes, E) + (w >= (D.left + D.right) / 2 ? 1 : 0)
|
|
3902
3889
|
};
|
|
3903
3890
|
}
|
|
3904
3891
|
function domPosInText(e66, w, T) {
|
|
@@ -3946,10 +3933,10 @@ function posAtCoords(e66, w, T, E = -1) {
|
|
|
3946
3933
|
let e67 = F.caretPositionFromPoint(j, M);
|
|
3947
3934
|
e67 && ({ offsetNode: R, offset: z } = e67);
|
|
3948
3935
|
} else if (F.caretRangeFromPoint) {
|
|
3949
|
-
let
|
|
3950
|
-
|
|
3936
|
+
let e67 = F.caretRangeFromPoint(j, M);
|
|
3937
|
+
e67 && ({ startContainer: R, startOffset: z } = e67);
|
|
3951
3938
|
}
|
|
3952
|
-
R && (z = Math.min(maxOffset(R), z));
|
|
3939
|
+
R && (!e66.contentDOM.contains(R) || browser.safari && isSuspiciousSafariCaretResult(R, z, j) || browser.chrome && isSuspiciousChromeCaretResult(R, z, j)) && (R = void 0), R && (z = Math.min(maxOffset(R), z));
|
|
3953
3940
|
}
|
|
3954
3941
|
if (!R || !e66.docView.dom.contains(R)) {
|
|
3955
3942
|
let w2 = LineView.find(e66.docView, P);
|
|
@@ -3972,7 +3959,7 @@ function posAtCoordsImprecise(e66, w, T, E, D) {
|
|
|
3972
3959
|
let k = e66.state.sliceDoc(T.from, T.to);
|
|
3973
3960
|
return T.from + findColumn(k, O, e66.state.tabSize);
|
|
3974
3961
|
}
|
|
3975
|
-
function
|
|
3962
|
+
function isEndOfLineBefore(e66, w, T) {
|
|
3976
3963
|
let E, D = e66;
|
|
3977
3964
|
if (e66.nodeType != 3 || w != (E = e66.nodeValue.length)) return false;
|
|
3978
3965
|
for (; ; ) {
|
|
@@ -3988,16 +3975,18 @@ function isSuspiciousSafariCaretResult(e66, w, T) {
|
|
|
3988
3975
|
}
|
|
3989
3976
|
return textRange(e66, E - 1, E).getBoundingClientRect().right > T;
|
|
3990
3977
|
}
|
|
3978
|
+
function isSuspiciousSafariCaretResult(e66, w, T) {
|
|
3979
|
+
return isEndOfLineBefore(e66, w, T);
|
|
3980
|
+
}
|
|
3991
3981
|
function isSuspiciousChromeCaretResult(e66, w, T) {
|
|
3992
|
-
if (w != 0) return
|
|
3982
|
+
if (w != 0) return isEndOfLineBefore(e66, w, T);
|
|
3993
3983
|
for (let w2 = e66; ; ) {
|
|
3994
3984
|
let e67 = w2.parentNode;
|
|
3995
3985
|
if (!e67 || e67.nodeType != 1 || e67.firstChild != w2) return false;
|
|
3996
3986
|
if (e67.classList.contains("cm-line")) break;
|
|
3997
3987
|
w2 = e67;
|
|
3998
3988
|
}
|
|
3999
|
-
|
|
4000
|
-
return T - E.left > 5;
|
|
3989
|
+
return T - (e66.nodeType == 1 ? e66.getBoundingClientRect() : textRange(e66, 0, Math.max(e66.nodeValue.length, 1)).getBoundingClientRect()).left > 5;
|
|
4001
3990
|
}
|
|
4002
3991
|
function blockAt(e66, w, T) {
|
|
4003
3992
|
let E = e66.lineBlockAt(w);
|
|
@@ -4121,7 +4110,7 @@ var LineBreakPlaceholder = "\uFFFF", DOMReader = class {
|
|
|
4121
4110
|
let D = E.nextSibling;
|
|
4122
4111
|
if (D == w) break;
|
|
4123
4112
|
let O = ContentView.get(E), k = ContentView.get(D);
|
|
4124
|
-
(O && k ? O.breakAfter : (O ? O.breakAfter : isBlockElement(E)) || isBlockElement(D) && (E.nodeName != "BR" || E.cmIgnore) && this.text.length > e67) && this.lineBreak(), E = D;
|
|
4113
|
+
(O && k ? O.breakAfter : (O ? O.breakAfter : isBlockElement(E)) || isBlockElement(D) && (E.nodeName != "BR" || E.cmIgnore) && this.text.length > e67) && !isEmptyToEnd(D, w) && this.lineBreak(), E = D;
|
|
4125
4114
|
}
|
|
4126
4115
|
return this.findPointBefore(T, w), this;
|
|
4127
4116
|
}
|
|
@@ -4157,6 +4146,19 @@ function isAtEnd(e66, w, T) {
|
|
|
4157
4146
|
T = domIndex(w) + 1, w = w.parentNode;
|
|
4158
4147
|
}
|
|
4159
4148
|
}
|
|
4149
|
+
function isEmptyToEnd(e66, w) {
|
|
4150
|
+
var _a2;
|
|
4151
|
+
let T;
|
|
4152
|
+
for (; !(e66 == w || !e66); e66 = e66.nextSibling) {
|
|
4153
|
+
let w2 = ContentView.get(e66);
|
|
4154
|
+
if (!((w2 == null ? void 0 : w2.isWidget) || e66.cmIgnore)) return false;
|
|
4155
|
+
w2 && (T || (T = [])).push(w2);
|
|
4156
|
+
}
|
|
4157
|
+
if (T) {
|
|
4158
|
+
for (let e67 of T) if ((_a2 = e67.overrideDOMText) == null ? void 0 : _a2.length) return false;
|
|
4159
|
+
}
|
|
4160
|
+
return true;
|
|
4161
|
+
}
|
|
4160
4162
|
var DOMPoint = class {
|
|
4161
4163
|
constructor(e66, w) {
|
|
4162
4164
|
this.node = e66, this.offset = w, this.pos = -1;
|
|
@@ -4228,12 +4230,20 @@ function applyDOMChangeInner(e66, w, T, E = -1) {
|
|
|
4228
4230
|
return e66.state.facet(inputHandler).some((T2) => T2(e66, w.from, w.to, O, A)) || e66.dispatch(A()), true;
|
|
4229
4231
|
}
|
|
4230
4232
|
function applyDefaultInsert(e66, w, T) {
|
|
4231
|
-
let E, D = e66.state, O = D.selection.main;
|
|
4232
|
-
if (w.from
|
|
4233
|
+
let E, D = e66.state, O = D.selection.main, k = -1;
|
|
4234
|
+
if (w.from == w.to && w.from < O.from || w.from > O.to) {
|
|
4235
|
+
let T2 = w.from < O.from ? -1 : 1, E2 = T2 < 0 ? O.from : O.to, A2 = skipAtomicRanges(D.facet(atomicRanges).map((w2) => w2(e66)), E2, T2);
|
|
4236
|
+
w.from == A2 && (k = A2);
|
|
4237
|
+
}
|
|
4238
|
+
if (k > -1) E = {
|
|
4239
|
+
changes: w,
|
|
4240
|
+
selection: EditorSelection.cursor(w.from + w.insert.length, -1)
|
|
4241
|
+
};
|
|
4242
|
+
else if (w.from >= O.from && w.to <= O.to && w.to - w.from >= (O.to - O.from) / 3 && (!T || T.main.empty && T.main.from == w.from + w.insert.length) && e66.inputState.composing < 0) {
|
|
4233
4243
|
let T2 = O.from < w.from ? D.sliceDoc(O.from, w.from) : "", k2 = O.to > w.to ? D.sliceDoc(w.to, O.to) : "";
|
|
4234
4244
|
E = D.replaceSelection(e66.state.toText(T2 + w.insert.sliceString(0, void 0, e66.state.lineBreak) + k2));
|
|
4235
4245
|
} else {
|
|
4236
|
-
let k2 = D.changes(w),
|
|
4246
|
+
let k2 = D.changes(w), A2 = T && T.main.to <= k2.newLength ? T.main : void 0;
|
|
4237
4247
|
if (D.selection.ranges.length > 1 && e66.inputState.composing >= 0 && w.to <= O.to && w.to >= O.to - 10) {
|
|
4238
4248
|
let j = e66.state.sliceDoc(w.from, w.to), M, N = T && findCompositionNode(e66, T.main.head);
|
|
4239
4249
|
if (N) {
|
|
@@ -4247,7 +4257,7 @@ function applyDefaultInsert(e66, w, T) {
|
|
|
4247
4257
|
E = D.changeByRange((T2) => {
|
|
4248
4258
|
if (T2.from == O.from && T2.to == O.to) return {
|
|
4249
4259
|
changes: k2,
|
|
4250
|
-
range:
|
|
4260
|
+
range: A2 || T2.map(k2)
|
|
4251
4261
|
};
|
|
4252
4262
|
let E2 = T2.to - P, N2 = E2 - j.length;
|
|
4253
4263
|
if (T2.to - T2.from != F || e66.state.sliceDoc(N2, E2) != j || T2.to >= M.from && T2.from <= M.to) return { range: T2 };
|
|
@@ -4258,17 +4268,17 @@ function applyDefaultInsert(e66, w, T) {
|
|
|
4258
4268
|
}), L = T2.to - O.to;
|
|
4259
4269
|
return {
|
|
4260
4270
|
changes: I,
|
|
4261
|
-
range:
|
|
4271
|
+
range: A2 ? EditorSelection.range(Math.max(0, A2.anchor + L), Math.max(0, A2.head + L)) : T2.map(I)
|
|
4262
4272
|
};
|
|
4263
4273
|
});
|
|
4264
4274
|
} else E = {
|
|
4265
4275
|
changes: k2,
|
|
4266
|
-
selection:
|
|
4276
|
+
selection: A2 && D.selection.replaceRange(A2)
|
|
4267
4277
|
};
|
|
4268
4278
|
}
|
|
4269
|
-
let
|
|
4270
|
-
return (e66.composing || e66.inputState.compositionPendingChange && e66.inputState.compositionEndedAt > Date.now() - 50) && (e66.inputState.compositionPendingChange = false,
|
|
4271
|
-
userEvent:
|
|
4279
|
+
let A = "input.type";
|
|
4280
|
+
return (e66.composing || e66.inputState.compositionPendingChange && e66.inputState.compositionEndedAt > Date.now() - 50) && (e66.inputState.compositionPendingChange = false, A += ".compose", e66.inputState.compositionFirstChange && (A += ".start", e66.inputState.compositionFirstChange = false)), D.update(E, {
|
|
4281
|
+
userEvent: A,
|
|
4272
4282
|
scrollIntoView: true
|
|
4273
4283
|
});
|
|
4274
4284
|
}
|
|
@@ -4349,7 +4359,7 @@ var InputState = class {
|
|
|
4349
4359
|
return !w || w.key == "Enter" && e66 && e66.from < e66.to && /^\S+$/.test(e66.insert.toString()) ? false : (this.pendingIOSKey = void 0, dispatchKey(this.view.contentDOM, w.key, w.keyCode, w instanceof KeyboardEvent ? w : void 0));
|
|
4350
4360
|
}
|
|
4351
4361
|
ignoreDuringComposition(e66) {
|
|
4352
|
-
return
|
|
4362
|
+
return !/^key/.test(e66.type) || e66.synthetic ? false : this.composing > 0 ? true : browser.safari && !browser.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = false, true) : false;
|
|
4353
4363
|
}
|
|
4354
4364
|
startMouseSelection(e66) {
|
|
4355
4365
|
this.mouseSelection && this.mouseSelection.destroy(), this.mouseSelection = e66;
|
|
@@ -4771,10 +4781,10 @@ observers.focus = (e66) => {
|
|
|
4771
4781
|
if (w.inputType == "insertReplacementText" && e66.observer.editContext) {
|
|
4772
4782
|
let T2 = (_a2 = w.dataTransfer) == null ? void 0 : _a2.getData("text/plain"), E = w.getTargetRanges();
|
|
4773
4783
|
if (T2 && E.length) {
|
|
4774
|
-
let w2 = E[0]
|
|
4784
|
+
let w2 = E[0];
|
|
4775
4785
|
return applyDOMChangeInner(e66, {
|
|
4776
|
-
from:
|
|
4777
|
-
to:
|
|
4786
|
+
from: e66.posAtDOM(w2.startContainer, w2.startOffset),
|
|
4787
|
+
to: e66.posAtDOM(w2.endContainer, w2.endOffset),
|
|
4778
4788
|
insert: e66.state.toText(T2)
|
|
4779
4789
|
}, null), true;
|
|
4780
4790
|
}
|
|
@@ -5266,9 +5276,7 @@ var LineGap = class {
|
|
|
5266
5276
|
right: window.innerWidth,
|
|
5267
5277
|
top: 0,
|
|
5268
5278
|
bottom: 0
|
|
5269
|
-
}, this.inView = true, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = false, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = IdScaler, this.scrollTarget = null, this.printing = false, this.mustMeasureContent = true, this.defaultTextDirection = Direction.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = false;
|
|
5270
|
-
let w = e66.facet(contentAttributes).some((e67) => typeof e67 != "function" && e67.class == "cm-lineWrapping");
|
|
5271
|
-
this.heightOracle = new HeightOracle(w), this.stateDeco = e66.facet(decorations).filter((e67) => typeof e67 != "function"), this.heightMap = HeightMap.empty().applyChanges(this.stateDeco, Text.empty, this.heightOracle.setDoc(e66.doc), [new ChangedRange(0, 0, 0, e66.doc.length)]);
|
|
5279
|
+
}, this.inView = true, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = false, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = IdScaler, this.scrollTarget = null, this.printing = false, this.mustMeasureContent = true, this.defaultTextDirection = Direction.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = false, this.heightOracle = new HeightOracle(e66.facet(contentAttributes).some((e67) => typeof e67 != "function" && e67.class == "cm-lineWrapping")), this.stateDeco = e66.facet(decorations).filter((e67) => typeof e67 != "function"), this.heightMap = HeightMap.empty().applyChanges(this.stateDeco, Text.empty, this.heightOracle.setDoc(e66.doc), [new ChangedRange(0, 0, 0, e66.doc.length)]);
|
|
5272
5280
|
for (let e67 = 0; e67 < 2 && (this.viewport = this.getViewport(0, null), this.updateForViewport()); e67++) ;
|
|
5273
5281
|
this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = Decoration.set(this.lineGaps.map((e67) => e67.draw(this, false))), this.computeVisibleRanges();
|
|
5274
5282
|
}
|
|
@@ -6028,35 +6036,38 @@ var EditContextManager = class {
|
|
|
6028
6036
|
selectionStart: this.toContextPos(Math.max(this.from, Math.min(this.to, e66.state.selection.main.anchor))),
|
|
6029
6037
|
selectionEnd: this.toContextPos(e66.state.selection.main.head)
|
|
6030
6038
|
});
|
|
6031
|
-
for (let T in this.handlers.textupdate = (
|
|
6032
|
-
let
|
|
6039
|
+
for (let T in this.handlers.textupdate = (T2) => {
|
|
6040
|
+
let E = e66.state.selection.main, { anchor: D, head: O } = E, k = this.toEditorPos(T2.updateRangeStart), A = this.toEditorPos(T2.updateRangeEnd);
|
|
6033
6041
|
e66.inputState.composing >= 0 && !this.composing && (this.composing = {
|
|
6034
|
-
contextBase:
|
|
6035
|
-
editorBase:
|
|
6042
|
+
contextBase: T2.updateRangeStart,
|
|
6043
|
+
editorBase: k,
|
|
6036
6044
|
drifted: false
|
|
6037
6045
|
});
|
|
6038
|
-
let
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
E2.main.eq(T2) || e66.dispatch({
|
|
6046
|
-
selection: E2,
|
|
6046
|
+
let j = A - k > T2.text.length;
|
|
6047
|
+
k == this.from && D < this.from ? k = D : A == this.to && D > this.to && (A = D);
|
|
6048
|
+
let M = findDiff(e66.state.sliceDoc(k, A), T2.text, (j ? E.from : E.to) - k, j ? "end" : null);
|
|
6049
|
+
if (!M) {
|
|
6050
|
+
let w2 = EditorSelection.single(this.toEditorPos(T2.selectionStart), this.toEditorPos(T2.selectionEnd));
|
|
6051
|
+
w2.main.eq(E) || e66.dispatch({
|
|
6052
|
+
selection: w2,
|
|
6047
6053
|
userEvent: "select"
|
|
6048
6054
|
});
|
|
6049
6055
|
return;
|
|
6050
6056
|
}
|
|
6051
|
-
|
|
6052
|
-
from:
|
|
6053
|
-
to: k,
|
|
6054
|
-
insert: Text.of(
|
|
6055
|
-
}
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6057
|
+
let N = {
|
|
6058
|
+
from: M.from + k,
|
|
6059
|
+
to: M.toA + k,
|
|
6060
|
+
insert: Text.of(T2.text.slice(M.from, M.toB).split("\n"))
|
|
6061
|
+
};
|
|
6062
|
+
if ((browser.mac || browser.android) && N.from == O - 1 && /^\. ?$/.test(T2.text) && e66.contentDOM.getAttribute("autocorrect") == "off" && (N = {
|
|
6063
|
+
from: k,
|
|
6064
|
+
to: A,
|
|
6065
|
+
insert: Text.of([T2.text.replace(".", " ")])
|
|
6066
|
+
}), this.pendingContextChange = N, !e66.state.readOnly) {
|
|
6067
|
+
let w2 = this.to - this.from + (N.to - N.from + N.insert.length);
|
|
6068
|
+
applyDOMChangeInner(e66, N, EditorSelection.single(this.toEditorPos(T2.selectionStart, w2), this.toEditorPos(T2.selectionEnd, w2)));
|
|
6069
|
+
}
|
|
6070
|
+
this.pendingContextChange && (this.revertPending(e66.state), this.setSelection(e66.state)), N.from < N.to && !N.insert.length && e66.inputState.composing >= 0 && !/[\\p{Alphabetic}\\p{Number}_]/.test(w.text.slice(Math.max(0, T2.updateRangeStart - 1), Math.min(w.text.length, T2.updateRangeStart + 1))) && this.handlers.compositionend(T2);
|
|
6060
6071
|
}, this.handlers.characterboundsupdate = (T2) => {
|
|
6061
6072
|
let E = [], D = null;
|
|
6062
6073
|
for (let w2 = this.toEditorPos(T2.rangeStart), O = this.toEditorPos(T2.rangeEnd); w2 < O; w2++) {
|
|
@@ -6068,10 +6079,10 @@ var EditContextManager = class {
|
|
|
6068
6079
|
let T2 = [];
|
|
6069
6080
|
for (let e67 of w2.getTextFormats()) {
|
|
6070
6081
|
let w3 = e67.underlineStyle, E = e67.underlineThickness;
|
|
6071
|
-
if (w3
|
|
6082
|
+
if (!/none/i.test(w3) && !/none/i.test(E)) {
|
|
6072
6083
|
let D = this.toEditorPos(e67.rangeStart), O = this.toEditorPos(e67.rangeEnd);
|
|
6073
6084
|
if (D < O) {
|
|
6074
|
-
let e68 = `text-decoration: underline ${w3 == "Dashed" ? "dashed " : w3 == "Squiggle" ? "wavy " : ""}${E
|
|
6085
|
+
let e68 = `text-decoration: underline ${/^[a-z]/.test(w3) ? w3 + " " : w3 == "Dashed" ? "dashed " : w3 == "Squiggle" ? "wavy " : ""}${/thin/i.test(E) ? 1 : 2}px`;
|
|
6075
6086
|
T2.push(Decoration.mark({ attributes: { style: e68 } }).range(D, O));
|
|
6076
6087
|
}
|
|
6077
6088
|
}
|
|
@@ -6622,16 +6633,16 @@ function buildKeymap(e66, w = currentPlatform) {
|
|
|
6622
6633
|
var currentKeyEvent = null;
|
|
6623
6634
|
function runHandlers(e66, w, T, E) {
|
|
6624
6635
|
currentKeyEvent = w;
|
|
6625
|
-
let D = keyName(w), O = codePointAt(D, 0)
|
|
6626
|
-
storedPrefix && storedPrefix.view == T && storedPrefix.scope == E && (
|
|
6627
|
-
let
|
|
6636
|
+
let D = keyName(w), O = codePointSize(codePointAt(D, 0)) == D.length && D != " ", k = "", A = false, j = false, M = false;
|
|
6637
|
+
storedPrefix && storedPrefix.view == T && storedPrefix.scope == E && (k = storedPrefix.prefix + " ", modifierCodes.indexOf(w.keyCode) < 0 && (j = true, storedPrefix = null));
|
|
6638
|
+
let N = /* @__PURE__ */ new Set(), P = (e67) => {
|
|
6628
6639
|
if (e67) {
|
|
6629
|
-
for (let w2 of e67.run) if (!
|
|
6630
|
-
e67.preventDefault && (e67.stopPropagation && (
|
|
6640
|
+
for (let w2 of e67.run) if (!N.has(w2) && (N.add(w2), w2(T))) return e67.stopPropagation && (M = true), true;
|
|
6641
|
+
e67.preventDefault && (e67.stopPropagation && (M = true), j = true);
|
|
6631
6642
|
}
|
|
6632
6643
|
return false;
|
|
6633
|
-
},
|
|
6634
|
-
return
|
|
6644
|
+
}, F = e66[E], I, L;
|
|
6645
|
+
return F && (P(F[k + modifiers(D, w, !O)]) ? A = true : O && (w.altKey || w.metaKey || w.ctrlKey) && !(browser.windows && w.ctrlKey && w.altKey) && !(browser.mac && w.altKey && !(w.ctrlKey || w.metaKey)) && (I = base[w.keyCode]) && I != D ? (P(F[k + modifiers(I, w, true)]) || w.shiftKey && (L = shift[w.keyCode]) != D && L != I && P(F[k + modifiers(L, w, false)])) && (A = true) : O && w.shiftKey && P(F[k + modifiers(D, w, true)]) && (A = true), !A && P(F._any) && (A = true)), j && (A = true), A && M && w.stopPropagation(), currentKeyEvent = null, A;
|
|
6635
6646
|
}
|
|
6636
6647
|
var RectangleMarker = class e44 {
|
|
6637
6648
|
constructor(e66, w, T, E, D) {
|
|
@@ -6764,7 +6775,7 @@ var LayerView = class {
|
|
|
6764
6775
|
let e67 = w.nextSibling;
|
|
6765
6776
|
w.remove(), w = e67;
|
|
6766
6777
|
}
|
|
6767
|
-
this.drawn = e66;
|
|
6778
|
+
this.drawn = e66, browser.safari && browser.safari_version >= 26 && (this.dom.style.display = this.dom.firstChild ? "" : "none");
|
|
6768
6779
|
}
|
|
6769
6780
|
}
|
|
6770
6781
|
destroy() {
|
|
@@ -8147,8 +8158,8 @@ var Tree = class e48 {
|
|
|
8147
8158
|
return new TreeCursor(this.topNode, e66);
|
|
8148
8159
|
}
|
|
8149
8160
|
cursorAt(e66, w = 0, T = 0) {
|
|
8150
|
-
let E = CachedNode.get(this) || this.topNode
|
|
8151
|
-
return
|
|
8161
|
+
let E = new TreeCursor(CachedNode.get(this) || this.topNode);
|
|
8162
|
+
return E.moveTo(e66, w), CachedNode.set(this, E._tree), E;
|
|
8152
8163
|
}
|
|
8153
8164
|
get topNode() {
|
|
8154
8165
|
return new TreeNode(this, 0, 0, null);
|
|
@@ -9128,11 +9139,11 @@ function enterFragments(e66, w) {
|
|
|
9128
9139
|
for (let { pos: E, mount: D, frag: O } of e66) {
|
|
9129
9140
|
let e67 = E + (D.overlay ? D.overlay[0].from : 0), k = e67 + D.tree.length, A = Math.max(O.from, e67), j = Math.min(O.to, k);
|
|
9130
9141
|
if (D.overlay) {
|
|
9131
|
-
let k2 = D.overlay.map((e68) => new Range(e68.from + E, e68.to + E)),
|
|
9142
|
+
let k2 = findCoverChanges(w, D.overlay.map((e68) => new Range(e68.from + E, e68.to + E)), A, j);
|
|
9132
9143
|
for (let w2 = 0, E2 = A; ; w2++) {
|
|
9133
|
-
let
|
|
9134
|
-
if (
|
|
9135
|
-
E2 =
|
|
9144
|
+
let A2 = w2 == k2.length, M = A2 ? j : k2[w2].from;
|
|
9145
|
+
if (M > E2 && T.push(new TreeFragment(E2, M, D.tree, -e67, O.from >= E2 || O.openStart, O.to <= M || O.openEnd)), A2) break;
|
|
9146
|
+
E2 = k2[w2].to;
|
|
9136
9147
|
}
|
|
9137
9148
|
} else T.push(new TreeFragment(A, j, D.tree, -e67, O.from >= e67 || O.openStart, O.to <= k || O.openEnd));
|
|
9138
9149
|
}
|
|
@@ -10667,8 +10678,8 @@ var StringStream = class {
|
|
|
10667
10678
|
}
|
|
10668
10679
|
match(e66, w, T) {
|
|
10669
10680
|
if (typeof e66 == "string") {
|
|
10670
|
-
let E = (e67) => T ? e67.toLowerCase() : e67
|
|
10671
|
-
return E(
|
|
10681
|
+
let E = (e67) => T ? e67.toLowerCase() : e67;
|
|
10682
|
+
return E(this.string.substr(this.pos, e66.length)) == E(e66) ? (w !== false && (this.pos += e66.length), true) : null;
|
|
10672
10683
|
} else {
|
|
10673
10684
|
let T2 = this.string.slice(this.pos).match(e66);
|
|
10674
10685
|
return T2 && T2.index > 0 ? null : (T2 && w !== false && (this.pos += T2[0].length), T2);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags$1, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags$1, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-BAqp4Vtl.js";
|
|
2
2
|
var descendantOp = 122, Unit = 1, identifier$1 = 123, callee = 124, VariableName = 2, queryIdentifier = 125, queryVariableName = 3, QueryCallee = 4, space = [
|
|
3
3
|
9,
|
|
4
4
|
10,
|