@marimo-team/islands 0.25.2-dev9 → 0.25.2-dev90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-CqhQmp74.js → ConnectedDataExplorerComponent-BZmqc_F0.js} +11 -11
- package/dist/{ErrorBoundary-BK6f6roX.js → ErrorBoundary-Cmnsp7X-.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-aLGD44M7.js → abnfDiagram-VCTEODGH-C_Lmaa2j.js} +3 -3
- package/dist/{any-language-editor-dqxlUDlT.js → any-language-editor-BFzqhOBR.js} +5 -5
- package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-BGL5P81u.js → architectureDiagram-5GKGNRK7-BKMataHB.js} +5 -5
- package/dist/{asciiarmor-GKQFJXQG.js → asciiarmor-BWNxzkG7.js} +1 -1
- package/dist/{asn1-BsSb7HP5.js → asn1-Bcn2QutK.js} +1 -1
- package/dist/assets/__vite-browser-external-BqAtzd2P.js +1 -0
- package/dist/assets/{worker-D7hWi02M.js → worker-Bf8dt6S-.js} +5 -5
- package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
- package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-BeHOjyDk.js} +9 -9
- package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
- package/dist/{button-B0Xgl-Qn.js → button-BtsM2UqM.js} +300 -283
- package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-Bao10t_O.js} +7 -7
- package/dist/{capabilities-D7Ad8-zw.js → capabilities-A5jrzjCJ.js} +1 -1
- package/dist/{cells-5ppES-Un.js → cells-DZi0ioak.js} +4330 -4313
- package/dist/{channel-z7HZXHwv.js → channel-BxCkvUgE.js} +1 -1
- package/dist/{chat-ui-Dv2V95k6.js → chat-ui-CwOWzoSO.js} +46 -46
- package/dist/{check-DGZ74tV2.js → check-CNP79M3A.js} +1 -1
- package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-CH7Gpamd.js} +5 -5
- package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-AI7CvgKn.js} +1 -1
- package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BSvuTkX4.js} +1 -1
- package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-CLshwT9T.js} +1 -1
- package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-wnHcn-lH.js} +3 -3
- package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-7O2p8hut.js} +2 -2
- package/dist/{chunk-IMKFNOWR-Cm3RgLDj.js → chunk-IMKFNOWR-Bu0Vh_Yi.js} +6 -6
- package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-B9_Alrxb.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-PeQPH2fD.js} +6 -6
- package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-D9twiFuU.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-BUiNs18s.js} +1 -1
- package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-D8S9NPCy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DedDYSP5.js → chunk-SHT3W25Y-B2dyNZ31.js} +8 -8
- package/dist/{chunk-SVP7TREG-B2SFkCAL.js → chunk-SVP7TREG-D7UPvB10.js} +2 -2
- package/dist/{chunk-TICWLB2K-DB6hjNOL.js → chunk-TICWLB2K-BNaGoadd.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-Bbo2n384.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-xR8cGP0r.js +30 -0
- package/dist/{clike-E2lFbGVj.js → clike-CxK9W55Z.js} +1 -1
- package/dist/{clojure-Dn_K4RlK.js → clojure-Dzcvwpxk.js} +1 -1
- package/dist/{cmake-DpN2Top5.js → cmake-DYr-71zp.js} +1 -1
- package/dist/{cobol-Chf22-GM.js → cobol-DC3g37Kq.js} +1 -1
- package/dist/{code-visibility-Ba_h3MSI.js → code-visibility-B5ZN4pNx.js} +6 -6
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-0rJUT4CU.js → common-C0fEcRVO.js} +11904 -11621
- package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
- package/dist/{copy-icon-qmRg_VTX.js → copy-icon-BY7jgcaV.js} +3 -3
- package/dist/{crystal-DCM3yc4r.js → crystal-ih5ax5tQ.js} +1 -1
- package/dist/{css-DkZ9mMyI.js → css-CN_wP7_R.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-DzaZEqgD.js → cynefinDiagram-5FMLGOSQ-CCDn4Z9e.js} +3 -3
- package/dist/{cypher-Drw_8U5I.js → cypher-CqGRcmZo.js} +1 -1
- package/dist/{d-CsVGcKMF.js → d-Cj0sOW2z.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-Cjf5GjU3.js → dagre-GXQ25YYZ-BJiUO_SV.js} +10 -10
- package/dist/{data-grid-overlay-editor-DvZ8ZYHw.js → data-grid-overlay-editor-Cq0iaJqU.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-IhLt_khx.js → diagram-S7CK7UJ4-BZfxFNRR.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-CQc6KLPB.js → diagram-UQ7AKVKN-1xcsiIMg.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-DPAWJ9Nw.js} +2 -2
- package/dist/{diagram-VX7I27RA-DHmW9N1T.js → diagram-VX7I27RA-DmRsnHYY.js} +5 -5
- package/dist/{diagram-Z3DM3KII-zVKsg-Ty.js → diagram-Z3DM3KII--b49ryKx.js} +3 -3
- package/dist/{dialog-CILKhbsG.js → dialog-CmExhUDI.js} +26 -26
- package/dist/{diff-CBikYCUF.js → diff-B_hUkiat.js} +1 -1
- package/dist/{dist-Df0wKI0F.js → dist-BK4Oj99o.js} +1 -1
- package/dist/{dist-BVGtK7Ht.js → dist-BLfKmR-l.js} +1 -1
- package/dist/{dist-B8D7McG3.js → dist-BMQf5zIS.js} +46 -46
- package/dist/{dist-C2KzV-vf.js → dist-BorMD-uX.js} +2 -2
- package/dist/{dist-Cs2FijYk.js → dist-BuaRHxOc.js} +2 -2
- package/dist/{dist-DPcEtqmG.js → dist-Bvs24R_E.js} +47 -47
- package/dist/{dist-lA1Cttkb.js → dist-C8fAKSH1.js} +41 -41
- package/dist/{dist-DszxuxS1.js → dist-CLdpGQVr.js} +2 -2
- package/dist/{dist-CO1AwwG_.js → dist-CN8zI-XC.js} +209 -209
- package/dist/{dist-D1PpnuZB.js → dist-CN_BeG2I.js} +1 -1
- package/dist/{dist-CPGxfVGX.js → dist-CSJ0MDRw.js} +1 -1
- package/dist/{dist-Cm3iAFMD.js → dist-CSbh1PNP.js} +3 -3
- package/dist/{dist-9x1ZRe-e.js → dist-Cg7gzw-a.js} +2 -2
- package/dist/{dist-B1vYLK28.js → dist-CkTTIdBe.js} +345 -345
- package/dist/{dist-BRxfaJgs.js → dist-CrSP_H1M.js} +296 -296
- package/dist/{dist-C2wDlYdD.js → dist-D-wwqlzJ.js} +2 -2
- package/dist/{dist-BtKIs9N-.js → dist-D6d86eNJ.js} +1 -1
- package/dist/{dist-DHOTQar0.js → dist-DBtSl3sf.js} +1 -1
- package/dist/{dist-KzZ7WELx.js → dist-DiDibOYr.js} +120 -120
- package/dist/{dist-Kxgjxakw.js → dist-DoE4XJBC.js} +1277 -1222
- package/dist/{dist-BHCHt1NI.js → dist-F8Ep36rk.js} +1 -1
- package/dist/{dist-C8xMLVYi.js → dist-OR1OnN-y.js} +44 -44
- package/dist/{dist-1HDa70oE.js → dist-PXYI_yuP.js} +3 -3
- package/dist/{dist-CMh_W4y4.js → dist-diIx5qJW.js} +2 -2
- package/dist/{dockerfile-DJnSntVB.js → dockerfile-D0VKN500.js} +2 -2
- package/dist/dropdown-menu-Cz4TdOJh.js +4678 -0
- package/dist/{dtd-BHa4v0Bn.js → dtd-B8FGSWWe.js} +1 -1
- package/dist/{dylan-BypL2Zz8.js → dylan-DbIBYIrw.js} +1 -1
- package/dist/{ebnf-5guncNu-.js → ebnf-D-YbYLdk.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-DDd5hCRC.js → ebnfDiagram-PWID7BFC-rSwVyh4y.js} +3 -3
- package/dist/{ecl-iRcVIKYZ.js → ecl-DBmkdWAd.js} +1 -1
- package/dist/{eiffel-BEqF9aU4.js → eiffel-CcWSDDzK.js} +1 -1
- package/dist/{elm-DYcfNE9c.js → elm-MC-b8a6C.js} +1 -1
- package/dist/{erDiagram-RLTQ6QDP-D10NP0eI.js → erDiagram-RLTQ6QDP-Bfd3iAoC.js} +12 -12
- package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
- package/dist/error-banner-D30nA9nE.js +362 -0
- package/dist/{error-entries-B2Ux3Z2X.js → error-entries-BovkFYNy.js} +2 -2
- package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
- package/dist/{esm-h8f7-1CJ.js → esm-DAVrGVKP.js} +378 -372
- package/dist/{factor-3nzOwLuN.js → factor-Ys-13HOP.js} +2 -2
- package/dist/{fcl-C90TGnJJ.js → fcl-DnwditDr.js} +1 -1
- package/dist/{feedback-button-Bd-kdxIT.js → feedback-button-DpYfzMWP.js} +10 -10
- package/dist/flowDiagram-HODETNUW-D7IBKS12.js +16 -0
- package/dist/{formats-Q9gwlLyD.js → formats-DhhbdyAH.js} +3 -3
- package/dist/{forth-DEaRrLUi.js → forth-DiMuIXFe.js} +1 -1
- package/dist/{fortran-Bv6JRUjY.js → fortran-hkrF2eM4.js} +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-B4m_YsKa.js} +2 -2
- package/dist/{gas-JNerWj3-.js → gas-DlhqN9k8.js} +1 -1
- package/dist/{gherkin-CSrl-H70.js → gherkin-0SlhEZ3t.js} +1 -1
- package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-QRBbvWXh.js} +2 -2
- package/dist/{glide-data-editor-DrEBdhP5.js → glide-data-editor-DFtk9eMf.js} +11 -11
- package/dist/{glide-utils-CzzWU59p.js → glide-utils-BVJ4fkxX.js} +3 -3
- package/dist/{globals-BVhJcU-3.js → globals-XdDkDS89.js} +3 -3
- package/dist/{groovy-X7euO_vE.js → groovy-YhcTMyvX.js} +1 -1
- package/dist/{haskell-C48Z70Az.js → haskell-CodLxrtT.js} +1 -1
- package/dist/{haxe-CAUWMmwR.js → haxe-CiRWNFkH.js} +1 -1
- package/dist/{html-to-image-BZBwkkDG.js → html-to-image-Cn1_16-x.js} +543 -565
- package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
- package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
- package/dist/{infoDiagram-27XIBGKW-DrYu3UZC.js → infoDiagram-27XIBGKW-DVQFYvhg.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-pmkGQJsA.js → ishikawaDiagram-5VMMS53U-viPND-nm.js} +3 -3
- package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
- package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BeeJdJo3.js} +2 -2
- package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-wWGD9VLW.js → kanban-definition-UXKFOSKX-Dcl_ECO9.js} +9 -9
- package/dist/{label-MNhNNoN6.js → label-DQO1jFjf.js} +96 -93
- package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
- package/dist/{loader-C9OUkMrj.js → loader-Cm-ATtou.js} +1 -1
- package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
- package/dist/main.js +6866 -6746
- package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
- package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
- package/dist/{mermaid-Dfvntf3s.js → mermaid-BfhcnSj-.js} +54 -54
- package/dist/{mindmap-definition-YA3MSWOX-C2f1VIBR.js → mindmap-definition-YA3MSWOX-BdxxhF-5.js} +11 -11
- package/dist/{mirc-CqeibO3N.js → mirc-De9aSAZM.js} +1 -1
- package/dist/{mllike-D54QZYTP.js → mllike-BbugeaY_.js} +1 -1
- package/dist/{modelica-DuML2-8V.js → modelica-BjJwWw1F.js} +1 -1
- package/dist/{mscgen-CJmKwp3b.js → mscgen-DwiRH5ma.js} +1 -1
- package/dist/{mumps-DaVgFtkd.js → mumps--plbDM9o.js} +1 -1
- package/dist/{nginx-BXN1rqI0.js → nginx-C4Df7REc.js} +1 -1
- package/dist/{nsis-CMfRqf0V.js → nsis-fiiOqLc3.js} +7 -7
- package/dist/{ntriples-BiOGlMDR.js → ntriples-jV77I4k8.js} +1 -1
- package/dist/{number-overlay-editor-DthBBC83.js → number-overlay-editor-xPAwGgFC.js} +1 -1
- package/dist/{octave-CgVnzxKk.js → octave-Cztd01tF.js} +1 -1
- package/dist/{oz-B2mky97X.js → oz-Bl8o3BDl.js} +1 -1
- package/dist/{pascal-BoZhBf6s.js → pascal-BO5JqysR.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-D6v5dz4M.js → pegDiagram-XKGWAZYB-Du5p2s0w.js} +3 -3
- package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-BwFAhpYD.js → pieDiagram-E7YTZNPT-DJg-SOIq.js} +3 -3
- package/dist/{pig-B2mB-01d.js → pig-BWGR8wZw.js} +1 -1
- package/dist/{powershell-D0zT88Aj.js → powershell-DT99xlz_.js} +1 -1
- package/dist/{process-output-BSsWzfnY.js → process-output-CUG57KRp.js} +4 -4
- package/dist/{properties-3_5qCgOj.js → properties-Q-rkxld0.js} +1 -1
- package/dist/{protobuf-Dgoxfi1H.js → protobuf-DKyWZbs7.js} +1 -1
- package/dist/{pug-CNRdd8oG.js → pug-42ZJUbEC.js} +2 -2
- package/dist/{puppet-DzILxZfz.js → puppet-B4UozHhh.js} +1 -1
- package/dist/purify.es-DMv5zIkJ.js +866 -0
- package/dist/{python-AfVdMn_l.js → python-DREjAV__.js} +1 -1
- package/dist/{q-C6p-CGWh.js → q-Bi63IpBO.js} +1 -1
- package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-keLfFx9f.js} +1 -1
- package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-D6eOFr6Z.js → railroadDiagram-O6MQD6OU-C0ojm-6_.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-CHYsMgDR.js → requirementDiagram-BXWQKSXE-CNwNBmI3.js} +11 -11
- package/dist/{reveal-component-CX4Yqwsa.js → reveal-component-B_bLilty.js} +10 -10
- package/dist/{rpm-Bx7FkjTO.js → rpm-DPb1DeKM.js} +1 -1
- package/dist/{ruby-BMzgq2bf.js → ruby-U7fZA4DP.js} +2 -2
- package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-Bh4EsJox.js} +1 -1
- package/dist/{sas-ClGVnK3F.js → sas-CLk1JpTn.js} +1 -1
- package/dist/{scheme-C0MXqXep.js → scheme-CT-2k2Tl.js} +1 -1
- package/dist/select-Bs-nmvm6.js +1344 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-BPAknhBp.js → sequenceDiagram-WJ2MYXX4-DQaW5qBG.js} +4 -4
- package/dist/{shell-CiQZv6oG.js → shell-BLO7fcsk.js} +1 -1
- package/dist/{sieve-BiIMePvV.js → sieve-nG3C7WNH.js} +1 -1
- package/dist/{simple-mode-8ETW2RS6.js → simple-mode-C683Q7or.js} +1 -1
- package/dist/{smalltalk-9-llftyG.js → smalltalk-BROcZybA.js} +1 -1
- package/dist/{solr-CxCKEuwq.js → solr-mVltHNc5.js} +1 -1
- package/dist/{sparql-BRmy7pzx.js → sparql-Cv1Ksr4v.js} +1 -1
- package/dist/{spec-D62vWpMT.js → spec-DVsoMvYT.js} +116 -135
- package/dist/{spreadsheet-UCNUIGsn.js → spreadsheet-BwTnp5K_.js} +1 -1
- package/dist/{sql-D0hSGZ-H.js → sql-CjLt0122.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-Cq249IQ4.js → stateDiagram-D77RDMKH-BDa515QC.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-ChNddepZ.js +30 -0
- package/dist/{stex-UeT_Aofp.js → stex-Btf3omL8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{stylus-Fi4waA2H.js → stylus-Dt4VvLXL.js} +1 -1
- package/dist/{swift-NqPyaBye.js → swift-DHsn_CVI.js} +1 -1
- package/dist/{swimlanes-42K2YHIH-Bh_S_HKD.js → swimlanes-42K2YHIH-M4IdGi8J.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-FUSwmzEp.js +30 -0
- package/dist/{swiper-component-DkV7T44B.js → swiper-component-CpN-hewZ.js} +2 -2
- package/dist/{tcl-B4f0xfmM.js → tcl-CV0OLBOl.js} +1 -1
- package/dist/{textile-CnNbnPTe.js → textile-D320oKVM.js} +1 -1
- package/dist/{tiddlywiki-CSGSOg38.js → tiddlywiki-BVVNvfy4.js} +1 -1
- package/dist/{tiki-9F02WBA6.js → tiki-BF2aDPlB.js} +1 -1
- package/dist/{timeline-definition-24CTP7MA-ByNMgBE7.js → timeline-definition-24CTP7MA-DH-kvakg.js} +3 -3
- package/dist/{toDate-DWVp6uE1.js → toDate-vEi5kTfY.js} +4 -5
- package/dist/{toast-DcoJGS3-.js → toast-DfEpJedt.js} +157 -161
- package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
- package/dist/{tooltip-Bi36DgYh.js → tooltip-CuNWg2ay.js} +543 -579
- package/dist/{troff-DlfvveK1.js → troff-DQUFcClZ.js} +1 -1
- package/dist/{ttcn--YVSkGs_.js → ttcn-CQL1duJS.js} +1 -1
- package/dist/{ttcn-cfg-Bb1Knl_J.js → ttcn-cfg-BMmEFJPu.js} +1 -1
- package/dist/{turtle-DC24v1bz.js → turtle-C3esgsRr.js} +1 -1
- package/dist/{use-restore-focus-ZgG5Br63.js → use-restore-focus-kmgwrL8q.js} +1833 -1625
- package/dist/{useAsyncData-BD7NLQ3_.js → useAsyncData-rkAlR_vh.js} +1 -1
- package/dist/{useDateFormatter-D8XWr8lL.js → useDateFormatter-C-tz65rD.js} +52 -31
- package/dist/{useDeepCompareMemoize-CawMGSRU.js → useDeepCompareMemoize-BlHFBj5_.js} +1 -1
- package/dist/{useIframeCapabilities-BUMBOpsM.js → useIframeCapabilities-C1Bt04Iz.js} +1 -1
- package/dist/{useLifecycle-3vGhRa1o.js → useLifecycle-B68iY077.js} +3 -3
- package/dist/{useTheme-BOw801nZ.js → useTheme-BwSgeAFb.js} +2 -2
- package/dist/{vb-Dpc8vhvF.js → vb-RK1eDXRl.js} +1 -1
- package/dist/{vbscript-B-Y1XnZe.js → vbscript-BCOeM0de.js} +1 -1
- package/dist/{vega-component-9siY74NS.js → vega-component-C-bPttRN.js} +9 -9
- package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DY8CySdO.js → vennDiagram-4TSXK5OY-d5g7XeiI.js} +3 -3
- package/dist/{verilog-DhiEaoUl.js → verilog-DqQTzVn8.js} +1 -1
- package/dist/{vhdl-D4X23YKO.js → vhdl-vQr2bfmi.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DYC1AFni.js → wardleyDiagram-VM6X3IG4-BfX3bSzR.js} +3 -3
- package/dist/{webidl-SyzNxWpJ.js → webidl-DzX7N40e.js} +1 -1
- package/dist/{xquery-BC2R4Hk6.js → xquery-Cw_Q_hGR.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-Df8LLnuY.js → xychartDiagram-S5SC5T6Z-C1QsLZg7.js} +5 -5
- package/dist/{yacas-DLNXPMmH.js → yacas-DiC4jJBE.js} +1 -1
- package/dist/{z80-CDXWHOO6.js → z80-CUOQDEJO.js} +1 -1
- package/package.json +16 -16
- package/src/__tests__/mount.test.ts +6 -6
- package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
- package/src/components/chat/tool-call/tool-result.tsx +3 -3
- package/src/components/data-table/TableTopBar.tsx +4 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +1111 -14
- package/src/components/data-table/__tests__/pagination.test.tsx +85 -1
- package/src/components/data-table/__tests__/schemas.test.ts +57 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +25 -0
- package/src/components/data-table/charts/__tests__/spec.test.ts +26 -23
- package/src/components/data-table/charts/constants.ts +11 -10
- package/src/components/data-table/charts/types.ts +1 -0
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/export-actions.tsx +365 -81
- package/src/components/data-table/pagination.tsx +16 -2
- package/src/components/data-table/schemas.ts +90 -14
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +32 -46
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +29 -40
- package/src/components/editor/actions/pair-with-agent-commands.ts +3 -4
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -7
- package/src/components/editor/actions/useRestartKernel.tsx +2 -2
- package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +224 -17
- package/src/components/editor/alerts/connection-details.tsx +61 -0
- package/src/components/editor/alerts/connection-notice.tsx +46 -53
- package/src/components/editor/alerts/startup-progress.tsx +73 -129
- package/src/components/editor/app-container.tsx +2 -2
- package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +2 -2
- package/src/components/editor/cell/CreateCellButton.tsx +2 -2
- package/src/components/editor/cell/DeleteButton.tsx +2 -2
- package/src/components/editor/cell/RunButton.tsx +3 -3
- package/src/components/editor/cell/StopButton.tsx +2 -2
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +4 -4
- package/src/components/editor/chrome/components/feedback-button.tsx +3 -3
- package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +8 -8
- package/src/components/editor/chrome/panels/__tests__/{sandbox-details.test.tsx → runtime-details.test.tsx} +94 -22
- package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +4 -4
- package/src/components/editor/chrome/panels/packages-panel.tsx +8 -29
- package/src/components/editor/chrome/panels/{sandbox-details-state.ts → runtime-details-state.ts} +1 -1
- package/src/components/editor/chrome/panels/{sandbox-panel.tsx → runtime-panel.tsx} +38 -66
- package/src/components/editor/chrome/panels/runtime-status-toggle.tsx +56 -0
- package/src/components/editor/chrome/panels/sandbox-controller.tsx +2 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +3 -3
- package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +2 -2
- package/src/components/editor/controls/Controls.tsx +3 -3
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +2 -2
- package/src/components/editor/header/__tests__/status.test.tsx +4 -4
- package/src/components/editor/header/app-header.tsx +2 -2
- package/src/components/editor/header/status.tsx +3 -3
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/src/components/ui/__tests__/slider.test.tsx +30 -0
- package/src/components/ui/progress-stages.tsx +114 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +106 -5
- package/src/core/codemirror/lsp/notebook-lsp.ts +16 -2
- package/src/core/codemirror/readonly/__tests__/extension.test.ts +6 -6
- package/src/core/codemirror/readonly/extension.ts +2 -2
- package/src/core/config/pair.ts +0 -1
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +2 -2
- package/src/core/edit-app.tsx +5 -1
- package/src/core/export/hooks.ts +2 -2
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/kernel/session.ts +9 -0
- package/src/core/network/__tests__/connection.test.ts +3 -3
- package/src/core/network/connection-notice.ts +5 -5
- package/src/core/network/connection.ts +9 -9
- package/src/core/network/requests-lazy.ts +2 -2
- package/src/core/packages/__tests__/useSandboxController.test.tsx +2 -2
- package/src/core/packages/useSandboxController.ts +6 -6
- package/src/core/runtime/__tests__/adapter.test.ts +6 -6
- package/src/core/runtime/adapter.ts +7 -7
- package/src/core/runtime/config.ts +2 -2
- package/src/core/saving/filename.ts +2 -2
- package/src/core/saving/save-component.tsx +5 -5
- package/src/core/saving/useAutoSave.ts +2 -2
- package/src/core/wasm/__tests__/bootstrap.test.ts +33 -1
- package/src/core/wasm/worker/bootstrap.ts +22 -3
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +30 -25
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +5 -5
- package/src/core/websocket/connection-utils.ts +21 -21
- package/src/core/websocket/types.ts +8 -9
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -22
- package/src/css/katex.min.css +145 -144
- package/src/mount.tsx +2 -2
- package/src/plugins/core/__test__/registerReactComponent.test.ts +55 -0
- package/src/plugins/core/registerReactComponent.tsx +3 -1
- package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +23 -2
- package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DateRangePlugin.tsx +5 -3
- package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DropdownPlugin.tsx +1 -1
- package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
- package/src/plugins/impl/NumberPlugin.tsx +1 -1
- package/src/plugins/impl/RadioPlugin.tsx +5 -1
- package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
- package/src/plugins/impl/SearchableSelect.tsx +1 -1
- package/src/plugins/impl/SliderPlugin.tsx +1 -1
- package/src/plugins/impl/SwitchPlugin.tsx +6 -1
- package/src/plugins/impl/TextAreaPlugin.tsx +23 -4
- package/src/plugins/impl/TextInputPlugin.tsx +10 -2
- package/src/plugins/impl/__test__/text-labels.test.tsx +141 -0
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +65 -8
- package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/common/labeled.tsx +9 -3
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +15 -3
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +0 -22
- package/src/stories/cell.stories.tsx +2 -2
- package/src/stories/dataframe.stories.tsx +7 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +5 -5
- package/src/stories/progress-stages.stories.tsx +62 -0
- package/src/stories/runtime-existing.stories.tsx +44 -0
- package/src/stories/runtime-maintenance.stories.tsx +40 -0
- package/src/stories/runtime-pixi.stories.tsx +28 -0
- package/src/stories/{sandbox.stories.tsx → runtime-story.tsx} +191 -152
- package/src/stories/runtime-uv.stories.tsx +56 -0
- package/dist/assets/__vite-browser-external-C9iR87Zl.js +0 -1
- package/dist/classDiagram-ZZMXUADV-BwYhrSEX.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-HecM04TM.js +0 -30
- package/dist/dropdown-menu-BaqM0t4N.js +0 -4502
- package/dist/error-banner-DzAmP0AQ.js +0 -391
- package/dist/flowDiagram-HODETNUW-DgcjSdPV.js +0 -16
- package/dist/purify.es-DgKyQviY.js +0 -805
- package/dist/select-BcObMjGz.js +0 -970
- package/dist/stateDiagram-v2-MP3YSRHH-Dk5QgdXF.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-CbztusY8.js +0 -30
- package/src/components/editor/chrome/panels/sandbox-toggle.tsx +0 -52
|
@@ -0,0 +1,866 @@
|
|
|
1
|
+
//#region ../node_modules/.pnpm/dompurify@3.4.16/node_modules/dompurify/dist/purify.es.mjs
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
this.v = e, this.k = t;
|
|
4
|
+
}
|
|
5
|
+
function t(e, t) {
|
|
6
|
+
(t == null || t > e.length) && (t = e.length);
|
|
7
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
8
|
+
return r;
|
|
9
|
+
}
|
|
10
|
+
function n(e) {
|
|
11
|
+
if (Array.isArray(e)) return e;
|
|
12
|
+
}
|
|
13
|
+
function r(e, t) {
|
|
14
|
+
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
15
|
+
if (n != null) {
|
|
16
|
+
var r, i, a, o, s = [], c = !0, l = !1;
|
|
17
|
+
try {
|
|
18
|
+
if (a = (n = n.call(e)).next, t === 0) {
|
|
19
|
+
if (Object(n) !== n) return;
|
|
20
|
+
c = !1;
|
|
21
|
+
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
22
|
+
} catch (e) {
|
|
23
|
+
l = !0, i = e;
|
|
24
|
+
} finally {
|
|
25
|
+
try {
|
|
26
|
+
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
27
|
+
} finally {
|
|
28
|
+
if (l) throw i;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return s;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function i() {
|
|
35
|
+
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
36
|
+
}
|
|
37
|
+
function a(e, t) {
|
|
38
|
+
return n(e) || r(e, t) || o(e, t) || i();
|
|
39
|
+
}
|
|
40
|
+
function o(e, n) {
|
|
41
|
+
if (e) {
|
|
42
|
+
if (typeof e == "string") return t(e, n);
|
|
43
|
+
var r = {}.toString.call(e).slice(8, -1);
|
|
44
|
+
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? t(e, n) : void 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function s(t) {
|
|
48
|
+
var n, r;
|
|
49
|
+
function i(n, r) {
|
|
50
|
+
try {
|
|
51
|
+
var o = t[n](r), s = o.value, c = s instanceof e;
|
|
52
|
+
Promise.resolve(c ? s.v : s).then(function(e) {
|
|
53
|
+
if (c) {
|
|
54
|
+
var r = n === "return" && s.k ? n : "next";
|
|
55
|
+
if (!s.k || e.done) return i(r, e);
|
|
56
|
+
e = t[r](e).value;
|
|
57
|
+
}
|
|
58
|
+
a(!!o.done, e);
|
|
59
|
+
}, function(e) {
|
|
60
|
+
i("throw", e);
|
|
61
|
+
});
|
|
62
|
+
} catch (e) {
|
|
63
|
+
a(2, e);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function a(e, t) {
|
|
67
|
+
e === 2 ? n.reject(t) : n.resolve({
|
|
68
|
+
value: t,
|
|
69
|
+
done: e
|
|
70
|
+
}), (n = n.next) ? i(n.key, n.arg) : r = null;
|
|
71
|
+
}
|
|
72
|
+
this._invoke = function(e, t) {
|
|
73
|
+
return new Promise(function(a, o) {
|
|
74
|
+
var s = {
|
|
75
|
+
key: e,
|
|
76
|
+
arg: t,
|
|
77
|
+
resolve: a,
|
|
78
|
+
reject: o,
|
|
79
|
+
next: null
|
|
80
|
+
};
|
|
81
|
+
r ? r = r.next = s : (n = r = s, i(e, t));
|
|
82
|
+
});
|
|
83
|
+
}, typeof t.return != "function" && (this.return = void 0);
|
|
84
|
+
}
|
|
85
|
+
s.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
|
|
86
|
+
return this;
|
|
87
|
+
}, s.prototype.next = function(e) {
|
|
88
|
+
return this._invoke("next", e);
|
|
89
|
+
}, s.prototype.throw = function(e) {
|
|
90
|
+
return this._invoke("throw", e);
|
|
91
|
+
}, s.prototype.return = function(e) {
|
|
92
|
+
return this._invoke("return", e);
|
|
93
|
+
};
|
|
94
|
+
var c = Object.entries, l = Object.setPrototypeOf, u = Object.isFrozen, d = Object.getPrototypeOf, f = Object.getOwnPropertyDescriptor, p = Object.freeze, m = Object.seal, h = Object.create, ee = typeof Reflect < "u" && Reflect, te = ee.apply, ne = ee.construct;
|
|
95
|
+
p ||= function(e) {
|
|
96
|
+
return e;
|
|
97
|
+
}, m ||= function(e) {
|
|
98
|
+
return e;
|
|
99
|
+
}, te ||= function(e, t) {
|
|
100
|
+
var n = [...arguments].slice(2);
|
|
101
|
+
return e.apply(t, n);
|
|
102
|
+
}, ne ||= function(e) {
|
|
103
|
+
return new e(...[...arguments].slice(1));
|
|
104
|
+
};
|
|
105
|
+
var g = w(Array.prototype.forEach);
|
|
106
|
+
Array.prototype.indexOf;
|
|
107
|
+
var re = w(Array.prototype.lastIndexOf), ie = w(Array.prototype.pop), ae = w(Array.prototype.push);
|
|
108
|
+
Array.prototype.slice;
|
|
109
|
+
var oe = w(Array.prototype.splice), _ = Array.isArray, se = w(String.prototype.toLowerCase), ce = w(String.prototype.toString), le = w(String.prototype.match), ue = w(String.prototype.replace), de = w(String.prototype.indexOf), fe = w(String.prototype.trim), pe = w(Number.prototype.toString), v = w(Boolean.prototype.toString), y = typeof BigInt > "u" ? null : w(BigInt.prototype.toString), me = typeof Symbol > "u" ? null : w(Symbol.prototype.toString), b = w(Object.prototype.hasOwnProperty), x = w(Object.prototype.toString), S = w(RegExp.prototype.test), C = T(TypeError);
|
|
110
|
+
function w(e) {
|
|
111
|
+
return function(t) {
|
|
112
|
+
t instanceof RegExp && (t.lastIndex = 0);
|
|
113
|
+
var n = [...arguments].slice(1);
|
|
114
|
+
return te(e, t, n);
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function T(e) {
|
|
118
|
+
return function() {
|
|
119
|
+
return ne(e, [...arguments]);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function E(e, t) {
|
|
123
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : se;
|
|
124
|
+
if (l && l(e, null), !_(t)) return e;
|
|
125
|
+
let r = t.length;
|
|
126
|
+
for (; r--;) {
|
|
127
|
+
let i = t[r];
|
|
128
|
+
if (typeof i == "string") {
|
|
129
|
+
let e = n(i);
|
|
130
|
+
e !== i && (u(t) || (t[r] = e), i = e);
|
|
131
|
+
}
|
|
132
|
+
e[i] = !0;
|
|
133
|
+
}
|
|
134
|
+
return e;
|
|
135
|
+
}
|
|
136
|
+
function he(e) {
|
|
137
|
+
for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
|
|
138
|
+
return e;
|
|
139
|
+
}
|
|
140
|
+
function D(e) {
|
|
141
|
+
let t = h(null);
|
|
142
|
+
for (let r of c(e)) {
|
|
143
|
+
var n = a(r, 2);
|
|
144
|
+
let i = n[0], o = n[1];
|
|
145
|
+
b(e, i) && (t[i] = _(o) ? he(o) : o && typeof o == "object" && o.constructor === Object ? D(o) : o);
|
|
146
|
+
}
|
|
147
|
+
return t;
|
|
148
|
+
}
|
|
149
|
+
function ge(e) {
|
|
150
|
+
switch (typeof e) {
|
|
151
|
+
case "string": return e;
|
|
152
|
+
case "number": return pe(e);
|
|
153
|
+
case "boolean": return v(e);
|
|
154
|
+
case "bigint": return y ? y(e) : "0";
|
|
155
|
+
case "symbol": return me ? me(e) : "Symbol()";
|
|
156
|
+
case "undefined": return x(e);
|
|
157
|
+
case "function":
|
|
158
|
+
case "object": {
|
|
159
|
+
if (e === null) return x(e);
|
|
160
|
+
let t = e, n = O(t, "toString");
|
|
161
|
+
if (typeof n == "function") {
|
|
162
|
+
let e = n(t);
|
|
163
|
+
return typeof e == "string" ? e : x(e);
|
|
164
|
+
}
|
|
165
|
+
return x(e);
|
|
166
|
+
}
|
|
167
|
+
default: return x(e);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
function O(e, t) {
|
|
171
|
+
for (; e !== null;) {
|
|
172
|
+
let n = f(e, t);
|
|
173
|
+
if (n) {
|
|
174
|
+
if (n.get) return w(n.get);
|
|
175
|
+
if (typeof n.value == "function") return w(n.value);
|
|
176
|
+
}
|
|
177
|
+
e = d(e);
|
|
178
|
+
}
|
|
179
|
+
function n() {
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
return n;
|
|
183
|
+
}
|
|
184
|
+
function _e(e) {
|
|
185
|
+
try {
|
|
186
|
+
return S(e, ""), !0;
|
|
187
|
+
} catch {
|
|
188
|
+
return !1;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
var ve = p(/* @__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.search.section.select.shadow.slot.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(".")), ye = p(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), be = p([
|
|
192
|
+
"feBlend",
|
|
193
|
+
"feColorMatrix",
|
|
194
|
+
"feComponentTransfer",
|
|
195
|
+
"feComposite",
|
|
196
|
+
"feConvolveMatrix",
|
|
197
|
+
"feDiffuseLighting",
|
|
198
|
+
"feDisplacementMap",
|
|
199
|
+
"feDistantLight",
|
|
200
|
+
"feDropShadow",
|
|
201
|
+
"feFlood",
|
|
202
|
+
"feFuncA",
|
|
203
|
+
"feFuncB",
|
|
204
|
+
"feFuncG",
|
|
205
|
+
"feFuncR",
|
|
206
|
+
"feGaussianBlur",
|
|
207
|
+
"feImage",
|
|
208
|
+
"feMerge",
|
|
209
|
+
"feMergeNode",
|
|
210
|
+
"feMorphology",
|
|
211
|
+
"feOffset",
|
|
212
|
+
"fePointLight",
|
|
213
|
+
"feSpecularLighting",
|
|
214
|
+
"feSpotLight",
|
|
215
|
+
"feTile",
|
|
216
|
+
"feTurbulence"
|
|
217
|
+
]), xe = p([
|
|
218
|
+
"animate",
|
|
219
|
+
"color-profile",
|
|
220
|
+
"cursor",
|
|
221
|
+
"discard",
|
|
222
|
+
"font-face",
|
|
223
|
+
"font-face-format",
|
|
224
|
+
"font-face-name",
|
|
225
|
+
"font-face-src",
|
|
226
|
+
"font-face-uri",
|
|
227
|
+
"foreignobject",
|
|
228
|
+
"hatch",
|
|
229
|
+
"hatchpath",
|
|
230
|
+
"mesh",
|
|
231
|
+
"meshgradient",
|
|
232
|
+
"meshpatch",
|
|
233
|
+
"meshrow",
|
|
234
|
+
"missing-glyph",
|
|
235
|
+
"script",
|
|
236
|
+
"set",
|
|
237
|
+
"solidcolor",
|
|
238
|
+
"unknown",
|
|
239
|
+
"use"
|
|
240
|
+
]), Se = p(/* @__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(".")), Ce = p([
|
|
241
|
+
"maction",
|
|
242
|
+
"maligngroup",
|
|
243
|
+
"malignmark",
|
|
244
|
+
"mlongdiv",
|
|
245
|
+
"mscarries",
|
|
246
|
+
"mscarry",
|
|
247
|
+
"msgroup",
|
|
248
|
+
"mstack",
|
|
249
|
+
"msline",
|
|
250
|
+
"msrow",
|
|
251
|
+
"semantics",
|
|
252
|
+
"annotation",
|
|
253
|
+
"annotation-xml",
|
|
254
|
+
"mprescripts",
|
|
255
|
+
"none"
|
|
256
|
+
]), we = p(["#text"]), Te = p(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.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.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Ee = p(/* @__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.dominant-baseline.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.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.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-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.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(".")), De = p(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.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(".")), Oe = p([
|
|
257
|
+
"xlink:href",
|
|
258
|
+
"xml:id",
|
|
259
|
+
"xlink:title",
|
|
260
|
+
"xml:space",
|
|
261
|
+
"xmlns:xlink"
|
|
262
|
+
]), ke = m(/{{[\w\W]*|^[\w\W]*}}/g), Ae = m(/<%[\w\W]*|^[\w\W]*%>/g), je = m(/\${[\w\W]*/g), Me = m(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ne = m(/^aria-[\-\w]+$/), Pe = m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Fe = m(/^(?:\w+script|data):/i), Ie = m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Le = m(/^html$/i), Re = m(/^[a-z][.\w]*(-[.\w]+)+$/i), ze = m(/<[/\w!]/g), Be = m(/<[/\w]/g), Ve = m(/<\/no(script|embed|frames)/i), He = m(/\/>/i), k = {
|
|
263
|
+
element: 1,
|
|
264
|
+
attribute: 2,
|
|
265
|
+
text: 3,
|
|
266
|
+
cdataSection: 4,
|
|
267
|
+
entityReference: 5,
|
|
268
|
+
entityNode: 6,
|
|
269
|
+
processingInstruction: 7,
|
|
270
|
+
comment: 8,
|
|
271
|
+
document: 9,
|
|
272
|
+
documentType: 10,
|
|
273
|
+
documentFragment: 11,
|
|
274
|
+
notation: 12
|
|
275
|
+
}, A = [
|
|
276
|
+
"style",
|
|
277
|
+
"script",
|
|
278
|
+
"xmp",
|
|
279
|
+
"iframe",
|
|
280
|
+
"noembed",
|
|
281
|
+
"noframes",
|
|
282
|
+
"plaintext",
|
|
283
|
+
"noscript"
|
|
284
|
+
], Ue = p(E({}, A)), We = function() {
|
|
285
|
+
let e = {};
|
|
286
|
+
return g(A, (t) => {
|
|
287
|
+
e[t] = m(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
|
|
288
|
+
}), p(e);
|
|
289
|
+
}(), Ge = function() {
|
|
290
|
+
return typeof window > "u" ? null : window;
|
|
291
|
+
}, Ke = function(e, t) {
|
|
292
|
+
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
293
|
+
let n = null, r = "data-tt-policy-suffix";
|
|
294
|
+
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
295
|
+
let i = "dompurify" + (n ? "#" + n : "");
|
|
296
|
+
try {
|
|
297
|
+
return e.createPolicy(i, {
|
|
298
|
+
createHTML(e) {
|
|
299
|
+
return e;
|
|
300
|
+
},
|
|
301
|
+
createScriptURL(e) {
|
|
302
|
+
return e;
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
} catch {
|
|
306
|
+
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
307
|
+
}
|
|
308
|
+
}, qe = function() {
|
|
309
|
+
return {
|
|
310
|
+
afterSanitizeAttributes: [],
|
|
311
|
+
afterSanitizeElements: [],
|
|
312
|
+
afterSanitizeShadowDOM: [],
|
|
313
|
+
beforeSanitizeAttributes: [],
|
|
314
|
+
beforeSanitizeElements: [],
|
|
315
|
+
beforeSanitizeShadowDOM: [],
|
|
316
|
+
uponSanitizeAttribute: [],
|
|
317
|
+
uponSanitizeElement: [],
|
|
318
|
+
uponSanitizeShadowNode: []
|
|
319
|
+
};
|
|
320
|
+
}, j = function(e, t, n, r) {
|
|
321
|
+
return b(e, t) && _(e[t]) ? E(r.base ? D(r.base) : {}, e[t], r.transform) : n;
|
|
322
|
+
}, Je = function(e, t, n) {
|
|
323
|
+
let r = b(e, t) ? e[t] : void 0;
|
|
324
|
+
return r && typeof r == "object" ? D(r) : n();
|
|
325
|
+
};
|
|
326
|
+
function Ye() {
|
|
327
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ge(), t = (e) => Ye(e);
|
|
328
|
+
if (t.version = "3.4.16", t.removed = [], !e || !e.document || e.document.nodeType !== k.document || !e.Element) return t.isSupported = !1, t;
|
|
329
|
+
let n = e.document, r = n, i = r.currentScript;
|
|
330
|
+
e.DocumentFragment;
|
|
331
|
+
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, l = e.NodeFilter;
|
|
332
|
+
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
333
|
+
let u = e.DOMParser, d = e.trustedTypes, f = s.prototype, ee = O(f, "cloneNode"), te = O(f, "remove"), ne = O(f, "removeAttributeNode"), pe = O(f, "nextSibling"), v = O(f, "childNodes"), y = O(f, "parentNode"), me = O(f, "shadowRoot"), x = O(f, "attributes"), w = o && o.prototype ? O(o.prototype, "nodeType") : null, T = o && o.prototype ? O(o.prototype, "nodeName") : null, he = o && o.prototype ? O(o.prototype, "ownerDocument") : null, A = function(e) {
|
|
334
|
+
return w ? w(e) : e.nodeType;
|
|
335
|
+
}, Xe = function(e) {
|
|
336
|
+
return T ? T(e) : e.nodeName;
|
|
337
|
+
};
|
|
338
|
+
if (typeof a == "function") {
|
|
339
|
+
let e = n.createElement("template");
|
|
340
|
+
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
341
|
+
}
|
|
342
|
+
let M, N = "", Ze, Qe = !1, $e = 0, et = function() {
|
|
343
|
+
if ($e > 0) throw C("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
344
|
+
}, P = function(e) {
|
|
345
|
+
et(), $e++;
|
|
346
|
+
try {
|
|
347
|
+
return M.createHTML(e);
|
|
348
|
+
} finally {
|
|
349
|
+
$e--;
|
|
350
|
+
}
|
|
351
|
+
}, tt = function(e) {
|
|
352
|
+
et(), $e++;
|
|
353
|
+
try {
|
|
354
|
+
return M.createScriptURL(e);
|
|
355
|
+
} finally {
|
|
356
|
+
$e--;
|
|
357
|
+
}
|
|
358
|
+
}, nt = function() {
|
|
359
|
+
return Qe ||= (Ze = Ke(d, i), !0), Ze;
|
|
360
|
+
}, rt = n, it = rt.implementation, at = rt.createNodeIterator, ot = rt.createDocumentFragment, st = rt.getElementsByTagName, ct = r.importNode, F = qe();
|
|
361
|
+
t.isSupported = typeof c == "function" && typeof y == "function" && it && it.createHTMLDocument !== void 0;
|
|
362
|
+
let lt = ke, ut = Ae, dt = je, ft = Me, pt = Ne, mt = Fe, ht = Ie, gt = Re, _t = Pe, I = null, vt = E({}, [
|
|
363
|
+
...ve,
|
|
364
|
+
...ye,
|
|
365
|
+
...be,
|
|
366
|
+
...Se,
|
|
367
|
+
...we
|
|
368
|
+
]), L = null, yt = E({}, [
|
|
369
|
+
...Te,
|
|
370
|
+
...Ee,
|
|
371
|
+
...De,
|
|
372
|
+
...Oe
|
|
373
|
+
]), R = Object.seal(h(null, {
|
|
374
|
+
tagNameCheck: {
|
|
375
|
+
writable: !0,
|
|
376
|
+
configurable: !1,
|
|
377
|
+
enumerable: !0,
|
|
378
|
+
value: null
|
|
379
|
+
},
|
|
380
|
+
attributeNameCheck: {
|
|
381
|
+
writable: !0,
|
|
382
|
+
configurable: !1,
|
|
383
|
+
enumerable: !0,
|
|
384
|
+
value: null
|
|
385
|
+
},
|
|
386
|
+
allowCustomizedBuiltInElements: {
|
|
387
|
+
writable: !0,
|
|
388
|
+
configurable: !1,
|
|
389
|
+
enumerable: !0,
|
|
390
|
+
value: !1
|
|
391
|
+
}
|
|
392
|
+
})), bt = null, xt = null, z = Object.seal(h(null, {
|
|
393
|
+
tagCheck: {
|
|
394
|
+
writable: !0,
|
|
395
|
+
configurable: !1,
|
|
396
|
+
enumerable: !0,
|
|
397
|
+
value: null
|
|
398
|
+
},
|
|
399
|
+
attributeCheck: {
|
|
400
|
+
writable: !0,
|
|
401
|
+
configurable: !1,
|
|
402
|
+
enumerable: !0,
|
|
403
|
+
value: null
|
|
404
|
+
}
|
|
405
|
+
})), St = !0, Ct = !0, wt = !1, Tt = !0, B = !1, V = !0, H = !1, Et = !1, Dt = null, Ot = null, kt = !1, U = !1, At = !1, jt = !1, Mt = !0, Nt = !1, Pt = "user-content-", Ft = !0, It = !1, W = {}, G = null, Lt = E({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Rt = null, zt = E({}, [
|
|
406
|
+
"audio",
|
|
407
|
+
"video",
|
|
408
|
+
"img",
|
|
409
|
+
"source",
|
|
410
|
+
"image",
|
|
411
|
+
"track"
|
|
412
|
+
]), Bt = null, Vt = E({}, [
|
|
413
|
+
"alt",
|
|
414
|
+
"class",
|
|
415
|
+
"for",
|
|
416
|
+
"id",
|
|
417
|
+
"label",
|
|
418
|
+
"name",
|
|
419
|
+
"pattern",
|
|
420
|
+
"placeholder",
|
|
421
|
+
"role",
|
|
422
|
+
"summary",
|
|
423
|
+
"title",
|
|
424
|
+
"value",
|
|
425
|
+
"style",
|
|
426
|
+
"xmlns"
|
|
427
|
+
]), Ht = "http://www.w3.org/1998/Math/MathML", Ut = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, Wt = !1, Gt = null, Kt = E({}, [
|
|
428
|
+
Ht,
|
|
429
|
+
Ut,
|
|
430
|
+
K
|
|
431
|
+
], ce), qt = p([
|
|
432
|
+
"mi",
|
|
433
|
+
"mo",
|
|
434
|
+
"mn",
|
|
435
|
+
"ms",
|
|
436
|
+
"mtext"
|
|
437
|
+
]), Jt = E({}, qt), Yt = p(["annotation-xml"]), Xt = E({}, Yt), Zt = E({}, [
|
|
438
|
+
"title",
|
|
439
|
+
"style",
|
|
440
|
+
"font",
|
|
441
|
+
"a",
|
|
442
|
+
"script"
|
|
443
|
+
]), Qt = null, $t = ["application/xhtml+xml", "text/html"], J = null, Y = null, en = n.createElement("form"), tn = function(e) {
|
|
444
|
+
return e instanceof RegExp || e instanceof Function;
|
|
445
|
+
}, nn = function() {
|
|
446
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
447
|
+
if (Y && Y === e) return;
|
|
448
|
+
(!e || typeof e != "object") && (e = {}), e = D(e), Qt = $t.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Qt === "application/xhtml+xml" ? ce : se, I = j(e, "ALLOWED_TAGS", vt, { transform: J }), L = j(e, "ALLOWED_ATTR", yt, { transform: J }), Gt = j(e, "ALLOWED_NAMESPACES", Kt, { transform: ce }), Bt = j(e, "ADD_URI_SAFE_ATTR", Vt, {
|
|
449
|
+
transform: J,
|
|
450
|
+
base: Vt
|
|
451
|
+
}), Rt = j(e, "ADD_DATA_URI_TAGS", zt, {
|
|
452
|
+
transform: J,
|
|
453
|
+
base: zt
|
|
454
|
+
}), G = j(e, "FORBID_CONTENTS", Lt, { transform: J }), bt = j(e, "FORBID_TAGS", D({}), { transform: J }), xt = j(e, "FORBID_ATTR", D({}), { transform: J }), W = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? D(e.USE_PROFILES) : e.USE_PROFILES : !1, St = e.ALLOW_ARIA_ATTR !== !1, Ct = e.ALLOW_DATA_ATTR !== !1, wt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Tt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, V = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, U = e.RETURN_DOM || !1, At = e.RETURN_DOM_FRAGMENT || !1, jt = e.RETURN_TRUSTED_TYPE || !1, kt = e.FORCE_BODY || !1, Mt = e.SANITIZE_DOM !== !1, Nt = e.SANITIZE_NAMED_PROPS || !1, Ft = e.KEEP_CONTENT !== !1, It = e.IN_PLACE || !1, _t = _e(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Pe, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Jt = Je(e, "MATHML_TEXT_INTEGRATION_POINTS", () => E({}, qt)), Xt = Je(e, "HTML_INTEGRATION_POINTS", () => E({}, Yt));
|
|
455
|
+
let t = Je(e, "CUSTOM_ELEMENT_HANDLING", () => h(null));
|
|
456
|
+
if (R = h(null), b(t, "tagNameCheck") && tn(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && tn(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), m(R), B && (Ct = !1), At && (U = !0), W && (I = E({}, we), L = h(null), W.html === !0 && (E(I, ve), E(L, Te)), W.svg === !0 && (E(I, ye), E(L, Ee), E(L, Oe)), W.svgFilters === !0 && (E(I, be), E(L, Ee), E(L, Oe)), W.mathMl === !0 && (E(I, Se), E(L, De), E(L, Oe))), z.tagCheck = null, z.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (I === vt && (I = D(I)), E(I, e.ADD_TAGS, J))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (L === yt && (L = D(L)), E(L, e.ADD_ATTR, J))), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (G === Lt && (G = D(G)), E(G, e.ADD_FORBID_CONTENTS, J)), Ft && (I["#text"] = !0), H && E(I, [
|
|
457
|
+
"html",
|
|
458
|
+
"head",
|
|
459
|
+
"body"
|
|
460
|
+
]), I.table && (E(I, ["tbody"]), delete bt.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
461
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
462
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
463
|
+
let t = M;
|
|
464
|
+
M = e.TRUSTED_TYPES_POLICY;
|
|
465
|
+
try {
|
|
466
|
+
N = P("");
|
|
467
|
+
} catch (e) {
|
|
468
|
+
throw M = t, e;
|
|
469
|
+
}
|
|
470
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (M = void 0, N = "") : (M === void 0 && (M = nt()), M && typeof N == "string" && (N = P("")));
|
|
471
|
+
p && p(e), Y = e;
|
|
472
|
+
}, rn = E({}, [
|
|
473
|
+
...ye,
|
|
474
|
+
...be,
|
|
475
|
+
...xe
|
|
476
|
+
]), an = E({}, [...Se, ...Ce]), on = function(e, t, n) {
|
|
477
|
+
return t.namespaceURI === K ? e === "svg" : t.namespaceURI === Ht ? e === "svg" && (n === "annotation-xml" || Jt[n]) : !!rn[e];
|
|
478
|
+
}, sn = function(e, t, n) {
|
|
479
|
+
return t.namespaceURI === K ? e === "math" : t.namespaceURI === Ut ? e === "math" && Xt[n] : !!an[e];
|
|
480
|
+
}, cn = function(e, t, n) {
|
|
481
|
+
return t.namespaceURI === Ut && !Xt[n] || t.namespaceURI === Ht && !Jt[n] ? !1 : !an[e] && (Zt[e] || !rn[e]);
|
|
482
|
+
}, ln = function(e) {
|
|
483
|
+
let t = y(e);
|
|
484
|
+
(!t || !t.tagName) && (t = {
|
|
485
|
+
namespaceURI: q,
|
|
486
|
+
tagName: "template"
|
|
487
|
+
});
|
|
488
|
+
let n = se(e.tagName), r = se(t.tagName);
|
|
489
|
+
return Gt[e.namespaceURI] ? e.namespaceURI === Ut ? on(n, t, r) : e.namespaceURI === Ht ? sn(n, t, r) : e.namespaceURI === K ? cn(n, t, r) : !!(Qt === "application/xhtml+xml" && Gt[e.namespaceURI]) : !1;
|
|
490
|
+
}, X = function(e) {
|
|
491
|
+
ae(t.removed, { element: e });
|
|
492
|
+
try {
|
|
493
|
+
y(e).removeChild(e);
|
|
494
|
+
} catch {
|
|
495
|
+
if (te(e), !y(e)) throw C("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
496
|
+
}
|
|
497
|
+
}, un = function(e, t, n) {
|
|
498
|
+
try {
|
|
499
|
+
ne(e, t);
|
|
500
|
+
} catch {
|
|
501
|
+
try {
|
|
502
|
+
e.removeAttribute(n);
|
|
503
|
+
} catch {}
|
|
504
|
+
}
|
|
505
|
+
}, dn = function(e) {
|
|
506
|
+
pn(e);
|
|
507
|
+
let t = v(e);
|
|
508
|
+
if (t) {
|
|
509
|
+
let e = [];
|
|
510
|
+
g(t, (t) => {
|
|
511
|
+
ae(e, t);
|
|
512
|
+
}), g(e, (e) => {
|
|
513
|
+
try {
|
|
514
|
+
te(e);
|
|
515
|
+
} catch {}
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
let n = x(e);
|
|
519
|
+
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
520
|
+
let r = n[t], i = r && r.name;
|
|
521
|
+
typeof i == "string" && un(e, r, i);
|
|
522
|
+
}
|
|
523
|
+
}, Z = function(e, n, r) {
|
|
524
|
+
if (!r) try {
|
|
525
|
+
r = n.getAttributeNode(e);
|
|
526
|
+
} catch {
|
|
527
|
+
r = null;
|
|
528
|
+
}
|
|
529
|
+
ae(t.removed, {
|
|
530
|
+
attribute: r || null,
|
|
531
|
+
from: n
|
|
532
|
+
});
|
|
533
|
+
try {
|
|
534
|
+
r ? ne(n, r) : n.removeAttribute(e);
|
|
535
|
+
} catch {
|
|
536
|
+
try {
|
|
537
|
+
n.removeAttribute(e);
|
|
538
|
+
} catch {}
|
|
539
|
+
}
|
|
540
|
+
if (e === "is") {
|
|
541
|
+
if (U || At) try {
|
|
542
|
+
X(n);
|
|
543
|
+
} catch {}
|
|
544
|
+
else try {
|
|
545
|
+
n.setAttribute(e, "");
|
|
546
|
+
} catch {}
|
|
547
|
+
}
|
|
548
|
+
}, fn = function(e) {
|
|
549
|
+
let t = x(e);
|
|
550
|
+
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
551
|
+
let r = t[n], i = r && r.name;
|
|
552
|
+
typeof i != "string" || L[J(i)] || un(e, r, i);
|
|
553
|
+
}
|
|
554
|
+
}, pn = function(e) {
|
|
555
|
+
let t = [e];
|
|
556
|
+
for (; t.length > 0;) {
|
|
557
|
+
let e = t.pop();
|
|
558
|
+
A(e) === k.element && fn(e);
|
|
559
|
+
let n = v(e);
|
|
560
|
+
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
561
|
+
}
|
|
562
|
+
}, mn = function(e, t) {
|
|
563
|
+
return V ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
|
|
564
|
+
}, hn = function(e) {
|
|
565
|
+
if (!V) return;
|
|
566
|
+
let t = [e];
|
|
567
|
+
for (; t.length > 0;) {
|
|
568
|
+
let e = t.pop(), n = A(e);
|
|
569
|
+
if (n === k.processingInstruction || n === k.comment && S(Be, e.data)) {
|
|
570
|
+
try {
|
|
571
|
+
te(e);
|
|
572
|
+
} catch {}
|
|
573
|
+
continue;
|
|
574
|
+
}
|
|
575
|
+
if (n === k.element) {
|
|
576
|
+
let t = e, n = J(Xe(e));
|
|
577
|
+
try {
|
|
578
|
+
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && mn("for", n) && t.removeAttribute("for");
|
|
579
|
+
} catch {}
|
|
580
|
+
}
|
|
581
|
+
let r = v(e);
|
|
582
|
+
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
583
|
+
}
|
|
584
|
+
}, gn = function(e) {
|
|
585
|
+
let t = null, r = null;
|
|
586
|
+
if (kt) e = "<remove></remove>" + e;
|
|
587
|
+
else {
|
|
588
|
+
let t = le(e, /^[\r\n\t ]+/);
|
|
589
|
+
r = t && t[0];
|
|
590
|
+
}
|
|
591
|
+
Qt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
592
|
+
let i = M ? P(e) : e;
|
|
593
|
+
if (q === K) try {
|
|
594
|
+
t = new u().parseFromString(i, Qt);
|
|
595
|
+
} catch {}
|
|
596
|
+
if (!t || !t.documentElement) {
|
|
597
|
+
t = it.createDocument(q, "template", null);
|
|
598
|
+
try {
|
|
599
|
+
t.documentElement.innerHTML = Wt ? N : i;
|
|
600
|
+
} catch {}
|
|
601
|
+
}
|
|
602
|
+
let a = t.body || t.documentElement;
|
|
603
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? st.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
|
|
604
|
+
}, _n = function(e) {
|
|
605
|
+
let t = he ? he(e) : e.ownerDocument;
|
|
606
|
+
return at.call(t || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
607
|
+
}, vn = function(e) {
|
|
608
|
+
return e = ue(e, lt, " "), e = ue(e, ut, " "), e = ue(e, dt, " "), e;
|
|
609
|
+
}, yn = function(e) {
|
|
610
|
+
e.normalize();
|
|
611
|
+
let t = he ? he(e) : e.ownerDocument, n = at.call(t || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
612
|
+
for (; r;) r.data = vn(r.data), r = n.nextNode();
|
|
613
|
+
let i = e.querySelectorAll?.call(e, "template");
|
|
614
|
+
i && g(i, (e) => {
|
|
615
|
+
xn(e.content) && yn(e.content);
|
|
616
|
+
});
|
|
617
|
+
}, bn = function(e) {
|
|
618
|
+
let t = T ? T(e) : null;
|
|
619
|
+
return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== x(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== w(e) || e.childNodes !== v(e);
|
|
620
|
+
}, xn = function(e) {
|
|
621
|
+
if (!w || typeof e != "object" || !e) return !1;
|
|
622
|
+
try {
|
|
623
|
+
return w(e) === k.documentFragment;
|
|
624
|
+
} catch {
|
|
625
|
+
return !1;
|
|
626
|
+
}
|
|
627
|
+
}, Sn = function(e) {
|
|
628
|
+
if (!w || typeof e != "object" || !e) return !1;
|
|
629
|
+
try {
|
|
630
|
+
return typeof w(e) == "number";
|
|
631
|
+
} catch {
|
|
632
|
+
return !1;
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
function Q(e, n, r) {
|
|
636
|
+
e.length !== 0 && g(e, (e) => {
|
|
637
|
+
e.call(t, n, r, Y);
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
let Cn = function(e, t) {
|
|
641
|
+
return !!(V && e.hasChildNodes() && !Sn(e.firstElementChild) && S(ze, e.textContent) && S(ze, e.innerHTML) || V && e.namespaceURI === K && Ue[t] && (Sn(e.firstElementChild) || typeof e.textContent == "string" && S(We[t], e.textContent)) || e.nodeType === k.processingInstruction || V && e.nodeType === k.comment && S(Be, e.data));
|
|
642
|
+
}, wn = function(e, t) {
|
|
643
|
+
return e instanceof RegExp ? S(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
|
|
644
|
+
}, Tn = function(e, t, n) {
|
|
645
|
+
if (!bt[t] && An(t) && wn(R.tagNameCheck, t)) return !1;
|
|
646
|
+
if (Ft && !G[t]) {
|
|
647
|
+
let t = y(e), r = v(e);
|
|
648
|
+
if (r && t) {
|
|
649
|
+
let i = r.length;
|
|
650
|
+
for (let a = i - 1; a >= 0; --a) {
|
|
651
|
+
let i = e === n ? ee(r[a], !0) : r[a];
|
|
652
|
+
t.insertBefore(i, pe(e));
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
return X(e), !0;
|
|
657
|
+
}, En = function(e, t, n, r) {
|
|
658
|
+
return e.length === 0 ? t : t === n || t === r ? D(t) : t;
|
|
659
|
+
}, $ = function(e, t) {
|
|
660
|
+
return e === t || y(e) !== null ? !1 : (It && pn(e), !0);
|
|
661
|
+
}, Dn = function(e, n) {
|
|
662
|
+
if (Q(F.beforeSanitizeElements, e, null), $(e, n)) return !0;
|
|
663
|
+
if (bn(e)) return X(e), !0;
|
|
664
|
+
let r = J(Xe(e));
|
|
665
|
+
if (I = En(F.uponSanitizeElement, I, vt, Dt), Q(F.uponSanitizeElement, e, {
|
|
666
|
+
tagName: r,
|
|
667
|
+
allowedTags: I
|
|
668
|
+
}), $(e, n)) return !0;
|
|
669
|
+
if (Cn(e, r)) return X(e), !0;
|
|
670
|
+
if (bt[r] || !(z.tagCheck instanceof Function && z.tagCheck(r)) && !I[r]) {
|
|
671
|
+
let t = Tn(e, r, n);
|
|
672
|
+
return t === !1 && (Q(F.afterSanitizeElements, e, null), $(e, n)) ? !0 : t;
|
|
673
|
+
}
|
|
674
|
+
if (A(e) === k.element && !ln(e) || (r === "noscript" || r === "noembed" || r === "noframes") && S(Ve, e.innerHTML)) return X(e), !0;
|
|
675
|
+
if (B && e.nodeType === k.text) {
|
|
676
|
+
let n = vn(e.textContent);
|
|
677
|
+
e.textContent !== n && (ae(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
678
|
+
}
|
|
679
|
+
return Q(F.afterSanitizeElements, e, null), $(e, n);
|
|
680
|
+
}, On = function(e, t, r) {
|
|
681
|
+
if (xt[t] || mn(t, e) || Mt && (t === "id" || t === "name") && (r in n || r in en)) return !1;
|
|
682
|
+
let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
|
|
683
|
+
return Ct && S(ft, t) || St && S(pt, t) ? !0 : i ? Bt[t] || S(_t, ue(r, ht, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && de(r, "data:") === 0 && Rt[e] || wt && !S(mt, ue(r, ht, "")) ? !0 : !r : An(e) && wn(R.tagNameCheck, e) && wn(R.attributeNameCheck, t, e) || t === "is" && R.allowCustomizedBuiltInElements && wn(R.tagNameCheck, r);
|
|
684
|
+
}, kn = E({}, [
|
|
685
|
+
"annotation-xml",
|
|
686
|
+
"color-profile",
|
|
687
|
+
"font-face",
|
|
688
|
+
"font-face-format",
|
|
689
|
+
"font-face-name",
|
|
690
|
+
"font-face-src",
|
|
691
|
+
"font-face-uri",
|
|
692
|
+
"missing-glyph"
|
|
693
|
+
]), An = function(e) {
|
|
694
|
+
return !kn[se(e)] && S(gt, e);
|
|
695
|
+
}, jn = function(e, t, n, r) {
|
|
696
|
+
if (M && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
|
|
697
|
+
case "TrustedHTML": return P(r);
|
|
698
|
+
case "TrustedScriptURL": return tt(r);
|
|
699
|
+
}
|
|
700
|
+
return r;
|
|
701
|
+
}, Mn = function(e, t, n, r) {
|
|
702
|
+
try {
|
|
703
|
+
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !bn(e) || (X(e), !1);
|
|
704
|
+
} catch {
|
|
705
|
+
return Z(t, e), !1;
|
|
706
|
+
}
|
|
707
|
+
}, Nn = function(e, n) {
|
|
708
|
+
if (Q(F.beforeSanitizeAttributes, e, null), $(e, n)) return;
|
|
709
|
+
let r = e.attributes;
|
|
710
|
+
if (!r || bn(e)) return;
|
|
711
|
+
L = En(F.uponSanitizeAttribute, L, yt, Ot);
|
|
712
|
+
let i = {
|
|
713
|
+
attrName: "",
|
|
714
|
+
attrValue: "",
|
|
715
|
+
keepAttr: !0,
|
|
716
|
+
allowedAttributes: L,
|
|
717
|
+
forceKeepAttr: void 0
|
|
718
|
+
}, a = r.length, o = J(e.nodeName);
|
|
719
|
+
for (; a--;) {
|
|
720
|
+
let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = J(s), d = l, f = s === "value" ? d : fe(d), p = !1;
|
|
721
|
+
if (i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, Q(F.uponSanitizeAttribute, e, i), f = i.attrValue, Nt && (u === "id" || u === "name") && de(f, Pt) !== 0 && (Z(s, e, n), f = Pt + f, p = !0), V && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
722
|
+
Z(s, e, n);
|
|
723
|
+
continue;
|
|
724
|
+
}
|
|
725
|
+
if (u === "attributename" && le(f, "href")) {
|
|
726
|
+
Z(s, e, n);
|
|
727
|
+
continue;
|
|
728
|
+
}
|
|
729
|
+
if (!i.forceKeepAttr) {
|
|
730
|
+
if (!i.keepAttr) {
|
|
731
|
+
Z(s, e, n);
|
|
732
|
+
continue;
|
|
733
|
+
}
|
|
734
|
+
if (!Tt && S(He, f)) {
|
|
735
|
+
Z(s, e, n);
|
|
736
|
+
continue;
|
|
737
|
+
}
|
|
738
|
+
if (B && (f = vn(f)), !On(o, u, f)) {
|
|
739
|
+
Z(s, e, n);
|
|
740
|
+
continue;
|
|
741
|
+
}
|
|
742
|
+
f = jn(o, u, c, f), f !== d && Mn(e, s, c, f) && p && ie(t.removed);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
Q(F.afterSanitizeAttributes, e, null), $(e, n);
|
|
746
|
+
}, Pn = function(e) {
|
|
747
|
+
let t = null, n = _n(e);
|
|
748
|
+
for (Q(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Q(F.uponSanitizeShadowNode, t, null), Dn(t, e), Nn(t, e), xn(t.content) && Pn(t.content), A(t) === k.element) {
|
|
749
|
+
let e = me(t);
|
|
750
|
+
xn(e) && (Fn(e), Pn(e));
|
|
751
|
+
}
|
|
752
|
+
Q(F.afterSanitizeShadowDOM, e, null);
|
|
753
|
+
}, Fn = function(e) {
|
|
754
|
+
let t = [{
|
|
755
|
+
node: e,
|
|
756
|
+
shadow: null
|
|
757
|
+
}];
|
|
758
|
+
for (; t.length > 0;) {
|
|
759
|
+
let e = t.pop();
|
|
760
|
+
if (e.shadow) {
|
|
761
|
+
Pn(e.shadow);
|
|
762
|
+
continue;
|
|
763
|
+
}
|
|
764
|
+
let n = e.node, r = A(n) === k.element, i = v(n);
|
|
765
|
+
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
766
|
+
node: i[e],
|
|
767
|
+
shadow: null
|
|
768
|
+
});
|
|
769
|
+
if (r) {
|
|
770
|
+
let e = T ? T(n) : null;
|
|
771
|
+
if (typeof e == "string" && J(e) === "template") {
|
|
772
|
+
let e = n.content;
|
|
773
|
+
xn(e) && t.push({
|
|
774
|
+
node: e,
|
|
775
|
+
shadow: null
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
if (r) {
|
|
780
|
+
let e = me(n);
|
|
781
|
+
xn(e) && t.push({
|
|
782
|
+
node: null,
|
|
783
|
+
shadow: e
|
|
784
|
+
}, {
|
|
785
|
+
node: e,
|
|
786
|
+
shadow: null
|
|
787
|
+
});
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
return t.sanitize = function(e) {
|
|
792
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
793
|
+
if (Wt = !e, Wt && (e = "<!-->"), typeof e != "string" && !Sn(e) && (e = ge(e), typeof e != "string")) throw C("dirty is not a string, aborting");
|
|
794
|
+
if (!t.isSupported) return e;
|
|
795
|
+
Et ? (I = Dt, L = Ot) : nn(n), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (I = D(I)), F.uponSanitizeAttribute.length > 0 && (L = D(L)), t.removed = [];
|
|
796
|
+
let c = It && typeof e != "string" && Sn(e);
|
|
797
|
+
if (c) {
|
|
798
|
+
hn(e);
|
|
799
|
+
let t = Xe(e);
|
|
800
|
+
if (typeof t == "string") {
|
|
801
|
+
let n = J(t);
|
|
802
|
+
if (!I[n] || bt[n]) throw dn(e), C("root node is forbidden and cannot be sanitized in-place");
|
|
803
|
+
}
|
|
804
|
+
if (bn(e)) throw dn(e), C("root node is clobbered and cannot be sanitized in-place");
|
|
805
|
+
try {
|
|
806
|
+
Fn(e);
|
|
807
|
+
} catch (t) {
|
|
808
|
+
throw dn(e), t;
|
|
809
|
+
}
|
|
810
|
+
} else if (Sn(e)) i = gn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === k.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Fn(i);
|
|
811
|
+
else {
|
|
812
|
+
if (!U && !B && !H && e.indexOf("<") === -1) return M && jt ? P(e) : e;
|
|
813
|
+
if (i = gn(e), !i) return U ? null : jt ? N : "";
|
|
814
|
+
}
|
|
815
|
+
i && kt && X(i.firstChild);
|
|
816
|
+
let l = c ? e : i;
|
|
817
|
+
try {
|
|
818
|
+
let e = _n(l);
|
|
819
|
+
for (; o = e.nextNode();) Dn(o, l), Nn(o, l), xn(o.content) && Pn(o.content);
|
|
820
|
+
} catch (n) {
|
|
821
|
+
throw c && (dn(e), g(t.removed, (e) => {
|
|
822
|
+
e.element && pn(e.element);
|
|
823
|
+
})), n;
|
|
824
|
+
}
|
|
825
|
+
if (c) {
|
|
826
|
+
let n = !1;
|
|
827
|
+
if (g(t.removed, (t) => {
|
|
828
|
+
t.element && (t.element === e && (n = !0), pn(t.element));
|
|
829
|
+
}), n) throw C("a node selected for removal could not be safely returned; refusing to sanitize in place");
|
|
830
|
+
return B && yn(e), e;
|
|
831
|
+
}
|
|
832
|
+
if (U) {
|
|
833
|
+
if (B && yn(i), At) for (s = ot.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
834
|
+
else s = i;
|
|
835
|
+
return (L.shadowroot || L.shadowrootmode) && (s = ct.call(r, s, !0)), s;
|
|
836
|
+
}
|
|
837
|
+
let u = H ? i.outerHTML : i.innerHTML;
|
|
838
|
+
return H && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Le, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = vn(u)), M && jt ? P(u) : u;
|
|
839
|
+
}, t.setConfig = function() {
|
|
840
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
841
|
+
nn(e), Et = !0, Dt = I, Ot = L;
|
|
842
|
+
}, t.clearConfig = function() {
|
|
843
|
+
Y = null, Et = !1, Dt = null, Ot = null, M = Ze, N = "";
|
|
844
|
+
}, t.isValidAttribute = function(e, t, n) {
|
|
845
|
+
Y || nn({});
|
|
846
|
+
let r = J(e), i = J(t);
|
|
847
|
+
return On(r, i, n);
|
|
848
|
+
}, t.addHook = function(e, t) {
|
|
849
|
+
typeof t == "function" && b(F, e) && ae(F[e], t);
|
|
850
|
+
}, t.removeHook = function(e, t) {
|
|
851
|
+
if (b(F, e)) {
|
|
852
|
+
if (t !== void 0) {
|
|
853
|
+
let n = re(F[e], t);
|
|
854
|
+
return n === -1 ? void 0 : oe(F[e], n, 1)[0];
|
|
855
|
+
}
|
|
856
|
+
return ie(F[e]);
|
|
857
|
+
}
|
|
858
|
+
}, t.removeHooks = function(e) {
|
|
859
|
+
b(F, e) && (F[e] = []);
|
|
860
|
+
}, t.removeAllHooks = function() {
|
|
861
|
+
F = qe();
|
|
862
|
+
}, t;
|
|
863
|
+
}
|
|
864
|
+
var Xe = Ye();
|
|
865
|
+
//#endregion
|
|
866
|
+
export { Xe as t };
|