@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
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
2
|
+
var { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object, { freeze, seal, create } = Object, { apply, construct } = typeof Reflect < "u" && Reflect;
|
|
3
|
+
freeze || (freeze = function(e) {
|
|
4
|
+
return e;
|
|
5
|
+
}), seal || (seal = function(e) {
|
|
6
|
+
return e;
|
|
7
|
+
}), apply || (apply = function(e, t, n) {
|
|
8
|
+
return e.apply(t, n);
|
|
9
|
+
}), construct || (construct = function(e, t) {
|
|
10
|
+
return new e(...t);
|
|
11
|
+
});
|
|
12
|
+
var arrayForEach = unapply(Array.prototype.forEach), arrayLastIndexOf = unapply(Array.prototype.lastIndexOf), arrayPop = unapply(Array.prototype.pop), arrayPush = unapply(Array.prototype.push), arraySplice = unapply(Array.prototype.splice), stringToLowerCase = unapply(String.prototype.toLowerCase), stringToString = unapply(String.prototype.toString), stringMatch = unapply(String.prototype.match), stringReplace = unapply(String.prototype.replace), stringIndexOf = unapply(String.prototype.indexOf), stringTrim = unapply(String.prototype.trim), objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty), regExpTest = unapply(RegExp.prototype.test), typeErrorCreate = unconstruct(TypeError);
|
|
13
|
+
function unapply(e) {
|
|
14
|
+
return function(t) {
|
|
15
|
+
t instanceof RegExp && (t.lastIndex = 0);
|
|
16
|
+
var n = [...arguments].slice(1);
|
|
17
|
+
return apply(e, t, n);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function unconstruct(e) {
|
|
21
|
+
return function() {
|
|
22
|
+
return construct(e, [...arguments]);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function addToSet(e, r) {
|
|
26
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : stringToLowerCase;
|
|
27
|
+
setPrototypeOf && setPrototypeOf(e, null);
|
|
28
|
+
let a = r.length;
|
|
29
|
+
for (; a--; ) {
|
|
30
|
+
let t = r[a];
|
|
31
|
+
if (typeof t == "string") {
|
|
32
|
+
let e2 = i(t);
|
|
33
|
+
e2 !== t && (isFrozen(r) || (r[a] = e2), t = e2);
|
|
34
|
+
}
|
|
35
|
+
e[t] = true;
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
function cleanArray(e) {
|
|
40
|
+
for (let t = 0; t < e.length; t++) objectHasOwnProperty(e, t) || (e[t] = null);
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
function clone(t) {
|
|
44
|
+
let n = create(null);
|
|
45
|
+
for (let [r, i] of entries(t)) objectHasOwnProperty(t, r) && (Array.isArray(i) ? n[r] = cleanArray(i) : i && typeof i == "object" && i.constructor === Object ? n[r] = clone(i) : n[r] = i);
|
|
46
|
+
return n;
|
|
47
|
+
}
|
|
48
|
+
function lookupGetter(e, t) {
|
|
49
|
+
for (; e !== null; ) {
|
|
50
|
+
let n2 = getOwnPropertyDescriptor(e, t);
|
|
51
|
+
if (n2) {
|
|
52
|
+
if (n2.get) return unapply(n2.get);
|
|
53
|
+
if (typeof n2.value == "function") return unapply(n2.value);
|
|
54
|
+
}
|
|
55
|
+
e = getPrototypeOf(e);
|
|
56
|
+
}
|
|
57
|
+
function n() {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return n;
|
|
61
|
+
}
|
|
62
|
+
var html$1 = freeze(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.section.select.shadow.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), svg$1 = freeze(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.filter.font.g.glyph.glyphref.hkern.image.line.lineargradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), svgFilters = freeze([
|
|
63
|
+
"feBlend",
|
|
64
|
+
"feColorMatrix",
|
|
65
|
+
"feComponentTransfer",
|
|
66
|
+
"feComposite",
|
|
67
|
+
"feConvolveMatrix",
|
|
68
|
+
"feDiffuseLighting",
|
|
69
|
+
"feDisplacementMap",
|
|
70
|
+
"feDistantLight",
|
|
71
|
+
"feDropShadow",
|
|
72
|
+
"feFlood",
|
|
73
|
+
"feFuncA",
|
|
74
|
+
"feFuncB",
|
|
75
|
+
"feFuncG",
|
|
76
|
+
"feFuncR",
|
|
77
|
+
"feGaussianBlur",
|
|
78
|
+
"feImage",
|
|
79
|
+
"feMerge",
|
|
80
|
+
"feMergeNode",
|
|
81
|
+
"feMorphology",
|
|
82
|
+
"feOffset",
|
|
83
|
+
"fePointLight",
|
|
84
|
+
"feSpecularLighting",
|
|
85
|
+
"feSpotLight",
|
|
86
|
+
"feTile",
|
|
87
|
+
"feTurbulence"
|
|
88
|
+
]), svgDisallowed = freeze([
|
|
89
|
+
"animate",
|
|
90
|
+
"color-profile",
|
|
91
|
+
"cursor",
|
|
92
|
+
"discard",
|
|
93
|
+
"font-face",
|
|
94
|
+
"font-face-format",
|
|
95
|
+
"font-face-name",
|
|
96
|
+
"font-face-src",
|
|
97
|
+
"font-face-uri",
|
|
98
|
+
"foreignobject",
|
|
99
|
+
"hatch",
|
|
100
|
+
"hatchpath",
|
|
101
|
+
"mesh",
|
|
102
|
+
"meshgradient",
|
|
103
|
+
"meshpatch",
|
|
104
|
+
"meshrow",
|
|
105
|
+
"missing-glyph",
|
|
106
|
+
"script",
|
|
107
|
+
"set",
|
|
108
|
+
"solidcolor",
|
|
109
|
+
"unknown",
|
|
110
|
+
"use"
|
|
111
|
+
]), mathMl$1 = freeze(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), mathMlDisallowed = freeze([
|
|
112
|
+
"maction",
|
|
113
|
+
"maligngroup",
|
|
114
|
+
"malignmark",
|
|
115
|
+
"mlongdiv",
|
|
116
|
+
"mscarries",
|
|
117
|
+
"mscarry",
|
|
118
|
+
"msgroup",
|
|
119
|
+
"mstack",
|
|
120
|
+
"msline",
|
|
121
|
+
"msrow",
|
|
122
|
+
"semantics",
|
|
123
|
+
"annotation",
|
|
124
|
+
"annotation-xml",
|
|
125
|
+
"mprescripts",
|
|
126
|
+
"none"
|
|
127
|
+
]), text = freeze(["#text"]), html = freeze(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.face.for.headers.height.hidden.high.href.hreflang.id.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), svg = freeze(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), mathMl = freeze(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), xml = freeze([
|
|
128
|
+
"xlink:href",
|
|
129
|
+
"xml:id",
|
|
130
|
+
"xlink:title",
|
|
131
|
+
"xml:space",
|
|
132
|
+
"xmlns:xlink"
|
|
133
|
+
]), MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm), TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm), DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/), ARIA_ATTR = seal(/^aria-[\-\w]+$/), IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i), ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), DOCTYPE_NAME = seal(/^html$/i), CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i), EXPRESSIONS = /* @__PURE__ */ Object.freeze({
|
|
134
|
+
__proto__: null,
|
|
135
|
+
ARIA_ATTR,
|
|
136
|
+
ATTR_WHITESPACE,
|
|
137
|
+
CUSTOM_ELEMENT,
|
|
138
|
+
DATA_ATTR,
|
|
139
|
+
DOCTYPE_NAME,
|
|
140
|
+
ERB_EXPR,
|
|
141
|
+
IS_ALLOWED_URI,
|
|
142
|
+
IS_SCRIPT_OR_DATA,
|
|
143
|
+
MUSTACHE_EXPR,
|
|
144
|
+
TMPLIT_EXPR
|
|
145
|
+
}), NODE_TYPE = {
|
|
146
|
+
element: 1,
|
|
147
|
+
attribute: 2,
|
|
148
|
+
text: 3,
|
|
149
|
+
cdataSection: 4,
|
|
150
|
+
entityReference: 5,
|
|
151
|
+
entityNode: 6,
|
|
152
|
+
progressingInstruction: 7,
|
|
153
|
+
comment: 8,
|
|
154
|
+
document: 9,
|
|
155
|
+
documentType: 10,
|
|
156
|
+
documentFragment: 11,
|
|
157
|
+
notation: 12
|
|
158
|
+
}, getGlobal = function() {
|
|
159
|
+
return typeof window > "u" ? null : window;
|
|
160
|
+
}, _createTrustedTypesPolicy = function(e, t) {
|
|
161
|
+
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
162
|
+
let n = null, r = "data-tt-policy-suffix";
|
|
163
|
+
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
164
|
+
let i = "dompurify" + (n ? "#" + n : "");
|
|
165
|
+
try {
|
|
166
|
+
return e.createPolicy(i, {
|
|
167
|
+
createHTML(e2) {
|
|
168
|
+
return e2;
|
|
169
|
+
},
|
|
170
|
+
createScriptURL(e2) {
|
|
171
|
+
return e2;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
} catch {
|
|
175
|
+
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
176
|
+
}
|
|
177
|
+
}, _createHooksMap = function() {
|
|
178
|
+
return {
|
|
179
|
+
afterSanitizeAttributes: [],
|
|
180
|
+
afterSanitizeElements: [],
|
|
181
|
+
afterSanitizeShadowDOM: [],
|
|
182
|
+
beforeSanitizeAttributes: [],
|
|
183
|
+
beforeSanitizeElements: [],
|
|
184
|
+
beforeSanitizeShadowDOM: [],
|
|
185
|
+
uponSanitizeAttribute: [],
|
|
186
|
+
uponSanitizeElement: [],
|
|
187
|
+
uponSanitizeShadowNode: []
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
function createDOMPurify() {
|
|
191
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal(), n = (e) => createDOMPurify(e);
|
|
192
|
+
if (n.version = "3.2.6", n.removed = [], !t || !t.document || t.document.nodeType !== NODE_TYPE.document || !t.Element) return n.isSupported = false, n;
|
|
193
|
+
let { document: r } = t, i = r, o = i.currentScript, { DocumentFragment: c, HTMLTemplateElement: l, Node: Fe, Element: Ie, NodeFilter: d, NamedNodeMap: Le = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: Re, DOMParser: ze, trustedTypes: f } = t, p = Ie.prototype, Be = lookupGetter(p, "cloneNode"), Ve = lookupGetter(p, "remove"), He = lookupGetter(p, "nextSibling"), Ue = lookupGetter(p, "childNodes"), m = lookupGetter(p, "parentNode");
|
|
194
|
+
if (typeof l == "function") {
|
|
195
|
+
let e = r.createElement("template");
|
|
196
|
+
e.content && e.content.ownerDocument && (r = e.content.ownerDocument);
|
|
197
|
+
}
|
|
198
|
+
let h, g = "", { implementation: _, createNodeIterator: We, createDocumentFragment: Ge, getElementsByTagName: Ke } = r, { importNode: qe } = i, v = _createHooksMap();
|
|
199
|
+
n.isSupported = typeof entries == "function" && typeof m == "function" && _ && _.createHTMLDocument !== void 0;
|
|
200
|
+
let { MUSTACHE_EXPR: Je, ERB_EXPR: Ye, TMPLIT_EXPR: y, DATA_ATTR: Xe, ARIA_ATTR: Ze, IS_SCRIPT_OR_DATA: Qe, ATTR_WHITESPACE: $e, CUSTOM_ELEMENT: et } = EXPRESSIONS, { IS_ALLOWED_URI: tt } = EXPRESSIONS, b = null, nt = addToSet({}, [
|
|
201
|
+
...html$1,
|
|
202
|
+
...svg$1,
|
|
203
|
+
...svgFilters,
|
|
204
|
+
...mathMl$1,
|
|
205
|
+
...text
|
|
206
|
+
]), x = null, rt = addToSet({}, [
|
|
207
|
+
...html,
|
|
208
|
+
...svg,
|
|
209
|
+
...mathMl,
|
|
210
|
+
...xml
|
|
211
|
+
]), S = Object.seal(create(null, {
|
|
212
|
+
tagNameCheck: {
|
|
213
|
+
writable: true,
|
|
214
|
+
configurable: false,
|
|
215
|
+
enumerable: true,
|
|
216
|
+
value: null
|
|
217
|
+
},
|
|
218
|
+
attributeNameCheck: {
|
|
219
|
+
writable: true,
|
|
220
|
+
configurable: false,
|
|
221
|
+
enumerable: true,
|
|
222
|
+
value: null
|
|
223
|
+
},
|
|
224
|
+
allowCustomizedBuiltInElements: {
|
|
225
|
+
writable: true,
|
|
226
|
+
configurable: false,
|
|
227
|
+
enumerable: true,
|
|
228
|
+
value: false
|
|
229
|
+
}
|
|
230
|
+
})), C = null, w = null, it = true, T = true, at = false, ot = true, E = false, D = true, O = false, k = false, A = false, j = false, M = false, N = false, st = true, ct = false, P = true, F = false, I = {}, L = null, lt = addToSet({}, [
|
|
231
|
+
"annotation-xml",
|
|
232
|
+
"audio",
|
|
233
|
+
"colgroup",
|
|
234
|
+
"desc",
|
|
235
|
+
"foreignobject",
|
|
236
|
+
"head",
|
|
237
|
+
"iframe",
|
|
238
|
+
"math",
|
|
239
|
+
"mi",
|
|
240
|
+
"mn",
|
|
241
|
+
"mo",
|
|
242
|
+
"ms",
|
|
243
|
+
"mtext",
|
|
244
|
+
"noembed",
|
|
245
|
+
"noframes",
|
|
246
|
+
"noscript",
|
|
247
|
+
"plaintext",
|
|
248
|
+
"script",
|
|
249
|
+
"style",
|
|
250
|
+
"svg",
|
|
251
|
+
"template",
|
|
252
|
+
"thead",
|
|
253
|
+
"title",
|
|
254
|
+
"video",
|
|
255
|
+
"xmp"
|
|
256
|
+
]), ut = null, dt = addToSet({}, [
|
|
257
|
+
"audio",
|
|
258
|
+
"video",
|
|
259
|
+
"img",
|
|
260
|
+
"source",
|
|
261
|
+
"image",
|
|
262
|
+
"track"
|
|
263
|
+
]), R = null, ft = addToSet({}, [
|
|
264
|
+
"alt",
|
|
265
|
+
"class",
|
|
266
|
+
"for",
|
|
267
|
+
"id",
|
|
268
|
+
"label",
|
|
269
|
+
"name",
|
|
270
|
+
"pattern",
|
|
271
|
+
"placeholder",
|
|
272
|
+
"role",
|
|
273
|
+
"summary",
|
|
274
|
+
"title",
|
|
275
|
+
"value",
|
|
276
|
+
"style",
|
|
277
|
+
"xmlns"
|
|
278
|
+
]), z = "http://www.w3.org/1998/Math/MathML", B = "http://www.w3.org/2000/svg", V = "http://www.w3.org/1999/xhtml", H = V, U = false, W = null, pt = addToSet({}, [
|
|
279
|
+
z,
|
|
280
|
+
B,
|
|
281
|
+
V
|
|
282
|
+
], stringToString), G = addToSet({}, [
|
|
283
|
+
"mi",
|
|
284
|
+
"mo",
|
|
285
|
+
"mn",
|
|
286
|
+
"ms",
|
|
287
|
+
"mtext"
|
|
288
|
+
]), K = addToSet({}, ["annotation-xml"]), mt = addToSet({}, [
|
|
289
|
+
"title",
|
|
290
|
+
"style",
|
|
291
|
+
"font",
|
|
292
|
+
"a",
|
|
293
|
+
"script"
|
|
294
|
+
]), q = null, ht = ["application/xhtml+xml", "text/html"], J = null, Y = null, gt = r.createElement("form"), _t = function(e) {
|
|
295
|
+
return e instanceof RegExp || e instanceof Function;
|
|
296
|
+
}, vt = function() {
|
|
297
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
298
|
+
if (!(Y && Y === e)) {
|
|
299
|
+
if ((!e || typeof e != "object") && (e = {}), e = clone(e), q = ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? stringToString : stringToLowerCase, b = objectHasOwnProperty(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, J) : nt, x = objectHasOwnProperty(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, J) : rt, W = objectHasOwnProperty(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, stringToString) : pt, R = objectHasOwnProperty(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(ft), e.ADD_URI_SAFE_ATTR, J) : ft, ut = objectHasOwnProperty(e, "ADD_DATA_URI_TAGS") ? addToSet(clone(dt), e.ADD_DATA_URI_TAGS, J) : dt, L = objectHasOwnProperty(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, J) : lt, C = objectHasOwnProperty(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, J) : clone({}), w = objectHasOwnProperty(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, J) : clone({}), I = objectHasOwnProperty(e, "USE_PROFILES") ? e.USE_PROFILES : false, it = e.ALLOW_ARIA_ATTR !== false, T = e.ALLOW_DATA_ATTR !== false, at = e.ALLOW_UNKNOWN_PROTOCOLS || false, ot = e.ALLOW_SELF_CLOSE_IN_ATTR !== false, E = e.SAFE_FOR_TEMPLATES || false, D = e.SAFE_FOR_XML !== false, O = e.WHOLE_DOCUMENT || false, j = e.RETURN_DOM || false, M = e.RETURN_DOM_FRAGMENT || false, N = e.RETURN_TRUSTED_TYPE || false, A = e.FORCE_BODY || false, st = e.SANITIZE_DOM !== false, ct = e.SANITIZE_NAMED_PROPS || false, P = e.KEEP_CONTENT !== false, F = e.IN_PLACE || false, tt = e.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, H = e.NAMESPACE || V, G = e.MATHML_TEXT_INTEGRATION_POINTS || G, K = e.HTML_INTEGRATION_POINTS || K, S = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (S.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (S.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (S.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), E && (T = false), M && (j = true), I && (b = addToSet({}, text), x = [], I.html === true && (addToSet(b, html$1), addToSet(x, html)), I.svg === true && (addToSet(b, svg$1), addToSet(x, svg), addToSet(x, xml)), I.svgFilters === true && (addToSet(b, svgFilters), addToSet(x, svg), addToSet(x, xml)), I.mathMl === true && (addToSet(b, mathMl$1), addToSet(x, mathMl), addToSet(x, xml))), e.ADD_TAGS && (b === nt && (b = clone(b)), addToSet(b, e.ADD_TAGS, J)), e.ADD_ATTR && (x === rt && (x = clone(x)), addToSet(x, e.ADD_ATTR, J)), e.ADD_URI_SAFE_ATTR && addToSet(R, e.ADD_URI_SAFE_ATTR, J), e.FORBID_CONTENTS && (L === lt && (L = clone(L)), addToSet(L, e.FORBID_CONTENTS, J)), P && (b["#text"] = true), O && addToSet(b, [
|
|
300
|
+
"html",
|
|
301
|
+
"head",
|
|
302
|
+
"body"
|
|
303
|
+
]), b.table && (addToSet(b, ["tbody"]), delete C.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
304
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
305
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
306
|
+
h = e.TRUSTED_TYPES_POLICY, g = h.createHTML("");
|
|
307
|
+
} else h === void 0 && (h = _createTrustedTypesPolicy(f, o)), h !== null && typeof g == "string" && (g = h.createHTML(""));
|
|
308
|
+
freeze && freeze(e), Y = e;
|
|
309
|
+
}
|
|
310
|
+
}, yt = addToSet({}, [
|
|
311
|
+
...svg$1,
|
|
312
|
+
...svgFilters,
|
|
313
|
+
...svgDisallowed
|
|
314
|
+
]), bt = addToSet({}, [...mathMl$1, ...mathMlDisallowed]), xt = function(e) {
|
|
315
|
+
let t2 = m(e);
|
|
316
|
+
(!t2 || !t2.tagName) && (t2 = {
|
|
317
|
+
namespaceURI: H,
|
|
318
|
+
tagName: "template"
|
|
319
|
+
});
|
|
320
|
+
let n2 = stringToLowerCase(e.tagName), r2 = stringToLowerCase(t2.tagName);
|
|
321
|
+
return W[e.namespaceURI] ? e.namespaceURI === B ? t2.namespaceURI === V ? n2 === "svg" : t2.namespaceURI === z ? n2 === "svg" && (r2 === "annotation-xml" || G[r2]) : !!yt[n2] : e.namespaceURI === z ? t2.namespaceURI === V ? n2 === "math" : t2.namespaceURI === B ? n2 === "math" && K[r2] : !!bt[n2] : e.namespaceURI === V ? t2.namespaceURI === B && !K[r2] || t2.namespaceURI === z && !G[r2] ? false : !bt[n2] && (mt[n2] || !yt[n2]) : !!(q === "application/xhtml+xml" && W[e.namespaceURI]) : false;
|
|
322
|
+
}, X = function(e) {
|
|
323
|
+
arrayPush(n.removed, { element: e });
|
|
324
|
+
try {
|
|
325
|
+
m(e).removeChild(e);
|
|
326
|
+
} catch {
|
|
327
|
+
Ve(e);
|
|
328
|
+
}
|
|
329
|
+
}, Z = function(e, t2) {
|
|
330
|
+
try {
|
|
331
|
+
arrayPush(n.removed, {
|
|
332
|
+
attribute: t2.getAttributeNode(e),
|
|
333
|
+
from: t2
|
|
334
|
+
});
|
|
335
|
+
} catch {
|
|
336
|
+
arrayPush(n.removed, {
|
|
337
|
+
attribute: null,
|
|
338
|
+
from: t2
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
if (t2.removeAttribute(e), e === "is") if (j || M) try {
|
|
342
|
+
X(t2);
|
|
343
|
+
} catch {
|
|
344
|
+
}
|
|
345
|
+
else try {
|
|
346
|
+
t2.setAttribute(e, "");
|
|
347
|
+
} catch {
|
|
348
|
+
}
|
|
349
|
+
}, St = function(e) {
|
|
350
|
+
let t2 = null, n2 = null;
|
|
351
|
+
if (A) e = "<remove></remove>" + e;
|
|
352
|
+
else {
|
|
353
|
+
let t3 = stringMatch(e, /^[\r\n\t ]+/);
|
|
354
|
+
n2 = t3 && t3[0];
|
|
355
|
+
}
|
|
356
|
+
q === "application/xhtml+xml" && H === V && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
357
|
+
let i2 = h ? h.createHTML(e) : e;
|
|
358
|
+
if (H === V) try {
|
|
359
|
+
t2 = new ze().parseFromString(i2, q);
|
|
360
|
+
} catch {
|
|
361
|
+
}
|
|
362
|
+
if (!t2 || !t2.documentElement) {
|
|
363
|
+
t2 = _.createDocument(H, "template", null);
|
|
364
|
+
try {
|
|
365
|
+
t2.documentElement.innerHTML = U ? g : i2;
|
|
366
|
+
} catch {
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
let a = t2.body || t2.documentElement;
|
|
370
|
+
return e && n2 && a.insertBefore(r.createTextNode(n2), a.childNodes[0] || null), H === V ? Ke.call(t2, O ? "html" : "body")[0] : O ? t2.documentElement : a;
|
|
371
|
+
}, Ct = function(e) {
|
|
372
|
+
return We.call(e.ownerDocument || e, e, d.SHOW_ELEMENT | d.SHOW_COMMENT | d.SHOW_TEXT | d.SHOW_PROCESSING_INSTRUCTION | d.SHOW_CDATA_SECTION, null);
|
|
373
|
+
}, Q = function(e) {
|
|
374
|
+
return e instanceof Re && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Le) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
375
|
+
}, wt = function(e) {
|
|
376
|
+
return typeof Fe == "function" && e instanceof Fe;
|
|
377
|
+
};
|
|
378
|
+
function $(e, t2, r2) {
|
|
379
|
+
arrayForEach(e, (e2) => {
|
|
380
|
+
e2.call(n, t2, r2, Y);
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
let Tt = function(e) {
|
|
384
|
+
let t2 = null;
|
|
385
|
+
if ($(v.beforeSanitizeElements, e, null), Q(e)) return X(e), true;
|
|
386
|
+
let r2 = J(e.nodeName);
|
|
387
|
+
if ($(v.uponSanitizeElement, e, {
|
|
388
|
+
tagName: r2,
|
|
389
|
+
allowedTags: b
|
|
390
|
+
}), D && e.hasChildNodes() && !wt(e.firstElementChild) && regExpTest(/<[/\w!]/g, e.innerHTML) && regExpTest(/<[/\w!]/g, e.textContent) || e.nodeType === NODE_TYPE.progressingInstruction || D && e.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, e.data)) return X(e), true;
|
|
391
|
+
if (!b[r2] || C[r2]) {
|
|
392
|
+
if (!C[r2] && Dt(r2) && (S.tagNameCheck instanceof RegExp && regExpTest(S.tagNameCheck, r2) || S.tagNameCheck instanceof Function && S.tagNameCheck(r2))) return false;
|
|
393
|
+
if (P && !L[r2]) {
|
|
394
|
+
let t3 = m(e) || e.parentNode, n2 = Ue(e) || e.childNodes;
|
|
395
|
+
if (n2 && t3) {
|
|
396
|
+
let r3 = n2.length;
|
|
397
|
+
for (let i2 = r3 - 1; i2 >= 0; --i2) {
|
|
398
|
+
let r4 = Be(n2[i2], true);
|
|
399
|
+
r4.__removalCount = (e.__removalCount || 0) + 1, t3.insertBefore(r4, He(e));
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
return X(e), true;
|
|
404
|
+
}
|
|
405
|
+
return e instanceof Ie && !xt(e) || (r2 === "noscript" || r2 === "noembed" || r2 === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), true) : (E && e.nodeType === NODE_TYPE.text && (t2 = e.textContent, arrayForEach([
|
|
406
|
+
Je,
|
|
407
|
+
Ye,
|
|
408
|
+
y
|
|
409
|
+
], (e2) => {
|
|
410
|
+
t2 = stringReplace(t2, e2, " ");
|
|
411
|
+
}), e.textContent !== t2 && (arrayPush(n.removed, { element: e.cloneNode() }), e.textContent = t2)), $(v.afterSanitizeElements, e, null), false);
|
|
412
|
+
}, Et = function(e, t2, n2) {
|
|
413
|
+
if (st && (t2 === "id" || t2 === "name") && (n2 in r || n2 in gt)) return false;
|
|
414
|
+
if (!(T && !w[t2] && regExpTest(Xe, t2)) && !(it && regExpTest(Ze, t2))) {
|
|
415
|
+
if (!x[t2] || w[t2]) {
|
|
416
|
+
if (!(Dt(e) && (S.tagNameCheck instanceof RegExp && regExpTest(S.tagNameCheck, e) || S.tagNameCheck instanceof Function && S.tagNameCheck(e)) && (S.attributeNameCheck instanceof RegExp && regExpTest(S.attributeNameCheck, t2) || S.attributeNameCheck instanceof Function && S.attributeNameCheck(t2)) || t2 === "is" && S.allowCustomizedBuiltInElements && (S.tagNameCheck instanceof RegExp && regExpTest(S.tagNameCheck, n2) || S.tagNameCheck instanceof Function && S.tagNameCheck(n2)))) return false;
|
|
417
|
+
} else if (!R[t2] && !regExpTest(tt, stringReplace(n2, $e, "")) && !((t2 === "src" || t2 === "xlink:href" || t2 === "href") && e !== "script" && stringIndexOf(n2, "data:") === 0 && ut[e]) && !(at && !regExpTest(Qe, stringReplace(n2, $e, ""))) && n2) return false;
|
|
418
|
+
}
|
|
419
|
+
return true;
|
|
420
|
+
}, Dt = function(e) {
|
|
421
|
+
return e !== "annotation-xml" && stringMatch(e, et);
|
|
422
|
+
}, Ot = function(e) {
|
|
423
|
+
$(v.beforeSanitizeAttributes, e, null);
|
|
424
|
+
let { attributes: t2 } = e;
|
|
425
|
+
if (!t2 || Q(e)) return;
|
|
426
|
+
let r2 = {
|
|
427
|
+
attrName: "",
|
|
428
|
+
attrValue: "",
|
|
429
|
+
keepAttr: true,
|
|
430
|
+
allowedAttributes: x,
|
|
431
|
+
forceKeepAttr: void 0
|
|
432
|
+
}, i2 = t2.length;
|
|
433
|
+
for (; i2--; ) {
|
|
434
|
+
let { name: a, namespaceURI: o2, value: s } = t2[i2], c2 = J(a), l2 = s, u = a === "value" ? l2 : stringTrim(l2);
|
|
435
|
+
if (r2.attrName = c2, r2.attrValue = u, r2.keepAttr = true, r2.forceKeepAttr = void 0, $(v.uponSanitizeAttribute, e, r2), u = r2.attrValue, ct && (c2 === "id" || c2 === "name") && (Z(a, e), u = "user-content-" + u), D && regExpTest(/((--!?|])>)|<\/(style|title)/i, u)) {
|
|
436
|
+
Z(a, e);
|
|
437
|
+
continue;
|
|
438
|
+
}
|
|
439
|
+
if (r2.forceKeepAttr) continue;
|
|
440
|
+
if (!r2.keepAttr) {
|
|
441
|
+
Z(a, e);
|
|
442
|
+
continue;
|
|
443
|
+
}
|
|
444
|
+
if (!ot && regExpTest(/\/>/i, u)) {
|
|
445
|
+
Z(a, e);
|
|
446
|
+
continue;
|
|
447
|
+
}
|
|
448
|
+
E && arrayForEach([
|
|
449
|
+
Je,
|
|
450
|
+
Ye,
|
|
451
|
+
y
|
|
452
|
+
], (e2) => {
|
|
453
|
+
u = stringReplace(u, e2, " ");
|
|
454
|
+
});
|
|
455
|
+
let Pe = J(e.nodeName);
|
|
456
|
+
if (!Et(Pe, c2, u)) {
|
|
457
|
+
Z(a, e);
|
|
458
|
+
continue;
|
|
459
|
+
}
|
|
460
|
+
if (h && typeof f == "object" && typeof f.getAttributeType == "function" && !o2) switch (f.getAttributeType(Pe, c2)) {
|
|
461
|
+
case "TrustedHTML":
|
|
462
|
+
u = h.createHTML(u);
|
|
463
|
+
break;
|
|
464
|
+
case "TrustedScriptURL":
|
|
465
|
+
u = h.createScriptURL(u);
|
|
466
|
+
break;
|
|
467
|
+
}
|
|
468
|
+
if (u !== l2) try {
|
|
469
|
+
o2 ? e.setAttributeNS(o2, a, u) : e.setAttribute(a, u), Q(e) ? X(e) : arrayPop(n.removed);
|
|
470
|
+
} catch {
|
|
471
|
+
Z(a, e);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
$(v.afterSanitizeAttributes, e, null);
|
|
475
|
+
}, kt = function e(t2) {
|
|
476
|
+
let n2 = null, r2 = Ct(t2);
|
|
477
|
+
for ($(v.beforeSanitizeShadowDOM, t2, null); n2 = r2.nextNode(); ) $(v.uponSanitizeShadowNode, n2, null), Tt(n2), Ot(n2), n2.content instanceof c && e(n2.content);
|
|
478
|
+
$(v.afterSanitizeShadowDOM, t2, null);
|
|
479
|
+
};
|
|
480
|
+
return n.sanitize = function(e) {
|
|
481
|
+
let t2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r2 = null, a = null, o2 = null, s = null;
|
|
482
|
+
if (U = !e, U && (e = "<!-->"), typeof e != "string" && !wt(e)) if (typeof e.toString == "function") {
|
|
483
|
+
if (e = e.toString(), typeof e != "string") throw typeErrorCreate("dirty is not a string, aborting");
|
|
484
|
+
} else throw typeErrorCreate("toString is not a function");
|
|
485
|
+
if (!n.isSupported) return e;
|
|
486
|
+
if (k || vt(t2), n.removed = [], typeof e == "string" && (F = false), F) {
|
|
487
|
+
if (e.nodeName) {
|
|
488
|
+
let t3 = J(e.nodeName);
|
|
489
|
+
if (!b[t3] || C[t3]) throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
490
|
+
}
|
|
491
|
+
} else if (e instanceof Fe) r2 = St("<!---->"), a = r2.ownerDocument.importNode(e, true), a.nodeType === NODE_TYPE.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? r2 = a : r2.appendChild(a);
|
|
492
|
+
else {
|
|
493
|
+
if (!j && !E && !O && e.indexOf("<") === -1) return h && N ? h.createHTML(e) : e;
|
|
494
|
+
if (r2 = St(e), !r2) return j ? null : N ? g : "";
|
|
495
|
+
}
|
|
496
|
+
r2 && A && X(r2.firstChild);
|
|
497
|
+
let l2 = Ct(F ? e : r2);
|
|
498
|
+
for (; o2 = l2.nextNode(); ) Tt(o2), Ot(o2), o2.content instanceof c && kt(o2.content);
|
|
499
|
+
if (F) return e;
|
|
500
|
+
if (j) {
|
|
501
|
+
if (M) for (s = Ge.call(r2.ownerDocument); r2.firstChild; ) s.appendChild(r2.firstChild);
|
|
502
|
+
else s = r2;
|
|
503
|
+
return (x.shadowroot || x.shadowrootmode) && (s = qe.call(i, s, true)), s;
|
|
504
|
+
}
|
|
505
|
+
let u = O ? r2.outerHTML : r2.innerHTML;
|
|
506
|
+
return O && b["!doctype"] && r2.ownerDocument && r2.ownerDocument.doctype && r2.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, r2.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + r2.ownerDocument.doctype.name + ">\n" + u), E && arrayForEach([
|
|
507
|
+
Je,
|
|
508
|
+
Ye,
|
|
509
|
+
y
|
|
510
|
+
], (e2) => {
|
|
511
|
+
u = stringReplace(u, e2, " ");
|
|
512
|
+
}), h && N ? h.createHTML(u) : u;
|
|
513
|
+
}, n.setConfig = function() {
|
|
514
|
+
vt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), k = true;
|
|
515
|
+
}, n.clearConfig = function() {
|
|
516
|
+
Y = null, k = false;
|
|
517
|
+
}, n.isValidAttribute = function(e, t2, n2) {
|
|
518
|
+
return Y || vt({}), Et(J(e), J(t2), n2);
|
|
519
|
+
}, n.addHook = function(e, t2) {
|
|
520
|
+
typeof t2 == "function" && arrayPush(v[e], t2);
|
|
521
|
+
}, n.removeHook = function(e, t2) {
|
|
522
|
+
if (t2 !== void 0) {
|
|
523
|
+
let n2 = arrayLastIndexOf(v[e], t2);
|
|
524
|
+
return n2 === -1 ? void 0 : arraySplice(v[e], n2, 1)[0];
|
|
525
|
+
}
|
|
526
|
+
return arrayPop(v[e]);
|
|
527
|
+
}, n.removeHooks = function(e) {
|
|
528
|
+
v[e] = [];
|
|
529
|
+
}, n.removeAllHooks = function() {
|
|
530
|
+
v = _createHooksMap();
|
|
531
|
+
}, n;
|
|
532
|
+
}
|
|
533
|
+
var purify = createDOMPurify();
|
|
534
|
+
export {
|
|
535
|
+
purify as t
|
|
536
|
+
};
|
|
@@ -18,7 +18,7 @@ function tokenBase(a, c) {
|
|
|
18
18
|
return /[A-Za-z]|\./.test(u) ? (a.eatWhile(/[A-Za-z._\d]/), keywords.test(a.current()) ? "keyword" : "variable") : /[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(u) || /[{}\(\[\]\)]/.test(u) ? null : "error";
|
|
19
19
|
}
|
|
20
20
|
function tokenLineComment(e, r) {
|
|
21
|
-
return e.skipToEnd(),
|
|
21
|
+
return e.skipToEnd(), /^\/\s*$/.test(e.current()) ? (r.tokenize = tokenBlockComment)(e, r) : r.tokenize = tokenBase, "comment";
|
|
22
22
|
}
|
|
23
23
|
function tokenBlockComment(e, r) {
|
|
24
24
|
var i = e.sol() && e.peek() == "\\";
|
|
@@ -75,7 +75,8 @@ const q = {
|
|
|
75
75
|
if (/[\]\}]/.test(a)) for (; o && o.type == "pattern"; ) o = o.prev;
|
|
76
76
|
var s = o && a == o.type;
|
|
77
77
|
return o ? o.type == "pattern" ? o.col : o.align ? o.col + (s ? 0 : 1) : o.indent + (s ? 0 : i.unit) : 0;
|
|
78
|
-
}
|
|
78
|
+
},
|
|
79
|
+
languageData: { commentTokens: { line: "/" } }
|
|
79
80
|
};
|
|
80
81
|
export {
|
|
81
82
|
q as t
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
2
|
+
import "./purify.es-CrfFzTyi.js";
|
|
3
|
+
import "./precisionRound-7YYJq2rW.js";
|
|
4
|
+
import { t as linear } from "./linear-DeGGALuc.js";
|
|
5
|
+
import "./defaultLocale-Cto8YOmX.js";
|
|
6
|
+
import "./init-tZ42Torz.js";
|
|
7
|
+
import "./timer-CcUhugb0.js";
|
|
8
|
+
import { i as log, r as __name, t as select_default } from "./src-BTqT1mA1.js";
|
|
9
|
+
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-B6ZsU6SR.js";
|
|
9
10
|
var parser = (function() {
|
|
10
11
|
var e = /* @__PURE__ */ __name(function(e2, t2, n, r2) {
|
|
11
12
|
for (n || (n = {}), r2 = e2.length; r2--; n[e2[r2]] = t2) ;
|
|
@@ -1608,7 +1609,7 @@ var quadrant_default = parser, defaultThemeVariables = getThemeVariables3(), Qua
|
|
|
1608
1609
|
}, o = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, s = {
|
|
1609
1610
|
left: this.config.yAxisPosition === "left" && n ? o : 0,
|
|
1610
1611
|
right: this.config.yAxisPosition === "right" && n ? o : 0
|
|
1611
|
-
}, c = this.config.titleFontSize + this.config.titlePadding * 2, l = { top: r ? c : 0 }, u = this.config.quadrantPadding + s.left, d = this.config.quadrantPadding + a.top + l.top, f = this.config.chartWidth - this.config.quadrantPadding * 2 - s.left - s.right, p = this.config.chartHeight - this.config.quadrantPadding * 2 - a.top - a.bottom - l.top
|
|
1612
|
+
}, c = this.config.titleFontSize + this.config.titlePadding * 2, l = { top: r ? c : 0 }, u = this.config.quadrantPadding + s.left, d = this.config.quadrantPadding + a.top + l.top, f = this.config.chartWidth - this.config.quadrantPadding * 2 - s.left - s.right, p = this.config.chartHeight - this.config.quadrantPadding * 2 - a.top - a.bottom - l.top;
|
|
1612
1613
|
return {
|
|
1613
1614
|
xAxisSpace: a,
|
|
1614
1615
|
yAxisSpace: s,
|
|
@@ -1617,9 +1618,9 @@ var quadrant_default = parser, defaultThemeVariables = getThemeVariables3(), Qua
|
|
|
1617
1618
|
quadrantLeft: u,
|
|
1618
1619
|
quadrantTop: d,
|
|
1619
1620
|
quadrantWidth: f,
|
|
1620
|
-
quadrantHalfWidth:
|
|
1621
|
+
quadrantHalfWidth: f / 2,
|
|
1621
1622
|
quadrantHeight: p,
|
|
1622
|
-
quadrantHalfHeight:
|
|
1623
|
+
quadrantHalfHeight: p / 2
|
|
1623
1624
|
}
|
|
1624
1625
|
};
|
|
1625
1626
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./isArrayLikeObject-DU5MCuQM.js";
|
|
2
|
+
import "./isSymbol-CtkA8Y0a.js";
|
|
3
|
+
import "./toString-CbuxCRDG.js";
|
|
4
|
+
import "./toNumber-D3Ystr3y.js";
|
|
5
|
+
import "./_basePickBy-gCCvtjgp.js";
|
|
6
|
+
import "./_baseIsEqual-BFlyFUxC.js";
|
|
7
|
+
import "./_baseUniq-CKN9mEDq.js";
|
|
8
|
+
import "./chunk-4KMFLZZN-BirZvvJS.js";
|
|
9
|
+
import "./_baseProperty-BuqBC0Ie.js";
|
|
10
|
+
import "./memoize-D7eDkf3R.js";
|
|
11
|
+
import "./_baseSlice-CE9WsQZm.js";
|
|
12
|
+
import "./_arrayReduce-Cd9xQjbl.js";
|
|
13
|
+
import "./clone-CCgVUJ6x.js";
|
|
14
|
+
import "./min-Dwa_NbP6.js";
|
|
15
|
+
import "./isEmpty-Do_v2sls.js";
|
|
16
|
+
import "./main-BMTpe7M0.js";
|
|
17
|
+
import { n as createRadarServices, t as RadarModule } from "./chunk-WFRQ32O7-Dg51o277.js";
|
|
18
|
+
export {
|
|
19
|
+
RadarModule,
|
|
20
|
+
createRadarServices
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as _isIterateeCall_default, D as _overRest_default, N as _setToString_default } from "./isArrayLikeObject-
|
|
2
|
-
import { a as toFinite_default, r as flatten_default, t as _basePickBy_default } from "./_basePickBy-
|
|
3
|
-
import { n as hasIn_default } from "./_baseProperty-
|
|
1
|
+
import { C as _isIterateeCall_default, D as _overRest_default, N as _setToString_default } from "./isArrayLikeObject-DU5MCuQM.js";
|
|
2
|
+
import { a as toFinite_default, r as flatten_default, t as _basePickBy_default } from "./_basePickBy-gCCvtjgp.js";
|
|
3
|
+
import { n as hasIn_default } from "./_baseProperty-BuqBC0Ie.js";
|
|
4
4
|
function flatRest(e) {
|
|
5
5
|
return _setToString_default(_overRest_default(e, void 0, flatten_default), e + "");
|
|
6
6
|
}
|