@marimo-team/islands 0.25.2-dev9 → 0.25.2-dev91
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-DzYre0XM.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-BrGBr50V.js} +6 -6
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-0rJUT4CU.js → common-Dzc60302.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-BWXtsJqJ.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-DfcvEzG_.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-DPRKOYOy.js} +11 -11
- package/dist/{glide-utils-CzzWU59p.js → glide-utils-BVJ4fkxX.js} +3 -3
- package/dist/{globals-BVhJcU-3.js → globals-YaxEeXdo.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-CrM5W4xK.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-C_8eQYsH.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
|
@@ -1,805 +0,0 @@
|
|
|
1
|
-
//#region ../node_modules/.pnpm/dompurify@3.4.14/node_modules/dompurify/dist/purify.es.mjs
|
|
2
|
-
function e(e, t) {
|
|
3
|
-
(t == null || t > e.length) && (t = e.length);
|
|
4
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
5
|
-
return r;
|
|
6
|
-
}
|
|
7
|
-
function t(e) {
|
|
8
|
-
if (Array.isArray(e)) return e;
|
|
9
|
-
}
|
|
10
|
-
function n(e, t) {
|
|
11
|
-
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
12
|
-
if (n != null) {
|
|
13
|
-
var r, i, a, o, s = [], c = !0, l = !1;
|
|
14
|
-
try {
|
|
15
|
-
if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
16
|
-
} catch (e) {
|
|
17
|
-
l = !0, i = e;
|
|
18
|
-
} finally {
|
|
19
|
-
try {
|
|
20
|
-
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
21
|
-
} finally {
|
|
22
|
-
if (l) throw i;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return s;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function r() {
|
|
29
|
-
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
30
|
-
}
|
|
31
|
-
function i(e, i) {
|
|
32
|
-
return t(e) || n(e, i) || a(e, i) || r();
|
|
33
|
-
}
|
|
34
|
-
function a(t, n) {
|
|
35
|
-
if (t) {
|
|
36
|
-
if (typeof t == "string") return e(t, n);
|
|
37
|
-
var r = {}.toString.call(t).slice(8, -1);
|
|
38
|
-
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? e(t, n) : void 0;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
var o = Object.entries, s = Object.setPrototypeOf, c = Object.isFrozen, l = Object.getPrototypeOf, u = Object.getOwnPropertyDescriptor, d = Object.freeze, f = Object.seal, p = Object.create, m = typeof Reflect < "u" && Reflect, h = m.apply, ee = m.construct;
|
|
42
|
-
d ||= function(e) {
|
|
43
|
-
return e;
|
|
44
|
-
}, f ||= function(e) {
|
|
45
|
-
return e;
|
|
46
|
-
}, h ||= function(e, t) {
|
|
47
|
-
var n = [...arguments].slice(2);
|
|
48
|
-
return e.apply(t, n);
|
|
49
|
-
}, ee ||= function(e) {
|
|
50
|
-
return new e(...[...arguments].slice(1));
|
|
51
|
-
};
|
|
52
|
-
var g = w(Array.prototype.forEach), te = w(Array.prototype.lastIndexOf), ne = w(Array.prototype.pop), re = w(Array.prototype.push), ie = w(Array.prototype.splice), _ = Array.isArray, ae = w(String.prototype.toLowerCase), oe = w(String.prototype.toString), se = w(String.prototype.match), ce = w(String.prototype.replace), le = w(String.prototype.indexOf), ue = w(String.prototype.trim), de = w(Number.prototype.toString), fe = w(Boolean.prototype.toString), v = typeof BigInt > "u" ? null : w(BigInt.prototype.toString), y = 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);
|
|
53
|
-
function w(e) {
|
|
54
|
-
return function(t) {
|
|
55
|
-
t instanceof RegExp && (t.lastIndex = 0);
|
|
56
|
-
var n = [...arguments].slice(1);
|
|
57
|
-
return h(e, t, n);
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function T(e) {
|
|
61
|
-
return function() {
|
|
62
|
-
return ee(e, [...arguments]);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function E(e, t) {
|
|
66
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae;
|
|
67
|
-
if (s && s(e, null), !_(t)) return e;
|
|
68
|
-
let r = t.length;
|
|
69
|
-
for (; r--;) {
|
|
70
|
-
let i = t[r];
|
|
71
|
-
if (typeof i == "string") {
|
|
72
|
-
let e = n(i);
|
|
73
|
-
e !== i && (c(t) || (t[r] = e), i = e);
|
|
74
|
-
}
|
|
75
|
-
e[i] = !0;
|
|
76
|
-
}
|
|
77
|
-
return e;
|
|
78
|
-
}
|
|
79
|
-
function D(e) {
|
|
80
|
-
for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
|
|
81
|
-
return e;
|
|
82
|
-
}
|
|
83
|
-
function O(e) {
|
|
84
|
-
let t = p(null);
|
|
85
|
-
for (let r of o(e)) {
|
|
86
|
-
var n = i(r, 2);
|
|
87
|
-
let a = n[0], o = n[1];
|
|
88
|
-
b(e, a) && (t[a] = _(o) ? D(o) : o && typeof o == "object" && o.constructor === Object ? O(o) : o);
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
}
|
|
92
|
-
function pe(e) {
|
|
93
|
-
switch (typeof e) {
|
|
94
|
-
case "string": return e;
|
|
95
|
-
case "number": return de(e);
|
|
96
|
-
case "boolean": return fe(e);
|
|
97
|
-
case "bigint": return v ? v(e) : "0";
|
|
98
|
-
case "symbol": return y ? y(e) : "Symbol()";
|
|
99
|
-
case "undefined": return x(e);
|
|
100
|
-
case "function":
|
|
101
|
-
case "object": {
|
|
102
|
-
if (e === null) return x(e);
|
|
103
|
-
let t = e, n = k(t, "toString");
|
|
104
|
-
if (typeof n == "function") {
|
|
105
|
-
let e = n(t);
|
|
106
|
-
return typeof e == "string" ? e : x(e);
|
|
107
|
-
}
|
|
108
|
-
return x(e);
|
|
109
|
-
}
|
|
110
|
-
default: return x(e);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function k(e, t) {
|
|
114
|
-
for (; e !== null;) {
|
|
115
|
-
let n = u(e, t);
|
|
116
|
-
if (n) {
|
|
117
|
-
if (n.get) return w(n.get);
|
|
118
|
-
if (typeof n.value == "function") return w(n.value);
|
|
119
|
-
}
|
|
120
|
-
e = l(e);
|
|
121
|
-
}
|
|
122
|
-
function n() {
|
|
123
|
-
return null;
|
|
124
|
-
}
|
|
125
|
-
return n;
|
|
126
|
-
}
|
|
127
|
-
function me(e) {
|
|
128
|
-
try {
|
|
129
|
-
return S(e, ""), !0;
|
|
130
|
-
} catch {
|
|
131
|
-
return !1;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
var he = d(/* @__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(".")), ge = d(/* @__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(".")), _e = d([
|
|
135
|
-
"feBlend",
|
|
136
|
-
"feColorMatrix",
|
|
137
|
-
"feComponentTransfer",
|
|
138
|
-
"feComposite",
|
|
139
|
-
"feConvolveMatrix",
|
|
140
|
-
"feDiffuseLighting",
|
|
141
|
-
"feDisplacementMap",
|
|
142
|
-
"feDistantLight",
|
|
143
|
-
"feDropShadow",
|
|
144
|
-
"feFlood",
|
|
145
|
-
"feFuncA",
|
|
146
|
-
"feFuncB",
|
|
147
|
-
"feFuncG",
|
|
148
|
-
"feFuncR",
|
|
149
|
-
"feGaussianBlur",
|
|
150
|
-
"feImage",
|
|
151
|
-
"feMerge",
|
|
152
|
-
"feMergeNode",
|
|
153
|
-
"feMorphology",
|
|
154
|
-
"feOffset",
|
|
155
|
-
"fePointLight",
|
|
156
|
-
"feSpecularLighting",
|
|
157
|
-
"feSpotLight",
|
|
158
|
-
"feTile",
|
|
159
|
-
"feTurbulence"
|
|
160
|
-
]), ve = d([
|
|
161
|
-
"animate",
|
|
162
|
-
"color-profile",
|
|
163
|
-
"cursor",
|
|
164
|
-
"discard",
|
|
165
|
-
"font-face",
|
|
166
|
-
"font-face-format",
|
|
167
|
-
"font-face-name",
|
|
168
|
-
"font-face-src",
|
|
169
|
-
"font-face-uri",
|
|
170
|
-
"foreignobject",
|
|
171
|
-
"hatch",
|
|
172
|
-
"hatchpath",
|
|
173
|
-
"mesh",
|
|
174
|
-
"meshgradient",
|
|
175
|
-
"meshpatch",
|
|
176
|
-
"meshrow",
|
|
177
|
-
"missing-glyph",
|
|
178
|
-
"script",
|
|
179
|
-
"set",
|
|
180
|
-
"solidcolor",
|
|
181
|
-
"unknown",
|
|
182
|
-
"use"
|
|
183
|
-
]), ye = d(/* @__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(".")), be = d([
|
|
184
|
-
"maction",
|
|
185
|
-
"maligngroup",
|
|
186
|
-
"malignmark",
|
|
187
|
-
"mlongdiv",
|
|
188
|
-
"mscarries",
|
|
189
|
-
"mscarry",
|
|
190
|
-
"msgroup",
|
|
191
|
-
"mstack",
|
|
192
|
-
"msline",
|
|
193
|
-
"msrow",
|
|
194
|
-
"semantics",
|
|
195
|
-
"annotation",
|
|
196
|
-
"annotation-xml",
|
|
197
|
-
"mprescripts",
|
|
198
|
-
"none"
|
|
199
|
-
]), xe = d(["#text"]), Se = d(/* @__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(".")), Ce = d(/* @__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(".")), we = d(/* @__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(".")), Te = d([
|
|
200
|
-
"xlink:href",
|
|
201
|
-
"xml:id",
|
|
202
|
-
"xlink:title",
|
|
203
|
-
"xml:space",
|
|
204
|
-
"xmlns:xlink"
|
|
205
|
-
]), Ee = f(/{{[\w\W]*|^[\w\W]*}}/g), De = f(/<%[\w\W]*|^[\w\W]*%>/g), Oe = f(/\${[\w\W]*/g), ke = f(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ae = f(/^aria-[\-\w]+$/), je = f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Me = f(/^(?:\w+script|data):/i), Ne = f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Pe = f(/^html$/i), Fe = f(/^[a-z][.\w]*(-[.\w]+)+$/i), Ie = f(/<[/\w!]/g), Le = f(/<[/\w]/g), Re = f(/<\/no(script|embed|frames)/i), ze = f(/\/>/i), A = {
|
|
206
|
-
element: 1,
|
|
207
|
-
attribute: 2,
|
|
208
|
-
text: 3,
|
|
209
|
-
cdataSection: 4,
|
|
210
|
-
entityReference: 5,
|
|
211
|
-
entityNode: 6,
|
|
212
|
-
processingInstruction: 7,
|
|
213
|
-
comment: 8,
|
|
214
|
-
document: 9,
|
|
215
|
-
documentType: 10,
|
|
216
|
-
documentFragment: 11,
|
|
217
|
-
notation: 12
|
|
218
|
-
}, j = [
|
|
219
|
-
"style",
|
|
220
|
-
"script",
|
|
221
|
-
"xmp",
|
|
222
|
-
"iframe",
|
|
223
|
-
"noembed",
|
|
224
|
-
"noframes",
|
|
225
|
-
"plaintext",
|
|
226
|
-
"noscript"
|
|
227
|
-
], Be = d(E({}, j)), Ve = function() {
|
|
228
|
-
let e = {};
|
|
229
|
-
return g(j, (t) => {
|
|
230
|
-
e[t] = f(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
|
|
231
|
-
}), d(e);
|
|
232
|
-
}(), He = function() {
|
|
233
|
-
return typeof window > "u" ? null : window;
|
|
234
|
-
}, Ue = function(e, t) {
|
|
235
|
-
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
236
|
-
let n = null, r = "data-tt-policy-suffix";
|
|
237
|
-
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
238
|
-
let i = "dompurify" + (n ? "#" + n : "");
|
|
239
|
-
try {
|
|
240
|
-
return e.createPolicy(i, {
|
|
241
|
-
createHTML(e) {
|
|
242
|
-
return e;
|
|
243
|
-
},
|
|
244
|
-
createScriptURL(e) {
|
|
245
|
-
return e;
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
} catch {
|
|
249
|
-
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
250
|
-
}
|
|
251
|
-
}, We = function() {
|
|
252
|
-
return {
|
|
253
|
-
afterSanitizeAttributes: [],
|
|
254
|
-
afterSanitizeElements: [],
|
|
255
|
-
afterSanitizeShadowDOM: [],
|
|
256
|
-
beforeSanitizeAttributes: [],
|
|
257
|
-
beforeSanitizeElements: [],
|
|
258
|
-
beforeSanitizeShadowDOM: [],
|
|
259
|
-
uponSanitizeAttribute: [],
|
|
260
|
-
uponSanitizeElement: [],
|
|
261
|
-
uponSanitizeShadowNode: []
|
|
262
|
-
};
|
|
263
|
-
}, M = function(e, t, n, r) {
|
|
264
|
-
return b(e, t) && _(e[t]) ? E(r.base ? O(r.base) : {}, e[t], r.transform) : n;
|
|
265
|
-
}, Ge = function(e, t, n) {
|
|
266
|
-
let r = b(e, t) ? e[t] : void 0;
|
|
267
|
-
return r && typeof r == "object" ? O(r) : n();
|
|
268
|
-
};
|
|
269
|
-
function Ke() {
|
|
270
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : He(), t = (e) => Ke(e);
|
|
271
|
-
if (t.version = "3.4.14", t.removed = [], !e || !e.document || e.document.nodeType !== A.document || !e.Element) return t.isSupported = !1, t;
|
|
272
|
-
let n = e.document, r = n, i = r.currentScript;
|
|
273
|
-
e.DocumentFragment;
|
|
274
|
-
let a = e.HTMLTemplateElement, s = e.Node, c = e.Element, l = e.NodeFilter;
|
|
275
|
-
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
276
|
-
let u = e.DOMParser, m = e.trustedTypes, h = c.prototype, ee = k(h, "cloneNode"), de = k(h, "remove"), fe = k(h, "nextSibling"), v = k(h, "childNodes"), y = k(h, "parentNode"), x = k(h, "shadowRoot"), w = k(h, "attributes"), T = s && s.prototype ? k(s.prototype, "nodeType") : null, D = s && s.prototype ? k(s.prototype, "nodeName") : null, j = s && s.prototype ? k(s.prototype, "ownerDocument") : null, qe = function(e) {
|
|
277
|
-
return T ? T(e) : e.nodeType;
|
|
278
|
-
}, Je = function(e) {
|
|
279
|
-
return D ? D(e) : e.nodeName;
|
|
280
|
-
};
|
|
281
|
-
if (typeof a == "function") {
|
|
282
|
-
let e = n.createElement("template");
|
|
283
|
-
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
284
|
-
}
|
|
285
|
-
let N, P = "", Ye, Xe = !1, Ze = 0, Qe = function() {
|
|
286
|
-
if (Ze > 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.");
|
|
287
|
-
}, F = function(e) {
|
|
288
|
-
Qe(), Ze++;
|
|
289
|
-
try {
|
|
290
|
-
return N.createHTML(e);
|
|
291
|
-
} finally {
|
|
292
|
-
Ze--;
|
|
293
|
-
}
|
|
294
|
-
}, $e = function(e) {
|
|
295
|
-
Qe(), Ze++;
|
|
296
|
-
try {
|
|
297
|
-
return N.createScriptURL(e);
|
|
298
|
-
} finally {
|
|
299
|
-
Ze--;
|
|
300
|
-
}
|
|
301
|
-
}, et = function() {
|
|
302
|
-
return Xe ||= (Ye = Ue(m, i), !0), Ye;
|
|
303
|
-
}, tt = n, nt = tt.implementation, rt = tt.createNodeIterator, it = tt.createDocumentFragment, at = tt.getElementsByTagName, ot = r.importNode, I = We();
|
|
304
|
-
t.isSupported = typeof o == "function" && typeof y == "function" && nt && nt.createHTMLDocument !== void 0;
|
|
305
|
-
let st = Ee, ct = De, lt = Oe, ut = ke, dt = Ae, ft = Me, pt = Ne, mt = Fe, ht = je, L = null, gt = E({}, [
|
|
306
|
-
...he,
|
|
307
|
-
...ge,
|
|
308
|
-
..._e,
|
|
309
|
-
...ye,
|
|
310
|
-
...xe
|
|
311
|
-
]), R = null, _t = E({}, [
|
|
312
|
-
...Se,
|
|
313
|
-
...Ce,
|
|
314
|
-
...we,
|
|
315
|
-
...Te
|
|
316
|
-
]), z = Object.seal(p(null, {
|
|
317
|
-
tagNameCheck: {
|
|
318
|
-
writable: !0,
|
|
319
|
-
configurable: !1,
|
|
320
|
-
enumerable: !0,
|
|
321
|
-
value: null
|
|
322
|
-
},
|
|
323
|
-
attributeNameCheck: {
|
|
324
|
-
writable: !0,
|
|
325
|
-
configurable: !1,
|
|
326
|
-
enumerable: !0,
|
|
327
|
-
value: null
|
|
328
|
-
},
|
|
329
|
-
allowCustomizedBuiltInElements: {
|
|
330
|
-
writable: !0,
|
|
331
|
-
configurable: !1,
|
|
332
|
-
enumerable: !0,
|
|
333
|
-
value: !1
|
|
334
|
-
}
|
|
335
|
-
})), vt = null, yt = null, B = Object.seal(p(null, {
|
|
336
|
-
tagCheck: {
|
|
337
|
-
writable: !0,
|
|
338
|
-
configurable: !1,
|
|
339
|
-
enumerable: !0,
|
|
340
|
-
value: null
|
|
341
|
-
},
|
|
342
|
-
attributeCheck: {
|
|
343
|
-
writable: !0,
|
|
344
|
-
configurable: !1,
|
|
345
|
-
enumerable: !0,
|
|
346
|
-
value: null
|
|
347
|
-
}
|
|
348
|
-
})), bt = !0, xt = !0, St = !1, Ct = !0, V = !1, H = !0, U = !1, wt = !1, Tt = null, Et = null, Dt = !1, W = !1, Ot = !1, kt = !1, At = !0, jt = !1, Mt = "user-content-", Nt = !0, Pt = !1, G = {}, K = null, Ft = 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(".")), It = null, Lt = E({}, [
|
|
349
|
-
"audio",
|
|
350
|
-
"video",
|
|
351
|
-
"img",
|
|
352
|
-
"source",
|
|
353
|
-
"image",
|
|
354
|
-
"track"
|
|
355
|
-
]), Rt = null, zt = E({}, [
|
|
356
|
-
"alt",
|
|
357
|
-
"class",
|
|
358
|
-
"for",
|
|
359
|
-
"id",
|
|
360
|
-
"label",
|
|
361
|
-
"name",
|
|
362
|
-
"pattern",
|
|
363
|
-
"placeholder",
|
|
364
|
-
"role",
|
|
365
|
-
"summary",
|
|
366
|
-
"title",
|
|
367
|
-
"value",
|
|
368
|
-
"style",
|
|
369
|
-
"xmlns"
|
|
370
|
-
]), Bt = "http://www.w3.org/1998/Math/MathML", Vt = "http://www.w3.org/2000/svg", q = "http://www.w3.org/1999/xhtml", J = q, Ht = !1, Ut = null, Wt = E({}, [
|
|
371
|
-
Bt,
|
|
372
|
-
Vt,
|
|
373
|
-
q
|
|
374
|
-
], oe), Gt = d([
|
|
375
|
-
"mi",
|
|
376
|
-
"mo",
|
|
377
|
-
"mn",
|
|
378
|
-
"ms",
|
|
379
|
-
"mtext"
|
|
380
|
-
]), Kt = E({}, Gt), qt = d(["annotation-xml"]), Jt = E({}, qt), Yt = E({}, [
|
|
381
|
-
"title",
|
|
382
|
-
"style",
|
|
383
|
-
"font",
|
|
384
|
-
"a",
|
|
385
|
-
"script"
|
|
386
|
-
]), Xt = null, Zt = ["application/xhtml+xml", "text/html"], Y = null, X = null, Qt = n.createElement("form"), $t = function(e) {
|
|
387
|
-
return e instanceof RegExp || e instanceof Function;
|
|
388
|
-
}, en = function() {
|
|
389
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
390
|
-
if (X && X === e) return;
|
|
391
|
-
(!e || typeof e != "object") && (e = {}), e = O(e), Xt = Zt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Xt === "application/xhtml+xml" ? oe : ae, L = M(e, "ALLOWED_TAGS", gt, { transform: Y }), R = M(e, "ALLOWED_ATTR", _t, { transform: Y }), Ut = M(e, "ALLOWED_NAMESPACES", Wt, { transform: oe }), Rt = M(e, "ADD_URI_SAFE_ATTR", zt, {
|
|
392
|
-
transform: Y,
|
|
393
|
-
base: zt
|
|
394
|
-
}), It = M(e, "ADD_DATA_URI_TAGS", Lt, {
|
|
395
|
-
transform: Y,
|
|
396
|
-
base: Lt
|
|
397
|
-
}), K = M(e, "FORBID_CONTENTS", Ft, { transform: Y }), vt = M(e, "FORBID_TAGS", O({}), { transform: Y }), yt = M(e, "FORBID_ATTR", O({}), { transform: Y }), G = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? O(e.USE_PROFILES) : e.USE_PROFILES : !1, bt = e.ALLOW_ARIA_ATTR !== !1, xt = e.ALLOW_DATA_ATTR !== !1, St = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ct = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = e.SAFE_FOR_TEMPLATES || !1, H = e.SAFE_FOR_XML !== !1, U = e.WHOLE_DOCUMENT || !1, W = e.RETURN_DOM || !1, Ot = e.RETURN_DOM_FRAGMENT || !1, kt = e.RETURN_TRUSTED_TYPE || !1, Dt = e.FORCE_BODY || !1, At = e.SANITIZE_DOM !== !1, jt = e.SANITIZE_NAMED_PROPS || !1, Nt = e.KEEP_CONTENT !== !1, Pt = e.IN_PLACE || !1, ht = me(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : je, J = typeof e.NAMESPACE == "string" ? e.NAMESPACE : q, Kt = Ge(e, "MATHML_TEXT_INTEGRATION_POINTS", () => E({}, Gt)), Jt = Ge(e, "HTML_INTEGRATION_POINTS", () => E({}, qt));
|
|
398
|
-
let t = Ge(e, "CUSTOM_ELEMENT_HANDLING", () => p(null));
|
|
399
|
-
if (z = p(null), b(t, "tagNameCheck") && $t(t.tagNameCheck) && (z.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && $t(t.attributeNameCheck) && (z.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (z.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), f(z), V && (xt = !1), Ot && (W = !0), G && (L = E({}, xe), R = p(null), G.html === !0 && (E(L, he), E(R, Se)), G.svg === !0 && (E(L, ge), E(R, Ce), E(R, Te)), G.svgFilters === !0 && (E(L, _e), E(R, Ce), E(R, Te)), G.mathMl === !0 && (E(L, ye), E(R, we), E(R, Te))), B.tagCheck = null, B.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : _(e.ADD_TAGS) && (L === gt && (L = O(L)), E(L, e.ADD_TAGS, Y))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : _(e.ADD_ATTR) && (R === _t && (R = O(R)), E(R, e.ADD_ATTR, Y))), b(e, "ADD_FORBID_CONTENTS") && _(e.ADD_FORBID_CONTENTS) && (K === Ft && (K = O(K)), E(K, e.ADD_FORBID_CONTENTS, Y)), Nt && (L["#text"] = !0), U && E(L, [
|
|
400
|
-
"html",
|
|
401
|
-
"head",
|
|
402
|
-
"body"
|
|
403
|
-
]), L.table && (E(L, ["tbody"]), delete vt.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
404
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
405
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw C("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
406
|
-
let t = N;
|
|
407
|
-
N = e.TRUSTED_TYPES_POLICY;
|
|
408
|
-
try {
|
|
409
|
-
P = F("");
|
|
410
|
-
} catch (e) {
|
|
411
|
-
throw N = t, e;
|
|
412
|
-
}
|
|
413
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (N = void 0, P = "") : (N === void 0 && (N = et()), N && typeof P == "string" && (P = F("")));
|
|
414
|
-
d && d(e), X = e;
|
|
415
|
-
}, tn = E({}, [
|
|
416
|
-
...ge,
|
|
417
|
-
..._e,
|
|
418
|
-
...ve
|
|
419
|
-
]), nn = E({}, [...ye, ...be]), rn = function(e, t, n) {
|
|
420
|
-
return t.namespaceURI === q ? e === "svg" : t.namespaceURI === Bt ? e === "svg" && (n === "annotation-xml" || Kt[n]) : !!tn[e];
|
|
421
|
-
}, an = function(e, t, n) {
|
|
422
|
-
return t.namespaceURI === q ? e === "math" : t.namespaceURI === Vt ? e === "math" && Jt[n] : !!nn[e];
|
|
423
|
-
}, on = function(e, t, n) {
|
|
424
|
-
return t.namespaceURI === Vt && !Jt[n] || t.namespaceURI === Bt && !Kt[n] ? !1 : !nn[e] && (Yt[e] || !tn[e]);
|
|
425
|
-
}, sn = function(e) {
|
|
426
|
-
let t = y(e);
|
|
427
|
-
(!t || !t.tagName) && (t = {
|
|
428
|
-
namespaceURI: J,
|
|
429
|
-
tagName: "template"
|
|
430
|
-
});
|
|
431
|
-
let n = ae(e.tagName), r = ae(t.tagName);
|
|
432
|
-
return Ut[e.namespaceURI] ? e.namespaceURI === Vt ? rn(n, t, r) : e.namespaceURI === Bt ? an(n, t, r) : e.namespaceURI === q ? on(n, t, r) : !!(Xt === "application/xhtml+xml" && Ut[e.namespaceURI]) : !1;
|
|
433
|
-
}, Z = function(e) {
|
|
434
|
-
re(t.removed, { element: e });
|
|
435
|
-
try {
|
|
436
|
-
y(e).removeChild(e);
|
|
437
|
-
} catch {
|
|
438
|
-
if (de(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");
|
|
439
|
-
}
|
|
440
|
-
}, cn = function(e, t, n) {
|
|
441
|
-
try {
|
|
442
|
-
e.removeAttributeNode(t);
|
|
443
|
-
} catch {
|
|
444
|
-
try {
|
|
445
|
-
e.removeAttribute(n);
|
|
446
|
-
} catch {}
|
|
447
|
-
}
|
|
448
|
-
}, ln = function(e) {
|
|
449
|
-
dn(e);
|
|
450
|
-
let t = v(e);
|
|
451
|
-
if (t) {
|
|
452
|
-
let e = [];
|
|
453
|
-
g(t, (t) => {
|
|
454
|
-
re(e, t);
|
|
455
|
-
}), g(e, (e) => {
|
|
456
|
-
try {
|
|
457
|
-
de(e);
|
|
458
|
-
} catch {}
|
|
459
|
-
});
|
|
460
|
-
}
|
|
461
|
-
let n = w(e);
|
|
462
|
-
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
463
|
-
let r = n[t], i = r && r.name;
|
|
464
|
-
typeof i == "string" && cn(e, r, i);
|
|
465
|
-
}
|
|
466
|
-
}, Q = function(e, n, r) {
|
|
467
|
-
if (!r) try {
|
|
468
|
-
r = n.getAttributeNode(e);
|
|
469
|
-
} catch {
|
|
470
|
-
r = null;
|
|
471
|
-
}
|
|
472
|
-
re(t.removed, {
|
|
473
|
-
attribute: r || null,
|
|
474
|
-
from: n
|
|
475
|
-
});
|
|
476
|
-
try {
|
|
477
|
-
r ? n.removeAttributeNode(r) : n.removeAttribute(e);
|
|
478
|
-
} catch {
|
|
479
|
-
try {
|
|
480
|
-
n.removeAttribute(e);
|
|
481
|
-
} catch {}
|
|
482
|
-
}
|
|
483
|
-
if (e === "is") {
|
|
484
|
-
if (W || Ot) try {
|
|
485
|
-
Z(n);
|
|
486
|
-
} catch {}
|
|
487
|
-
else try {
|
|
488
|
-
n.setAttribute(e, "");
|
|
489
|
-
} catch {}
|
|
490
|
-
}
|
|
491
|
-
}, un = function(e) {
|
|
492
|
-
let t = w(e);
|
|
493
|
-
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
494
|
-
let r = t[n], i = r && r.name;
|
|
495
|
-
typeof i != "string" || R[Y(i)] || cn(e, r, i);
|
|
496
|
-
}
|
|
497
|
-
}, dn = function(e) {
|
|
498
|
-
let t = [e];
|
|
499
|
-
for (; t.length > 0;) {
|
|
500
|
-
let e = t.pop();
|
|
501
|
-
qe(e) === A.element && un(e);
|
|
502
|
-
let n = v(e);
|
|
503
|
-
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
504
|
-
}
|
|
505
|
-
}, fn = function(e, t) {
|
|
506
|
-
return H ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
|
|
507
|
-
}, pn = function(e) {
|
|
508
|
-
if (!H) return;
|
|
509
|
-
let t = [e];
|
|
510
|
-
for (; t.length > 0;) {
|
|
511
|
-
let e = t.pop(), n = qe(e);
|
|
512
|
-
if (n === A.processingInstruction || n === A.comment && S(Le, e.data)) {
|
|
513
|
-
try {
|
|
514
|
-
de(e);
|
|
515
|
-
} catch {}
|
|
516
|
-
continue;
|
|
517
|
-
}
|
|
518
|
-
if (n === A.element) {
|
|
519
|
-
let t = e, n = Y(Je(e));
|
|
520
|
-
try {
|
|
521
|
-
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && fn("for", n) && t.removeAttribute("for");
|
|
522
|
-
} catch {}
|
|
523
|
-
}
|
|
524
|
-
let r = v(e);
|
|
525
|
-
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
526
|
-
}
|
|
527
|
-
}, mn = function(e) {
|
|
528
|
-
let t = null, r = null;
|
|
529
|
-
if (Dt) e = "<remove></remove>" + e;
|
|
530
|
-
else {
|
|
531
|
-
let t = se(e, /^[\r\n\t ]+/);
|
|
532
|
-
r = t && t[0];
|
|
533
|
-
}
|
|
534
|
-
Xt === "application/xhtml+xml" && J === q && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
535
|
-
let i = N ? F(e) : e;
|
|
536
|
-
if (J === q) try {
|
|
537
|
-
t = new u().parseFromString(i, Xt);
|
|
538
|
-
} catch {}
|
|
539
|
-
if (!t || !t.documentElement) {
|
|
540
|
-
t = nt.createDocument(J, "template", null);
|
|
541
|
-
try {
|
|
542
|
-
t.documentElement.innerHTML = Ht ? P : i;
|
|
543
|
-
} catch {}
|
|
544
|
-
}
|
|
545
|
-
let a = t.body || t.documentElement;
|
|
546
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), J === q ? at.call(t, U ? "html" : "body")[0] : U ? t.documentElement : a;
|
|
547
|
-
}, hn = function(e) {
|
|
548
|
-
let t = j ? j(e) : e.ownerDocument;
|
|
549
|
-
return rt.call(t || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
550
|
-
}, gn = function(e) {
|
|
551
|
-
return e = ce(e, st, " "), e = ce(e, ct, " "), e = ce(e, lt, " "), e;
|
|
552
|
-
}, _n = function(e) {
|
|
553
|
-
e.normalize();
|
|
554
|
-
let t = j ? j(e) : e.ownerDocument, n = rt.call(t || e, e, l.SHOW_TEXT | l.SHOW_COMMENT | l.SHOW_CDATA_SECTION | l.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
555
|
-
for (; r;) r.data = gn(r.data), r = n.nextNode();
|
|
556
|
-
let i = e.querySelectorAll?.call(e, "template");
|
|
557
|
-
i && g(i, (e) => {
|
|
558
|
-
yn(e.content) && _n(e.content);
|
|
559
|
-
});
|
|
560
|
-
}, vn = function(e) {
|
|
561
|
-
let t = D ? D(e) : null;
|
|
562
|
-
return typeof t != "string" || Y(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== w(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== T(e) || e.childNodes !== v(e);
|
|
563
|
-
}, yn = function(e) {
|
|
564
|
-
if (!T || typeof e != "object" || !e) return !1;
|
|
565
|
-
try {
|
|
566
|
-
return T(e) === A.documentFragment;
|
|
567
|
-
} catch {
|
|
568
|
-
return !1;
|
|
569
|
-
}
|
|
570
|
-
}, bn = function(e) {
|
|
571
|
-
if (!T || typeof e != "object" || !e) return !1;
|
|
572
|
-
try {
|
|
573
|
-
return typeof T(e) == "number";
|
|
574
|
-
} catch {
|
|
575
|
-
return !1;
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
function $(e, n, r) {
|
|
579
|
-
e.length !== 0 && g(e, (e) => {
|
|
580
|
-
e.call(t, n, r, X);
|
|
581
|
-
});
|
|
582
|
-
}
|
|
583
|
-
let xn = function(e, t) {
|
|
584
|
-
return !!(H && e.hasChildNodes() && !bn(e.firstElementChild) && S(Ie, e.textContent) && S(Ie, e.innerHTML) || H && e.namespaceURI === q && Be[t] && (bn(e.firstElementChild) || typeof e.textContent == "string" && S(Ve[t], e.textContent)) || e.nodeType === A.processingInstruction || H && e.nodeType === A.comment && S(Le, e.data));
|
|
585
|
-
}, Sn = function(e, t) {
|
|
586
|
-
return e instanceof RegExp ? S(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
|
|
587
|
-
}, Cn = function(e, t, n) {
|
|
588
|
-
if (!vt[t] && kn(t) && Sn(z.tagNameCheck, t)) return !1;
|
|
589
|
-
if (Nt && !K[t]) {
|
|
590
|
-
let t = y(e), r = v(e);
|
|
591
|
-
if (r && t) {
|
|
592
|
-
let i = r.length;
|
|
593
|
-
for (let a = i - 1; a >= 0; --a) {
|
|
594
|
-
let i = e === n ? ee(r[a], !0) : r[a];
|
|
595
|
-
t.insertBefore(i, fe(e));
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
return Z(e), !0;
|
|
600
|
-
}, wn = function(e, t, n, r) {
|
|
601
|
-
return e.length === 0 ? t : t === n || t === r ? O(t) : t;
|
|
602
|
-
}, Tn = function(e, t) {
|
|
603
|
-
return e === t || y(e) !== null ? !1 : (Pt && dn(e), !0);
|
|
604
|
-
}, En = function(e, n) {
|
|
605
|
-
if ($(I.beforeSanitizeElements, e, null), Tn(e, n)) return !0;
|
|
606
|
-
if (vn(e)) return Z(e), !0;
|
|
607
|
-
let r = Y(Je(e));
|
|
608
|
-
if (L = wn(I.uponSanitizeElement, L, gt, Tt), $(I.uponSanitizeElement, e, {
|
|
609
|
-
tagName: r,
|
|
610
|
-
allowedTags: L
|
|
611
|
-
}), Tn(e, n)) return !0;
|
|
612
|
-
if (xn(e, r)) return Z(e), !0;
|
|
613
|
-
if (vt[r] || !(B.tagCheck instanceof Function && B.tagCheck(r)) && !L[r]) {
|
|
614
|
-
let t = Cn(e, r, n);
|
|
615
|
-
return t === !1 && $(I.afterSanitizeElements, e, null), t;
|
|
616
|
-
}
|
|
617
|
-
if (qe(e) === A.element && !sn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && S(Re, e.innerHTML)) return Z(e), !0;
|
|
618
|
-
if (V && e.nodeType === A.text) {
|
|
619
|
-
let n = gn(e.textContent);
|
|
620
|
-
e.textContent !== n && (re(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
621
|
-
}
|
|
622
|
-
return $(I.afterSanitizeElements, e, null), !1;
|
|
623
|
-
}, Dn = function(e, t, r) {
|
|
624
|
-
if (yt[t] || fn(t, e) || At && (t === "id" || t === "name") && (r in n || r in Qt)) return !1;
|
|
625
|
-
let i = R[t] || B.attributeCheck instanceof Function && B.attributeCheck(t, e);
|
|
626
|
-
return xt && S(ut, t) || bt && S(dt, t) ? !0 : i ? Rt[t] || S(ht, ce(r, pt, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && It[e] || St && !S(ft, ce(r, pt, "")) ? !0 : !r : kn(e) && Sn(z.tagNameCheck, e) && Sn(z.attributeNameCheck, t, e) || t === "is" && z.allowCustomizedBuiltInElements && Sn(z.tagNameCheck, r);
|
|
627
|
-
}, On = E({}, [
|
|
628
|
-
"annotation-xml",
|
|
629
|
-
"color-profile",
|
|
630
|
-
"font-face",
|
|
631
|
-
"font-face-format",
|
|
632
|
-
"font-face-name",
|
|
633
|
-
"font-face-src",
|
|
634
|
-
"font-face-uri",
|
|
635
|
-
"missing-glyph"
|
|
636
|
-
]), kn = function(e) {
|
|
637
|
-
return !On[ae(e)] && S(mt, e);
|
|
638
|
-
}, An = function(e, t, n, r) {
|
|
639
|
-
if (N && typeof m == "object" && typeof m.getAttributeType == "function" && !n) switch (m.getAttributeType(e, t)) {
|
|
640
|
-
case "TrustedHTML": return F(r);
|
|
641
|
-
case "TrustedScriptURL": return $e(r);
|
|
642
|
-
}
|
|
643
|
-
return r;
|
|
644
|
-
}, jn = function(e, n, r, i) {
|
|
645
|
-
try {
|
|
646
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), vn(e) ? Z(e) : ne(t.removed);
|
|
647
|
-
} catch {
|
|
648
|
-
Q(n, e);
|
|
649
|
-
}
|
|
650
|
-
}, Mn = function(e) {
|
|
651
|
-
$(I.beforeSanitizeAttributes, e, null);
|
|
652
|
-
let t = e.attributes;
|
|
653
|
-
if (!t || vn(e)) return;
|
|
654
|
-
R = wn(I.uponSanitizeAttribute, R, _t, Et);
|
|
655
|
-
let n = {
|
|
656
|
-
attrName: "",
|
|
657
|
-
attrValue: "",
|
|
658
|
-
keepAttr: !0,
|
|
659
|
-
allowedAttributes: R,
|
|
660
|
-
forceKeepAttr: void 0
|
|
661
|
-
}, r = t.length, i = Y(e.nodeName);
|
|
662
|
-
for (; r--;) {
|
|
663
|
-
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = Y(o), u = c, d = o === "value" ? u : ue(u);
|
|
664
|
-
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(I.uponSanitizeAttribute, e, n), d = n.attrValue, jt && (l === "id" || l === "name") && le(d, Mt) !== 0 && (Q(o, e, a), d = Mt + d), H && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
|
|
665
|
-
Q(o, e, a);
|
|
666
|
-
continue;
|
|
667
|
-
}
|
|
668
|
-
if (l === "attributename" && se(d, "href")) {
|
|
669
|
-
Q(o, e, a);
|
|
670
|
-
continue;
|
|
671
|
-
}
|
|
672
|
-
if (!n.forceKeepAttr) {
|
|
673
|
-
if (!n.keepAttr) {
|
|
674
|
-
Q(o, e, a);
|
|
675
|
-
continue;
|
|
676
|
-
}
|
|
677
|
-
if (!Ct && S(ze, d)) {
|
|
678
|
-
Q(o, e, a);
|
|
679
|
-
continue;
|
|
680
|
-
}
|
|
681
|
-
if (V && (d = gn(d)), !Dn(i, l, d)) {
|
|
682
|
-
Q(o, e, a);
|
|
683
|
-
continue;
|
|
684
|
-
}
|
|
685
|
-
d = An(i, l, s, d), d !== u && jn(e, o, s, d);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
$(I.afterSanitizeAttributes, e, null);
|
|
689
|
-
}, Nn = function(e) {
|
|
690
|
-
let t = null, n = hn(e);
|
|
691
|
-
for ($(I.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(I.uponSanitizeShadowNode, t, null), En(t, e), Mn(t), yn(t.content) && Nn(t.content), qe(t) === A.element) {
|
|
692
|
-
let e = x(t);
|
|
693
|
-
yn(e) && (Pn(e), Nn(e));
|
|
694
|
-
}
|
|
695
|
-
$(I.afterSanitizeShadowDOM, e, null);
|
|
696
|
-
}, Pn = function(e) {
|
|
697
|
-
let t = [{
|
|
698
|
-
node: e,
|
|
699
|
-
shadow: null
|
|
700
|
-
}];
|
|
701
|
-
for (; t.length > 0;) {
|
|
702
|
-
let e = t.pop();
|
|
703
|
-
if (e.shadow) {
|
|
704
|
-
Nn(e.shadow);
|
|
705
|
-
continue;
|
|
706
|
-
}
|
|
707
|
-
let n = e.node, r = qe(n) === A.element, i = v(n);
|
|
708
|
-
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
709
|
-
node: i[e],
|
|
710
|
-
shadow: null
|
|
711
|
-
});
|
|
712
|
-
if (r) {
|
|
713
|
-
let e = D ? D(n) : null;
|
|
714
|
-
if (typeof e == "string" && Y(e) === "template") {
|
|
715
|
-
let e = n.content;
|
|
716
|
-
yn(e) && t.push({
|
|
717
|
-
node: e,
|
|
718
|
-
shadow: null
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
if (r) {
|
|
723
|
-
let e = x(n);
|
|
724
|
-
yn(e) && t.push({
|
|
725
|
-
node: null,
|
|
726
|
-
shadow: e
|
|
727
|
-
}, {
|
|
728
|
-
node: e,
|
|
729
|
-
shadow: null
|
|
730
|
-
});
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
return t.sanitize = function(e) {
|
|
735
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
736
|
-
if (Ht = !e, Ht && (e = "<!-->"), typeof e != "string" && !bn(e) && (e = pe(e), typeof e != "string")) throw C("dirty is not a string, aborting");
|
|
737
|
-
if (!t.isSupported) return e;
|
|
738
|
-
wt ? (L = Tt, R = Et) : en(n), (I.uponSanitizeElement.length > 0 || I.uponSanitizeAttribute.length > 0) && (L = O(L)), I.uponSanitizeAttribute.length > 0 && (R = O(R)), t.removed = [];
|
|
739
|
-
let c = Pt && typeof e != "string" && bn(e);
|
|
740
|
-
if (c) {
|
|
741
|
-
pn(e);
|
|
742
|
-
let t = Je(e);
|
|
743
|
-
if (typeof t == "string") {
|
|
744
|
-
let n = Y(t);
|
|
745
|
-
if (!L[n] || vt[n]) throw ln(e), C("root node is forbidden and cannot be sanitized in-place");
|
|
746
|
-
}
|
|
747
|
-
if (vn(e)) throw ln(e), C("root node is clobbered and cannot be sanitized in-place");
|
|
748
|
-
try {
|
|
749
|
-
Pn(e);
|
|
750
|
-
} catch (t) {
|
|
751
|
-
throw ln(e), t;
|
|
752
|
-
}
|
|
753
|
-
} else if (bn(e)) i = mn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === A.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Pn(a);
|
|
754
|
-
else {
|
|
755
|
-
if (!W && !V && !U && e.indexOf("<") === -1) return N && kt ? F(e) : e;
|
|
756
|
-
if (i = mn(e), !i) return W ? null : kt ? P : "";
|
|
757
|
-
}
|
|
758
|
-
i && Dt && Z(i.firstChild);
|
|
759
|
-
let l = c ? e : i;
|
|
760
|
-
try {
|
|
761
|
-
let e = hn(l);
|
|
762
|
-
for (; o = e.nextNode();) En(o, l), Mn(o), yn(o.content) && Nn(o.content);
|
|
763
|
-
} catch (n) {
|
|
764
|
-
throw c && (ln(e), g(t.removed, (e) => {
|
|
765
|
-
e.element && dn(e.element);
|
|
766
|
-
})), n;
|
|
767
|
-
}
|
|
768
|
-
if (c) return g(t.removed, (e) => {
|
|
769
|
-
e.element && dn(e.element);
|
|
770
|
-
}), V && _n(e), e;
|
|
771
|
-
if (W) {
|
|
772
|
-
if (V && _n(i), Ot) for (s = it.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
773
|
-
else s = i;
|
|
774
|
-
return (R.shadowroot || R.shadowrootmode) && (s = ot.call(r, s, !0)), s;
|
|
775
|
-
}
|
|
776
|
-
let u = U ? i.outerHTML : i.innerHTML;
|
|
777
|
-
return U && L["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Pe, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), V && (u = gn(u)), N && kt ? F(u) : u;
|
|
778
|
-
}, t.setConfig = function() {
|
|
779
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
780
|
-
en(e), wt = !0, Tt = L, Et = R;
|
|
781
|
-
}, t.clearConfig = function() {
|
|
782
|
-
X = null, wt = !1, Tt = null, Et = null, N = Ye, P = "";
|
|
783
|
-
}, t.isValidAttribute = function(e, t, n) {
|
|
784
|
-
X || en({});
|
|
785
|
-
let r = Y(e), i = Y(t);
|
|
786
|
-
return Dn(r, i, n);
|
|
787
|
-
}, t.addHook = function(e, t) {
|
|
788
|
-
typeof t == "function" && b(I, e) && re(I[e], t);
|
|
789
|
-
}, t.removeHook = function(e, t) {
|
|
790
|
-
if (b(I, e)) {
|
|
791
|
-
if (t !== void 0) {
|
|
792
|
-
let n = te(I[e], t);
|
|
793
|
-
return n === -1 ? void 0 : ie(I[e], n, 1)[0];
|
|
794
|
-
}
|
|
795
|
-
return ne(I[e]);
|
|
796
|
-
}
|
|
797
|
-
}, t.removeHooks = function(e) {
|
|
798
|
-
b(I, e) && (I[e] = []);
|
|
799
|
-
}, t.removeAllHooks = function() {
|
|
800
|
-
I = We();
|
|
801
|
-
}, t;
|
|
802
|
-
}
|
|
803
|
-
var qe = Ke();
|
|
804
|
-
//#endregion
|
|
805
|
-
export { qe as t };
|